@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.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('three'), require('three/examples/jsm/renderers/CSS3DRenderer'), require('@realsee/five/line'), require('svelte/internal'), require('svelte'), require('svelte/easing'), require('svelte/transition'), require('svelte/store'), require('@realsee/five'), require('three/examples/jsm/loaders/FBXLoader'), require('@tweenjs/tween.js'), require('hammerjs'), require('classnames'), require('object-assign-deep'), require('animejs')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'three', 'three/examples/jsm/renderers/CSS3DRenderer', '@realsee/five/line', 'svelte/internal', 'svelte', 'svelte/easing', 'svelte/transition', 'svelte/store', '@realsee/five', 'three/examples/jsm/loaders/FBXLoader', '@tweenjs/tween.js', 'hammerjs', 'classnames', 'object-assign-deep', 'animejs'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.dnalogel = {}, global.THREE, global.CSS3DRenderer, global.FiveSDK_Line, global.internal, global.svelte, global.easing, global.transition, global.store, global.five, global.FBXLoader, global.TWEEN, global.Hammer, global.classNames, global.objectAssignDeep, global.anime));
|
|
5
|
-
})(this, (function (exports, THREE, CSS3DRenderer, line, internal, svelte, easing, transition, store, five, FBXLoader, TWEEN, Hammer, classNames, objectAssignDeep, anime) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('three'), require('three/examples/jsm/renderers/CSS3DRenderer'), require('@realsee/five/line'), require('svelte/internal'), require('svelte'), require('svelte/easing'), require('svelte/transition'), require('svelte/store'), require('@realsee/five'), require('three/examples/jsm/loaders/FBXLoader'), require('@tweenjs/tween.js'), require('hammerjs'), require('classnames'), require('object-assign-deep'), require('animejs'), require('swiper/svelte'), require('swiper'), require('swiper/css'), require('swiper/css/autoplay')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'three', 'three/examples/jsm/renderers/CSS3DRenderer', '@realsee/five/line', 'svelte/internal', 'svelte', 'svelte/easing', 'svelte/transition', 'svelte/store', '@realsee/five', 'three/examples/jsm/loaders/FBXLoader', '@tweenjs/tween.js', 'hammerjs', 'classnames', 'object-assign-deep', 'animejs', 'swiper/svelte', 'swiper', 'swiper/css', 'swiper/css/autoplay'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.dnalogel = {}, global.THREE, global.CSS3DRenderer, global.FiveSDK_Line, global.internal, global.svelte, global.easing, global.transition, global.store, global.five, global.FBXLoader, global.TWEEN, global.Hammer, global.classNames, global.objectAssignDeep, global.anime, global.svelte$1, global.swiper));
|
|
5
|
+
})(this, (function (exports, THREE, CSS3DRenderer, line, internal, svelte, easing, transition, store, five, FBXLoader, TWEEN, Hammer, classNames, objectAssignDeep, anime, svelte$1, swiper) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -1096,11 +1096,11 @@
|
|
|
1096
1096
|
|
|
1097
1097
|
/* src/ModelRoomLabelPlugin/RoomLabelItem.svelte generated by Svelte v3.50.1 */
|
|
1098
1098
|
|
|
1099
|
-
function add_css$
|
|
1099
|
+
function add_css$M(target) {
|
|
1100
1100
|
internal.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}");
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
|
-
function create_fragment$
|
|
1103
|
+
function create_fragment$R(ctx) {
|
|
1104
1104
|
let div1;
|
|
1105
1105
|
let span;
|
|
1106
1106
|
let t0_value = /*roomLabel*/ ctx[0].name + "";
|
|
@@ -1167,7 +1167,7 @@
|
|
|
1167
1167
|
};
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
|
-
function instance$
|
|
1170
|
+
function instance$R($$self, $$props, $$invalidate) {
|
|
1171
1171
|
let { five } = $$props;
|
|
1172
1172
|
let { roomLabel } = $$props;
|
|
1173
1173
|
|
|
@@ -1190,7 +1190,7 @@
|
|
|
1190
1190
|
class RoomLabelItem extends internal.SvelteComponent {
|
|
1191
1191
|
constructor(options) {
|
|
1192
1192
|
super();
|
|
1193
|
-
internal.init(this, options, instance$
|
|
1193
|
+
internal.init(this, options, instance$R, create_fragment$R, internal.safe_not_equal, { five: 2, roomLabel: 0 }, add_css$M);
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
1196
|
|
|
@@ -1198,7 +1198,7 @@
|
|
|
1198
1198
|
|
|
1199
1199
|
const { Map: Map_1 } = internal.globals;
|
|
1200
1200
|
|
|
1201
|
-
function add_css$
|
|
1201
|
+
function add_css$L(target) {
|
|
1202
1202
|
internal.append_styles(target, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
@@ -1257,7 +1257,7 @@
|
|
|
1257
1257
|
};
|
|
1258
1258
|
}
|
|
1259
1259
|
|
|
1260
|
-
function create_fragment$
|
|
1260
|
+
function create_fragment$Q(ctx) {
|
|
1261
1261
|
let div;
|
|
1262
1262
|
let each_blocks = [];
|
|
1263
1263
|
let each_1_lookup = new Map_1();
|
|
@@ -1329,7 +1329,7 @@
|
|
|
1329
1329
|
};
|
|
1330
1330
|
}
|
|
1331
1331
|
|
|
1332
|
-
function instance$
|
|
1332
|
+
function instance$Q($$self, $$props, $$invalidate) {
|
|
1333
1333
|
let rendererSize;
|
|
1334
1334
|
let { five } = $$props;
|
|
1335
1335
|
let { roomLabels } = $$props;
|
|
@@ -1454,7 +1454,7 @@
|
|
|
1454
1454
|
class RoomLabelItems extends internal.SvelteComponent {
|
|
1455
1455
|
constructor(options) {
|
|
1456
1456
|
super();
|
|
1457
|
-
internal.init(this, options, instance$
|
|
1457
|
+
internal.init(this, options, instance$Q, create_fragment$Q, internal.safe_not_equal, { five: 1, roomLabels: 0 }, add_css$L);
|
|
1458
1458
|
}
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
@@ -1760,11 +1760,11 @@
|
|
|
1760
1760
|
|
|
1761
1761
|
/* src/floorplan/Components/Camera.svelte generated by Svelte v3.50.1 */
|
|
1762
1762
|
|
|
1763
|
-
function add_css$
|
|
1763
|
+
function add_css$K(target) {
|
|
1764
1764
|
internal.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%}");
|
|
1765
1765
|
}
|
|
1766
1766
|
|
|
1767
|
-
function create_fragment$
|
|
1767
|
+
function create_fragment$P(ctx) {
|
|
1768
1768
|
let div1;
|
|
1769
1769
|
let div0;
|
|
1770
1770
|
|
|
@@ -1801,7 +1801,7 @@
|
|
|
1801
1801
|
};
|
|
1802
1802
|
}
|
|
1803
1803
|
|
|
1804
|
-
function instance$
|
|
1804
|
+
function instance$P($$self, $$props, $$invalidate) {
|
|
1805
1805
|
let { panoIndex } = $$props;
|
|
1806
1806
|
let { floorplanData } = $$props;
|
|
1807
1807
|
let { lastPanoramaLongitude } = $$props;
|
|
@@ -1847,8 +1847,8 @@
|
|
|
1847
1847
|
internal.init(
|
|
1848
1848
|
this,
|
|
1849
1849
|
options,
|
|
1850
|
-
instance$
|
|
1851
|
-
create_fragment$
|
|
1850
|
+
instance$P,
|
|
1851
|
+
create_fragment$P,
|
|
1852
1852
|
internal.safe_not_equal,
|
|
1853
1853
|
{
|
|
1854
1854
|
panoIndex: 5,
|
|
@@ -1856,7 +1856,7 @@
|
|
|
1856
1856
|
lastPanoramaLongitude: 7,
|
|
1857
1857
|
cameraImageUrl: 0
|
|
1858
1858
|
},
|
|
1859
|
-
add_css$
|
|
1859
|
+
add_css$K
|
|
1860
1860
|
);
|
|
1861
1861
|
}
|
|
1862
1862
|
}
|
|
@@ -1865,12 +1865,12 @@
|
|
|
1865
1865
|
|
|
1866
1866
|
/* src/floorplan/Components/Compass.svelte generated by Svelte v3.50.1 */
|
|
1867
1867
|
|
|
1868
|
-
function add_css$
|
|
1868
|
+
function add_css$J(target) {
|
|
1869
1869
|
internal.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}");
|
|
1870
1870
|
}
|
|
1871
1871
|
|
|
1872
1872
|
// (14:0) {#if canCompassShow}
|
|
1873
|
-
function create_if_block$
|
|
1873
|
+
function create_if_block$t(ctx) {
|
|
1874
1874
|
let div1;
|
|
1875
1875
|
let div0;
|
|
1876
1876
|
let t0;
|
|
@@ -1906,9 +1906,9 @@
|
|
|
1906
1906
|
};
|
|
1907
1907
|
}
|
|
1908
1908
|
|
|
1909
|
-
function create_fragment$
|
|
1909
|
+
function create_fragment$O(ctx) {
|
|
1910
1910
|
let if_block_anchor;
|
|
1911
|
-
let if_block = /*canCompassShow*/ ctx[1] && create_if_block$
|
|
1911
|
+
let if_block = /*canCompassShow*/ ctx[1] && create_if_block$t(ctx);
|
|
1912
1912
|
|
|
1913
1913
|
return {
|
|
1914
1914
|
c() {
|
|
@@ -1935,7 +1935,7 @@
|
|
|
1935
1935
|
return rad / Math.PI * 180;
|
|
1936
1936
|
}
|
|
1937
1937
|
|
|
1938
|
-
function instance$
|
|
1938
|
+
function instance$O($$self, $$props, $$invalidate) {
|
|
1939
1939
|
var _a;
|
|
1940
1940
|
let { floorplanData } = $$props;
|
|
1941
1941
|
let { northDesc } = $$props;
|
|
@@ -1959,17 +1959,17 @@
|
|
|
1959
1959
|
class Compass extends internal.SvelteComponent {
|
|
1960
1960
|
constructor(options) {
|
|
1961
1961
|
super();
|
|
1962
|
-
internal.init(this, options, instance$
|
|
1962
|
+
internal.init(this, options, instance$O, create_fragment$O, internal.safe_not_equal, { floorplanData: 3, northDesc: 0 }, add_css$J);
|
|
1963
1963
|
}
|
|
1964
1964
|
}
|
|
1965
1965
|
|
|
1966
1966
|
/* src/floorplan/Components/Normalmage.svelte generated by Svelte v3.50.1 */
|
|
1967
1967
|
|
|
1968
|
-
function add_css$
|
|
1968
|
+
function add_css$I(target) {
|
|
1969
1969
|
internal.append_styles(target, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
|
|
1970
1970
|
}
|
|
1971
1971
|
|
|
1972
|
-
function create_fragment$
|
|
1972
|
+
function create_fragment$N(ctx) {
|
|
1973
1973
|
let img;
|
|
1974
1974
|
let img_src_value;
|
|
1975
1975
|
|
|
@@ -1996,7 +1996,7 @@
|
|
|
1996
1996
|
};
|
|
1997
1997
|
}
|
|
1998
1998
|
|
|
1999
|
-
function instance$
|
|
1999
|
+
function instance$N($$self, $$props, $$invalidate) {
|
|
2000
2000
|
let { url } = $$props;
|
|
2001
2001
|
|
|
2002
2002
|
$$self.$$set = $$props => {
|
|
@@ -2009,17 +2009,17 @@
|
|
|
2009
2009
|
class Normalmage extends internal.SvelteComponent {
|
|
2010
2010
|
constructor(options) {
|
|
2011
2011
|
super();
|
|
2012
|
-
internal.init(this, options, instance$
|
|
2012
|
+
internal.init(this, options, instance$N, create_fragment$N, internal.safe_not_equal, { url: 0 }, add_css$I);
|
|
2013
2013
|
}
|
|
2014
2014
|
}
|
|
2015
2015
|
|
|
2016
2016
|
/* src/floorplan/Components/SvgImage.svelte generated by Svelte v3.50.1 */
|
|
2017
2017
|
|
|
2018
|
-
function add_css$
|
|
2018
|
+
function add_css$H(target) {
|
|
2019
2019
|
internal.append_styles(target, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
2020
2020
|
}
|
|
2021
2021
|
|
|
2022
|
-
function create_fragment$
|
|
2022
|
+
function create_fragment$M(ctx) {
|
|
2023
2023
|
let div;
|
|
2024
2024
|
let html_tag;
|
|
2025
2025
|
let t;
|
|
@@ -2052,7 +2052,7 @@
|
|
|
2052
2052
|
};
|
|
2053
2053
|
}
|
|
2054
2054
|
|
|
2055
|
-
function instance$
|
|
2055
|
+
function instance$M($$self, $$props, $$invalidate) {
|
|
2056
2056
|
let { content } = $$props;
|
|
2057
2057
|
|
|
2058
2058
|
const svgStyle = `
|
|
@@ -2076,18 +2076,18 @@
|
|
|
2076
2076
|
class SvgImage extends internal.SvelteComponent {
|
|
2077
2077
|
constructor(options) {
|
|
2078
2078
|
super();
|
|
2079
|
-
internal.init(this, options, instance$
|
|
2079
|
+
internal.init(this, options, instance$M, create_fragment$M, internal.safe_not_equal, { content: 0 }, add_css$H);
|
|
2080
2080
|
}
|
|
2081
2081
|
}
|
|
2082
2082
|
|
|
2083
2083
|
/* src/floorplan/Components/BaseImage.svelte generated by Svelte v3.50.1 */
|
|
2084
2084
|
|
|
2085
|
-
function add_css$
|
|
2085
|
+
function add_css$G(target) {
|
|
2086
2086
|
internal.append_styles(target, "svelte-ozpg4a", ".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}");
|
|
2087
2087
|
}
|
|
2088
2088
|
|
|
2089
2089
|
// (13:22)
|
|
2090
|
-
function create_if_block_1$
|
|
2090
|
+
function create_if_block_1$e(ctx) {
|
|
2091
2091
|
let normalimage;
|
|
2092
2092
|
let current;
|
|
2093
2093
|
normalimage = new Normalmage({ props: { url: /*imageData*/ ctx[1].url } });
|
|
@@ -2121,7 +2121,7 @@
|
|
|
2121
2121
|
}
|
|
2122
2122
|
|
|
2123
2123
|
// (11:2) {#if svgContent}
|
|
2124
|
-
function create_if_block$
|
|
2124
|
+
function create_if_block$s(ctx) {
|
|
2125
2125
|
let svgimage;
|
|
2126
2126
|
let current;
|
|
2127
2127
|
|
|
@@ -2157,12 +2157,12 @@
|
|
|
2157
2157
|
};
|
|
2158
2158
|
}
|
|
2159
2159
|
|
|
2160
|
-
function create_fragment$
|
|
2160
|
+
function create_fragment$L(ctx) {
|
|
2161
2161
|
let div;
|
|
2162
2162
|
let current_block_type_index;
|
|
2163
2163
|
let if_block;
|
|
2164
2164
|
let current;
|
|
2165
|
-
const if_block_creators = [create_if_block$
|
|
2165
|
+
const if_block_creators = [create_if_block$s, create_if_block_1$e];
|
|
2166
2166
|
const if_blocks = [];
|
|
2167
2167
|
|
|
2168
2168
|
function select_block_type(ctx, dirty) {
|
|
@@ -2245,7 +2245,7 @@
|
|
|
2245
2245
|
};
|
|
2246
2246
|
}
|
|
2247
2247
|
|
|
2248
|
-
function instance$
|
|
2248
|
+
function instance$L($$self, $$props, $$invalidate) {
|
|
2249
2249
|
let imageData;
|
|
2250
2250
|
let svgContent;
|
|
2251
2251
|
var _a, _b;
|
|
@@ -2277,18 +2277,18 @@
|
|
|
2277
2277
|
class BaseImage extends internal.SvelteComponent {
|
|
2278
2278
|
constructor(options) {
|
|
2279
2279
|
super();
|
|
2280
|
-
internal.init(this, options, instance$
|
|
2280
|
+
internal.init(this, options, instance$L, create_fragment$L, internal.safe_not_equal, { floorIndex: 2, floorplanData: 3 }, add_css$G);
|
|
2281
2281
|
}
|
|
2282
2282
|
}
|
|
2283
2283
|
|
|
2284
2284
|
/* src/floorplan/Components/RoomLabels/RoomLabel.svelte generated by Svelte v3.50.1 */
|
|
2285
2285
|
|
|
2286
|
-
function add_css$
|
|
2286
|
+
function add_css$F(target) {
|
|
2287
2287
|
internal.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}");
|
|
2288
2288
|
}
|
|
2289
2289
|
|
|
2290
2290
|
// (95:30)
|
|
2291
|
-
function create_if_block_1$
|
|
2291
|
+
function create_if_block_1$d(ctx) {
|
|
2292
2292
|
let html_tag;
|
|
2293
2293
|
let raw_value = /*userConfigElement*/ ctx[4].outerHTML + "";
|
|
2294
2294
|
let html_anchor;
|
|
@@ -2314,7 +2314,7 @@
|
|
|
2314
2314
|
}
|
|
2315
2315
|
|
|
2316
2316
|
// (89:2) {#if getLabelElement === undefined}
|
|
2317
|
-
function create_if_block$
|
|
2317
|
+
function create_if_block$r(ctx) {
|
|
2318
2318
|
let span0;
|
|
2319
2319
|
let t0_value = /*room*/ ctx[0].name + "";
|
|
2320
2320
|
let t0;
|
|
@@ -2348,12 +2348,12 @@
|
|
|
2348
2348
|
};
|
|
2349
2349
|
}
|
|
2350
2350
|
|
|
2351
|
-
function create_fragment$
|
|
2351
|
+
function create_fragment$K(ctx) {
|
|
2352
2352
|
let div;
|
|
2353
2353
|
|
|
2354
2354
|
function select_block_type(ctx, dirty) {
|
|
2355
|
-
if (/*getLabelElement*/ ctx[1] === undefined) return create_if_block$
|
|
2356
|
-
if (/*userConfigElement*/ ctx[4]) return create_if_block_1$
|
|
2355
|
+
if (/*getLabelElement*/ ctx[1] === undefined) return create_if_block$r;
|
|
2356
|
+
if (/*userConfigElement*/ ctx[4]) return create_if_block_1$d;
|
|
2357
2357
|
}
|
|
2358
2358
|
|
|
2359
2359
|
let current_block_type = select_block_type(ctx);
|
|
@@ -2422,7 +2422,7 @@
|
|
|
2422
2422
|
return inside;
|
|
2423
2423
|
}
|
|
2424
2424
|
|
|
2425
|
-
function instance$
|
|
2425
|
+
function instance$K($$self, $$props, $$invalidate) {
|
|
2426
2426
|
let isLabelInRoom;
|
|
2427
2427
|
let userConfigElement;
|
|
2428
2428
|
let labelVisible;
|
|
@@ -2566,8 +2566,8 @@
|
|
|
2566
2566
|
internal.init(
|
|
2567
2567
|
this,
|
|
2568
2568
|
options,
|
|
2569
|
-
instance$
|
|
2570
|
-
create_fragment$
|
|
2569
|
+
instance$K,
|
|
2570
|
+
create_fragment$K,
|
|
2571
2571
|
internal.safe_not_equal,
|
|
2572
2572
|
{
|
|
2573
2573
|
pxmm: 9,
|
|
@@ -2576,14 +2576,14 @@
|
|
|
2576
2576
|
getLabelElement: 1,
|
|
2577
2577
|
adaptiveRoomLabelVisibleEnable: 11
|
|
2578
2578
|
},
|
|
2579
|
-
add_css$
|
|
2579
|
+
add_css$F
|
|
2580
2580
|
);
|
|
2581
2581
|
}
|
|
2582
2582
|
}
|
|
2583
2583
|
|
|
2584
2584
|
/* src/floorplan/Components/RoomLabels/RoomLabels.svelte generated by Svelte v3.50.1 */
|
|
2585
2585
|
|
|
2586
|
-
function add_css$
|
|
2586
|
+
function add_css$E(target) {
|
|
2587
2587
|
internal.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}");
|
|
2588
2588
|
}
|
|
2589
2589
|
|
|
@@ -2594,7 +2594,7 @@
|
|
|
2594
2594
|
}
|
|
2595
2595
|
|
|
2596
2596
|
// (17:0) {#if rooms}
|
|
2597
|
-
function create_if_block$
|
|
2597
|
+
function create_if_block$q(ctx) {
|
|
2598
2598
|
let div;
|
|
2599
2599
|
let each_blocks = [];
|
|
2600
2600
|
let each_1_lookup = new Map();
|
|
@@ -2736,10 +2736,10 @@
|
|
|
2736
2736
|
};
|
|
2737
2737
|
}
|
|
2738
2738
|
|
|
2739
|
-
function create_fragment$
|
|
2739
|
+
function create_fragment$J(ctx) {
|
|
2740
2740
|
let if_block_anchor;
|
|
2741
2741
|
let current;
|
|
2742
|
-
let if_block = /*rooms*/ ctx[5] && create_if_block$
|
|
2742
|
+
let if_block = /*rooms*/ ctx[5] && create_if_block$q(ctx);
|
|
2743
2743
|
|
|
2744
2744
|
return {
|
|
2745
2745
|
c() {
|
|
@@ -2760,7 +2760,7 @@
|
|
|
2760
2760
|
internal.transition_in(if_block, 1);
|
|
2761
2761
|
}
|
|
2762
2762
|
} else {
|
|
2763
|
-
if_block = create_if_block$
|
|
2763
|
+
if_block = create_if_block$q(ctx);
|
|
2764
2764
|
if_block.c();
|
|
2765
2765
|
internal.transition_in(if_block, 1);
|
|
2766
2766
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -2791,7 +2791,7 @@
|
|
|
2791
2791
|
};
|
|
2792
2792
|
}
|
|
2793
2793
|
|
|
2794
|
-
function instance$
|
|
2794
|
+
function instance$J($$self, $$props, $$invalidate) {
|
|
2795
2795
|
let rooms;
|
|
2796
2796
|
let { floorIndex } = $$props;
|
|
2797
2797
|
let { floorplanData } = $$props;
|
|
@@ -2848,8 +2848,8 @@
|
|
|
2848
2848
|
internal.init(
|
|
2849
2849
|
this,
|
|
2850
2850
|
options,
|
|
2851
|
-
instance$
|
|
2852
|
-
create_fragment$
|
|
2851
|
+
instance$J,
|
|
2852
|
+
create_fragment$J,
|
|
2853
2853
|
internal.safe_not_equal,
|
|
2854
2854
|
{
|
|
2855
2855
|
floorIndex: 6,
|
|
@@ -2858,14 +2858,14 @@
|
|
|
2858
2858
|
getLabelElement: 1,
|
|
2859
2859
|
adaptiveRoomLabelVisibleEnable: 2
|
|
2860
2860
|
},
|
|
2861
|
-
add_css$
|
|
2861
|
+
add_css$E
|
|
2862
2862
|
);
|
|
2863
2863
|
}
|
|
2864
2864
|
}
|
|
2865
2865
|
|
|
2866
2866
|
/* src/floorplan/Components/RuleLabels/RuleItem.svelte generated by Svelte v3.50.1 */
|
|
2867
2867
|
|
|
2868
|
-
function add_css$
|
|
2868
|
+
function add_css$D(target) {
|
|
2869
2869
|
internal.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}");
|
|
2870
2870
|
}
|
|
2871
2871
|
|
|
@@ -2941,7 +2941,7 @@
|
|
|
2941
2941
|
};
|
|
2942
2942
|
}
|
|
2943
2943
|
|
|
2944
|
-
function create_fragment$
|
|
2944
|
+
function create_fragment$I(ctx) {
|
|
2945
2945
|
let div3;
|
|
2946
2946
|
let div0;
|
|
2947
2947
|
let t0;
|
|
@@ -3064,7 +3064,7 @@
|
|
|
3064
3064
|
const padding$1 = 1000;
|
|
3065
3065
|
const exteriorWallOffset$1 = 180;
|
|
3066
3066
|
|
|
3067
|
-
function instance$
|
|
3067
|
+
function instance$I($$self, $$props, $$invalidate) {
|
|
3068
3068
|
let { type } = $$props;
|
|
3069
3069
|
let { data } = $$props;
|
|
3070
3070
|
let { bounding } = $$props;
|
|
@@ -3123,13 +3123,13 @@
|
|
|
3123
3123
|
class RuleItem extends internal.SvelteComponent {
|
|
3124
3124
|
constructor(options) {
|
|
3125
3125
|
super();
|
|
3126
|
-
internal.init(this, options, instance$
|
|
3126
|
+
internal.init(this, options, instance$I, create_fragment$I, internal.safe_not_equal, { type: 0, data: 4, bounding: 5 }, add_css$D);
|
|
3127
3127
|
}
|
|
3128
3128
|
}
|
|
3129
3129
|
|
|
3130
3130
|
/* src/floorplan/Components/RuleLabels/RuleLabels.svelte generated by Svelte v3.50.1 */
|
|
3131
3131
|
|
|
3132
|
-
function add_css$
|
|
3132
|
+
function add_css$C(target) {
|
|
3133
3133
|
internal.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}");
|
|
3134
3134
|
}
|
|
3135
3135
|
|
|
@@ -3206,7 +3206,7 @@
|
|
|
3206
3206
|
};
|
|
3207
3207
|
}
|
|
3208
3208
|
|
|
3209
|
-
function create_fragment$
|
|
3209
|
+
function create_fragment$H(ctx) {
|
|
3210
3210
|
let div;
|
|
3211
3211
|
let each_blocks = [];
|
|
3212
3212
|
let each_1_lookup = new Map();
|
|
@@ -3286,7 +3286,7 @@
|
|
|
3286
3286
|
const padding = 1000;
|
|
3287
3287
|
const exteriorWallOffset = 180;
|
|
3288
3288
|
|
|
3289
|
-
function instance$
|
|
3289
|
+
function instance$H($$self, $$props, $$invalidate) {
|
|
3290
3290
|
let bounding;
|
|
3291
3291
|
let ruleLabelData;
|
|
3292
3292
|
let ruleLabelDataKeys;
|
|
@@ -3366,7 +3366,7 @@
|
|
|
3366
3366
|
class RuleLabels extends internal.SvelteComponent {
|
|
3367
3367
|
constructor(options) {
|
|
3368
3368
|
super();
|
|
3369
|
-
internal.init(this, options, instance$
|
|
3369
|
+
internal.init(this, options, instance$H, create_fragment$H, internal.safe_not_equal, { floorIndex: 4, floorplanData: 5 }, add_css$C);
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
3372
|
|
|
@@ -3423,7 +3423,7 @@
|
|
|
3423
3423
|
|
|
3424
3424
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte generated by Svelte v3.50.1 */
|
|
3425
3425
|
|
|
3426
|
-
function create_fragment$
|
|
3426
|
+
function create_fragment$G(ctx) {
|
|
3427
3427
|
let path_1;
|
|
3428
3428
|
|
|
3429
3429
|
return {
|
|
@@ -3448,7 +3448,7 @@
|
|
|
3448
3448
|
};
|
|
3449
3449
|
}
|
|
3450
3450
|
|
|
3451
|
-
function instance$
|
|
3451
|
+
function instance$G($$self, $$props, $$invalidate) {
|
|
3452
3452
|
let d;
|
|
3453
3453
|
let { path } = $$props;
|
|
3454
3454
|
|
|
@@ -3468,13 +3468,13 @@
|
|
|
3468
3468
|
class RoomMaterial_0 extends internal.SvelteComponent {
|
|
3469
3469
|
constructor(options) {
|
|
3470
3470
|
super();
|
|
3471
|
-
internal.init(this, options, instance$
|
|
3471
|
+
internal.init(this, options, instance$G, create_fragment$G, internal.safe_not_equal, { path: 1 });
|
|
3472
3472
|
}
|
|
3473
3473
|
}
|
|
3474
3474
|
|
|
3475
3475
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte generated by Svelte v3.50.1 */
|
|
3476
3476
|
|
|
3477
|
-
function create_fragment$
|
|
3477
|
+
function create_fragment$F(ctx) {
|
|
3478
3478
|
let defs;
|
|
3479
3479
|
let pattern;
|
|
3480
3480
|
let rect;
|
|
@@ -3535,7 +3535,7 @@
|
|
|
3535
3535
|
|
|
3536
3536
|
const halfWidth = 6;
|
|
3537
3537
|
|
|
3538
|
-
function instance$
|
|
3538
|
+
function instance$F($$self, $$props, $$invalidate) {
|
|
3539
3539
|
let d;
|
|
3540
3540
|
let { path } = $$props;
|
|
3541
3541
|
const width = halfWidth * 2;
|
|
@@ -3557,13 +3557,13 @@
|
|
|
3557
3557
|
class RoomMaterial_1 extends internal.SvelteComponent {
|
|
3558
3558
|
constructor(options) {
|
|
3559
3559
|
super();
|
|
3560
|
-
internal.init(this, options, instance$
|
|
3560
|
+
internal.init(this, options, instance$F, create_fragment$F, internal.safe_not_equal, { path: 3 });
|
|
3561
3561
|
}
|
|
3562
3562
|
}
|
|
3563
3563
|
|
|
3564
3564
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte generated by Svelte v3.50.1 */
|
|
3565
3565
|
|
|
3566
|
-
function create_fragment$
|
|
3566
|
+
function create_fragment$E(ctx) {
|
|
3567
3567
|
let defs;
|
|
3568
3568
|
let pattern0;
|
|
3569
3569
|
let rect0;
|
|
@@ -3664,7 +3664,7 @@
|
|
|
3664
3664
|
};
|
|
3665
3665
|
}
|
|
3666
3666
|
|
|
3667
|
-
function instance$
|
|
3667
|
+
function instance$E($$self, $$props, $$invalidate) {
|
|
3668
3668
|
let d;
|
|
3669
3669
|
let { path } = $$props;
|
|
3670
3670
|
|
|
@@ -3684,13 +3684,13 @@
|
|
|
3684
3684
|
class RoomMaterial_2 extends internal.SvelteComponent {
|
|
3685
3685
|
constructor(options) {
|
|
3686
3686
|
super();
|
|
3687
|
-
internal.init(this, options, instance$
|
|
3687
|
+
internal.init(this, options, instance$E, create_fragment$E, internal.safe_not_equal, { path: 1 });
|
|
3688
3688
|
}
|
|
3689
3689
|
}
|
|
3690
3690
|
|
|
3691
3691
|
/* src/floorplan/Components/RoomMaterials/RoomMaterial.svelte generated by Svelte v3.50.1 */
|
|
3692
3692
|
|
|
3693
|
-
function add_css$
|
|
3693
|
+
function add_css$B(target) {
|
|
3694
3694
|
internal.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}");
|
|
3695
3695
|
}
|
|
3696
3696
|
|
|
@@ -3701,7 +3701,7 @@
|
|
|
3701
3701
|
}
|
|
3702
3702
|
|
|
3703
3703
|
// (19:6) {:else}
|
|
3704
|
-
function create_else_block$
|
|
3704
|
+
function create_else_block$4(ctx) {
|
|
3705
3705
|
let roommaterial_1;
|
|
3706
3706
|
let current;
|
|
3707
3707
|
roommaterial_1 = new RoomMaterial_1({ props: { path: /*room*/ ctx[5].path } });
|
|
@@ -3735,7 +3735,7 @@
|
|
|
3735
3735
|
}
|
|
3736
3736
|
|
|
3737
3737
|
// (17:37)
|
|
3738
|
-
function create_if_block_1$
|
|
3738
|
+
function create_if_block_1$c(ctx) {
|
|
3739
3739
|
let roommaterial_2;
|
|
3740
3740
|
let current;
|
|
3741
3741
|
roommaterial_2 = new RoomMaterial_2({ props: { path: /*room*/ ctx[5].path } });
|
|
@@ -3769,7 +3769,7 @@
|
|
|
3769
3769
|
}
|
|
3770
3770
|
|
|
3771
3771
|
// (15:6) {#if room.floorType === 1}
|
|
3772
|
-
function create_if_block$
|
|
3772
|
+
function create_if_block$p(ctx) {
|
|
3773
3773
|
let roommaterial_0;
|
|
3774
3774
|
let current;
|
|
3775
3775
|
roommaterial_0 = new RoomMaterial_0({ props: { path: /*room*/ ctx[5].path } });
|
|
@@ -3808,7 +3808,7 @@
|
|
|
3808
3808
|
let current_block_type_index;
|
|
3809
3809
|
let if_block;
|
|
3810
3810
|
let current;
|
|
3811
|
-
const if_block_creators = [create_if_block$
|
|
3811
|
+
const if_block_creators = [create_if_block$p, create_if_block_1$c, create_else_block$4];
|
|
3812
3812
|
const if_blocks = [];
|
|
3813
3813
|
|
|
3814
3814
|
function select_block_type(ctx, dirty) {
|
|
@@ -3877,7 +3877,7 @@
|
|
|
3877
3877
|
};
|
|
3878
3878
|
}
|
|
3879
3879
|
|
|
3880
|
-
function create_fragment$
|
|
3880
|
+
function create_fragment$D(ctx) {
|
|
3881
3881
|
let div;
|
|
3882
3882
|
let current;
|
|
3883
3883
|
let each_value = /*rooms*/ ctx[0];
|
|
@@ -3963,7 +3963,7 @@
|
|
|
3963
3963
|
};
|
|
3964
3964
|
}
|
|
3965
3965
|
|
|
3966
|
-
function instance$
|
|
3966
|
+
function instance$D($$self, $$props, $$invalidate) {
|
|
3967
3967
|
let rooms;
|
|
3968
3968
|
let { floorIndex } = $$props;
|
|
3969
3969
|
let { floorplanData } = $$props;
|
|
@@ -3989,17 +3989,17 @@
|
|
|
3989
3989
|
class RoomMaterial extends internal.SvelteComponent {
|
|
3990
3990
|
constructor(options) {
|
|
3991
3991
|
super();
|
|
3992
|
-
internal.init(this, options, instance$
|
|
3992
|
+
internal.init(this, options, instance$D, create_fragment$D, internal.safe_not_equal, { floorIndex: 3, floorplanData: 4 }, add_css$B);
|
|
3993
3993
|
}
|
|
3994
3994
|
}
|
|
3995
3995
|
|
|
3996
3996
|
/* src/floorplan/Components/RoomHighlight/Room.svelte generated by Svelte v3.50.1 */
|
|
3997
3997
|
|
|
3998
|
-
function add_css$
|
|
3998
|
+
function add_css$A(target) {
|
|
3999
3999
|
internal.append_styles(target, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
|
|
4000
4000
|
}
|
|
4001
4001
|
|
|
4002
|
-
function create_fragment$
|
|
4002
|
+
function create_fragment$C(ctx) {
|
|
4003
4003
|
let path;
|
|
4004
4004
|
let mounted;
|
|
4005
4005
|
let dispose;
|
|
@@ -4034,7 +4034,7 @@
|
|
|
4034
4034
|
};
|
|
4035
4035
|
}
|
|
4036
4036
|
|
|
4037
|
-
function instance$
|
|
4037
|
+
function instance$C($$self, $$props, $$invalidate) {
|
|
4038
4038
|
let { room } = $$props;
|
|
4039
4039
|
let { floorplanData } = $$props;
|
|
4040
4040
|
let { hoveredRoom } = $$props;
|
|
@@ -4070,22 +4070,22 @@
|
|
|
4070
4070
|
internal.init(
|
|
4071
4071
|
this,
|
|
4072
4072
|
options,
|
|
4073
|
-
instance$
|
|
4074
|
-
create_fragment$
|
|
4073
|
+
instance$C,
|
|
4074
|
+
create_fragment$C,
|
|
4075
4075
|
internal.safe_not_equal,
|
|
4076
4076
|
{
|
|
4077
4077
|
room: 3,
|
|
4078
4078
|
floorplanData: 4,
|
|
4079
4079
|
hoveredRoom: 5
|
|
4080
4080
|
},
|
|
4081
|
-
add_css$
|
|
4081
|
+
add_css$A
|
|
4082
4082
|
);
|
|
4083
4083
|
}
|
|
4084
4084
|
}
|
|
4085
4085
|
|
|
4086
4086
|
/* src/floorplan/Components/RoomHighlight/RoomHighlight.svelte generated by Svelte v3.50.1 */
|
|
4087
4087
|
|
|
4088
|
-
function add_css$
|
|
4088
|
+
function add_css$z(target) {
|
|
4089
4089
|
internal.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}");
|
|
4090
4090
|
}
|
|
4091
4091
|
|
|
@@ -4161,7 +4161,7 @@
|
|
|
4161
4161
|
};
|
|
4162
4162
|
}
|
|
4163
4163
|
|
|
4164
|
-
function create_fragment$
|
|
4164
|
+
function create_fragment$B(ctx) {
|
|
4165
4165
|
let div;
|
|
4166
4166
|
let svg;
|
|
4167
4167
|
let each_blocks = [];
|
|
@@ -4235,7 +4235,7 @@
|
|
|
4235
4235
|
};
|
|
4236
4236
|
}
|
|
4237
4237
|
|
|
4238
|
-
function instance$
|
|
4238
|
+
function instance$B($$self, $$props, $$invalidate) {
|
|
4239
4239
|
let { floorIndex } = $$props;
|
|
4240
4240
|
let { floorplanData } = $$props;
|
|
4241
4241
|
let { hoveredRoom } = $$props;
|
|
@@ -4258,22 +4258,22 @@
|
|
|
4258
4258
|
internal.init(
|
|
4259
4259
|
this,
|
|
4260
4260
|
options,
|
|
4261
|
-
instance$
|
|
4262
|
-
create_fragment$
|
|
4261
|
+
instance$B,
|
|
4262
|
+
create_fragment$B,
|
|
4263
4263
|
internal.safe_not_equal,
|
|
4264
4264
|
{
|
|
4265
4265
|
floorIndex: 0,
|
|
4266
4266
|
floorplanData: 1,
|
|
4267
4267
|
hoveredRoom: 2
|
|
4268
4268
|
},
|
|
4269
|
-
add_css$
|
|
4269
|
+
add_css$z
|
|
4270
4270
|
);
|
|
4271
4271
|
}
|
|
4272
4272
|
}
|
|
4273
4273
|
|
|
4274
4274
|
/* src/floorplan/Components/CurrentFloor.svelte generated by Svelte v3.50.1 */
|
|
4275
4275
|
|
|
4276
|
-
function add_css$
|
|
4276
|
+
function add_css$y(target) {
|
|
4277
4277
|
internal.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}");
|
|
4278
4278
|
}
|
|
4279
4279
|
|
|
@@ -4335,7 +4335,7 @@
|
|
|
4335
4335
|
}
|
|
4336
4336
|
|
|
4337
4337
|
// (24:2) {#if roomLabelsEnable}
|
|
4338
|
-
function create_if_block_1$
|
|
4338
|
+
function create_if_block_1$b(ctx) {
|
|
4339
4339
|
let roomlabels;
|
|
4340
4340
|
let current;
|
|
4341
4341
|
|
|
@@ -4396,7 +4396,7 @@
|
|
|
4396
4396
|
}
|
|
4397
4397
|
|
|
4398
4398
|
// (27:2) {#if ruleLabelsEnable}
|
|
4399
|
-
function create_if_block$
|
|
4399
|
+
function create_if_block$o(ctx) {
|
|
4400
4400
|
let rulelabels;
|
|
4401
4401
|
let current;
|
|
4402
4402
|
|
|
@@ -4450,7 +4450,7 @@
|
|
|
4450
4450
|
};
|
|
4451
4451
|
}
|
|
4452
4452
|
|
|
4453
|
-
function create_fragment$
|
|
4453
|
+
function create_fragment$A(ctx) {
|
|
4454
4454
|
let div;
|
|
4455
4455
|
let roommaterial;
|
|
4456
4456
|
let t0;
|
|
@@ -4491,8 +4491,8 @@
|
|
|
4491
4491
|
}
|
|
4492
4492
|
|
|
4493
4493
|
baseimage = new BaseImage({ props: baseimage_props });
|
|
4494
|
-
let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$
|
|
4495
|
-
let if_block2 = /*ruleLabelsEnable*/ ctx[4] && create_if_block$
|
|
4494
|
+
let if_block1 = /*roomLabelsEnable*/ ctx[3] && create_if_block_1$b(ctx);
|
|
4495
|
+
let if_block2 = /*ruleLabelsEnable*/ ctx[4] && create_if_block$o(ctx);
|
|
4496
4496
|
|
|
4497
4497
|
return {
|
|
4498
4498
|
c() {
|
|
@@ -4578,7 +4578,7 @@
|
|
|
4578
4578
|
internal.transition_in(if_block1, 1);
|
|
4579
4579
|
}
|
|
4580
4580
|
} else {
|
|
4581
|
-
if_block1 = create_if_block_1$
|
|
4581
|
+
if_block1 = create_if_block_1$b(ctx);
|
|
4582
4582
|
if_block1.c();
|
|
4583
4583
|
internal.transition_in(if_block1, 1);
|
|
4584
4584
|
if_block1.m(div, t3);
|
|
@@ -4601,7 +4601,7 @@
|
|
|
4601
4601
|
internal.transition_in(if_block2, 1);
|
|
4602
4602
|
}
|
|
4603
4603
|
} else {
|
|
4604
|
-
if_block2 = create_if_block$
|
|
4604
|
+
if_block2 = create_if_block$o(ctx);
|
|
4605
4605
|
if_block2.c();
|
|
4606
4606
|
internal.transition_in(if_block2, 1);
|
|
4607
4607
|
if_block2.m(div, null);
|
|
@@ -4650,7 +4650,7 @@
|
|
|
4650
4650
|
};
|
|
4651
4651
|
}
|
|
4652
4652
|
|
|
4653
|
-
function instance$
|
|
4653
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
4654
4654
|
let { isCurrent } = $$props;
|
|
4655
4655
|
let { floorIndex } = $$props;
|
|
4656
4656
|
let { hoverEnable } = $$props;
|
|
@@ -4692,8 +4692,8 @@
|
|
|
4692
4692
|
internal.init(
|
|
4693
4693
|
this,
|
|
4694
4694
|
options,
|
|
4695
|
-
instance$
|
|
4696
|
-
create_fragment$
|
|
4695
|
+
instance$A,
|
|
4696
|
+
create_fragment$A,
|
|
4697
4697
|
internal.safe_not_equal,
|
|
4698
4698
|
{
|
|
4699
4699
|
isCurrent: 0,
|
|
@@ -4705,14 +4705,14 @@
|
|
|
4705
4705
|
getLabelElement: 6,
|
|
4706
4706
|
adaptiveRoomLabelVisibleEnable: 7
|
|
4707
4707
|
},
|
|
4708
|
-
add_css$
|
|
4708
|
+
add_css$y
|
|
4709
4709
|
);
|
|
4710
4710
|
}
|
|
4711
4711
|
}
|
|
4712
4712
|
|
|
4713
4713
|
/* src/floorplan/Components/Main.svelte generated by Svelte v3.50.1 */
|
|
4714
4714
|
|
|
4715
|
-
function add_css$
|
|
4715
|
+
function add_css$x(target) {
|
|
4716
4716
|
internal.append_styles(target, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
|
|
4717
4717
|
}
|
|
4718
4718
|
|
|
@@ -4723,7 +4723,7 @@
|
|
|
4723
4723
|
}
|
|
4724
4724
|
|
|
4725
4725
|
// (22:0) {#if visible}
|
|
4726
|
-
function create_if_block$
|
|
4726
|
+
function create_if_block$n(ctx) {
|
|
4727
4727
|
let div;
|
|
4728
4728
|
let t0;
|
|
4729
4729
|
let camera;
|
|
@@ -4757,7 +4757,7 @@
|
|
|
4757
4757
|
}
|
|
4758
4758
|
|
|
4759
4759
|
camera = new Camera$1({ props: camera_props });
|
|
4760
|
-
let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$
|
|
4760
|
+
let if_block = /*compassEnable*/ ctx[6] && create_if_block_1$a(ctx);
|
|
4761
4761
|
|
|
4762
4762
|
return {
|
|
4763
4763
|
c() {
|
|
@@ -4837,7 +4837,7 @@
|
|
|
4837
4837
|
internal.transition_in(if_block, 1);
|
|
4838
4838
|
}
|
|
4839
4839
|
} else {
|
|
4840
|
-
if_block = create_if_block_1$
|
|
4840
|
+
if_block = create_if_block_1$a(ctx);
|
|
4841
4841
|
if_block.c();
|
|
4842
4842
|
internal.transition_in(if_block, 1);
|
|
4843
4843
|
if_block.m(div, null);
|
|
@@ -4971,7 +4971,7 @@
|
|
|
4971
4971
|
}
|
|
4972
4972
|
|
|
4973
4973
|
// (39:4) {#if compassEnable}
|
|
4974
|
-
function create_if_block_1$
|
|
4974
|
+
function create_if_block_1$a(ctx) {
|
|
4975
4975
|
let compass;
|
|
4976
4976
|
let current;
|
|
4977
4977
|
|
|
@@ -5011,10 +5011,10 @@
|
|
|
5011
5011
|
};
|
|
5012
5012
|
}
|
|
5013
5013
|
|
|
5014
|
-
function create_fragment$
|
|
5014
|
+
function create_fragment$z(ctx) {
|
|
5015
5015
|
let if_block_anchor;
|
|
5016
5016
|
let current;
|
|
5017
|
-
let if_block = /*visible*/ ctx[1] && create_if_block$
|
|
5017
|
+
let if_block = /*visible*/ ctx[1] && create_if_block$n(ctx);
|
|
5018
5018
|
|
|
5019
5019
|
return {
|
|
5020
5020
|
c() {
|
|
@@ -5035,7 +5035,7 @@
|
|
|
5035
5035
|
internal.transition_in(if_block, 1);
|
|
5036
5036
|
}
|
|
5037
5037
|
} else {
|
|
5038
|
-
if_block = create_if_block$
|
|
5038
|
+
if_block = create_if_block$n(ctx);
|
|
5039
5039
|
if_block.c();
|
|
5040
5040
|
internal.transition_in(if_block, 1);
|
|
5041
5041
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5066,7 +5066,7 @@
|
|
|
5066
5066
|
};
|
|
5067
5067
|
}
|
|
5068
5068
|
|
|
5069
|
-
function instance$
|
|
5069
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
5070
5070
|
let { duration = 0 } = $$props;
|
|
5071
5071
|
let { visible } = $$props;
|
|
5072
5072
|
let { northDesc } = $$props;
|
|
@@ -5124,8 +5124,8 @@
|
|
|
5124
5124
|
internal.init(
|
|
5125
5125
|
this,
|
|
5126
5126
|
options,
|
|
5127
|
-
instance$
|
|
5128
|
-
create_fragment$
|
|
5127
|
+
instance$z,
|
|
5128
|
+
create_fragment$z,
|
|
5129
5129
|
internal.safe_not_equal,
|
|
5130
5130
|
{
|
|
5131
5131
|
duration: 0,
|
|
@@ -5143,7 +5143,7 @@
|
|
|
5143
5143
|
getLabelElement: 12,
|
|
5144
5144
|
adaptiveRoomLabelVisibleEnable: 13
|
|
5145
5145
|
},
|
|
5146
|
-
add_css$
|
|
5146
|
+
add_css$x
|
|
5147
5147
|
);
|
|
5148
5148
|
}
|
|
5149
5149
|
}
|
|
@@ -7339,11 +7339,11 @@
|
|
|
7339
7339
|
|
|
7340
7340
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte generated by Svelte v3.50.1 */
|
|
7341
7341
|
|
|
7342
|
-
function add_css$
|
|
7342
|
+
function add_css$w(target) {
|
|
7343
7343
|
internal.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%}");
|
|
7344
7344
|
}
|
|
7345
7345
|
|
|
7346
|
-
function create_fragment$
|
|
7346
|
+
function create_fragment$y(ctx) {
|
|
7347
7347
|
let div2;
|
|
7348
7348
|
let div1;
|
|
7349
7349
|
let div0;
|
|
@@ -7393,7 +7393,7 @@
|
|
|
7393
7393
|
return `rotate(${rotate}deg)`;
|
|
7394
7394
|
}
|
|
7395
7395
|
|
|
7396
|
-
function instance$
|
|
7396
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
7397
7397
|
let positionTransform;
|
|
7398
7398
|
let rotateTransform;
|
|
7399
7399
|
let { five } = $$props;
|
|
@@ -7473,8 +7473,8 @@
|
|
|
7473
7473
|
internal.init(
|
|
7474
7474
|
this,
|
|
7475
7475
|
options,
|
|
7476
|
-
instance$
|
|
7477
|
-
create_fragment$
|
|
7476
|
+
instance$y,
|
|
7477
|
+
create_fragment$y,
|
|
7478
7478
|
internal.safe_not_equal,
|
|
7479
7479
|
{
|
|
7480
7480
|
five: 3,
|
|
@@ -7482,14 +7482,14 @@
|
|
|
7482
7482
|
floorplanData: 5,
|
|
7483
7483
|
cameraImageUrl: 0
|
|
7484
7484
|
},
|
|
7485
|
-
add_css$
|
|
7485
|
+
add_css$w
|
|
7486
7486
|
);
|
|
7487
7487
|
}
|
|
7488
7488
|
}
|
|
7489
7489
|
|
|
7490
7490
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte generated by Svelte v3.50.1 */
|
|
7491
7491
|
|
|
7492
|
-
function add_css$
|
|
7492
|
+
function add_css$v(target) {
|
|
7493
7493
|
internal.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%)}");
|
|
7494
7494
|
}
|
|
7495
7495
|
|
|
@@ -7559,7 +7559,7 @@
|
|
|
7559
7559
|
};
|
|
7560
7560
|
}
|
|
7561
7561
|
|
|
7562
|
-
function create_fragment$
|
|
7562
|
+
function create_fragment$x(ctx) {
|
|
7563
7563
|
let div;
|
|
7564
7564
|
let each_blocks = [];
|
|
7565
7565
|
let each_1_lookup = new Map();
|
|
@@ -7607,7 +7607,7 @@
|
|
|
7607
7607
|
};
|
|
7608
7608
|
}
|
|
7609
7609
|
|
|
7610
|
-
function instance$
|
|
7610
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
7611
7611
|
let { extraObjects = [] } = $$props;
|
|
7612
7612
|
|
|
7613
7613
|
$$self.$$set = $$props => {
|
|
@@ -7620,13 +7620,13 @@
|
|
|
7620
7620
|
class ExtraObjects extends internal.SvelteComponent {
|
|
7621
7621
|
constructor(options) {
|
|
7622
7622
|
super();
|
|
7623
|
-
internal.init(this, options, instance$
|
|
7623
|
+
internal.init(this, options, instance$x, create_fragment$x, internal.safe_not_equal, { extraObjects: 0 }, add_css$v);
|
|
7624
7624
|
}
|
|
7625
7625
|
}
|
|
7626
7626
|
|
|
7627
7627
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte generated by Svelte v3.50.1 */
|
|
7628
7628
|
|
|
7629
|
-
function create_if_block$
|
|
7629
|
+
function create_if_block$m(ctx) {
|
|
7630
7630
|
let highlight;
|
|
7631
7631
|
let current;
|
|
7632
7632
|
|
|
@@ -7686,7 +7686,7 @@
|
|
|
7686
7686
|
};
|
|
7687
7687
|
}
|
|
7688
7688
|
|
|
7689
|
-
function create_fragment$
|
|
7689
|
+
function create_fragment$w(ctx) {
|
|
7690
7690
|
let baseimage;
|
|
7691
7691
|
let t0;
|
|
7692
7692
|
let extraobjects;
|
|
@@ -7715,7 +7715,7 @@
|
|
|
7715
7715
|
}
|
|
7716
7716
|
});
|
|
7717
7717
|
|
|
7718
|
-
let if_block = /*hoverEnable*/ ctx[3] && create_if_block$
|
|
7718
|
+
let if_block = /*hoverEnable*/ ctx[3] && create_if_block$m(ctx);
|
|
7719
7719
|
|
|
7720
7720
|
return {
|
|
7721
7721
|
c() {
|
|
@@ -7758,7 +7758,7 @@
|
|
|
7758
7758
|
internal.transition_in(if_block, 1);
|
|
7759
7759
|
}
|
|
7760
7760
|
} else {
|
|
7761
|
-
if_block = create_if_block$
|
|
7761
|
+
if_block = create_if_block$m(ctx);
|
|
7762
7762
|
if_block.c();
|
|
7763
7763
|
internal.transition_in(if_block, 1);
|
|
7764
7764
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -7797,7 +7797,7 @@
|
|
|
7797
7797
|
};
|
|
7798
7798
|
}
|
|
7799
7799
|
|
|
7800
|
-
function instance$
|
|
7800
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
7801
7801
|
let currentFloorExtraObjects;
|
|
7802
7802
|
let { five } = $$props;
|
|
7803
7803
|
let { pxmm } = $$props;
|
|
@@ -7840,7 +7840,7 @@
|
|
|
7840
7840
|
constructor(options) {
|
|
7841
7841
|
super();
|
|
7842
7842
|
|
|
7843
|
-
internal.init(this, options, instance$
|
|
7843
|
+
internal.init(this, options, instance$w, create_fragment$w, internal.safe_not_equal, {
|
|
7844
7844
|
five: 0,
|
|
7845
7845
|
pxmm: 1,
|
|
7846
7846
|
floorIndex: 2,
|
|
@@ -7853,16 +7853,16 @@
|
|
|
7853
7853
|
|
|
7854
7854
|
/* src/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte generated by Svelte v3.50.1 */
|
|
7855
7855
|
|
|
7856
|
-
function add_css$
|
|
7856
|
+
function add_css$u(target) {
|
|
7857
7857
|
internal.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}");
|
|
7858
7858
|
}
|
|
7859
7859
|
|
|
7860
7860
|
// (41:0) {#if visible}
|
|
7861
|
-
function create_if_block$
|
|
7861
|
+
function create_if_block$l(ctx) {
|
|
7862
7862
|
let div;
|
|
7863
7863
|
let div_resize_listener;
|
|
7864
7864
|
let current;
|
|
7865
|
-
let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1$
|
|
7865
|
+
let if_block = /*clientWidth*/ ctx[6] !== 0 && create_if_block_1$9(ctx);
|
|
7866
7866
|
|
|
7867
7867
|
return {
|
|
7868
7868
|
c() {
|
|
@@ -7886,7 +7886,7 @@
|
|
|
7886
7886
|
internal.transition_in(if_block, 1);
|
|
7887
7887
|
}
|
|
7888
7888
|
} else {
|
|
7889
|
-
if_block = create_if_block_1$
|
|
7889
|
+
if_block = create_if_block_1$9(ctx);
|
|
7890
7890
|
if_block.c();
|
|
7891
7891
|
internal.transition_in(if_block, 1);
|
|
7892
7892
|
if_block.m(div, null);
|
|
@@ -7919,7 +7919,7 @@
|
|
|
7919
7919
|
}
|
|
7920
7920
|
|
|
7921
7921
|
// (43:4) {#if clientWidth !== 0}
|
|
7922
|
-
function create_if_block_1$
|
|
7922
|
+
function create_if_block_1$9(ctx) {
|
|
7923
7923
|
let div;
|
|
7924
7924
|
let currentfloor;
|
|
7925
7925
|
let t;
|
|
@@ -8037,10 +8037,10 @@
|
|
|
8037
8037
|
};
|
|
8038
8038
|
}
|
|
8039
8039
|
|
|
8040
|
-
function create_fragment$
|
|
8040
|
+
function create_fragment$v(ctx) {
|
|
8041
8041
|
let if_block_anchor;
|
|
8042
8042
|
let current;
|
|
8043
|
-
let if_block = /*visible*/ ctx[1] && create_if_block$
|
|
8043
|
+
let if_block = /*visible*/ ctx[1] && create_if_block$l(ctx);
|
|
8044
8044
|
|
|
8045
8045
|
return {
|
|
8046
8046
|
c() {
|
|
@@ -8061,7 +8061,7 @@
|
|
|
8061
8061
|
internal.transition_in(if_block, 1);
|
|
8062
8062
|
}
|
|
8063
8063
|
} else {
|
|
8064
|
-
if_block = create_if_block$
|
|
8064
|
+
if_block = create_if_block$l(ctx);
|
|
8065
8065
|
if_block.c();
|
|
8066
8066
|
internal.transition_in(if_block, 1);
|
|
8067
8067
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -8092,7 +8092,7 @@
|
|
|
8092
8092
|
};
|
|
8093
8093
|
}
|
|
8094
8094
|
|
|
8095
|
-
function instance$
|
|
8095
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
8096
8096
|
let { five } = $$props;
|
|
8097
8097
|
let { visible } = $$props;
|
|
8098
8098
|
let { hoverEnable } = $$props;
|
|
@@ -8178,8 +8178,8 @@
|
|
|
8178
8178
|
internal.init(
|
|
8179
8179
|
this,
|
|
8180
8180
|
options,
|
|
8181
|
-
instance$
|
|
8182
|
-
create_fragment$
|
|
8181
|
+
instance$v,
|
|
8182
|
+
create_fragment$v,
|
|
8183
8183
|
internal.safe_not_equal,
|
|
8184
8184
|
{
|
|
8185
8185
|
five: 0,
|
|
@@ -8189,7 +8189,7 @@
|
|
|
8189
8189
|
cameraImageUrl: 4,
|
|
8190
8190
|
extraObjects: 5
|
|
8191
8191
|
},
|
|
8192
|
-
add_css$
|
|
8192
|
+
add_css$u
|
|
8193
8193
|
);
|
|
8194
8194
|
}
|
|
8195
8195
|
}
|
|
@@ -9658,7 +9658,7 @@
|
|
|
9658
9658
|
|
|
9659
9659
|
/* src/PanoRulerProPlugin/RulerItem.svelte generated by Svelte v3.50.1 */
|
|
9660
9660
|
|
|
9661
|
-
function add_css$
|
|
9661
|
+
function add_css$t(target) {
|
|
9662
9662
|
internal.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)}}");
|
|
9663
9663
|
}
|
|
9664
9664
|
|
|
@@ -9669,7 +9669,7 @@
|
|
|
9669
9669
|
}
|
|
9670
9670
|
|
|
9671
9671
|
// (28:2) {:else}
|
|
9672
|
-
function create_else_block$
|
|
9672
|
+
function create_else_block$3(ctx) {
|
|
9673
9673
|
let div;
|
|
9674
9674
|
let each_value = /*rulerItemProp*/ ctx[0].children;
|
|
9675
9675
|
let each_blocks = [];
|
|
@@ -9727,7 +9727,7 @@
|
|
|
9727
9727
|
}
|
|
9728
9728
|
|
|
9729
9729
|
// (26:2) {#if rulerItemProp.children.length === 0}
|
|
9730
|
-
function create_if_block$
|
|
9730
|
+
function create_if_block$k(ctx) {
|
|
9731
9731
|
let em;
|
|
9732
9732
|
let em_class_value;
|
|
9733
9733
|
|
|
@@ -9796,7 +9796,7 @@
|
|
|
9796
9796
|
};
|
|
9797
9797
|
}
|
|
9798
9798
|
|
|
9799
|
-
function create_fragment$
|
|
9799
|
+
function create_fragment$u(ctx) {
|
|
9800
9800
|
let div2;
|
|
9801
9801
|
let t0;
|
|
9802
9802
|
let div1;
|
|
@@ -9811,8 +9811,8 @@
|
|
|
9811
9811
|
let style_transform = `rotate(${/*rulerItemProp*/ ctx[0].rotateDeg}deg)`;
|
|
9812
9812
|
|
|
9813
9813
|
function select_block_type(ctx, dirty) {
|
|
9814
|
-
if (/*rulerItemProp*/ ctx[0].children.length === 0) return create_if_block$
|
|
9815
|
-
return create_else_block$
|
|
9814
|
+
if (/*rulerItemProp*/ ctx[0].children.length === 0) return create_if_block$k;
|
|
9815
|
+
return create_else_block$3;
|
|
9816
9816
|
}
|
|
9817
9817
|
|
|
9818
9818
|
let current_block_type = select_block_type(ctx);
|
|
@@ -9910,7 +9910,7 @@
|
|
|
9910
9910
|
};
|
|
9911
9911
|
}
|
|
9912
9912
|
|
|
9913
|
-
function instance$
|
|
9913
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
9914
9914
|
let vars;
|
|
9915
9915
|
let { rulerItemProp } = $$props;
|
|
9916
9916
|
let _visible = true;
|
|
@@ -9945,7 +9945,7 @@
|
|
|
9945
9945
|
class RulerItem extends internal.SvelteComponent {
|
|
9946
9946
|
constructor(options) {
|
|
9947
9947
|
super();
|
|
9948
|
-
internal.init(this, options, instance$
|
|
9948
|
+
internal.init(this, options, instance$u, create_fragment$u, internal.safe_not_equal, { rulerItemProp: 0 }, add_css$t);
|
|
9949
9949
|
}
|
|
9950
9950
|
}
|
|
9951
9951
|
|
|
@@ -9994,7 +9994,7 @@
|
|
|
9994
9994
|
};
|
|
9995
9995
|
}
|
|
9996
9996
|
|
|
9997
|
-
function create_fragment$
|
|
9997
|
+
function create_fragment$t(ctx) {
|
|
9998
9998
|
let div;
|
|
9999
9999
|
let current;
|
|
10000
10000
|
let each_value = /*rulerItemProp*/ ctx[0];
|
|
@@ -10078,7 +10078,7 @@
|
|
|
10078
10078
|
};
|
|
10079
10079
|
}
|
|
10080
10080
|
|
|
10081
|
-
function instance$
|
|
10081
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
10082
10082
|
var _a, _b, _c, _d;
|
|
10083
10083
|
let { five: five$1 } = $$props;
|
|
10084
10084
|
let { rulerDatas } = $$props;
|
|
@@ -10296,7 +10296,7 @@
|
|
|
10296
10296
|
class RulerItems extends internal.SvelteComponent {
|
|
10297
10297
|
constructor(options) {
|
|
10298
10298
|
super();
|
|
10299
|
-
internal.init(this, options, instance$
|
|
10299
|
+
internal.init(this, options, instance$t, create_fragment$t, internal.safe_not_equal, { five: 1, rulerDatas: 2, options: 3 });
|
|
10300
10300
|
}
|
|
10301
10301
|
}
|
|
10302
10302
|
|
|
@@ -15029,7 +15029,7 @@ void main() {
|
|
|
15029
15029
|
|
|
15030
15030
|
/* src/PanoSpatialTagPlugin/Components/origins.svelte generated by Svelte v3.50.1 */
|
|
15031
15031
|
|
|
15032
|
-
function add_css$
|
|
15032
|
+
function add_css$s(target) {
|
|
15033
15033
|
internal.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}}");
|
|
15034
15034
|
}
|
|
15035
15035
|
|
|
@@ -15096,7 +15096,7 @@ void main() {
|
|
|
15096
15096
|
};
|
|
15097
15097
|
}
|
|
15098
15098
|
|
|
15099
|
-
function create_fragment$
|
|
15099
|
+
function create_fragment$s(ctx) {
|
|
15100
15100
|
let each_1_anchor;
|
|
15101
15101
|
let each_value = /*origins*/ ctx[0];
|
|
15102
15102
|
let each_blocks = [];
|
|
@@ -15153,7 +15153,7 @@ void main() {
|
|
|
15153
15153
|
};
|
|
15154
15154
|
}
|
|
15155
15155
|
|
|
15156
|
-
function instance$
|
|
15156
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
15157
15157
|
let { origins } = $$props;
|
|
15158
15158
|
|
|
15159
15159
|
const handleClick = id => {
|
|
@@ -15172,17 +15172,17 @@ void main() {
|
|
|
15172
15172
|
class Origins extends internal.SvelteComponent {
|
|
15173
15173
|
constructor(options) {
|
|
15174
15174
|
super();
|
|
15175
|
-
internal.init(this, options, instance$
|
|
15175
|
+
internal.init(this, options, instance$s, create_fragment$s, internal.safe_not_equal, { origins: 0 }, add_css$s);
|
|
15176
15176
|
}
|
|
15177
15177
|
}
|
|
15178
15178
|
|
|
15179
15179
|
/* src/PanoSpatialTagPlugin/Components/tag.svelte generated by Svelte v3.50.1 */
|
|
15180
15180
|
|
|
15181
|
-
function add_css$
|
|
15181
|
+
function add_css$r(target) {
|
|
15182
15182
|
internal.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)}}");
|
|
15183
15183
|
}
|
|
15184
15184
|
|
|
15185
|
-
function create_fragment$
|
|
15185
|
+
function create_fragment$r(ctx) {
|
|
15186
15186
|
let div4;
|
|
15187
15187
|
let div0;
|
|
15188
15188
|
let t0;
|
|
@@ -15297,7 +15297,7 @@ void main() {
|
|
|
15297
15297
|
};
|
|
15298
15298
|
}
|
|
15299
15299
|
|
|
15300
|
-
function instance$
|
|
15300
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
15301
15301
|
let { id } = $$props;
|
|
15302
15302
|
let { upsideDown } = $$props;
|
|
15303
15303
|
let { content } = $$props;
|
|
@@ -15434,8 +15434,8 @@ void main() {
|
|
|
15434
15434
|
internal.init(
|
|
15435
15435
|
this,
|
|
15436
15436
|
options,
|
|
15437
|
-
instance$
|
|
15438
|
-
create_fragment$
|
|
15437
|
+
instance$r,
|
|
15438
|
+
create_fragment$r,
|
|
15439
15439
|
internal.safe_not_equal,
|
|
15440
15440
|
{
|
|
15441
15441
|
id: 0,
|
|
@@ -15450,7 +15450,7 @@ void main() {
|
|
|
15450
15450
|
events: 14,
|
|
15451
15451
|
hooks: 15
|
|
15452
15452
|
},
|
|
15453
|
-
add_css$
|
|
15453
|
+
add_css$r
|
|
15454
15454
|
);
|
|
15455
15455
|
}
|
|
15456
15456
|
}
|
|
@@ -16104,11 +16104,11 @@ void main() {
|
|
|
16104
16104
|
|
|
16105
16105
|
/* src/ModelItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.50.1 */
|
|
16106
16106
|
|
|
16107
|
-
function add_css$
|
|
16107
|
+
function add_css$q(target) {
|
|
16108
16108
|
internal.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 }}");
|
|
16109
16109
|
}
|
|
16110
16110
|
|
|
16111
|
-
function create_fragment$
|
|
16111
|
+
function create_fragment$q(ctx) {
|
|
16112
16112
|
let div2;
|
|
16113
16113
|
let div0;
|
|
16114
16114
|
let span;
|
|
@@ -16189,7 +16189,7 @@ void main() {
|
|
|
16189
16189
|
};
|
|
16190
16190
|
}
|
|
16191
16191
|
|
|
16192
|
-
function instance$
|
|
16192
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
16193
16193
|
let { itemLabel } = $$props;
|
|
16194
16194
|
let { hooks } = $$props;
|
|
16195
16195
|
|
|
@@ -16209,7 +16209,7 @@ void main() {
|
|
|
16209
16209
|
class ItemLabelItem$1 extends internal.SvelteComponent {
|
|
16210
16210
|
constructor(options) {
|
|
16211
16211
|
super();
|
|
16212
|
-
internal.init(this, options, instance$
|
|
16212
|
+
internal.init(this, options, instance$q, create_fragment$q, internal.safe_not_equal, { itemLabel: 0, hooks: 2 }, add_css$q);
|
|
16213
16213
|
}
|
|
16214
16214
|
}
|
|
16215
16215
|
|
|
@@ -16230,7 +16230,7 @@ void main() {
|
|
|
16230
16230
|
|
|
16231
16231
|
/* src/ModelItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.50.1 */
|
|
16232
16232
|
|
|
16233
|
-
function add_css$
|
|
16233
|
+
function add_css$p(target) {
|
|
16234
16234
|
internal.append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
|
|
16235
16235
|
}
|
|
16236
16236
|
|
|
@@ -16289,7 +16289,7 @@ void main() {
|
|
|
16289
16289
|
};
|
|
16290
16290
|
}
|
|
16291
16291
|
|
|
16292
|
-
function create_fragment$
|
|
16292
|
+
function create_fragment$p(ctx) {
|
|
16293
16293
|
let div;
|
|
16294
16294
|
let each_blocks = [];
|
|
16295
16295
|
let each_1_lookup = new Map();
|
|
@@ -16369,7 +16369,7 @@ void main() {
|
|
|
16369
16369
|
let cssHeight = 26;
|
|
16370
16370
|
let basicWidth$1 = 11;
|
|
16371
16371
|
|
|
16372
|
-
function instance$
|
|
16372
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
16373
16373
|
const { Raycaster, Vector3 } = THREE__namespace;
|
|
16374
16374
|
let { five } = $$props;
|
|
16375
16375
|
let { modelOcclusionEnable } = $$props;
|
|
@@ -16571,8 +16571,8 @@ void main() {
|
|
|
16571
16571
|
internal.init(
|
|
16572
16572
|
this,
|
|
16573
16573
|
options,
|
|
16574
|
-
instance$
|
|
16575
|
-
create_fragment$
|
|
16574
|
+
instance$p,
|
|
16575
|
+
create_fragment$p,
|
|
16576
16576
|
internal.safe_not_equal,
|
|
16577
16577
|
{
|
|
16578
16578
|
five: 5,
|
|
@@ -16581,7 +16581,7 @@ void main() {
|
|
|
16581
16581
|
hooks: 0,
|
|
16582
16582
|
displayStrategyType: 8
|
|
16583
16583
|
},
|
|
16584
|
-
add_css$
|
|
16584
|
+
add_css$p
|
|
16585
16585
|
);
|
|
16586
16586
|
}
|
|
16587
16587
|
}
|
|
@@ -16995,12 +16995,12 @@ void main() {
|
|
|
16995
16995
|
|
|
16996
16996
|
/* src/ItemLabelPlugin/ItemLabelItem.svelte generated by Svelte v3.50.1 */
|
|
16997
16997
|
|
|
16998
|
-
function add_css$
|
|
16998
|
+
function add_css$o(target) {
|
|
16999
16999
|
internal.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 }}");
|
|
17000
17000
|
}
|
|
17001
17001
|
|
|
17002
17002
|
// (34:8) {:else}
|
|
17003
|
-
function create_else_block$
|
|
17003
|
+
function create_else_block$2(ctx) {
|
|
17004
17004
|
let t0;
|
|
17005
17005
|
let div;
|
|
17006
17006
|
let span0;
|
|
@@ -17010,7 +17010,7 @@ void main() {
|
|
|
17010
17010
|
let span1;
|
|
17011
17011
|
let t3_value = /*itemLabel*/ ctx[0].name + "";
|
|
17012
17012
|
let t3;
|
|
17013
|
-
let if_block = /*itemLabel*/ ctx[0].icon && create_if_block_1$
|
|
17013
|
+
let if_block = /*itemLabel*/ ctx[0].icon && create_if_block_1$8(ctx);
|
|
17014
17014
|
|
|
17015
17015
|
return {
|
|
17016
17016
|
c() {
|
|
@@ -17041,7 +17041,7 @@ void main() {
|
|
|
17041
17041
|
if (if_block) {
|
|
17042
17042
|
if_block.p(ctx, dirty);
|
|
17043
17043
|
} else {
|
|
17044
|
-
if_block = create_if_block_1$
|
|
17044
|
+
if_block = create_if_block_1$8(ctx);
|
|
17045
17045
|
if_block.c();
|
|
17046
17046
|
if_block.m(t0.parentNode, t0);
|
|
17047
17047
|
}
|
|
@@ -17062,7 +17062,7 @@ void main() {
|
|
|
17062
17062
|
}
|
|
17063
17063
|
|
|
17064
17064
|
// (32:8) {#if Boolean(typeof itemLabel.render === 'function')}
|
|
17065
|
-
function create_if_block$
|
|
17065
|
+
function create_if_block$j(ctx) {
|
|
17066
17066
|
let div;
|
|
17067
17067
|
|
|
17068
17068
|
return {
|
|
@@ -17082,7 +17082,7 @@ void main() {
|
|
|
17082
17082
|
}
|
|
17083
17083
|
|
|
17084
17084
|
// (35:12) {#if itemLabel.icon}
|
|
17085
|
-
function create_if_block_1$
|
|
17085
|
+
function create_if_block_1$8(ctx) {
|
|
17086
17086
|
let div1;
|
|
17087
17087
|
let div0;
|
|
17088
17088
|
let div0_style_value;
|
|
@@ -17119,7 +17119,7 @@ void main() {
|
|
|
17119
17119
|
};
|
|
17120
17120
|
}
|
|
17121
17121
|
|
|
17122
|
-
function create_fragment$
|
|
17122
|
+
function create_fragment$o(ctx) {
|
|
17123
17123
|
let div2;
|
|
17124
17124
|
let div0;
|
|
17125
17125
|
let show_if;
|
|
@@ -17134,8 +17134,8 @@ void main() {
|
|
|
17134
17134
|
function select_block_type(ctx, dirty) {
|
|
17135
17135
|
if (dirty & /*itemLabel*/ 1) show_if = null;
|
|
17136
17136
|
if (show_if == null) show_if = !!Boolean(typeof /*itemLabel*/ ctx[0].render === 'function');
|
|
17137
|
-
if (show_if) return create_if_block$
|
|
17138
|
-
return create_else_block$
|
|
17137
|
+
if (show_if) return create_if_block$j;
|
|
17138
|
+
return create_else_block$2;
|
|
17139
17139
|
}
|
|
17140
17140
|
|
|
17141
17141
|
let current_block_type = select_block_type(ctx, -1);
|
|
@@ -17226,7 +17226,7 @@ void main() {
|
|
|
17226
17226
|
};
|
|
17227
17227
|
}
|
|
17228
17228
|
|
|
17229
|
-
function instance$
|
|
17229
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
17230
17230
|
let { itemLabel } = $$props;
|
|
17231
17231
|
let { hooks } = $$props;
|
|
17232
17232
|
let { anchorEnabled } = $$props;
|
|
@@ -17290,8 +17290,8 @@ void main() {
|
|
|
17290
17290
|
internal.init(
|
|
17291
17291
|
this,
|
|
17292
17292
|
options,
|
|
17293
|
-
instance$
|
|
17294
|
-
create_fragment$
|
|
17293
|
+
instance$o,
|
|
17294
|
+
create_fragment$o,
|
|
17295
17295
|
internal.safe_not_equal,
|
|
17296
17296
|
{
|
|
17297
17297
|
itemLabel: 0,
|
|
@@ -17299,7 +17299,7 @@ void main() {
|
|
|
17299
17299
|
anchorEnabled: 1,
|
|
17300
17300
|
onIconClick: 2
|
|
17301
17301
|
},
|
|
17302
|
-
add_css$
|
|
17302
|
+
add_css$o
|
|
17303
17303
|
);
|
|
17304
17304
|
}
|
|
17305
17305
|
}
|
|
@@ -17344,7 +17344,7 @@ void main() {
|
|
|
17344
17344
|
|
|
17345
17345
|
/* src/ItemLabelPlugin/ItemLabelComponent.svelte generated by Svelte v3.50.1 */
|
|
17346
17346
|
|
|
17347
|
-
function add_css$
|
|
17347
|
+
function add_css$n(target) {
|
|
17348
17348
|
internal.append_styles(target, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
|
|
17349
17349
|
}
|
|
17350
17350
|
|
|
@@ -17355,7 +17355,7 @@ void main() {
|
|
|
17355
17355
|
}
|
|
17356
17356
|
|
|
17357
17357
|
// (234:2) {#if itemLabelItem.visible}
|
|
17358
|
-
function create_if_block$
|
|
17358
|
+
function create_if_block$i(ctx) {
|
|
17359
17359
|
let itemlabelitem;
|
|
17360
17360
|
let current;
|
|
17361
17361
|
|
|
@@ -17403,7 +17403,7 @@ void main() {
|
|
|
17403
17403
|
let first;
|
|
17404
17404
|
let if_block_anchor;
|
|
17405
17405
|
let current;
|
|
17406
|
-
let if_block = /*itemLabelItem*/ ctx[31].visible && create_if_block$
|
|
17406
|
+
let if_block = /*itemLabelItem*/ ctx[31].visible && create_if_block$i(ctx);
|
|
17407
17407
|
|
|
17408
17408
|
return {
|
|
17409
17409
|
key: key_1,
|
|
@@ -17431,7 +17431,7 @@ void main() {
|
|
|
17431
17431
|
internal.transition_in(if_block, 1);
|
|
17432
17432
|
}
|
|
17433
17433
|
} else {
|
|
17434
|
-
if_block = create_if_block$
|
|
17434
|
+
if_block = create_if_block$i(ctx);
|
|
17435
17435
|
if_block.c();
|
|
17436
17436
|
internal.transition_in(if_block, 1);
|
|
17437
17437
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -17463,7 +17463,7 @@ void main() {
|
|
|
17463
17463
|
};
|
|
17464
17464
|
}
|
|
17465
17465
|
|
|
17466
|
-
function create_fragment$
|
|
17466
|
+
function create_fragment$n(ctx) {
|
|
17467
17467
|
let div;
|
|
17468
17468
|
let each_blocks = [];
|
|
17469
17469
|
let each_1_lookup = new Map();
|
|
@@ -17541,7 +17541,7 @@ void main() {
|
|
|
17541
17541
|
}
|
|
17542
17542
|
let basicWidth = 11;
|
|
17543
17543
|
|
|
17544
|
-
function instance$
|
|
17544
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
17545
17545
|
const { Raycaster, Vector3 } = THREE__namespace;
|
|
17546
17546
|
let { five: five$1 } = $$props;
|
|
17547
17547
|
let { modelOcclusionEnable } = $$props;
|
|
@@ -17834,8 +17834,8 @@ void main() {
|
|
|
17834
17834
|
internal.init(
|
|
17835
17835
|
this,
|
|
17836
17836
|
options,
|
|
17837
|
-
instance$
|
|
17838
|
-
create_fragment$
|
|
17837
|
+
instance$n,
|
|
17838
|
+
create_fragment$n,
|
|
17839
17839
|
internal.safe_not_equal,
|
|
17840
17840
|
{
|
|
17841
17841
|
five: 7,
|
|
@@ -17846,7 +17846,7 @@ void main() {
|
|
|
17846
17846
|
displayStrategyType: 11,
|
|
17847
17847
|
maxVisibleDistance: 12
|
|
17848
17848
|
},
|
|
17849
|
-
add_css$
|
|
17849
|
+
add_css$n,
|
|
17850
17850
|
[-1, -1]
|
|
17851
17851
|
);
|
|
17852
17852
|
}
|
|
@@ -18088,11 +18088,11 @@ void main() {
|
|
|
18088
18088
|
|
|
18089
18089
|
/* src/PanoDoorLabelPlugin/DoorLabelItem.svelte generated by Svelte v3.50.1 */
|
|
18090
18090
|
|
|
18091
|
-
function add_css$
|
|
18091
|
+
function add_css$m(target) {
|
|
18092
18092
|
internal.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)}");
|
|
18093
18093
|
}
|
|
18094
18094
|
|
|
18095
|
-
function create_fragment$
|
|
18095
|
+
function create_fragment$m(ctx) {
|
|
18096
18096
|
let div1;
|
|
18097
18097
|
let div0;
|
|
18098
18098
|
let span;
|
|
@@ -18147,7 +18147,7 @@ void main() {
|
|
|
18147
18147
|
};
|
|
18148
18148
|
}
|
|
18149
18149
|
|
|
18150
|
-
function instance$
|
|
18150
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
18151
18151
|
let { props } = $$props;
|
|
18152
18152
|
let { onClick } = $$props;
|
|
18153
18153
|
let divElement;
|
|
@@ -18220,7 +18220,7 @@ void main() {
|
|
|
18220
18220
|
class DoorLabelItem extends internal.SvelteComponent {
|
|
18221
18221
|
constructor(options) {
|
|
18222
18222
|
super();
|
|
18223
|
-
internal.init(this, options, instance$
|
|
18223
|
+
internal.init(this, options, instance$m, create_fragment$m, internal.safe_not_equal, { props: 0, onClick: 1 }, add_css$m);
|
|
18224
18224
|
}
|
|
18225
18225
|
}
|
|
18226
18226
|
|
|
@@ -20339,12 +20339,12 @@ void main() {
|
|
|
20339
20339
|
|
|
20340
20340
|
/* src/PanoTagPlugin/Components/Common/Line/Straight.svelte generated by Svelte v3.50.1 */
|
|
20341
20341
|
|
|
20342
|
-
function add_css$
|
|
20342
|
+
function add_css$l(target) {
|
|
20343
20343
|
internal.append_styles(target, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
|
|
20344
20344
|
}
|
|
20345
20345
|
|
|
20346
20346
|
// (17:2) {#if unfolded}
|
|
20347
|
-
function create_if_block$
|
|
20347
|
+
function create_if_block$h(ctx) {
|
|
20348
20348
|
let path;
|
|
20349
20349
|
let path_intro;
|
|
20350
20350
|
let path_outro;
|
|
@@ -20402,13 +20402,13 @@ void main() {
|
|
|
20402
20402
|
};
|
|
20403
20403
|
}
|
|
20404
20404
|
|
|
20405
|
-
function create_fragment$
|
|
20405
|
+
function create_fragment$l(ctx) {
|
|
20406
20406
|
let svg;
|
|
20407
20407
|
let defs;
|
|
20408
20408
|
let linearGradient;
|
|
20409
20409
|
let stop0;
|
|
20410
20410
|
let stop1;
|
|
20411
|
-
let if_block = /*unfolded*/ ctx[3] && create_if_block$
|
|
20411
|
+
let if_block = /*unfolded*/ ctx[3] && create_if_block$h(ctx);
|
|
20412
20412
|
|
|
20413
20413
|
return {
|
|
20414
20414
|
c() {
|
|
@@ -20447,7 +20447,7 @@ void main() {
|
|
|
20447
20447
|
internal.transition_in(if_block, 1);
|
|
20448
20448
|
}
|
|
20449
20449
|
} else {
|
|
20450
|
-
if_block = create_if_block$
|
|
20450
|
+
if_block = create_if_block$h(ctx);
|
|
20451
20451
|
if_block.c();
|
|
20452
20452
|
internal.transition_in(if_block, 1);
|
|
20453
20453
|
if_block.m(svg, null);
|
|
@@ -20475,7 +20475,7 @@ void main() {
|
|
|
20475
20475
|
};
|
|
20476
20476
|
}
|
|
20477
20477
|
|
|
20478
|
-
function instance$
|
|
20478
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
20479
20479
|
let { inDelay = 0 } = $$props;
|
|
20480
20480
|
let { duration = 0 } = $$props;
|
|
20481
20481
|
let { outDelay = 0 } = $$props;
|
|
@@ -20499,8 +20499,8 @@ void main() {
|
|
|
20499
20499
|
internal.init(
|
|
20500
20500
|
this,
|
|
20501
20501
|
options,
|
|
20502
|
-
instance$
|
|
20503
|
-
create_fragment$
|
|
20502
|
+
instance$l,
|
|
20503
|
+
create_fragment$l,
|
|
20504
20504
|
internal.safe_not_equal,
|
|
20505
20505
|
{
|
|
20506
20506
|
inDelay: 0,
|
|
@@ -20508,19 +20508,19 @@ void main() {
|
|
|
20508
20508
|
outDelay: 2,
|
|
20509
20509
|
unfolded: 3
|
|
20510
20510
|
},
|
|
20511
|
-
add_css$
|
|
20511
|
+
add_css$l
|
|
20512
20512
|
);
|
|
20513
20513
|
}
|
|
20514
20514
|
}
|
|
20515
20515
|
|
|
20516
20516
|
/* src/PanoTagPlugin/Components/Common/Shadow.svelte generated by Svelte v3.50.1 */
|
|
20517
20517
|
|
|
20518
|
-
function add_css$
|
|
20518
|
+
function add_css$k(target) {
|
|
20519
20519
|
internal.append_styles(target, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
|
|
20520
20520
|
}
|
|
20521
20521
|
|
|
20522
20522
|
// (23:0) {#if visible}
|
|
20523
|
-
function create_if_block$
|
|
20523
|
+
function create_if_block$g(ctx) {
|
|
20524
20524
|
let div;
|
|
20525
20525
|
let div_style_value;
|
|
20526
20526
|
let div_intro;
|
|
@@ -20616,9 +20616,9 @@ void main() {
|
|
|
20616
20616
|
};
|
|
20617
20617
|
}
|
|
20618
20618
|
|
|
20619
|
-
function create_fragment$
|
|
20619
|
+
function create_fragment$k(ctx) {
|
|
20620
20620
|
let if_block_anchor;
|
|
20621
|
-
let if_block = /*visible*/ ctx[2] && create_if_block$
|
|
20621
|
+
let if_block = /*visible*/ ctx[2] && create_if_block$g(ctx);
|
|
20622
20622
|
|
|
20623
20623
|
return {
|
|
20624
20624
|
c() {
|
|
@@ -20638,7 +20638,7 @@ void main() {
|
|
|
20638
20638
|
internal.transition_in(if_block, 1);
|
|
20639
20639
|
}
|
|
20640
20640
|
} else {
|
|
20641
|
-
if_block = create_if_block$
|
|
20641
|
+
if_block = create_if_block$g(ctx);
|
|
20642
20642
|
if_block.c();
|
|
20643
20643
|
internal.transition_in(if_block, 1);
|
|
20644
20644
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -20670,7 +20670,7 @@ void main() {
|
|
|
20670
20670
|
return typeof value === 'number' ? value / 16 + 'rem' : value;
|
|
20671
20671
|
}
|
|
20672
20672
|
|
|
20673
|
-
function instance$
|
|
20673
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
20674
20674
|
let { inDelay = 1000 } = $$props;
|
|
20675
20675
|
let { outDelay = 1000 } = $$props;
|
|
20676
20676
|
let { visible = true } = $$props;
|
|
@@ -20728,8 +20728,8 @@ void main() {
|
|
|
20728
20728
|
internal.init(
|
|
20729
20729
|
this,
|
|
20730
20730
|
options,
|
|
20731
|
-
instance$
|
|
20732
|
-
create_fragment$
|
|
20731
|
+
instance$k,
|
|
20732
|
+
create_fragment$k,
|
|
20733
20733
|
internal.safe_not_equal,
|
|
20734
20734
|
{
|
|
20735
20735
|
inDelay: 0,
|
|
@@ -20747,7 +20747,7 @@ void main() {
|
|
|
20747
20747
|
opacity: 12,
|
|
20748
20748
|
zIndex: 13
|
|
20749
20749
|
},
|
|
20750
|
-
add_css$
|
|
20750
|
+
add_css$k
|
|
20751
20751
|
);
|
|
20752
20752
|
}
|
|
20753
20753
|
}
|
|
@@ -20759,7 +20759,7 @@ void main() {
|
|
|
20759
20759
|
|
|
20760
20760
|
/* src/PanoTagPlugin/Components/Common/Text.svelte generated by Svelte v3.50.1 */
|
|
20761
20761
|
|
|
20762
|
-
function add_css$
|
|
20762
|
+
function add_css$j(target) {
|
|
20763
20763
|
internal.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)}");
|
|
20764
20764
|
}
|
|
20765
20765
|
|
|
@@ -20771,7 +20771,7 @@ void main() {
|
|
|
20771
20771
|
return child_ctx;
|
|
20772
20772
|
}
|
|
20773
20773
|
|
|
20774
|
-
// (
|
|
20774
|
+
// (79:0) {#each contentList as item, index}
|
|
20775
20775
|
function create_each_block$5(ctx) {
|
|
20776
20776
|
let span;
|
|
20777
20777
|
let t_value = /*item*/ ctx[10] + "";
|
|
@@ -20808,7 +20808,7 @@ void main() {
|
|
|
20808
20808
|
};
|
|
20809
20809
|
}
|
|
20810
20810
|
|
|
20811
|
-
function create_fragment$
|
|
20811
|
+
function create_fragment$j(ctx) {
|
|
20812
20812
|
let each_1_anchor;
|
|
20813
20813
|
let each_value = /*contentList*/ ctx[1];
|
|
20814
20814
|
let each_blocks = [];
|
|
@@ -20865,7 +20865,7 @@ void main() {
|
|
|
20865
20865
|
};
|
|
20866
20866
|
}
|
|
20867
20867
|
|
|
20868
|
-
function instance$
|
|
20868
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
20869
20869
|
let contentList;
|
|
20870
20870
|
let { inDelay = 0 } = $$props;
|
|
20871
20871
|
let { outDelay = 0 } = $$props;
|
|
@@ -20953,7 +20953,6 @@ void main() {
|
|
|
20953
20953
|
if (item.startsWith(emojiFlag)) return result.push(item.slice(emojiFlag.length)); else return result.push(...item.split(''));
|
|
20954
20954
|
});
|
|
20955
20955
|
|
|
20956
|
-
// console.log(result.filter(Boolean))
|
|
20957
20956
|
return result.filter(Boolean);
|
|
20958
20957
|
})());
|
|
20959
20958
|
}
|
|
@@ -20975,8 +20974,8 @@ void main() {
|
|
|
20975
20974
|
internal.init(
|
|
20976
20975
|
this,
|
|
20977
20976
|
options,
|
|
20978
|
-
instance$
|
|
20979
|
-
create_fragment$
|
|
20977
|
+
instance$j,
|
|
20978
|
+
create_fragment$j,
|
|
20980
20979
|
internal.safe_not_equal,
|
|
20981
20980
|
{
|
|
20982
20981
|
inDelay: 2,
|
|
@@ -20984,7 +20983,7 @@ void main() {
|
|
|
20984
20983
|
content: 4,
|
|
20985
20984
|
unfolded: 5
|
|
20986
20985
|
},
|
|
20987
|
-
add_css$
|
|
20986
|
+
add_css$j
|
|
20988
20987
|
);
|
|
20989
20988
|
}
|
|
20990
20989
|
}
|
|
@@ -20994,12 +20993,12 @@ void main() {
|
|
|
20994
20993
|
|
|
20995
20994
|
/* src/PanoTagPlugin/Components/Common/Arrow.svelte generated by Svelte v3.50.1 */
|
|
20996
20995
|
|
|
20997
|
-
function add_css$
|
|
20996
|
+
function add_css$i(target) {
|
|
20998
20997
|
internal.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)}");
|
|
20999
20998
|
}
|
|
21000
20999
|
|
|
21001
21000
|
// (12:0) {#if visible}
|
|
21002
|
-
function create_if_block$
|
|
21001
|
+
function create_if_block$f(ctx) {
|
|
21003
21002
|
let div1;
|
|
21004
21003
|
let shadow;
|
|
21005
21004
|
let t;
|
|
@@ -21092,10 +21091,10 @@ void main() {
|
|
|
21092
21091
|
};
|
|
21093
21092
|
}
|
|
21094
21093
|
|
|
21095
|
-
function create_fragment$
|
|
21094
|
+
function create_fragment$i(ctx) {
|
|
21096
21095
|
let if_block_anchor;
|
|
21097
21096
|
let current;
|
|
21098
|
-
let if_block = /*visible*/ ctx[1] && create_if_block$
|
|
21097
|
+
let if_block = /*visible*/ ctx[1] && create_if_block$f(ctx);
|
|
21099
21098
|
|
|
21100
21099
|
return {
|
|
21101
21100
|
c() {
|
|
@@ -21116,7 +21115,7 @@ void main() {
|
|
|
21116
21115
|
internal.transition_in(if_block, 1);
|
|
21117
21116
|
}
|
|
21118
21117
|
} else {
|
|
21119
|
-
if_block = create_if_block$
|
|
21118
|
+
if_block = create_if_block$f(ctx);
|
|
21120
21119
|
if_block.c();
|
|
21121
21120
|
internal.transition_in(if_block, 1);
|
|
21122
21121
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -21147,7 +21146,7 @@ void main() {
|
|
|
21147
21146
|
};
|
|
21148
21147
|
}
|
|
21149
21148
|
|
|
21150
|
-
function instance$
|
|
21149
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
21151
21150
|
let { direction = 'right' } = $$props;
|
|
21152
21151
|
let { visible = true } = $$props;
|
|
21153
21152
|
let { duration = 0 } = $$props;
|
|
@@ -21176,8 +21175,8 @@ void main() {
|
|
|
21176
21175
|
internal.init(
|
|
21177
21176
|
this,
|
|
21178
21177
|
options,
|
|
21179
|
-
instance$
|
|
21180
|
-
create_fragment$
|
|
21178
|
+
instance$i,
|
|
21179
|
+
create_fragment$i,
|
|
21181
21180
|
internal.safe_not_equal,
|
|
21182
21181
|
{
|
|
21183
21182
|
direction: 0,
|
|
@@ -21186,14 +21185,14 @@ void main() {
|
|
|
21186
21185
|
inDelay: 3,
|
|
21187
21186
|
outDelay: 4
|
|
21188
21187
|
},
|
|
21189
|
-
add_css$
|
|
21188
|
+
add_css$i
|
|
21190
21189
|
);
|
|
21191
21190
|
}
|
|
21192
21191
|
}
|
|
21193
21192
|
|
|
21194
21193
|
/* src/PanoTagPlugin/Components/Common/MultiLineText.svelte generated by Svelte v3.50.1 */
|
|
21195
21194
|
|
|
21196
|
-
function add_css$
|
|
21195
|
+
function add_css$h(target) {
|
|
21197
21196
|
internal.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}");
|
|
21198
21197
|
}
|
|
21199
21198
|
|
|
@@ -21265,7 +21264,7 @@ void main() {
|
|
|
21265
21264
|
}
|
|
21266
21265
|
|
|
21267
21266
|
// (28:0) {#if lineHeight < textHeight}
|
|
21268
|
-
function create_if_block$
|
|
21267
|
+
function create_if_block$e(ctx) {
|
|
21269
21268
|
let div;
|
|
21270
21269
|
let arrow;
|
|
21271
21270
|
let current;
|
|
@@ -21312,7 +21311,7 @@ void main() {
|
|
|
21312
21311
|
};
|
|
21313
21312
|
}
|
|
21314
21313
|
|
|
21315
|
-
function create_fragment$
|
|
21314
|
+
function create_fragment$h(ctx) {
|
|
21316
21315
|
let each_blocks = [];
|
|
21317
21316
|
let each_1_lookup = new Map();
|
|
21318
21317
|
let t;
|
|
@@ -21327,7 +21326,7 @@ void main() {
|
|
|
21327
21326
|
each_1_lookup.set(key, each_blocks[i] = create_each_block$4(key, child_ctx));
|
|
21328
21327
|
}
|
|
21329
21328
|
|
|
21330
|
-
let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$
|
|
21329
|
+
let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$e(ctx);
|
|
21331
21330
|
|
|
21332
21331
|
return {
|
|
21333
21332
|
c() {
|
|
@@ -21365,7 +21364,7 @@ void main() {
|
|
|
21365
21364
|
internal.transition_in(if_block, 1);
|
|
21366
21365
|
}
|
|
21367
21366
|
} else {
|
|
21368
|
-
if_block = create_if_block$
|
|
21367
|
+
if_block = create_if_block$e(ctx);
|
|
21369
21368
|
if_block.c();
|
|
21370
21369
|
internal.transition_in(if_block, 1);
|
|
21371
21370
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -21410,7 +21409,7 @@ void main() {
|
|
|
21410
21409
|
};
|
|
21411
21410
|
}
|
|
21412
21411
|
|
|
21413
|
-
function instance$
|
|
21412
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
21414
21413
|
let transform;
|
|
21415
21414
|
let arrowDirection;
|
|
21416
21415
|
let foldTextDelay;
|
|
@@ -21485,27 +21484,27 @@ void main() {
|
|
|
21485
21484
|
internal.init(
|
|
21486
21485
|
this,
|
|
21487
21486
|
options,
|
|
21488
|
-
instance$
|
|
21489
|
-
create_fragment$
|
|
21487
|
+
instance$h,
|
|
21488
|
+
create_fragment$h,
|
|
21490
21489
|
internal.safe_not_equal,
|
|
21491
21490
|
{
|
|
21492
21491
|
visible: 0,
|
|
21493
21492
|
textUnfolded: 8,
|
|
21494
21493
|
textItems: 1
|
|
21495
21494
|
},
|
|
21496
|
-
add_css$
|
|
21495
|
+
add_css$h
|
|
21497
21496
|
);
|
|
21498
21497
|
}
|
|
21499
21498
|
}
|
|
21500
21499
|
|
|
21501
21500
|
/* src/PanoTagPlugin/Components/Tag/TextTag.svelte generated by Svelte v3.50.1 */
|
|
21502
21501
|
|
|
21503
|
-
function add_css$
|
|
21502
|
+
function add_css$g(target) {
|
|
21504
21503
|
internal.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}");
|
|
21505
21504
|
}
|
|
21506
21505
|
|
|
21507
21506
|
// (29:0) {#if tag.state}
|
|
21508
|
-
function create_if_block$
|
|
21507
|
+
function create_if_block$d(ctx) {
|
|
21509
21508
|
let shadow;
|
|
21510
21509
|
let t0;
|
|
21511
21510
|
let div0;
|
|
@@ -21623,10 +21622,10 @@ void main() {
|
|
|
21623
21622
|
};
|
|
21624
21623
|
}
|
|
21625
21624
|
|
|
21626
|
-
function create_fragment$
|
|
21625
|
+
function create_fragment$g(ctx) {
|
|
21627
21626
|
let if_block_anchor;
|
|
21628
21627
|
let current;
|
|
21629
|
-
let if_block = /*tag*/ ctx[0].state && create_if_block$
|
|
21628
|
+
let if_block = /*tag*/ ctx[0].state && create_if_block$d(ctx);
|
|
21630
21629
|
|
|
21631
21630
|
return {
|
|
21632
21631
|
c() {
|
|
@@ -21647,7 +21646,7 @@ void main() {
|
|
|
21647
21646
|
internal.transition_in(if_block, 1);
|
|
21648
21647
|
}
|
|
21649
21648
|
} else {
|
|
21650
|
-
if_block = create_if_block$
|
|
21649
|
+
if_block = create_if_block$d(ctx);
|
|
21651
21650
|
if_block.c();
|
|
21652
21651
|
internal.transition_in(if_block, 1);
|
|
21653
21652
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -21678,7 +21677,7 @@ void main() {
|
|
|
21678
21677
|
};
|
|
21679
21678
|
}
|
|
21680
21679
|
|
|
21681
|
-
function instance$
|
|
21680
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
21682
21681
|
let unfolded;
|
|
21683
21682
|
let text;
|
|
21684
21683
|
let foldTextDelay;
|
|
@@ -21753,18 +21752,18 @@ void main() {
|
|
|
21753
21752
|
class TextTag extends internal.SvelteComponent {
|
|
21754
21753
|
constructor(options) {
|
|
21755
21754
|
super();
|
|
21756
|
-
internal.init(this, options, instance$
|
|
21755
|
+
internal.init(this, options, instance$g, create_fragment$g, internal.safe_not_equal, { tag: 0 }, add_css$g);
|
|
21757
21756
|
}
|
|
21758
21757
|
}
|
|
21759
21758
|
|
|
21760
21759
|
/* src/PanoTagPlugin/Components/Common/Line/Polyline.svelte generated by Svelte v3.50.1 */
|
|
21761
21760
|
|
|
21762
|
-
function add_css$
|
|
21761
|
+
function add_css$f(target) {
|
|
21763
21762
|
internal.append_styles(target, "svelte-e72ouh", ".line.svelte-e72ouh{width:100%;height:100%;overflow:visible}");
|
|
21764
21763
|
}
|
|
21765
21764
|
|
|
21766
21765
|
// (18:2) {#if unfolded}
|
|
21767
|
-
function create_if_block$
|
|
21766
|
+
function create_if_block$c(ctx) {
|
|
21768
21767
|
let path;
|
|
21769
21768
|
let path_intro;
|
|
21770
21769
|
let path_outro;
|
|
@@ -21824,13 +21823,13 @@ void main() {
|
|
|
21824
21823
|
};
|
|
21825
21824
|
}
|
|
21826
21825
|
|
|
21827
|
-
function create_fragment$
|
|
21826
|
+
function create_fragment$f(ctx) {
|
|
21828
21827
|
let svg;
|
|
21829
21828
|
let defs;
|
|
21830
21829
|
let linearGradient;
|
|
21831
21830
|
let stop0;
|
|
21832
21831
|
let stop1;
|
|
21833
|
-
let if_block = /*unfolded*/ ctx[3] && create_if_block$
|
|
21832
|
+
let if_block = /*unfolded*/ ctx[3] && create_if_block$c(ctx);
|
|
21834
21833
|
|
|
21835
21834
|
return {
|
|
21836
21835
|
c() {
|
|
@@ -21868,7 +21867,7 @@ void main() {
|
|
|
21868
21867
|
internal.transition_in(if_block, 1);
|
|
21869
21868
|
}
|
|
21870
21869
|
} else {
|
|
21871
|
-
if_block = create_if_block$
|
|
21870
|
+
if_block = create_if_block$c(ctx);
|
|
21872
21871
|
if_block.c();
|
|
21873
21872
|
internal.transition_in(if_block, 1);
|
|
21874
21873
|
if_block.m(svg, null);
|
|
@@ -21896,7 +21895,7 @@ void main() {
|
|
|
21896
21895
|
};
|
|
21897
21896
|
}
|
|
21898
21897
|
|
|
21899
|
-
function instance$
|
|
21898
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
21900
21899
|
let { inDelay = 0 } = $$props;
|
|
21901
21900
|
let { duration = 0 } = $$props;
|
|
21902
21901
|
let { outDelay = 0 } = $$props;
|
|
@@ -21920,8 +21919,8 @@ void main() {
|
|
|
21920
21919
|
internal.init(
|
|
21921
21920
|
this,
|
|
21922
21921
|
options,
|
|
21923
|
-
instance$
|
|
21924
|
-
create_fragment$
|
|
21922
|
+
instance$f,
|
|
21923
|
+
create_fragment$f,
|
|
21925
21924
|
internal.safe_not_equal,
|
|
21926
21925
|
{
|
|
21927
21926
|
inDelay: 0,
|
|
@@ -21929,98 +21928,295 @@ void main() {
|
|
|
21929
21928
|
outDelay: 2,
|
|
21930
21929
|
unfolded: 3
|
|
21931
21930
|
},
|
|
21932
|
-
add_css$
|
|
21931
|
+
add_css$f
|
|
21933
21932
|
);
|
|
21934
21933
|
}
|
|
21935
21934
|
}
|
|
21936
21935
|
|
|
21936
|
+
/* src/PanoTagPlugin/Components/Common/MediaItem.svelte generated by Svelte v3.50.1 */
|
|
21937
|
+
|
|
21938
|
+
function add_css$e(target) {
|
|
21939
|
+
internal.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%)}");
|
|
21940
|
+
}
|
|
21941
|
+
|
|
21942
|
+
// (6:0) {#if media}
|
|
21943
|
+
function create_if_block$b(ctx) {
|
|
21944
|
+
let div;
|
|
21945
|
+
let div_style_value;
|
|
21946
|
+
|
|
21947
|
+
function select_block_type(ctx, dirty) {
|
|
21948
|
+
if (/*media*/ ctx[0].type === 'Image') return create_if_block_1$7;
|
|
21949
|
+
if (/*media*/ ctx[0].type === 'Video') return create_if_block_2$3;
|
|
21950
|
+
}
|
|
21951
|
+
|
|
21952
|
+
let current_block_type = select_block_type(ctx);
|
|
21953
|
+
let if_block = current_block_type && current_block_type(ctx);
|
|
21954
|
+
|
|
21955
|
+
return {
|
|
21956
|
+
c() {
|
|
21957
|
+
div = internal.element("div");
|
|
21958
|
+
if (if_block) if_block.c();
|
|
21959
|
+
internal.attr(div, "class", "media-item svelte-6jwk1w");
|
|
21960
|
+
internal.attr(div, "style", div_style_value = `object-fit: ${/*objectFit*/ ctx[1]};`);
|
|
21961
|
+
},
|
|
21962
|
+
m(target, anchor) {
|
|
21963
|
+
internal.insert(target, div, anchor);
|
|
21964
|
+
if (if_block) if_block.m(div, null);
|
|
21965
|
+
},
|
|
21966
|
+
p(ctx, dirty) {
|
|
21967
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
21968
|
+
if_block.p(ctx, dirty);
|
|
21969
|
+
} else {
|
|
21970
|
+
if (if_block) if_block.d(1);
|
|
21971
|
+
if_block = current_block_type && current_block_type(ctx);
|
|
21972
|
+
|
|
21973
|
+
if (if_block) {
|
|
21974
|
+
if_block.c();
|
|
21975
|
+
if_block.m(div, null);
|
|
21976
|
+
}
|
|
21977
|
+
}
|
|
21978
|
+
|
|
21979
|
+
if (dirty & /*objectFit*/ 2 && div_style_value !== (div_style_value = `object-fit: ${/*objectFit*/ ctx[1]};`)) {
|
|
21980
|
+
internal.attr(div, "style", div_style_value);
|
|
21981
|
+
}
|
|
21982
|
+
},
|
|
21983
|
+
d(detaching) {
|
|
21984
|
+
if (detaching) internal.detach(div);
|
|
21985
|
+
|
|
21986
|
+
if (if_block) {
|
|
21987
|
+
if_block.d();
|
|
21988
|
+
}
|
|
21989
|
+
}
|
|
21990
|
+
};
|
|
21991
|
+
}
|
|
21992
|
+
|
|
21993
|
+
// (10:37)
|
|
21994
|
+
function create_if_block_2$3(ctx) {
|
|
21995
|
+
let video;
|
|
21996
|
+
let video_src_value;
|
|
21997
|
+
let video_poster_value;
|
|
21998
|
+
let video_preload_value;
|
|
21999
|
+
let t;
|
|
22000
|
+
let div;
|
|
22001
|
+
|
|
22002
|
+
return {
|
|
22003
|
+
c() {
|
|
22004
|
+
video = internal.element("video");
|
|
22005
|
+
t = internal.space();
|
|
22006
|
+
div = internal.element("div");
|
|
22007
|
+
internal.attr(video, "class", "media-content svelte-6jwk1w");
|
|
22008
|
+
if (!internal.src_url_equal(video.src, video_src_value = /*media*/ ctx[0].url)) internal.attr(video, "src", video_src_value);
|
|
22009
|
+
internal.attr(video, "poster", video_poster_value = /*media*/ ctx[0].videoCoverUrl ?? undefined);
|
|
22010
|
+
internal.attr(video, "preload", video_preload_value = /*media*/ ctx[0].videoCoverUrl ? undefined : 'auto');
|
|
22011
|
+
video.playsInline = true;
|
|
22012
|
+
internal.attr(video, "paused", "");
|
|
22013
|
+
video.loop = false;
|
|
22014
|
+
internal.attr(video, "crossorigin", "");
|
|
22015
|
+
video.controls = false;
|
|
22016
|
+
video.muted = true;
|
|
22017
|
+
internal.attr(div, "class", "video-icon svelte-6jwk1w");
|
|
22018
|
+
internal.set_style(div, "background-image", "url(" + Image_Play + ")");
|
|
22019
|
+
},
|
|
22020
|
+
m(target, anchor) {
|
|
22021
|
+
internal.insert(target, video, anchor);
|
|
22022
|
+
internal.insert(target, t, anchor);
|
|
22023
|
+
internal.insert(target, div, anchor);
|
|
22024
|
+
},
|
|
22025
|
+
p(ctx, dirty) {
|
|
22026
|
+
if (dirty & /*media*/ 1 && !internal.src_url_equal(video.src, video_src_value = /*media*/ ctx[0].url)) {
|
|
22027
|
+
internal.attr(video, "src", video_src_value);
|
|
22028
|
+
}
|
|
22029
|
+
|
|
22030
|
+
if (dirty & /*media*/ 1 && video_poster_value !== (video_poster_value = /*media*/ ctx[0].videoCoverUrl ?? undefined)) {
|
|
22031
|
+
internal.attr(video, "poster", video_poster_value);
|
|
22032
|
+
}
|
|
22033
|
+
|
|
22034
|
+
if (dirty & /*media*/ 1 && video_preload_value !== (video_preload_value = /*media*/ ctx[0].videoCoverUrl ? undefined : 'auto')) {
|
|
22035
|
+
internal.attr(video, "preload", video_preload_value);
|
|
22036
|
+
}
|
|
22037
|
+
},
|
|
22038
|
+
d(detaching) {
|
|
22039
|
+
if (detaching) internal.detach(video);
|
|
22040
|
+
if (detaching) internal.detach(t);
|
|
22041
|
+
if (detaching) internal.detach(div);
|
|
22042
|
+
}
|
|
22043
|
+
};
|
|
22044
|
+
}
|
|
22045
|
+
|
|
22046
|
+
// (8:4) {#if media.type === 'Image'}
|
|
22047
|
+
function create_if_block_1$7(ctx) {
|
|
22048
|
+
let img;
|
|
22049
|
+
let img_src_value;
|
|
22050
|
+
let img_alt_value;
|
|
22051
|
+
|
|
22052
|
+
return {
|
|
22053
|
+
c() {
|
|
22054
|
+
img = internal.element("img");
|
|
22055
|
+
internal.attr(img, "class", "media-content svelte-6jwk1w");
|
|
22056
|
+
if (!internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[0].url)) internal.attr(img, "src", img_src_value);
|
|
22057
|
+
internal.attr(img, "alt", img_alt_value = /*media*/ ctx[0].name);
|
|
22058
|
+
},
|
|
22059
|
+
m(target, anchor) {
|
|
22060
|
+
internal.insert(target, img, anchor);
|
|
22061
|
+
},
|
|
22062
|
+
p(ctx, dirty) {
|
|
22063
|
+
if (dirty & /*media*/ 1 && !internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[0].url)) {
|
|
22064
|
+
internal.attr(img, "src", img_src_value);
|
|
22065
|
+
}
|
|
22066
|
+
|
|
22067
|
+
if (dirty & /*media*/ 1 && img_alt_value !== (img_alt_value = /*media*/ ctx[0].name)) {
|
|
22068
|
+
internal.attr(img, "alt", img_alt_value);
|
|
22069
|
+
}
|
|
22070
|
+
},
|
|
22071
|
+
d(detaching) {
|
|
22072
|
+
if (detaching) internal.detach(img);
|
|
22073
|
+
}
|
|
22074
|
+
};
|
|
22075
|
+
}
|
|
22076
|
+
|
|
22077
|
+
function create_fragment$e(ctx) {
|
|
22078
|
+
let if_block_anchor;
|
|
22079
|
+
let if_block = /*media*/ ctx[0] && create_if_block$b(ctx);
|
|
22080
|
+
|
|
22081
|
+
return {
|
|
22082
|
+
c() {
|
|
22083
|
+
if (if_block) if_block.c();
|
|
22084
|
+
if_block_anchor = internal.empty();
|
|
22085
|
+
},
|
|
22086
|
+
m(target, anchor) {
|
|
22087
|
+
if (if_block) if_block.m(target, anchor);
|
|
22088
|
+
internal.insert(target, if_block_anchor, anchor);
|
|
22089
|
+
},
|
|
22090
|
+
p(ctx, [dirty]) {
|
|
22091
|
+
if (/*media*/ ctx[0]) {
|
|
22092
|
+
if (if_block) {
|
|
22093
|
+
if_block.p(ctx, dirty);
|
|
22094
|
+
} else {
|
|
22095
|
+
if_block = create_if_block$b(ctx);
|
|
22096
|
+
if_block.c();
|
|
22097
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
22098
|
+
}
|
|
22099
|
+
} else if (if_block) {
|
|
22100
|
+
if_block.d(1);
|
|
22101
|
+
if_block = null;
|
|
22102
|
+
}
|
|
22103
|
+
},
|
|
22104
|
+
i: internal.noop,
|
|
22105
|
+
o: internal.noop,
|
|
22106
|
+
d(detaching) {
|
|
22107
|
+
if (if_block) if_block.d(detaching);
|
|
22108
|
+
if (detaching) internal.detach(if_block_anchor);
|
|
22109
|
+
}
|
|
22110
|
+
};
|
|
22111
|
+
}
|
|
22112
|
+
|
|
22113
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
22114
|
+
let { media } = $$props;
|
|
22115
|
+
let { objectFit = 'cover' } = $$props;
|
|
22116
|
+
|
|
22117
|
+
$$self.$$set = $$props => {
|
|
22118
|
+
if ('media' in $$props) $$invalidate(0, media = $$props.media);
|
|
22119
|
+
if ('objectFit' in $$props) $$invalidate(1, objectFit = $$props.objectFit);
|
|
22120
|
+
};
|
|
22121
|
+
|
|
22122
|
+
return [media, objectFit];
|
|
22123
|
+
}
|
|
22124
|
+
|
|
22125
|
+
class MediaItem extends internal.SvelteComponent {
|
|
22126
|
+
constructor(options) {
|
|
22127
|
+
super();
|
|
22128
|
+
internal.init(this, options, instance$e, create_fragment$e, internal.safe_not_equal, { media: 0, objectFit: 1 }, add_css$e);
|
|
22129
|
+
}
|
|
22130
|
+
}
|
|
22131
|
+
|
|
21937
22132
|
/* src/PanoTagPlugin/Components/Common/Media.svelte generated by Svelte v3.50.1 */
|
|
21938
22133
|
|
|
21939
22134
|
function add_css$d(target) {
|
|
21940
|
-
internal.append_styles(target, "svelte-
|
|
22135
|
+
internal.append_styles(target, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
|
|
21941
22136
|
}
|
|
21942
22137
|
|
|
21943
22138
|
function get_each_context$3(ctx, list, i) {
|
|
21944
22139
|
const child_ctx = ctx.slice();
|
|
21945
|
-
child_ctx[
|
|
22140
|
+
child_ctx[14] = list[i];
|
|
21946
22141
|
return child_ctx;
|
|
21947
22142
|
}
|
|
21948
22143
|
|
|
21949
|
-
// (
|
|
22144
|
+
// (24:0) {#if unfolded}
|
|
21950
22145
|
function create_if_block$a(ctx) {
|
|
21951
22146
|
let div;
|
|
22147
|
+
let current_block_type_index;
|
|
22148
|
+
let if_block;
|
|
21952
22149
|
let div_intro;
|
|
21953
22150
|
let div_outro;
|
|
21954
22151
|
let current;
|
|
21955
|
-
|
|
21956
|
-
|
|
22152
|
+
const if_block_creators = [create_if_block_1$6, create_else_block$1];
|
|
22153
|
+
const if_blocks = [];
|
|
21957
22154
|
|
|
21958
|
-
|
|
21959
|
-
|
|
22155
|
+
function select_block_type(ctx, dirty) {
|
|
22156
|
+
if (/*carouselEnabled*/ ctx[11]) return 0;
|
|
22157
|
+
return 1;
|
|
21960
22158
|
}
|
|
21961
22159
|
|
|
22160
|
+
current_block_type_index = select_block_type(ctx);
|
|
22161
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
22162
|
+
|
|
21962
22163
|
return {
|
|
21963
22164
|
c() {
|
|
21964
22165
|
div = internal.element("div");
|
|
21965
|
-
|
|
21966
|
-
|
|
21967
|
-
|
|
21968
|
-
}
|
|
21969
|
-
|
|
21970
|
-
internal.attr(div, "class", "media svelte-129jnm");
|
|
21971
|
-
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[3]);
|
|
22166
|
+
if_block.c();
|
|
22167
|
+
internal.attr(div, "class", "media svelte-ai0lv9");
|
|
22168
|
+
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[4]);
|
|
21972
22169
|
},
|
|
21973
22170
|
m(target, anchor) {
|
|
21974
22171
|
internal.insert(target, div, anchor);
|
|
21975
|
-
|
|
21976
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
21977
|
-
each_blocks[i].m(div, null);
|
|
21978
|
-
}
|
|
21979
|
-
|
|
22172
|
+
if_blocks[current_block_type_index].m(div, null);
|
|
21980
22173
|
current = true;
|
|
21981
22174
|
},
|
|
21982
22175
|
p(new_ctx, dirty) {
|
|
21983
22176
|
ctx = new_ctx;
|
|
22177
|
+
let previous_block_index = current_block_type_index;
|
|
22178
|
+
current_block_type_index = select_block_type(ctx);
|
|
21984
22179
|
|
|
21985
|
-
if (
|
|
21986
|
-
|
|
21987
|
-
|
|
22180
|
+
if (current_block_type_index === previous_block_index) {
|
|
22181
|
+
if_blocks[current_block_type_index].p(ctx, dirty);
|
|
22182
|
+
} else {
|
|
22183
|
+
internal.group_outros();
|
|
21988
22184
|
|
|
21989
|
-
|
|
21990
|
-
|
|
22185
|
+
internal.transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
|
22186
|
+
if_blocks[previous_block_index] = null;
|
|
22187
|
+
});
|
|
21991
22188
|
|
|
21992
|
-
|
|
21993
|
-
|
|
21994
|
-
} else {
|
|
21995
|
-
each_blocks[i] = create_each_block$3(child_ctx);
|
|
21996
|
-
each_blocks[i].c();
|
|
21997
|
-
each_blocks[i].m(div, null);
|
|
21998
|
-
}
|
|
21999
|
-
}
|
|
22189
|
+
internal.check_outros();
|
|
22190
|
+
if_block = if_blocks[current_block_type_index];
|
|
22000
22191
|
|
|
22001
|
-
|
|
22002
|
-
|
|
22192
|
+
if (!if_block) {
|
|
22193
|
+
if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
|
22194
|
+
if_block.c();
|
|
22195
|
+
} else {
|
|
22196
|
+
if_block.p(ctx, dirty);
|
|
22003
22197
|
}
|
|
22004
22198
|
|
|
22005
|
-
|
|
22199
|
+
internal.transition_in(if_block, 1);
|
|
22200
|
+
if_block.m(div, null);
|
|
22006
22201
|
}
|
|
22007
22202
|
|
|
22008
|
-
if (!current || dirty & /*unfolded*/
|
|
22009
|
-
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[
|
|
22203
|
+
if (!current || dirty & /*unfolded*/ 16) {
|
|
22204
|
+
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[4]);
|
|
22010
22205
|
}
|
|
22011
22206
|
},
|
|
22012
22207
|
i(local) {
|
|
22013
22208
|
if (current) return;
|
|
22209
|
+
internal.transition_in(if_block);
|
|
22014
22210
|
|
|
22015
22211
|
if (local) {
|
|
22016
22212
|
internal.add_render_callback(() => {
|
|
22017
22213
|
if (div_outro) div_outro.end(1);
|
|
22018
22214
|
|
|
22019
|
-
div_intro = internal.create_in_transition(div, transition.fly, /*animation*/ ctx[
|
|
22215
|
+
div_intro = internal.create_in_transition(div, transition.fly, /*animation*/ ctx[5]
|
|
22020
22216
|
? {
|
|
22021
22217
|
y: 4,
|
|
22022
|
-
duration: /*duration*/ ctx[
|
|
22023
|
-
delay: /*inDelay*/ ctx[
|
|
22218
|
+
duration: /*duration*/ ctx[3],
|
|
22219
|
+
delay: /*inDelay*/ ctx[1],
|
|
22024
22220
|
easing: easing.linear
|
|
22025
22221
|
}
|
|
22026
22222
|
: undefined);
|
|
@@ -22032,14 +22228,15 @@ void main() {
|
|
|
22032
22228
|
current = true;
|
|
22033
22229
|
},
|
|
22034
22230
|
o(local) {
|
|
22231
|
+
internal.transition_out(if_block);
|
|
22035
22232
|
if (div_intro) div_intro.invalidate();
|
|
22036
22233
|
|
|
22037
22234
|
if (local) {
|
|
22038
|
-
div_outro = internal.create_out_transition(div, transition.fly, /*animation*/ ctx[
|
|
22235
|
+
div_outro = internal.create_out_transition(div, transition.fly, /*animation*/ ctx[5]
|
|
22039
22236
|
? {
|
|
22040
22237
|
y: 4,
|
|
22041
|
-
duration: /*duration*/ ctx[
|
|
22042
|
-
delay: /*outDelay*/ ctx[
|
|
22238
|
+
duration: /*duration*/ ctx[3],
|
|
22239
|
+
delay: /*outDelay*/ ctx[2],
|
|
22043
22240
|
easing: easing.linear
|
|
22044
22241
|
}
|
|
22045
22242
|
: undefined);
|
|
@@ -22049,211 +22246,295 @@ void main() {
|
|
|
22049
22246
|
},
|
|
22050
22247
|
d(detaching) {
|
|
22051
22248
|
if (detaching) internal.detach(div);
|
|
22052
|
-
|
|
22249
|
+
if_blocks[current_block_type_index].d();
|
|
22053
22250
|
if (detaching && div_outro) div_outro.end();
|
|
22054
22251
|
}
|
|
22055
22252
|
};
|
|
22056
22253
|
}
|
|
22057
22254
|
|
|
22058
|
-
// (
|
|
22059
|
-
function
|
|
22060
|
-
let
|
|
22061
|
-
let
|
|
22062
|
-
|
|
22255
|
+
// (80:4) {:else}
|
|
22256
|
+
function create_else_block$1(ctx) {
|
|
22257
|
+
let mediaitem;
|
|
22258
|
+
let current;
|
|
22259
|
+
|
|
22260
|
+
mediaitem = new MediaItem({
|
|
22261
|
+
props: {
|
|
22262
|
+
media: /*mediaData*/ ctx[0][0],
|
|
22263
|
+
objectFit: /*objectFit*/ ctx[6]
|
|
22264
|
+
}
|
|
22265
|
+
});
|
|
22063
22266
|
|
|
22064
22267
|
return {
|
|
22065
22268
|
c() {
|
|
22066
|
-
|
|
22067
|
-
internal.attr(video, "class", "media-content svelte-129jnm");
|
|
22068
|
-
if (!internal.src_url_equal(video.src, video_src_value = /*media*/ ctx[9].url)) internal.attr(video, "src", video_src_value);
|
|
22069
|
-
internal.attr(video, "poster", video_poster_value = /*media*/ ctx[9].videoCoverUrl);
|
|
22070
|
-
video.playsInline = true;
|
|
22071
|
-
internal.attr(video, "paused", "");
|
|
22072
|
-
video.loop = false;
|
|
22073
|
-
internal.attr(video, "preload", "auto");
|
|
22074
|
-
internal.attr(video, "crossorigin", "");
|
|
22075
|
-
video.controls = false;
|
|
22076
|
-
video.muted = true;
|
|
22269
|
+
internal.create_component(mediaitem.$$.fragment);
|
|
22077
22270
|
},
|
|
22078
22271
|
m(target, anchor) {
|
|
22079
|
-
internal.
|
|
22272
|
+
internal.mount_component(mediaitem, target, anchor);
|
|
22273
|
+
current = true;
|
|
22080
22274
|
},
|
|
22081
22275
|
p(ctx, dirty) {
|
|
22082
|
-
|
|
22083
|
-
|
|
22084
|
-
|
|
22085
|
-
|
|
22086
|
-
|
|
22087
|
-
|
|
22088
|
-
|
|
22276
|
+
const mediaitem_changes = {};
|
|
22277
|
+
if (dirty & /*mediaData*/ 1) mediaitem_changes.media = /*mediaData*/ ctx[0][0];
|
|
22278
|
+
if (dirty & /*objectFit*/ 64) mediaitem_changes.objectFit = /*objectFit*/ ctx[6];
|
|
22279
|
+
mediaitem.$set(mediaitem_changes);
|
|
22280
|
+
},
|
|
22281
|
+
i(local) {
|
|
22282
|
+
if (current) return;
|
|
22283
|
+
internal.transition_in(mediaitem.$$.fragment, local);
|
|
22284
|
+
current = true;
|
|
22285
|
+
},
|
|
22286
|
+
o(local) {
|
|
22287
|
+
internal.transition_out(mediaitem.$$.fragment, local);
|
|
22288
|
+
current = false;
|
|
22089
22289
|
},
|
|
22090
22290
|
d(detaching) {
|
|
22091
|
-
|
|
22291
|
+
internal.destroy_component(mediaitem, detaching);
|
|
22092
22292
|
}
|
|
22093
22293
|
};
|
|
22094
22294
|
}
|
|
22095
22295
|
|
|
22096
|
-
// (
|
|
22097
|
-
function
|
|
22098
|
-
let
|
|
22099
|
-
let
|
|
22100
|
-
|
|
22296
|
+
// (31:4) {#if carouselEnabled}
|
|
22297
|
+
function create_if_block_1$6(ctx) {
|
|
22298
|
+
let swiper$1;
|
|
22299
|
+
let current;
|
|
22300
|
+
|
|
22301
|
+
swiper$1 = new svelte$1.Swiper({
|
|
22302
|
+
props: {
|
|
22303
|
+
style: "height: 100%",
|
|
22304
|
+
modules: [swiper.Autoplay],
|
|
22305
|
+
spaceBetween: 30,
|
|
22306
|
+
autoplay: /*autoplay*/ ctx[10]
|
|
22307
|
+
? noTypecheck({
|
|
22308
|
+
delay: 2000,
|
|
22309
|
+
stopOnLastSlide: false,
|
|
22310
|
+
disableOnInteraction: false
|
|
22311
|
+
})
|
|
22312
|
+
: false,
|
|
22313
|
+
loop: true,
|
|
22314
|
+
$$slots: { default: [create_default_slot] },
|
|
22315
|
+
$$scope: { ctx }
|
|
22316
|
+
}
|
|
22317
|
+
});
|
|
22318
|
+
|
|
22319
|
+
swiper$1.$on("slideChange", /*slideChange_handler*/ ctx[13]);
|
|
22101
22320
|
|
|
22102
22321
|
return {
|
|
22103
22322
|
c() {
|
|
22104
|
-
|
|
22105
|
-
internal.attr(img, "class", "media-content svelte-129jnm");
|
|
22106
|
-
if (!internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].videoCoverUrl)) internal.attr(img, "src", img_src_value);
|
|
22107
|
-
internal.attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
|
|
22323
|
+
internal.create_component(swiper$1.$$.fragment);
|
|
22108
22324
|
},
|
|
22109
22325
|
m(target, anchor) {
|
|
22110
|
-
internal.
|
|
22326
|
+
internal.mount_component(swiper$1, target, anchor);
|
|
22327
|
+
current = true;
|
|
22111
22328
|
},
|
|
22112
22329
|
p(ctx, dirty) {
|
|
22113
|
-
|
|
22114
|
-
|
|
22115
|
-
|
|
22330
|
+
const swiper_changes = {};
|
|
22331
|
+
|
|
22332
|
+
if (dirty & /*autoplay*/ 1024) swiper_changes.autoplay = /*autoplay*/ ctx[10]
|
|
22333
|
+
? noTypecheck({
|
|
22334
|
+
delay: 2000,
|
|
22335
|
+
stopOnLastSlide: false,
|
|
22336
|
+
disableOnInteraction: false
|
|
22337
|
+
})
|
|
22338
|
+
: false;
|
|
22116
22339
|
|
|
22117
|
-
if (dirty &
|
|
22118
|
-
|
|
22340
|
+
if (dirty & /*$$scope, mediaDataList, objectFit*/ 131392) {
|
|
22341
|
+
swiper_changes.$$scope = { dirty, ctx };
|
|
22119
22342
|
}
|
|
22343
|
+
|
|
22344
|
+
swiper$1.$set(swiper_changes);
|
|
22345
|
+
},
|
|
22346
|
+
i(local) {
|
|
22347
|
+
if (current) return;
|
|
22348
|
+
internal.transition_in(swiper$1.$$.fragment, local);
|
|
22349
|
+
current = true;
|
|
22350
|
+
},
|
|
22351
|
+
o(local) {
|
|
22352
|
+
internal.transition_out(swiper$1.$$.fragment, local);
|
|
22353
|
+
current = false;
|
|
22120
22354
|
},
|
|
22121
22355
|
d(detaching) {
|
|
22122
|
-
|
|
22356
|
+
internal.destroy_component(swiper$1, detaching);
|
|
22123
22357
|
}
|
|
22124
22358
|
};
|
|
22125
22359
|
}
|
|
22126
22360
|
|
|
22127
|
-
// (
|
|
22128
|
-
function
|
|
22129
|
-
let
|
|
22130
|
-
let
|
|
22131
|
-
let
|
|
22361
|
+
// (75:10) <SwiperSlide>
|
|
22362
|
+
function create_default_slot_1(ctx) {
|
|
22363
|
+
let mediaitem;
|
|
22364
|
+
let t;
|
|
22365
|
+
let current;
|
|
22366
|
+
|
|
22367
|
+
mediaitem = new MediaItem({
|
|
22368
|
+
props: {
|
|
22369
|
+
media: /*media*/ ctx[14],
|
|
22370
|
+
objectFit: /*objectFit*/ ctx[6]
|
|
22371
|
+
}
|
|
22372
|
+
});
|
|
22132
22373
|
|
|
22133
22374
|
return {
|
|
22134
22375
|
c() {
|
|
22135
|
-
|
|
22136
|
-
internal.
|
|
22137
|
-
if (!internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].url)) internal.attr(img, "src", img_src_value);
|
|
22138
|
-
internal.attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
|
|
22376
|
+
internal.create_component(mediaitem.$$.fragment);
|
|
22377
|
+
t = internal.space();
|
|
22139
22378
|
},
|
|
22140
22379
|
m(target, anchor) {
|
|
22141
|
-
internal.
|
|
22380
|
+
internal.mount_component(mediaitem, target, anchor);
|
|
22381
|
+
internal.insert(target, t, anchor);
|
|
22382
|
+
current = true;
|
|
22142
22383
|
},
|
|
22143
22384
|
p(ctx, dirty) {
|
|
22144
|
-
|
|
22145
|
-
|
|
22146
|
-
|
|
22147
|
-
|
|
22148
|
-
|
|
22149
|
-
|
|
22150
|
-
|
|
22385
|
+
const mediaitem_changes = {};
|
|
22386
|
+
if (dirty & /*mediaDataList*/ 256) mediaitem_changes.media = /*media*/ ctx[14];
|
|
22387
|
+
if (dirty & /*objectFit*/ 64) mediaitem_changes.objectFit = /*objectFit*/ ctx[6];
|
|
22388
|
+
mediaitem.$set(mediaitem_changes);
|
|
22389
|
+
},
|
|
22390
|
+
i(local) {
|
|
22391
|
+
if (current) return;
|
|
22392
|
+
internal.transition_in(mediaitem.$$.fragment, local);
|
|
22393
|
+
current = true;
|
|
22394
|
+
},
|
|
22395
|
+
o(local) {
|
|
22396
|
+
internal.transition_out(mediaitem.$$.fragment, local);
|
|
22397
|
+
current = false;
|
|
22151
22398
|
},
|
|
22152
22399
|
d(detaching) {
|
|
22153
|
-
|
|
22400
|
+
internal.destroy_component(mediaitem, detaching);
|
|
22401
|
+
if (detaching) internal.detach(t);
|
|
22154
22402
|
}
|
|
22155
22403
|
};
|
|
22156
22404
|
}
|
|
22157
22405
|
|
|
22158
|
-
// (
|
|
22159
|
-
function
|
|
22160
|
-
let
|
|
22406
|
+
// (74:8) {#each mediaDataList as media}
|
|
22407
|
+
function create_each_block$3(ctx) {
|
|
22408
|
+
let swiperslide;
|
|
22409
|
+
let current;
|
|
22410
|
+
|
|
22411
|
+
swiperslide = new svelte$1.SwiperSlide({
|
|
22412
|
+
props: {
|
|
22413
|
+
$$slots: { default: [create_default_slot_1] },
|
|
22414
|
+
$$scope: { ctx }
|
|
22415
|
+
}
|
|
22416
|
+
});
|
|
22161
22417
|
|
|
22162
22418
|
return {
|
|
22163
22419
|
c() {
|
|
22164
|
-
|
|
22165
|
-
internal.attr(div, "class", "video-icon svelte-129jnm");
|
|
22166
|
-
internal.set_style(div, "background-image", "url(" + Image_Play + ")");
|
|
22420
|
+
internal.create_component(swiperslide.$$.fragment);
|
|
22167
22421
|
},
|
|
22168
22422
|
m(target, anchor) {
|
|
22169
|
-
internal.
|
|
22423
|
+
internal.mount_component(swiperslide, target, anchor);
|
|
22424
|
+
current = true;
|
|
22425
|
+
},
|
|
22426
|
+
p(ctx, dirty) {
|
|
22427
|
+
const swiperslide_changes = {};
|
|
22428
|
+
|
|
22429
|
+
if (dirty & /*$$scope, mediaDataList, objectFit*/ 131392) {
|
|
22430
|
+
swiperslide_changes.$$scope = { dirty, ctx };
|
|
22431
|
+
}
|
|
22432
|
+
|
|
22433
|
+
swiperslide.$set(swiperslide_changes);
|
|
22434
|
+
},
|
|
22435
|
+
i(local) {
|
|
22436
|
+
if (current) return;
|
|
22437
|
+
internal.transition_in(swiperslide.$$.fragment, local);
|
|
22438
|
+
current = true;
|
|
22439
|
+
},
|
|
22440
|
+
o(local) {
|
|
22441
|
+
internal.transition_out(swiperslide.$$.fragment, local);
|
|
22442
|
+
current = false;
|
|
22170
22443
|
},
|
|
22171
|
-
p: internal.noop,
|
|
22172
22444
|
d(detaching) {
|
|
22173
|
-
|
|
22445
|
+
internal.destroy_component(swiperslide, detaching);
|
|
22174
22446
|
}
|
|
22175
22447
|
};
|
|
22176
22448
|
}
|
|
22177
22449
|
|
|
22178
|
-
// (
|
|
22179
|
-
function
|
|
22180
|
-
let
|
|
22181
|
-
let
|
|
22182
|
-
let
|
|
22183
|
-
let
|
|
22450
|
+
// (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() }} >
|
|
22451
|
+
function create_default_slot(ctx) {
|
|
22452
|
+
let each_1_anchor;
|
|
22453
|
+
let current;
|
|
22454
|
+
let each_value = /*mediaDataList*/ ctx[8];
|
|
22455
|
+
let each_blocks = [];
|
|
22184
22456
|
|
|
22185
|
-
|
|
22186
|
-
|
|
22187
|
-
if (/*media*/ ctx[9].type === 'Video' && /*media*/ ctx[9].videoCoverUrl) return create_if_block_3$2;
|
|
22188
|
-
if (/*media*/ ctx[9].type === 'Video' && !/*media*/ ctx[9].videoCoverUrl) return create_if_block_4$2;
|
|
22457
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
22458
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
|
22189
22459
|
}
|
|
22190
22460
|
|
|
22191
|
-
|
|
22192
|
-
|
|
22193
|
-
|
|
22461
|
+
const out = i => internal.transition_out(each_blocks[i], 1, 1, () => {
|
|
22462
|
+
each_blocks[i] = null;
|
|
22463
|
+
});
|
|
22194
22464
|
|
|
22195
22465
|
return {
|
|
22196
22466
|
c() {
|
|
22197
|
-
|
|
22198
|
-
|
|
22199
|
-
|
|
22200
|
-
|
|
22201
|
-
|
|
22202
|
-
internal.attr(div, "class", "carousel-item svelte-129jnm");
|
|
22203
|
-
internal.attr(div, "style", div_style_value = `object-fit: ${/*objectFit*/ ctx[5]};`);
|
|
22467
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
22468
|
+
each_blocks[i].c();
|
|
22469
|
+
}
|
|
22470
|
+
|
|
22471
|
+
each_1_anchor = internal.empty();
|
|
22204
22472
|
},
|
|
22205
22473
|
m(target, anchor) {
|
|
22206
|
-
|
|
22207
|
-
|
|
22208
|
-
|
|
22209
|
-
|
|
22210
|
-
internal.
|
|
22474
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
22475
|
+
each_blocks[i].m(target, anchor);
|
|
22476
|
+
}
|
|
22477
|
+
|
|
22478
|
+
internal.insert(target, each_1_anchor, anchor);
|
|
22479
|
+
current = true;
|
|
22211
22480
|
},
|
|
22212
22481
|
p(ctx, dirty) {
|
|
22213
|
-
if (
|
|
22214
|
-
|
|
22215
|
-
|
|
22216
|
-
if (if_block0) if_block0.d(1);
|
|
22217
|
-
if_block0 = current_block_type && current_block_type(ctx);
|
|
22482
|
+
if (dirty & /*mediaDataList, objectFit*/ 320) {
|
|
22483
|
+
each_value = /*mediaDataList*/ ctx[8];
|
|
22484
|
+
let i;
|
|
22218
22485
|
|
|
22219
|
-
|
|
22220
|
-
|
|
22221
|
-
|
|
22486
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
22487
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
|
22488
|
+
|
|
22489
|
+
if (each_blocks[i]) {
|
|
22490
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
22491
|
+
internal.transition_in(each_blocks[i], 1);
|
|
22492
|
+
} else {
|
|
22493
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
|
22494
|
+
each_blocks[i].c();
|
|
22495
|
+
internal.transition_in(each_blocks[i], 1);
|
|
22496
|
+
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
|
22497
|
+
}
|
|
22222
22498
|
}
|
|
22223
|
-
}
|
|
22224
22499
|
|
|
22225
|
-
|
|
22226
|
-
|
|
22227
|
-
|
|
22228
|
-
|
|
22229
|
-
if_block1 = create_if_block_1$6();
|
|
22230
|
-
if_block1.c();
|
|
22231
|
-
if_block1.m(div, t1);
|
|
22500
|
+
internal.group_outros();
|
|
22501
|
+
|
|
22502
|
+
for (i = each_value.length; i < each_blocks.length; i += 1) {
|
|
22503
|
+
out(i);
|
|
22232
22504
|
}
|
|
22233
|
-
|
|
22234
|
-
|
|
22235
|
-
if_block1 = null;
|
|
22505
|
+
|
|
22506
|
+
internal.check_outros();
|
|
22236
22507
|
}
|
|
22508
|
+
},
|
|
22509
|
+
i(local) {
|
|
22510
|
+
if (current) return;
|
|
22237
22511
|
|
|
22238
|
-
|
|
22239
|
-
internal.
|
|
22512
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
22513
|
+
internal.transition_in(each_blocks[i]);
|
|
22240
22514
|
}
|
|
22515
|
+
|
|
22516
|
+
current = true;
|
|
22241
22517
|
},
|
|
22242
|
-
|
|
22243
|
-
|
|
22518
|
+
o(local) {
|
|
22519
|
+
each_blocks = each_blocks.filter(Boolean);
|
|
22244
22520
|
|
|
22245
|
-
|
|
22246
|
-
|
|
22521
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
22522
|
+
internal.transition_out(each_blocks[i]);
|
|
22247
22523
|
}
|
|
22248
22524
|
|
|
22249
|
-
|
|
22525
|
+
current = false;
|
|
22526
|
+
},
|
|
22527
|
+
d(detaching) {
|
|
22528
|
+
internal.destroy_each(each_blocks, detaching);
|
|
22529
|
+
if (detaching) internal.detach(each_1_anchor);
|
|
22250
22530
|
}
|
|
22251
22531
|
};
|
|
22252
22532
|
}
|
|
22253
22533
|
|
|
22254
22534
|
function create_fragment$d(ctx) {
|
|
22255
22535
|
let if_block_anchor;
|
|
22256
|
-
let
|
|
22536
|
+
let current;
|
|
22537
|
+
let if_block = /*unfolded*/ ctx[4] && create_if_block$a(ctx);
|
|
22257
22538
|
|
|
22258
22539
|
return {
|
|
22259
22540
|
c() {
|
|
@@ -22263,13 +22544,14 @@ void main() {
|
|
|
22263
22544
|
m(target, anchor) {
|
|
22264
22545
|
if (if_block) if_block.m(target, anchor);
|
|
22265
22546
|
internal.insert(target, if_block_anchor, anchor);
|
|
22547
|
+
current = true;
|
|
22266
22548
|
},
|
|
22267
22549
|
p(ctx, [dirty]) {
|
|
22268
|
-
if (/*unfolded*/ ctx[
|
|
22550
|
+
if (/*unfolded*/ ctx[4]) {
|
|
22269
22551
|
if (if_block) {
|
|
22270
22552
|
if_block.p(ctx, dirty);
|
|
22271
22553
|
|
|
22272
|
-
if (dirty & /*unfolded*/
|
|
22554
|
+
if (dirty & /*unfolded*/ 16) {
|
|
22273
22555
|
internal.transition_in(if_block, 1);
|
|
22274
22556
|
}
|
|
22275
22557
|
} else {
|
|
@@ -22289,10 +22571,13 @@ void main() {
|
|
|
22289
22571
|
}
|
|
22290
22572
|
},
|
|
22291
22573
|
i(local) {
|
|
22574
|
+
if (current) return;
|
|
22292
22575
|
internal.transition_in(if_block);
|
|
22576
|
+
current = true;
|
|
22293
22577
|
},
|
|
22294
22578
|
o(local) {
|
|
22295
22579
|
internal.transition_out(if_block);
|
|
22580
|
+
current = false;
|
|
22296
22581
|
},
|
|
22297
22582
|
d(detaching) {
|
|
22298
22583
|
if (if_block) if_block.d(detaching);
|
|
@@ -22302,7 +22587,9 @@ void main() {
|
|
|
22302
22587
|
}
|
|
22303
22588
|
|
|
22304
22589
|
function instance$d($$self, $$props, $$invalidate) {
|
|
22590
|
+
let carouselEnabled;
|
|
22305
22591
|
let mediaDataList;
|
|
22592
|
+
let autoplay;
|
|
22306
22593
|
let { mediaData } = $$props;
|
|
22307
22594
|
let { inDelay = 0 } = $$props;
|
|
22308
22595
|
let { outDelay = 0 } = $$props;
|
|
@@ -22311,34 +22598,93 @@ void main() {
|
|
|
22311
22598
|
let { animation = true } = $$props;
|
|
22312
22599
|
let { objectFit = 'cover' } = $$props;
|
|
22313
22600
|
let { enableCarousel = true } = $$props;
|
|
22601
|
+
let { autoplayConfig = { autoplay: true, autoplayVideo: false } } = $$props;
|
|
22602
|
+
let lastAutoPlayIndex = null;
|
|
22603
|
+
|
|
22604
|
+
const slideChange_handler = async event => {
|
|
22605
|
+
if (!autoplay) return;
|
|
22606
|
+
if (!autoplayConfig.autoplayVideo) return;
|
|
22607
|
+
const swiper = event.detail[0];
|
|
22608
|
+
if (!swiper) return;
|
|
22609
|
+
const index = swiper.realIndex;
|
|
22610
|
+
|
|
22611
|
+
// 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]
|
|
22612
|
+
if (index === lastAutoPlayIndex) return;
|
|
22613
|
+
|
|
22614
|
+
$$invalidate(9, lastAutoPlayIndex = index);
|
|
22615
|
+
const media = mediaDataList[index];
|
|
22616
|
+
if (!media) return;
|
|
22617
|
+
if (media.type !== 'Video') return;
|
|
22618
|
+
|
|
22619
|
+
// 先暂停自动轮播
|
|
22620
|
+
swiper.autoplay.stop();
|
|
22621
|
+
|
|
22622
|
+
// 播放视频
|
|
22623
|
+
await new Promise(resolve => {
|
|
22624
|
+
const video = swiper.slides[swiper.activeIndex]?.querySelector('video');
|
|
22625
|
+
|
|
22626
|
+
if (!video) {
|
|
22627
|
+
resolve(noTypecheck(null));
|
|
22628
|
+
return;
|
|
22629
|
+
}
|
|
22630
|
+
|
|
22631
|
+
video.play();
|
|
22632
|
+
video.onerror = () => resolve(noTypecheck(null));
|
|
22633
|
+
video.onended = () => resolve(noTypecheck(null));
|
|
22634
|
+
|
|
22635
|
+
video.onclick = () => {
|
|
22636
|
+
video.pause();
|
|
22637
|
+
resolve(noTypecheck(null));
|
|
22638
|
+
};
|
|
22639
|
+
});
|
|
22640
|
+
|
|
22641
|
+
// 恢复自动轮播
|
|
22642
|
+
swiper.autoplay.start();
|
|
22643
|
+
};
|
|
22314
22644
|
|
|
22315
22645
|
$$self.$$set = $$props => {
|
|
22316
|
-
if ('mediaData' in $$props) $$invalidate(
|
|
22317
|
-
if ('inDelay' in $$props) $$invalidate(
|
|
22318
|
-
if ('outDelay' in $$props) $$invalidate(
|
|
22319
|
-
if ('duration' in $$props) $$invalidate(
|
|
22320
|
-
if ('unfolded' in $$props) $$invalidate(
|
|
22321
|
-
if ('animation' in $$props) $$invalidate(
|
|
22322
|
-
if ('objectFit' in $$props) $$invalidate(
|
|
22323
|
-
if ('enableCarousel' in $$props) $$invalidate(
|
|
22646
|
+
if ('mediaData' in $$props) $$invalidate(0, mediaData = $$props.mediaData);
|
|
22647
|
+
if ('inDelay' in $$props) $$invalidate(1, inDelay = $$props.inDelay);
|
|
22648
|
+
if ('outDelay' in $$props) $$invalidate(2, outDelay = $$props.outDelay);
|
|
22649
|
+
if ('duration' in $$props) $$invalidate(3, duration = $$props.duration);
|
|
22650
|
+
if ('unfolded' in $$props) $$invalidate(4, unfolded = $$props.unfolded);
|
|
22651
|
+
if ('animation' in $$props) $$invalidate(5, animation = $$props.animation);
|
|
22652
|
+
if ('objectFit' in $$props) $$invalidate(6, objectFit = $$props.objectFit);
|
|
22653
|
+
if ('enableCarousel' in $$props) $$invalidate(12, enableCarousel = $$props.enableCarousel);
|
|
22654
|
+
if ('autoplayConfig' in $$props) $$invalidate(7, autoplayConfig = $$props.autoplayConfig);
|
|
22324
22655
|
};
|
|
22325
22656
|
|
|
22326
22657
|
$$self.$$.update = () => {
|
|
22327
|
-
if ($$self.$$.dirty & /*enableCarousel, mediaData*/
|
|
22328
|
-
$$invalidate(
|
|
22658
|
+
if ($$self.$$.dirty & /*enableCarousel, mediaData*/ 4097) {
|
|
22659
|
+
$$invalidate(11, carouselEnabled = enableCarousel && (mediaData === null || mediaData === void 0
|
|
22660
|
+
? void 0
|
|
22661
|
+
: mediaData.length) > 1);
|
|
22662
|
+
}
|
|
22663
|
+
|
|
22664
|
+
if ($$self.$$.dirty & /*mediaData*/ 1) {
|
|
22665
|
+
$$invalidate(8, mediaDataList = mediaData);
|
|
22666
|
+
}
|
|
22667
|
+
|
|
22668
|
+
if ($$self.$$.dirty & /*mediaDataList, autoplayConfig*/ 384) {
|
|
22669
|
+
$$invalidate(10, autoplay = mediaDataList.length > 1 && autoplayConfig.autoplay);
|
|
22329
22670
|
}
|
|
22330
22671
|
};
|
|
22331
22672
|
|
|
22332
22673
|
return [
|
|
22674
|
+
mediaData,
|
|
22333
22675
|
inDelay,
|
|
22334
22676
|
outDelay,
|
|
22335
22677
|
duration,
|
|
22336
22678
|
unfolded,
|
|
22337
22679
|
animation,
|
|
22338
22680
|
objectFit,
|
|
22681
|
+
autoplayConfig,
|
|
22339
22682
|
mediaDataList,
|
|
22340
|
-
|
|
22341
|
-
|
|
22683
|
+
lastAutoPlayIndex,
|
|
22684
|
+
autoplay,
|
|
22685
|
+
carouselEnabled,
|
|
22686
|
+
enableCarousel,
|
|
22687
|
+
slideChange_handler
|
|
22342
22688
|
];
|
|
22343
22689
|
}
|
|
22344
22690
|
|
|
@@ -22353,14 +22699,15 @@ void main() {
|
|
|
22353
22699
|
create_fragment$d,
|
|
22354
22700
|
internal.safe_not_equal,
|
|
22355
22701
|
{
|
|
22356
|
-
mediaData:
|
|
22357
|
-
inDelay:
|
|
22358
|
-
outDelay:
|
|
22359
|
-
duration:
|
|
22360
|
-
unfolded:
|
|
22361
|
-
animation:
|
|
22362
|
-
objectFit:
|
|
22363
|
-
enableCarousel:
|
|
22702
|
+
mediaData: 0,
|
|
22703
|
+
inDelay: 1,
|
|
22704
|
+
outDelay: 2,
|
|
22705
|
+
duration: 3,
|
|
22706
|
+
unfolded: 4,
|
|
22707
|
+
animation: 5,
|
|
22708
|
+
objectFit: 6,
|
|
22709
|
+
enableCarousel: 12,
|
|
22710
|
+
autoplayConfig: 7
|
|
22364
22711
|
},
|
|
22365
22712
|
add_css$d
|
|
22366
22713
|
);
|
|
@@ -22594,6 +22941,7 @@ void main() {
|
|
|
22594
22941
|
|
|
22595
22942
|
media = new Media({
|
|
22596
22943
|
props: {
|
|
22944
|
+
autoplayConfig: { autoplay: false },
|
|
22597
22945
|
unfolded: /*unfolded*/ ctx[4],
|
|
22598
22946
|
mediaData: /*mediaData*/ ctx[3],
|
|
22599
22947
|
inDelay: 500,
|
|
@@ -23941,7 +24289,7 @@ void main() {
|
|
|
23941
24289
|
internal.append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
23942
24290
|
}
|
|
23943
24291
|
|
|
23944
|
-
// (
|
|
24292
|
+
// (20:0) {#if tag.state && mediaData}
|
|
23945
24293
|
function create_if_block$5(ctx) {
|
|
23946
24294
|
let div;
|
|
23947
24295
|
let media;
|
|
@@ -23949,10 +24297,11 @@ void main() {
|
|
|
23949
24297
|
|
|
23950
24298
|
media = new Media({
|
|
23951
24299
|
props: {
|
|
23952
|
-
unfolded: /*unfolded*/ ctx[
|
|
23953
|
-
mediaData: /*mediaData*/ ctx[
|
|
23954
|
-
objectFit: /*objectFit*/ ctx[
|
|
23955
|
-
enableCarousel:
|
|
24300
|
+
unfolded: /*unfolded*/ ctx[5],
|
|
24301
|
+
mediaData: /*mediaData*/ ctx[4],
|
|
24302
|
+
objectFit: /*objectFit*/ ctx[2],
|
|
24303
|
+
enableCarousel: /*enableCarousel*/ ctx[1],
|
|
24304
|
+
autoplayConfig: /*autoplayConfig*/ ctx[3],
|
|
23956
24305
|
inDelay: 500,
|
|
23957
24306
|
duration: 500
|
|
23958
24307
|
}
|
|
@@ -23971,9 +24320,11 @@ void main() {
|
|
|
23971
24320
|
},
|
|
23972
24321
|
p(ctx, dirty) {
|
|
23973
24322
|
const media_changes = {};
|
|
23974
|
-
if (dirty & /*unfolded*/
|
|
23975
|
-
if (dirty & /*mediaData*/
|
|
23976
|
-
if (dirty & /*objectFit*/
|
|
24323
|
+
if (dirty & /*unfolded*/ 32) media_changes.unfolded = /*unfolded*/ ctx[5];
|
|
24324
|
+
if (dirty & /*mediaData*/ 16) media_changes.mediaData = /*mediaData*/ ctx[4];
|
|
24325
|
+
if (dirty & /*objectFit*/ 4) media_changes.objectFit = /*objectFit*/ ctx[2];
|
|
24326
|
+
if (dirty & /*enableCarousel*/ 2) media_changes.enableCarousel = /*enableCarousel*/ ctx[1];
|
|
24327
|
+
if (dirty & /*autoplayConfig*/ 8) media_changes.autoplayConfig = /*autoplayConfig*/ ctx[3];
|
|
23977
24328
|
media.$set(media_changes);
|
|
23978
24329
|
},
|
|
23979
24330
|
i(local) {
|
|
@@ -23995,7 +24346,7 @@ void main() {
|
|
|
23995
24346
|
function create_fragment$8(ctx) {
|
|
23996
24347
|
let if_block_anchor;
|
|
23997
24348
|
let current;
|
|
23998
|
-
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
24349
|
+
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[4] && create_if_block$5(ctx);
|
|
23999
24350
|
|
|
24000
24351
|
return {
|
|
24001
24352
|
c() {
|
|
@@ -24008,11 +24359,11 @@ void main() {
|
|
|
24008
24359
|
current = true;
|
|
24009
24360
|
},
|
|
24010
24361
|
p(ctx, [dirty]) {
|
|
24011
|
-
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
24362
|
+
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[4]) {
|
|
24012
24363
|
if (if_block) {
|
|
24013
24364
|
if_block.p(ctx, dirty);
|
|
24014
24365
|
|
|
24015
|
-
if (dirty & /*tag, mediaData*/
|
|
24366
|
+
if (dirty & /*tag, mediaData*/ 17) {
|
|
24016
24367
|
internal.transition_in(if_block, 1);
|
|
24017
24368
|
}
|
|
24018
24369
|
} else {
|
|
@@ -24050,8 +24401,10 @@ void main() {
|
|
|
24050
24401
|
function instance$8($$self, $$props, $$invalidate) {
|
|
24051
24402
|
let unfolded;
|
|
24052
24403
|
let mediaData;
|
|
24404
|
+
let enableCarousel;
|
|
24405
|
+
let autoplayConfig;
|
|
24053
24406
|
let objectFit;
|
|
24054
|
-
var _a;
|
|
24407
|
+
var _a, _b;
|
|
24055
24408
|
let { tag } = $$props;
|
|
24056
24409
|
|
|
24057
24410
|
$$self.$$set = $$props => {
|
|
@@ -24060,23 +24413,38 @@ void main() {
|
|
|
24060
24413
|
|
|
24061
24414
|
$$self.$$.update = () => {
|
|
24062
24415
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24063
|
-
$$invalidate(
|
|
24416
|
+
$$invalidate(5, unfolded = tag.state ? tag.state.unfolded : false);
|
|
24417
|
+
}
|
|
24418
|
+
|
|
24419
|
+
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24420
|
+
$$invalidate(4, mediaData = tag.data.mediaData);
|
|
24064
24421
|
}
|
|
24065
24422
|
|
|
24066
24423
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24067
|
-
$$invalidate(
|
|
24424
|
+
$$invalidate(1, enableCarousel = tag.data.enableCarousel);
|
|
24068
24425
|
}
|
|
24069
24426
|
|
|
24070
|
-
if ($$self.$$.dirty & /*tag, _a*/
|
|
24071
|
-
$$invalidate(
|
|
24427
|
+
if ($$self.$$.dirty & /*tag, _a, enableCarousel*/ 67) {
|
|
24428
|
+
$$invalidate(3, autoplayConfig = $$invalidate(6, _a = tag.data.autoplayConfig) !== null && _a !== void 0
|
|
24072
24429
|
? _a
|
|
24430
|
+
: {
|
|
24431
|
+
autoplay: enableCarousel !== null && enableCarousel !== void 0
|
|
24432
|
+
? enableCarousel
|
|
24433
|
+
: true,
|
|
24434
|
+
autoplayVideo: true
|
|
24435
|
+
});
|
|
24436
|
+
}
|
|
24437
|
+
|
|
24438
|
+
if ($$self.$$.dirty & /*tag, _b*/ 129) {
|
|
24439
|
+
$$invalidate(2, objectFit = $$invalidate(7, _b = tag.data.objectFit) !== null && _b !== void 0
|
|
24440
|
+
? _b
|
|
24073
24441
|
: (() => {
|
|
24074
24442
|
if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
|
|
24075
24443
|
})());
|
|
24076
24444
|
}
|
|
24077
24445
|
};
|
|
24078
24446
|
|
|
24079
|
-
return [tag, objectFit, mediaData, unfolded, _a];
|
|
24447
|
+
return [tag, enableCarousel, objectFit, autoplayConfig, mediaData, unfolded, _a, _b];
|
|
24080
24448
|
}
|
|
24081
24449
|
|
|
24082
24450
|
class MediaPlane extends internal.SvelteComponent {
|
|
@@ -26217,6 +26585,16 @@ void main() {
|
|
|
26217
26585
|
value: new THREE__namespace.Raycaster()
|
|
26218
26586
|
});
|
|
26219
26587
|
}
|
|
26588
|
+
getTagById(id) {
|
|
26589
|
+
const tag = this.tags.find((tag) => {
|
|
26590
|
+
return tag.id === id;
|
|
26591
|
+
});
|
|
26592
|
+
if (!tag) {
|
|
26593
|
+
console.error(`getTagById(): tag is ${tag}, id is ${id}`);
|
|
26594
|
+
return undefined;
|
|
26595
|
+
}
|
|
26596
|
+
return tag;
|
|
26597
|
+
}
|
|
26220
26598
|
/**
|
|
26221
26599
|
* @description: 改变配置
|
|
26222
26600
|
*/
|
|
@@ -26271,7 +26649,6 @@ void main() {
|
|
|
26271
26649
|
const visible = (() => {
|
|
26272
26650
|
var _a, _b, _c, _d, _e;
|
|
26273
26651
|
const config = (_a = this.getTagConfig(tag).visibleConfig) !== null && _a !== void 0 ? _a : {};
|
|
26274
|
-
// console.log(config)
|
|
26275
26652
|
const distance = this.getDistance(tag);
|
|
26276
26653
|
if (typeof config === 'function') {
|
|
26277
26654
|
return config(this.five, { tag, distance });
|
|
@@ -26547,18 +26924,11 @@ void main() {
|
|
|
26547
26924
|
const unfolded = this.getUnfoldedByPanoIndex(tag);
|
|
26548
26925
|
if (!tag.state)
|
|
26549
26926
|
return;
|
|
26550
|
-
if (unfolded
|
|
26551
|
-
|
|
26552
|
-
|
|
26553
|
-
});
|
|
26554
|
-
}
|
|
26555
|
-
setVisibleAndUnfoldedByPanoIndex() {
|
|
26556
|
-
this.setVisibleByPanoIndex();
|
|
26557
|
-
this.setUnfoldedByPanoIndex();
|
|
26558
|
-
this.tags.forEach((tag) => {
|
|
26559
|
-
var _a, _b;
|
|
26927
|
+
if (unfolded !== undefined) {
|
|
26928
|
+
tag.state.unfolded = unfolded;
|
|
26929
|
+
}
|
|
26560
26930
|
// 如果标签展开但不可见,就要判断autoUnfoldWhenHide
|
|
26561
|
-
if (
|
|
26931
|
+
if (unfolded && !tag.state.visible) {
|
|
26562
26932
|
const config = this.getTagConfig(tag);
|
|
26563
26933
|
if (typeof config.unfoldedConfig === 'object' && config.unfoldedConfig.autoUnfoldWhenHide !== false) {
|
|
26564
26934
|
tag.state.unfolded = false;
|
|
@@ -26579,16 +26949,6 @@ void main() {
|
|
|
26579
26949
|
return;
|
|
26580
26950
|
return { x, y, z };
|
|
26581
26951
|
}
|
|
26582
|
-
getTagById(id) {
|
|
26583
|
-
const tag = this.tags.find((tag) => {
|
|
26584
|
-
return tag.id === id;
|
|
26585
|
-
});
|
|
26586
|
-
if (!tag) {
|
|
26587
|
-
console.error(`getTagById(): tag is ${tag}, id is ${id}`);
|
|
26588
|
-
return undefined;
|
|
26589
|
-
}
|
|
26590
|
-
return tag;
|
|
26591
|
-
}
|
|
26592
26952
|
// TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
|
|
26593
26953
|
filterPointTag() {
|
|
26594
26954
|
return this.tags.filter((tag) => tag.pointType === exports.PointType.PointTag);
|
|
@@ -26608,9 +26968,10 @@ void main() {
|
|
|
26608
26968
|
}
|
|
26609
26969
|
|
|
26610
26970
|
// declare const __APP_VERSION__: string
|
|
26611
|
-
const VERSION$2 = '0.
|
|
26971
|
+
const VERSION$2 = '1.0.0';
|
|
26612
26972
|
const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin@${VERSION$2}`;
|
|
26613
|
-
|
|
26973
|
+
// 初始是否展开
|
|
26974
|
+
const TAG_INITIAL_UNFOLDED = false;
|
|
26614
26975
|
const pluginFlag = (name) => `${PLUGIN_NAME$1}--${name}`;
|
|
26615
26976
|
class PanoTagPluginController extends TagComputer {
|
|
26616
26977
|
constructor(five, params) {
|
|
@@ -26720,8 +27081,9 @@ void main() {
|
|
|
26720
27081
|
/**
|
|
26721
27082
|
* @description: 加载数据
|
|
26722
27083
|
*/
|
|
26723
|
-
load(data) {
|
|
27084
|
+
load(data, config) {
|
|
26724
27085
|
var _a, _b;
|
|
27086
|
+
this.clearTags();
|
|
26725
27087
|
console.log(PLUGIN_NAME$1, 'load:', { data });
|
|
26726
27088
|
if (this.params.mergePluginDefaultConfigToLoadDataConfig) {
|
|
26727
27089
|
this.config = objectAssignDeep__default["default"]({}, this.config, {
|
|
@@ -26735,17 +27097,15 @@ void main() {
|
|
|
26735
27097
|
if (data.contentTypeConfig)
|
|
26736
27098
|
this.config.contentTypeConfig = data.contentTypeConfig;
|
|
26737
27099
|
}
|
|
26738
|
-
this.
|
|
26739
|
-
|
|
26740
|
-
this.tags = [];
|
|
26741
|
-
this.addTag(data.tagList);
|
|
27100
|
+
this.addTag(data.tagList, config);
|
|
27101
|
+
// debug
|
|
26742
27102
|
if (this.debug)
|
|
26743
27103
|
addDebugPoints(this.five, this.tags);
|
|
26744
27104
|
}
|
|
26745
27105
|
/**
|
|
26746
27106
|
* @description: 添加标签
|
|
26747
27107
|
*/
|
|
26748
|
-
addTag(tag) {
|
|
27108
|
+
addTag(tag, config) {
|
|
26749
27109
|
const tags = Array.isArray(tag) ? tag : [tag];
|
|
26750
27110
|
const _tags = tags
|
|
26751
27111
|
.map((tag) => {
|
|
@@ -26755,7 +27115,7 @@ void main() {
|
|
|
26755
27115
|
.filter((tag) => tag.position);
|
|
26756
27116
|
this.tags.push(..._tags);
|
|
26757
27117
|
actionAfterFiveModelLoad(this.five, () => {
|
|
26758
|
-
var _a, _b;
|
|
27118
|
+
var _a, _b, _c;
|
|
26759
27119
|
// 添加事件
|
|
26760
27120
|
if (this.store.eventListenerDisposer) {
|
|
26761
27121
|
(_b = (_a = this.store).eventListenerDisposer) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
@@ -26771,10 +27131,18 @@ void main() {
|
|
|
26771
27131
|
}, 200);
|
|
26772
27132
|
}
|
|
26773
27133
|
this.checkPanelTag();
|
|
26774
|
-
|
|
26775
|
-
|
|
27134
|
+
// v0.3.8 新增 withAnimation,默认 false
|
|
27135
|
+
// v1.0.0 withAnimation 默认值改为 true
|
|
27136
|
+
this.setVisibleAndUnfolded({ withAnimation: (_c = config === null || config === void 0 ? void 0 : config.withAnimation) !== null && _c !== void 0 ? _c : true }).then(() => this.updateRenderAllTags());
|
|
27137
|
+
this.updateRenderAllTags();
|
|
26776
27138
|
});
|
|
26777
27139
|
}
|
|
27140
|
+
clearTags() {
|
|
27141
|
+
this.tags = [];
|
|
27142
|
+
this.clearCache();
|
|
27143
|
+
this.disposeAllCSS3DContainer();
|
|
27144
|
+
this.updateRenderAllTags();
|
|
27145
|
+
}
|
|
26778
27146
|
async show(params) {
|
|
26779
27147
|
const { userAction = true, withAnimation = false } = params !== null && params !== void 0 ? params : {};
|
|
26780
27148
|
if (this.store.disposed)
|
|
@@ -26865,7 +27233,7 @@ void main() {
|
|
|
26865
27233
|
}
|
|
26866
27234
|
// 3D 转 2D 的时候要销毁 3D container
|
|
26867
27235
|
this.checkPanelTag();
|
|
26868
|
-
this.
|
|
27236
|
+
this.updateRenderAllTags();
|
|
26869
27237
|
}
|
|
26870
27238
|
/**
|
|
26871
27239
|
* @description: 改变tag任意属性
|
|
@@ -26883,7 +27251,7 @@ void main() {
|
|
|
26883
27251
|
if ((currentTag === null || currentTag === void 0 ? void 0 : currentTag.tag3DContentSvelte) && (tag === null || tag === void 0 ? void 0 : tag.normal)) {
|
|
26884
27252
|
currentTag.tag3DContentSvelte.currentNormal = arrayPositionToVector3(tag.normal);
|
|
26885
27253
|
}
|
|
26886
|
-
this.
|
|
27254
|
+
this.updateRenderAllTags();
|
|
26887
27255
|
this.checkPanelTag();
|
|
26888
27256
|
}
|
|
26889
27257
|
/**
|
|
@@ -26897,12 +27265,31 @@ void main() {
|
|
|
26897
27265
|
return;
|
|
26898
27266
|
this.tags.splice(index, 1);
|
|
26899
27267
|
});
|
|
26900
|
-
this.
|
|
27268
|
+
this.updateRenderAllTags();
|
|
26901
27269
|
}
|
|
26902
27270
|
/** 暂停当前标签内进行的所有多媒体 */
|
|
26903
27271
|
pauseCurrentMedia() {
|
|
26904
27272
|
this.mediaStore.set({ currentMediaUrl: '' });
|
|
26905
27273
|
}
|
|
27274
|
+
/**
|
|
27275
|
+
* @description: 设置 visible 和 unfolded
|
|
27276
|
+
*/
|
|
27277
|
+
async setVisibleAndUnfolded({ withAnimation } = { withAnimation: false }) {
|
|
27278
|
+
this.setVisibleByPanoIndex();
|
|
27279
|
+
if (withAnimation) {
|
|
27280
|
+
return new Promise((resolve, reject) => {
|
|
27281
|
+
// setTimeout 初始隐藏,然后展开,而不是一步到位,要不就没动画了
|
|
27282
|
+
setTimeout(() => {
|
|
27283
|
+
this.setUnfoldedByPanoIndex();
|
|
27284
|
+
resolve();
|
|
27285
|
+
}, 10); // 10ms 是等待 TextTag onMount
|
|
27286
|
+
});
|
|
27287
|
+
}
|
|
27288
|
+
else {
|
|
27289
|
+
this.setUnfoldedByPanoIndex();
|
|
27290
|
+
return Promise.resolve();
|
|
27291
|
+
}
|
|
27292
|
+
}
|
|
26906
27293
|
handleShow() {
|
|
26907
27294
|
this.state.visible = true;
|
|
26908
27295
|
this.updateTagContainerVisible();
|
|
@@ -26913,7 +27300,7 @@ void main() {
|
|
|
26913
27300
|
}
|
|
26914
27301
|
handleEnable() {
|
|
26915
27302
|
this.state.enabled = true;
|
|
26916
|
-
this.
|
|
27303
|
+
this.updateRenderAllTags();
|
|
26917
27304
|
}
|
|
26918
27305
|
handleDisable() {
|
|
26919
27306
|
var _a;
|
|
@@ -26959,7 +27346,7 @@ void main() {
|
|
|
26959
27346
|
// resize
|
|
26960
27347
|
const show = () => {
|
|
26961
27348
|
this.show();
|
|
26962
|
-
this.
|
|
27349
|
+
this.updateRenderAllTags();
|
|
26963
27350
|
};
|
|
26964
27351
|
const { observe: hideObserve, unobserve: hideUnobserve } = resizeObserver(throttle(() => {
|
|
26965
27352
|
/**
|
|
@@ -26997,7 +27384,7 @@ void main() {
|
|
|
26997
27384
|
tag.temporaryState = Object.assign(Object.assign({}, tag.temporaryState), { visible: false });
|
|
26998
27385
|
}
|
|
26999
27386
|
});
|
|
27000
|
-
this.
|
|
27387
|
+
this.updateRenderAllTags();
|
|
27001
27388
|
}
|
|
27002
27389
|
/**
|
|
27003
27390
|
* @description: 走点/切换模型后显示
|
|
@@ -27035,13 +27422,13 @@ void main() {
|
|
|
27035
27422
|
tag.state.unfolded = false;
|
|
27036
27423
|
});
|
|
27037
27424
|
}
|
|
27038
|
-
this.
|
|
27425
|
+
this.updateRenderAllTags();
|
|
27039
27426
|
}
|
|
27040
27427
|
}
|
|
27041
27428
|
/**
|
|
27042
27429
|
* @description: 更新所有标签
|
|
27043
27430
|
*/
|
|
27044
|
-
|
|
27431
|
+
updateRenderAllTags() {
|
|
27045
27432
|
this.updateRenderPointTag();
|
|
27046
27433
|
this.updateRenderPlaneTag();
|
|
27047
27434
|
}
|
|
@@ -27062,20 +27449,20 @@ void main() {
|
|
|
27062
27449
|
// 设置展开/收起
|
|
27063
27450
|
this.setUnfoldedByCamera();
|
|
27064
27451
|
// 渲染
|
|
27065
|
-
this.
|
|
27452
|
+
this.updateRenderAllTags();
|
|
27066
27453
|
}, 100);
|
|
27067
27454
|
}
|
|
27068
27455
|
handleFiveCameraUpdate() {
|
|
27069
27456
|
// 渲染
|
|
27070
27457
|
this.updateRenderPointTag();
|
|
27071
27458
|
}
|
|
27072
|
-
handleFivePanoArrived() {
|
|
27073
|
-
this.
|
|
27459
|
+
async handleFivePanoArrived() {
|
|
27460
|
+
await this.setVisibleAndUnfolded();
|
|
27074
27461
|
this.tags.forEach((tag) => {
|
|
27075
27462
|
tag.temporaryState = Object.assign(Object.assign({}, tag.temporaryState), { visible: true });
|
|
27076
27463
|
});
|
|
27077
27464
|
// 渲染
|
|
27078
|
-
this.
|
|
27465
|
+
this.updateRenderAllTags();
|
|
27079
27466
|
}
|
|
27080
27467
|
setUnfoldedByCamera() {
|
|
27081
27468
|
let hasTagUnfolded = false; // 是否有标签由于camera的转动而展开
|