@jnrs/lingshu-smart 3.1.10 → 3.1.11

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.
@@ -1,4 +1,4 @@
1
- import { ICase, ILayer, ILayerOperating, InteractiveUi } from '../../types';
1
+ import { ICase, ILayer, ILayerOperating, InteractiveUi, SlotResourceMode } from '../../types';
2
2
  export interface PreviewActions {
3
3
  /**
4
4
  * 加载案例列表
@@ -39,6 +39,12 @@ type __VLS_Props = {
39
39
  * 隐藏场景元素(如背景、网格等)
40
40
  */
41
41
  hideSceneFill?: boolean;
42
+ /**
43
+ * 工位槽资源放置模式
44
+ * - replace(默认):替换模式,新资源无条件替换槽内旧资源,槽内始终最多 1 个资源
45
+ * - overlay:叠加模式,同槽可并存多个资源(超出槽位 maxResources 时先进先出淘汰)
46
+ */
47
+ slotResourceMode?: SlotResourceMode;
42
48
  };
43
49
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
44
50
  currentCase: import('vue').Ref<{
@@ -16083,6 +16089,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
16083
16089
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16084
16090
  actions: PreviewActions;
16085
16091
  appHittable: boolean;
16092
+ slotResourceMode: SlotResourceMode;
16086
16093
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
16087
16094
  visualRef: HTMLDivElement;
16088
16095
  }, HTMLDivElement>;
@@ -1,4 +1,4 @@
1
- import { b as e } from "./index-C6Liz-8o.js";
1
+ import { b as e } from "./index-CQO74KdA.js";
2
2
  import { ref as c, onMounted as t, onUnmounted as N } from "vue";
3
3
  function O(s) {
4
4
  return s?.className === e.MACHINE_TOOL;