@cloud-app-dev/vidc 3.0.14 → 3.0.15
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/.eslintrc +3 -2
- package/.hintrc +9 -0
- package/es/ErrorFallback/index.d.ts +9 -0
- package/es/ErrorFallback/index.js +36 -0
- package/es/ErrorFallback/inerface.d.ts +48 -0
- package/es/IconFont/index.d.ts +2 -2
- package/es/Map/BasicMap/index.js +3 -2
- package/es/Player/api/index.d.ts +0 -1
- package/es/Player/api/index.js +0 -1
- package/es/Player/iconfont.d.ts +4 -12
- package/es/Player/iconfont.js +7 -9
- package/es/Player/style/iconfont.js +51 -0
- package/es/PlayerExt/index.css +1 -1
- package/es/ScreenPlayer/Live.js +1 -1
- package/es/ScreenPlayer/LiveTools.js +9 -0
- package/es/ScreenPlayer/Record.js +4 -0
- package/es/ScreenPlayer/RecordTools.js +9 -0
- package/es/ScreenPlayer/demo.js +6 -12
- package/es/ScreenPlayer/index.js +4 -3
- package/es/index.d.ts +1 -2
- package/es/index.js +2 -3
- package/es/useFullscreen/demo.d.ts +2 -0
- package/es/useFullscreen/demo.js +51 -0
- package/package.json +2 -1
- package/test.html +16 -0
- package/test.js +93 -45
- package/es/ErrorBoundary/index.d.ts +0 -18
- package/es/ErrorBoundary/index.js +0 -79
- package/es/Player/style/iconfont.css +0 -179
- package/es/Player/style/iconfont.ttf +0 -0
- package/es/Player/style/iconfont.woff +0 -0
- package/es/Player/style/iconfont.woff2 +0 -0
- package/es/withErrorBoundary/index.d.ts +0 -9
- package/es/withErrorBoundary/index.js +0 -45
package/.eslintrc
CHANGED
package/.hintrc
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ErrorBoundaryProps } from './inerface';
|
|
3
|
+
interface IErrorFallbackProps {
|
|
4
|
+
error: Error;
|
|
5
|
+
resetErrorBoundary: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare function ErrorFallback({ error, resetErrorBoundary }: IErrorFallbackProps): JSX.Element;
|
|
8
|
+
export declare const errorBoundaryOptions: ErrorBoundaryProps;
|
|
9
|
+
export default ErrorFallback;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import "antd/lib/button/style";
|
|
2
|
+
import _Button from "antd/lib/button";
|
|
3
|
+
import "antd/lib/result/style";
|
|
4
|
+
import _Result from "antd/lib/result";
|
|
5
|
+
import React from 'react';
|
|
6
|
+
|
|
7
|
+
function ErrorFallback(_ref) {
|
|
8
|
+
var error = _ref.error,
|
|
9
|
+
resetErrorBoundary = _ref.resetErrorBoundary;
|
|
10
|
+
return /*#__PURE__*/React.createElement(_Result, {
|
|
11
|
+
status: "warning",
|
|
12
|
+
title: /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, "\u6E32\u67D3\u5931\u8D25\uFF0C\u8BF7\u5237\u65B0\u91CD\u8BD5!"), /*#__PURE__*/React.createElement("div", {
|
|
13
|
+
style: {
|
|
14
|
+
color: 'var(--gray9)',
|
|
15
|
+
fontStyle: 'italic'
|
|
16
|
+
}
|
|
17
|
+
}, error.message)),
|
|
18
|
+
style: {
|
|
19
|
+
width: '100%',
|
|
20
|
+
height: '100%'
|
|
21
|
+
},
|
|
22
|
+
extra: /*#__PURE__*/React.createElement(_Button, {
|
|
23
|
+
type: "primary",
|
|
24
|
+
key: "refresh",
|
|
25
|
+
onClick: resetErrorBoundary
|
|
26
|
+
}, "\u70B9\u51FB\u5237\u65B0\uFF0C\u91CD\u8BD5")
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export var errorBoundaryOptions = {
|
|
31
|
+
FallbackComponent: ErrorFallback,
|
|
32
|
+
onReset: function onReset() {
|
|
33
|
+
return window.location.reload();
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
export default ErrorFallback;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface FallbackProps {
|
|
3
|
+
error: Error;
|
|
4
|
+
resetErrorBoundary: (...args: Array<unknown>) => void;
|
|
5
|
+
}
|
|
6
|
+
interface ErrorBoundaryPropsWithComponent {
|
|
7
|
+
onResetKeysChange?: (prevResetKeys: Array<unknown> | undefined, resetKeys: Array<unknown> | undefined) => void;
|
|
8
|
+
onReset?: (...args: Array<unknown>) => void;
|
|
9
|
+
onError?: (
|
|
10
|
+
error: Error,
|
|
11
|
+
info: {
|
|
12
|
+
componentStack: string;
|
|
13
|
+
},
|
|
14
|
+
) => void;
|
|
15
|
+
resetKeys?: Array<unknown>;
|
|
16
|
+
fallback?: never;
|
|
17
|
+
FallbackComponent: React.ComponentType<FallbackProps>;
|
|
18
|
+
fallbackRender?: never;
|
|
19
|
+
}
|
|
20
|
+
interface ErrorBoundaryPropsWithRender {
|
|
21
|
+
onResetKeysChange?: (prevResetKeys: Array<unknown> | undefined, resetKeys: Array<unknown> | undefined) => void;
|
|
22
|
+
onReset?: (...args: Array<unknown>) => void;
|
|
23
|
+
onError?: (
|
|
24
|
+
error: Error,
|
|
25
|
+
info: {
|
|
26
|
+
componentStack: string;
|
|
27
|
+
},
|
|
28
|
+
) => void;
|
|
29
|
+
resetKeys?: Array<unknown>;
|
|
30
|
+
fallback?: never;
|
|
31
|
+
FallbackComponent?: never;
|
|
32
|
+
fallbackRender: typeof FallbackRender;
|
|
33
|
+
}
|
|
34
|
+
interface ErrorBoundaryPropsWithFallback {
|
|
35
|
+
onResetKeysChange?: (prevResetKeys: Array<unknown> | undefined, resetKeys: Array<unknown> | undefined) => void;
|
|
36
|
+
onReset?: (...args: Array<unknown>) => void;
|
|
37
|
+
onError?: (
|
|
38
|
+
error: Error,
|
|
39
|
+
info: {
|
|
40
|
+
componentStack: string;
|
|
41
|
+
},
|
|
42
|
+
) => void;
|
|
43
|
+
resetKeys?: Array<unknown>;
|
|
44
|
+
fallback: React.ReactElement<unknown, string | React.FunctionComponent | typeof React.Component> | null;
|
|
45
|
+
FallbackComponent?: never;
|
|
46
|
+
fallbackRender?: never;
|
|
47
|
+
}
|
|
48
|
+
export declare type ErrorBoundaryProps = ErrorBoundaryPropsWithFallback | ErrorBoundaryPropsWithComponent | ErrorBoundaryPropsWithRender;
|
package/es/IconFont/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
export interface IIconFontProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3
3
|
type?: string;
|
|
4
4
|
className?: string;
|
|
5
5
|
title?: string;
|
|
6
6
|
style?: React.CSSProperties;
|
|
7
7
|
}
|
|
8
|
-
declare function IconFont({ type, className, title, style, ...props }:
|
|
8
|
+
declare function IconFont({ type, className, title, style, ...props }: IIconFontProps): JSX.Element;
|
|
9
9
|
declare namespace IconFont {
|
|
10
10
|
var registerIconFont: (scriptUrl: string) => void;
|
|
11
11
|
}
|
package/es/Map/BasicMap/index.js
CHANGED
|
@@ -26,7 +26,8 @@ import { Provider } from '../Context';
|
|
|
26
26
|
import LeafletInstance from './LeafletInstance';
|
|
27
27
|
import AMapInstance from './AMapInstance';
|
|
28
28
|
import Config from '../Config';
|
|
29
|
-
import withErrorBoundary from '
|
|
29
|
+
import { withErrorBoundary } from 'react-error-boundary';
|
|
30
|
+
import { errorBoundaryOptions } from '../../ErrorFallback';
|
|
30
31
|
import "./index.css";
|
|
31
32
|
|
|
32
33
|
var Map = /*#__PURE__*/function (_React$Component) {
|
|
@@ -86,7 +87,7 @@ var Map = /*#__PURE__*/function (_React$Component) {
|
|
|
86
87
|
return Map;
|
|
87
88
|
}(React.Component);
|
|
88
89
|
|
|
89
|
-
var MapViewType = withErrorBoundary(Map);
|
|
90
|
+
var MapViewType = withErrorBoundary(Map, errorBoundaryOptions);
|
|
90
91
|
var MapView = MapViewType;
|
|
91
92
|
|
|
92
93
|
function WithLoaderMap(_ref) {
|
package/es/Player/api/index.d.ts
CHANGED
package/es/Player/api/index.js
CHANGED
package/es/Player/iconfont.d.ts
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
className: string;
|
|
6
|
-
}
|
|
7
|
-
declare function IconFont({ type, className, ...props }: IPlayerIconFontProps): JSX.Element;
|
|
8
|
-
declare namespace IconFont {
|
|
9
|
-
var defaultProps: {
|
|
10
|
-
className: string;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IIconFontProps } from '../IconFont';
|
|
3
|
+
import './style/iconfont.js';
|
|
4
|
+
declare function IconFont({ className, ...props }: IIconFontProps): JSX.Element;
|
|
13
5
|
export default IconFont;
|
package/es/Player/iconfont.js
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { __rest } from "tslib";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import '
|
|
3
|
+
import Icon from '../IconFont';
|
|
4
|
+
import './style/iconfont.js';
|
|
4
5
|
|
|
5
6
|
function IconFont(_a) {
|
|
6
|
-
var
|
|
7
|
-
className = _a
|
|
8
|
-
props = __rest(_a, ["
|
|
7
|
+
var _a$className = _a.className,
|
|
8
|
+
className = _a$className === void 0 ? '' : _a$className,
|
|
9
|
+
props = __rest(_a, ["className"]);
|
|
9
10
|
|
|
10
|
-
return /*#__PURE__*/React.createElement(
|
|
11
|
-
className: "lm-player-iconfont ".concat(
|
|
11
|
+
return /*#__PURE__*/React.createElement(Icon, Object.assign({
|
|
12
|
+
className: "lm-player-iconfont ".concat(className)
|
|
12
13
|
}, props));
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
IconFont.defaultProps = {
|
|
16
|
-
className: ''
|
|
17
|
-
};
|
|
18
16
|
export default IconFont;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* eslint-disable no-unused-expressions */
|
|
2
|
+
window._iconfont_svg_string_1153292 = '<svg><symbol id="lm-player-xiazai" viewBox="0 0 1024 1024"><path d="M377.904762 48.761905A36.571429 36.571429 0 0 1 414.47619 12.190476h195.04762a36.571429 36.571429 0 0 1 36.571428 36.571429v231.619047H804.571429a36.571429 36.571429 0 0 1 25.843809 62.415238l-292.571428 292.571429a36.571429 36.571429 0 0 1-51.68762 0l-292.571428-292.571429A36.571429 36.571429 0 0 1 219.428571 280.380952h158.476191V48.761905zM36.571429 804.571429a36.571429 36.571429 0 0 1 36.571428-36.571429h877.714286a36.571429 36.571429 0 0 1 0 73.142857H73.142857a36.571429 36.571429 0 0 1-36.571428-36.571428zM231.619048 975.238095a36.571429 36.571429 0 0 1 36.571428-36.571428h487.619048a36.571429 36.571429 0 0 1 0 73.142857H268.190476a36.571429 36.571429 0 0 1-36.571428-36.571429z" ></path></symbol><symbol id="lm-player-bofang" viewBox="0 0 1024 1024"><path d="M809.386667 444.586667L265.728 21.845333A85.333333 85.333333 0 0 0 128 89.173333v845.653334a85.333333 85.333333 0 0 0 137.728 67.413333l543.658667-422.912a85.333333 85.333333 0 0 0 0-134.656z" ></path></symbol><symbol id="lm-player-tingzhi" viewBox="0 0 1024 1024"><path d="M0 157.538462a157.538462 157.538462 0 0 1 157.538462-157.538462h708.923076a157.538462 157.538462 0 0 1 157.538462 157.538462v708.923076a157.538462 157.538462 0 0 1-157.538462 157.538462H157.538462a157.538462 157.538462 0 0 1-157.538462-157.538462V157.538462z" ></path></symbol><symbol id="lm-player-quanbuguanbi" viewBox="0 0 1024 1024"><path d="M688.751304 272.784696L940.566261 20.925217l47.237565 47.193044-251.859478 251.859478-47.193044-47.193043z" ></path><path d="M940.610783 319.977739L688.751304 68.118261 735.944348 20.925217l251.859478 251.859479-47.193043 47.193043zM11.130435 89.043478A33.391304 33.391304 0 0 1 44.521739 55.652174h489.739131v66.782609H77.913043v823.652174h823.652174V445.217391h66.782609v534.26087a33.391304 33.391304 0 0 1-33.391304 33.391304H44.521739A33.391304 33.391304 0 0 1 11.130435 979.478261V89.043478z" ></path><path d="M189.217391 267.130435A33.391304 33.391304 0 0 1 222.608696 233.73913h222.608695a33.391304 33.391304 0 0 1 33.391305 33.391305v222.608695a33.391304 33.391304 0 0 1-33.391305 33.391305H222.608696a33.391304 33.391304 0 0 1-33.391305-33.391305V267.130435z m66.782609 33.391304v155.826087h155.826087v-155.826087h-155.826087zM189.217391 623.304348a33.391304 33.391304 0 0 1 33.391305-33.391305h222.608695a33.391304 33.391304 0 0 1 33.391305 33.391305v222.608695a33.391304 33.391304 0 0 1-33.391305 33.391305H222.608696a33.391304 33.391304 0 0 1-33.391305-33.391305v-222.608695z m66.782609 33.391304v155.826087h155.826087v-155.826087h-155.826087zM545.391304 623.304348a33.391304 33.391304 0 0 1 33.391305-33.391305h222.608695a33.391304 33.391304 0 0 1 33.391305 33.391305v222.608695a33.391304 33.391304 0 0 1-33.391305 33.391305h-222.608695a33.391304 33.391304 0 0 1-33.391305-33.391305v-222.608695z m66.782609 33.391304v155.826087h155.826087v-155.826087h-155.826087z" ></path></symbol><symbol id="lm-player-huamianshiying" viewBox="0 0 1157 1024"><path d="M11.130435 44.521739A33.391304 33.391304 0 0 1 44.521739 11.130435h142.469565v66.782608H77.913043v110.413914H11.130435V44.521739zM970.573913 11.130435H1113.043478a33.391304 33.391304 0 0 1 33.391305 33.391304v143.805218h-66.782609V77.913043H970.573913V11.130435zM189.217391 224.300522a33.391304 33.391304 0 0 1 33.391305-33.391305h712.347826a33.391304 33.391304 0 0 1 33.391304 33.391305v575.398956a33.391304 33.391304 0 0 1-33.391304 33.391305H222.608696a33.391304 33.391304 0 0 1-33.391305-33.391305V224.300522z m66.782609 33.391304v508.616348h645.565217V257.691826H256zM11.130435 979.478261v-143.805218h66.782608v110.413914H186.991304v66.782608H44.521739A33.391304 33.391304 0 0 1 11.130435 979.478261z m1068.521739-33.391304v-110.413914h66.782609V979.478261a33.391304 33.391304 0 0 1-33.391305 33.391304h-142.469565v-66.782608h109.078261z" ></path></symbol><symbol id="lm-player-quanping" viewBox="0 0 1024 1024"><path d="M22.918095 22.918095a36.571429 36.571429 0 0 1 51.687619 0l243.809524 243.809524a36.571429 36.571429 0 0 1-51.687619 51.687619l-243.809524-243.809524a36.571429 36.571429 0 0 1 0-51.687619zM318.415238 705.584762a36.571429 36.571429 0 0 1 0 51.687619l-243.809524 243.809524a36.571429 36.571429 0 0 1-51.687619-51.687619l243.809524-243.809524a36.571429 36.571429 0 0 1 51.687619 0zM705.584762 705.584762a36.571429 36.571429 0 0 1 51.687619 0l243.809524 243.809524a36.571429 36.571429 0 1 1-51.687619 51.687619l-243.809524-243.809524a36.571429 36.571429 0 0 1 0-51.687619zM1001.081905 22.918095a36.571429 36.571429 0 0 1 0 51.687619l-243.809524 243.809524a36.571429 36.571429 0 1 1-51.687619-51.687619l243.809524-243.809524a36.571429 36.571429 0 0 1 51.687619 0z" ></path><path d="M694.857143 48.761905A36.571429 36.571429 0 0 1 731.428571 12.190476h243.809524a36.571429 36.571429 0 0 1 36.571429 36.571429v243.809524a36.571429 36.571429 0 0 1-73.142857 0V85.333333H731.428571a36.571429 36.571429 0 0 1-36.571428-36.571428zM975.238095 694.857143a36.571429 36.571429 0 0 1 36.571429 36.571428v243.809524a36.571429 36.571429 0 0 1-36.571429 36.571429h-243.809524a36.571429 36.571429 0 0 1 0-73.142857h207.238096V731.428571a36.571429 36.571429 0 0 1 36.571428-36.571428zM48.761905 694.857143a36.571429 36.571429 0 0 1 36.571428 36.571428v207.238096H292.571429a36.571429 36.571429 0 0 1 0 73.142857H48.761905A36.571429 36.571429 0 0 1 12.190476 975.238095v-243.809524a36.571429 36.571429 0 0 1 36.571429-36.571428zM12.190476 48.761905A36.571429 36.571429 0 0 1 48.761905 12.190476h243.809524a36.571429 36.571429 0 0 1 0 73.142857H85.333333V292.571429a36.571429 36.571429 0 0 1-73.142857 0V48.761905z" ></path></symbol><symbol id="lm-player-a-guanbi_close-one11" viewBox="0 0 1024 1024"><path d="M512 53.333333C258.688 53.333333 53.333333 258.688 53.333333 512S258.688 970.666667 512 970.666667 970.666667 765.312 970.666667 512 765.312 53.333333 512 53.333333z m143.36 315.349334a32 32 0 0 1 0 45.226666L557.226667 512l98.048 98.048a32 32 0 0 1-45.226667 45.226667L512 557.226667 413.952 655.36a32 32 0 1 1-45.226667-45.269333L466.773333 512 368.725333 413.952a32 32 0 0 1 45.226667-45.226667L512 466.688l98.048-98.048a32 32 0 0 1 45.269333 0z" ></path></symbol><symbol id="lm-player-lunxunkaishi" viewBox="0 0 1365 1024"><path d="M577.194667 720.270222A42.666667 42.666667 0 0 1 554.666667 682.666667V341.333333a42.666667 42.666667 0 0 1 66.332444-35.498666l256 170.666666a42.666667 42.666667 0 0 1 0 70.997334l-256 170.666666a42.666667 42.666667 0 0 1-43.804444 2.104889zM640 603.022222L776.419556 512 640 421.034667V603.022222z" ></path><path d="M42.666667 85.333333A42.666667 42.666667 0 0 1 85.333333 42.666667h682.666667a42.666667 42.666667 0 0 1 23.665778 78.165333l-128 85.333333a42.666667 42.666667 0 1 1-47.331556-70.997333l10.752-7.168H128v768H341.333333a42.666667 42.666667 0 0 1 0 85.333333H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666666v-853.333334z m938.666666 0A42.666667 42.666667 0 0 1 1024 42.666667h256a42.666667 42.666667 0 0 1 42.666667 42.666666v853.333334a42.666667 42.666667 0 0 1-42.666667 42.666666h-682.666667a42.666667 42.666667 0 0 1-23.665777-78.165333l128-85.333333a42.666667 42.666667 0 1 1 47.331555 70.997333l-10.752 7.168h499.086222V128H1024a42.666667 42.666667 0 0 1-42.666667-42.666667z" ></path></symbol><symbol id="lm-player-fenping16" viewBox="0 0 1024 1024"><path d="M961.776941 993.882353H62.223059c-19.275294 0-32.105412-12.830118-32.105412-32.105412V62.223059C30.117647 42.947765 42.947765 30.117647 62.223059 30.117647h899.553882c19.275294 0 32.105412 12.830118 32.105412 32.105412v899.553882c0 19.275294-12.830118 32.105412-32.105412 32.105412z m-192.752941-64.271059h160.587294v-160.587294h-160.587294v160.587294z m-224.918588 0H704.752941v-160.587294H544.105412v160.587294z m-224.858353 0h160.647529v-160.587294H319.247059v160.587294z m-224.858353 0h160.587294v-160.587294H94.388706v160.587294z m674.635294-224.858353h160.587294V544.105412h-160.587294V704.752941z m-224.918588 0H704.752941V544.105412H544.105412V704.752941z m-224.858353 0h160.647529V544.105412H319.247059V704.752941z m-224.858353 0h160.587294V544.105412H94.388706V704.752941z m674.635294-224.858353h160.587294V319.247059h-160.587294v160.647529z m-224.918588 0H704.752941V319.247059H544.105412v160.647529z m-224.858353 0h160.647529V319.247059H319.247059v160.647529z m-224.858353 0h160.587294V319.247059H94.388706v160.647529z m674.635294-224.918588h160.587294V94.388706h-160.587294v160.587294z m-224.918588 0H704.752941V94.388706H544.105412v160.587294z m-224.858353 0h160.647529V94.388706H319.247059v160.587294z m-224.858353 0h160.587294V94.388706H94.388706v160.587294z" ></path></symbol><symbol id="lm-player-xiangji1fill" viewBox="0 0 1024 1024"><path d="M860.414581 207.449017 509.333781 207.449017c0-52.808332-43.003528-95.81186-95.81186-95.81186l-63.817235 0c-52.808332 0-95.81186 43.003528-95.81186 95.81186L158.424996 207.449017c-52.808332 0-95.81186 43.003528-95.81186 95.81186l0 510.53788c0 52.808332 43.003528 95.81186 95.81186 95.81186l701.989585 0c52.808332 0 95.81186-43.003528 95.81186-95.81186L956.22644 303.260877C956.054426 250.452545 913.050899 207.449017 860.414581 207.449017zM509.333781 749.981522c-105.616664 0-191.451705-85.835041-191.451705-191.451705s85.835041-191.451705 191.451705-191.451705 191.451705 85.835041 191.451705 191.451705S614.950445 749.981522 509.333781 749.981522zM812.422644 430.895347c-26.490173 0-47.819923-21.501764-47.819923-47.819923s21.501764-47.819923 47.819923-47.819923c26.490173 0 47.819923 21.501764 47.819923 47.819923S838.912817 430.895347 812.422644 430.895347z" ></path></symbol><symbol id="lm-player-M_Device_jiazaishibai" viewBox="0 0 1024 1024"><path d="M769.2288 834.6624H40.7552c-15.2576 0-27.648-12.3904-27.648-27.648V236.8512c0-15.2576 12.3904-27.648 27.648-27.648h728.4736c15.2576 0 27.648 12.3904 27.648 27.648v570.1632c0 15.2576-12.3904 27.648-27.648 27.648z m-700.8256-55.296h673.1776V264.4992H68.4032v514.8672z m922.5216-8.0896c-5.8368 0-11.6736-1.8432-16.5888-5.5296L847.6672 670.72c-12.1856-9.1136-14.6432-26.5216-5.5296-38.7072 9.1136-12.1856 26.5216-14.6432 38.7072-5.5296l82.432 61.8496v-332.8l-82.432 61.8496c-12.1856 9.1136-29.5936 6.656-38.7072-5.5296-9.1136-12.1856-6.656-29.5936 5.5296-38.7072l126.6688-95.0272c8.3968-6.2464 19.5584-7.2704 28.9792-2.6624 9.3184 4.7104 15.2576 14.2336 15.2576 24.7808v443.392c0 10.4448-5.9392 20.0704-15.2576 24.7808-3.8912 1.9456-8.192 2.8672-12.3904 2.8672z m-791.8592-31.5392c-50.176 0-91.0336-40.8576-91.0336-91.0336s40.8576-91.0336 91.0336-91.0336 91.0336 40.8576 91.0336 91.0336-40.8576 91.0336-91.0336 91.0336z m0-126.7712c-19.6608 0-35.7376 16.0768-35.7376 35.7376s16.0768 35.7376 35.7376 35.7376 35.7376-16.0768 35.7376-35.7376-16.0768-35.7376-35.7376-35.7376z" ></path><path d="M730.0096 953.4464L68.1984 124.928c-9.5232-11.9808-7.5776-29.2864 4.4032-38.8096 11.9808-9.5232 29.2864-7.5776 38.8096 4.4032L773.12 919.04c9.5232 11.9808 7.5776 29.2864-4.4032 38.8096-11.776 9.4208-29.184 7.4752-38.7072-4.4032z" ></path></symbol><symbol id="lm-player-M_Bar_CloudAuto" viewBox="0 0 1024 1024"><path d="M605.866667 652.8m-128 0a128 128 0 1 0 256 0 128 128 0 1 0-256 0Z" ></path><path d="M512 960c-123.733333 0-238.933333-51.2-320-136.533333-64 4.266667-115.2-8.533333-140.8-51.2-12.8-25.6-21.333333-72.533333 25.6-145.066667-8.533333-34.133333-12.8-72.533333-12.8-115.2C64 264.533333 264.533333 64 512 64c123.733333 0 234.666667 51.2 315.733333 128 98.133333-8.533333 136.533333 21.333333 149.333334 46.933333 25.6 42.666667 8.533333 98.133333-34.133334 153.6 8.533333 38.4 17.066667 76.8 17.066667 115.2 0 251.733333-200.533333 452.266667-448 452.266667z m-264.533333-140.8c72.533333 59.733333 162.133333 98.133333 264.533333 98.133333 221.866667 0 405.333333-183.466667 405.333333-405.333333 0-25.6-4.266667-51.2-8.533333-72.533333-46.933333 55.466667-106.666667 106.666667-170.666667 153.6 8.533333 17.066667 12.8 38.4 12.8 59.733333 0 81.066667-68.266667 149.333333-149.333333 149.333333-46.933333 0-93.866667-25.6-119.466667-59.733333-72.533333 34.133333-157.866667 64-234.666666 76.8zM98.133333 682.666667c-12.8 29.866667-17.066667 55.466667-8.533333 72.533333 8.533333 17.066667 29.866667 25.6 64 29.866667-21.333333-34.133333-42.666667-68.266667-55.466667-102.4z m25.6-51.2a401.066667 401.066667 0 0 0 85.333334 149.333333c64-8.533333 149.333333-29.866667 256-76.8-4.266667-17.066667-8.533333-34.133333-8.533334-51.2 0-81.066667 68.266667-149.333333 149.333334-149.333333 46.933333 0 85.333333 21.333333 115.2 51.2 85.333333-59.733333 140.8-119.466667 179.2-166.4-17.066667-59.733333-51.2-110.933333-89.6-153.6-4.266667-4.266667-8.533333-4.266667-8.533334-8.533334C725.333333 153.6 622.933333 106.666667 512 106.666667c-221.866667 0-405.333333 183.466667-405.333333 405.333333 0 38.4 4.266667 72.533333 12.8 106.666667 4.266667 4.266667 4.266667 8.533333 4.266666 12.8z m482.133334-85.333334c-59.733333 0-106.666667 46.933333-106.666667 106.666667s46.933333 106.666667 106.666667 106.666667 106.666667-46.933333 106.666666-106.666667-51.2-106.666667-106.666666-106.666667z m256-311.466666c25.6 34.133333 46.933333 68.266667 64 106.666666 17.066667-34.133333 21.333333-64 12.8-81.066666-8.533333-17.066667-38.4-25.6-76.8-25.6zM217.6 529.066667c-12.8 0-21.333333-8.533333-21.333333-21.333334 0-29.866667 4.266667-55.466667 12.8-85.333333 4.266667-12.8 17.066667-17.066667 25.6-12.8 12.8 4.266667 17.066667 17.066667 12.8 25.6-8.533333 25.6-8.533333 46.933333-12.8 72.533333 4.266667 12.8-8.533333 21.333333-17.066667 21.333334z m42.666667-157.866667c-4.266667 0-8.533333 0-12.8-4.266667-8.533333-4.266667-8.533333-17.066667-4.266667-29.866666C268.8 298.666667 302.933333 268.8 341.333333 243.2c46.933333-29.866667 98.133333-46.933333 149.333334-46.933333h21.333333c12.8 0 21.333333 8.533333 21.333333 21.333333s-12.8 21.333333-21.333333 21.333333h-21.333333c-46.933333 4.266667-89.6 17.066667-128 42.666667-34.133333 21.333333-64 51.2-85.333334 85.333333 0 0-8.533333 4.266667-17.066666 4.266667z" ></path></symbol><symbol id="lm-player-S_Box_VideoCloud" viewBox="0 0 1024 1024"><path d="M864 960h-704C70.4 960 0 889.6 0 800v-576C0 134.4 70.4 64 160 64h704C953.6 64 1024 134.4 1024 224v576c0 89.6-70.4 160-160 160z m0-64c51.2 0 96-44.8 96-96v-64h-96V896z m-640 0h576V128h-576v768zM64 736v64c0 51.2 44.8 96 96 96v-160H64z m800-64H960v-128h-96v128zM64 672h96v-128H64v128z m800-192H960v-128h-96v128zM64 480h96v-128H64v128z m800-192H960v-64c0-51.2-44.8-96-96-96v160zM64 288h96V128C108.8 128 64 172.8 64 224v64z m576 416H377.6C307.2 697.6 256 640 256 576c0-57.6 44.8-108.8 96-121.6C371.2 377.6 435.2 320 512 320s140.8 57.6 160 134.4c51.2 12.8 96 64 96 121.6 0 70.4-57.6 128-128 128z m-256-64h256c38.4 0 64-25.6 64-64s-25.6-64-64-64c-19.2 0-32-12.8-32-32C608 428.8 563.2 384 512 384s-89.6 38.4-96 89.6v6.4c0 19.2-12.8 32-32 32-38.4 0-64 25.6-64 64 0 32 25.6 57.6 57.6 64H384z" ></path></symbol><symbol id="lm-player-S_Bar_LatLongYes" viewBox="0 0 1024 1024"><path d="M512.030402 0a31.9981 31.9981 0 0 1 31.48613 26.238442L544.028502 31.9981v65.212128A416.039298 416.039298 0 0 1 926.789775 479.971502H992.001903a31.9981 31.9981 0 1 1 0 63.9962h-65.212128a416.039298 416.039298 0 0 1-382.697277 382.761273L544.028502 991.941103a31.9981 31.9981 0 0 1-63.484231 5.759659L480.032302 991.941103v-65.212128a416.039298 416.039298 0 0 1-382.761274-382.697277L32.0589 543.967702a31.9981 31.9981 0 0 1-5.759658-63.484231L32.0589 479.971502h65.212128A416.039298 416.039298 0 0 1 480.032302 97.274224L480.032302 31.9981A31.9981 31.9981 0 0 1 512.030402 0z m0 159.990501a351.979101 351.979101 0 1 0 0 703.958202 351.979101 351.979101 0 0 0 0-703.958202z m0 191.9886a159.990501 159.990501 0 1 1 0 319.981001 159.990501 159.990501 0 0 1 0-319.981001z m0 63.9962a95.9943 95.9943 0 1 0 0 191.988601 95.9943 95.9943 0 0 0 0-191.988601z" ></path></symbol><symbol id="lm-player-S_Device_kuaijin" viewBox="0 0 1024 1024"><path d="M940.8 928c-19.2 0-32-12.8-32-32V128c0-19.2 12.8-32 32-32s32 12.8 32 32v768c0 19.2-12.8 32-32 32z" ></path><path d="M480 870.4h-12.8c-12.8-6.4-19.2-19.2-19.2-32V576l-358.4 281.6c-12.8 6.4-25.6 6.4-32 6.4-12.8-6.4-19.2-19.2-19.2-32V185.6c0-12.8 6.4-25.6 19.2-32 12.8-6.4 25.6-6.4 32 6.4L448 448V185.6c0-12.8 6.4-25.6 19.2-32 12.8-6.4 25.6-6.4 32 6.4l409.6 326.4c6.4 6.4 12.8 12.8 12.8 25.6s-6.4 19.2-12.8 25.6l-409.6 326.4c-6.4 6.4-12.8 6.4-19.2 6.4zM512 249.6V768l326.4-256L512 249.6z m-409.6 0V768l326.4-256-326.4-262.4z" ></path></symbol><symbol id="lm-player-S_Device_shezhi" viewBox="0 0 1024 1024"><path d="M697.6 1024c-19.2 0-32-12.8-32-32v-25.6c-51.2-6.4-96-25.6-134.4-57.6l-19.2 19.2c-12.8 12.8-32 12.8-44.8 0-12.8-12.8-12.8-32 0-44.8l19.2-19.2c-32-38.4-51.2-83.2-57.6-134.4h-25.6c-19.2 0-32-12.8-32-32s12.8-32 32-32h25.6c6.4-51.2 25.6-96 57.6-134.4L352 608c-12.8 6.4-25.6 6.4-32 0-12.8-6.4-19.2-19.2-19.2-32V320c0-12.8 6.4-19.2 19.2-25.6 12.8-6.4 19.2-6.4 32 0l217.6 128c6.4 6.4 12.8 12.8 12.8 25.6 25.6-12.8 51.2-19.2 83.2-25.6v-19.2c0-19.2 12.8-32 32-32s32 12.8 32 32v25.6c51.2 6.4 96 25.6 134.4 57.6l19.2-19.2c12.8-12.8 32-12.8 44.8 0s12.8 32 0 44.8l-19.2 19.2c32 38.4 51.2 83.2 57.6 134.4h25.6c19.2 0 32 12.8 32 32s-12.8 32-32 32h-25.6c-6.4 51.2-25.6 96-57.6 134.4l19.2 19.2c12.8 12.8 12.8 32 0 44.8s-32 12.8-44.8 0l-19.2-19.2c-38.4 32-83.2 51.2-134.4 57.6v25.6c0 19.2-12.8 32-32 32z m0-537.6c-115.2 0-211.2 96-211.2 211.2s96 211.2 211.2 211.2 211.2-96 211.2-211.2-96-211.2-211.2-211.2zM364.8 377.6v147.2L486.4 448 364.8 377.6z m332.8 416c-51.2 0-96-44.8-96-96s44.8-96 96-96 96 44.8 96 96-44.8 96-96 96z m0-128c-19.2 0-32 12.8-32 32s12.8 32 32 32 32-12.8 32-32-12.8-32-32-32z m-384 115.2H32c-19.2 0-32-12.8-32-32V32C0 12.8 12.8 0 32 0h825.6c19.2 0 32 12.8 32 32v358.4c0 19.2-12.8 32-32 32s-32-12.8-32-32V230.4H64v486.4h249.6c19.2 0 32 12.8 32 32s-12.8 32-32 32z m371.2-614.4h134.4V64h-38.4l-96 102.4z m-249.6 0h153.6L697.6 64H537.6L435.2 166.4zM192 166.4h153.6L448 64H294.4L192 166.4z m-128 0h38.4L198.4 64H64v102.4z" ></path></symbol><symbol id="lm-player-S_View_Playerpley" viewBox="0 0 1024 1024"><path d="M160 64a32 32 0 0 1 48.128-27.648l768 448a32 32 0 0 1 0 55.296l-768 448A32 32 0 0 1 160 960V64z m64 55.68v784.64L896.512 512 224 119.68z" ></path></symbol><symbol id="lm-player-S_View_RotateRight" viewBox="0 0 1024 1024"><path d="M512 32a479.744 479.744 0 0 1 390.4 200.704V128a32 32 0 1 1 64 0v192a32 32 0 0 1-32 32l-12.352 0.128a31.872 31.872 0 0 1-9.92 0L742.4 352a32 32 0 1 1 0-64h120.256A416 416 0 1 0 928 512a32 32 0 1 1 64 0A480 480 0 1 1 512 32z" ></path></symbol><symbol id="lm-player-S_View_ScreenSizeFull" viewBox="0 0 1024 1024"><path d="M320 992a32 32 0 1 1 0-64h160v-128h-448A32 32 0 0 1 0 768V64A32 32 0 0 1 32 32h960a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32h-448v128H704a32 32 0 0 1 31.488 26.24l0.512 5.76a32 32 0 0 1-32 32H320z m640-896H64v640h896v-640zM896 128a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32v-512A32 32 0 0 1 128 128h768z m-32 64h-704v448h704V192z" ></path></symbol><symbol id="lm-player-S_View_SoundMiddle" viewBox="0 0 1024 1024"><path d="M512 32.020999v959.958002a31.9986 31.9986 0 0 1-51.64574 25.278894L181.006481 799.987401H64.019599a31.9986 31.9986 0 0 1-31.9986-31.998601V256.0112a31.9986 31.9986 0 0 1 31.9986-31.998601h116.986882L460.35426 6.742105A31.9986 31.9986 0 0 1 512 32.020999zM448.0028 97.426138L211.66114 281.290094A31.9986 31.9986 0 0 1 192.013999 288.0098H96.018199v447.9804H192.013999a31.9986 31.9986 0 0 1 19.647141 6.719706L448.0028 926.573862V97.426138z m256.628772 29.950689a543.976201 543.976201 0 0 1 0 769.246346 31.9986 31.9986 0 1 1-45.24602-45.246021 479.979001 479.979001 0 0 0 0-678.754304 31.9986 31.9986 0 1 1 45.24602-45.246021zM568.957508 217.868868a31.9986 31.9986 0 0 1 45.182023 0 415.981801 415.981801 0 0 1 0 588.262264 31.9986 31.9986 0 0 1-45.24602-45.246021 351.984601 351.984601 0 0 0 0-497.770222 31.9986 31.9986 0 0 1 0-45.246021z" ></path></symbol><symbol id="lm-player-S_Edit_LoadDown" viewBox="0 0 1024 1024"><path d="M256 480a32 32 0 0 1 5.76 63.488L256 544H64V896h896V544h-192a32 32 0 0 1-5.76-63.488L768 480h224a32 32 0 0 1 31.488 26.24L1024 512v416a32 32 0 0 1-26.24 31.488L992 960H32a32 32 0 0 1-31.488-26.24L0 928V512a32 32 0 0 1 26.24-31.488L32 480H256z m608 288a32 32 0 0 1 5.76 63.488L864 832h-64a32 32 0 0 1-5.76-63.488L800 768h64z m-256 0h64a32 32 0 0 1 5.76 63.488L672 832h-64a32 32 0 0 1-5.76-63.488L608 768h64-64zM640 0a32 32 0 0 1 32 32v256H832a32 32 0 0 1 22.656 54.656l-320 320a32 32 0 0 1-45.312 0l-320-320A32 32 0 0 1 192 288h160v-256A32 32 0 0 1 384 0h256z m-32 64h-192v256a32 32 0 0 1-32 32H269.248L512 594.752 754.752 352H640a32 32 0 0 1-32-32V64z" ></path></symbol><symbol id="lm-player-S_Edit_Reset" viewBox="0 0 1024 1024"><path d="M77.417991 558.764439a31.041572 31.041572 0 0 1 31.041572 31.041572 217.291004 217.291004 0 0 0 205.371041 216.980588L325.750568 807.097015l483.751859-0.062083-102.188856-102.126772a31.041572 31.041572 0 0 1-3.538739-39.609046l3.538739-4.34582a31.041572 31.041572 0 0 1 39.609046-3.538739l4.34582 3.538739 155.952858 156.014941a31.227821 31.227821 0 0 1 7.636227 14.651622l0.496665 3.228324 0.18625 3.290406v1.241663a31.041572 31.041572 0 0 1-1.427913 8.132892l-0.931247 2.483326a30.669073 30.669073 0 0 1-2.483325 4.718319l-1.676245 2.421242-0.248333 0.310416-0.558748 0.682915a31.227821 31.227821 0 0 1-1.055414 1.241663l-155.890775 155.952858a31.041572 31.041572 0 0 1-47.493605-39.609046l3.538739-4.34582L809.502427 869.180159 325.750568 869.180159A279.374149 279.374149 0 0 1 46.376419 589.806011 31.041572 31.041572 0 0 1 77.417991 558.764439z m31.041572-372.498865v-1.241663a31.289905 31.289905 0 0 1 1.427913-8.132892l0.931247-2.483326a30.669073 30.669073 0 0 1 3.104157-5.773732l0.869164-1.117497a31.227821 31.227821 0 0 1 2.048744-2.483325L272.731563 9.142364a31.041572 31.041572 0 0 1 47.493605 39.609046l-3.538739 4.34582-102.250939 102.126772L698.249432 155.224002A279.374149 279.374149 0 0 1 977.623581 434.59815a31.041572 31.041572 0 1 1-62.083144 0A217.291004 217.291004 0 0 0 698.249432 217.307146l-483.813942-0.062083 102.250939 102.250938a31.041572 31.041572 0 0 1-39.609046 47.493606l-4.34582-3.53874L116.840788 207.373843l-1.055414-1.17958-0.558748-0.620831 1.614162 1.800411-1.862495-2.17291-1.738328-2.483326a32.283235 32.283235 0 0 1-4.097487-9.995386l-0.496665-3.228324L108.459563 186.265574z" ></path></symbol><symbol id="lm-player-S_View_SearchBox" viewBox="0 0 1024 1024"><path d="M192 32a32 32 0 0 1 32 32v32h576V64a32 32 0 0 1 32-32h128a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32h-32v576h32a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32h-128a32 32 0 0 1-32-32v-32h-576v32a32 32 0 0 1-32 32H64a32 32 0 0 1-32-32v-128a32 32 0 0 1 32-32h32v-576H64A32 32 0 0 1 32 192V64A32 32 0 0 1 64 32h128z m-32 832h-64v64h64v-64z m768 0h-64v64h64v-64z m-128-704h-576V192a32 32 0 0 1-32 32h-32v576H192a32 32 0 0 1 32 32v32h576V832a32 32 0 0 1 32-32h32v-576H832a32 32 0 0 1-32-32v-32zM512 288a224 224 0 0 1 179.2 358.4l3.456 2.944 64 64a32 32 0 0 1-45.312 45.312l-64-64a32.256 32.256 0 0 1-3.008-3.52A224 224 0 1 1 512 288z m0 64a160 160 0 1 0 0 320 160 160 0 0 0 0-320z m-352-256h-64v64h64v-64z m768 0h-64v64h64v-64z" ></path></symbol><symbol id="lm-player-S_View_PlayerPlay1" viewBox="0 0 1024 1024"><path d="M283.072 141.184L808.32 427.712a96 96 0 0 1 0 168.576L283.072 882.816A83.2 83.2 0 0 1 160 809.728V214.272a83.2 83.2 0 0 1 123.072-73.088z m-30.72 56.192A19.2 19.2 0 0 0 224 214.272v595.456a19.2 19.2 0 0 0 28.416 16.896l525.248-286.528a32 32 0 0 0 0-56.192L252.416 197.376z" ></path></symbol><symbol id="lm-player-YesorNo_No_Dark" viewBox="0 0 1024 1024"><path d="M213.12 234.88l21.76-21.76a32 32 0 0 1 43.648-1.408l191.36 167.424a64 64 0 0 0 84.288 0l191.296-167.424a32 32 0 0 1 43.712 1.472l21.632 21.632a32 32 0 0 1 1.472 43.712l-167.424 191.36a64 64 0 0 0 0 84.288l167.424 191.296a32 32 0 0 1-1.472 43.712l-21.632 21.632a32 32 0 0 1-43.712 1.472l-191.36-167.424a64 64 0 0 0-84.288 0l-191.296 167.424a32 32 0 0 1-43.712-1.472l-21.632-21.632a32 32 0 0 1-1.472-43.712l167.424-191.36a64 64 0 0 0 0-84.288L211.712 278.528a32 32 0 0 1 1.472-43.712z" ></path></symbol><symbol id="lm-player-Refresh_Main" viewBox="0 0 1024 1024"><path d="M716.864 266.176A320 320 0 1 0 832 512h64a384 384 0 1 1-125.12-283.648l76.608-53.696a25.6 25.6 0 0 1 40.32 19.648l10.88 204.608a32 32 0 0 1-44.48 31.168L665.6 349.824a25.6 25.6 0 0 1-4.672-44.544l55.872-39.104z" ></path></symbol><symbol id="lm-player-SearchBox" viewBox="0 0 1024 1024"><path d="M896 768h64v192h-192v-64H256v64H64v-192h64V256H64V64h192v64h512V64h192v192h-64v512z m-64 0V256h-64V192H256v64H192v512h64v64h512v-64h64z m-164.864-164.864L736 672a45.248 45.248 0 1 1-64 64l-68.864-68.864a224 224 0 1 1 64-64z" ></path></symbol><symbol id="lm-player-ZoomIn_Main" viewBox="0 0 1024 1024"><path d="M448 448V384a64 64 0 1 1 128 0v64h64a64 64 0 0 1 0 128H576v64a64 64 0 0 1-128 0V576H384a64 64 0 1 1 0-128h64z m411.2 347.2L960 896a45.248 45.248 0 1 1-64 64l-100.8-100.8A448 448 0 0 1 64 512a448 448 0 0 1 448-448 448 448 0 0 1 347.2 731.2zM896 512A384 384 0 1 0 128 512a384 384 0 1 0 768 0z" ></path></symbol><symbol id="lm-player-ZoomDefault_Main" viewBox="0 0 1024 1024"><path d="M847.616 784.512l99.328 99.328a44.608 44.608 0 0 1-63.104 63.104l-99.328-99.328A441.472 441.472 0 0 1 64 505.472 441.472 441.472 0 0 1 505.472 64a441.472 441.472 0 0 1 342.144 720.512z m36.224-279.04a378.368 378.368 0 1 0-756.8 0 378.368 378.368 0 1 0 756.8 0z m-374.656 192.96a189.184 189.184 0 1 1 0-378.432 189.184 189.184 0 0 1 0 378.432z" ></path></symbol><symbol id="lm-player-ZoomOut_Main" viewBox="0 0 1024 1024"><path d="M859.2 795.2L960 896a45.248 45.248 0 1 1-64 64l-100.8-100.8A448 448 0 0 1 64 512a448 448 0 0 1 448-448 448 448 0 0 1 347.2 731.2zM896 512A384 384 0 1 0 128 512a384 384 0 1 0 768 0zM384 448h256a64 64 0 0 1 0 128H384a64 64 0 1 1 0-128z" ></path></symbol><symbol id="lm-player-PrevFast" viewBox="0 0 1024 1024"><path d="M640 736L512 512l128-224-32-32L384 512l224 256 32-32z m192 0L704 512l128-224-32-32L576 512l224 256 32-32zM320 768V256H256v512h64z" ></path></symbol><symbol id="lm-player-NextFast_Light" viewBox="0 0 1024 1024"><path d="M384 736L512 512 384 288l32-32L640 512l-224 256-32-32z m320 32V256h64v512h-64z m-512-32L320 512 192 288l32-32L448 512l-224 256-32-32z" ></path></symbol><symbol id="lm-player-volume-close" viewBox="0 0 1024 1024"><path d="M496.64 182.613v659.2c0 11.947-7.253 15.36-16.213 7.254L249.6 643.84H123.307c-11.947 0-22.187-9.813-22.187-22.187V401.92c0-11.947 9.813-22.187 22.187-22.187H249.6l230.827-205.226c8.533-7.68 16.213-4.267 16.213 8.106z m409.173 228.694l-62.293-62.294-100.693 100.694-100.694-100.694-62.293 62.294L680.533 512 579.84 612.693l62.293 62.294 100.694-100.694L843.52 674.987l62.293-62.294L805.12 512l100.693-100.693z" ></path></symbol><symbol id="lm-player-volume-normal-fuben" viewBox="0 0 1024 1024"><path d="M496.64 182.613v659.2c0 11.947-7.253 15.36-16.213 7.254L249.6 643.84H123.307c-11.947 0-22.187-9.813-22.187-22.187V401.92c0-11.947 9.813-22.187 22.187-22.187H249.6l230.827-205.226c8.96-7.68 16.213-4.267 16.213 8.106zM760.32 512c0-96.853-78.933-175.787-175.787-175.787v87.894c48.64 0 87.894 39.253 87.894 87.893s-39.254 87.893-87.894 87.893v87.894c97.28 0 175.787-78.934 175.787-175.787z" ></path></symbol><symbol id="lm-player-volume-max" viewBox="0 0 1024 1024"><path d="M497.067 182.613v658.774c0 11.946-7.254 15.36-16.214 7.253l-230.826-204.8H123.733c-11.946 0-22.186-9.813-22.186-22.187V402.347c0-11.947 9.813-22.187 22.186-22.187h126.294l230.826-204.8c8.96-8.107 16.214-5.12 16.214 7.253z m84.053 500.054v-85.334c47.36 0 85.333-37.973 85.333-85.333s-37.973-85.333-85.333-85.333v-85.334c94.293 0 170.667 76.374 170.667 170.667S675.413 682.667 581.12 682.667z" fill="" ></path><path d="M922.453 512c0-188.587-152.746-341.333-341.333-341.333V256c141.227 0 256 114.773 256 256s-114.773 256-256 256v85.333C769.707 852.907 922.027 700.16 922.453 512z" fill="" ></path></symbol><symbol id="lm-player-ExitFull_Main" viewBox="0 0 1024 1024"><path d="M320 320h384a64 64 0 0 1 64 64v256a64 64 0 0 1-64 64H320a64 64 0 0 1-64-64V384a64 64 0 0 1 64-64zM256 224C256 288 224 320 160 320H0l96-96-64-64 64-64 64 64L256 64v160z m0 576V960l-96-96-64 64-64-64 64-64L0 704h160c64 0 96 32 96 96z m512-576V64l96 96 64-64 64 64-64 64L1024 320h-160c-64 0-96-32-96-96z m0 576c0-64 32-96 96-96H1024l-96 96 64 64-64 64-64-64L768 960v-160z" ></path></symbol><symbol id="lm-player-Full_Main" viewBox="0 0 1024 1024"><path d="M320 320h384a64 64 0 0 1 64 64v256a64 64 0 0 1-64 64H320a64 64 0 0 1-64-64V384a64 64 0 0 1 64-64zM64 224C64 160 96 128 160 128H320L224 224l64 64-64 64-64-64L64 384V224z m0 576V640l96 96 64-64 64 64-64 64L320 896H160c-64 0-96-32-96-96z m896-576V384l-96-96-64 64-64-64 64-64L704 128h160c64 0 96 32 96 96z m0 576c0 64-32 96-96 96H704l96-96-64-64 64-64 64 64L960 640v160z" ></path></symbol><symbol id="lm-player-Loading" viewBox="0 0 1024 1024"><path d="M249.836 210.77c5.558-3.827 10.73-7.527 15.812-10.695 4.967-3.314 9.807-6.121 14.208-8.785 2.18-1.362 4.374-2.515 6.425-3.673l5.873-3.281c0.945-0.551 1.789-0.953 2.625-1.377l2.425-1.226 4.381-2.233 1.954-1.004 2.219-1.093 3.918-1.924 7.184-3.527c2.883-1.44 5.996-3.272 8.694-5.22 26.969-19.458 33.057-57.094 13.599-84.063-19.458-26.968-57.094-33.057-84.063-13.599l-6.49 4.682-3.54 2.554-2.071 1.499-2.62 1.947-5.824 4.351a7267.87 7267.87 0 0 0-3.193 2.399c-1.091 0.824-2.25 1.676-3.282 2.533a33346.62 33346.62 0 0 1-6.735 5.441c-2.343 1.915-4.833 3.859-7.308 6.046-4.991 4.313-10.423 8.905-15.952 14.121-5.645 5.071-11.353 10.792-17.394 16.739-5.886 6.125-12.079 12.515-18.185 19.505-12.303 13.875-24.827 29.53-36.839 46.835a494.61 494.61 0 0 0-33.896 56.497 491.342 491.342 0 0 0-27.329 64.159c-1.02 2.77-1.888 5.605-2.789 8.428l-2.688 8.477c-1.692 5.691-3.266 11.429-4.857 17.152l-2.135 8.669c-0.683 2.896-1.479 5.756-2.051 8.682l-1.84 8.729-0.914 4.358-0.785 4.387a479.254 479.254 0 0 0-7.583 69.967c-0.302 5.759-0.239 11.514-0.279 17.214l-0.017 4.267c-0.001 1.42 0.069 2.841 0.101 4.257l0.25 8.464 0.127 4.204 0.264 4.188 0.531 8.317 0.278 4.451 0.399 3.933 0.792 7.821c0.14 1.313 0.244 2.561 0.412 3.918l0.527 4.098 1.056 8.115c0.185 1.337 0.33 2.695 0.549 4.002l0.648 3.91 1.289 7.744c1.825 10.246 3.911 20.188 6.263 29.766a463.195 463.195 0 0 0 16.342 52.81l2.255 5.904 1.108 2.899 1.186 2.836 4.611 10.976c3.247 7.033 6.19 13.723 9.353 19.831 6.048 12.328 12.043 22.661 17.007 31.096 5.121 8.359 9.212 14.84 12.197 19.141l4.472 6.638-3.293-7.292c-2.209-4.713-5.148-11.776-8.748-20.761-3.443-9.059-7.545-20.055-11.346-32.919-2.041-6.376-3.771-13.301-5.726-20.516l-2.612-11.204-0.667-2.878-0.583-2.935-1.183-5.957c-3.105-16.055-5.568-33.549-6.889-52.052-0.668-9.251-1.027-18.753-1.1-28.437l0.03-7.3 0.014-3.67c0.002-1.227 0.084-2.416 0.122-3.629l0.284-7.263 0.139-3.644c0.053-1.229 0.166-2.577 0.247-3.863a35704.717 35704.717 0 0 1 0.798-11.787l0.017-0.247c0.013 0.588 0.018 0.028 0.027 0.098l0.05-0.472 0.101-0.945 0.2-1.891 0.8-7.581 0.4-3.801 0.535-3.801 1.069-7.62c0.187-1.271 0.335-2.545 0.555-3.815l0.67-3.811c0.909-5.082 1.708-10.185 2.859-15.253a424.734 424.734 0 0 1 17.057-60.03l1.316-3.663 1.437-3.623 2.859-7.225c0.907-2.417 2.03-4.761 3.033-7.135l3.079-7.082c2.208-4.653 4.37-9.295 6.624-13.867l3.508-6.783c1.167-2.252 2.294-4.513 3.565-6.702a414.503 414.503 0 0 1 31.89-49.502 407.116 407.116 0 0 1 35.476-41.25 406.598 406.598 0 0 1 35.793-32.288c5.751-4.687 11.515-8.857 16.918-12.861zM1023.966 510.486l-0.001-0.005-0.875-7.954-1.051-9.554-0.687-6.125-1.153-8.152c-0.828-5.729-1.741-12.089-2.813-18.907l-4.259-20.887c-0.691-3.726-1.738-7.517-2.729-11.425l-3.102-12.024c-0.558-2.048-1.019-4.142-1.677-6.221l-1.958-6.314-4.07-13.021-1.049-3.333-1.211-3.324c-0.814-2.223-1.638-4.467-2.469-6.732-1.673-4.522-3.34-9.131-5.115-13.781l-5.938-13.981-3.046-7.123c-1.037-2.384-2.247-4.72-3.375-7.102l-6.997-14.388c-0.569-1.22-1.222-2.408-1.877-3.598l-1.958-3.583-3.95-7.211-3.995-7.265c-1.354-2.422-2.881-4.773-4.324-7.175l-8.875-14.427c-12.567-18.998-26.533-37.793-42.018-55.643-15.662-17.71-32.638-34.534-50.581-50.045a527.617 527.617 0 0 0-56.726-41.602c-19.622-12.201-39.702-22.647-59.484-31.64l-14.925-6.188c-2.47-0.995-4.881-2.072-7.356-2.979l-7.402-2.651-7.306-2.609-3.615-1.289c-1.198-0.434-2.394-0.863-3.618-1.21l-14.37-4.353c-2.366-0.691-4.68-1.466-7.035-2.069l-7.02-1.754-13.669-3.402c-4.524-0.941-8.985-1.788-13.341-2.655l-6.47-1.271-3.184-0.621-3.186-0.465-12.373-1.797-5.96-0.862c-1.957-0.298-3.928-0.403-5.85-0.61l-11.239-1.057c-3.638-0.329-7.151-0.735-10.598-0.81l-19.18-0.823-16.258 0.11-6.935 0.057c-2.177 0.091-4.219 0.237-6.115 0.34l-9.619 0.566-7.982 0.472 7.959 0.875 9.529 1.05c1.872 0.215 3.884 0.411 6.023 0.683l6.797 1.101 15.801 2.578 18.393 3.951c3.283 0.628 6.614 1.603 10.051 2.514l10.571 2.838c1.801 0.509 3.644 0.92 5.469 1.526l5.542 1.793 11.432 3.697 2.927 0.946 2.914 1.104 5.902 2.242c3.965 1.517 8.007 3.017 12.084 4.613l12.243 5.366 6.241 2.733c2.088 0.929 4.128 2.029 6.212 3.044l12.59 6.277c1.068 0.506 2.106 1.094 3.145 1.685l3.131 1.761 6.302 3.542 6.353 3.568c2.118 1.209 4.165 2.586 6.263 3.878l12.601 7.922c16.565 11.247 32.949 23.681 48.48 37.44a473.639 473.639 0 0 1 43.435 44.87 467.917 467.917 0 0 1 35.892 50.115c10.476 17.304 19.389 34.971 27.062 52.322 1.761 4.404 3.506 8.772 5.234 13.098 0.843 2.166 1.771 4.273 2.532 6.444l2.224 6.49 2.201 6.396 1.093 3.162c0.368 1.047 0.734 2.092 1.019 3.166l3.633 12.572c0.578 2.068 1.242 4.086 1.738 6.146l1.441 6.137 2.829 11.931 2.152 11.645 1.045 5.64 0.514 2.772 0.362 2.779 1.423 10.784 0.697 5.188c0.245 1.704 0.3 3.423 0.458 5.098l0.794 9.786c0.249 3.167 0.584 6.22 0.595 9.223l0.516 16.686-0.346 13.152-0.109 5.579-0.343 6.014-0.567 9.595-0.472 7.988c-0.169 3.219-0.107 6.829 0.256 10.138 3.638 33.056 33.383 56.904 66.438 53.267 33.056-3.637 56.905-33.382 53.268-66.438zM885.176 762.451l-4.868 5.897c-1.711 2.052-3.44 4.238-5.4 6.399-3.858 4.365-7.946 9.128-12.608 13.957-4.517 4.944-9.632 9.919-14.922 15.205-5.467 5.131-11.147 10.547-17.374 15.864-12.349 10.726-26.262 21.624-41.613 32.046a434.435 434.435 0 0 1-50.026 29.303 431.157 431.157 0 0 1-56.59 23.39c-2.436 0.874-4.935 1.6-7.419 2.361l-7.455 2.279c-5.006 1.425-10.053 2.742-15.078 4.091-2.536 0.593-5.075 1.187-7.617 1.78-2.545 0.566-5.051 1.25-7.622 1.714l-7.663 1.523-3.822 0.763-3.851 0.64a419.278 419.278 0 0 1-61.304 5.938c-5.039 0.219-10.081 0.088-15.068 0.072l-3.733-0.022c-1.238-0.012-2.392-0.1-3.587-0.145l-7.067-0.313-3.505-0.146-3.997-0.27-7.961-0.537-1.981-0.133-0.989-0.067-0.494-0.033c0.221-0.008-0.844-0.005 0.433-0.022l-0.226-0.025-3.593-0.396-7.127-0.78a406.62 406.62 0 0 1-53.494-10.013 402.48 402.48 0 0 1-45.808-14.792l-5.111-2.022-2.511-0.99-2.452-1.066-9.494-4.124c-6.074-2.917-11.861-5.522-17.131-8.352-10.648-5.379-19.552-10.718-26.826-15.11l-1.338-0.807a1085.391 1085.391 0 0 0-3.457-2.276l-4.116-2.687c-0.638-0.414-1.252-0.813-1.842-1.194l-2.021-1.354-3.621-2.439-6.637-4.472c-2.685-1.782-5.825-3.567-8.857-4.938-30.307-13.689-65.973-0.218-79.662 30.089-13.689 30.308-0.218 65.974 30.089 79.663l7.293 3.294 3.979 1.797 2.369 1.063 2.994 1.302c2.073 0.896 4.3 1.857 6.676 2.885l3.672 1.574 1.917 0.819 1.9 0.745c10.22 4.014 22.646 8.772 37.189 13.242 7.215 2.375 15.042 4.443 23.216 6.727l12.687 3.1 3.261 0.787 3.325 0.701 6.75 1.415c18.195 3.715 38.044 6.719 59.054 8.439a494.284 494.284 0 0 0 65.863 0.997l8.535-0.519 4.285-0.266 0.268-0.017c1.44-0.02 0.541-0.02 0.927-0.03l0.492-0.051 0.986-0.1 1.977-0.201 7.938-0.807 3.991-0.406 4.502-0.554 9.015-1.133c1.492-0.2 3.034-0.365 4.486-0.598l4.344-0.709c5.795-0.965 11.61-1.832 17.399-3.066a485.178 485.178 0 0 0 68.692-18.701l4.2-1.463 4.157-1.588 8.292-3.176c2.771-1.016 5.468-2.251 8.194-3.37l8.134-3.434c5.351-2.451 10.685-4.869 15.941-7.39l7.805-3.918c2.591-1.307 5.188-2.576 7.712-3.991a474.344 474.344 0 0 0 57.071-35.83 467.174 467.174 0 0 0 47.72-40.068 466.596 466.596 0 0 0 37.51-40.586c5.455-6.542 10.335-13.082 14.998-19.24 4.483-6.313 8.789-12.218 12.512-18 3.868-5.667 7.179-11.177 10.297-16.204 1.589-2.492 2.957-4.989 4.318-7.332 1.349-2.348 2.635-4.586 3.854-6.711 4.686-8.611 8.271-15.384 10.509-20.116l3.527-7.185-4.682 6.489c-2.985 4.266-7.65 10.33-13.635 17.935z" ></path></symbol><symbol id="lm-player-Pause_Main" viewBox="0 0 1024 1024"><path d="M256 192h64a64 64 0 0 1 64 64v512a64 64 0 0 1-64 64H256a64 64 0 0 1-64-64V256a64 64 0 0 1 64-64z m448 0h64a64 64 0 0 1 64 64v512a64 64 0 0 1-64 64h-64a64 64 0 0 1-64-64V256a64 64 0 0 1 64-64z" ></path></symbol><symbol id="lm-player-Play_Main" viewBox="0 0 1024 1024"><path d="M267.712 169.28l525.312 286.528a64 64 0 0 1 0 112.384l-525.312 286.528A51.2 51.2 0 0 1 192 809.728V214.272a51.2 51.2 0 0 1 75.712-44.992z" ></path></symbol><symbol id="lm-player-PlaySource" viewBox="0 0 1024 1024"><path d="M208 224h608a48 48 0 0 1 48 48v480a48 48 0 0 1-48 48H208a48 48 0 0 1-48-48V272a48 48 0 0 1 48-48z m-16 64v64h64v-64h-64z m0 96v64h64v-64h-64z m0 96v64h64v-64h-64z m0 96v64h64v-64h-64z m0 96v64h64v-64h-64z m576-384v64h64v-64h-64z m0 96v64h64v-64h-64z m0 96v64h64v-64h-64z m0 96v64h64v-64h-64z m0 96v64h64v-64h-64zM407.776 365.2A16 16 0 0 0 384 379.2v265.6a16 16 0 0 0 23.776 14L634.24 532.96a24 24 0 0 0 0-41.952l-226.464-125.824z" ></path></symbol></svg>', function (h) {
|
|
3
|
+
var a = (a = document.getElementsByTagName("script"))[a.length - 1],
|
|
4
|
+
l = a.getAttribute("data-injectcss"),
|
|
5
|
+
a = a.getAttribute("data-disable-injectsvg");
|
|
6
|
+
|
|
7
|
+
if (!a) {
|
|
8
|
+
var m,
|
|
9
|
+
_v,
|
|
10
|
+
c,
|
|
11
|
+
e,
|
|
12
|
+
t,
|
|
13
|
+
o = function o(a, l) {
|
|
14
|
+
l.parentNode.insertBefore(a, l);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
if (l && !h.__iconfont__svg__cssinject__) {
|
|
18
|
+
h.__iconfont__svg__cssinject__ = !0;
|
|
19
|
+
|
|
20
|
+
try {
|
|
21
|
+
document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
|
|
22
|
+
} catch (a) {
|
|
23
|
+
console && console.log(a);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
m = function m() {
|
|
28
|
+
var a,
|
|
29
|
+
l = document.createElement("div");
|
|
30
|
+
l.innerHTML = h._iconfont_svg_string_1153292, (l = l.getElementsByTagName("svg")[0]) && (l.setAttribute("aria-hidden", "true"), l.style.position = "absolute", l.style.width = 0, l.style.height = 0, l.style.overflow = "hidden", l = l, (a = document.body).firstChild ? o(l, a.firstChild) : a.appendChild(l));
|
|
31
|
+
}, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(m, 0) : (_v = function v() {
|
|
32
|
+
document.removeEventListener("DOMContentLoaded", _v, !1), m();
|
|
33
|
+
}, document.addEventListener("DOMContentLoaded", _v, !1)) : document.attachEvent && (c = m, e = h.document, t = !1, z(), e.onreadystatechange = function () {
|
|
34
|
+
"complete" == e.readyState && (e.onreadystatechange = null, i());
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function i() {
|
|
39
|
+
t || (t = !0, c());
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function z() {
|
|
43
|
+
try {
|
|
44
|
+
e.documentElement.doScroll("left");
|
|
45
|
+
} catch (a) {
|
|
46
|
+
return void setTimeout(z, 50);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
i();
|
|
50
|
+
}
|
|
51
|
+
}(window);
|
package/es/PlayerExt/index.css
CHANGED
package/es/ScreenPlayer/Live.js
CHANGED
|
@@ -128,7 +128,7 @@ function LivePlayer(_ref) {
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
_useUpdateEffect(function () {
|
|
131
|
-
return
|
|
131
|
+
return screenChange === null || screenChange === void 0 ? void 0 : screenChange(state.screenNum);
|
|
132
132
|
}, [state.screenNum]);
|
|
133
133
|
|
|
134
134
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _useInterval from "ahooks/es/useInterval";
|
|
1
2
|
import _useUpdate from "ahooks/es/useUpdate";
|
|
2
3
|
|
|
3
4
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
@@ -59,6 +60,14 @@ function LiveTools(_ref) {
|
|
|
59
60
|
};
|
|
60
61
|
|
|
61
62
|
var player = getPlayerItem();
|
|
63
|
+
/**
|
|
64
|
+
* 定时获取play状态
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
_useInterval(function () {
|
|
68
|
+
return update();
|
|
69
|
+
}, 2000);
|
|
70
|
+
|
|
62
71
|
return /*#__PURE__*/React.createElement("div", {
|
|
63
72
|
className: "player-tools"
|
|
64
73
|
}, /*#__PURE__*/React.createElement(DisableMark, {
|
|
@@ -339,6 +339,10 @@ function RecordPlayer(_ref) {
|
|
|
339
339
|
_useUpdateEffect(function () {
|
|
340
340
|
return onIndexChange === null || onIndexChange === void 0 ? void 0 : onIndexChange(state.selectIndex);
|
|
341
341
|
}, [state.selectIndex]);
|
|
342
|
+
/**
|
|
343
|
+
* 通知screenNum变化
|
|
344
|
+
*/
|
|
345
|
+
|
|
342
346
|
|
|
343
347
|
_useUpdateEffect(function () {
|
|
344
348
|
return screenChange === null || screenChange === void 0 ? void 0 : screenChange(state.screenNum);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _useInterval from "ahooks/es/useInterval";
|
|
1
2
|
import _useUpdate from "ahooks/es/useUpdate";
|
|
2
3
|
|
|
3
4
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
@@ -63,6 +64,14 @@ function RecordTools(_ref) {
|
|
|
63
64
|
};
|
|
64
65
|
|
|
65
66
|
var player = getPlayerItem();
|
|
67
|
+
/**
|
|
68
|
+
* 定时获取play状态
|
|
69
|
+
*/
|
|
70
|
+
|
|
71
|
+
_useInterval(function () {
|
|
72
|
+
return update();
|
|
73
|
+
}, 2000);
|
|
74
|
+
|
|
66
75
|
return /*#__PURE__*/React.createElement("div", {
|
|
67
76
|
className: "player-tools"
|
|
68
77
|
}, /*#__PURE__*/React.createElement("div", {
|
package/es/ScreenPlayer/demo.js
CHANGED
|
@@ -3,18 +3,12 @@ import _ConfigProvider from "antd/lib/config-provider";
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import LivePlayer from './Live';
|
|
5
5
|
var list = [{
|
|
6
|
-
url: 'https://
|
|
7
|
-
type: '
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
url: 'https://6a75ef90-1-server.antelopecloud.cn/flv_live?app=live&token=542453821_3356491776_1693535323_3a90f54c141b9a246d5679678ebafe90',
|
|
13
|
-
type: 'flv'
|
|
14
|
-
}, {
|
|
15
|
-
url: 'https://6a75ef90-6-server.antelopecloud.cn/flv_live?app=live&token=542449206_3356491776_1693535342_803846974f04eb02e8115d10432d062f',
|
|
16
|
-
type: 'flv'
|
|
17
|
-
}];
|
|
6
|
+
url: 'https://jxsr-api.antelopecloud.cn/cloud/v2/live/538505715.m3u8?client_token=538505715_0_1662689284_b3fa3a25322233281b05384cfd11dc9d',
|
|
7
|
+
type: 'hls'
|
|
8
|
+
} // { url: 'https://6a75ef89-1-server.antelopecloud.cn/flv_live?app=live&token=542446501_3356491776_1693535295_37062417b87df4be7dd5c02b01d87248', type: 'flv' },
|
|
9
|
+
// { url: 'https://6a75ef90-1-server.antelopecloud.cn/flv_live?app=live&token=542453821_3356491776_1693535323_3a90f54c141b9a246d5679678ebafe90', type: 'flv' },
|
|
10
|
+
// { url: 'https://6a75ef90-6-server.antelopecloud.cn/flv_live?app=live&token=542449206_3356491776_1693535342_803846974f04eb02e8115d10432d062f', type: 'flv' },
|
|
11
|
+
];
|
|
18
12
|
export default function App() {
|
|
19
13
|
return /*#__PURE__*/React.createElement(_ConfigProvider, {
|
|
20
14
|
prefixCls: "cloudapp"
|
package/es/ScreenPlayer/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import withErrorBoundary from '
|
|
1
|
+
import { withErrorBoundary } from 'react-error-boundary';
|
|
2
2
|
import LivePlayer from './Live';
|
|
3
3
|
import RecordPlayer from './Record';
|
|
4
|
+
import { errorBoundaryOptions } from '../ErrorFallback';
|
|
4
5
|
var Sceenplayer = {
|
|
5
|
-
LivePlayer: withErrorBoundary(LivePlayer),
|
|
6
|
-
RecordPlayer: withErrorBoundary(RecordPlayer)
|
|
6
|
+
LivePlayer: withErrorBoundary(LivePlayer, errorBoundaryOptions),
|
|
7
|
+
RecordPlayer: withErrorBoundary(RecordPlayer, errorBoundaryOptions)
|
|
7
8
|
};
|
|
8
9
|
export default Sceenplayer;
|
package/es/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { default as DisableMark } from './DisableMark';
|
|
|
11
11
|
export { default as DomMove } from './DomMove';
|
|
12
12
|
export { default as Drag } from './Drag';
|
|
13
13
|
export { default as Drawer } from './Drawer';
|
|
14
|
-
export { default as
|
|
14
|
+
export { default as ErrorFallback } from './ErrorFallback';
|
|
15
15
|
export { default as FrontendPlayer } from './FrontendPlayer';
|
|
16
16
|
export { default as FullScreen } from './FullScreen';
|
|
17
17
|
export { default as HightLevel } from './HightLevel';
|
|
@@ -40,4 +40,3 @@ export { default as useFullscreen } from './useFullscreen';
|
|
|
40
40
|
export { default as useHistory } from './useHistory';
|
|
41
41
|
export { default as useInfiniteScroll } from './useInfiniteScroll';
|
|
42
42
|
export { default as useVirtualList } from './useVirtualList';
|
|
43
|
-
export { default as withErrorBoundary } from './withErrorBoundary';
|
package/es/index.js
CHANGED
|
@@ -11,7 +11,7 @@ export { default as DisableMark } from './DisableMark';
|
|
|
11
11
|
export { default as DomMove } from './DomMove';
|
|
12
12
|
export { default as Drag } from './Drag';
|
|
13
13
|
export { default as Drawer } from './Drawer';
|
|
14
|
-
export { default as
|
|
14
|
+
export { default as ErrorFallback } from './ErrorFallback';
|
|
15
15
|
export { default as FrontendPlayer } from './FrontendPlayer';
|
|
16
16
|
export { default as FullScreen } from './FullScreen';
|
|
17
17
|
export { default as HightLevel } from './HightLevel';
|
|
@@ -39,5 +39,4 @@ export { default as Tree } from './Tree';
|
|
|
39
39
|
export { default as useFullscreen } from './useFullscreen';
|
|
40
40
|
export { default as useHistory } from './useHistory';
|
|
41
41
|
export { default as useInfiniteScroll } from './useInfiniteScroll';
|
|
42
|
-
export { default as useVirtualList } from './useVirtualList';
|
|
43
|
-
export { default as withErrorBoundary } from './withErrorBoundary';
|
|
42
|
+
export { default as useVirtualList } from './useVirtualList';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import _useFullscreen3 from "ahooks/es/useFullscreen";
|
|
2
|
+
|
|
3
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
4
|
+
|
|
5
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
6
|
+
|
|
7
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
8
|
+
|
|
9
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
10
|
+
|
|
11
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
12
|
+
|
|
13
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
14
|
+
|
|
15
|
+
import React, { useRef } from 'react';
|
|
16
|
+
export default function App() {
|
|
17
|
+
var ref1 = useRef();
|
|
18
|
+
var ref2 = useRef();
|
|
19
|
+
|
|
20
|
+
var _useFullscreen = _useFullscreen3(ref1),
|
|
21
|
+
_useFullscreen2 = _slicedToArray(_useFullscreen, 2),
|
|
22
|
+
fullscreen1 = _useFullscreen2[0],
|
|
23
|
+
options1 = _useFullscreen2[1];
|
|
24
|
+
|
|
25
|
+
var _useFullscreen4 = _useFullscreen3(ref2),
|
|
26
|
+
_useFullscreen5 = _slicedToArray(_useFullscreen4, 2),
|
|
27
|
+
fullscreen2 = _useFullscreen5[0],
|
|
28
|
+
options2 = _useFullscreen5[1];
|
|
29
|
+
|
|
30
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
31
|
+
className: "App"
|
|
32
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
33
|
+
style: {
|
|
34
|
+
width: 400,
|
|
35
|
+
height: 400,
|
|
36
|
+
background: 'blue'
|
|
37
|
+
},
|
|
38
|
+
ref: ref1
|
|
39
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
40
|
+
onClick: options1.toggleFullscreen
|
|
41
|
+
}, "\u7236\u5143\u7D20", fullscreen1 ? '退出全屏' : '全屏'), /*#__PURE__*/React.createElement("div", {
|
|
42
|
+
style: {
|
|
43
|
+
width: 200,
|
|
44
|
+
height: 200,
|
|
45
|
+
background: 'red'
|
|
46
|
+
},
|
|
47
|
+
ref: ref2
|
|
48
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
49
|
+
onClick: options2.toggleFullscreen
|
|
50
|
+
}, "\u5B50\u5143\u7D20", fullscreen2 ? '退出全屏' : '全屏'))), /*#__PURE__*/React.createElement("div", null));
|
|
51
|
+
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"private": false,
|
|
3
3
|
"name": "@cloud-app-dev/vidc",
|
|
4
4
|
"description": "Video Image Data Componennts",
|
|
5
|
-
"version": "3.0.
|
|
5
|
+
"version": "3.0.15",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "dumi dev",
|
|
8
8
|
"docs:build": "dumi build",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"immer": "^9.0.15",
|
|
38
38
|
"lodash-es": "^4.17.21",
|
|
39
39
|
"moment": "^2.29.4",
|
|
40
|
+
"react-error-boundary": "^3.1.4",
|
|
40
41
|
"screenfull": "^6.0.2"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
package/test.html
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Document</title>
|
|
8
|
+
<script src="./test.js"></script>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<script>
|
|
12
|
+
const html = `<p class=MsoNormal ><span ><font face="仿宋_GB2312" >涉案服装合格证上带有</font><font face="仿宋_GB2312" >“售后服务热线:18928955232”等信息;购物小票显示该店地址为“芙蓉中路一段88号天健芙蓉盛,汇名仓外贸服装店(小门东1门旁)”,并且带有“合作热线:188-1184-0024、13360003040”等信息;店内宣传有“DHC二维码”等信息。涉案服装合格证上带有“‘</font></span><img width="720" height="720" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2671.png" ><span ><font face="仿宋_GB2312" >’商标、</font></span><span><a href="http://www.dhcfs.com" ><u><span class="16" ><font face="仿宋_GB2312" >www.dhcfs.com</font></span></u></a></span><span ><font face="仿宋_GB2312" >网址</font><font face="仿宋_GB2312" >”等信息,下方显示地址为“开平市幕沙路70号益华广场B幢131室”;购物小票上显示官网网址为“</font></span><span><a href="http://www.dhcfs.com" ><u><span class="16" ><font face="仿宋_GB2312" >www.dhcfs.com</font></span></u></a></span><span ><font face="仿宋_GB2312" >”;购物塑料袋上带有“‘</font></span><img width="720" height="720" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2672.png" ><a href="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2672.png">11111</a><span ><font face="仿宋_GB2312" >’商标、</font></span><span><a href="http://www.dhcfs.com" ><u><span class="16" ><font face="仿宋_GB2312" >www.dhcfs.com</font></span></u></a></span><span ><font face="仿宋_GB2312" >网址</font><font face="仿宋_GB2312" >”等信息。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >1:同其他实物证据意见一致。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >2、4:同上意见。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >原:出示证据</font><font face="仿宋_GB2312" >12封存实物。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >?:各被告确认被控侵权产品封存是否完好。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >1:完好。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >2、4:完好。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >?:当庭开启,发表比对意见。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >原:(</font><font face="仿宋_GB2312" >1)1件蓝色棒球运动服,正面带有“</font></span><img width="1576" height="1440" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2673.jpg" ><span ><font face="仿宋_GB2312" >” “YANKEES”标识,与原告第4336076号、第4336075号注册商标相同,背面带有“YANKEES”标识,与原告第4336075号注册商标相同,衣袖带有“</font></span><img width="2560" height="1390" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2674.jpg" ><span ><font face="仿宋_GB2312" >”标识,与原告第1800888号注册商标相同,纽扣使用“MLB”标识,与原告第4336063号注册商标相同,水洗标带有“</font></span><img width="1249" height="720" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2675.jpg" ><span ><font face="仿宋_GB2312" >” “MLB”标识,与原告第506821号、第4336063号注册商标相同;</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >(</font><font face="仿宋_GB2312" >2)1条紫色裤子,正面带有“</font></span><img width="1440" height="1932" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2676.jpg" ><span ><font face="仿宋_GB2312" >” “</font></span><img width="1280" height="652" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2677.jpg" ><span ><font face="仿宋_GB2312" >”标识,与原告第506820号、第4336084号注册商标相同,裤子的背面带有“</font></span><img width="2560" height="1390" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2678.jpg" ><span ><font face="仿宋_GB2312" >”标识,与原告第1800888号注册商标相同,水洗标带有“</font></span><img width="1249" height="720" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2679.jpg" ><span ><font face="仿宋_GB2312" >” “MLB”标识,与原告第506821号、第4336063号注册商标相同。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >1:真实性、合法性无异议,关联性不认可。该商品并非被告1销售,也没有证据证明该商品属于侵权商品,销售方有可能是从合法途径进货销售的。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >2、4:同被告1意见。关于购物袋和卡牌的意见与证据8一致。被告胡拔庆与</font></span><span ><font face="仿宋_GB2312" >大汇仓设计室旗下店铺</font><font face="仿宋_GB2312" >“汇名仓 外贸出口成衣工厂店”(长沙华创店)有其他自有品牌合作,没有授权其在该被控侵权产品上使用,该商品来源我方也不清楚,应当由该店铺经营者自行陈述。涉案产品也不是我方销售给涉案店铺的。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >原:出示证据</font><font face="仿宋_GB2312" >14封存实物。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >?:各被告确认被控侵权产品封存是否完好。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >1:完好。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >2、4:完好。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >?:当庭开启,发表比对意见。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >原:(</font><font face="仿宋_GB2312" >1)1件深蓝色棒球服,正面带有“</font></span><img width="1576" height="1440" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2680.jpg" ><span ><font face="仿宋_GB2312" >” “YANKEES”标识,与原告第4336076号、第4336075号注册商标相同,背面带有“</font></span><img width="2560" height="1386" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2681.jpg" ><span ><font face="仿宋_GB2312" >”标识,与原告第</font></span><span >1800888</span><span ><font face="仿宋_GB2312" >号注册商标相同,纽扣使用</font><font face="仿宋_GB2312" >“MLB”标识,与原告第4336063号注册商标相同,水洗标带有“</font></span><img width="1241" height="720" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2682.jpg" ><span ><font face="仿宋_GB2312" >” “MLB”标识,与原告第</font></span><span >506821</span><span ><font face="仿宋_GB2312" >号、第</font><font face="仿宋_GB2312" >4336063号注册商标相同;</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >(</font><font face="仿宋_GB2312" >2)1件蓝色卫衣,正面带有“</font></span><img width="1440" height="1540" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2683.jpg" ><span ><font face="仿宋_GB2312" >” “YANKEES”标识,与原告第</font></span><span >506836</span><span ><font face="仿宋_GB2312" >号、第</font><font face="仿宋_GB2312" >4336075号注册商标相同,水洗标带有“</font></span><img width="1241" height="720" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2684.jpg" ><span ><font face="仿宋_GB2312" >” “MLB”标识,与原告第</font></span><span >506821</span><span ><font face="仿宋_GB2312" >号、第</font><font face="仿宋_GB2312" >4336063号注册商标相同。蓝色卫衣吊牌“大汇仓”商标以及网站与其他被控侵权产品实物一致,但是吊牌上售后服务热线为4008088140,经销商为南京庆创服饰有限公司。</font></span><span ><o:p></o:p></span></p><table class=MsoTableGrid border=1 cellspacing=0 ><tr><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td></tr><tr><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td></tr><tr><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td></tr><tr><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td></tr><tr><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td></tr><tr><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td><td width=66 valign=top ><p class=MsoNormal ><span ><o:p> </o:p></span></p></td></tr></table><p class=MsoNormal ><span ><o:p> </o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >1:与其他侵权实物证据质证意见一致。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >2、4:公证书、实物真实性、合法性无异议,认可蓝色棒球服上的卡牌是被告、4提供,但是蓝色卫衣该吊牌上所显示公司并不存在,该卡牌长的与被告2、4提供的卡牌有部分相似之处,但并不是被告提供,不清楚来源,细看发现字体和颜色是有差异的。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >原:从蓝色卫衣上的大汇仓商标和网站信息可以将商品来源指向被告</font><font face="仿宋_GB2312" >2、4。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >原:出示证据</font><font face="仿宋_GB2312" >16封存实物。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >?:各被告确认被控侵权产品封存是否完好。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >1:完好。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >被</font><font face="仿宋_GB2312" >2、4:完好。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >?:当庭开启,发表比对意见。</font></span><span ><o:p></o:p></span></p><p class=MsoNormal ><span ><font face="仿宋_GB2312" >原:</font><font face="仿宋_GB2312" >1件蓝色棒球运动服,正面带有“</font></span><img width="1576" height="1440" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2685.jpg" ><span ><font face="仿宋_GB2312" >” “YANKEES”标识,与原告第4336076号、第4336075号注册商标相同,背面带有“</font></span><img width="2560" height="1390" src="file:////private/var/folders/51/wvlmktvs2r3__qp4bg2q5nbm0000gn/T/com.kingsoft.wpsoffice.mac/wps-huang/ksohtml//wps2686.jpg" ><span ><font face="仿宋_GB2312" >”标识,与原告第1800888号注册商标相同,纽扣带有“MLB”标识,与原告第4336063号注册商标相同,水</font></span></p>`
|
|
13
|
+
document.body.innerHTML = parseHtml(html)
|
|
14
|
+
</script>
|
|
15
|
+
</body>
|
|
16
|
+
</html>
|
package/test.js
CHANGED
|
@@ -1,48 +1,96 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
const igrone_tag = ['table', 'ul', 'ol', 'img'];
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param {string} html
|
|
6
|
+
* @returns {HTMLElement}
|
|
7
|
+
*/
|
|
8
|
+
function parseHtml(html) {
|
|
9
|
+
let htmlstr = '';
|
|
10
|
+
const doc = new DOMParser().parseFromString(html, 'text/html');
|
|
11
|
+
Array.from(doc.body.childNodes).forEach((item) => {
|
|
12
|
+
const tag = item.tagName ? item.tagName.toLowerCase() : '';
|
|
13
|
+
const html_str = getNodeHTML(item);
|
|
14
|
+
htmlstr += igrone_tag.includes(tag) ? html_str : `<p class="parse-html-p">${html_str}</p>`;
|
|
15
|
+
});
|
|
16
|
+
return htmlstr;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const filter_map = {
|
|
20
|
+
img: filterImgAttr,
|
|
21
|
+
table: filterTableAttr,
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param {HTMLElement} node HTML
|
|
27
|
+
* @returns {string}
|
|
28
|
+
*/
|
|
29
|
+
function getNodeHTML(node, html = '') {
|
|
30
|
+
if (node.nodeType === 3) {
|
|
31
|
+
html += node.textContent.replace(/\s/, '');
|
|
32
|
+
return html;
|
|
30
33
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
|
|
35
|
+
// 过滤其他
|
|
36
|
+
if (node.nodeType !== 1) {
|
|
37
|
+
return html;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const tag = node.tagName.toLowerCase();
|
|
41
|
+
|
|
42
|
+
switch (tag) {
|
|
43
|
+
case 'img':
|
|
44
|
+
case 'table':
|
|
45
|
+
filter_map[tag](node);
|
|
46
|
+
html += node.outerHTML;
|
|
47
|
+
break;
|
|
48
|
+
default:
|
|
49
|
+
const childNodes = node.childNodes;
|
|
50
|
+
if (childNodes.length > 0) {
|
|
51
|
+
Array.from(childNodes).forEach((item) => {
|
|
52
|
+
html += getNodeHTML(item); // 合并标签处理,并且递归处理子元素
|
|
53
|
+
});
|
|
54
|
+
} else {
|
|
55
|
+
html += node.innerText.replace(/\s/, '');
|
|
56
|
+
}
|
|
57
|
+
break;
|
|
45
58
|
}
|
|
46
|
-
return
|
|
59
|
+
return html;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @param {HTMLElement} node
|
|
65
|
+
*/
|
|
66
|
+
function filterImgAttr(node) {
|
|
67
|
+
node.removeAttribute('width');
|
|
68
|
+
node.removeAttribute('height');
|
|
69
|
+
|
|
70
|
+
// 非顶层的img定义成行内元素,顶层定义为块元素
|
|
71
|
+
if (node.parentNode !== document.body) {
|
|
72
|
+
node.setAttribute('width', 40);
|
|
73
|
+
node.setAttribute('class', 'parse-html-img-inline');
|
|
74
|
+
} else {
|
|
75
|
+
node.style.display = 'block';
|
|
76
|
+
node.setAttribute('class', 'parse-html-img-block');
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @param {HTMLTableElement} node
|
|
83
|
+
*/
|
|
84
|
+
function filterTableAttr(node) {
|
|
85
|
+
// 表格自适应
|
|
86
|
+
node.setAttribute('width', '100%');
|
|
87
|
+
node.setAttribute('class', 'parse-html-table');
|
|
88
|
+
const tds = node.querySelectorAll('td');
|
|
89
|
+
Array.from(tds).forEach((item_td) => {
|
|
90
|
+
//td 自适应
|
|
91
|
+
item_td.removeAttribute('width');
|
|
92
|
+
|
|
93
|
+
//格式化td内容
|
|
94
|
+
item_td.innerHTML = parseHtml(item_td.innerHTML);
|
|
95
|
+
});
|
|
47
96
|
}
|
|
48
|
-
console.log(completionSegments(1660492800000, 1660579199000, data))
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { Component, ErrorInfo } from 'react';
|
|
2
|
-
export declare type IErrorBoundaryProps = {
|
|
3
|
-
fallback?: React.ReactNode;
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
};
|
|
6
|
-
declare type State = {
|
|
7
|
-
error: boolean;
|
|
8
|
-
};
|
|
9
|
-
declare class ErrorBoundary extends Component<IErrorBoundaryProps, State> {
|
|
10
|
-
state: State;
|
|
11
|
-
static defaultProps: {
|
|
12
|
-
fallback: () => JSX.Element;
|
|
13
|
-
};
|
|
14
|
-
static getDerivedStateFromError(error: Error): State;
|
|
15
|
-
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
16
|
-
render(): React.ReactNode;
|
|
17
|
-
}
|
|
18
|
-
export default ErrorBoundary;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
-
|
|
3
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
4
|
-
|
|
5
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
6
|
-
|
|
7
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
8
|
-
|
|
9
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
10
|
-
|
|
11
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
12
|
-
|
|
13
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
14
|
-
|
|
15
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
16
|
-
|
|
17
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
18
|
-
|
|
19
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
20
|
-
|
|
21
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
22
|
-
|
|
23
|
-
import React, { Component } from 'react';
|
|
24
|
-
|
|
25
|
-
var ErrorBoundary = /*#__PURE__*/function (_Component) {
|
|
26
|
-
_inherits(ErrorBoundary, _Component);
|
|
27
|
-
|
|
28
|
-
var _super = _createSuper(ErrorBoundary);
|
|
29
|
-
|
|
30
|
-
function ErrorBoundary() {
|
|
31
|
-
var _this;
|
|
32
|
-
|
|
33
|
-
_classCallCheck(this, ErrorBoundary);
|
|
34
|
-
|
|
35
|
-
_this = _super.apply(this, arguments);
|
|
36
|
-
_this.state = {
|
|
37
|
-
error: false
|
|
38
|
-
};
|
|
39
|
-
return _this;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
_createClass(ErrorBoundary, [{
|
|
43
|
-
key: "componentDidCatch",
|
|
44
|
-
value: function componentDidCatch(error, info) {
|
|
45
|
-
console.error('ErrorBoundary:', error, info);
|
|
46
|
-
}
|
|
47
|
-
}, {
|
|
48
|
-
key: "render",
|
|
49
|
-
value: function render() {
|
|
50
|
-
var error = this.state.error;
|
|
51
|
-
var _this$props = this.props,
|
|
52
|
-
children = _this$props.children,
|
|
53
|
-
fallback = _this$props.fallback;
|
|
54
|
-
|
|
55
|
-
if (error) {
|
|
56
|
-
return fallback;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
return children;
|
|
60
|
-
}
|
|
61
|
-
}], [{
|
|
62
|
-
key: "getDerivedStateFromError",
|
|
63
|
-
value: function getDerivedStateFromError(error) {
|
|
64
|
-
console.error(error);
|
|
65
|
-
return {
|
|
66
|
-
error: true
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
}]);
|
|
70
|
-
|
|
71
|
-
return ErrorBoundary;
|
|
72
|
-
}(Component);
|
|
73
|
-
|
|
74
|
-
ErrorBoundary.defaultProps = {
|
|
75
|
-
fallback: function fallback() {
|
|
76
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
export default ErrorBoundary;
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: "lm-player-iconfont"; /* Project id 1153292 */
|
|
3
|
-
src: url('iconfont.woff2?t=1661511384224') format('woff2'),
|
|
4
|
-
url('iconfont.woff?t=1661511384224') format('woff'),
|
|
5
|
-
url('iconfont.ttf?t=1661511384224') format('truetype');
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.lm-player-iconfont {
|
|
9
|
-
font-family: "lm-player-iconfont" !important;
|
|
10
|
-
font-size: 16px;
|
|
11
|
-
font-style: normal;
|
|
12
|
-
-webkit-font-smoothing: antialiased;
|
|
13
|
-
-moz-osx-font-smoothing: grayscale;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.lm-player-xiazai:before {
|
|
17
|
-
content: "\e6d0";
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.lm-player-bofang:before {
|
|
21
|
-
content: "\e6cf";
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.lm-player-tingzhi:before {
|
|
25
|
-
content: "\e6ce";
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.lm-player-quanbuguanbi:before {
|
|
29
|
-
content: "\e6cc";
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.lm-player-huamianshiying:before {
|
|
33
|
-
content: "\e6cb";
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.lm-player-quanping:before {
|
|
37
|
-
content: "\e6c6";
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.lm-player-a-guanbi_close-one11:before {
|
|
41
|
-
content: "\e623";
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.lm-player-lunxunkaishi:before {
|
|
45
|
-
content: "\e6c3";
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.lm-player-fenping16:before {
|
|
49
|
-
content: "\e6c5";
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.lm-player-xiangji1fill:before {
|
|
53
|
-
content: "\e77e";
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.lm-player-M_Device_jiazaishibai:before {
|
|
57
|
-
content: "\e6de";
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.lm-player-M_Bar_CloudAuto:before {
|
|
61
|
-
content: "\e6c9";
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.lm-player-S_Box_VideoCloud:before {
|
|
65
|
-
content: "\e6ca";
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.lm-player-S_Bar_LatLongYes:before {
|
|
69
|
-
content: "\e792";
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.lm-player-S_Device_kuaijin:before {
|
|
73
|
-
content: "\e6c7";
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.lm-player-S_Device_shezhi:before {
|
|
77
|
-
content: "\e6c8";
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.lm-player-S_View_Playerpley:before {
|
|
81
|
-
content: "\e827";
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.lm-player-S_View_RotateRight:before {
|
|
85
|
-
content: "\e828";
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.lm-player-S_View_ScreenSizeFull:before {
|
|
89
|
-
content: "\e82d";
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.lm-player-S_View_SoundMiddle:before {
|
|
93
|
-
content: "\e835";
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.lm-player-S_Edit_LoadDown:before {
|
|
97
|
-
content: "\e7b6";
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.lm-player-S_Edit_Reset:before {
|
|
101
|
-
content: "\e7c3";
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.lm-player-S_View_SearchBox:before {
|
|
105
|
-
content: "\e833";
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.lm-player-S_View_PlayerPlay1:before {
|
|
109
|
-
content: "\e6b7";
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.lm-player-YesorNo_No_Dark:before {
|
|
113
|
-
content: "\e6dd";
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.lm-player-Refresh_Main:before {
|
|
117
|
-
content: "\e687";
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.lm-player-SearchBox:before {
|
|
121
|
-
content: "\e706";
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.lm-player-ZoomIn_Main:before {
|
|
125
|
-
content: "\e663";
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.lm-player-ZoomDefault_Main:before {
|
|
129
|
-
content: "\e664";
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.lm-player-ZoomOut_Main:before {
|
|
133
|
-
content: "\e665";
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.lm-player-PrevFast:before {
|
|
137
|
-
content: "\e71f";
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.lm-player-NextFast_Light:before {
|
|
141
|
-
content: "\e720";
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.lm-player-volume-close:before {
|
|
145
|
-
content: "\e602";
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.lm-player-volume-normal-fuben:before {
|
|
149
|
-
content: "\e604";
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.lm-player-volume-max:before {
|
|
153
|
-
content: "\e605";
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.lm-player-ExitFull_Main:before {
|
|
157
|
-
content: "\e68e";
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.lm-player-Full_Main:before {
|
|
161
|
-
content: "\e690";
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.lm-player-Loading:before {
|
|
165
|
-
content: "\e65d";
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.lm-player-Pause_Main:before {
|
|
169
|
-
content: "\e652";
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.lm-player-Play_Main:before {
|
|
173
|
-
content: "\e654";
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.lm-player-PlaySource:before {
|
|
177
|
-
content: "\e6cd";
|
|
178
|
-
}
|
|
179
|
-
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IErrorBoundaryProps } from '../ErrorBoundary';
|
|
3
|
-
/**
|
|
4
|
-
* HOC
|
|
5
|
-
* @param Component 业务组件
|
|
6
|
-
* @param errorBoundaryProps error boundary的props
|
|
7
|
-
*/
|
|
8
|
-
declare function withErrorBoundary<P>(Component: React.ComponentType<P>, errorBoundaryProps?: IErrorBoundaryProps): React.ComponentType<P>;
|
|
9
|
-
export default withErrorBoundary;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import "antd/lib/button/style";
|
|
2
|
-
import _Button from "antd/lib/button";
|
|
3
|
-
import "antd/lib/result/style";
|
|
4
|
-
import _Result from "antd/lib/result";
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import ErrorBoundary from '../ErrorBoundary';
|
|
7
|
-
|
|
8
|
-
var Fallback = function Fallback() {
|
|
9
|
-
return /*#__PURE__*/React.createElement(_Result, {
|
|
10
|
-
status: "warning",
|
|
11
|
-
title: "\u7EC4\u4EF6\u65E0\u6CD5\u6210\u529F\u6E32\u67D3\uFF0C\u8BF7\u5237\u65B0\u91CD\u8BD5",
|
|
12
|
-
style: {
|
|
13
|
-
width: '100%',
|
|
14
|
-
height: '100%'
|
|
15
|
-
},
|
|
16
|
-
extra: /*#__PURE__*/React.createElement(_Button, {
|
|
17
|
-
type: "primary",
|
|
18
|
-
key: "refresh",
|
|
19
|
-
onClick: function onClick() {
|
|
20
|
-
return window.location.reload();
|
|
21
|
-
}
|
|
22
|
-
}, "\u5237\u65B0\uFF0C\u91CD\u8BD5")
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* HOC
|
|
27
|
-
* @param Component 业务组件
|
|
28
|
-
* @param errorBoundaryProps error boundary的props
|
|
29
|
-
*/
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
function withErrorBoundary(Component, errorBoundaryProps) {
|
|
33
|
-
var Wrapped = function Wrapped(props) {
|
|
34
|
-
return /*#__PURE__*/React.createElement(ErrorBoundary, Object.assign({
|
|
35
|
-
fallback: /*#__PURE__*/React.createElement(Fallback, null)
|
|
36
|
-
}, errorBoundaryProps), /*#__PURE__*/React.createElement(Component, Object.assign({}, props)));
|
|
37
|
-
}; // DevTools 显示的组件名
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
var name = Component.displayName || Component.name || 'Unknown';
|
|
41
|
-
Wrapped.displayName = "withErrorBoundary(".concat(name, ")");
|
|
42
|
-
return Wrapped;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export default withErrorBoundary;
|