@realsee/dnalogel 2.1.0-alpha.11 → 2.1.0-alpha.12
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/CSS3DRenderPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/CameraMovementPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/CameraMovementPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/CruisePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/CruisePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/CruisePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/GuideLinePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/GuideLinePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ItemLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/ModelViewPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/ModelViewPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoCompassPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoCompassPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoRulerPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoRulerPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoTagPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoTagPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/PanoTagPlugin/index.js +700 -309
- package/dist/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +9 -4
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/dist/index.es.js +899 -508
- package/dist/index.js +899 -508
- package/dist/index.umd.js +899 -512
- package/docs/assets/search.js +1 -1
- package/docs/classes/CruisePluginController.html +14 -14
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/classes/Object3DHelperController.html +9 -9
- package/docs/classes/PanoTagPluginController.html +23 -51
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +7 -7
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/DimensionType.html +1 -1
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/LinkType.html +1 -1
- package/docs/enums/PointType.html +1 -1
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +1 -1
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +7 -7
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +6 -6
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +7 -7
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/Object3DHelperState.html +1 -1
- package/docs/interfaces/OpenParameter.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +1 -1
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +5 -5
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/modules.html +21 -21
- package/libs/PanoTagPlugin/Components/Common/Media.js +347 -194
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +216 -0
- package/libs/PanoTagPlugin/Components/Common/Text.js +1 -2
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -0
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +37 -17
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +10 -11
- package/libs/PanoTagPlugin/controller/TagComputer.js +14 -22
- package/libs/PanoTagPlugin/controller/index.d.ts +9 -4
- package/libs/PanoTagPlugin/controller/index.js +50 -23
- package/libs/PanoTagPlugin/mocks/mock1.d.ts +12 -4
- package/libs/PanoTagPlugin/mocks/mock1.js +10 -5
- package/libs/PanoTagPlugin/mocks/mock3.d.ts +11 -3
- package/libs/PanoTagPlugin/mocks/mock3.js +21 -22
- package/libs/PanoTagPlugin/typings/controller.d.ts +3 -0
- package/libs/PanoTagPlugin/typings/tag.d.ts +10 -0
- package/libs/PanoTagPlugin/utils/noTypecheck.d.ts +1 -1
- package/package.json +1 -1
- package/libs/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/libs/CSS3DRenderPlugin/Plugin.js +0 -182
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +0 -18
- package/libs/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/libs/GuideLinePlugin/utils/getLineGeometry.js +0 -64
- package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +0 -159
package/dist/index.es.js
CHANGED
|
@@ -15,6 +15,10 @@ import Hammer from 'hammerjs';
|
|
|
15
15
|
import classNames from 'classnames';
|
|
16
16
|
import objectAssignDeep from 'object-assign-deep';
|
|
17
17
|
import anime from 'animejs';
|
|
18
|
+
import { Swiper, SwiperSlide } from 'swiper/svelte';
|
|
19
|
+
import { Autoplay } from 'swiper';
|
|
20
|
+
import 'swiper/css';
|
|
21
|
+
import 'swiper/css/autoplay';
|
|
18
22
|
|
|
19
23
|
/**
|
|
20
24
|
* Five 模型插件
|
|
@@ -1080,11 +1084,11 @@ const ROOM_LABEL_BG = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAA8CAY
|
|
|
1080
1084
|
|
|
1081
1085
|
/* src/ModelRoomLabelPlugin/RoomLabelItem.svelte generated by Svelte v3.50.1 */
|
|
1082
1086
|
|
|
1083
|
-
function add_css$
|
|
1087
|
+
function add_css$M(target) {
|
|
1084
1088
|
append_styles(target, "svelte-1d7uzh5", ".room-label-item.svelte-1d7uzh5{position:absolute;font-size:0.5rem;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.room-label-item__text.svelte-1d7uzh5{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1d7uzh5{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1d7uzh5{font-size:0.625rem}");
|
|
1085
1089
|
}
|
|
1086
1090
|
|
|
1087
|
-
function create_fragment$
|
|
1091
|
+
function create_fragment$R(ctx) {
|
|
1088
1092
|
let div1;
|
|
1089
1093
|
let span;
|
|
1090
1094
|
let t0_value = /*roomLabel*/ ctx[0].name + "";
|
|
@@ -1151,7 +1155,7 @@ function create_fragment$Q(ctx) {
|
|
|
1151
1155
|
};
|
|
1152
1156
|
}
|
|
1153
1157
|
|
|
1154
|
-
function instance$
|
|
1158
|
+
function instance$R($$self, $$props, $$invalidate) {
|
|
1155
1159
|
let { five } = $$props;
|
|
1156
1160
|
let { roomLabel } = $$props;
|
|
1157
1161
|
|
|
@@ -1174,7 +1178,7 @@ function instance$Q($$self, $$props, $$invalidate) {
|
|
|
1174
1178
|
class RoomLabelItem extends SvelteComponent {
|
|
1175
1179
|
constructor(options) {
|
|
1176
1180
|
super();
|
|
1177
|
-
init(this, options, instance$
|
|
1181
|
+
init(this, options, instance$R, create_fragment$R, safe_not_equal, { five: 2, roomLabel: 0 }, add_css$M);
|
|
1178
1182
|
}
|
|
1179
1183
|
}
|
|
1180
1184
|
|
|
@@ -1182,7 +1186,7 @@ class RoomLabelItem extends SvelteComponent {
|
|
|
1182
1186
|
|
|
1183
1187
|
const { Map: Map_1 } = globals;
|
|
1184
1188
|
|
|
1185
|
-
function add_css$
|
|
1189
|
+
function add_css$L(target) {
|
|
1186
1190
|
append_styles(target, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
|
|
1187
1191
|
}
|
|
1188
1192
|
|
|
@@ -1241,7 +1245,7 @@ function create_each_block$i(key_1, ctx) {
|
|
|
1241
1245
|
};
|
|
1242
1246
|
}
|
|
1243
1247
|
|
|
1244
|
-
function create_fragment$
|
|
1248
|
+
function create_fragment$Q(ctx) {
|
|
1245
1249
|
let div;
|
|
1246
1250
|
let each_blocks = [];
|
|
1247
1251
|
let each_1_lookup = new Map_1();
|
|
@@ -1313,7 +1317,7 @@ function create_fragment$P(ctx) {
|
|
|
1313
1317
|
};
|
|
1314
1318
|
}
|
|
1315
1319
|
|
|
1316
|
-
function instance$
|
|
1320
|
+
function instance$Q($$self, $$props, $$invalidate) {
|
|
1317
1321
|
let rendererSize;
|
|
1318
1322
|
let { five } = $$props;
|
|
1319
1323
|
let { roomLabels } = $$props;
|
|
@@ -1438,7 +1442,7 @@ function instance$P($$self, $$props, $$invalidate) {
|
|
|
1438
1442
|
class RoomLabelItems extends SvelteComponent {
|
|
1439
1443
|
constructor(options) {
|
|
1440
1444
|
super();
|
|
1441
|
-
init(this, options, instance$
|
|
1445
|
+
init(this, options, instance$Q, create_fragment$Q, safe_not_equal, { five: 1, roomLabels: 0 }, add_css$L);
|
|
1442
1446
|
}
|
|
1443
1447
|
}
|
|
1444
1448
|
|
|
@@ -1744,11 +1748,11 @@ function rad2Deg$1(rad) {
|
|
|
1744
1748
|
|
|
1745
1749
|
/* src/floorplan/Components/Camera.svelte generated by Svelte v3.50.1 */
|
|
1746
1750
|
|
|
1747
|
-
function add_css$
|
|
1751
|
+
function add_css$K(target) {
|
|
1748
1752
|
append_styles(target, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
|
|
1749
1753
|
}
|
|
1750
1754
|
|
|
1751
|
-
function create_fragment$
|
|
1755
|
+
function create_fragment$P(ctx) {
|
|
1752
1756
|
let div1;
|
|
1753
1757
|
let div0;
|
|
1754
1758
|
|
|
@@ -1785,7 +1789,7 @@ function create_fragment$O(ctx) {
|
|
|
1785
1789
|
};
|
|
1786
1790
|
}
|
|
1787
1791
|
|
|
1788
|
-
function instance$
|
|
1792
|
+
function instance$P($$self, $$props, $$invalidate) {
|
|
1789
1793
|
let { panoIndex } = $$props;
|
|
1790
1794
|
let { floorplanData } = $$props;
|
|
1791
1795
|
let { lastPanoramaLongitude } = $$props;
|
|
@@ -1831,8 +1835,8 @@ class Camera$1 extends SvelteComponent {
|
|
|
1831
1835
|
init(
|
|
1832
1836
|
this,
|
|
1833
1837
|
options,
|
|
1834
|
-
instance$
|
|
1835
|
-
create_fragment$
|
|
1838
|
+
instance$P,
|
|
1839
|
+
create_fragment$P,
|
|
1836
1840
|
safe_not_equal,
|
|
1837
1841
|
{
|
|
1838
1842
|
panoIndex: 5,
|
|
@@ -1840,7 +1844,7 @@ class Camera$1 extends SvelteComponent {
|
|
|
1840
1844
|
lastPanoramaLongitude: 7,
|
|
1841
1845
|
cameraImageUrl: 0
|
|
1842
1846
|
},
|
|
1843
|
-
add_css$
|
|
1847
|
+
add_css$K
|
|
1844
1848
|
);
|
|
1845
1849
|
}
|
|
1846
1850
|
}
|
|
@@ -1849,12 +1853,12 @@ const COMPASS_IMAGE = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAM
|
|
|
1849
1853
|
|
|
1850
1854
|
/* src/floorplan/Components/Compass.svelte generated by Svelte v3.50.1 */
|
|
1851
1855
|
|
|
1852
|
-
function add_css$
|
|
1856
|
+
function add_css$J(target) {
|
|
1853
1857
|
append_styles(target, "svelte-rpkaro", ".floorplan-plugin__compass.svelte-rpkaro{position:absolute;left:50%;top:-2.875rem;width:14.4375rem;height:2.5625rem;will-change:opacity;transform-origin:center 11.5rem}.floorplan-plugin__compass-image.svelte-rpkaro{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text.svelte-rpkaro{position:absolute;left:50%;top:0.9375rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.625rem;color:#fff}");
|
|
1854
1858
|
}
|
|
1855
1859
|
|
|
1856
1860
|
// (14:0) {#if canCompassShow}
|
|
1857
|
-
function create_if_block$
|
|
1861
|
+
function create_if_block$t(ctx) {
|
|
1858
1862
|
let div1;
|
|
1859
1863
|
let div0;
|
|
1860
1864
|
let t0;
|
|
@@ -1890,9 +1894,9 @@ function create_if_block$s(ctx) {
|
|
|
1890
1894
|
};
|
|
1891
1895
|
}
|
|
1892
1896
|
|
|
1893
|
-
function create_fragment$
|
|
1897
|
+
function create_fragment$O(ctx) {
|
|
1894
1898
|
let if_block_anchor;
|
|
1895
|
-
let if_block = /*canCompassShow*/ ctx[1] && create_if_block$
|
|
1899
|
+
let if_block = /*canCompassShow*/ ctx[1] && create_if_block$t(ctx);
|
|
1896
1900
|
|
|
1897
1901
|
return {
|
|
1898
1902
|
c() {
|
|
@@ -1919,7 +1923,7 @@ function rad2Deg(rad) {
|
|
|
1919
1923
|
return rad / Math.PI * 180;
|
|
1920
1924
|
}
|
|
1921
1925
|
|
|
1922
|
-
function instance$
|
|
1926
|
+
function instance$O($$self, $$props, $$invalidate) {
|
|
1923
1927
|
var _a;
|
|
1924
1928
|
let { floorplanData } = $$props;
|
|
1925
1929
|
let { northDesc } = $$props;
|
|
@@ -1943,17 +1947,17 @@ function instance$N($$self, $$props, $$invalidate) {
|
|
|
1943
1947
|
class Compass extends SvelteComponent {
|
|
1944
1948
|
constructor(options) {
|
|
1945
1949
|
super();
|
|
1946
|
-
init(this, options, instance$
|
|
1950
|
+
init(this, options, instance$O, create_fragment$O, safe_not_equal, { floorplanData: 3, northDesc: 0 }, add_css$J);
|
|
1947
1951
|
}
|
|
1948
1952
|
}
|
|
1949
1953
|
|
|
1950
1954
|
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.50.1 */
|
|
1951
1955
|
|
|
1952
|
-
function add_css$
|
|
1956
|
+
function add_css$I(target) {
|
|
1953
1957
|
append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
1954
1958
|
}
|
|
1955
1959
|
|
|
1956
|
-
function create_fragment$
|
|
1960
|
+
function create_fragment$N(ctx) {
|
|
1957
1961
|
let img;
|
|
1958
1962
|
let img_src_value;
|
|
1959
1963
|
|
|
@@ -1980,7 +1984,7 @@ function create_fragment$M(ctx) {
|
|
|
1980
1984
|
};
|
|
1981
1985
|
}
|
|
1982
1986
|
|
|
1983
|
-
function instance$
|
|
1987
|
+
function instance$N($$self, $$props, $$invalidate) {
|
|
1984
1988
|
let { url } = $$props;
|
|
1985
1989
|
|
|
1986
1990
|
$$self.$$set = $$props => {
|
|
@@ -1993,17 +1997,17 @@ function instance$M($$self, $$props, $$invalidate) {
|
|
|
1993
1997
|
class Normalmage extends SvelteComponent {
|
|
1994
1998
|
constructor(options) {
|
|
1995
1999
|
super();
|
|
1996
|
-
init(this, options, instance$
|
|
2000
|
+
init(this, options, instance$N, create_fragment$N, safe_not_equal, { url: 0 }, add_css$I);
|
|
1997
2001
|
}
|
|
1998
2002
|
}
|
|
1999
2003
|
|
|
2000
2004
|
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.50.1 */
|
|
2001
2005
|
|
|
2002
|
-
function add_css$
|
|
2006
|
+
function add_css$H(target) {
|
|
2003
2007
|
append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
2004
2008
|
}
|
|
2005
2009
|
|
|
2006
|
-
function create_fragment$
|
|
2010
|
+
function create_fragment$M(ctx) {
|
|
2007
2011
|
let div;
|
|
2008
2012
|
let html_tag;
|
|
2009
2013
|
let t;
|
|
@@ -2036,7 +2040,7 @@ function create_fragment$L(ctx) {
|
|
|
2036
2040
|
};
|
|
2037
2041
|
}
|
|
2038
2042
|
|
|
2039
|
-
function instance$
|
|
2043
|
+
function instance$M($$self, $$props, $$invalidate) {
|
|
2040
2044
|
let { content } = $$props;
|
|
2041
2045
|
|
|
2042
2046
|
const svgStyle = `
|
|
@@ -2060,18 +2064,18 @@ function instance$L($$self, $$props, $$invalidate) {
|
|
|
2060
2064
|
class SvgImage extends SvelteComponent {
|
|
2061
2065
|
constructor(options) {
|
|
2062
2066
|
super();
|
|
2063
|
-
init(this, options, instance$
|
|
2067
|
+
init(this, options, instance$M, create_fragment$M, safe_not_equal, { content: 0 }, add_css$H);
|
|
2064
2068
|
}
|
|
2065
2069
|
}
|
|
2066
2070
|
|
|
2067
2071
|
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.50.1 */
|
|
2068
2072
|
|
|
2069
|
-
function add_css$
|
|
2073
|
+
function add_css$G(target) {
|
|
2070
2074
|
append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
2071
2075
|
}
|
|
2072
2076
|
|
|
2073
2077
|
// (13:22)
|
|
2074
|
-
function create_if_block_1$
|
|
2078
|
+
function create_if_block_1$e(ctx) {
|
|
2075
2079
|
let normalimage;
|
|
2076
2080
|
let current;
|
|
2077
2081
|
normalimage = new Normalmage({ props: { url: /*imageData*/ ctx[1].url } });
|
|
@@ -2105,7 +2109,7 @@ function create_if_block_1$d(ctx) {
|
|
|
2105
2109
|
}
|
|
2106
2110
|
|
|
2107
2111
|
// (11:2) {#if svgContent}
|
|
2108
|
-
function create_if_block$
|
|
2112
|
+
function create_if_block$s(ctx) {
|
|
2109
2113
|
let svgimage;
|
|
2110
2114
|
let current;
|
|
2111
2115
|
|
|
@@ -2141,12 +2145,12 @@ function create_if_block$r(ctx) {
|
|
|
2141
2145
|
};
|
|
2142
2146
|
}
|
|
2143
2147
|
|
|
2144
|
-
function create_fragment$
|
|
2148
|
+
function create_fragment$L(ctx) {
|
|
2145
2149
|
let div;
|
|
2146
2150
|
let current_block_type_index;
|
|
2147
2151
|
let if_block;
|
|
2148
2152
|
let current;
|
|
2149
|
-
const if_block_creators = [create_if_block$
|
|
2153
|
+
const if_block_creators = [create_if_block$s, create_if_block_1$e];
|
|
2150
2154
|
const if_blocks = [];
|
|
2151
2155
|
|
|
2152
2156
|
function select_block_type(ctx, dirty) {
|
|
@@ -2229,7 +2233,7 @@ function create_fragment$K(ctx) {
|
|
|
2229
2233
|
};
|
|
2230
2234
|
}
|
|
2231
2235
|
|
|
2232
|
-
function instance$
|
|
2236
|
+
function instance$L($$self, $$props, $$invalidate) {
|
|
2233
2237
|
let imageData;
|
|
2234
2238
|
let svgContent;
|
|
2235
2239
|
var _a, _b;
|
|
@@ -2261,18 +2265,18 @@ function instance$K($$self, $$props, $$invalidate) {
|
|
|
2261
2265
|
class BaseImage extends SvelteComponent {
|
|
2262
2266
|
constructor(options) {
|
|
2263
2267
|
super();
|
|
2264
|
-
init(this, options, instance$
|
|
2268
|
+
init(this, options, instance$L, create_fragment$L, safe_not_equal, { floorIndex: 2, floorplanData: 3 }, add_css$G);
|
|
2265
2269
|
}
|
|
2266
2270
|
}
|
|
2267
2271
|
|
|
2268
2272
|
/* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.50.1 */
|
|
2269
2273
|
|
|
2270
|
-
function add_css$
|
|
2274
|
+
function add_css$F(target) {
|
|
2271
2275
|
append_styles(target, "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}");
|
|
2272
2276
|
}
|
|
2273
2277
|
|
|
2274
2278
|
// (95:30)
|
|
2275
|
-
function create_if_block_1$
|
|
2279
|
+
function create_if_block_1$d(ctx) {
|
|
2276
2280
|
let html_tag;
|
|
2277
2281
|
let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
|
|
2278
2282
|
let html_anchor;
|
|
@@ -2298,7 +2302,7 @@ function create_if_block_1$c(ctx) {
|
|
|
2298
2302
|
}
|
|
2299
2303
|
|
|
2300
2304
|
// (89:2) {#if getLabelElement === undefined}
|
|
2301
|
-
function create_if_block$
|
|
2305
|
+
function create_if_block$r(ctx) {
|
|
2302
2306
|
let span0;
|
|
2303
2307
|
let t0_value = /*room*/ ctx[0].name + "";
|
|
2304
2308
|
let t0;
|
|
@@ -2332,12 +2336,12 @@ function create_if_block$q(ctx) {
|
|
|
2332
2336
|
};
|
|
2333
2337
|
}
|
|
2334
2338
|
|
|
2335
|
-
function create_fragment$
|
|
2339
|
+
function create_fragment$K(ctx) {
|
|
2336
2340
|
let div;
|
|
2337
2341
|
|
|
2338
2342
|
function select_block_type(ctx, dirty) {
|
|
2339
|
-
if (/*getLabelElement*/ ctx[1] === undefined) return create_if_block$
|
|
2340
|
-
if (/*userConfigElement*/ ctx[4]) return create_if_block_1$
|
|
2343
|
+
if (/*getLabelElement*/ ctx[1] === undefined) return create_if_block$r;
|
|
2344
|
+
if (/*userConfigElement*/ ctx[4]) return create_if_block_1$d;
|
|
2341
2345
|
}
|
|
2342
2346
|
|
|
2343
2347
|
let current_block_type = select_block_type(ctx);
|
|
@@ -2406,7 +2410,7 @@ function isPointInPolygon(point, polygon) {
|
|
|
2406
2410
|
return inside;
|
|
2407
2411
|
}
|
|
2408
2412
|
|
|
2409
|
-
function instance$
|
|
2413
|
+
function instance$K($$self, $$props, $$invalidate) {
|
|
2410
2414
|
let isLabelInRoom;
|
|
2411
2415
|
let userConfigElement;
|
|
2412
2416
|
let labelVisible;
|
|
@@ -2550,8 +2554,8 @@ class RoomLabel extends SvelteComponent {
|
|
|
2550
2554
|
init(
|
|
2551
2555
|
this,
|
|
2552
2556
|
options,
|
|
2553
|
-
instance$
|
|
2554
|
-
create_fragment$
|
|
2557
|
+
instance$K,
|
|
2558
|
+
create_fragment$K,
|
|
2555
2559
|
safe_not_equal,
|
|
2556
2560
|
{
|
|
2557
2561
|
pxmm: 9,
|
|
@@ -2560,14 +2564,14 @@ class RoomLabel extends SvelteComponent {
|
|
|
2560
2564
|
getLabelElement: 1,
|
|
2561
2565
|
adaptiveRoomLabelVisibleEnable: 11
|
|
2562
2566
|
},
|
|
2563
|
-
add_css$
|
|
2567
|
+
add_css$F
|
|
2564
2568
|
);
|
|
2565
2569
|
}
|
|
2566
2570
|
}
|
|
2567
2571
|
|
|
2568
2572
|
/* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.50.1 */
|
|
2569
2573
|
|
|
2570
|
-
function add_css$
|
|
2574
|
+
function add_css$E(target) {
|
|
2571
2575
|
append_styles(target, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
|
|
2572
2576
|
}
|
|
2573
2577
|
|
|
@@ -2578,7 +2582,7 @@ function get_each_context$h(ctx, list, i) {
|
|
|
2578
2582
|
}
|
|
2579
2583
|
|
|
2580
2584
|
// (17:0) {#if rooms}
|
|
2581
|
-
function create_if_block$
|
|
2585
|
+
function create_if_block$q(ctx) {
|
|
2582
2586
|
let div;
|
|
2583
2587
|
let each_blocks = [];
|
|
2584
2588
|
let each_1_lookup = new Map();
|
|
@@ -2720,10 +2724,10 @@ function create_each_block$h(key_1, ctx) {
|
|
|
2720
2724
|
};
|
|
2721
2725
|
}
|
|
2722
2726
|
|
|
2723
|
-
function create_fragment$
|
|
2727
|
+
function create_fragment$J(ctx) {
|
|
2724
2728
|
let if_block_anchor;
|
|
2725
2729
|
let current;
|
|
2726
|
-
let if_block = /*rooms*/ ctx[5] && create_if_block$
|
|
2730
|
+
let if_block = /*rooms*/ ctx[5] && create_if_block$q(ctx);
|
|
2727
2731
|
|
|
2728
2732
|
return {
|
|
2729
2733
|
c() {
|
|
@@ -2744,7 +2748,7 @@ function create_fragment$I(ctx) {
|
|
|
2744
2748
|
transition_in(if_block, 1);
|
|
2745
2749
|
}
|
|
2746
2750
|
} else {
|
|
2747
|
-
if_block = create_if_block$
|
|
2751
|
+
if_block = create_if_block$q(ctx);
|
|
2748
2752
|
if_block.c();
|
|
2749
2753
|
transition_in(if_block, 1);
|
|
2750
2754
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -2775,7 +2779,7 @@ function create_fragment$I(ctx) {
|
|
|
2775
2779
|
};
|
|
2776
2780
|
}
|
|
2777
2781
|
|
|
2778
|
-
function instance$
|
|
2782
|
+
function instance$J($$self, $$props, $$invalidate) {
|
|
2779
2783
|
let rooms;
|
|
2780
2784
|
let { floorIndex } = $$props;
|
|
2781
2785
|
let { floorplanData } = $$props;
|
|
@@ -2832,8 +2836,8 @@ class RoomLabels extends SvelteComponent {
|
|
|
2832
2836
|
init(
|
|
2833
2837
|
this,
|
|
2834
2838
|
options,
|
|
2835
|
-
instance$
|
|
2836
|
-
create_fragment$
|
|
2839
|
+
instance$J,
|
|
2840
|
+
create_fragment$J,
|
|
2837
2841
|
safe_not_equal,
|
|
2838
2842
|
{
|
|
2839
2843
|
floorIndex: 6,
|
|
@@ -2842,14 +2846,14 @@ class RoomLabels extends SvelteComponent {
|
|
|
2842
2846
|
getLabelElement: 1,
|
|
2843
2847
|
adaptiveRoomLabelVisibleEnable: 2
|
|
2844
2848
|
},
|
|
2845
|
-
add_css$
|
|
2849
|
+
add_css$E
|
|
2846
2850
|
);
|
|
2847
2851
|
}
|
|
2848
2852
|
}
|
|
2849
2853
|
|
|
2850
2854
|
/* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.50.1 */
|
|
2851
2855
|
|
|
2852
|
-
function add_css$
|
|
2856
|
+
function add_css$D(target) {
|
|
2853
2857
|
append_styles(target, "svelte-xt7p1v", ".floorplan-plugin__rule-labels.svelte-xt7p1v.svelte-xt7p1v{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-xt7p1v.svelte-xt7p1v{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v.svelte-xt7p1v{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v.svelte-xt7p1v{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v.svelte-xt7p1v{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-xt7p1v.svelte-xt7p1v{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale-wrapper.svelte-xt7p1v{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-xt7p1v.svelte-xt7p1v{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-scale.svelte-xt7p1v{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-xt7p1v.svelte-xt7p1v{position:absolute}.floorplan-plugin__rule-labels--top.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-xt7p1v .floorplan-plugin__rule-text-wrapper.svelte-xt7p1v{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-xt7p1v.svelte-xt7p1v{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-xt7p1v .floorplan-plugin__rule-text-item.svelte-xt7p1v{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-xt7p1v.svelte-xt7p1v{width:-webkit-max-content;width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
|
|
2854
2858
|
}
|
|
2855
2859
|
|
|
@@ -2925,7 +2929,7 @@ function create_each_block$g(key_1, ctx) {
|
|
|
2925
2929
|
};
|
|
2926
2930
|
}
|
|
2927
2931
|
|
|
2928
|
-
function create_fragment$
|
|
2932
|
+
function create_fragment$I(ctx) {
|
|
2929
2933
|
let div3;
|
|
2930
2934
|
let div0;
|
|
2931
2935
|
let t0;
|
|
@@ -3048,7 +3052,7 @@ function create_fragment$H(ctx) {
|
|
|
3048
3052
|
const padding$1 = 1000;
|
|
3049
3053
|
const exteriorWallOffset$1 = 180;
|
|
3050
3054
|
|
|
3051
|
-
function instance$
|
|
3055
|
+
function instance$I($$self, $$props, $$invalidate) {
|
|
3052
3056
|
let { type } = $$props;
|
|
3053
3057
|
let { data } = $$props;
|
|
3054
3058
|
let { bounding } = $$props;
|
|
@@ -3107,13 +3111,13 @@ function instance$H($$self, $$props, $$invalidate) {
|
|
|
3107
3111
|
class RuleItem extends SvelteComponent {
|
|
3108
3112
|
constructor(options) {
|
|
3109
3113
|
super();
|
|
3110
|
-
init(this, options, instance$
|
|
3114
|
+
init(this, options, instance$I, create_fragment$I, safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css$D);
|
|
3111
3115
|
}
|
|
3112
3116
|
}
|
|
3113
3117
|
|
|
3114
3118
|
/* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.50.1 */
|
|
3115
3119
|
|
|
3116
|
-
function add_css$
|
|
3120
|
+
function add_css$C(target) {
|
|
3117
3121
|
append_styles(target, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
|
|
3118
3122
|
}
|
|
3119
3123
|
|
|
@@ -3190,7 +3194,7 @@ function create_each_block$f(key_1, ctx) {
|
|
|
3190
3194
|
};
|
|
3191
3195
|
}
|
|
3192
3196
|
|
|
3193
|
-
function create_fragment$
|
|
3197
|
+
function create_fragment$H(ctx) {
|
|
3194
3198
|
let div;
|
|
3195
3199
|
let each_blocks = [];
|
|
3196
3200
|
let each_1_lookup = new Map();
|
|
@@ -3270,7 +3274,7 @@ function create_fragment$G(ctx) {
|
|
|
3270
3274
|
const padding = 1000;
|
|
3271
3275
|
const exteriorWallOffset = 180;
|
|
3272
3276
|
|
|
3273
|
-
function instance$
|
|
3277
|
+
function instance$H($$self, $$props, $$invalidate) {
|
|
3274
3278
|
let bounding;
|
|
3275
3279
|
let ruleLabelData;
|
|
3276
3280
|
let ruleLabelDataKeys;
|
|
@@ -3350,7 +3354,7 @@ function instance$G($$self, $$props, $$invalidate) {
|
|
|
3350
3354
|
class RuleLabels extends SvelteComponent {
|
|
3351
3355
|
constructor(options) {
|
|
3352
3356
|
super();
|
|
3353
|
-
init(this, options, instance$
|
|
3357
|
+
init(this, options, instance$H, create_fragment$H, safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css$C);
|
|
3354
3358
|
}
|
|
3355
3359
|
}
|
|
3356
3360
|
|
|
@@ -3407,7 +3411,7 @@ function getFloorIndexFromModelPosition(position, five) {
|
|
|
3407
3411
|
|
|
3408
3412
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.50.1 */
|
|
3409
3413
|
|
|
3410
|
-
function create_fragment$
|
|
3414
|
+
function create_fragment$G(ctx) {
|
|
3411
3415
|
let path_1;
|
|
3412
3416
|
|
|
3413
3417
|
return {
|
|
@@ -3432,7 +3436,7 @@ function create_fragment$F(ctx) {
|
|
|
3432
3436
|
};
|
|
3433
3437
|
}
|
|
3434
3438
|
|
|
3435
|
-
function instance$
|
|
3439
|
+
function instance$G($$self, $$props, $$invalidate) {
|
|
3436
3440
|
let d;
|
|
3437
3441
|
let { path } = $$props;
|
|
3438
3442
|
|
|
@@ -3452,13 +3456,13 @@ function instance$F($$self, $$props, $$invalidate) {
|
|
|
3452
3456
|
class RoomMaterial_0 extends SvelteComponent {
|
|
3453
3457
|
constructor(options) {
|
|
3454
3458
|
super();
|
|
3455
|
-
init(this, options, instance$
|
|
3459
|
+
init(this, options, instance$G, create_fragment$G, safe_not_equal, { path: 1 });
|
|
3456
3460
|
}
|
|
3457
3461
|
}
|
|
3458
3462
|
|
|
3459
3463
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.50.1 */
|
|
3460
3464
|
|
|
3461
|
-
function create_fragment$
|
|
3465
|
+
function create_fragment$F(ctx) {
|
|
3462
3466
|
let defs;
|
|
3463
3467
|
let pattern;
|
|
3464
3468
|
let rect;
|
|
@@ -3519,7 +3523,7 @@ function create_fragment$E(ctx) {
|
|
|
3519
3523
|
|
|
3520
3524
|
const halfWidth = 6;
|
|
3521
3525
|
|
|
3522
|
-
function instance$
|
|
3526
|
+
function instance$F($$self, $$props, $$invalidate) {
|
|
3523
3527
|
let d;
|
|
3524
3528
|
let { path } = $$props;
|
|
3525
3529
|
const width = halfWidth * 2;
|
|
@@ -3541,13 +3545,13 @@ function instance$E($$self, $$props, $$invalidate) {
|
|
|
3541
3545
|
class RoomMaterial_1 extends SvelteComponent {
|
|
3542
3546
|
constructor(options) {
|
|
3543
3547
|
super();
|
|
3544
|
-
init(this, options, instance$
|
|
3548
|
+
init(this, options, instance$F, create_fragment$F, safe_not_equal, { path: 3 });
|
|
3545
3549
|
}
|
|
3546
3550
|
}
|
|
3547
3551
|
|
|
3548
3552
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.50.1 */
|
|
3549
3553
|
|
|
3550
|
-
function create_fragment$
|
|
3554
|
+
function create_fragment$E(ctx) {
|
|
3551
3555
|
let defs;
|
|
3552
3556
|
let pattern0;
|
|
3553
3557
|
let rect0;
|
|
@@ -3648,7 +3652,7 @@ function create_fragment$D(ctx) {
|
|
|
3648
3652
|
};
|
|
3649
3653
|
}
|
|
3650
3654
|
|
|
3651
|
-
function instance$
|
|
3655
|
+
function instance$E($$self, $$props, $$invalidate) {
|
|
3652
3656
|
let d;
|
|
3653
3657
|
let { path } = $$props;
|
|
3654
3658
|
|
|
@@ -3668,13 +3672,13 @@ function instance$D($$self, $$props, $$invalidate) {
|
|
|
3668
3672
|
class RoomMaterial_2 extends SvelteComponent {
|
|
3669
3673
|
constructor(options) {
|
|
3670
3674
|
super();
|
|
3671
|
-
init(this, options, instance$
|
|
3675
|
+
init(this, options, instance$E, create_fragment$E, safe_not_equal, { path: 1 });
|
|
3672
3676
|
}
|
|
3673
3677
|
}
|
|
3674
3678
|
|
|
3675
3679
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.50.1 */
|
|
3676
3680
|
|
|
3677
|
-
function add_css$
|
|
3681
|
+
function add_css$B(target) {
|
|
3678
3682
|
append_styles(target, "svelte-1dykexu", ".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}");
|
|
3679
3683
|
}
|
|
3680
3684
|
|
|
@@ -3685,7 +3689,7 @@ function get_each_context$e(ctx, list, i) {
|
|
|
3685
3689
|
}
|
|
3686
3690
|
|
|
3687
3691
|
// (19:6) {:else}
|
|
3688
|
-
function create_else_block$
|
|
3692
|
+
function create_else_block$4(ctx) {
|
|
3689
3693
|
let roommaterial_1;
|
|
3690
3694
|
let current;
|
|
3691
3695
|
roommaterial_1 = new RoomMaterial_1({ props: { path: /*room*/ ctx[5].path } });
|
|
@@ -3719,7 +3723,7 @@ function create_else_block$3(ctx) {
|
|
|
3719
3723
|
}
|
|
3720
3724
|
|
|
3721
3725
|
// (17:37)
|
|
3722
|
-
function create_if_block_1$
|
|
3726
|
+
function create_if_block_1$c(ctx) {
|
|
3723
3727
|
let roommaterial_2;
|
|
3724
3728
|
let current;
|
|
3725
3729
|
roommaterial_2 = new RoomMaterial_2({ props: { path: /*room*/ ctx[5].path } });
|
|
@@ -3753,7 +3757,7 @@ function create_if_block_1$b(ctx) {
|
|
|
3753
3757
|
}
|
|
3754
3758
|
|
|
3755
3759
|
// (15:6) {#if room.floorType === 1}
|
|
3756
|
-
function create_if_block$
|
|
3760
|
+
function create_if_block$p(ctx) {
|
|
3757
3761
|
let roommaterial_0;
|
|
3758
3762
|
let current;
|
|
3759
3763
|
roommaterial_0 = new RoomMaterial_0({ props: { path: /*room*/ ctx[5].path } });
|
|
@@ -3792,7 +3796,7 @@ function create_each_block$e(ctx) {
|
|
|
3792
3796
|
let current_block_type_index;
|
|
3793
3797
|
let if_block;
|
|
3794
3798
|
let current;
|
|
3795
|
-
const if_block_creators = [create_if_block$
|
|
3799
|
+
const if_block_creators = [create_if_block$p, create_if_block_1$c, create_else_block$4];
|
|
3796
3800
|
const if_blocks = [];
|
|
3797
3801
|
|
|
3798
3802
|
function select_block_type(ctx, dirty) {
|
|
@@ -3861,7 +3865,7 @@ function create_each_block$e(ctx) {
|
|
|
3861
3865
|
};
|
|
3862
3866
|
}
|
|
3863
3867
|
|
|
3864
|
-
function create_fragment$
|
|
3868
|
+
function create_fragment$D(ctx) {
|
|
3865
3869
|
let div;
|
|
3866
3870
|
let current;
|
|
3867
3871
|
let each_value = /*rooms*/ ctx[0];
|
|
@@ -3947,7 +3951,7 @@ function create_fragment$C(ctx) {
|
|
|
3947
3951
|
};
|
|
3948
3952
|
}
|
|
3949
3953
|
|
|
3950
|
-
function instance$
|
|
3954
|
+
function instance$D($$self, $$props, $$invalidate) {
|
|
3951
3955
|
let rooms;
|
|
3952
3956
|
let { floorIndex } = $$props;
|
|
3953
3957
|
let { floorplanData } = $$props;
|
|
@@ -3973,17 +3977,17 @@ function instance$C($$self, $$props, $$invalidate) {
|
|
|
3973
3977
|
class RoomMaterial extends SvelteComponent {
|
|
3974
3978
|
constructor(options) {
|
|
3975
3979
|
super();
|
|
3976
|
-
init(this, options, instance$
|
|
3980
|
+
init(this, options, instance$D, create_fragment$D, safe_not_equal, { floorIndex: 3, floorplanData: 4 }, add_css$B);
|
|
3977
3981
|
}
|
|
3978
3982
|
}
|
|
3979
3983
|
|
|
3980
3984
|
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.50.1 */
|
|
3981
3985
|
|
|
3982
|
-
function add_css$
|
|
3986
|
+
function add_css$A(target) {
|
|
3983
3987
|
append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
3984
3988
|
}
|
|
3985
3989
|
|
|
3986
|
-
function create_fragment$
|
|
3990
|
+
function create_fragment$C(ctx) {
|
|
3987
3991
|
let path;
|
|
3988
3992
|
let mounted;
|
|
3989
3993
|
let dispose;
|
|
@@ -4018,7 +4022,7 @@ function create_fragment$B(ctx) {
|
|
|
4018
4022
|
};
|
|
4019
4023
|
}
|
|
4020
4024
|
|
|
4021
|
-
function instance$
|
|
4025
|
+
function instance$C($$self, $$props, $$invalidate) {
|
|
4022
4026
|
let { room } = $$props;
|
|
4023
4027
|
let { floorplanData } = $$props;
|
|
4024
4028
|
let { hoveredRoom } = $$props;
|
|
@@ -4054,22 +4058,22 @@ class Room extends SvelteComponent {
|
|
|
4054
4058
|
init(
|
|
4055
4059
|
this,
|
|
4056
4060
|
options,
|
|
4057
|
-
instance$
|
|
4058
|
-
create_fragment$
|
|
4061
|
+
instance$C,
|
|
4062
|
+
create_fragment$C,
|
|
4059
4063
|
safe_not_equal,
|
|
4060
4064
|
{
|
|
4061
4065
|
room: 3,
|
|
4062
4066
|
floorplanData: 4,
|
|
4063
4067
|
hoveredRoom: 5
|
|
4064
4068
|
},
|
|
4065
|
-
add_css$
|
|
4069
|
+
add_css$A
|
|
4066
4070
|
);
|
|
4067
4071
|
}
|
|
4068
4072
|
}
|
|
4069
4073
|
|
|
4070
4074
|
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.50.1 */
|
|
4071
4075
|
|
|
4072
|
-
function add_css$
|
|
4076
|
+
function add_css$z(target) {
|
|
4073
4077
|
append_styles(target, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
|
|
4074
4078
|
}
|
|
4075
4079
|
|
|
@@ -4145,7 +4149,7 @@ function create_each_block$d(key_1, ctx) {
|
|
|
4145
4149
|
};
|
|
4146
4150
|
}
|
|
4147
4151
|
|
|
4148
|
-
function create_fragment$
|
|
4152
|
+
function create_fragment$B(ctx) {
|
|
4149
4153
|
let div;
|
|
4150
4154
|
let svg;
|
|
4151
4155
|
let each_blocks = [];
|
|
@@ -4219,7 +4223,7 @@ function create_fragment$A(ctx) {
|
|
|
4219
4223
|
};
|
|
4220
4224
|
}
|
|
4221
4225
|
|
|
4222
|
-
function instance$
|
|
4226
|
+
function instance$B($$self, $$props, $$invalidate) {
|
|
4223
4227
|
let { floorIndex } = $$props;
|
|
4224
4228
|
let { floorplanData } = $$props;
|
|
4225
4229
|
let { hoveredRoom } = $$props;
|
|
@@ -4242,22 +4246,22 @@ class RoomHighlight extends SvelteComponent {
|
|
|
4242
4246
|
init(
|
|
4243
4247
|
this,
|
|
4244
4248
|
options,
|
|
4245
|
-
instance$
|
|
4246
|
-
create_fragment$
|
|
4249
|
+
instance$B,
|
|
4250
|
+
create_fragment$B,
|
|
4247
4251
|
safe_not_equal,
|
|
4248
4252
|
{
|
|
4249
4253
|
floorIndex: 0,
|
|
4250
4254
|
floorplanData: 1,
|
|
4251
4255
|
hoveredRoom: 2
|
|
4252
4256
|
},
|
|
4253
|
-
add_css$
|
|
4257
|
+
add_css$z
|
|
4254
4258
|
);
|
|
4255
4259
|
}
|
|
4256
4260
|
}
|
|
4257
4261
|
|
|
4258
4262
|
/* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.50.1 */
|
|
4259
4263
|
|
|
4260
|
-
function add_css$
|
|
4264
|
+
function add_css$y(target) {
|
|
4261
4265
|
append_styles(target, "svelte-bl8zrz", ".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}");
|
|
4262
4266
|
}
|
|
4263
4267
|
|
|
@@ -4319,7 +4323,7 @@ function create_if_block_2$4(ctx) {
|
|
|
4319
4323
|
}
|
|
4320
4324
|
|
|
4321
4325
|
// (24:2) {#if roomLabelsEnable}
|
|
4322
|
-
function create_if_block_1$
|
|
4326
|
+
function create_if_block_1$b(ctx) {
|
|
4323
4327
|
let roomlabels;
|
|
4324
4328
|
let current;
|
|
4325
4329
|
|
|
@@ -4380,7 +4384,7 @@ function create_if_block_1$a(ctx) {
|
|
|
4380
4384
|
}
|
|
4381
4385
|
|
|
4382
4386
|
// (27:2) {#if ruleLabelsEnable}
|
|
4383
|
-
function create_if_block$
|
|
4387
|
+
function create_if_block$o(ctx) {
|
|
4384
4388
|
let rulelabels;
|
|
4385
4389
|
let current;
|
|
4386
4390
|
|
|
@@ -4434,7 +4438,7 @@ function create_if_block$n(ctx) {
|
|
|
4434
4438
|
};
|
|
4435
4439
|
}
|
|
4436
4440
|
|
|
4437
|
-
function create_fragment$
|
|
4441
|
+
function create_fragment$A(ctx) {
|
|
4438
4442
|
let div;
|
|
4439
4443
|
let roommaterial;
|
|
4440
4444
|
let t0;
|
|
@@ -4475,8 +4479,8 @@ function create_fragment$z(ctx) {
|
|
|
4475
4479
|
}
|
|
4476
4480
|
|
|
4477
4481
|
baseimage = new BaseImage({ props: baseimage_props });
|
|
4478
|
-
let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$
|
|
4479
|
-
let if_block2 = /*ruleLabelsEnable*/ ctx[4] && create_if_block$
|
|
4482
|
+
let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$b(ctx);
|
|
4483
|
+
let if_block2 = /*ruleLabelsEnable*/ ctx[4] && create_if_block$o(ctx);
|
|
4480
4484
|
|
|
4481
4485
|
return {
|
|
4482
4486
|
c() {
|
|
@@ -4562,7 +4566,7 @@ function create_fragment$z(ctx) {
|
|
|
4562
4566
|
transition_in(if_block1, 1);
|
|
4563
4567
|
}
|
|
4564
4568
|
} else {
|
|
4565
|
-
if_block1 = create_if_block_1$
|
|
4569
|
+
if_block1 = create_if_block_1$b(ctx);
|
|
4566
4570
|
if_block1.c();
|
|
4567
4571
|
transition_in(if_block1, 1);
|
|
4568
4572
|
if_block1.m(div, t3);
|
|
@@ -4585,7 +4589,7 @@ function create_fragment$z(ctx) {
|
|
|
4585
4589
|
transition_in(if_block2, 1);
|
|
4586
4590
|
}
|
|
4587
4591
|
} else {
|
|
4588
|
-
if_block2 = create_if_block$
|
|
4592
|
+
if_block2 = create_if_block$o(ctx);
|
|
4589
4593
|
if_block2.c();
|
|
4590
4594
|
transition_in(if_block2, 1);
|
|
4591
4595
|
if_block2.m(div, null);
|
|
@@ -4634,7 +4638,7 @@ function create_fragment$z(ctx) {
|
|
|
4634
4638
|
};
|
|
4635
4639
|
}
|
|
4636
4640
|
|
|
4637
|
-
function instance$
|
|
4641
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
4638
4642
|
let { isCurrent } = $$props;
|
|
4639
4643
|
let { floorIndex } = $$props;
|
|
4640
4644
|
let { hoverEnable } = $$props;
|
|
@@ -4676,8 +4680,8 @@ class CurrentFloor$1 extends SvelteComponent {
|
|
|
4676
4680
|
init(
|
|
4677
4681
|
this,
|
|
4678
4682
|
options,
|
|
4679
|
-
instance$
|
|
4680
|
-
create_fragment$
|
|
4683
|
+
instance$A,
|
|
4684
|
+
create_fragment$A,
|
|
4681
4685
|
safe_not_equal,
|
|
4682
4686
|
{
|
|
4683
4687
|
isCurrent: 0,
|
|
@@ -4689,14 +4693,14 @@ class CurrentFloor$1 extends SvelteComponent {
|
|
|
4689
4693
|
getLabelElement: 6,
|
|
4690
4694
|
adaptiveRoomLabelVisibleEnable: 7
|
|
4691
4695
|
},
|
|
4692
|
-
add_css$
|
|
4696
|
+
add_css$y
|
|
4693
4697
|
);
|
|
4694
4698
|
}
|
|
4695
4699
|
}
|
|
4696
4700
|
|
|
4697
4701
|
/* src/floorplan/Components/Main.svelte generated by Svelte v3.50.1 */
|
|
4698
4702
|
|
|
4699
|
-
function add_css$
|
|
4703
|
+
function add_css$x(target) {
|
|
4700
4704
|
append_styles(target, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
|
|
4701
4705
|
}
|
|
4702
4706
|
|
|
@@ -4707,7 +4711,7 @@ function get_each_context$c(ctx, list, i) {
|
|
|
4707
4711
|
}
|
|
4708
4712
|
|
|
4709
4713
|
// (22:0) {#if visible}
|
|
4710
|
-
function create_if_block$
|
|
4714
|
+
function create_if_block$n(ctx) {
|
|
4711
4715
|
let div;
|
|
4712
4716
|
let t0;
|
|
4713
4717
|
let camera;
|
|
@@ -4741,7 +4745,7 @@ function create_if_block$m(ctx) {
|
|
|
4741
4745
|
}
|
|
4742
4746
|
|
|
4743
4747
|
camera = new Camera$1({ props: camera_props });
|
|
4744
|
-
let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$
|
|
4748
|
+
let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$a(ctx);
|
|
4745
4749
|
|
|
4746
4750
|
return {
|
|
4747
4751
|
c() {
|
|
@@ -4821,7 +4825,7 @@ function create_if_block$m(ctx) {
|
|
|
4821
4825
|
transition_in(if_block, 1);
|
|
4822
4826
|
}
|
|
4823
4827
|
} else {
|
|
4824
|
-
if_block = create_if_block_1$
|
|
4828
|
+
if_block = create_if_block_1$a(ctx);
|
|
4825
4829
|
if_block.c();
|
|
4826
4830
|
transition_in(if_block, 1);
|
|
4827
4831
|
if_block.m(div, null);
|
|
@@ -4955,7 +4959,7 @@ function create_each_block$c(ctx) {
|
|
|
4955
4959
|
}
|
|
4956
4960
|
|
|
4957
4961
|
// (39:4) {#if compassEnable}
|
|
4958
|
-
function create_if_block_1$
|
|
4962
|
+
function create_if_block_1$a(ctx) {
|
|
4959
4963
|
let compass;
|
|
4960
4964
|
let current;
|
|
4961
4965
|
|
|
@@ -4995,10 +4999,10 @@ function create_if_block_1$9(ctx) {
|
|
|
4995
4999
|
};
|
|
4996
5000
|
}
|
|
4997
5001
|
|
|
4998
|
-
function create_fragment$
|
|
5002
|
+
function create_fragment$z(ctx) {
|
|
4999
5003
|
let if_block_anchor;
|
|
5000
5004
|
let current;
|
|
5001
|
-
let if_block = /*visible*/ ctx[1] && create_if_block$
|
|
5005
|
+
let if_block = /*visible*/ ctx[1] && create_if_block$n(ctx);
|
|
5002
5006
|
|
|
5003
5007
|
return {
|
|
5004
5008
|
c() {
|
|
@@ -5019,7 +5023,7 @@ function create_fragment$y(ctx) {
|
|
|
5019
5023
|
transition_in(if_block, 1);
|
|
5020
5024
|
}
|
|
5021
5025
|
} else {
|
|
5022
|
-
if_block = create_if_block$
|
|
5026
|
+
if_block = create_if_block$n(ctx);
|
|
5023
5027
|
if_block.c();
|
|
5024
5028
|
transition_in(if_block, 1);
|
|
5025
5029
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5050,7 +5054,7 @@ function create_fragment$y(ctx) {
|
|
|
5050
5054
|
};
|
|
5051
5055
|
}
|
|
5052
5056
|
|
|
5053
|
-
function instance$
|
|
5057
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
5054
5058
|
let { duration = 0 } = $$props;
|
|
5055
5059
|
let { visible } = $$props;
|
|
5056
5060
|
let { northDesc } = $$props;
|
|
@@ -5108,8 +5112,8 @@ class Main$1 extends SvelteComponent {
|
|
|
5108
5112
|
init(
|
|
5109
5113
|
this,
|
|
5110
5114
|
options,
|
|
5111
|
-
instance$
|
|
5112
|
-
create_fragment$
|
|
5115
|
+
instance$z,
|
|
5116
|
+
create_fragment$z,
|
|
5113
5117
|
safe_not_equal,
|
|
5114
5118
|
{
|
|
5115
5119
|
duration: 0,
|
|
@@ -5127,7 +5131,7 @@ class Main$1 extends SvelteComponent {
|
|
|
5127
5131
|
getLabelElement: 12,
|
|
5128
5132
|
adaptiveRoomLabelVisibleEnable: 13
|
|
5129
5133
|
},
|
|
5130
|
-
add_css$
|
|
5134
|
+
add_css$x
|
|
5131
5135
|
);
|
|
5132
5136
|
}
|
|
5133
5137
|
}
|
|
@@ -7323,11 +7327,11 @@ function throttle$1(func, wait = 200) {
|
|
|
7323
7327
|
|
|
7324
7328
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.50.1 */
|
|
7325
7329
|
|
|
7326
|
-
function add_css$
|
|
7330
|
+
function add_css$w(target) {
|
|
7327
7331
|
append_styles(target, "svelte-1nqrlxd", ".plugin-radar__camera-wrapper.svelte-1nqrlxd{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1nqrlxd{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1nqrlxd{position:absolute;left:-0.9375rem;top:-0.9375rem;width:1.0625rem;height:1.0625rem;transform-origin:0.9375rem 0.9375rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}");
|
|
7328
7332
|
}
|
|
7329
7333
|
|
|
7330
|
-
function create_fragment$
|
|
7334
|
+
function create_fragment$y(ctx) {
|
|
7331
7335
|
let div2;
|
|
7332
7336
|
let div1;
|
|
7333
7337
|
let div0;
|
|
@@ -7377,7 +7381,7 @@ function getCameraRotateTransform(longitude) {
|
|
|
7377
7381
|
return `rotate(${rotate}deg)`;
|
|
7378
7382
|
}
|
|
7379
7383
|
|
|
7380
|
-
function instance$
|
|
7384
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
7381
7385
|
let positionTransform;
|
|
7382
7386
|
let rotateTransform;
|
|
7383
7387
|
let { five } = $$props;
|
|
@@ -7457,8 +7461,8 @@ class Camera extends SvelteComponent {
|
|
|
7457
7461
|
init(
|
|
7458
7462
|
this,
|
|
7459
7463
|
options,
|
|
7460
|
-
instance$
|
|
7461
|
-
create_fragment$
|
|
7464
|
+
instance$y,
|
|
7465
|
+
create_fragment$y,
|
|
7462
7466
|
safe_not_equal,
|
|
7463
7467
|
{
|
|
7464
7468
|
five: 3,
|
|
@@ -7466,14 +7470,14 @@ class Camera extends SvelteComponent {
|
|
|
7466
7470
|
floorplanData: 5,
|
|
7467
7471
|
cameraImageUrl: 0
|
|
7468
7472
|
},
|
|
7469
|
-
add_css$
|
|
7473
|
+
add_css$w
|
|
7470
7474
|
);
|
|
7471
7475
|
}
|
|
7472
7476
|
}
|
|
7473
7477
|
|
|
7474
7478
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.50.1 */
|
|
7475
7479
|
|
|
7476
|
-
function add_css$
|
|
7480
|
+
function add_css$v(target) {
|
|
7477
7481
|
append_styles(target, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
|
|
7478
7482
|
}
|
|
7479
7483
|
|
|
@@ -7543,7 +7547,7 @@ function create_each_block$b(key_1, ctx) {
|
|
|
7543
7547
|
};
|
|
7544
7548
|
}
|
|
7545
7549
|
|
|
7546
|
-
function create_fragment$
|
|
7550
|
+
function create_fragment$x(ctx) {
|
|
7547
7551
|
let div;
|
|
7548
7552
|
let each_blocks = [];
|
|
7549
7553
|
let each_1_lookup = new Map();
|
|
@@ -7591,7 +7595,7 @@ function create_fragment$w(ctx) {
|
|
|
7591
7595
|
};
|
|
7592
7596
|
}
|
|
7593
7597
|
|
|
7594
|
-
function instance$
|
|
7598
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
7595
7599
|
let { extraObjects = [] } = $$props;
|
|
7596
7600
|
|
|
7597
7601
|
$$self.$$set = $$props => {
|
|
@@ -7604,13 +7608,13 @@ function instance$w($$self, $$props, $$invalidate) {
|
|
|
7604
7608
|
class ExtraObjects extends SvelteComponent {
|
|
7605
7609
|
constructor(options) {
|
|
7606
7610
|
super();
|
|
7607
|
-
init(this, options, instance$
|
|
7611
|
+
init(this, options, instance$x, create_fragment$x, safe_not_equal, { extraObjects: 0 }, add_css$v);
|
|
7608
7612
|
}
|
|
7609
7613
|
}
|
|
7610
7614
|
|
|
7611
7615
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.50.1 */
|
|
7612
7616
|
|
|
7613
|
-
function create_if_block$
|
|
7617
|
+
function create_if_block$m(ctx) {
|
|
7614
7618
|
let highlight;
|
|
7615
7619
|
let current;
|
|
7616
7620
|
|
|
@@ -7670,7 +7674,7 @@ function create_if_block$l(ctx) {
|
|
|
7670
7674
|
};
|
|
7671
7675
|
}
|
|
7672
7676
|
|
|
7673
|
-
function create_fragment$
|
|
7677
|
+
function create_fragment$w(ctx) {
|
|
7674
7678
|
let baseimage;
|
|
7675
7679
|
let t0;
|
|
7676
7680
|
let extraobjects;
|
|
@@ -7699,7 +7703,7 @@ function create_fragment$v(ctx) {
|
|
|
7699
7703
|
}
|
|
7700
7704
|
});
|
|
7701
7705
|
|
|
7702
|
-
let if_block = /*hoverEnable*/ ctx[3] && create_if_block$
|
|
7706
|
+
let if_block = /*hoverEnable*/ ctx[3] && create_if_block$m(ctx);
|
|
7703
7707
|
|
|
7704
7708
|
return {
|
|
7705
7709
|
c() {
|
|
@@ -7742,7 +7746,7 @@ function create_fragment$v(ctx) {
|
|
|
7742
7746
|
transition_in(if_block, 1);
|
|
7743
7747
|
}
|
|
7744
7748
|
} else {
|
|
7745
|
-
if_block = create_if_block$
|
|
7749
|
+
if_block = create_if_block$m(ctx);
|
|
7746
7750
|
if_block.c();
|
|
7747
7751
|
transition_in(if_block, 1);
|
|
7748
7752
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -7781,7 +7785,7 @@ function create_fragment$v(ctx) {
|
|
|
7781
7785
|
};
|
|
7782
7786
|
}
|
|
7783
7787
|
|
|
7784
|
-
function instance$
|
|
7788
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
7785
7789
|
let currentFloorExtraObjects;
|
|
7786
7790
|
let { five } = $$props;
|
|
7787
7791
|
let { pxmm } = $$props;
|
|
@@ -7824,7 +7828,7 @@ class CurrentFloor extends SvelteComponent {
|
|
|
7824
7828
|
constructor(options) {
|
|
7825
7829
|
super();
|
|
7826
7830
|
|
|
7827
|
-
init(this, options, instance$
|
|
7831
|
+
init(this, options, instance$w, create_fragment$w, safe_not_equal, {
|
|
7828
7832
|
five: 0,
|
|
7829
7833
|
pxmm: 1,
|
|
7830
7834
|
floorIndex: 2,
|
|
@@ -7837,16 +7841,16 @@ class CurrentFloor extends SvelteComponent {
|
|
|
7837
7841
|
|
|
7838
7842
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.50.1 */
|
|
7839
7843
|
|
|
7840
|
-
function add_css$
|
|
7844
|
+
function add_css$u(target) {
|
|
7841
7845
|
append_styles(target, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
|
|
7842
7846
|
}
|
|
7843
7847
|
|
|
7844
7848
|
// (41:0) {#if visible}
|
|
7845
|
-
function create_if_block$
|
|
7849
|
+
function create_if_block$l(ctx) {
|
|
7846
7850
|
let div;
|
|
7847
7851
|
let div_resize_listener;
|
|
7848
7852
|
let current;
|
|
7849
|
-
let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1$
|
|
7853
|
+
let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1$9(ctx);
|
|
7850
7854
|
|
|
7851
7855
|
return {
|
|
7852
7856
|
c() {
|
|
@@ -7870,7 +7874,7 @@ function create_if_block$k(ctx) {
|
|
|
7870
7874
|
transition_in(if_block, 1);
|
|
7871
7875
|
}
|
|
7872
7876
|
} else {
|
|
7873
|
-
if_block = create_if_block_1$
|
|
7877
|
+
if_block = create_if_block_1$9(ctx);
|
|
7874
7878
|
if_block.c();
|
|
7875
7879
|
transition_in(if_block, 1);
|
|
7876
7880
|
if_block.m(div, null);
|
|
@@ -7903,7 +7907,7 @@ function create_if_block$k(ctx) {
|
|
|
7903
7907
|
}
|
|
7904
7908
|
|
|
7905
7909
|
// (43:4) {#if clientWidth !== 0}
|
|
7906
|
-
function create_if_block_1$
|
|
7910
|
+
function create_if_block_1$9(ctx) {
|
|
7907
7911
|
let div;
|
|
7908
7912
|
let currentfloor;
|
|
7909
7913
|
let t;
|
|
@@ -8021,10 +8025,10 @@ function create_if_block_1$8(ctx) {
|
|
|
8021
8025
|
};
|
|
8022
8026
|
}
|
|
8023
8027
|
|
|
8024
|
-
function create_fragment$
|
|
8028
|
+
function create_fragment$v(ctx) {
|
|
8025
8029
|
let if_block_anchor;
|
|
8026
8030
|
let current;
|
|
8027
|
-
let if_block = /*visible*/ ctx[1] && create_if_block$
|
|
8031
|
+
let if_block = /*visible*/ ctx[1] && create_if_block$l(ctx);
|
|
8028
8032
|
|
|
8029
8033
|
return {
|
|
8030
8034
|
c() {
|
|
@@ -8045,7 +8049,7 @@ function create_fragment$u(ctx) {
|
|
|
8045
8049
|
transition_in(if_block, 1);
|
|
8046
8050
|
}
|
|
8047
8051
|
} else {
|
|
8048
|
-
if_block = create_if_block$
|
|
8052
|
+
if_block = create_if_block$l(ctx);
|
|
8049
8053
|
if_block.c();
|
|
8050
8054
|
transition_in(if_block, 1);
|
|
8051
8055
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -8076,7 +8080,7 @@ function create_fragment$u(ctx) {
|
|
|
8076
8080
|
};
|
|
8077
8081
|
}
|
|
8078
8082
|
|
|
8079
|
-
function instance$
|
|
8083
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
8080
8084
|
let { five } = $$props;
|
|
8081
8085
|
let { visible } = $$props;
|
|
8082
8086
|
let { hoverEnable } = $$props;
|
|
@@ -8162,8 +8166,8 @@ class Main extends SvelteComponent {
|
|
|
8162
8166
|
init(
|
|
8163
8167
|
this,
|
|
8164
8168
|
options,
|
|
8165
|
-
instance$
|
|
8166
|
-
create_fragment$
|
|
8169
|
+
instance$v,
|
|
8170
|
+
create_fragment$v,
|
|
8167
8171
|
safe_not_equal,
|
|
8168
8172
|
{
|
|
8169
8173
|
five: 0,
|
|
@@ -8173,7 +8177,7 @@ class Main extends SvelteComponent {
|
|
|
8173
8177
|
cameraImageUrl: 4,
|
|
8174
8178
|
extraObjects: 5
|
|
8175
8179
|
},
|
|
8176
|
-
add_css$
|
|
8180
|
+
add_css$u
|
|
8177
8181
|
);
|
|
8178
8182
|
}
|
|
8179
8183
|
}
|
|
@@ -9642,7 +9646,7 @@ const PanoRulerPlugin = (five, params) => {
|
|
|
9642
9646
|
|
|
9643
9647
|
/* src/PanoRulerProPlugin/RulerItem.svelte generated by Svelte v3.50.1 */
|
|
9644
9648
|
|
|
9645
|
-
function add_css$
|
|
9649
|
+
function add_css$t(target) {
|
|
9646
9650
|
append_styles(target, "svelte-qy4ud2", ".PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;-webkit-animation:svelte-qy4ud2-viewport-rule-point 0.1s 1s;animation:svelte-qy4ud2-viewport-rule-point 0.1s 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-qy4ud2.svelte-qy4ud2::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;-webkit-animation:svelte-qy4ud2-viewport-rule-point 0.1s 1.5s;animation:svelte-qy4ud2-viewport-rule-point 0.1s 1.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-qy4ud2 em.svelte-qy4ud2{display:block;height:0.0625rem;-webkit-animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-qy4ud2.svelte-qy4ud2{display:flex;height:0.0625rem;-webkit-animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;animation:svelte-qy4ud2-viewport-rule-line 0.5s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;align-items:center}.em-solid.svelte-qy4ud2.svelte-qy4ud2{height:100%;background:#ffffff}.em-dotted.svelte-qy4ud2.svelte-qy4ud2{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-qy4ud2.svelte-qy4ud2{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-qy4ud2.svelte-qy4ud2{position:absolute;padding:0.1875rem 0.375rem;background:rgba(195, 195, 195, 0.3);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem);border-radius:6.25rem;border:0.0625rem solid rgba(255, 255, 255, 0.6);white-space:nowrap;overflow:hidden;color:#ffffff;font-weight:500;font-size:0.75rem;line-height:1;-webkit-animation:svelte-qy4ud2-viewport-rule-label 0.25s ease 1s;animation:svelte-qy4ud2-viewport-rule-label 0.25s ease 1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@-webkit-keyframes svelte-qy4ud2-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-qy4ud2-viewport-rule-line{0%{width:0%}100%{width:100%}}@-webkit-keyframes svelte-qy4ud2-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-qy4ud2-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@-webkit-keyframes svelte-qy4ud2-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}@keyframes svelte-qy4ud2-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
|
|
9647
9651
|
}
|
|
9648
9652
|
|
|
@@ -9653,7 +9657,7 @@ function get_each_context$a(ctx, list, i) {
|
|
|
9653
9657
|
}
|
|
9654
9658
|
|
|
9655
9659
|
// (28:2) {:else}
|
|
9656
|
-
function create_else_block$
|
|
9660
|
+
function create_else_block$3(ctx) {
|
|
9657
9661
|
let div;
|
|
9658
9662
|
let each_value = /*rulerItemProp*/ ctx[0].children;
|
|
9659
9663
|
let each_blocks = [];
|
|
@@ -9711,7 +9715,7 @@ function create_else_block$2(ctx) {
|
|
|
9711
9715
|
}
|
|
9712
9716
|
|
|
9713
9717
|
// (26:2) {#if rulerItemProp.children.length === 0}
|
|
9714
|
-
function create_if_block$
|
|
9718
|
+
function create_if_block$k(ctx) {
|
|
9715
9719
|
let em;
|
|
9716
9720
|
let em_class_value;
|
|
9717
9721
|
|
|
@@ -9780,7 +9784,7 @@ function create_each_block$a(ctx) {
|
|
|
9780
9784
|
};
|
|
9781
9785
|
}
|
|
9782
9786
|
|
|
9783
|
-
function create_fragment$
|
|
9787
|
+
function create_fragment$u(ctx) {
|
|
9784
9788
|
let div2;
|
|
9785
9789
|
let t0;
|
|
9786
9790
|
let div1;
|
|
@@ -9795,8 +9799,8 @@ function create_fragment$t(ctx) {
|
|
|
9795
9799
|
let style_transform = `rotate(${/*rulerItemProp*/ ctx[0].rotateDeg}deg)`;
|
|
9796
9800
|
|
|
9797
9801
|
function select_block_type(ctx, dirty) {
|
|
9798
|
-
if (/*rulerItemProp*/ ctx[0].children.length === 0) return create_if_block$
|
|
9799
|
-
return create_else_block$
|
|
9802
|
+
if (/*rulerItemProp*/ ctx[0].children.length === 0) return create_if_block$k;
|
|
9803
|
+
return create_else_block$3;
|
|
9800
9804
|
}
|
|
9801
9805
|
|
|
9802
9806
|
let current_block_type = select_block_type(ctx);
|
|
@@ -9894,7 +9898,7 @@ function create_fragment$t(ctx) {
|
|
|
9894
9898
|
};
|
|
9895
9899
|
}
|
|
9896
9900
|
|
|
9897
|
-
function instance$
|
|
9901
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
9898
9902
|
let vars;
|
|
9899
9903
|
let { rulerItemProp } = $$props;
|
|
9900
9904
|
let _visible = true;
|
|
@@ -9929,7 +9933,7 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
|
9929
9933
|
class RulerItem extends SvelteComponent {
|
|
9930
9934
|
constructor(options) {
|
|
9931
9935
|
super();
|
|
9932
|
-
init(this, options, instance$
|
|
9936
|
+
init(this, options, instance$u, create_fragment$u, safe_not_equal, { rulerItemProp: 0 }, add_css$t);
|
|
9933
9937
|
}
|
|
9934
9938
|
}
|
|
9935
9939
|
|
|
@@ -9978,7 +9982,7 @@ function create_each_block$9(ctx) {
|
|
|
9978
9982
|
};
|
|
9979
9983
|
}
|
|
9980
9984
|
|
|
9981
|
-
function create_fragment$
|
|
9985
|
+
function create_fragment$t(ctx) {
|
|
9982
9986
|
let div;
|
|
9983
9987
|
let current;
|
|
9984
9988
|
let each_value = /*rulerItemProp*/ ctx[0];
|
|
@@ -10062,7 +10066,7 @@ function create_fragment$s(ctx) {
|
|
|
10062
10066
|
};
|
|
10063
10067
|
}
|
|
10064
10068
|
|
|
10065
|
-
function instance$
|
|
10069
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
10066
10070
|
var _a, _b, _c, _d;
|
|
10067
10071
|
let { five } = $$props;
|
|
10068
10072
|
let { rulerDatas } = $$props;
|
|
@@ -10280,7 +10284,7 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
|
10280
10284
|
class RulerItems extends SvelteComponent {
|
|
10281
10285
|
constructor(options) {
|
|
10282
10286
|
super();
|
|
10283
|
-
init(this, options, instance$
|
|
10287
|
+
init(this, options, instance$t, create_fragment$t, safe_not_equal, { five: 1, rulerDatas: 2, options: 3 });
|
|
10284
10288
|
}
|
|
10285
10289
|
}
|
|
10286
10290
|
|
|
@@ -15013,7 +15017,7 @@ const currentTarget = writable(null);
|
|
|
15013
15017
|
|
|
15014
15018
|
/* src/PanoSpatialTagPlugin/Components/origins.svelte generated by Svelte v3.50.1 */
|
|
15015
15019
|
|
|
15016
|
-
function add_css$
|
|
15020
|
+
function add_css$s(target) {
|
|
15017
15021
|
append_styles(target, "svelte-1kuu68s", ".PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s{position:absolute;width:0.5rem;height:0.5rem;border-radius:50%;background:#fff;box-shadow:0 0 .6rem #fff;transform:translate(-50%, -50%) scale(1);transform-origin:center center;-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin 1.2s forwards;pointer-events:auto}.PanoSpatialTagPlugin__tag-origin.svelte-1kuu68s:after{content:'';position:absolute;top:50%;height:50%;width:2rem;height:2rem;transform:translate(-50%, -50%)}.PanoSpatialTagPlugin__tag-origin-destroy.svelte-1kuu68s{transform:translate(-50%, -50%) scale(0.6);-webkit-animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s;animation:svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy 1.2s forwards .7s}@-webkit-keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin{0%{transform:translate(-50%, -50%) scale(1);opacity:0}100%{transform:translate(-50%, -50%) scale(0.6);opacity:1 }}@-webkit-keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}@keyframes svelte-1kuu68s-PanoSpatialTagPlugin__tag-origin-destroy{0%{transform:translate(-50%, -50%) scale(0.6);opacity:1}10%{transform:translate(-50%, -50%) scale(1);opacity:0.9}100%{transform:translate(-50%, -50%) scale(1);opacity:0}}");
|
|
15018
15022
|
}
|
|
15019
15023
|
|
|
@@ -15080,7 +15084,7 @@ function create_each_block$8(ctx) {
|
|
|
15080
15084
|
};
|
|
15081
15085
|
}
|
|
15082
15086
|
|
|
15083
|
-
function create_fragment$
|
|
15087
|
+
function create_fragment$s(ctx) {
|
|
15084
15088
|
let each_1_anchor;
|
|
15085
15089
|
let each_value = /*origins*/ ctx[0];
|
|
15086
15090
|
let each_blocks = [];
|
|
@@ -15137,7 +15141,7 @@ function create_fragment$r(ctx) {
|
|
|
15137
15141
|
};
|
|
15138
15142
|
}
|
|
15139
15143
|
|
|
15140
|
-
function instance$
|
|
15144
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
15141
15145
|
let { origins } = $$props;
|
|
15142
15146
|
|
|
15143
15147
|
const handleClick = id => {
|
|
@@ -15156,17 +15160,17 @@ function instance$r($$self, $$props, $$invalidate) {
|
|
|
15156
15160
|
class Origins extends SvelteComponent {
|
|
15157
15161
|
constructor(options) {
|
|
15158
15162
|
super();
|
|
15159
|
-
init(this, options, instance$
|
|
15163
|
+
init(this, options, instance$s, create_fragment$s, safe_not_equal, { origins: 0 }, add_css$s);
|
|
15160
15164
|
}
|
|
15161
15165
|
}
|
|
15162
15166
|
|
|
15163
15167
|
/* src/PanoSpatialTagPlugin/Components/tag.svelte generated by Svelte v3.50.1 */
|
|
15164
15168
|
|
|
15165
|
-
function add_css$
|
|
15169
|
+
function add_css$r(target) {
|
|
15166
15170
|
append_styles(target, "svelte-eb8bdm", ".PanoSpatialTagPlugin__tag-x.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0;display:block;white-space:nowrap;box-sizing:border-box;width:25rem;height:14rem;color:#FFF;transform:translate(0, -100%);transition:height .5s linear}.PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm.svelte-eb8bdm{content:'';position:absolute;width:30rem;height:30rem;top:-15rem;left:-15rem;z-index:-1;opacity:0;transition:opacity .8s .6s;background:url('https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png');background-size:30rem 30rem}.PanoSpatialTagPlugin__tag-line.svelte-eb8bdm.svelte-eb8bdm{position:absolute;left:-1rem;width:2rem;height:100%;overflow:hidden}.PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:1rem;height:calc(100% - 1.5rem);width:.15rem;background:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, .1));box-shadow:0 .1rem .5rem rgba(0, 0, 0, .2);opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .4s cubic-bezier(.44,.44,.74,.98) , opacity .4s cubic-bezier(.44,.44,.74,.98), width .5s linear, height .5s linear ;transform-origin:center bottom}.PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0.3rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm.svelte-eb8bdm{position:absolute;top:0;left:0.5rem;height:1.8rem;width:.1rem;background:#fff;opacity:0;transform:translate(-50%, 200%) scaleY(0);transform-origin:center top}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm{-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1 linear .5s forwards .45s}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm{-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2 linear .5s forwards .65s}.PanoSpatialTagPlugin__tag-x.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm.svelte-eb8bdm{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line.svelte-eb8bdm{transform:scaleY(-1)}.PanoSpatialTagPlugin__tag-animate.svelte-eb8bdm.svelte-eb8bdm{position:relative;height:100%;overflow:hidden;transform-origin:left top;transition:transform .5s linear}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-animate.svelte-eb8bdm{transform-origin:left bottom}.PanoSpatialTagPlugin__tag-content.svelte-eb8bdm.svelte-eb8bdm{position:absolute;display:inline-block;transform:translate(-100%, 0);transition:transform .9s cubic-bezier(0,.65,.16,1.08) .6s;padding-left:.5rem;font-size:1rem}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{bottom:0}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm{opacity:1;transform:translate(-50%, 0) scaleY(1)}.PanoSpatialTagPlugin__tag-upside-down.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{top:unset;bottom:-15rem}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{opacity:.32}.PanoSpatialTagPlugin__tag-show.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{transform:translate(0, 0)}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-flagpole.svelte-eb8bdm{opacity:0;transform:translate(-50%, 60%) scaleY(0);transition:transform .5s .55s, opacity .4s .55s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-shadow.svelte-eb8bdm{opacity:0;transition:opacity .8s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content.svelte-eb8bdm{transform:translate(-100%, 0);transition:transform .6s cubic-bezier(.53,.06,.88,.59)}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-content .svelte-eb8bdm{pointer-events:none}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line1.svelte-eb8bdm{opacity:0.5;transform:translate(-50%, 10%) scaleY(0);-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide linear .28s forwards .3s}.PanoSpatialTagPlugin__tag-hide.svelte-eb8bdm .PanoSpatialTagPlugin__tag-line2.svelte-eb8bdm{opacity:0.5;transform:translate(-50%, 0) scaleY(0);-webkit-animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s;animation:svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide linear .28s forwards .45s}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 135%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 20%) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2{0%{opacity:0;transform:translate(-50%, 250%) scaleY(1)}50%{opacity:0.5;transform:translate(-50%, 125%) scaleY(1)}100%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line1-hide{0%{opacity:0.5;transform:translate(-50%, 10%) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 105%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@-webkit-keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}@keyframes svelte-eb8bdm-PanoSpatialTagPlugin__tag-line2-hide{0%{opacity:0.5;transform:translate(-50%, 0) scaleY(0)}50%{opacity:0.2;transform:translate(-50%, 100%) scaleY(1)}100%{opacity:0;transform:translate(-50%, 200%) scaleY(0)}}");
|
|
15167
15171
|
}
|
|
15168
15172
|
|
|
15169
|
-
function create_fragment$
|
|
15173
|
+
function create_fragment$r(ctx) {
|
|
15170
15174
|
let div4;
|
|
15171
15175
|
let div0;
|
|
15172
15176
|
let t0;
|
|
@@ -15281,7 +15285,7 @@ function create_fragment$q(ctx) {
|
|
|
15281
15285
|
};
|
|
15282
15286
|
}
|
|
15283
15287
|
|
|
15284
|
-
function instance$
|
|
15288
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
15285
15289
|
let { id } = $$props;
|
|
15286
15290
|
let { upsideDown } = $$props;
|
|
15287
15291
|
let { content } = $$props;
|
|
@@ -15418,8 +15422,8 @@ class Tag$1 extends SvelteComponent {
|
|
|
15418
15422
|
init(
|
|
15419
15423
|
this,
|
|
15420
15424
|
options,
|
|
15421
|
-
instance$
|
|
15422
|
-
create_fragment$
|
|
15425
|
+
instance$r,
|
|
15426
|
+
create_fragment$r,
|
|
15423
15427
|
safe_not_equal,
|
|
15424
15428
|
{
|
|
15425
15429
|
id: 0,
|
|
@@ -15434,7 +15438,7 @@ class Tag$1 extends SvelteComponent {
|
|
|
15434
15438
|
events: 14,
|
|
15435
15439
|
hooks: 15
|
|
15436
15440
|
},
|
|
15437
|
-
add_css$
|
|
15441
|
+
add_css$r
|
|
15438
15442
|
);
|
|
15439
15443
|
}
|
|
15440
15444
|
}
|
|
@@ -16088,11 +16092,11 @@ var DISPLAY_STRATEGY_TYPE;
|
|
|
16088
16092
|
|
|
16089
16093
|
/* src/ModelItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.50.1 */
|
|
16090
16094
|
|
|
16091
|
-
function add_css$
|
|
16095
|
+
function add_css$q(target) {
|
|
16092
16096
|
append_styles(target, "svelte-lmta6z", ".item-label-item.svelte-lmta6z{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-lmta6z{opacity:1;-webkit-animation:svelte-lmta6z-fadeIn .3s ease-in;animation:svelte-lmta6z-fadeIn .3s ease-in}.item-label-item__text-wrap.svelte-lmta6z::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-lmta6z{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#FFEAC0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-lmta6z{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-lmta6z{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@-webkit-keyframes svelte-lmta6z-fadeIn{from{opacity:0\n }to{opacity:1\n }}@keyframes svelte-lmta6z-fadeIn{from{opacity:0\n }to{opacity:1\n }}");
|
|
16093
16097
|
}
|
|
16094
16098
|
|
|
16095
|
-
function create_fragment$
|
|
16099
|
+
function create_fragment$q(ctx) {
|
|
16096
16100
|
let div2;
|
|
16097
16101
|
let div0;
|
|
16098
16102
|
let span;
|
|
@@ -16173,7 +16177,7 @@ function create_fragment$p(ctx) {
|
|
|
16173
16177
|
};
|
|
16174
16178
|
}
|
|
16175
16179
|
|
|
16176
|
-
function instance$
|
|
16180
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
16177
16181
|
let { itemLabel } = $$props;
|
|
16178
16182
|
let { hooks } = $$props;
|
|
16179
16183
|
|
|
@@ -16193,7 +16197,7 @@ function instance$p($$self, $$props, $$invalidate) {
|
|
|
16193
16197
|
class ItemLabelItem$1 extends SvelteComponent {
|
|
16194
16198
|
constructor(options) {
|
|
16195
16199
|
super();
|
|
16196
|
-
init(this, options, instance$
|
|
16200
|
+
init(this, options, instance$q, create_fragment$q, safe_not_equal, { itemLabel: 0, hooks: 2 }, add_css$q);
|
|
16197
16201
|
}
|
|
16198
16202
|
}
|
|
16199
16203
|
|
|
@@ -16214,7 +16218,7 @@ function debounce$1(func, wait = 200) {
|
|
|
16214
16218
|
|
|
16215
16219
|
/* src/ModelItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.50.1 */
|
|
16216
16220
|
|
|
16217
|
-
function add_css$
|
|
16221
|
+
function add_css$p(target) {
|
|
16218
16222
|
append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
|
|
16219
16223
|
}
|
|
16220
16224
|
|
|
@@ -16273,7 +16277,7 @@ function create_each_block$7(key_1, ctx) {
|
|
|
16273
16277
|
};
|
|
16274
16278
|
}
|
|
16275
16279
|
|
|
16276
|
-
function create_fragment$
|
|
16280
|
+
function create_fragment$p(ctx) {
|
|
16277
16281
|
let div;
|
|
16278
16282
|
let each_blocks = [];
|
|
16279
16283
|
let each_1_lookup = new Map();
|
|
@@ -16353,7 +16357,7 @@ function create_fragment$o(ctx) {
|
|
|
16353
16357
|
let cssHeight = 26;
|
|
16354
16358
|
let basicWidth$1 = 11;
|
|
16355
16359
|
|
|
16356
|
-
function instance$
|
|
16360
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
16357
16361
|
const { Raycaster, Vector3 } = THREE;
|
|
16358
16362
|
let { five } = $$props;
|
|
16359
16363
|
let { modelOcclusionEnable } = $$props;
|
|
@@ -16555,8 +16559,8 @@ class ItemLabelComponent$1 extends SvelteComponent {
|
|
|
16555
16559
|
init(
|
|
16556
16560
|
this,
|
|
16557
16561
|
options,
|
|
16558
|
-
instance$
|
|
16559
|
-
create_fragment$
|
|
16562
|
+
instance$p,
|
|
16563
|
+
create_fragment$p,
|
|
16560
16564
|
safe_not_equal,
|
|
16561
16565
|
{
|
|
16562
16566
|
five: 5,
|
|
@@ -16565,7 +16569,7 @@ class ItemLabelComponent$1 extends SvelteComponent {
|
|
|
16565
16569
|
hooks: 0,
|
|
16566
16570
|
displayStrategyType: 8
|
|
16567
16571
|
},
|
|
16568
|
-
add_css$
|
|
16572
|
+
add_css$p
|
|
16569
16573
|
);
|
|
16570
16574
|
}
|
|
16571
16575
|
}
|
|
@@ -16979,12 +16983,12 @@ var ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE;
|
|
|
16979
16983
|
|
|
16980
16984
|
/* src/ItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.50.1 */
|
|
16981
16985
|
|
|
16982
|
-
function add_css$
|
|
16986
|
+
function add_css$o(target) {
|
|
16983
16987
|
append_styles(target, "svelte-pd1uj6", ".item-label-item.svelte-pd1uj6.svelte-pd1uj6{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-animation:svelte-pd1uj6-fadeIn .3s ease-in;animation:svelte-pd1uj6-fadeIn .3s ease-in}.item-label-item.fold.svelte-pd1uj6>.item-label-item__text-wrap.svelte-pd1uj6{visibility:hidden}.item-label-item.fold.svelte-pd1uj6>.item-label-item__bar.anchor.svelte-pd1uj6{visibility:hidden}.item-label-item.fold.svelte-pd1uj6>.item-label-item__bar.anchor.svelte-pd1uj6:after{visibility:visible}.item-label-item__text-wrap.svelte-pd1uj6.svelte-pd1uj6{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-pd1uj6.svelte-pd1uj6{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-pd1uj6.svelte-pd1uj6{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-pd1uj6.svelte-pd1uj6{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-pd1uj6.svelte-pd1uj6{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-pd1uj6.svelte-pd1uj6{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-pd1uj6.svelte-pd1uj6{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-pd1uj6.svelte-pd1uj6{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-pd1uj6.svelte-pd1uj6:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url(\"//vrlab-public.ljcdn.com/common/file/web/67e7a198-28c9-47dc-879b-507bd3ae600c.png \");background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@-webkit-keyframes svelte-pd1uj6-fadeIn{from{opacity:0\n }to{opacity:1\n }}@keyframes svelte-pd1uj6-fadeIn{from{opacity:0\n }to{opacity:1\n }}");
|
|
16984
16988
|
}
|
|
16985
16989
|
|
|
16986
16990
|
// (34:8) {:else}
|
|
16987
|
-
function create_else_block$
|
|
16991
|
+
function create_else_block$2(ctx) {
|
|
16988
16992
|
let t0;
|
|
16989
16993
|
let div;
|
|
16990
16994
|
let span0;
|
|
@@ -16994,7 +16998,7 @@ function create_else_block$1(ctx) {
|
|
|
16994
16998
|
let span1;
|
|
16995
16999
|
let t3_value = /*itemLabel*/ ctx[0].name + "";
|
|
16996
17000
|
let t3;
|
|
16997
|
-
let if_block = /*itemLabel*/ ctx[0].icon && create_if_block_1$
|
|
17001
|
+
let if_block = /*itemLabel*/ ctx[0].icon && create_if_block_1$8(ctx);
|
|
16998
17002
|
|
|
16999
17003
|
return {
|
|
17000
17004
|
c() {
|
|
@@ -17025,7 +17029,7 @@ function create_else_block$1(ctx) {
|
|
|
17025
17029
|
if (if_block) {
|
|
17026
17030
|
if_block.p(ctx, dirty);
|
|
17027
17031
|
} else {
|
|
17028
|
-
if_block = create_if_block_1$
|
|
17032
|
+
if_block = create_if_block_1$8(ctx);
|
|
17029
17033
|
if_block.c();
|
|
17030
17034
|
if_block.m(t0.parentNode, t0);
|
|
17031
17035
|
}
|
|
@@ -17046,7 +17050,7 @@ function create_else_block$1(ctx) {
|
|
|
17046
17050
|
}
|
|
17047
17051
|
|
|
17048
17052
|
// (32:8) {#if Boolean(typeof itemLabel.render === 'function')}
|
|
17049
|
-
function create_if_block$
|
|
17053
|
+
function create_if_block$j(ctx) {
|
|
17050
17054
|
let div;
|
|
17051
17055
|
|
|
17052
17056
|
return {
|
|
@@ -17066,7 +17070,7 @@ function create_if_block$i(ctx) {
|
|
|
17066
17070
|
}
|
|
17067
17071
|
|
|
17068
17072
|
// (35:12) {#if itemLabel.icon}
|
|
17069
|
-
function create_if_block_1$
|
|
17073
|
+
function create_if_block_1$8(ctx) {
|
|
17070
17074
|
let div1;
|
|
17071
17075
|
let div0;
|
|
17072
17076
|
let div0_style_value;
|
|
@@ -17103,7 +17107,7 @@ function create_if_block_1$7(ctx) {
|
|
|
17103
17107
|
};
|
|
17104
17108
|
}
|
|
17105
17109
|
|
|
17106
|
-
function create_fragment$
|
|
17110
|
+
function create_fragment$o(ctx) {
|
|
17107
17111
|
let div2;
|
|
17108
17112
|
let div0;
|
|
17109
17113
|
let show_if;
|
|
@@ -17118,8 +17122,8 @@ function create_fragment$n(ctx) {
|
|
|
17118
17122
|
function select_block_type(ctx, dirty) {
|
|
17119
17123
|
if (dirty & /*itemLabel*/ 1) show_if = null;
|
|
17120
17124
|
if (show_if == null) show_if = !!Boolean(typeof /*itemLabel*/ ctx[0].render === 'function');
|
|
17121
|
-
if (show_if) return create_if_block$
|
|
17122
|
-
return create_else_block$
|
|
17125
|
+
if (show_if) return create_if_block$j;
|
|
17126
|
+
return create_else_block$2;
|
|
17123
17127
|
}
|
|
17124
17128
|
|
|
17125
17129
|
let current_block_type = select_block_type(ctx, -1);
|
|
@@ -17210,7 +17214,7 @@ function create_fragment$n(ctx) {
|
|
|
17210
17214
|
};
|
|
17211
17215
|
}
|
|
17212
17216
|
|
|
17213
|
-
function instance$
|
|
17217
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
17214
17218
|
let { itemLabel } = $$props;
|
|
17215
17219
|
let { hooks } = $$props;
|
|
17216
17220
|
let { anchorEnabled } = $$props;
|
|
@@ -17274,8 +17278,8 @@ class ItemLabelItem extends SvelteComponent {
|
|
|
17274
17278
|
init(
|
|
17275
17279
|
this,
|
|
17276
17280
|
options,
|
|
17277
|
-
instance$
|
|
17278
|
-
create_fragment$
|
|
17281
|
+
instance$o,
|
|
17282
|
+
create_fragment$o,
|
|
17279
17283
|
safe_not_equal,
|
|
17280
17284
|
{
|
|
17281
17285
|
itemLabel: 0,
|
|
@@ -17283,7 +17287,7 @@ class ItemLabelItem extends SvelteComponent {
|
|
|
17283
17287
|
anchorEnabled: 1,
|
|
17284
17288
|
onIconClick: 2
|
|
17285
17289
|
},
|
|
17286
|
-
add_css$
|
|
17290
|
+
add_css$o
|
|
17287
17291
|
);
|
|
17288
17292
|
}
|
|
17289
17293
|
}
|
|
@@ -17328,7 +17332,7 @@ function transform2RenderData(data) {
|
|
|
17328
17332
|
|
|
17329
17333
|
/* src/ItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.50.1 */
|
|
17330
17334
|
|
|
17331
|
-
function add_css$
|
|
17335
|
+
function add_css$n(target) {
|
|
17332
17336
|
append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
|
|
17333
17337
|
}
|
|
17334
17338
|
|
|
@@ -17339,7 +17343,7 @@ function get_each_context$6(ctx, list, i) {
|
|
|
17339
17343
|
}
|
|
17340
17344
|
|
|
17341
17345
|
// (234:2) {#if itemLabelItem.visible}
|
|
17342
|
-
function create_if_block$
|
|
17346
|
+
function create_if_block$i(ctx) {
|
|
17343
17347
|
let itemlabelitem;
|
|
17344
17348
|
let current;
|
|
17345
17349
|
|
|
@@ -17387,7 +17391,7 @@ function create_each_block$6(key_1, ctx) {
|
|
|
17387
17391
|
let first;
|
|
17388
17392
|
let if_block_anchor;
|
|
17389
17393
|
let current;
|
|
17390
|
-
let if_block = /*itemLabelItem*/ ctx[31].visible && create_if_block$
|
|
17394
|
+
let if_block = /*itemLabelItem*/ ctx[31].visible && create_if_block$i(ctx);
|
|
17391
17395
|
|
|
17392
17396
|
return {
|
|
17393
17397
|
key: key_1,
|
|
@@ -17415,7 +17419,7 @@ function create_each_block$6(key_1, ctx) {
|
|
|
17415
17419
|
transition_in(if_block, 1);
|
|
17416
17420
|
}
|
|
17417
17421
|
} else {
|
|
17418
|
-
if_block = create_if_block$
|
|
17422
|
+
if_block = create_if_block$i(ctx);
|
|
17419
17423
|
if_block.c();
|
|
17420
17424
|
transition_in(if_block, 1);
|
|
17421
17425
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -17447,7 +17451,7 @@ function create_each_block$6(key_1, ctx) {
|
|
|
17447
17451
|
};
|
|
17448
17452
|
}
|
|
17449
17453
|
|
|
17450
|
-
function create_fragment$
|
|
17454
|
+
function create_fragment$n(ctx) {
|
|
17451
17455
|
let div;
|
|
17452
17456
|
let each_blocks = [];
|
|
17453
17457
|
let each_1_lookup = new Map();
|
|
@@ -17525,7 +17529,7 @@ function create_fragment$m(ctx) {
|
|
|
17525
17529
|
}
|
|
17526
17530
|
let basicWidth = 11;
|
|
17527
17531
|
|
|
17528
|
-
function instance$
|
|
17532
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
17529
17533
|
const { Raycaster, Vector3 } = THREE;
|
|
17530
17534
|
let { five } = $$props;
|
|
17531
17535
|
let { modelOcclusionEnable } = $$props;
|
|
@@ -17818,8 +17822,8 @@ class ItemLabelComponent extends SvelteComponent {
|
|
|
17818
17822
|
init(
|
|
17819
17823
|
this,
|
|
17820
17824
|
options,
|
|
17821
|
-
instance$
|
|
17822
|
-
create_fragment$
|
|
17825
|
+
instance$n,
|
|
17826
|
+
create_fragment$n,
|
|
17823
17827
|
safe_not_equal,
|
|
17824
17828
|
{
|
|
17825
17829
|
five: 7,
|
|
@@ -17830,7 +17834,7 @@ class ItemLabelComponent extends SvelteComponent {
|
|
|
17830
17834
|
displayStrategyType: 11,
|
|
17831
17835
|
maxVisibleDistance: 12
|
|
17832
17836
|
},
|
|
17833
|
-
add_css$
|
|
17837
|
+
add_css$n,
|
|
17834
17838
|
[-1, -1]
|
|
17835
17839
|
);
|
|
17836
17840
|
}
|
|
@@ -18072,11 +18076,11 @@ class BasePanoPluginController extends Controller$7 {
|
|
|
18072
18076
|
|
|
18073
18077
|
/* src/PanoDoorLabelPlugin/DoorLabelItem.svelte generated by Svelte v3.50.1 */
|
|
18074
18078
|
|
|
18075
|
-
function add_css$
|
|
18079
|
+
function add_css$m(target) {
|
|
18076
18080
|
append_styles(target, "svelte-wpy7pz", ".plugin-DoorLabelPlugin-item.svelte-wpy7pz.svelte-wpy7pz{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;transition:opacity 0.3s ease}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz{position:absolute;top:50%;left:50%;border-radius:0.125rem;background:rgba(0, 0, 0, 0.35);line-height:0.75rem;padding:0.375rem;white-space:nowrap;font-size:0.75rem;font-style:normal;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform ease 1s, background ease 0.3s, color ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz::after{content:\"\";display:block;position:absolute;top:-0.0625rem;left:-0.0625rem;bottom:-0.0625rem;right:-0.0625rem;border-radius:0.125rem;border:0.0625rem solid rgba(0, 0, 0, 0);-o-border-image:url(\"//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png\") 4;border-image:url(\"//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png\") 4;transition:opacity ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz:active,.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz:focus{background:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5)}.plugin-DoorLabelPlugin-icon.svelte-wpy7pz.svelte-wpy7pz{background:url(\"//vrlab-image4.ljcdn.com/release/web/DoorLabel-icon.de1304ae.svg\") no-repeat;background-size:100%;display:inline-block;width:0.625rem;height:0.625rem;margin-left:0.25rem;transform-origin:center}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].left.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].back.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].right.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz{color:#f9eac1}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{background:url(\"//vrlab-image4.ljcdn.com/release/web/arrow.6e8ec00e.svg\") no-repeat}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz:active,.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz:focus{background:rgba(0, 0, 0, 0.5);color:rgba(249, 234, 193, 0.5)}");
|
|
18077
18081
|
}
|
|
18078
18082
|
|
|
18079
|
-
function create_fragment$
|
|
18083
|
+
function create_fragment$m(ctx) {
|
|
18080
18084
|
let div1;
|
|
18081
18085
|
let div0;
|
|
18082
18086
|
let span;
|
|
@@ -18131,7 +18135,7 @@ function create_fragment$l(ctx) {
|
|
|
18131
18135
|
};
|
|
18132
18136
|
}
|
|
18133
18137
|
|
|
18134
|
-
function instance$
|
|
18138
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
18135
18139
|
let { props } = $$props;
|
|
18136
18140
|
let { onClick } = $$props;
|
|
18137
18141
|
let divElement;
|
|
@@ -18204,7 +18208,7 @@ function instance$l($$self, $$props, $$invalidate) {
|
|
|
18204
18208
|
class DoorLabelItem extends SvelteComponent {
|
|
18205
18209
|
constructor(options) {
|
|
18206
18210
|
super();
|
|
18207
|
-
init(this, options, instance$
|
|
18211
|
+
init(this, options, instance$m, create_fragment$m, safe_not_equal, { props: 0, onClick: 1 }, add_css$m);
|
|
18208
18212
|
}
|
|
18209
18213
|
}
|
|
18210
18214
|
|
|
@@ -20323,12 +20327,12 @@ var LinkType;
|
|
|
20323
20327
|
|
|
20324
20328
|
/* src/PanoTagPlugin/Components/Common/Line/Straight.svelte generated by Svelte v3.50.1 */
|
|
20325
20329
|
|
|
20326
|
-
function add_css$
|
|
20330
|
+
function add_css$l(target) {
|
|
20327
20331
|
append_styles(target, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
|
|
20328
20332
|
}
|
|
20329
20333
|
|
|
20330
20334
|
// (17:2) {#if unfolded}
|
|
20331
|
-
function create_if_block$
|
|
20335
|
+
function create_if_block$h(ctx) {
|
|
20332
20336
|
let path;
|
|
20333
20337
|
let path_intro;
|
|
20334
20338
|
let path_outro;
|
|
@@ -20386,13 +20390,13 @@ function create_if_block$g(ctx) {
|
|
|
20386
20390
|
};
|
|
20387
20391
|
}
|
|
20388
20392
|
|
|
20389
|
-
function create_fragment$
|
|
20393
|
+
function create_fragment$l(ctx) {
|
|
20390
20394
|
let svg;
|
|
20391
20395
|
let defs;
|
|
20392
20396
|
let linearGradient;
|
|
20393
20397
|
let stop0;
|
|
20394
20398
|
let stop1;
|
|
20395
|
-
let if_block = /*unfolded*/ ctx[3] && create_if_block$
|
|
20399
|
+
let if_block = /*unfolded*/ ctx[3] && create_if_block$h(ctx);
|
|
20396
20400
|
|
|
20397
20401
|
return {
|
|
20398
20402
|
c() {
|
|
@@ -20431,7 +20435,7 @@ function create_fragment$k(ctx) {
|
|
|
20431
20435
|
transition_in(if_block, 1);
|
|
20432
20436
|
}
|
|
20433
20437
|
} else {
|
|
20434
|
-
if_block = create_if_block$
|
|
20438
|
+
if_block = create_if_block$h(ctx);
|
|
20435
20439
|
if_block.c();
|
|
20436
20440
|
transition_in(if_block, 1);
|
|
20437
20441
|
if_block.m(svg, null);
|
|
@@ -20459,7 +20463,7 @@ function create_fragment$k(ctx) {
|
|
|
20459
20463
|
};
|
|
20460
20464
|
}
|
|
20461
20465
|
|
|
20462
|
-
function instance$
|
|
20466
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
20463
20467
|
let { inDelay = 0 } = $$props;
|
|
20464
20468
|
let { duration = 0 } = $$props;
|
|
20465
20469
|
let { outDelay = 0 } = $$props;
|
|
@@ -20483,8 +20487,8 @@ class Straight extends SvelteComponent {
|
|
|
20483
20487
|
init(
|
|
20484
20488
|
this,
|
|
20485
20489
|
options,
|
|
20486
|
-
instance$
|
|
20487
|
-
create_fragment$
|
|
20490
|
+
instance$l,
|
|
20491
|
+
create_fragment$l,
|
|
20488
20492
|
safe_not_equal,
|
|
20489
20493
|
{
|
|
20490
20494
|
inDelay: 0,
|
|
@@ -20492,19 +20496,19 @@ class Straight extends SvelteComponent {
|
|
|
20492
20496
|
outDelay: 2,
|
|
20493
20497
|
unfolded: 3
|
|
20494
20498
|
},
|
|
20495
|
-
add_css$
|
|
20499
|
+
add_css$l
|
|
20496
20500
|
);
|
|
20497
20501
|
}
|
|
20498
20502
|
}
|
|
20499
20503
|
|
|
20500
20504
|
/* src/PanoTagPlugin/Components/Common/Shadow.svelte generated by Svelte v3.50.1 */
|
|
20501
20505
|
|
|
20502
|
-
function add_css$
|
|
20506
|
+
function add_css$k(target) {
|
|
20503
20507
|
append_styles(target, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
|
|
20504
20508
|
}
|
|
20505
20509
|
|
|
20506
20510
|
// (23:0) {#if visible}
|
|
20507
|
-
function create_if_block$
|
|
20511
|
+
function create_if_block$g(ctx) {
|
|
20508
20512
|
let div;
|
|
20509
20513
|
let div_style_value;
|
|
20510
20514
|
let div_intro;
|
|
@@ -20600,9 +20604,9 @@ function create_if_block$f(ctx) {
|
|
|
20600
20604
|
};
|
|
20601
20605
|
}
|
|
20602
20606
|
|
|
20603
|
-
function create_fragment$
|
|
20607
|
+
function create_fragment$k(ctx) {
|
|
20604
20608
|
let if_block_anchor;
|
|
20605
|
-
let if_block = /*visible*/ ctx[2] && create_if_block$
|
|
20609
|
+
let if_block = /*visible*/ ctx[2] && create_if_block$g(ctx);
|
|
20606
20610
|
|
|
20607
20611
|
return {
|
|
20608
20612
|
c() {
|
|
@@ -20622,7 +20626,7 @@ function create_fragment$j(ctx) {
|
|
|
20622
20626
|
transition_in(if_block, 1);
|
|
20623
20627
|
}
|
|
20624
20628
|
} else {
|
|
20625
|
-
if_block = create_if_block$
|
|
20629
|
+
if_block = create_if_block$g(ctx);
|
|
20626
20630
|
if_block.c();
|
|
20627
20631
|
transition_in(if_block, 1);
|
|
20628
20632
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -20654,7 +20658,7 @@ function px2rem(value) {
|
|
|
20654
20658
|
return typeof value === 'number' ? value / 16 + 'rem' : value;
|
|
20655
20659
|
}
|
|
20656
20660
|
|
|
20657
|
-
function instance$
|
|
20661
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
20658
20662
|
let { inDelay = 1000 } = $$props;
|
|
20659
20663
|
let { outDelay = 1000 } = $$props;
|
|
20660
20664
|
let { visible = true } = $$props;
|
|
@@ -20712,8 +20716,8 @@ class Shadow extends SvelteComponent {
|
|
|
20712
20716
|
init(
|
|
20713
20717
|
this,
|
|
20714
20718
|
options,
|
|
20715
|
-
instance$
|
|
20716
|
-
create_fragment$
|
|
20719
|
+
instance$k,
|
|
20720
|
+
create_fragment$k,
|
|
20717
20721
|
safe_not_equal,
|
|
20718
20722
|
{
|
|
20719
20723
|
inDelay: 0,
|
|
@@ -20731,7 +20735,7 @@ class Shadow extends SvelteComponent {
|
|
|
20731
20735
|
opacity: 12,
|
|
20732
20736
|
zIndex: 13
|
|
20733
20737
|
},
|
|
20734
|
-
add_css$
|
|
20738
|
+
add_css$k
|
|
20735
20739
|
);
|
|
20736
20740
|
}
|
|
20737
20741
|
}
|
|
@@ -20743,7 +20747,7 @@ const RANDON_STRING = random();
|
|
|
20743
20747
|
|
|
20744
20748
|
/* src/PanoTagPlugin/Components/Common/Text.svelte generated by Svelte v3.50.1 */
|
|
20745
20749
|
|
|
20746
|
-
function add_css$
|
|
20750
|
+
function add_css$j(target) {
|
|
20747
20751
|
append_styles(target, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
20748
20752
|
}
|
|
20749
20753
|
|
|
@@ -20755,7 +20759,7 @@ function get_each_context$5(ctx, list, i) {
|
|
|
20755
20759
|
return child_ctx;
|
|
20756
20760
|
}
|
|
20757
20761
|
|
|
20758
|
-
// (
|
|
20762
|
+
// (79:0) {#each contentList as item, index}
|
|
20759
20763
|
function create_each_block$5(ctx) {
|
|
20760
20764
|
let span;
|
|
20761
20765
|
let t_value = /*item*/ ctx[10] + "";
|
|
@@ -20792,7 +20796,7 @@ function create_each_block$5(ctx) {
|
|
|
20792
20796
|
};
|
|
20793
20797
|
}
|
|
20794
20798
|
|
|
20795
|
-
function create_fragment$
|
|
20799
|
+
function create_fragment$j(ctx) {
|
|
20796
20800
|
let each_1_anchor;
|
|
20797
20801
|
let each_value = /*contentList*/ ctx[1];
|
|
20798
20802
|
let each_blocks = [];
|
|
@@ -20849,7 +20853,7 @@ function create_fragment$i(ctx) {
|
|
|
20849
20853
|
};
|
|
20850
20854
|
}
|
|
20851
20855
|
|
|
20852
|
-
function instance$
|
|
20856
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
20853
20857
|
let contentList;
|
|
20854
20858
|
let { inDelay = 0 } = $$props;
|
|
20855
20859
|
let { outDelay = 0 } = $$props;
|
|
@@ -20937,7 +20941,6 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
20937
20941
|
if (item.startsWith(emojiFlag)) return result.push(item.slice(emojiFlag.length)); else return result.push(...item.split(''));
|
|
20938
20942
|
});
|
|
20939
20943
|
|
|
20940
|
-
// console.log(result.filter(Boolean))
|
|
20941
20944
|
return result.filter(Boolean);
|
|
20942
20945
|
})());
|
|
20943
20946
|
}
|
|
@@ -20959,8 +20962,8 @@ class Text extends SvelteComponent {
|
|
|
20959
20962
|
init(
|
|
20960
20963
|
this,
|
|
20961
20964
|
options,
|
|
20962
|
-
instance$
|
|
20963
|
-
create_fragment$
|
|
20965
|
+
instance$j,
|
|
20966
|
+
create_fragment$j,
|
|
20964
20967
|
safe_not_equal,
|
|
20965
20968
|
{
|
|
20966
20969
|
inDelay: 2,
|
|
@@ -20968,7 +20971,7 @@ class Text extends SvelteComponent {
|
|
|
20968
20971
|
content: 4,
|
|
20969
20972
|
unfolded: 5
|
|
20970
20973
|
},
|
|
20971
|
-
add_css$
|
|
20974
|
+
add_css$j
|
|
20972
20975
|
);
|
|
20973
20976
|
}
|
|
20974
20977
|
}
|
|
@@ -20978,12 +20981,12 @@ const Image_Play = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAA
|
|
|
20978
20981
|
|
|
20979
20982
|
/* src/PanoTagPlugin/Components/Common/Arrow.svelte generated by Svelte v3.50.1 */
|
|
20980
20983
|
|
|
20981
|
-
function add_css$
|
|
20984
|
+
function add_css$i(target) {
|
|
20982
20985
|
append_styles(target, "svelte-1ogmlqq", ".arrow.svelte-1ogmlqq{width:100%;height:100%;background-size:100%;transition:transform 400ms ease-in-out;cursor:pointer;pointer-events:auto}.arrow-wrapper.svelte-1ogmlqq{position:relative;width:100%;height:100%}.arrow.left.svelte-1ogmlqq{transform:rotate(0deg)}.arrow.right.svelte-1ogmlqq{transform:rotate(-180deg)}.arrow.top.svelte-1ogmlqq{transform:rotate(90deg)}.arrow.bottom.svelte-1ogmlqq{transform:rotate(-90deg)}");
|
|
20983
20986
|
}
|
|
20984
20987
|
|
|
20985
20988
|
// (12:0) {#if visible}
|
|
20986
|
-
function create_if_block$
|
|
20989
|
+
function create_if_block$f(ctx) {
|
|
20987
20990
|
let div1;
|
|
20988
20991
|
let shadow;
|
|
20989
20992
|
let t;
|
|
@@ -21076,10 +21079,10 @@ function create_if_block$e(ctx) {
|
|
|
21076
21079
|
};
|
|
21077
21080
|
}
|
|
21078
21081
|
|
|
21079
|
-
function create_fragment$
|
|
21082
|
+
function create_fragment$i(ctx) {
|
|
21080
21083
|
let if_block_anchor;
|
|
21081
21084
|
let current;
|
|
21082
|
-
let if_block = /*visible*/ ctx[1] && create_if_block$
|
|
21085
|
+
let if_block = /*visible*/ ctx[1] && create_if_block$f(ctx);
|
|
21083
21086
|
|
|
21084
21087
|
return {
|
|
21085
21088
|
c() {
|
|
@@ -21100,7 +21103,7 @@ function create_fragment$h(ctx) {
|
|
|
21100
21103
|
transition_in(if_block, 1);
|
|
21101
21104
|
}
|
|
21102
21105
|
} else {
|
|
21103
|
-
if_block = create_if_block$
|
|
21106
|
+
if_block = create_if_block$f(ctx);
|
|
21104
21107
|
if_block.c();
|
|
21105
21108
|
transition_in(if_block, 1);
|
|
21106
21109
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -21131,7 +21134,7 @@ function create_fragment$h(ctx) {
|
|
|
21131
21134
|
};
|
|
21132
21135
|
}
|
|
21133
21136
|
|
|
21134
|
-
function instance$
|
|
21137
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
21135
21138
|
let { direction = 'right' } = $$props;
|
|
21136
21139
|
let { visible = true } = $$props;
|
|
21137
21140
|
let { duration = 0 } = $$props;
|
|
@@ -21160,8 +21163,8 @@ class Arrow extends SvelteComponent {
|
|
|
21160
21163
|
init(
|
|
21161
21164
|
this,
|
|
21162
21165
|
options,
|
|
21163
|
-
instance$
|
|
21164
|
-
create_fragment$
|
|
21166
|
+
instance$i,
|
|
21167
|
+
create_fragment$i,
|
|
21165
21168
|
safe_not_equal,
|
|
21166
21169
|
{
|
|
21167
21170
|
direction: 0,
|
|
@@ -21170,14 +21173,14 @@ class Arrow extends SvelteComponent {
|
|
|
21170
21173
|
inDelay: 3,
|
|
21171
21174
|
outDelay: 4
|
|
21172
21175
|
},
|
|
21173
|
-
add_css$
|
|
21176
|
+
add_css$i
|
|
21174
21177
|
);
|
|
21175
21178
|
}
|
|
21176
21179
|
}
|
|
21177
21180
|
|
|
21178
21181
|
/* src/PanoTagPlugin/Components/Common/MultiLineText.svelte generated by Svelte v3.50.1 */
|
|
21179
21182
|
|
|
21180
|
-
function add_css$
|
|
21183
|
+
function add_css$h(target) {
|
|
21181
21184
|
append_styles(target, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
|
|
21182
21185
|
}
|
|
21183
21186
|
|
|
@@ -21249,7 +21252,7 @@ function create_each_block$4(key_1, ctx) {
|
|
|
21249
21252
|
}
|
|
21250
21253
|
|
|
21251
21254
|
// (28:0) {#if lineHeight < textHeight}
|
|
21252
|
-
function create_if_block$
|
|
21255
|
+
function create_if_block$e(ctx) {
|
|
21253
21256
|
let div;
|
|
21254
21257
|
let arrow;
|
|
21255
21258
|
let current;
|
|
@@ -21296,7 +21299,7 @@ function create_if_block$d(ctx) {
|
|
|
21296
21299
|
};
|
|
21297
21300
|
}
|
|
21298
21301
|
|
|
21299
|
-
function create_fragment$
|
|
21302
|
+
function create_fragment$h(ctx) {
|
|
21300
21303
|
let each_blocks = [];
|
|
21301
21304
|
let each_1_lookup = new Map();
|
|
21302
21305
|
let t;
|
|
@@ -21311,7 +21314,7 @@ function create_fragment$g(ctx) {
|
|
|
21311
21314
|
each_1_lookup.set(key, each_blocks[i] = create_each_block$4(key, child_ctx));
|
|
21312
21315
|
}
|
|
21313
21316
|
|
|
21314
|
-
let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$
|
|
21317
|
+
let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$e(ctx);
|
|
21315
21318
|
|
|
21316
21319
|
return {
|
|
21317
21320
|
c() {
|
|
@@ -21349,7 +21352,7 @@ function create_fragment$g(ctx) {
|
|
|
21349
21352
|
transition_in(if_block, 1);
|
|
21350
21353
|
}
|
|
21351
21354
|
} else {
|
|
21352
|
-
if_block = create_if_block$
|
|
21355
|
+
if_block = create_if_block$e(ctx);
|
|
21353
21356
|
if_block.c();
|
|
21354
21357
|
transition_in(if_block, 1);
|
|
21355
21358
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -21394,7 +21397,7 @@ function create_fragment$g(ctx) {
|
|
|
21394
21397
|
};
|
|
21395
21398
|
}
|
|
21396
21399
|
|
|
21397
|
-
function instance$
|
|
21400
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
21398
21401
|
let transform;
|
|
21399
21402
|
let arrowDirection;
|
|
21400
21403
|
let foldTextDelay;
|
|
@@ -21469,27 +21472,27 @@ class MultiLineText extends SvelteComponent {
|
|
|
21469
21472
|
init(
|
|
21470
21473
|
this,
|
|
21471
21474
|
options,
|
|
21472
|
-
instance$
|
|
21473
|
-
create_fragment$
|
|
21475
|
+
instance$h,
|
|
21476
|
+
create_fragment$h,
|
|
21474
21477
|
safe_not_equal,
|
|
21475
21478
|
{
|
|
21476
21479
|
visible: 0,
|
|
21477
21480
|
textUnfolded: 8,
|
|
21478
21481
|
textItems: 1
|
|
21479
21482
|
},
|
|
21480
|
-
add_css$
|
|
21483
|
+
add_css$h
|
|
21481
21484
|
);
|
|
21482
21485
|
}
|
|
21483
21486
|
}
|
|
21484
21487
|
|
|
21485
21488
|
/* src/PanoTagPlugin/Components/Tag/TextTag.svelte generated by Svelte v3.50.1 */
|
|
21486
21489
|
|
|
21487
|
-
function add_css$
|
|
21490
|
+
function add_css$g(target) {
|
|
21488
21491
|
append_styles(target, "svelte-4fxqxl", ".line.svelte-4fxqxl{position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-4fxqxl{width:-webkit-max-content;width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
|
|
21489
21492
|
}
|
|
21490
21493
|
|
|
21491
21494
|
// (29:0) {#if tag.state}
|
|
21492
|
-
function create_if_block$
|
|
21495
|
+
function create_if_block$d(ctx) {
|
|
21493
21496
|
let shadow;
|
|
21494
21497
|
let t0;
|
|
21495
21498
|
let div0;
|
|
@@ -21607,10 +21610,10 @@ function create_if_block$c(ctx) {
|
|
|
21607
21610
|
};
|
|
21608
21611
|
}
|
|
21609
21612
|
|
|
21610
|
-
function create_fragment$
|
|
21613
|
+
function create_fragment$g(ctx) {
|
|
21611
21614
|
let if_block_anchor;
|
|
21612
21615
|
let current;
|
|
21613
|
-
let if_block = /*tag*/ ctx[0].state && create_if_block$
|
|
21616
|
+
let if_block = /*tag*/ ctx[0].state && create_if_block$d(ctx);
|
|
21614
21617
|
|
|
21615
21618
|
return {
|
|
21616
21619
|
c() {
|
|
@@ -21631,7 +21634,7 @@ function create_fragment$f(ctx) {
|
|
|
21631
21634
|
transition_in(if_block, 1);
|
|
21632
21635
|
}
|
|
21633
21636
|
} else {
|
|
21634
|
-
if_block = create_if_block$
|
|
21637
|
+
if_block = create_if_block$d(ctx);
|
|
21635
21638
|
if_block.c();
|
|
21636
21639
|
transition_in(if_block, 1);
|
|
21637
21640
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -21662,7 +21665,7 @@ function create_fragment$f(ctx) {
|
|
|
21662
21665
|
};
|
|
21663
21666
|
}
|
|
21664
21667
|
|
|
21665
|
-
function instance$
|
|
21668
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
21666
21669
|
let unfolded;
|
|
21667
21670
|
let text;
|
|
21668
21671
|
let foldTextDelay;
|
|
@@ -21737,18 +21740,18 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
21737
21740
|
class TextTag extends SvelteComponent {
|
|
21738
21741
|
constructor(options) {
|
|
21739
21742
|
super();
|
|
21740
|
-
init(this, options, instance$
|
|
21743
|
+
init(this, options, instance$g, create_fragment$g, safe_not_equal, { tag: 0 }, add_css$g);
|
|
21741
21744
|
}
|
|
21742
21745
|
}
|
|
21743
21746
|
|
|
21744
21747
|
/* src/PanoTagPlugin/Components/Common/Line/Polyline.svelte generated by Svelte v3.50.1 */
|
|
21745
21748
|
|
|
21746
|
-
function add_css$
|
|
21749
|
+
function add_css$f(target) {
|
|
21747
21750
|
append_styles(target, "svelte-e72ouh", ".line.svelte-e72ouh{width:100%;height:100%;overflow:visible}");
|
|
21748
21751
|
}
|
|
21749
21752
|
|
|
21750
21753
|
// (18:2) {#if unfolded}
|
|
21751
|
-
function create_if_block$
|
|
21754
|
+
function create_if_block$c(ctx) {
|
|
21752
21755
|
let path;
|
|
21753
21756
|
let path_intro;
|
|
21754
21757
|
let path_outro;
|
|
@@ -21808,13 +21811,13 @@ function create_if_block$b(ctx) {
|
|
|
21808
21811
|
};
|
|
21809
21812
|
}
|
|
21810
21813
|
|
|
21811
|
-
function create_fragment$
|
|
21814
|
+
function create_fragment$f(ctx) {
|
|
21812
21815
|
let svg;
|
|
21813
21816
|
let defs;
|
|
21814
21817
|
let linearGradient;
|
|
21815
21818
|
let stop0;
|
|
21816
21819
|
let stop1;
|
|
21817
|
-
let if_block = /*unfolded*/ ctx[3] && create_if_block$
|
|
21820
|
+
let if_block = /*unfolded*/ ctx[3] && create_if_block$c(ctx);
|
|
21818
21821
|
|
|
21819
21822
|
return {
|
|
21820
21823
|
c() {
|
|
@@ -21852,7 +21855,7 @@ function create_fragment$e(ctx) {
|
|
|
21852
21855
|
transition_in(if_block, 1);
|
|
21853
21856
|
}
|
|
21854
21857
|
} else {
|
|
21855
|
-
if_block = create_if_block$
|
|
21858
|
+
if_block = create_if_block$c(ctx);
|
|
21856
21859
|
if_block.c();
|
|
21857
21860
|
transition_in(if_block, 1);
|
|
21858
21861
|
if_block.m(svg, null);
|
|
@@ -21880,7 +21883,7 @@ function create_fragment$e(ctx) {
|
|
|
21880
21883
|
};
|
|
21881
21884
|
}
|
|
21882
21885
|
|
|
21883
|
-
function instance$
|
|
21886
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
21884
21887
|
let { inDelay = 0 } = $$props;
|
|
21885
21888
|
let { duration = 0 } = $$props;
|
|
21886
21889
|
let { outDelay = 0 } = $$props;
|
|
@@ -21904,8 +21907,8 @@ class Polyline extends SvelteComponent {
|
|
|
21904
21907
|
init(
|
|
21905
21908
|
this,
|
|
21906
21909
|
options,
|
|
21907
|
-
instance$
|
|
21908
|
-
create_fragment$
|
|
21910
|
+
instance$f,
|
|
21911
|
+
create_fragment$f,
|
|
21909
21912
|
safe_not_equal,
|
|
21910
21913
|
{
|
|
21911
21914
|
inDelay: 0,
|
|
@@ -21913,98 +21916,295 @@ class Polyline extends SvelteComponent {
|
|
|
21913
21916
|
outDelay: 2,
|
|
21914
21917
|
unfolded: 3
|
|
21915
21918
|
},
|
|
21916
|
-
add_css$
|
|
21919
|
+
add_css$f
|
|
21917
21920
|
);
|
|
21918
21921
|
}
|
|
21919
21922
|
}
|
|
21920
21923
|
|
|
21924
|
+
/* src/PanoTagPlugin/Components/Common/MediaItem.svelte generated by Svelte v3.50.1 */
|
|
21925
|
+
|
|
21926
|
+
function add_css$e(target) {
|
|
21927
|
+
append_styles(target, "svelte-6jwk1w", ".media-item.svelte-6jwk1w{height:100%}.media-content.svelte-6jwk1w{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-6jwk1w{width:1.75rem;height:1.75rem;background-size:100%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}");
|
|
21928
|
+
}
|
|
21929
|
+
|
|
21930
|
+
// (6:0) {#if media}
|
|
21931
|
+
function create_if_block$b(ctx) {
|
|
21932
|
+
let div;
|
|
21933
|
+
let div_style_value;
|
|
21934
|
+
|
|
21935
|
+
function select_block_type(ctx, dirty) {
|
|
21936
|
+
if (/*media*/ ctx[0].type === 'Image') return create_if_block_1$7;
|
|
21937
|
+
if (/*media*/ ctx[0].type === 'Video') return create_if_block_2$3;
|
|
21938
|
+
}
|
|
21939
|
+
|
|
21940
|
+
let current_block_type = select_block_type(ctx);
|
|
21941
|
+
let if_block = current_block_type && current_block_type(ctx);
|
|
21942
|
+
|
|
21943
|
+
return {
|
|
21944
|
+
c() {
|
|
21945
|
+
div = element("div");
|
|
21946
|
+
if (if_block) if_block.c();
|
|
21947
|
+
attr(div, "class", "media-item svelte-6jwk1w");
|
|
21948
|
+
attr(div, "style", div_style_value = `object-fit: ${/*objectFit*/ ctx[1]};`);
|
|
21949
|
+
},
|
|
21950
|
+
m(target, anchor) {
|
|
21951
|
+
insert(target, div, anchor);
|
|
21952
|
+
if (if_block) if_block.m(div, null);
|
|
21953
|
+
},
|
|
21954
|
+
p(ctx, dirty) {
|
|
21955
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
21956
|
+
if_block.p(ctx, dirty);
|
|
21957
|
+
} else {
|
|
21958
|
+
if (if_block) if_block.d(1);
|
|
21959
|
+
if_block = current_block_type && current_block_type(ctx);
|
|
21960
|
+
|
|
21961
|
+
if (if_block) {
|
|
21962
|
+
if_block.c();
|
|
21963
|
+
if_block.m(div, null);
|
|
21964
|
+
}
|
|
21965
|
+
}
|
|
21966
|
+
|
|
21967
|
+
if (dirty & /*objectFit*/ 2 && div_style_value !== (div_style_value = `object-fit: ${/*objectFit*/ ctx[1]};`)) {
|
|
21968
|
+
attr(div, "style", div_style_value);
|
|
21969
|
+
}
|
|
21970
|
+
},
|
|
21971
|
+
d(detaching) {
|
|
21972
|
+
if (detaching) detach(div);
|
|
21973
|
+
|
|
21974
|
+
if (if_block) {
|
|
21975
|
+
if_block.d();
|
|
21976
|
+
}
|
|
21977
|
+
}
|
|
21978
|
+
};
|
|
21979
|
+
}
|
|
21980
|
+
|
|
21981
|
+
// (10:37)
|
|
21982
|
+
function create_if_block_2$3(ctx) {
|
|
21983
|
+
let video;
|
|
21984
|
+
let video_src_value;
|
|
21985
|
+
let video_poster_value;
|
|
21986
|
+
let video_preload_value;
|
|
21987
|
+
let t;
|
|
21988
|
+
let div;
|
|
21989
|
+
|
|
21990
|
+
return {
|
|
21991
|
+
c() {
|
|
21992
|
+
video = element("video");
|
|
21993
|
+
t = space();
|
|
21994
|
+
div = element("div");
|
|
21995
|
+
attr(video, "class", "media-content svelte-6jwk1w");
|
|
21996
|
+
if (!src_url_equal(video.src, video_src_value = /*media*/ ctx[0].url)) attr(video, "src", video_src_value);
|
|
21997
|
+
attr(video, "poster", video_poster_value = /*media*/ ctx[0].videoCoverUrl ?? undefined);
|
|
21998
|
+
attr(video, "preload", video_preload_value = /*media*/ ctx[0].videoCoverUrl ? undefined : 'auto');
|
|
21999
|
+
video.playsInline = true;
|
|
22000
|
+
attr(video, "paused", "");
|
|
22001
|
+
video.loop = false;
|
|
22002
|
+
attr(video, "crossorigin", "");
|
|
22003
|
+
video.controls = false;
|
|
22004
|
+
video.muted = true;
|
|
22005
|
+
attr(div, "class", "video-icon svelte-6jwk1w");
|
|
22006
|
+
set_style(div, "background-image", "url(" + Image_Play + ")");
|
|
22007
|
+
},
|
|
22008
|
+
m(target, anchor) {
|
|
22009
|
+
insert(target, video, anchor);
|
|
22010
|
+
insert(target, t, anchor);
|
|
22011
|
+
insert(target, div, anchor);
|
|
22012
|
+
},
|
|
22013
|
+
p(ctx, dirty) {
|
|
22014
|
+
if (dirty & /*media*/ 1 && !src_url_equal(video.src, video_src_value = /*media*/ ctx[0].url)) {
|
|
22015
|
+
attr(video, "src", video_src_value);
|
|
22016
|
+
}
|
|
22017
|
+
|
|
22018
|
+
if (dirty & /*media*/ 1 && video_poster_value !== (video_poster_value = /*media*/ ctx[0].videoCoverUrl ?? undefined)) {
|
|
22019
|
+
attr(video, "poster", video_poster_value);
|
|
22020
|
+
}
|
|
22021
|
+
|
|
22022
|
+
if (dirty & /*media*/ 1 && video_preload_value !== (video_preload_value = /*media*/ ctx[0].videoCoverUrl ? undefined : 'auto')) {
|
|
22023
|
+
attr(video, "preload", video_preload_value);
|
|
22024
|
+
}
|
|
22025
|
+
},
|
|
22026
|
+
d(detaching) {
|
|
22027
|
+
if (detaching) detach(video);
|
|
22028
|
+
if (detaching) detach(t);
|
|
22029
|
+
if (detaching) detach(div);
|
|
22030
|
+
}
|
|
22031
|
+
};
|
|
22032
|
+
}
|
|
22033
|
+
|
|
22034
|
+
// (8:4) {#if media.type === 'Image'}
|
|
22035
|
+
function create_if_block_1$7(ctx) {
|
|
22036
|
+
let img;
|
|
22037
|
+
let img_src_value;
|
|
22038
|
+
let img_alt_value;
|
|
22039
|
+
|
|
22040
|
+
return {
|
|
22041
|
+
c() {
|
|
22042
|
+
img = element("img");
|
|
22043
|
+
attr(img, "class", "media-content svelte-6jwk1w");
|
|
22044
|
+
if (!src_url_equal(img.src, img_src_value = /*media*/ ctx[0].url)) attr(img, "src", img_src_value);
|
|
22045
|
+
attr(img, "alt", img_alt_value = /*media*/ ctx[0].name);
|
|
22046
|
+
},
|
|
22047
|
+
m(target, anchor) {
|
|
22048
|
+
insert(target, img, anchor);
|
|
22049
|
+
},
|
|
22050
|
+
p(ctx, dirty) {
|
|
22051
|
+
if (dirty & /*media*/ 1 && !src_url_equal(img.src, img_src_value = /*media*/ ctx[0].url)) {
|
|
22052
|
+
attr(img, "src", img_src_value);
|
|
22053
|
+
}
|
|
22054
|
+
|
|
22055
|
+
if (dirty & /*media*/ 1 && img_alt_value !== (img_alt_value = /*media*/ ctx[0].name)) {
|
|
22056
|
+
attr(img, "alt", img_alt_value);
|
|
22057
|
+
}
|
|
22058
|
+
},
|
|
22059
|
+
d(detaching) {
|
|
22060
|
+
if (detaching) detach(img);
|
|
22061
|
+
}
|
|
22062
|
+
};
|
|
22063
|
+
}
|
|
22064
|
+
|
|
22065
|
+
function create_fragment$e(ctx) {
|
|
22066
|
+
let if_block_anchor;
|
|
22067
|
+
let if_block = /*media*/ ctx[0] && create_if_block$b(ctx);
|
|
22068
|
+
|
|
22069
|
+
return {
|
|
22070
|
+
c() {
|
|
22071
|
+
if (if_block) if_block.c();
|
|
22072
|
+
if_block_anchor = empty();
|
|
22073
|
+
},
|
|
22074
|
+
m(target, anchor) {
|
|
22075
|
+
if (if_block) if_block.m(target, anchor);
|
|
22076
|
+
insert(target, if_block_anchor, anchor);
|
|
22077
|
+
},
|
|
22078
|
+
p(ctx, [dirty]) {
|
|
22079
|
+
if (/*media*/ ctx[0]) {
|
|
22080
|
+
if (if_block) {
|
|
22081
|
+
if_block.p(ctx, dirty);
|
|
22082
|
+
} else {
|
|
22083
|
+
if_block = create_if_block$b(ctx);
|
|
22084
|
+
if_block.c();
|
|
22085
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
22086
|
+
}
|
|
22087
|
+
} else if (if_block) {
|
|
22088
|
+
if_block.d(1);
|
|
22089
|
+
if_block = null;
|
|
22090
|
+
}
|
|
22091
|
+
},
|
|
22092
|
+
i: noop$1,
|
|
22093
|
+
o: noop$1,
|
|
22094
|
+
d(detaching) {
|
|
22095
|
+
if (if_block) if_block.d(detaching);
|
|
22096
|
+
if (detaching) detach(if_block_anchor);
|
|
22097
|
+
}
|
|
22098
|
+
};
|
|
22099
|
+
}
|
|
22100
|
+
|
|
22101
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
22102
|
+
let { media } = $$props;
|
|
22103
|
+
let { objectFit = 'cover' } = $$props;
|
|
22104
|
+
|
|
22105
|
+
$$self.$$set = $$props => {
|
|
22106
|
+
if ('media' in $$props) $$invalidate(0, media = $$props.media);
|
|
22107
|
+
if ('objectFit' in $$props) $$invalidate(1, objectFit = $$props.objectFit);
|
|
22108
|
+
};
|
|
22109
|
+
|
|
22110
|
+
return [media, objectFit];
|
|
22111
|
+
}
|
|
22112
|
+
|
|
22113
|
+
class MediaItem extends SvelteComponent {
|
|
22114
|
+
constructor(options) {
|
|
22115
|
+
super();
|
|
22116
|
+
init(this, options, instance$e, create_fragment$e, safe_not_equal, { media: 0, objectFit: 1 }, add_css$e);
|
|
22117
|
+
}
|
|
22118
|
+
}
|
|
22119
|
+
|
|
21921
22120
|
/* src/PanoTagPlugin/Components/Common/Media.svelte generated by Svelte v3.50.1 */
|
|
21922
22121
|
|
|
21923
22122
|
function add_css$d(target) {
|
|
21924
|
-
append_styles(target, "svelte-
|
|
22123
|
+
append_styles(target, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
|
|
21925
22124
|
}
|
|
21926
22125
|
|
|
21927
22126
|
function get_each_context$3(ctx, list, i) {
|
|
21928
22127
|
const child_ctx = ctx.slice();
|
|
21929
|
-
child_ctx[
|
|
22128
|
+
child_ctx[14] = list[i];
|
|
21930
22129
|
return child_ctx;
|
|
21931
22130
|
}
|
|
21932
22131
|
|
|
21933
|
-
// (
|
|
22132
|
+
// (24:0) {#if unfolded}
|
|
21934
22133
|
function create_if_block$a(ctx) {
|
|
21935
22134
|
let div;
|
|
22135
|
+
let current_block_type_index;
|
|
22136
|
+
let if_block;
|
|
21936
22137
|
let div_intro;
|
|
21937
22138
|
let div_outro;
|
|
21938
22139
|
let current;
|
|
21939
|
-
|
|
21940
|
-
|
|
22140
|
+
const if_block_creators = [create_if_block_1$6, create_else_block$1];
|
|
22141
|
+
const if_blocks = [];
|
|
21941
22142
|
|
|
21942
|
-
|
|
21943
|
-
|
|
22143
|
+
function select_block_type(ctx, dirty) {
|
|
22144
|
+
if (/*carouselEnabled*/ ctx[11]) return 0;
|
|
22145
|
+
return 1;
|
|
21944
22146
|
}
|
|
21945
22147
|
|
|
22148
|
+
current_block_type_index = select_block_type(ctx);
|
|
22149
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
22150
|
+
|
|
21946
22151
|
return {
|
|
21947
22152
|
c() {
|
|
21948
22153
|
div = element("div");
|
|
21949
|
-
|
|
21950
|
-
|
|
21951
|
-
|
|
21952
|
-
}
|
|
21953
|
-
|
|
21954
|
-
attr(div, "class", "media svelte-129jnm");
|
|
21955
|
-
toggle_class(div, "unfolded", /*unfolded*/ ctx[3]);
|
|
22154
|
+
if_block.c();
|
|
22155
|
+
attr(div, "class", "media svelte-ai0lv9");
|
|
22156
|
+
toggle_class(div, "unfolded", /*unfolded*/ ctx[4]);
|
|
21956
22157
|
},
|
|
21957
22158
|
m(target, anchor) {
|
|
21958
22159
|
insert(target, div, anchor);
|
|
21959
|
-
|
|
21960
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
21961
|
-
each_blocks[i].m(div, null);
|
|
21962
|
-
}
|
|
21963
|
-
|
|
22160
|
+
if_blocks[current_block_type_index].m(div, null);
|
|
21964
22161
|
current = true;
|
|
21965
22162
|
},
|
|
21966
22163
|
p(new_ctx, dirty) {
|
|
21967
22164
|
ctx = new_ctx;
|
|
22165
|
+
let previous_block_index = current_block_type_index;
|
|
22166
|
+
current_block_type_index = select_block_type(ctx);
|
|
21968
22167
|
|
|
21969
|
-
if (
|
|
21970
|
-
|
|
21971
|
-
|
|
22168
|
+
if (current_block_type_index === previous_block_index) {
|
|
22169
|
+
if_blocks[current_block_type_index].p(ctx, dirty);
|
|
22170
|
+
} else {
|
|
22171
|
+
group_outros();
|
|
21972
22172
|
|
|
21973
|
-
|
|
21974
|
-
|
|
22173
|
+
transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
|
22174
|
+
if_blocks[previous_block_index] = null;
|
|
22175
|
+
});
|
|
21975
22176
|
|
|
21976
|
-
|
|
21977
|
-
|
|
21978
|
-
} else {
|
|
21979
|
-
each_blocks[i] = create_each_block$3(child_ctx);
|
|
21980
|
-
each_blocks[i].c();
|
|
21981
|
-
each_blocks[i].m(div, null);
|
|
21982
|
-
}
|
|
21983
|
-
}
|
|
22177
|
+
check_outros();
|
|
22178
|
+
if_block = if_blocks[current_block_type_index];
|
|
21984
22179
|
|
|
21985
|
-
|
|
21986
|
-
|
|
22180
|
+
if (!if_block) {
|
|
22181
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
22182
|
+
if_block.c();
|
|
22183
|
+
} else {
|
|
22184
|
+
if_block.p(ctx, dirty);
|
|
21987
22185
|
}
|
|
21988
22186
|
|
|
21989
|
-
|
|
22187
|
+
transition_in(if_block, 1);
|
|
22188
|
+
if_block.m(div, null);
|
|
21990
22189
|
}
|
|
21991
22190
|
|
|
21992
|
-
if (!current || dirty & /*unfolded*/
|
|
21993
|
-
toggle_class(div, "unfolded", /*unfolded*/ ctx[
|
|
22191
|
+
if (!current || dirty & /*unfolded*/ 16) {
|
|
22192
|
+
toggle_class(div, "unfolded", /*unfolded*/ ctx[4]);
|
|
21994
22193
|
}
|
|
21995
22194
|
},
|
|
21996
22195
|
i(local) {
|
|
21997
22196
|
if (current) return;
|
|
22197
|
+
transition_in(if_block);
|
|
21998
22198
|
|
|
21999
22199
|
if (local) {
|
|
22000
22200
|
add_render_callback(() => {
|
|
22001
22201
|
if (div_outro) div_outro.end(1);
|
|
22002
22202
|
|
|
22003
|
-
div_intro = create_in_transition(div, fly, /*animation*/ ctx[
|
|
22203
|
+
div_intro = create_in_transition(div, fly, /*animation*/ ctx[5]
|
|
22004
22204
|
? {
|
|
22005
22205
|
y: 4,
|
|
22006
|
-
duration: /*duration*/ ctx[
|
|
22007
|
-
delay: /*inDelay*/ ctx[
|
|
22206
|
+
duration: /*duration*/ ctx[3],
|
|
22207
|
+
delay: /*inDelay*/ ctx[1],
|
|
22008
22208
|
easing: linear
|
|
22009
22209
|
}
|
|
22010
22210
|
: undefined);
|
|
@@ -22016,14 +22216,15 @@ function create_if_block$a(ctx) {
|
|
|
22016
22216
|
current = true;
|
|
22017
22217
|
},
|
|
22018
22218
|
o(local) {
|
|
22219
|
+
transition_out(if_block);
|
|
22019
22220
|
if (div_intro) div_intro.invalidate();
|
|
22020
22221
|
|
|
22021
22222
|
if (local) {
|
|
22022
|
-
div_outro = create_out_transition(div, fly, /*animation*/ ctx[
|
|
22223
|
+
div_outro = create_out_transition(div, fly, /*animation*/ ctx[5]
|
|
22023
22224
|
? {
|
|
22024
22225
|
y: 4,
|
|
22025
|
-
duration: /*duration*/ ctx[
|
|
22026
|
-
delay: /*outDelay*/ ctx[
|
|
22226
|
+
duration: /*duration*/ ctx[3],
|
|
22227
|
+
delay: /*outDelay*/ ctx[2],
|
|
22027
22228
|
easing: linear
|
|
22028
22229
|
}
|
|
22029
22230
|
: undefined);
|
|
@@ -22033,211 +22234,295 @@ function create_if_block$a(ctx) {
|
|
|
22033
22234
|
},
|
|
22034
22235
|
d(detaching) {
|
|
22035
22236
|
if (detaching) detach(div);
|
|
22036
|
-
|
|
22237
|
+
if_blocks[current_block_type_index].d();
|
|
22037
22238
|
if (detaching && div_outro) div_outro.end();
|
|
22038
22239
|
}
|
|
22039
22240
|
};
|
|
22040
22241
|
}
|
|
22041
22242
|
|
|
22042
|
-
// (
|
|
22043
|
-
function
|
|
22044
|
-
let
|
|
22045
|
-
let
|
|
22046
|
-
|
|
22243
|
+
// (80:4) {:else}
|
|
22244
|
+
function create_else_block$1(ctx) {
|
|
22245
|
+
let mediaitem;
|
|
22246
|
+
let current;
|
|
22247
|
+
|
|
22248
|
+
mediaitem = new MediaItem({
|
|
22249
|
+
props: {
|
|
22250
|
+
media: /*mediaData*/ ctx[0][0],
|
|
22251
|
+
objectFit: /*objectFit*/ ctx[6]
|
|
22252
|
+
}
|
|
22253
|
+
});
|
|
22047
22254
|
|
|
22048
22255
|
return {
|
|
22049
22256
|
c() {
|
|
22050
|
-
|
|
22051
|
-
attr(video, "class", "media-content svelte-129jnm");
|
|
22052
|
-
if (!src_url_equal(video.src, video_src_value = /*media*/ ctx[9].url)) attr(video, "src", video_src_value);
|
|
22053
|
-
attr(video, "poster", video_poster_value = /*media*/ ctx[9].videoCoverUrl);
|
|
22054
|
-
video.playsInline = true;
|
|
22055
|
-
attr(video, "paused", "");
|
|
22056
|
-
video.loop = false;
|
|
22057
|
-
attr(video, "preload", "auto");
|
|
22058
|
-
attr(video, "crossorigin", "");
|
|
22059
|
-
video.controls = false;
|
|
22060
|
-
video.muted = true;
|
|
22257
|
+
create_component(mediaitem.$$.fragment);
|
|
22061
22258
|
},
|
|
22062
22259
|
m(target, anchor) {
|
|
22063
|
-
|
|
22260
|
+
mount_component(mediaitem, target, anchor);
|
|
22261
|
+
current = true;
|
|
22064
22262
|
},
|
|
22065
22263
|
p(ctx, dirty) {
|
|
22066
|
-
|
|
22067
|
-
|
|
22068
|
-
|
|
22069
|
-
|
|
22070
|
-
|
|
22071
|
-
|
|
22072
|
-
|
|
22264
|
+
const mediaitem_changes = {};
|
|
22265
|
+
if (dirty & /*mediaData*/ 1) mediaitem_changes.media = /*mediaData*/ ctx[0][0];
|
|
22266
|
+
if (dirty & /*objectFit*/ 64) mediaitem_changes.objectFit = /*objectFit*/ ctx[6];
|
|
22267
|
+
mediaitem.$set(mediaitem_changes);
|
|
22268
|
+
},
|
|
22269
|
+
i(local) {
|
|
22270
|
+
if (current) return;
|
|
22271
|
+
transition_in(mediaitem.$$.fragment, local);
|
|
22272
|
+
current = true;
|
|
22273
|
+
},
|
|
22274
|
+
o(local) {
|
|
22275
|
+
transition_out(mediaitem.$$.fragment, local);
|
|
22276
|
+
current = false;
|
|
22073
22277
|
},
|
|
22074
22278
|
d(detaching) {
|
|
22075
|
-
|
|
22279
|
+
destroy_component(mediaitem, detaching);
|
|
22076
22280
|
}
|
|
22077
22281
|
};
|
|
22078
22282
|
}
|
|
22079
22283
|
|
|
22080
|
-
// (
|
|
22081
|
-
function
|
|
22082
|
-
let
|
|
22083
|
-
let
|
|
22084
|
-
|
|
22284
|
+
// (31:4) {#if carouselEnabled}
|
|
22285
|
+
function create_if_block_1$6(ctx) {
|
|
22286
|
+
let swiper;
|
|
22287
|
+
let current;
|
|
22288
|
+
|
|
22289
|
+
swiper = new Swiper({
|
|
22290
|
+
props: {
|
|
22291
|
+
style: "height: 100%",
|
|
22292
|
+
modules: [Autoplay],
|
|
22293
|
+
spaceBetween: 30,
|
|
22294
|
+
autoplay: /*autoplay*/ ctx[10]
|
|
22295
|
+
? noTypecheck({
|
|
22296
|
+
delay: 2000,
|
|
22297
|
+
stopOnLastSlide: false,
|
|
22298
|
+
disableOnInteraction: false
|
|
22299
|
+
})
|
|
22300
|
+
: false,
|
|
22301
|
+
loop: true,
|
|
22302
|
+
$$slots: { default: [create_default_slot] },
|
|
22303
|
+
$$scope: { ctx }
|
|
22304
|
+
}
|
|
22305
|
+
});
|
|
22306
|
+
|
|
22307
|
+
swiper.$on("slideChange", /*slideChange_handler*/ ctx[13]);
|
|
22085
22308
|
|
|
22086
22309
|
return {
|
|
22087
22310
|
c() {
|
|
22088
|
-
|
|
22089
|
-
attr(img, "class", "media-content svelte-129jnm");
|
|
22090
|
-
if (!src_url_equal(img.src, img_src_value = /*media*/ ctx[9].videoCoverUrl)) attr(img, "src", img_src_value);
|
|
22091
|
-
attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
|
|
22311
|
+
create_component(swiper.$$.fragment);
|
|
22092
22312
|
},
|
|
22093
22313
|
m(target, anchor) {
|
|
22094
|
-
|
|
22314
|
+
mount_component(swiper, target, anchor);
|
|
22315
|
+
current = true;
|
|
22095
22316
|
},
|
|
22096
22317
|
p(ctx, dirty) {
|
|
22097
|
-
|
|
22098
|
-
|
|
22099
|
-
|
|
22318
|
+
const swiper_changes = {};
|
|
22319
|
+
|
|
22320
|
+
if (dirty & /*autoplay*/ 1024) swiper_changes.autoplay = /*autoplay*/ ctx[10]
|
|
22321
|
+
? noTypecheck({
|
|
22322
|
+
delay: 2000,
|
|
22323
|
+
stopOnLastSlide: false,
|
|
22324
|
+
disableOnInteraction: false
|
|
22325
|
+
})
|
|
22326
|
+
: false;
|
|
22100
22327
|
|
|
22101
|
-
if (dirty &
|
|
22102
|
-
|
|
22328
|
+
if (dirty & /*$$scope, mediaDataList, objectFit*/ 131392) {
|
|
22329
|
+
swiper_changes.$$scope = { dirty, ctx };
|
|
22103
22330
|
}
|
|
22331
|
+
|
|
22332
|
+
swiper.$set(swiper_changes);
|
|
22333
|
+
},
|
|
22334
|
+
i(local) {
|
|
22335
|
+
if (current) return;
|
|
22336
|
+
transition_in(swiper.$$.fragment, local);
|
|
22337
|
+
current = true;
|
|
22338
|
+
},
|
|
22339
|
+
o(local) {
|
|
22340
|
+
transition_out(swiper.$$.fragment, local);
|
|
22341
|
+
current = false;
|
|
22104
22342
|
},
|
|
22105
22343
|
d(detaching) {
|
|
22106
|
-
|
|
22344
|
+
destroy_component(swiper, detaching);
|
|
22107
22345
|
}
|
|
22108
22346
|
};
|
|
22109
22347
|
}
|
|
22110
22348
|
|
|
22111
|
-
// (
|
|
22112
|
-
function
|
|
22113
|
-
let
|
|
22114
|
-
let
|
|
22115
|
-
let
|
|
22349
|
+
// (75:10) <SwiperSlide>
|
|
22350
|
+
function create_default_slot_1(ctx) {
|
|
22351
|
+
let mediaitem;
|
|
22352
|
+
let t;
|
|
22353
|
+
let current;
|
|
22354
|
+
|
|
22355
|
+
mediaitem = new MediaItem({
|
|
22356
|
+
props: {
|
|
22357
|
+
media: /*media*/ ctx[14],
|
|
22358
|
+
objectFit: /*objectFit*/ ctx[6]
|
|
22359
|
+
}
|
|
22360
|
+
});
|
|
22116
22361
|
|
|
22117
22362
|
return {
|
|
22118
22363
|
c() {
|
|
22119
|
-
|
|
22120
|
-
|
|
22121
|
-
if (!src_url_equal(img.src, img_src_value = /*media*/ ctx[9].url)) attr(img, "src", img_src_value);
|
|
22122
|
-
attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
|
|
22364
|
+
create_component(mediaitem.$$.fragment);
|
|
22365
|
+
t = space();
|
|
22123
22366
|
},
|
|
22124
22367
|
m(target, anchor) {
|
|
22125
|
-
|
|
22368
|
+
mount_component(mediaitem, target, anchor);
|
|
22369
|
+
insert(target, t, anchor);
|
|
22370
|
+
current = true;
|
|
22126
22371
|
},
|
|
22127
22372
|
p(ctx, dirty) {
|
|
22128
|
-
|
|
22129
|
-
|
|
22130
|
-
|
|
22131
|
-
|
|
22132
|
-
|
|
22133
|
-
|
|
22134
|
-
|
|
22373
|
+
const mediaitem_changes = {};
|
|
22374
|
+
if (dirty & /*mediaDataList*/ 256) mediaitem_changes.media = /*media*/ ctx[14];
|
|
22375
|
+
if (dirty & /*objectFit*/ 64) mediaitem_changes.objectFit = /*objectFit*/ ctx[6];
|
|
22376
|
+
mediaitem.$set(mediaitem_changes);
|
|
22377
|
+
},
|
|
22378
|
+
i(local) {
|
|
22379
|
+
if (current) return;
|
|
22380
|
+
transition_in(mediaitem.$$.fragment, local);
|
|
22381
|
+
current = true;
|
|
22382
|
+
},
|
|
22383
|
+
o(local) {
|
|
22384
|
+
transition_out(mediaitem.$$.fragment, local);
|
|
22385
|
+
current = false;
|
|
22135
22386
|
},
|
|
22136
22387
|
d(detaching) {
|
|
22137
|
-
|
|
22388
|
+
destroy_component(mediaitem, detaching);
|
|
22389
|
+
if (detaching) detach(t);
|
|
22138
22390
|
}
|
|
22139
22391
|
};
|
|
22140
22392
|
}
|
|
22141
22393
|
|
|
22142
|
-
// (
|
|
22143
|
-
function
|
|
22144
|
-
let
|
|
22394
|
+
// (74:8) {#each mediaDataList as media}
|
|
22395
|
+
function create_each_block$3(ctx) {
|
|
22396
|
+
let swiperslide;
|
|
22397
|
+
let current;
|
|
22398
|
+
|
|
22399
|
+
swiperslide = new SwiperSlide({
|
|
22400
|
+
props: {
|
|
22401
|
+
$$slots: { default: [create_default_slot_1] },
|
|
22402
|
+
$$scope: { ctx }
|
|
22403
|
+
}
|
|
22404
|
+
});
|
|
22145
22405
|
|
|
22146
22406
|
return {
|
|
22147
22407
|
c() {
|
|
22148
|
-
|
|
22149
|
-
attr(div, "class", "video-icon svelte-129jnm");
|
|
22150
|
-
set_style(div, "background-image", "url(" + Image_Play + ")");
|
|
22408
|
+
create_component(swiperslide.$$.fragment);
|
|
22151
22409
|
},
|
|
22152
22410
|
m(target, anchor) {
|
|
22153
|
-
|
|
22411
|
+
mount_component(swiperslide, target, anchor);
|
|
22412
|
+
current = true;
|
|
22413
|
+
},
|
|
22414
|
+
p(ctx, dirty) {
|
|
22415
|
+
const swiperslide_changes = {};
|
|
22416
|
+
|
|
22417
|
+
if (dirty & /*$$scope, mediaDataList, objectFit*/ 131392) {
|
|
22418
|
+
swiperslide_changes.$$scope = { dirty, ctx };
|
|
22419
|
+
}
|
|
22420
|
+
|
|
22421
|
+
swiperslide.$set(swiperslide_changes);
|
|
22422
|
+
},
|
|
22423
|
+
i(local) {
|
|
22424
|
+
if (current) return;
|
|
22425
|
+
transition_in(swiperslide.$$.fragment, local);
|
|
22426
|
+
current = true;
|
|
22427
|
+
},
|
|
22428
|
+
o(local) {
|
|
22429
|
+
transition_out(swiperslide.$$.fragment, local);
|
|
22430
|
+
current = false;
|
|
22154
22431
|
},
|
|
22155
|
-
p: noop$1,
|
|
22156
22432
|
d(detaching) {
|
|
22157
|
-
|
|
22433
|
+
destroy_component(swiperslide, detaching);
|
|
22158
22434
|
}
|
|
22159
22435
|
};
|
|
22160
22436
|
}
|
|
22161
22437
|
|
|
22162
|
-
// (
|
|
22163
|
-
function
|
|
22164
|
-
let
|
|
22165
|
-
let
|
|
22166
|
-
let
|
|
22167
|
-
let
|
|
22438
|
+
// (32:6) <Swiper style="height: 100%" modules={[Autoplay]} spaceBetween={30} autoplay={autoplay ? noTypecheck({ delay: 2000, stopOnLastSlide: false, disableOnInteraction: false }) : false} loop on:slideChange={async (event) => { if (!autoplay) return if (!autoplayConfig.autoplayVideo) return const swiper = event.detail[0] if (!swiper) return const index = swiper.realIndex // loop 完一圈后,swiper.realIndex 会重复一次,比如有三张图片 [0,1,2],slideChange 触发后输出的 index 为 [0,1,2,0,0,1,2,0,0,1,2,0], 添加 lastAutoPlayIndex 判断后,输出为[0,1,2,0,1,2,0,1,2,0] if (index === lastAutoPlayIndex) return lastAutoPlayIndex = index const media = mediaDataList[index] if (!media) return if (media.type !== 'Video') return // 先暂停自动轮播 swiper.autoplay.stop() // 播放视频 await new Promise((resolve) => { const video = swiper.slides[swiper.activeIndex]?.querySelector('video') if (!video) { resolve(noTypecheck(null)) return } video.play() video.onerror = () => resolve(noTypecheck(null)) video.onended = () => resolve(noTypecheck(null)) video.onclick = () => { video.pause() resolve(noTypecheck(null)) } }) // 恢复自动轮播 swiper.autoplay.start() }} >
|
|
22439
|
+
function create_default_slot(ctx) {
|
|
22440
|
+
let each_1_anchor;
|
|
22441
|
+
let current;
|
|
22442
|
+
let each_value = /*mediaDataList*/ ctx[8];
|
|
22443
|
+
let each_blocks = [];
|
|
22168
22444
|
|
|
22169
|
-
|
|
22170
|
-
|
|
22171
|
-
if (/*media*/ ctx[9].type === 'Video' && /*media*/ ctx[9].videoCoverUrl) return create_if_block_3$2;
|
|
22172
|
-
if (/*media*/ ctx[9].type === 'Video' && !/*media*/ ctx[9].videoCoverUrl) return create_if_block_4$2;
|
|
22445
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
22446
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
|
22173
22447
|
}
|
|
22174
22448
|
|
|
22175
|
-
|
|
22176
|
-
|
|
22177
|
-
|
|
22449
|
+
const out = i => transition_out(each_blocks[i], 1, 1, () => {
|
|
22450
|
+
each_blocks[i] = null;
|
|
22451
|
+
});
|
|
22178
22452
|
|
|
22179
22453
|
return {
|
|
22180
22454
|
c() {
|
|
22181
|
-
|
|
22182
|
-
|
|
22183
|
-
|
|
22184
|
-
|
|
22185
|
-
|
|
22186
|
-
attr(div, "class", "carousel-item svelte-129jnm");
|
|
22187
|
-
attr(div, "style", div_style_value = `object-fit: ${/*objectFit*/ ctx[5]};`);
|
|
22455
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
22456
|
+
each_blocks[i].c();
|
|
22457
|
+
}
|
|
22458
|
+
|
|
22459
|
+
each_1_anchor = empty();
|
|
22188
22460
|
},
|
|
22189
22461
|
m(target, anchor) {
|
|
22190
|
-
|
|
22191
|
-
|
|
22192
|
-
|
|
22193
|
-
|
|
22194
|
-
|
|
22462
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
22463
|
+
each_blocks[i].m(target, anchor);
|
|
22464
|
+
}
|
|
22465
|
+
|
|
22466
|
+
insert(target, each_1_anchor, anchor);
|
|
22467
|
+
current = true;
|
|
22195
22468
|
},
|
|
22196
22469
|
p(ctx, dirty) {
|
|
22197
|
-
if (
|
|
22198
|
-
|
|
22199
|
-
|
|
22200
|
-
if (if_block0) if_block0.d(1);
|
|
22201
|
-
if_block0 = current_block_type && current_block_type(ctx);
|
|
22470
|
+
if (dirty & /*mediaDataList, objectFit*/ 320) {
|
|
22471
|
+
each_value = /*mediaDataList*/ ctx[8];
|
|
22472
|
+
let i;
|
|
22202
22473
|
|
|
22203
|
-
|
|
22204
|
-
|
|
22205
|
-
|
|
22474
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
22475
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
|
22476
|
+
|
|
22477
|
+
if (each_blocks[i]) {
|
|
22478
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
22479
|
+
transition_in(each_blocks[i], 1);
|
|
22480
|
+
} else {
|
|
22481
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
|
22482
|
+
each_blocks[i].c();
|
|
22483
|
+
transition_in(each_blocks[i], 1);
|
|
22484
|
+
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
|
22485
|
+
}
|
|
22206
22486
|
}
|
|
22207
|
-
}
|
|
22208
22487
|
|
|
22209
|
-
|
|
22210
|
-
|
|
22211
|
-
|
|
22212
|
-
|
|
22213
|
-
if_block1 = create_if_block_1$6();
|
|
22214
|
-
if_block1.c();
|
|
22215
|
-
if_block1.m(div, t1);
|
|
22488
|
+
group_outros();
|
|
22489
|
+
|
|
22490
|
+
for (i = each_value.length; i < each_blocks.length; i += 1) {
|
|
22491
|
+
out(i);
|
|
22216
22492
|
}
|
|
22217
|
-
|
|
22218
|
-
|
|
22219
|
-
if_block1 = null;
|
|
22493
|
+
|
|
22494
|
+
check_outros();
|
|
22220
22495
|
}
|
|
22496
|
+
},
|
|
22497
|
+
i(local) {
|
|
22498
|
+
if (current) return;
|
|
22221
22499
|
|
|
22222
|
-
|
|
22223
|
-
|
|
22500
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
22501
|
+
transition_in(each_blocks[i]);
|
|
22224
22502
|
}
|
|
22503
|
+
|
|
22504
|
+
current = true;
|
|
22225
22505
|
},
|
|
22226
|
-
|
|
22227
|
-
|
|
22506
|
+
o(local) {
|
|
22507
|
+
each_blocks = each_blocks.filter(Boolean);
|
|
22228
22508
|
|
|
22229
|
-
|
|
22230
|
-
|
|
22509
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
22510
|
+
transition_out(each_blocks[i]);
|
|
22231
22511
|
}
|
|
22232
22512
|
|
|
22233
|
-
|
|
22513
|
+
current = false;
|
|
22514
|
+
},
|
|
22515
|
+
d(detaching) {
|
|
22516
|
+
destroy_each(each_blocks, detaching);
|
|
22517
|
+
if (detaching) detach(each_1_anchor);
|
|
22234
22518
|
}
|
|
22235
22519
|
};
|
|
22236
22520
|
}
|
|
22237
22521
|
|
|
22238
22522
|
function create_fragment$d(ctx) {
|
|
22239
22523
|
let if_block_anchor;
|
|
22240
|
-
let
|
|
22524
|
+
let current;
|
|
22525
|
+
let if_block = /*unfolded*/ ctx[4] && create_if_block$a(ctx);
|
|
22241
22526
|
|
|
22242
22527
|
return {
|
|
22243
22528
|
c() {
|
|
@@ -22247,13 +22532,14 @@ function create_fragment$d(ctx) {
|
|
|
22247
22532
|
m(target, anchor) {
|
|
22248
22533
|
if (if_block) if_block.m(target, anchor);
|
|
22249
22534
|
insert(target, if_block_anchor, anchor);
|
|
22535
|
+
current = true;
|
|
22250
22536
|
},
|
|
22251
22537
|
p(ctx, [dirty]) {
|
|
22252
|
-
if (/*unfolded*/ ctx[
|
|
22538
|
+
if (/*unfolded*/ ctx[4]) {
|
|
22253
22539
|
if (if_block) {
|
|
22254
22540
|
if_block.p(ctx, dirty);
|
|
22255
22541
|
|
|
22256
|
-
if (dirty & /*unfolded*/
|
|
22542
|
+
if (dirty & /*unfolded*/ 16) {
|
|
22257
22543
|
transition_in(if_block, 1);
|
|
22258
22544
|
}
|
|
22259
22545
|
} else {
|
|
@@ -22273,10 +22559,13 @@ function create_fragment$d(ctx) {
|
|
|
22273
22559
|
}
|
|
22274
22560
|
},
|
|
22275
22561
|
i(local) {
|
|
22562
|
+
if (current) return;
|
|
22276
22563
|
transition_in(if_block);
|
|
22564
|
+
current = true;
|
|
22277
22565
|
},
|
|
22278
22566
|
o(local) {
|
|
22279
22567
|
transition_out(if_block);
|
|
22568
|
+
current = false;
|
|
22280
22569
|
},
|
|
22281
22570
|
d(detaching) {
|
|
22282
22571
|
if (if_block) if_block.d(detaching);
|
|
@@ -22286,7 +22575,9 @@ function create_fragment$d(ctx) {
|
|
|
22286
22575
|
}
|
|
22287
22576
|
|
|
22288
22577
|
function instance$d($$self, $$props, $$invalidate) {
|
|
22578
|
+
let carouselEnabled;
|
|
22289
22579
|
let mediaDataList;
|
|
22580
|
+
let autoplay;
|
|
22290
22581
|
let { mediaData } = $$props;
|
|
22291
22582
|
let { inDelay = 0 } = $$props;
|
|
22292
22583
|
let { outDelay = 0 } = $$props;
|
|
@@ -22295,34 +22586,93 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
22295
22586
|
let { animation = true } = $$props;
|
|
22296
22587
|
let { objectFit = 'cover' } = $$props;
|
|
22297
22588
|
let { enableCarousel = true } = $$props;
|
|
22589
|
+
let { autoplayConfig = { autoplay: true, autoplayVideo: false } } = $$props;
|
|
22590
|
+
let lastAutoPlayIndex = null;
|
|
22591
|
+
|
|
22592
|
+
const slideChange_handler = async event => {
|
|
22593
|
+
if (!autoplay) return;
|
|
22594
|
+
if (!autoplayConfig.autoplayVideo) return;
|
|
22595
|
+
const swiper = event.detail[0];
|
|
22596
|
+
if (!swiper) return;
|
|
22597
|
+
const index = swiper.realIndex;
|
|
22598
|
+
|
|
22599
|
+
// loop 完一圈后,swiper.realIndex 会重复一次,比如有三张图片 [0,1,2],slideChange 触发后输出的 index 为 [0,1,2,0,0,1,2,0,0,1,2,0], 添加 lastAutoPlayIndex 判断后,输出为[0,1,2,0,1,2,0,1,2,0]
|
|
22600
|
+
if (index === lastAutoPlayIndex) return;
|
|
22601
|
+
|
|
22602
|
+
$$invalidate(9, lastAutoPlayIndex = index);
|
|
22603
|
+
const media = mediaDataList[index];
|
|
22604
|
+
if (!media) return;
|
|
22605
|
+
if (media.type !== 'Video') return;
|
|
22606
|
+
|
|
22607
|
+
// 先暂停自动轮播
|
|
22608
|
+
swiper.autoplay.stop();
|
|
22609
|
+
|
|
22610
|
+
// 播放视频
|
|
22611
|
+
await new Promise(resolve => {
|
|
22612
|
+
const video = swiper.slides[swiper.activeIndex]?.querySelector('video');
|
|
22613
|
+
|
|
22614
|
+
if (!video) {
|
|
22615
|
+
resolve(noTypecheck(null));
|
|
22616
|
+
return;
|
|
22617
|
+
}
|
|
22618
|
+
|
|
22619
|
+
video.play();
|
|
22620
|
+
video.onerror = () => resolve(noTypecheck(null));
|
|
22621
|
+
video.onended = () => resolve(noTypecheck(null));
|
|
22622
|
+
|
|
22623
|
+
video.onclick = () => {
|
|
22624
|
+
video.pause();
|
|
22625
|
+
resolve(noTypecheck(null));
|
|
22626
|
+
};
|
|
22627
|
+
});
|
|
22628
|
+
|
|
22629
|
+
// 恢复自动轮播
|
|
22630
|
+
swiper.autoplay.start();
|
|
22631
|
+
};
|
|
22298
22632
|
|
|
22299
22633
|
$$self.$$set = $$props => {
|
|
22300
|
-
if ('mediaData' in $$props) $$invalidate(
|
|
22301
|
-
if ('inDelay' in $$props) $$invalidate(
|
|
22302
|
-
if ('outDelay' in $$props) $$invalidate(
|
|
22303
|
-
if ('duration' in $$props) $$invalidate(
|
|
22304
|
-
if ('unfolded' in $$props) $$invalidate(
|
|
22305
|
-
if ('animation' in $$props) $$invalidate(
|
|
22306
|
-
if ('objectFit' in $$props) $$invalidate(
|
|
22307
|
-
if ('enableCarousel' in $$props) $$invalidate(
|
|
22634
|
+
if ('mediaData' in $$props) $$invalidate(0, mediaData = $$props.mediaData);
|
|
22635
|
+
if ('inDelay' in $$props) $$invalidate(1, inDelay = $$props.inDelay);
|
|
22636
|
+
if ('outDelay' in $$props) $$invalidate(2, outDelay = $$props.outDelay);
|
|
22637
|
+
if ('duration' in $$props) $$invalidate(3, duration = $$props.duration);
|
|
22638
|
+
if ('unfolded' in $$props) $$invalidate(4, unfolded = $$props.unfolded);
|
|
22639
|
+
if ('animation' in $$props) $$invalidate(5, animation = $$props.animation);
|
|
22640
|
+
if ('objectFit' in $$props) $$invalidate(6, objectFit = $$props.objectFit);
|
|
22641
|
+
if ('enableCarousel' in $$props) $$invalidate(12, enableCarousel = $$props.enableCarousel);
|
|
22642
|
+
if ('autoplayConfig' in $$props) $$invalidate(7, autoplayConfig = $$props.autoplayConfig);
|
|
22308
22643
|
};
|
|
22309
22644
|
|
|
22310
22645
|
$$self.$$.update = () => {
|
|
22311
|
-
if ($$self.$$.dirty & /*enableCarousel, mediaData*/
|
|
22312
|
-
$$invalidate(
|
|
22646
|
+
if ($$self.$$.dirty & /*enableCarousel, mediaData*/ 4097) {
|
|
22647
|
+
$$invalidate(11, carouselEnabled = enableCarousel && (mediaData === null || mediaData === void 0
|
|
22648
|
+
? void 0
|
|
22649
|
+
: mediaData.length) > 1);
|
|
22650
|
+
}
|
|
22651
|
+
|
|
22652
|
+
if ($$self.$$.dirty & /*mediaData*/ 1) {
|
|
22653
|
+
$$invalidate(8, mediaDataList = mediaData);
|
|
22654
|
+
}
|
|
22655
|
+
|
|
22656
|
+
if ($$self.$$.dirty & /*mediaDataList, autoplayConfig*/ 384) {
|
|
22657
|
+
$$invalidate(10, autoplay = mediaDataList.length > 1 && autoplayConfig.autoplay);
|
|
22313
22658
|
}
|
|
22314
22659
|
};
|
|
22315
22660
|
|
|
22316
22661
|
return [
|
|
22662
|
+
mediaData,
|
|
22317
22663
|
inDelay,
|
|
22318
22664
|
outDelay,
|
|
22319
22665
|
duration,
|
|
22320
22666
|
unfolded,
|
|
22321
22667
|
animation,
|
|
22322
22668
|
objectFit,
|
|
22669
|
+
autoplayConfig,
|
|
22323
22670
|
mediaDataList,
|
|
22324
|
-
|
|
22325
|
-
|
|
22671
|
+
lastAutoPlayIndex,
|
|
22672
|
+
autoplay,
|
|
22673
|
+
carouselEnabled,
|
|
22674
|
+
enableCarousel,
|
|
22675
|
+
slideChange_handler
|
|
22326
22676
|
];
|
|
22327
22677
|
}
|
|
22328
22678
|
|
|
@@ -22337,14 +22687,15 @@ class Media extends SvelteComponent {
|
|
|
22337
22687
|
create_fragment$d,
|
|
22338
22688
|
safe_not_equal,
|
|
22339
22689
|
{
|
|
22340
|
-
mediaData:
|
|
22341
|
-
inDelay:
|
|
22342
|
-
outDelay:
|
|
22343
|
-
duration:
|
|
22344
|
-
unfolded:
|
|
22345
|
-
animation:
|
|
22346
|
-
objectFit:
|
|
22347
|
-
enableCarousel:
|
|
22690
|
+
mediaData: 0,
|
|
22691
|
+
inDelay: 1,
|
|
22692
|
+
outDelay: 2,
|
|
22693
|
+
duration: 3,
|
|
22694
|
+
unfolded: 4,
|
|
22695
|
+
animation: 5,
|
|
22696
|
+
objectFit: 6,
|
|
22697
|
+
enableCarousel: 12,
|
|
22698
|
+
autoplayConfig: 7
|
|
22348
22699
|
},
|
|
22349
22700
|
add_css$d
|
|
22350
22701
|
);
|
|
@@ -22578,6 +22929,7 @@ function create_if_block_1$5(ctx) {
|
|
|
22578
22929
|
|
|
22579
22930
|
media = new Media({
|
|
22580
22931
|
props: {
|
|
22932
|
+
autoplayConfig: { autoplay: false },
|
|
22581
22933
|
unfolded: /*unfolded*/ ctx[4],
|
|
22582
22934
|
mediaData: /*mediaData*/ ctx[3],
|
|
22583
22935
|
inDelay: 500,
|
|
@@ -23925,7 +24277,7 @@ function add_css$8(target) {
|
|
|
23925
24277
|
append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
23926
24278
|
}
|
|
23927
24279
|
|
|
23928
|
-
// (
|
|
24280
|
+
// (20:0) {#if tag.state && mediaData}
|
|
23929
24281
|
function create_if_block$5(ctx) {
|
|
23930
24282
|
let div;
|
|
23931
24283
|
let media;
|
|
@@ -23933,10 +24285,11 @@ function create_if_block$5(ctx) {
|
|
|
23933
24285
|
|
|
23934
24286
|
media = new Media({
|
|
23935
24287
|
props: {
|
|
23936
|
-
unfolded: /*unfolded*/ ctx[
|
|
23937
|
-
mediaData: /*mediaData*/ ctx[
|
|
23938
|
-
objectFit: /*objectFit*/ ctx[
|
|
23939
|
-
enableCarousel:
|
|
24288
|
+
unfolded: /*unfolded*/ ctx[5],
|
|
24289
|
+
mediaData: /*mediaData*/ ctx[4],
|
|
24290
|
+
objectFit: /*objectFit*/ ctx[2],
|
|
24291
|
+
enableCarousel: /*enableCarousel*/ ctx[1],
|
|
24292
|
+
autoplayConfig: /*autoplayConfig*/ ctx[3],
|
|
23940
24293
|
inDelay: 500,
|
|
23941
24294
|
duration: 500
|
|
23942
24295
|
}
|
|
@@ -23955,9 +24308,11 @@ function create_if_block$5(ctx) {
|
|
|
23955
24308
|
},
|
|
23956
24309
|
p(ctx, dirty) {
|
|
23957
24310
|
const media_changes = {};
|
|
23958
|
-
if (dirty & /*unfolded*/
|
|
23959
|
-
if (dirty & /*mediaData*/
|
|
23960
|
-
if (dirty & /*objectFit*/
|
|
24311
|
+
if (dirty & /*unfolded*/ 32) media_changes.unfolded = /*unfolded*/ ctx[5];
|
|
24312
|
+
if (dirty & /*mediaData*/ 16) media_changes.mediaData = /*mediaData*/ ctx[4];
|
|
24313
|
+
if (dirty & /*objectFit*/ 4) media_changes.objectFit = /*objectFit*/ ctx[2];
|
|
24314
|
+
if (dirty & /*enableCarousel*/ 2) media_changes.enableCarousel = /*enableCarousel*/ ctx[1];
|
|
24315
|
+
if (dirty & /*autoplayConfig*/ 8) media_changes.autoplayConfig = /*autoplayConfig*/ ctx[3];
|
|
23961
24316
|
media.$set(media_changes);
|
|
23962
24317
|
},
|
|
23963
24318
|
i(local) {
|
|
@@ -23979,7 +24334,7 @@ function create_if_block$5(ctx) {
|
|
|
23979
24334
|
function create_fragment$8(ctx) {
|
|
23980
24335
|
let if_block_anchor;
|
|
23981
24336
|
let current;
|
|
23982
|
-
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
24337
|
+
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[4] && create_if_block$5(ctx);
|
|
23983
24338
|
|
|
23984
24339
|
return {
|
|
23985
24340
|
c() {
|
|
@@ -23992,11 +24347,11 @@ function create_fragment$8(ctx) {
|
|
|
23992
24347
|
current = true;
|
|
23993
24348
|
},
|
|
23994
24349
|
p(ctx, [dirty]) {
|
|
23995
|
-
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
24350
|
+
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[4]) {
|
|
23996
24351
|
if (if_block) {
|
|
23997
24352
|
if_block.p(ctx, dirty);
|
|
23998
24353
|
|
|
23999
|
-
if (dirty & /*tag, mediaData*/
|
|
24354
|
+
if (dirty & /*tag, mediaData*/ 17) {
|
|
24000
24355
|
transition_in(if_block, 1);
|
|
24001
24356
|
}
|
|
24002
24357
|
} else {
|
|
@@ -24034,8 +24389,10 @@ function create_fragment$8(ctx) {
|
|
|
24034
24389
|
function instance$8($$self, $$props, $$invalidate) {
|
|
24035
24390
|
let unfolded;
|
|
24036
24391
|
let mediaData;
|
|
24392
|
+
let enableCarousel;
|
|
24393
|
+
let autoplayConfig;
|
|
24037
24394
|
let objectFit;
|
|
24038
|
-
var _a;
|
|
24395
|
+
var _a, _b;
|
|
24039
24396
|
let { tag } = $$props;
|
|
24040
24397
|
|
|
24041
24398
|
$$self.$$set = $$props => {
|
|
@@ -24044,23 +24401,38 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
24044
24401
|
|
|
24045
24402
|
$$self.$$.update = () => {
|
|
24046
24403
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24047
|
-
$$invalidate(
|
|
24404
|
+
$$invalidate(5, unfolded = tag.state ? tag.state.unfolded : false);
|
|
24405
|
+
}
|
|
24406
|
+
|
|
24407
|
+
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24408
|
+
$$invalidate(4, mediaData = tag.data.mediaData);
|
|
24048
24409
|
}
|
|
24049
24410
|
|
|
24050
24411
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24051
|
-
$$invalidate(
|
|
24412
|
+
$$invalidate(1, enableCarousel = tag.data.enableCarousel);
|
|
24052
24413
|
}
|
|
24053
24414
|
|
|
24054
|
-
if ($$self.$$.dirty & /*tag, _a*/
|
|
24055
|
-
$$invalidate(
|
|
24415
|
+
if ($$self.$$.dirty & /*tag, _a, enableCarousel*/ 67) {
|
|
24416
|
+
$$invalidate(3, autoplayConfig = $$invalidate(6, _a = tag.data.autoplayConfig) !== null && _a !== void 0
|
|
24056
24417
|
? _a
|
|
24418
|
+
: {
|
|
24419
|
+
autoplay: enableCarousel !== null && enableCarousel !== void 0
|
|
24420
|
+
? enableCarousel
|
|
24421
|
+
: true,
|
|
24422
|
+
autoplayVideo: true
|
|
24423
|
+
});
|
|
24424
|
+
}
|
|
24425
|
+
|
|
24426
|
+
if ($$self.$$.dirty & /*tag, _b*/ 129) {
|
|
24427
|
+
$$invalidate(2, objectFit = $$invalidate(7, _b = tag.data.objectFit) !== null && _b !== void 0
|
|
24428
|
+
? _b
|
|
24057
24429
|
: (() => {
|
|
24058
24430
|
if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
|
|
24059
24431
|
})());
|
|
24060
24432
|
}
|
|
24061
24433
|
};
|
|
24062
24434
|
|
|
24063
|
-
return [tag, objectFit, mediaData, unfolded, _a];
|
|
24435
|
+
return [tag, enableCarousel, objectFit, autoplayConfig, mediaData, unfolded, _a, _b];
|
|
24064
24436
|
}
|
|
24065
24437
|
|
|
24066
24438
|
class MediaPlane extends SvelteComponent {
|
|
@@ -26201,6 +26573,16 @@ class TagComputer extends TagCacheController {
|
|
|
26201
26573
|
value: new THREE.Raycaster()
|
|
26202
26574
|
});
|
|
26203
26575
|
}
|
|
26576
|
+
getTagById(id) {
|
|
26577
|
+
const tag = this.tags.find((tag) => {
|
|
26578
|
+
return tag.id === id;
|
|
26579
|
+
});
|
|
26580
|
+
if (!tag) {
|
|
26581
|
+
console.error(`getTagById(): tag is ${tag}, id is ${id}`);
|
|
26582
|
+
return undefined;
|
|
26583
|
+
}
|
|
26584
|
+
return tag;
|
|
26585
|
+
}
|
|
26204
26586
|
/**
|
|
26205
26587
|
* @description: 改变配置
|
|
26206
26588
|
*/
|
|
@@ -26255,7 +26637,6 @@ class TagComputer extends TagCacheController {
|
|
|
26255
26637
|
const visible = (() => {
|
|
26256
26638
|
var _a, _b, _c, _d, _e;
|
|
26257
26639
|
const config = (_a = this.getTagConfig(tag).visibleConfig) !== null && _a !== void 0 ? _a : {};
|
|
26258
|
-
// console.log(config)
|
|
26259
26640
|
const distance = this.getDistance(tag);
|
|
26260
26641
|
if (typeof config === 'function') {
|
|
26261
26642
|
return config(this.five, { tag, distance });
|
|
@@ -26531,18 +26912,11 @@ class TagComputer extends TagCacheController {
|
|
|
26531
26912
|
const unfolded = this.getUnfoldedByPanoIndex(tag);
|
|
26532
26913
|
if (!tag.state)
|
|
26533
26914
|
return;
|
|
26534
|
-
if (unfolded
|
|
26535
|
-
|
|
26536
|
-
|
|
26537
|
-
});
|
|
26538
|
-
}
|
|
26539
|
-
setVisibleAndUnfoldedByPanoIndex() {
|
|
26540
|
-
this.setVisibleByPanoIndex();
|
|
26541
|
-
this.setUnfoldedByPanoIndex();
|
|
26542
|
-
this.tags.forEach((tag) => {
|
|
26543
|
-
var _a, _b;
|
|
26915
|
+
if (unfolded !== undefined) {
|
|
26916
|
+
tag.state.unfolded = unfolded;
|
|
26917
|
+
}
|
|
26544
26918
|
// 如果标签展开但不可见,就要判断autoUnfoldWhenHide
|
|
26545
|
-
if (
|
|
26919
|
+
if (unfolded && !tag.state.visible) {
|
|
26546
26920
|
const config = this.getTagConfig(tag);
|
|
26547
26921
|
if (typeof config.unfoldedConfig === 'object' && config.unfoldedConfig.autoUnfoldWhenHide !== false) {
|
|
26548
26922
|
tag.state.unfolded = false;
|
|
@@ -26563,16 +26937,6 @@ class TagComputer extends TagCacheController {
|
|
|
26563
26937
|
return;
|
|
26564
26938
|
return { x, y, z };
|
|
26565
26939
|
}
|
|
26566
|
-
getTagById(id) {
|
|
26567
|
-
const tag = this.tags.find((tag) => {
|
|
26568
|
-
return tag.id === id;
|
|
26569
|
-
});
|
|
26570
|
-
if (!tag) {
|
|
26571
|
-
console.error(`getTagById(): tag is ${tag}, id is ${id}`);
|
|
26572
|
-
return undefined;
|
|
26573
|
-
}
|
|
26574
|
-
return tag;
|
|
26575
|
-
}
|
|
26576
26940
|
// TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
|
|
26577
26941
|
filterPointTag() {
|
|
26578
26942
|
return this.tags.filter((tag) => tag.pointType === PointType.PointTag);
|
|
@@ -26592,9 +26956,10 @@ class TagComputer extends TagCacheController {
|
|
|
26592
26956
|
}
|
|
26593
26957
|
|
|
26594
26958
|
// declare const __APP_VERSION__: string
|
|
26595
|
-
const VERSION$2 = '0.
|
|
26959
|
+
const VERSION$2 = '1.0.0';
|
|
26596
26960
|
const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin@${VERSION$2}`;
|
|
26597
|
-
|
|
26961
|
+
// 初始是否展开
|
|
26962
|
+
const TAG_INITIAL_UNFOLDED = false;
|
|
26598
26963
|
const pluginFlag = (name) => `${PLUGIN_NAME$1}--${name}`;
|
|
26599
26964
|
class PanoTagPluginController extends TagComputer {
|
|
26600
26965
|
constructor(five, params) {
|
|
@@ -26704,8 +27069,9 @@ class PanoTagPluginController extends TagComputer {
|
|
|
26704
27069
|
/**
|
|
26705
27070
|
* @description: 加载数据
|
|
26706
27071
|
*/
|
|
26707
|
-
load(data) {
|
|
27072
|
+
load(data, config) {
|
|
26708
27073
|
var _a, _b;
|
|
27074
|
+
this.clearTags();
|
|
26709
27075
|
console.log(PLUGIN_NAME$1, 'load:', { data });
|
|
26710
27076
|
if (this.params.mergePluginDefaultConfigToLoadDataConfig) {
|
|
26711
27077
|
this.config = objectAssignDeep({}, this.config, {
|
|
@@ -26719,17 +27085,15 @@ class PanoTagPluginController extends TagComputer {
|
|
|
26719
27085
|
if (data.contentTypeConfig)
|
|
26720
27086
|
this.config.contentTypeConfig = data.contentTypeConfig;
|
|
26721
27087
|
}
|
|
26722
|
-
this.
|
|
26723
|
-
|
|
26724
|
-
this.tags = [];
|
|
26725
|
-
this.addTag(data.tagList);
|
|
27088
|
+
this.addTag(data.tagList, config);
|
|
27089
|
+
// debug
|
|
26726
27090
|
if (this.debug)
|
|
26727
27091
|
addDebugPoints(this.five, this.tags);
|
|
26728
27092
|
}
|
|
26729
27093
|
/**
|
|
26730
27094
|
* @description: 添加标签
|
|
26731
27095
|
*/
|
|
26732
|
-
addTag(tag) {
|
|
27096
|
+
addTag(tag, config) {
|
|
26733
27097
|
const tags = Array.isArray(tag) ? tag : [tag];
|
|
26734
27098
|
const _tags = tags
|
|
26735
27099
|
.map((tag) => {
|
|
@@ -26739,7 +27103,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
26739
27103
|
.filter((tag) => tag.position);
|
|
26740
27104
|
this.tags.push(..._tags);
|
|
26741
27105
|
actionAfterFiveModelLoad(this.five, () => {
|
|
26742
|
-
var _a, _b;
|
|
27106
|
+
var _a, _b, _c;
|
|
26743
27107
|
// 添加事件
|
|
26744
27108
|
if (this.store.eventListenerDisposer) {
|
|
26745
27109
|
(_b = (_a = this.store).eventListenerDisposer) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
@@ -26755,10 +27119,18 @@ class PanoTagPluginController extends TagComputer {
|
|
|
26755
27119
|
}, 200);
|
|
26756
27120
|
}
|
|
26757
27121
|
this.checkPanelTag();
|
|
26758
|
-
|
|
26759
|
-
|
|
27122
|
+
// v0.3.8 新增 withAnimation,默认 false
|
|
27123
|
+
// v1.0.0 withAnimation 默认值改为 true
|
|
27124
|
+
this.setVisibleAndUnfolded({ withAnimation: (_c = config === null || config === void 0 ? void 0 : config.withAnimation) !== null && _c !== void 0 ? _c : true }).then(() => this.updateRenderAllTags());
|
|
27125
|
+
this.updateRenderAllTags();
|
|
26760
27126
|
});
|
|
26761
27127
|
}
|
|
27128
|
+
clearTags() {
|
|
27129
|
+
this.tags = [];
|
|
27130
|
+
this.clearCache();
|
|
27131
|
+
this.disposeAllCSS3DContainer();
|
|
27132
|
+
this.updateRenderAllTags();
|
|
27133
|
+
}
|
|
26762
27134
|
async show(params) {
|
|
26763
27135
|
const { userAction = true, withAnimation = false } = params !== null && params !== void 0 ? params : {};
|
|
26764
27136
|
if (this.store.disposed)
|
|
@@ -26849,7 +27221,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
26849
27221
|
}
|
|
26850
27222
|
// 3D 转 2D 的时候要销毁 3D container
|
|
26851
27223
|
this.checkPanelTag();
|
|
26852
|
-
this.
|
|
27224
|
+
this.updateRenderAllTags();
|
|
26853
27225
|
}
|
|
26854
27226
|
/**
|
|
26855
27227
|
* @description: 改变tag任意属性
|
|
@@ -26867,7 +27239,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
26867
27239
|
if ((currentTag === null || currentTag === void 0 ? void 0 : currentTag.tag3DContentSvelte) && (tag === null || tag === void 0 ? void 0 : tag.normal)) {
|
|
26868
27240
|
currentTag.tag3DContentSvelte.currentNormal = arrayPositionToVector3(tag.normal);
|
|
26869
27241
|
}
|
|
26870
|
-
this.
|
|
27242
|
+
this.updateRenderAllTags();
|
|
26871
27243
|
this.checkPanelTag();
|
|
26872
27244
|
}
|
|
26873
27245
|
/**
|
|
@@ -26881,12 +27253,31 @@ class PanoTagPluginController extends TagComputer {
|
|
|
26881
27253
|
return;
|
|
26882
27254
|
this.tags.splice(index, 1);
|
|
26883
27255
|
});
|
|
26884
|
-
this.
|
|
27256
|
+
this.updateRenderAllTags();
|
|
26885
27257
|
}
|
|
26886
27258
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
26887
27259
|
pauseCurrentMedia() {
|
|
26888
27260
|
this.mediaStore.set({ currentMediaUrl: '' });
|
|
26889
27261
|
}
|
|
27262
|
+
/**
|
|
27263
|
+
* @description: 设置 visible 和 unfolded
|
|
27264
|
+
*/
|
|
27265
|
+
async setVisibleAndUnfolded({ withAnimation } = { withAnimation: false }) {
|
|
27266
|
+
this.setVisibleByPanoIndex();
|
|
27267
|
+
if (withAnimation) {
|
|
27268
|
+
return new Promise((resolve, reject) => {
|
|
27269
|
+
// setTimeout 初始隐藏,然后展开,而不是一步到位,要不就没动画了
|
|
27270
|
+
setTimeout(() => {
|
|
27271
|
+
this.setUnfoldedByPanoIndex();
|
|
27272
|
+
resolve();
|
|
27273
|
+
}, 10); // 10ms 是等待 TextTag onMount
|
|
27274
|
+
});
|
|
27275
|
+
}
|
|
27276
|
+
else {
|
|
27277
|
+
this.setUnfoldedByPanoIndex();
|
|
27278
|
+
return Promise.resolve();
|
|
27279
|
+
}
|
|
27280
|
+
}
|
|
26890
27281
|
handleShow() {
|
|
26891
27282
|
this.state.visible = true;
|
|
26892
27283
|
this.updateTagContainerVisible();
|
|
@@ -26897,7 +27288,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
26897
27288
|
}
|
|
26898
27289
|
handleEnable() {
|
|
26899
27290
|
this.state.enabled = true;
|
|
26900
|
-
this.
|
|
27291
|
+
this.updateRenderAllTags();
|
|
26901
27292
|
}
|
|
26902
27293
|
handleDisable() {
|
|
26903
27294
|
var _a;
|
|
@@ -26943,7 +27334,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
26943
27334
|
// resize
|
|
26944
27335
|
const show = () => {
|
|
26945
27336
|
this.show();
|
|
26946
|
-
this.
|
|
27337
|
+
this.updateRenderAllTags();
|
|
26947
27338
|
};
|
|
26948
27339
|
const { observe: hideObserve, unobserve: hideUnobserve } = resizeObserver(throttle(() => {
|
|
26949
27340
|
/**
|
|
@@ -26981,7 +27372,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
26981
27372
|
tag.temporaryState = Object.assign(Object.assign({}, tag.temporaryState), { visible: false });
|
|
26982
27373
|
}
|
|
26983
27374
|
});
|
|
26984
|
-
this.
|
|
27375
|
+
this.updateRenderAllTags();
|
|
26985
27376
|
}
|
|
26986
27377
|
/**
|
|
26987
27378
|
* @description: 走点/切换模型后显示
|
|
@@ -27019,13 +27410,13 @@ class PanoTagPluginController extends TagComputer {
|
|
|
27019
27410
|
tag.state.unfolded = false;
|
|
27020
27411
|
});
|
|
27021
27412
|
}
|
|
27022
|
-
this.
|
|
27413
|
+
this.updateRenderAllTags();
|
|
27023
27414
|
}
|
|
27024
27415
|
}
|
|
27025
27416
|
/**
|
|
27026
27417
|
* @description: 更新所有标签
|
|
27027
27418
|
*/
|
|
27028
|
-
|
|
27419
|
+
updateRenderAllTags() {
|
|
27029
27420
|
this.updateRenderPointTag();
|
|
27030
27421
|
this.updateRenderPlaneTag();
|
|
27031
27422
|
}
|
|
@@ -27046,20 +27437,20 @@ class PanoTagPluginController extends TagComputer {
|
|
|
27046
27437
|
// 设置展开/收起
|
|
27047
27438
|
this.setUnfoldedByCamera();
|
|
27048
27439
|
// 渲染
|
|
27049
|
-
this.
|
|
27440
|
+
this.updateRenderAllTags();
|
|
27050
27441
|
}, 100);
|
|
27051
27442
|
}
|
|
27052
27443
|
handleFiveCameraUpdate() {
|
|
27053
27444
|
// 渲染
|
|
27054
27445
|
this.updateRenderPointTag();
|
|
27055
27446
|
}
|
|
27056
|
-
handleFivePanoArrived() {
|
|
27057
|
-
this.
|
|
27447
|
+
async handleFivePanoArrived() {
|
|
27448
|
+
await this.setVisibleAndUnfolded();
|
|
27058
27449
|
this.tags.forEach((tag) => {
|
|
27059
27450
|
tag.temporaryState = Object.assign(Object.assign({}, tag.temporaryState), { visible: true });
|
|
27060
27451
|
});
|
|
27061
27452
|
// 渲染
|
|
27062
|
-
this.
|
|
27453
|
+
this.updateRenderAllTags();
|
|
27063
27454
|
}
|
|
27064
27455
|
setUnfoldedByCamera() {
|
|
27065
27456
|
let hasTagUnfolded = false; // 是否有标签由于camera的转动而展开
|