@elice/material-runbox 1.240508.0-globalization.0 → 1.240508.0-globalization.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/material-runbox/MaterialRunbox.js +1 -5
- package/cjs/components/material-runbox/MaterialRunboxContent.js +1 -3
- package/cjs/components/material-runbox/MaterialRunboxHeader.js +1 -3
- package/cjs/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +1 -3
- package/cjs/components/material-runbox/actions/MaterialRunboxActionGrade.js +1 -3
- package/cjs/components/material-runbox/actions/MaterialRunboxActionReset.js +1 -3
- package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +1 -3
- package/cjs/components/material-runbox/actions/MaterialRunboxActionShare.js +1 -3
- package/cjs/components/material-runbox/contexts/MaterialRunboxCommandContext.js +1 -3
- package/cjs/components/material-runbox/hooks/useRunboxControl.js +1 -3
- package/cjs/components/material-runbox/runtime/RuntimeOverlayAssigned.js +1 -3
- package/cjs/components/material-runbox/runtime/RuntimeOverlayQueued.js +1 -3
- package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.js +1 -3
- package/es/components/material-runbox/MaterialRunbox.js +1 -5
- package/es/components/material-runbox/MaterialRunboxContent.js +1 -3
- package/es/components/material-runbox/MaterialRunboxHeader.js +1 -3
- package/es/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +1 -3
- package/es/components/material-runbox/actions/MaterialRunboxActionGrade.js +1 -3
- package/es/components/material-runbox/actions/MaterialRunboxActionReset.js +1 -3
- package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +1 -3
- package/es/components/material-runbox/actions/MaterialRunboxActionShare.js +1 -3
- package/es/components/material-runbox/contexts/MaterialRunboxCommandContext.js +1 -3
- package/es/components/material-runbox/hooks/useRunboxControl.js +1 -3
- package/es/components/material-runbox/runtime/RuntimeOverlayAssigned.js +1 -3
- package/es/components/material-runbox/runtime/RuntimeOverlayQueued.js +1 -3
- package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.js +1 -3
- package/package.json +5 -5
|
@@ -29,11 +29,7 @@ const MaterialRunbox = _a => {
|
|
|
29
29
|
__intl
|
|
30
30
|
} = _a,
|
|
31
31
|
contentProps = tslib.__rest(_a, ["enableAutoShutdownToggle", "enableUrlShare", "locale", "showMessenger", "eliceMaterialRunboxApiConfiguration", "__intl"]);
|
|
32
|
-
return React.createElement(intl.RawEliceIntlProvider, {
|
|
33
|
-
value: {
|
|
34
|
-
intl: __intl
|
|
35
|
-
}
|
|
36
|
-
}, React.createElement(MaterialRunboxContext.default, {
|
|
32
|
+
return React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialRunboxContext.default, {
|
|
37
33
|
enableAutoShutdownToggle: enableAutoShutdownToggle,
|
|
38
34
|
enableUrlShare: enableUrlShare,
|
|
39
35
|
locale: locale,
|
|
@@ -34,9 +34,7 @@ const MaterialRunboxHeader = ({
|
|
|
34
34
|
courseId,
|
|
35
35
|
refetch
|
|
36
36
|
}) => {
|
|
37
|
-
const
|
|
38
|
-
intl: intl$1
|
|
39
|
-
} = intl.useRawEliceIntl();
|
|
37
|
+
const intl$1 = intl.useRawEliceIntl();
|
|
40
38
|
const {
|
|
41
39
|
enableAutoShutdownToggle
|
|
42
40
|
} = MaterialRunboxContext.useMaterialRunboxContext();
|
|
@@ -34,9 +34,7 @@ const MaterialRunboxActionAutoShutdown = ({
|
|
|
34
34
|
refetch
|
|
35
35
|
}) => {
|
|
36
36
|
var _a;
|
|
37
|
-
const
|
|
38
|
-
intl: intl$1
|
|
39
|
-
} = intl.useRawEliceIntl();
|
|
37
|
+
const intl$1 = intl.useRawEliceIntl();
|
|
40
38
|
const materialRunboxApi = MaterialRunboxApiContext.useMaterialRunboxApiContext();
|
|
41
39
|
/**
|
|
42
40
|
*
|
|
@@ -19,9 +19,7 @@ const MaterialRunboxActionRestart = ({
|
|
|
19
19
|
refetch,
|
|
20
20
|
handleMenuClose
|
|
21
21
|
}) => {
|
|
22
|
-
const
|
|
23
|
-
intl: intl$1
|
|
24
|
-
} = intl.useRawEliceIntl();
|
|
22
|
+
const intl$1 = intl.useRawEliceIntl();
|
|
25
23
|
const [isLoading, setIsLoading] = React.useState(false);
|
|
26
24
|
const [isDialogOpened, setDialogOpened] = React.useState(false);
|
|
27
25
|
// restart
|
|
@@ -20,9 +20,7 @@ var MaterialRunboxContext = require('../contexts/MaterialRunboxContext.js');
|
|
|
20
20
|
const MaterialRunboxActionShare = ({
|
|
21
21
|
handleMenuClose
|
|
22
22
|
}) => {
|
|
23
|
-
const
|
|
24
|
-
intl: intl$1
|
|
25
|
-
} = intl.useRawEliceIntl();
|
|
23
|
+
const intl$1 = intl.useRawEliceIntl();
|
|
26
24
|
const {
|
|
27
25
|
enqueueSnackbar
|
|
28
26
|
} = muiXSnackbar.useSnackbar();
|
|
@@ -16,9 +16,7 @@ require('../contexts/MaterialRunboxContext.js');
|
|
|
16
16
|
*/
|
|
17
17
|
const useRunboxControl = props => {
|
|
18
18
|
const _return = React.useRef({});
|
|
19
|
-
const
|
|
20
|
-
intl: intl$1
|
|
21
|
-
} = intl.useRawEliceIntl();
|
|
19
|
+
const intl$1 = intl.useRawEliceIntl();
|
|
22
20
|
const {
|
|
23
21
|
enqueueSnackbar
|
|
24
22
|
} = muiXSnackbar.useSnackbar();
|
|
@@ -16,9 +16,7 @@ const ASSIGNED_NORMAL_TIMEOUT = 30 * 1e3; // 30 sec
|
|
|
16
16
|
//
|
|
17
17
|
//
|
|
18
18
|
const RuntimeOverlayAssigned = () => {
|
|
19
|
-
const
|
|
20
|
-
intl: intl$1
|
|
21
|
-
} = intl.useRawEliceIntl();
|
|
19
|
+
const intl$1 = intl.useRawEliceIntl();
|
|
22
20
|
const [timeout] = reactUse.useTimeout(ASSIGNED_NORMAL_TIMEOUT);
|
|
23
21
|
//
|
|
24
22
|
//
|
|
@@ -17,9 +17,7 @@ var queue = require('../../../assets/queue.gif.js');
|
|
|
17
17
|
const RuntimeOverlayQueued = ({
|
|
18
18
|
numWaiters
|
|
19
19
|
}) => {
|
|
20
|
-
const
|
|
21
|
-
intl: intl$1
|
|
22
|
-
} = intl.useRawEliceIntl();
|
|
20
|
+
const intl$1 = intl.useRawEliceIntl();
|
|
23
21
|
const {
|
|
24
22
|
showMessenger
|
|
25
23
|
} = MaterialRunboxContext.useMaterialRunboxContext();
|
|
@@ -19,9 +19,7 @@ const RuntimeOverlayTerminated = ({
|
|
|
19
19
|
reason,
|
|
20
20
|
startRuntime
|
|
21
21
|
}) => {
|
|
22
|
-
const
|
|
23
|
-
intl: intl$1
|
|
24
|
-
} = intl.useRawEliceIntl();
|
|
22
|
+
const intl$1 = intl.useRawEliceIntl();
|
|
25
23
|
const {
|
|
26
24
|
showMessenger
|
|
27
25
|
} = MaterialRunboxContext.useMaterialRunboxContext();
|
|
@@ -25,11 +25,7 @@ const MaterialRunbox = _a => {
|
|
|
25
25
|
__intl
|
|
26
26
|
} = _a,
|
|
27
27
|
contentProps = __rest(_a, ["enableAutoShutdownToggle", "enableUrlShare", "locale", "showMessenger", "eliceMaterialRunboxApiConfiguration", "__intl"]);
|
|
28
|
-
return React.createElement(RawEliceIntlProvider, {
|
|
29
|
-
value: {
|
|
30
|
-
intl: __intl
|
|
31
|
-
}
|
|
32
|
-
}, React.createElement(MaterialRunboxContextProvider, {
|
|
28
|
+
return React.createElement(RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialRunboxContextProvider, {
|
|
33
29
|
enableAutoShutdownToggle: enableAutoShutdownToggle,
|
|
34
30
|
enableUrlShare: enableUrlShare,
|
|
35
31
|
locale: locale,
|
|
@@ -15,9 +15,7 @@ const MaterialRunboxActionRestart = ({
|
|
|
15
15
|
refetch,
|
|
16
16
|
handleMenuClose
|
|
17
17
|
}) => {
|
|
18
|
-
const
|
|
19
|
-
intl
|
|
20
|
-
} = useRawEliceIntl();
|
|
18
|
+
const intl = useRawEliceIntl();
|
|
21
19
|
const [isLoading, setIsLoading] = React.useState(false);
|
|
22
20
|
const [isDialogOpened, setDialogOpened] = React.useState(false);
|
|
23
21
|
// restart
|
|
@@ -16,9 +16,7 @@ import { useMaterialRunboxContext } from '../contexts/MaterialRunboxContext.js';
|
|
|
16
16
|
const MaterialRunboxActionShare = ({
|
|
17
17
|
handleMenuClose
|
|
18
18
|
}) => {
|
|
19
|
-
const
|
|
20
|
-
intl
|
|
21
|
-
} = useRawEliceIntl();
|
|
19
|
+
const intl = useRawEliceIntl();
|
|
22
20
|
const {
|
|
23
21
|
enqueueSnackbar
|
|
24
22
|
} = useSnackbar();
|
|
@@ -13,9 +13,7 @@ import queueAnimationImage from '../../../assets/queue.gif.js';
|
|
|
13
13
|
const RuntimeOverlayQueued = ({
|
|
14
14
|
numWaiters
|
|
15
15
|
}) => {
|
|
16
|
-
const
|
|
17
|
-
intl
|
|
18
|
-
} = useRawEliceIntl();
|
|
16
|
+
const intl = useRawEliceIntl();
|
|
19
17
|
const {
|
|
20
18
|
showMessenger
|
|
21
19
|
} = useMaterialRunboxContext();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-runbox",
|
|
3
|
-
"version": "1.240508.0-globalization.
|
|
3
|
+
"version": "1.240508.0-globalization.1",
|
|
4
4
|
"description": "User view and editing components of Elice material runbox",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"tslib": "^2.6.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@elice/intl": "0.240425.0-alpha.
|
|
55
|
-
"@elice/material-shared-types": "1.240508.0-globalization.
|
|
56
|
-
"@elice/material-shared-utils": "1.240508.0-globalization.
|
|
54
|
+
"@elice/intl": "0.240425.0-alpha.9",
|
|
55
|
+
"@elice/material-shared-types": "1.240508.0-globalization.1",
|
|
56
|
+
"@elice/material-shared-utils": "1.240508.0-globalization.1",
|
|
57
57
|
"@elice/mui-elements": "^5.231130.0",
|
|
58
58
|
"@elice/mui-system": "^5.230815.0",
|
|
59
59
|
"@elice/mui-x-snackbar": "^5.231130.0",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"react": "^17.0.2",
|
|
75
75
|
"react-use": "^17.2.4"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "359abc2f14610a96b1c4514aedb4a7d0ad02aed3"
|
|
78
78
|
}
|