@realsee/dnalogel 2.3.6 → 2.3.7-alpha.1
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 +24 -13
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +21 -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 +50 -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 +56 -56
- package/dist/index.js +7077 -6025
- package/dist/index.umd.js +49 -49
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +221 -174
- 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 +36 -13
- package/docs/functions/CameraMovementPlugin.html +36 -13
- package/docs/functions/CruisePlugin.html +36 -13
- package/docs/functions/GuideLinePlugin.html +37 -14
- package/docs/functions/ItemLabelPlugin.html +36 -13
- package/docs/functions/MapviewFloorplanPlugin.html +36 -13
- package/docs/functions/ModelChassisCompassPlugin.html +36 -13
- package/docs/functions/ModelEntryDoorGuidePlugin.html +36 -13
- package/docs/functions/ModelFloorplanPlugin.html +36 -13
- package/docs/functions/ModelItemLabelPlugin.html +36 -13
- package/docs/functions/ModelRoomLabelPlugin.html +36 -13
- package/docs/functions/ModelTVVideoPlugin.html +36 -13
- package/docs/functions/ModelViewPlugin.html +36 -13
- package/docs/functions/Object3DHelperPlugin.html +36 -13
- package/docs/functions/PanoCompassPlugin.html +36 -13
- package/docs/functions/PanoCursorRaycasterPlugin.html +36 -13
- package/docs/functions/PanoDoorLabelPlugin.html +36 -13
- package/docs/functions/PanoFloorplanRadarPlugin.html +36 -13
- package/docs/functions/PanoMeasurePlugin.html +36 -13
- package/docs/functions/PanoRulerPlugin.html +36 -13
- package/docs/functions/PanoRulerProPlugin.html +36 -13
- package/docs/functions/PanoSpatialTagPlugin.html +36 -13
- package/docs/functions/PanoTagPlugin.html +42 -23
- package/docs/functions/TopviewFloorplanPlugin.html +36 -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 +37 -14
- package/docs/index.html +36 -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/LineJson.html +7 -7
- 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/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +37 -14
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +37 -14
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +37 -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/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +37 -14
- package/docs/interfaces/Rooms.html +37 -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 +67 -21
- package/docs/types/ArrayPosition.html +38 -15
- package/docs/types/CSS3DRenderExportType.html +37 -14
- package/docs/types/CSS3DRenderPluginExportType.html +37 -14
- package/docs/types/CSS3DRenderPluginParameterType.html +37 -14
- package/docs/types/Color.html +37 -14
- package/docs/types/ContentTypeConfigKey.html +38 -15
- package/docs/types/ContentTypeMap.html +248 -0
- package/docs/types/Create3DDomContainerReturnType.html +37 -14
- package/docs/types/Create3DElementReturnType.html +37 -14
- package/docs/types/CruisePluginExportType.html +37 -14
- package/docs/types/Direction-1.html +37 -14
- package/docs/types/Direction4.html +37 -14
- package/docs/types/FloorplanRuleLabels.html +37 -14
- package/docs/types/FloorplanServerRuleLabels.html +37 -14
- package/docs/types/GuideLinePluginExportType.html +37 -14
- package/docs/types/HelperEventMap.html +37 -14
- package/docs/types/LoadTagConfig.html +248 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +37 -14
- package/docs/types/MapviewFloorplanPluginReturnType.html +37 -14
- package/docs/types/MediaData.html +37 -14
- package/docs/types/MediaStore.html +248 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +37 -14
- package/docs/types/ModelFloorplanPluginParameterType.html +37 -14
- package/docs/types/ModelFloorplanPluginReturnType.html +37 -14
- package/docs/types/ModelRoomLabelPluginParameters.html +37 -14
- package/docs/types/ModelRoomLabelPluginReturnType.html +37 -14
- package/docs/types/MoveArgs.html +37 -14
- package/docs/types/MoveOpts.html +37 -14
- package/docs/types/Object3DHelperEventMap.html +37 -14
- package/docs/types/ObjectFit.html +37 -14
- package/docs/types/PaintBrushEventMap.html +37 -14
- package/docs/types/PanoCompassPluginData.html +37 -14
- package/docs/types/PanoCompassPluginExportType.html +37 -14
- package/docs/types/PanoCompassPluginParameterType.html +37 -14
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +37 -14
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +37 -14
- package/docs/types/{ContentTypeConfigKeyArray.html → PanoIndex.html} +40 -17
- package/docs/types/PanoMeasurePluginEvent.html +37 -14
- package/docs/types/PanoMeasureReturnType.html +37 -14
- package/docs/types/PanoSpatialTagPluginId.html +37 -14
- package/docs/types/PanoTagPluginExportInterface.html +37 -14
- package/docs/types/PanoTagPluginParamsInterface.html +37 -14
- package/docs/types/PlaneTag.html +40 -19
- package/docs/types/PlaneTagElement.html +253 -0
- package/docs/types/Point2DElement.html +253 -0
- package/docs/types/Point2DTag.html +255 -0
- package/docs/types/Point3DElement.html +253 -0
- package/docs/types/Point3DTag.html +255 -0
- package/docs/types/PointTag.html +40 -23
- package/docs/types/PointTagElement.html +253 -0
- package/docs/types/Position.html +37 -14
- package/docs/types/RotateArgs.html +37 -14
- package/docs/types/RotateOpts.html +37 -14
- package/docs/types/RuleLabelsKey.html +37 -14
- package/docs/types/RuleLabelsValue.html +37 -14
- package/docs/types/StickType.html +248 -0
- package/docs/types/Tag.html +41 -22
- package/docs/types/Tag2D.html +42 -20
- package/docs/types/Tag3D.html +42 -20
- package/docs/types/TagContentType.html +248 -0
- package/docs/types/TagDimensionType.html +248 -0
- package/docs/types/TagElement.html +255 -0
- package/docs/types/TagEvents.html +283 -0
- package/docs/types/TagHooks.html +248 -0
- package/docs/types/TagIconSize.html +251 -0
- package/docs/types/TagId.html +37 -14
- package/docs/types/TagPointType.html +251 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +37 -14
- package/docs/types/TopviewFloorplanPluginReturnType.html +37 -14
- package/docs/types/WorkCode.html +248 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +37 -14
- package/docs/variables/PLUGIN.html +37 -14
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +37 -14
- package/docs/variables/ROOM_TYPE_MAP.html +37 -14
- package/docs/variables/VERSION.html +37 -14
- package/docs/variables/itemLabelPluginServerParams.html +37 -14
- package/docs/variables/modelItemLabelPluginServerParams.html +37 -14
- package/docs/variables/modelRoomLabelPluginServerParams.html +37 -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 +1 -1
- package/libs/CruisePlugin/utils/coordinatesAngle.js +3 -2
- package/libs/CruisePlugin/utils/linerValue.js +4 -4
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
- package/libs/GuideLinePlugin/utils/getPoint.d.ts +3 -0
- package/libs/GuideLinePlugin/utils/getPoint.js +18 -0
- package/libs/Object3DHelperPlugin/Controller.js +38 -36
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +25 -15
- package/libs/PanoMeasurePlugin/Controller/EditController.js +21 -9
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +23 -10
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +25 -14
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +44 -29
- package/libs/PanoMeasurePlugin/Controller/index.js +58 -21
- package/libs/PanoMeasurePlugin/Model/index.js +47 -40
- package/libs/PanoMeasurePlugin/Model/line.js +15 -11
- package/libs/PanoMeasurePlugin/Model/point.js +5 -5
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +24 -16
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +4 -3
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +8 -5
- package/libs/PanoMeasurePlugin/index.js +2 -2
- package/libs/PanoMeasurePlugin/typings/data.js +1 -0
- package/libs/PanoMeasurePlugin/typings/event.type.js +1 -0
- package/libs/PanoMeasurePlugin/typings/index.js +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.js +1 -0
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +6 -0
- package/libs/PanoMeasurePlugin/utils/constants.js +15 -16
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +7 -6
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
- package/libs/PanoMeasurePlugin/utils/line.js +1 -0
- package/libs/PanoMeasurePlugin/utils/math.js +2 -1
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
- package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
- package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/PanoTagPlugin/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 +137 -132
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +175 -0
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +110 -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 +10 -9
- 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 +147 -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 +213 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +215 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +120 -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 +58 -96
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -3
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +75 -45
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +102 -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 +235 -148
- package/libs/PanoTagPlugin/Components/TagContainer.js +144 -109
- package/libs/PanoTagPlugin/Components/TagItem.js +233 -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 +174 -151
- package/libs/PanoTagPlugin/controller/index.d.ts +24 -13
- package/libs/PanoTagPlugin/controller/index.js +245 -165
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +32 -21
- 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 +23 -16
- package/libs/PanoTagPlugin/typings/controller.d.ts +21 -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 +50 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -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 +35 -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 +112 -101
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +17 -20
- 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,170 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
for (var
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var
|
|
9
|
-
|
|
10
|
-
return
|
|
1
|
+
var O = Object.defineProperty;
|
|
2
|
+
var M = Object.getOwnPropertySymbols;
|
|
3
|
+
var Q = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var j = (e, l, t) => l in e ? O(e, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[l] = t, N = (e, l) => {
|
|
5
|
+
for (var t in l || (l = {}))
|
|
6
|
+
Q.call(l, t) && j(e, t, l[t]);
|
|
7
|
+
if (M)
|
|
8
|
+
for (var t of M(l))
|
|
9
|
+
R.call(l, t) && j(e, t, l[t]);
|
|
10
|
+
return e;
|
|
11
11
|
};
|
|
12
|
-
import { SvelteComponent as
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import { Shadow as te } from "./Shadow.js";
|
|
16
|
-
function ie(t) {
|
|
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 U, init as V, safe_not_equal as X, append_styles as Y, create_slot as C, element as W, space as q, attr as _, src_url_equal as z, set_style as Z, insert as x, append as S, listen as m, stop_propagation as $, update_slot_base as w, get_all_dirty_from_scope as A, get_slot_changes as P, transition_in as v, transition_out as E, detach as ee, run_all as te, getContext as B, binding_callbacks as ne } from "../../../vendor/svelte/internal/index.js";
|
|
13
|
+
function se(e) {
|
|
14
|
+
Y(e, "svelte-kebunf", ".audio.svelte-kebunf{pointer-events:auto;cursor:pointer;width:100%;height:100%}.children.svelte-kebunf{width:100%;height:100%}");
|
|
18
15
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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);
|
|
16
|
+
const le = (e) => ({
|
|
17
|
+
currentTime: e & 256,
|
|
18
|
+
duration: e & 128,
|
|
19
|
+
playing: e & 512
|
|
20
|
+
}), D = (e) => ({
|
|
21
|
+
currentTime: typeof e[8] == "number" && !Number.isNaN(e[8]) ? e[8] : void 0,
|
|
22
|
+
duration: typeof e[7] == "number" && !Number.isNaN(e[7]) ? e[7] : void 0,
|
|
23
|
+
playing: e[9]
|
|
24
|
+
}), ue = (e) => ({ playing: e & 512 }), F = (e) => ({ playing: e[9] });
|
|
25
|
+
function oe(e) {
|
|
26
|
+
let l, t, h, k = !0, I, r, d, T, o, p, y;
|
|
27
|
+
const g = e[13].audioIcon, s = C(g, e, e[12], F), c = e[13].currentTime, a = C(c, e, e[12], D), b = e[13].default, f = C(b, e, e[12], null);
|
|
64
28
|
return {
|
|
65
29
|
c() {
|
|
66
|
-
a && a.c(),
|
|
30
|
+
l = W("div"), t = W("audio"), I = q(), r = W("div"), s && s.c(), d = q(), a && a.c(), T = q(), f && f.c(), t.controls = !1, _(t, "playsinline", ""), _(t, "preload", "metadata"), z(t.src, h = e[1]) || _(t, "src", h), Z(t, "display", "none"), _(r, "class", "children svelte-kebunf"), _(r, "style", e[3]), _(l, "class", "audio svelte-kebunf"), _(l, "style", e[2]);
|
|
67
31
|
},
|
|
68
|
-
m(
|
|
69
|
-
a && a.m(
|
|
32
|
+
m(n, i) {
|
|
33
|
+
x(n, l, i), S(l, t), e[14](t), S(l, I), S(l, r), s && s.m(r, null), S(r, d), a && a.m(r, null), S(r, T), f && f.m(r, null), o = !0, p || (y = [
|
|
34
|
+
m(t, "play", e[15]),
|
|
35
|
+
m(t, "pause", e[15]),
|
|
36
|
+
m(t, "play", e[16]),
|
|
37
|
+
m(t, "pause", e[17]),
|
|
38
|
+
m(t, "ended", e[18]),
|
|
39
|
+
m(t, "canplaythrough", e[19]),
|
|
40
|
+
m(t, "timeupdate", e[20]),
|
|
41
|
+
m(l, "click", $(e[11]))
|
|
42
|
+
], p = !0);
|
|
70
43
|
},
|
|
71
|
-
p(
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
44
|
+
p(n, [i]) {
|
|
45
|
+
(!o || i & 2 && !z(t.src, h = n[1])) && _(t, "src", h), i & 1 && k !== (k = n[0]) && t[k ? "pause" : "play"](), s && s.p && (!o || i & 4608) && w(
|
|
46
|
+
s,
|
|
47
|
+
g,
|
|
48
|
+
n,
|
|
49
|
+
n[12],
|
|
50
|
+
o ? P(g, n[12], i, ue) : A(n[12]),
|
|
51
|
+
F
|
|
52
|
+
), a && a.p && (!o || i & 4992) && w(
|
|
53
|
+
a,
|
|
54
|
+
c,
|
|
55
|
+
n,
|
|
56
|
+
n[12],
|
|
57
|
+
o ? P(c, n[12], i, le) : A(n[12]),
|
|
58
|
+
D
|
|
59
|
+
), f && f.p && (!o || i & 4096) && w(
|
|
60
|
+
f,
|
|
61
|
+
b,
|
|
62
|
+
n,
|
|
63
|
+
n[12],
|
|
64
|
+
o ? P(b, n[12], i, null) : A(n[12]),
|
|
65
|
+
null
|
|
66
|
+
), (!o || i & 8) && _(r, "style", n[3]), (!o || i & 4) && _(l, "style", n[2]);
|
|
75
67
|
},
|
|
76
|
-
i(
|
|
77
|
-
|
|
68
|
+
i(n) {
|
|
69
|
+
o || (v(s, n), v(a, n), v(f, n), o = !0);
|
|
78
70
|
},
|
|
79
|
-
o(
|
|
80
|
-
|
|
71
|
+
o(n) {
|
|
72
|
+
E(s, n), E(a, n), E(f, n), o = !1;
|
|
81
73
|
},
|
|
82
|
-
d(
|
|
83
|
-
a && a.d(
|
|
74
|
+
d(n) {
|
|
75
|
+
n && ee(l), e[14](null), s && s.d(n), a && a.d(n), f && f.d(n), p = !1, te(y);
|
|
84
76
|
}
|
|
85
77
|
};
|
|
86
78
|
}
|
|
87
|
-
function ae(
|
|
88
|
-
let {
|
|
89
|
-
const
|
|
90
|
-
let
|
|
91
|
-
g.subscribe(({
|
|
92
|
-
|
|
79
|
+
function ae(e, l, t) {
|
|
80
|
+
let h, { $$slots: k = {}, $$scope: I } = l, { url: r } = l, { paused: d = !0 } = l, { style: T = "" } = l, { slotWrapperStyle: o = "" } = l, { hooksInfo: p } = l;
|
|
81
|
+
const y = B("hooks"), g = B("mediaStore");
|
|
82
|
+
let s, c = !0;
|
|
83
|
+
g.subscribe(({ currentMediaElement: u }) => {
|
|
84
|
+
u !== s && (s == null || s.pause());
|
|
93
85
|
});
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
86
|
+
let a = null, b = null;
|
|
87
|
+
function f(u) {
|
|
88
|
+
!s || (y.emit("click", N({
|
|
89
|
+
event: u,
|
|
97
90
|
target: "AudioTagPlayIcon",
|
|
98
|
-
audioInstance:
|
|
99
|
-
},
|
|
100
|
-
5,
|
|
101
|
-
n.onplay = (y) => c.emit("playStateChange", p({
|
|
102
|
-
event: y,
|
|
103
|
-
state: "playing",
|
|
104
|
-
mediaInstance: n
|
|
105
|
-
}, d)),
|
|
106
|
-
n
|
|
107
|
-
), i(
|
|
108
|
-
5,
|
|
109
|
-
n.onpause = (y) => c.emit("playStateChange", p({
|
|
110
|
-
event: y,
|
|
111
|
-
state: "paused",
|
|
112
|
-
mediaInstance: n
|
|
113
|
-
}, d)),
|
|
114
|
-
n
|
|
115
|
-
));
|
|
91
|
+
audioInstance: s
|
|
92
|
+
}, p)), g.set({ currentMediaElement: s }), s.paused ? s.play() : s.pause());
|
|
116
93
|
}
|
|
117
|
-
function
|
|
118
|
-
|
|
119
|
-
|
|
94
|
+
function n(u) {
|
|
95
|
+
ne[u ? "unshift" : "push"](() => {
|
|
96
|
+
s = u, t(5, s);
|
|
120
97
|
});
|
|
121
98
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
99
|
+
function i() {
|
|
100
|
+
d = this.paused, t(0, d);
|
|
124
101
|
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
102
|
+
const G = (u) => {
|
|
103
|
+
y.emit("playStateChange", N({
|
|
104
|
+
event: u,
|
|
105
|
+
state: "playing",
|
|
106
|
+
mediaInstance: s
|
|
107
|
+
}, p)), t(6, c = !1);
|
|
108
|
+
}, H = (u) => {
|
|
109
|
+
y.emit("playStateChange", N({
|
|
110
|
+
event: u,
|
|
111
|
+
state: "paused",
|
|
112
|
+
mediaInstance: s
|
|
113
|
+
}, p)), t(6, c = !0);
|
|
114
|
+
}, J = (u) => {
|
|
115
|
+
t(6, c = !0);
|
|
116
|
+
}, K = (u) => {
|
|
117
|
+
t(7, a = s.duration);
|
|
118
|
+
}, L = (u) => {
|
|
119
|
+
t(8, b = s.currentTime);
|
|
120
|
+
};
|
|
121
|
+
return e.$$set = (u) => {
|
|
122
|
+
"url" in u && t(1, r = u.url), "paused" in u && t(0, d = u.paused), "style" in u && t(2, T = u.style), "slotWrapperStyle" in u && t(3, o = u.slotWrapperStyle), "hooksInfo" in u && t(4, p = u.hooksInfo), "$$scope" in u && t(12, I = u.$$scope);
|
|
123
|
+
}, e.$$.update = () => {
|
|
124
|
+
e.$$.dirty & 33 && (d || s == null || s.pause()), e.$$.dirty & 65 && t(9, h = !d && !c);
|
|
129
125
|
}, [
|
|
130
|
-
|
|
131
|
-
o,
|
|
126
|
+
d,
|
|
132
127
|
r,
|
|
133
|
-
|
|
128
|
+
T,
|
|
129
|
+
o,
|
|
130
|
+
p,
|
|
131
|
+
s,
|
|
132
|
+
c,
|
|
133
|
+
a,
|
|
134
|
+
b,
|
|
135
|
+
h,
|
|
136
|
+
y,
|
|
134
137
|
f,
|
|
138
|
+
I,
|
|
139
|
+
k,
|
|
135
140
|
n,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
+
i,
|
|
142
|
+
G,
|
|
143
|
+
H,
|
|
144
|
+
J,
|
|
145
|
+
K,
|
|
146
|
+
L
|
|
141
147
|
];
|
|
142
148
|
}
|
|
143
|
-
class
|
|
144
|
-
constructor(
|
|
145
|
-
super(),
|
|
149
|
+
class fe extends U {
|
|
150
|
+
constructor(l) {
|
|
151
|
+
super(), V(
|
|
146
152
|
this,
|
|
147
|
-
|
|
153
|
+
l,
|
|
148
154
|
ae,
|
|
149
|
-
|
|
150
|
-
|
|
155
|
+
oe,
|
|
156
|
+
X,
|
|
151
157
|
{
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
hooksInfo: 8
|
|
158
|
+
url: 1,
|
|
159
|
+
paused: 0,
|
|
160
|
+
style: 2,
|
|
161
|
+
slotWrapperStyle: 3,
|
|
162
|
+
hooksInfo: 4
|
|
158
163
|
},
|
|
159
|
-
|
|
164
|
+
se
|
|
160
165
|
);
|
|
161
166
|
}
|
|
162
167
|
}
|
|
163
168
|
export {
|
|
164
|
-
|
|
169
|
+
fe as default
|
|
165
170
|
};
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { SvelteComponent as N, init as R, safe_not_equal as S, append_styles as W, empty as H, insert as k, transition_in as _, transition_out as h, check_outros as I, detach as b, element as p, space as z, attr as u, set_style as f, append as g, group_outros as K, create_component as X, mount_component as A, destroy_component as B, src_url_equal as w, handle_promise as y, update_await_block_branch as D, noop as d } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { getKeyframeInfo as v } from "../../../utils/getImageInfo.js";
|
|
3
|
+
import s from "../../../utils/px2rem.js";
|
|
4
|
+
import E from "../Shadow.js";
|
|
5
|
+
import "../../../../vendor/svelte/transition/index.js";
|
|
6
|
+
import "../../../../vendor/svelte/easing/index.js";
|
|
7
|
+
function F(n) {
|
|
8
|
+
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}");
|
|
9
|
+
}
|
|
10
|
+
function j(n) {
|
|
11
|
+
n[4] = n[12].url, n[5] = n[12].keyframesWidth, n[6] = n[12].keyframesHeight, n[7] = n[12].wrapperWidth, n[8] = n[12].wrapperHeight, n[9] = n[12].steps, n[10] = n[12].duration, n[11] = n[12].offsetX;
|
|
12
|
+
}
|
|
13
|
+
function q(n) {
|
|
14
|
+
let i, r, e, o = n[2] && C();
|
|
15
|
+
function l(m, c) {
|
|
16
|
+
return m[3] ? J : G;
|
|
17
|
+
}
|
|
18
|
+
let t = l(n), a = t(n);
|
|
19
|
+
return {
|
|
20
|
+
c() {
|
|
21
|
+
i = p("div"), o && o.c(), r = z(), a.c(), u(i, "class", "icon"), f(i, "width", typeof n[0] == "number" ? s(n[0]) : n[0]);
|
|
22
|
+
},
|
|
23
|
+
m(m, c) {
|
|
24
|
+
k(m, i, c), o && o.m(i, null), g(i, r), a.m(i, null), e = !0;
|
|
25
|
+
},
|
|
26
|
+
p(m, c) {
|
|
27
|
+
m[2] ? o ? c & 4 && _(o, 1) : (o = C(), o.c(), _(o, 1), o.m(i, r)) : o && (K(), h(o, 1, 1, () => {
|
|
28
|
+
o = null;
|
|
29
|
+
}), I()), t === (t = l(m)) && a ? a.p(m, c) : (a.d(1), a = t(m), a && (a.c(), a.m(i, null))), c & 1 && f(i, "width", typeof m[0] == "number" ? s(m[0]) : m[0]);
|
|
30
|
+
},
|
|
31
|
+
i(m) {
|
|
32
|
+
e || (_(o), e = !0);
|
|
33
|
+
},
|
|
34
|
+
o(m) {
|
|
35
|
+
h(o), e = !1;
|
|
36
|
+
},
|
|
37
|
+
d(m) {
|
|
38
|
+
m && b(i), o && o.d(), a.d();
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function C(n) {
|
|
43
|
+
let i, r;
|
|
44
|
+
return i = new E({
|
|
45
|
+
props: {
|
|
46
|
+
center: !0,
|
|
47
|
+
blurRadius: 12,
|
|
48
|
+
spreadRadius: 5
|
|
49
|
+
}
|
|
50
|
+
}), {
|
|
51
|
+
c() {
|
|
52
|
+
X(i.$$.fragment);
|
|
53
|
+
},
|
|
54
|
+
m(e, o) {
|
|
55
|
+
A(i, e, o), r = !0;
|
|
56
|
+
},
|
|
57
|
+
i(e) {
|
|
58
|
+
r || (_(i.$$.fragment, e), r = !0);
|
|
59
|
+
},
|
|
60
|
+
o(e) {
|
|
61
|
+
h(i.$$.fragment, e), r = !1;
|
|
62
|
+
},
|
|
63
|
+
d(e) {
|
|
64
|
+
B(i, e);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function G(n) {
|
|
69
|
+
let i, r;
|
|
70
|
+
return {
|
|
71
|
+
c() {
|
|
72
|
+
i = p("img"), u(i, "class", "icon-image svelte-mhs8j5"), w(i.src, r = n[1].url) || u(i, "src", r), u(i, "alt", "icon");
|
|
73
|
+
},
|
|
74
|
+
m(e, o) {
|
|
75
|
+
k(e, i, o);
|
|
76
|
+
},
|
|
77
|
+
p(e, o) {
|
|
78
|
+
o & 2 && !w(i.src, r = e[1].url) && u(i, "src", r);
|
|
79
|
+
},
|
|
80
|
+
d(e) {
|
|
81
|
+
e && b(i);
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
function J(n) {
|
|
86
|
+
let i, r, e = {
|
|
87
|
+
ctx: n,
|
|
88
|
+
current: null,
|
|
89
|
+
token: null,
|
|
90
|
+
hasCatch: !1,
|
|
91
|
+
pending: O,
|
|
92
|
+
then: M,
|
|
93
|
+
catch: L,
|
|
94
|
+
value: 12
|
|
95
|
+
};
|
|
96
|
+
return y(r = v(n[1]), e), {
|
|
97
|
+
c() {
|
|
98
|
+
i = H(), e.block.c();
|
|
99
|
+
},
|
|
100
|
+
m(o, l) {
|
|
101
|
+
k(o, i, l), e.block.m(o, e.anchor = l), e.mount = () => i.parentNode, e.anchor = i;
|
|
102
|
+
},
|
|
103
|
+
p(o, l) {
|
|
104
|
+
n = o, e.ctx = n, l & 2 && r !== (r = v(n[1])) && y(r, e) || D(e, n, l);
|
|
105
|
+
},
|
|
106
|
+
d(o) {
|
|
107
|
+
o && b(i), e.block.d(o), e.token = null, e = null;
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
function L(n) {
|
|
112
|
+
return { c: d, m: d, p: d, d };
|
|
113
|
+
}
|
|
114
|
+
function M(n) {
|
|
115
|
+
j(n);
|
|
116
|
+
let i, r, e, o = `url(${n[4]})`, l = `steps(${n[9] - 1})`;
|
|
117
|
+
return {
|
|
118
|
+
c() {
|
|
119
|
+
i = p("div"), r = p("div"), e = p("div"), u(e, "class", "icon-keyframe svelte-mhs8j5"), f(e, "width", s(n[5])), f(e, "height", s(n[6])), f(e, "background-image", o), f(e, "animation-duration", n[10]), f(e, "animation-timing-function", l), f(e, "animation-delay", 0), f(e, "background-size", "100% 100%"), f(e, "--keyframe_offset_x", s(n[11])), u(r, "class", "icon-keyframe-wrapper svelte-mhs8j5"), f(r, "transform", typeof n[0] == "number" ? `scale(${n[0] / n[7]})` : void 0), u(i, "class", "icon-keyframe-container svelte-mhs8j5"), f(i, "width", typeof n[0] == "number" ? s(n[0]) : s(n[7])), f(i, "height", typeof n[0] == "number" ? s(n[8] * (n[0] / n[7])) : s(n[8]));
|
|
120
|
+
},
|
|
121
|
+
m(t, a) {
|
|
122
|
+
k(t, i, a), g(i, r), g(r, e);
|
|
123
|
+
},
|
|
124
|
+
p(t, a) {
|
|
125
|
+
j(t), a & 2 && f(e, "width", s(t[5])), a & 2 && f(e, "height", s(t[6])), a & 2 && o !== (o = `url(${t[4]})`) && f(e, "background-image", o), a & 2 && f(e, "animation-duration", t[10]), a & 2 && l !== (l = `steps(${t[9] - 1})`) && f(e, "animation-timing-function", l), a & 2 && f(e, "--keyframe_offset_x", s(t[11])), a & 3 && f(r, "transform", typeof t[0] == "number" ? `scale(${t[0] / t[7]})` : void 0), a & 3 && f(i, "width", typeof t[0] == "number" ? s(t[0]) : s(t[7])), a & 3 && f(i, "height", typeof t[0] == "number" ? s(t[8] * (t[0] / t[7])) : s(t[8]));
|
|
126
|
+
},
|
|
127
|
+
d(t) {
|
|
128
|
+
t && b(i);
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
function O(n) {
|
|
133
|
+
return { c: d, m: d, p: d, d };
|
|
134
|
+
}
|
|
135
|
+
function P(n) {
|
|
136
|
+
let i, r, e = n[1] && q(n);
|
|
137
|
+
return {
|
|
138
|
+
c() {
|
|
139
|
+
e && e.c(), i = H();
|
|
140
|
+
},
|
|
141
|
+
m(o, l) {
|
|
142
|
+
e && e.m(o, l), k(o, i, l), r = !0;
|
|
143
|
+
},
|
|
144
|
+
p(o, [l]) {
|
|
145
|
+
o[1] ? e ? (e.p(o, l), l & 2 && _(e, 1)) : (e = q(o), e.c(), _(e, 1), e.m(i.parentNode, i)) : e && (K(), h(e, 1, 1, () => {
|
|
146
|
+
e = null;
|
|
147
|
+
}), I());
|
|
148
|
+
},
|
|
149
|
+
i(o) {
|
|
150
|
+
r || (_(e), r = !0);
|
|
151
|
+
},
|
|
152
|
+
o(o) {
|
|
153
|
+
h(e), r = !1;
|
|
154
|
+
},
|
|
155
|
+
d(o) {
|
|
156
|
+
e && e.d(o), o && b(i);
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
function Q(n, i, r) {
|
|
161
|
+
let e, { width: o = null } = i, { icon: l = null } = i, { shadow: t = !1 } = i;
|
|
162
|
+
return n.$$set = (a) => {
|
|
163
|
+
"width" in a && r(0, o = a.width), "icon" in a && r(1, l = a.icon), "shadow" in a && r(2, t = a.shadow);
|
|
164
|
+
}, n.$$.update = () => {
|
|
165
|
+
n.$$.dirty & 2 && r(3, e = (l == null ? void 0 : l.steps) >= 2);
|
|
166
|
+
}, [o, l, t, e];
|
|
167
|
+
}
|
|
168
|
+
class x extends N {
|
|
169
|
+
constructor(i) {
|
|
170
|
+
super(), R(this, i, Q, P, S, { width: 0, icon: 1, shadow: 2 }, F);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
export {
|
|
174
|
+
x as default
|
|
175
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { SvelteComponent as g, init as b, safe_not_equal as j, append_styles as R, element as m, space as S, attr as f, toggle_class as k, set_style as u, insert as W, append as _, transition_in as v, transition_out as w, check_outros as A, detach as C, create_component as H, mount_component as I, destroy_component as L, group_outros as M, binding_callbacks as h } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import T from "../../../utils/px2rem.js";
|
|
3
|
+
import X from "../Shadow.js";
|
|
4
|
+
import "../../../../vendor/svelte/transition/index.js";
|
|
5
|
+
import "../../../../vendor/svelte/easing/index.js";
|
|
6
|
+
function z(i) {
|
|
7
|
+
R(i, "svelte-qf1c2k", ".audio-icon__wrapper.svelte-qf1c2k.svelte-qf1c2k{display:inline-block}.audio-icon.svelte-qf1c2k.svelte-qf1c2k{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-qf1c2k .sound-wave__container.svelte-qf1c2k{position:absolute;pointer-events:none;display:flex;justify-content:center;align-items:center;width:1.375rem;height:1.375rem}.audio-icon.svelte-qf1c2k .sound-wave__container .sound-wave__wrapper.svelte-qf1c2k{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translateX(-25%)}.audio-icon.svelte-qf1c2k .sound-wave__container .sound-wave__wrapper .sound-wave.svelte-qf1c2k{flex-shrink:0;flex-grow:0;border-radius:50%;border-color:transparent;border-style:solid;border-bottom-color:rgba(0, 0, 0, 0.6);transform:rotate(-90deg)}.sound-wave-1.svelte-qf1c2k.svelte-qf1c2k{position:absolute;width:0rem;height:0rem;border-width:0.125rem}.sound-wave-2.svelte-qf1c2k.svelte-qf1c2k{position:absolute;width:0.4375rem;height:0.4375rem;border-width:0.09375rem}.sound-wave-3.svelte-qf1c2k.svelte-qf1c2k{position:relative;width:0.875rem;height:0.875rem;border-width:0.09375rem}.sound-wave.svelte-qf1c2k.svelte-qf1c2k{animation-duration:2s;animation-iteration-count:infinite;animation-play-state:paused;transition:opacity 0}.playing.svelte-qf1c2k .sound-wave.svelte-qf1c2k{animation-play-state:running}.playing.svelte-qf1c2k .sound-wave-1.svelte-qf1c2k{animation-name:svelte-qf1c2k-sound_wave_1_animation}.playing.svelte-qf1c2k .sound-wave-2.svelte-qf1c2k{animation-name:svelte-qf1c2k-sound_wave_2_animation}.playing.svelte-qf1c2k .sound-wave-3.svelte-qf1c2k{animation-name:svelte-qf1c2k-sound_wave_3_animation}@keyframes svelte-qf1c2k-sound_wave_1_animation{0%,10%{opacity:0}25%,100%{opacity:1}}@keyframes svelte-qf1c2k-sound_wave_2_animation{0%,35%{opacity:0}50%,100%{opacity:1}}@keyframes svelte-qf1c2k-sound_wave_3_animation{0%,60%{opacity:0}75%,100%{opacity:1}}");
|
|
8
|
+
}
|
|
9
|
+
function p(i) {
|
|
10
|
+
let e, n;
|
|
11
|
+
return e = new X({
|
|
12
|
+
props: {
|
|
13
|
+
center: !0,
|
|
14
|
+
blurRadius: 12,
|
|
15
|
+
spreadRadius: 5
|
|
16
|
+
}
|
|
17
|
+
}), {
|
|
18
|
+
c() {
|
|
19
|
+
H(e.$$.fragment);
|
|
20
|
+
},
|
|
21
|
+
m(s, r) {
|
|
22
|
+
I(e, s, r), n = !0;
|
|
23
|
+
},
|
|
24
|
+
i(s) {
|
|
25
|
+
n || (v(e.$$.fragment, s), n = !0);
|
|
26
|
+
},
|
|
27
|
+
o(s) {
|
|
28
|
+
w(e.$$.fragment, s), n = !1;
|
|
29
|
+
},
|
|
30
|
+
d(s) {
|
|
31
|
+
L(e, s);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function B(i) {
|
|
36
|
+
let e, n, s, r, c, t = i[1] && p();
|
|
37
|
+
return {
|
|
38
|
+
c() {
|
|
39
|
+
e = m("div"), t && t.c(), n = S(), s = m("div"), r = m("div"), r.innerHTML = `<div class="sound-wave__wrapper svelte-qf1c2k"><div class="sound-wave sound-wave-1 svelte-qf1c2k"></div>
|
|
40
|
+
<div class="sound-wave sound-wave-2 svelte-qf1c2k"></div>
|
|
41
|
+
<div class="sound-wave sound-wave-3 svelte-qf1c2k"></div></div>`, f(r, "class", "sound-wave__container svelte-qf1c2k"), f(s, "class", "audio-icon svelte-qf1c2k"), k(s, "playing", i[0]), f(e, "class", "audio-icon__wrapper svelte-qf1c2k"), f(e, "style", i[2]), u(e, "width", i[5]), u(e, "height", i[5]);
|
|
42
|
+
},
|
|
43
|
+
m(o, a) {
|
|
44
|
+
W(o, e, a), t && t.m(e, null), _(e, n), _(e, s), _(s, r), i[7](r), i[8](e), c = !0;
|
|
45
|
+
},
|
|
46
|
+
p(o, [a]) {
|
|
47
|
+
o[1] ? t ? a & 2 && v(t, 1) : (t = p(), t.c(), v(t, 1), t.m(e, n)) : t && (M(), w(t, 1, 1, () => {
|
|
48
|
+
t = null;
|
|
49
|
+
}), A()), (!c || a & 1) && k(s, "playing", o[0]), (!c || a & 4) && f(e, "style", o[2]), a & 32 && u(e, "width", o[5]), a & 32 && u(e, "height", o[5]);
|
|
50
|
+
},
|
|
51
|
+
i(o) {
|
|
52
|
+
c || (v(t), c = !0);
|
|
53
|
+
},
|
|
54
|
+
o(o) {
|
|
55
|
+
w(t), c = !1;
|
|
56
|
+
},
|
|
57
|
+
d(o) {
|
|
58
|
+
o && C(e), t && t.d(), i[7](null), i[8](null);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function D(i, e, n) {
|
|
63
|
+
let s, { playing: r } = e, { shadow: c = !1 } = e, { style: t = null } = e, { width: o = "100%" } = e, a, d;
|
|
64
|
+
function q(l) {
|
|
65
|
+
h[l ? "unshift" : "push"](() => {
|
|
66
|
+
d = l, n(4, d), n(3, a);
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
function y(l) {
|
|
70
|
+
h[l ? "unshift" : "push"](() => {
|
|
71
|
+
a = l, n(3, a);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return i.$$set = (l) => {
|
|
75
|
+
"playing" in l && n(0, r = l.playing), "shadow" in l && n(1, c = l.shadow), "style" in l && n(2, t = l.style), "width" in l && n(6, o = l.width);
|
|
76
|
+
}, i.$$.update = () => {
|
|
77
|
+
i.$$.dirty & 64 && n(5, s = typeof o == "number" ? T(o) : o), i.$$.dirty & 8 && a != null && a.clientWidth && n(4, d.style.transform = `scale(${a.clientWidth / 22})`, d);
|
|
78
|
+
}, [
|
|
79
|
+
r,
|
|
80
|
+
c,
|
|
81
|
+
t,
|
|
82
|
+
a,
|
|
83
|
+
d,
|
|
84
|
+
s,
|
|
85
|
+
o,
|
|
86
|
+
q,
|
|
87
|
+
y
|
|
88
|
+
];
|
|
89
|
+
}
|
|
90
|
+
class N extends g {
|
|
91
|
+
constructor(e) {
|
|
92
|
+
super(), b(
|
|
93
|
+
this,
|
|
94
|
+
e,
|
|
95
|
+
D,
|
|
96
|
+
B,
|
|
97
|
+
j,
|
|
98
|
+
{
|
|
99
|
+
playing: 0,
|
|
100
|
+
shadow: 1,
|
|
101
|
+
style: 2,
|
|
102
|
+
width: 6
|
|
103
|
+
},
|
|
104
|
+
z
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export {
|
|
109
|
+
N as default
|
|
110
|
+
};
|