@ezuikit/player-theme 2.1.0-beta.3 → 2.1.0-beta.5

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/style.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.1.0-beta.3
3
- * Copyright (c) 2025-12-30 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.1.0-beta.5
3
+ * Copyright (c) 2026-01-03 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  require("./style.css");
@@ -1897,13 +1897,7 @@ declare class Theme extends EventEmitter {
1897
1897
  3860020: string;
1898
1898
  BTN_RETRY: string;
1899
1899
  BTN_RELOAD: string;
1900
- LOADING: string; /**
1901
- * 播放状态
1902
- * ```ts
1903
- * // 事件监听
1904
- * theme.on(Theme.EVENTS.play, (playing: boolean) => {})
1905
- * ```
1906
- */
1900
+ LOADING: string;
1907
1901
  TIMEFORMAT_ERROR: string;
1908
1902
  USE_MULTITHREADING_WARING: string;
1909
1903
  OPEN_INSTRUCTIONS: string;
@@ -1983,16 +1977,7 @@ declare class Theme extends EventEmitter {
1983
1977
  START_RECORD_FAILED: string;
1984
1978
  STOP_RECORD_SUCCESS: string;
1985
1979
  STOP_RECORD_FAILED: string;
1986
- RECORD_TIPS: string; /**
1987
- * 电子放大倍数, 仅 ezopen 支持
1988
- * @since 0.0.1
1989
- * @example
1990
- * ```ts
1991
- * theme.zoom // 放大倍数
1992
- * // 事件监听
1993
- * theme.on(Theme.EVENTS.zoom, (zoom: number) => {})
1994
- * ```
1995
- */
1980
+ RECORD_TIPS: string;
1996
1981
  RECORDS: string;
1997
1982
  OPEN_SOUND: string;
1998
1983
  CLOSE_SOUND: string;
@@ -2031,19 +2016,6 @@ declare class Theme extends EventEmitter {
2031
2016
  MOBILE_PTZ_TIPS: string;
2032
2017
  PTZ_FAST: string;
2033
2018
  PTZ_MID: string;
2034
- /**
2035
- * 对讲增益(音量), 仅 ezopen 支持
2036
- *
2037
- * {@link https://mdn.org.cn/en-US/docs/Web/API/Web_Audio_API/Using_Web_Audio_API}
2038
- *
2039
- * @since 0.0.1
2040
- * @example
2041
- * ```ts
2042
- * theme.talkGain // 对讲音量
2043
- * // 事件监听 event
2044
- * theme.on(Theme.EVENTS.talk, (gain: number) => {})
2045
- * ```
2046
- */
2047
2019
  PTZ_SLOW: string;
2048
2020
  PTZ_SPEED: string;
2049
2021
  DEVICE_ZOOM: string;
@@ -2055,7 +2027,9 @@ declare class Theme extends EventEmitter {
2055
2027
  CHANGE_FEC_TYPE: string;
2056
2028
  DEVICE_NOT_SUPPORT: string;
2057
2029
  TYPE_NOT_SUPPORT: string;
2058
- FEC_SUPPORT_VERSION: string;
2030
+ FEC_SUPPORT_VERSION: string; /**
2031
+ * 云台开启中
2032
+ */
2059
2033
  NO_CANVAS_ID: string;
2060
2034
  SET_FEC_PARAMS: string;
2061
2035
  GET_FEC_PARAMS: string;
package/package.json CHANGED
@@ -1,10 +1,17 @@
1
1
  {
2
2
  "name": "@ezuikit/player-theme",
3
- "version": "2.1.0-beta.3",
3
+ "version": "2.1.0-beta.5",
4
4
  "description": "player theme",
5
5
  "title": "theme",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/types/index.d.ts",
8
+ "scripts": {
9
+ "dev": "cross-env NODE_ENV=development rollup --config rollup.config.mjs --watch",
10
+ "build": "npm run clean && cross-env NODE_ENV=production rollup --config rollup.config.mjs",
11
+ "clean": "rimraf docs dist coverage",
12
+ "types": "tsc src/index.ts --emitDeclarationOnly --declaration --declarationDir dist/types --esModuleInterop",
13
+ "docs": "typedoc --tsconfig typedoc.config.js"
14
+ },
8
15
  "files": [
9
16
  "dist"
10
17
  ],
@@ -21,8 +28,8 @@
21
28
  "@ezuikit/utils-i18n": "2.0.0",
22
29
  "@ezuikit/utils-logger": "2.0.0",
23
30
  "@ezuikit/utils-tools": "2.0.1",
24
- "@ezuikit/control-date-picker": "1.0.3",
25
- "@ezuikit/control-time-line": "1.0.5",
31
+ "@ezuikit/control-date-picker": "1.0.4",
32
+ "@ezuikit/control-time-line": "1.0.6",
26
33
  "@juggle/resize-observer": "^3.4.0",
27
34
  "@skax/delegate": "4.0.2",
28
35
  "@skax/picker": "1.1.7",
@@ -30,6 +37,15 @@
30
37
  "eventemitter3": "^5.0.1",
31
38
  "screenfull": "5.2.0"
32
39
  },
40
+ "devDependencies": {
41
+ "@common/rollup": "workspace:*",
42
+ "@ezuikit/control-ptz": "workspace:*",
43
+ "@ezuikit/control-zoom": "workspace:*"
44
+ },
45
+ "publishConfig": {
46
+ "access": "public",
47
+ "registry": "https://registry.npmjs.org/"
48
+ },
33
49
  "repository": {
34
50
  "type": "git",
35
51
  "url": "git+https://github.com/Ezviz-OpenBiz/EZUIKit-player-theme.git"