sctj-components 1.0.71 → 1.0.72
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/lib/sctj-components.es.js +7 -3
- package/lib/sctj-components.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -9610,7 +9610,7 @@ const _sfc_main$4 = {
|
|
|
9610
9610
|
}
|
|
9611
9611
|
};
|
|
9612
9612
|
const SCTJBusinessMapDrawingDialog = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-d0bea808"]]);
|
|
9613
|
-
const
|
|
9613
|
+
const index_vue_vue_type_style_index_0_scoped_c4c32d62_lang = "";
|
|
9614
9614
|
const _hoisted_1$2 = { class: "controls" };
|
|
9615
9615
|
const _sfc_main$3 = {
|
|
9616
9616
|
__name: "index",
|
|
@@ -9653,7 +9653,7 @@ const _sfc_main$3 = {
|
|
|
9653
9653
|
required: true
|
|
9654
9654
|
}
|
|
9655
9655
|
},
|
|
9656
|
-
emits: ["moving"],
|
|
9656
|
+
emits: ["moving", "reset"],
|
|
9657
9657
|
setup(__props, { emit }) {
|
|
9658
9658
|
const props = __props;
|
|
9659
9659
|
const mapContainerRef = ref$1(null);
|
|
@@ -9772,6 +9772,9 @@ const _sfc_main$3 = {
|
|
|
9772
9772
|
map.value.setFitView();
|
|
9773
9773
|
moveMarker.value.on("moving", (e) => {
|
|
9774
9774
|
emit("moving", e);
|
|
9775
|
+
if (!isPlayed.value) {
|
|
9776
|
+
isPlayed.value = true;
|
|
9777
|
+
}
|
|
9775
9778
|
});
|
|
9776
9779
|
};
|
|
9777
9780
|
const startPlay = () => {
|
|
@@ -9811,6 +9814,7 @@ const _sfc_main$3 = {
|
|
|
9811
9814
|
isPlayed.value = false;
|
|
9812
9815
|
const initialPoint = formatPath(props.pathPoints)[0];
|
|
9813
9816
|
passedPolyline.value.setPath([initialPoint]);
|
|
9817
|
+
emit("reset");
|
|
9814
9818
|
};
|
|
9815
9819
|
const handleSpeedChange = (value) => {
|
|
9816
9820
|
if (isPlaying.value) {
|
|
@@ -9927,7 +9931,7 @@ const _sfc_main$3 = {
|
|
|
9927
9931
|
};
|
|
9928
9932
|
}
|
|
9929
9933
|
};
|
|
9930
|
-
const SCTJTrackPlayback = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
9934
|
+
const SCTJTrackPlayback = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-c4c32d62"]]);
|
|
9931
9935
|
const BimViewer_vue_vue_type_style_index_0_scoped_89f55b38_lang = "";
|
|
9932
9936
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-89f55b38"), n = n(), popScopeId(), n);
|
|
9933
9937
|
const _hoisted_1$1 = {
|