@jnrs/lingshu-smart 2.2.21 → 2.2.23
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/AGENTIC.md +173 -177
- package/dist/components/index.js +6 -4
- package/dist/components/preview/index.vue.d.ts +4 -0
- package/dist/{index-dTS3WIch.js → index-2zNqeRBi.js} +10 -10
- package/dist/index.js +1 -1
- package/dist/playground/ViewPageDemo.vue.d.ts +2 -0
- package/dist/types/app.types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -12439,7 +12439,7 @@ class af extends fo {
|
|
|
12439
12439
|
}
|
|
12440
12440
|
// 操作
|
|
12441
12441
|
operating(t) {
|
|
12442
|
-
t.light && this.light && this.light.operating(t.light), t.progress && this.progress && this.progress.operating(t.progress), t.entrance && this.entrance && this.entrance.operating(t.entrance), t.resource && this.stationSlotGroup && this.stationSlotGroup.operating(t.resource), Object.hasOwn(t, "stationRotatable") && (t.stationRotatable ? this.rotateStationContainerWithAnimation("rotate") : this.rotateStationContainerWithAnimation("reset"));
|
|
12442
|
+
t.light && this.light && this.light.operating(t.light), t.progress && this.progress && this.progress.operating(t.progress), t.entrance && this.entrance && this.entrance.operating(t.entrance), t.resource && this.stationSlotGroup && this.stationSlotGroup.operating(t.resource), Object.hasOwn(t, "stationRotatable") && (t.stationRotatable === !0 ? this.rotateStationContainerWithAnimation("rotate") : t.stationRotatable === !1 && this.rotateStationContainerWithAnimation("reset"));
|
|
12443
12443
|
}
|
|
12444
12444
|
// 工位旋转/回转动画
|
|
12445
12445
|
rotateStationContainerWithAnimation(t) {
|
|
@@ -13766,26 +13766,26 @@ class UT {
|
|
|
13766
13766
|
actions;
|
|
13767
13767
|
// 事件处理
|
|
13768
13768
|
constructor(t = {}) {
|
|
13769
|
-
const { appDomId: i,
|
|
13770
|
-
this.appEditable =
|
|
13769
|
+
const { appDomId: i, appFill: r = "#424242", autoStart: n = !0, appEditable: s = !1, actions: o = {} } = t;
|
|
13770
|
+
this.appEditable = s, this.actions = o, this.app = new ey({
|
|
13771
13771
|
view: i || window,
|
|
13772
|
-
start:
|
|
13772
|
+
start: n,
|
|
13773
13773
|
ground: {},
|
|
13774
|
-
tree: { type:
|
|
13775
|
-
editor:
|
|
13774
|
+
tree: { type: s ? "design" : "game" },
|
|
13775
|
+
editor: s ? {} : void 0,
|
|
13776
13776
|
maxFPS: 60,
|
|
13777
|
-
fill:
|
|
13777
|
+
fill: r,
|
|
13778
13778
|
pointer: {
|
|
13779
13779
|
preventDefault: !0,
|
|
13780
13780
|
preventDefaultMenu: !0
|
|
13781
13781
|
}
|
|
13782
13782
|
});
|
|
13783
|
-
const
|
|
13783
|
+
const h = new st({
|
|
13784
13784
|
...cC,
|
|
13785
13785
|
id: "treeBoxUI",
|
|
13786
|
-
stroke:
|
|
13786
|
+
stroke: s ? { type: "solid", color: "rgb(242, 195, 79)" } : null
|
|
13787
13787
|
});
|
|
13788
|
-
this.treeBoxUI =
|
|
13788
|
+
this.treeBoxUI = h, this.app.tree.add(h), this.modelsMap = /* @__PURE__ */ new Map(), this.businessMap = /* @__PURE__ */ new Map(), this.setZoom();
|
|
13789
13789
|
}
|
|
13790
13790
|
// 启动/重启引擎
|
|
13791
13791
|
start() {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, b as n, d as o, E as t, a as r, f as i, h as u, i as l, g as m, e as p, l as c, n as h, j as E, t as S, k as T } from "./index-
|
|
1
|
+
import { c as e, b as n, d as o, E as t, a as r, f as i, h as u, i as l, g as m, e as p, l as c, n as h, j as E, t as S, k as T } from "./index-2zNqeRBi.js";
|
|
2
2
|
export {
|
|
3
3
|
e as EnumComponent,
|
|
4
4
|
n as EnumModel,
|
|
@@ -3,6 +3,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
3
3
|
lingshuSmartPreviewRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
4
|
actions?: import('../components/preview/index.vue').PreviewActions;
|
|
5
5
|
caseUuid?: string;
|
|
6
|
+
appFill?: string;
|
|
6
7
|
}> & Readonly<{}>, {
|
|
7
8
|
currentCase: import('vue').Ref<ICase | null | undefined, ICase | null | undefined>;
|
|
8
9
|
operating: (data: ILayerOperating) => void;
|
|
@@ -18,6 +19,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
18
19
|
}, Readonly<{
|
|
19
20
|
actions?: import('../components/preview/index.vue').PreviewActions;
|
|
20
21
|
caseUuid?: string;
|
|
22
|
+
appFill?: string;
|
|
21
23
|
}> & Readonly<{}>, {
|
|
22
24
|
currentCase: import('vue').Ref<ICase | null | undefined, ICase | null | undefined>;
|
|
23
25
|
operating: (data: ILayerOperating) => void;
|