@elice/material-runbox 1.260923.0-testhelpychat.4 → 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.
- package/cjs/components/material-runbox/MaterialAdminRunboxConfirmDialog.js +7 -7
- package/cjs/components/material-runbox/MaterialRunbox.js +2 -2
- package/cjs/components/material-runbox/MaterialRunboxAlert.js +3 -3
- package/cjs/components/material-runbox/MaterialRunboxContent.d.ts +1 -1
- package/cjs/components/material-runbox/MaterialRunboxContent.js +33 -23
- package/cjs/components/material-runbox/MaterialRunboxHeader.js +13 -11
- package/cjs/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +5 -5
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +6 -6
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectDialog.js +11 -9
- package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +7 -8
- package/cjs/components/material-runbox/actions/MaterialRunboxActionGrade.js +25 -24
- package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.js +11 -7
- package/cjs/components/material-runbox/actions/MaterialRunboxActionReset.js +15 -16
- package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +13 -14
- package/cjs/components/material-runbox/actions/MaterialRunboxActionShare.js +8 -8
- package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLog.js +6 -6
- package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +46 -38
- package/cjs/components/material-runbox/contexts/MaterialRunboxCommandContext.js +2 -2
- package/cjs/components/material-runbox/contexts/MaterialRunboxContext.d.ts +1 -1
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.js +5 -5
- package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.js +17 -13
- package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +2 -2
- package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +5 -6
- package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +20 -16
- package/cjs/components/material-runbox/hooks/useRunboxControl.js +2 -2
- package/cjs/components/material-runbox/runtime/RuntimeChangeMaterialDialog.js +7 -7
- package/cjs/components/material-runbox/runtime/RuntimeOverlayConflicted.js +39 -27
- package/cjs/components/material-runbox/runtime/RuntimeOverlayLoading.js +68 -49
- package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.js +35 -27
- package/cjs/components/material-runbox/runtime/runtime-loading-tips.d.ts +2 -2
- package/cjs/components/material-runbox/status/MaterialRunboxStatusButton.js +7 -7
- package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +1 -1
- package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +16 -10
- package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +1 -1
- package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.js +24 -20
- package/cjs/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +22 -14
- package/cjs/components/material-runbox/theme.d.ts +2 -2
- package/cjs/components/material-runbox/theme.js +3 -3
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +39 -25
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +7 -5
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +39 -25
- package/cjs/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +9 -5
- package/cjs/components/material-runbox/timer/MaterialRunboxTimer.js +17 -13
- package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.d.ts +1 -1
- package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +76 -48
- package/cjs/components/shared/hooks/useBreakpoint.d.ts +2 -2
- package/cjs/components/shared/hooks/useBreakpoint.js +3 -3
- package/cjs/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.d.ts +1 -1
- package/cjs/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.js +12 -11
- package/es/components/material-runbox/MaterialAdminRunboxConfirmDialog.js +1 -1
- package/es/components/material-runbox/MaterialRunbox.js +1 -1
- package/es/components/material-runbox/MaterialRunboxAlert.js +1 -1
- package/es/components/material-runbox/MaterialRunboxContent.d.ts +1 -1
- package/es/components/material-runbox/MaterialRunboxContent.js +19 -9
- package/es/components/material-runbox/MaterialRunboxHeader.js +9 -7
- package/es/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +2 -2
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +3 -3
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectDialog.js +4 -2
- package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +4 -5
- package/es/components/material-runbox/actions/MaterialRunboxActionGrade.js +6 -5
- package/es/components/material-runbox/actions/MaterialRunboxActionMenu.js +8 -4
- package/es/components/material-runbox/actions/MaterialRunboxActionReset.js +5 -6
- package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +4 -5
- package/es/components/material-runbox/actions/MaterialRunboxActionShare.js +4 -4
- package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLog.js +3 -3
- package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +28 -20
- package/es/components/material-runbox/contexts/MaterialRunboxCommandContext.js +1 -1
- package/es/components/material-runbox/contexts/MaterialRunboxContext.d.ts +1 -1
- package/es/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.js +3 -3
- package/es/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.js +10 -6
- package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +2 -2
- package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +3 -4
- package/es/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +10 -6
- package/es/components/material-runbox/hooks/useRunboxControl.js +1 -1
- package/es/components/material-runbox/runtime/RuntimeChangeMaterialDialog.js +1 -1
- package/es/components/material-runbox/runtime/RuntimeOverlayConflicted.js +26 -14
- package/es/components/material-runbox/runtime/RuntimeOverlayLoading.js +38 -19
- package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.js +20 -12
- package/es/components/material-runbox/runtime/runtime-loading-tips.d.ts +2 -2
- package/es/components/material-runbox/status/MaterialRunboxStatusButton.js +5 -5
- package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +1 -1
- package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +13 -7
- package/es/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +1 -1
- package/es/components/material-runbox/status/MaterialRunboxStatusPopover.js +19 -15
- package/es/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +17 -9
- package/es/components/material-runbox/theme.d.ts +2 -2
- package/es/components/material-runbox/theme.js +1 -1
- package/es/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +26 -12
- package/es/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +5 -3
- package/es/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +26 -12
- package/es/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +7 -3
- package/es/components/material-runbox/timer/MaterialRunboxTimer.js +11 -7
- package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.d.ts +1 -1
- package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +55 -27
- package/es/components/shared/hooks/useBreakpoint.d.ts +2 -2
- package/es/components/shared/hooks/useBreakpoint.js +1 -1
- package/es/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.d.ts +1 -1
- package/es/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.js +10 -9
- package/package.json +15 -19
|
@@ -5,10 +5,10 @@ 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');
|
|
8
10
|
var intl = require('@elice/intl');
|
|
9
|
-
var muiElements = require('@elice/mui-elements');
|
|
10
11
|
var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
|
|
11
|
-
var material = require('@mui/material');
|
|
12
12
|
|
|
13
13
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
14
14
|
|
|
@@ -39,34 +39,38 @@ var MaterialRunboxEnvResetDialog = function MaterialRunboxEnvResetDialog(_ref) {
|
|
|
39
39
|
//
|
|
40
40
|
//
|
|
41
41
|
//
|
|
42
|
-
return jsxRuntime.jsxs(
|
|
42
|
+
return jsxRuntime.jsxs(edsMaterial.Dialog, {
|
|
43
43
|
fullWidth: true,
|
|
44
44
|
open: open,
|
|
45
45
|
maxWidth: "xs",
|
|
46
46
|
onClose: onClose,
|
|
47
|
-
children: [jsxRuntime.jsx(
|
|
48
|
-
children: jsxRuntime.jsxs(
|
|
47
|
+
children: [jsxRuntime.jsx(edsMaterial.DialogTitle, {
|
|
48
|
+
children: jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
49
49
|
direction: "row",
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
sx: {
|
|
51
|
+
gap: '0.5rem',
|
|
52
|
+
alignItems: 'center'
|
|
53
|
+
},
|
|
54
|
+
children: [jsxRuntime.jsx(edsKit.FaIcon, {
|
|
53
55
|
icon: proSolidSvgIcons.faCircleExclamation,
|
|
54
56
|
color: "error"
|
|
55
57
|
}), intl$1.formatMessage({
|
|
56
58
|
id: 'runbox.disk.env_reset.dialog.title'
|
|
57
59
|
})]
|
|
58
60
|
})
|
|
59
|
-
}), jsxRuntime.jsxs(
|
|
60
|
-
children: [jsxRuntime.jsx(
|
|
61
|
-
|
|
61
|
+
}), jsxRuntime.jsxs(edsMaterial.DialogContent, {
|
|
62
|
+
children: [jsxRuntime.jsx(edsMaterial.DialogContentText, {
|
|
63
|
+
sx: {
|
|
64
|
+
whiteSpace: 'pre-line'
|
|
65
|
+
},
|
|
62
66
|
children: intl$1.formatMessage({
|
|
63
67
|
id: 'runbox.disk.env_reset.dialog.description'
|
|
64
68
|
})
|
|
65
|
-
}), jsxRuntime.jsx(
|
|
69
|
+
}), jsxRuntime.jsx(edsMaterial.FormControlLabel, {
|
|
66
70
|
sx: {
|
|
67
71
|
marginTop: '1rem'
|
|
68
72
|
},
|
|
69
|
-
control: jsxRuntime.jsx(
|
|
73
|
+
control: jsxRuntime.jsx(edsMaterial.Checkbox, {
|
|
70
74
|
checked: isAcknowledged,
|
|
71
75
|
onChange: function onChange(e) {
|
|
72
76
|
return setAcknowledged(e.target.checked);
|
|
@@ -76,14 +80,14 @@ var MaterialRunboxEnvResetDialog = function MaterialRunboxEnvResetDialog(_ref) {
|
|
|
76
80
|
id: 'runbox.disk.env_reset.dialog.acknowledge'
|
|
77
81
|
})
|
|
78
82
|
})]
|
|
79
|
-
}), jsxRuntime.jsxs(
|
|
80
|
-
children: [jsxRuntime.jsx(
|
|
83
|
+
}), jsxRuntime.jsxs(edsMaterial.DialogActions, {
|
|
84
|
+
children: [jsxRuntime.jsx(edsMaterial.Button, {
|
|
81
85
|
color: "inherit",
|
|
82
86
|
onClick: onClose,
|
|
83
87
|
children: intl$1.formatMessage({
|
|
84
88
|
id: 'runbox.disk.env_reset.dialog.actions.cancel'
|
|
85
89
|
})
|
|
86
|
-
}), jsxRuntime.jsx(
|
|
90
|
+
}), jsxRuntime.jsx(edsMaterial.Button, {
|
|
87
91
|
color: "error",
|
|
88
92
|
disabled: !isAcknowledged,
|
|
89
93
|
onClick: onConfirm,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
+
var edsXSnackbar = require('@elice/eds-x-snackbar');
|
|
5
6
|
var intl = require('@elice/intl');
|
|
6
|
-
var muiXSnackbar = require('@elice/mui-x-snackbar');
|
|
7
7
|
var runboxClient = require('@elice/runbox-client');
|
|
8
8
|
var MaterialRunboxApiContext = require('../contexts/MaterialRunboxApiContext.js');
|
|
9
9
|
|
|
@@ -25,7 +25,7 @@ var useRunboxControl = function useRunboxControl(props) {
|
|
|
25
25
|
var _return = React.useRef({});
|
|
26
26
|
var abortCtrlRef = React.useRef(null);
|
|
27
27
|
var intl$1 = intl.useRawEliceIntl();
|
|
28
|
-
var _useSnackbar =
|
|
28
|
+
var _useSnackbar = edsXSnackbar.useSnackbar(),
|
|
29
29
|
enqueueSnackbar = _useSnackbar.enqueueSnackbar;
|
|
30
30
|
var materialRunboxApi = MaterialRunboxApiContext.useMaterialRunboxApiContext();
|
|
31
31
|
var _useEliceRunboxRunnin = runboxClient.useEliceRunboxRunning(),
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var
|
|
6
|
+
var edsMaterial = require('@elice/eds-material');
|
|
7
7
|
var MaterialRunboxControlContext = require('../contexts/MaterialRunboxControlContext.js');
|
|
8
8
|
|
|
9
9
|
var RuntimeChangeMaterialDialog = function RuntimeChangeMaterialDialog(_ref) {
|
|
@@ -28,26 +28,26 @@ var RuntimeChangeMaterialDialog = function RuntimeChangeMaterialDialog(_ref) {
|
|
|
28
28
|
runPreCheck: false
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
|
-
return jsxRuntime.jsxs(
|
|
31
|
+
return jsxRuntime.jsxs(edsMaterial.Dialog, {
|
|
32
32
|
open: open,
|
|
33
33
|
onClose: onClose,
|
|
34
|
-
children: [jsxRuntime.jsx(
|
|
34
|
+
children: [jsxRuntime.jsx(edsMaterial.DialogTitle, {
|
|
35
35
|
children: intl.formatMessage({
|
|
36
36
|
id: 'runbox.runtime.dialog.change_material.title'
|
|
37
37
|
})
|
|
38
|
-
}), jsxRuntime.jsx(
|
|
38
|
+
}), jsxRuntime.jsx(edsMaterial.DialogContent, {
|
|
39
39
|
children: intl.formatMessage({
|
|
40
40
|
id: 'runbox.runtime.dialog.change_material.description'
|
|
41
41
|
})
|
|
42
|
-
}), jsxRuntime.jsxs(
|
|
43
|
-
children: [jsxRuntime.jsx(
|
|
42
|
+
}), jsxRuntime.jsxs(edsMaterial.DialogActions, {
|
|
43
|
+
children: [jsxRuntime.jsx(edsMaterial.Button, {
|
|
44
44
|
variant: "contained",
|
|
45
45
|
color: "inherit",
|
|
46
46
|
onClick: handleClickClose,
|
|
47
47
|
children: intl.formatMessage({
|
|
48
48
|
id: 'runbox.common.close'
|
|
49
49
|
})
|
|
50
|
-
}), jsxRuntime.jsx(
|
|
50
|
+
}), jsxRuntime.jsx(edsMaterial.Button, {
|
|
51
51
|
variant: "contained",
|
|
52
52
|
color: "primary",
|
|
53
53
|
onClick: handleClickConnect,
|
|
@@ -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 apiClient = require('@elice/api-client');
|
|
9
|
+
var edsKit = require('@elice/eds-kit');
|
|
10
|
+
var edsMaterial = require('@elice/eds-material');
|
|
9
11
|
var intl = require('@elice/intl');
|
|
10
|
-
var muiElements = require('@elice/mui-elements');
|
|
11
12
|
var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
|
|
12
|
-
var material = require('@mui/material');
|
|
13
13
|
var reactQuery = require('@tanstack/react-query');
|
|
14
14
|
var theme = require('../theme.js');
|
|
15
15
|
var RuntimeChangeMaterialDialog = require('./RuntimeChangeMaterialDialog.js');
|
|
@@ -85,14 +85,14 @@ var RuntimeOverlayConflicted = function RuntimeOverlayConflicted(_ref) {
|
|
|
85
85
|
disableRipple: true
|
|
86
86
|
};
|
|
87
87
|
var opensInNewTab = (runningRunboxLinkProps === null || runningRunboxLinkProps === void 0 ? void 0 : runningRunboxLinkProps.target) === '_blank';
|
|
88
|
-
return jsxRuntime.jsx(
|
|
88
|
+
return jsxRuntime.jsx(edsMaterial.Button, Object.assign({
|
|
89
89
|
variant: "contained",
|
|
90
90
|
color: "inherit",
|
|
91
|
-
startIcon: jsxRuntime.jsx(
|
|
91
|
+
startIcon: jsxRuntime.jsx(edsKit.FaIcon, {
|
|
92
92
|
icon: proSolidSvgIcons.faLinkSimple,
|
|
93
93
|
color: "success"
|
|
94
94
|
}),
|
|
95
|
-
endIcon: opensInNewTab ? jsxRuntime.jsx(
|
|
95
|
+
endIcon: opensInNewTab ? jsxRuntime.jsx(edsKit.FaIcon, {
|
|
96
96
|
icon: proSolidSvgIcons.faArrowUpRightFromSquare,
|
|
97
97
|
color: "inherit"
|
|
98
98
|
}) : null,
|
|
@@ -108,15 +108,21 @@ var RuntimeOverlayConflicted = function RuntimeOverlayConflicted(_ref) {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
}, linkProps, {
|
|
111
|
-
children: jsxRuntime.jsxs(
|
|
112
|
-
flex: 1,
|
|
111
|
+
children: jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
113
112
|
direction: "column",
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
sx: {
|
|
114
|
+
alignItems: 'flex-start',
|
|
115
|
+
flex: 1
|
|
116
|
+
},
|
|
117
|
+
children: [courseId !== runningCourse.id ? jsxRuntime.jsx(edsMaterial.Typography, {
|
|
118
|
+
sx: {
|
|
119
|
+
color: 'text.tertiary'
|
|
120
|
+
},
|
|
117
121
|
children: runningCourse === null || runningCourse === void 0 ? void 0 : runningCourse.title
|
|
118
|
-
}) : null, jsxRuntime.jsx(
|
|
119
|
-
|
|
122
|
+
}) : null, jsxRuntime.jsx(edsMaterial.Typography, {
|
|
123
|
+
sx: {
|
|
124
|
+
color: 'text.primary'
|
|
125
|
+
},
|
|
120
126
|
children: runningRunbox.title
|
|
121
127
|
})]
|
|
122
128
|
})
|
|
@@ -129,7 +135,7 @@ var RuntimeOverlayConflicted = function RuntimeOverlayConflicted(_ref) {
|
|
|
129
135
|
if (!isChangeMaterialDialogOpen) {
|
|
130
136
|
return null;
|
|
131
137
|
}
|
|
132
|
-
return jsxRuntime.jsx(
|
|
138
|
+
return jsxRuntime.jsx(edsMaterial.ThemeProvider, {
|
|
133
139
|
theme: theme.runboxDarkTheme,
|
|
134
140
|
children: jsxRuntime.jsx(RuntimeChangeMaterialDialog.default, {
|
|
135
141
|
intl: intl,
|
|
@@ -150,9 +156,9 @@ var RuntimeOverlayConflicted = function RuntimeOverlayConflicted(_ref) {
|
|
|
150
156
|
//
|
|
151
157
|
//
|
|
152
158
|
var renderOverlay = function renderOverlay() {
|
|
153
|
-
return jsxRuntime.jsx(
|
|
159
|
+
return jsxRuntime.jsx(edsMaterial.ThemeProvider, {
|
|
154
160
|
theme: theme.runboxLightTheme,
|
|
155
|
-
children: jsxRuntime.jsx(
|
|
161
|
+
children: jsxRuntime.jsx(edsMaterial.Box, {
|
|
156
162
|
sx: {
|
|
157
163
|
display: 'flex',
|
|
158
164
|
justifyContent: 'center',
|
|
@@ -162,10 +168,12 @@ var RuntimeOverlayConflicted = function RuntimeOverlayConflicted(_ref) {
|
|
|
162
168
|
backgroundColor: 'background.paper',
|
|
163
169
|
color: 'text.primary'
|
|
164
170
|
},
|
|
165
|
-
children: jsxRuntime.jsxs(
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
171
|
+
children: jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
172
|
+
sx: {
|
|
173
|
+
alignItems: 'center',
|
|
174
|
+
gap: '1.5rem'
|
|
175
|
+
},
|
|
176
|
+
children: [jsxRuntime.jsx(edsMaterial.Box, {
|
|
169
177
|
component: "img",
|
|
170
178
|
src: terminated.default,
|
|
171
179
|
alt: "terminated",
|
|
@@ -173,29 +181,33 @@ var RuntimeOverlayConflicted = function RuntimeOverlayConflicted(_ref) {
|
|
|
173
181
|
maxWidth: '10rem',
|
|
174
182
|
height: 'auto'
|
|
175
183
|
}
|
|
176
|
-
}), jsxRuntime.jsx(
|
|
184
|
+
}), jsxRuntime.jsx(edsMaterial.Typography, {
|
|
177
185
|
variant: "h6",
|
|
178
|
-
|
|
186
|
+
sx: {
|
|
187
|
+
textAlign: 'center'
|
|
188
|
+
},
|
|
179
189
|
children: intl.formatMessage({
|
|
180
190
|
id: 'runbox.runtime.overlay.conflicted.title'
|
|
181
191
|
})
|
|
182
|
-
}), renderNavButton(), jsxRuntime.jsx(
|
|
192
|
+
}), renderNavButton(), jsxRuntime.jsx(edsMaterial.Typography, {
|
|
183
193
|
variant: "body1",
|
|
184
|
-
|
|
185
|
-
|
|
194
|
+
sx: {
|
|
195
|
+
whiteSpace: 'pre-line',
|
|
196
|
+
textAlign: 'center'
|
|
197
|
+
},
|
|
186
198
|
children: intl.formatMessage({
|
|
187
199
|
id: 'runbox.runtime.overlay.conflicted.description'
|
|
188
200
|
})
|
|
189
|
-
}), jsxRuntime.jsx(
|
|
201
|
+
}), jsxRuntime.jsx(edsMaterial.Box, {
|
|
190
202
|
sx: {
|
|
191
203
|
width: '20rem',
|
|
192
204
|
maxWidth: '100%'
|
|
193
205
|
},
|
|
194
|
-
children: jsxRuntime.jsx(
|
|
206
|
+
children: jsxRuntime.jsx(edsMaterial.Button, {
|
|
195
207
|
fullWidth: true,
|
|
196
208
|
variant: "contained",
|
|
197
209
|
color: "primary",
|
|
198
|
-
startIcon: jsxRuntime.jsx(
|
|
210
|
+
startIcon: jsxRuntime.jsx(edsKit.FaIcon, {
|
|
199
211
|
icon: proSolidSvgIcons.faLinkSimple
|
|
200
212
|
}),
|
|
201
213
|
onClick: handleClickConnect,
|
|
@@ -6,11 +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 edsKit = require('@elice/eds-kit');
|
|
10
|
+
var edsMaterial = require('@elice/eds-material');
|
|
9
11
|
var intl = require('@elice/intl');
|
|
10
|
-
var muiElements = require('@elice/mui-elements');
|
|
11
|
-
var muiSystem = require('@elice/mui-system');
|
|
12
12
|
var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
|
|
13
|
-
var material = require('@mui/material');
|
|
14
13
|
var theme = require('../theme.js');
|
|
15
14
|
var runtimeLoadingTips = require('./runtime-loading-tips.js');
|
|
16
15
|
var runboxLoading = require('../../../assets/runbox-loading.svg.js');
|
|
@@ -67,9 +66,9 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
|
|
|
67
66
|
//
|
|
68
67
|
//
|
|
69
68
|
//
|
|
70
|
-
return jsxRuntime.jsx(
|
|
69
|
+
return jsxRuntime.jsx(edsMaterial.ThemeProvider, {
|
|
71
70
|
theme: theme.runboxLightTheme,
|
|
72
|
-
children: jsxRuntime.jsxs(
|
|
71
|
+
children: jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
73
72
|
sx: {
|
|
74
73
|
width: '100%',
|
|
75
74
|
height: '100%',
|
|
@@ -82,7 +81,7 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
|
|
|
82
81
|
backgroundColor: 'background.paper',
|
|
83
82
|
color: 'text.primary'
|
|
84
83
|
},
|
|
85
|
-
children: [jsxRuntime.jsxs(
|
|
84
|
+
children: [jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
86
85
|
direction: {
|
|
87
86
|
xs: 'column',
|
|
88
87
|
md: 'row'
|
|
@@ -96,7 +95,7 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
|
|
|
96
95
|
md: '2rem'
|
|
97
96
|
}
|
|
98
97
|
},
|
|
99
|
-
children: [jsxRuntime.jsxs(
|
|
98
|
+
children: [jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
100
99
|
sx: {
|
|
101
100
|
width: '100%',
|
|
102
101
|
maxWidth: '30rem',
|
|
@@ -105,99 +104,111 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
|
|
|
105
104
|
},
|
|
106
105
|
gap: '1.5rem'
|
|
107
106
|
},
|
|
108
|
-
children: [jsxRuntime.jsxs(
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
children: [jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
108
|
+
sx: {
|
|
109
|
+
gap: '0.5rem'
|
|
110
|
+
},
|
|
111
|
+
children: [jsxRuntime.jsx(edsMaterial.Typography, {
|
|
111
112
|
variant: "h4",
|
|
112
|
-
|
|
113
|
+
sx: {
|
|
114
|
+
color: 'text.primary'
|
|
115
|
+
},
|
|
113
116
|
children: intl.formatMessage({
|
|
114
117
|
id: 'runbox.runtime.loading.title'
|
|
115
118
|
})
|
|
116
|
-
}), jsxRuntime.jsx(
|
|
119
|
+
}), jsxRuntime.jsx(edsMaterial.Typography, {
|
|
117
120
|
variant: "body1",
|
|
118
|
-
|
|
121
|
+
sx: {
|
|
122
|
+
color: 'text.secondary'
|
|
123
|
+
},
|
|
119
124
|
children: intl.formatMessage({
|
|
120
125
|
id: 'runbox.runtime.loading.description'
|
|
121
126
|
})
|
|
122
127
|
})]
|
|
123
|
-
}), jsxRuntime.jsx(
|
|
128
|
+
}), jsxRuntime.jsx(edsMaterial.Stack, {
|
|
124
129
|
children: STEPS.map(function (step, index) {
|
|
125
130
|
var stepNumber = index + 1;
|
|
126
131
|
var isActive = stepNumber === activeStep;
|
|
127
132
|
var isCompleted = stepNumber < activeStep;
|
|
128
|
-
return jsxRuntime.jsxs(
|
|
133
|
+
return jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
129
134
|
direction: "row",
|
|
130
135
|
sx: {
|
|
131
136
|
alignItems: 'center',
|
|
132
137
|
gap: '0.75rem',
|
|
133
138
|
padding: '0.625rem 0.75rem',
|
|
134
139
|
borderRadius: '0.5rem',
|
|
135
|
-
backgroundColor: isActive ?
|
|
140
|
+
backgroundColor: isActive ? edsMaterial.alpha(edsMaterial.colors.elicepurple[700], 0.04) : 'transparent'
|
|
136
141
|
},
|
|
137
|
-
children: [jsxRuntime.jsx(
|
|
142
|
+
children: [jsxRuntime.jsx(edsMaterial.Box, {
|
|
138
143
|
sx: {
|
|
139
144
|
display: 'flex',
|
|
140
145
|
justifyContent: 'center',
|
|
141
146
|
alignItems: 'center',
|
|
142
147
|
width: '1rem'
|
|
143
148
|
},
|
|
144
|
-
children: isActive ? jsxRuntime.jsx(
|
|
149
|
+
children: isActive ? jsxRuntime.jsx(edsMaterial.CircularProgress, {
|
|
145
150
|
size: "1rem",
|
|
146
151
|
sx: {
|
|
147
|
-
color:
|
|
152
|
+
color: edsMaterial.colors.elicepurple[700]
|
|
148
153
|
}
|
|
149
|
-
}) : isCompleted ? jsxRuntime.jsx(
|
|
154
|
+
}) : isCompleted ? jsxRuntime.jsx(edsKit.FaIcon, {
|
|
150
155
|
icon: proSolidSvgIcons.faCheck,
|
|
151
156
|
sx: {
|
|
152
157
|
fontSize: '1rem',
|
|
153
|
-
color:
|
|
158
|
+
color: edsMaterial.colors.elicepurple[700]
|
|
154
159
|
}
|
|
155
|
-
}) : jsxRuntime.jsx(
|
|
160
|
+
}) : jsxRuntime.jsx(edsMaterial.Typography, {
|
|
156
161
|
variant: "body2",
|
|
157
|
-
|
|
162
|
+
sx: {
|
|
163
|
+
color: 'text.tertiary'
|
|
164
|
+
},
|
|
158
165
|
children: stepNumber
|
|
159
166
|
})
|
|
160
|
-
}), jsxRuntime.jsx(
|
|
167
|
+
}), jsxRuntime.jsx(edsMaterial.Typography, {
|
|
161
168
|
variant: "body2",
|
|
162
|
-
fontWeight: isActive ? 700 : 500,
|
|
163
169
|
color: isActive ? 'text.primary' : 'text.secondary',
|
|
164
170
|
sx: {
|
|
171
|
+
fontWeight: isActive ? 700 : 500,
|
|
165
172
|
flex: 1
|
|
166
173
|
},
|
|
167
174
|
children: intl.formatMessage({
|
|
168
175
|
id: step.labelId
|
|
169
176
|
})
|
|
170
|
-
}), jsxRuntime.jsx(
|
|
177
|
+
}), jsxRuntime.jsx(edsMaterial.Typography, {
|
|
171
178
|
variant: "caption",
|
|
172
|
-
|
|
173
|
-
|
|
179
|
+
sx: {
|
|
180
|
+
color: 'text.tertiary',
|
|
181
|
+
whiteSpace: 'nowrap'
|
|
182
|
+
},
|
|
174
183
|
children: intl.formatMessage({
|
|
175
184
|
id: isCompleted ? STEP_STATUS_ID.completed : isActive ? STEP_STATUS_ID.active : STEP_STATUS_ID.pending
|
|
176
185
|
})
|
|
177
186
|
})]
|
|
178
187
|
}, step.labelId);
|
|
179
188
|
})
|
|
180
|
-
}), jsxRuntime.jsxs(
|
|
189
|
+
}), jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
181
190
|
direction: "row",
|
|
182
191
|
sx: {
|
|
183
192
|
alignItems: 'center',
|
|
184
193
|
gap: '0.75rem'
|
|
185
194
|
},
|
|
186
|
-
children: [jsxRuntime.jsx(
|
|
195
|
+
children: [jsxRuntime.jsx(edsMaterial.LinearProgress, {
|
|
187
196
|
variant: "determinate",
|
|
188
197
|
value: activeStep / STEPS.length * 100,
|
|
189
198
|
sx: _rollupPluginBabelHelpers.defineProperty({
|
|
190
199
|
flex: 1,
|
|
191
200
|
height: '0.25rem',
|
|
192
201
|
borderRadius: '0.25rem',
|
|
193
|
-
backgroundColor:
|
|
202
|
+
backgroundColor: edsMaterial.alpha(edsMaterial.colors.elicepurple[700], 0.2)
|
|
194
203
|
}, "& .MuiLinearProgress-bar", {
|
|
195
|
-
backgroundColor:
|
|
204
|
+
backgroundColor: edsMaterial.colors.elicepurple[700]
|
|
196
205
|
})
|
|
197
|
-
}), jsxRuntime.jsx(
|
|
206
|
+
}), jsxRuntime.jsx(edsMaterial.Typography, {
|
|
198
207
|
variant: "caption",
|
|
199
|
-
|
|
200
|
-
|
|
208
|
+
sx: {
|
|
209
|
+
color: 'text.tertiary',
|
|
210
|
+
whiteSpace: 'nowrap'
|
|
211
|
+
},
|
|
201
212
|
children: intl.formatMessage({
|
|
202
213
|
id: STEPS[activeStep - 1].progressId
|
|
203
214
|
}, {
|
|
@@ -206,7 +217,7 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
|
|
|
206
217
|
})
|
|
207
218
|
})]
|
|
208
219
|
})]
|
|
209
|
-
}), jsxRuntime.jsx(
|
|
220
|
+
}), jsxRuntime.jsx(edsMaterial.Box, {
|
|
210
221
|
sx: {
|
|
211
222
|
display: 'flex',
|
|
212
223
|
justifyContent: 'center',
|
|
@@ -215,7 +226,7 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
|
|
|
215
226
|
md: 1
|
|
216
227
|
}
|
|
217
228
|
},
|
|
218
|
-
children: jsxRuntime.jsx(
|
|
229
|
+
children: jsxRuntime.jsx(edsMaterial.Box, {
|
|
219
230
|
component: "img",
|
|
220
231
|
src: runboxLoading.default,
|
|
221
232
|
alt: intl.formatMessage({
|
|
@@ -231,41 +242,49 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
|
|
|
231
242
|
}
|
|
232
243
|
})
|
|
233
244
|
})]
|
|
234
|
-
}), jsxRuntime.jsx(
|
|
245
|
+
}), jsxRuntime.jsx(edsMaterial.Fade, {
|
|
235
246
|
"in": true,
|
|
236
247
|
appear: page > 0,
|
|
237
|
-
children: jsxRuntime.jsx(
|
|
248
|
+
children: jsxRuntime.jsx(edsMaterial.Stack, {
|
|
238
249
|
direction: {
|
|
239
250
|
xs: 'column',
|
|
240
251
|
md: 'row'
|
|
241
252
|
},
|
|
242
|
-
|
|
253
|
+
sx: {
|
|
254
|
+
gap: '1rem'
|
|
255
|
+
},
|
|
243
256
|
children: shownTips.map(function (tip) {
|
|
244
|
-
return jsxRuntime.jsxs(
|
|
257
|
+
return jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
245
258
|
direction: "row",
|
|
246
259
|
sx: {
|
|
247
260
|
flex: 1,
|
|
248
261
|
gap: '0.75rem'
|
|
249
262
|
},
|
|
250
|
-
children: [jsxRuntime.jsx(
|
|
263
|
+
children: [jsxRuntime.jsx(edsKit.FaIcon, {
|
|
251
264
|
icon: tip.icon,
|
|
252
265
|
sx: {
|
|
253
266
|
fontSize: '1.25rem',
|
|
254
267
|
color: 'text.secondary',
|
|
255
268
|
marginTop: '0.125rem'
|
|
256
269
|
}
|
|
257
|
-
}), jsxRuntime.jsxs(
|
|
258
|
-
|
|
259
|
-
|
|
270
|
+
}), jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
271
|
+
sx: {
|
|
272
|
+
gap: '0.125rem'
|
|
273
|
+
},
|
|
274
|
+
children: [jsxRuntime.jsx(edsMaterial.Typography, {
|
|
260
275
|
variant: "body1",
|
|
261
|
-
|
|
262
|
-
|
|
276
|
+
sx: {
|
|
277
|
+
color: 'text.primary',
|
|
278
|
+
fontWeight: 700
|
|
279
|
+
},
|
|
263
280
|
children: intl.formatMessage({
|
|
264
281
|
id: tip.titleId
|
|
265
282
|
})
|
|
266
|
-
}), jsxRuntime.jsx(
|
|
283
|
+
}), jsxRuntime.jsx(edsMaterial.Typography, {
|
|
267
284
|
variant: "caption",
|
|
268
|
-
|
|
285
|
+
sx: {
|
|
286
|
+
color: 'text.tertiary'
|
|
287
|
+
},
|
|
269
288
|
children: intl.formatMessage({
|
|
270
289
|
id: tip.descriptionId
|
|
271
290
|
})
|