@realsee/dnalogel 2.16.0-10 → 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/GuideLinePlugin/Controller.d.ts +4 -3
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
- package/dist/GuideLinePlugin/typing.d.ts +0 -1
- package/dist/index.cjs.js +100 -86
- package/dist/index.js +14560 -7717
- package/dist/index.umd.js +93 -79
- 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/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 +31 -31
- package/docs/classes/CruisePluginController.html +26 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +38 -26
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- package/docs/classes/Util.BetterTween.html +29 -18
- 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 +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- 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/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- 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.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.html +5 -5
- package/docs/functions/Util.nextFrame.html +18 -7
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +7 -18
- package/docs/functions/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/EventMap.html +15 -15
- 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/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -15
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- 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/ObjectHelperControllers.html +9 -9
- 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 +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- 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/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -5
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
- package/docs/types/GuideLinePluginType.PathItem.html +5 -5
- package/docs/types/GuideLinePluginType.PluginData.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -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 +161 -52
- package/libs/CruisePlugin/index.js +36 -30
- package/libs/CruisePlugin/utils/coordinatesToVector.js +3 -0
- package/libs/GuideLinePlugin/Components/Tag.js +14 -2
- package/libs/GuideLinePlugin/Controller.d.ts +4 -3
- package/libs/GuideLinePlugin/Controller.js +119 -100
- package/libs/GuideLinePlugin/GuideLineItem/index.js +6 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +29 -22
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +129 -73
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
- package/libs/GuideLinePlugin/GuideLineModeItem.js +28 -21
- package/libs/GuideLinePlugin/index.js +37 -30
- package/libs/GuideLinePlugin/typing.d.ts +0 -1
- package/libs/GuideLinePlugin/typing.js +7 -9
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +24 -18
- package/libs/GuideLinePlugin/utils/getPoint.js +4 -0
- package/libs/GuideLinePlugin/utils/index.js +17 -14
- 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 +87 -8
- 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 +201 -28
- package/libs/PanoTagPlugin/controller/TagCache.js +21 -19
- package/libs/PanoTagPlugin/controller/TagComputer.js +39 -18
- package/libs/PanoTagPlugin/controller/TagRender.js +46 -15
- package/libs/PanoTagPlugin/controller/TagUtil.js +25 -9
- package/libs/PanoTagPlugin/controller/index.js +90 -28
- package/libs/PanoTagPlugin/index.js +18 -19
- package/libs/PanoTagPlugin/tag.config.js +4 -0
- 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 -64
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/index.js +1 -3
- package/libs/floorplan/typings/floorplanServerData.js +80 -80
- package/libs/index.js +136 -129
- 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.js +11 -11
- 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
|
@@ -16,22 +16,86 @@ function z(n) {
|
|
|
16
16
|
return e = new J({
|
|
17
17
|
props: {
|
|
18
18
|
style: "width: max-content; height: max-content;",
|
|
19
|
-
enable:
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
enable: (
|
|
20
|
+
/*tag*/
|
|
21
|
+
n[0].state.visible
|
|
22
|
+
),
|
|
23
|
+
url: (
|
|
24
|
+
/*tag*/
|
|
25
|
+
n[0].data.audioUrl
|
|
26
|
+
),
|
|
27
|
+
hooksInfo: { tag: (
|
|
28
|
+
/*tag*/
|
|
29
|
+
n[0]
|
|
30
|
+
) },
|
|
22
31
|
$$slots: { default: [O] },
|
|
23
32
|
$$scope: { ctx: n }
|
|
24
33
|
}
|
|
25
|
-
}), e.$on(
|
|
34
|
+
}), e.$on(
|
|
35
|
+
"play",
|
|
36
|
+
/*play_handler*/
|
|
37
|
+
n[6]
|
|
38
|
+
), e.$on(
|
|
39
|
+
"pause",
|
|
40
|
+
/*pause_handler*/
|
|
41
|
+
n[7]
|
|
42
|
+
), e.$on(
|
|
43
|
+
"error",
|
|
44
|
+
/*error_handler*/
|
|
45
|
+
n[8]
|
|
46
|
+
), e.$on(
|
|
47
|
+
"timeupdate",
|
|
48
|
+
/*timeupdate_handler*/
|
|
49
|
+
n[9]
|
|
50
|
+
), e.$on(
|
|
51
|
+
"duration",
|
|
52
|
+
/*duration_handler*/
|
|
53
|
+
n[10]
|
|
54
|
+
), e.$on(
|
|
55
|
+
"audioRef",
|
|
56
|
+
/*audioRef_handler*/
|
|
57
|
+
n[11]
|
|
58
|
+
), {
|
|
26
59
|
c() {
|
|
27
|
-
r = m("div"), t = m("div"), w(e.$$.fragment), p(t, "class", "audio-tag svelte-58hfjf"), _(
|
|
60
|
+
r = m("div"), t = m("div"), w(e.$$.fragment), p(t, "class", "audio-tag svelte-58hfjf"), _(
|
|
61
|
+
t,
|
|
62
|
+
"background-color",
|
|
63
|
+
/*theme*/
|
|
64
|
+
n[4].bgColor
|
|
65
|
+
), _(
|
|
66
|
+
t,
|
|
67
|
+
"color",
|
|
68
|
+
/*theme*/
|
|
69
|
+
n[4].fontColor
|
|
70
|
+
), p(r, "class", "audio-tag__wrapper svelte-58hfjf");
|
|
28
71
|
},
|
|
29
72
|
m(o, i) {
|
|
30
73
|
$(o, r, i), b(r, t), j(e, t, null), a = !0;
|
|
31
74
|
},
|
|
32
75
|
p(o, i) {
|
|
33
76
|
const s = {};
|
|
34
|
-
i &
|
|
77
|
+
i & /*tag*/
|
|
78
|
+
1 && (s.enable = /*tag*/
|
|
79
|
+
o[0].state.visible), i & /*tag*/
|
|
80
|
+
1 && (s.url = /*tag*/
|
|
81
|
+
o[0].data.audioUrl), i & /*tag*/
|
|
82
|
+
1 && (s.hooksInfo = { tag: (
|
|
83
|
+
/*tag*/
|
|
84
|
+
o[0]
|
|
85
|
+
) }), i & /*$$scope, title, playing*/
|
|
86
|
+
8232 && (s.$$scope = { dirty: i, ctx: o }), e.$set(s), i & /*theme*/
|
|
87
|
+
16 && _(
|
|
88
|
+
t,
|
|
89
|
+
"background-color",
|
|
90
|
+
/*theme*/
|
|
91
|
+
o[4].bgColor
|
|
92
|
+
), i & /*theme*/
|
|
93
|
+
16 && _(
|
|
94
|
+
t,
|
|
95
|
+
"color",
|
|
96
|
+
/*theme*/
|
|
97
|
+
o[4].fontColor
|
|
98
|
+
);
|
|
35
99
|
},
|
|
36
100
|
i(o) {
|
|
37
101
|
a || (d(e.$$.fragment, o), a = !0);
|
|
@@ -48,13 +112,21 @@ function L(n) {
|
|
|
48
112
|
let r;
|
|
49
113
|
return {
|
|
50
114
|
c() {
|
|
51
|
-
r = E(
|
|
115
|
+
r = E(
|
|
116
|
+
/*title*/
|
|
117
|
+
n[5]
|
|
118
|
+
);
|
|
52
119
|
},
|
|
53
120
|
m(t, e) {
|
|
54
121
|
$(t, r, e);
|
|
55
122
|
},
|
|
56
123
|
p(t, e) {
|
|
57
|
-
e &
|
|
124
|
+
e & /*title*/
|
|
125
|
+
32 && F(
|
|
126
|
+
r,
|
|
127
|
+
/*title*/
|
|
128
|
+
t[5]
|
|
129
|
+
);
|
|
58
130
|
},
|
|
59
131
|
d(t) {
|
|
60
132
|
t && v(r);
|
|
@@ -63,7 +135,10 @@ function L(n) {
|
|
|
63
135
|
}
|
|
64
136
|
function O(n) {
|
|
65
137
|
let r, t, e, a, o, i, s;
|
|
66
|
-
return e = new G({ props: { playing:
|
|
138
|
+
return e = new G({ props: { playing: (
|
|
139
|
+
/*playing*/
|
|
140
|
+
n[3]
|
|
141
|
+
) } }), i = new H({
|
|
67
142
|
props: {
|
|
68
143
|
maxWidth: 72,
|
|
69
144
|
$$slots: { default: [L] },
|
|
@@ -78,9 +153,12 @@ function O(n) {
|
|
|
78
153
|
},
|
|
79
154
|
p(l, u) {
|
|
80
155
|
const g = {};
|
|
81
|
-
u &
|
|
156
|
+
u & /*playing*/
|
|
157
|
+
8 && (g.playing = /*playing*/
|
|
158
|
+
l[3]), e.$set(g);
|
|
82
159
|
const h = {};
|
|
83
|
-
u &
|
|
160
|
+
u & /*$$scope, title*/
|
|
161
|
+
8224 && (h.$$scope = { dirty: u, ctx: l }), i.$set(h);
|
|
84
162
|
},
|
|
85
163
|
i(l) {
|
|
86
164
|
s || (d(e.$$.fragment, l), d(i.$$.fragment, l), s = !0);
|
|
@@ -94,7 +172,10 @@ function O(n) {
|
|
|
94
172
|
};
|
|
95
173
|
}
|
|
96
174
|
function Q(n) {
|
|
97
|
-
let r, t, e =
|
|
175
|
+
let r, t, e = (
|
|
176
|
+
/*tag*/
|
|
177
|
+
n[0].state && z(n)
|
|
178
|
+
);
|
|
98
179
|
return {
|
|
99
180
|
c() {
|
|
100
181
|
e && e.c(), r = P();
|
|
@@ -103,7 +184,9 @@ function Q(n) {
|
|
|
103
184
|
e && e.m(a, o), $(a, r, o), t = !0;
|
|
104
185
|
},
|
|
105
186
|
p(a, [o]) {
|
|
106
|
-
|
|
187
|
+
/*tag*/
|
|
188
|
+
a[0].state ? e ? (e.p(a, o), o & /*tag*/
|
|
189
|
+
1 && d(e, 1)) : (e = z(a), e.c(), d(e, 1), e.m(r.parentNode, r)) : e && (B(), c(e, 1, 1, () => {
|
|
107
190
|
e = null;
|
|
108
191
|
}), S());
|
|
109
192
|
},
|
|
@@ -149,7 +232,9 @@ function V(n, r, t) {
|
|
|
149
232
|
"tag" in f && t(0, o = f.tag);
|
|
150
233
|
}, n.$$.update = () => {
|
|
151
234
|
var f, C, y;
|
|
152
|
-
n.$$.dirty &
|
|
235
|
+
n.$$.dirty & /*tag*/
|
|
236
|
+
1 && t(5, e = (C = (f = o.data.title) != null ? f : o.data.text) != null ? C : ""), n.$$.dirty & /*tag*/
|
|
237
|
+
1 && t(4, a = (y = i[o.data.theme || "light"]) != null ? y : i.light);
|
|
153
238
|
}, [
|
|
154
239
|
o,
|
|
155
240
|
s,
|
|
@@ -28,52 +28,126 @@ function se(e) {
|
|
|
28
28
|
}
|
|
29
29
|
function j(e) {
|
|
30
30
|
var g, z;
|
|
31
|
-
let i, n, o, t, a, f,
|
|
31
|
+
let i, n, o, t, a, f, d, l, s, p, _, $, U, I;
|
|
32
32
|
n = new H({
|
|
33
33
|
props: {
|
|
34
|
-
visible:
|
|
35
|
-
|
|
34
|
+
visible: (
|
|
35
|
+
/*unfolded*/
|
|
36
|
+
e[6]
|
|
37
|
+
),
|
|
38
|
+
left: (
|
|
39
|
+
/*contentWidth*/
|
|
40
|
+
e[3] / 2 + "px"
|
|
41
|
+
),
|
|
36
42
|
bottom: 12,
|
|
37
43
|
width: 2,
|
|
38
44
|
blurRadius: 120,
|
|
39
45
|
spreadRadius: 60
|
|
40
46
|
}
|
|
41
47
|
});
|
|
42
|
-
let u =
|
|
48
|
+
let u = (
|
|
49
|
+
/*unfolded*/
|
|
50
|
+
e[6] && B(e)
|
|
51
|
+
);
|
|
43
52
|
return s = new re({
|
|
44
53
|
props: {
|
|
45
|
-
visible:
|
|
46
|
-
|
|
47
|
-
|
|
54
|
+
visible: (
|
|
55
|
+
/*unfolded*/
|
|
56
|
+
e[6]
|
|
57
|
+
),
|
|
58
|
+
textUnfolded: (
|
|
59
|
+
/*textUnfolded*/
|
|
60
|
+
e[1]
|
|
61
|
+
),
|
|
62
|
+
content: (
|
|
63
|
+
/*content*/
|
|
64
|
+
e[5]
|
|
65
|
+
)
|
|
48
66
|
}
|
|
49
67
|
}), _ = new oe({
|
|
50
68
|
props: {
|
|
51
|
-
unfolded:
|
|
52
|
-
|
|
53
|
-
|
|
69
|
+
unfolded: (
|
|
70
|
+
/*unfolded*/
|
|
71
|
+
e[6]
|
|
72
|
+
),
|
|
73
|
+
length: (
|
|
74
|
+
/*contentWidth*/
|
|
75
|
+
e[3]
|
|
76
|
+
),
|
|
77
|
+
outDelay: (
|
|
78
|
+
/*foldTextDelay*/
|
|
79
|
+
e[4] + 20 * Math.min(
|
|
80
|
+
/*content*/
|
|
81
|
+
(z = (g = e[5]) == null ? void 0 : g.length) != null ? z : 10,
|
|
82
|
+
15
|
|
83
|
+
)
|
|
84
|
+
),
|
|
54
85
|
useLinearColor: !0
|
|
55
86
|
}
|
|
56
87
|
}), {
|
|
57
88
|
c() {
|
|
58
|
-
i = b("div"), k(n.$$.fragment), o = C(), t = b("div"), a = b("div"), f = b("div"), u && u.c(),
|
|
89
|
+
i = b("div"), k(n.$$.fragment), o = C(), t = b("div"), a = b("div"), f = b("div"), u && u.c(), d = C(), l = b("div"), k(s.$$.fragment), p = C(), k(_.$$.fragment), w(f, "class", "audio-icon svelte-1s6gk4a"), X(l, "display", "inline-block"), w(a, "class", "wrapper svelte-1s6gk4a"), w(t, "class", "content svelte-1s6gk4a"), w(i, "class", "audio-tag svelte-1s6gk4a"), q(
|
|
90
|
+
i,
|
|
91
|
+
"unfolded",
|
|
92
|
+
/*unfolded*/
|
|
93
|
+
e[6]
|
|
94
|
+
);
|
|
59
95
|
},
|
|
60
|
-
m(r,
|
|
61
|
-
D(r, i,
|
|
62
|
-
F(
|
|
96
|
+
m(r, m) {
|
|
97
|
+
D(r, i, m), y(n, i, null), v(i, o), v(i, t), v(t, a), v(a, f), u && u.m(f, null), v(a, d), v(a, l), y(s, l, null), v(i, p), y(_, i, null), $ = !0, U || (I = [
|
|
98
|
+
F(
|
|
99
|
+
l,
|
|
100
|
+
"click",
|
|
101
|
+
/*clickContent*/
|
|
102
|
+
e[7]
|
|
103
|
+
),
|
|
63
104
|
Y(ae.call(null, l)),
|
|
64
|
-
F(
|
|
105
|
+
F(
|
|
106
|
+
l,
|
|
107
|
+
"clientWidth",
|
|
108
|
+
/*clientWidth_handler*/
|
|
109
|
+
e[12]
|
|
110
|
+
)
|
|
65
111
|
], U = !0);
|
|
66
112
|
},
|
|
67
|
-
p(r,
|
|
113
|
+
p(r, m) {
|
|
68
114
|
var W, O;
|
|
69
115
|
const T = {};
|
|
70
|
-
|
|
116
|
+
m & /*unfolded*/
|
|
117
|
+
64 && (T.visible = /*unfolded*/
|
|
118
|
+
r[6]), m & /*contentWidth*/
|
|
119
|
+
8 && (T.left = /*contentWidth*/
|
|
120
|
+
r[3] / 2 + "px"), n.$set(T), /*unfolded*/
|
|
121
|
+
r[6] ? u ? (u.p(r, m), m & /*unfolded*/
|
|
122
|
+
64 && h(u, 1)) : (u = B(r), u.c(), h(u, 1), u.m(f, null)) : u && (G(), c(u, 1, 1, () => {
|
|
71
123
|
u = null;
|
|
72
124
|
}), E());
|
|
73
125
|
const M = {};
|
|
74
|
-
|
|
126
|
+
m & /*unfolded*/
|
|
127
|
+
64 && (M.visible = /*unfolded*/
|
|
128
|
+
r[6]), m & /*textUnfolded*/
|
|
129
|
+
2 && (M.textUnfolded = /*textUnfolded*/
|
|
130
|
+
r[1]), m & /*content*/
|
|
131
|
+
32 && (M.content = /*content*/
|
|
132
|
+
r[5]), s.$set(M);
|
|
75
133
|
const A = {};
|
|
76
|
-
|
|
134
|
+
m & /*unfolded*/
|
|
135
|
+
64 && (A.unfolded = /*unfolded*/
|
|
136
|
+
r[6]), m & /*contentWidth*/
|
|
137
|
+
8 && (A.length = /*contentWidth*/
|
|
138
|
+
r[3]), m & /*foldTextDelay, content*/
|
|
139
|
+
48 && (A.outDelay = /*foldTextDelay*/
|
|
140
|
+
r[4] + 20 * Math.min(
|
|
141
|
+
/*content*/
|
|
142
|
+
(O = (W = r[5]) == null ? void 0 : W.length) != null ? O : 10,
|
|
143
|
+
15
|
|
144
|
+
)), _.$set(A), (!$ || m & /*unfolded*/
|
|
145
|
+
64) && q(
|
|
146
|
+
i,
|
|
147
|
+
"unfolded",
|
|
148
|
+
/*unfolded*/
|
|
149
|
+
r[6]
|
|
150
|
+
);
|
|
77
151
|
},
|
|
78
152
|
i(r) {
|
|
79
153
|
$ || (h(n.$$.fragment, r), h(u), h(s.$$.fragment, r), h(_.$$.fragment, r), $ = !0);
|
|
@@ -87,7 +161,7 @@ function j(e) {
|
|
|
87
161
|
};
|
|
88
162
|
}
|
|
89
163
|
function B(e) {
|
|
90
|
-
let i, n, o, t, a, f,
|
|
164
|
+
let i, n, o, t, a, f, d;
|
|
91
165
|
return n = new H({
|
|
92
166
|
props: {
|
|
93
167
|
center: !0,
|
|
@@ -96,40 +170,78 @@ function B(e) {
|
|
|
96
170
|
}
|
|
97
171
|
}), t = new ne({
|
|
98
172
|
props: {
|
|
99
|
-
enable:
|
|
100
|
-
|
|
101
|
-
|
|
173
|
+
enable: (
|
|
174
|
+
/*unfolded*/
|
|
175
|
+
e[6]
|
|
176
|
+
),
|
|
177
|
+
url: (
|
|
178
|
+
/*tag*/
|
|
179
|
+
e[0].data.audioUrl
|
|
180
|
+
),
|
|
181
|
+
hooksInfo: { tag: (
|
|
182
|
+
/*tag*/
|
|
183
|
+
e[0]
|
|
184
|
+
) },
|
|
102
185
|
$$slots: { default: [fe] },
|
|
103
186
|
$$scope: { ctx: e }
|
|
104
187
|
}
|
|
105
|
-
}), t.$on(
|
|
188
|
+
}), t.$on(
|
|
189
|
+
"play",
|
|
190
|
+
/*play_handler*/
|
|
191
|
+
e[8]
|
|
192
|
+
), t.$on(
|
|
193
|
+
"pause",
|
|
194
|
+
/*pause_handler*/
|
|
195
|
+
e[9]
|
|
196
|
+
), t.$on(
|
|
197
|
+
"error",
|
|
198
|
+
/*error_handler*/
|
|
199
|
+
e[10]
|
|
200
|
+
), t.$on(
|
|
201
|
+
"audioRef",
|
|
202
|
+
/*audioRef_handler*/
|
|
203
|
+
e[11]
|
|
204
|
+
), {
|
|
106
205
|
c() {
|
|
107
206
|
i = b("div"), k(n.$$.fragment), o = C(), k(t.$$.fragment), w(i, "class", "audio svelte-1s6gk4a");
|
|
108
207
|
},
|
|
109
208
|
m(l, s) {
|
|
110
|
-
D(l, i, s), y(n, i, null), v(i, o), y(t, i, null),
|
|
209
|
+
D(l, i, s), y(n, i, null), v(i, o), y(t, i, null), d = !0;
|
|
111
210
|
},
|
|
112
211
|
p(l, s) {
|
|
113
212
|
e = l;
|
|
114
|
-
const
|
|
115
|
-
s &
|
|
213
|
+
const p = {};
|
|
214
|
+
s & /*unfolded*/
|
|
215
|
+
64 && (p.enable = /*unfolded*/
|
|
216
|
+
e[6]), s & /*tag*/
|
|
217
|
+
1 && (p.url = /*tag*/
|
|
218
|
+
e[0].data.audioUrl), s & /*tag*/
|
|
219
|
+
1 && (p.hooksInfo = { tag: (
|
|
220
|
+
/*tag*/
|
|
221
|
+
e[0]
|
|
222
|
+
) }), s & /*$$scope, playing*/
|
|
223
|
+
8196 && (p.$$scope = { dirty: s, ctx: e }), t.$set(p);
|
|
116
224
|
},
|
|
117
225
|
i(l) {
|
|
118
|
-
|
|
119
|
-
f && f.end(1), a = ee(i, N, {
|
|
226
|
+
d || (h(n.$$.fragment, l), h(t.$$.fragment, l), l && x(() => {
|
|
227
|
+
d && (f && f.end(1), a = ee(i, N, {
|
|
120
228
|
duration: 1e3,
|
|
121
229
|
delay: 0,
|
|
122
230
|
easing: L
|
|
123
|
-
}), a.start();
|
|
124
|
-
}),
|
|
231
|
+
}), a.start());
|
|
232
|
+
}), d = !0);
|
|
125
233
|
},
|
|
126
234
|
o(l) {
|
|
127
|
-
var s,
|
|
235
|
+
var s, p;
|
|
128
236
|
c(n.$$.fragment, l), c(t.$$.fragment, l), a && a.invalidate(), l && (f = te(i, N, {
|
|
129
237
|
duration: 1e3,
|
|
130
|
-
delay: 20 * Math.min(
|
|
238
|
+
delay: 20 * Math.min(
|
|
239
|
+
/*content*/
|
|
240
|
+
(p = (s = e[5]) == null ? void 0 : s.length) != null ? p : 10,
|
|
241
|
+
15
|
|
242
|
+
),
|
|
131
243
|
easing: L
|
|
132
|
-
})),
|
|
244
|
+
})), d = !1;
|
|
133
245
|
},
|
|
134
246
|
d(l) {
|
|
135
247
|
l && S(i), R(n), R(t), l && f && f.end();
|
|
@@ -138,7 +250,10 @@ function B(e) {
|
|
|
138
250
|
}
|
|
139
251
|
function fe(e) {
|
|
140
252
|
let i, n, o;
|
|
141
|
-
return n = new le({ props: { playing:
|
|
253
|
+
return n = new le({ props: { playing: (
|
|
254
|
+
/*playing*/
|
|
255
|
+
e[2]
|
|
256
|
+
) } }), {
|
|
142
257
|
c() {
|
|
143
258
|
i = b("div"), k(n.$$.fragment), w(i, "class", "audio-icon__wrapper svelte-1s6gk4a");
|
|
144
259
|
},
|
|
@@ -147,7 +262,9 @@ function fe(e) {
|
|
|
147
262
|
},
|
|
148
263
|
p(t, a) {
|
|
149
264
|
const f = {};
|
|
150
|
-
a &
|
|
265
|
+
a & /*playing*/
|
|
266
|
+
4 && (f.playing = /*playing*/
|
|
267
|
+
t[2]), n.$set(f);
|
|
151
268
|
},
|
|
152
269
|
i(t) {
|
|
153
270
|
o || (h(n.$$.fragment, t), o = !0);
|
|
@@ -161,7 +278,10 @@ function fe(e) {
|
|
|
161
278
|
};
|
|
162
279
|
}
|
|
163
280
|
function ue(e) {
|
|
164
|
-
let i, n, o =
|
|
281
|
+
let i, n, o = (
|
|
282
|
+
/*tag*/
|
|
283
|
+
e[0].state && j(e)
|
|
284
|
+
);
|
|
165
285
|
return {
|
|
166
286
|
c() {
|
|
167
287
|
o && o.c(), i = V();
|
|
@@ -170,7 +290,9 @@ function ue(e) {
|
|
|
170
290
|
o && o.m(t, a), D(t, i, a), n = !0;
|
|
171
291
|
},
|
|
172
292
|
p(t, [a]) {
|
|
173
|
-
|
|
293
|
+
/*tag*/
|
|
294
|
+
t[0].state ? o ? (o.p(t, a), a & /*tag*/
|
|
295
|
+
1 && h(o, 1)) : (o = j(t), o.c(), h(o, 1), o.m(i.parentNode, i)) : o && (G(), c(o, 1, 1, () => {
|
|
174
296
|
o = null;
|
|
175
297
|
}), E());
|
|
176
298
|
},
|
|
@@ -186,9 +308,9 @@ function ue(e) {
|
|
|
186
308
|
};
|
|
187
309
|
}
|
|
188
310
|
function de(e, i, n) {
|
|
189
|
-
let o, t, a, { tag: f } = i,
|
|
190
|
-
function
|
|
191
|
-
n(1,
|
|
311
|
+
let o, t, a, { tag: f } = i, d = !1, l = !1, s;
|
|
312
|
+
function p() {
|
|
313
|
+
n(1, d = !d);
|
|
192
314
|
}
|
|
193
315
|
const _ = () => {
|
|
194
316
|
n(2, l = !0);
|
|
@@ -207,16 +329,19 @@ function de(e, i, n) {
|
|
|
207
329
|
"tag" in g && n(0, f = g.tag);
|
|
208
330
|
}, e.$$.update = () => {
|
|
209
331
|
var g, z, r;
|
|
210
|
-
e.$$.dirty &
|
|
332
|
+
e.$$.dirty & /*tag*/
|
|
333
|
+
1 && n(6, o = !!((g = f.state) != null && g.unfolded)), e.$$.dirty & /*tag*/
|
|
334
|
+
1 && n(5, t = (r = (z = f.data.title) != null ? z : f.data.text) != null ? r : ""), e.$$.dirty & /*textUnfolded*/
|
|
335
|
+
2 && n(4, a = d ? 450 : 0);
|
|
211
336
|
}, [
|
|
212
337
|
f,
|
|
213
|
-
|
|
338
|
+
d,
|
|
214
339
|
l,
|
|
215
340
|
s,
|
|
216
341
|
a,
|
|
217
342
|
t,
|
|
218
343
|
o,
|
|
219
|
-
|
|
344
|
+
p,
|
|
220
345
|
_,
|
|
221
346
|
$,
|
|
222
347
|
U,
|
|
@@ -28,7 +28,14 @@ import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
|
28
28
|
import "../../Common/Text/MText.js";
|
|
29
29
|
function q(n) {
|
|
30
30
|
let t, o;
|
|
31
|
-
return t = new w({ props: { tag:
|
|
31
|
+
return t = new w({ props: { tag: (
|
|
32
|
+
/*tag*/
|
|
33
|
+
n[0]
|
|
34
|
+
) } }), t.$on(
|
|
35
|
+
"audioRef",
|
|
36
|
+
/*audioRef*/
|
|
37
|
+
n[2]
|
|
38
|
+
), {
|
|
32
39
|
c() {
|
|
33
40
|
s(t.$$.fragment);
|
|
34
41
|
},
|
|
@@ -37,7 +44,9 @@ function q(n) {
|
|
|
37
44
|
},
|
|
38
45
|
p(e, r) {
|
|
39
46
|
const a = {};
|
|
40
|
-
r &
|
|
47
|
+
r & /*tag*/
|
|
48
|
+
1 && (a.tag = /*tag*/
|
|
49
|
+
e[0]), t.$set(a);
|
|
41
50
|
},
|
|
42
51
|
i(e) {
|
|
43
52
|
o || (l(t.$$.fragment, e), o = !0);
|
|
@@ -52,7 +61,14 @@ function q(n) {
|
|
|
52
61
|
}
|
|
53
62
|
function v(n) {
|
|
54
63
|
let t, o;
|
|
55
|
-
return t = new T({ props: { tag:
|
|
64
|
+
return t = new T({ props: { tag: (
|
|
65
|
+
/*tag*/
|
|
66
|
+
n[0]
|
|
67
|
+
) } }), t.$on(
|
|
68
|
+
"audioRef",
|
|
69
|
+
/*audioRef*/
|
|
70
|
+
n[2]
|
|
71
|
+
), {
|
|
56
72
|
c() {
|
|
57
73
|
s(t.$$.fragment);
|
|
58
74
|
},
|
|
@@ -61,7 +77,9 @@ function v(n) {
|
|
|
61
77
|
},
|
|
62
78
|
p(e, r) {
|
|
63
79
|
const a = {};
|
|
64
|
-
r &
|
|
80
|
+
r & /*tag*/
|
|
81
|
+
1 && (a.tag = /*tag*/
|
|
82
|
+
e[0]), t.$set(a);
|
|
65
83
|
},
|
|
66
84
|
i(e) {
|
|
67
85
|
o || (l(t.$$.fragment, e), o = !0);
|
|
@@ -78,7 +96,13 @@ function C(n) {
|
|
|
78
96
|
let t, o, e, r;
|
|
79
97
|
const a = [v, q], p = [];
|
|
80
98
|
function u(i, m) {
|
|
81
|
-
return
|
|
99
|
+
return (
|
|
100
|
+
/*appearance*/
|
|
101
|
+
i[1] === "line" ? 0 : (
|
|
102
|
+
/*appearance*/
|
|
103
|
+
i[1] === "plane" ? 1 : -1
|
|
104
|
+
)
|
|
105
|
+
);
|
|
82
106
|
}
|
|
83
107
|
return ~(t = u(n)) && (o = p[t] = a[t](n)), {
|
|
84
108
|
c() {
|
|
@@ -113,7 +137,8 @@ function N(n, t, o) {
|
|
|
113
137
|
"tag" in u && o(0, r = u.tag);
|
|
114
138
|
}, n.$$.update = () => {
|
|
115
139
|
var u;
|
|
116
|
-
n.$$.dirty &
|
|
140
|
+
n.$$.dirty & /*tag*/
|
|
141
|
+
1 && o(1, e = (u = r.data.appearance) != null ? u : "line");
|
|
117
142
|
}, [r, e, p];
|
|
118
143
|
}
|
|
119
144
|
class it extends g {
|
|
@@ -3,7 +3,10 @@ function z(i) {
|
|
|
3
3
|
p(i, "svelte-kzl2aj", ".customElement__container.svelte-kzl2aj{position:relative}");
|
|
4
4
|
}
|
|
5
5
|
function a(i) {
|
|
6
|
-
let l, e =
|
|
6
|
+
let l, e = (
|
|
7
|
+
/*tag*/
|
|
8
|
+
i[0].element + ""
|
|
9
|
+
), t;
|
|
7
10
|
return {
|
|
8
11
|
c() {
|
|
9
12
|
l = new j(!1), t = b(), l.a = t;
|
|
@@ -12,7 +15,9 @@ function a(i) {
|
|
|
12
15
|
l.m(e, n, o), m(n, t, o);
|
|
13
16
|
},
|
|
14
17
|
p(n, o) {
|
|
15
|
-
o &
|
|
18
|
+
o & /*tag*/
|
|
19
|
+
1 && e !== (e = /*tag*/
|
|
20
|
+
n[0].element + "") && l.p(e);
|
|
16
21
|
},
|
|
17
22
|
d(n) {
|
|
18
23
|
n && c(t), n && l.d();
|
|
@@ -20,7 +25,8 @@ function a(i) {
|
|
|
20
25
|
};
|
|
21
26
|
}
|
|
22
27
|
function C(i) {
|
|
23
|
-
let l, e = typeof
|
|
28
|
+
let l, e = typeof /*tag*/
|
|
29
|
+
i[0].element == "string" && a(i);
|
|
24
30
|
return {
|
|
25
31
|
c() {
|
|
26
32
|
l = g("div"), e && e.c(), v(l, "class", "customElement__container svelte-kzl2aj");
|
|
@@ -29,7 +35,8 @@ function C(i) {
|
|
|
29
35
|
m(t, l, n), e && e.m(l, null), i[2](l);
|
|
30
36
|
},
|
|
31
37
|
p(t, [n]) {
|
|
32
|
-
typeof
|
|
38
|
+
typeof /*tag*/
|
|
39
|
+
t[0].element == "string" ? e ? e.p(t, n) : (e = a(t), e.c(), e.m(l, null)) : e && (e.d(1), e = null);
|
|
33
40
|
},
|
|
34
41
|
i: f,
|
|
35
42
|
o: f,
|