@realsee/dnalogel 2.8.4 → 2.8.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/PanoTagPlugin/controller/TagComputer.d.ts +5 -5
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +4 -0
- package/dist/index.cjs.js +13 -13
- package/dist/index.js +332 -329
- package/dist/index.umd.js +14 -14
- 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 +72 -72
- 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 +27 -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 +5 -5
- package/docs/functions/CameraMovementPlugin.html +5 -5
- package/docs/functions/CruisePlugin.html +5 -5
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +5 -5
- package/docs/functions/MapviewFloorplanPlugin.html +5 -5
- package/docs/functions/ModelChassisCompassPlugin.html +5 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
- package/docs/functions/ModelFloorplanPlugin.html +5 -5
- package/docs/functions/ModelItemLabelPlugin.html +5 -5
- package/docs/functions/ModelRoomLabelPlugin.html +5 -5
- package/docs/functions/ModelTVVideoPlugin.html +5 -5
- package/docs/functions/ModelViewPlugin.html +5 -5
- package/docs/functions/Object3DHelperPlugin.html +5 -5
- package/docs/functions/PanoCompassPlugin.html +5 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
- package/docs/functions/PanoDoorLabelPlugin.html +5 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
- package/docs/functions/PanoMeasurePlugin.html +5 -5
- package/docs/functions/PanoRulerPlugin.html +5 -5
- package/docs/functions/PanoRulerProPlugin.html +5 -5
- package/docs/functions/PanoSpatialTagPlugin.html +5 -5
- package/docs/functions/PanoTagPlugin.html +10 -10
- package/docs/functions/TopviewFloorplanPlugin.html +5 -5
- 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 +19 -19
- 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 +11 -11
- 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/PanoTagPlugin/Components/Tag/LinkTag.js +49 -46
- package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +5 -5
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +4 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.js +1 -1
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +44 -44
- package/package.json +1 -1
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
|
@@ -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>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.8.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.8.6</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.8.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.8.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.8.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.8.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.8.6</a></li>
|
|
16
16
|
<li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Item<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/27c9d33/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</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.8.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.8.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">
|
|
@@ -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.8.
|
|
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.8.6</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.8.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.8.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.8.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.8.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.8.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/27c9d33/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.8.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.8.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">
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { SvelteComponent as D, init as R, safe_not_equal as S, append_styles as q, element as g, create_component as x, space as k, attr as h, insert as j, mount_component as
|
|
1
|
+
import { SvelteComponent as D, init as R, safe_not_equal as S, append_styles as q, element as g, create_component as x, space as k, attr as h, insert as j, mount_component as b, append as m, transition_in as p, transition_out as u, check_outros as C, detach as v, destroy_component as z, onMount as I, text as M, set_data as T, group_outros as A } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import B from "../Common/Shadow.js";
|
|
3
3
|
import E from "../Common/Icon/Icon.js";
|
|
4
4
|
import "../../../vendor/svelte/transition/index.js";
|
|
5
5
|
import "../../../vendor/svelte/easing/index.js";
|
|
6
6
|
import "../../utils/getImageInfo.js";
|
|
7
7
|
import "../../utils/px2rem.js";
|
|
8
|
-
function F(
|
|
9
|
-
q(
|
|
8
|
+
function F(o) {
|
|
9
|
+
q(o, "svelte-e58ijk", ".wrapper.svelte-e58ijk{font-weight:600;cursor:pointer;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:auto}.text-wrapper.svelte-e58ijk{position:relative;display:flex;align-items:center;justify-content:center}.text.svelte-e58ijk{position:absolute;top:0;font-size:0.875rem;color:#ffffff;letter-spacing:0;text-align:center;max-width:8.75rem;width:-moz-max-content;width:max-content;line-height:1.125rem;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
10
10
|
}
|
|
11
|
-
function y(
|
|
12
|
-
let
|
|
11
|
+
function y(o) {
|
|
12
|
+
let r, e, a, s, t, n;
|
|
13
13
|
return e = new B({
|
|
14
14
|
props: {
|
|
15
15
|
outDelay: 0,
|
|
@@ -22,83 +22,86 @@ function y(i) {
|
|
|
22
22
|
}
|
|
23
23
|
}), {
|
|
24
24
|
c() {
|
|
25
|
-
|
|
25
|
+
r = g("div"), x(e.$$.fragment), a = k(), s = g("div"), t = M(o[2]), h(s, "class", "text svelte-e58ijk"), h(r, "class", "text-wrapper svelte-e58ijk");
|
|
26
26
|
},
|
|
27
|
-
m(
|
|
28
|
-
j(
|
|
27
|
+
m(i, l) {
|
|
28
|
+
j(i, r, l), b(e, r, null), m(r, a), m(r, s), m(s, t), n = !0;
|
|
29
29
|
},
|
|
30
|
-
p(
|
|
31
|
-
(!n ||
|
|
30
|
+
p(i, l) {
|
|
31
|
+
(!n || l & 4) && T(t, i[2]);
|
|
32
32
|
},
|
|
33
|
-
i(
|
|
34
|
-
n || (p(e.$$.fragment,
|
|
33
|
+
i(i) {
|
|
34
|
+
n || (p(e.$$.fragment, i), n = !0);
|
|
35
35
|
},
|
|
36
|
-
o(
|
|
37
|
-
u(e.$$.fragment,
|
|
36
|
+
o(i) {
|
|
37
|
+
u(e.$$.fragment, i), n = !1;
|
|
38
38
|
},
|
|
39
|
-
d(
|
|
40
|
-
|
|
39
|
+
d(i) {
|
|
40
|
+
i && v(r), z(e);
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
function G(
|
|
45
|
-
let
|
|
44
|
+
function G(o) {
|
|
45
|
+
let r, e, a, s;
|
|
46
46
|
e = new E({
|
|
47
|
-
props: { icon:
|
|
48
|
-
}), e.$on("iconLoaded",
|
|
49
|
-
let t =
|
|
47
|
+
props: { icon: o[1], shadow: !0 }
|
|
48
|
+
}), e.$on("iconLoaded", o[9]);
|
|
49
|
+
let t = o[2] && o[0] && y(o);
|
|
50
50
|
return {
|
|
51
51
|
c() {
|
|
52
|
-
|
|
52
|
+
r = g("div"), x(e.$$.fragment), a = k(), t && t.c(), h(r, "class", "wrapper svelte-e58ijk");
|
|
53
53
|
},
|
|
54
|
-
m(n,
|
|
55
|
-
j(n,
|
|
54
|
+
m(n, i) {
|
|
55
|
+
j(n, r, i), b(e, r, null), m(r, a), t && t.m(r, null), s = !0;
|
|
56
56
|
},
|
|
57
|
-
p(n, [
|
|
58
|
-
const
|
|
59
|
-
|
|
57
|
+
p(n, [i]) {
|
|
58
|
+
const l = {};
|
|
59
|
+
i & 2 && (l.icon = n[1]), e.$set(l), n[2] && n[0] ? t ? (t.p(n, i), i & 5 && p(t, 1)) : (t = y(n), t.c(), p(t, 1), t.m(r, null)) : t && (A(), u(t, 1, 1, () => {
|
|
60
60
|
t = null;
|
|
61
61
|
}), C());
|
|
62
62
|
},
|
|
63
63
|
i(n) {
|
|
64
|
-
|
|
64
|
+
s || (p(e.$$.fragment, n), p(t), s = !0);
|
|
65
65
|
},
|
|
66
66
|
o(n) {
|
|
67
|
-
u(e.$$.fragment, n), u(t),
|
|
67
|
+
u(e.$$.fragment, n), u(t), s = !1;
|
|
68
68
|
},
|
|
69
69
|
d(n) {
|
|
70
|
-
n &&
|
|
70
|
+
n && v(r), z(e), t && t.d();
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
function H(
|
|
75
|
-
let
|
|
74
|
+
function H(o, r, e) {
|
|
75
|
+
let a, s, t, n, i, l, d, _, { tag: c } = r;
|
|
76
|
+
I(() => {
|
|
77
|
+
a === !1 && e(0, a = (t == null ? void 0 : t.steps) < 2);
|
|
78
|
+
});
|
|
76
79
|
const L = () => {
|
|
77
|
-
e(
|
|
80
|
+
e(0, a = !0);
|
|
78
81
|
};
|
|
79
|
-
return
|
|
82
|
+
return o.$$set = (f) => {
|
|
80
83
|
"tag" in f && e(3, c = f.tag);
|
|
81
|
-
},
|
|
84
|
+
}, o.$$.update = () => {
|
|
82
85
|
var f, w;
|
|
83
|
-
|
|
84
|
-
}, e(
|
|
85
|
-
_,
|
|
86
|
+
o.$$.dirty & 8 && e(2, s = (f = c.data.title) != null ? f : c.data.text), o.$$.dirty & 8 && e(4, t = (w = c.data.icon) != null ? w : c.style.point), o.$$.dirty & 16 && e(8, n = t.url), o.$$.dirty & 16 && e(7, i = t.steps), o.$$.dirty & 16 && e(6, l = t.fps), o.$$.dirty & 16 && e(5, d = t.ratio), o.$$.dirty & 480 && e(1, _ = { url: n, steps: i, fps: l, ratio: d });
|
|
87
|
+
}, e(0, a = !1), [
|
|
86
88
|
a,
|
|
87
|
-
|
|
89
|
+
_,
|
|
90
|
+
s,
|
|
88
91
|
c,
|
|
92
|
+
t,
|
|
89
93
|
d,
|
|
90
|
-
|
|
91
|
-
|
|
94
|
+
l,
|
|
95
|
+
i,
|
|
92
96
|
n,
|
|
93
|
-
t,
|
|
94
97
|
L
|
|
95
98
|
];
|
|
96
99
|
}
|
|
97
|
-
class
|
|
98
|
-
constructor(
|
|
99
|
-
super(), R(this,
|
|
100
|
+
class V extends D {
|
|
101
|
+
constructor(r) {
|
|
102
|
+
super(), R(this, r, H, G, S, { tag: 3 }, F);
|
|
100
103
|
}
|
|
101
104
|
}
|
|
102
105
|
export {
|
|
103
|
-
|
|
106
|
+
V as default
|
|
104
107
|
};
|
|
@@ -122,7 +122,7 @@ function mA(o) {
|
|
|
122
122
|
gA
|
|
123
123
|
], u = [];
|
|
124
124
|
function C(r, s) {
|
|
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;
|
|
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" || r[1].contentType === "Sticker" ? 5 : r[1].contentType === "MediaPlane" || r[1].contentType === "MediaModel" ? 6 : -1;
|
|
126
126
|
}
|
|
127
127
|
return ~(i = C(o)) && (n = u[i] = a[i](o)), {
|
|
128
128
|
c() {
|
|
@@ -230,7 +230,7 @@ function it(o, e, t) {
|
|
|
230
230
|
"withAnimation" in m && t(0, T = m.withAnimation), "tag" in m && t(1, p = m.tag), "mediaStore" in m && t(2, _ = m.mediaStore), "state" in m && t(3, z = m.state), "temporaryState" in m && t(4, r = m.temporaryState);
|
|
231
231
|
}, o.$$.update = () => {
|
|
232
232
|
var m, b, L, I, q, D, R, V;
|
|
233
|
-
o.$$.dirty & 2 && t(13, i = (() => !(p.contentType === "Link" || p.contentType === "VRLink" || p.contentType === "PanoLink" || p.contentType === "Audio" && p.data.appearance === "plane"))()), o.$$.dirty & 2 && t(12, n = (() => p.stickType === "2DPoint")()), o.$$.dirty & 2 && t(11, l = p.id), o.$$.dirty & 2 && t(10, s = !((m = p.pointTagStyle) != null && m.leftPercent) || !((b = p.pointTagStyle) != null && b.topPercent) || p.enabled === !1 || !p.state), o.$$.dirty & 2 && t(9, u = !((L = p.state) != null && L.visible) || ((I = p.temporaryState) == null ? void 0 : I.visible) === !1), o.$$.dirty & 2 && t(8, w = (q = p.state) == null ? void 0 : q.unfolded), o.$$.dirty & 2 && t(7, f = ((D = p.pointTagStyle) == null ? void 0 : D.leftPercent) + "%"), o.$$.dirty & 2 && t(6, S = ((R = p.pointTagStyle) == null ? void 0 : R.topPercent) + "%"), o.$$.dirty & 2 && t(5, c = (V = p.state) != null && V.unfolded ? 1 : 0);
|
|
233
|
+
o.$$.dirty & 2 && t(13, i = (() => !(p.contentType === "Sticker" || p.contentType === "Link" || p.contentType === "VRLink" || p.contentType === "PanoLink" || p.contentType === "Audio" && p.data.appearance === "plane"))()), o.$$.dirty & 2 && t(12, n = (() => p.stickType === "2DPoint")()), o.$$.dirty & 2 && t(11, l = p.id), o.$$.dirty & 2 && t(10, s = !((m = p.pointTagStyle) != null && m.leftPercent) || !((b = p.pointTagStyle) != null && b.topPercent) || p.enabled === !1 || !p.state), o.$$.dirty & 2 && t(9, u = !((L = p.state) != null && L.visible) || ((I = p.temporaryState) == null ? void 0 : I.visible) === !1), o.$$.dirty & 2 && t(8, w = (q = p.state) == null ? void 0 : q.unfolded), o.$$.dirty & 2 && t(7, f = ((D = p.pointTagStyle) == null ? void 0 : D.leftPercent) + "%"), o.$$.dirty & 2 && t(6, S = ((R = p.pointTagStyle) == null ? void 0 : R.topPercent) + "%"), o.$$.dirty & 2 && t(5, c = (V = p.state) != null && V.unfolded ? 1 : 0);
|
|
234
234
|
}, [
|
|
235
235
|
T,
|
|
236
236
|
p,
|
|
@@ -46,7 +46,7 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
46
46
|
/**
|
|
47
47
|
* @description: 获取merge后的配置
|
|
48
48
|
*/
|
|
49
|
-
getTagConfig(tag: Tag<any, any>): TagConfig<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown", StickType>;
|
|
49
|
+
getTagConfig(tag: Tag<any, any>): TagConfig<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown", StickType>;
|
|
50
50
|
protected can(action: 'show' | 'hide' | 'fold' | 'unfold', tag: Tag<any, any>): boolean;
|
|
51
51
|
protected sort<T extends Tag<any, any>>(tags: T[]): T[];
|
|
52
52
|
/**
|
|
@@ -64,10 +64,10 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
64
64
|
y: number;
|
|
65
65
|
z: number;
|
|
66
66
|
};
|
|
67
|
-
protected filterPointTag(): PointTagElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
68
|
-
protected filter2DPointTag(): Point2DElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
69
|
-
protected filter3DPointTag(): Point3DElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
70
|
-
protected filterModelTag(): ModelElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
67
|
+
protected filterPointTag(): PointTagElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
68
|
+
protected filter2DPointTag(): Point2DElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
69
|
+
protected filter3DPointTag(): Point3DElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
70
|
+
protected filterModelTag(): ModelElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
71
71
|
protected filter3DTag(): TagElement<any, "3DPoint" | "Plane">[];
|
|
72
72
|
protected filterPlaneTag(): PlaneTagElement[];
|
|
73
73
|
protected updateTagConfig(params?: {
|
|
@@ -22,6 +22,8 @@ export declare enum ContentType {
|
|
|
22
22
|
Video = "Video",
|
|
23
23
|
/** VR跳转标签 */
|
|
24
24
|
Link = "Link",
|
|
25
|
+
/** 贴纸标签 */
|
|
26
|
+
Sticker = "Sticker",
|
|
25
27
|
/** VR跳转标签 */
|
|
26
28
|
VRLink = "VRLink",
|
|
27
29
|
/** 全景跳转标签 */
|
|
@@ -102,6 +104,8 @@ interface ContentTypeMapInterface {
|
|
|
102
104
|
};
|
|
103
105
|
/** VR跳转标签 */
|
|
104
106
|
VRLink: ContentTypeMapInterface['Link'];
|
|
107
|
+
/** 贴纸标签 */
|
|
108
|
+
Sticker: ContentTypeMapInterface['Link'];
|
|
105
109
|
/** 全景跳转标签 */
|
|
106
110
|
PanoLink: ContentTypeMapInterface['Link'];
|
|
107
111
|
/** 营销标签 */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var a = /* @__PURE__ */ ((i) => (i.Audio = "Audio", i.Text = "Text", i.ImageText = "ImageText", i.Image = "Image", i.Video = "Video", i.Link = "Link", i.VRLink = "VRLink", i.PanoLink = "PanoLink", i.Marketing = "Marketing", i.MediaPlane = "MediaPlane", i.MediaModel = "MediaModel", i.Custom = "Custom", i.Unknown = "Unknown", i))(a || {});
|
|
1
|
+
var a = /* @__PURE__ */ ((i) => (i.Audio = "Audio", i.Text = "Text", i.ImageText = "ImageText", i.Image = "Image", i.Video = "Video", i.Link = "Link", i.Sticker = "Sticker", i.VRLink = "VRLink", i.PanoLink = "PanoLink", i.Marketing = "Marketing", i.MediaPlane = "MediaPlane", i.MediaModel = "MediaModel", i.Custom = "Custom", i.Unknown = "Unknown", i))(a || {});
|
|
2
2
|
export {
|
|
3
3
|
a as ContentType
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as ie, init as oe, safe_not_equal as ne, append_styles as le, element as I, attr as N, add_render_callback as fe, set_style as
|
|
1
|
+
import { SvelteComponent as ie, init as oe, safe_not_equal as ne, append_styles as le, element as I, attr as N, add_render_callback as fe, set_style as y, insert as b, add_resize_listener as re, noop as V, detach as d, HtmlTag as ae, empty as M, space as ce, text as S, append as q, set_data as U } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
function me(l) {
|
|
3
3
|
le(l, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
|
|
4
4
|
}
|
|
@@ -6,50 +6,50 @@ function se(l) {
|
|
|
6
6
|
let e, o = l[8].outerHTML + "", n;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
e = new
|
|
9
|
+
e = new ae(!1), n = M(), e.a = n;
|
|
10
10
|
},
|
|
11
11
|
m(i, t) {
|
|
12
|
-
e.m(o, i, t),
|
|
12
|
+
e.m(o, i, t), b(i, n, t);
|
|
13
13
|
},
|
|
14
14
|
p(i, t) {
|
|
15
15
|
t & 256 && o !== (o = i[8].outerHTML + "") && e.p(o);
|
|
16
16
|
},
|
|
17
17
|
d(i) {
|
|
18
|
-
i &&
|
|
18
|
+
i && d(n), i && e.d();
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
function ue(l) {
|
|
23
|
-
let e, o, n = l[1] &&
|
|
23
|
+
let e, o, n = l[1] && W(l), i = l[0] && j(l);
|
|
24
24
|
return {
|
|
25
25
|
c() {
|
|
26
|
-
n && n.c(), e =
|
|
26
|
+
n && n.c(), e = ce(), i && i.c(), o = M();
|
|
27
27
|
},
|
|
28
28
|
m(t, f) {
|
|
29
|
-
n && n.m(t, f),
|
|
29
|
+
n && n.m(t, f), b(t, e, f), i && i.m(t, f), b(t, o, f);
|
|
30
30
|
},
|
|
31
31
|
p(t, f) {
|
|
32
|
-
t[1] ? n ? n.p(t, f) : (n =
|
|
32
|
+
t[1] ? n ? n.p(t, f) : (n = W(t), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), t[0] ? i ? i.p(t, f) : (i = j(t), i.c(), i.m(o.parentNode, o)) : i && (i.d(1), i = null);
|
|
33
33
|
},
|
|
34
34
|
d(t) {
|
|
35
|
-
n && n.d(t), t &&
|
|
35
|
+
n && n.d(t), t && d(e), i && i.d(t), t && d(o);
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function W(l) {
|
|
40
40
|
let e, o = l[2].name + "", n;
|
|
41
41
|
return {
|
|
42
42
|
c() {
|
|
43
43
|
e = I("span"), n = S(o), N(e, "class", "floorplan-plugin__room-name");
|
|
44
44
|
},
|
|
45
45
|
m(i, t) {
|
|
46
|
-
|
|
46
|
+
b(i, e, t), q(e, n);
|
|
47
47
|
},
|
|
48
48
|
p(i, t) {
|
|
49
49
|
t & 4 && o !== (o = i[2].name + "") && U(n, o);
|
|
50
50
|
},
|
|
51
51
|
d(i) {
|
|
52
|
-
i &&
|
|
52
|
+
i && d(e);
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
}
|
|
@@ -60,19 +60,19 @@ function j(l) {
|
|
|
60
60
|
e = I("span"), o = S(l[7]), N(e, "class", "floorplan-plugin__room-size svelte-12pzct5");
|
|
61
61
|
},
|
|
62
62
|
m(n, i) {
|
|
63
|
-
|
|
63
|
+
b(n, e, i), q(e, o);
|
|
64
64
|
},
|
|
65
65
|
p(n, i) {
|
|
66
66
|
i & 128 && U(o, n[7]);
|
|
67
67
|
},
|
|
68
68
|
d(n) {
|
|
69
|
-
n &&
|
|
69
|
+
n && d(e);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function be(l) {
|
|
74
74
|
let e, o;
|
|
75
|
-
function n(f,
|
|
75
|
+
function n(f, a) {
|
|
76
76
|
if (f[3] === void 0)
|
|
77
77
|
return ue;
|
|
78
78
|
if (f[8])
|
|
@@ -81,36 +81,36 @@ function de(l) {
|
|
|
81
81
|
let i = n(l), t = i && i(l);
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
84
|
-
e = I("div"), t && t.c(), N(e, "class", "floorplan-plugin__room-label-item svelte-12pzct5"), fe(() => l[19].call(e)),
|
|
84
|
+
e = I("div"), t && t.c(), N(e, "class", "floorplan-plugin__room-label-item svelte-12pzct5"), fe(() => l[19].call(e)), y(e, "left", l[9]), y(e, "top", l[10]), y(e, "font-size", l[11]), y(e, "opacity", l[6] ? "1" : "0");
|
|
85
85
|
},
|
|
86
|
-
m(f,
|
|
87
|
-
|
|
86
|
+
m(f, a) {
|
|
87
|
+
b(f, e, a), t && t.m(e, null), o = re(e, l[19].bind(e));
|
|
88
88
|
},
|
|
89
|
-
p(f, [
|
|
90
|
-
i === (i = n(f)) && t ? t.p(f,
|
|
89
|
+
p(f, [a]) {
|
|
90
|
+
i === (i = n(f)) && t ? t.p(f, a) : (t && t.d(1), t = i && i(f), t && (t.c(), t.m(e, null))), a & 64 && y(e, "opacity", f[6] ? "1" : "0");
|
|
91
91
|
},
|
|
92
|
-
i:
|
|
93
|
-
o:
|
|
92
|
+
i: V,
|
|
93
|
+
o: V,
|
|
94
94
|
d(f) {
|
|
95
|
-
f &&
|
|
95
|
+
f && d(e), t && t.d(), o();
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function de(l, e) {
|
|
100
100
|
const o = l[0], n = l[1];
|
|
101
101
|
let i = !1;
|
|
102
102
|
for (let t = 0, f = e.length - 1; t < e.length; f = t++) {
|
|
103
|
-
const
|
|
104
|
-
m > n != _ > n && o < (
|
|
103
|
+
const a = e[t][0], m = e[t][1], g = e[f][0], _ = e[f][1];
|
|
104
|
+
m > n != _ > n && o < (g - a) * (n - m) / (_ - m) + a && (i = !i);
|
|
105
105
|
}
|
|
106
106
|
return i;
|
|
107
107
|
}
|
|
108
108
|
function _e(l, e, o) {
|
|
109
|
-
let n, i, t, f,
|
|
110
|
-
function X(
|
|
109
|
+
let n, i, t, f, a, { pxmm: m } = e, { roomAreaEnable: g } = e, { roomNameEnable: _ } = e, { room: c } = e, { hoveredRoom: H } = e, { getRoomAreaText: w } = e, { getLabelElement: h } = e, { adaptiveRoomLabelVisibleEnable: A } = e;
|
|
110
|
+
function X(r, s) {
|
|
111
111
|
if (s.width === 0 || s.height === 0)
|
|
112
112
|
return () => !1;
|
|
113
|
-
const K =
|
|
113
|
+
const K = r.path.map(({ x: C, y: u }) => [C, u]), O = r.roomLabel.position, { x: Q, y: Z } = O, { width: x, height: $ } = s, z = x / 2, E = $ / 2;
|
|
114
114
|
return function(u) {
|
|
115
115
|
const L = Q * u, k = Z * u, ee = K.map(([T, te]) => [T * u, te * u]);
|
|
116
116
|
return [
|
|
@@ -118,29 +118,29 @@ function _e(l, e, o) {
|
|
|
118
118
|
[L - z, k - E],
|
|
119
119
|
[L - z, k + E],
|
|
120
120
|
[L + z, k + E]
|
|
121
|
-
].every((T) =>
|
|
121
|
+
].every((T) => de(T, ee));
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
|
-
const Y = document.body.clientWidth, B = document.body.clientHeight, P =
|
|
125
|
-
let
|
|
124
|
+
const Y = document.body.clientWidth, B = document.body.clientHeight, P = c.roomLabel, D = P.positionInImage.x * 100 + "%", F = P.positionInImage.y * 100 + "%", G = (Y < 500 || B < 500 ? 10 : 14) + "px";
|
|
125
|
+
let p = 0, R = 0, v = !1;
|
|
126
126
|
H.subscribe(function(s) {
|
|
127
|
-
o(16, v = !!s && s.id ===
|
|
127
|
+
o(16, v = !!s && s.id === c.id);
|
|
128
128
|
});
|
|
129
129
|
function J() {
|
|
130
|
-
|
|
130
|
+
p = this.clientWidth, R = this.clientHeight, o(4, p), o(5, R);
|
|
131
131
|
}
|
|
132
|
-
return l.$$set = (
|
|
133
|
-
"pxmm" in
|
|
132
|
+
return l.$$set = (r) => {
|
|
133
|
+
"pxmm" in r && o(12, m = r.pxmm), "roomAreaEnable" in r && o(0, g = r.roomAreaEnable), "roomNameEnable" in r && o(1, _ = r.roomNameEnable), "room" in r && o(2, c = r.room), "hoveredRoom" in r && o(13, H = r.hoveredRoom), "getRoomAreaText" in r && o(14, w = r.getRoomAreaText), "getLabelElement" in r && o(3, h = r.getLabelElement), "adaptiveRoomLabelVisibleEnable" in r && o(15, A = r.adaptiveRoomLabelVisibleEnable);
|
|
134
134
|
}, l.$$.update = () => {
|
|
135
|
-
l.$$.dirty &
|
|
135
|
+
l.$$.dirty & 12 && o(8, n = h == null ? void 0 : h(c)), l.$$.dirty & 16388 && o(7, i = c.size ? w(c.size) : ""), l.$$.dirty & 48 && o(18, t = { width: p, height: R }), l.$$.dirty & 262148 && o(17, f = t ? X(c, t) : void 0), l.$$.dirty & 233472 && o(6, a = A ? v ? !0 : !!(f != null && f(m)) : !0);
|
|
136
136
|
}, [
|
|
137
|
-
|
|
137
|
+
g,
|
|
138
138
|
_,
|
|
139
|
-
|
|
139
|
+
c,
|
|
140
140
|
h,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
p,
|
|
142
|
+
R,
|
|
143
|
+
a,
|
|
144
144
|
i,
|
|
145
145
|
n,
|
|
146
146
|
D,
|
|
@@ -162,7 +162,7 @@ class ge extends ie {
|
|
|
162
162
|
this,
|
|
163
163
|
e,
|
|
164
164
|
_e,
|
|
165
|
-
|
|
165
|
+
be,
|
|
166
166
|
ne,
|
|
167
167
|
{
|
|
168
168
|
pxmm: 12,
|
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.8.
|
|
10
|
+
"version": "2.8.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*",
|