@elice/material-external 1.260910.0 → 1.260915.0-edsmigration.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-external/MaterialExternal.js +3 -4
- package/cjs/components/material-external/MaterialExternalAdminContent.js +3 -3
- package/cjs/components/material-external/MaterialExternalContent.js +3 -3
- package/cjs/components/material-external/MaterialExternalNewWindow.js +37 -23
- package/cjs/components/material-external/MaterialExternalNotSupported.js +20 -14
- package/cjs/components/material-external/MaterialExternalRedirect.js +11 -7
- package/es/components/material-external/MaterialExternal.js +1 -2
- package/es/components/material-external/MaterialExternalAdminContent.js +1 -1
- package/es/components/material-external/MaterialExternalContent.js +1 -1
- package/es/components/material-external/MaterialExternalNewWindow.js +28 -14
- package/es/components/material-external/MaterialExternalNotSupported.js +17 -11
- package/es/components/material-external/MaterialExternalRedirect.js +9 -5
- package/package.json +10 -18
|
@@ -4,9 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var _styled = require('@emotion/styled/base');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
var edsMaterial = require('@elice/eds-material');
|
|
7
8
|
var intl = require('@elice/intl');
|
|
8
|
-
var muiSystem = require('@elice/mui-system');
|
|
9
|
-
var material = require('@mui/material');
|
|
10
9
|
var classnames = require('classnames');
|
|
11
10
|
var MaterialExternalAdminContent = require('./MaterialExternalAdminContent.js');
|
|
12
11
|
var MaterialExternalContent = require('./MaterialExternalContent.js');
|
|
@@ -32,7 +31,7 @@ var ExternalContainer = /*#__PURE__*/_styled__default.default("div", {
|
|
|
32
31
|
styles: "display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;background-color:#fff",
|
|
33
32
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
34
33
|
});
|
|
35
|
-
var eliceTheme =
|
|
34
|
+
var eliceTheme = edsMaterial.createEliceTheme({
|
|
36
35
|
paletteMode: 'light',
|
|
37
36
|
paletteName: 'purple'
|
|
38
37
|
});
|
|
@@ -53,7 +52,7 @@ var MaterialExternal = function MaterialExternal(_ref) {
|
|
|
53
52
|
var prefixCls = 'em-material-external';
|
|
54
53
|
return jsxRuntime.jsx(intl.RawEliceIntlProvider, {
|
|
55
54
|
value: __intl,
|
|
56
|
-
children: jsxRuntime.jsx(
|
|
55
|
+
children: jsxRuntime.jsx(edsMaterial.ThemeProvider, {
|
|
57
56
|
theme: eliceTheme,
|
|
58
57
|
children: jsxRuntime.jsx(ExternalContainer, {
|
|
59
58
|
className: classnames__default.default(prefixCls, className),
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var apiClient = require('@elice/api-client');
|
|
7
|
+
var edsMaterial = require('@elice/eds-material');
|
|
7
8
|
var intl = require('@elice/intl');
|
|
8
|
-
var material = require('@mui/material');
|
|
9
9
|
var reactQuery = require('@tanstack/react-query');
|
|
10
10
|
var MaterialExternalIframe = require('./MaterialExternalIframe.js');
|
|
11
11
|
|
|
@@ -39,10 +39,10 @@ var MaterialExternalAdminContent = function MaterialExternalAdminContent(_ref) {
|
|
|
39
39
|
//
|
|
40
40
|
//
|
|
41
41
|
if (isLoading) {
|
|
42
|
-
return jsxRuntime.jsx(
|
|
42
|
+
return jsxRuntime.jsx(edsMaterial.CircularProgress, {});
|
|
43
43
|
}
|
|
44
44
|
if (isError || !externalUrl) {
|
|
45
|
-
return jsxRuntime.jsx(
|
|
45
|
+
return jsxRuntime.jsx(edsMaterial.Typography, {
|
|
46
46
|
children: intl$1.formatMessage({
|
|
47
47
|
id: 'external.status.rejected'
|
|
48
48
|
})
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var apiClient = require('@elice/api-client');
|
|
8
|
+
var edsMaterial = require('@elice/eds-material');
|
|
8
9
|
var intl = require('@elice/intl');
|
|
9
10
|
var materialSharedUtils = require('@elice/material-shared-utils');
|
|
10
11
|
var types = require('@elice/types');
|
|
11
|
-
var material = require('@mui/material');
|
|
12
12
|
var MaterialExternalIframe = require('./MaterialExternalIframe.js');
|
|
13
13
|
var MaterialExternalNewWindow = require('./MaterialExternalNewWindow.js');
|
|
14
14
|
var MaterialExternalNotSupported = require('./MaterialExternalNotSupported.js');
|
|
@@ -44,14 +44,14 @@ var MaterialExternalContent = function MaterialExternalContent(_ref) {
|
|
|
44
44
|
materialExternal = _useMaterialFetch.materialExternal,
|
|
45
45
|
externalGetStatus = _useMaterialFetch.status;
|
|
46
46
|
if (externalGetStatus === 'rejected') {
|
|
47
|
-
return jsxRuntime.jsx(
|
|
47
|
+
return jsxRuntime.jsx(edsMaterial.Typography, {
|
|
48
48
|
children: intl$1.formatMessage({
|
|
49
49
|
id: 'external.status.rejected'
|
|
50
50
|
})
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
if (externalGetStatus === 'pending' || !materialExternal) {
|
|
54
|
-
return jsxRuntime.jsx(
|
|
54
|
+
return jsxRuntime.jsx(edsMaterial.CircularProgress, {});
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
var React = require('react');
|
|
8
|
+
var edsMaterial = require('@elice/eds-material');
|
|
8
9
|
var intl = require('@elice/intl');
|
|
9
|
-
var material = require('@mui/material');
|
|
10
10
|
var calendar = require('../../assets/calendar.png.js');
|
|
11
11
|
|
|
12
12
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -38,13 +38,17 @@ var MaterialExternalNewWindow = function MaterialExternalNewWindow(_ref) {
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
*/
|
|
41
|
-
var newTabReOpenContentPage = jsxRuntime.jsxs(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
var newTabReOpenContentPage = jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
42
|
+
sx: {
|
|
43
|
+
gap: '2rem',
|
|
44
|
+
alignItems: 'center'
|
|
45
|
+
},
|
|
46
|
+
children: [jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
47
|
+
sx: {
|
|
48
|
+
gap: '1rem',
|
|
49
|
+
alignItems: 'center'
|
|
50
|
+
},
|
|
51
|
+
children: [jsxRuntime.jsx(edsMaterial.Box, {
|
|
48
52
|
component: "img",
|
|
49
53
|
src: calendar.default,
|
|
50
54
|
alt: "newWindow",
|
|
@@ -52,26 +56,32 @@ var MaterialExternalNewWindow = function MaterialExternalNewWindow(_ref) {
|
|
|
52
56
|
width: '8rem',
|
|
53
57
|
height: '6rem'
|
|
54
58
|
}
|
|
55
|
-
}), jsxRuntime.jsxs(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
}), jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
60
|
+
sx: {
|
|
61
|
+
gap: '0.25rem',
|
|
62
|
+
alignItems: 'center'
|
|
63
|
+
},
|
|
64
|
+
children: [jsxRuntime.jsx(edsMaterial.Typography, {
|
|
59
65
|
variant: "h6",
|
|
60
|
-
|
|
61
|
-
|
|
66
|
+
sx: {
|
|
67
|
+
color: 'text.primary',
|
|
68
|
+
textAlign: 'center'
|
|
69
|
+
},
|
|
62
70
|
children: intl$1.formatMessage({
|
|
63
71
|
id: 'external.newWindow.title'
|
|
64
72
|
})
|
|
65
|
-
}), jsxRuntime.jsx(
|
|
73
|
+
}), jsxRuntime.jsx(edsMaterial.Typography, {
|
|
66
74
|
variant: "body2",
|
|
67
|
-
|
|
68
|
-
|
|
75
|
+
sx: {
|
|
76
|
+
color: 'text.secondary',
|
|
77
|
+
textAlign: 'center'
|
|
78
|
+
},
|
|
69
79
|
children: intl$1.formatMessage({
|
|
70
80
|
id: 'external.newWindow.description'
|
|
71
81
|
})
|
|
72
82
|
})]
|
|
73
83
|
})]
|
|
74
|
-
}), jsxRuntime.jsx(
|
|
84
|
+
}), jsxRuntime.jsx(edsMaterial.Button, {
|
|
75
85
|
size: "small",
|
|
76
86
|
onClick: function onClick() {
|
|
77
87
|
return window.open(materialExternal === null || materialExternal === void 0 ? void 0 : materialExternal.externalUrl);
|
|
@@ -84,12 +94,16 @@ var MaterialExternalNewWindow = function MaterialExternalNewWindow(_ref) {
|
|
|
84
94
|
/**
|
|
85
95
|
* Open new tab external page after 5 seconds.
|
|
86
96
|
*/
|
|
87
|
-
var waitExternalPage = jsxRuntime.jsxs(
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
97
|
+
var waitExternalPage = jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
98
|
+
sx: {
|
|
99
|
+
gap: '0.5rem',
|
|
100
|
+
alignItems: 'center'
|
|
101
|
+
},
|
|
102
|
+
children: [jsxRuntime.jsx(edsMaterial.CircularProgress, {}), jsxRuntime.jsx(edsMaterial.Typography, {
|
|
91
103
|
variant: "body2",
|
|
92
|
-
|
|
104
|
+
sx: {
|
|
105
|
+
color: 'text.secondary'
|
|
106
|
+
},
|
|
93
107
|
children: intl$1.formatMessage({
|
|
94
108
|
id: 'external.loader.newWindow.description'
|
|
95
109
|
})
|
|
@@ -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
|
var emptyDefault = require('../../assets/empty-default.png.js');
|
|
9
9
|
|
|
10
10
|
//
|
|
@@ -17,23 +17,29 @@ var MaterialExternalNotSupported = function MaterialExternalNotSupported() {
|
|
|
17
17
|
//
|
|
18
18
|
return (
|
|
19
19
|
// ref: https://elicer.atlassian.net/browse/LXP-6090
|
|
20
|
-
jsxRuntime.jsxs(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
21
|
+
sx: {
|
|
22
|
+
justifyContent: 'center',
|
|
23
|
+
alignItems: 'center',
|
|
24
|
+
padding: '2rem',
|
|
25
|
+
bgcolor: '#fff',
|
|
26
|
+
gap: '2rem',
|
|
27
|
+
width: '100%',
|
|
28
|
+
height: '100%'
|
|
29
|
+
},
|
|
30
|
+
children: [jsxRuntime.jsx(edsMaterial.Box, {
|
|
29
31
|
component: "img",
|
|
30
32
|
src: emptyDefault.default,
|
|
31
33
|
alt: "empty",
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
sx: {
|
|
35
|
+
maxWidth: '7.5rem'
|
|
36
|
+
}
|
|
37
|
+
}), jsxRuntime.jsx(edsMaterial.Typography, {
|
|
34
38
|
variant: "h6",
|
|
35
|
-
|
|
36
|
-
|
|
39
|
+
sx: {
|
|
40
|
+
color: 'text.primary',
|
|
41
|
+
textAlign: 'center'
|
|
42
|
+
},
|
|
37
43
|
children: intl$1.formatMessage({
|
|
38
44
|
id: 'external.notSupported'
|
|
39
45
|
})
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var React = require('react');
|
|
7
|
+
var edsMaterial = require('@elice/eds-material');
|
|
7
8
|
var intl = require('@elice/intl');
|
|
8
|
-
var material = require('@mui/material');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
11
|
|
|
@@ -28,13 +28,17 @@ var MaterialExternalRedirect = function MaterialExternalRedirect(_ref) {
|
|
|
28
28
|
window.clearTimeout(timeoutId);
|
|
29
29
|
};
|
|
30
30
|
}, [materialExternal]);
|
|
31
|
-
return jsxRuntime.jsxs(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
return jsxRuntime.jsxs(edsMaterial.Stack, {
|
|
32
|
+
sx: {
|
|
33
|
+
gap: '0.5rem',
|
|
34
|
+
alignItems: 'center'
|
|
35
|
+
},
|
|
36
|
+
children: [jsxRuntime.jsx(edsMaterial.CircularProgress, {}), jsxRuntime.jsx(edsMaterial.Typography, {
|
|
35
37
|
variant: "body2",
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
sx: {
|
|
39
|
+
color: 'text.secondary',
|
|
40
|
+
textAlign: 'center'
|
|
41
|
+
},
|
|
38
42
|
children: intl$1.formatMessage({
|
|
39
43
|
id: 'external.loader.redirect.description'
|
|
40
44
|
})
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import _styled from '@emotion/styled/base';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { createEliceTheme, ThemeProvider } from '@elice/eds-material';
|
|
3
4
|
import { IntlComponentBuilder, RawEliceIntlProvider } from '@elice/intl';
|
|
4
|
-
import { createEliceTheme } from '@elice/mui-system';
|
|
5
|
-
import { ThemeProvider } from '@mui/material';
|
|
6
5
|
import classnames from 'classnames';
|
|
7
6
|
import MaterialExternalAdminContent from './MaterialExternalAdminContent.js';
|
|
8
7
|
import MaterialExternalContent from './MaterialExternalContent.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { getOrgMaterialExternalTutorExternalUrlGet } from '@elice/api-client';
|
|
3
|
+
import { CircularProgress, Typography } from '@elice/eds-material';
|
|
3
4
|
import { useRawEliceIntl } from '@elice/intl';
|
|
4
|
-
import { CircularProgress, Typography } from '@mui/material';
|
|
5
5
|
import { useQuery } from '@tanstack/react-query';
|
|
6
6
|
import MaterialExternalIframe from './MaterialExternalIframe.js';
|
|
7
7
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { getOrgMaterialExternalGet, config } from '@elice/api-client';
|
|
4
|
+
import { Typography, CircularProgress } from '@elice/eds-material';
|
|
4
5
|
import { useRawEliceIntl } from '@elice/intl';
|
|
5
6
|
import { useMaterialFetch } from '@elice/material-shared-utils';
|
|
6
7
|
import { enums } from '@elice/types';
|
|
7
|
-
import { Typography, CircularProgress } from '@mui/material';
|
|
8
8
|
import MaterialExternalIframe from './MaterialExternalIframe.js';
|
|
9
9
|
import MaterialExternalNewWindow from './MaterialExternalNewWindow.js';
|
|
10
10
|
import MaterialExternalNotSupported from './MaterialExternalNotSupported.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { slicedToArray as _slicedToArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import React, { useState } from 'react';
|
|
4
|
+
import { Stack, Box, Typography, Button, CircularProgress } from '@elice/eds-material';
|
|
4
5
|
import { useRawEliceIntl } from '@elice/intl';
|
|
5
|
-
import { Stack, Box, Typography, Button, CircularProgress } from '@mui/material';
|
|
6
6
|
import img from '../../assets/calendar.png.js';
|
|
7
7
|
|
|
8
8
|
//
|
|
@@ -31,11 +31,15 @@ var MaterialExternalNewWindow = function MaterialExternalNewWindow(_ref) {
|
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
var newTabReOpenContentPage = jsxs(Stack, {
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
sx: {
|
|
35
|
+
gap: '2rem',
|
|
36
|
+
alignItems: 'center'
|
|
37
|
+
},
|
|
36
38
|
children: [jsxs(Stack, {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
+
sx: {
|
|
40
|
+
gap: '1rem',
|
|
41
|
+
alignItems: 'center'
|
|
42
|
+
},
|
|
39
43
|
children: [jsx(Box, {
|
|
40
44
|
component: "img",
|
|
41
45
|
src: img,
|
|
@@ -45,19 +49,25 @@ var MaterialExternalNewWindow = function MaterialExternalNewWindow(_ref) {
|
|
|
45
49
|
height: '6rem'
|
|
46
50
|
}
|
|
47
51
|
}), jsxs(Stack, {
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
sx: {
|
|
53
|
+
gap: '0.25rem',
|
|
54
|
+
alignItems: 'center'
|
|
55
|
+
},
|
|
50
56
|
children: [jsx(Typography, {
|
|
51
57
|
variant: "h6",
|
|
52
|
-
|
|
53
|
-
|
|
58
|
+
sx: {
|
|
59
|
+
color: 'text.primary',
|
|
60
|
+
textAlign: 'center'
|
|
61
|
+
},
|
|
54
62
|
children: intl.formatMessage({
|
|
55
63
|
id: 'external.newWindow.title'
|
|
56
64
|
})
|
|
57
65
|
}), jsx(Typography, {
|
|
58
66
|
variant: "body2",
|
|
59
|
-
|
|
60
|
-
|
|
67
|
+
sx: {
|
|
68
|
+
color: 'text.secondary',
|
|
69
|
+
textAlign: 'center'
|
|
70
|
+
},
|
|
61
71
|
children: intl.formatMessage({
|
|
62
72
|
id: 'external.newWindow.description'
|
|
63
73
|
})
|
|
@@ -77,11 +87,15 @@ var MaterialExternalNewWindow = function MaterialExternalNewWindow(_ref) {
|
|
|
77
87
|
* Open new tab external page after 5 seconds.
|
|
78
88
|
*/
|
|
79
89
|
var waitExternalPage = jsxs(Stack, {
|
|
80
|
-
|
|
81
|
-
|
|
90
|
+
sx: {
|
|
91
|
+
gap: '0.5rem',
|
|
92
|
+
alignItems: 'center'
|
|
93
|
+
},
|
|
82
94
|
children: [jsx(CircularProgress, {}), jsx(Typography, {
|
|
83
95
|
variant: "body2",
|
|
84
|
-
|
|
96
|
+
sx: {
|
|
97
|
+
color: 'text.secondary'
|
|
98
|
+
},
|
|
85
99
|
children: intl.formatMessage({
|
|
86
100
|
id: 'external.loader.newWindow.description'
|
|
87
101
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Stack, Box, Typography } from '@elice/eds-material';
|
|
2
3
|
import { useRawEliceIntl } from '@elice/intl';
|
|
3
|
-
import { Stack, Box, Typography } from '@mui/material';
|
|
4
4
|
import img from '../../assets/empty-default.png.js';
|
|
5
5
|
|
|
6
6
|
//
|
|
@@ -14,22 +14,28 @@ var MaterialExternalNotSupported = function MaterialExternalNotSupported() {
|
|
|
14
14
|
return (
|
|
15
15
|
// ref: https://elicer.atlassian.net/browse/LXP-6090
|
|
16
16
|
jsxs(Stack, {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
sx: {
|
|
18
|
+
justifyContent: 'center',
|
|
19
|
+
alignItems: 'center',
|
|
20
|
+
padding: '2rem',
|
|
21
|
+
bgcolor: '#fff',
|
|
22
|
+
gap: '2rem',
|
|
23
|
+
width: '100%',
|
|
24
|
+
height: '100%'
|
|
25
|
+
},
|
|
24
26
|
children: [jsx(Box, {
|
|
25
27
|
component: "img",
|
|
26
28
|
src: img,
|
|
27
29
|
alt: "empty",
|
|
28
|
-
|
|
30
|
+
sx: {
|
|
31
|
+
maxWidth: '7.5rem'
|
|
32
|
+
}
|
|
29
33
|
}), jsx(Typography, {
|
|
30
34
|
variant: "h6",
|
|
31
|
-
|
|
32
|
-
|
|
35
|
+
sx: {
|
|
36
|
+
color: 'text.primary',
|
|
37
|
+
textAlign: 'center'
|
|
38
|
+
},
|
|
33
39
|
children: intl.formatMessage({
|
|
34
40
|
id: 'external.notSupported'
|
|
35
41
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { Stack, CircularProgress, Typography } from '@elice/eds-material';
|
|
3
4
|
import { useRawEliceIntl } from '@elice/intl';
|
|
4
|
-
import { Stack, CircularProgress, Typography } from '@mui/material';
|
|
5
5
|
|
|
6
6
|
//
|
|
7
7
|
//
|
|
@@ -21,12 +21,16 @@ var MaterialExternalRedirect = function MaterialExternalRedirect(_ref) {
|
|
|
21
21
|
};
|
|
22
22
|
}, [materialExternal]);
|
|
23
23
|
return jsxs(Stack, {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
sx: {
|
|
25
|
+
gap: '0.5rem',
|
|
26
|
+
alignItems: 'center'
|
|
27
|
+
},
|
|
26
28
|
children: [jsx(CircularProgress, {}), jsx(Typography, {
|
|
27
29
|
variant: "body2",
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
sx: {
|
|
31
|
+
color: 'text.secondary',
|
|
32
|
+
textAlign: 'center'
|
|
33
|
+
},
|
|
30
34
|
children: intl.formatMessage({
|
|
31
35
|
id: 'external.loader.redirect.description'
|
|
32
36
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-external",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.260915.0-edsmigration.1",
|
|
4
4
|
"description": "User view and editing components of Elice material external",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,23 +19,19 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@elice/api-client": "^1",
|
|
22
|
+
"@elice/eds-kit": "^1.260922.1",
|
|
23
|
+
"@elice/eds-material": "^1.260922.1",
|
|
22
24
|
"@elice/intl": "^0",
|
|
23
|
-
"@elice/mui-elements": "^5",
|
|
24
|
-
"@elice/mui-system": "^5",
|
|
25
25
|
"@elice/types": "^1",
|
|
26
26
|
"@emotion/react": "^11.10.0",
|
|
27
27
|
"@emotion/styled": "^11.10.0",
|
|
28
28
|
"@fortawesome/pro-regular-svg-icons": "^6",
|
|
29
29
|
"@fortawesome/pro-solid-svg-icons": "^6",
|
|
30
|
-
"@mui/lab": "^5.0.0-alpha.112",
|
|
31
|
-
"@mui/material": "^5.10.16",
|
|
32
|
-
"@mui/x-data-grid": "^6.7.0",
|
|
33
|
-
"@mui/x-date-pickers": "^6.7.0",
|
|
34
30
|
"@tanstack/react-query": "^4",
|
|
35
|
-
"react": "^
|
|
31
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
36
32
|
"react-use": "^17.0.0",
|
|
37
|
-
"@elice/material-shared-types": "1.
|
|
38
|
-
"@elice/material-shared-utils": "1.
|
|
33
|
+
"@elice/material-shared-types": "1.260915.0-edsmigration.1",
|
|
34
|
+
"@elice/material-shared-utils": "1.260915.0-edsmigration.1"
|
|
39
35
|
},
|
|
40
36
|
"dependencies": {
|
|
41
37
|
"classnames": "^2.2.0",
|
|
@@ -43,19 +39,15 @@
|
|
|
43
39
|
},
|
|
44
40
|
"devDependencies": {
|
|
45
41
|
"@elice/api-client": "1.260529.0",
|
|
42
|
+
"@elice/eds-kit": "1.260922.1",
|
|
43
|
+
"@elice/eds-material": "1.260922.1",
|
|
46
44
|
"@elice/intl": "0.260526.0",
|
|
47
|
-
"@elice/mui-elements": "5.251204.0",
|
|
48
|
-
"@elice/mui-system": "5.251204.0",
|
|
49
45
|
"@elice/rollup-config": "^1.260406.0",
|
|
50
46
|
"@elice/types": "1.260608.0",
|
|
51
47
|
"@emotion/react": "^11.10.0",
|
|
52
48
|
"@emotion/styled": "^11.10.0",
|
|
53
49
|
"@fortawesome/pro-regular-svg-icons": "^6.4.2",
|
|
54
50
|
"@fortawesome/pro-solid-svg-icons": "^6.4.2",
|
|
55
|
-
"@mui/lab": "^5.0.0-alpha.112",
|
|
56
|
-
"@mui/material": "^5.10.16",
|
|
57
|
-
"@mui/x-data-grid": "^6.7.0",
|
|
58
|
-
"@mui/x-date-pickers": "^6.7.0",
|
|
59
51
|
"@tanstack/react-query": "^4.29.3",
|
|
60
52
|
"@types/classnames": "^2.3.1",
|
|
61
53
|
"@types/react": "^18.2.0",
|
|
@@ -67,8 +59,8 @@
|
|
|
67
59
|
"react-use": "^17.2.4",
|
|
68
60
|
"rollup": "^4.0.0",
|
|
69
61
|
"typescript": "~5.9.3",
|
|
70
|
-
"@elice/material-shared-
|
|
71
|
-
"@elice/material-shared-
|
|
62
|
+
"@elice/material-shared-utils": "1.260915.0-edsmigration.1",
|
|
63
|
+
"@elice/material-shared-types": "1.260915.0-edsmigration.1"
|
|
72
64
|
},
|
|
73
65
|
"scripts": {
|
|
74
66
|
"start": "run-s watch",
|