@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
|
@@ -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
|
+
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
1
|
+
import { SvelteComponent as p, init as b, safe_not_equal as v, append_styles as D, svg_element as u, attr as o, insert as h, append as d, transition_in as c, transition_out as _, check_outros as w, detach as g, add_render_callback as k, create_in_transition as O, create_out_transition as G, group_outros as I } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { uuid as L } from "../../../../shared-utils/uuid.js";
|
|
3
|
-
import { draw as
|
|
3
|
+
import { draw as m } from "../../../../vendor/svelte/transition/index.js";
|
|
4
4
|
import { cubicOut as S, cubicInOut as U } from "../../../../vendor/svelte/easing/index.js";
|
|
5
5
|
function q(n) {
|
|
6
|
-
|
|
6
|
+
D(n, "svelte-blgtit", ".line.svelte-blgtit{width:100%;height:100%;overflow:visible;pointer-events:none}");
|
|
7
7
|
}
|
|
8
|
-
function
|
|
9
|
-
let e, a,
|
|
8
|
+
function y(n) {
|
|
9
|
+
let e, a, l, r;
|
|
10
10
|
return {
|
|
11
11
|
c() {
|
|
12
|
-
e =
|
|
12
|
+
e = u("path"), o(e, "fill", "none"), o(e, "stroke", "url(#" + n[4] + ")"), o(e, "stroke-width", "1"), o(e, "d", "M0 21 L14 0.5 L105 0.5");
|
|
13
13
|
},
|
|
14
14
|
m(i, t) {
|
|
15
|
-
|
|
15
|
+
h(i, e, t), r = !0;
|
|
16
16
|
},
|
|
17
17
|
p(i, t) {
|
|
18
18
|
n = i;
|
|
19
19
|
},
|
|
20
20
|
i(i) {
|
|
21
|
-
r || (i &&
|
|
22
|
-
|
|
21
|
+
r || (i && k(() => {
|
|
22
|
+
l && l.end(1), a = O(e, m, {
|
|
23
23
|
duration: n[1],
|
|
24
24
|
delay: n[0],
|
|
25
25
|
easing: S
|
|
@@ -27,52 +27,52 @@ function m(n) {
|
|
|
27
27
|
}), r = !0);
|
|
28
28
|
},
|
|
29
29
|
o(i) {
|
|
30
|
-
a && a.invalidate(), i && (
|
|
30
|
+
a && a.invalidate(), i && (l = G(e, m, {
|
|
31
31
|
duration: n[1],
|
|
32
32
|
delay: n[2],
|
|
33
33
|
easing: U
|
|
34
34
|
})), r = !1;
|
|
35
35
|
},
|
|
36
36
|
d(i) {
|
|
37
|
-
i &&
|
|
37
|
+
i && g(e), i && l && l.end();
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
function B(n) {
|
|
42
|
-
let e, a,
|
|
42
|
+
let e, a, l, r, i, t = n[3] && y(n);
|
|
43
43
|
return {
|
|
44
44
|
c() {
|
|
45
|
-
e =
|
|
45
|
+
e = u("svg"), a = u("defs"), l = u("linearGradient"), r = u("stop"), i = u("stop"), t && t.c(), o(r, "offset", "25%"), o(r, "stop-color", "white"), o(r, "stop-opacity", "1"), o(i, "offset", "100%"), o(i, "stop-color", "white"), o(i, "stop-opacity", "0.5"), o(l, "id", n[4]), o(l, "gradientUnits", "userSpaceOnUse"), o(e, "class", "line svelte-blgtit"), o(e, "viewBox", "0 0 105 21");
|
|
46
46
|
},
|
|
47
|
-
m(
|
|
48
|
-
|
|
47
|
+
m(s, f) {
|
|
48
|
+
h(s, e, f), d(e, a), d(a, l), d(l, r), d(l, i), t && t.m(e, null);
|
|
49
49
|
},
|
|
50
|
-
p(
|
|
51
|
-
|
|
50
|
+
p(s, [f]) {
|
|
51
|
+
s[3] ? t ? (t.p(s, f), f & 8 && c(t, 1)) : (t = y(s), t.c(), c(t, 1), t.m(e, null)) : t && (I(), _(t, 1, 1, () => {
|
|
52
52
|
t = null;
|
|
53
|
-
}),
|
|
53
|
+
}), w());
|
|
54
54
|
},
|
|
55
|
-
i(
|
|
55
|
+
i(s) {
|
|
56
56
|
c(t);
|
|
57
57
|
},
|
|
58
|
-
o(
|
|
58
|
+
o(s) {
|
|
59
59
|
_(t);
|
|
60
60
|
},
|
|
61
|
-
d(
|
|
62
|
-
|
|
61
|
+
d(s) {
|
|
62
|
+
s && g(e), t && t.d();
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
function C(n, e, a) {
|
|
67
|
-
let { inDelay:
|
|
68
|
-
const
|
|
69
|
-
return n.$$set = (
|
|
70
|
-
"inDelay" in
|
|
71
|
-
}, [
|
|
67
|
+
let { inDelay: l = 0 } = e, { duration: r = 1e3 } = e, { outDelay: i = 0 } = e, { unfolded: t } = e;
|
|
68
|
+
const s = L();
|
|
69
|
+
return n.$$set = (f) => {
|
|
70
|
+
"inDelay" in f && a(0, l = f.inDelay), "duration" in f && a(1, r = f.duration), "outDelay" in f && a(2, i = f.outDelay), "unfolded" in f && a(3, t = f.unfolded);
|
|
71
|
+
}, [l, r, i, t, s];
|
|
72
72
|
}
|
|
73
|
-
class A extends
|
|
73
|
+
class A extends p {
|
|
74
74
|
constructor(e) {
|
|
75
|
-
super(),
|
|
75
|
+
super(), b(
|
|
76
76
|
this,
|
|
77
77
|
e,
|
|
78
78
|
C,
|
|
@@ -89,5 +89,5 @@ class A extends D {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
export {
|
|
92
|
-
A as
|
|
92
|
+
A as default
|
|
93
93
|
};
|
|
@@ -1,90 +1,126 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { draw as
|
|
3
|
-
import { uuid as
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SvelteComponent as G, init as U, safe_not_equal as q, append_styles as A, empty as H, insert as y, noop as j, detach as w, element as I, svg_element as m, attr as l, toggle_class as g, set_style as v, append as h, transition_in as p, group_outros as M, transition_out as N, check_outros as O, add_render_callback as R, create_in_transition as V, identity as C, create_out_transition as E } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { draw as z } from "../../../../vendor/svelte/transition/index.js";
|
|
3
|
+
import { uuid as F } from "../../../../shared-utils/uuid.js";
|
|
4
|
+
import "../../../../vendor/svelte/easing/index.js";
|
|
5
|
+
function J(t) {
|
|
6
|
+
A(t, "svelte-xuejcm", ".line.svelte-xuejcm{position:absolute;pointer-events:none}.line.vertical.svelte-xuejcm{transform:rotate(-90deg) translate3d(0.03125rem, 0, 0.625rem);transform-origin:0 0}.line.horizontal.svelte-xuejcm{transform:translate3d(0, -0.03125rem, 0.625rem)}.straight-line.svelte-xuejcm{display:block;width:100%;height:100%;overflow:visible}");
|
|
6
7
|
}
|
|
7
|
-
function
|
|
8
|
-
let e,
|
|
8
|
+
function L(t) {
|
|
9
|
+
let e, i, n, o, s, r, _, f = t[3] && B(t);
|
|
9
10
|
return {
|
|
10
11
|
c() {
|
|
11
|
-
e =
|
|
12
|
+
e = I("div"), i = m("svg"), n = m("defs"), o = m("linearGradient"), s = m("stop"), r = m("stop"), f && f.c(), l(s, "offset", "25%"), l(s, "stop-color", t[5]), l(s, "stop-opacity", "1"), l(r, "offset", "100%"), l(r, "stop-color", t[5]), l(r, "stop-opacity", "0.5"), l(o, "x1", 0.5), l(o, "y1", 0.5), l(o, "x2", t[8]), l(o, "y2", 0.5), l(o, "id", t[10]), l(o, "gradientUnits", "userSpaceOnUse"), l(i, "class", "straight-line svelte-xuejcm"), l(i, "viewBox", _ = "0 0 " + t[8] + " " + t[7]), l(i, "preserveAspectRatio", "none"), l(e, "class", "line svelte-xuejcm"), g(e, "vertical", t[9]), g(e, "horizontal", !t[9]), v(e, "width", t[8] + "px"), v(e, "height", t[7] + "px");
|
|
12
13
|
},
|
|
13
|
-
m(
|
|
14
|
-
y(
|
|
14
|
+
m(a, d) {
|
|
15
|
+
y(a, e, d), h(e, i), h(i, n), h(n, o), h(o, s), h(o, r), f && f.m(i, null);
|
|
15
16
|
},
|
|
16
|
-
p(
|
|
17
|
-
|
|
17
|
+
p(a, d) {
|
|
18
|
+
d & 32 && l(s, "stop-color", a[5]), d & 32 && l(r, "stop-color", a[5]), d & 256 && l(o, "x2", a[8]), a[3] ? f ? (f.p(a, d), d & 8 && p(f, 1)) : (f = B(a), f.c(), p(f, 1), f.m(i, null)) : f && (M(), N(f, 1, 1, () => {
|
|
19
|
+
f = null;
|
|
20
|
+
}), O()), d & 384 && _ !== (_ = "0 0 " + a[8] + " " + a[7]) && l(i, "viewBox", _), d & 512 && g(e, "vertical", a[9]), d & 512 && g(e, "horizontal", !a[9]), d & 256 && v(e, "width", a[8] + "px"), d & 128 && v(e, "height", a[7] + "px");
|
|
18
21
|
},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
o && o.end(1), a = S(e, h, {
|
|
22
|
-
duration: n[1],
|
|
23
|
-
delay: n[0]
|
|
24
|
-
}), a.start();
|
|
25
|
-
}), r = !0);
|
|
26
|
-
},
|
|
27
|
-
o(i) {
|
|
28
|
-
a && a.invalidate(), i && (o = G(e, h, {
|
|
29
|
-
duration: n[1],
|
|
30
|
-
delay: n[2]
|
|
31
|
-
})), r = !1;
|
|
32
|
-
},
|
|
33
|
-
d(i) {
|
|
34
|
-
i && p(e), i && o && o.end();
|
|
22
|
+
d(a) {
|
|
23
|
+
a && w(e), f && f.d();
|
|
35
24
|
}
|
|
36
25
|
};
|
|
37
26
|
}
|
|
38
|
-
function
|
|
39
|
-
let e,
|
|
27
|
+
function B(t) {
|
|
28
|
+
let e, i, n, o, s;
|
|
40
29
|
return {
|
|
41
30
|
c() {
|
|
42
|
-
e =
|
|
31
|
+
e = m("path"), l(e, "fill", "none"), l(e, "stroke", i = t[4] ? `url(#${t[10]})` : t[5]), l(e, "stroke-width", 1), l(e, "d", t[6]);
|
|
32
|
+
},
|
|
33
|
+
m(r, _) {
|
|
34
|
+
y(r, e, _), s = !0;
|
|
35
|
+
},
|
|
36
|
+
p(r, _) {
|
|
37
|
+
t = r, (!s || _ & 48 && i !== (i = t[4] ? `url(#${t[10]})` : t[5])) && l(e, "stroke", i), (!s || _ & 64) && l(e, "d", t[6]);
|
|
38
|
+
},
|
|
39
|
+
i(r) {
|
|
40
|
+
s || (r && R(() => {
|
|
41
|
+
o && o.end(1), n = V(e, z, {
|
|
42
|
+
duration: t[2],
|
|
43
|
+
delay: t[0],
|
|
44
|
+
easing: C
|
|
45
|
+
}), n.start();
|
|
46
|
+
}), s = !0);
|
|
43
47
|
},
|
|
44
|
-
|
|
45
|
-
|
|
48
|
+
o(r) {
|
|
49
|
+
n && n.invalidate(), r && (o = E(e, z, {
|
|
50
|
+
duration: t[2],
|
|
51
|
+
delay: t[1],
|
|
52
|
+
easing: C
|
|
53
|
+
})), s = !1;
|
|
46
54
|
},
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
55
|
+
d(r) {
|
|
56
|
+
r && w(e), r && o && o.end();
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function K(t) {
|
|
61
|
+
let e, i = t[8] && L(t);
|
|
62
|
+
return {
|
|
63
|
+
c() {
|
|
64
|
+
i && i.c(), e = H();
|
|
51
65
|
},
|
|
52
|
-
|
|
53
|
-
|
|
66
|
+
m(n, o) {
|
|
67
|
+
i && i.m(n, o), y(n, e, o);
|
|
54
68
|
},
|
|
55
|
-
o
|
|
56
|
-
|
|
69
|
+
p(n, [o]) {
|
|
70
|
+
n[8] ? i ? i.p(n, o) : (i = L(n), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
|
|
57
71
|
},
|
|
58
|
-
|
|
59
|
-
|
|
72
|
+
i: j,
|
|
73
|
+
o: j,
|
|
74
|
+
d(n) {
|
|
75
|
+
i && i.d(n), n && w(e);
|
|
60
76
|
}
|
|
61
77
|
};
|
|
62
78
|
}
|
|
63
|
-
function
|
|
64
|
-
let { inDelay:
|
|
65
|
-
const
|
|
66
|
-
return
|
|
67
|
-
"inDelay" in
|
|
68
|
-
},
|
|
79
|
+
function P(t, e, i) {
|
|
80
|
+
let n, o, s, r, { inDelay: _ = 0 } = e, { outDelay: f = 0 } = e, { duration: a = 1e3 } = e, { unfolded: d } = e, { length: c } = e, { direction: k = "horizontal" } = e, { useLinearColor: b = !1 } = e, { color: D = "white" } = e;
|
|
81
|
+
const S = F();
|
|
82
|
+
return t.$$set = (u) => {
|
|
83
|
+
"inDelay" in u && i(0, _ = u.inDelay), "outDelay" in u && i(1, f = u.outDelay), "duration" in u && i(2, a = u.duration), "unfolded" in u && i(3, d = u.unfolded), "length" in u && i(11, c = u.length), "direction" in u && i(12, k = u.direction), "useLinearColor" in u && i(4, b = u.useLinearColor), "color" in u && i(5, D = u.color);
|
|
84
|
+
}, t.$$.update = () => {
|
|
85
|
+
t.$$.dirty & 4096 && i(9, n = k === "vertical"), t.$$.dirty & 2048 && i(8, o = c), t.$$.dirty & 2048 && i(6, r = `M0.5 0.5 H ${c}`);
|
|
86
|
+
}, i(7, s = 1), [
|
|
87
|
+
_,
|
|
88
|
+
f,
|
|
89
|
+
a,
|
|
90
|
+
d,
|
|
91
|
+
b,
|
|
92
|
+
D,
|
|
93
|
+
r,
|
|
94
|
+
s,
|
|
95
|
+
o,
|
|
96
|
+
n,
|
|
97
|
+
S,
|
|
98
|
+
c,
|
|
99
|
+
k
|
|
100
|
+
];
|
|
69
101
|
}
|
|
70
|
-
class
|
|
102
|
+
class Y extends G {
|
|
71
103
|
constructor(e) {
|
|
72
|
-
super(),
|
|
104
|
+
super(), U(
|
|
73
105
|
this,
|
|
74
106
|
e,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
107
|
+
P,
|
|
108
|
+
K,
|
|
109
|
+
q,
|
|
78
110
|
{
|
|
79
111
|
inDelay: 0,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
unfolded: 3
|
|
112
|
+
outDelay: 1,
|
|
113
|
+
duration: 2,
|
|
114
|
+
unfolded: 3,
|
|
115
|
+
length: 11,
|
|
116
|
+
direction: 12,
|
|
117
|
+
useLinearColor: 4,
|
|
118
|
+
color: 5
|
|
83
119
|
},
|
|
84
|
-
|
|
120
|
+
J
|
|
85
121
|
);
|
|
86
122
|
}
|
|
87
123
|
}
|
|
88
124
|
export {
|
|
89
|
-
|
|
125
|
+
Y as default
|
|
90
126
|
};
|