@realsee/dnalogel 2.4.0 → 2.5.1-alpha.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/{ContentTypeConfigKeyArray.html → PanoIndex.html} +43 -17
- 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/WorkCode.html +256 -0
- 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,165 +1,128 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
for (var
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var
|
|
9
|
-
|
|
10
|
-
return
|
|
1
|
+
var S = Object.defineProperty;
|
|
2
|
+
var _ = Object.getOwnPropertySymbols;
|
|
3
|
+
var C = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var g = (o, n, t) => n in o ? S(o, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[n] = t, m = (o, n) => {
|
|
5
|
+
for (var t in n || (n = {}))
|
|
6
|
+
C.call(n, t) && g(o, t, n[t]);
|
|
7
|
+
if (_)
|
|
8
|
+
for (var t of _(n))
|
|
9
|
+
A.call(n, t) && g(o, t, n[t]);
|
|
10
|
+
return o;
|
|
11
11
|
};
|
|
12
|
-
import { SvelteComponent as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
G(t, "svelte-1ku3wt4", `.audio.svelte-1ku3wt4.svelte-1ku3wt4{position:relative;width:100%;height:100%;cursor:pointer}@keyframes svelte-1ku3wt4-playing{25%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8' transform='translate(-1 -1)' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}50%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM5.533 6.685L4.169 8.049l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}75%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm-.656 4.874l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .875-.333 1.67-.88 2.268l.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}}.paused.svelte-1ku3wt4 .audio-icon.svelte-1ku3wt4{animation:none}.audio-icon.svelte-1ku3wt4.svelte-1ku3wt4{width:100%;height:100%;border-radius:50%;background-size:100%;animation:svelte-1ku3wt4-playing 2s steps(1) infinite;background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm1.428 2.79l-.953.952a6.222 6.222 0 0 1 1.775 4.36c0 1.571-.58 3.006-1.538 4.103l-.184.202.793.794a7.344 7.344 0 0 0 2.21-5.26A7.341 7.341 0 0 0 9.428 2.79zM7.344 4.873l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .802-.28 1.537-.748 2.115l-.132.153.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}`);
|
|
12
|
+
import { SvelteComponent as E, init as N, safe_not_equal as T, append_styles as v, create_slot as w, element as D, attr as y, insert as P, listen as R, stop_propagation as q, update_slot_base as L, get_all_dirty_from_scope as M, get_slot_changes as j, transition_in as z, transition_out as B, detach as F, createEventDispatcher as G, getContext as b } from "../../../vendor/svelte/internal/index.js";
|
|
13
|
+
import { getAudioDuration as H } from "../../../shared-utils/audio.js";
|
|
14
|
+
import { SharedAudio as J } from "../../utils/audio/SharedAudio.js";
|
|
15
|
+
function K(o) {
|
|
16
|
+
v(o, "svelte-13e7hxv", ".audio.svelte-13e7hxv{pointer-events:auto;cursor:pointer;width:100%;height:100%}");
|
|
18
17
|
}
|
|
19
|
-
function
|
|
20
|
-
let
|
|
21
|
-
|
|
22
|
-
props: {
|
|
23
|
-
center: !0,
|
|
24
|
-
blurRadius: 15,
|
|
25
|
-
spreadRadius: 6
|
|
26
|
-
}
|
|
27
|
-
}), {
|
|
28
|
-
c() {
|
|
29
|
-
e = b("div"), Q(i.$$.fragment), a = I(), o = b("div"), r = I(), u = b("audio"), h(o, "class", "audio-icon svelte-1ku3wt4"), u.controls = !1, h(u, "playsinline", ""), D(u.src, f = t[3]) || h(u, "src", f), h(e, "class", "audio svelte-1ku3wt4"), M(e, "paused", t[6]);
|
|
30
|
-
},
|
|
31
|
-
m(s, _) {
|
|
32
|
-
q(s, e, _), V(i, e, null), k(e, a), k(e, o), k(e, r), k(e, u), t[9](u), n = !0, m || (w = [
|
|
33
|
-
C(u, "play", t[10]),
|
|
34
|
-
C(u, "pause", t[10]),
|
|
35
|
-
C(e, "click", W(t[7]))
|
|
36
|
-
], m = !0);
|
|
37
|
-
},
|
|
38
|
-
p(s, _) {
|
|
39
|
-
t = s, (!n || _ & 8 && !D(u.src, f = t[3])) && h(u, "src", f), _ & 64 && d !== (d = t[6]) && u[d ? "pause" : "play"](), (!n || _ & 64) && M(e, "paused", t[6]);
|
|
40
|
-
},
|
|
41
|
-
i(s) {
|
|
42
|
-
n || (v(i.$$.fragment, s), s && X(() => {
|
|
43
|
-
g && g.end(1), c = Y(e, S, {
|
|
44
|
-
duration: t[2],
|
|
45
|
-
delay: t[0],
|
|
46
|
-
easing: B
|
|
47
|
-
}), c.start();
|
|
48
|
-
}), n = !0);
|
|
49
|
-
},
|
|
50
|
-
o(s) {
|
|
51
|
-
z(i.$$.fragment, s), c && c.invalidate(), s && (g = Z(e, S, {
|
|
52
|
-
duration: t[2],
|
|
53
|
-
delay: t[1],
|
|
54
|
-
easing: B
|
|
55
|
-
})), n = !1;
|
|
56
|
-
},
|
|
57
|
-
d(s) {
|
|
58
|
-
s && R(e), x(i), t[9](null), s && g && g.end(), m = !1, $(w);
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
function ne(t) {
|
|
63
|
-
let e, i, a = t[4] && L(t);
|
|
18
|
+
function O(o) {
|
|
19
|
+
let n, t, f, d;
|
|
20
|
+
const r = o[8].default, s = w(r, o, o[7], null);
|
|
64
21
|
return {
|
|
65
22
|
c() {
|
|
66
|
-
|
|
23
|
+
n = D("div"), s && s.c(), y(n, "class", "audio svelte-13e7hxv"), y(n, "style", o[0]);
|
|
67
24
|
},
|
|
68
|
-
m(
|
|
69
|
-
a &&
|
|
25
|
+
m(a, u) {
|
|
26
|
+
P(a, n, u), s && s.m(n, null), t = !0, f || (d = R(n, "click", q(o[1])), f = !0);
|
|
70
27
|
},
|
|
71
|
-
p(
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
28
|
+
p(a, [u]) {
|
|
29
|
+
s && s.p && (!t || u & 128) && L(
|
|
30
|
+
s,
|
|
31
|
+
r,
|
|
32
|
+
a,
|
|
33
|
+
a[7],
|
|
34
|
+
t ? j(r, a[7], u, null) : M(a[7]),
|
|
35
|
+
null
|
|
36
|
+
), (!t || u & 1) && y(n, "style", a[0]);
|
|
75
37
|
},
|
|
76
|
-
i(
|
|
77
|
-
|
|
38
|
+
i(a) {
|
|
39
|
+
t || (z(s, a), t = !0);
|
|
78
40
|
},
|
|
79
|
-
o(
|
|
80
|
-
|
|
41
|
+
o(a) {
|
|
42
|
+
B(s, a), t = !1;
|
|
81
43
|
},
|
|
82
|
-
d(
|
|
83
|
-
a &&
|
|
44
|
+
d(a) {
|
|
45
|
+
a && F(n), s && s.d(a), f = !1, d();
|
|
84
46
|
}
|
|
85
47
|
};
|
|
86
48
|
}
|
|
87
|
-
function
|
|
88
|
-
let {
|
|
89
|
-
const
|
|
90
|
-
let
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
});
|
|
94
|
-
function w(l) {
|
|
95
|
-
g.set({ currentMediaUrl: u }), n && (c.emit("click", p({
|
|
96
|
-
event: l,
|
|
97
|
-
target: "AudioTagPlayIcon",
|
|
98
|
-
audioInstance: n
|
|
99
|
-
}, d)), n.paused ? n.play() : n.pause(), i(
|
|
49
|
+
function Q(o, n, t) {
|
|
50
|
+
let { $$slots: f = {}, $$scope: d } = n, { url: r } = n, { enable: s = !0 } = n, { style: a = "" } = n, { hooksInfo: u } = n;
|
|
51
|
+
const l = G(), p = b("hooks"), h = b("mediaStore");
|
|
52
|
+
let e, c = !0;
|
|
53
|
+
function k() {
|
|
54
|
+
t(
|
|
100
55
|
5,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
56
|
+
e.onplay = (i) => {
|
|
57
|
+
p.emit("playStateChange", m({
|
|
58
|
+
event: i,
|
|
59
|
+
state: "playing",
|
|
60
|
+
mediaInstance: e
|
|
61
|
+
}, u)), l("play"), t(6, c = !1);
|
|
62
|
+
},
|
|
63
|
+
e
|
|
64
|
+
), t(
|
|
108
65
|
5,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
66
|
+
e.onpause = (i) => {
|
|
67
|
+
p.emit("playStateChange", m({
|
|
68
|
+
event: i,
|
|
69
|
+
state: "paused",
|
|
70
|
+
mediaInstance: e
|
|
71
|
+
}, u)), l("pause"), t(6, c = !0);
|
|
72
|
+
},
|
|
73
|
+
e
|
|
74
|
+
), t(
|
|
75
|
+
5,
|
|
76
|
+
e.onloadedmetadata = (i) => {
|
|
77
|
+
typeof e.duration == "number" && !Number.isNaN(e.duration) && l("duration", e.duration);
|
|
78
|
+
},
|
|
79
|
+
e
|
|
80
|
+
), t(
|
|
81
|
+
5,
|
|
82
|
+
e.ontimeupdate = (i) => {
|
|
83
|
+
l("timeupdate", e.currentTime);
|
|
84
|
+
},
|
|
85
|
+
e
|
|
86
|
+
);
|
|
121
87
|
}
|
|
122
|
-
|
|
123
|
-
|
|
88
|
+
h.subscribe(({ currentMediaElement: i }) => {
|
|
89
|
+
i !== e && (c || e == null || e.pause());
|
|
90
|
+
});
|
|
91
|
+
function I(i) {
|
|
92
|
+
!e || (p.emit("click", m({
|
|
93
|
+
event: i,
|
|
94
|
+
target: "AudioTagPlayIcon",
|
|
95
|
+
audioInstance: e
|
|
96
|
+
}, u)), h.set({ currentMediaElement: e }), p.emit("playStateChange", m({
|
|
97
|
+
event: i,
|
|
98
|
+
state: e.paused ? "playing" : "paused",
|
|
99
|
+
mediaInstance: e
|
|
100
|
+
}, u)), e.paused ? e.play() : e.pause());
|
|
124
101
|
}
|
|
125
|
-
return
|
|
126
|
-
"
|
|
127
|
-
},
|
|
128
|
-
t.$$.dirty &
|
|
129
|
-
}, [
|
|
130
|
-
a,
|
|
131
|
-
o,
|
|
132
|
-
r,
|
|
133
|
-
u,
|
|
134
|
-
f,
|
|
135
|
-
n,
|
|
136
|
-
m,
|
|
137
|
-
w,
|
|
138
|
-
d,
|
|
139
|
-
s,
|
|
140
|
-
_
|
|
141
|
-
];
|
|
102
|
+
return o.$$set = (i) => {
|
|
103
|
+
"url" in i && t(2, r = i.url), "enable" in i && t(3, s = i.enable), "style" in i && t(0, a = i.style), "hooksInfo" in i && t(4, u = i.hooksInfo), "$$scope" in i && t(7, d = i.$$scope);
|
|
104
|
+
}, o.$$.update = () => {
|
|
105
|
+
o.$$.dirty & 4 && (r || l("duration", 0)), o.$$.dirty & 36 && (e == null || e.dispose(), t(5, e = new J(r)), l("audioRef", e), setTimeout(() => l("audioRef", e), 200), H(r).then((i) => l("duration", i)), k()), o.$$.dirty & 40 && (s || e == null || e.pause()), o.$$.dirty & 72 && l(s && !c ? "play" : "pause");
|
|
106
|
+
}, [a, I, r, s, u, e, c, d, f];
|
|
142
107
|
}
|
|
143
|
-
class
|
|
144
|
-
constructor(
|
|
145
|
-
super(),
|
|
108
|
+
class Y extends E {
|
|
109
|
+
constructor(n) {
|
|
110
|
+
super(), N(
|
|
146
111
|
this,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
112
|
+
n,
|
|
113
|
+
Q,
|
|
114
|
+
O,
|
|
115
|
+
T,
|
|
151
116
|
{
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
unfolded: 4,
|
|
157
|
-
hooksInfo: 8
|
|
117
|
+
url: 2,
|
|
118
|
+
enable: 3,
|
|
119
|
+
style: 0,
|
|
120
|
+
hooksInfo: 4
|
|
158
121
|
},
|
|
159
|
-
|
|
122
|
+
K
|
|
160
123
|
);
|
|
161
124
|
}
|
|
162
125
|
}
|
|
163
126
|
export {
|
|
164
|
-
|
|
127
|
+
Y as default
|
|
165
128
|
};
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
var w = (n, i, t) => new Promise((e, o) => {
|
|
2
|
+
var l = (f) => {
|
|
3
|
+
try {
|
|
4
|
+
a(t.next(f));
|
|
5
|
+
} catch (m) {
|
|
6
|
+
o(m);
|
|
7
|
+
}
|
|
8
|
+
}, r = (f) => {
|
|
9
|
+
try {
|
|
10
|
+
a(t.throw(f));
|
|
11
|
+
} catch (m) {
|
|
12
|
+
o(m);
|
|
13
|
+
}
|
|
14
|
+
}, a = (f) => f.done ? e(f.value) : Promise.resolve(f.value).then(l, r);
|
|
15
|
+
a((t = t.apply(n, i)).next());
|
|
16
|
+
});
|
|
17
|
+
import { SvelteComponent as N, init as R, safe_not_equal as S, append_styles as W, empty as C, insert as k, transition_in as _, transition_out as h, check_outros as H, detach as b, createEventDispatcher as z, element as p, space as D, attr as c, set_style as s, append as g, group_outros as I, create_component as E, mount_component as X, destroy_component as A, src_url_equal as y, handle_promise as v, update_await_block_branch as B, noop as d } from "../../../../vendor/svelte/internal/index.js";
|
|
18
|
+
import { getKeyframeInfo as F } from "../../../utils/getImageInfo.js";
|
|
19
|
+
import u from "../../../utils/px2rem.js";
|
|
20
|
+
import G from "../Shadow.js";
|
|
21
|
+
import "../../../../vendor/svelte/transition/index.js";
|
|
22
|
+
import "../../../../vendor/svelte/easing/index.js";
|
|
23
|
+
function J(n) {
|
|
24
|
+
W(n, "svelte-mhs8j5", "@keyframes svelte-mhs8j5-sprites-animation{0%{background-position:0 0}100%{background-position:var(--keyframe_offset_x) 0}}.icon-image.svelte-mhs8j5{display:block;width:100%}.icon-keyframe-container.svelte-mhs8j5{overflow:hidden}.icon-keyframe-wrapper.svelte-mhs8j5{transform-origin:0 0}.icon-keyframe.svelte-mhs8j5{background-repeat:no-repeat;animation-direction:normal;animation-iteration-count:infinite;animation-name:svelte-mhs8j5-sprites-animation}");
|
|
25
|
+
}
|
|
26
|
+
function j(n) {
|
|
27
|
+
n[6] = n[14].url, n[7] = n[14].keyframesWidth, n[8] = n[14].keyframesHeight, n[9] = n[14].wrapperWidth, n[10] = n[14].wrapperHeight, n[11] = n[14].steps, n[12] = n[14].duration, n[13] = n[14].offsetX;
|
|
28
|
+
}
|
|
29
|
+
function K(n) {
|
|
30
|
+
let i, t, e, o = n[2] && q();
|
|
31
|
+
function l(f, m) {
|
|
32
|
+
return f[3] ? O : M;
|
|
33
|
+
}
|
|
34
|
+
let r = l(n), a = r(n);
|
|
35
|
+
return {
|
|
36
|
+
c() {
|
|
37
|
+
i = p("div"), o && o.c(), t = D(), a.c(), c(i, "class", "icon"), s(i, "width", typeof n[0] == "number" ? u(n[0]) : n[0]);
|
|
38
|
+
},
|
|
39
|
+
m(f, m) {
|
|
40
|
+
k(f, i, m), o && o.m(i, null), g(i, t), a.m(i, null), e = !0;
|
|
41
|
+
},
|
|
42
|
+
p(f, m) {
|
|
43
|
+
f[2] ? o ? m & 4 && _(o, 1) : (o = q(), o.c(), _(o, 1), o.m(i, t)) : o && (I(), h(o, 1, 1, () => {
|
|
44
|
+
o = null;
|
|
45
|
+
}), H()), r === (r = l(f)) && a ? a.p(f, m) : (a.d(1), a = r(f), a && (a.c(), a.m(i, null))), m & 1 && s(i, "width", typeof f[0] == "number" ? u(f[0]) : f[0]);
|
|
46
|
+
},
|
|
47
|
+
i(f) {
|
|
48
|
+
e || (_(o), e = !0);
|
|
49
|
+
},
|
|
50
|
+
o(f) {
|
|
51
|
+
h(o), e = !1;
|
|
52
|
+
},
|
|
53
|
+
d(f) {
|
|
54
|
+
f && b(i), o && o.d(), a.d();
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function q(n) {
|
|
59
|
+
let i, t;
|
|
60
|
+
return i = new G({
|
|
61
|
+
props: {
|
|
62
|
+
center: !0,
|
|
63
|
+
blurRadius: 24,
|
|
64
|
+
spreadRadius: 16
|
|
65
|
+
}
|
|
66
|
+
}), {
|
|
67
|
+
c() {
|
|
68
|
+
E(i.$$.fragment);
|
|
69
|
+
},
|
|
70
|
+
m(e, o) {
|
|
71
|
+
X(i, e, o), t = !0;
|
|
72
|
+
},
|
|
73
|
+
i(e) {
|
|
74
|
+
t || (_(i.$$.fragment, e), t = !0);
|
|
75
|
+
},
|
|
76
|
+
o(e) {
|
|
77
|
+
h(i.$$.fragment, e), t = !1;
|
|
78
|
+
},
|
|
79
|
+
d(e) {
|
|
80
|
+
A(i, e);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function M(n) {
|
|
85
|
+
let i, t;
|
|
86
|
+
return {
|
|
87
|
+
c() {
|
|
88
|
+
i = p("img"), c(i, "class", "icon-image svelte-mhs8j5"), y(i.src, t = n[1].url) || c(i, "src", t), c(i, "alt", "icon");
|
|
89
|
+
},
|
|
90
|
+
m(e, o) {
|
|
91
|
+
k(e, i, o);
|
|
92
|
+
},
|
|
93
|
+
p(e, o) {
|
|
94
|
+
o & 2 && !y(i.src, t = e[1].url) && c(i, "src", t);
|
|
95
|
+
},
|
|
96
|
+
d(e) {
|
|
97
|
+
e && b(i);
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
function O(n) {
|
|
102
|
+
let i, t, e = {
|
|
103
|
+
ctx: n,
|
|
104
|
+
current: null,
|
|
105
|
+
token: null,
|
|
106
|
+
hasCatch: !1,
|
|
107
|
+
pending: T,
|
|
108
|
+
then: Q,
|
|
109
|
+
catch: P,
|
|
110
|
+
value: 14
|
|
111
|
+
};
|
|
112
|
+
return v(t = n[4](n[1]), e), {
|
|
113
|
+
c() {
|
|
114
|
+
i = C(), e.block.c();
|
|
115
|
+
},
|
|
116
|
+
m(o, l) {
|
|
117
|
+
k(o, i, l), e.block.m(o, e.anchor = l), e.mount = () => i.parentNode, e.anchor = i;
|
|
118
|
+
},
|
|
119
|
+
p(o, l) {
|
|
120
|
+
n = o, e.ctx = n, l & 2 && t !== (t = n[4](n[1])) && v(t, e) || B(e, n, l);
|
|
121
|
+
},
|
|
122
|
+
d(o) {
|
|
123
|
+
o && b(i), e.block.d(o), e.token = null, e = null;
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function P(n) {
|
|
128
|
+
return { c: d, m: d, p: d, d };
|
|
129
|
+
}
|
|
130
|
+
function Q(n) {
|
|
131
|
+
j(n);
|
|
132
|
+
let i, t, e, o = `url(${n[6]})`, l = `steps(${n[11] - 1})`;
|
|
133
|
+
return {
|
|
134
|
+
c() {
|
|
135
|
+
i = p("div"), t = p("div"), e = p("div"), c(e, "class", "icon-keyframe svelte-mhs8j5"), s(e, "width", u(n[7])), s(e, "height", u(n[8])), s(e, "background-image", o), s(e, "animation-duration", n[12]), s(e, "animation-timing-function", l), s(e, "animation-delay", 0), s(e, "background-size", "100% 100%"), s(e, "--keyframe_offset_x", u(n[13])), c(t, "class", "icon-keyframe-wrapper svelte-mhs8j5"), s(t, "transform", typeof n[0] == "number" ? `scale(${n[0] / n[9]})` : void 0), c(i, "class", "icon-keyframe-container svelte-mhs8j5"), s(i, "width", typeof n[0] == "number" ? u(n[0]) : u(n[9])), s(i, "height", typeof n[0] == "number" ? u(n[10] * (n[0] / n[9])) : u(n[10]));
|
|
136
|
+
},
|
|
137
|
+
m(r, a) {
|
|
138
|
+
k(r, i, a), g(i, t), g(t, e);
|
|
139
|
+
},
|
|
140
|
+
p(r, a) {
|
|
141
|
+
j(r), a & 2 && s(e, "width", u(r[7])), a & 2 && s(e, "height", u(r[8])), a & 2 && o !== (o = `url(${r[6]})`) && s(e, "background-image", o), a & 2 && s(e, "animation-duration", r[12]), a & 2 && l !== (l = `steps(${r[11] - 1})`) && s(e, "animation-timing-function", l), a & 2 && s(e, "--keyframe_offset_x", u(r[13])), a & 3 && s(t, "transform", typeof r[0] == "number" ? `scale(${r[0] / r[9]})` : void 0), a & 3 && s(i, "width", typeof r[0] == "number" ? u(r[0]) : u(r[9])), a & 3 && s(i, "height", typeof r[0] == "number" ? u(r[10] * (r[0] / r[9])) : u(r[10]));
|
|
142
|
+
},
|
|
143
|
+
d(r) {
|
|
144
|
+
r && b(i);
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
function T(n) {
|
|
149
|
+
return { c: d, m: d, p: d, d };
|
|
150
|
+
}
|
|
151
|
+
function U(n) {
|
|
152
|
+
let i, t, e = n[1] && K(n);
|
|
153
|
+
return {
|
|
154
|
+
c() {
|
|
155
|
+
e && e.c(), i = C();
|
|
156
|
+
},
|
|
157
|
+
m(o, l) {
|
|
158
|
+
e && e.m(o, l), k(o, i, l), t = !0;
|
|
159
|
+
},
|
|
160
|
+
p(o, [l]) {
|
|
161
|
+
o[1] ? e ? (e.p(o, l), l & 2 && _(e, 1)) : (e = K(o), e.c(), _(e, 1), e.m(i.parentNode, i)) : e && (I(), h(e, 1, 1, () => {
|
|
162
|
+
e = null;
|
|
163
|
+
}), H());
|
|
164
|
+
},
|
|
165
|
+
i(o) {
|
|
166
|
+
t || (_(e), t = !0);
|
|
167
|
+
},
|
|
168
|
+
o(o) {
|
|
169
|
+
h(e), t = !1;
|
|
170
|
+
},
|
|
171
|
+
d(o) {
|
|
172
|
+
e && e.d(o), o && b(i);
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
function V(n, i, t) {
|
|
177
|
+
let e, { width: o = null } = i, { icon: l = null } = i, { shadow: r = !1 } = i;
|
|
178
|
+
const a = z();
|
|
179
|
+
function f(m) {
|
|
180
|
+
return w(this, null, function* () {
|
|
181
|
+
const L = yield F(m);
|
|
182
|
+
return a("iconLoaded"), L;
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
return n.$$set = (m) => {
|
|
186
|
+
"width" in m && t(0, o = m.width), "icon" in m && t(1, l = m.icon), "shadow" in m && t(2, r = m.shadow);
|
|
187
|
+
}, n.$$.update = () => {
|
|
188
|
+
n.$$.dirty & 2 && t(3, e = (l == null ? void 0 : l.steps) >= 2), n.$$.dirty & 8 && !e && a("iconLoaded");
|
|
189
|
+
}, [o, l, r, e, f];
|
|
190
|
+
}
|
|
191
|
+
class oe extends N {
|
|
192
|
+
constructor(i) {
|
|
193
|
+
super(), R(this, i, V, U, S, { width: 0, icon: 1, shadow: 2 }, J);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
export {
|
|
197
|
+
oe as default
|
|
198
|
+
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { SvelteComponent as b, init as A, safe_not_equal as M, append_styles as L, element as f, space as R, attr as u, toggle_class as h, set_style as d, insert as S, append as _, transition_in as c, transition_out as m, check_outros as W, detach as j, create_component as q, mount_component as B, destroy_component as C, group_outros as H, binding_callbacks as w } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import I from "../../../utils/px2rem.js";
|
|
3
|
+
import T from "../Shadow.js";
|
|
4
|
+
import "../../../../vendor/svelte/transition/index.js";
|
|
5
|
+
import "../../../../vendor/svelte/easing/index.js";
|
|
6
|
+
function z(i) {
|
|
7
|
+
L(i, "svelte-srt2pi", ".audio-icon__wrapper.svelte-srt2pi.svelte-srt2pi{display:inline-block}.audio-icon.svelte-srt2pi.svelte-srt2pi{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:100%;border-radius:50%;background-color:rgba(255, 255, 255, 0.8)}.audio-icon.svelte-srt2pi .sound-wave__container.svelte-srt2pi{position:absolute;pointer-events:none;width:60%;height:60%}.sound-wave.svelte-srt2pi.svelte-srt2pi{animation-duration:2s;animation-iteration-count:infinite;animation-play-state:paused;transition:opacity 0}.playing.svelte-srt2pi .sound-wave.svelte-srt2pi{animation-play-state:running}.playing.svelte-srt2pi .sound-wave-1.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_1_animation}.playing.svelte-srt2pi .sound-wave-2.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_2_animation}.playing.svelte-srt2pi .sound-wave-3.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_3_animation}@keyframes svelte-srt2pi-sound_wave_1_animation{0%,10%{opacity:0}25%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_2_animation{0%,35%{opacity:0}50%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_3_animation{0%,60%{opacity:0}75%,100%{opacity:1}}");
|
|
8
|
+
}
|
|
9
|
+
function y(i) {
|
|
10
|
+
let t, a;
|
|
11
|
+
return t = new T({
|
|
12
|
+
props: {
|
|
13
|
+
center: !0,
|
|
14
|
+
blurRadius: 12,
|
|
15
|
+
spreadRadius: 5
|
|
16
|
+
}
|
|
17
|
+
}), {
|
|
18
|
+
c() {
|
|
19
|
+
q(t.$$.fragment);
|
|
20
|
+
},
|
|
21
|
+
m(n, r) {
|
|
22
|
+
B(t, n, r), a = !0;
|
|
23
|
+
},
|
|
24
|
+
i(n) {
|
|
25
|
+
a || (c(t.$$.fragment, n), a = !0);
|
|
26
|
+
},
|
|
27
|
+
o(n) {
|
|
28
|
+
m(t.$$.fragment, n), a = !1;
|
|
29
|
+
},
|
|
30
|
+
d(n) {
|
|
31
|
+
C(t, n);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function D(i) {
|
|
36
|
+
let t, a, n, r, p, e = i[1] && y();
|
|
37
|
+
return {
|
|
38
|
+
c() {
|
|
39
|
+
t = f("div"), e && e.c(), a = R(), n = f("div"), r = f("div"), r.innerHTML = '<svg width="100%" height="100%" viewBox="0 0 128 128"><g transform="rotate(-45 12 64) translate(12 64)" fill="black" stroke="black" fill-opacity="0.6" stroke-opacity="0.6"><path stroke="none" class="sound-wave sound-wave-1 svelte-srt2pi" d="M0,23 A23,23 0 0,0 23,0 L0,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-2 svelte-srt2pi" d="M0,46 A46,46 0 0,0 46,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-3 svelte-srt2pi" d="M0,80 A80,80 0 0,0 80,0"></path></g></svg>', u(r, "class", "sound-wave__container svelte-srt2pi"), u(n, "class", "audio-icon svelte-srt2pi"), h(n, "playing", i[0]), u(t, "class", "audio-icon__wrapper svelte-srt2pi"), u(t, "style", i[2]), d(t, "width", i[5]), d(t, "height", i[5]);
|
|
40
|
+
},
|
|
41
|
+
m(s, l) {
|
|
42
|
+
S(s, t, l), e && e.m(t, null), _(t, a), _(t, n), _(n, r), i[7](r), i[8](t), p = !0;
|
|
43
|
+
},
|
|
44
|
+
p(s, [l]) {
|
|
45
|
+
s[1] ? e ? l & 2 && c(e, 1) : (e = y(), e.c(), c(e, 1), e.m(t, a)) : e && (H(), m(e, 1, 1, () => {
|
|
46
|
+
e = null;
|
|
47
|
+
}), W()), (!p || l & 1) && h(n, "playing", s[0]), (!p || l & 4) && u(t, "style", s[2]), l & 32 && d(t, "width", s[5]), l & 32 && d(t, "height", s[5]);
|
|
48
|
+
},
|
|
49
|
+
i(s) {
|
|
50
|
+
p || (c(e), p = !0);
|
|
51
|
+
},
|
|
52
|
+
o(s) {
|
|
53
|
+
m(e), p = !1;
|
|
54
|
+
},
|
|
55
|
+
d(s) {
|
|
56
|
+
s && j(t), e && e.d(), i[7](null), i[8](null);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function E(i, t, a) {
|
|
61
|
+
let n, { playing: r } = t, { shadow: p = !1 } = t, { style: e = null } = t, { width: s = "100%" } = t, l, v;
|
|
62
|
+
function g(o) {
|
|
63
|
+
w[o ? "unshift" : "push"](() => {
|
|
64
|
+
v = o, a(4, v);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
function k(o) {
|
|
68
|
+
w[o ? "unshift" : "push"](() => {
|
|
69
|
+
l = o, a(3, l);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
return i.$$set = (o) => {
|
|
73
|
+
"playing" in o && a(0, r = o.playing), "shadow" in o && a(1, p = o.shadow), "style" in o && a(2, e = o.style), "width" in o && a(6, s = o.width);
|
|
74
|
+
}, i.$$.update = () => {
|
|
75
|
+
i.$$.dirty & 64 && a(5, n = typeof s == "number" ? I(s) : s);
|
|
76
|
+
}, [
|
|
77
|
+
r,
|
|
78
|
+
p,
|
|
79
|
+
e,
|
|
80
|
+
l,
|
|
81
|
+
v,
|
|
82
|
+
n,
|
|
83
|
+
s,
|
|
84
|
+
g,
|
|
85
|
+
k
|
|
86
|
+
];
|
|
87
|
+
}
|
|
88
|
+
class O extends b {
|
|
89
|
+
constructor(t) {
|
|
90
|
+
super(), A(
|
|
91
|
+
this,
|
|
92
|
+
t,
|
|
93
|
+
E,
|
|
94
|
+
D,
|
|
95
|
+
M,
|
|
96
|
+
{
|
|
97
|
+
playing: 0,
|
|
98
|
+
shadow: 1,
|
|
99
|
+
style: 2,
|
|
100
|
+
width: 6
|
|
101
|
+
},
|
|
102
|
+
z
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
export {
|
|
107
|
+
O as default
|
|
108
|
+
};
|