@realsee/dnalogel 2.3.6-alpha.0 → 2.3.6
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/dist/index.cjs.js +17 -17
- package/dist/index.js +747 -746
- package/dist/index.umd.js +17 -17
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CruisePlugin/Controller.js +144 -143
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.3.6
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.3.6</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.3.6"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.3.6
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.3.6</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.3.6
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.3.6</a></li>
|
|
16
16
|
<li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/f2b0e16/plugins/src/ModelRoomLabelPlugin/index.ts#L12">plugins/src/ModelRoomLabelPlugin/index.ts:12</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.3.6
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.3.6</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
47
47
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
@@ -2,30 +2,30 @@ var G = Object.defineProperty, K = Object.defineProperties;
|
|
|
2
2
|
var U = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var E = Object.getOwnPropertySymbols;
|
|
4
4
|
var A = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var x = (
|
|
6
|
-
for (var e in
|
|
7
|
-
A.call(
|
|
5
|
+
var x = (v, l, e) => l in v ? G(v, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : v[l] = e, P = (v, l) => {
|
|
6
|
+
for (var e in l || (l = {}))
|
|
7
|
+
A.call(l, e) && x(v, e, l[e]);
|
|
8
8
|
if (E)
|
|
9
|
-
for (var e of E(
|
|
10
|
-
O.call(
|
|
11
|
-
return
|
|
12
|
-
}, F = (
|
|
13
|
-
var I = (
|
|
14
|
-
var
|
|
15
|
-
var a = (
|
|
9
|
+
for (var e of E(l))
|
|
10
|
+
O.call(l, e) && x(v, e, l[e]);
|
|
11
|
+
return v;
|
|
12
|
+
}, F = (v, l) => K(v, U(l));
|
|
13
|
+
var I = (v, l, e) => (x(v, typeof l != "symbol" ? l + "" : l, e), e);
|
|
14
|
+
var y = (v, l, e) => new Promise((t, i) => {
|
|
15
|
+
var a = (o) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
n(e.next(o));
|
|
18
18
|
} catch (r) {
|
|
19
19
|
i(r);
|
|
20
20
|
}
|
|
21
|
-
}, d = (
|
|
21
|
+
}, d = (o) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
n(e.throw(o));
|
|
24
24
|
} catch (r) {
|
|
25
25
|
i(r);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, n = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(a, d);
|
|
28
|
+
n((e = e.apply(v, l)).next());
|
|
29
29
|
});
|
|
30
30
|
import { Controller as V } from "../base/BasePluginWithData.js";
|
|
31
31
|
import { GuideLinePlugin as Q } from "../GuideLinePlugin/index.js";
|
|
@@ -47,7 +47,7 @@ import "../shared-utils/isNil.js";
|
|
|
47
47
|
import "./utils/coordinatesToVector.js";
|
|
48
48
|
import "../shared-utils/isTruelyObject.js";
|
|
49
49
|
import "./utils/formatRad.js";
|
|
50
|
-
const D = "v1.0.6", M = "CruisePlugin", w = `${M}@${D}`, ye = (
|
|
50
|
+
const D = "v1.0.6", M = "CruisePlugin", w = `${M}@${D}`, ye = (v) => `${w}--${v}`, L = () => {
|
|
51
51
|
console.error(`${w} is disposed`);
|
|
52
52
|
}, W = () => {
|
|
53
53
|
console.warn(`${w} is disabled`);
|
|
@@ -90,31 +90,31 @@ class B extends V {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
load(e, t, i) {
|
|
93
|
-
return
|
|
94
|
-
var
|
|
93
|
+
return y(this, null, function* () {
|
|
94
|
+
var s, f, h, u, p;
|
|
95
95
|
if (this.state.disposed)
|
|
96
96
|
return L();
|
|
97
|
-
this.privateState.fiveOriginGetProgress || (
|
|
97
|
+
this.privateState.fiveOriginGetProgress || (f = (s = this.five.controller) == null ? void 0 : s.cameraMotion) != null && f.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (u = (h = this.five.controller) == null ? void 0 : h.cameraMotion) == null ? void 0 : u.getProgress), this.clear();
|
|
98
98
|
const a = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, d = yield this.formatData(e);
|
|
99
99
|
this.data = d, this.hooks.emit("dataChange", d, a);
|
|
100
|
-
let
|
|
101
|
-
const r = this.data.keyframes.filter((
|
|
102
|
-
r.filter((
|
|
103
|
-
var
|
|
104
|
-
return
|
|
105
|
-
}).map((
|
|
106
|
-
var
|
|
107
|
-
const
|
|
108
|
-
if (
|
|
109
|
-
if (
|
|
110
|
-
const S =
|
|
111
|
-
|
|
100
|
+
let n = [], o;
|
|
101
|
+
const r = this.data.keyframes.filter((c) => c.data.panoIndex !== void 0);
|
|
102
|
+
r.filter((c, m) => {
|
|
103
|
+
var g;
|
|
104
|
+
return c.data.panoIndex !== ((g = r[m - 1]) == null ? void 0 : g.data.panoIndex);
|
|
105
|
+
}).map((c) => c.data.panoIndex).forEach((c) => {
|
|
106
|
+
var g, b;
|
|
107
|
+
const m = (g = this.five.work.observers[c]) == null ? void 0 : g.floorIndex;
|
|
108
|
+
if (m !== void 0)
|
|
109
|
+
if (o === m) {
|
|
110
|
+
const S = n.length - 1;
|
|
111
|
+
n[S] = [...(b = n[S]) != null ? b : [], c];
|
|
112
112
|
} else {
|
|
113
|
-
|
|
114
|
-
const S =
|
|
115
|
-
|
|
113
|
+
o = m;
|
|
114
|
+
const S = n.length;
|
|
115
|
+
n[S] = [c];
|
|
116
116
|
}
|
|
117
|
-
}), this.GuideLine || (this.GuideLine = Q(this.five, this.config)), (
|
|
117
|
+
}), this.GuideLine || (this.GuideLine = Q(this.five, this.config)), (p = this.GuideLine) == null || p.load({ routes: n.map((c) => ({ panoIndexList: c })) }), this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed), t && this.setState(t, { userAction: i }), console.log(`${w} loaded`, d), this.hooks.emit("dataLoaded", d);
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
play(e) {
|
|
@@ -131,12 +131,12 @@ class B extends V {
|
|
|
131
131
|
this.setState({ playing: !1 }, e);
|
|
132
132
|
}
|
|
133
133
|
show(e) {
|
|
134
|
-
return
|
|
134
|
+
return y(this, null, function* () {
|
|
135
135
|
this.setState({ visible: !0 }, e);
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
hide(e) {
|
|
139
|
-
return
|
|
139
|
+
return y(this, null, function* () {
|
|
140
140
|
this.setState({ visible: !1 }, e);
|
|
141
141
|
});
|
|
142
142
|
}
|
|
@@ -159,7 +159,7 @@ class B extends V {
|
|
|
159
159
|
this.state = P(P({}, this.state), e), e.disposed !== void 0 && e.disposed !== i.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== i.visible && this.handleVisible(e.visible, t == null ? void 0 : t.userAction), e.enabled !== void 0 && e.enabled !== i.enabled && this.handleEnable(e.enabled, t == null ? void 0 : t.userAction), e.playing !== void 0 && e.playing !== i.playing && this.changePlayState(e.playing, t), e.speed !== void 0 && e.speed !== i.speed && this.changeSpeed(e.speed, t == null ? void 0 : t.userAction), R(i, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: (a = t == null ? void 0 : t.userAction) != null ? a : !0 });
|
|
160
160
|
}
|
|
161
161
|
formatData(e) {
|
|
162
|
-
return
|
|
162
|
+
return y(this, null, function* () {
|
|
163
163
|
this.five.work || (yield this.waitFiveLoaded());
|
|
164
164
|
const t = this.five.work.observers, i = (() => {
|
|
165
165
|
const a = e;
|
|
@@ -170,31 +170,31 @@ class B extends V {
|
|
|
170
170
|
keyframesId: k(),
|
|
171
171
|
keyframes: i.keyframes.map((a, d) => {
|
|
172
172
|
var r;
|
|
173
|
-
const
|
|
174
|
-
return P({ id: (r = a.uuid) != null ? r : k(), moveIndex: d, stay:
|
|
173
|
+
const n = i.keyframes[d + 1], o = (() => !n || n.start === void 0 || a.end === void 0 ? 0 : n.start - a.end)();
|
|
174
|
+
return P({ id: (r = a.uuid) != null ? r : k(), moveIndex: d, stay: o, index: d }, a);
|
|
175
175
|
})
|
|
176
176
|
};
|
|
177
177
|
if (i.panoIndexList) {
|
|
178
178
|
let a = [];
|
|
179
|
-
const { moveEffect: d, moveToFirstPanoEffect:
|
|
180
|
-
return this.privateState.moveToFirstPanoEffect =
|
|
181
|
-
const
|
|
182
|
-
var
|
|
183
|
-
const
|
|
184
|
-
if (
|
|
179
|
+
const { moveEffect: d, moveToFirstPanoEffect: n, moveToFirstPanoDuration: o } = i;
|
|
180
|
+
return this.privateState.moveToFirstPanoEffect = n, this.privateState.moveToFirstPanoDuration = o, i.panoIndexList.forEach((r, s) => {
|
|
181
|
+
const f = (() => {
|
|
182
|
+
var m, g, b, S;
|
|
183
|
+
const h = i.panoIndexList.slice(s).find((T) => T !== r);
|
|
184
|
+
if (h === void 0)
|
|
185
185
|
return;
|
|
186
|
-
const u = (
|
|
187
|
-
if (!
|
|
186
|
+
const u = (m = t[r]) == null ? void 0 : m.position, p = (g = t[h]) == null ? void 0 : g.position;
|
|
187
|
+
if (!p || !u || ((b = t[r]) == null ? void 0 : b.floorIndex) !== ((S = t[h]) == null ? void 0 : S.floorIndex))
|
|
188
188
|
return;
|
|
189
|
-
const
|
|
190
|
-
return N(
|
|
189
|
+
const c = new j.Vector3().subVectors(p, u);
|
|
190
|
+
return N(c);
|
|
191
191
|
})();
|
|
192
192
|
i.moveType === void 0 || i.moveType === "justMove" ? a.push({
|
|
193
|
-
moveIndex:
|
|
193
|
+
moveIndex: s,
|
|
194
194
|
stay: i.stay,
|
|
195
|
-
data: P({ effect: "Move", panoIndex: r, moveEffect: d },
|
|
196
|
-
}) : i.moveType === "moveAndRotate" && (a.push({ moveIndex:
|
|
197
|
-
}), { keyframesId: k(), keyframes: a.map((r,
|
|
195
|
+
data: P({ effect: "Move", panoIndex: r, moveEffect: d }, f != null ? f : {})
|
|
196
|
+
}) : i.moveType === "moveAndRotate" && (a.push({ moveIndex: s, stay: i.stay, data: { effect: "Move", panoIndex: r, moveEffect: d } }), f && a.push({ moveIndex: s, stay: i.stay, data: P({ effect: "Rotate", panoIndex: r }, f) }));
|
|
197
|
+
}), { keyframesId: k(), keyframes: a.map((r, s) => P({ id: k(), index: s }, r)) };
|
|
198
198
|
} else
|
|
199
199
|
throw new Error("format error: data no keyframes or no panoIndexList");
|
|
200
200
|
});
|
|
@@ -216,52 +216,52 @@ class B extends V {
|
|
|
216
216
|
), e ? this.handlePlay(t) : this.handlePause(t), this.state.playing = e;
|
|
217
217
|
}
|
|
218
218
|
handlePlay(e) {
|
|
219
|
-
return
|
|
219
|
+
return y(this, null, function* () {
|
|
220
220
|
var u;
|
|
221
221
|
const { data: t, state: i, privateState: a, hooks: d } = this;
|
|
222
222
|
if (a.playing || !(t != null && t.keyframes) || (t == null ? void 0 : t.keyframes.length) === 0)
|
|
223
223
|
return;
|
|
224
|
-
const
|
|
225
|
-
a.playId =
|
|
226
|
-
const
|
|
224
|
+
const n = k();
|
|
225
|
+
a.playId = n, a.playing = !0, a.broke = !1;
|
|
226
|
+
const o = t.keyframes, r = this.getPauseData();
|
|
227
227
|
(e == null ? void 0 : e.notEmitEvent) !== !0 && d.emit("play", { userAction: (u = e == null ? void 0 : e.userAction) != null ? u : !0 });
|
|
228
|
-
let
|
|
229
|
-
const
|
|
230
|
-
var
|
|
228
|
+
let s = !1;
|
|
229
|
+
const h = yield (() => y(this, null, function* () {
|
|
230
|
+
var p, c;
|
|
231
231
|
if ((e == null ? void 0 : e.playFromIndex) !== void 0)
|
|
232
232
|
return e.playFromIndex;
|
|
233
233
|
if ((e == null ? void 0 : e.playFromId) !== void 0)
|
|
234
|
-
return (
|
|
234
|
+
return (p = this.data) == null ? void 0 : p.keyframes.findIndex((m) => m.id === e.playFromId);
|
|
235
235
|
if (r != null && r.keyframeId) {
|
|
236
|
-
const
|
|
236
|
+
const m = (c = this.data) == null ? void 0 : c.keyframes.find((g) => g.id === r.keyframeId);
|
|
237
237
|
if (r != null && r.fiveState && (yield this.move(r.fiveState, {
|
|
238
238
|
moveEffect: a.moveToFirstPanoEffect,
|
|
239
239
|
duration: a.moveToFirstPanoDuration
|
|
240
|
-
})),
|
|
241
|
-
if (
|
|
242
|
-
return
|
|
243
|
-
if (
|
|
244
|
-
const
|
|
245
|
-
return yield this.playKeyframe(
|
|
240
|
+
})), m) {
|
|
241
|
+
if (m.data.effect === "Move")
|
|
242
|
+
return m.index;
|
|
243
|
+
if (m.data.effect === "Rotate") {
|
|
244
|
+
const g = r.duration !== void 0 ? r.duration * (1 - r.playedProgress) : void 0;
|
|
245
|
+
return yield this.playKeyframe(m, { duration: g }), s = !0, m.index + 1;
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
}))();
|
|
250
250
|
this.clearPauseData();
|
|
251
|
-
for (const
|
|
252
|
-
if (a.broke || !i.playing || !a.playing ||
|
|
251
|
+
for (const p of o) {
|
|
252
|
+
if (a.broke || !i.playing || !a.playing || n !== a.playId)
|
|
253
253
|
return;
|
|
254
|
-
if (!(
|
|
254
|
+
if (!(h !== void 0 && p.index < h))
|
|
255
255
|
try {
|
|
256
|
-
d.emit("playIndexChange",
|
|
257
|
-
moveEffect:
|
|
258
|
-
duration:
|
|
259
|
-
}),
|
|
260
|
-
} catch (
|
|
256
|
+
d.emit("playIndexChange", p.index, p), yield this.playKeyframe(p, {
|
|
257
|
+
moveEffect: s === !1 ? a.moveToFirstPanoEffect : void 0,
|
|
258
|
+
duration: s === !1 && typeof a.moveToFirstPanoDuration == "number" ? a.moveToFirstPanoDuration : 800
|
|
259
|
+
}), p.stay && (yield J(p.stay)), s === !1 && (s = !0);
|
|
260
|
+
} catch (c) {
|
|
261
261
|
return Promise.resolve("broke");
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
|
-
i.playing &&
|
|
264
|
+
i.playing && n === a.playId && (this.setState({ playing: !1 }, { userAction: !1 }), d.emit("end"), this.clearPauseData());
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
handlePause(e) {
|
|
@@ -270,7 +270,7 @@ class B extends V {
|
|
|
270
270
|
t.playing = !1, i.playing !== !1 && (i.playing = !1, this.setPauseData(), i.broke || this.forceInteruptUpdateCamera(), (e == null ? void 0 : e.notEmitEvent) !== !0 && a.emit("pause", { userAction: (d = e == null ? void 0 : e.userAction) != null ? d : !0 }));
|
|
271
271
|
}
|
|
272
272
|
playKeyframe(e, t) {
|
|
273
|
-
return
|
|
273
|
+
return y(this, null, function* () {
|
|
274
274
|
var a;
|
|
275
275
|
const { privateState: i } = this;
|
|
276
276
|
return ((a = this.privateState.currentPlayKeyframe) == null ? void 0 : a.keyframe.id) !== e.id && (this.privateState.currentPlayKeyframe = { keyframe: e }), i.currentPlayQueue.push(this.getPlayPromise(e, t)), this.actionPromiseQueue();
|
|
@@ -285,21 +285,21 @@ class B extends V {
|
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
287
|
getPlayPromise(e, t) {
|
|
288
|
-
return
|
|
288
|
+
return y(this, null, function* () {
|
|
289
289
|
var a;
|
|
290
290
|
const i = e.data;
|
|
291
|
-
if ((a = t == null ? void 0 : t.duration) != null
|
|
292
|
-
return new Promise((d,
|
|
293
|
-
let
|
|
291
|
+
if (t.duration = (a = t == null ? void 0 : t.duration) != null ? a : e.start !== void 0 && e.end !== void 0 ? e.end - e.start : void 0, !!i)
|
|
292
|
+
return new Promise((d, n) => {
|
|
293
|
+
let o = !1;
|
|
294
294
|
this.addInterruptListener(() => {
|
|
295
|
-
if (!
|
|
296
|
-
return this.hooks.emit("broke"), this.privateState.broke = !0, this.setState({ playing: !1 }),
|
|
295
|
+
if (!o)
|
|
296
|
+
return this.hooks.emit("broke"), this.privateState.broke = !0, this.setState({ playing: !1 }), o = !0, n(new Error("play is interupted"));
|
|
297
297
|
});
|
|
298
298
|
try {
|
|
299
|
-
if (
|
|
299
|
+
if (o)
|
|
300
300
|
return;
|
|
301
301
|
const r = () => {
|
|
302
|
-
d(),
|
|
302
|
+
d(), o = !0;
|
|
303
303
|
};
|
|
304
304
|
switch (i.effect) {
|
|
305
305
|
case "Move":
|
|
@@ -317,7 +317,7 @@ class B extends V {
|
|
|
317
317
|
});
|
|
318
318
|
}
|
|
319
319
|
actionPromiseQueue() {
|
|
320
|
-
return
|
|
320
|
+
return y(this, null, function* () {
|
|
321
321
|
const { privateState: e } = this;
|
|
322
322
|
return new Promise((t, i) => {
|
|
323
323
|
if (e.currentPlayQueue.length === 0) {
|
|
@@ -334,7 +334,7 @@ class B extends V {
|
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
336
|
move(e, t) {
|
|
337
|
-
return
|
|
337
|
+
return y(this, null, function* () {
|
|
338
338
|
if (e.mode && e.mode !== this.five.currentMode)
|
|
339
339
|
yield this.changeMode(e);
|
|
340
340
|
else if (e.panoIndex !== this.five.panoIndex)
|
|
@@ -344,82 +344,83 @@ class B extends V {
|
|
|
344
344
|
});
|
|
345
345
|
}
|
|
346
346
|
rotate(e, t) {
|
|
347
|
-
return
|
|
347
|
+
return y(this, null, function* () {
|
|
348
348
|
if (e.mode && e.mode !== this.five.currentMode)
|
|
349
349
|
yield this.changeMode({ mode: e.mode, panoIndex: e.panoIndex });
|
|
350
350
|
else if (e.panoIndex && e.panoIndex !== this.five.panoIndex)
|
|
351
351
|
return yield this.changePano(e, t);
|
|
352
|
-
yield this.updateCamera(e, t
|
|
352
|
+
yield this.updateCamera(e, t);
|
|
353
353
|
});
|
|
354
354
|
}
|
|
355
|
-
updateCamera(e, t
|
|
356
|
-
return
|
|
357
|
-
const { five: i, privateState: a, state: d } = this
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
if (
|
|
363
|
-
return
|
|
364
|
-
|
|
365
|
-
|
|
355
|
+
updateCamera(e, t) {
|
|
356
|
+
return y(this, null, function* () {
|
|
357
|
+
const { five: i, privateState: a, state: d } = this, n = (() => {
|
|
358
|
+
var h, u;
|
|
359
|
+
const s = (h = d.config) == null ? void 0 : h.speedConfig, f = (u = e.rotateSpeed) != null ? u : s == null ? void 0 : s.rotateSpeed;
|
|
360
|
+
if ((s == null ? void 0 : s.rotateSpeedUnit) === void 0)
|
|
361
|
+
return f;
|
|
362
|
+
if (f !== void 0)
|
|
363
|
+
return s.rotateSpeedUnit === "rad/ms" ? f : f / 1e3;
|
|
364
|
+
})(), o = (() => {
|
|
365
|
+
if (t.duration)
|
|
366
|
+
return t.duration;
|
|
367
|
+
if (n) {
|
|
368
|
+
const s = this.five.getCurrentState();
|
|
369
|
+
return $(s, e) / n;
|
|
370
|
+
}
|
|
371
|
+
return 800;
|
|
366
372
|
})();
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
a.currentPlayKeyframe && (a.currentPlayKeyframe.originDuration = s);
|
|
372
|
-
const r = this.getSpeededDuration(s);
|
|
373
|
-
return new Promise((o) => {
|
|
374
|
-
_(() => i.updateCamera(e, r)), setTimeout(() => o(), r);
|
|
373
|
+
a.currentPlayKeyframe && (a.currentPlayKeyframe.originDuration = o);
|
|
374
|
+
const r = this.getSpeededDuration(o);
|
|
375
|
+
return new Promise((s) => {
|
|
376
|
+
_(() => i.updateCamera(e, r)), setTimeout(() => s(), r);
|
|
375
377
|
});
|
|
376
378
|
});
|
|
377
379
|
}
|
|
378
380
|
changePano(e, t) {
|
|
379
|
-
return
|
|
380
|
-
var m;
|
|
381
|
+
return y(this, null, function* () {
|
|
381
382
|
const { five: i, privateState: a, state: d } = this;
|
|
382
383
|
if (typeof e.panoIndex != "number" || e.panoIndex === i.panoIndex)
|
|
383
384
|
return;
|
|
384
|
-
i.getCurrentState().mode;
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
if (
|
|
392
|
-
return
|
|
393
|
-
|
|
394
|
-
|
|
385
|
+
const n = i.getCurrentState().mode !== "Panorama";
|
|
386
|
+
n && (this.privateState.modeChanging = !0);
|
|
387
|
+
const o = (() => {
|
|
388
|
+
var h, u;
|
|
389
|
+
const s = (h = d.config) == null ? void 0 : h.speedConfig, f = (u = e.moveSpeed) != null ? u : s == null ? void 0 : s.moveSpeed;
|
|
390
|
+
if ((s == null ? void 0 : s.moveSpeedUnit) === void 0)
|
|
391
|
+
return f;
|
|
392
|
+
if (f !== void 0)
|
|
393
|
+
return s.moveSpeedUnit === "m/ms" ? f : f / 1e3;
|
|
394
|
+
})(), r = (() => {
|
|
395
|
+
if (t != null && t.duration)
|
|
396
|
+
return t.duration;
|
|
397
|
+
if (o && typeof i.panoIndex == "number" && typeof e.panoIndex == "number") {
|
|
398
|
+
const s = i.work.observers[i.panoIndex].position, f = i.work.observers[e.panoIndex].position;
|
|
399
|
+
return s.distanceTo(f) / o;
|
|
400
|
+
}
|
|
401
|
+
return 800;
|
|
395
402
|
})();
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
n = f.distanceTo(u) / r;
|
|
399
|
-
}
|
|
400
|
-
a.currentPlayKeyframe && (a.currentPlayKeyframe.originDuration = n);
|
|
401
|
-
const o = this.getSpeededDuration(n);
|
|
402
|
-
yield new Promise((f) => {
|
|
403
|
-
var u, l, h;
|
|
403
|
+
a.currentPlayKeyframe && (a.currentPlayKeyframe.originDuration = r), yield new Promise((s) => {
|
|
404
|
+
var f, h, u;
|
|
404
405
|
i.moveToPano(e.panoIndex, {
|
|
405
406
|
latitude: e.latitude,
|
|
406
407
|
longitude: e.longitude,
|
|
407
408
|
fov: e.fov,
|
|
408
|
-
duration:
|
|
409
|
-
effect: (
|
|
410
|
-
moveCancelCallback: () =>
|
|
411
|
-
moveEndCallback: () =>
|
|
412
|
-
}),
|
|
413
|
-
}),
|
|
409
|
+
duration: this.getSpeededDuration(r),
|
|
410
|
+
effect: (u = (h = t == null ? void 0 : t.moveEffect) != null ? h : (f = this.state.config) == null ? void 0 : f.moveEffect) != null ? u : e.moveEffect,
|
|
411
|
+
moveCancelCallback: () => s(),
|
|
412
|
+
moveEndCallback: () => s()
|
|
413
|
+
}), n && i.once("panoArrived", () => s());
|
|
414
|
+
}), n && (this.privateState.modeChanging = !1);
|
|
414
415
|
});
|
|
415
416
|
}
|
|
416
417
|
changeSpeed(e, t = !0) {
|
|
417
|
-
const { state: i, privateState: a, hooks: d } = this, { currentPlayKeyframe:
|
|
418
|
-
if (d.emit("speedChange", e, { userAction: t }), i.playing &&
|
|
418
|
+
const { state: i, privateState: a, hooks: d } = this, { currentPlayKeyframe: n } = a;
|
|
419
|
+
if (d.emit("speedChange", e, { userAction: t }), i.playing && n)
|
|
419
420
|
try {
|
|
420
|
-
const
|
|
421
|
+
const o = n.originDuration !== void 0 ? n.originDuration * (1 - this.getProgress()) : void 0, r = this.playKeyframe(n.keyframe, { duration: o });
|
|
421
422
|
a.currentPlayQueue.push(r);
|
|
422
|
-
} catch (
|
|
423
|
+
} catch (o) {
|
|
423
424
|
}
|
|
424
425
|
}
|
|
425
426
|
getSpeededDuration(e) {
|
|
@@ -429,7 +430,7 @@ class B extends V {
|
|
|
429
430
|
return this.five.controller.cameraMotion.progress;
|
|
430
431
|
}
|
|
431
432
|
changeMode(e, t) {
|
|
432
|
-
return
|
|
433
|
+
return y(this, null, function* () {
|
|
433
434
|
e.mode && e.mode !== this.five.currentMode && (this.privateState.modeChanging = !0, yield this.five.changeMode(e.mode, e, t), this.privateState.modeChanging = !1);
|
|
434
435
|
});
|
|
435
436
|
}
|
|
@@ -469,7 +470,7 @@ class B extends V {
|
|
|
469
470
|
t != null && t.warnLog && W();
|
|
470
471
|
}
|
|
471
472
|
waitFiveLoaded() {
|
|
472
|
-
return
|
|
473
|
+
return y(this, null, function* () {
|
|
473
474
|
return new Promise((e) => {
|
|
474
475
|
if (this.five.work) {
|
|
475
476
|
e();
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.3.6
|
|
10
|
+
"version": "2.3.6",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|