@jnrs/lingshu-smart 2.2.46 → 2.2.47

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 (30) hide show
  1. package/dist/components/debug/DataLogPanel.vue.d.ts +16 -1
  2. package/dist/components/debug/ScriptRunner/ConfigPanel.vue.d.ts +0 -1
  3. package/dist/components/debug/ScriptRunner/script.d.ts +12 -3
  4. package/dist/components/index.js +4930 -4674
  5. package/dist/components/preview/index.vue.d.ts +1321 -1555
  6. package/dist/controller/AppController.d.ts +10 -1
  7. package/dist/{guards-aLOXCeCF.js → guards-Bi8oNtaY.js} +2 -2
  8. package/dist/index.js +1 -1
  9. package/dist/lingshu-smart/cases.json +2679 -2656
  10. package/dist/lingshu-smart/wsProxyConfig.json +159 -138
  11. package/dist/playground/ViewPageDemo.vue.d.ts +2662 -3130
  12. package/dist/stores/index.js +1 -1
  13. package/dist/stores/useAppStore.d.ts +4016 -4718
  14. package/dist/stores/useDataStore.d.ts +4527 -5220
  15. package/dist/stores/useDebugStore.d.ts +4 -1
  16. package/dist/types/components/operating.types.d.ts +8 -8
  17. package/dist/types/guards.d.ts +3 -1
  18. package/dist/types/models/config.types.d.ts +18 -4
  19. package/dist/types/models/operating.types.d.ts +23 -33
  20. package/dist/ui/abstract/ModelAbs.d.ts +5 -0
  21. package/dist/ui/components/StationSlotGroup.d.ts +2 -2
  22. package/dist/ui/models/DoubleJointRobot.d.ts +2 -0
  23. package/dist/ui/models/MachineTool.d.ts +0 -1
  24. package/dist/ui/models/Pallet.d.ts +12 -7
  25. package/dist/ui/models/Rail.d.ts +9 -2
  26. package/dist/ui/models/ResourceOperationWindow.d.ts +2 -0
  27. package/dist/ui/models/Rgv.d.ts +2 -4
  28. package/dist/ui/models/ShuttleStation.d.ts +0 -2
  29. package/dist/{useAppStore-CVyLAMtL.js → useAppStore-CevWqcmT.js} +1588 -1566
  30. package/package.json +1 -1
@@ -25,7 +25,16 @@ type __VLS_Props = {
25
25
  /** 是否展示方向/类型列(WsProxy 消息日志专用) */
26
26
  showDirectionType?: boolean;
27
27
  };
28
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
+ declare function __VLS_template(): {
29
+ attrs: Partial<{}>;
30
+ slots: {
31
+ 'filter-extra'?(_: {}): any;
32
+ };
33
+ refs: {};
34
+ rootEl: HTMLDivElement;
35
+ };
36
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
37
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
38
  copy: () => any;
30
39
  clear: () => any;
31
40
  "update:maxLogCount": (value: number) => any;
@@ -41,4 +50,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
41
50
  textFn: (row: any) => string;
42
51
  showDirectionType: boolean;
43
52
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
53
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
44
54
  export default _default;
55
+ type __VLS_WithTemplateSlots<T, S> = T & {
56
+ new (): {
57
+ $slots: S;
58
+ };
59
+ };
@@ -11,7 +11,6 @@ type __VLS_Props = {
11
11
  selectedFieldConfigs: ScriptFieldConfig[];
12
12
  deviceOptions: DeviceOption[];
13
13
  resourceDeviceOptions: DeviceOption[];
14
- statusDisplayColor: string;
15
14
  selectedDeviceValue: DeviceOption | null;
16
15
  addDeviceValue: DeviceOption | null;
17
16
  removeDeviceValue: DeviceOption | null;
@@ -7,10 +7,11 @@ export interface ScriptFieldConfig {
7
7
  key: string;
8
8
  label: string;
9
9
  /**
10
- * 字段类型。json:对象/数组类型业务字段(如 stationColor、layerStationStatus、laserSiteNumberArray),
11
- * 以 JSON 文本字符串形式编辑与存储,生成消息/预览时经 parseJsonFieldValues 解析为对象/数组
10
+ * 字段类型。json:对象/数组类型业务字段(如 stationColor、layerStationStatus、laserSites),
11
+ * 以 JSON 文本字符串形式编辑与存储,生成消息/预览时经 parseJsonFieldValues 解析为对象/数组。
12
+ * device:设备下拉选择(持续运行步骤的「驱动设备」字段)
12
13
  */
13
- type: 'input' | 'select' | 'switch' | 'number' | 'color' | 'json';
14
+ type: 'input' | 'select' | 'switch' | 'number' | 'color' | 'json' | 'device';
14
15
  options?: {
15
16
  label: string;
16
17
  value: string | number;
@@ -28,6 +29,12 @@ export interface ScriptStep {
28
29
  delay: number;
29
30
  enabled: boolean;
30
31
  params: Record<string, any>;
32
+ /**
33
+ * 用户显式配置过的字段 key 列表:
34
+ * 生成消息时仅发送这些字段,避免设备字段默认值(如 x/j1=0)把模型瞬间移回原点,
35
+ * 与「持续运行」等高频位置驱动冲突造成抖动。undefined 表示兼容旧数据(全部发送)
36
+ */
37
+ configuredKeys?: string[];
31
38
  /** 返回码(0 操作成功 / 400 客户端参数错误 / 500 服务端处理异常) */
32
39
  code: number;
33
40
  /** 返回消息说明(可选 code 自动带入后可修改) */
@@ -58,6 +65,8 @@ export declare const CUSTOM_DEVICE_TYPE = "__custom__";
58
65
  export declare const RESET_ALL_TYPE = "__resetAll__";
59
66
  /** 「全部复位」业务数据的 type 预设值(与代理器全局操作类 ResetAll 规则的源类型值一致) */
60
67
  export declare const RESET_ALL_MSG_TYPE = "resetAll";
68
+ /** 设备/资源下拉「持续运行」选项的标识值(选中后按设定频率持续发送设备高频消息,模拟生产环境持续运行) */
69
+ export declare const CONTINUOUS_TYPE = "__continuous__";
61
70
  /** 资源类型选项 */
62
71
  export declare const resourceTypeOptions: {
63
72
  label: string;