@realsee/dnalogel 2.6.7-dev.9 → 2.7.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/dist/PanoTagPlugin/controller/TagComputer.d.ts +2 -2
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/index.cjs.js +39 -39
- package/dist/index.js +1066 -1045
- package/dist/index.umd.js +26 -26
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +2 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +120 -46
- 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 +18 -18
- 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/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/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- 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/HelperOffset.html +8 -8
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.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/ObjectHelperControllers.html +9 -9
- 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 +12 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- 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/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/State.html +8 -8
- package/docs/interfaces/TagCache.html +12 -12
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- 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/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.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/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.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/LoadTagConfig.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/MediaStore.html +5 -5
- package/docs/types/ModelElement.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/PanoIndex.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/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.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/StickType.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/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.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/PanoMeasurePlugin/Controller/MixedController.js +10 -10
- package/libs/PanoTagPlugin/Components/Common/Media.js +114 -114
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +119 -115
- package/libs/PanoTagPlugin/Components/Tag/index.js +90 -90
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +2 -2
- package/libs/PanoTagPlugin/controller/TagComputer.js +38 -38
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +114 -107
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +2 -0
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +38 -26
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +9 -11
- package/libs/shared-utils/Object3DHelper/utils/boundingBox.js +15 -15
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SvelteComponent as z, init as R, safe_not_equal as q, append_styles as X, empty as
|
|
1
|
+
import { SvelteComponent as z, init as R, safe_not_equal as q, append_styles as X, empty as x, insert as I, transition_out as d, check_outros as V, transition_in as B, detach as Y, setContext as F, group_outros as j, element as T, attr as w, noop as O, toggle_class as Q, set_style as G, append as L, listen as $, stop_propagation as AA, create_component as v, mount_component as b, destroy_component as D } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import eA from "./TextTag/index.js";
|
|
3
3
|
import tA from "./ImageTextTag.js";
|
|
4
4
|
import iA from "./MarketingTag.js";
|
|
5
5
|
import "three";
|
|
6
|
-
import { noTypecheck as
|
|
6
|
+
import { noTypecheck as c } from "../../utils/noTypecheck.js";
|
|
7
7
|
import "@realsee/five/gltf-loader";
|
|
8
8
|
import { isMediaModelTag as oA } from "../../utils/tag/tagCheck.js";
|
|
9
9
|
import nA from "./AudioTag/index.js";
|
|
@@ -88,10 +88,10 @@ import "./AudioTag/AudioPlaneTag.js";
|
|
|
88
88
|
import "../../utils/color.js";
|
|
89
89
|
import "../Common/Icon/Icon.js";
|
|
90
90
|
import "../../utils/getImageInfo.js";
|
|
91
|
-
function
|
|
92
|
-
X(o, "svelte-
|
|
91
|
+
function mA(o) {
|
|
92
|
+
X(o, "svelte-1pomljv", '@font-face{font-family:"TG-TYPE";font-style:normal;font-weight:400;src:local("TG-TYPE-Bold"), url(data:application/font-woff2;charset=utf-8;base64,T1RUTwAKAIAAAwAgQ0ZGINFD4CEAAAaQAAAHC0dTVUIAAQAAAAANnAAAAApP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4exWcEwAHAQFBXW97ipCarPcv8+7yAfdl8gP4aPf6FfIjB+r3gwUiBi77gwWHBjH3gwUkBuP7gwUnJPcxKPsxI/cx+y/y9y/3MPP7MO4GDvtdi/cSJQr3JBZkcqOzsKSksrCkcWdlcnFmHw6up6eurm+naGhvb2hop2+uHwv3EiUK9yP4ChUiCgt3SgWxBrnmBZGVj5eZGgsB2/cSAwtobm5paqBzqoYLAAABAAAAAAAAAAAAAA==) format("woff2")}*{-webkit-tap-highlight-color:transparent}.content__container.svelte-1pomljv{position:relative;left:50%;top:50%;transform:translate(-50%, -50%);font-family:PingFangSC, Segoe UI, Rototo, sans-serif}.content__container.withAnimation.svelte-1pomljv{transition:opacity 0.3s linear}.content__container.unClickable.svelte-1pomljv{pointer-events:none !important}.content__container.unClickable.svelte-1pomljv *{pointer-events:none !important}.content__wrapper.svelte-1pomljv{pointer-events:none;width:100%;height:100%}.content__container.hide.svelte-1pomljv{opacity:0;pointer-events:none}.content__container.hide.svelte-1pomljv *{pointer-events:none !important}.content__container.disable.svelte-1pomljv{display:none}.content.svelte-1pomljv{position:relative;width:100%;height:100%;font-size:0.75rem;line-height:1.125rem;color:#fff}.content.svelte-1pomljv:not(.unfolded){pointer-events:none}.content.svelte-1pomljv:not(.unfolded) *{pointer-events:none !important}');
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function fA(o) {
|
|
95
95
|
let A, t;
|
|
96
96
|
return {
|
|
97
97
|
c() {
|
|
@@ -110,34 +110,34 @@ function sA(o) {
|
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
let A, t, e, i, n,
|
|
113
|
+
function sA(o) {
|
|
114
|
+
let A, t, e, i, n, s, g, m, u;
|
|
115
115
|
const a = [
|
|
116
116
|
QA,
|
|
117
117
|
BA,
|
|
118
118
|
dA,
|
|
119
|
+
uA,
|
|
119
120
|
cA,
|
|
120
121
|
pA,
|
|
121
|
-
uA,
|
|
122
122
|
gA
|
|
123
|
-
],
|
|
124
|
-
function C(r,
|
|
123
|
+
], p = [];
|
|
124
|
+
function C(r, f) {
|
|
125
125
|
return r[1].element ? 0 : r[1].contentType === "Text" ? 1 : r[1].contentType === "ImageText" || r[1].contentType === "Image" || r[1].contentType === "Video" ? 2 : r[1].contentType === "Audio" ? 3 : r[1].contentType === "Marketing" ? 4 : r[1].contentType === "Link" || r[1].contentType === "VRLink" || r[1].contentType === "PanoLink" ? 5 : r[1].contentType === "MediaPlane" || r[1].contentType === "MediaModel" ? 6 : -1;
|
|
126
126
|
}
|
|
127
|
-
return ~(i = C(o)) && (n =
|
|
127
|
+
return ~(i = C(o)) && (n = p[i] = a[i](o)), {
|
|
128
128
|
c() {
|
|
129
129
|
var r;
|
|
130
|
-
A = T("div"), t = T("div"), e = T("div"), n && n.c(), w(e, "class", "content svelte-
|
|
130
|
+
A = T("div"), t = T("div"), e = T("div"), n && n.c(), w(e, "class", "content svelte-1pomljv"), Q(e, "unfolded", (r = o[1].state) == null ? void 0 : r.unfolded), w(t, "class", "content__wrapper svelte-1pomljv"), w(A, "class", "content__container svelte-1pomljv"), w(A, "data-id", s = o[1].id), Q(A, "disable", o[1].enabled === !1), Q(A, "hide", o[4]), Q(A, "withAnimation", o[0]), Q(A, "unClickable", o[1].clickable === !1), G(A, "width", o[1].stickType === "Plane" || o[1].contentType === "MediaModel" ? "100%" : 0), G(A, "height", o[1].stickType === "Plane" || o[1].contentType === "MediaModel" ? "100%" : 0);
|
|
131
131
|
},
|
|
132
|
-
m(r,
|
|
133
|
-
I(r, A,
|
|
132
|
+
m(r, f) {
|
|
133
|
+
I(r, A, f), L(A, t), L(t, e), ~i && p[i].m(e, null), g = !0, m || (u = $(A, "click", AA(o[13])), m = !0);
|
|
134
134
|
},
|
|
135
|
-
p(r,
|
|
136
|
-
var
|
|
135
|
+
p(r, f) {
|
|
136
|
+
var _;
|
|
137
137
|
let k = i;
|
|
138
|
-
i = C(r), i === k ? ~i &&
|
|
139
|
-
|
|
140
|
-
}),
|
|
138
|
+
i = C(r), i === k ? ~i && p[i].p(r, f) : (n && (j(), d(p[k], 1, 1, () => {
|
|
139
|
+
p[k] = null;
|
|
140
|
+
}), V()), ~i ? (n = p[i], n ? n.p(r, f) : (n = p[i] = a[i](r), n.c()), B(n, 1), n.m(e, null)) : n = null), (!g || f & 2) && Q(e, "unfolded", (_ = r[1].state) == null ? void 0 : _.unfolded), (!g || f & 2 && s !== (s = r[1].id)) && w(A, "data-id", s), (!g || f & 2) && Q(A, "disable", r[1].enabled === !1), (!g || f & 16) && Q(A, "hide", r[4]), (!g || f & 1) && Q(A, "withAnimation", r[0]), (!g || f & 2) && Q(A, "unClickable", r[1].clickable === !1), f & 2 && G(A, "width", r[1].stickType === "Plane" || r[1].contentType === "MediaModel" ? "100%" : 0), f & 2 && G(A, "height", r[1].stickType === "Plane" || r[1].contentType === "MediaModel" ? "100%" : 0);
|
|
141
141
|
},
|
|
142
142
|
i(r) {
|
|
143
143
|
g || (B(n), g = !0);
|
|
@@ -146,24 +146,24 @@ function mA(o) {
|
|
|
146
146
|
d(n), g = !1;
|
|
147
147
|
},
|
|
148
148
|
d(r) {
|
|
149
|
-
r && Y(A), ~i &&
|
|
149
|
+
r && Y(A), ~i && p[i].d(), m = !1, u();
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
function gA(o) {
|
|
154
154
|
let A, t;
|
|
155
155
|
return A = new rA({
|
|
156
|
-
props: { tag:
|
|
156
|
+
props: { tag: c(o[1]) }
|
|
157
157
|
}), {
|
|
158
158
|
c() {
|
|
159
|
-
|
|
159
|
+
v(A.$$.fragment);
|
|
160
160
|
},
|
|
161
161
|
m(e, i) {
|
|
162
|
-
|
|
162
|
+
b(A, e, i), t = !0;
|
|
163
163
|
},
|
|
164
164
|
p(e, i) {
|
|
165
165
|
const n = {};
|
|
166
|
-
i & 2 && (n.tag =
|
|
166
|
+
i & 2 && (n.tag = c(e[1])), A.$set(n);
|
|
167
167
|
},
|
|
168
168
|
i(e) {
|
|
169
169
|
t || (B(A.$$.fragment, e), t = !0);
|
|
@@ -172,24 +172,24 @@ function gA(o) {
|
|
|
172
172
|
d(A.$$.fragment, e), t = !1;
|
|
173
173
|
},
|
|
174
174
|
d(e) {
|
|
175
|
-
|
|
175
|
+
D(A, e);
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function pA(o) {
|
|
180
180
|
let A, t;
|
|
181
181
|
return A = new aA({
|
|
182
|
-
props: { tag:
|
|
182
|
+
props: { tag: c(o[1]) }
|
|
183
183
|
}), {
|
|
184
184
|
c() {
|
|
185
|
-
|
|
185
|
+
v(A.$$.fragment);
|
|
186
186
|
},
|
|
187
187
|
m(e, i) {
|
|
188
|
-
|
|
188
|
+
b(A, e, i), t = !0;
|
|
189
189
|
},
|
|
190
190
|
p(e, i) {
|
|
191
191
|
const n = {};
|
|
192
|
-
i & 2 && (n.tag =
|
|
192
|
+
i & 2 && (n.tag = c(e[1])), A.$set(n);
|
|
193
193
|
},
|
|
194
194
|
i(e) {
|
|
195
195
|
t || (B(A.$$.fragment, e), t = !0);
|
|
@@ -198,24 +198,24 @@ function uA(o) {
|
|
|
198
198
|
d(A.$$.fragment, e), t = !1;
|
|
199
199
|
},
|
|
200
200
|
d(e) {
|
|
201
|
-
|
|
201
|
+
D(A, e);
|
|
202
202
|
}
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function cA(o) {
|
|
206
206
|
let A, t;
|
|
207
207
|
return A = new iA({
|
|
208
|
-
props: { tag:
|
|
208
|
+
props: { tag: c(o[1]) }
|
|
209
209
|
}), {
|
|
210
210
|
c() {
|
|
211
|
-
|
|
211
|
+
v(A.$$.fragment);
|
|
212
212
|
},
|
|
213
213
|
m(e, i) {
|
|
214
|
-
|
|
214
|
+
b(A, e, i), t = !0;
|
|
215
215
|
},
|
|
216
216
|
p(e, i) {
|
|
217
217
|
const n = {};
|
|
218
|
-
i & 2 && (n.tag =
|
|
218
|
+
i & 2 && (n.tag = c(e[1])), A.$set(n);
|
|
219
219
|
},
|
|
220
220
|
i(e) {
|
|
221
221
|
t || (B(A.$$.fragment, e), t = !0);
|
|
@@ -224,24 +224,24 @@ function pA(o) {
|
|
|
224
224
|
d(A.$$.fragment, e), t = !1;
|
|
225
225
|
},
|
|
226
226
|
d(e) {
|
|
227
|
-
|
|
227
|
+
D(A, e);
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function uA(o) {
|
|
232
232
|
let A, t;
|
|
233
233
|
return A = new nA({
|
|
234
|
-
props: { tag:
|
|
234
|
+
props: { tag: c(o[1]) }
|
|
235
235
|
}), {
|
|
236
236
|
c() {
|
|
237
|
-
|
|
237
|
+
v(A.$$.fragment);
|
|
238
238
|
},
|
|
239
239
|
m(e, i) {
|
|
240
|
-
|
|
240
|
+
b(A, e, i), t = !0;
|
|
241
241
|
},
|
|
242
242
|
p(e, i) {
|
|
243
243
|
const n = {};
|
|
244
|
-
i & 2 && (n.tag =
|
|
244
|
+
i & 2 && (n.tag = c(e[1])), A.$set(n);
|
|
245
245
|
},
|
|
246
246
|
i(e) {
|
|
247
247
|
t || (B(A.$$.fragment, e), t = !0);
|
|
@@ -250,24 +250,24 @@ function cA(o) {
|
|
|
250
250
|
d(A.$$.fragment, e), t = !1;
|
|
251
251
|
},
|
|
252
252
|
d(e) {
|
|
253
|
-
|
|
253
|
+
D(A, e);
|
|
254
254
|
}
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
257
|
function dA(o) {
|
|
258
258
|
let A, t;
|
|
259
259
|
return A = new tA({
|
|
260
|
-
props: { tag:
|
|
260
|
+
props: { tag: c(o[1]) }
|
|
261
261
|
}), {
|
|
262
262
|
c() {
|
|
263
|
-
|
|
263
|
+
v(A.$$.fragment);
|
|
264
264
|
},
|
|
265
265
|
m(e, i) {
|
|
266
|
-
|
|
266
|
+
b(A, e, i), t = !0;
|
|
267
267
|
},
|
|
268
268
|
p(e, i) {
|
|
269
269
|
const n = {};
|
|
270
|
-
i & 2 && (n.tag =
|
|
270
|
+
i & 2 && (n.tag = c(e[1])), A.$set(n);
|
|
271
271
|
},
|
|
272
272
|
i(e) {
|
|
273
273
|
t || (B(A.$$.fragment, e), t = !0);
|
|
@@ -276,24 +276,24 @@ function dA(o) {
|
|
|
276
276
|
d(A.$$.fragment, e), t = !1;
|
|
277
277
|
},
|
|
278
278
|
d(e) {
|
|
279
|
-
|
|
279
|
+
D(A, e);
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
282
|
}
|
|
283
283
|
function BA(o) {
|
|
284
284
|
let A, t;
|
|
285
285
|
return A = new eA({
|
|
286
|
-
props: { tag:
|
|
286
|
+
props: { tag: c(o[1]) }
|
|
287
287
|
}), {
|
|
288
288
|
c() {
|
|
289
|
-
|
|
289
|
+
v(A.$$.fragment);
|
|
290
290
|
},
|
|
291
291
|
m(e, i) {
|
|
292
|
-
|
|
292
|
+
b(A, e, i), t = !0;
|
|
293
293
|
},
|
|
294
294
|
p(e, i) {
|
|
295
295
|
const n = {};
|
|
296
|
-
i & 2 && (n.tag =
|
|
296
|
+
i & 2 && (n.tag = c(e[1])), A.$set(n);
|
|
297
297
|
},
|
|
298
298
|
i(e) {
|
|
299
299
|
t || (B(A.$$.fragment, e), t = !0);
|
|
@@ -302,24 +302,24 @@ function BA(o) {
|
|
|
302
302
|
d(A.$$.fragment, e), t = !1;
|
|
303
303
|
},
|
|
304
304
|
d(e) {
|
|
305
|
-
|
|
305
|
+
D(A, e);
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
308
|
}
|
|
309
309
|
function QA(o) {
|
|
310
310
|
let A, t;
|
|
311
311
|
return A = new lA({
|
|
312
|
-
props: { tag:
|
|
312
|
+
props: { tag: c(o[1]) }
|
|
313
313
|
}), {
|
|
314
314
|
c() {
|
|
315
|
-
|
|
315
|
+
v(A.$$.fragment);
|
|
316
316
|
},
|
|
317
317
|
m(e, i) {
|
|
318
|
-
|
|
318
|
+
b(A, e, i), t = !0;
|
|
319
319
|
},
|
|
320
320
|
p(e, i) {
|
|
321
321
|
const n = {};
|
|
322
|
-
i & 2 && (n.tag =
|
|
322
|
+
i & 2 && (n.tag = c(e[1])), A.$set(n);
|
|
323
323
|
},
|
|
324
324
|
i(e) {
|
|
325
325
|
t || (B(A.$$.fragment, e), t = !0);
|
|
@@ -328,68 +328,68 @@ function QA(o) {
|
|
|
328
328
|
d(A.$$.fragment, e), t = !1;
|
|
329
329
|
},
|
|
330
330
|
d(e) {
|
|
331
|
-
|
|
331
|
+
D(A, e);
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
335
|
function wA(o) {
|
|
336
336
|
let A, t, e, i;
|
|
337
|
-
const n = [
|
|
338
|
-
function g(
|
|
339
|
-
return
|
|
337
|
+
const n = [sA, fA], s = [];
|
|
338
|
+
function g(m, u) {
|
|
339
|
+
return m[3] ? 0 : 1;
|
|
340
340
|
}
|
|
341
|
-
return A = g(o), t =
|
|
341
|
+
return A = g(o), t = s[A] = n[A](o), {
|
|
342
342
|
c() {
|
|
343
|
-
t.c(), e =
|
|
343
|
+
t.c(), e = x();
|
|
344
344
|
},
|
|
345
|
-
m(
|
|
346
|
-
|
|
345
|
+
m(m, u) {
|
|
346
|
+
s[A].m(m, u), I(m, e, u), i = !0;
|
|
347
347
|
},
|
|
348
|
-
p(
|
|
348
|
+
p(m, [u]) {
|
|
349
349
|
let a = A;
|
|
350
|
-
A = g(
|
|
351
|
-
|
|
352
|
-
}),
|
|
350
|
+
A = g(m), A === a ? s[A].p(m, u) : (j(), d(s[a], 1, 1, () => {
|
|
351
|
+
s[a] = null;
|
|
352
|
+
}), V(), t = s[A], t ? t.p(m, u) : (t = s[A] = n[A](m), t.c()), B(t, 1), t.m(e.parentNode, e));
|
|
353
353
|
},
|
|
354
|
-
i(
|
|
354
|
+
i(m) {
|
|
355
355
|
i || (B(t), i = !0);
|
|
356
356
|
},
|
|
357
|
-
o(
|
|
357
|
+
o(m) {
|
|
358
358
|
d(t), i = !1;
|
|
359
359
|
},
|
|
360
|
-
d(
|
|
361
|
-
|
|
360
|
+
d(m) {
|
|
361
|
+
s[A].d(m), m && Y(e);
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
365
|
function CA(o, A, t) {
|
|
366
|
-
let e, i, n,
|
|
367
|
-
F("hooks",
|
|
368
|
-
let k,
|
|
366
|
+
let e, i, n, s, g, m, { withAnimation: u = !1 } = A, { tag: a } = A, { hooks: p } = A, { state: C } = A, { mediaStore: r } = A, { temporaryState: f } = A;
|
|
367
|
+
F("hooks", p), F("mediaStore", r);
|
|
368
|
+
let k, _;
|
|
369
369
|
function Z(l) {
|
|
370
|
-
l ?
|
|
370
|
+
l ? p.emit("exposure", { id: s, type: "start" }) : p.emit("exposure", { id: s, type: "end" });
|
|
371
371
|
}
|
|
372
|
-
function K(l,
|
|
373
|
-
var
|
|
374
|
-
return !(!
|
|
372
|
+
function K(l, E, y) {
|
|
373
|
+
var h, M;
|
|
374
|
+
return !(!E.visible || !E.enabled || !y.visible || !((h = l.state) != null && h.visible) || ((M = l.temporaryState) == null ? void 0 : M.visible) === !1 || oA(l) && l.mediaVisible === !1);
|
|
375
375
|
}
|
|
376
|
-
const N = (l) =>
|
|
376
|
+
const N = (l) => p.emit("click", { event: l, target: "TagContent", tag: a });
|
|
377
377
|
return o.$$set = (l) => {
|
|
378
|
-
"withAnimation" in l && t(0,
|
|
378
|
+
"withAnimation" in l && t(0, u = l.withAnimation), "tag" in l && t(1, a = l.tag), "hooks" in l && t(2, p = l.hooks), "state" in l && t(5, C = l.state), "mediaStore" in l && t(6, r = l.mediaStore), "temporaryState" in l && t(7, f = l.temporaryState);
|
|
379
379
|
}, o.$$.update = () => {
|
|
380
|
-
var l,
|
|
381
|
-
o.$$.dirty & 2 && t(11, e = (l = a.state) == null ? void 0 : l.unfolded), o.$$.dirty & 2 && t(10, i = (
|
|
380
|
+
var l, E, y, h, M, J, H, P, U, W, S;
|
|
381
|
+
o.$$.dirty & 2 && t(11, e = (l = a.state) == null ? void 0 : l.unfolded), o.$$.dirty & 2 && t(10, i = (E = a.state) == null ? void 0 : E.visible), o.$$.dirty & 162 && t(12, n = C.visible && f.visible && ((y = a.state) == null ? void 0 : y.visible)), o.$$.dirty & 2 && (s = a.id), o.$$.dirty & 162 && t(4, g = !K(a, C, f)), o.$$.dirty & 4096 && Z(n), o.$$.dirty & 3842 && a.hooks && (e !== void 0 && e !== _ && (t(9, _ = e), e ? (M = (h = a.hooks).emit) == null || M.call(h, "unfolded") : (H = a == null ? void 0 : (J = a.hooks).emit) == null || H.call(J, "folded")), i !== void 0 && i !== k && (t(8, k = i), i ? (U = (P = a.hooks).emit) == null || U.call(P, "show") : (S = (W = a.hooks).emit) == null || S.call(W, "hide"))), o.$$.dirty & 2 && t(3, m = (() => !(typeof a.mergedConfig.unfoldedConfig == "object" && a.mergedConfig.unfoldedConfig.keep === "folded"))());
|
|
382
382
|
}, [
|
|
383
|
-
c,
|
|
384
|
-
a,
|
|
385
383
|
u,
|
|
386
|
-
|
|
384
|
+
a,
|
|
385
|
+
p,
|
|
386
|
+
m,
|
|
387
387
|
g,
|
|
388
388
|
C,
|
|
389
389
|
r,
|
|
390
|
-
|
|
390
|
+
f,
|
|
391
391
|
k,
|
|
392
|
-
|
|
392
|
+
_,
|
|
393
393
|
i,
|
|
394
394
|
e,
|
|
395
395
|
n,
|
|
@@ -412,7 +412,7 @@ class it extends z {
|
|
|
412
412
|
mediaStore: 6,
|
|
413
413
|
temporaryState: 7
|
|
414
414
|
},
|
|
415
|
-
|
|
415
|
+
mA
|
|
416
416
|
);
|
|
417
417
|
}
|
|
418
418
|
}
|
|
@@ -22,6 +22,8 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
22
22
|
*/
|
|
23
23
|
getVisibleByPanoIndex(tag: Tag<any, any>, panoIndex?: number): boolean;
|
|
24
24
|
getVisibleByFiveMode(tag: Tag<any, any>, mode: Mode): boolean;
|
|
25
|
+
/** 检测是否匹配当前楼层 */
|
|
26
|
+
getVisibleByFloorIndex(tag: Tag<any, any>): boolean;
|
|
25
27
|
getVisible(tag: Tag<any, any>): boolean;
|
|
26
28
|
/** 获取当前点位上模型中的多媒体是否应该展示 */
|
|
27
29
|
getModelMedialVisibleByPanoIndex(tag: Tag<any, any>): boolean;
|
|
@@ -78,6 +80,4 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
78
80
|
};
|
|
79
81
|
/** 获取点位看向标签的射线 */
|
|
80
82
|
protected getRaycasterFromPanoIndex(tag: Tag, panoIndex: number): THREE.Raycaster;
|
|
81
|
-
/** 检测 target floor index 是否匹配当前楼层 */
|
|
82
|
-
protected checkFloorIndex(tag: TagElement): boolean;
|
|
83
83
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var B = Object.defineProperty, V = Object.defineProperties;
|
|
2
|
+
var j = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var P = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var T = (g, d, e) => d in g ?
|
|
4
|
+
var U = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var T = (g, d, e) => d in g ? B(g, d, { enumerable: !0, configurable: !0, writable: !0, value: e }) : g[d] = e, C = (g, d) => {
|
|
6
6
|
for (var e in d || (d = {}))
|
|
7
|
-
|
|
7
|
+
U.call(d, e) && T(g, e, d[e]);
|
|
8
8
|
if (P)
|
|
9
9
|
for (var e of P(d))
|
|
10
|
-
|
|
10
|
+
w.call(d, e) && T(g, e, d[e]);
|
|
11
11
|
return g;
|
|
12
|
-
}, I = (g, d) =>
|
|
13
|
-
var
|
|
12
|
+
}, I = (g, d) => V(g, j(d));
|
|
13
|
+
var m = (g, d, e) => (T(g, typeof d != "symbol" ? d + "" : d, e), e);
|
|
14
14
|
import x from "object-assign-deep";
|
|
15
15
|
import * as k from "three";
|
|
16
|
-
import { DefaultConfig as
|
|
17
|
-
import { isMediaModelTag as
|
|
16
|
+
import { DefaultConfig as R } from "../tag.config.js";
|
|
17
|
+
import { isMediaModelTag as b, is3DTag as $ } from "../utils/tag/tagCheck.js";
|
|
18
18
|
import { anyPositionToVector3 as A } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
19
19
|
import { planeNormal as E } from "../utils/planeNormal.js";
|
|
20
20
|
import { getTagPosition as D, tagPosition as M } from "../utils/tagPosition.js";
|
|
21
|
-
import { checkRange as
|
|
22
|
-
import { TagCacheController as
|
|
21
|
+
import { checkRange as y } from "../utils/checkRange.js";
|
|
22
|
+
import { TagCacheController as F } from "./TagCacheController.js";
|
|
23
23
|
import "hammerjs";
|
|
24
24
|
import "@realsee/five";
|
|
25
25
|
import "@tweenjs/tween.js";
|
|
26
26
|
import "../../CSS3DRenderPlugin/CSS3DRender.js";
|
|
27
27
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
28
|
-
import { notNil as
|
|
28
|
+
import { notNil as S } from "../../shared-utils/isNil.js";
|
|
29
29
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
30
30
|
import "@realsee/five/gltf-loader";
|
|
31
31
|
import "../../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
@@ -41,12 +41,12 @@ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
41
41
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
42
42
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
43
43
|
import "../../shared-utils/animationFrame/index.js";
|
|
44
|
-
class ve extends
|
|
44
|
+
class ve extends F {
|
|
45
45
|
constructor(e) {
|
|
46
46
|
super(e);
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
m(this, "tags", []);
|
|
48
|
+
m(this, "config", R);
|
|
49
|
+
m(this, "raycaster", new k.Raycaster());
|
|
50
50
|
}
|
|
51
51
|
get isPanorama() {
|
|
52
52
|
return this.five.currentMode === "Panorama";
|
|
@@ -54,7 +54,7 @@ class ve extends S {
|
|
|
54
54
|
getTagById(e) {
|
|
55
55
|
const t = this.tags.find((i) => i.id === e);
|
|
56
56
|
if (!t) {
|
|
57
|
-
console.
|
|
57
|
+
console.warn(`error: can not find tag id ${e} by getTagById()`);
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
return t;
|
|
@@ -65,7 +65,7 @@ class ve extends S {
|
|
|
65
65
|
getVisibleByPanoIndex(e, t) {
|
|
66
66
|
var n;
|
|
67
67
|
const i = this.getCache({ panoIndex: t, id: e.id }), o = (n = this.five.panoIndex) != null ? n : t;
|
|
68
|
-
if (
|
|
68
|
+
if (b(e))
|
|
69
69
|
return !0;
|
|
70
70
|
if (i.visible !== void 0)
|
|
71
71
|
return i.visible;
|
|
@@ -91,7 +91,7 @@ class ve extends S {
|
|
|
91
91
|
reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${o}, tag.panoIndex: ${(a = e.fiveState) == null ? void 0 : a.panoIndex}`
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
-
if (s.visibleDistance !== void 0 && s.visibleDistance !== "unLimited" &&
|
|
94
|
+
if (s.visibleDistance !== void 0 && s.visibleDistance !== "unLimited" && y(l, s.visibleDistance) === !1)
|
|
95
95
|
return {
|
|
96
96
|
value: !1,
|
|
97
97
|
reason: `distance is not in visibleDistance. distance: ${l}, visibleDistance: ${s.visibleDistance}`
|
|
@@ -108,7 +108,7 @@ class ve extends S {
|
|
|
108
108
|
}
|
|
109
109
|
if (s.angleRange && $(e)) {
|
|
110
110
|
const r = this.getAngle(e);
|
|
111
|
-
if (
|
|
111
|
+
if (y(r, s.angleRange) === !1)
|
|
112
112
|
return { value: !1, reason: `angle is not in angleRange. angle: ${r}, angleRange: ${s.angleRange}` };
|
|
113
113
|
}
|
|
114
114
|
return {
|
|
@@ -127,9 +127,17 @@ class ve extends S {
|
|
|
127
127
|
const o = i == null ? void 0 : i.visibleFiveMode;
|
|
128
128
|
return o ? o.includes(t) : t === "Panorama";
|
|
129
129
|
}
|
|
130
|
+
getVisibleByFloorIndex(e) {
|
|
131
|
+
var f;
|
|
132
|
+
const t = e.fiveState;
|
|
133
|
+
if (!t)
|
|
134
|
+
return !0;
|
|
135
|
+
const i = t.panoIndex, o = (f = this.five.work.observers[i]) == null ? void 0 : f.floorIndex, n = this.five.model.shownFloor;
|
|
136
|
+
return n === null || n === o;
|
|
137
|
+
}
|
|
130
138
|
getVisible(e) {
|
|
131
|
-
const t = this.five.getCurrentState(), i = this.getVisibleByFiveMode(e, t.mode), o = t.mode === "Panorama" ? this.getVisibleByPanoIndex(e, t.panoIndex) : !0;
|
|
132
|
-
return i && o;
|
|
139
|
+
const t = this.five.getCurrentState(), i = this.getVisibleByFiveMode(e, t.mode), o = b(e) ? this.getVisibleByFloorIndex(e) : !0, n = t.mode === "Panorama" ? this.getVisibleByPanoIndex(e, t.panoIndex) : !0;
|
|
140
|
+
return i && n && o;
|
|
133
141
|
}
|
|
134
142
|
getModelMedialVisibleByPanoIndex(e) {
|
|
135
143
|
const t = this.five.getCurrentState().panoIndex, i = this.getCache({ panoIndex: t, id: e.id });
|
|
@@ -156,7 +164,7 @@ class ve extends S {
|
|
|
156
164
|
return !1;
|
|
157
165
|
if (n.keep === "unfolded")
|
|
158
166
|
return !0;
|
|
159
|
-
if (n.unfoldDistance &&
|
|
167
|
+
if (n.unfoldDistance && y(l, n.unfoldDistance) === !1)
|
|
160
168
|
return !1;
|
|
161
169
|
})();
|
|
162
170
|
o.unfolded = f;
|
|
@@ -179,7 +187,7 @@ class ve extends S {
|
|
|
179
187
|
return;
|
|
180
188
|
if (n.autoUnfold.strategy === "ScreenPostion") {
|
|
181
189
|
const s = this.getTagProject(e);
|
|
182
|
-
if (s &&
|
|
190
|
+
if (s && y(s.x, n.autoUnfold.autoUnfoldProjectX) === !1)
|
|
183
191
|
return !1;
|
|
184
192
|
}
|
|
185
193
|
if (n.autoUnfold.strategy === "MinimumDistance") {
|
|
@@ -194,7 +202,7 @@ class ve extends S {
|
|
|
194
202
|
return !(typeof r != "object" || r.keep || r.autoUnfold === !1 || ((p = r.autoUnfold) == null ? void 0 : p.enable) === !1 || ((v = r.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance");
|
|
195
203
|
}).map((a) => I(C({}, a), { distance: this.getDistance(a.tag) })).filter(({ distance: a, tagConfig: r }) => {
|
|
196
204
|
var p, v;
|
|
197
|
-
return !(a === void 0 || typeof r != "object" || r.autoUnfold === !1 || ((p = r.autoUnfold) == null ? void 0 : p.enable) === !1 || ((v = r.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance" || r.autoUnfold.distance &&
|
|
205
|
+
return !(a === void 0 || typeof r != "object" || r.autoUnfold === !1 || ((p = r.autoUnfold) == null ? void 0 : p.enable) === !1 || ((v = r.autoUnfold) == null ? void 0 : v.strategy) !== "MinimumDistance" || r.autoUnfold.distance && y(a, r.autoUnfold.distance) === !1);
|
|
198
206
|
}).sort((a, r) => a.distance - r.distance).findIndex((a) => a.id === e.id);
|
|
199
207
|
if (c === -1 || c <= ((f = n.autoUnfold.maxNumber) != null ? f : 1) - 1 === !1)
|
|
200
208
|
return !1;
|
|
@@ -315,7 +323,7 @@ class ve extends S {
|
|
|
315
323
|
}
|
|
316
324
|
setModelMedialVisibleByPanoIndex() {
|
|
317
325
|
this.tags.forEach((e) => {
|
|
318
|
-
if (!
|
|
326
|
+
if (!b(e))
|
|
319
327
|
return;
|
|
320
328
|
const t = this.getModelMedialVisibleByPanoIndex(e);
|
|
321
329
|
e.mediaVisible = t;
|
|
@@ -364,12 +372,12 @@ class ve extends S {
|
|
|
364
372
|
getTagEnableByIntersect(e, t) {
|
|
365
373
|
var c, u, a;
|
|
366
374
|
const i = (c = this.getTagConfig(e).visibleConfig) != null ? c : {}, o = this.getDistance(e), [n] = this.five.model.intersectRaycaster(t), f = (() => {
|
|
367
|
-
if (!
|
|
375
|
+
if (!b(e))
|
|
368
376
|
return;
|
|
369
|
-
const r = this.tags.filter(
|
|
377
|
+
const r = this.tags.filter(b).map((v) => {
|
|
370
378
|
var h;
|
|
371
379
|
return (h = v.model) == null ? void 0 : h.object;
|
|
372
|
-
}).filter(
|
|
380
|
+
}).filter(S);
|
|
373
381
|
return t.intersectObjects(r, !0)[0];
|
|
374
382
|
})(), s = (() => {
|
|
375
383
|
var r;
|
|
@@ -389,14 +397,6 @@ class ve extends S {
|
|
|
389
397
|
const o = D(e).sub(i).normalize();
|
|
390
398
|
return this.raycaster.set(i, o), this.raycaster;
|
|
391
399
|
}
|
|
392
|
-
checkFloorIndex(e) {
|
|
393
|
-
var f;
|
|
394
|
-
const t = e.fiveState;
|
|
395
|
-
if (!t)
|
|
396
|
-
return !0;
|
|
397
|
-
const i = t.panoIndex, o = (f = this.five.work.observers[i]) == null ? void 0 : f.floorIndex, n = this.five.model.shownFloor;
|
|
398
|
-
return n === null || n === o;
|
|
399
|
-
}
|
|
400
400
|
}
|
|
401
401
|
export {
|
|
402
402
|
ve as TagComputer
|
|
@@ -109,6 +109,7 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
109
109
|
* @param scale css3DObject 原始缩放比例
|
|
110
110
|
*/
|
|
111
111
|
updateTagCss3DObjectMatrix<S extends 'Model' | 'Plane' = 'Model'>(tag: TagElement<any, S>, model: Object3D): void;
|
|
112
|
+
private updateTagCss3DObjectVisible;
|
|
112
113
|
/**
|
|
113
114
|
* @description: 设置 visible 和 unfolded
|
|
114
115
|
*/
|