@elice/material-video 1.240508.0-globalization.0 → 1.240514.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-video/MaterialVideo.js +1 -5
- package/cjs/components/material-video/MaterialVideoContent.js +1 -3
- package/cjs/components/material-video/locales/th.json.js +1 -1
- package/es/components/material-video/MaterialVideo.js +1 -5
- package/es/components/material-video/MaterialVideoContent.js +1 -3
- package/es/components/material-video/locales/th.json.js +1 -1
- package/package.json +6 -6
|
@@ -31,11 +31,7 @@ const MaterialVideo = _a => {
|
|
|
31
31
|
}, {
|
|
32
32
|
signal
|
|
33
33
|
}), [materialVideoId]), apiClient.config.init);
|
|
34
|
-
return React.createElement(intl.RawEliceIntlProvider, {
|
|
35
|
-
value: {
|
|
36
|
-
intl: __intl
|
|
37
|
-
}
|
|
38
|
-
}, React.createElement(blocks.Flex, {
|
|
34
|
+
return React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(blocks.Flex, {
|
|
39
35
|
className: classnames(prefixCls, className),
|
|
40
36
|
align: "center",
|
|
41
37
|
justify: "center",
|
|
@@ -18,9 +18,7 @@ const MaterialVideoContent = _a => {
|
|
|
18
18
|
materialVideo
|
|
19
19
|
} = _a,
|
|
20
20
|
youtubeProps = tslib.__rest(_a, ["videoGetStatus", "materialVideo"]);
|
|
21
|
-
const
|
|
22
|
-
intl: intl$1
|
|
23
|
-
} = intl.useRawEliceIntl();
|
|
21
|
+
const intl$1 = intl.useRawEliceIntl();
|
|
24
22
|
if (videoGetStatus === 'pending') {
|
|
25
23
|
return React.createElement(MaterialVideo_styled.StyledMaterialVideoStatus, {
|
|
26
24
|
align: "center",
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var messageTh = {"video.status.loading":"
|
|
5
|
+
var messageTh = {"video.status.loading":"กำลังโหลดวิดีโอ...","video.status.error":"เกิดข้อผิดพลาดในขณะที่โหลดวิดีโอ"};
|
|
6
6
|
|
|
7
7
|
exports.default = messageTh;
|
|
@@ -27,11 +27,7 @@ const MaterialVideo = _a => {
|
|
|
27
27
|
}, {
|
|
28
28
|
signal
|
|
29
29
|
}), [materialVideoId]), config.init);
|
|
30
|
-
return React.createElement(RawEliceIntlProvider, {
|
|
31
|
-
value: {
|
|
32
|
-
intl: __intl
|
|
33
|
-
}
|
|
34
|
-
}, React.createElement(Flex, {
|
|
30
|
+
return React.createElement(RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(Flex, {
|
|
35
31
|
className: classnames(prefixCls, className),
|
|
36
32
|
align: "center",
|
|
37
33
|
justify: "center",
|
|
@@ -14,9 +14,7 @@ const MaterialVideoContent = _a => {
|
|
|
14
14
|
materialVideo
|
|
15
15
|
} = _a,
|
|
16
16
|
youtubeProps = __rest(_a, ["videoGetStatus", "materialVideo"]);
|
|
17
|
-
const
|
|
18
|
-
intl
|
|
19
|
-
} = useRawEliceIntl();
|
|
17
|
+
const intl = useRawEliceIntl();
|
|
20
18
|
if (videoGetStatus === 'pending') {
|
|
21
19
|
return React.createElement(StyledMaterialVideoStatus, {
|
|
22
20
|
align: "center",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var messageTh = {"video.status.loading":"
|
|
1
|
+
var messageTh = {"video.status.loading":"กำลังโหลดวิดีโอ...","video.status.error":"เกิดข้อผิดพลาดในขณะที่โหลดวิดีโอ"};
|
|
2
2
|
|
|
3
3
|
export { messageTh as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-video",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.240514.0",
|
|
4
4
|
"description": "User view and editing components of Elice material video",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@elice/api-client": "^1.230815.0",
|
|
47
|
-
"@elice/blocks": "^1.
|
|
47
|
+
"@elice/blocks": "^1.240514.0",
|
|
48
48
|
"@elice/design-tokens": "^1.220803.0",
|
|
49
49
|
"@elice/icons": "^1.230814.0",
|
|
50
50
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
51
|
-
"@elice/intl": "0.240425.0-
|
|
52
|
-
"@elice/material-shared-types": "1.
|
|
53
|
-
"@elice/material-shared-utils": "1.
|
|
51
|
+
"@elice/intl": "0.240425.0-rc.0",
|
|
52
|
+
"@elice/material-shared-types": "1.240514.0",
|
|
53
|
+
"@elice/material-shared-utils": "1.240514.0",
|
|
54
54
|
"@elice/types": "^1.240208.0",
|
|
55
55
|
"@types/classnames": "^2.3.1",
|
|
56
56
|
"@types/react": "~17.0.9",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"react-use": "^17.2.4",
|
|
60
60
|
"styled-components": "^5.3.0"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "04c7bc30a433e053218d63dedf81d76aa0fe251f"
|
|
63
63
|
}
|