@ezuikit/player-theme 3.1.3-beta.2 → 3.1.3-beta.3
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/dist/constant.js +2 -2
- package/dist/index.cjs +4 -10
- package/dist/index.esm.js +4 -10
- package/dist/index.umd.js +4 -10
- package/dist/style.js +2 -2
- package/dist/types/index.d.ts +43 -55
- package/package.json +2 -2
package/dist/constant.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @ezuikit/player-theme v3.1.3-beta.
|
|
3
|
-
* Copyright (c) 2026-08-19
|
|
2
|
+
* @ezuikit/player-theme v3.1.3-beta.3
|
|
3
|
+
* Copyright (c) 2026-08-19 18:26:29 Ezviz-OpenBiz
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
@@ -10381,7 +10381,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
10381
10381
|
*/ _this._footerMoreControl = null, /** 头部控件 @since 0.0.1 @private */ _this._header = null, /** 低部控件 @since 0.0.1 @private */ _this._footer = null, /** 回放底部时间轴 @since 0.0.1 @private */ _this._recFooter = null, /**
|
|
10382
10382
|
* 移动端扩展容器, 扩展的控件渲染在指定容器以外, 仅只用端适用, 为了可以放置大的控件和方便开发接入
|
|
10383
10383
|
* @private
|
|
10384
|
-
*/ _this._mobileExtend = null, /** @since 0.0.1 @private */ _this._interactiveResult = null, /** @since 0.0.1 @private */ _this._themeData = null, _this._fullscreen = null, _this.zoomUtil = null, /** 清除屏幕旋转 */ _this._cleanupOrientation = null, /** resizeObserver 监听销毁 */ _this._cleanUpResizeObserver = null, /** 容器的宽 */ _this._width = 0, /** 容器的高 */ _this._height = 0, /** 当前容器的全屏状态 true: 全屏, false: 非全屏 */ _this._isCurrentFullscreen = false, /** 屏幕旋转角度 0 | 90 | 180 | 270 */ _this._orientationAngle = 0, _this._url = '',
|
|
10384
|
+
*/ _this._mobileExtend = null, /** @since 0.0.1 @private */ _this._interactiveResult = null, /** @since 0.0.1 @private */ _this._themeData = null, _this._fullscreen = null, _this.zoomUtil = null, /** 清除屏幕旋转 */ _this._cleanupOrientation = null, /** resizeObserver 监听销毁 */ _this._cleanUpResizeObserver = null, /** 容器的宽 */ _this._width = 0, /** 容器的高 */ _this._height = 0, /** 当前容器的全屏状态 true: 全屏, false: 非全屏 */ _this._isCurrentFullscreen = false, /** 屏幕旋转角度 0 | 90 | 180 | 270 */ _this._orientationAngle = 0, _this._url = '', /** 是否播放中 @private */ _this._playing = false, /** @private 加载中 */ _this._loading = false, /** 音量 */ _this._volume = 0, /** 静音 */ _this._muted = false, /** 电子放大倍数 @private */ _this._zoom = 1, /** 放大中 true: 可缩放状态,false: 禁止缩放状态(不能缩放) @private */ _this._zooming = false, /** 录制中 @private */ _this._recording = false, /** 对讲中 @private */ _this._talking = false, /** 倍速 @private */ _this._speed = 1, /** 自定清晰度 @private */ _this._videoLevelAuto = false, /** 清晰度列表 */ _this.videoLevelList = [], /** 回放片段列表 */ _this.recordList = [], /**
|
|
10385
10385
|
* 播放区间(片段分享),null 表示不约束。
|
|
10386
10386
|
* 由 SDK 层在初始化时通过 props 下发,主题层据此决定日历/回放类型按钮
|
|
10387
10387
|
* 是否渲染、片段进度条是否渲染。区间没有运行时变更入口。
|
|
@@ -11282,16 +11282,10 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11282
11282
|
get: /**
|
|
11283
11283
|
* url 信息 播放地址信息
|
|
11284
11284
|
*/ function get() {
|
|
11285
|
-
if (this._urlInfoCache) {
|
|
11286
|
-
return this._urlInfoCache;
|
|
11287
|
-
}
|
|
11288
11285
|
if (this._url) {
|
|
11289
11286
|
return utilsTools.parseEzopenUrl(this._url);
|
|
11290
11287
|
}
|
|
11291
11288
|
return {};
|
|
11292
|
-
},
|
|
11293
|
-
set: function set(info) {
|
|
11294
|
-
this._urlInfoCache = info;
|
|
11295
11289
|
}
|
|
11296
11290
|
},
|
|
11297
11291
|
{
|
|
@@ -11771,7 +11765,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11771
11765
|
zh: zh,
|
|
11772
11766
|
en: en
|
|
11773
11767
|
};
|
|
11774
|
-
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.3-beta.
|
|
11768
|
+
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.3-beta.3';
|
|
11775
11769
|
|
|
11776
11770
|
exports.Control = Control;
|
|
11777
11771
|
exports.EVENTS = EVENTS;
|
package/dist/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @ezuikit/player-theme v3.1.3-beta.
|
|
3
|
-
* Copyright (c) 2026-08-19
|
|
2
|
+
* @ezuikit/player-theme v3.1.3-beta.3
|
|
3
|
+
* Copyright (c) 2026-08-19 18:26:29 Ezviz-OpenBiz
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import EventEmitter from 'eventemitter3';
|
|
@@ -10379,7 +10379,7 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
10379
10379
|
*/ _this._footerMoreControl = null, /** 头部控件 @since 0.0.1 @private */ _this._header = null, /** 低部控件 @since 0.0.1 @private */ _this._footer = null, /** 回放底部时间轴 @since 0.0.1 @private */ _this._recFooter = null, /**
|
|
10380
10380
|
* 移动端扩展容器, 扩展的控件渲染在指定容器以外, 仅只用端适用, 为了可以放置大的控件和方便开发接入
|
|
10381
10381
|
* @private
|
|
10382
|
-
*/ _this._mobileExtend = null, /** @since 0.0.1 @private */ _this._interactiveResult = null, /** @since 0.0.1 @private */ _this._themeData = null, _this._fullscreen = null, _this.zoomUtil = null, /** 清除屏幕旋转 */ _this._cleanupOrientation = null, /** resizeObserver 监听销毁 */ _this._cleanUpResizeObserver = null, /** 容器的宽 */ _this._width = 0, /** 容器的高 */ _this._height = 0, /** 当前容器的全屏状态 true: 全屏, false: 非全屏 */ _this._isCurrentFullscreen = false, /** 屏幕旋转角度 0 | 90 | 180 | 270 */ _this._orientationAngle = 0, _this._url = '',
|
|
10382
|
+
*/ _this._mobileExtend = null, /** @since 0.0.1 @private */ _this._interactiveResult = null, /** @since 0.0.1 @private */ _this._themeData = null, _this._fullscreen = null, _this.zoomUtil = null, /** 清除屏幕旋转 */ _this._cleanupOrientation = null, /** resizeObserver 监听销毁 */ _this._cleanUpResizeObserver = null, /** 容器的宽 */ _this._width = 0, /** 容器的高 */ _this._height = 0, /** 当前容器的全屏状态 true: 全屏, false: 非全屏 */ _this._isCurrentFullscreen = false, /** 屏幕旋转角度 0 | 90 | 180 | 270 */ _this._orientationAngle = 0, _this._url = '', /** 是否播放中 @private */ _this._playing = false, /** @private 加载中 */ _this._loading = false, /** 音量 */ _this._volume = 0, /** 静音 */ _this._muted = false, /** 电子放大倍数 @private */ _this._zoom = 1, /** 放大中 true: 可缩放状态,false: 禁止缩放状态(不能缩放) @private */ _this._zooming = false, /** 录制中 @private */ _this._recording = false, /** 对讲中 @private */ _this._talking = false, /** 倍速 @private */ _this._speed = 1, /** 自定清晰度 @private */ _this._videoLevelAuto = false, /** 清晰度列表 */ _this.videoLevelList = [], /** 回放片段列表 */ _this.recordList = [], /**
|
|
10383
10383
|
* 播放区间(片段分享),null 表示不约束。
|
|
10384
10384
|
* 由 SDK 层在初始化时通过 props 下发,主题层据此决定日历/回放类型按钮
|
|
10385
10385
|
* 是否渲染、片段进度条是否渲染。区间没有运行时变更入口。
|
|
@@ -11280,16 +11280,10 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11280
11280
|
get: /**
|
|
11281
11281
|
* url 信息 播放地址信息
|
|
11282
11282
|
*/ function get() {
|
|
11283
|
-
if (this._urlInfoCache) {
|
|
11284
|
-
return this._urlInfoCache;
|
|
11285
|
-
}
|
|
11286
11283
|
if (this._url) {
|
|
11287
11284
|
return parseEzopenUrl(this._url);
|
|
11288
11285
|
}
|
|
11289
11286
|
return {};
|
|
11290
|
-
},
|
|
11291
|
-
set: function set(info) {
|
|
11292
|
-
this._urlInfoCache = info;
|
|
11293
11287
|
}
|
|
11294
11288
|
},
|
|
11295
11289
|
{
|
|
@@ -11769,6 +11763,6 @@ var THEME_DEFAULT_OPTIONS = {
|
|
|
11769
11763
|
zh: zh,
|
|
11770
11764
|
en: en
|
|
11771
11765
|
};
|
|
11772
|
-
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.3-beta.
|
|
11766
|
+
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.3-beta.3';
|
|
11773
11767
|
|
|
11774
11768
|
export { Control, EVENTS, Fullscreen, Loading, Message, Play, Poster, Rec, Theme, Utils, Volume };
|
package/dist/index.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @ezuikit/player-theme v3.1.3-beta.
|
|
3
|
-
* Copyright (c) 2026-08-19
|
|
2
|
+
* @ezuikit/player-theme v3.1.3-beta.3
|
|
3
|
+
* Copyright (c) 2026-08-19 18:26:29 Ezviz-OpenBiz
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
(function (global, factory) {
|
|
@@ -12380,7 +12380,7 @@
|
|
|
12380
12380
|
*/ _this._footerMoreControl = null, /** 头部控件 @since 0.0.1 @private */ _this._header = null, /** 低部控件 @since 0.0.1 @private */ _this._footer = null, /** 回放底部时间轴 @since 0.0.1 @private */ _this._recFooter = null, /**
|
|
12381
12381
|
* 移动端扩展容器, 扩展的控件渲染在指定容器以外, 仅只用端适用, 为了可以放置大的控件和方便开发接入
|
|
12382
12382
|
* @private
|
|
12383
|
-
*/ _this._mobileExtend = null, /** @since 0.0.1 @private */ _this._interactiveResult = null, /** @since 0.0.1 @private */ _this._themeData = null, _this._fullscreen = null, _this.zoomUtil = null, /** 清除屏幕旋转 */ _this._cleanupOrientation = null, /** resizeObserver 监听销毁 */ _this._cleanUpResizeObserver = null, /** 容器的宽 */ _this._width = 0, /** 容器的高 */ _this._height = 0, /** 当前容器的全屏状态 true: 全屏, false: 非全屏 */ _this._isCurrentFullscreen = false, /** 屏幕旋转角度 0 | 90 | 180 | 270 */ _this._orientationAngle = 0, _this._url = '',
|
|
12383
|
+
*/ _this._mobileExtend = null, /** @since 0.0.1 @private */ _this._interactiveResult = null, /** @since 0.0.1 @private */ _this._themeData = null, _this._fullscreen = null, _this.zoomUtil = null, /** 清除屏幕旋转 */ _this._cleanupOrientation = null, /** resizeObserver 监听销毁 */ _this._cleanUpResizeObserver = null, /** 容器的宽 */ _this._width = 0, /** 容器的高 */ _this._height = 0, /** 当前容器的全屏状态 true: 全屏, false: 非全屏 */ _this._isCurrentFullscreen = false, /** 屏幕旋转角度 0 | 90 | 180 | 270 */ _this._orientationAngle = 0, _this._url = '', /** 是否播放中 @private */ _this._playing = false, /** @private 加载中 */ _this._loading = false, /** 音量 */ _this._volume = 0, /** 静音 */ _this._muted = false, /** 电子放大倍数 @private */ _this._zoom = 1, /** 放大中 true: 可缩放状态,false: 禁止缩放状态(不能缩放) @private */ _this._zooming = false, /** 录制中 @private */ _this._recording = false, /** 对讲中 @private */ _this._talking = false, /** 倍速 @private */ _this._speed = 1, /** 自定清晰度 @private */ _this._videoLevelAuto = false, /** 清晰度列表 */ _this.videoLevelList = [], /** 回放片段列表 */ _this.recordList = [], /**
|
|
12384
12384
|
* 播放区间(片段分享),null 表示不约束。
|
|
12385
12385
|
* 由 SDK 层在初始化时通过 props 下发,主题层据此决定日历/回放类型按钮
|
|
12386
12386
|
* 是否渲染、片段进度条是否渲染。区间没有运行时变更入口。
|
|
@@ -13281,16 +13281,10 @@
|
|
|
13281
13281
|
get: /**
|
|
13282
13282
|
* url 信息 播放地址信息
|
|
13283
13283
|
*/ function get() {
|
|
13284
|
-
if (this._urlInfoCache) {
|
|
13285
|
-
return this._urlInfoCache;
|
|
13286
|
-
}
|
|
13287
13284
|
if (this._url) {
|
|
13288
13285
|
return distExports$3.parseEzopenUrl(this._url);
|
|
13289
13286
|
}
|
|
13290
13287
|
return {};
|
|
13291
|
-
},
|
|
13292
|
-
set: function set(info) {
|
|
13293
|
-
this._urlInfoCache = info;
|
|
13294
13288
|
}
|
|
13295
13289
|
},
|
|
13296
13290
|
{
|
|
@@ -13770,7 +13764,7 @@
|
|
|
13770
13764
|
zh: zh,
|
|
13771
13765
|
en: en
|
|
13772
13766
|
};
|
|
13773
|
-
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.3-beta.
|
|
13767
|
+
/** 版本号 @since 0.0.1 */ Theme.THEME_VERSION = '3.1.3-beta.3';
|
|
13774
13768
|
|
|
13775
13769
|
// 不要动这里的代码, 这个出口是为了编译成 umd 规范的文件
|
|
13776
13770
|
|
package/dist/style.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import I18n, { I18nTranslation } from '@ezuikit/utils-i18n';
|
|
|
4
4
|
import { LoggerCls, LoggerOptions } from '@ezuikit/utils-logger';
|
|
5
5
|
import { BasePtzOptions } from '@ezuikit/control-ptz';
|
|
6
6
|
import { RecListModalOptions } from '@ezuikit/control-rec-list-modal';
|
|
7
|
+
import * as _ezuikit_utils_tools from '@ezuikit/utils-tools';
|
|
7
8
|
import Zoom from '@ezuikit/control-zoom';
|
|
8
9
|
import { TimeLineTimeSection } from '@ezuikit/control-time-line';
|
|
9
10
|
import { TimePickerOptions } from '@ezuikit/control-date-picker';
|
|
@@ -1543,7 +1544,7 @@ declare class Theme extends EventEmitter {
|
|
|
1543
1544
|
readonly volumeDestroy: "Control.volumeDestroy";
|
|
1544
1545
|
readonly controlsBarOpenChange: "Control.controlsBarOpenChange";
|
|
1545
1546
|
readonly headerMoreShowControlsChange: "Control.headerMoreShowControlsChange";
|
|
1546
|
-
readonly headerMorePanelOpenChange: "Control.headerMorePanelOpenChange";
|
|
1547
|
+
readonly headerMorePanelOpenChange: "Control.headerMorePanelOpenChange"; /** 电子放大倍数 @private */
|
|
1547
1548
|
readonly footerMoreShowControlsChange: "Control.footerMoreShowControlsChange";
|
|
1548
1549
|
readonly footerMorePanelOpenChange: "Control.footerMorePanelOpenChange";
|
|
1549
1550
|
readonly deviceDestroy: "Control.deviceDestroy";
|
|
@@ -1552,22 +1553,12 @@ declare class Theme extends EventEmitter {
|
|
|
1552
1553
|
readonly definitionChange: "Control.definitionChange";
|
|
1553
1554
|
readonly definitionList: "Control.definitionList";
|
|
1554
1555
|
readonly definitionPanelOpenChange: "Control.definitionPanelOpenChange";
|
|
1555
|
-
/**
|
|
1556
|
-
* 录像回放的月份列表 @private
|
|
1557
|
-
*/
|
|
1558
1556
|
readonly definitionDestroy: "Control.definitionDestroy";
|
|
1559
1557
|
readonly speedChange: "Control.speedChange";
|
|
1560
|
-
/**
|
|
1561
|
-
* 录像回放的月份列表 @private
|
|
1562
|
-
*/
|
|
1563
1558
|
readonly speedPanelOpenChange: "Control.speedPanelOpenChange";
|
|
1564
1559
|
readonly speedDestroy: "Control.speedDestroy";
|
|
1565
1560
|
readonly ptzPanelOpenChange: "Control.ptzPanelOpenChange";
|
|
1566
|
-
readonly ptzSpeedChange: "Control.ptzSpeedChange";
|
|
1567
|
-
* 首帧同步 Live/RecDropdown 激活态的监听器引用。
|
|
1568
|
-
* 每次 `_renderTheme` 重新绑定前需先移除旧引用,避免 changeTheme 累积监听。
|
|
1569
|
-
* @private
|
|
1570
|
-
*/
|
|
1561
|
+
readonly ptzSpeedChange: "Control.ptzSpeedChange";
|
|
1571
1562
|
readonly ptzError: "Control.ptzError";
|
|
1572
1563
|
readonly ptzDestroy: "Control.ptzDestroy";
|
|
1573
1564
|
readonly recordingChange: "Control.recordingChange";
|
|
@@ -1859,7 +1850,7 @@ declare class Theme extends EventEmitter {
|
|
|
1859
1850
|
ZOOM_NOT_ENABLED: string;
|
|
1860
1851
|
'3D_ZOOM': string;
|
|
1861
1852
|
'3D_ZOOM_DISABLE': string;
|
|
1862
|
-
'3D_ZOOM_FAILED': string;
|
|
1853
|
+
'3D_ZOOM_FAILED': string;
|
|
1863
1854
|
START_3D_ZOOM: string;
|
|
1864
1855
|
CLOSE_3D_ZOOM: string;
|
|
1865
1856
|
DEVICE_NOT_SUPPORT_3D_ZOOM: string;
|
|
@@ -1874,11 +1865,7 @@ declare class Theme extends EventEmitter {
|
|
|
1874
1865
|
WEB_FULLSCREEN_EXIT: string;
|
|
1875
1866
|
DESTROY: string;
|
|
1876
1867
|
GET_CAPACITY: string;
|
|
1877
|
-
GET_PTZ_STATUS: string;
|
|
1878
|
-
* 播放区间(片段分享),null 表示不约束。
|
|
1879
|
-
* 由 SDK 层在初始化时通过 props 下发,主题层据此决定日历/回放类型按钮
|
|
1880
|
-
* 是否渲染、片段进度条是否渲染。区间没有运行时变更入口。
|
|
1881
|
-
*/
|
|
1868
|
+
GET_PTZ_STATUS: string;
|
|
1882
1869
|
GET_PTZ_STATUS_FAILED: string;
|
|
1883
1870
|
MOBILE_HIDE_PTZ: string;
|
|
1884
1871
|
OPTION_PTZ_FAILED: string;
|
|
@@ -1886,8 +1873,7 @@ declare class Theme extends EventEmitter {
|
|
|
1886
1873
|
PTZ_FAST: string;
|
|
1887
1874
|
PTZ_MID: string;
|
|
1888
1875
|
PTZ_SLOW: string;
|
|
1889
|
-
PTZ_SPEED: string;
|
|
1890
|
-
DEVICE_ZOOM: string; /**
|
|
1876
|
+
PTZ_SPEED: string; /**
|
|
1891
1877
|
// * 记录回放的月份
|
|
1892
1878
|
// *
|
|
1893
1879
|
// * key: {序列号}_{通道号}_{rec | cloud | cloudRecord} 比如:BC7799091_1_rec BC7799091_1_cloud BC7799091_1_cloudRecord
|
|
@@ -1895,10 +1881,20 @@ declare class Theme extends EventEmitter {
|
|
|
1895
1881
|
// * value: 月份列表 比如 ["2025-12-01", "2025-12-02"]
|
|
1896
1882
|
// * @private
|
|
1897
1883
|
// */
|
|
1884
|
+
/**
|
|
1885
|
+
* 录像回放的月份列表 @private
|
|
1886
|
+
*/
|
|
1887
|
+
DEVICE_ZOOM: string;
|
|
1888
|
+
/**
|
|
1889
|
+
* 录像回放的月份列表 @private
|
|
1890
|
+
*/
|
|
1898
1891
|
DEVICE_FOCUS: string;
|
|
1899
1892
|
NOT_SUPPORT_DEVICE_ZOOM: string;
|
|
1900
1893
|
NOT_SUPPORT_FOCUS: string;
|
|
1901
1894
|
MIRROR: string;
|
|
1895
|
+
/**
|
|
1896
|
+
* 录像回放的月份列表 @private
|
|
1897
|
+
*/
|
|
1902
1898
|
MIRROR_TYPE_ERROR: string;
|
|
1903
1899
|
CHANGE_FEC_TYPE: string;
|
|
1904
1900
|
DEVICE_NOT_SUPPORT: string;
|
|
@@ -2031,32 +2027,27 @@ declare class Theme extends EventEmitter {
|
|
|
2031
2027
|
396508: string;
|
|
2032
2028
|
396509: string;
|
|
2033
2029
|
396510: string;
|
|
2034
|
-
396511: string;
|
|
2035
|
-
396512: string;
|
|
2036
|
-
396513: string;
|
|
2030
|
+
396511: string;
|
|
2031
|
+
396512: string;
|
|
2032
|
+
396513: string;
|
|
2037
2033
|
396514: string;
|
|
2038
2034
|
396515: string;
|
|
2039
|
-
396516: string;
|
|
2035
|
+
396516: string;
|
|
2040
2036
|
396517: string;
|
|
2041
2037
|
396518: string;
|
|
2042
2038
|
396519: string;
|
|
2043
2039
|
396520: string;
|
|
2044
2040
|
396700: string;
|
|
2041
|
+
/**
|
|
2042
|
+
* 录像回放的月份列表 @private
|
|
2043
|
+
*/
|
|
2045
2044
|
396701: string;
|
|
2046
2045
|
397001: string;
|
|
2047
2046
|
397002: string;
|
|
2048
2047
|
397003: string;
|
|
2049
|
-
397004: string;
|
|
2050
|
-
* 首帧同步 Live/RecDropdown 激活态的监听器引用。
|
|
2051
|
-
* 每次 `_renderTheme` 重新绑定前需先移除旧引用,避免 changeTheme 累积监听。
|
|
2052
|
-
* @private
|
|
2053
|
-
*/
|
|
2048
|
+
397004: string;
|
|
2054
2049
|
397005: string;
|
|
2055
|
-
397006: string;
|
|
2056
|
-
* 模板请求(getDetail)的中止控制器。
|
|
2057
|
-
* 重新渲染或销毁时中止在途请求,避免请求返回后在已销毁/已切换的 theme 上继续操作。
|
|
2058
|
-
* @private
|
|
2059
|
-
*/
|
|
2050
|
+
397006: string;
|
|
2060
2051
|
397007: string;
|
|
2061
2052
|
399000: string;
|
|
2062
2053
|
399001: string;
|
|
@@ -2132,6 +2123,13 @@ declare class Theme extends EventEmitter {
|
|
|
2132
2123
|
VIDEO_LEVEL_HEIGH: string;
|
|
2133
2124
|
VIDEO_LEVEL_SUPER: string;
|
|
2134
2125
|
VIDEO_LEVEL_EXTREME: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* 视频信息
|
|
2128
|
+
* @version 3.1.2
|
|
2129
|
+
* ```ts
|
|
2130
|
+
* theme.videoInfo // ThemeVideoInfo
|
|
2131
|
+
* ```
|
|
2132
|
+
*/
|
|
2135
2133
|
VIDEO_LEVEL_3K: string;
|
|
2136
2134
|
VIDEO_LEVEL_4k: string;
|
|
2137
2135
|
RESET_THEME: string;
|
|
@@ -2146,15 +2144,7 @@ declare class Theme extends EventEmitter {
|
|
|
2146
2144
|
BTN_AICHAT: string;
|
|
2147
2145
|
BTN_LIVE: string;
|
|
2148
2146
|
BTN_REC_DROPDOWN: string;
|
|
2149
|
-
BTN_ALARM_MESSAGE: string;
|
|
2150
|
-
* 视频分辨率 宽
|
|
2151
|
-
*
|
|
2152
|
-
* @version 3.1.2
|
|
2153
|
-
*
|
|
2154
|
-
* ```ts
|
|
2155
|
-
* theme.videoWidth // number
|
|
2156
|
-
* ```
|
|
2157
|
-
*/
|
|
2147
|
+
BTN_ALARM_MESSAGE: string;
|
|
2158
2148
|
REC_DROPDOWN_CLOUD_REC: string;
|
|
2159
2149
|
REC_DROPDOWN_CLOUD_RECORD: string;
|
|
2160
2150
|
REC_DROPDOWN_LOCAL_REC: string;
|
|
@@ -2195,13 +2185,6 @@ declare class Theme extends EventEmitter {
|
|
|
2195
2185
|
ZOOM_SUB: string;
|
|
2196
2186
|
ZOOM_ADD_MAX: string;
|
|
2197
2187
|
ZOOM_SUB_MIN: string;
|
|
2198
|
-
/**
|
|
2199
|
-
* 加载状态
|
|
2200
|
-
* ```ts
|
|
2201
|
-
* // 事件监听
|
|
2202
|
-
* theme.on(Theme.EVENTS.loading, (loading: boolean) => {})
|
|
2203
|
-
* ```
|
|
2204
|
-
*/
|
|
2205
2188
|
ZOOM_LIMIT_MAX: string;
|
|
2206
2189
|
ZOOM_LIMIT_MIN: string;
|
|
2207
2190
|
ZOOM_NOT_ENABLED: string;
|
|
@@ -2221,7 +2204,14 @@ declare class Theme extends EventEmitter {
|
|
|
2221
2204
|
WEB_FULLSCREEN: string;
|
|
2222
2205
|
WEB_FULLSCREEN_EXIT: string;
|
|
2223
2206
|
DESTROY: string;
|
|
2224
|
-
GET_CAPACITY: string;
|
|
2207
|
+
GET_CAPACITY: string; /**
|
|
2208
|
+
* 静音
|
|
2209
|
+
* @example
|
|
2210
|
+
* ```ts
|
|
2211
|
+
* // 事件监听
|
|
2212
|
+
* theme.on(Theme.EVENTS.volumechange, (volume: number, muted: boolean) => {})
|
|
2213
|
+
* ```
|
|
2214
|
+
*/
|
|
2225
2215
|
GET_PTZ_STATUS: string;
|
|
2226
2216
|
GET_PTZ_STATUS_FAILED: string;
|
|
2227
2217
|
MOBILE_HIDE_PTZ: string;
|
|
@@ -2332,7 +2322,6 @@ declare class Theme extends EventEmitter {
|
|
|
2332
2322
|
/** 屏幕旋转角度 0 | 90 | 180 | 270 */
|
|
2333
2323
|
private _orientationAngle;
|
|
2334
2324
|
_url: string;
|
|
2335
|
-
_urlInfoCache: any;
|
|
2336
2325
|
/** 是否播放中 @private */
|
|
2337
2326
|
_playing: boolean;
|
|
2338
2327
|
/** @private 加载中 */
|
|
@@ -2396,8 +2385,7 @@ declare class Theme extends EventEmitter {
|
|
|
2396
2385
|
/**
|
|
2397
2386
|
* url 信息 播放地址信息
|
|
2398
2387
|
*/
|
|
2399
|
-
get urlInfo():
|
|
2400
|
-
set urlInfo(info: any);
|
|
2388
|
+
get urlInfo(): Partial<_ezuikit_utils_tools.EzopenURL>;
|
|
2401
2389
|
/**
|
|
2402
2390
|
* 容器的宽(单位 px)
|
|
2403
2391
|
* ```ts
|
|
@@ -2753,7 +2741,7 @@ declare class Theme extends EventEmitter {
|
|
|
2753
2741
|
* @param url 录像 url
|
|
2754
2742
|
* @returns {"rec" | "cloudRecord" | "cloudRec" | ""} 录像类型, rec: 录像, cloudRec: 云录像, cloudRecord: 云录制
|
|
2755
2743
|
*/
|
|
2756
|
-
protected _getRecType(url: string): "" | "
|
|
2744
|
+
protected _getRecType(url: string): "" | "cloudRec" | "cloudRecord" | "rec";
|
|
2757
2745
|
private resetControl;
|
|
2758
2746
|
/**
|
|
2759
2747
|
* 窗口全屏后旋转 90度判断, 然后设置控件已经旋转 90度, 为了解决控件交互问题
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ezuikit/player-theme",
|
|
3
|
-
"version": "3.1.3-beta.
|
|
3
|
+
"version": "3.1.3-beta.3",
|
|
4
4
|
"description": "player theme",
|
|
5
5
|
"title": "theme",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"@ezuikit/utils-logger": "^2.0.1",
|
|
39
39
|
"@ezuikit/utils-tools": "^2.0.6",
|
|
40
40
|
"@ezuikit/control-date-picker": "2.1.2-beta.1",
|
|
41
|
-
"@ezuikit/control-segment-progress": "0.0.1",
|
|
42
41
|
"@ezuikit/control-time-line": "2.1.0",
|
|
43
42
|
"@ezuikit/control-ptz": "1.0.0",
|
|
44
43
|
"@ezuikit/control-rec-list-modal": "0.0.1",
|
|
44
|
+
"@ezuikit/control-segment-progress": "0.0.1",
|
|
45
45
|
"@ezuikit/control-zoom": "1.0.0-beta.4",
|
|
46
46
|
"@juggle/resize-observer": "^3.4.0",
|
|
47
47
|
"@skax/delegate": "4.0.2",
|