@kengic/vue 0.30.1-beta.35 → 0.30.1-beta.37
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/index.css +1 -1
- package/dist/kengic-vue.js +29602 -28870
- package/dist/pause-rounded.1ed7cc39.mjs +8 -0
- package/dist/play-arrow-rounded.90fc4173.mjs +8 -0
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.Title.d.ts +11 -0
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Canvas.service.d.ts +16 -7
- package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +50 -22
- package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +35 -7
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +360 -188
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +93 -52
- package/dist/src/component/KgSimulator/KgSimulator.utils.d.ts +8 -0
- package/package.json +2 -2
- package/dist/src/component/KgSimulator/KgSimulator.Title.d.ts +0 -11
|
@@ -1,49 +1,44 @@
|
|
|
1
1
|
import { Q } from '@thymine/xunee';
|
|
2
|
+
import { WebSocketResult } from '@vueuse/core';
|
|
2
3
|
import { KgStoreDefinition } from '../../const';
|
|
3
4
|
import { IToolbarPlacement, Scene } from './KgSimulator.model';
|
|
4
5
|
export interface IKgSimulatorStoreGetters {
|
|
5
6
|
/**
|
|
6
|
-
*
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* 环形输送线--当前场景--是否已经保存.
|
|
11
|
-
*/
|
|
12
|
-
$circularConveyor$currentScene$isSave: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* 环形输送线--当前场景--是否正在保存.
|
|
15
|
-
*/
|
|
16
|
-
$circularConveyor$currentScene$isSaving: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* 环形穿梭车--当前场景.
|
|
19
|
-
*/
|
|
20
|
-
$circularShuttle$currentScene: any | null;
|
|
21
|
-
/**
|
|
22
|
-
* 环形穿梭车--当前场景--是否已经保存.
|
|
23
|
-
*/
|
|
24
|
-
$circularShuttle$currentScene$isSave: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* 环形穿梭车--当前场景--是否正在保存.
|
|
7
|
+
* 配置--环形输送线--接口地址--创建代理者.
|
|
8
|
+
*
|
|
9
|
+
* @default '/Agent/CreateAgent'
|
|
27
10
|
*/
|
|
28
|
-
$
|
|
11
|
+
$config$circularConveyor$api$CreateAgent: string;
|
|
29
12
|
/**
|
|
30
13
|
* 配置--环形输送线--接口地址--创建场景.
|
|
31
14
|
*
|
|
32
15
|
* @default '/Scene/CreateScene'
|
|
33
16
|
*/
|
|
34
|
-
$config$circularConveyor$api$
|
|
17
|
+
$config$circularConveyor$api$CreateScene: string;
|
|
18
|
+
/**
|
|
19
|
+
* 配置--环形输送线--接口地址--销毁代理者.
|
|
20
|
+
*
|
|
21
|
+
* @default '/Agent/DestroyAgent'
|
|
22
|
+
*/
|
|
23
|
+
$config$circularConveyor$api$DestroyAgent: string;
|
|
35
24
|
/**
|
|
36
25
|
* 配置--环形输送线--接口地址--查询场景列表.
|
|
37
26
|
*
|
|
38
27
|
* @default '/Scene/GetScenes'
|
|
39
28
|
*/
|
|
40
|
-
$config$circularConveyor$api$
|
|
29
|
+
$config$circularConveyor$api$RequestSceneList: string;
|
|
41
30
|
/**
|
|
42
31
|
* 配置--环形输送线--接口地址--更新场景.
|
|
43
32
|
*
|
|
44
33
|
* @default '/Scene/SaveScene'
|
|
45
34
|
*/
|
|
46
|
-
$config$circularConveyor$api$
|
|
35
|
+
$config$circularConveyor$api$UpdateScene: string;
|
|
36
|
+
/**
|
|
37
|
+
* 配置--环形输送线--接口地址--WEBSOCKET.
|
|
38
|
+
*
|
|
39
|
+
* @default '/Scene/GetScenes'
|
|
40
|
+
*/
|
|
41
|
+
$config$circularConveyor$api$ws: string;
|
|
47
42
|
/**
|
|
48
43
|
* 配置--环境--是否是环形输送线.
|
|
49
44
|
*
|
|
@@ -56,24 +51,6 @@ export interface IKgSimulatorStoreGetters {
|
|
|
56
51
|
* @default false
|
|
57
52
|
*/
|
|
58
53
|
$config$env$isCircularShuttle: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* 配置--模式--是否是编辑模式.
|
|
61
|
-
*
|
|
62
|
-
* @default true
|
|
63
|
-
*/
|
|
64
|
-
$config$mode$isEdit: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* 配置--模式--是否是监控模式.
|
|
67
|
-
*
|
|
68
|
-
* @default false
|
|
69
|
-
*/
|
|
70
|
-
$config$mode$isMonitor: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* 配置--模式--是否是仿真模式.
|
|
73
|
-
*
|
|
74
|
-
* @default false
|
|
75
|
-
*/
|
|
76
|
-
$config$mode$isSimulate: boolean;
|
|
77
54
|
/**
|
|
78
55
|
* 配置--工具栏--预制组件--是否打开.
|
|
79
56
|
*
|
|
@@ -128,22 +105,79 @@ export interface IKgSimulatorStoreGetters {
|
|
|
128
105
|
* @default 'LEFT_TOP'
|
|
129
106
|
*/
|
|
130
107
|
$config$toolbar$scene$placement: IToolbarPlacement;
|
|
108
|
+
/**
|
|
109
|
+
* 环境--环形输送线--当前场景.
|
|
110
|
+
*/
|
|
111
|
+
$env$circularConveyor$currentScene: Scene | null;
|
|
112
|
+
/**
|
|
113
|
+
* 环境--环形输送线--当前场景--是否已经保存.
|
|
114
|
+
*/
|
|
115
|
+
$env$circularConveyor$currentScene$isSave: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* 环境--环形输送线--当前场景--是否正在保存.
|
|
118
|
+
*/
|
|
119
|
+
$env$circularConveyor$currentScene$isSaving: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* 环境--环形穿梭车--当前场景.
|
|
122
|
+
*/
|
|
123
|
+
$env$circularShuttle$currentScene: any | null;
|
|
124
|
+
/**
|
|
125
|
+
* 环境--环形穿梭车--当前场景--是否已经保存.
|
|
126
|
+
*/
|
|
127
|
+
$env$circularShuttle$currentScene$isSave: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* 环境--环形穿梭车--当前场景--是否正在保存.
|
|
130
|
+
*/
|
|
131
|
+
$env$circularShuttle$currentScene$isSaving: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* 模式--是否是编辑模式.
|
|
134
|
+
*
|
|
135
|
+
* @default true
|
|
136
|
+
*/
|
|
137
|
+
$mode$isEdit: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* 模式--是否是监控模式.
|
|
140
|
+
*
|
|
141
|
+
* @default false
|
|
142
|
+
*/
|
|
143
|
+
$mode$isMonitor: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* 配置--模式--是否是仿真模式.
|
|
146
|
+
*
|
|
147
|
+
* @default false
|
|
148
|
+
*/
|
|
149
|
+
$mode$isSimulate: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* 配置--模式--仿真模式--正在运行.
|
|
152
|
+
*
|
|
153
|
+
* @default false
|
|
154
|
+
*/
|
|
155
|
+
$mode$simulate$isRunning: boolean;
|
|
131
156
|
}
|
|
132
157
|
export interface IKgSimulatorStoreActions {
|
|
158
|
+
/**
|
|
159
|
+
* WEBSOCKET--建立连接.
|
|
160
|
+
*
|
|
161
|
+
* @param param.url 连接地址.
|
|
162
|
+
*/
|
|
163
|
+
$WebSocket$connect(param: {
|
|
164
|
+
url: string;
|
|
165
|
+
}): void;
|
|
166
|
+
/**
|
|
167
|
+
* WEBSOCKET--获取连接结果.
|
|
168
|
+
*/
|
|
169
|
+
$WebSocket$getConnection(): WebSocketResult<any> | null;
|
|
133
170
|
get$graph(): Q.Graph | null;
|
|
134
171
|
/**
|
|
135
172
|
* 保存场景.
|
|
136
173
|
*/
|
|
137
174
|
saveScene(): Promise<void>;
|
|
138
|
-
set$circularConveyor$
|
|
139
|
-
set$circularConveyor$
|
|
140
|
-
set$circularConveyor$
|
|
141
|
-
set$
|
|
142
|
-
set$
|
|
143
|
-
set$
|
|
144
|
-
set$config$circularConveyor$api$createScene(value: string | null | undefined): void;
|
|
145
|
-
set$config$circularConveyor$api$requestSceneList(value: string | null | undefined): void;
|
|
146
|
-
set$config$circularConveyor$api$updateScene(value: string | null | undefined): void;
|
|
175
|
+
set$config$circularConveyor$api$CreateAgent(value: string | null | undefined): void;
|
|
176
|
+
set$config$circularConveyor$api$CreateScene(value: string | null | undefined): void;
|
|
177
|
+
set$config$circularConveyor$api$DestroyAgent(value: string | null | undefined): void;
|
|
178
|
+
set$config$circularConveyor$api$RequestSceneList(value: string | null | undefined): void;
|
|
179
|
+
set$config$circularConveyor$api$UpdateScene(value: string | null | undefined): void;
|
|
180
|
+
set$config$circularConveyor$api$ws(value: string | null | undefined): void;
|
|
147
181
|
/**
|
|
148
182
|
* <p>设置环境.</p>
|
|
149
183
|
* <ul>
|
|
@@ -174,6 +208,13 @@ export interface IKgSimulatorStoreActions {
|
|
|
174
208
|
set$config$toolbar$scene$isOpen(value: boolean | null | undefined): void;
|
|
175
209
|
set$config$toolbar$scene$isVisible(value: boolean | null | undefined): void;
|
|
176
210
|
set$config$toolbar$scene$placement(value: IToolbarPlacement | null | undefined): void;
|
|
211
|
+
set$env$circularConveyor$currentScene(value: Scene | null | undefined): void;
|
|
212
|
+
set$env$circularConveyor$currentScene$isSave(value: boolean | null | undefined): void;
|
|
213
|
+
set$env$circularConveyor$currentScene$isSaving(value: boolean | null | undefined): void;
|
|
214
|
+
set$env$circularShuttle$currentScene(value: any | null | undefined): void;
|
|
215
|
+
set$env$circularShuttle$currentScene$isSave(value: boolean | null | undefined): void;
|
|
216
|
+
set$env$circularShuttle$currentScene$isSaving(value: boolean | null | undefined): void;
|
|
177
217
|
set$graph(value: Q.Graph | null | undefined): void;
|
|
218
|
+
set$mode$simulate$isRunning(value: boolean | null | undefined): void;
|
|
178
219
|
}
|
|
179
220
|
export declare function buildKgSimulatorStore(id: string | null | undefined): KgStoreDefinition<IKgSimulatorStoreGetters, IKgSimulatorStoreActions>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.30.1-beta.
|
|
3
|
+
"version": "0.30.1-beta.37",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
6
|
"build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@iconify-icons/mdi": "1.2.48",
|
|
44
44
|
"@iconify-icons/ph": "1.2.5",
|
|
45
45
|
"@iconify/vue": "4.1.2",
|
|
46
|
-
"@kengic/core.core": "0.0.1-beta.
|
|
46
|
+
"@kengic/core.core": "0.0.1-beta.24",
|
|
47
47
|
"@kengic/core.react": "0.0.2-beta.42",
|
|
48
48
|
"@kengic/pont": "1.2.17-beta.5",
|
|
49
49
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import './KgSimulator.css';
|
|
3
|
-
import './KgSimulator.icons';
|
|
4
|
-
export declare const getProps: () => any;
|
|
5
|
-
export declare type KgSimulatorTitleProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
6
|
-
/**
|
|
7
|
-
* 模拟器--标题栏.
|
|
8
|
-
*/
|
|
9
|
-
export declare const KgSimulatorTitle: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
}>;
|