@ezuikit/player-theme 2.1.0-beta.8 → 2.1.1-beta.1

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/README.md CHANGED
@@ -1,40 +1 @@
1
- ## 简介
2
-
3
- 萤石播放器主题
4
-
5
- ## 快速入门
6
-
7
- ```ts
8
- import Theme from '@ezuikit/player-theme';
9
- // 引入样式
10
- import '@ezuikit/player-theme/dist/style.css';
11
-
12
- // 使用
13
- const theme = new Theme({
14
- // ...
15
- });
16
-
17
- // 播放器接入主题
18
- class Player extends Theme {
19
- constructor(options) {
20
- super(options);
21
- // ...
22
- }
23
- // ...
24
- }
25
- ```
26
-
27
- ## 样式变量
28
-
29
- ```scss
30
- --ezplayer-default-color: #fff;
31
- --ezplayer-primary-color: #407aff;
32
- --ezplayer-active-color: var(--ezplayer-primary-color, #407aff);
33
- --ezplayer-disabled-color: #aaa;
34
- --ezplayer-font-size: 14px;
35
- --ezplayer-icon-font-size: 24px;
36
- --ezplayer-btn-height: var(--ezplayer-icon-font-size, 24px);
37
- --ezplayer-border-radius: 8px;
38
- // 移动端暂时不生效
39
- --ezplayer-picker-panel-bg-color: rgba(0, 0, 0, 0.7);
40
- ```
1
+ # EZUIKit-player-theme
package/dist/constant.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*
2
- * @ezuikit/player-theme v2.1.0-beta.8
3
- * Copyright (c) 2026-01-06 Ezviz-OpenBiz
2
+ * @ezuikit/player-theme v2.1.1-beta.1
3
+ * Copyright (c) 2026-02-05 Ezviz-OpenBiz
4
4
  * Released under the MIT License.
5
5
  */
6
6
  /**
@@ -158,6 +158,8 @@ var EVENTS = {
158
158
  /** 控件开始录制 */ recordingChange: 'recordingChange',
159
159
  /** 对讲状态变化 */ talkingChange: 'talkingChange',
160
160
  /** 麦克风音量变化 */ talkVolumeChange: 'talkVolumeChange',
161
+ /** 语音广播状态变化 */ broadcastChange: 'broadcastChange',
162
+ /** AI对话框状态变化 */ aichatChange: 'aichatChange',
161
163
  /** 动态切换日志配置 */ setLoggerOptions: 'setLoggerOptions',
162
164
  records: 'records',
163
165
  ptzSpeedChange: 'ptzSpeedChange',
@@ -201,6 +203,10 @@ var EVENTS = {
201
203
  /** 开始对讲 */ talkingChange: 'Control.talkingChange',
202
204
  /** 对讲错误, 一般是麦克风权限被拒绝 */ talkError: 'Control.talkError',
203
205
  /** 对讲控件销毁 */ talkDestroy: 'Control.talkDestroy',
206
+ /** 语音广播状态变化 */ broadcastChange: 'Control.broadcastChange',
207
+ /** 语音广播控件销毁 */ broadcastDestroy: 'Control.broadcastDestroy',
208
+ /** AI对话框状态变化 */ aichatChange: 'Control.aichatChange',
209
+ /** AI对话框控件销毁 */ aichatDestroy: 'Control.aichatDestroy',
204
210
  /** 缩放比例改变 */ zoomChange: 'Control.zoomChange',
205
211
  /** 音量调节面板 展示隐藏变换 */ zoomPanelOpenChange: 'Control.zoomPanelOpenChange',
206
212
  /** 缩放控件销毁 */ zoomDestroy: 'Control.zoomDestroy',