@elice/material-video-file 1.260220.0 → 1.260429.0-improvetimerpopoverui.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-file/MaterialVideoFile.js +10 -2
- package/cjs/components/material-video-file/MaterialVideoFilePlayer.js +53 -7
- package/es/components/material-video-file/MaterialVideoFile.js +8 -1
- package/es/components/material-video-file/MaterialVideoFilePlayer.js +46 -1
- package/package.json +24 -17
- package/cjs/components/material-video-file/MaterialVideoFile.styled.d.ts +0 -4
- package/cjs/components/material-video-file/MaterialVideoFile.styled.js +0 -14
- package/cjs/components/material-video-file/MaterialVideoFilePlayer.styled.d.ts +0 -17
- package/cjs/components/material-video-file/MaterialVideoFilePlayer.styled.js +0 -55
- package/es/components/material-video-file/MaterialVideoFile.styled.d.ts +0 -4
- package/es/components/material-video-file/MaterialVideoFile.styled.js +0 -8
- package/es/components/material-video-file/MaterialVideoFilePlayer.styled.d.ts +0 -17
- package/es/components/material-video-file/MaterialVideoFilePlayer.styled.js +0 -46
|
@@ -2,25 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var _styled = require('@emotion/styled/base');
|
|
5
6
|
var tslib = require('tslib');
|
|
6
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
8
|
var React = require('react');
|
|
8
9
|
var apiClient = require('@elice/api-client');
|
|
10
|
+
var designTokens = require('@elice/design-tokens');
|
|
9
11
|
var intl = require('@elice/intl');
|
|
10
12
|
var materialSharedUtils = require('@elice/material-shared-utils');
|
|
11
13
|
var types = require('@elice/types');
|
|
12
14
|
var classnames = require('classnames');
|
|
13
15
|
var MaterialVideoFilePlayer = require('./MaterialVideoFilePlayer.js');
|
|
14
16
|
var useMaterialVideoFileApi = require('./useMaterialVideoFileApi.js');
|
|
15
|
-
var MaterialVideoFile_styled = require('./MaterialVideoFile.styled.js');
|
|
16
17
|
var en = require('./locales/en.json.js');
|
|
17
18
|
var ko = require('./locales/ko.json.js');
|
|
18
19
|
|
|
19
20
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
20
21
|
|
|
22
|
+
var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
|
|
21
23
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
22
24
|
var classnames__default = /*#__PURE__*/_interopDefaultCompat(classnames);
|
|
23
25
|
|
|
26
|
+
//
|
|
27
|
+
//
|
|
28
|
+
//
|
|
29
|
+
var StyledMaterialVideoFileWrap = /*#__PURE__*/_styled__default.default("div", {
|
|
30
|
+
target: "esgkfcf0"
|
|
31
|
+
})("display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;background:", designTokens.base.color.gray9, ";");
|
|
24
32
|
//
|
|
25
33
|
//
|
|
26
34
|
//
|
|
@@ -52,7 +60,7 @@ var MaterialVideoFile = React.forwardRef(function (_a, ref) {
|
|
|
52
60
|
//
|
|
53
61
|
return jsxRuntime.jsx(intl.RawEliceIntlProvider, {
|
|
54
62
|
value: __intl,
|
|
55
|
-
children: jsxRuntime.jsx(
|
|
63
|
+
children: jsxRuntime.jsx(StyledMaterialVideoFileWrap, {
|
|
56
64
|
className: classnames__default.default(prefixCls, className),
|
|
57
65
|
children: jsxRuntime.jsx(MaterialVideoFilePlayer.default, Object.assign({}, playerProps, {
|
|
58
66
|
orgNameShort: orgNameShort,
|
|
@@ -2,19 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var _styled = require('@emotion/styled/base');
|
|
5
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
7
|
var React = require('react');
|
|
7
8
|
var blocks = require('@elice/blocks');
|
|
8
9
|
var intl = require('@elice/intl');
|
|
9
10
|
var types = require('@elice/types');
|
|
11
|
+
var videoplayerClient = require('@elice/videoplayer-client');
|
|
10
12
|
var classnames = require('classnames');
|
|
11
|
-
var MaterialVideoFilePlayer_styled = require('./MaterialVideoFilePlayer.styled.js');
|
|
12
13
|
|
|
13
14
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
14
15
|
|
|
16
|
+
var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
|
|
15
17
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
16
18
|
var classnames__default = /*#__PURE__*/_interopDefaultCompat(classnames);
|
|
17
19
|
|
|
20
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
18
21
|
//
|
|
19
22
|
//
|
|
20
23
|
//
|
|
@@ -28,6 +31,49 @@ var VideoUploadStatus;
|
|
|
28
31
|
//
|
|
29
32
|
//
|
|
30
33
|
//
|
|
34
|
+
var StyledVideoPlayer = /*#__PURE__*/_styled__default.default(videoplayerClient.EliceVideoplayer, {
|
|
35
|
+
target: "e7248ce3"
|
|
36
|
+
})("production" === "production" ? {
|
|
37
|
+
name: "lkodw",
|
|
38
|
+
styles: "width:100%;height:100%;border:0"
|
|
39
|
+
} : {
|
|
40
|
+
name: "lkodw",
|
|
41
|
+
styles: "width:100%;height:100%;border:0",
|
|
42
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
43
|
+
});
|
|
44
|
+
var StyledVideoPlayerContainer = /*#__PURE__*/_styled__default.default("div", {
|
|
45
|
+
target: "e7248ce2"
|
|
46
|
+
})("production" === "production" ? {
|
|
47
|
+
name: "zxsb69",
|
|
48
|
+
styles: "position:relative;width:100%;height:100%"
|
|
49
|
+
} : {
|
|
50
|
+
name: "zxsb69",
|
|
51
|
+
styles: "position:relative;width:100%;height:100%",
|
|
52
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
53
|
+
});
|
|
54
|
+
var StyledVideoPlayerLoading = /*#__PURE__*/_styled__default.default("div", {
|
|
55
|
+
target: "e7248ce1"
|
|
56
|
+
})("production" === "production" ? {
|
|
57
|
+
name: "wco9ji",
|
|
58
|
+
styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%"
|
|
59
|
+
} : {
|
|
60
|
+
name: "wco9ji",
|
|
61
|
+
styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%",
|
|
62
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
63
|
+
});
|
|
64
|
+
var StyledVideoPlayerOverlay = /*#__PURE__*/_styled__default.default("div", {
|
|
65
|
+
target: "e7248ce0"
|
|
66
|
+
})("production" === "production" ? {
|
|
67
|
+
name: "4gmkgm",
|
|
68
|
+
styles: "position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;z-index:1"
|
|
69
|
+
} : {
|
|
70
|
+
name: "4gmkgm",
|
|
71
|
+
styles: "position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;z-index:1",
|
|
72
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
73
|
+
});
|
|
74
|
+
//
|
|
75
|
+
//
|
|
76
|
+
//
|
|
31
77
|
var MaterialVideoFilePlayer = React.forwardRef(function (_ref, ref) {
|
|
32
78
|
var className = _ref.className,
|
|
33
79
|
materialVideoFile = _ref.materialVideoFile,
|
|
@@ -100,7 +146,7 @@ var MaterialVideoFilePlayer = React.forwardRef(function (_ref, ref) {
|
|
|
100
146
|
var renderVideoPlayerOverlayContent = function renderVideoPlayerOverlayContent() {
|
|
101
147
|
// pending
|
|
102
148
|
if (materialVideoFileStatus === 'idle' || materialVideoFileStatus === 'pending') {
|
|
103
|
-
return jsxRuntime.jsx(
|
|
149
|
+
return jsxRuntime.jsx(StyledVideoPlayerLoading, {
|
|
104
150
|
children: jsxRuntime.jsx(blocks.Spinner, {})
|
|
105
151
|
});
|
|
106
152
|
}
|
|
@@ -112,7 +158,7 @@ var MaterialVideoFilePlayer = React.forwardRef(function (_ref, ref) {
|
|
|
112
158
|
}
|
|
113
159
|
// encoding
|
|
114
160
|
if (materialVideoFileUploadStatus === VideoUploadStatus.Encoding) {
|
|
115
|
-
return jsxRuntime.jsxs(
|
|
161
|
+
return jsxRuntime.jsxs(StyledVideoPlayerLoading, {
|
|
116
162
|
children: [jsxRuntime.jsx(blocks.Spinner, {}), jsxRuntime.jsx(blocks.Text, {
|
|
117
163
|
preWrap: true,
|
|
118
164
|
role: "gray3",
|
|
@@ -126,7 +172,7 @@ var MaterialVideoFilePlayer = React.forwardRef(function (_ref, ref) {
|
|
|
126
172
|
}
|
|
127
173
|
// encoding failed
|
|
128
174
|
if (materialVideoFileUploadStatus === VideoUploadStatus.EncodingFailed) {
|
|
129
|
-
return jsxRuntime.jsx(
|
|
175
|
+
return jsxRuntime.jsx(StyledVideoPlayerLoading, {
|
|
130
176
|
children: jsxRuntime.jsx(blocks.Text, {
|
|
131
177
|
preWrap: true,
|
|
132
178
|
role: "gray3",
|
|
@@ -145,7 +191,7 @@ var MaterialVideoFilePlayer = React.forwardRef(function (_ref, ref) {
|
|
|
145
191
|
*/
|
|
146
192
|
var renderVideoPlayerOverlay = function renderVideoPlayerOverlay() {
|
|
147
193
|
var content = renderVideoPlayerOverlayContent();
|
|
148
|
-
return content ? jsxRuntime.jsx(
|
|
194
|
+
return content ? jsxRuntime.jsx(StyledVideoPlayerOverlay, {
|
|
149
195
|
children: content
|
|
150
196
|
}) : null;
|
|
151
197
|
};
|
|
@@ -154,7 +200,7 @@ var MaterialVideoFilePlayer = React.forwardRef(function (_ref, ref) {
|
|
|
154
200
|
*/
|
|
155
201
|
var renderVideoPlayer = function renderVideoPlayer() {
|
|
156
202
|
var _a;
|
|
157
|
-
return jsxRuntime.jsx(
|
|
203
|
+
return jsxRuntime.jsx(StyledVideoPlayer, {
|
|
158
204
|
className: classnames__default.default(prefixCls, className),
|
|
159
205
|
orgNameShort: orgNameShort !== null && orgNameShort !== void 0 ? orgNameShort : '',
|
|
160
206
|
materialVideoId: (_a = materialVideoFile === null || materialVideoFile === void 0 ? void 0 : materialVideoFile.id) !== null && _a !== void 0 ? _a : 0,
|
|
@@ -189,7 +235,7 @@ var MaterialVideoFilePlayer = React.forwardRef(function (_ref, ref) {
|
|
|
189
235
|
//
|
|
190
236
|
//
|
|
191
237
|
// resolved
|
|
192
|
-
return jsxRuntime.jsxs(
|
|
238
|
+
return jsxRuntime.jsxs(StyledVideoPlayerContainer, {
|
|
193
239
|
children: [renderVideoPlayer(), renderVideoPlayerOverlay()]
|
|
194
240
|
});
|
|
195
241
|
});
|
|
@@ -1,17 +1,24 @@
|
|
|
1
|
+
import _styled from '@emotion/styled/base';
|
|
1
2
|
import { __rest } from 'tslib';
|
|
2
3
|
import { jsx } from 'react/jsx-runtime';
|
|
3
4
|
import React, { forwardRef } from 'react';
|
|
4
5
|
import { getOrgMaterialVideoFileGet, config } from '@elice/api-client';
|
|
6
|
+
import { base } from '@elice/design-tokens';
|
|
5
7
|
import { RawEliceIntlProvider, IntlComponentBuilder } from '@elice/intl';
|
|
6
8
|
import { useMaterialConfig, useMaterialFetch } from '@elice/material-shared-utils';
|
|
7
9
|
import { enums } from '@elice/types';
|
|
8
10
|
import classnames from 'classnames';
|
|
9
11
|
import MaterialVideoFilePlayer from './MaterialVideoFilePlayer.js';
|
|
10
12
|
import { useMaterialVideoFileApi } from './useMaterialVideoFileApi.js';
|
|
11
|
-
import { StyledMaterialVideoFileWrap } from './MaterialVideoFile.styled.js';
|
|
12
13
|
import messageEn from './locales/en.json.js';
|
|
13
14
|
import messageKo from './locales/ko.json.js';
|
|
14
15
|
|
|
16
|
+
//
|
|
17
|
+
//
|
|
18
|
+
//
|
|
19
|
+
var StyledMaterialVideoFileWrap = /*#__PURE__*/_styled("div", {
|
|
20
|
+
target: "esgkfcf0"
|
|
21
|
+
})("display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;background:", base.color.gray9, ";");
|
|
15
22
|
//
|
|
16
23
|
//
|
|
17
24
|
//
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import _styled from '@emotion/styled/base';
|
|
1
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
3
|
import React, { forwardRef } from 'react';
|
|
3
4
|
import { Spinner, Text } from '@elice/blocks';
|
|
4
5
|
import { useRawEliceIntl } from '@elice/intl';
|
|
5
6
|
import { enums } from '@elice/types';
|
|
7
|
+
import { EliceVideoplayer } from '@elice/videoplayer-client';
|
|
6
8
|
import classnames from 'classnames';
|
|
7
|
-
import { StyledVideoPlayerContainer, StyledVideoPlayer, StyledVideoPlayerOverlay, StyledVideoPlayerLoading } from './MaterialVideoFilePlayer.styled.js';
|
|
8
9
|
|
|
10
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
9
11
|
//
|
|
10
12
|
//
|
|
11
13
|
//
|
|
@@ -19,6 +21,49 @@ var VideoUploadStatus;
|
|
|
19
21
|
//
|
|
20
22
|
//
|
|
21
23
|
//
|
|
24
|
+
var StyledVideoPlayer = /*#__PURE__*/_styled(EliceVideoplayer, {
|
|
25
|
+
target: "e7248ce3"
|
|
26
|
+
})("production" === "production" ? {
|
|
27
|
+
name: "lkodw",
|
|
28
|
+
styles: "width:100%;height:100%;border:0"
|
|
29
|
+
} : {
|
|
30
|
+
name: "lkodw",
|
|
31
|
+
styles: "width:100%;height:100%;border:0",
|
|
32
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
33
|
+
});
|
|
34
|
+
var StyledVideoPlayerContainer = /*#__PURE__*/_styled("div", {
|
|
35
|
+
target: "e7248ce2"
|
|
36
|
+
})("production" === "production" ? {
|
|
37
|
+
name: "zxsb69",
|
|
38
|
+
styles: "position:relative;width:100%;height:100%"
|
|
39
|
+
} : {
|
|
40
|
+
name: "zxsb69",
|
|
41
|
+
styles: "position:relative;width:100%;height:100%",
|
|
42
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
43
|
+
});
|
|
44
|
+
var StyledVideoPlayerLoading = /*#__PURE__*/_styled("div", {
|
|
45
|
+
target: "e7248ce1"
|
|
46
|
+
})("production" === "production" ? {
|
|
47
|
+
name: "wco9ji",
|
|
48
|
+
styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%"
|
|
49
|
+
} : {
|
|
50
|
+
name: "wco9ji",
|
|
51
|
+
styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%",
|
|
52
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
53
|
+
});
|
|
54
|
+
var StyledVideoPlayerOverlay = /*#__PURE__*/_styled("div", {
|
|
55
|
+
target: "e7248ce0"
|
|
56
|
+
})("production" === "production" ? {
|
|
57
|
+
name: "4gmkgm",
|
|
58
|
+
styles: "position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;z-index:1"
|
|
59
|
+
} : {
|
|
60
|
+
name: "4gmkgm",
|
|
61
|
+
styles: "position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;z-index:1",
|
|
62
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
63
|
+
});
|
|
64
|
+
//
|
|
65
|
+
//
|
|
66
|
+
//
|
|
22
67
|
var MaterialVideoFilePlayer = forwardRef(function (_ref, ref) {
|
|
23
68
|
var className = _ref.className,
|
|
24
69
|
materialVideoFile = _ref.materialVideoFile,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-video-file",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.260429.0-improvetimerpopoverui.0",
|
|
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",
|
|
@@ -14,22 +14,12 @@
|
|
|
14
14
|
"README.md"
|
|
15
15
|
],
|
|
16
16
|
"sideEffects": false,
|
|
17
|
-
"scripts": {
|
|
18
|
-
"start": "run-s watch",
|
|
19
|
-
"prebuild": "run-s clean",
|
|
20
|
-
"build": "cross-env NODE_ENV=production rollup -c ../../rollup.config.ts --configPlugin typescript -f es -f cjs",
|
|
21
|
-
"watch": "rollup -c ../../rollup.config.ts --configPlugin typescript -f es -f cjs -w",
|
|
22
|
-
"lint": "eslint --ext .ts,.tsx ./src --max-warnings=0",
|
|
23
|
-
"clean": "del-cli \"es/*\" \"cjs/*\" \"dist/*\""
|
|
24
|
-
},
|
|
25
17
|
"peerDependencies": {
|
|
26
18
|
"@elice/api-client": "^1",
|
|
27
19
|
"@elice/blocks": "^1",
|
|
28
20
|
"@elice/design-tokens": "^1",
|
|
29
21
|
"@elice/icons": "^1",
|
|
30
22
|
"@elice/intl": "^0",
|
|
31
|
-
"@elice/material-shared-types": "1.260220.0",
|
|
32
|
-
"@elice/material-shared-utils": "1.260220.0",
|
|
33
23
|
"@elice/messenger": "^1",
|
|
34
24
|
"@elice/openapi-client-account": "^1",
|
|
35
25
|
"@elice/types": "^1",
|
|
@@ -37,7 +27,9 @@
|
|
|
37
27
|
"@emotion/react": "^11.10.0",
|
|
38
28
|
"@emotion/styled": "^11.10.0",
|
|
39
29
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
40
|
-
"react-use": "^17.0.0"
|
|
30
|
+
"react-use": "^17.0.0",
|
|
31
|
+
"@elice/material-shared-types": "1.260429.0-improvetimerpopoverui.0",
|
|
32
|
+
"@elice/material-shared-utils": "1.260429.0-improvetimerpopoverui.0"
|
|
41
33
|
},
|
|
42
34
|
"dependencies": {
|
|
43
35
|
"classnames": "^2.2.0",
|
|
@@ -51,10 +43,9 @@
|
|
|
51
43
|
"@elice/icons": "^1.230814.0",
|
|
52
44
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
53
45
|
"@elice/intl": "0.241127.0",
|
|
54
|
-
"@elice/material-shared-types": "1.260220.0",
|
|
55
|
-
"@elice/material-shared-utils": "1.260220.0",
|
|
56
46
|
"@elice/messenger": "^1.240426.0",
|
|
57
47
|
"@elice/openapi-client-account": "^1.230814.0",
|
|
48
|
+
"@elice/rollup-config": "^1.260406.0",
|
|
58
49
|
"@elice/types": "^1.251229.0",
|
|
59
50
|
"@elice/videoplayer-client": "^2.250903.1",
|
|
60
51
|
"@emotion/react": "^11.10.0",
|
|
@@ -62,7 +53,23 @@
|
|
|
62
53
|
"@types/classnames": "^2.3.1",
|
|
63
54
|
"@types/query-string": "^6.3.0",
|
|
64
55
|
"@types/react": "~17.0.9",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
56
|
+
"cross-env": "^7.0.3",
|
|
57
|
+
"del-cli": "^3.0.1",
|
|
58
|
+
"eslint": "~9.39.0",
|
|
59
|
+
"npm-run-all": "^4.1.5",
|
|
60
|
+
"react": "~18.2.0",
|
|
61
|
+
"react-use": "^17.2.4",
|
|
62
|
+
"rollup": "^4.0.0",
|
|
63
|
+
"typescript": "~5.9.3",
|
|
64
|
+
"@elice/material-shared-types": "1.260429.0-improvetimerpopoverui.0",
|
|
65
|
+
"@elice/material-shared-utils": "1.260429.0-improvetimerpopoverui.0"
|
|
66
|
+
},
|
|
67
|
+
"scripts": {
|
|
68
|
+
"start": "run-s watch",
|
|
69
|
+
"prebuild": "run-s clean",
|
|
70
|
+
"build": "cross-env NODE_ENV=production rollup -c ../../rollup.config.ts --configPlugin typescript -f es -f cjs",
|
|
71
|
+
"watch": "rollup -c ../../rollup.config.ts --configPlugin typescript -f es -f cjs -w",
|
|
72
|
+
"lint": "eslint --ext .ts,.tsx ./src --max-warnings=0",
|
|
73
|
+
"clean": "del-cli \"es/*\" \"cjs/*\" \"dist/*\""
|
|
67
74
|
}
|
|
68
|
-
}
|
|
75
|
+
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _styled = require('@emotion/styled/base');
|
|
4
|
-
var designTokens = require('@elice/design-tokens');
|
|
5
|
-
|
|
6
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
7
|
-
|
|
8
|
-
var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
|
|
9
|
-
|
|
10
|
-
var StyledMaterialVideoFileWrap = /*#__PURE__*/_styled__default.default("div", {
|
|
11
|
-
target: "e7kzwhl0"
|
|
12
|
-
})("display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;background:", designTokens.base.color.gray9, ";");
|
|
13
|
-
|
|
14
|
-
exports.StyledMaterialVideoFileWrap = StyledMaterialVideoFileWrap;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const StyledVideoPlayer: import("@emotion/styled").StyledComponent<Omit<import("@elice/intl").IntlComponentExtraProps & Omit<import("@elice/intl").IntlComponentExtraProps & Omit<import("@elice/videoplayer-client").EliceVideoplayerProps, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & {
|
|
2
|
-
__intl: import("@elice/intl").EliceIntlShape;
|
|
3
|
-
} & import("react").RefAttributes<import("@elice/videoplayer-client").EliceVideoplayerApis>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl">, "ref"> & import("react").RefAttributes<import("@elice/videoplayer-client").EliceVideoplayerApis> & {
|
|
4
|
-
theme?: import("@emotion/react").Theme;
|
|
5
|
-
}, {}, {}>;
|
|
6
|
-
export declare const StyledVideoPlayerContainer: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme;
|
|
8
|
-
as?: React.ElementType;
|
|
9
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
-
export declare const StyledVideoPlayerLoading: import("@emotion/styled").StyledComponent<{
|
|
11
|
-
theme?: import("@emotion/react").Theme;
|
|
12
|
-
as?: React.ElementType;
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
|
-
export declare const StyledVideoPlayerOverlay: import("@emotion/styled").StyledComponent<{
|
|
15
|
-
theme?: import("@emotion/react").Theme;
|
|
16
|
-
as?: React.ElementType;
|
|
17
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _styled = require('@emotion/styled/base');
|
|
4
|
-
var videoplayerClient = require('@elice/videoplayer-client');
|
|
5
|
-
|
|
6
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
7
|
-
|
|
8
|
-
var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
|
|
9
|
-
|
|
10
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
11
|
-
var StyledVideoPlayer = /*#__PURE__*/_styled__default.default(videoplayerClient.EliceVideoplayer, {
|
|
12
|
-
target: "e1lqf1nw3"
|
|
13
|
-
})("production" === "production" ? {
|
|
14
|
-
name: "lkodw",
|
|
15
|
-
styles: "width:100%;height:100%;border:0"
|
|
16
|
-
} : {
|
|
17
|
-
name: "lkodw",
|
|
18
|
-
styles: "width:100%;height:100%;border:0",
|
|
19
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
20
|
-
});
|
|
21
|
-
var StyledVideoPlayerContainer = /*#__PURE__*/_styled__default.default("div", {
|
|
22
|
-
target: "e1lqf1nw2"
|
|
23
|
-
})("production" === "production" ? {
|
|
24
|
-
name: "zxsb69",
|
|
25
|
-
styles: "position:relative;width:100%;height:100%"
|
|
26
|
-
} : {
|
|
27
|
-
name: "zxsb69",
|
|
28
|
-
styles: "position:relative;width:100%;height:100%",
|
|
29
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
30
|
-
});
|
|
31
|
-
var StyledVideoPlayerLoading = /*#__PURE__*/_styled__default.default("div", {
|
|
32
|
-
target: "e1lqf1nw1"
|
|
33
|
-
})("production" === "production" ? {
|
|
34
|
-
name: "wco9ji",
|
|
35
|
-
styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%"
|
|
36
|
-
} : {
|
|
37
|
-
name: "wco9ji",
|
|
38
|
-
styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%",
|
|
39
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
40
|
-
});
|
|
41
|
-
var StyledVideoPlayerOverlay = /*#__PURE__*/_styled__default.default("div", {
|
|
42
|
-
target: "e1lqf1nw0"
|
|
43
|
-
})("production" === "production" ? {
|
|
44
|
-
name: "4gmkgm",
|
|
45
|
-
styles: "position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;z-index:1"
|
|
46
|
-
} : {
|
|
47
|
-
name: "4gmkgm",
|
|
48
|
-
styles: "position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;z-index:1",
|
|
49
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
exports.StyledVideoPlayer = StyledVideoPlayer;
|
|
53
|
-
exports.StyledVideoPlayerContainer = StyledVideoPlayerContainer;
|
|
54
|
-
exports.StyledVideoPlayerLoading = StyledVideoPlayerLoading;
|
|
55
|
-
exports.StyledVideoPlayerOverlay = StyledVideoPlayerOverlay;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import _styled from '@emotion/styled/base';
|
|
2
|
-
import { base } from '@elice/design-tokens';
|
|
3
|
-
|
|
4
|
-
var StyledMaterialVideoFileWrap = /*#__PURE__*/_styled("div", {
|
|
5
|
-
target: "e7kzwhl0"
|
|
6
|
-
})("display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;background:", base.color.gray9, ";");
|
|
7
|
-
|
|
8
|
-
export { StyledMaterialVideoFileWrap };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const StyledVideoPlayer: import("@emotion/styled").StyledComponent<Omit<import("@elice/intl").IntlComponentExtraProps & Omit<import("@elice/intl").IntlComponentExtraProps & Omit<import("@elice/videoplayer-client").EliceVideoplayerProps, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & {
|
|
2
|
-
__intl: import("@elice/intl").EliceIntlShape;
|
|
3
|
-
} & import("react").RefAttributes<import("@elice/videoplayer-client").EliceVideoplayerApis>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl">, "ref"> & import("react").RefAttributes<import("@elice/videoplayer-client").EliceVideoplayerApis> & {
|
|
4
|
-
theme?: import("@emotion/react").Theme;
|
|
5
|
-
}, {}, {}>;
|
|
6
|
-
export declare const StyledVideoPlayerContainer: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme;
|
|
8
|
-
as?: React.ElementType;
|
|
9
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
-
export declare const StyledVideoPlayerLoading: import("@emotion/styled").StyledComponent<{
|
|
11
|
-
theme?: import("@emotion/react").Theme;
|
|
12
|
-
as?: React.ElementType;
|
|
13
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
|
-
export declare const StyledVideoPlayerOverlay: import("@emotion/styled").StyledComponent<{
|
|
15
|
-
theme?: import("@emotion/react").Theme;
|
|
16
|
-
as?: React.ElementType;
|
|
17
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import _styled from '@emotion/styled/base';
|
|
2
|
-
import { EliceVideoplayer } from '@elice/videoplayer-client';
|
|
3
|
-
|
|
4
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
5
|
-
var StyledVideoPlayer = /*#__PURE__*/_styled(EliceVideoplayer, {
|
|
6
|
-
target: "e1lqf1nw3"
|
|
7
|
-
})("production" === "production" ? {
|
|
8
|
-
name: "lkodw",
|
|
9
|
-
styles: "width:100%;height:100%;border:0"
|
|
10
|
-
} : {
|
|
11
|
-
name: "lkodw",
|
|
12
|
-
styles: "width:100%;height:100%;border:0",
|
|
13
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
14
|
-
});
|
|
15
|
-
var StyledVideoPlayerContainer = /*#__PURE__*/_styled("div", {
|
|
16
|
-
target: "e1lqf1nw2"
|
|
17
|
-
})("production" === "production" ? {
|
|
18
|
-
name: "zxsb69",
|
|
19
|
-
styles: "position:relative;width:100%;height:100%"
|
|
20
|
-
} : {
|
|
21
|
-
name: "zxsb69",
|
|
22
|
-
styles: "position:relative;width:100%;height:100%",
|
|
23
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
24
|
-
});
|
|
25
|
-
var StyledVideoPlayerLoading = /*#__PURE__*/_styled("div", {
|
|
26
|
-
target: "e1lqf1nw1"
|
|
27
|
-
})("production" === "production" ? {
|
|
28
|
-
name: "wco9ji",
|
|
29
|
-
styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%"
|
|
30
|
-
} : {
|
|
31
|
-
name: "wco9ji",
|
|
32
|
-
styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%",
|
|
33
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
34
|
-
});
|
|
35
|
-
var StyledVideoPlayerOverlay = /*#__PURE__*/_styled("div", {
|
|
36
|
-
target: "e1lqf1nw0"
|
|
37
|
-
})("production" === "production" ? {
|
|
38
|
-
name: "4gmkgm",
|
|
39
|
-
styles: "position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;z-index:1"
|
|
40
|
-
} : {
|
|
41
|
-
name: "4gmkgm",
|
|
42
|
-
styles: "position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;z-index:1",
|
|
43
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
export { StyledVideoPlayer, StyledVideoPlayerContainer, StyledVideoPlayerLoading, StyledVideoPlayerOverlay };
|