g-ai-robot3 0.1.81 → 0.1.83

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.
Files changed (2) hide show
  1. package/README.md +5 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  npm install g-ai-robot3 --save
11
11
  ```
12
12
 
13
- ### 使用
13
+ ### 使用示例
14
14
  ``` javascript
15
15
  import gAiRobot from "g-ai-robot";
16
16
  import "g-ai-robot3/dist/g-ai-robot3.css";
@@ -19,9 +19,8 @@ import "g-ai-robot3/dist/g-ai-robot3.css";
19
19
  :canvasWidth="180" :canvasHeight="180" :videoStyle="{width:'180px',visibility:'hidden'}" :digitalStyle="{width:'180px',height:'180px'}"
20
20
  >
21
21
  </g-ai-robot>
22
-
23
- ## 必填参数 (Required Parameters)
24
-
22
+ ```
23
+ ### 必填参数 (Required Parameters)
25
24
 
26
25
  | 参数 | 说明 | 类型 | 示例值 | 注意事项 |
27
26
  |--------------------|-----------------------|--------------|-----------------------------------------|--------------------------------------------------------------------------|
@@ -32,8 +31,6 @@ import "g-ai-robot3/dist/g-ai-robot3.css";
32
31
  | `videoStyle` | 视频样式 | CSSProperties | `{width:'180px',visibility:'hidden'}` | width必须与`canvasWidth`保持一致 |
33
32
  | `digitalStyle` | 数字人样式 | CSSProperties | `{width:'180px',height:'180px'}` | width/height必须与`canvasWidth`/`canvasHeight`保持一致
34
33
 
35
- ### 配置示例
36
- | :canvasWidth="180" :canvasHeight="180" :videoStyle="{width:'180px',visibility:'hidden'}" :digitalStyle="{width:'180px',height:'180px'}" |
37
34
 
38
35
  ## 基础配置参数
39
36
 
@@ -95,8 +92,6 @@ import "g-ai-robot3/dist/g-ai-robot3.css";
95
92
  | `BubbleWidth` | 气泡宽度 | number | `220` |
96
93
  | `BubbleBottom` | 气泡底部距离 | number | `85` |
97
94
 
98
- ## 事件处理
99
-
100
95
  ### 关键词触发事件,工作流处理
101
96
 
102
97
  ```typescript
@@ -115,4 +110,5 @@ eventFun: [
115
110
  console.log("打开技术舱");
116
111
  }
117
112
  }
118
- ]
113
+ ]
114
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "g-ai-robot3",
3
3
  "private": false,
4
- "version": "0.1.81",
4
+ "version": "0.1.83",
5
5
  "type": "module",
6
6
  "main": "dist/g-ai-robot3.js",
7
7
  "module": "dist/g-ai-robot3.es.js",