@realsee/dnalogel 2.3.5-dev.4 → 2.3.5-dev.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoTagPlugin/controller/index.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +36 -36
- package/dist/index.js +1399 -1395
- package/dist/index.umd.js +24 -24
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +41 -41
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +16 -16
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +5 -4
- package/docs/functions/CameraMovementPlugin.html +5 -4
- package/docs/functions/CruisePlugin.html +5 -4
- package/docs/functions/GuideLinePlugin.html +6 -5
- package/docs/functions/ItemLabelPlugin.html +5 -4
- package/docs/functions/MapviewFloorplanPlugin.html +5 -4
- package/docs/functions/ModelChassisCompassPlugin.html +5 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
- package/docs/functions/ModelFloorplanPlugin.html +5 -4
- package/docs/functions/ModelItemLabelPlugin.html +5 -4
- package/docs/functions/ModelRoomLabelPlugin.html +5 -4
- package/docs/functions/ModelTVVideoPlugin.html +5 -4
- package/docs/functions/ModelViewPlugin.html +5 -4
- package/docs/functions/Object3DHelperPlugin.html +5 -4
- package/docs/functions/PanoCompassPlugin.html +5 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
- package/docs/functions/PanoDoorLabelPlugin.html +5 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
- package/docs/functions/PanoMeasurePlugin.html +5 -4
- package/docs/functions/PanoRulerPlugin.html +5 -4
- package/docs/functions/PanoRulerProPlugin.html +5 -4
- package/docs/functions/PanoSpatialTagPlugin.html +5 -4
- package/docs/functions/PanoTagPlugin.html +5 -4
- package/docs/functions/TopviewFloorplanPlugin.html +5 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +6 -5
- package/docs/index.html +5 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +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/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- 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/OpenParameter.html +7 -7
- 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 +6 -5
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- 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 +6 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.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 +6 -5
- package/docs/interfaces/Rooms.html +6 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCache.html +10 -10
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- 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/modules/Util.html +5 -5
- package/docs/modules.html +6 -4
- package/docs/types/ArrayPosition.html +6 -5
- package/docs/types/CSS3DRenderExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
- package/docs/types/Color.html +6 -5
- package/docs/types/ContentTypeConfigKey.html +6 -5
- package/docs/types/ContentTypeMap.html +6 -5
- package/docs/types/Create3DDomContainerReturnType.html +6 -5
- package/docs/types/Create3DElementReturnType.html +6 -5
- package/docs/types/CruisePluginExportType.html +6 -5
- package/docs/types/Direction-1.html +6 -5
- package/docs/types/Direction4.html +6 -5
- package/docs/types/FloorplanRuleLabels.html +6 -5
- package/docs/types/FloorplanServerRuleLabels.html +6 -5
- package/docs/types/GuideLinePluginExportType.html +6 -5
- package/docs/types/HelperEventMap.html +6 -5
- package/docs/types/LoadTagConfig.html +248 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/MediaData.html +6 -5
- package/docs/types/MediaStore.html +6 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
- package/docs/types/MoveArgs.html +6 -5
- package/docs/types/MoveOpts.html +6 -5
- package/docs/types/Object3DHelperEventMap.html +6 -5
- package/docs/types/ObjectFit.html +6 -5
- package/docs/types/PaintBrushEventMap.html +6 -5
- package/docs/types/PanoCompassPluginData.html +6 -5
- package/docs/types/PanoCompassPluginExportType.html +6 -5
- package/docs/types/PanoCompassPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
- package/docs/types/PanoIndex.html +6 -5
- package/docs/types/PanoMeasurePluginEvent.html +6 -5
- package/docs/types/PanoMeasureReturnType.html +6 -5
- package/docs/types/PanoSpatialTagPluginId.html +6 -5
- package/docs/types/PanoTagPluginExportInterface.html +6 -5
- package/docs/types/PanoTagPluginParamsInterface.html +6 -5
- package/docs/types/PlaneTag.html +6 -5
- package/docs/types/PlaneTagElement.html +6 -5
- package/docs/types/Point2DElement.html +6 -5
- package/docs/types/Point2DTag.html +6 -5
- package/docs/types/Point3DElement.html +6 -5
- package/docs/types/Point3DTag.html +6 -5
- package/docs/types/PointTag.html +6 -5
- package/docs/types/PointTagElement.html +6 -5
- package/docs/types/Position.html +6 -5
- package/docs/types/RotateArgs.html +6 -5
- package/docs/types/RotateOpts.html +6 -5
- package/docs/types/RuleLabelsKey.html +6 -5
- package/docs/types/RuleLabelsValue.html +6 -5
- package/docs/types/StickType.html +6 -5
- package/docs/types/Tag.html +6 -5
- package/docs/types/Tag2D.html +6 -5
- package/docs/types/Tag3D.html +6 -5
- package/docs/types/TagContentType.html +6 -5
- package/docs/types/TagDimensionType.html +6 -5
- package/docs/types/TagElement.html +6 -5
- package/docs/types/TagEvents.html +6 -5
- package/docs/types/TagHooks.html +6 -5
- package/docs/types/TagIconSize.html +6 -5
- package/docs/types/TagId.html +6 -5
- package/docs/types/TagPointType.html +6 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/WorkCode.html +6 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
- package/docs/variables/PLUGIN.html +6 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
- package/docs/variables/ROOM_TYPE_MAP.html +6 -5
- package/docs/variables/VERSION.html +6 -5
- package/docs/variables/itemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +2 -2
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
- package/libs/CSS3DRenderPlugin/utils/index.js +12 -0
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +2 -1
- package/libs/CSS3DRenderPlugin/utils/random.js +6 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +6 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
- package/libs/CruisePlugin/Controller.js +1 -1
- package/libs/CruisePlugin/utils/coordinatesAngle.js +3 -2
- package/libs/CruisePlugin/utils/linerValue.js +4 -4
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
- package/libs/GuideLinePlugin/utils/getPoint.d.ts +3 -0
- package/libs/GuideLinePlugin/utils/getPoint.js +18 -0
- package/libs/Object3DHelperPlugin/Controller.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +25 -15
- package/libs/PanoMeasurePlugin/Controller/EditController.js +21 -9
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +23 -10
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +25 -14
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +44 -29
- package/libs/PanoMeasurePlugin/Controller/index.js +58 -21
- package/libs/PanoMeasurePlugin/Model/index.js +47 -40
- package/libs/PanoMeasurePlugin/Model/line.js +15 -11
- package/libs/PanoMeasurePlugin/Model/point.js +5 -5
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +24 -16
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +4 -3
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +8 -5
- package/libs/PanoMeasurePlugin/index.js +2 -2
- package/libs/PanoMeasurePlugin/typings/data.js +1 -0
- package/libs/PanoMeasurePlugin/typings/event.type.js +1 -0
- package/libs/PanoMeasurePlugin/typings/index.js +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.js +1 -0
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +6 -0
- package/libs/PanoMeasurePlugin/utils/constants.js +15 -16
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +7 -6
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
- package/libs/PanoMeasurePlugin/utils/line.js +1 -0
- package/libs/PanoMeasurePlugin/utils/math.js +2 -1
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
- package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
- package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +24 -24
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +20 -18
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +31 -29
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +19 -19
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +25 -24
- package/libs/PanoTagPlugin/Components/Common/Media.js +47 -39
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +10 -9
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -21
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +37 -27
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +25 -25
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +26 -26
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +22 -18
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +83 -61
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +103 -81
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -3
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +74 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +27 -23
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +51 -39
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +69 -52
- package/libs/PanoTagPlugin/Components/Tag/index.js +119 -79
- package/libs/PanoTagPlugin/Components/TagContainer.js +132 -81
- package/libs/PanoTagPlugin/Components/TagItem.js +110 -63
- package/libs/PanoTagPlugin/controller/TagCacheController.js +3 -2
- package/libs/PanoTagPlugin/controller/TagComputer.js +9 -6
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -2
- package/libs/PanoTagPlugin/controller/index.js +131 -61
- package/libs/PanoTagPlugin/index.js +2 -2
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
- package/libs/PanoTagPlugin/mocks/v2/mock1.d.ts +128 -0
- package/libs/PanoTagPlugin/mocks/v2/mock1.js +114 -0
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/PanoTagPlugin/typings/index.js +7 -1
- package/libs/PanoTagPlugin/typings/tag/Tag.js +4 -1
- package/libs/PanoTagPlugin/utils/constants.js +2 -1
- package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
- package/libs/PanoTagPlugin/utils/getImageInfo.js +16 -15
- package/libs/PanoTagPlugin/utils/index.js +35 -0
- package/libs/PanoTagPlugin/utils/px2rem.js +3 -3
- package/libs/PanoTagPlugin/utils/search.js +27 -9
- package/libs/PanoTagPlugin/utils/tag/format.js +1 -1
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +22 -6
- package/libs/PanoTagPlugin/utils/timeToString.js +4 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +10 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +83 -74
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/index.js +7 -7
- package/package.json +1 -1
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { SvelteComponent as G, init as U, safe_not_equal as q, append_styles as A, empty as H, insert as y, noop as j, detach as w, element as I, svg_element as
|
|
1
|
+
import { SvelteComponent as G, init as U, safe_not_equal as q, append_styles as A, empty as H, insert as y, noop as j, detach as w, element as I, svg_element as m, attr as l, toggle_class as g, set_style as v, append as h, transition_in as p, group_outros as M, transition_out as N, check_outros as O, add_render_callback as R, create_in_transition as V, identity as C, create_out_transition as E } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { draw as z } from "../../../../vendor/svelte/transition/index.js";
|
|
3
3
|
import { uuid as F } from "../../../../shared-utils/uuid.js";
|
|
4
|
+
import "../../../../vendor/svelte/easing/index.js";
|
|
4
5
|
function J(t) {
|
|
5
6
|
A(t, "svelte-xuejcm", ".line.svelte-xuejcm{position:absolute;pointer-events:none}.line.vertical.svelte-xuejcm{transform:rotate(-90deg) translate3d(0.03125rem, 0, 0.625rem);transform-origin:0 0}.line.horizontal.svelte-xuejcm{transform:translate3d(0, -0.03125rem, 0.625rem)}.straight-line.svelte-xuejcm{display:block;width:100%;height:100%;overflow:visible}");
|
|
6
7
|
}
|
|
7
8
|
function L(t) {
|
|
8
|
-
let e, i,
|
|
9
|
+
let e, i, n, o, s, r, _, f = t[3] && B(t);
|
|
9
10
|
return {
|
|
10
11
|
c() {
|
|
11
|
-
e = I("div"), i =
|
|
12
|
+
e = I("div"), i = m("svg"), n = m("defs"), o = m("linearGradient"), s = m("stop"), r = m("stop"), f && f.c(), l(s, "offset", "25%"), l(s, "stop-color", t[5]), l(s, "stop-opacity", "1"), l(r, "offset", "100%"), l(r, "stop-color", t[5]), l(r, "stop-opacity", "0.5"), l(o, "x1", 0.5), l(o, "y1", 0.5), l(o, "x2", t[8]), l(o, "y2", 0.5), l(o, "id", t[10]), l(o, "gradientUnits", "userSpaceOnUse"), l(i, "class", "straight-line svelte-xuejcm"), l(i, "viewBox", _ = "0 0 " + t[8] + " " + t[7]), l(i, "preserveAspectRatio", "none"), l(e, "class", "line svelte-xuejcm"), g(e, "vertical", t[9]), g(e, "horizontal", !t[9]), v(e, "width", t[8] + "px"), v(e, "height", t[7] + "px");
|
|
12
13
|
},
|
|
13
14
|
m(a, d) {
|
|
14
|
-
y(a, e, d),
|
|
15
|
+
y(a, e, d), h(e, i), h(i, n), h(n, o), h(o, s), h(o, r), f && f.m(i, null);
|
|
15
16
|
},
|
|
16
17
|
p(a, d) {
|
|
17
|
-
d & 32 && l(s, "stop-color", a[5]), d & 32 && l(r, "stop-color", a[5]), d & 256 && l(
|
|
18
|
+
d & 32 && l(s, "stop-color", a[5]), d & 32 && l(r, "stop-color", a[5]), d & 256 && l(o, "x2", a[8]), a[3] ? f ? (f.p(a, d), d & 8 && p(f, 1)) : (f = B(a), f.c(), p(f, 1), f.m(i, null)) : f && (M(), N(f, 1, 1, () => {
|
|
18
19
|
f = null;
|
|
19
20
|
}), O()), d & 384 && _ !== (_ = "0 0 " + a[8] + " " + a[7]) && l(i, "viewBox", _), d & 512 && g(e, "vertical", a[9]), d & 512 && g(e, "horizontal", !a[9]), d & 256 && v(e, "width", a[8] + "px"), d & 128 && v(e, "height", a[7] + "px");
|
|
20
21
|
},
|
|
@@ -24,10 +25,10 @@ function L(t) {
|
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
27
|
function B(t) {
|
|
27
|
-
let e, i,
|
|
28
|
+
let e, i, n, o, s;
|
|
28
29
|
return {
|
|
29
30
|
c() {
|
|
30
|
-
e =
|
|
31
|
+
e = m("path"), l(e, "fill", "none"), l(e, "stroke", i = t[4] ? `url(#${t[10]})` : t[5]), l(e, "stroke-width", 1), l(e, "d", t[6]);
|
|
31
32
|
},
|
|
32
33
|
m(r, _) {
|
|
33
34
|
y(r, e, _), s = !0;
|
|
@@ -37,22 +38,22 @@ function B(t) {
|
|
|
37
38
|
},
|
|
38
39
|
i(r) {
|
|
39
40
|
s || (r && R(() => {
|
|
40
|
-
|
|
41
|
+
o && o.end(1), n = V(e, z, {
|
|
41
42
|
duration: t[2],
|
|
42
43
|
delay: t[0],
|
|
43
|
-
easing:
|
|
44
|
-
}),
|
|
44
|
+
easing: C
|
|
45
|
+
}), n.start();
|
|
45
46
|
}), s = !0);
|
|
46
47
|
},
|
|
47
48
|
o(r) {
|
|
48
|
-
|
|
49
|
+
n && n.invalidate(), r && (o = E(e, z, {
|
|
49
50
|
duration: t[2],
|
|
50
51
|
delay: t[1],
|
|
51
|
-
easing:
|
|
52
|
+
easing: C
|
|
52
53
|
})), s = !1;
|
|
53
54
|
},
|
|
54
55
|
d(r) {
|
|
55
|
-
r && w(e), r &&
|
|
56
|
+
r && w(e), r && o && o.end();
|
|
56
57
|
}
|
|
57
58
|
};
|
|
58
59
|
}
|
|
@@ -62,26 +63,26 @@ function K(t) {
|
|
|
62
63
|
c() {
|
|
63
64
|
i && i.c(), e = H();
|
|
64
65
|
},
|
|
65
|
-
m(
|
|
66
|
-
i && i.m(
|
|
66
|
+
m(n, o) {
|
|
67
|
+
i && i.m(n, o), y(n, e, o);
|
|
67
68
|
},
|
|
68
|
-
p(
|
|
69
|
-
|
|
69
|
+
p(n, [o]) {
|
|
70
|
+
n[8] ? i ? i.p(n, o) : (i = L(n), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
|
|
70
71
|
},
|
|
71
72
|
i: j,
|
|
72
73
|
o: j,
|
|
73
|
-
d(
|
|
74
|
-
i && i.d(
|
|
74
|
+
d(n) {
|
|
75
|
+
i && i.d(n), n && w(e);
|
|
75
76
|
}
|
|
76
77
|
};
|
|
77
78
|
}
|
|
78
79
|
function P(t, e, i) {
|
|
79
|
-
let
|
|
80
|
+
let n, o, s, r, { inDelay: _ = 0 } = e, { outDelay: f = 0 } = e, { duration: a = 1e3 } = e, { unfolded: d } = e, { length: c } = e, { direction: k = "horizontal" } = e, { useLinearColor: b = !1 } = e, { color: D = "white" } = e;
|
|
80
81
|
const S = F();
|
|
81
82
|
return t.$$set = (u) => {
|
|
82
83
|
"inDelay" in u && i(0, _ = u.inDelay), "outDelay" in u && i(1, f = u.outDelay), "duration" in u && i(2, a = u.duration), "unfolded" in u && i(3, d = u.unfolded), "length" in u && i(11, c = u.length), "direction" in u && i(12, k = u.direction), "useLinearColor" in u && i(4, b = u.useLinearColor), "color" in u && i(5, D = u.color);
|
|
83
84
|
}, t.$$.update = () => {
|
|
84
|
-
t.$$.dirty & 4096 && i(9,
|
|
85
|
+
t.$$.dirty & 4096 && i(9, n = k === "vertical"), t.$$.dirty & 2048 && i(8, o = c), t.$$.dirty & 2048 && i(6, r = `M0.5 0.5 H ${c}`);
|
|
85
86
|
}, i(7, s = 1), [
|
|
86
87
|
_,
|
|
87
88
|
f,
|
|
@@ -91,14 +92,14 @@ function P(t, e, i) {
|
|
|
91
92
|
D,
|
|
92
93
|
r,
|
|
93
94
|
s,
|
|
94
|
-
n,
|
|
95
95
|
o,
|
|
96
|
+
n,
|
|
96
97
|
S,
|
|
97
98
|
c,
|
|
98
99
|
k
|
|
99
100
|
];
|
|
100
101
|
}
|
|
101
|
-
class
|
|
102
|
+
class Y extends G {
|
|
102
103
|
constructor(e) {
|
|
103
104
|
super(), U(
|
|
104
105
|
this,
|
|
@@ -121,5 +122,5 @@ class X extends G {
|
|
|
121
122
|
}
|
|
122
123
|
}
|
|
123
124
|
export {
|
|
124
|
-
|
|
125
|
+
Y as default
|
|
125
126
|
};
|
|
@@ -14,17 +14,25 @@ var Q = (a, n, i) => new Promise((e, t) => {
|
|
|
14
14
|
}, u = (o) => o.done ? e(o.value) : Promise.resolve(o.value).then(l, r);
|
|
15
15
|
u((i = i.apply(a, n)).next());
|
|
16
16
|
});
|
|
17
|
-
import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as $, insert as w, transition_in as y,
|
|
17
|
+
import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as $, insert as w, transition_in as y, transition_out as p, check_outros as F, detach as B, getContext as R, element as fe, attr as ue, toggle_class as U, group_outros as V, add_render_callback as se, create_in_transition as de, identity as W, create_out_transition as ce, create_component as N, mount_component as C, destroy_component as E, destroy_each as me, space as ye } from "../../../vendor/svelte/internal/index.js";
|
|
18
18
|
import { fly as X } from "../../../vendor/svelte/transition/index.js";
|
|
19
19
|
import { Swiper_1 as _e } from "../../../vendor/swiper/svelte/swiper.js";
|
|
20
|
-
import { Swiper_slide as
|
|
21
|
-
import { Autoplay as
|
|
20
|
+
import { Swiper_slide as pe } from "../../../vendor/swiper/svelte/swiper-slide.js";
|
|
21
|
+
import { Autoplay as ge } from "swiper";
|
|
22
22
|
import "swiper/css";
|
|
23
23
|
import "swiper/css/autoplay";
|
|
24
24
|
import "three";
|
|
25
25
|
import { noTypecheck as z } from "../../utils/noTypecheck.js";
|
|
26
|
-
import
|
|
27
|
-
import { notNil as
|
|
26
|
+
import ee from "./MediaItem.js";
|
|
27
|
+
import { notNil as he } from "../../../shared-utils/isNil.js";
|
|
28
|
+
import "../../../vendor/svelte/easing/index.js";
|
|
29
|
+
import "../../../vendor/swiper/components-shared/get-params.js";
|
|
30
|
+
import "../../../vendor/swiper/components-shared/utils.js";
|
|
31
|
+
import "../../../vendor/swiper/components-shared/params-list.js";
|
|
32
|
+
import "../../../vendor/swiper/components-shared/mount-swiper.js";
|
|
33
|
+
import "../../../vendor/swiper/components-shared/get-changed-params.js";
|
|
34
|
+
import "../../../vendor/swiper/components-shared/update-swiper.js";
|
|
35
|
+
import "../../Assets/Icon.js";
|
|
28
36
|
function be(a) {
|
|
29
37
|
re(a, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
|
|
30
38
|
}
|
|
@@ -35,22 +43,22 @@ function Y(a, n, i) {
|
|
|
35
43
|
function Z(a) {
|
|
36
44
|
let n, i, e, t, l, r;
|
|
37
45
|
const u = [ke, Ie], o = [];
|
|
38
|
-
function m(d,
|
|
46
|
+
function m(d, g) {
|
|
39
47
|
return d[15] ? 0 : 1;
|
|
40
48
|
}
|
|
41
49
|
return i = m(a), e = o[i] = u[i](a), {
|
|
42
50
|
c() {
|
|
43
51
|
n = fe("div"), e.c(), ue(n, "class", "media svelte-ai0lv9"), U(n, "unfolded", a[5]);
|
|
44
52
|
},
|
|
45
|
-
m(d,
|
|
46
|
-
w(d, n,
|
|
53
|
+
m(d, g) {
|
|
54
|
+
w(d, n, g), o[i].m(n, null), r = !0;
|
|
47
55
|
},
|
|
48
|
-
p(d,
|
|
56
|
+
p(d, g) {
|
|
49
57
|
a = d;
|
|
50
58
|
let b = i;
|
|
51
|
-
i = m(a), i === b ? o[i].p(a,
|
|
59
|
+
i = m(a), i === b ? o[i].p(a, g) : (V(), p(o[b], 1, 1, () => {
|
|
52
60
|
o[b] = null;
|
|
53
|
-
}),
|
|
61
|
+
}), F(), e = o[i], e ? e.p(a, g) : (e = o[i] = u[i](a), e.c()), y(e, 1), e.m(n, null)), (!r || g & 32) && U(n, "unfolded", a[5]);
|
|
54
62
|
},
|
|
55
63
|
i(d) {
|
|
56
64
|
r || (y(e), d && se(() => {
|
|
@@ -63,7 +71,7 @@ function Z(a) {
|
|
|
63
71
|
}), r = !0);
|
|
64
72
|
},
|
|
65
73
|
o(d) {
|
|
66
|
-
|
|
74
|
+
p(e), t && t.invalidate(), d && (l = ce(n, X, a[6] ? {
|
|
67
75
|
y: 4,
|
|
68
76
|
duration: a[4],
|
|
69
77
|
delay: a[3],
|
|
@@ -101,7 +109,7 @@ function Ie(a) {
|
|
|
101
109
|
i || (y(n.$$.fragment, e), i = !0);
|
|
102
110
|
},
|
|
103
111
|
o(e) {
|
|
104
|
-
|
|
112
|
+
p(n.$$.fragment, e), i = !1;
|
|
105
113
|
},
|
|
106
114
|
d(e) {
|
|
107
115
|
E(n, e);
|
|
@@ -113,7 +121,7 @@ function ke(a) {
|
|
|
113
121
|
return n = new _e({
|
|
114
122
|
props: {
|
|
115
123
|
style: "height: 100%",
|
|
116
|
-
modules: [
|
|
124
|
+
modules: [ge],
|
|
117
125
|
spaceBetween: 30,
|
|
118
126
|
autoplay: a[16] ? z({
|
|
119
127
|
delay: 4e3,
|
|
@@ -143,7 +151,7 @@ function ke(a) {
|
|
|
143
151
|
i || (y(n.$$.fragment, e), i = !0);
|
|
144
152
|
},
|
|
145
153
|
o(e) {
|
|
146
|
-
|
|
154
|
+
p(n.$$.fragment, e), i = !1;
|
|
147
155
|
},
|
|
148
156
|
d(e) {
|
|
149
157
|
E(n, e);
|
|
@@ -176,7 +184,7 @@ function Se(a) {
|
|
|
176
184
|
e || (y(n.$$.fragment, t), e = !0);
|
|
177
185
|
},
|
|
178
186
|
o(t) {
|
|
179
|
-
|
|
187
|
+
p(n.$$.fragment, t), e = !1;
|
|
180
188
|
},
|
|
181
189
|
d(t) {
|
|
182
190
|
E(n, t), t && B(i);
|
|
@@ -205,7 +213,7 @@ function x(a) {
|
|
|
205
213
|
i || (y(n.$$.fragment, e), i = !0);
|
|
206
214
|
},
|
|
207
215
|
o(e) {
|
|
208
|
-
|
|
216
|
+
p(n.$$.fragment, e), i = !1;
|
|
209
217
|
},
|
|
210
218
|
d(e) {
|
|
211
219
|
E(n, e);
|
|
@@ -216,7 +224,7 @@ function ve(a) {
|
|
|
216
224
|
let n, i, e = a[13], t = [];
|
|
217
225
|
for (let r = 0; r < e.length; r += 1)
|
|
218
226
|
t[r] = x(Y(a, e, r));
|
|
219
|
-
const l = (r) =>
|
|
227
|
+
const l = (r) => p(t[r], 1, 1, () => {
|
|
220
228
|
t[r] = null;
|
|
221
229
|
});
|
|
222
230
|
return {
|
|
@@ -238,9 +246,9 @@ function ve(a) {
|
|
|
238
246
|
const m = Y(r, e, o);
|
|
239
247
|
t[o] ? (t[o].p(m, u), y(t[o], 1)) : (t[o] = x(m), t[o].c(), y(t[o], 1), t[o].m(n.parentNode, n));
|
|
240
248
|
}
|
|
241
|
-
for (
|
|
249
|
+
for (V(), o = e.length; o < t.length; o += 1)
|
|
242
250
|
l(o);
|
|
243
|
-
|
|
251
|
+
F();
|
|
244
252
|
}
|
|
245
253
|
},
|
|
246
254
|
i(r) {
|
|
@@ -253,7 +261,7 @@ function ve(a) {
|
|
|
253
261
|
o(r) {
|
|
254
262
|
t = t.filter(Boolean);
|
|
255
263
|
for (let u = 0; u < t.length; u += 1)
|
|
256
|
-
|
|
264
|
+
p(t[u]);
|
|
257
265
|
i = !1;
|
|
258
266
|
},
|
|
259
267
|
d(r) {
|
|
@@ -271,15 +279,15 @@ function we(a) {
|
|
|
271
279
|
e && e.m(t, l), w(t, n, l), i = !0;
|
|
272
280
|
},
|
|
273
281
|
p(t, [l]) {
|
|
274
|
-
t[5] ? e ? (e.p(t, l), l & 32 && y(e, 1)) : (e = Z(t), e.c(), y(e, 1), e.m(n.parentNode, n)) : e && (
|
|
282
|
+
t[5] ? e ? (e.p(t, l), l & 32 && y(e, 1)) : (e = Z(t), e.c(), y(e, 1), e.m(n.parentNode, n)) : e && (V(), p(e, 1, 1, () => {
|
|
275
283
|
e = null;
|
|
276
|
-
}),
|
|
284
|
+
}), F());
|
|
277
285
|
},
|
|
278
286
|
i(t) {
|
|
279
287
|
i || (y(e), i = !0);
|
|
280
288
|
},
|
|
281
289
|
o(t) {
|
|
282
|
-
|
|
290
|
+
p(e), i = !1;
|
|
283
291
|
},
|
|
284
292
|
d(t) {
|
|
285
293
|
e && e.d(t), t && B(n);
|
|
@@ -288,29 +296,29 @@ function we(a) {
|
|
|
288
296
|
}
|
|
289
297
|
function Be(a, n, i) {
|
|
290
298
|
let e, t, l;
|
|
291
|
-
const r = z(
|
|
292
|
-
let { tag: u } = n, { mediaData: o } = n, { inDelay: m = 0 } = n, { outDelay: d = 0 } = n, { duration:
|
|
299
|
+
const r = z(pe);
|
|
300
|
+
let { tag: u } = n, { mediaData: o } = n, { inDelay: m = 0 } = n, { outDelay: d = 0 } = n, { duration: g = 0 } = n, { unfolded: b = !0 } = n, { animation: q = !0 } = n, { playButtonIfNeed: M = "withoutText" } = n, { playButtonSizeIfNeed: O = "small" } = n, { canPlay: T = !0 } = n, { objectFit: A = "cover" } = n, { enableCarousel: L = !0 } = n, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = n;
|
|
293
301
|
const S = R("mediaStore"), v = R("hooks");
|
|
294
|
-
let
|
|
302
|
+
let h;
|
|
295
303
|
function P(f) {
|
|
296
|
-
!e || !
|
|
304
|
+
!e || !h || (S.set({ currentMediaElement: this }), v.emit("playStateChange", {
|
|
297
305
|
event: f,
|
|
298
306
|
state: "playing",
|
|
299
307
|
tag: u,
|
|
300
308
|
mediaInstance: this
|
|
301
|
-
}),
|
|
309
|
+
}), h.autoplay.stop());
|
|
302
310
|
}
|
|
303
311
|
function D(f) {
|
|
304
|
-
!e || !
|
|
312
|
+
!e || !h || (v.emit("playStateChange", {
|
|
305
313
|
event: f,
|
|
306
314
|
state: "paused",
|
|
307
315
|
tag: u,
|
|
308
316
|
mediaInstance: this
|
|
309
|
-
}),
|
|
317
|
+
}), h.autoplay.running || h.autoplay.start());
|
|
310
318
|
}
|
|
311
319
|
let j = null;
|
|
312
320
|
const te = (f) => {
|
|
313
|
-
i(12,
|
|
321
|
+
i(12, h = f.detail[0]);
|
|
314
322
|
}, ne = (f) => Q(this, null, function* () {
|
|
315
323
|
var G, J, K;
|
|
316
324
|
if (!l || !k.autoplayVideo)
|
|
@@ -325,7 +333,7 @@ function Be(a, n, i) {
|
|
|
325
333
|
const H = t[I];
|
|
326
334
|
if (!H || H.type !== "Video")
|
|
327
335
|
return;
|
|
328
|
-
_.autoplay.stop(), _.slides.map((c) => c.querySelector("video")).filter(
|
|
336
|
+
_.autoplay.stop(), _.slides.map((c) => c.querySelector("video")).filter(he).forEach((c) => c.pause());
|
|
329
337
|
const s = (G = _.slides[_.activeIndex]) == null ? void 0 : G.querySelector("video");
|
|
330
338
|
if (s && (s.removeEventListener("play", P), s.removeEventListener("pause", D), s.addEventListener("play", P), s.addEventListener("pause", D)), s) {
|
|
331
339
|
s.addEventListener("click", () => s.pause());
|
|
@@ -341,9 +349,9 @@ function Be(a, n, i) {
|
|
|
341
349
|
}
|
|
342
350
|
});
|
|
343
351
|
return a.$$set = (f) => {
|
|
344
|
-
"tag" in f && i(0, u = f.tag), "mediaData" in f && i(1, o = f.mediaData), "inDelay" in f && i(2, m = f.inDelay), "outDelay" in f && i(3, d = f.outDelay), "duration" in f && i(4,
|
|
352
|
+
"tag" in f && i(0, u = f.tag), "mediaData" in f && i(1, o = f.mediaData), "inDelay" in f && i(2, m = f.inDelay), "outDelay" in f && i(3, d = f.outDelay), "duration" in f && i(4, g = f.duration), "unfolded" in f && i(5, b = f.unfolded), "animation" in f && i(6, q = f.animation), "playButtonIfNeed" in f && i(7, M = f.playButtonIfNeed), "playButtonSizeIfNeed" in f && i(8, O = f.playButtonSizeIfNeed), "canPlay" in f && i(9, T = f.canPlay), "objectFit" in f && i(10, A = f.objectFit), "enableCarousel" in f && i(22, L = f.enableCarousel), "autoplayConfig" in f && i(11, k = f.autoplayConfig);
|
|
345
353
|
}, a.$$.update = () => {
|
|
346
|
-
a.$$.dirty & 4194306 && i(15, e = L && (o == null ? void 0 : o.length) > 1), a.$$.dirty & 2 && i(13, t = o), a.$$.dirty & 10240 && i(16, l = t.length > 1 && k.autoplay), a.$$.dirty & 4096 &&
|
|
354
|
+
a.$$.dirty & 4194306 && i(15, e = L && (o == null ? void 0 : o.length) > 1), a.$$.dirty & 2 && i(13, t = o), a.$$.dirty & 10240 && i(16, l = t.length > 1 && k.autoplay), a.$$.dirty & 4096 && h && h.slides.forEach((f) => {
|
|
347
355
|
const _ = f.querySelector("video");
|
|
348
356
|
_ && S.subscribe(({ currentMediaElement: I }) => {
|
|
349
357
|
I !== _ && _.pause();
|
|
@@ -354,7 +362,7 @@ function Be(a, n, i) {
|
|
|
354
362
|
o,
|
|
355
363
|
m,
|
|
356
364
|
d,
|
|
357
|
-
|
|
365
|
+
g,
|
|
358
366
|
b,
|
|
359
367
|
q,
|
|
360
368
|
M,
|
|
@@ -362,7 +370,7 @@ function Be(a, n, i) {
|
|
|
362
370
|
T,
|
|
363
371
|
A,
|
|
364
372
|
k,
|
|
365
|
-
|
|
373
|
+
h,
|
|
366
374
|
t,
|
|
367
375
|
j,
|
|
368
376
|
e,
|
|
@@ -377,7 +385,7 @@ function Be(a, n, i) {
|
|
|
377
385
|
ne
|
|
378
386
|
];
|
|
379
387
|
}
|
|
380
|
-
class
|
|
388
|
+
class Ue extends ae {
|
|
381
389
|
constructor(n) {
|
|
382
390
|
super(), le(
|
|
383
391
|
this,
|
|
@@ -405,5 +413,5 @@ class Te extends ae {
|
|
|
405
413
|
}
|
|
406
414
|
}
|
|
407
415
|
export {
|
|
408
|
-
|
|
416
|
+
Ue as default
|
|
409
417
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { SvelteComponent as X, init as S, safe_not_equal as q, append_styles as N, empty as j, insert as v, transition_in as s,
|
|
1
|
+
import { SvelteComponent as X, init as S, safe_not_equal as q, append_styles as N, empty as j, insert as v, transition_in as s, transition_out as R, check_outros as A, detach as I, element as B, attr as h, set_style as d, add_render_callback as E, create_in_transition as F, create_out_transition as G, group_outros as H } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { fade as g } from "../../../vendor/svelte/transition/index.js";
|
|
3
|
+
import "../../../vendor/svelte/easing/index.js";
|
|
3
4
|
function J(t) {
|
|
4
5
|
N(t, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
|
|
5
6
|
}
|
|
@@ -7,7 +8,7 @@ function k(t) {
|
|
|
7
8
|
let i, e, l, f, u;
|
|
8
9
|
return {
|
|
9
10
|
c() {
|
|
10
|
-
i =
|
|
11
|
+
i = B("div"), h(i, "class", "shadow svelte-faoauy"), h(i, "style", e = `
|
|
11
12
|
left:${o(t[5])};
|
|
12
13
|
bottom:${o(t[6])};
|
|
13
14
|
box-shadow: 0 0 ${o(t[10])} ${o(t[11])} rgba(0, 0, 0, ${t[12]});
|
|
@@ -30,12 +31,12 @@ function k(t) {
|
|
|
30
31
|
`)) && h(i, "style", e), r & 8 && d(i, "width", o(t[3])), r & 16 && d(i, "height", o(t[4])), r & 8192 && d(i, "z-index", t[13]);
|
|
31
32
|
},
|
|
32
33
|
i(a) {
|
|
33
|
-
u || (a &&
|
|
34
|
-
f && f.end(1), l =
|
|
34
|
+
u || (a && E(() => {
|
|
35
|
+
f && f.end(1), l = F(i, g, { duration: t[0] }), l.start();
|
|
35
36
|
}), u = !0);
|
|
36
37
|
},
|
|
37
38
|
o(a) {
|
|
38
|
-
l && l.invalidate(), a && (f =
|
|
39
|
+
l && l.invalidate(), a && (f = G(i, g, { duration: t[1] })), u = !1;
|
|
39
40
|
},
|
|
40
41
|
d(a) {
|
|
41
42
|
a && I(i), a && f && f.end();
|
|
@@ -52,9 +53,9 @@ function K(t) {
|
|
|
52
53
|
e && e.m(l, f), v(l, i, f);
|
|
53
54
|
},
|
|
54
55
|
p(l, [f]) {
|
|
55
|
-
l[2] ? e ? (e.p(l, f), f & 4 && s(e, 1)) : (e = k(l), e.c(), s(e, 1), e.m(i.parentNode, i)) : e && (
|
|
56
|
+
l[2] ? e ? (e.p(l, f), f & 4 && s(e, 1)) : (e = k(l), e.c(), s(e, 1), e.m(i.parentNode, i)) : e && (H(), R(e, 1, 1, () => {
|
|
56
57
|
e = null;
|
|
57
|
-
}),
|
|
58
|
+
}), A());
|
|
58
59
|
},
|
|
59
60
|
i(l) {
|
|
60
61
|
s(e);
|
|
@@ -91,7 +92,7 @@ function L(t, i, e) {
|
|
|
91
92
|
D
|
|
92
93
|
];
|
|
93
94
|
}
|
|
94
|
-
class
|
|
95
|
+
class Q extends X {
|
|
95
96
|
constructor(i) {
|
|
96
97
|
super(), S(
|
|
97
98
|
this,
|
|
@@ -120,5 +121,5 @@ class P extends X {
|
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
123
|
export {
|
|
123
|
-
|
|
124
|
+
Q as default
|
|
124
125
|
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { SvelteComponent as M, init as U, safe_not_equal as B, append_styles as E, element as j, space as T, create_component as I, attr as w, set_style as g, toggle_class as y, insert as $, mount_component as R, append as _, listen as G, transition_in as q, transition_out as A, detach as P, destroy_component as F, getContext as H } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import J from "./Shadow.js";
|
|
3
|
+
import K from "./Icon/Icon.js";
|
|
4
4
|
import { Image_Default_Point as L } from "../../Assets/Icon.js";
|
|
5
|
-
import
|
|
5
|
+
import b from "../../utils/px2rem.js";
|
|
6
|
+
import "../../../vendor/svelte/transition/index.js";
|
|
7
|
+
import "../../../vendor/svelte/easing/index.js";
|
|
8
|
+
import "../../utils/getImageInfo.js";
|
|
6
9
|
function N(n) {
|
|
7
10
|
E(n, "svelte-gna22j", '@charset "UTF-8";.tag-point-click-helper.svelte-gna22j.svelte-gna22j{position:absolute;pointer-events:auto;cursor:pointer;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-gna22j.svelte-gna22j{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-gna22j.svelte-gna22j,.tag-unfolded-point.svelte-gna22j.svelte-gna22j{transition:all 0.5s}.tag-point-wrapper.svelte-gna22j .tag-unfolded-point.svelte-gna22j{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-gna22j .tag-unfolded-point.svelte-gna22j:after{content:"";position:absolute;width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-gna22j .tag-unfolded-point.svelte-gna22j:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-gna22j .tag-folded-point.svelte-gna22j{opacity:1}.tag-point-wrapper.folded.svelte-gna22j .tag-unfolded-point.svelte-gna22j{opacity:0}.tag-point-wrapper.unfolded.svelte-gna22j .tag-folded-point.svelte-gna22j{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-gna22j .tag-unfolded-point.svelte-gna22j{opacity:1;scale:1}');
|
|
8
11
|
}
|
|
9
12
|
function O(n) {
|
|
10
|
-
let
|
|
13
|
+
let s, l, t, d, u, p, c, i, a, r, m, v;
|
|
11
14
|
return d = new J({
|
|
12
15
|
props: {
|
|
13
16
|
center: !0,
|
|
@@ -21,58 +24,58 @@ function O(n) {
|
|
|
21
24
|
}
|
|
22
25
|
}), {
|
|
23
26
|
c() {
|
|
24
|
-
|
|
27
|
+
s = j("div"), l = T(), t = j("div"), I(d.$$.fragment), u = T(), p = j("div"), c = T(), i = j("div"), I(a.$$.fragment), w(s, "class", "tag-point-click-helper svelte-gna22j"), w(p, "class", "tag-unfolded-point svelte-gna22j"), g(p, "transition-delay", (n[3] ? k : 0) + "ms"), w(i, "class", "tag-folded-point svelte-gna22j"), g(i, "transition-delay", (n[3] ? k : 0) + "ms"), w(t, "class", "tag-point-wrapper svelte-gna22j"), y(t, "unfolded", n[0]), y(t, "folded", n[3]), g(t, "width", b(n[1])), g(t, "height", b(n[1]));
|
|
25
28
|
},
|
|
26
29
|
m(e, o) {
|
|
27
|
-
$(e,
|
|
30
|
+
$(e, s, o), $(e, l, o), $(e, t, o), R(d, t, null), _(t, u), _(t, p), _(t, c), _(t, i), R(a, i, null), r = !0, m || (v = G(s, "click", n[4]), m = !0);
|
|
28
31
|
},
|
|
29
32
|
p(e, [o]) {
|
|
30
33
|
o & 8 && g(p, "transition-delay", (e[3] ? k : 0) + "ms");
|
|
31
34
|
const f = {};
|
|
32
|
-
o & 4 && (f.icon = e[2]), o & 2 && (f.width = e[1]), a.$set(f), o & 8 && g(i, "transition-delay", (e[3] ? k : 0) + "ms"), (!
|
|
35
|
+
o & 4 && (f.icon = e[2]), o & 2 && (f.width = e[1]), a.$set(f), o & 8 && g(i, "transition-delay", (e[3] ? k : 0) + "ms"), (!r || o & 1) && y(t, "unfolded", e[0]), (!r || o & 8) && y(t, "folded", e[3]), o & 2 && g(t, "width", b(e[1])), o & 2 && g(t, "height", b(e[1]));
|
|
33
36
|
},
|
|
34
37
|
i(e) {
|
|
35
|
-
|
|
38
|
+
r || (q(d.$$.fragment, e), q(a.$$.fragment, e), r = !0);
|
|
36
39
|
},
|
|
37
40
|
o(e) {
|
|
38
|
-
A(d.$$.fragment, e), A(a.$$.fragment, e),
|
|
41
|
+
A(d.$$.fragment, e), A(a.$$.fragment, e), r = !1;
|
|
39
42
|
},
|
|
40
43
|
d(e) {
|
|
41
|
-
e && P(
|
|
44
|
+
e && P(s), e && P(l), e && P(t), F(d), F(a), m = !1, v();
|
|
42
45
|
}
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
const k = 800;
|
|
46
|
-
function Q(n,
|
|
49
|
+
function Q(n, s, l) {
|
|
47
50
|
let t, d, u, p;
|
|
48
51
|
const c = H("hooks");
|
|
49
|
-
let { tag: i } =
|
|
52
|
+
let { tag: i } = s, a, r = !1;
|
|
50
53
|
const m = () => {
|
|
51
|
-
a !== void 0 && clearTimeout(a),
|
|
54
|
+
a !== void 0 && clearTimeout(a), r = !0, a = setTimeout(
|
|
52
55
|
() => {
|
|
53
|
-
|
|
56
|
+
r = !1;
|
|
54
57
|
},
|
|
55
58
|
800
|
|
56
59
|
);
|
|
57
60
|
}, v = (e) => {
|
|
58
|
-
|
|
61
|
+
r || c.emit("click", { event: e, target: "TagPoint", tag: i });
|
|
59
62
|
};
|
|
60
63
|
return n.$$set = (e) => {
|
|
61
|
-
"tag" in e &&
|
|
64
|
+
"tag" in e && l(5, i = e.tag);
|
|
62
65
|
}, n.$$.update = () => {
|
|
63
66
|
var e, o, f, S;
|
|
64
|
-
n.$$.dirty & 32 &&
|
|
67
|
+
n.$$.dirty & 32 && l(0, t = (e = i.state) == null ? void 0 : e.unfolded), n.$$.dirty & 1 && l(3, d = !t), n.$$.dirty & 32 && l(2, u = (f = (o = i.style) == null ? void 0 : o.point) != null && f.url ? (S = i.style) == null ? void 0 : S.point : { url: L }), n.$$.dirty & 32 && l(1, p = (() => {
|
|
65
68
|
var z, C, D;
|
|
66
69
|
const h = (D = (C = (z = i.style) == null ? void 0 : z.point) == null ? void 0 : C.size) != null ? D : "S";
|
|
67
70
|
return typeof h == "number" ? h : h === "S" ? 20 : h === "M" ? 24 : 20;
|
|
68
71
|
})());
|
|
69
72
|
}, m(), [t, p, u, d, v, i];
|
|
70
73
|
}
|
|
71
|
-
class
|
|
72
|
-
constructor(
|
|
73
|
-
super(), U(this,
|
|
74
|
+
class ne extends M {
|
|
75
|
+
constructor(s) {
|
|
76
|
+
super(), U(this, s, Q, O, B, { tag: 5 }, N);
|
|
74
77
|
}
|
|
75
78
|
}
|
|
76
79
|
export {
|
|
77
|
-
|
|
80
|
+
ne as default
|
|
78
81
|
};
|