@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
@@ -3,9 +3,9 @@
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');
6
7
  var intl = require('@elice/intl');
7
8
  var runboxClient = require('@elice/runbox-client');
8
- var material = require('@mui/material');
9
9
  var useRunboxSessionEndWarning = require('../hooks/useRunboxSessionEndWarning.js');
10
10
  var MaterialRunboxQuotaAmount = require('./MaterialRunboxQuotaAmount.js');
11
11
  var time = require('../../../utils/time.js');
@@ -34,12 +34,12 @@ var MaterialRunboxQuotaPerSessionAlmostEndDialog = function MaterialRunboxQuotaP
34
34
  remainingMinutes = _getTimeParts.minutes;
35
35
  var isQuotaAlmostEnd = !quotaInfo.isUnlimited && quotaInfo.remainingQuota <= useRunboxSessionEndWarning.QUOTA_ALMOST_END_MINUTES;
36
36
  var isQuotaPerSessionAlmostEnd = quotaPerSessionInfo.remainingQuota <= useRunboxSessionEndWarning.QUOTA_PER_SESSION_ALMOST_END_MINUTES;
37
- return jsxRuntime.jsxs(material.Dialog, {
37
+ return jsxRuntime.jsxs(edsMaterial.Dialog, {
38
38
  fullWidth: true,
39
39
  maxWidth: "xs",
40
40
  open: open,
41
41
  onClose: onClose,
42
- children: [jsxRuntime.jsx(material.DialogTitle, {
42
+ children: [jsxRuntime.jsx(edsMaterial.DialogTitle, {
43
43
  children: intl$1.formatMessage({
44
44
  id: 'runbox.timer.almost_end.dialog.quota_per_session.title'
45
45
  }, {
@@ -53,30 +53,38 @@ var MaterialRunboxQuotaPerSessionAlmostEndDialog = function MaterialRunboxQuotaP
53
53
  unitDisplay: 'short'
54
54
  }) : null].filter(Boolean).join(' ')
55
55
  })
56
- }), jsxRuntime.jsx(material.DialogContent, {
57
- children: jsxRuntime.jsxs(material.Stack, {
56
+ }), jsxRuntime.jsx(edsMaterial.DialogContent, {
57
+ children: jsxRuntime.jsxs(edsMaterial.Stack, {
58
58
  direction: "column",
59
- gap: "1.5rem",
60
- children: [jsxRuntime.jsxs(material.Card, {
59
+ sx: {
60
+ gap: '1.5rem'
61
+ },
62
+ children: [jsxRuntime.jsxs(edsMaterial.Card, {
61
63
  elevation: 0,
62
64
  sx: {
63
65
  bgcolor: 'background.neutral'
64
66
  },
65
- children: [jsxRuntime.jsxs(material.Stack, {
67
+ children: [jsxRuntime.jsxs(edsMaterial.Stack, {
66
68
  direction: "column",
67
- gap: "0.5rem",
68
- padding: "1rem",
69
- bgcolor: isQuotaAlmostEnd ? 'warning.opacity03' : undefined,
70
- children: [jsxRuntime.jsx(material.Typography, {
69
+ sx: {
70
+ bgcolor: isQuotaAlmostEnd ? 'warning.opacity03' : undefined,
71
+ padding: '1rem',
72
+ gap: '0.5rem'
73
+ },
74
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
71
75
  variant: "body2",
72
- fontWeight: "bold",
76
+ sx: {
77
+ fontWeight: 'bold'
78
+ },
73
79
  children: intl$1.formatMessage({
74
80
  id: 'runbox.timer.popover.quota.title'
75
81
  })
76
- }), quotaInfo.isUnlimited ? jsxRuntime.jsx(material.Typography, {
82
+ }), quotaInfo.isUnlimited ? jsxRuntime.jsx(edsMaterial.Typography, {
77
83
  component: "span",
78
84
  variant: "h5",
79
- fontWeight: "extraBold",
85
+ sx: {
86
+ fontWeight: 'extraBold'
87
+ },
80
88
  children: intl$1.formatMessage({
81
89
  id: 'runbox.timer.unlimited'
82
90
  })
@@ -85,14 +93,18 @@ var MaterialRunboxQuotaPerSessionAlmostEndDialog = function MaterialRunboxQuotaP
85
93
  quota: quotaInfo.quota,
86
94
  color: isQuotaAlmostEnd ? 'warning.main' : 'success.main'
87
95
  })]
88
- }), jsxRuntime.jsx(material.Divider, {}), jsxRuntime.jsxs(material.Stack, {
96
+ }), jsxRuntime.jsx(edsMaterial.Divider, {}), jsxRuntime.jsxs(edsMaterial.Stack, {
89
97
  direction: "column",
90
- gap: "0.5rem",
91
- padding: "1rem",
92
- bgcolor: isQuotaPerSessionAlmostEnd ? 'warning.opacity03' : undefined,
93
- children: [jsxRuntime.jsx(material.Typography, {
98
+ sx: {
99
+ bgcolor: isQuotaPerSessionAlmostEnd ? 'warning.opacity03' : undefined,
100
+ padding: '1rem',
101
+ gap: '0.5rem'
102
+ },
103
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
94
104
  variant: "body2",
95
- fontWeight: "bold",
105
+ sx: {
106
+ fontWeight: 'bold'
107
+ },
96
108
  children: intl$1.formatMessage({
97
109
  id: 'runbox.timer.popover.quota_per_session.title'
98
110
  })
@@ -102,16 +114,18 @@ var MaterialRunboxQuotaPerSessionAlmostEndDialog = function MaterialRunboxQuotaP
102
114
  color: isQuotaPerSessionAlmostEnd ? 'warning.main' : 'success.main'
103
115
  })]
104
116
  })]
105
- }), jsxRuntime.jsx(material.Typography, {
117
+ }), jsxRuntime.jsx(edsMaterial.Typography, {
106
118
  variant: "body2",
107
- whiteSpace: "pre-line",
119
+ sx: {
120
+ whiteSpace: 'pre-line'
121
+ },
108
122
  children: intl$1.formatMessage({
109
123
  id: 'runbox.timer.almost_end.dialog.quota_per_session.description'
110
124
  })
111
125
  })]
112
126
  })
113
- }), jsxRuntime.jsx(material.DialogActions, {
114
- children: jsxRuntime.jsx(material.Button, {
127
+ }), jsxRuntime.jsx(edsMaterial.DialogActions, {
128
+ children: jsxRuntime.jsx(edsMaterial.Button, {
115
129
  variant: "contained",
116
130
  color: "inherit",
117
131
  onClick: onClose,
@@ -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');
6
7
  var intl = require('@elice/intl');
7
- var material = require('@mui/material');
8
8
 
9
9
  //
10
10
  //
@@ -25,20 +25,24 @@ var MaterialRunboxQuotaTimePart = function MaterialRunboxQuotaTimePart(_ref) {
25
25
  if (value === 0) {
26
26
  return null;
27
27
  }
28
- return jsxRuntime.jsx(material.Typography, {
28
+ return jsxRuntime.jsx(edsMaterial.Typography, {
29
29
  component: "span",
30
30
  variant: "h5",
31
- fontWeight: "extraBold",
32
31
  color: color,
32
+ sx: {
33
+ fontWeight: 'extraBold'
34
+ },
33
35
  children: intl$1.formatNumberToParts(value, {
34
36
  style: 'unit',
35
37
  unit: unit,
36
38
  unitDisplay: 'short'
37
39
  }).map(function (part, index) {
38
- return part.type === 'unit' ? jsxRuntime.jsx(material.Typography, {
40
+ return part.type === 'unit' ? jsxRuntime.jsx(edsMaterial.Typography, {
39
41
  component: "span",
40
42
  variant: "body2",
41
- fontWeight: "regular",
43
+ sx: {
44
+ fontWeight: 'regular'
45
+ },
42
46
  children: part.value
43
47
  }, index) : jsxRuntime.jsx("span", {
44
48
  children: part.value
@@ -7,11 +7,11 @@ var _styled = require('@emotion/styled/base');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
  var React = require('react');
9
9
  var reactUse = require('react-use');
10
+ var edsKit = require('@elice/eds-kit');
11
+ var edsMaterial = require('@elice/eds-material');
10
12
  var intl = require('@elice/intl');
11
- var muiElements = require('@elice/mui-elements');
12
13
  var runboxClient = require('@elice/runbox-client');
13
14
  var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
14
- var material = require('@mui/material');
15
15
  var useRunboxSessionEndWarning = require('../hooks/useRunboxSessionEndWarning.js');
16
16
  var MaterialRunboxQuotaAlmostEndDialog = require('./MaterialRunboxQuotaAlmostEndDialog.js');
17
17
  var MaterialRunboxQuotaPerSessionAlmostEndDialog = require('./MaterialRunboxQuotaPerSessionAlmostEndDialog.js');
@@ -28,9 +28,9 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
28
28
  //
29
29
  //
30
30
  //
31
- var StyledChip = /*#__PURE__*/_styled__default.default(material.Chip, {
31
+ var StyledChip = /*#__PURE__*/_styled__default.default(edsMaterial.Chip, {
32
32
  target: "e15iaxbx0"
33
- })("&[data-active='true']:not(.", material.chipClasses.colorWarning, "){background-color:", function (_ref) {
33
+ })("&[data-active='true']:not(.", edsMaterial.chipClasses.colorWarning, "){background-color:", function (_ref) {
34
34
  var theme = _ref.theme;
35
35
  return theme.palette.action.focus;
36
36
  }, ";color:", function (_ref2) {
@@ -93,11 +93,13 @@ var MaterialRunboxTimer = function MaterialRunboxTimer(_ref3) {
93
93
  var minutesString = minutes.toString().padStart(2, '0');
94
94
  var timeString = "".concat(hoursString, " : ").concat(minutesString);
95
95
  var isAlmostEnd = !quotaInfo.isUnlimited && quotaInfo.remainingQuota <= useRunboxSessionEndWarning.QUOTA_ALMOST_END_MINUTES;
96
- return jsxRuntime.jsx(material.Tooltip, {
96
+ return jsxRuntime.jsx(edsMaterial.Tooltip, {
97
97
  arrow: true,
98
98
  placement: "bottom",
99
- title: jsxRuntime.jsx(material.Typography, {
100
- color: "text.primary",
99
+ title: jsxRuntime.jsx(edsMaterial.Typography, {
100
+ sx: {
101
+ color: 'text.primary'
102
+ },
101
103
  children: intl$1.formatMessage({
102
104
  id: 'runbox.timer.tooltip.title'
103
105
  })
@@ -118,23 +120,25 @@ var MaterialRunboxTimer = function MaterialRunboxTimer(_ref3) {
118
120
  variant: isAlmostEnd ? 'filled' : 'outlined',
119
121
  color: isAlmostEnd ? 'warning' : 'default',
120
122
  size: isSmallTabletOrSmaller ? 'small' : 'medium',
121
- icon: jsxRuntime.jsx(muiElements.EliceIcon, {
123
+ icon: jsxRuntime.jsx(edsKit.FaIcon, {
122
124
  icon: proSolidSvgIcons.faTimer
123
125
  }),
124
126
  "data-active": isTimerDetailPopoverOpen,
125
127
  label: jsxRuntime.jsxs(jsxRuntime.Fragment, {
126
- children: [jsxRuntime.jsx(material.Typography, {
128
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
127
129
  component: "span",
128
130
  variant: "body1",
129
131
  children: intl$1.formatMessage({
130
132
  id: 'runbox.timer.title'
131
133
  })
132
- }), jsxRuntime.jsx(material.Typography, {
134
+ }), jsxRuntime.jsx(edsMaterial.Typography, {
133
135
  component: "span",
134
136
  variant: "body1",
135
- fontWeight: "bold",
136
- whiteSpace: "pre",
137
- display: "inline-block",
137
+ sx: {
138
+ display: 'inline-block',
139
+ whiteSpace: 'pre',
140
+ fontWeight: 'bold'
141
+ },
138
142
  children: quotaInfo.isUnlimited ? " : ".concat(intl$1.formatMessage({
139
143
  id: 'runbox.timer.unlimited'
140
144
  })) : " ".concat(timeString)
@@ -1,4 +1,4 @@
1
- import type { PopoverProps } from '@mui/material';
1
+ import type { PopoverProps } from '@elice/eds-material';
2
2
  interface MaterialRunboxTimerDetailPopoverProps extends PopoverProps {
3
3
  userId: number | undefined;
4
4
  open: boolean;
@@ -7,11 +7,11 @@ var tslib = require('tslib');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
  var reactUse = require('react-use');
9
9
  var apiClient = require('@elice/api-client');
10
+ var edsKit = require('@elice/eds-kit');
11
+ var edsMaterial = require('@elice/eds-material');
10
12
  var intl = require('@elice/intl');
11
- var muiElements = require('@elice/mui-elements');
12
13
  var runboxClient = require('@elice/runbox-client');
13
14
  var proRegularSvgIcons = require('@fortawesome/pro-regular-svg-icons');
14
- var material = require('@mui/material');
15
15
  var reactQuery = require('@tanstack/react-query');
16
16
  var useRunboxSessionEndWarning = require('../hooks/useRunboxSessionEndWarning.js');
17
17
  var MaterialRunboxQuotaAmount = require('./MaterialRunboxQuotaAmount.js');
@@ -79,13 +79,13 @@ var MaterialRunboxTimerDetailPopover = function MaterialRunboxTimerDetailPopover
79
79
  *
80
80
  */
81
81
  var renderCloseButton = function renderCloseButton() {
82
- return jsxRuntime.jsx(material.IconButton, {
82
+ return jsxRuntime.jsx(edsMaterial.IconButton, {
83
83
  sx: {
84
84
  position: 'absolute',
85
85
  top: '1rem',
86
86
  right: '1rem'
87
87
  },
88
- children: jsxRuntime.jsx(muiElements.EliceIcon, {
88
+ children: jsxRuntime.jsx(edsKit.FaIcon, {
89
89
  icon: proRegularSvgIcons.faXmarkLarge,
90
90
  onClick: handleClickClose
91
91
  })
@@ -96,19 +96,25 @@ var MaterialRunboxTimerDetailPopover = function MaterialRunboxTimerDetailPopover
96
96
  */
97
97
  var renderHeader = function renderHeader() {
98
98
  var _a;
99
- return jsxRuntime.jsxs(material.Stack, {
99
+ return jsxRuntime.jsxs(edsMaterial.Stack, {
100
100
  direction: "column",
101
- width: "100%",
102
- gap: "0.5rem",
103
- children: [jsxRuntime.jsx(material.Typography, {
101
+ sx: {
102
+ gap: '0.5rem',
103
+ width: '100%'
104
+ },
105
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
104
106
  variant: "subtitle2",
105
- fontWeight: "extraBold",
107
+ sx: {
108
+ fontWeight: 'extraBold'
109
+ },
106
110
  children: intl$1.formatMessage({
107
111
  id: 'runbox.timer.popover.title'
108
112
  })
109
- }), jsxRuntime.jsx(material.Typography, {
113
+ }), jsxRuntime.jsx(edsMaterial.Typography, {
110
114
  variant: "body2",
111
- whiteSpace: "pre-line",
115
+ sx: {
116
+ whiteSpace: 'pre-line'
117
+ },
112
118
  children: intl$1.formatMessage({
113
119
  id: 'runbox.timer.popover.description'
114
120
  }, {
@@ -122,20 +128,26 @@ var MaterialRunboxTimerDetailPopover = function MaterialRunboxTimerDetailPopover
122
128
  */
123
129
  var renderQuotaTotal = function renderQuotaTotal() {
124
130
  if (quotaInfo.isUnlimited) {
125
- return jsxRuntime.jsxs(material.Stack, {
131
+ return jsxRuntime.jsxs(edsMaterial.Stack, {
126
132
  direction: "column",
127
- gap: "0.5rem",
128
- padding: "1rem",
129
- children: [jsxRuntime.jsx(material.Typography, {
133
+ sx: {
134
+ padding: '1rem',
135
+ gap: '0.5rem'
136
+ },
137
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
130
138
  variant: "body2",
131
- fontWeight: "bold",
139
+ sx: {
140
+ fontWeight: 'bold'
141
+ },
132
142
  children: intl$1.formatMessage({
133
143
  id: 'runbox.timer.popover.quota.title'
134
144
  })
135
- }), jsxRuntime.jsx(material.Typography, {
145
+ }), jsxRuntime.jsx(edsMaterial.Typography, {
136
146
  component: "span",
137
147
  variant: "h5",
138
- fontWeight: "extraBold",
148
+ sx: {
149
+ fontWeight: 'extraBold'
150
+ },
139
151
  children: intl$1.formatMessage({
140
152
  id: 'runbox.timer.unlimited'
141
153
  })
@@ -144,14 +156,18 @@ var MaterialRunboxTimerDetailPopover = function MaterialRunboxTimerDetailPopover
144
156
  }
145
157
  var quotaColor = quotaInfo.remainingQuota > useRunboxSessionEndWarning.QUOTA_ALMOST_END_MINUTES ? 'success.main' : 'warning.main';
146
158
  var quotaBgColor = quotaInfo.remainingQuota > useRunboxSessionEndWarning.QUOTA_ALMOST_END_MINUTES ? undefined : 'warning.opacity03';
147
- return jsxRuntime.jsxs(material.Stack, {
159
+ return jsxRuntime.jsxs(edsMaterial.Stack, {
148
160
  direction: "column",
149
- gap: "0.5rem",
150
- padding: "1rem",
151
- bgcolor: quotaBgColor,
152
- children: [jsxRuntime.jsx(material.Typography, {
161
+ sx: {
162
+ bgcolor: quotaBgColor,
163
+ padding: '1rem',
164
+ gap: '0.5rem'
165
+ },
166
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
153
167
  variant: "body2",
154
- fontWeight: "bold",
168
+ sx: {
169
+ fontWeight: 'bold'
170
+ },
155
171
  children: intl$1.formatMessage({
156
172
  id: 'runbox.timer.popover.quota.title'
157
173
  })
@@ -167,9 +183,11 @@ var MaterialRunboxTimerDetailPopover = function MaterialRunboxTimerDetailPopover
167
183
  */
168
184
  var renderQuotaPerSession = function renderQuotaPerSession() {
169
185
  if (quotaPerSessionInfo.isUnlimited) {
170
- return jsxRuntime.jsxs(material.Typography, {
186
+ return jsxRuntime.jsxs(edsMaterial.Typography, {
171
187
  variant: "body2",
172
- fontWeight: "bold",
188
+ sx: {
189
+ fontWeight: 'bold'
190
+ },
173
191
  children: [intl$1.formatMessage({
174
192
  id: 'runbox.timer.popover.quota_per_session.title'
175
193
  }), " : ", intl$1.formatMessage({
@@ -179,14 +197,18 @@ var MaterialRunboxTimerDetailPopover = function MaterialRunboxTimerDetailPopover
179
197
  }
180
198
  var perSessionColor = quotaPerSessionInfo.remainingQuota > useRunboxSessionEndWarning.QUOTA_PER_SESSION_ALMOST_END_MINUTES ? 'success.main' : 'warning.main';
181
199
  var perSessionBgColor = quotaPerSessionInfo.remainingQuota > useRunboxSessionEndWarning.QUOTA_PER_SESSION_ALMOST_END_MINUTES ? undefined : 'warning.opacity03';
182
- return jsxRuntime.jsxs(material.Stack, {
200
+ return jsxRuntime.jsxs(edsMaterial.Stack, {
183
201
  direction: "column",
184
- gap: "0.5rem",
185
- padding: "1rem",
186
- bgcolor: perSessionBgColor,
187
- children: [jsxRuntime.jsx(material.Typography, {
202
+ sx: {
203
+ bgcolor: perSessionBgColor,
204
+ padding: '1rem',
205
+ gap: '0.5rem'
206
+ },
207
+ children: [jsxRuntime.jsx(edsMaterial.Typography, {
188
208
  variant: "body2",
189
- fontWeight: "bold",
209
+ sx: {
210
+ fontWeight: 'bold'
211
+ },
190
212
  children: intl$1.formatMessage({
191
213
  id: 'runbox.timer.popover.quota_per_session.title'
192
214
  })
@@ -194,9 +216,11 @@ var MaterialRunboxTimerDetailPopover = function MaterialRunboxTimerDetailPopover
194
216
  remainingQuota: quotaPerSessionInfo.remainingQuota,
195
217
  quota: quotaPerSessionInfo.quota,
196
218
  color: perSessionColor
197
- }), jsxRuntime.jsx(material.Typography, {
219
+ }), jsxRuntime.jsx(edsMaterial.Typography, {
198
220
  variant: "body2",
199
- color: "text.tertiary",
221
+ sx: {
222
+ color: 'text.tertiary'
223
+ },
200
224
  children: intl$1.formatMessage({
201
225
  id: 'runbox.timer.popover.quota_per_session.description'
202
226
  }, {
@@ -209,25 +233,29 @@ var MaterialRunboxTimerDetailPopover = function MaterialRunboxTimerDetailPopover
209
233
  })]
210
234
  });
211
235
  };
212
- return jsxRuntime.jsx(material.Popover, Object.assign({
236
+ return jsxRuntime.jsx(edsMaterial.Popover, Object.assign({
213
237
  open: open,
214
- TransitionComponent: material.Fade,
215
238
  onClose: onClose
216
239
  }, props, {
217
- children: jsxRuntime.jsxs(material.Stack, {
218
- position: "relative",
240
+ slots: {
241
+ transition: edsMaterial.Fade
242
+ },
243
+ children: jsxRuntime.jsxs(edsMaterial.Stack, {
219
244
  direction: "column",
220
- padding: "1.5rem",
221
- gap: "1rem",
222
- width: "22rem",
223
- bgcolor: "background.paper",
224
- children: [renderHeader(), renderCloseButton(), jsxRuntime.jsxs(material.Card, {
245
+ sx: {
246
+ bgcolor: 'background.paper',
247
+ width: '22rem',
248
+ gap: '1rem',
249
+ padding: '1.5rem',
250
+ position: 'relative'
251
+ },
252
+ children: [renderHeader(), renderCloseButton(), jsxRuntime.jsxs(edsMaterial.Card, {
225
253
  elevation: 0,
226
254
  sx: {
227
255
  bgcolor: 'background.neutral'
228
256
  },
229
- children: [renderQuotaTotal(), jsxRuntime.jsx(material.Divider, {}), renderQuotaPerSession()]
230
- }), jsxRuntime.jsx(material.Button, {
257
+ children: [renderQuotaTotal(), jsxRuntime.jsx(edsMaterial.Divider, {}), renderQuotaPerSession()]
258
+ }), jsxRuntime.jsx(edsMaterial.Button, {
231
259
  fullWidth: true,
232
260
  variant: "contained",
233
261
  size: "medium",
@@ -236,15 +264,15 @@ var MaterialRunboxTimerDetailPopover = function MaterialRunboxTimerDetailPopover
236
264
  children: intl$1.formatMessage({
237
265
  id: 'runbox.timer.popover.quota.disconnect'
238
266
  })
239
- }), jsxRuntime.jsx(material.FormControlLabel, {
240
- control: jsxRuntime.jsx(material.Checkbox, {
267
+ }), jsxRuntime.jsx(edsMaterial.FormControlLabel, {
268
+ control: jsxRuntime.jsx(edsMaterial.Checkbox, {
241
269
  size: "small",
242
270
  checked: notShowTimerDetailPopoverOnStart,
243
271
  onChange: function onChange(event) {
244
272
  return setNotShowTimerDetailPopoverOnStart(event.target.checked);
245
273
  }
246
274
  }),
247
- label: jsxRuntime.jsx(material.Typography, {
275
+ label: jsxRuntime.jsx(edsMaterial.Typography, {
248
276
  variant: "body2",
249
277
  children: intl$1.formatMessage({
250
278
  id: 'runbox.timer.popover.do_not_open'
@@ -1,4 +1,4 @@
1
- import type { Breakpoint, Breakpoints } from '@mui/material';
2
- type Query = Exclude<keyof Breakpoints, 'keys' | 'values' | 'between' | 'unit'>;
1
+ import type { Breakpoint, Breakpoints } from '@elice/eds-material';
2
+ type Query = Exclude<keyof Breakpoints, 'keys' | 'values' | 'between' | 'unit' | 'internal_mediaKeys'>;
3
3
  export declare const useBreakpoint: (key: Breakpoint, query?: Query) => boolean;
4
4
  export {};
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var material = require('@mui/material');
3
+ var edsMaterial = require('@elice/eds-material');
4
4
 
5
5
  var useBreakpoint = function useBreakpoint(key) {
6
6
  var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'up';
7
- var theme = material.useTheme();
8
- var matches = material.useMediaQuery(theme.breakpoints[query](key));
7
+ var theme = edsMaterial.useTheme();
8
+ var matches = edsMaterial.useMediaQuery(theme.breakpoints[query](key));
9
9
  return matches;
10
10
  };
11
11
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { SxProps, Theme } from '@mui/material';
2
+ import type { SxProps, Theme } from '@elice/eds-material';
3
3
  interface MaterialRunboxSnackbarProps {
4
4
  snackbarKey: string;
5
5
  runboxId: string;
@@ -6,10 +6,10 @@ var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHel
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
  var React = require('react');
8
8
  var reactUse = require('react-use');
9
- var muiElements = require('@elice/mui-elements');
10
- var muiXSnackbar = require('@elice/mui-x-snackbar');
9
+ var edsKit = require('@elice/eds-kit');
10
+ var edsMaterial = require('@elice/eds-material');
11
+ var edsXSnackbar = require('@elice/eds-x-snackbar');
11
12
  var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
12
- var material = require('@mui/material');
13
13
 
14
14
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
15
15
 
@@ -29,7 +29,7 @@ var MaterialRunboxSnackbar = function MaterialRunboxSnackbar(_ref) {
29
29
  open = _ref.open,
30
30
  once = _ref.once,
31
31
  sx = _ref.sx;
32
- var _useSnackbar = muiXSnackbar.useSnackbar(),
32
+ var _useSnackbar = edsXSnackbar.useSnackbar(),
33
33
  enqueueSnackbar = _useSnackbar.enqueueSnackbar,
34
34
  closeSnackbar = _useSnackbar.closeSnackbar;
35
35
  var _useLocalStorage = reactUse.useLocalStorage("MaterialRunboxSnackbar.".concat(snackbarKey, ".wasOpened"), {}),
@@ -49,21 +49,22 @@ var MaterialRunboxSnackbar = function MaterialRunboxSnackbar(_ref) {
49
49
  });
50
50
  }
51
51
  }
52
- enqueueSnackbar(jsxRuntime.jsxs(material.Stack, {
52
+ enqueueSnackbar(jsxRuntime.jsxs(edsMaterial.Stack, {
53
53
  direction: "row",
54
- alignItems: "center",
55
- gap: "0.75rem",
56
- sx: sx,
57
- children: [jsxRuntime.jsx(muiElements.EliceIcon, {
54
+ sx: [{
55
+ alignItems: 'center',
56
+ gap: '0.75rem'
57
+ }].concat(_rollupPluginBabelHelpers.toConsumableArray(Array.isArray(sx) ? sx : [sx])),
58
+ children: [jsxRuntime.jsx(edsKit.FaIcon, {
58
59
  color: "warning",
59
60
  icon: proSolidSvgIcons.faWarning
60
- }), message, jsxRuntime.jsx(material.IconButton, {
61
+ }), message, jsxRuntime.jsx(edsMaterial.IconButton, {
61
62
  size: "medium",
62
63
  color: "inherit",
63
64
  onClick: function onClick() {
64
65
  return closeSnackbar(snackbarKey);
65
66
  },
66
- children: jsxRuntime.jsx(muiElements.EliceIcon, {
67
+ children: jsxRuntime.jsx(edsKit.FaIcon, {
67
68
  icon: proSolidSvgIcons.faXmark,
68
69
  sx: {
69
70
  margin: 'auto !important'
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import { Dialog, DialogTitle, DialogContent, DialogActions, Button } from '@elice/eds-material';
2
3
  import { useRawEliceIntl } from '@elice/intl';
3
- import { Dialog, DialogTitle, DialogContent, DialogActions, Button } from '@mui/material';
4
4
 
5
5
  //
6
6
  //
@@ -1,7 +1,7 @@
1
1
  import { __rest } from 'tslib';
2
2
  import { jsx } from 'react/jsx-runtime';
3
+ import { ThemeProvider } from '@elice/eds-material';
3
4
  import { IntlComponentBuilder, RawEliceIntlProvider } from '@elice/intl';
4
- import { ThemeProvider } from '@mui/material';
5
5
  import MaterialRunboxContent from './MaterialRunboxContent.js';
6
6
  import { runboxDarkTheme } from './theme.js';
7
7
  import messageEn from './locales/en.json.js';
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
+ import { Alert, AlertTitle } from '@elice/eds-material';
2
3
  import { useRawEliceIntl } from '@elice/intl';
3
- import { Alert, AlertTitle } from '@mui/material';
4
4
  import { useMaterialRunboxRunboxIdStarterGet } from './hooks/useMaterialRunboxRunboxIdStarterGet.js';
5
5
 
6
6
  var MaterialRunboxAlert = function MaterialRunboxAlert(_ref) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { TagProps } from '@elice/mui-elements';
2
+ import type { TagProps } from '@elice/eds-kit';
3
3
  import type { MaterialRunboxHeaderProps } from './MaterialRunboxHeader';
4
4
  export type GetAchievementColor = {
5
5
  (params: {