@elice/material-runbox 1.240710.0 → 1.240711.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/MaterialRunboxContent.js +0 -2
- package/cjs/components/material-runbox/runtime/RuntimeOverlayAssigned.d.ts +3 -2
- package/cjs/components/material-runbox/runtime/RuntimeOverlayAssigned.js +9 -5
- package/cjs/components/material-runbox/runtime/RuntimeOverlayQueued.d.ts +3 -2
- package/cjs/components/material-runbox/runtime/RuntimeOverlayQueued.js +8 -5
- package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.d.ts +3 -2
- package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.js +15 -12
- package/es/components/material-runbox/MaterialRunboxContent.js +0 -2
- package/es/components/material-runbox/runtime/RuntimeOverlayAssigned.d.ts +3 -2
- package/es/components/material-runbox/runtime/RuntimeOverlayAssigned.js +8 -4
- package/es/components/material-runbox/runtime/RuntimeOverlayQueued.d.ts +3 -2
- package/es/components/material-runbox/runtime/RuntimeOverlayQueued.js +6 -3
- package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.d.ts +3 -2
- package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.js +6 -3
- package/package.json +5 -5
|
@@ -44,7 +44,6 @@ const MaterialRunboxContent = ({
|
|
|
44
44
|
}) => {
|
|
45
45
|
const intl$1 = intl.useRawEliceIntl();
|
|
46
46
|
const {
|
|
47
|
-
locale,
|
|
48
47
|
showMessenger
|
|
49
48
|
} = MaterialRunboxContext.useMaterialRunboxContext();
|
|
50
49
|
const materialRunboxApi = MaterialRunboxApiContext.useMaterialRunboxApiContext();
|
|
@@ -153,7 +152,6 @@ const MaterialRunboxContent = ({
|
|
|
153
152
|
}, {
|
|
154
153
|
signal
|
|
155
154
|
}),
|
|
156
|
-
locale: locale,
|
|
157
155
|
onRunboxRefetchRequest: refetch
|
|
158
156
|
}, React.createElement(StyledRunboxContainer, null, React.createElement(MaterialRunboxHeader.default, Object.assign({}, props)), React.createElement(MaterialRunboxBody.default, Object.assign({}, props)), React.createElement(MaterialRunboxFooter.default, Object.assign({}, props)))));
|
|
159
157
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { WithIntlComponentBuilderProps } from '@elice/intl';
|
|
2
3
|
import type { EliceRunboxViewerOverlayAssignedComponentProps as AssignedComponentProps } from '@elice/runbox-client';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
4
|
+
declare const _default: React.ForwardRefExoticComponent<import("@elice/intl").IntlComponentExtraProps & Omit<WithIntlComponentBuilderProps<AssignedComponentProps>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & React.RefAttributes<any>>;
|
|
5
|
+
export default _default;
|
|
@@ -6,6 +6,8 @@ var React = require('react');
|
|
|
6
6
|
var reactUse = require('react-use');
|
|
7
7
|
var intl = require('@elice/intl');
|
|
8
8
|
var material = require('@mui/material');
|
|
9
|
+
var en = require('../locales/en.json.js');
|
|
10
|
+
var ko = require('../locales/ko.json.js');
|
|
9
11
|
var queue = require('../../../assets/queue.gif.js');
|
|
10
12
|
|
|
11
13
|
//
|
|
@@ -15,8 +17,9 @@ const ASSIGNED_NORMAL_TIMEOUT = 30 * 1e3; // 30 sec
|
|
|
15
17
|
//
|
|
16
18
|
//
|
|
17
19
|
//
|
|
18
|
-
const RuntimeOverlayAssigned = (
|
|
19
|
-
|
|
20
|
+
const RuntimeOverlayAssigned = ({
|
|
21
|
+
__intl: intl
|
|
22
|
+
}) => {
|
|
20
23
|
const [timeout] = reactUse.useTimeout(ASSIGNED_NORMAL_TIMEOUT);
|
|
21
24
|
//
|
|
22
25
|
//
|
|
@@ -46,11 +49,12 @@ const RuntimeOverlayAssigned = () => {
|
|
|
46
49
|
whiteSpace: 'pre-wrap',
|
|
47
50
|
textAlign: 'center'
|
|
48
51
|
}
|
|
49
|
-
}, timeout() ? intl
|
|
52
|
+
}, timeout() ? intl.formatMessage({
|
|
50
53
|
id: 'runbox.runtime.overlay.assigned.description_timeout'
|
|
51
|
-
}) : intl
|
|
54
|
+
}) : intl.formatMessage({
|
|
52
55
|
id: 'runbox.runtime.overlay.assigned.description'
|
|
53
56
|
})));
|
|
54
57
|
};
|
|
58
|
+
var RuntimeOverlayAssigned$1 = new intl.IntlComponentBuilder(RuntimeOverlayAssigned).add('en', en.default).add('ko', ko.default).addAsync('th', Promise.resolve().then(function () { return require('../locales/th.json.js'); })).addAsync('ja', Promise.resolve().then(function () { return require('../locales/ja.json.js'); })).build();
|
|
55
59
|
|
|
56
|
-
exports.default = RuntimeOverlayAssigned;
|
|
60
|
+
exports.default = RuntimeOverlayAssigned$1;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { WithIntlComponentBuilderProps } from '@elice/intl';
|
|
2
3
|
import type { EliceRunboxViewerOverlayQueuedComponentProps as QueuedComponentProps } from '@elice/runbox-client';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
4
|
+
declare const _default: React.ForwardRefExoticComponent<import("@elice/intl").IntlComponentExtraProps & Omit<WithIntlComponentBuilderProps<QueuedComponentProps>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & React.RefAttributes<any>>;
|
|
5
|
+
export default _default;
|
|
@@ -9,15 +9,17 @@ var material = require('@mui/material');
|
|
|
9
9
|
require('../contexts/MaterialRunboxApiContext.js');
|
|
10
10
|
require('../contexts/MaterialRunboxCommandContext.js');
|
|
11
11
|
var MaterialRunboxContext = require('../contexts/MaterialRunboxContext.js');
|
|
12
|
+
var en = require('../locales/en.json.js');
|
|
13
|
+
var ko = require('../locales/ko.json.js');
|
|
12
14
|
var queue = require('../../../assets/queue.gif.js');
|
|
13
15
|
|
|
14
16
|
//
|
|
15
17
|
//
|
|
16
18
|
//
|
|
17
19
|
const RuntimeOverlayQueued = ({
|
|
20
|
+
__intl: intl,
|
|
18
21
|
numWaiters
|
|
19
22
|
}) => {
|
|
20
|
-
const intl$1 = intl.useRawEliceIntl();
|
|
21
23
|
const {
|
|
22
24
|
showMessenger
|
|
23
25
|
} = MaterialRunboxContext.useMaterialRunboxContext();
|
|
@@ -49,19 +51,20 @@ const RuntimeOverlayQueued = ({
|
|
|
49
51
|
whiteSpace: 'pre-wrap',
|
|
50
52
|
textAlign: 'center'
|
|
51
53
|
}
|
|
52
|
-
}, numWaiters > 0 ? intl
|
|
54
|
+
}, numWaiters > 0 ? intl.formatMessage({
|
|
53
55
|
id: 'runbox.runtime.overlay.queued.description'
|
|
54
56
|
}, {
|
|
55
57
|
waiters: numWaiters
|
|
56
|
-
}) : intl
|
|
58
|
+
}) : intl.formatMessage({
|
|
57
59
|
id: 'runbox.runtime.overlay.queued.description_zero'
|
|
58
60
|
})), typeof showMessenger === 'function' ? React.createElement(material.Button, {
|
|
59
61
|
variant: "outlined",
|
|
60
62
|
startIcon: React.createElement(iconsMaterial.QuestionAnswer, null),
|
|
61
63
|
onClick: showMessenger
|
|
62
|
-
}, intl
|
|
64
|
+
}, intl.formatMessage({
|
|
63
65
|
id: 'runbox.common.support'
|
|
64
66
|
})) : null);
|
|
65
67
|
};
|
|
68
|
+
var RuntimeOverlayQueued$1 = new intl.IntlComponentBuilder(RuntimeOverlayQueued).add('en', en.default).add('ko', ko.default).addAsync('th', Promise.resolve().then(function () { return require('../locales/th.json.js'); })).addAsync('ja', Promise.resolve().then(function () { return require('../locales/ja.json.js'); })).build();
|
|
66
69
|
|
|
67
|
-
exports.default = RuntimeOverlayQueued;
|
|
70
|
+
exports.default = RuntimeOverlayQueued$1;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { WithIntlComponentBuilderProps } from '@elice/intl';
|
|
2
3
|
import type { EliceRunboxViewerOverlayTerminatedComponentProps as TerminatedComponentProps } from '@elice/runbox-client';
|
|
3
4
|
interface RuntimeOverlayTerminatedProps extends TerminatedComponentProps {
|
|
4
5
|
startRuntime: () => Promise<void>;
|
|
5
6
|
}
|
|
6
|
-
declare const
|
|
7
|
-
export default
|
|
7
|
+
declare const _default: React.ForwardRefExoticComponent<import("@elice/intl").IntlComponentExtraProps & Omit<WithIntlComponentBuilderProps<RuntimeOverlayTerminatedProps>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & React.RefAttributes<any>>;
|
|
8
|
+
export default _default;
|
|
@@ -10,16 +10,18 @@ var material = require('@mui/material');
|
|
|
10
10
|
require('../contexts/MaterialRunboxApiContext.js');
|
|
11
11
|
require('../contexts/MaterialRunboxCommandContext.js');
|
|
12
12
|
var MaterialRunboxContext = require('../contexts/MaterialRunboxContext.js');
|
|
13
|
+
var en = require('../locales/en.json.js');
|
|
14
|
+
var ko = require('../locales/ko.json.js');
|
|
13
15
|
var terminated = require('../../../assets/terminated.png.js');
|
|
14
16
|
|
|
15
17
|
//
|
|
16
18
|
//
|
|
17
19
|
//
|
|
18
20
|
const RuntimeOverlayTerminated = ({
|
|
21
|
+
__intl: intl,
|
|
19
22
|
reason,
|
|
20
23
|
startRuntime
|
|
21
24
|
}) => {
|
|
22
|
-
const intl$1 = intl.useRawEliceIntl();
|
|
23
25
|
const {
|
|
24
26
|
showMessenger
|
|
25
27
|
} = MaterialRunboxContext.useMaterialRunboxContext();
|
|
@@ -42,14 +44,14 @@ const RuntimeOverlayTerminated = ({
|
|
|
42
44
|
case 'stopped_by_user':
|
|
43
45
|
case 'auto_shutdown':
|
|
44
46
|
return {
|
|
45
|
-
description: intl
|
|
47
|
+
description: intl.formatMessage({
|
|
46
48
|
id: 'runbox.runtime.overlay.terminated.description.general'
|
|
47
49
|
}),
|
|
48
50
|
unexpected: false
|
|
49
51
|
};
|
|
50
52
|
case 'quota_exceeded':
|
|
51
53
|
return {
|
|
52
|
-
description: intl
|
|
54
|
+
description: intl.formatMessage({
|
|
53
55
|
id: 'runbox.runtime.overlay.terminated.description.quota_exceeded'
|
|
54
56
|
}),
|
|
55
57
|
unexpected: false
|
|
@@ -57,7 +59,7 @@ const RuntimeOverlayTerminated = ({
|
|
|
57
59
|
// quota exceeded
|
|
58
60
|
case 'quota_per_session_exceeded':
|
|
59
61
|
return {
|
|
60
|
-
description: intl
|
|
62
|
+
description: intl.formatMessage({
|
|
61
63
|
id: 'runbox.runtime.overlay.terminated.description.quota_per_session_exceeded'
|
|
62
64
|
}),
|
|
63
65
|
unexpected: false
|
|
@@ -65,14 +67,14 @@ const RuntimeOverlayTerminated = ({
|
|
|
65
67
|
// disk full
|
|
66
68
|
case 'os_disk_is_full':
|
|
67
69
|
return {
|
|
68
|
-
description: intl
|
|
70
|
+
description: intl.formatMessage({
|
|
69
71
|
id: 'runbox.runtime.overlay.terminated.description.os_disk_is_full'
|
|
70
72
|
}),
|
|
71
73
|
unexpected: true
|
|
72
74
|
};
|
|
73
75
|
default:
|
|
74
76
|
return {
|
|
75
|
-
description: intl
|
|
77
|
+
description: intl.formatMessage({
|
|
76
78
|
id: 'runbox.runtime.overlay.terminated.description.default'
|
|
77
79
|
}),
|
|
78
80
|
unexpected: true
|
|
@@ -80,7 +82,7 @@ const RuntimeOverlayTerminated = ({
|
|
|
80
82
|
}
|
|
81
83
|
},
|
|
82
84
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
83
|
-
[reason, intl
|
|
85
|
+
[reason, intl]);
|
|
84
86
|
//
|
|
85
87
|
//
|
|
86
88
|
//
|
|
@@ -108,13 +110,13 @@ const RuntimeOverlayTerminated = ({
|
|
|
108
110
|
}, React.createElement(material.Typography, {
|
|
109
111
|
variant: "h6",
|
|
110
112
|
textAlign: "center"
|
|
111
|
-
}, intl
|
|
113
|
+
}, intl.formatMessage({
|
|
112
114
|
id: 'runbox.runtime.overlay.terminated.title'
|
|
113
115
|
})), React.createElement(material.Typography, {
|
|
114
116
|
variant: "body2",
|
|
115
117
|
textAlign: "center",
|
|
116
118
|
whiteSpace: "pre-line"
|
|
117
|
-
}, runtimeTerminatedAction.unexpected ? runtimeTerminatedAction.description.concat('\n', intl
|
|
119
|
+
}, runtimeTerminatedAction.unexpected ? runtimeTerminatedAction.description.concat('\n', intl.formatMessage({
|
|
118
120
|
id: 'runbox.runtime.overlay.terminated.description.unexpected'
|
|
119
121
|
})) : runtimeTerminatedAction.description)), React.createElement(material.Stack, {
|
|
120
122
|
gap: "0.5rem",
|
|
@@ -127,14 +129,15 @@ const RuntimeOverlayTerminated = ({
|
|
|
127
129
|
loading: isRestarting,
|
|
128
130
|
startIcon: React.createElement(iconsMaterial.PlayArrow, null),
|
|
129
131
|
onClick: handleRestart
|
|
130
|
-
}, intl
|
|
132
|
+
}, intl.formatMessage({
|
|
131
133
|
id: 'runbox.runtime.overlay.terminated.restart'
|
|
132
134
|
})), runtimeTerminatedAction.unexpected && typeof showMessenger === 'function' ? React.createElement(material.Button, {
|
|
133
135
|
variant: "text",
|
|
134
136
|
onClick: showMessenger
|
|
135
|
-
}, intl
|
|
137
|
+
}, intl.formatMessage({
|
|
136
138
|
id: 'runbox.common.support'
|
|
137
139
|
})) : null)));
|
|
138
140
|
};
|
|
141
|
+
var RuntimeOverlayTerminated$1 = new intl.IntlComponentBuilder(RuntimeOverlayTerminated).add('en', en.default).add('ko', ko.default).addAsync('th', Promise.resolve().then(function () { return require('../locales/th.json.js'); })).addAsync('ja', Promise.resolve().then(function () { return require('../locales/ja.json.js'); })).build();
|
|
139
142
|
|
|
140
|
-
exports.default = RuntimeOverlayTerminated;
|
|
143
|
+
exports.default = RuntimeOverlayTerminated$1;
|
|
@@ -40,7 +40,6 @@ const MaterialRunboxContent = ({
|
|
|
40
40
|
}) => {
|
|
41
41
|
const intl = useRawEliceIntl();
|
|
42
42
|
const {
|
|
43
|
-
locale,
|
|
44
43
|
showMessenger
|
|
45
44
|
} = useMaterialRunboxContext();
|
|
46
45
|
const materialRunboxApi = useMaterialRunboxApiContext();
|
|
@@ -149,7 +148,6 @@ const MaterialRunboxContent = ({
|
|
|
149
148
|
}, {
|
|
150
149
|
signal
|
|
151
150
|
}),
|
|
152
|
-
locale: locale,
|
|
153
151
|
onRunboxRefetchRequest: refetch
|
|
154
152
|
}, React.createElement(StyledRunboxContainer, null, React.createElement(MaterialRunboxHeader, Object.assign({}, props)), React.createElement(MaterialRunboxBody, Object.assign({}, props)), React.createElement(MaterialRunboxFooter, Object.assign({}, props)))));
|
|
155
153
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { WithIntlComponentBuilderProps } from '@elice/intl';
|
|
2
3
|
import type { EliceRunboxViewerOverlayAssignedComponentProps as AssignedComponentProps } from '@elice/runbox-client';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
4
|
+
declare const _default: React.ForwardRefExoticComponent<import("@elice/intl").IntlComponentExtraProps & Omit<WithIntlComponentBuilderProps<AssignedComponentProps>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & React.RefAttributes<any>>;
|
|
5
|
+
export default _default;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useTimeout } from 'react-use';
|
|
3
|
-
import {
|
|
3
|
+
import { IntlComponentBuilder } from '@elice/intl';
|
|
4
4
|
import { Stack, Box, Typography } from '@mui/material';
|
|
5
|
+
import messageEn from '../locales/en.json.js';
|
|
6
|
+
import messageKo from '../locales/ko.json.js';
|
|
5
7
|
import queueAnimationImage from '../../../assets/queue.gif.js';
|
|
6
8
|
|
|
7
9
|
//
|
|
@@ -11,8 +13,9 @@ const ASSIGNED_NORMAL_TIMEOUT = 30 * 1e3; // 30 sec
|
|
|
11
13
|
//
|
|
12
14
|
//
|
|
13
15
|
//
|
|
14
|
-
const RuntimeOverlayAssigned = (
|
|
15
|
-
|
|
16
|
+
const RuntimeOverlayAssigned = ({
|
|
17
|
+
__intl: intl
|
|
18
|
+
}) => {
|
|
16
19
|
const [timeout] = useTimeout(ASSIGNED_NORMAL_TIMEOUT);
|
|
17
20
|
//
|
|
18
21
|
//
|
|
@@ -48,5 +51,6 @@ const RuntimeOverlayAssigned = () => {
|
|
|
48
51
|
id: 'runbox.runtime.overlay.assigned.description'
|
|
49
52
|
})));
|
|
50
53
|
};
|
|
54
|
+
var RuntimeOverlayAssigned$1 = new IntlComponentBuilder(RuntimeOverlayAssigned).add('en', messageEn).add('ko', messageKo).addAsync('th', import('../locales/th.json.js')).addAsync('ja', import('../locales/ja.json.js')).build();
|
|
51
55
|
|
|
52
|
-
export { RuntimeOverlayAssigned as default };
|
|
56
|
+
export { RuntimeOverlayAssigned$1 as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { WithIntlComponentBuilderProps } from '@elice/intl';
|
|
2
3
|
import type { EliceRunboxViewerOverlayQueuedComponentProps as QueuedComponentProps } from '@elice/runbox-client';
|
|
3
|
-
declare const
|
|
4
|
-
export default
|
|
4
|
+
declare const _default: React.ForwardRefExoticComponent<import("@elice/intl").IntlComponentExtraProps & Omit<WithIntlComponentBuilderProps<QueuedComponentProps>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & React.RefAttributes<any>>;
|
|
5
|
+
export default _default;
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IntlComponentBuilder } from '@elice/intl';
|
|
3
3
|
import { QuestionAnswer } from '@mui/icons-material';
|
|
4
4
|
import { Stack, Box, Typography, Button } from '@mui/material';
|
|
5
5
|
import '../contexts/MaterialRunboxApiContext.js';
|
|
6
6
|
import '../contexts/MaterialRunboxCommandContext.js';
|
|
7
7
|
import { useMaterialRunboxContext } from '../contexts/MaterialRunboxContext.js';
|
|
8
|
+
import messageEn from '../locales/en.json.js';
|
|
9
|
+
import messageKo from '../locales/ko.json.js';
|
|
8
10
|
import queueAnimationImage from '../../../assets/queue.gif.js';
|
|
9
11
|
|
|
10
12
|
//
|
|
11
13
|
//
|
|
12
14
|
//
|
|
13
15
|
const RuntimeOverlayQueued = ({
|
|
16
|
+
__intl: intl,
|
|
14
17
|
numWaiters
|
|
15
18
|
}) => {
|
|
16
|
-
const intl = useRawEliceIntl();
|
|
17
19
|
const {
|
|
18
20
|
showMessenger
|
|
19
21
|
} = useMaterialRunboxContext();
|
|
@@ -59,5 +61,6 @@ const RuntimeOverlayQueued = ({
|
|
|
59
61
|
id: 'runbox.common.support'
|
|
60
62
|
})) : null);
|
|
61
63
|
};
|
|
64
|
+
var RuntimeOverlayQueued$1 = new IntlComponentBuilder(RuntimeOverlayQueued).add('en', messageEn).add('ko', messageKo).addAsync('th', import('../locales/th.json.js')).addAsync('ja', import('../locales/ja.json.js')).build();
|
|
62
65
|
|
|
63
|
-
export { RuntimeOverlayQueued as default };
|
|
66
|
+
export { RuntimeOverlayQueued$1 as default };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { WithIntlComponentBuilderProps } from '@elice/intl';
|
|
2
3
|
import type { EliceRunboxViewerOverlayTerminatedComponentProps as TerminatedComponentProps } from '@elice/runbox-client';
|
|
3
4
|
interface RuntimeOverlayTerminatedProps extends TerminatedComponentProps {
|
|
4
5
|
startRuntime: () => Promise<void>;
|
|
5
6
|
}
|
|
6
|
-
declare const
|
|
7
|
-
export default
|
|
7
|
+
declare const _default: React.ForwardRefExoticComponent<import("@elice/intl").IntlComponentExtraProps & Omit<WithIntlComponentBuilderProps<RuntimeOverlayTerminatedProps>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & React.RefAttributes<any>>;
|
|
8
|
+
export default _default;
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IntlComponentBuilder } from '@elice/intl';
|
|
3
3
|
import { PlayArrow } from '@mui/icons-material';
|
|
4
4
|
import { LoadingButton } from '@mui/lab';
|
|
5
5
|
import { Box, Stack, Typography, Button } from '@mui/material';
|
|
6
6
|
import '../contexts/MaterialRunboxApiContext.js';
|
|
7
7
|
import '../contexts/MaterialRunboxCommandContext.js';
|
|
8
8
|
import { useMaterialRunboxContext } from '../contexts/MaterialRunboxContext.js';
|
|
9
|
+
import messageEn from '../locales/en.json.js';
|
|
10
|
+
import messageKo from '../locales/ko.json.js';
|
|
9
11
|
import runboxTerminatedImage from '../../../assets/terminated.png.js';
|
|
10
12
|
|
|
11
13
|
//
|
|
12
14
|
//
|
|
13
15
|
//
|
|
14
16
|
const RuntimeOverlayTerminated = ({
|
|
17
|
+
__intl: intl,
|
|
15
18
|
reason,
|
|
16
19
|
startRuntime
|
|
17
20
|
}) => {
|
|
18
|
-
const intl = useRawEliceIntl();
|
|
19
21
|
const {
|
|
20
22
|
showMessenger
|
|
21
23
|
} = useMaterialRunboxContext();
|
|
@@ -132,5 +134,6 @@ const RuntimeOverlayTerminated = ({
|
|
|
132
134
|
id: 'runbox.common.support'
|
|
133
135
|
})) : null)));
|
|
134
136
|
};
|
|
137
|
+
var RuntimeOverlayTerminated$1 = new IntlComponentBuilder(RuntimeOverlayTerminated).add('en', messageEn).add('ko', messageKo).addAsync('th', import('../locales/th.json.js')).addAsync('ja', import('../locales/ja.json.js')).build();
|
|
135
138
|
|
|
136
|
-
export { RuntimeOverlayTerminated as default };
|
|
139
|
+
export { RuntimeOverlayTerminated$1 as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-runbox",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.240711.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",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@elice/intl": "0.240425.0-rc.2",
|
|
55
|
-
"@elice/material-shared-types": "1.
|
|
56
|
-
"@elice/material-shared-utils": "1.
|
|
55
|
+
"@elice/material-shared-types": "1.240711.1",
|
|
56
|
+
"@elice/material-shared-utils": "1.240711.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",
|
|
60
60
|
"@elice/openapi-client-material-runbox": "1.240328.0",
|
|
61
|
-
"@elice/runbox-client": "1.
|
|
61
|
+
"@elice/runbox-client": "1.240711.0",
|
|
62
62
|
"@elice/types": "^1.240619.0",
|
|
63
63
|
"@emotion/react": "^11.10.5",
|
|
64
64
|
"@emotion/styled": "^11.10.5",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"react": "^17.0.2",
|
|
75
75
|
"react-use": "^17.2.4"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "385d0f4773560bcdd9d8e4bcbca6cec1dedb0c64"
|
|
78
78
|
}
|