@elice/material-video-file 1.240521.0 → 1.240521.2
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-file/MaterialVideoFile.js +1 -2
- package/cjs/components/material-video-file/locales/index.d.ts +1 -0
- package/cjs/components/material-video-file/locales/ja.json.js +7 -0
- package/cjs/components/material-video-file/locales/th.json.js +2 -2
- package/es/components/material-video-file/MaterialVideoFile.js +1 -2
- package/es/components/material-video-file/locales/index.d.ts +1 -0
- package/es/components/material-video-file/locales/ja.json.js +3 -0
- package/es/components/material-video-file/locales/th.json.js +2 -2
- package/package.json +5 -5
|
@@ -11,7 +11,6 @@ var types = require('@elice/types');
|
|
|
11
11
|
var classnames = require('classnames');
|
|
12
12
|
var en = require('./locales/en.json.js');
|
|
13
13
|
var ko = require('./locales/ko.json.js');
|
|
14
|
-
var th = require('./locales/th.json.js');
|
|
15
14
|
var MaterialVideoFilePlayer = require('./MaterialVideoFilePlayer.js');
|
|
16
15
|
var useMaterialVideoFileApi = require('./useMaterialVideoFileApi.js');
|
|
17
16
|
var MaterialVideoFile_styled = require('./MaterialVideoFile.styled.js');
|
|
@@ -60,6 +59,6 @@ const MaterialVideoFile = _a => {
|
|
|
60
59
|
title: (_c = (_b = materialVideoFile === null || materialVideoFile === void 0 ? void 0 : materialVideoFile.azureMediaVideo) === null || _b === void 0 ? void 0 : _b.videoAssetName) !== null && _c !== void 0 ? _c : undefined
|
|
61
60
|
}))));
|
|
62
61
|
};
|
|
63
|
-
var MaterialVideoFile$1 = new intl.IntlComponentBuilder(MaterialVideoFile).add('en', en.default).add('ko', ko.default).
|
|
62
|
+
var MaterialVideoFile$1 = new intl.IntlComponentBuilder(MaterialVideoFile).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();
|
|
64
63
|
|
|
65
64
|
exports.default = MaterialVideoFile$1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ja = {"videoFile.player.preparing":"{_termLibraryLecturePage} の準備中。","videoFile.player.uploadVideoBtn":"ファイルをアップロード","videoFile.player.encoding":"ビデオが準備中です。\n後でまた確認してください。","videoFile.player.encodingFailed":"ビデオの処理中に問題が発生しました。\n問題が解決しない場合は、カスタマーサービスに連絡してください。","videoFile.player.noVideo":"このファイルは存在しません。"};
|
|
6
|
+
|
|
7
|
+
exports.default = ja;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var th = {"videoFile.player.preparing":"{_termLibraryLecturePage} ในการเตรียมความพร้อม","videoFile.player.uploadVideoBtn":"อัพโหลดไฟล์","videoFile.player.encoding":"วิดีโอกำลังจัดทำอยู่\nโปรดตรวจสอบอีกครั้งในภายหลัง","videoFile.player.encodingFailed":"เกิดปัญหาในการประมวลผลวิดีโอ\nหากปัญหายังคงอยู่โปรดติดต่อฝ่ายบริการลูกค้า","videoFile.player.noVideo":"ไฟล์นี้ไม่มีอยู่จริง"};
|
|
6
6
|
|
|
7
|
-
exports.default =
|
|
7
|
+
exports.default = th;
|
|
@@ -7,7 +7,6 @@ import { enums } from '@elice/types';
|
|
|
7
7
|
import classnames from 'classnames';
|
|
8
8
|
import messageEn from './locales/en.json.js';
|
|
9
9
|
import messageKo from './locales/ko.json.js';
|
|
10
|
-
import messageTh from './locales/th.json.js';
|
|
11
10
|
import MaterialVideoFilePlayer from './MaterialVideoFilePlayer.js';
|
|
12
11
|
import { useMaterialVideoFileApi } from './useMaterialVideoFileApi.js';
|
|
13
12
|
import { StyledMaterialVideoFileWrap } from './MaterialVideoFile.styled.js';
|
|
@@ -56,6 +55,6 @@ const MaterialVideoFile = _a => {
|
|
|
56
55
|
title: (_c = (_b = materialVideoFile === null || materialVideoFile === void 0 ? void 0 : materialVideoFile.azureMediaVideo) === null || _b === void 0 ? void 0 : _b.videoAssetName) !== null && _c !== void 0 ? _c : undefined
|
|
57
56
|
}))));
|
|
58
57
|
};
|
|
59
|
-
var MaterialVideoFile$1 = new IntlComponentBuilder(MaterialVideoFile).add('en', messageEn).add('ko', messageKo).
|
|
58
|
+
var MaterialVideoFile$1 = new IntlComponentBuilder(MaterialVideoFile).add('en', messageEn).add('ko', messageKo).addAsync('th', import('./locales/th.json.js')).addAsync('ja', import('./locales/ja.json.js')).build();
|
|
60
59
|
|
|
61
60
|
export { MaterialVideoFile$1 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var ja = {"videoFile.player.preparing":"{_termLibraryLecturePage} の準備中。","videoFile.player.uploadVideoBtn":"ファイルをアップロード","videoFile.player.encoding":"ビデオが準備中です。\n後でまた確認してください。","videoFile.player.encodingFailed":"ビデオの処理中に問題が発生しました。\n問題が解決しない場合は、カスタマーサービスに連絡してください。","videoFile.player.noVideo":"このファイルは存在しません。"};
|
|
2
|
+
|
|
3
|
+
export { ja as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var
|
|
1
|
+
var th = {"videoFile.player.preparing":"{_termLibraryLecturePage} ในการเตรียมความพร้อม","videoFile.player.uploadVideoBtn":"อัพโหลดไฟล์","videoFile.player.encoding":"วิดีโอกำลังจัดทำอยู่\nโปรดตรวจสอบอีกครั้งในภายหลัง","videoFile.player.encodingFailed":"เกิดปัญหาในการประมวลผลวิดีโอ\nหากปัญหายังคงอยู่โปรดติดต่อฝ่ายบริการลูกค้า","videoFile.player.noVideo":"ไฟล์นี้ไม่มีอยู่จริง"};
|
|
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-file",
|
|
3
|
-
"version": "1.240521.
|
|
3
|
+
"version": "1.240521.2",
|
|
4
4
|
"description": "User view and editing components of Elice material video file",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"@elice/design-tokens": "^1.220803.0",
|
|
50
50
|
"@elice/icons": "^1.230814.0",
|
|
51
51
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
52
|
-
"@elice/intl": "0.240425.0-rc.
|
|
53
|
-
"@elice/material-shared-types": "1.240521.
|
|
54
|
-
"@elice/material-shared-utils": "1.240521.
|
|
52
|
+
"@elice/intl": "0.240425.0-rc.2",
|
|
53
|
+
"@elice/material-shared-types": "1.240521.2",
|
|
54
|
+
"@elice/material-shared-utils": "1.240521.2",
|
|
55
55
|
"@elice/openapi-client-account": "^1.230814.0",
|
|
56
56
|
"@elice/types": "^1.240208.0",
|
|
57
57
|
"@types/classnames": "^2.3.1",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"react-use": "^17.2.4",
|
|
63
63
|
"styled-components": "^5.3.0"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "b7335a4ad3c869dde5ac7407cdd270d53f1864bf"
|
|
66
66
|
}
|