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