@realsee/dnalogel 3.12.5 → 3.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +0 -1
- package/dist/index.cjs.js +65 -65
- package/dist/index.js +4711 -4880
- package/dist/index.umd.js +58 -58
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +4 -4
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/Magnifier.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/classes/WalkController.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/MovePlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -4
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/AudioTagTypeConfigKey.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/AreaMakerPlugin/Controller.js +44 -54
- package/libs/AreaMakerPlugin/index.js +3 -13
- package/libs/AreaMakerPlugin/utils/Item.js +3 -13
- package/libs/CruisePlugin/Work.js +6 -19
- package/libs/CruisePlugin/index.js +10 -23
- package/libs/GuideLinePlugin/Components/Tag.js +48 -58
- package/libs/GuideLinePlugin/Controller.js +33 -46
- package/libs/GuideLinePlugin/GuideLineItem.js +6 -19
- package/libs/GuideLinePlugin/GuideLineModeItem.js +6 -19
- package/libs/GuideLinePlugin/index.js +11 -24
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +139 -152
- package/libs/ItemLabelPlugin/ItemLabelItem.js +57 -67
- package/libs/ItemLabelPlugin/Plugin.js +26 -37
- package/libs/ItemLabelPlugin/index.js +5 -16
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +103 -116
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +35 -45
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +24 -35
- package/libs/ModelItemLabelPlugin/index.js +5 -16
- package/libs/ModelRoomLabelPlugin/Controller.js +8 -20
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +42 -52
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +61 -75
- package/libs/ModelRoomLabelPlugin/index.js +5 -17
- package/libs/PanoDoorLabelPlugin/Controller.js +62 -72
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +45 -55
- package/libs/PanoDoorLabelPlugin/index.js +4 -14
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +60 -70
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +22 -32
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +62 -75
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +97 -110
- package/libs/PanoMeasurePlugin/Components/Controller0.js +63 -74
- package/libs/PanoMeasurePlugin/Components/Controller1.js +22 -33
- package/libs/PanoMeasurePlugin/Components/Tip.js +66 -76
- package/libs/PanoMeasurePlugin/Controller/index.js +75 -86
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -26
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +22 -33
- package/libs/PanoMeasurePlugin/index.js +16 -27
- package/libs/PanoRulerProPlugin/Controller.js +27 -38
- package/libs/PanoRulerProPlugin/RulerItem.js +79 -94
- package/libs/PanoRulerProPlugin/RulerItems.js +82 -95
- package/libs/PanoRulerProPlugin/index.js +4 -15
- package/libs/PanoSpatialTagPlugin/Components/origins.js +38 -51
- package/libs/PanoSpatialTagPlugin/Components/tag.js +22 -32
- package/libs/PanoSpatialTagPlugin/Plugin.js +104 -115
- package/libs/PanoSpatialTagPlugin/index.js +2 -13
- package/libs/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +34 -44
- package/libs/PanoTagPlugin/Components/Common/Audio.js +89 -99
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +112 -123
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +45 -55
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +49 -59
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +69 -79
- package/libs/PanoTagPlugin/Components/Common/Media.js +168 -182
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +118 -128
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +48 -58
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -35
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +86 -97
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +96 -109
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +118 -128
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +49 -59
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +90 -100
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +81 -92
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +57 -68
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +35 -45
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +110 -122
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +42 -53
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +115 -130
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -66
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +52 -62
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +56 -66
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +98 -109
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +43 -54
- package/libs/PanoTagPlugin/Components/Tag/index.js +142 -155
- package/libs/PanoTagPlugin/Components/TagContainer.js +62 -77
- package/libs/PanoTagPlugin/Components/TagItem.js +47 -60
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +6 -19
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +19 -32
- package/libs/PanoTagPlugin/index.js +15 -28
- package/libs/PanoTagPlugin/typings/controller.d.ts +0 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +54 -59
- package/libs/floorplan/Components/BaseImage.js +39 -43
- package/libs/floorplan/Components/Camera.js +32 -41
- package/libs/floorplan/Components/Compass.js +24 -27
- package/libs/floorplan/Components/CurrentFloor.js +49 -54
- package/libs/floorplan/Components/Main.js +47 -56
- package/libs/floorplan/Components/MissingFloor.js +21 -24
- package/libs/floorplan/Components/Normalmage.js +22 -25
- package/libs/floorplan/Components/RoomHighlight/Room.js +25 -28
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +61 -69
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +47 -50
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +61 -69
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +118 -125
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +22 -25
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -43
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +29 -32
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +41 -49
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +94 -102
- package/libs/floorplan/Components/SvgImage.js +27 -30
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -18
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +46 -58
- package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +65 -77
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -95
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +53 -70
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +100 -112
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +12 -24
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -16
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +21 -33
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -19
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +124 -138
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/internal/index.js +749 -0
- package/libs/vendor/svelte/{src/runtime/store → store}/index.js +5 -5
- package/libs/vendor/svelte/{src/runtime/transition → transition}/index.js +1 -1
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +25 -29
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +225 -197
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +12 -16
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +59 -65
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +29 -32
- package/package.json +2 -2
- package/libs/vendor/svelte/src/runtime/internal/Component.js +0 -122
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/animations.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +0 -47
- package/libs/vendor/svelte/src/runtime/internal/dev.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +0 -2
- package/libs/vendor/svelte/src/runtime/internal/dom.js +0 -214
- package/libs/vendor/svelte/src/runtime/internal/each.js +0 -46
- package/libs/vendor/svelte/src/runtime/internal/environment.js +0 -7
- package/libs/vendor/svelte/src/runtime/internal/globals.js +0 -7
- package/libs/vendor/svelte/src/runtime/internal/index.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +0 -63
- package/libs/vendor/svelte/src/runtime/internal/loop.js +0 -21
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +0 -66
- package/libs/vendor/svelte/src/runtime/internal/spread.js +0 -26
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +0 -1
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +0 -48
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +0 -192
- package/libs/vendor/svelte/src/runtime/internal/utils.js +0 -110
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +0 -1
- package/libs/vendor/svelte/src/shared/utils/names.js +0 -1
- package/libs/vendor/svelte/src/shared/version.js +0 -4
- /package/libs/vendor/svelte/{src/runtime/easing → easing}/index.js +0 -0
- /package/libs/vendor/svelte/{src/runtime/index.js → index.js} +0 -0
|
@@ -1,50 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { append_styles as J, empty as R, insert as p, detach as k, element as g, attr as r, space as X, set_style as S, toggle_class as v, append as j, listen as I } from "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
-
import { binding_callbacks as D } from "../../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
4
|
-
import { getContext as U, onMount as G } from "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
5
|
-
import { SvelteComponent as K, init as Q } from "../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
6
|
-
import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
1
|
+
import { SvelteComponent as q, init as A, safe_not_equal as J, append_styles as R, empty as X, insert as k, noop as B, detach as y, getContext as S, onMount as D, element as g, attr as a, binding_callbacks as G, space as K, set_style as j, toggle_class as v, append as U, listen as I, src_url_equal as P, run_all as Q } from "../../../vendor/svelte/internal/index.js";
|
|
7
2
|
import { Image_Play_Icon_With_Text as Y, Image_Play_Icon as Z } from "../../Assets/Icon.js";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import "../../../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
-
import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
-
import "../../../vendor/svelte/src/shared/version.js";
|
|
13
|
-
function x(l) {
|
|
14
|
-
J(l, "svelte-159ski6", ".media-item.svelte-159ski6.svelte-159ski6{position:relative;height:100%}.media-content.svelte-159ski6.svelte-159ski6{position:relative;pointer-events:auto;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.media-content.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none}.video-icon.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-159ski6.svelte-159ski6{display:none;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none;display:block}.video-icon.svelte-159ski6.svelte-159ski6{pointer-events:auto}.video-icon.large.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem}.video-icon.small.svelte-159ski6.svelte-159ski6{width:1.75rem;height:1.75rem}.video-icon.svelte-159ski6 .video-icon-img.svelte-159ski6{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-159ski6 .video-icon-img.canPlay.svelte-159ski6{cursor:pointer}");
|
|
3
|
+
function x(o) {
|
|
4
|
+
R(o, "svelte-159ski6", ".media-item.svelte-159ski6.svelte-159ski6{position:relative;height:100%}.media-content.svelte-159ski6.svelte-159ski6{position:relative;pointer-events:auto;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.media-content.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none}.video-icon.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-159ski6.svelte-159ski6{display:none;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none;display:block}.video-icon.svelte-159ski6.svelte-159ski6{pointer-events:auto}.video-icon.large.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem}.video-icon.small.svelte-159ski6.svelte-159ski6{width:1.75rem;height:1.75rem}.video-icon.svelte-159ski6 .video-icon-img.svelte-159ski6{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-159ski6 .video-icon-img.canPlay.svelte-159ski6{cursor:pointer}");
|
|
15
5
|
}
|
|
16
|
-
function L(
|
|
6
|
+
function L(o) {
|
|
17
7
|
let e;
|
|
18
|
-
function i(
|
|
8
|
+
function i(l, r) {
|
|
19
9
|
if (
|
|
20
10
|
/*media*/
|
|
21
|
-
|
|
11
|
+
l[2].type === "Image"
|
|
22
12
|
)
|
|
23
13
|
return ee;
|
|
24
14
|
if (
|
|
25
15
|
/*media*/
|
|
26
|
-
|
|
16
|
+
l[2].type === "Video"
|
|
27
17
|
)
|
|
28
18
|
return $;
|
|
29
19
|
}
|
|
30
|
-
let t = i(
|
|
20
|
+
let t = i(o), n = t && t(o);
|
|
31
21
|
return {
|
|
32
22
|
c() {
|
|
33
|
-
e = g("div"), n && n.c(),
|
|
23
|
+
e = g("div"), n && n.c(), a(e, "class", "media-item svelte-159ski6"), a(e, "draggable", "false");
|
|
34
24
|
},
|
|
35
|
-
m(
|
|
36
|
-
|
|
25
|
+
m(l, r) {
|
|
26
|
+
k(l, e, r), n && n.m(e, null);
|
|
37
27
|
},
|
|
38
|
-
p(
|
|
39
|
-
t === (t = i(
|
|
28
|
+
p(l, r) {
|
|
29
|
+
t === (t = i(l)) && n ? n.p(l, r) : (n && n.d(1), n = t && t(l), n && (n.c(), n.m(e, null)));
|
|
40
30
|
},
|
|
41
|
-
d(
|
|
42
|
-
|
|
31
|
+
d(l) {
|
|
32
|
+
l && y(e), n && n.d();
|
|
43
33
|
}
|
|
44
34
|
};
|
|
45
35
|
}
|
|
46
|
-
function $(
|
|
47
|
-
let e, i, t, n,
|
|
36
|
+
function $(o) {
|
|
37
|
+
let e, i, t, n, l, r;
|
|
48
38
|
function c(u, m) {
|
|
49
39
|
return (
|
|
50
40
|
/*disableVideoIfHavePoster*/
|
|
@@ -52,43 +42,43 @@ function $(l) {
|
|
|
52
42
|
u[2].videoCoverUrl ? ie : te
|
|
53
43
|
);
|
|
54
44
|
}
|
|
55
|
-
let d = c(
|
|
45
|
+
let d = c(o), f = d(o);
|
|
56
46
|
return {
|
|
57
47
|
c() {
|
|
58
|
-
f.c(), e =
|
|
59
|
-
|
|
48
|
+
f.c(), e = K(), i = g("div"), t = g("div"), n = g("div"), a(n, "class", "video-icon-img svelte-159ski6"), j(n, "background-image", "url(" + /*func*/
|
|
49
|
+
o[20]() + ")"), v(
|
|
60
50
|
n,
|
|
61
51
|
"canPlay",
|
|
62
52
|
/*canPlay*/
|
|
63
|
-
|
|
64
|
-
),
|
|
53
|
+
o[5]
|
|
54
|
+
), a(t, "class", "video-icon svelte-159ski6"), v(
|
|
65
55
|
t,
|
|
66
56
|
"large",
|
|
67
57
|
/*playButtonSizeIfNeed*/
|
|
68
|
-
|
|
58
|
+
o[4] === "large"
|
|
69
59
|
), v(
|
|
70
60
|
t,
|
|
71
61
|
"small",
|
|
72
62
|
/*playButtonSizeIfNeed*/
|
|
73
|
-
|
|
74
|
-
),
|
|
63
|
+
o[4] === "small"
|
|
64
|
+
), a(i, "class", "video-play-button-container svelte-159ski6"), v(
|
|
75
65
|
i,
|
|
76
66
|
"showPlayButton",
|
|
77
67
|
/*showPlayButton*/
|
|
78
|
-
|
|
68
|
+
o[10]
|
|
79
69
|
);
|
|
80
70
|
},
|
|
81
71
|
m(u, m) {
|
|
82
|
-
f.m(u, m),
|
|
72
|
+
f.m(u, m), k(u, e, m), k(u, i, m), U(i, t), U(t, n), l || (r = I(
|
|
83
73
|
n,
|
|
84
74
|
"click",
|
|
85
75
|
/*click_handler_1*/
|
|
86
|
-
|
|
87
|
-
),
|
|
76
|
+
o[21]
|
|
77
|
+
), l = !0);
|
|
88
78
|
},
|
|
89
79
|
p(u, m) {
|
|
90
80
|
d === (d = c(u)) && f ? f.p(u, m) : (f.d(1), f = d(u), f && (f.c(), f.m(e.parentNode, e))), m & /*playButtonIfNeed*/
|
|
91
|
-
8 &&
|
|
81
|
+
8 && j(n, "background-image", "url(" + /*func*/
|
|
92
82
|
u[20]() + ")"), m & /*canPlay*/
|
|
93
83
|
32 && v(
|
|
94
84
|
n,
|
|
@@ -116,95 +106,95 @@ function $(l) {
|
|
|
116
106
|
);
|
|
117
107
|
},
|
|
118
108
|
d(u) {
|
|
119
|
-
u && (
|
|
109
|
+
f.d(u), u && y(e), u && y(i), l = !1, r();
|
|
120
110
|
}
|
|
121
111
|
};
|
|
122
112
|
}
|
|
123
|
-
function ee(
|
|
113
|
+
function ee(o) {
|
|
124
114
|
let e, i, t, n;
|
|
125
115
|
return {
|
|
126
116
|
c() {
|
|
127
|
-
e = g("img"),
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
117
|
+
e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${/*objectFit*/
|
|
118
|
+
o[6]};`), P(e.src, t = /*media*/
|
|
119
|
+
o[2].url) || a(e, "src", t), a(e, "alt", n = /*media*/
|
|
120
|
+
o[2].name), a(e, "draggable", !1);
|
|
131
121
|
},
|
|
132
|
-
m(
|
|
133
|
-
|
|
122
|
+
m(l, r) {
|
|
123
|
+
k(l, e, r);
|
|
134
124
|
},
|
|
135
|
-
p(
|
|
136
|
-
|
|
125
|
+
p(l, r) {
|
|
126
|
+
r & /*objectFit*/
|
|
137
127
|
64 && i !== (i = `object-fit: ${/*objectFit*/
|
|
138
|
-
|
|
128
|
+
l[6]};`) && a(e, "style", i), r & /*media*/
|
|
139
129
|
4 && !P(e.src, t = /*media*/
|
|
140
|
-
|
|
130
|
+
l[2].url) && a(e, "src", t), r & /*media*/
|
|
141
131
|
4 && n !== (n = /*media*/
|
|
142
|
-
|
|
132
|
+
l[2].name) && a(e, "alt", n);
|
|
143
133
|
},
|
|
144
|
-
d(
|
|
145
|
-
|
|
134
|
+
d(l) {
|
|
135
|
+
l && y(e);
|
|
146
136
|
}
|
|
147
137
|
};
|
|
148
138
|
}
|
|
149
|
-
function te(
|
|
150
|
-
let e, i, t, n,
|
|
139
|
+
function te(o) {
|
|
140
|
+
let e, i, t, n, l, r, c;
|
|
151
141
|
return {
|
|
152
142
|
c() {
|
|
153
|
-
e = g("video"),
|
|
154
|
-
|
|
155
|
-
|
|
143
|
+
e = g("video"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${/*objectFit*/
|
|
144
|
+
o[6]};`), P(e.src, t = /*media*/
|
|
145
|
+
o[2].videoCoverUrl ? (
|
|
156
146
|
/*media*/
|
|
157
|
-
|
|
147
|
+
o[2].url
|
|
158
148
|
) : (
|
|
159
149
|
/*media*/
|
|
160
|
-
|
|
161
|
-
)) ||
|
|
162
|
-
|
|
163
|
-
|
|
150
|
+
o[2].url + "#t=0.1"
|
|
151
|
+
)) || a(e, "src", t), a(e, "poster", n = /*media*/
|
|
152
|
+
o[2].videoCoverUrl), a(e, "preload", l = /*media*/
|
|
153
|
+
o[2].videoCoverUrl ? "none" : "auto"), a(e, "disablepictureinpicture", ""), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, a(e, "draggable", !1), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, v(
|
|
164
154
|
e,
|
|
165
155
|
"showPlayButton",
|
|
166
156
|
/*showPlayButton*/
|
|
167
|
-
|
|
157
|
+
o[10]
|
|
168
158
|
);
|
|
169
159
|
},
|
|
170
160
|
m(d, f) {
|
|
171
|
-
|
|
161
|
+
k(d, e, f), o[19](e), r || (c = [
|
|
172
162
|
I(
|
|
173
163
|
e,
|
|
174
164
|
"play",
|
|
175
165
|
/*play_handler*/
|
|
176
|
-
|
|
166
|
+
o[14]
|
|
177
167
|
),
|
|
178
168
|
I(
|
|
179
169
|
e,
|
|
180
170
|
"pause",
|
|
181
171
|
/*pause_handler*/
|
|
182
|
-
|
|
172
|
+
o[15]
|
|
183
173
|
),
|
|
184
174
|
I(
|
|
185
175
|
e,
|
|
186
176
|
"error",
|
|
187
177
|
/*error_handler*/
|
|
188
|
-
|
|
178
|
+
o[16]
|
|
189
179
|
),
|
|
190
180
|
I(
|
|
191
181
|
e,
|
|
192
182
|
"ended",
|
|
193
183
|
/*ended_handler*/
|
|
194
|
-
|
|
184
|
+
o[17]
|
|
195
185
|
),
|
|
196
186
|
I(
|
|
197
187
|
e,
|
|
198
188
|
"click",
|
|
199
189
|
/*click_handler*/
|
|
200
|
-
|
|
190
|
+
o[18]
|
|
201
191
|
)
|
|
202
|
-
],
|
|
192
|
+
], r = !0);
|
|
203
193
|
},
|
|
204
194
|
p(d, f) {
|
|
205
195
|
f & /*objectFit*/
|
|
206
196
|
64 && i !== (i = `object-fit: ${/*objectFit*/
|
|
207
|
-
d[6]};`) &&
|
|
197
|
+
d[6]};`) && a(e, "style", i), f & /*media*/
|
|
208
198
|
4 && !P(e.src, t = /*media*/
|
|
209
199
|
d[2].videoCoverUrl ? (
|
|
210
200
|
/*media*/
|
|
@@ -212,11 +202,11 @@ function te(l) {
|
|
|
212
202
|
) : (
|
|
213
203
|
/*media*/
|
|
214
204
|
d[2].url + "#t=0.1"
|
|
215
|
-
)) &&
|
|
205
|
+
)) && a(e, "src", t), f & /*media*/
|
|
216
206
|
4 && n !== (n = /*media*/
|
|
217
|
-
d[2].videoCoverUrl) &&
|
|
218
|
-
4 &&
|
|
219
|
-
d[2].videoCoverUrl ? "none" : "auto") &&
|
|
207
|
+
d[2].videoCoverUrl) && a(e, "poster", n), f & /*media*/
|
|
208
|
+
4 && l !== (l = /*media*/
|
|
209
|
+
d[2].videoCoverUrl ? "none" : "auto") && a(e, "preload", l), f & /*showPlayButton*/
|
|
220
210
|
1024 && v(
|
|
221
211
|
e,
|
|
222
212
|
"showPlayButton",
|
|
@@ -225,47 +215,47 @@ function te(l) {
|
|
|
225
215
|
);
|
|
226
216
|
},
|
|
227
217
|
d(d) {
|
|
228
|
-
d &&
|
|
218
|
+
d && y(e), o[19](null), r = !1, Q(c);
|
|
229
219
|
}
|
|
230
220
|
};
|
|
231
221
|
}
|
|
232
|
-
function ie(
|
|
222
|
+
function ie(o) {
|
|
233
223
|
let e, i, t, n;
|
|
234
224
|
return {
|
|
235
225
|
c() {
|
|
236
|
-
e = g("img"),
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
226
|
+
e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${/*objectFit*/
|
|
227
|
+
o[6]};`), P(e.src, t = /*media*/
|
|
228
|
+
o[2].videoCoverUrl) || a(e, "src", t), a(e, "alt", n = /*media*/
|
|
229
|
+
o[2].name), a(e, "draggable", !1);
|
|
240
230
|
},
|
|
241
|
-
m(
|
|
242
|
-
|
|
231
|
+
m(l, r) {
|
|
232
|
+
k(l, e, r);
|
|
243
233
|
},
|
|
244
|
-
p(
|
|
245
|
-
|
|
234
|
+
p(l, r) {
|
|
235
|
+
r & /*objectFit*/
|
|
246
236
|
64 && i !== (i = `object-fit: ${/*objectFit*/
|
|
247
|
-
|
|
237
|
+
l[6]};`) && a(e, "style", i), r & /*media*/
|
|
248
238
|
4 && !P(e.src, t = /*media*/
|
|
249
|
-
|
|
239
|
+
l[2].videoCoverUrl) && a(e, "src", t), r & /*media*/
|
|
250
240
|
4 && n !== (n = /*media*/
|
|
251
|
-
|
|
241
|
+
l[2].name) && a(e, "alt", n);
|
|
252
242
|
},
|
|
253
|
-
d(
|
|
254
|
-
|
|
243
|
+
d(l) {
|
|
244
|
+
l && y(e);
|
|
255
245
|
}
|
|
256
246
|
};
|
|
257
247
|
}
|
|
258
|
-
function
|
|
248
|
+
function le(o) {
|
|
259
249
|
let e, i = (
|
|
260
250
|
/*media*/
|
|
261
|
-
|
|
251
|
+
o[2] && L(o)
|
|
262
252
|
);
|
|
263
253
|
return {
|
|
264
254
|
c() {
|
|
265
|
-
i && i.c(), e =
|
|
255
|
+
i && i.c(), e = X();
|
|
266
256
|
},
|
|
267
257
|
m(t, n) {
|
|
268
|
-
i && i.m(t, n),
|
|
258
|
+
i && i.m(t, n), k(t, e, n);
|
|
269
259
|
},
|
|
270
260
|
p(t, [n]) {
|
|
271
261
|
/*media*/
|
|
@@ -274,77 +264,77 @@ function oe(l) {
|
|
|
274
264
|
i: B,
|
|
275
265
|
o: B,
|
|
276
266
|
d(t) {
|
|
277
|
-
|
|
267
|
+
i && i.d(t), t && y(e);
|
|
278
268
|
}
|
|
279
269
|
};
|
|
280
270
|
}
|
|
281
|
-
function
|
|
282
|
-
let t, n, { mediaInstance:
|
|
271
|
+
function oe(o, e, i) {
|
|
272
|
+
let t, n, { mediaInstance: l = { videoInstance: void 0, paused: !0 } } = e, { tag: r } = e, { media: c } = e, { playButtonIfNeed: d = "withoutText" } = e, { playButtonSizeIfNeed: f = "small" } = e, { canPlay: u = !0 } = e, { objectFit: m = "fill" } = e, { disableVideoIfHavePoster: C = !1 } = e, p = !0, h = !1;
|
|
283
273
|
function N() {
|
|
284
274
|
i(8, h = (c == null ? void 0 : c.type) === "Video" && !!c.videoCoverUrl);
|
|
285
275
|
}
|
|
286
|
-
const w =
|
|
276
|
+
const w = S("mediaStore"), b = S("hooks"), _ = () => {
|
|
287
277
|
h || t && (i(9, t.muted = !0, t), t.play(), t.pause(), i(9, t.muted = !1, t), i(8, h = !0));
|
|
288
278
|
};
|
|
289
|
-
b.on("loadVideoFirstFrame", _),
|
|
279
|
+
b.on("loadVideoFirstFrame", _), D(() => {
|
|
290
280
|
w.subscribe(({ currentMediaElement: s }) => {
|
|
291
281
|
s !== t && (t == null || t.pause());
|
|
292
282
|
});
|
|
293
283
|
});
|
|
294
284
|
const V = (s) => {
|
|
295
|
-
i(10,
|
|
285
|
+
i(10, p = !1), i(0, l.paused = !1, l), i(8, h = !0), t && w.set({ currentMediaElement: t }), b.emit("playStateChange", {
|
|
296
286
|
event: s,
|
|
297
287
|
state: "playing",
|
|
298
|
-
tag:
|
|
288
|
+
tag: r,
|
|
299
289
|
mediaInstance: t
|
|
300
290
|
});
|
|
301
291
|
}, E = (s) => {
|
|
302
|
-
i(10,
|
|
292
|
+
i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
|
|
303
293
|
event: s,
|
|
304
294
|
state: "paused",
|
|
305
|
-
tag:
|
|
295
|
+
tag: r,
|
|
306
296
|
mediaInstance: t
|
|
307
297
|
});
|
|
308
298
|
}, z = (s) => {
|
|
309
|
-
i(10,
|
|
299
|
+
i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
|
|
310
300
|
event: s,
|
|
311
301
|
state: "paused",
|
|
312
|
-
tag:
|
|
302
|
+
tag: r,
|
|
313
303
|
mediaInstance: t
|
|
314
304
|
});
|
|
315
305
|
}, F = (s) => {
|
|
316
|
-
i(10,
|
|
306
|
+
i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
|
|
317
307
|
event: s,
|
|
318
308
|
state: "paused",
|
|
319
|
-
tag:
|
|
309
|
+
tag: r,
|
|
320
310
|
mediaInstance: t
|
|
321
311
|
});
|
|
322
312
|
}, O = (s) => {
|
|
323
313
|
t && t.pause();
|
|
324
314
|
};
|
|
325
315
|
function W(s) {
|
|
326
|
-
|
|
327
|
-
|
|
316
|
+
G[s ? "unshift" : "push"](() => {
|
|
317
|
+
l.videoInstance = s, i(0, l);
|
|
328
318
|
});
|
|
329
319
|
}
|
|
330
320
|
const H = () => d === "withText" ? Y : d === "withoutText" ? Z : d, T = (s) => {
|
|
331
321
|
u && t && (i(9, t.muted = !1, t), t.play());
|
|
332
322
|
};
|
|
333
|
-
return
|
|
334
|
-
"mediaInstance" in s && i(0,
|
|
335
|
-
},
|
|
336
|
-
if (
|
|
337
|
-
1 && i(9, t =
|
|
338
|
-
4 && i(13, n = c == null ? void 0 : c.url),
|
|
339
|
-
8192 && n && N(),
|
|
340
|
-
512 && t && i(10,
|
|
323
|
+
return o.$$set = (s) => {
|
|
324
|
+
"mediaInstance" in s && i(0, l = s.mediaInstance), "tag" in s && i(1, r = s.tag), "media" in s && i(2, c = s.media), "playButtonIfNeed" in s && i(3, d = s.playButtonIfNeed), "playButtonSizeIfNeed" in s && i(4, f = s.playButtonSizeIfNeed), "canPlay" in s && i(5, u = s.canPlay), "objectFit" in s && i(6, m = s.objectFit), "disableVideoIfHavePoster" in s && i(7, C = s.disableVideoIfHavePoster);
|
|
325
|
+
}, o.$$.update = () => {
|
|
326
|
+
if (o.$$.dirty & /*mediaInstance*/
|
|
327
|
+
1 && i(9, t = l.videoInstance), o.$$.dirty & /*media*/
|
|
328
|
+
4 && i(13, n = c == null ? void 0 : c.url), o.$$.dirty & /*mediaUrl*/
|
|
329
|
+
8192 && n && N(), o.$$.dirty & /*videoInstance*/
|
|
330
|
+
512 && t && i(10, p = t.paused), o.$$.dirty & /*media, videoPosterLoaded, videoInstance*/
|
|
341
331
|
772 && (c == null ? void 0 : c.type) === "Video" && !h) {
|
|
342
332
|
const s = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, M = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && s;
|
|
343
333
|
t && M && t.paused && (document.removeEventListener("WeixinJSBridgeReady", _), document.removeEventListener("touchstart", _), document.removeEventListener("click", _), document.addEventListener("WeixinJSBridgeReady", _), document.addEventListener("touchstart", _), document.addEventListener("click", _));
|
|
344
334
|
}
|
|
345
335
|
}, [
|
|
346
|
-
|
|
347
|
-
|
|
336
|
+
l,
|
|
337
|
+
r,
|
|
348
338
|
c,
|
|
349
339
|
d,
|
|
350
340
|
f,
|
|
@@ -353,7 +343,7 @@ function le(l, e, i) {
|
|
|
353
343
|
C,
|
|
354
344
|
h,
|
|
355
345
|
t,
|
|
356
|
-
|
|
346
|
+
p,
|
|
357
347
|
w,
|
|
358
348
|
b,
|
|
359
349
|
n,
|
|
@@ -367,14 +357,14 @@ function le(l, e, i) {
|
|
|
367
357
|
T
|
|
368
358
|
];
|
|
369
359
|
}
|
|
370
|
-
class
|
|
360
|
+
class re extends q {
|
|
371
361
|
constructor(e) {
|
|
372
|
-
super(),
|
|
362
|
+
super(), A(
|
|
373
363
|
this,
|
|
374
364
|
e,
|
|
375
|
-
le,
|
|
376
365
|
oe,
|
|
377
|
-
|
|
366
|
+
le,
|
|
367
|
+
J,
|
|
378
368
|
{
|
|
379
369
|
mediaInstance: 0,
|
|
380
370
|
tag: 1,
|
|
@@ -390,5 +380,5 @@ class ke extends K {
|
|
|
390
380
|
}
|
|
391
381
|
}
|
|
392
382
|
export {
|
|
393
|
-
|
|
383
|
+
re as default
|
|
394
384
|
};
|