@dobot-plus/template 1.3.10 → 1.3.12

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.
@@ -116,9 +116,16 @@ export interface ToolState {
116
116
  }
117
117
  pointData: any[]
118
118
  jogInPaused: boolean
119
+ isAutoIdentify: boolean
119
120
  }
120
121
 
121
122
  export type DeviceState = {
123
+ dragTeach?: {
124
+ status: boolean
125
+ mode: number
126
+ direction: boolean[]
127
+ custom?: boolean[]
128
+ }
122
129
  isTimeout?: boolean
123
130
  stateL?: boolean
124
131
  pose: {
@@ -128,10 +135,10 @@ export type DeviceState = {
128
135
  l: number
129
136
  rdnCoordinate?: number[]
130
137
  }
131
- alarm: number[]
138
+ alarm: number[][]
132
139
  alarmGo: number[]
133
140
  hht: {
134
- isEnabled: boolean
141
+ isEnabled: string
135
142
  }
136
143
  safeGuardMode?: 0 | 1 | 2
137
144
  batteryVoltage?: number
@@ -8,13 +8,13 @@ if (root) {
8
8
  createRoot(root).render(
9
9
  <React.StrictMode>
10
10
  <div className="container">
11
- <h2>插件页面</h2>
11
+ <h2>Plugin Page</h2>
12
12
  <Space>
13
13
  <Card
14
14
  title={
15
15
  <Space>
16
- <span>导航栏</span>
17
- <a href="/Toolbar/toolbar.html">预览|调试</a>
16
+ <span>Toolbar Menu Page</span>
17
+ <a href="/Toolbar/toolbar.html">GoTo</a>
18
18
  </Space>
19
19
  }
20
20
  >
@@ -25,8 +25,8 @@ if (root) {
25
25
  <Card
26
26
  title={
27
27
  <Space>
28
- <span>控制页面</span>
29
- <a href="/Main">预览|调试</a>
28
+ <span>Main Control Page</span>
29
+ <a href="/Main">GoTo</a>
30
30
  </Space>
31
31
  }
32
32
  >
@@ -34,18 +34,6 @@ if (root) {
34
34
  <iframe src="/Main"></iframe>
35
35
  </div>
36
36
  </Card>
37
- <Card
38
- title={
39
- <Space>
40
- <span>积木弹窗</span>
41
- <a href="/Blocks">预览|调试</a>
42
- </Space>
43
- }
44
- >
45
- <div className="iframe-container">
46
- <iframe src="/Blocks"></iframe>
47
- </div>
48
- </Card>
49
37
  </Space>
50
38
  </div>
51
39
  </React.StrictMode>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dobot-plus/template",
3
- "version": "1.3.10",
3
+ "version": "1.3.12",
4
4
  "engines": {
5
5
  "node": "20"
6
6
  },