@elice/material-video 1.240520.0 → 1.240521.0-ja.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 -2
- package/cjs/components/material-video/locales/index.d.ts +1 -0
- package/cjs/components/material-video/locales/ja.json.js +7 -0
- package/cjs/components/material-video/locales/th.json.js +2 -2
- package/es/components/material-video/MaterialVideo.js +1 -2
- package/es/components/material-video/locales/index.d.ts +1 -0
- package/es/components/material-video/locales/ja.json.js +3 -0
- package/es/components/material-video/locales/th.json.js +2 -2
- package/package.json +5 -5
|
@@ -12,7 +12,6 @@ var types = require('@elice/types');
|
|
|
12
12
|
var classnames = require('classnames');
|
|
13
13
|
var en = require('./locales/en.json.js');
|
|
14
14
|
var ko = require('./locales/ko.json.js');
|
|
15
|
-
var th = require('./locales/th.json.js');
|
|
16
15
|
var MaterialVideoContent = require('./MaterialVideoContent.js');
|
|
17
16
|
|
|
18
17
|
const MaterialVideo = _a => {
|
|
@@ -44,6 +43,6 @@ const MaterialVideo = _a => {
|
|
|
44
43
|
videoGetStatus: materialVideoStatus
|
|
45
44
|
}, youtubeProps))));
|
|
46
45
|
};
|
|
47
|
-
var MaterialVideo$1 = new intl.IntlComponentBuilder(MaterialVideo).add('en', en.default).add('ko', ko.default).
|
|
46
|
+
var MaterialVideo$1 = new intl.IntlComponentBuilder(MaterialVideo).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();
|
|
48
47
|
|
|
49
48
|
exports.default = MaterialVideo$1;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var th = {"video.status.loading":"กำลังโหลดวิดีโอ...","video.status.error":"เกิดข้อผิดพลาดในขณะที่โหลดวิดีโอ"};
|
|
6
6
|
|
|
7
|
-
exports.default =
|
|
7
|
+
exports.default = th;
|
|
@@ -8,7 +8,6 @@ import { enums } from '@elice/types';
|
|
|
8
8
|
import classnames from 'classnames';
|
|
9
9
|
import messageEn from './locales/en.json.js';
|
|
10
10
|
import messageKo from './locales/ko.json.js';
|
|
11
|
-
import messageTh from './locales/th.json.js';
|
|
12
11
|
import MaterialVideoContent from './MaterialVideoContent.js';
|
|
13
12
|
|
|
14
13
|
const MaterialVideo = _a => {
|
|
@@ -40,6 +39,6 @@ const MaterialVideo = _a => {
|
|
|
40
39
|
videoGetStatus: materialVideoStatus
|
|
41
40
|
}, youtubeProps))));
|
|
42
41
|
};
|
|
43
|
-
var MaterialVideo$1 = new IntlComponentBuilder(MaterialVideo).add('en', messageEn).add('ko', messageKo).
|
|
42
|
+
var MaterialVideo$1 = new IntlComponentBuilder(MaterialVideo).add('en', messageEn).add('ko', messageKo).addAsync('th', import('./locales/th.json.js')).addAsync('ja', import('./locales/ja.json.js')).build();
|
|
44
43
|
|
|
45
44
|
export { MaterialVideo$1 as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var
|
|
1
|
+
var th = {"video.status.loading":"กำลังโหลดวิดีโอ...","video.status.error":"เกิดข้อผิดพลาดในขณะที่โหลดวิดีโอ"};
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { th as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-video",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.240521.0-ja.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",
|
|
@@ -48,9 +48,9 @@
|
|
|
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-rc.
|
|
52
|
-
"@elice/material-shared-types": "1.
|
|
53
|
-
"@elice/material-shared-utils": "1.
|
|
51
|
+
"@elice/intl": "0.240425.0-rc.2",
|
|
52
|
+
"@elice/material-shared-types": "1.240521.0",
|
|
53
|
+
"@elice/material-shared-utils": "1.240521.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": "8a6c5c33885464fa4ddd18f8a6730fe142e348f0"
|
|
63
63
|
}
|