@realsee/dnalogel 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
- package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -2
- package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +19 -22
- package/dist/PanoTagPlugin/controller/index.d.ts +25 -14
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +23 -17
- package/dist/PanoTagPlugin/typings/index.d.ts +5 -1
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +53 -0
- package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
- package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/dist/index.cjs.js +52 -54
- package/dist/index.js +7771 -6537
- package/dist/index.umd.js +44 -46
- package/dist/shared-utils/audio.d.ts +31 -0
- 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 +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +223 -176
- 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 +75 -35
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +19 -15
- 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 +19 -15
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +39 -13
- package/docs/functions/CameraMovementPlugin.html +39 -13
- package/docs/functions/CruisePlugin.html +39 -13
- package/docs/functions/GuideLinePlugin.html +40 -14
- package/docs/functions/ItemLabelPlugin.html +39 -13
- package/docs/functions/MapviewFloorplanPlugin.html +39 -13
- package/docs/functions/ModelChassisCompassPlugin.html +39 -13
- package/docs/functions/ModelEntryDoorGuidePlugin.html +39 -13
- package/docs/functions/ModelFloorplanPlugin.html +39 -13
- package/docs/functions/ModelItemLabelPlugin.html +39 -13
- package/docs/functions/ModelRoomLabelPlugin.html +39 -13
- package/docs/functions/ModelTVVideoPlugin.html +39 -13
- package/docs/functions/ModelViewPlugin.html +39 -13
- package/docs/functions/Object3DHelperPlugin.html +39 -13
- package/docs/functions/PanoCompassPlugin.html +39 -13
- package/docs/functions/PanoCursorRaycasterPlugin.html +39 -13
- package/docs/functions/PanoDoorLabelPlugin.html +39 -13
- package/docs/functions/PanoFloorplanRadarPlugin.html +39 -13
- package/docs/functions/PanoMeasurePlugin.html +39 -13
- package/docs/functions/PanoRulerPlugin.html +39 -13
- package/docs/functions/PanoRulerProPlugin.html +39 -13
- package/docs/functions/PanoSpatialTagPlugin.html +39 -13
- package/docs/functions/PanoTagPlugin.html +45 -23
- package/docs/functions/TopviewFloorplanPlugin.html +39 -13
- 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 +40 -14
- package/docs/index.html +39 -13
- package/docs/interfaces/AddTagConfig.html +64 -0
- 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 +298 -0
- 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/MinMax.html +71 -0
- 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/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 +40 -14
- package/docs/interfaces/PanoMeasureParameterType.html +12 -12
- 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 +40 -14
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +40 -14
- 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/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +40 -14
- package/docs/interfaces/Rooms.html +40 -14
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +89 -0
- package/docs/interfaces/TagCache.html +92 -0
- package/docs/interfaces/TagConfig.html +15 -19
- package/docs/interfaces/TagIconUrl.html +91 -0
- package/docs/interfaces/Tags.html +14 -12
- package/docs/interfaces/TemporaryState.html +64 -0
- 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 +73 -21
- package/docs/types/ArrayPosition.html +41 -15
- package/docs/types/AudioAppearance.html +256 -0
- package/docs/types/AudioTagTypeConfigKey.html +256 -0
- package/docs/types/CSS3DRenderExportType.html +40 -14
- package/docs/types/CSS3DRenderPluginExportType.html +40 -14
- package/docs/types/CSS3DRenderPluginParameterType.html +40 -14
- package/docs/types/Color.html +40 -14
- package/docs/types/ContentTypeConfigKey.html +41 -15
- package/docs/types/ContentTypeConfigKeySplit.html +256 -0
- package/docs/types/ContentTypeMap.html +256 -0
- package/docs/types/Create3DDomContainerReturnType.html +40 -14
- package/docs/types/Create3DElementReturnType.html +40 -14
- package/docs/types/CruisePluginExportType.html +40 -14
- package/docs/types/Direction-1.html +40 -14
- package/docs/types/Direction4.html +40 -14
- package/docs/types/FloorplanRuleLabels.html +40 -14
- package/docs/types/FloorplanServerRuleLabels.html +40 -14
- package/docs/types/GuideLinePluginExportType.html +40 -14
- package/docs/types/HelperEventMap.html +40 -14
- package/docs/types/LoadTagConfig.html +256 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +40 -14
- package/docs/types/MapviewFloorplanPluginReturnType.html +40 -14
- package/docs/types/MediaData.html +40 -14
- package/docs/types/MediaStore.html +256 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +40 -14
- package/docs/types/ModelFloorplanPluginParameterType.html +40 -14
- package/docs/types/ModelFloorplanPluginReturnType.html +40 -14
- package/docs/types/ModelRoomLabelPluginParameters.html +40 -14
- package/docs/types/ModelRoomLabelPluginReturnType.html +40 -14
- package/docs/types/MoveArgs.html +40 -14
- package/docs/types/MoveOpts.html +40 -14
- package/docs/types/Object3DHelperEventMap.html +40 -14
- package/docs/types/ObjectFit.html +40 -14
- package/docs/types/PaintBrushEventMap.html +40 -14
- package/docs/types/PanoCompassPluginData.html +40 -14
- package/docs/types/PanoCompassPluginExportType.html +40 -14
- package/docs/types/PanoCompassPluginParameterType.html +40 -14
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +40 -14
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +40 -14
- package/docs/types/PanoIndex.html +256 -0
- package/docs/types/PanoMeasurePluginEvent.html +40 -14
- package/docs/types/PanoMeasureReturnType.html +40 -14
- package/docs/types/PanoSpatialTagPluginId.html +40 -14
- package/docs/types/PanoTagPluginExportInterface.html +40 -14
- package/docs/types/PanoTagPluginParamsInterface.html +40 -14
- package/docs/types/PlaneTag.html +43 -19
- package/docs/types/PlaneTagElement.html +261 -0
- package/docs/types/Point2DElement.html +261 -0
- package/docs/types/Point2DTag.html +263 -0
- package/docs/types/Point3DElement.html +261 -0
- package/docs/types/Point3DTag.html +263 -0
- package/docs/types/PointTag.html +43 -23
- package/docs/types/PointTagElement.html +261 -0
- package/docs/types/Position.html +40 -14
- package/docs/types/RotateArgs.html +40 -14
- package/docs/types/RotateOpts.html +40 -14
- package/docs/types/RuleLabelsKey.html +40 -14
- package/docs/types/RuleLabelsValue.html +40 -14
- package/docs/types/StickType.html +256 -0
- package/docs/types/Tag.html +44 -22
- package/docs/types/Tag2D.html +45 -20
- package/docs/types/Tag3D.html +45 -20
- package/docs/types/TagContentType.html +256 -0
- package/docs/types/TagDimensionType.html +256 -0
- package/docs/types/TagElement.html +263 -0
- package/docs/types/TagEvents.html +291 -0
- package/docs/types/TagHooks.html +256 -0
- package/docs/types/TagIconSize.html +259 -0
- package/docs/types/TagId.html +40 -14
- package/docs/types/TagPointType.html +259 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +40 -14
- package/docs/types/TopviewFloorplanPluginReturnType.html +40 -14
- package/docs/types/{ContentTypeConfigKeyArray.html → WorkCode.html} +43 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +40 -14
- package/docs/variables/PLUGIN.html +40 -14
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +40 -14
- package/docs/variables/ROOM_TYPE_MAP.html +40 -14
- package/docs/variables/VERSION.html +40 -14
- package/docs/variables/itemLabelPluginServerParams.html +40 -14
- package/docs/variables/modelItemLabelPluginServerParams.html +40 -14
- package/docs/variables/modelRoomLabelPluginServerParams.html +40 -14
- 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.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +4 -3
- 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 +2 -2
- 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 +38 -36
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +18 -9
- package/libs/PanoMeasurePlugin/Controller/EditController.js +16 -5
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +38 -19
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +13 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +31 -20
- package/libs/PanoMeasurePlugin/Controller/index.js +54 -18
- package/libs/PanoMeasurePlugin/Model/index.js +41 -34
- package/libs/PanoMeasurePlugin/Model/line.js +9 -6
- package/libs/PanoMeasurePlugin/Model/point.js +3 -3
- package/libs/PanoMeasurePlugin/Model/polyline.js +19 -12
- 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 +24 -24
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
- 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 +16 -16
- package/libs/PanoMeasurePlugin/typings/data.js +1 -0
- package/libs/PanoMeasurePlugin/typings/event.type.js +4 -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/Assets/Icon.d.ts +3 -2
- package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +103 -140
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +198 -0
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +108 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +95 -59
- package/libs/PanoTagPlugin/Components/Common/Media.js +275 -249
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +143 -79
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +11 -10
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +81 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +145 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +195 -0
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +172 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +223 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +123 -0
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +126 -131
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +75 -97
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +166 -143
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +75 -45
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +130 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +134 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +115 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +264 -157
- package/libs/PanoTagPlugin/Components/TagContainer.js +164 -109
- package/libs/PanoTagPlugin/Components/TagItem.js +253 -0
- package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/libs/PanoTagPlugin/controller/TagCacheController.js +3 -2
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +19 -22
- package/libs/PanoTagPlugin/controller/TagComputer.js +186 -151
- package/libs/PanoTagPlugin/controller/index.d.ts +25 -14
- package/libs/PanoTagPlugin/controller/index.js +265 -170
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +51 -35
- 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/tag.config.js +31 -16
- package/libs/PanoTagPlugin/typings/controller.d.ts +23 -17
- package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
- package/libs/PanoTagPlugin/typings/index.js +7 -1
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/libs/PanoTagPlugin/typings/tag/Tag.js +4 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +53 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +7 -1
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +107 -0
- package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/color.js +17 -0
- package/libs/PanoTagPlugin/utils/constants.js +2 -1
- package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
- package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/libs/PanoTagPlugin/utils/getImageInfo.js +51 -0
- package/libs/PanoTagPlugin/utils/index.js +36 -0
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
- package/libs/PanoTagPlugin/utils/search.js +27 -9
- package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/tag/format.js +18 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +26 -0
- package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
- package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
- 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 +126 -114
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +29 -39
- package/libs/shared-utils/audio.d.ts +31 -0
- package/libs/shared-utils/audio.js +81 -0
- package/libs/vendor/svelte/internal/index.js +382 -338
- package/package.json +3 -3
- package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/docs/enums/LinkType.html +0 -67
- package/docs/interfaces/ContentTypeMap.html +0 -212
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
- package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
- package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
- package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/libs/PanoTagPlugin/typings/tag.js +0 -7
|
@@ -1,192 +1,187 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { SvelteComponent as T, init as R, safe_not_equal as q, append_styles as z, empty as S, insert as c, transition_in as u, transition_out as _, check_outros as k, detach as $, create_component as b, space as v, element as h, attr as j, mount_component as g, group_outros as y, destroy_component as w } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import B from "../Common/Text/FlyText.js";
|
|
3
|
+
import F from "../Common/Line/Polyline.js";
|
|
4
|
+
import H from "../Common/Media.js";
|
|
5
|
+
import M from "../Common/Shadow.js";
|
|
6
|
+
import "animejs";
|
|
7
|
+
import "../../../shared-utils/uuid.js";
|
|
8
|
+
import "../../../shared-utils/isNil.js";
|
|
9
|
+
import "three";
|
|
10
|
+
import "../../utils/search.js";
|
|
11
|
+
import "../../utils/constants.js";
|
|
12
|
+
import "../../../vendor/svelte/transition/index.js";
|
|
13
|
+
import "../../../vendor/svelte/easing/index.js";
|
|
14
|
+
import "../../../vendor/swiper/svelte/swiper.js";
|
|
15
|
+
import "swiper";
|
|
16
|
+
import "../../../vendor/swiper/components-shared/get-params.js";
|
|
17
|
+
import "../../../vendor/swiper/components-shared/utils.js";
|
|
18
|
+
import "../../../vendor/swiper/components-shared/params-list.js";
|
|
19
|
+
import "../../../vendor/swiper/components-shared/mount-swiper.js";
|
|
20
|
+
import "../../../vendor/swiper/components-shared/get-changed-params.js";
|
|
21
|
+
import "../../../vendor/swiper/components-shared/update-swiper.js";
|
|
22
|
+
import "../../../vendor/swiper/svelte/swiper-slide.js";
|
|
23
|
+
import "swiper/css";
|
|
24
|
+
import "swiper/css/autoplay";
|
|
25
|
+
import "../../utils/noTypecheck.js";
|
|
26
|
+
import "../Common/MediaItem.js";
|
|
27
|
+
import "../../Assets/Icon.js";
|
|
28
|
+
function V(f) {
|
|
29
|
+
z(f, "svelte-1f7m1lj", ".line.svelte-1f7m1lj{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%)}.text.svelte-1f7m1lj{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;font-weight:600}.media-wrapper.svelte-1f7m1lj{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;font-weight:600}");
|
|
9
30
|
}
|
|
10
|
-
function
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
function P(a) {
|
|
15
|
-
let n, o, e, l, r, i = [], d = /* @__PURE__ */ new Map(), u, c, $;
|
|
16
|
-
n = new L({
|
|
31
|
+
function I(f) {
|
|
32
|
+
let l, o, t, e, r, a, p, d;
|
|
33
|
+
l = new M({
|
|
17
34
|
props: {
|
|
18
|
-
visible:
|
|
35
|
+
visible: f[3],
|
|
19
36
|
left: 61,
|
|
20
37
|
bottom: 57,
|
|
21
38
|
width: 2,
|
|
22
39
|
blurRadius: 150,
|
|
23
40
|
spreadRadius: 75
|
|
24
41
|
}
|
|
25
|
-
}),
|
|
42
|
+
}), e = new F({
|
|
26
43
|
props: {
|
|
27
|
-
unfolded:
|
|
28
|
-
duration: 1e3,
|
|
44
|
+
unfolded: f[3],
|
|
29
45
|
outDelay: 400
|
|
30
46
|
}
|
|
31
47
|
});
|
|
32
|
-
let
|
|
33
|
-
const I = (t) => t[5];
|
|
34
|
-
for (let t = 0; t < b.length; t += 1) {
|
|
35
|
-
let f = M(a, b, t), p = I(f);
|
|
36
|
-
d.set(p, i[t] = R(p, f));
|
|
37
|
-
}
|
|
38
|
-
let s = a[3] && S(a);
|
|
48
|
+
let n = f[2] && N(f), m = f[1] && P(f);
|
|
39
49
|
return {
|
|
40
50
|
c() {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
m(i[f]);
|
|
65
|
-
m(s), $ = !0;
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
o(t) {
|
|
69
|
-
_(n.$$.fragment, t), _(l.$$.fragment, t);
|
|
70
|
-
for (let f = 0; f < i.length; f += 1)
|
|
71
|
-
_(i[f]);
|
|
72
|
-
_(s), $ = !1;
|
|
73
|
-
},
|
|
74
|
-
d(t) {
|
|
75
|
-
v(n, t), t && h(o), t && h(e), v(l), t && h(r);
|
|
76
|
-
for (let f = 0; f < i.length; f += 1)
|
|
77
|
-
i[f].d(t);
|
|
78
|
-
t && h(u), s && s.d(t), t && h(c);
|
|
51
|
+
b(l.$$.fragment), o = v(), t = h("div"), b(e.$$.fragment), r = v(), n && n.c(), a = v(), m && m.c(), p = S(), j(t, "class", "line svelte-1f7m1lj");
|
|
52
|
+
},
|
|
53
|
+
m(i, s) {
|
|
54
|
+
g(l, i, s), c(i, o, s), c(i, t, s), g(e, t, null), c(i, r, s), n && n.m(i, s), c(i, a, s), m && m.m(i, s), c(i, p, s), d = !0;
|
|
55
|
+
},
|
|
56
|
+
p(i, s) {
|
|
57
|
+
const D = {};
|
|
58
|
+
s & 8 && (D.visible = i[3]), l.$set(D);
|
|
59
|
+
const C = {};
|
|
60
|
+
s & 8 && (C.unfolded = i[3]), e.$set(C), i[2] ? n ? (n.p(i, s), s & 4 && u(n, 1)) : (n = N(i), n.c(), u(n, 1), n.m(a.parentNode, a)) : n && (y(), _(n, 1, 1, () => {
|
|
61
|
+
n = null;
|
|
62
|
+
}), k()), i[1] ? m ? (m.p(i, s), s & 2 && u(m, 1)) : (m = P(i), m.c(), u(m, 1), m.m(p.parentNode, p)) : m && (y(), _(m, 1, 1, () => {
|
|
63
|
+
m = null;
|
|
64
|
+
}), k());
|
|
65
|
+
},
|
|
66
|
+
i(i) {
|
|
67
|
+
d || (u(l.$$.fragment, i), u(e.$$.fragment, i), u(n), u(m), d = !0);
|
|
68
|
+
},
|
|
69
|
+
o(i) {
|
|
70
|
+
_(l.$$.fragment, i), _(e.$$.fragment, i), _(n), _(m), d = !1;
|
|
71
|
+
},
|
|
72
|
+
d(i) {
|
|
73
|
+
w(l, i), i && $(o), i && $(t), w(e), i && $(r), n && n.d(i), i && $(a), m && m.d(i), i && $(p);
|
|
79
74
|
}
|
|
80
75
|
};
|
|
81
76
|
}
|
|
82
|
-
function
|
|
83
|
-
let
|
|
84
|
-
return
|
|
77
|
+
function N(f) {
|
|
78
|
+
let l, o, t;
|
|
79
|
+
return o = new B({
|
|
85
80
|
props: {
|
|
86
|
-
unfolded:
|
|
87
|
-
content:
|
|
81
|
+
unfolded: f[3],
|
|
82
|
+
content: f[2],
|
|
88
83
|
inDelay: 500
|
|
89
84
|
}
|
|
90
85
|
}), {
|
|
91
|
-
key: a,
|
|
92
|
-
first: null,
|
|
93
86
|
c() {
|
|
94
|
-
|
|
87
|
+
l = h("div"), b(o.$$.fragment), j(l, "class", "text svelte-1f7m1lj");
|
|
95
88
|
},
|
|
96
|
-
m(
|
|
97
|
-
|
|
89
|
+
m(e, r) {
|
|
90
|
+
c(e, l, r), g(o, l, null), t = !0;
|
|
98
91
|
},
|
|
99
|
-
p(
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
i & 16 && (d.unfolded = n[4]), i & 4 && (d.content = n[1]), e.$set(d);
|
|
92
|
+
p(e, r) {
|
|
93
|
+
const a = {};
|
|
94
|
+
r & 8 && (a.unfolded = e[3]), r & 4 && (a.content = e[2]), o.$set(a);
|
|
103
95
|
},
|
|
104
|
-
i(
|
|
105
|
-
|
|
96
|
+
i(e) {
|
|
97
|
+
t || (u(o.$$.fragment, e), t = !0);
|
|
106
98
|
},
|
|
107
|
-
o(
|
|
108
|
-
_(
|
|
99
|
+
o(e) {
|
|
100
|
+
_(o.$$.fragment, e), t = !1;
|
|
109
101
|
},
|
|
110
|
-
d(
|
|
111
|
-
|
|
102
|
+
d(e) {
|
|
103
|
+
e && $(l), w(o);
|
|
112
104
|
}
|
|
113
105
|
};
|
|
114
106
|
}
|
|
115
|
-
function
|
|
116
|
-
let
|
|
117
|
-
return o = new
|
|
107
|
+
function P(f) {
|
|
108
|
+
let l, o, t;
|
|
109
|
+
return o = new H({
|
|
118
110
|
props: {
|
|
119
111
|
autoplayConfig: { autoplay: !1 },
|
|
120
|
-
unfolded:
|
|
121
|
-
mediaData:
|
|
122
|
-
tag:
|
|
112
|
+
unfolded: f[3],
|
|
113
|
+
mediaData: f[1],
|
|
114
|
+
tag: f[0],
|
|
123
115
|
enableCarousel: !1,
|
|
124
|
-
|
|
125
|
-
|
|
116
|
+
mediaItemConfig: {
|
|
117
|
+
canPlay: !1,
|
|
118
|
+
playButtonSizeIfNeed: "small",
|
|
119
|
+
disableVideoIfHavePoster: !0
|
|
120
|
+
},
|
|
126
121
|
inDelay: 500,
|
|
127
122
|
duration: 500
|
|
128
123
|
}
|
|
129
124
|
}), {
|
|
130
125
|
c() {
|
|
131
|
-
|
|
126
|
+
l = h("div"), b(o.$$.fragment), j(l, "class", "media-wrapper svelte-1f7m1lj");
|
|
132
127
|
},
|
|
133
|
-
m(
|
|
134
|
-
|
|
128
|
+
m(e, r) {
|
|
129
|
+
c(e, l, r), g(o, l, null), t = !0;
|
|
135
130
|
},
|
|
136
|
-
p(
|
|
137
|
-
const
|
|
138
|
-
r &
|
|
131
|
+
p(e, r) {
|
|
132
|
+
const a = {};
|
|
133
|
+
r & 8 && (a.unfolded = e[3]), r & 2 && (a.mediaData = e[1]), r & 1 && (a.tag = e[0]), o.$set(a);
|
|
139
134
|
},
|
|
140
|
-
i(
|
|
141
|
-
|
|
135
|
+
i(e) {
|
|
136
|
+
t || (u(o.$$.fragment, e), t = !0);
|
|
142
137
|
},
|
|
143
|
-
o(
|
|
144
|
-
_(o.$$.fragment,
|
|
138
|
+
o(e) {
|
|
139
|
+
_(o.$$.fragment, e), t = !1;
|
|
145
140
|
},
|
|
146
|
-
d(
|
|
147
|
-
|
|
141
|
+
d(e) {
|
|
142
|
+
e && $(l), w(o);
|
|
148
143
|
}
|
|
149
144
|
};
|
|
150
145
|
}
|
|
151
|
-
function
|
|
152
|
-
let
|
|
146
|
+
function Y(f) {
|
|
147
|
+
let l, o, t = f[0].state && I(f);
|
|
153
148
|
return {
|
|
154
149
|
c() {
|
|
155
|
-
|
|
150
|
+
t && t.c(), l = S();
|
|
156
151
|
},
|
|
157
|
-
m(
|
|
158
|
-
|
|
152
|
+
m(e, r) {
|
|
153
|
+
t && t.m(e, r), c(e, l, r), o = !0;
|
|
159
154
|
},
|
|
160
|
-
p(
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}),
|
|
155
|
+
p(e, [r]) {
|
|
156
|
+
e[0].state ? t ? (t.p(e, r), r & 1 && u(t, 1)) : (t = I(e), t.c(), u(t, 1), t.m(l.parentNode, l)) : t && (y(), _(t, 1, 1, () => {
|
|
157
|
+
t = null;
|
|
158
|
+
}), k());
|
|
164
159
|
},
|
|
165
|
-
i(
|
|
166
|
-
o || (
|
|
160
|
+
i(e) {
|
|
161
|
+
o || (u(t), o = !0);
|
|
167
162
|
},
|
|
168
|
-
o(
|
|
169
|
-
_(
|
|
163
|
+
o(e) {
|
|
164
|
+
_(t), o = !1;
|
|
170
165
|
},
|
|
171
|
-
d(
|
|
172
|
-
|
|
166
|
+
d(e) {
|
|
167
|
+
t && t.d(e), e && $(l);
|
|
173
168
|
}
|
|
174
169
|
};
|
|
175
170
|
}
|
|
176
|
-
function
|
|
177
|
-
let
|
|
178
|
-
return
|
|
179
|
-
"tag" in
|
|
180
|
-
},
|
|
181
|
-
var
|
|
182
|
-
|
|
183
|
-
}, [
|
|
171
|
+
function A(f, l, o) {
|
|
172
|
+
let t, e, r, a, { tag: p } = l;
|
|
173
|
+
return f.$$set = (d) => {
|
|
174
|
+
"tag" in d && o(0, p = d.tag);
|
|
175
|
+
}, f.$$.update = () => {
|
|
176
|
+
var d, n, m;
|
|
177
|
+
f.$$.dirty & 1 && o(3, t = p.state ? p.state.unfolded : !1), f.$$.dirty & 1 && o(4, e = (n = (d = p.data.title) != null ? d : p.data.text) != null ? n : ""), f.$$.dirty & 16 && o(2, r = ((m = e.length) != null ? m : 0) > 7 ? e.substring(0, 6) + "..." : e), f.$$.dirty & 1 && o(1, a = p.data.mediaData);
|
|
178
|
+
}, [p, a, r, t, e];
|
|
184
179
|
}
|
|
185
|
-
class
|
|
186
|
-
constructor(
|
|
187
|
-
super(),
|
|
180
|
+
class ce extends T {
|
|
181
|
+
constructor(l) {
|
|
182
|
+
super(), R(this, l, A, Y, q, { tag: 0 }, V);
|
|
188
183
|
}
|
|
189
184
|
}
|
|
190
185
|
export {
|
|
191
|
-
|
|
186
|
+
ce as default
|
|
192
187
|
};
|
|
@@ -1,126 +1,104 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SvelteComponent as D, init as R, safe_not_equal as S, append_styles as q, element as g, create_component as x, space as b, attr as y, insert as v, mount_component as k, append as p, transition_in as f, transition_out as u, check_outros as C, detach as z, destroy_component as L, text as I, set_data as T, group_outros as A } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import B from "../Common/Shadow.js";
|
|
3
|
+
import E from "../Common/Icon/Icon.js";
|
|
4
|
+
import "../../../vendor/svelte/transition/index.js";
|
|
5
|
+
import "../../../vendor/svelte/easing/index.js";
|
|
6
|
+
import "../../utils/getImageInfo.js";
|
|
7
|
+
import "../../utils/px2rem.js";
|
|
8
|
+
function F(o) {
|
|
9
|
+
q(o, "svelte-1lmyni6", ".wrapper.svelte-1lmyni6{font-weight:600;cursor:pointer;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:auto}.text-wrapper.svelte-1lmyni6{position:relative;display:flex;align-items:center;justify-content:center}.text.svelte-1lmyni6{position:absolute;top:0;font-size:0.875rem;color:#ffffff;letter-spacing:0;text-align:center;max-width:8.75rem;width:-moz-max-content;width:max-content;word-break:break-all;line-height:1.125rem;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
6
10
|
}
|
|
7
|
-
function
|
|
8
|
-
let
|
|
9
|
-
return
|
|
11
|
+
function w(o) {
|
|
12
|
+
let r, e, s, a, t, n;
|
|
13
|
+
return e = new B({
|
|
10
14
|
props: {
|
|
11
|
-
visible: !0,
|
|
12
15
|
outDelay: 0,
|
|
13
16
|
inDelay: 0,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
center: !0,
|
|
18
|
+
width: "80%",
|
|
19
|
+
blurRadius: 40,
|
|
20
|
+
spreadRadius: 16,
|
|
21
|
+
opacity: 0.08
|
|
19
22
|
}
|
|
20
23
|
}), {
|
|
21
24
|
c() {
|
|
22
|
-
|
|
25
|
+
r = g("div"), x(e.$$.fragment), s = b(), a = g("div"), t = I(o[1]), y(a, "class", "text svelte-1lmyni6"), y(r, "class", "text-wrapper svelte-1lmyni6");
|
|
23
26
|
},
|
|
24
|
-
m(
|
|
25
|
-
|
|
27
|
+
m(i, l) {
|
|
28
|
+
v(i, r, l), k(e, r, null), p(r, s), p(r, a), p(a, t), n = !0;
|
|
26
29
|
},
|
|
27
|
-
i
|
|
28
|
-
|
|
30
|
+
p(i, l) {
|
|
31
|
+
(!n || l & 2) && T(t, i[1]);
|
|
29
32
|
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
},
|
|
33
|
-
d(o) {
|
|
34
|
-
I(i, o), o && m(r), o && m(e);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
function S(A) {
|
|
39
|
-
let i, r, e, t, o, n, s, p;
|
|
40
|
-
return i = new T({
|
|
41
|
-
props: {
|
|
42
|
-
visible: !0,
|
|
43
|
-
outDelay: 0,
|
|
44
|
-
inDelay: 0,
|
|
45
|
-
height: 1.2,
|
|
46
|
-
left: 13,
|
|
47
|
-
bottom: 12,
|
|
48
|
-
blurRadius: 50,
|
|
49
|
-
spreadRadius: 18
|
|
50
|
-
}
|
|
51
|
-
}), {
|
|
52
|
-
c() {
|
|
53
|
-
E(i.$$.fragment), r = w(), e = f("div"), t = w(), o = f("div"), n = w(), s = f("div"), d(e, "class", "arrow0 svelte-7x7u86"), d(o, "class", "arrow1 svelte-7x7u86"), d(s, "class", "arrow2 svelte-7x7u86");
|
|
33
|
+
i(i) {
|
|
34
|
+
n || (f(e.$$.fragment, i), n = !0);
|
|
54
35
|
},
|
|
55
|
-
|
|
56
|
-
|
|
36
|
+
o(i) {
|
|
37
|
+
u(e.$$.fragment, i), n = !1;
|
|
57
38
|
},
|
|
58
|
-
i
|
|
59
|
-
|
|
60
|
-
},
|
|
61
|
-
o(a) {
|
|
62
|
-
y(i.$$.fragment, a), p = !1;
|
|
63
|
-
},
|
|
64
|
-
d(a) {
|
|
65
|
-
I(i, a), a && m(r), a && m(e), a && m(t), a && m(o), a && m(n), a && m(s);
|
|
39
|
+
d(i) {
|
|
40
|
+
i && z(r), L(e);
|
|
66
41
|
}
|
|
67
42
|
};
|
|
68
43
|
}
|
|
69
|
-
function
|
|
70
|
-
let
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
return
|
|
76
|
-
props: {
|
|
77
|
-
visible: !0,
|
|
78
|
-
outDelay: 0,
|
|
79
|
-
inDelay: 0,
|
|
80
|
-
left: "auto",
|
|
81
|
-
bottom: "auto",
|
|
82
|
-
width: "80%",
|
|
83
|
-
blurRadius: 40,
|
|
84
|
-
spreadRadius: 16,
|
|
85
|
-
opacity: 0.08
|
|
86
|
-
}
|
|
87
|
-
}), {
|
|
44
|
+
function G(o) {
|
|
45
|
+
let r, e, s, a;
|
|
46
|
+
e = new E({
|
|
47
|
+
props: { icon: o[0], shadow: !0 }
|
|
48
|
+
}), e.$on("iconLoaded", o[9]);
|
|
49
|
+
let t = o[1] && o[2] && w(o);
|
|
50
|
+
return {
|
|
88
51
|
c() {
|
|
89
|
-
|
|
52
|
+
r = g("div"), x(e.$$.fragment), s = b(), t && t.c(), y(r, "class", "wrapper svelte-1lmyni6");
|
|
90
53
|
},
|
|
91
|
-
m(
|
|
92
|
-
|
|
54
|
+
m(n, i) {
|
|
55
|
+
v(n, r, i), k(e, r, null), p(r, s), t && t.m(r, null), a = !0;
|
|
93
56
|
},
|
|
94
|
-
p(
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}), C())
|
|
57
|
+
p(n, [i]) {
|
|
58
|
+
const l = {};
|
|
59
|
+
i & 1 && (l.icon = n[0]), e.$set(l), n[1] && n[2] ? t ? (t.p(n, i), i & 6 && f(t, 1)) : (t = w(n), t.c(), f(t, 1), t.m(r, null)) : t && (A(), u(t, 1, 1, () => {
|
|
60
|
+
t = null;
|
|
61
|
+
}), C());
|
|
99
62
|
},
|
|
100
|
-
i(
|
|
101
|
-
|
|
63
|
+
i(n) {
|
|
64
|
+
a || (f(e.$$.fragment, n), f(t), a = !0);
|
|
102
65
|
},
|
|
103
|
-
o(
|
|
104
|
-
|
|
66
|
+
o(n) {
|
|
67
|
+
u(e.$$.fragment, n), u(t), a = !1;
|
|
105
68
|
},
|
|
106
|
-
d(
|
|
107
|
-
|
|
69
|
+
d(n) {
|
|
70
|
+
n && z(r), L(e), t && t.d();
|
|
108
71
|
}
|
|
109
72
|
};
|
|
110
73
|
}
|
|
111
|
-
function
|
|
112
|
-
let
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
74
|
+
function H(o, r, e) {
|
|
75
|
+
let s, a, t, n, i, l, d, h, { tag: c } = r;
|
|
76
|
+
const j = () => {
|
|
77
|
+
e(2, s = !0);
|
|
78
|
+
};
|
|
79
|
+
return o.$$set = (m) => {
|
|
80
|
+
"tag" in m && e(3, c = m.tag);
|
|
81
|
+
}, o.$$.update = () => {
|
|
82
|
+
var m, _;
|
|
83
|
+
o.$$.dirty & 8 && e(1, a = (m = c.data.title) != null ? m : c.data.text), o.$$.dirty & 8 && e(8, t = (_ = c.data.icon) != null ? _ : c.style.point), o.$$.dirty & 256 && e(7, n = t.url), o.$$.dirty & 256 && e(6, i = t.steps), o.$$.dirty & 256 && e(5, l = t.fps), o.$$.dirty & 256 && e(4, d = t.ratio), o.$$.dirty & 240 && e(0, h = { url: n, steps: i, fps: l, ratio: d });
|
|
84
|
+
}, e(2, s = !1), [
|
|
85
|
+
h,
|
|
86
|
+
a,
|
|
87
|
+
s,
|
|
88
|
+
c,
|
|
89
|
+
d,
|
|
90
|
+
l,
|
|
91
|
+
i,
|
|
92
|
+
n,
|
|
93
|
+
t,
|
|
94
|
+
j
|
|
95
|
+
];
|
|
118
96
|
}
|
|
119
|
-
class
|
|
120
|
-
constructor(
|
|
121
|
-
super(),
|
|
97
|
+
class U extends D {
|
|
98
|
+
constructor(r) {
|
|
99
|
+
super(), R(this, r, H, G, S, { tag: 3 }, F);
|
|
122
100
|
}
|
|
123
101
|
}
|
|
124
102
|
export {
|
|
125
|
-
|
|
103
|
+
U as default
|
|
126
104
|
};
|