@jnrs/lingshu-smart 3.1.16 → 3.1.18
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/AGENTS.md +8 -8
- package/dist/components/debug/WsProxy/MappingGrid.vue.d.ts +3 -0
- package/dist/components/debug/WsProxy/proxy.d.ts +22 -2
- package/dist/components/index.js +6416 -6480
- package/dist/components/preview/index.vue.d.ts +1409 -703
- package/dist/controller/AppController.d.ts +1 -1
- package/dist/lingshu-smart/cases.json +154 -1
- package/dist/playground/ViewPageDemo.vue.d.ts +2818 -1406
- package/dist/stores/index.js +1 -1
- package/dist/stores/useAppStore.d.ts +4227 -2109
- package/dist/stores/useDataStore.d.ts +4230 -2106
- package/dist/types/base.types.d.ts +4 -1
- package/dist/types/models/config.types.d.ts +7 -3
- package/dist/{useAppStore-ear8sr0q.js → useAppStore-BT6lU9eW.js} +1592 -1523
- package/dist/vite.d.ts +16 -2
- package/package.json +7 -1
|
@@ -3,7 +3,10 @@ import { EnumInteractiveUi } from './enums';
|
|
|
3
3
|
* 原始业务数据
|
|
4
4
|
*/
|
|
5
5
|
export type IRowData = {
|
|
6
|
-
|
|
6
|
+
/** 业务 ID:资源实体为资源 ID(resource_id) */
|
|
7
|
+
id?: string;
|
|
8
|
+
/** 设备业务标识(设备图层 raw_data.businessId,socket 消息的设备匹配键) */
|
|
9
|
+
businessId?: string;
|
|
7
10
|
} & Record<string, unknown>;
|
|
8
11
|
/**
|
|
9
12
|
* 交互状态
|
|
@@ -111,6 +111,8 @@ export interface ISingleJointRobotConfig extends IModel {
|
|
|
111
111
|
currentFixture: EnumResourceType | 'none';
|
|
112
112
|
/** 夹具绑定工位层(多对多):fixture → 绑定的层 index 列表;未绑定的夹具显示全部层。仅影响画布显隐与资源层索引,不影响协议消息 */
|
|
113
113
|
fixtureLayerBindings?: Partial<Record<EnumResourceType, number[]>>;
|
|
114
|
+
/** 自动切换夹具(默认开启):机器人被放置资源时按资源类型自动切换手抓夹具;开启时前端驱动优先,忽略后端下发的 current_fixture */
|
|
115
|
+
autoSwitchFixture?: boolean;
|
|
114
116
|
linkRailId?: string;
|
|
115
117
|
linkTrailerId?: string;
|
|
116
118
|
flowOptions?: IFlowConfig;
|
|
@@ -126,6 +128,8 @@ export interface IDoubleJointRobotConfig extends IModel {
|
|
|
126
128
|
currentFixture: EnumResourceType | 'none';
|
|
127
129
|
/** 夹具绑定工位层(多对多):fixture → 绑定的层 index 列表;未绑定的夹具显示全部层。仅影响画布显隐与资源层索引,不影响协议消息 */
|
|
128
130
|
fixtureLayerBindings?: Partial<Record<EnumResourceType, number[]>>;
|
|
131
|
+
/** 自动切换夹具(默认开启):机器人被放置资源时按资源类型自动切换手抓夹具;开启时前端驱动优先,忽略后端下发的 current_fixture */
|
|
132
|
+
autoSwitchFixture?: boolean;
|
|
129
133
|
linkRailId?: string;
|
|
130
134
|
linkTrailerId?: string;
|
|
131
135
|
flowOptions?: IFlowConfig;
|
|
@@ -161,9 +165,9 @@ export interface IResourceStoreConfig extends IModel {
|
|
|
161
165
|
flowOptions?: IFlowConfig;
|
|
162
166
|
/** 是否隐藏外层容器边界(默认 true 隐藏;false 时显示容器轮廓) */
|
|
163
167
|
hideBounds?: boolean;
|
|
164
|
-
/**
|
|
168
|
+
/** 样式配置:主体背景色(缺省默认 #ffffff;显式空串表示无填充 / 透明) */
|
|
165
169
|
backgroundColor?: string;
|
|
166
|
-
/** 样式配置:主体纹理材质(TextureEffect
|
|
170
|
+
/** 样式配置:主体纹理材质(TextureEffect 名称;空串 / 缺省表示无贴图) */
|
|
167
171
|
skinTexture?: string;
|
|
168
172
|
/** 样式配置:纹理平铺大小(单格像素;缺省 4) */
|
|
169
173
|
skinTextureSize?: number;
|
|
@@ -207,7 +211,7 @@ export interface IPalletConfig extends IModel {
|
|
|
207
211
|
/** 兼容旧配置:刀具工位组(无 stationSlotGroups 时迁移为第 2 层) */
|
|
208
212
|
stationSlotGroupTool?: IStationSlotGroupConfig;
|
|
209
213
|
linkEquipId?: string;
|
|
210
|
-
/** 扩展工位宿主设备 ID(业务 rawData.
|
|
214
|
+
/** 扩展工位宿主设备 ID(业务 rawData.businessId):绑定后本托盘工位并入宿主设备的工位编号空间(合并编号),资源寻址宿主越界时顺延落到本托盘;与宿主共用 device_id 时资源增删寻址逻辑合并(视觉上仍独立) */
|
|
211
215
|
extendHostId?: string;
|
|
212
216
|
}
|
|
213
217
|
/**
|