@vtx/player 0.0.15 → 0.0.16
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/lib/controls/style/css.js +10 -0
- package/lib/controls/style/css.js.map +1 -1
- package/lib/controls/style/index.d.ts +5 -0
- package/lib/controls/style/index.js +10 -0
- package/lib/controls/style/index.js.map +1 -1
- package/lib/history-control/index.d.ts +1 -1
- package/lib/history-control/index.js +2 -2
- package/lib/history-control/index.js.map +1 -1
- package/lib/history-control/style/css.js +8 -0
- package/lib/history-control/style/css.js.map +1 -1
- package/lib/history-control/style/index.d.ts +4 -0
- package/lib/history-control/style/index.js +8 -0
- package/lib/history-control/style/index.js.map +1 -1
- package/lib/history-player/style/css.js +4 -0
- package/lib/history-player/style/css.js.map +1 -1
- package/lib/history-player/style/index.d.ts +2 -0
- package/lib/history-player/style/index.js +4 -0
- package/lib/history-player/style/index.js.map +1 -1
- package/lib/live-control/style/css.js +4 -0
- package/lib/live-control/style/css.js.map +1 -1
- package/lib/live-control/style/index.d.ts +3 -0
- package/lib/live-control/style/index.js +4 -0
- package/lib/live-control/style/index.js.map +1 -1
- package/lib/live-player/demo/src/components/lib/vtx-color-picker/style/index.css +12 -0
- package/lib/live-player/demo/src/components/lib/vtx-color-picker/style/index.less +12 -0
- package/lib/live-player/demo/src/components/lib/vtx-combogrid/style/index.css +24 -0
- package/lib/live-player/demo/src/components/lib/vtx-combogrid/style/index.less +29 -0
- package/lib/live-player/demo/src/components/lib/vtx-datagrid/style/index.css +136 -0
- package/lib/live-player/demo/src/components/lib/vtx-datagrid/style/index.less +166 -0
- package/lib/live-player/demo/src/components/lib/vtx-date-picker/style/index.css +29 -0
- package/lib/live-player/demo/src/components/lib/vtx-date-picker/style/index.less +39 -0
- package/lib/live-player/demo/src/components/lib/vtx-editor/style/index.css +6 -0
- package/lib/live-player/demo/src/components/lib/vtx-editor/style/index.less +8 -0
- package/lib/live-player/demo/src/components/lib/vtx-ellipsis-text/style/index.css +13 -0
- package/lib/live-player/demo/src/components/lib/vtx-ellipsis-text/style/index.less +13 -0
- package/lib/live-player/demo/src/components/lib/vtx-export/style/index.css +8 -0
- package/lib/live-player/demo/src/components/lib/vtx-export/style/index.less +6 -0
- package/lib/live-player/demo/src/components/lib/vtx-form-layout/demo/Modal.css +42 -0
- package/lib/live-player/demo/src/components/lib/vtx-form-layout/demo/Modal.less +43 -0
- package/lib/live-player/demo/src/components/lib/vtx-form-layout/style/index.css +224 -0
- package/lib/live-player/demo/src/components/lib/vtx-form-layout/style/index.less +211 -0
- package/lib/live-player/demo/src/components/lib/vtx-image/style/index.css +46 -0
- package/lib/live-player/demo/src/components/lib/vtx-image/style/index.less +63 -0
- package/lib/live-player/demo/src/components/lib/vtx-import/style/index.css +3 -0
- package/lib/live-player/demo/src/components/lib/vtx-import/style/index.less +8 -0
- package/lib/live-player/demo/src/components/lib/vtx-input/style/index.css +22 -0
- package/lib/live-player/demo/src/components/lib/vtx-input/style/index.less +24 -0
- package/lib/live-player/demo/src/components/lib/vtx-modal/style/index.css +80 -0
- package/lib/live-player/demo/src/components/lib/vtx-modal/style/index.less +95 -0
- package/lib/live-player/demo/src/components/lib/vtx-page-layout/style/index.css +115 -0
- package/lib/live-player/demo/src/components/lib/vtx-page-layout/style/index.less +138 -0
- package/lib/live-player/demo/src/components/lib/vtx-rps-frame/style/index.css +8 -0
- package/lib/live-player/demo/src/components/lib/vtx-rps-frame/style/index.less +8 -0
- package/lib/live-player/demo/src/components/lib/vtx-scrollable-row/style/index.css +111 -0
- package/lib/live-player/demo/src/components/lib/vtx-scrollable-row/style/index.less +113 -0
- package/lib/live-player/demo/src/components/lib/vtx-search/style/index.css +84 -0
- package/lib/live-player/demo/src/components/lib/vtx-search/style/index.less +83 -0
- package/lib/live-player/demo/src/components/lib/vtx-select/style/index.css +68 -0
- package/lib/live-player/demo/src/components/lib/vtx-select/style/index.less +68 -0
- package/lib/live-player/demo/src/components/lib/vtx-signature/style/index.css +35 -0
- package/lib/live-player/demo/src/components/lib/vtx-signature/style/index.less +33 -0
- package/lib/live-player/demo/src/components/lib/vtx-split-pane/style/index.css +59 -0
- package/lib/live-player/demo/src/components/lib/vtx-split-pane/style/index.less +60 -0
- package/lib/live-player/demo/src/components/lib/vtx-statistics-column/style/index.css +55 -0
- package/lib/live-player/demo/src/components/lib/vtx-statistics-column/style/index.less +59 -0
- package/lib/live-player/demo/src/components/lib/vtx-upload/style/index.css +54 -0
- package/lib/live-player/demo/src/components/lib/vtx-upload/style/index.less +61 -0
- package/lib/live-player/demo/src/components/lib/vtx-ztree/style/index.css +29 -0
- package/lib/live-player/demo/src/components/lib/vtx-ztree/style/index.less +30 -0
- package/lib/live-player/demo/src/components/lib/vtx-ztree-select/style/index.css +66 -0
- package/lib/live-player/demo/src/components/lib/vtx-ztree-select/style/index.less +74 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/be-input/style/index.css +13 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/be-input/style/index.less +16 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/theme/dark.css +17 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/theme/dark.less +19 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/theme/default.css +16 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/theme/default.less +16 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/theme/global.css +18 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/theme/global.less +61 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-car-history/style/index.css +3 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-car-history/style/index.less +5 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-chart/style/index.css +9 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-chart/style/index.less +10 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-filter/style/index.css +109 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-filter/style/index.less +142 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-info-collection/style/index.css +22 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-info-collection/style/index.less +18 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-stat-collection/style/index.css +37 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-stat-collection/style/index.less +41 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-sub-tabs/style/index.css +42 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-sub-tabs/style/index.less +50 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-table/style/index.css +150 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vm-table/style/index.less +187 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-base-modal/style/index.css +412 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-base-modal/style/index.less +469 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-community-modal/style/index.css +52 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-community-modal/style/index.less +43 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-construction-site-modal/style/index.css +108 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-construction-site-modal/style/index.less +95 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-full-screen-base-modal/style/index.css +81 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-full-screen-base-modal/style/index.less +96 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-cylinder-file-modal/style/index.css +3 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-cylinder-file-modal/style/index.less +7 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-cylinder-file-modal/style/lastProcessFlow.css +67 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-cylinder-file-modal/style/lastProcessFlow.less +69 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-enterprise-modal/style/index.css +6 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-enterprise-modal/style/index.less +7 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-filling-station-modal/style/index.css +6 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-filling-station-modal/style/index.less +7 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-security-check-modal/style/index.css +0 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-security-check-modal/style/index.less +1 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-staff-modal/style/index.css +9 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-staff-modal/style/index.less +13 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-supply-station-modal/style/index.css +6 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-supply-station-modal/style/index.less +7 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-user-modal/style/index.css +0 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-gas-user-modal/style/index.less +1 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-vehicle-modal/style/index.css +245 -0
- package/lib/live-player/demo/src/components/vtxModals/lib/vtx-vehicle-modal/style/index.less +218 -0
- package/lib/live-player/demo/src/global.css +6 -0
- package/lib/live-player/demo/src/global.less +6 -0
- package/lib/live-player/demo/src/layouts/menu/index.css +31 -0
- package/lib/live-player/demo/src/layouts/menu/index.less +30 -0
- package/lib/live-player/demo/src/pages/carHistory/components/Cover/index.css +370 -0
- package/lib/live-player/demo/src/pages/carHistory/components/Cover/index.less +235 -0
- package/lib/live-player/demo/src/pages/carHistory/components/Earth/images/map2.jpg +0 -0
- package/lib/live-player/demo/src/pages/carHistory/components/Earth/images/map_inverted.png +0 -0
- package/lib/live-player/demo/src/pages/carHistory/components/Earth/images/radial_layers_medium2.jpg +0 -0
- package/lib/live-player/demo/src/pages/carHistory/components/Earth/images/universe4.jpg +0 -0
- package/lib/live-player/demo/src/pages/carHistory/components/Earth/index.css +10 -0
- package/lib/live-player/demo/src/pages/carHistory/components/Earth/index.less +10 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/index.d.ts +221 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/api/fetch.d.ts +12 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/api/index.d.ts +15 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/api/types.d.ts +107 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/components/bill-player/index.d.ts +21 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/components/controls/index.d.ts +52 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/components/history-control/index.d.ts +39 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/components/history-player/index.d.ts +31 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/components/live-channel-player/index.d.ts +16 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/components/live-control/index.d.ts +35 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/components/live-player/index.d.ts +22 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/components/player/index.d.ts +84 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/context/index.d.ts +8 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/hooks/useSettings.d.ts +9 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/icons/index.d.ts +54 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/main.d.ts +8 -0
- package/lib/live-player/demo/src/pages/carHistory/components/video/types/utils/index.d.ts +60 -0
- package/lib/live-player/demo/src/pages/carHistory/index.css +13 -0
- package/lib/live-player/demo/src/pages/carHistory/index.less +13 -0
- package/lib/live-player/demo/src/pages/demo/index.css +0 -0
- package/lib/live-player/demo/src/pages/demo/index.less +0 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/AMap/AMap.css +27 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/AMap/AMap.less +27 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/BMap/Map.css +26 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/BMap/Map.less +28 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/GMap/Map.css +88 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/GMap/Map.less +87 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/Map.css +7 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/Map.less +9 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/OMap/Map.css +76 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/OMap/Map.less +70 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/OlMap/Map.css +169 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/OlMap/Map.less +165 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/TMap/TMap.css +31 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/TMap/TMap.less +37 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/images/defaultMarker.png +0 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxMap/images/defaultMarker_selected.png +0 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxModal/VtxModal.css +62 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxModal/VtxModal.less +67 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxModal/VtxModalAntd3.css +62 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxModal/VtxModalAntd3.less +67 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxSearchMap/VtxSearchMap.css +171 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxSearchMap/VtxSearchMap.less +171 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxSearchMap/VtxSearchMapAntd3.css +0 -0
- package/lib/live-player/demo/src/pages/test/components/map/VtxSearchMap/VtxSearchMapAntd3.less +1 -0
- package/lib/live-player/demo/src/pages/test/lib/be-input/style/index.css +13 -0
- package/lib/live-player/demo/src/pages/test/lib/be-input/style/index.less +16 -0
- package/lib/live-player/demo/src/pages/test/lib/theme/dark.css +16 -0
- package/lib/live-player/demo/src/pages/test/lib/theme/dark.less +18 -0
- package/lib/live-player/demo/src/pages/test/lib/theme/default.css +16 -0
- package/lib/live-player/demo/src/pages/test/lib/theme/default.less +16 -0
- package/lib/live-player/demo/src/pages/test/lib/theme/global.css +18 -0
- package/lib/live-player/demo/src/pages/test/lib/theme/global.less +61 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-car-history/style/index.css +3 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-car-history/style/index.less +5 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-chart/style/index.css +9 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-chart/style/index.less +10 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-filter/style/index.css +112 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-filter/style/index.less +146 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-info-collection/style/index.css +17 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-info-collection/style/index.less +17 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-stat-collection/style/index.css +38 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-stat-collection/style/index.less +41 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-sub-tabs/style/index.css +42 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-sub-tabs/style/index.less +50 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-table/style/index.css +150 -0
- package/lib/live-player/demo/src/pages/test/lib/vm-table/style/index.less +187 -0
- package/lib/live-player/demo/src/pages/test/lib/vtx-base-modal/style/index.css +122 -0
- package/lib/live-player/demo/src/pages/test/lib/vtx-base-modal/style/index.less +123 -0
- package/lib/live-player/demo/src/pages/test/lib/vtx-community-modal/style/index.css +47 -0
- package/lib/live-player/demo/src/pages/test/lib/vtx-community-modal/style/index.less +41 -0
- package/lib/live-player/demo/src/pages/test/lib/vtx-construction-site-modal/style/index.css +100 -0
- package/lib/live-player/demo/src/pages/test/lib/vtx-construction-site-modal/style/index.less +90 -0
- package/lib/live-player/demo/src/pages/test/lib/vtx-vehicle-modal/style/index.css +228 -0
- package/lib/live-player/demo/src/pages/test/lib/vtx-vehicle-modal/style/index.less +201 -0
- package/lib/live-player/style/css.js +2 -0
- package/lib/live-player/style/css.js.map +1 -1
- package/lib/live-player/style/index.d.ts +1 -0
- package/lib/live-player/style/index.js +2 -0
- package/lib/live-player/style/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
import { MouseEventHandler } from 'react';
|
|
3
|
+
import type { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
|
|
4
|
+
interface IconProps extends Partial<CustomIconComponentProps> {
|
|
5
|
+
onClick?: MouseEventHandler<HTMLSpanElement>;
|
|
6
|
+
}
|
|
7
|
+
interface ActiveIconProps extends IconProps {
|
|
8
|
+
active?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** 暂停Icon */
|
|
11
|
+
export declare const PauseIcon: (props: IconProps) => JSX.Element;
|
|
12
|
+
/** 播放Icon */
|
|
13
|
+
export declare const PlayIcon: (props: IconProps) => JSX.Element;
|
|
14
|
+
/** 截图Icon */
|
|
15
|
+
export declare const CaptureIcon: (props: IconProps) => JSX.Element;
|
|
16
|
+
/** 全屏Icon */
|
|
17
|
+
export declare const FullScreenIcon: (props: IconProps) => JSX.Element;
|
|
18
|
+
/** 退出全屏Icon */
|
|
19
|
+
export declare const ExitFullScreenIcon: (props: IconProps) => JSX.Element;
|
|
20
|
+
/** 音量低Icon */
|
|
21
|
+
export declare const VolumeSmallIcon: (props: IconProps) => JSX.Element;
|
|
22
|
+
/** 音量高Icon */
|
|
23
|
+
export declare const VolumeLargeIcon: (props: IconProps) => JSX.Element;
|
|
24
|
+
/** 静音Icon */
|
|
25
|
+
export declare const VolumeMutedIcon: (props: IconProps) => JSX.Element;
|
|
26
|
+
/** 设置Icon */
|
|
27
|
+
export declare const SettingsIcon: (props: IconProps) => JSX.Element;
|
|
28
|
+
/** 关闭全部Icon */
|
|
29
|
+
export declare const CloseAllIcon: (props: IconProps) => JSX.Element;
|
|
30
|
+
/** 展开Icon */
|
|
31
|
+
export declare const ExpandIcon: (props: IconProps) => JSX.Element;
|
|
32
|
+
/** 收缩Icon */
|
|
33
|
+
export declare const FoldIcon: (props: IconProps) => JSX.Element;
|
|
34
|
+
/** 停止对讲Icon */
|
|
35
|
+
export declare const TalkDisableIcon: (props: ActiveIconProps) => JSX.Element;
|
|
36
|
+
/** 对讲Icon */
|
|
37
|
+
export declare const TalkIcon: (props: ActiveIconProps) => JSX.Element;
|
|
38
|
+
/** 云台控制 */
|
|
39
|
+
export declare const CloudControlIcon: (props: ActiveIconProps) => JSX.Element;
|
|
40
|
+
/** 1x1网格Icon */
|
|
41
|
+
export declare const Grid1x1Icon: (props: ActiveIconProps) => JSX.Element;
|
|
42
|
+
/** 2x2网格Icon */
|
|
43
|
+
export declare const Grid2x2Icon: (props: ActiveIconProps) => JSX.Element;
|
|
44
|
+
/** 3x3网格Icon */
|
|
45
|
+
export declare const Grid3x3Icon: (props: ActiveIconProps) => JSX.Element;
|
|
46
|
+
/** 关闭Icon */
|
|
47
|
+
export declare const CloseIcon: (props: IconProps) => JSX.Element;
|
|
48
|
+
/** 视频播放Icon */
|
|
49
|
+
export declare const VideoPlayIcon: (props: ActiveIconProps) => JSX.Element;
|
|
50
|
+
/** 视频关闭Icon */
|
|
51
|
+
export declare const VideoCloseIcon: (props: ActiveIconProps) => JSX.Element;
|
|
52
|
+
/** 时间刻度Icon */
|
|
53
|
+
export declare const TimePositionIcon: (props: IconProps) => JSX.Element;
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import 'antd/dist/antd.css';
|
|
2
|
+
export { default as Player } from './components/player';
|
|
3
|
+
export { default as LivePlayer } from './components/live-player';
|
|
4
|
+
export { default as HistoryPlayer } from './components/history-player';
|
|
5
|
+
export { default as LiveControl } from './components/live-control';
|
|
6
|
+
export { default as HistoryControl } from './components/history-control';
|
|
7
|
+
export { default as BillPlayer } from './components/bill-player';
|
|
8
|
+
export { default as LiveChannelPlayer } from './components/live-channel-player';
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import moment from 'moment';
|
|
2
|
+
import { GetHistoryUrlResp } from '@/api/types';
|
|
3
|
+
import { UrlsTableItemType } from '@/components/history-control';
|
|
4
|
+
import { VideoType } from '@/components/player';
|
|
5
|
+
/** 时间格式枚举 */
|
|
6
|
+
export declare enum TimeFormat {
|
|
7
|
+
default = "YYYY-MM-DDTHH:mm:ss",
|
|
8
|
+
params = "YYYY-MM-DD HH:mm:ss",
|
|
9
|
+
url = "YYYYMMDDTHHmmss"
|
|
10
|
+
}
|
|
11
|
+
/** 生成随机ID */
|
|
12
|
+
export declare const guidGenerator: () => string;
|
|
13
|
+
declare type PlayerParams = {
|
|
14
|
+
/** 视频流地址 */
|
|
15
|
+
url: string;
|
|
16
|
+
/** 视频流格式 */
|
|
17
|
+
type: VideoType;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* 获取视频直播地址及格式
|
|
21
|
+
* @param url
|
|
22
|
+
* @returns
|
|
23
|
+
*/
|
|
24
|
+
export declare const getPlayerParams: (url: string, live: boolean, startTime?: moment.MomentInput, endTime?: moment.MomentInput) => PlayerParams;
|
|
25
|
+
/**
|
|
26
|
+
* 获取历史回放表格数据
|
|
27
|
+
* @param data
|
|
28
|
+
* @returns
|
|
29
|
+
*/
|
|
30
|
+
export declare const getUrlTableData: (data: GetHistoryUrlResp) => UrlsTableItemType[];
|
|
31
|
+
/**
|
|
32
|
+
* 秒数=>00:00:00
|
|
33
|
+
* @param total
|
|
34
|
+
* @returns
|
|
35
|
+
*/
|
|
36
|
+
export declare const secondsToTime: (total: number) => string;
|
|
37
|
+
/**
|
|
38
|
+
* 获取海康时间参数
|
|
39
|
+
* @param time 时间
|
|
40
|
+
* @returns
|
|
41
|
+
*/
|
|
42
|
+
export declare const getHKTimeString: (time: moment.MomentInput) => string;
|
|
43
|
+
/**
|
|
44
|
+
* 获取海康分段播放地址
|
|
45
|
+
* @param totalUrl 总播放地址
|
|
46
|
+
* @param startTime 开始时间
|
|
47
|
+
* @param endTime 结束时间
|
|
48
|
+
* @returns
|
|
49
|
+
*/
|
|
50
|
+
export declare const getHKListUrl: (totalUrl: string, startTime: moment.MomentInput, endTime: moment.MomentInput) => string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* 获取flv格式分段播放地址
|
|
54
|
+
* @param totalUrl 总播放地址
|
|
55
|
+
* @param startTime 开始时间
|
|
56
|
+
* @param endTime 结束时间
|
|
57
|
+
* @returns
|
|
58
|
+
*/
|
|
59
|
+
export declare const getFlvListUrl: (totalUrl: string, startTime: moment.MomentInput, endTime: moment.MomentInput) => string;
|
|
60
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.A_Map_rangingTool {
|
|
2
|
+
width: 7px;
|
|
3
|
+
height: 7px;
|
|
4
|
+
background: #fff;
|
|
5
|
+
border: 2px solid #ff0000;
|
|
6
|
+
padding: 0px;
|
|
7
|
+
border-radius: 7px;
|
|
8
|
+
}
|
|
9
|
+
.amap-marker-label {
|
|
10
|
+
border: 0px !important;
|
|
11
|
+
background-color: transparent !important;
|
|
12
|
+
}
|
|
13
|
+
.amap-marker-content {
|
|
14
|
+
position: relative;
|
|
15
|
+
white-space: inherit !important;
|
|
16
|
+
}
|
|
17
|
+
.amap-info-content {
|
|
18
|
+
padding: 0 !important;
|
|
19
|
+
}
|
|
20
|
+
.vtx_gmap_html_pointCollection_a {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0px;
|
|
23
|
+
left: 0px;
|
|
24
|
+
}
|
|
25
|
+
.vtx_gmap_html_pointCollection_a canvas {
|
|
26
|
+
z-index: 1;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.A_Map_rangingTool{
|
|
2
|
+
width: 7px;
|
|
3
|
+
height: 7px;
|
|
4
|
+
background: #fff;
|
|
5
|
+
border: 2px solid #ff0000;
|
|
6
|
+
padding: 0px;
|
|
7
|
+
border-radius: 7px;
|
|
8
|
+
}
|
|
9
|
+
.amap-marker-label{
|
|
10
|
+
border: 0px !important;
|
|
11
|
+
background-color: transparent !important;
|
|
12
|
+
}
|
|
13
|
+
.amap-marker-content {
|
|
14
|
+
position: relative;
|
|
15
|
+
white-space: inherit !important;
|
|
16
|
+
}
|
|
17
|
+
.amap-info-content{
|
|
18
|
+
padding: 0 !important;
|
|
19
|
+
}
|
|
20
|
+
.vtx_gmap_html_pointCollection_a{
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0px;
|
|
23
|
+
left: 0px;
|
|
24
|
+
canvas{
|
|
25
|
+
z-index: 1;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.label-content {
|
|
2
|
+
/*margin-left: 0;
|
|
3
|
+
width: 100px;
|
|
4
|
+
line-height: 25px;
|
|
5
|
+
text-align: center;
|
|
6
|
+
position: relative;
|
|
7
|
+
left: -43px;
|
|
8
|
+
background-color: #fff;
|
|
9
|
+
opacity: 1;
|
|
10
|
+
border-radius: 5px;
|
|
11
|
+
color: #5DD0EE;
|
|
12
|
+
word-break: break-all;
|
|
13
|
+
white-space: normal;
|
|
14
|
+
padding: 2px 8px;*/
|
|
15
|
+
display: inline-block;
|
|
16
|
+
padding: 5px;
|
|
17
|
+
line-height: 22px;
|
|
18
|
+
text-align: center;
|
|
19
|
+
border-radius: 5px;
|
|
20
|
+
background-color: #fff;
|
|
21
|
+
opacity: 1;
|
|
22
|
+
color: #5DD0EE;
|
|
23
|
+
}
|
|
24
|
+
.BMapLabel:hover {
|
|
25
|
+
z-index: 100 !important;
|
|
26
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.label-content{
|
|
2
|
+
/*margin-left: 0;
|
|
3
|
+
width: 100px;
|
|
4
|
+
line-height: 25px;
|
|
5
|
+
text-align: center;
|
|
6
|
+
position: relative;
|
|
7
|
+
left: -43px;
|
|
8
|
+
background-color: #fff;
|
|
9
|
+
opacity: 1;
|
|
10
|
+
border-radius: 5px;
|
|
11
|
+
color: #5DD0EE;
|
|
12
|
+
word-break: break-all;
|
|
13
|
+
white-space: normal;
|
|
14
|
+
padding: 2px 8px;*/
|
|
15
|
+
display: inline-block;
|
|
16
|
+
padding: 5px;
|
|
17
|
+
line-height: 22px;
|
|
18
|
+
text-align: center;
|
|
19
|
+
border-radius: 5px;
|
|
20
|
+
background-color: #fff;
|
|
21
|
+
opacity: 1;
|
|
22
|
+
color: #5DD0EE;
|
|
23
|
+
}
|
|
24
|
+
.BMapLabel{
|
|
25
|
+
&:hover{
|
|
26
|
+
z-index: 100 !important;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
.map {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
background-color: #f1f1f1;
|
|
5
|
+
}
|
|
6
|
+
.vtx_gmap_html_points,
|
|
7
|
+
.vtx_gmap_html_pointCollection {
|
|
8
|
+
position: absolute;
|
|
9
|
+
top: 0px;
|
|
10
|
+
left: 0px;
|
|
11
|
+
}
|
|
12
|
+
.esriSimpleSlider {
|
|
13
|
+
z-index: 10000000 !important;
|
|
14
|
+
}
|
|
15
|
+
.label-content {
|
|
16
|
+
/*margin-left: 0;
|
|
17
|
+
width: 100px;
|
|
18
|
+
line-height: 25px;
|
|
19
|
+
text-align: center;
|
|
20
|
+
position: relative;
|
|
21
|
+
left: -43px;
|
|
22
|
+
background-color: #fff;
|
|
23
|
+
opacity: 1;
|
|
24
|
+
border-radius: 5px;
|
|
25
|
+
color: #5DD0EE;
|
|
26
|
+
word-break: break-all;
|
|
27
|
+
white-space: normal;
|
|
28
|
+
padding: 2px 8px;*/
|
|
29
|
+
display: inline-block;
|
|
30
|
+
padding: 5px;
|
|
31
|
+
line-height: 22px;
|
|
32
|
+
text-align: center;
|
|
33
|
+
border-radius: 5px;
|
|
34
|
+
background-color: #fff;
|
|
35
|
+
opacity: 1;
|
|
36
|
+
color: #5DD0EE;
|
|
37
|
+
}
|
|
38
|
+
.vtx-g-rangingPoint {
|
|
39
|
+
width: 7px;
|
|
40
|
+
height: 7px;
|
|
41
|
+
background-color: #fff;
|
|
42
|
+
border: 2px solid #ff0000;
|
|
43
|
+
display: inline-block;
|
|
44
|
+
border-radius: 7px;
|
|
45
|
+
}
|
|
46
|
+
.vtx-g-rangingDistance {
|
|
47
|
+
position: relative;
|
|
48
|
+
top: -36px;
|
|
49
|
+
left: 15px;
|
|
50
|
+
height: 30px;
|
|
51
|
+
line-height: 28px;
|
|
52
|
+
background-color: #fff;
|
|
53
|
+
border: 1px solid #ff0000;
|
|
54
|
+
font-size: 12px;
|
|
55
|
+
word-break: keep-all;
|
|
56
|
+
padding: 0px 3px;
|
|
57
|
+
}
|
|
58
|
+
.vtx-g-rang-exit {
|
|
59
|
+
width: 9px;
|
|
60
|
+
height: 9px;
|
|
61
|
+
background-color: #fff;
|
|
62
|
+
border: 2px solid #ff0000;
|
|
63
|
+
color: #ff0000;
|
|
64
|
+
line-height: 7px;
|
|
65
|
+
text-align: center;
|
|
66
|
+
font-size: 12px;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
}
|
|
69
|
+
.vtx-g-rang-showRangTool {
|
|
70
|
+
line-height: 18px;
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
border: 1px solid #ff0000;
|
|
73
|
+
word-break: keep-all;
|
|
74
|
+
background-color: #fff;
|
|
75
|
+
padding: 0px 5px;
|
|
76
|
+
}
|
|
77
|
+
.zoom_slider_show_scale {
|
|
78
|
+
padding: 1px 8px;
|
|
79
|
+
font-size: 12px;
|
|
80
|
+
text-align: center;
|
|
81
|
+
}
|
|
82
|
+
.zoom_slider_show_bottom {
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: 3px;
|
|
85
|
+
border: 1px solid #000;
|
|
86
|
+
border-bottom: 3px solid #000;
|
|
87
|
+
border-top: 0px;
|
|
88
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
.map{
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
background-color: #f1f1f1;
|
|
5
|
+
}
|
|
6
|
+
.vtx_gmap_html_points,.vtx_gmap_html_pointCollection{
|
|
7
|
+
position: absolute;
|
|
8
|
+
top: 0px;
|
|
9
|
+
left: 0px;
|
|
10
|
+
}
|
|
11
|
+
.esriSimpleSlider{
|
|
12
|
+
z-index: 10000000 !important;
|
|
13
|
+
}
|
|
14
|
+
.label-content{
|
|
15
|
+
/*margin-left: 0;
|
|
16
|
+
width: 100px;
|
|
17
|
+
line-height: 25px;
|
|
18
|
+
text-align: center;
|
|
19
|
+
position: relative;
|
|
20
|
+
left: -43px;
|
|
21
|
+
background-color: #fff;
|
|
22
|
+
opacity: 1;
|
|
23
|
+
border-radius: 5px;
|
|
24
|
+
color: #5DD0EE;
|
|
25
|
+
word-break: break-all;
|
|
26
|
+
white-space: normal;
|
|
27
|
+
padding: 2px 8px;*/
|
|
28
|
+
display: inline-block;
|
|
29
|
+
padding: 5px;
|
|
30
|
+
line-height: 22px;
|
|
31
|
+
text-align: center;
|
|
32
|
+
border-radius: 5px;
|
|
33
|
+
background-color: #fff;
|
|
34
|
+
opacity: 1;
|
|
35
|
+
color: #5DD0EE;
|
|
36
|
+
}
|
|
37
|
+
.vtx-g-rangingPoint{
|
|
38
|
+
width: 7px;
|
|
39
|
+
height: 7px;
|
|
40
|
+
background-color: #fff;
|
|
41
|
+
border: 2px solid #ff0000;
|
|
42
|
+
display: inline-block;
|
|
43
|
+
border-radius: 7px;
|
|
44
|
+
}
|
|
45
|
+
.vtx-g-rangingDistance{
|
|
46
|
+
position: relative;
|
|
47
|
+
top: -36px;
|
|
48
|
+
left: 15px;
|
|
49
|
+
height: 30px;
|
|
50
|
+
line-height: 28px;
|
|
51
|
+
background-color: #fff;
|
|
52
|
+
border: 1px solid #ff0000;
|
|
53
|
+
font-size: 12px;
|
|
54
|
+
word-break: keep-all;
|
|
55
|
+
padding: 0px 3px;
|
|
56
|
+
}
|
|
57
|
+
.vtx-g-rang-exit{
|
|
58
|
+
width: 9px;
|
|
59
|
+
height: 9px;
|
|
60
|
+
background-color: #fff;
|
|
61
|
+
border: 2px solid #ff0000;
|
|
62
|
+
color: #ff0000;
|
|
63
|
+
line-height: 7px;
|
|
64
|
+
text-align: center;
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
.vtx-g-rang-showRangTool{
|
|
69
|
+
line-height: 18px;
|
|
70
|
+
font-size: 12px;
|
|
71
|
+
border: 1px solid #ff0000;
|
|
72
|
+
word-break: keep-all;
|
|
73
|
+
background-color: #fff;
|
|
74
|
+
padding: 0px 5px;
|
|
75
|
+
}
|
|
76
|
+
.zoom_slider_show_scale{
|
|
77
|
+
padding: 1px 8px;
|
|
78
|
+
font-size: 12px;
|
|
79
|
+
text-align: center;
|
|
80
|
+
}
|
|
81
|
+
.zoom_slider_show_bottom{
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 3px;
|
|
84
|
+
border: 1px solid #000;
|
|
85
|
+
border-bottom: 3px solid #000;
|
|
86
|
+
border-top: 0px;
|
|
87
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.label-content {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
padding: 5px;
|
|
4
|
+
line-height: 22px;
|
|
5
|
+
text-align: center;
|
|
6
|
+
border-radius: 5px;
|
|
7
|
+
background-color: #fff;
|
|
8
|
+
opacity: 1;
|
|
9
|
+
color: #5DD0EE;
|
|
10
|
+
-webkit-transform: translate(-50%);
|
|
11
|
+
transform: translate(-50%);
|
|
12
|
+
-ms-transform: translate(-50%);
|
|
13
|
+
}
|
|
14
|
+
.noselect {
|
|
15
|
+
-webkit-touch-callout: none;
|
|
16
|
+
/* iOS Safari */
|
|
17
|
+
-webkit-user-select: none;
|
|
18
|
+
/* Chrome/Safari/Opera */
|
|
19
|
+
/* Konqueror */
|
|
20
|
+
-moz-user-select: none;
|
|
21
|
+
/* Firefox */
|
|
22
|
+
-ms-user-select: none;
|
|
23
|
+
/* Internet Explorer/Edge */
|
|
24
|
+
user-select: none;
|
|
25
|
+
/* Non-prefixed version, currently
|
|
26
|
+
not supported by any browser */
|
|
27
|
+
}
|
|
28
|
+
.vtx_gmap_html_pointCollection_a {
|
|
29
|
+
position: absolute;
|
|
30
|
+
}
|
|
31
|
+
.vtx_gmap_html_pointCollection_a canvas {
|
|
32
|
+
z-index: 111;
|
|
33
|
+
}
|
|
34
|
+
.vtx-g-rangingPoint {
|
|
35
|
+
width: 8px;
|
|
36
|
+
height: 8px;
|
|
37
|
+
background-color: #fff;
|
|
38
|
+
border: 2px solid #108ee9;
|
|
39
|
+
display: inline-block;
|
|
40
|
+
border-radius: 8px;
|
|
41
|
+
position: relative;
|
|
42
|
+
top: 5px;
|
|
43
|
+
left: 1px;
|
|
44
|
+
}
|
|
45
|
+
.vtx-g-rangingDistance {
|
|
46
|
+
position: relative;
|
|
47
|
+
top: -36px;
|
|
48
|
+
left: 15px;
|
|
49
|
+
height: 30px;
|
|
50
|
+
line-height: 28px;
|
|
51
|
+
background-color: #fff;
|
|
52
|
+
border: 1px solid #108ee9;
|
|
53
|
+
font-size: 12px;
|
|
54
|
+
word-break: keep-all;
|
|
55
|
+
padding: 0px 3px;
|
|
56
|
+
color: #108ee9;
|
|
57
|
+
}
|
|
58
|
+
.vtx-g-rang-exit {
|
|
59
|
+
width: 12px;
|
|
60
|
+
height: 12px;
|
|
61
|
+
background-color: #fff;
|
|
62
|
+
border: 2px solid #108ee9;
|
|
63
|
+
color: #108ee9;
|
|
64
|
+
line-height: 7px;
|
|
65
|
+
text-align: center;
|
|
66
|
+
font-size: 12px;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
}
|
|
69
|
+
.vtx-g-rang-showRangTool {
|
|
70
|
+
line-height: 18px;
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
border: 1px solid #108ee9;
|
|
73
|
+
word-break: keep-all;
|
|
74
|
+
background-color: #fff;
|
|
75
|
+
padding: 0px 5px;
|
|
76
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
.label-content{
|
|
2
|
+
display: inline-block;
|
|
3
|
+
padding: 5px;
|
|
4
|
+
line-height: 22px;
|
|
5
|
+
text-align: center;
|
|
6
|
+
border-radius: 5px;
|
|
7
|
+
background-color: #fff;
|
|
8
|
+
opacity: 1;
|
|
9
|
+
color: #5DD0EE;
|
|
10
|
+
transform: translate(-50%);
|
|
11
|
+
-ms-transform: translate(-50%);
|
|
12
|
+
}
|
|
13
|
+
.noselect {
|
|
14
|
+
-webkit-touch-callout: none; /* iOS Safari */
|
|
15
|
+
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
16
|
+
-khtml-user-select: none; /* Konqueror */
|
|
17
|
+
-moz-user-select: none; /* Firefox */
|
|
18
|
+
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
19
|
+
user-select: none; /* Non-prefixed version, currently
|
|
20
|
+
not supported by any browser */
|
|
21
|
+
}
|
|
22
|
+
.vtx_gmap_html_pointCollection_a{
|
|
23
|
+
position: absolute;
|
|
24
|
+
canvas{
|
|
25
|
+
z-index: 111;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
.vtx-g-rangingPoint{
|
|
29
|
+
width: 8px;
|
|
30
|
+
height: 8px;
|
|
31
|
+
background-color: #fff;
|
|
32
|
+
border: 2px solid #108ee9;
|
|
33
|
+
display: inline-block;
|
|
34
|
+
border-radius: 8px;
|
|
35
|
+
position: relative;
|
|
36
|
+
top: 5px;
|
|
37
|
+
left: 1px;
|
|
38
|
+
}
|
|
39
|
+
.vtx-g-rangingDistance{
|
|
40
|
+
position: relative;
|
|
41
|
+
top: -36px;
|
|
42
|
+
left: 15px;
|
|
43
|
+
height: 30px;
|
|
44
|
+
line-height: 28px;
|
|
45
|
+
background-color: #fff;
|
|
46
|
+
border: 1px solid #108ee9;
|
|
47
|
+
font-size: 12px;
|
|
48
|
+
word-break: keep-all;
|
|
49
|
+
padding: 0px 3px;
|
|
50
|
+
color: #108ee9;
|
|
51
|
+
}
|
|
52
|
+
.vtx-g-rang-exit{
|
|
53
|
+
width: 12px;
|
|
54
|
+
height: 12px;
|
|
55
|
+
background-color: #fff;
|
|
56
|
+
border: 2px solid #108ee9;
|
|
57
|
+
color: #108ee9;
|
|
58
|
+
line-height: 7px;
|
|
59
|
+
text-align: center;
|
|
60
|
+
font-size: 12px;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
}
|
|
63
|
+
.vtx-g-rang-showRangTool{
|
|
64
|
+
line-height: 18px;
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
border: 1px solid #108ee9;
|
|
67
|
+
word-break: keep-all;
|
|
68
|
+
background-color: #fff;
|
|
69
|
+
padding: 0px 5px;
|
|
70
|
+
}
|