@realsee/dnalogel 3.31.1-dev.0 → 3.32.0-dev.0
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/CHANGELOG.md +3 -0
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +66 -66
- package/dist/index.js +5849 -5666
- package/dist/index.umd.js +59 -59
- package/libs/AreaMakerPlugin/Controller.js +54 -44
- package/libs/AreaMakerPlugin/index.js +13 -3
- package/libs/AreaMakerPlugin/utils/Item.js +13 -3
- package/libs/CruisePlugin/Move.js +50 -37
- package/libs/CruisePlugin/Work.js +19 -6
- package/libs/CruisePlugin/index.js +23 -10
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +46 -33
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +23 -10
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelMakerPlugin/Controller.js +33 -23
- package/libs/ModelMakerPlugin/index.js +13 -3
- package/libs/ModelMakerPlugin/utils/Text.js +43 -33
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +38 -28
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +72 -61
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +145 -131
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +130 -115
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +84 -65
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +56 -51
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +41 -32
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +167 -162
- package/libs/floorplan/Components/Main.js +85 -76
- package/libs/floorplan/Components/MissingFloor.js +24 -21
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +104 -101
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +143 -129
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +5 -6
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -2,29 +2,29 @@ var M = Object.defineProperty, C = Object.defineProperties;
|
|
|
2
2
|
var S = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var f = Object.getOwnPropertySymbols;
|
|
4
4
|
var A = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var u = (h, o, t) => o in h ? M(h, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[o] = t, d = (h, o) => {
|
|
6
6
|
for (var t in o || (o = {}))
|
|
7
|
-
A.call(o, t) &&
|
|
7
|
+
A.call(o, t) && u(h, t, o[t]);
|
|
8
8
|
if (f)
|
|
9
9
|
for (var t of f(o))
|
|
10
|
-
_.call(o, t) &&
|
|
10
|
+
_.call(o, t) && u(h, t, o[t]);
|
|
11
11
|
return h;
|
|
12
12
|
}, p = (h, o) => C(h, S(o));
|
|
13
|
-
var
|
|
14
|
-
var
|
|
13
|
+
var a = (h, o, t) => (u(h, typeof o != "symbol" ? o + "" : o, t), t);
|
|
14
|
+
var m = (h, o, t) => new Promise((i, e) => {
|
|
15
15
|
var s = (n) => {
|
|
16
16
|
try {
|
|
17
17
|
c(t.next(n));
|
|
18
18
|
} catch (l) {
|
|
19
19
|
e(l);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, r = (n) => {
|
|
22
22
|
try {
|
|
23
23
|
c(t.throw(n));
|
|
24
24
|
} catch (l) {
|
|
25
25
|
e(l);
|
|
26
26
|
}
|
|
27
|
-
}, c = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(s,
|
|
27
|
+
}, c = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(s, r);
|
|
28
28
|
c((t = t.apply(h, o)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as g from "three";
|
|
@@ -59,11 +59,21 @@ import "../shared-utils/three/objects/LineSegments.js";
|
|
|
59
59
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
60
60
|
import "../shared-utils/animationFrame/index.js";
|
|
61
61
|
import "../components/AreaLabel/LabelItem.js";
|
|
62
|
-
import "../vendor/svelte/internal/
|
|
62
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
63
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
64
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
65
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
66
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
67
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
68
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
69
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
70
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
71
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
72
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
63
73
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
64
74
|
import "../shared-utils/math/planimetry.js";
|
|
65
75
|
import "../shared-utils/dom/resizeObserver.js";
|
|
66
|
-
class
|
|
76
|
+
class Mt extends k {
|
|
67
77
|
/** AreaMakerPlugin
|
|
68
78
|
* @param `five` `<Five>` Five 实例
|
|
69
79
|
* @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
|
|
@@ -73,57 +83,57 @@ class dt extends k {
|
|
|
73
83
|
super(t);
|
|
74
84
|
// ==================== public properties ====================
|
|
75
85
|
/** 插件当前状态 */
|
|
76
|
-
|
|
86
|
+
a(this, "state");
|
|
77
87
|
/** 标注模型 { id: item } 的映射表 */
|
|
78
|
-
|
|
88
|
+
a(this, "itemMap");
|
|
79
89
|
/** 自定义 DOM */
|
|
80
|
-
|
|
90
|
+
a(this, "itemRenderer");
|
|
81
91
|
/** 标注模型容器 */
|
|
82
|
-
|
|
92
|
+
a(this, "modelGroup");
|
|
83
93
|
/** 当前使用的数据 */
|
|
84
|
-
|
|
94
|
+
a(this, "data");
|
|
85
95
|
/** tag 容器 */
|
|
86
|
-
|
|
96
|
+
a(this, "tagDomContainer");
|
|
87
97
|
/** 查询问题使用的调试对象 */
|
|
88
|
-
|
|
98
|
+
a(this, "checkMsg", {
|
|
89
99
|
childrenMountedState: ""
|
|
90
100
|
});
|
|
91
101
|
// ==================== private properties ====================
|
|
92
102
|
/** 是否在 Five Change Mode 动画中 */
|
|
93
|
-
|
|
103
|
+
a(this, "isInFiveChangeModeAnime", !1);
|
|
94
104
|
/** 子组件是否挂载 */
|
|
95
|
-
|
|
105
|
+
a(this, "childrenMountedState", !1);
|
|
96
106
|
/** config 的原始值 */
|
|
97
|
-
|
|
107
|
+
a(this, "_config");
|
|
98
108
|
/** disposed 的原始值 */
|
|
99
|
-
|
|
109
|
+
a(this, "_disposed", !1);
|
|
100
110
|
/** 销毁插件,移除所有副作用,销毁后将不响应任何 API */
|
|
101
|
-
|
|
111
|
+
a(this, "dispose", () => {
|
|
102
112
|
this.five.scene.remove(this.modelGroup);
|
|
103
113
|
});
|
|
104
|
-
|
|
114
|
+
a(this, "onFiveInitAnimationWillStart", () => {
|
|
105
115
|
this.isInFiveChangeModeAnime = !0, this.updateChildrenMountedState();
|
|
106
116
|
});
|
|
107
|
-
|
|
117
|
+
a(this, "onFiveInitAnimationEnded", () => {
|
|
108
118
|
this.isInFiveChangeModeAnime = !1, this.updateChildrenMountedState();
|
|
109
119
|
});
|
|
110
|
-
|
|
120
|
+
a(this, "onFiveCameraUpdate", () => {
|
|
111
121
|
const t = this.five.camera;
|
|
112
122
|
[...this.itemMap.values()].sort((e, s) => {
|
|
113
|
-
const
|
|
114
|
-
return s.tagPosition.distanceTo(t.position) -
|
|
123
|
+
const r = e.tagPosition.distanceTo(t.position);
|
|
124
|
+
return s.tagPosition.distanceTo(t.position) - r;
|
|
115
125
|
}).forEach((e, s) => {
|
|
116
|
-
var
|
|
117
|
-
(
|
|
126
|
+
var r;
|
|
127
|
+
(r = this.getMaskItemByID(e.id)) == null || r.setTagZIndex(s * 10);
|
|
118
128
|
});
|
|
119
129
|
});
|
|
120
|
-
|
|
130
|
+
a(this, "onFiveModeChange", () => {
|
|
121
131
|
this.updateChildrenMountedState();
|
|
122
132
|
});
|
|
123
|
-
|
|
133
|
+
a(this, "onMakerTagClick", (t) => {
|
|
124
134
|
this.hooks.emit("wantsTap", { target: t.target, intersectObjects: [] });
|
|
125
135
|
});
|
|
126
|
-
|
|
136
|
+
a(this, "onWantsFiveTapGesture", (t) => {
|
|
127
137
|
const i = Array.from(this.itemMap.values()).filter((n) => n.mounted && n.visible).map((n) => ({
|
|
128
138
|
makerItem: n,
|
|
129
139
|
intersects: n.modelGroup.getRaycastIntersects(t)
|
|
@@ -163,7 +173,7 @@ class dt extends k {
|
|
|
163
173
|
}
|
|
164
174
|
/** 加载数据,重复调用会使用新数据覆盖旧数据 */
|
|
165
175
|
load(t) {
|
|
166
|
-
return
|
|
176
|
+
return m(this, null, function* () {
|
|
167
177
|
const i = this.data;
|
|
168
178
|
this.data = this.formatData(t), this.hooks.emit("dataChange", this.data, i), this.modelGroup.remove(...this.modelGroup.children), this.itemMap.forEach((e) => e.unmount()), this.itemMap.clear(), this.childrenMountedState = !1, this.checkMsg.childrenMountedState = "", this.data.list.forEach((e) => {
|
|
169
179
|
const s = new D(this, e);
|
|
@@ -202,7 +212,7 @@ class dt extends k {
|
|
|
202
212
|
* @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
|
|
203
213
|
*/
|
|
204
214
|
show(t) {
|
|
205
|
-
return
|
|
215
|
+
return m(this, null, function* () {
|
|
206
216
|
if (this.state.visible)
|
|
207
217
|
return Promise.resolve();
|
|
208
218
|
if (this.disposed)
|
|
@@ -216,7 +226,7 @@ class dt extends k {
|
|
|
216
226
|
* @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
|
|
217
227
|
*/
|
|
218
228
|
hide(t) {
|
|
219
|
-
return
|
|
229
|
+
return m(this, null, function* () {
|
|
220
230
|
if (this.state.visible === !1)
|
|
221
231
|
return;
|
|
222
232
|
const i = d({ userAction: !0 }, t);
|
|
@@ -268,8 +278,8 @@ class dt extends k {
|
|
|
268
278
|
return;
|
|
269
279
|
const s = i.userAction !== void 0 ? i.userAction : !0;
|
|
270
280
|
if (this.updateState(t, s), t.enabled !== void 0 && e.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), t.visible !== void 0 && e.visible !== t.visible) {
|
|
271
|
-
const
|
|
272
|
-
t.visible ? this._show(
|
|
281
|
+
const r = { userAction: s, anime: { duration: 500 } };
|
|
282
|
+
t.visible ? this._show(r) : this._hide(r);
|
|
273
283
|
}
|
|
274
284
|
}
|
|
275
285
|
/** 更改插件 Config
|
|
@@ -277,9 +287,9 @@ class dt extends k {
|
|
|
277
287
|
* @param `options` `<Option> | <undefined>`
|
|
278
288
|
*/
|
|
279
289
|
updateConfig(t, i = {}) {
|
|
280
|
-
var
|
|
290
|
+
var r;
|
|
281
291
|
const e = this.config, s = d(d({}, e), t);
|
|
282
|
-
this._config = s, this.hooks.emit("configChange", { prevConfig: e, config: s, userAction: (
|
|
292
|
+
this._config = s, this.hooks.emit("configChange", { prevConfig: e, config: s, userAction: (r = i.userAction) != null ? r : !0 });
|
|
283
293
|
}
|
|
284
294
|
/** 根据 ID 获取标注 */
|
|
285
295
|
getMaskItemByID(t) {
|
|
@@ -291,11 +301,11 @@ class dt extends k {
|
|
|
291
301
|
}
|
|
292
302
|
return i(t) ? {
|
|
293
303
|
list: t.list.filter((e) => e.object_data.points.length >= 3).map((e) => {
|
|
294
|
-
const s = new g.Shape(),
|
|
295
|
-
return s.moveTo(
|
|
304
|
+
const s = new g.Shape(), r = e.object_data.points[0];
|
|
305
|
+
return s.moveTo(r[0], r[2]), e.object_data.points.slice(1).forEach((n) => s.lineTo(n[0], n[2])), s.lineTo(r[0], r[2]), p(d({}, e), {
|
|
296
306
|
floor_index: e.object_data.floorIndex,
|
|
297
307
|
object_data: p(d({}, e.object_data), {
|
|
298
|
-
bottom_y:
|
|
308
|
+
bottom_y: r[1] + e.object_data.fixedY,
|
|
299
309
|
shape: s.toJSON(),
|
|
300
310
|
height: e.object_data.height + e.object_data.fixedHeight
|
|
301
311
|
})
|
|
@@ -327,16 +337,16 @@ class dt extends k {
|
|
|
327
337
|
this.hooks.emit("disable", { userAction: t.userAction }), this.five.scene.remove(this.modelGroup), this.updateChildrenMountedState(), this.five.needsRender = !0, this.five.off("wantsTapGesture", this.onWantsFiveTapGesture), this.five.off("initAnimationWillStart", this.onFiveInitAnimationWillStart), this.five.off("initAnimationEnded", this.onFiveInitAnimationEnded), this.five.off("modeChange", this.onFiveModeChange), this.five.off("cameraUpdate", this.onFiveCameraUpdate);
|
|
328
338
|
}
|
|
329
339
|
_show(t) {
|
|
330
|
-
return
|
|
340
|
+
return m(this, null, function* () {
|
|
331
341
|
this.hooks.emit("show", t), this.five.needsRender = !0;
|
|
332
342
|
});
|
|
333
343
|
}
|
|
334
344
|
_hide(t) {
|
|
335
|
-
return
|
|
345
|
+
return m(this, null, function* () {
|
|
336
346
|
this.hooks.emit("hide", t), this.five.needsRender = !0;
|
|
337
347
|
});
|
|
338
348
|
}
|
|
339
349
|
}
|
|
340
350
|
export {
|
|
341
|
-
|
|
351
|
+
Mt as Controller
|
|
342
352
|
};
|
|
@@ -31,11 +31,21 @@ import "../shared-utils/three/objects/LineSegments.js";
|
|
|
31
31
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
32
32
|
import "../shared-utils/animationFrame/index.js";
|
|
33
33
|
import "../components/AreaLabel/LabelItem.js";
|
|
34
|
-
import "../vendor/svelte/internal/
|
|
34
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
35
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
36
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
37
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
38
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
39
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
40
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
41
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
42
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
43
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
44
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
35
45
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
36
46
|
import "../shared-utils/math/planimetry.js";
|
|
37
47
|
import "../shared-utils/dom/resizeObserver.js";
|
|
38
|
-
const
|
|
48
|
+
const Y = (r, o) => new t(r, o);
|
|
39
49
|
export {
|
|
40
|
-
|
|
50
|
+
Y as AreaMakerPlugin
|
|
41
51
|
};
|
|
@@ -29,7 +29,17 @@ import "../../shared-utils/three/getObjectVisible.js";
|
|
|
29
29
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
30
30
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
31
31
|
import "../../shared-utils/animationFrame/index.js";
|
|
32
|
-
import "../../vendor/svelte/internal/
|
|
32
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
33
|
+
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
34
|
+
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
35
|
+
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
36
|
+
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
37
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
38
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
39
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
40
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
41
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
42
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
33
43
|
import "../../components/AreaLabel/Assets/roomLabelBg.js";
|
|
34
44
|
class V extends k {
|
|
35
45
|
constructor(t) {
|
|
@@ -41,7 +51,7 @@ class V extends k {
|
|
|
41
51
|
this.areaMakerItem.makerObject.raycast(t, s);
|
|
42
52
|
}
|
|
43
53
|
}
|
|
44
|
-
class
|
|
54
|
+
class ut {
|
|
45
55
|
constructor(e, t) {
|
|
46
56
|
i(this, "id");
|
|
47
57
|
/** 标注名称 */
|
|
@@ -297,5 +307,5 @@ function u(n, e) {
|
|
|
297
307
|
t.multiply(s), t.multiply(o), t.multiply(r), n.applyMatrix4(t);
|
|
298
308
|
}
|
|
299
309
|
export {
|
|
300
|
-
|
|
310
|
+
ut as AreaMakerItem
|
|
301
311
|
};
|
|
@@ -11,20 +11,20 @@ var d = (e, i, t) => i in e ? T(e, i, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return e;
|
|
12
12
|
}, c = (e, i) => x(e, D(i));
|
|
13
13
|
var n = (e, i, t) => (d(e, typeof i != "symbol" ? i + "" : i, t), t);
|
|
14
|
-
var w = (e, i, t) => new Promise((r,
|
|
15
|
-
var
|
|
14
|
+
var w = (e, i, t) => new Promise((r, m) => {
|
|
15
|
+
var p = (o) => {
|
|
16
16
|
try {
|
|
17
17
|
a(t.next(o));
|
|
18
|
-
} catch (
|
|
19
|
-
s
|
|
18
|
+
} catch (s) {
|
|
19
|
+
m(s);
|
|
20
20
|
}
|
|
21
21
|
}, h = (o) => {
|
|
22
22
|
try {
|
|
23
23
|
a(t.throw(o));
|
|
24
|
-
} catch (
|
|
25
|
-
s
|
|
24
|
+
} catch (s) {
|
|
25
|
+
m(s);
|
|
26
26
|
}
|
|
27
|
-
}, a = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(
|
|
27
|
+
}, a = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(p, h);
|
|
28
28
|
a((t = t.apply(e, i)).next());
|
|
29
29
|
});
|
|
30
30
|
import z from "./BaseController.js";
|
|
@@ -99,8 +99,8 @@ import "../PanoTagPlugin/tag.config.js";
|
|
|
99
99
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
100
100
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
101
101
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
102
|
-
import "../vendor/svelte/store/index.js";
|
|
103
|
-
import "../vendor/svelte/internal/
|
|
102
|
+
import "../vendor/svelte/src/runtime/store/index.js";
|
|
103
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
104
104
|
import "../shared-utils/device.js";
|
|
105
105
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
106
106
|
import "../shared-utils/three/Quadrangle.js";
|
|
@@ -118,13 +118,24 @@ import "../shared-utils/url/getUrl.js";
|
|
|
118
118
|
import "../shared-utils/five/getFloorIndex.js";
|
|
119
119
|
import "../shared-utils/safeObj.js";
|
|
120
120
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
121
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
122
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
123
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
124
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
125
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
126
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
127
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
128
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
129
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
130
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
131
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
121
132
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
122
133
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
123
134
|
import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
|
|
124
135
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
|
|
125
136
|
import "../PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
126
|
-
import "../vendor/svelte/transition/index.js";
|
|
127
|
-
import "../vendor/svelte/easing/index.js";
|
|
137
|
+
import "../vendor/svelte/src/runtime/transition/index.js";
|
|
138
|
+
import "../vendor/svelte/src/runtime/easing/index.js";
|
|
128
139
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
129
140
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
130
141
|
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
@@ -140,6 +151,7 @@ import "../PanoTagPlugin/utils/px2rem.js";
|
|
|
140
151
|
import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
|
|
141
152
|
import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
|
|
142
153
|
import "../PanoTagPlugin/Components/Common/Media.js";
|
|
154
|
+
import "../vendor/svelte/src/runtime/internal/spread.js";
|
|
143
155
|
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
144
156
|
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
145
157
|
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -182,6 +194,7 @@ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
182
194
|
import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
183
195
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
184
196
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
197
|
+
import "../vendor/svelte/src/runtime/internal/await_block.js";
|
|
185
198
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
186
199
|
import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
187
200
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
@@ -207,7 +220,7 @@ import "./utils/coordinatesAngle.js";
|
|
|
207
220
|
import "./utils/coordinatesToVector.js";
|
|
208
221
|
import "./utils/safeCall.js";
|
|
209
222
|
import "../shared-utils/five/fiveLoaded.js";
|
|
210
|
-
class
|
|
223
|
+
class lo extends z {
|
|
211
224
|
constructor(t, r) {
|
|
212
225
|
var h;
|
|
213
226
|
super(t, r);
|
|
@@ -231,25 +244,25 @@ class to extends z {
|
|
|
231
244
|
const t = this.getPauseData();
|
|
232
245
|
let r = (o = t == null ? void 0 : t.playedProgress) != null ? o : 0;
|
|
233
246
|
(r < 0 || r >= 1) && (r = 0);
|
|
234
|
-
const
|
|
235
|
-
return 1 -
|
|
247
|
+
const m = 1 - r, p = this.getDuration(), a = (performance.now() - this.playStartedTime) / p;
|
|
248
|
+
return 1 - m + a;
|
|
236
249
|
});
|
|
237
|
-
const
|
|
250
|
+
const m = {
|
|
238
251
|
config: {
|
|
239
252
|
speedConfig: {
|
|
240
253
|
moveSpeed: 2,
|
|
241
254
|
moveSpeedUnit: "m/s"
|
|
242
255
|
}
|
|
243
256
|
}
|
|
244
|
-
},
|
|
257
|
+
}, p = {
|
|
245
258
|
allowBroke: !0
|
|
246
259
|
};
|
|
247
|
-
this.state = g({},
|
|
260
|
+
this.state = g({}, m, this.state), this.config = g({}, p, this.config), this.baseCurveOffset = g({ x: 0, y: 0, z: 0 }, { y: 2 }, (h = this.config) == null ? void 0 : h.offset);
|
|
248
261
|
}
|
|
249
262
|
load(t, r) {
|
|
250
|
-
var a, o,
|
|
263
|
+
var a, o, s, f, y, S, C, P, b;
|
|
251
264
|
this.handlePause(), this.clear(), this.data = u({ id: O() }, t);
|
|
252
|
-
const
|
|
265
|
+
const m = (() => {
|
|
253
266
|
if (this.data.path instanceof L.Curve)
|
|
254
267
|
return this.data.path.curves[0];
|
|
255
268
|
{
|
|
@@ -259,16 +272,16 @@ class to extends z {
|
|
|
259
272
|
return new L.CatmullRomCurve3(l, void 0, "catmullrom", 0.5);
|
|
260
273
|
}
|
|
261
274
|
})();
|
|
262
|
-
if (!
|
|
275
|
+
if (!m)
|
|
263
276
|
return;
|
|
264
|
-
if (this.curve =
|
|
277
|
+
if (this.curve = m, this.curveOffset = {
|
|
265
278
|
x: this.baseCurveOffset.x + ((o = (a = this.data.offset) == null ? void 0 : a.x) != null ? o : 0),
|
|
266
|
-
y: this.baseCurveOffset.y + ((f = (
|
|
279
|
+
y: this.baseCurveOffset.y + ((f = (s = this.data.offset) == null ? void 0 : s.y) != null ? f : 0),
|
|
267
280
|
z: this.baseCurveOffset.z + ((S = (y = this.data.offset) == null ? void 0 : y.z) != null ? S : 0)
|
|
268
281
|
}, !this.curve)
|
|
269
282
|
throw new Error("curve is not defined");
|
|
270
|
-
const
|
|
271
|
-
if (this.duration =
|
|
283
|
+
const p = this.curve.getLength(), h = this.state.config.speedConfig.moveSpeedUnit === "m/ms" ? 1 : 1e3;
|
|
284
|
+
if (this.duration = p / (this.state.config.speedConfig.moveSpeed / h), Array.isArray(this.data.path)) {
|
|
272
285
|
const l = this.data.path.map(A).map((G) => G.toArray());
|
|
273
286
|
!this.GuideLine && (((C = this.config) == null ? void 0 : C.useGuideLine) !== !1 && t.useGuildLine || (P = this.config) != null && P.useGuideLine && t.useGuildLine !== !1) && (this.GuideLine = M(this.five, this.config)), (b = this.GuideLine) == null || b.load({
|
|
274
287
|
lines: [
|
|
@@ -286,24 +299,24 @@ class to extends z {
|
|
|
286
299
|
return new Promise((t, r) => w(this, null, function* () {
|
|
287
300
|
var o;
|
|
288
301
|
this.hooks.emit("play", { userAction: !0 });
|
|
289
|
-
const
|
|
290
|
-
let
|
|
291
|
-
(
|
|
292
|
-
const h = v(this.curve,
|
|
293
|
-
if (this.hooks.emit("progressChange",
|
|
294
|
-
const
|
|
295
|
-
this.state.playing && (this.hooks.emit("broke"), this.handlePause(),
|
|
302
|
+
const m = this.getPauseData();
|
|
303
|
+
let p = (o = m == null ? void 0 : m.playedProgress) != null ? o : 0;
|
|
304
|
+
(p < 0 || p >= 1) && (p = 0);
|
|
305
|
+
const h = v(this.curve, p, this.curveOffset);
|
|
306
|
+
if (this.hooks.emit("progressChange", p), this.five.setState(c(u({}, h), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
|
|
307
|
+
const s = this.addInterruptListener(() => {
|
|
308
|
+
this.state.playing && (this.hooks.emit("broke"), this.handlePause(), s(), r(new Error("broke")));
|
|
296
309
|
});
|
|
297
310
|
}
|
|
298
311
|
const a = () => {
|
|
299
|
-
const
|
|
300
|
-
if (
|
|
312
|
+
const s = this.getProgress();
|
|
313
|
+
if (s >= 1)
|
|
301
314
|
this.five.off("renderFrame", a), this.setState({ playing: !1 }, { userAction: !1 }), this.hooks.emit("end"), this.hooks.emit("progressChange", 1), t("end");
|
|
302
315
|
else if (this.state.playing === !1)
|
|
303
316
|
this.five.off("renderFrame", a);
|
|
304
|
-
else if (
|
|
305
|
-
const f = v(this.curve,
|
|
306
|
-
this.hooks.emit("progressChange",
|
|
317
|
+
else if (s >= 0) {
|
|
318
|
+
const f = v(this.curve, s, this.curveOffset);
|
|
319
|
+
this.hooks.emit("progressChange", s), this.five.setState(f, !0);
|
|
307
320
|
}
|
|
308
321
|
};
|
|
309
322
|
this.five.on("renderFrame", a);
|
|
@@ -315,5 +328,5 @@ class to extends z {
|
|
|
315
328
|
}
|
|
316
329
|
}
|
|
317
330
|
export {
|
|
318
|
-
|
|
331
|
+
lo as default
|
|
319
332
|
};
|
|
@@ -87,8 +87,8 @@ import "../PanoTagPlugin/tag.config.js";
|
|
|
87
87
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
88
88
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
89
89
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
90
|
-
import "../vendor/svelte/store/index.js";
|
|
91
|
-
import "../vendor/svelte/internal/
|
|
90
|
+
import "../vendor/svelte/src/runtime/store/index.js";
|
|
91
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
92
92
|
import "../shared-utils/device.js";
|
|
93
93
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
94
94
|
import "../shared-utils/three/Quadrangle.js";
|
|
@@ -110,13 +110,24 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
110
110
|
import "../shared-utils/five/getFloorIndex.js";
|
|
111
111
|
import "../shared-utils/safeObj.js";
|
|
112
112
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
113
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
114
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
115
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
116
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
117
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
118
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
119
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
120
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
121
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
122
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
123
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
113
124
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
114
125
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
115
126
|
import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
|
|
116
127
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
|
|
117
128
|
import "../PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
118
|
-
import "../vendor/svelte/transition/index.js";
|
|
119
|
-
import "../vendor/svelte/easing/index.js";
|
|
129
|
+
import "../vendor/svelte/src/runtime/transition/index.js";
|
|
130
|
+
import "../vendor/svelte/src/runtime/easing/index.js";
|
|
120
131
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
121
132
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
122
133
|
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
@@ -132,6 +143,7 @@ import "../PanoTagPlugin/utils/px2rem.js";
|
|
|
132
143
|
import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
|
|
133
144
|
import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
|
|
134
145
|
import "../PanoTagPlugin/Components/Common/Media.js";
|
|
146
|
+
import "../vendor/svelte/src/runtime/internal/spread.js";
|
|
135
147
|
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
136
148
|
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
137
149
|
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -174,6 +186,7 @@ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
174
186
|
import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
175
187
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
176
188
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
189
|
+
import "../vendor/svelte/src/runtime/internal/await_block.js";
|
|
177
190
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
178
191
|
import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
179
192
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
@@ -207,7 +220,7 @@ import "../shared-utils/Utils/FiveUtil.js";
|
|
|
207
220
|
import "../shared-utils/formatRad.js";
|
|
208
221
|
import "./Work.js";
|
|
209
222
|
import "./utils/coordinatesToVector.js";
|
|
210
|
-
class
|
|
223
|
+
class yr extends G {
|
|
211
224
|
constructor(t, e) {
|
|
212
225
|
super(t, e);
|
|
213
226
|
k(this, "state", {
|
|
@@ -595,5 +608,5 @@ class rr extends G {
|
|
|
595
608
|
}
|
|
596
609
|
}
|
|
597
610
|
export {
|
|
598
|
-
|
|
611
|
+
yr as default
|
|
599
612
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { typing as
|
|
1
|
+
import { typing as Kt } from "./typing/index.js";
|
|
2
2
|
import t from "./Work.js";
|
|
3
3
|
import i from "./Move.js";
|
|
4
4
|
import "../GuideLinePlugin/index.js";
|
|
@@ -64,8 +64,8 @@ import "../PanoTagPlugin/tag.config.js";
|
|
|
64
64
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
65
65
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
66
66
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
67
|
-
import "../vendor/svelte/store/index.js";
|
|
68
|
-
import "../vendor/svelte/internal/
|
|
67
|
+
import "../vendor/svelte/src/runtime/store/index.js";
|
|
68
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
69
69
|
import "../shared-utils/device.js";
|
|
70
70
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
71
71
|
import "../shared-utils/three/Quadrangle.js";
|
|
@@ -86,13 +86,24 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
86
86
|
import "../shared-utils/five/getFloorIndex.js";
|
|
87
87
|
import "../shared-utils/safeObj.js";
|
|
88
88
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
89
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
90
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
91
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
92
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
93
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
94
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
95
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
96
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
97
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
98
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
99
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
89
100
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
90
101
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
91
102
|
import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
|
|
92
103
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
|
|
93
104
|
import "../PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
94
|
-
import "../vendor/svelte/transition/index.js";
|
|
95
|
-
import "../vendor/svelte/easing/index.js";
|
|
105
|
+
import "../vendor/svelte/src/runtime/transition/index.js";
|
|
106
|
+
import "../vendor/svelte/src/runtime/easing/index.js";
|
|
96
107
|
import "../shared-utils/uuid.js";
|
|
97
108
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
98
109
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
@@ -109,6 +120,7 @@ import "../PanoTagPlugin/utils/px2rem.js";
|
|
|
109
120
|
import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
|
|
110
121
|
import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
|
|
111
122
|
import "../PanoTagPlugin/Components/Common/Media.js";
|
|
123
|
+
import "../vendor/svelte/src/runtime/internal/spread.js";
|
|
112
124
|
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
113
125
|
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
114
126
|
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -151,6 +163,7 @@ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
151
163
|
import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
152
164
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
153
165
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
166
|
+
import "../vendor/svelte/src/runtime/internal/await_block.js";
|
|
154
167
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
155
168
|
import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
156
169
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
@@ -179,13 +192,13 @@ import "../shared-utils/formatRad.js";
|
|
|
179
192
|
import "./BaseController.js";
|
|
180
193
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
181
194
|
import "./utils/getFiveStateOnCurve.js";
|
|
182
|
-
const
|
|
195
|
+
const Gt = (o, r) => new t(o, r), Ht = (o, r) => new i(o, r);
|
|
183
196
|
export {
|
|
184
|
-
|
|
197
|
+
Gt as CruisePlugin,
|
|
185
198
|
t as CruisePluginController,
|
|
186
|
-
|
|
199
|
+
Kt as CruisePluginTypes,
|
|
187
200
|
i as MoveController,
|
|
188
|
-
|
|
201
|
+
Ht as MovePlugin,
|
|
189
202
|
t as WalkController,
|
|
190
|
-
|
|
203
|
+
Gt as default
|
|
191
204
|
};
|