@realsee/dnalogel 2.16.0-1 → 2.16.0-11
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/components/index.js +688 -240
- package/dist/CruisePlugin/index.d.ts +2 -0
- package/dist/CruisePlugin/typing.d.ts +35 -40
- package/dist/GuideLinePlugin/Controller.d.ts +6 -3
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +6 -0
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +45 -4
- package/dist/GuideLinePlugin/index.d.ts +2 -1
- package/dist/GuideLinePlugin/typing.d.ts +36 -5
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -1
- package/dist/GuideLinePlugin/utils/index.d.ts +6 -0
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +5 -5
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -1
- package/dist/index.cjs.js +119 -87
- package/dist/index.js +17164 -10135
- package/dist/index.umd.js +112 -80
- package/dist/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/dist/shared-utils/animationFrame/index.d.ts +1 -1
- package/dist/shared-utils/animationFrame/tween.d.ts +32 -23
- package/dist/shared-utils/five/changeMode.d.ts +2 -4
- package/dist/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/dist/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +33 -31
- package/docs/classes/CruisePluginController.html +40 -38
- package/docs/classes/GuideLineItem.GuideLineItem.html +57 -23
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +246 -49
- package/docs/classes/Magnifier.html +22 -20
- package/docs/classes/ModelRoomLabelController.html +13 -11
- package/docs/classes/Object3DHelperController.html +27 -25
- package/docs/classes/PaintBrush.html +17 -15
- package/docs/classes/PanoMeasurePluginLine.html +25 -23
- package/docs/classes/PanoMeasurePluginModel.html +24 -22
- package/docs/classes/PanoMeasurePluginPoint.html +16 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +28 -26
- package/docs/classes/PanoTagPluginController.html +49 -47
- package/docs/classes/Util.BetterTween.html +31 -18
- package/docs/classes/Util.FivePointSelector.html +14 -12
- package/docs/classes/Util.Interval.html +14 -12
- package/docs/classes/Util.Magnifier.html +19 -17
- package/docs/classes/Util.PointDomHelper.html +13 -11
- package/docs/classes/Util.PointHelper.html +13 -11
- package/docs/classes/Util.Rectangle.html +15 -13
- package/docs/enums/CameraMovementEffect.html +9 -7
- package/docs/enums/ContentType.html +21 -19
- package/docs/enums/DIRECTION.html +11 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -9
- package/docs/enums/DimensionType.html +9 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -9
- package/docs/enums/PaintBrushTypeEnum.html +10 -8
- package/docs/enums/Rotation.html +10 -8
- package/docs/functions/CSS3DRenderPlugin.html +6 -4
- package/docs/functions/CameraMovementPlugin.html +6 -4
- package/docs/functions/CruisePlugin.html +6 -4
- package/docs/functions/GuideLinePlugin.html +7 -5
- package/docs/functions/ItemLabelPlugin.html +6 -4
- package/docs/functions/MapviewFloorplanPlugin.html +6 -4
- package/docs/functions/ModelChassisCompassPlugin.html +6 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -4
- package/docs/functions/ModelFloorplanPlugin.html +6 -4
- package/docs/functions/ModelItemLabelPlugin.html +6 -4
- package/docs/functions/ModelRoomLabelPlugin.html +6 -4
- package/docs/functions/ModelTVVideoPlugin.html +6 -4
- package/docs/functions/ModelViewPlugin.html +6 -4
- package/docs/functions/Object3DHelperPlugin.html +6 -4
- package/docs/functions/PanoCompassPlugin.html +6 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -4
- package/docs/functions/PanoDoorLabelPlugin.html +6 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -4
- package/docs/functions/PanoMeasurePlugin.html +6 -4
- package/docs/functions/PanoRulerPlugin.html +6 -4
- package/docs/functions/PanoRulerProPlugin.html +6 -4
- package/docs/functions/PanoSpatialTagPlugin.html +6 -4
- package/docs/functions/PanoTagPlugin.html +6 -4
- package/docs/functions/PanoVideoPlugin.html +6 -4
- package/docs/functions/TopviewFloorplanPlugin.html +6 -4
- package/docs/functions/Util.getCoordsFromClient.html +7 -5
- package/docs/functions/Util.getCoordsFromElement.html +7 -5
- package/docs/functions/Util.getFrameTime.html +7 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +7 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +7 -5
- package/docs/functions/Util.isAbsoluteURL.html +7 -5
- package/docs/functions/Util.isModelLike.html +7 -5
- package/docs/functions/Util.isNil.html +7 -5
- package/docs/functions/Util.isPanoramaLike.html +7 -5
- package/docs/functions/Util.nextFrame.html +20 -7
- package/docs/functions/Util.notNil.html +7 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +7 -5
- package/docs/functions/Util.tweenProgress.html +9 -18
- package/docs/functions/Util.uuid.html +7 -5
- package/docs/functions/pluginFlag.html +7 -5
- package/docs/index.html +6 -4
- package/docs/interfaces/AddTagConfig.html +8 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +107 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +112 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +429 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +129 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +151 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +153 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +102 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +83 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +148 -0
- package/docs/interfaces/EventMap.html +17 -15
- package/docs/interfaces/FloorplanBounding.html +10 -8
- package/docs/interfaces/FloorplanData.html +12 -10
- package/docs/interfaces/FloorplanEntrance.html +13 -11
- package/docs/interfaces/FloorplanExtraObject.html +12 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -8
- package/docs/interfaces/FloorplanFloorData.html +11 -9
- package/docs/interfaces/FloorplanImagePosition.html +9 -7
- package/docs/interfaces/FloorplanObserver.html +11 -9
- package/docs/interfaces/FloorplanOutlineItem.html +11 -9
- package/docs/interfaces/FloorplanPosition.html +9 -7
- package/docs/interfaces/FloorplanRoomItem.html +15 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -7
- package/docs/interfaces/FloorplanServerBounding.html +10 -8
- package/docs/interfaces/FloorplanServerComputedData.html +12 -10
- package/docs/interfaces/FloorplanServerData.html +9 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -8
- package/docs/interfaces/FloorplanServerEntrance.html +13 -11
- package/docs/interfaces/FloorplanServerFloorData.html +11 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -7
- package/docs/interfaces/FloorplanServerObserver.html +11 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -9
- package/docs/interfaces/FloorplanServerPosition.html +9 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +16 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +102 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +259 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +93 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +88 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +127 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +86 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +179 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +209 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +293 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +77 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +72 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +83 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +93 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +104 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +93 -0
- package/docs/interfaces/HelperOffset.html +10 -8
- package/docs/interfaces/ImagePlaneGroup.html +8 -6
- package/docs/interfaces/ItemLabelPluginData.html +8 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -9
- package/docs/interfaces/MinMax.html +9 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -6
- package/docs/interfaces/ModelViewPluginExportType.html +13 -11
- package/docs/interfaces/Object3DHelperState.html +10 -8
- package/docs/interfaces/ObjectHelperControllers.html +11 -9
- package/docs/interfaces/PaintBrushAction.html +14 -12
- package/docs/interfaces/PaintBrushConfigs.html +14 -12
- package/docs/interfaces/PaintBrushState.html +12 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -5
- package/docs/interfaces/PanoMeasureParameterType.html +16 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -7
- package/docs/interfaces/PanoRulerProPluginState.html +10 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +17 -15
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -10
- package/docs/interfaces/Point.html +10 -8
- package/docs/interfaces/Room.html +11 -9
- package/docs/interfaces/RoomInfo.html +9 -7
- package/docs/interfaces/RoomLabel.html +16 -14
- package/docs/interfaces/RoomRules.html +7 -5
- package/docs/interfaces/Rooms.html +7 -5
- package/docs/interfaces/Scissor.html +11 -9
- package/docs/interfaces/State.html +10 -8
- package/docs/interfaces/TagCacheInterface.html +14 -12
- package/docs/interfaces/TagConfig.html +13 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -6
- package/docs/interfaces/TagIconUrl.html +28 -17
- package/docs/interfaces/TagObjectGroup.html +8 -6
- package/docs/interfaces/TagStyle.html +8 -6
- package/docs/interfaces/Tags.html +11 -9
- package/docs/interfaces/TemporaryState.html +8 -6
- package/docs/interfaces/Util.MagnifierParameter.html +13 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +10 -8
- package/docs/modules/CruisePluginTypes.html +88 -0
- package/docs/modules/GuideLineItem.html +7 -5
- package/docs/modules/GuideLineModeItem.html +7 -5
- package/docs/modules/GuideLinePluginType.html +108 -0
- package/docs/modules/PanoVideoPluginType.html +7 -5
- package/docs/modules/Util.html +7 -5
- package/docs/modules.html +9 -5
- package/docs/types/ArrayPosition.html +7 -5
- package/docs/types/AudioAppearance.html +7 -5
- package/docs/types/AudioTagTypeConfigKey.html +7 -5
- package/docs/types/CSS3DRenderExportType.html +7 -5
- package/docs/types/CSS3DRenderPluginExportType.html +7 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -5
- package/docs/types/ClassFunctionParameters.html +7 -5
- package/docs/types/Color.html +7 -5
- package/docs/types/ContentTypeConfigKey.html +7 -5
- package/docs/types/ContentTypeConfigKeySplit.html +7 -5
- package/docs/types/ContentTypeMap.html +7 -5
- package/docs/types/Create3DDomContainerReturnType.html +7 -5
- package/docs/types/Create3DElementReturnType.html +7 -5
- package/docs/types/CruisePluginExportType.html +7 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +60 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +60 -0
- package/docs/types/Direction-1.html +7 -5
- package/docs/types/Direction4.html +7 -5
- package/docs/types/FloorplanRuleLabels.html +7 -5
- package/docs/types/FloorplanServerRuleLabels.html +7 -5
- package/docs/types/GuideLinePluginExportType.html +7 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +72 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +105 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +70 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +72 -0
- package/docs/types/GuideLinePluginType.PathItem.html +72 -0
- package/docs/types/GuideLinePluginType.PluginData.html +70 -0
- package/docs/types/HelperEventMap.html +7 -5
- package/docs/types/LoadTagConfig.html +7 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -5
- package/docs/types/MediaData.html +7 -5
- package/docs/types/MediaStore.html +7 -5
- package/docs/types/ModelElement.html +7 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -5
- package/docs/types/MoveArgs.html +7 -5
- package/docs/types/MoveOpts.html +7 -5
- package/docs/types/Object3DHelperEventMap.html +7 -5
- package/docs/types/ObjectFit.html +7 -5
- package/docs/types/PaintBrushEventMap.html +7 -5
- package/docs/types/PanoCompassPluginData.html +7 -5
- package/docs/types/PanoCompassPluginExportType.html +7 -5
- package/docs/types/PanoCompassPluginParameterType.html +7 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -5
- package/docs/types/PanoIndex.html +7 -5
- package/docs/types/PanoMeasurePluginEvent.html +7 -5
- package/docs/types/PanoMeasureReturnType.html +7 -5
- package/docs/types/PanoSpatialTagPluginId.html +7 -5
- package/docs/types/PanoTagPluginExportInterface.html +7 -5
- package/docs/types/PanoTagPluginParamsInterface.html +7 -5
- package/docs/types/PanoVideoPluginParameterType.html +7 -5
- package/docs/types/PanoVideoPluginReturnType.html +7 -5
- package/docs/types/PlaneTag.html +7 -5
- package/docs/types/PlaneTagElement.html +7 -5
- package/docs/types/Point2DElement.html +7 -5
- package/docs/types/Point2DTag.html +7 -5
- package/docs/types/Point3DElement.html +7 -5
- package/docs/types/Point3DTag.html +7 -5
- package/docs/types/PointTag.html +7 -5
- package/docs/types/PointTagElement.html +7 -5
- package/docs/types/Position.html +7 -5
- package/docs/types/RotateArgs.html +7 -5
- package/docs/types/RotateOpts.html +7 -5
- package/docs/types/RuleLabelsKey.html +7 -5
- package/docs/types/RuleLabelsValue.html +7 -5
- package/docs/types/StickType.html +7 -5
- package/docs/types/Tag.html +7 -5
- package/docs/types/Tag2D.html +7 -5
- package/docs/types/Tag3D.html +7 -5
- package/docs/types/TagContentType.html +7 -5
- package/docs/types/TagDimensionType.html +7 -5
- package/docs/types/TagElement.html +7 -5
- package/docs/types/TagEvents.html +7 -5
- package/docs/types/TagGLTFObject.html +7 -5
- package/docs/types/TagHooks.html +7 -5
- package/docs/types/TagIconSize.html +7 -5
- package/docs/types/TagId.html +7 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -5
- package/docs/types/WorkCode.html +7 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -5
- package/docs/variables/PLUGIN.html +7 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -5
- package/docs/variables/ROOM_TYPE_MAP.html +7 -5
- package/docs/variables/itemLabelPluginServerParams.html +7 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -5
- package/libs/CSS3DRenderPlugin/Controller.js +47 -13
- package/libs/CSS3DRenderPlugin/index.js +6 -8
- package/libs/CSS3DRenderPlugin/utils/even.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +37 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +22 -18
- package/libs/CameraMovementPlugin/index.js +7 -9
- package/libs/CruisePlugin/Controller.js +350 -135
- package/libs/CruisePlugin/index.d.ts +2 -0
- package/libs/CruisePlugin/index.js +123 -11
- package/libs/CruisePlugin/typing/index.js +6 -0
- package/libs/CruisePlugin/typing.d.ts +35 -40
- package/libs/CruisePlugin/utils/coordinatesToVector.js +3 -0
- package/libs/GuideLinePlugin/Components/Tag.js +50 -0
- package/libs/GuideLinePlugin/Controller.d.ts +6 -3
- package/libs/GuideLinePlugin/Controller.js +237 -103
- package/libs/GuideLinePlugin/GuideLineItem/index.js +109 -22
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +6 -0
- package/libs/GuideLinePlugin/GuideLineItem.js +134 -7
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +192 -69
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +45 -4
- package/libs/GuideLinePlugin/GuideLineModeItem.js +116 -4
- package/libs/GuideLinePlugin/index.d.ts +2 -1
- package/libs/GuideLinePlugin/index.js +133 -13
- package/libs/GuideLinePlugin/typing.d.ts +36 -5
- package/libs/GuideLinePlugin/typing.js +32 -1
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -1
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +40 -26
- package/libs/GuideLinePlugin/utils/getPoint.js +4 -0
- package/libs/GuideLinePlugin/utils/index.d.ts +6 -0
- package/libs/GuideLinePlugin/utils/index.js +30 -10
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +83 -34
- package/libs/ItemLabelPlugin/ItemLabelItem.js +91 -14
- package/libs/ItemLabelPlugin/Plugin.js +2 -2
- package/libs/ItemLabelPlugin/index.js +8 -9
- package/libs/ModelChassisCompassPlugin/Plugin.js +25 -25
- package/libs/ModelChassisCompassPlugin/index.js +3 -4
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +14 -14
- package/libs/ModelEntryDoorGuidePlugin/index.js +3 -4
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +46 -10
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +60 -7
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +3 -3
- package/libs/ModelItemLabelPlugin/index.js +6 -7
- package/libs/ModelRoomLabelPlugin/Controller.js +18 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +58 -4
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +50 -20
- package/libs/ModelTVVideoPlugin/Plugin.js +6 -8
- package/libs/ModelTVVideoPlugin/index.js +6 -9
- package/libs/ModelViewPlugin/Plugin.js +3 -3
- package/libs/ModelViewPlugin/index.js +3 -4
- package/libs/Object3DHelperPlugin/Controller.js +62 -42
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +2 -1
- package/libs/Object3DHelperPlugin/index.js +7 -9
- package/libs/PanoCompassPlugin/Controller.js +54 -4
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -1
- package/libs/PanoCompassPlugin/index.js +3 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +37 -12
- package/libs/PanoDoorLabelPlugin/Controller.js +9 -6
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +39 -13
- package/libs/PanoDoorLabelPlugin/index.js +5 -7
- package/libs/PanoMeasurePlugin/Controller/EditController.js +22 -4
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +9 -5
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/index.js +42 -12
- package/libs/PanoMeasurePlugin/Model/index.js +4 -4
- package/libs/PanoMeasurePlugin/Model/line.js +8 -8
- package/libs/PanoMeasurePlugin/Model/polyline.js +25 -24
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +2 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +21 -20
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +14 -10
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +6 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +15 -12
- package/libs/PanoMeasurePlugin/index.js +14 -15
- package/libs/PanoMeasurePlugin/typings/index.js +1 -3
- package/libs/PanoRulerPlugin/Plugin.js +54 -54
- package/libs/PanoRulerPlugin/index.js +3 -4
- package/libs/PanoRulerProPlugin/Controller.js +14 -15
- package/libs/PanoRulerProPlugin/RulerItem.js +134 -45
- package/libs/PanoRulerProPlugin/RulerItems.js +49 -40
- package/libs/PanoRulerProPlugin/index.js +4 -5
- package/libs/PanoSpatialTagPlugin/Components/origins.js +47 -8
- package/libs/PanoSpatialTagPlugin/Components/tag.js +79 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +5 -7
- package/libs/PanoSpatialTagPlugin/index.js +4 -7
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +45 -20
- package/libs/PanoTagPlugin/Components/Common/Audio.js +46 -8
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +218 -54
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +64 -11
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +50 -27
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +151 -26
- package/libs/PanoTagPlugin/Components/Common/Media.js +222 -89
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +171 -22
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +100 -28
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +90 -11
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +66 -13
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +69 -27
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +87 -13
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +29 -6
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +99 -14
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +169 -44
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +31 -6
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +11 -4
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +90 -35
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +33 -7
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +174 -35
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +76 -24
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +87 -14
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +84 -17
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +23 -6
- package/libs/PanoTagPlugin/Components/Tag/index.js +265 -41
- package/libs/PanoTagPlugin/Components/TagContainer.js +111 -58
- package/libs/PanoTagPlugin/Components/TagItem.js +247 -71
- package/libs/PanoTagPlugin/controller/TagCache.js +21 -19
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/TagComputer.js +45 -18
- package/libs/PanoTagPlugin/controller/TagRender.js +46 -15
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +5 -5
- package/libs/PanoTagPlugin/controller/TagUtil.js +25 -9
- package/libs/PanoTagPlugin/controller/index.js +95 -33
- package/libs/PanoTagPlugin/index.js +18 -19
- package/libs/PanoTagPlugin/tag.config.js +4 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -1
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +7 -7
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +4 -0
- package/libs/PanoTagPlugin/utils/tagPosition.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +53 -39
- package/libs/PanoVideoPlugin/VideoMeshController.js +89 -43
- package/libs/PanoVideoPlugin/index.js +6 -7
- package/libs/_commonjsHelpers.js +4 -0
- package/libs/base/BasePlugin.js +23 -15
- package/libs/base/BasePluginWithData.js +2 -2
- package/libs/components/PaintBrush/Controller.js +15 -4
- package/libs/components/PaintBrush/Subscribe.js +37 -0
- package/libs/components/PaintBrush/index.js +17 -4
- package/libs/components/PaintBrush/tween.js +2 -2
- package/libs/components/index.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +24 -6
- package/libs/floorplan/Components/Camera.js +73 -27
- package/libs/floorplan/Components/Compass.js +20 -3
- package/libs/floorplan/Components/CurrentFloor.js +189 -50
- package/libs/floorplan/Components/Main.js +202 -54
- package/libs/floorplan/Components/Normalmage.js +5 -2
- package/libs/floorplan/Components/RoomHighlight/Room.js +38 -5
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +105 -58
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +91 -18
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +106 -37
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +42 -13
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +15 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -3
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +125 -51
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +80 -15
- package/libs/floorplan/Components/SvgImage.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +117 -75
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +96 -53
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +43 -15
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -22
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +61 -39
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +128 -33
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +39 -36
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -6
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +83 -63
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -6
- package/libs/floorplan/index.js +1 -3
- package/libs/floorplan/typings/floorplanServerData.js +80 -80
- package/libs/index.js +138 -127
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +29 -1
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +10 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +5 -2
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +9 -8
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +4 -1
- package/libs/shared-utils/Object3DHelper/index.js +15 -0
- package/libs/shared-utils/Subscribe.js +38 -1
- package/libs/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/libs/shared-utils/animationFrame/BetterTween.js +19 -12
- package/libs/shared-utils/animationFrame/index.d.ts +1 -1
- package/libs/shared-utils/animationFrame/index.js +14 -14
- package/libs/shared-utils/animationFrame/tween.d.ts +32 -23
- package/libs/shared-utils/animationFrame/tween.js +15 -15
- package/libs/shared-utils/audio.js +9 -9
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
- package/libs/shared-utils/createCanvasTextTexture.js +3 -3
- package/libs/shared-utils/five/changeMode.d.ts +2 -4
- package/libs/shared-utils/five/changeMode.js +37 -28
- package/libs/shared-utils/index.js +15 -15
- package/libs/shared-utils/log.js +2 -2
- package/libs/shared-utils/math/Interval.js +2 -0
- package/libs/shared-utils/math/Rectangle.js +2 -0
- package/libs/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/libs/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/libs/shared-utils/three/FivePointSelector.js +1 -1
- package/libs/shared-utils/three/Magnifier.js +10 -7
- package/libs/shared-utils/three/PointDomHelper.js +11 -10
- package/libs/shared-utils/three/index.js +1 -2
- package/libs/shared-utils/three/loadTexture.js +10 -10
- package/libs/shared-utils/threex/domevents/index.js +2 -2
- package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +403 -0
- package/libs/vendor/classnames/index.js +47 -0
- package/libs/vendor/easy-reactive/main.js +3 -0
- package/libs/vendor/{simply-reactive → easy-reactive}/src/simply-reactive.js +8 -8
- package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/object.js +1 -1
- package/libs/vendor/gl-vec2/add.js +7 -0
- package/libs/vendor/gl-vec2/dot.js +7 -0
- package/libs/vendor/gl-vec2/normalize.js +8 -0
- package/libs/vendor/gl-vec2/set.js +7 -0
- package/libs/vendor/gl-vec2/subtract.js +7 -0
- package/libs/vendor/lodash.clonedeep/index.js +457 -0
- package/libs/vendor/lodash.get/index.js +236 -0
- package/libs/vendor/lodash.isequal/index.js +489 -0
- package/libs/vendor/object-assign-deep/objectAssignDeep.js +62 -0
- package/libs/vendor/polyline-miter-util/index.js +18 -0
- package/libs/vendor/polyline-normals/index.js +28 -0
- package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +155 -134
- package/libs/vendor/svelte/easing/index.js +4 -5
- package/libs/vendor/svelte/index.js +1 -1
- package/libs/vendor/svelte/internal/index.js +412 -388
- package/libs/vendor/svelte/store/index.js +6 -6
- package/libs/vendor/svelte/transition/index.js +23 -20
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -3
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +338 -71
- package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +7 -1
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +19 -3
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +30 -7
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +15 -3
- package/libs/vendor/svelte-carousel/src/utils/clones.js +1 -0
- package/libs/vendor/svelte-carousel/src/utils/lazy.js +3 -0
- package/package.json +11 -13
- package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +0 -4
- package/libs/vendor/simply-reactive/main.js +0 -3
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/subscription.js +0 -0
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/watcher.js +0 -0
|
@@ -46,22 +46,41 @@ function T(e) {
|
|
|
46
46
|
e[1] = e[19].width, e[16] = e[19].height, e[17] = e[19].steps, e[18] = e[19].duration;
|
|
47
47
|
}
|
|
48
48
|
function U(e) {
|
|
49
|
-
let i, o, t, n =
|
|
49
|
+
let i, o, t, n = (
|
|
50
|
+
/*shadow*/
|
|
51
|
+
e[0] && A()
|
|
52
|
+
);
|
|
50
53
|
function r(a, d) {
|
|
51
|
-
return
|
|
54
|
+
return (
|
|
55
|
+
/*isKeyframe*/
|
|
56
|
+
a[8] ? he : me
|
|
57
|
+
);
|
|
52
58
|
}
|
|
53
59
|
let m = r(e), u = m(e);
|
|
54
60
|
return {
|
|
55
61
|
c() {
|
|
56
|
-
i = R("div"), n && n.c(), o = oe(), u.c(), p(i, "class", "icon"), c(
|
|
62
|
+
i = R("div"), n && n.c(), o = oe(), u.c(), p(i, "class", "icon"), c(
|
|
63
|
+
i,
|
|
64
|
+
"width",
|
|
65
|
+
/*width*/
|
|
66
|
+
e[1]
|
|
67
|
+
);
|
|
57
68
|
},
|
|
58
69
|
m(a, d) {
|
|
59
70
|
w(a, i, d), n && n.m(i, null), re(i, o), u.m(i, null), t = !0;
|
|
60
71
|
},
|
|
61
72
|
p(a, d) {
|
|
62
|
-
|
|
73
|
+
/*shadow*/
|
|
74
|
+
a[0] ? n ? d & /*shadow*/
|
|
75
|
+
1 && _(n, 1) : (n = A(), n.c(), _(n, 1), n.m(i, o)) : n && (G(), y(n, 1, 1, () => {
|
|
63
76
|
n = null;
|
|
64
|
-
}), B()), m === (m = r(a)) && u ? u.p(a, d) : (u.d(1), u = m(a), u && (u.c(), u.m(i, null))), d &
|
|
77
|
+
}), B()), m === (m = r(a)) && u ? u.p(a, d) : (u.d(1), u = m(a), u && (u.c(), u.m(i, null))), d & /*width*/
|
|
78
|
+
2 && c(
|
|
79
|
+
i,
|
|
80
|
+
"width",
|
|
81
|
+
/*width*/
|
|
82
|
+
a[1]
|
|
83
|
+
);
|
|
65
84
|
},
|
|
66
85
|
i(a) {
|
|
67
86
|
t || (_(n), t = !0);
|
|
@@ -112,9 +131,16 @@ function me(e) {
|
|
|
112
131
|
value: 19
|
|
113
132
|
};
|
|
114
133
|
return q(
|
|
115
|
-
o =
|
|
116
|
-
|
|
117
|
-
|
|
134
|
+
o = /*getImage*/
|
|
135
|
+
e[11](W({
|
|
136
|
+
url: (
|
|
137
|
+
/*iconUrl*/
|
|
138
|
+
e[7]
|
|
139
|
+
),
|
|
140
|
+
ratio: (
|
|
141
|
+
/*iconRatio*/
|
|
142
|
+
e[5]
|
|
143
|
+
)
|
|
118
144
|
})),
|
|
119
145
|
t
|
|
120
146
|
), {
|
|
@@ -125,9 +151,17 @@ function me(e) {
|
|
|
125
151
|
w(n, i, r), t.block.m(n, t.anchor = r), t.mount = () => i.parentNode, t.anchor = i;
|
|
126
152
|
},
|
|
127
153
|
p(n, r) {
|
|
128
|
-
e = n, t.ctx = e, r &
|
|
129
|
-
|
|
130
|
-
|
|
154
|
+
e = n, t.ctx = e, r & /*iconUrl, iconRatio*/
|
|
155
|
+
160 && o !== (o = /*getImage*/
|
|
156
|
+
e[11](W({
|
|
157
|
+
url: (
|
|
158
|
+
/*iconUrl*/
|
|
159
|
+
e[7]
|
|
160
|
+
),
|
|
161
|
+
ratio: (
|
|
162
|
+
/*iconRatio*/
|
|
163
|
+
e[5]
|
|
164
|
+
)
|
|
131
165
|
}))) && q(o, t) || J(t, e, r);
|
|
132
166
|
},
|
|
133
167
|
d(n) {
|
|
@@ -147,11 +181,24 @@ function he(e) {
|
|
|
147
181
|
value: 19
|
|
148
182
|
};
|
|
149
183
|
return q(
|
|
150
|
-
o =
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
184
|
+
o = /*getKeyframe*/
|
|
185
|
+
e[10](W({
|
|
186
|
+
url: (
|
|
187
|
+
/*iconUrl*/
|
|
188
|
+
e[7]
|
|
189
|
+
),
|
|
190
|
+
steps: (
|
|
191
|
+
/*iconSteps*/
|
|
192
|
+
e[2]
|
|
193
|
+
),
|
|
194
|
+
fps: (
|
|
195
|
+
/*iconFps*/
|
|
196
|
+
e[6]
|
|
197
|
+
),
|
|
198
|
+
ratio: (
|
|
199
|
+
/*iconRatio*/
|
|
200
|
+
e[5]
|
|
201
|
+
)
|
|
155
202
|
})),
|
|
156
203
|
t
|
|
157
204
|
), {
|
|
@@ -162,11 +209,25 @@ function he(e) {
|
|
|
162
209
|
w(n, i, r), t.block.m(n, t.anchor = r), t.mount = () => i.parentNode, t.anchor = i;
|
|
163
210
|
},
|
|
164
211
|
p(n, r) {
|
|
165
|
-
e = n, t.ctx = e, r &
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
212
|
+
e = n, t.ctx = e, r & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
213
|
+
228 && o !== (o = /*getKeyframe*/
|
|
214
|
+
e[10](W({
|
|
215
|
+
url: (
|
|
216
|
+
/*iconUrl*/
|
|
217
|
+
e[7]
|
|
218
|
+
),
|
|
219
|
+
steps: (
|
|
220
|
+
/*iconSteps*/
|
|
221
|
+
e[2]
|
|
222
|
+
),
|
|
223
|
+
fps: (
|
|
224
|
+
/*iconFps*/
|
|
225
|
+
e[6]
|
|
226
|
+
),
|
|
227
|
+
ratio: (
|
|
228
|
+
/*iconRatio*/
|
|
229
|
+
e[5]
|
|
230
|
+
)
|
|
170
231
|
}))) && q(o, t) || J(t, e, r);
|
|
171
232
|
},
|
|
172
233
|
d(n) {
|
|
@@ -182,20 +243,42 @@ function pe(e) {
|
|
|
182
243
|
let i, o;
|
|
183
244
|
return {
|
|
184
245
|
c() {
|
|
185
|
-
i = R("img"), p(i, "alt", "tag-icon"), p(i, "class", "icon-image svelte-316sq3"), F(i.src, o =
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
246
|
+
i = R("img"), p(i, "alt", "tag-icon"), p(i, "class", "icon-image svelte-316sq3"), F(i.src, o = /*iconUrl*/
|
|
247
|
+
e[7]) || p(i, "src", o), c(i, "width", g(k({
|
|
248
|
+
originWidth: (
|
|
249
|
+
/*width*/
|
|
250
|
+
e[1]
|
|
251
|
+
),
|
|
252
|
+
scale: (
|
|
253
|
+
/*iconScale*/
|
|
254
|
+
e[4]
|
|
255
|
+
),
|
|
256
|
+
wantedWidth: (
|
|
257
|
+
/*iconWidth*/
|
|
258
|
+
e[3]
|
|
259
|
+
)
|
|
189
260
|
}).width));
|
|
190
261
|
},
|
|
191
262
|
m(t, n) {
|
|
192
263
|
w(t, i, n);
|
|
193
264
|
},
|
|
194
265
|
p(t, n) {
|
|
195
|
-
M(t), n &
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
266
|
+
M(t), n & /*iconUrl*/
|
|
267
|
+
128 && !F(i.src, o = /*iconUrl*/
|
|
268
|
+
t[7]) && p(i, "src", o), n & /*iconUrl, iconRatio, iconScale, iconWidth*/
|
|
269
|
+
184 && c(i, "width", g(k({
|
|
270
|
+
originWidth: (
|
|
271
|
+
/*width*/
|
|
272
|
+
t[1]
|
|
273
|
+
),
|
|
274
|
+
scale: (
|
|
275
|
+
/*iconScale*/
|
|
276
|
+
t[4]
|
|
277
|
+
),
|
|
278
|
+
wantedWidth: (
|
|
279
|
+
/*iconWidth*/
|
|
280
|
+
t[3]
|
|
281
|
+
)
|
|
199
282
|
}).width));
|
|
200
283
|
},
|
|
201
284
|
d(t) {
|
|
@@ -211,36 +294,103 @@ function ke(e) {
|
|
|
211
294
|
}
|
|
212
295
|
function we(e) {
|
|
213
296
|
T(e);
|
|
214
|
-
let i, o = `url(${
|
|
297
|
+
let i, o = `url(${/*iconUrl*/
|
|
298
|
+
e[7]})`, t = `steps(${/*steps*/
|
|
299
|
+
e[17]}, jump-none)`;
|
|
215
300
|
return {
|
|
216
301
|
c() {
|
|
217
302
|
i = R("div"), p(i, "class", "icon-keyframe svelte-316sq3"), c(i, "width", g(k({
|
|
218
|
-
originWidth:
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
303
|
+
originWidth: (
|
|
304
|
+
/*width*/
|
|
305
|
+
e[1]
|
|
306
|
+
),
|
|
307
|
+
originHeight: (
|
|
308
|
+
/*height*/
|
|
309
|
+
e[16]
|
|
310
|
+
),
|
|
311
|
+
scale: (
|
|
312
|
+
/*iconScale*/
|
|
313
|
+
e[4]
|
|
314
|
+
),
|
|
315
|
+
wantedWidth: (
|
|
316
|
+
/*iconWidth*/
|
|
317
|
+
e[3]
|
|
318
|
+
)
|
|
222
319
|
}).width)), c(i, "height", g(k({
|
|
223
|
-
originWidth:
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
320
|
+
originWidth: (
|
|
321
|
+
/*width*/
|
|
322
|
+
e[1]
|
|
323
|
+
),
|
|
324
|
+
originHeight: (
|
|
325
|
+
/*height*/
|
|
326
|
+
e[16]
|
|
327
|
+
),
|
|
328
|
+
scale: (
|
|
329
|
+
/*iconScale*/
|
|
330
|
+
e[4]
|
|
331
|
+
),
|
|
332
|
+
wantedWidth: (
|
|
333
|
+
/*iconWidth*/
|
|
334
|
+
e[3]
|
|
335
|
+
)
|
|
336
|
+
}).height)), c(i, "background-image", o), c(
|
|
337
|
+
i,
|
|
338
|
+
"animation-duration",
|
|
339
|
+
/*duration*/
|
|
340
|
+
e[18]
|
|
341
|
+
), c(i, "animation-timing-function", t);
|
|
228
342
|
},
|
|
229
343
|
m(n, r) {
|
|
230
344
|
w(n, i, r);
|
|
231
345
|
},
|
|
232
346
|
p(n, r) {
|
|
233
|
-
T(n), r &
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
347
|
+
T(n), r & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
348
|
+
252 && c(i, "width", g(k({
|
|
349
|
+
originWidth: (
|
|
350
|
+
/*width*/
|
|
351
|
+
n[1]
|
|
352
|
+
),
|
|
353
|
+
originHeight: (
|
|
354
|
+
/*height*/
|
|
355
|
+
n[16]
|
|
356
|
+
),
|
|
357
|
+
scale: (
|
|
358
|
+
/*iconScale*/
|
|
359
|
+
n[4]
|
|
360
|
+
),
|
|
361
|
+
wantedWidth: (
|
|
362
|
+
/*iconWidth*/
|
|
363
|
+
n[3]
|
|
364
|
+
)
|
|
365
|
+
}).width)), r & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
366
|
+
252 && c(i, "height", g(k({
|
|
367
|
+
originWidth: (
|
|
368
|
+
/*width*/
|
|
369
|
+
n[1]
|
|
370
|
+
),
|
|
371
|
+
originHeight: (
|
|
372
|
+
/*height*/
|
|
373
|
+
n[16]
|
|
374
|
+
),
|
|
375
|
+
scale: (
|
|
376
|
+
/*iconScale*/
|
|
377
|
+
n[4]
|
|
378
|
+
),
|
|
379
|
+
wantedWidth: (
|
|
380
|
+
/*iconWidth*/
|
|
381
|
+
n[3]
|
|
382
|
+
)
|
|
383
|
+
}).height)), r & /*iconUrl*/
|
|
384
|
+
128 && o !== (o = `url(${/*iconUrl*/
|
|
385
|
+
n[7]})`) && c(i, "background-image", o), r & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
386
|
+
228 && c(
|
|
387
|
+
i,
|
|
388
|
+
"animation-duration",
|
|
389
|
+
/*duration*/
|
|
390
|
+
n[18]
|
|
391
|
+
), r & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
392
|
+
228 && t !== (t = `steps(${/*steps*/
|
|
393
|
+
n[17]}, jump-none)`) && c(i, "animation-timing-function", t);
|
|
244
394
|
},
|
|
245
395
|
d(n) {
|
|
246
396
|
n && b(i);
|
|
@@ -251,7 +401,10 @@ function be(e) {
|
|
|
251
401
|
return { c: s, m: s, p: s, d: s };
|
|
252
402
|
}
|
|
253
403
|
function ye(e) {
|
|
254
|
-
let i, o, t =
|
|
404
|
+
let i, o, t = (
|
|
405
|
+
/*iconCopy*/
|
|
406
|
+
e[9] && U(e)
|
|
407
|
+
);
|
|
255
408
|
return {
|
|
256
409
|
c() {
|
|
257
410
|
t && t.c(), i = N();
|
|
@@ -260,7 +413,9 @@ function ye(e) {
|
|
|
260
413
|
t && t.m(n, r), w(n, i, r), o = !0;
|
|
261
414
|
},
|
|
262
415
|
p(n, [r]) {
|
|
263
|
-
|
|
416
|
+
/*iconCopy*/
|
|
417
|
+
n[9] ? t ? (t.p(n, r), r & /*iconCopy*/
|
|
418
|
+
512 && _(t, 1)) : (t = U(n), t.c(), _(t, 1), t.m(i.parentNode, i)) : t && (G(), y(t, 1, 1, () => {
|
|
264
419
|
t = null;
|
|
265
420
|
}), B());
|
|
266
421
|
},
|
|
@@ -305,14 +460,23 @@ function We(e, i, o) {
|
|
|
305
460
|
"width" in f && o(1, H = f.width), "icon" in f && o(12, l = f.icon), "shadow" in f && o(0, j = f.shadow);
|
|
306
461
|
}, e.$$.update = () => {
|
|
307
462
|
var f, h;
|
|
308
|
-
e.$$.dirty &
|
|
463
|
+
e.$$.dirty & /*icon*/
|
|
464
|
+
4096 && o(7, t = l == null ? void 0 : l.url), e.$$.dirty & /*icon*/
|
|
465
|
+
4096 && o(2, n = (f = l == null ? void 0 : l.steps) != null ? f : 1), e.$$.dirty & /*icon*/
|
|
466
|
+
4096 && o(6, r = l == null ? void 0 : l.fps), e.$$.dirty & /*icon*/
|
|
467
|
+
4096 && o(5, m = l == null ? void 0 : l.ratio), e.$$.dirty & /*icon*/
|
|
468
|
+
4096 && o(4, u = (h = l == null ? void 0 : l.scale) != null ? h : 1), e.$$.dirty & /*icon*/
|
|
469
|
+
4096 && o(3, a = l == null ? void 0 : l.width), e.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
470
|
+
252 && o(9, d = W({
|
|
309
471
|
url: t,
|
|
310
472
|
steps: n,
|
|
311
473
|
fps: r,
|
|
312
474
|
ratio: m,
|
|
313
475
|
scale: u,
|
|
314
476
|
width: a
|
|
315
|
-
})), e.$$.dirty &
|
|
477
|
+
})), e.$$.dirty & /*iconSteps*/
|
|
478
|
+
4 && o(8, v = n > 1), e.$$.dirty & /*width*/
|
|
479
|
+
2 && (I = H);
|
|
316
480
|
}, z(), [
|
|
317
481
|
j,
|
|
318
482
|
H,
|
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 d, toggle_class as h, set_style as c, insert as S, append as _, transition_in as v, 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
2
|
import I from "../../../utils/px2rem.js";
|
|
3
3
|
import T from "../Shadow.js";
|
|
4
4
|
import "../../../../vendor/svelte/transition/index.js";
|
|
@@ -22,7 +22,7 @@ function y(i) {
|
|
|
22
22
|
B(t, n, r), a = !0;
|
|
23
23
|
},
|
|
24
24
|
i(n) {
|
|
25
|
-
a || (
|
|
25
|
+
a || (v(t.$$.fragment, n), a = !0);
|
|
26
26
|
},
|
|
27
27
|
o(n) {
|
|
28
28
|
m(t.$$.fragment, n), a = !1;
|
|
@@ -33,21 +33,73 @@ function y(i) {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
function D(i) {
|
|
36
|
-
let t, a, n, r, p, e =
|
|
36
|
+
let t, a, n, r, p, e = (
|
|
37
|
+
/*shadow*/
|
|
38
|
+
i[1] && y()
|
|
39
|
+
);
|
|
37
40
|
return {
|
|
38
41
|
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>',
|
|
42
|
+
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>', d(r, "class", "sound-wave__container svelte-srt2pi"), d(n, "class", "audio-icon svelte-srt2pi"), h(
|
|
43
|
+
n,
|
|
44
|
+
"playing",
|
|
45
|
+
/*playing*/
|
|
46
|
+
i[0]
|
|
47
|
+
), d(t, "class", "audio-icon__wrapper svelte-srt2pi"), d(
|
|
48
|
+
t,
|
|
49
|
+
"style",
|
|
50
|
+
/*style*/
|
|
51
|
+
i[2]
|
|
52
|
+
), c(
|
|
53
|
+
t,
|
|
54
|
+
"width",
|
|
55
|
+
/*styleWidth*/
|
|
56
|
+
i[5]
|
|
57
|
+
), c(
|
|
58
|
+
t,
|
|
59
|
+
"height",
|
|
60
|
+
/*styleWidth*/
|
|
61
|
+
i[5]
|
|
62
|
+
);
|
|
40
63
|
},
|
|
41
64
|
m(s, l) {
|
|
42
65
|
S(s, t, l), e && e.m(t, null), _(t, a), _(t, n), _(n, r), i[7](r), i[8](t), p = !0;
|
|
43
66
|
},
|
|
44
67
|
p(s, [l]) {
|
|
45
|
-
|
|
68
|
+
/*shadow*/
|
|
69
|
+
s[1] ? e ? l & /*shadow*/
|
|
70
|
+
2 && v(e, 1) : (e = y(), e.c(), v(e, 1), e.m(t, a)) : e && (H(), m(e, 1, 1, () => {
|
|
46
71
|
e = null;
|
|
47
|
-
}), W()), (!p || l &
|
|
72
|
+
}), W()), (!p || l & /*playing*/
|
|
73
|
+
1) && h(
|
|
74
|
+
n,
|
|
75
|
+
"playing",
|
|
76
|
+
/*playing*/
|
|
77
|
+
s[0]
|
|
78
|
+
), (!p || l & /*style*/
|
|
79
|
+
4) && d(
|
|
80
|
+
t,
|
|
81
|
+
"style",
|
|
82
|
+
/*style*/
|
|
83
|
+
s[2]
|
|
84
|
+
);
|
|
85
|
+
const u = l & /*style*/
|
|
86
|
+
4;
|
|
87
|
+
(u || l & /*styleWidth, style*/
|
|
88
|
+
36) && c(
|
|
89
|
+
t,
|
|
90
|
+
"width",
|
|
91
|
+
/*styleWidth*/
|
|
92
|
+
s[5]
|
|
93
|
+
), (u || l & /*styleWidth, style*/
|
|
94
|
+
36) && c(
|
|
95
|
+
t,
|
|
96
|
+
"height",
|
|
97
|
+
/*styleWidth*/
|
|
98
|
+
s[5]
|
|
99
|
+
);
|
|
48
100
|
},
|
|
49
101
|
i(s) {
|
|
50
|
-
p || (
|
|
102
|
+
p || (v(e), p = !0);
|
|
51
103
|
},
|
|
52
104
|
o(s) {
|
|
53
105
|
m(e), p = !1;
|
|
@@ -58,10 +110,10 @@ function D(i) {
|
|
|
58
110
|
};
|
|
59
111
|
}
|
|
60
112
|
function E(i, t, a) {
|
|
61
|
-
let n, { playing: r } = t, { shadow: p = !1 } = t, { style: e = null } = t, { width: s = "100%" } = t, l,
|
|
113
|
+
let n, { playing: r } = t, { shadow: p = !1 } = t, { style: e = null } = t, { width: s = "100%" } = t, l, u;
|
|
62
114
|
function g(o) {
|
|
63
115
|
w[o ? "unshift" : "push"](() => {
|
|
64
|
-
|
|
116
|
+
u = o, a(4, u);
|
|
65
117
|
});
|
|
66
118
|
}
|
|
67
119
|
function k(o) {
|
|
@@ -72,13 +124,14 @@ function E(i, t, a) {
|
|
|
72
124
|
return i.$$set = (o) => {
|
|
73
125
|
"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
126
|
}, i.$$.update = () => {
|
|
75
|
-
i.$$.dirty &
|
|
127
|
+
i.$$.dirty & /*width*/
|
|
128
|
+
64 && a(5, n = typeof s == "number" ? I(s) : s);
|
|
76
129
|
}, [
|
|
77
130
|
r,
|
|
78
131
|
p,
|
|
79
132
|
e,
|
|
80
133
|
l,
|
|
81
|
-
|
|
134
|
+
u,
|
|
82
135
|
n,
|
|
83
136
|
s,
|
|
84
137
|
g,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as p, init as b, safe_not_equal as v, append_styles as D, svg_element as
|
|
1
|
+
import { SvelteComponent as p, init as b, safe_not_equal as v, append_styles as D, svg_element as s, attr as r, 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
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";
|
|
@@ -6,32 +6,45 @@ function q(n) {
|
|
|
6
6
|
D(n, "svelte-blgtit", ".line.svelte-blgtit{width:100%;height:100%;overflow:visible;pointer-events:none}");
|
|
7
7
|
}
|
|
8
8
|
function y(n) {
|
|
9
|
-
let e, a, l,
|
|
9
|
+
let e, a, l, o;
|
|
10
10
|
return {
|
|
11
11
|
c() {
|
|
12
|
-
e =
|
|
12
|
+
e = s("path"), r(e, "fill", "none"), r(e, "stroke", "url(#" + /*defsID*/
|
|
13
|
+
n[4] + ")"), r(e, "stroke-width", "1"), r(e, "d", "M0 21 L14 0.5 L105 0.5");
|
|
13
14
|
},
|
|
14
15
|
m(i, t) {
|
|
15
|
-
h(i, e, t),
|
|
16
|
+
h(i, e, t), o = !0;
|
|
16
17
|
},
|
|
17
18
|
p(i, t) {
|
|
18
19
|
n = i;
|
|
19
20
|
},
|
|
20
21
|
i(i) {
|
|
21
|
-
|
|
22
|
-
l && l.end(1), a = O(e, m, {
|
|
23
|
-
duration:
|
|
24
|
-
|
|
22
|
+
o || (i && k(() => {
|
|
23
|
+
o && (l && l.end(1), a = O(e, m, {
|
|
24
|
+
duration: (
|
|
25
|
+
/*duration*/
|
|
26
|
+
n[1]
|
|
27
|
+
),
|
|
28
|
+
delay: (
|
|
29
|
+
/*inDelay*/
|
|
30
|
+
n[0]
|
|
31
|
+
),
|
|
25
32
|
easing: S
|
|
26
|
-
}), a.start();
|
|
27
|
-
}),
|
|
33
|
+
}), a.start());
|
|
34
|
+
}), o = !0);
|
|
28
35
|
},
|
|
29
36
|
o(i) {
|
|
30
37
|
a && a.invalidate(), i && (l = G(e, m, {
|
|
31
|
-
duration:
|
|
32
|
-
|
|
38
|
+
duration: (
|
|
39
|
+
/*duration*/
|
|
40
|
+
n[1]
|
|
41
|
+
),
|
|
42
|
+
delay: (
|
|
43
|
+
/*outDelay*/
|
|
44
|
+
n[2]
|
|
45
|
+
),
|
|
33
46
|
easing: U
|
|
34
|
-
})),
|
|
47
|
+
})), o = !1;
|
|
35
48
|
},
|
|
36
49
|
d(i) {
|
|
37
50
|
i && g(e), i && l && l.end();
|
|
@@ -39,36 +52,46 @@ function y(n) {
|
|
|
39
52
|
};
|
|
40
53
|
}
|
|
41
54
|
function B(n) {
|
|
42
|
-
let e, a, l,
|
|
55
|
+
let e, a, l, o, i, t = (
|
|
56
|
+
/*unfolded*/
|
|
57
|
+
n[3] && y(n)
|
|
58
|
+
);
|
|
43
59
|
return {
|
|
44
60
|
c() {
|
|
45
|
-
e =
|
|
61
|
+
e = s("svg"), a = s("defs"), l = s("linearGradient"), o = s("stop"), i = s("stop"), t && t.c(), r(o, "offset", "25%"), r(o, "stop-color", "white"), r(o, "stop-opacity", "1"), r(i, "offset", "100%"), r(i, "stop-color", "white"), r(i, "stop-opacity", "0.5"), r(
|
|
62
|
+
l,
|
|
63
|
+
"id",
|
|
64
|
+
/*defsID*/
|
|
65
|
+
n[4]
|
|
66
|
+
), r(l, "gradientUnits", "userSpaceOnUse"), r(e, "class", "line svelte-blgtit"), r(e, "viewBox", "0 0 105 21");
|
|
46
67
|
},
|
|
47
|
-
m(
|
|
48
|
-
h(
|
|
68
|
+
m(u, f) {
|
|
69
|
+
h(u, e, f), d(e, a), d(a, l), d(l, o), d(l, i), t && t.m(e, null);
|
|
49
70
|
},
|
|
50
|
-
p(
|
|
51
|
-
|
|
71
|
+
p(u, [f]) {
|
|
72
|
+
/*unfolded*/
|
|
73
|
+
u[3] ? t ? (t.p(u, f), f & /*unfolded*/
|
|
74
|
+
8 && c(t, 1)) : (t = y(u), t.c(), c(t, 1), t.m(e, null)) : t && (I(), _(t, 1, 1, () => {
|
|
52
75
|
t = null;
|
|
53
76
|
}), w());
|
|
54
77
|
},
|
|
55
|
-
i(
|
|
78
|
+
i(u) {
|
|
56
79
|
c(t);
|
|
57
80
|
},
|
|
58
|
-
o(
|
|
81
|
+
o(u) {
|
|
59
82
|
_(t);
|
|
60
83
|
},
|
|
61
|
-
d(
|
|
62
|
-
|
|
84
|
+
d(u) {
|
|
85
|
+
u && g(e), t && t.d();
|
|
63
86
|
}
|
|
64
87
|
};
|
|
65
88
|
}
|
|
66
89
|
function C(n, e, a) {
|
|
67
|
-
let { inDelay: l = 0 } = e, { duration:
|
|
68
|
-
const
|
|
90
|
+
let { inDelay: l = 0 } = e, { duration: o = 1e3 } = e, { outDelay: i = 0 } = e, { unfolded: t } = e;
|
|
91
|
+
const u = L();
|
|
69
92
|
return n.$$set = (f) => {
|
|
70
|
-
"inDelay" in f && a(0, l = f.inDelay), "duration" in f && a(1,
|
|
71
|
-
}, [l,
|
|
93
|
+
"inDelay" in f && a(0, l = f.inDelay), "duration" in f && a(1, o = f.duration), "outDelay" in f && a(2, i = f.outDelay), "unfolded" in f && a(3, t = f.unfolded);
|
|
94
|
+
}, [l, o, i, t, u];
|
|
72
95
|
}
|
|
73
96
|
class A extends p {
|
|
74
97
|
constructor(e) {
|