@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
|
@@ -21,21 +21,47 @@ function w(o) {
|
|
|
21
21
|
let r, t, l;
|
|
22
22
|
return t = new M({
|
|
23
23
|
props: {
|
|
24
|
-
unfolded:
|
|
25
|
-
|
|
24
|
+
unfolded: (
|
|
25
|
+
/*visible*/
|
|
26
|
+
o[0]
|
|
27
|
+
),
|
|
28
|
+
content: (
|
|
29
|
+
/*content*/
|
|
30
|
+
o[1]
|
|
31
|
+
),
|
|
26
32
|
inDelay: 500,
|
|
27
|
-
outDelay:
|
|
33
|
+
outDelay: (
|
|
34
|
+
/*foldTextDelay*/
|
|
35
|
+
o[5]
|
|
36
|
+
)
|
|
28
37
|
}
|
|
29
38
|
}), {
|
|
30
39
|
c() {
|
|
31
|
-
r = z("div"), H(t.$$.fragment), D(r, "class", "text svelte-1fuzm7v"), v(
|
|
40
|
+
r = z("div"), H(t.$$.fragment), D(r, "class", "text svelte-1fuzm7v"), v(
|
|
41
|
+
r,
|
|
42
|
+
"transform",
|
|
43
|
+
/*transform*/
|
|
44
|
+
o[7]
|
|
45
|
+
);
|
|
32
46
|
},
|
|
33
47
|
m(e, i) {
|
|
34
48
|
p(e, r, i), U(t, r, null), o[10](r), l = !0;
|
|
35
49
|
},
|
|
36
50
|
p(e, i) {
|
|
37
51
|
const n = {};
|
|
38
|
-
i &
|
|
52
|
+
i & /*visible*/
|
|
53
|
+
1 && (n.unfolded = /*visible*/
|
|
54
|
+
e[0]), i & /*content*/
|
|
55
|
+
2 && (n.content = /*content*/
|
|
56
|
+
e[1]), i & /*foldTextDelay*/
|
|
57
|
+
32 && (n.outDelay = /*foldTextDelay*/
|
|
58
|
+
e[5]), t.$set(n), i & /*transform*/
|
|
59
|
+
128 && v(
|
|
60
|
+
r,
|
|
61
|
+
"transform",
|
|
62
|
+
/*transform*/
|
|
63
|
+
e[7]
|
|
64
|
+
);
|
|
39
65
|
},
|
|
40
66
|
i(e) {
|
|
41
67
|
l || (u(t.$$.fragment, e), l = !0);
|
|
@@ -52,8 +78,14 @@ function k(o) {
|
|
|
52
78
|
let r, t, l;
|
|
53
79
|
return t = new j({
|
|
54
80
|
props: {
|
|
55
|
-
direction:
|
|
56
|
-
|
|
81
|
+
direction: (
|
|
82
|
+
/*arrowDirection*/
|
|
83
|
+
o[6]
|
|
84
|
+
),
|
|
85
|
+
visible: (
|
|
86
|
+
/*visible*/
|
|
87
|
+
o[0]
|
|
88
|
+
),
|
|
57
89
|
inDelay: 600,
|
|
58
90
|
duration: 1e3
|
|
59
91
|
}
|
|
@@ -66,7 +98,11 @@ function k(o) {
|
|
|
66
98
|
},
|
|
67
99
|
p(e, i) {
|
|
68
100
|
const n = {};
|
|
69
|
-
i &
|
|
101
|
+
i & /*arrowDirection*/
|
|
102
|
+
64 && (n.direction = /*arrowDirection*/
|
|
103
|
+
e[6]), i & /*visible*/
|
|
104
|
+
1 && (n.visible = /*visible*/
|
|
105
|
+
e[0]), t.$set(n);
|
|
70
106
|
},
|
|
71
107
|
i(e) {
|
|
72
108
|
l || (u(t.$$.fragment, e), l = !0);
|
|
@@ -80,7 +116,14 @@ function k(o) {
|
|
|
80
116
|
};
|
|
81
117
|
}
|
|
82
118
|
function J(o) {
|
|
83
|
-
let r, t, l, e =
|
|
119
|
+
let r, t, l, e = (
|
|
120
|
+
/*content*/
|
|
121
|
+
o[1] && w(o)
|
|
122
|
+
), i = (
|
|
123
|
+
/*lineHeight*/
|
|
124
|
+
o[3] < /*textHeight*/
|
|
125
|
+
o[4] && k(o)
|
|
126
|
+
);
|
|
84
127
|
return {
|
|
85
128
|
c() {
|
|
86
129
|
e && e.c(), r = q(), i && i.c(), t = A();
|
|
@@ -89,9 +132,14 @@ function J(o) {
|
|
|
89
132
|
e && e.m(n, f), p(n, r, f), i && i.m(n, f), p(n, t, f), l = !0;
|
|
90
133
|
},
|
|
91
134
|
p(n, [f]) {
|
|
92
|
-
|
|
135
|
+
/*content*/
|
|
136
|
+
n[1] ? e ? (e.p(n, f), f & /*content*/
|
|
137
|
+
2 && u(e, 1)) : (e = w(n), e.c(), u(e, 1), e.m(r.parentNode, r)) : e && (y(), a(e, 1, 1, () => {
|
|
93
138
|
e = null;
|
|
94
|
-
}), h()),
|
|
139
|
+
}), h()), /*lineHeight*/
|
|
140
|
+
n[3] < /*textHeight*/
|
|
141
|
+
n[4] ? i ? (i.p(n, f), f & /*lineHeight, textHeight*/
|
|
142
|
+
24 && u(i, 1)) : (i = k(n), i.c(), u(i, 1), i.m(t.parentNode, t)) : i && (y(), a(i, 1, 1, () => {
|
|
95
143
|
i = null;
|
|
96
144
|
}), h());
|
|
97
145
|
},
|
|
@@ -116,13 +164,18 @@ function K(o, r, t) {
|
|
|
116
164
|
return o.$$set = (s) => {
|
|
117
165
|
"visible" in s && t(0, n = s.visible), "textUnfolded" in s && t(8, f = s.textUnfolded), "content" in s && t(1, _ = s.content);
|
|
118
166
|
}, o.$$.update = () => {
|
|
119
|
-
if (o.$$.dirty &
|
|
167
|
+
if (o.$$.dirty & /*textElement, visible, content*/
|
|
168
|
+
7 && m && n && _) {
|
|
120
169
|
const { lineHeight: s } = getComputedStyle(m);
|
|
121
170
|
t(4, c = m.offsetHeight), G(() => m == null ? void 0 : m.offsetHeight, Boolean).then(() => {
|
|
122
171
|
t(4, c = m.offsetHeight);
|
|
123
172
|
}), t(3, b = Number(s.replace("px", "")));
|
|
124
173
|
}
|
|
125
|
-
o.$$.dirty &
|
|
174
|
+
o.$$.dirty & /*textUnfolded, lineHeight, textHeight*/
|
|
175
|
+
280 && t(9, g = f ? b - c : 0), o.$$.dirty & /*translateY*/
|
|
176
|
+
512 && t(7, l = `translateY(${g}px)`), o.$$.dirty & /*textUnfolded*/
|
|
177
|
+
256 && t(6, e = f ? "left" : "right"), o.$$.dirty & /*textUnfolded*/
|
|
178
|
+
256 && t(5, i = f ? 450 : 0);
|
|
126
179
|
}, [
|
|
127
180
|
n,
|
|
128
181
|
_,
|
|
@@ -15,8 +15,20 @@ function R(i, e, o) {
|
|
|
15
15
|
return s[18] = e[o].id, s[0] = e[o].content, s[19] = e, s[20] = o, s;
|
|
16
16
|
}
|
|
17
17
|
function Q(i) {
|
|
18
|
-
let e, o =
|
|
19
|
-
|
|
18
|
+
let e, o = (
|
|
19
|
+
/*content*/
|
|
20
|
+
i[0] + ""
|
|
21
|
+
), s, u = (
|
|
22
|
+
/*index*/
|
|
23
|
+
i[20]
|
|
24
|
+
);
|
|
25
|
+
const a = () => (
|
|
26
|
+
/*span_binding_1*/
|
|
27
|
+
i[9](e, u)
|
|
28
|
+
), t = () => (
|
|
29
|
+
/*span_binding_1*/
|
|
30
|
+
i[9](null, u)
|
|
31
|
+
);
|
|
20
32
|
return {
|
|
21
33
|
c() {
|
|
22
34
|
e = S("span"), s = X(o), A(e, "class", "text-char svelte-1b2n9wi");
|
|
@@ -25,7 +37,11 @@ function Q(i) {
|
|
|
25
37
|
m(n, e, r), Y(e, s), a();
|
|
26
38
|
},
|
|
27
39
|
p(n, r) {
|
|
28
|
-
i = n, r &
|
|
40
|
+
i = n, r & /*contentList*/
|
|
41
|
+
4 && o !== (o = /*content*/
|
|
42
|
+
i[0] + "") && v(s, o), u !== /*index*/
|
|
43
|
+
i[20] && (t(), u = /*index*/
|
|
44
|
+
i[20], a());
|
|
29
45
|
},
|
|
30
46
|
d(n) {
|
|
31
47
|
n && p(e), t();
|
|
@@ -33,17 +49,28 @@ function Q(i) {
|
|
|
33
49
|
};
|
|
34
50
|
}
|
|
35
51
|
function Z(i) {
|
|
36
|
-
let e, o =
|
|
37
|
-
|
|
52
|
+
let e, o = (
|
|
53
|
+
/*index*/
|
|
54
|
+
i[20]
|
|
55
|
+
);
|
|
56
|
+
const s = () => (
|
|
57
|
+
/*span_binding*/
|
|
58
|
+
i[8](e, o)
|
|
59
|
+
), u = () => (
|
|
60
|
+
/*span_binding*/
|
|
61
|
+
i[8](null, o)
|
|
62
|
+
);
|
|
38
63
|
return {
|
|
39
64
|
c() {
|
|
40
|
-
e = S("span"), e.textContent = "
|
|
65
|
+
e = S("span"), e.textContent = " ", A(e, "class", "text-char svelte-1b2n9wi");
|
|
41
66
|
},
|
|
42
67
|
m(a, t) {
|
|
43
68
|
m(a, e, t), s();
|
|
44
69
|
},
|
|
45
70
|
p(a, t) {
|
|
46
|
-
i = a, o !==
|
|
71
|
+
i = a, o !== /*index*/
|
|
72
|
+
i[20] && (u(), o = /*index*/
|
|
73
|
+
i[20], s());
|
|
47
74
|
},
|
|
48
75
|
d(a) {
|
|
49
76
|
a && p(e), u();
|
|
@@ -53,7 +80,11 @@ function Z(i) {
|
|
|
53
80
|
function w(i, e) {
|
|
54
81
|
let o, s;
|
|
55
82
|
function u(n, r) {
|
|
56
|
-
return
|
|
83
|
+
return (
|
|
84
|
+
/*content*/
|
|
85
|
+
n[0] === /*__SpaceFlag__*/
|
|
86
|
+
n[3] ? Z : Q
|
|
87
|
+
);
|
|
57
88
|
}
|
|
58
89
|
let a = u(e), t = a(e);
|
|
59
90
|
return {
|
|
@@ -74,8 +105,14 @@ function w(i, e) {
|
|
|
74
105
|
};
|
|
75
106
|
}
|
|
76
107
|
function x(i) {
|
|
77
|
-
let e = [], o = /* @__PURE__ */ new Map(), s, u =
|
|
78
|
-
|
|
108
|
+
let e = [], o = /* @__PURE__ */ new Map(), s, u = (
|
|
109
|
+
/*contentList*/
|
|
110
|
+
i[2]
|
|
111
|
+
);
|
|
112
|
+
const a = (t) => (
|
|
113
|
+
/*id*/
|
|
114
|
+
t[18]
|
|
115
|
+
);
|
|
79
116
|
for (let t = 0; t < u.length; t += 1) {
|
|
80
117
|
let n = R(i, u, t), r = a(n);
|
|
81
118
|
o.set(r, e[t] = w(r, n));
|
|
@@ -88,11 +125,13 @@ function x(i) {
|
|
|
88
125
|
},
|
|
89
126
|
m(t, n) {
|
|
90
127
|
for (let r = 0; r < e.length; r += 1)
|
|
91
|
-
e[r].m(t, n);
|
|
128
|
+
e[r] && e[r].m(t, n);
|
|
92
129
|
m(t, s, n);
|
|
93
130
|
},
|
|
94
131
|
p(t, [n]) {
|
|
95
|
-
n &
|
|
132
|
+
n & /*spanEleList, contentList, __SpaceFlag__*/
|
|
133
|
+
14 && (u = /*contentList*/
|
|
134
|
+
t[2], e = G(e, n, a, 1, t, u, o, s.parentNode, W, w, s, R));
|
|
96
135
|
},
|
|
97
136
|
i: D,
|
|
98
137
|
o: D,
|
|
@@ -106,19 +145,19 @@ function x(i) {
|
|
|
106
145
|
function $(i, e, o) {
|
|
107
146
|
let s, { inDelay: u = 0 } = e, { outDelay: a = 0 } = e, { content: t } = e, { unfolded: n } = e, { isFistUnfoldedUpdate: r = !0 } = e;
|
|
108
147
|
const y = `__EMOJI_SPLIT_${b}__`, E = `__EMOJI_${b}__`, F = `__SPACE_${b}__`;
|
|
109
|
-
let j,
|
|
148
|
+
let j, _, d = [];
|
|
110
149
|
function C(l) {
|
|
111
|
-
const
|
|
112
|
-
return l.slice().replace(h, (c) => `${y}${E}${c}${y}`).split(y).forEach((c) => c.startsWith(E) ?
|
|
150
|
+
const f = [], h = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
|
|
151
|
+
return l.slice().replace(h, (c) => `${y}${E}${c}${y}`).split(y).forEach((c) => c.startsWith(E) ? f.push({
|
|
113
152
|
id: M(),
|
|
114
153
|
content: c.slice(E.length)
|
|
115
|
-
}) :
|
|
154
|
+
}) : f.push(...c.split("").map((g) => g === " " ? F : g).map((g) => ({ id: M(), content: g })))), f;
|
|
116
155
|
}
|
|
117
156
|
function N() {
|
|
118
|
-
if (!
|
|
157
|
+
if (!_)
|
|
119
158
|
return;
|
|
120
159
|
const l = !n;
|
|
121
|
-
|
|
160
|
+
_.reversed !== l && _.reverse(), _.play();
|
|
122
161
|
}
|
|
123
162
|
function T(l) {
|
|
124
163
|
if (r) {
|
|
@@ -128,13 +167,13 @@ function $(i, e, o) {
|
|
|
128
167
|
clearTimeout(j), j = setTimeout(N, l ? u : a);
|
|
129
168
|
}
|
|
130
169
|
function L(l) {
|
|
131
|
-
const
|
|
170
|
+
const f = function() {
|
|
132
171
|
const h = H((c) => l[c].getBoundingClientRect().x, [Math.min(l.length - 1, 10), Math.min(l.length - 1, 30)]);
|
|
133
172
|
if (h > 0)
|
|
134
173
|
return h;
|
|
135
174
|
}();
|
|
136
|
-
|
|
137
|
-
targets: l.slice(0,
|
|
175
|
+
_ = U({
|
|
176
|
+
targets: l.slice(0, f).filter(z),
|
|
138
177
|
autoplay: !1,
|
|
139
178
|
duration: 400,
|
|
140
179
|
scale: [0.7, 1],
|
|
@@ -144,22 +183,25 @@ function $(i, e, o) {
|
|
|
144
183
|
translateY: [10, 0],
|
|
145
184
|
delay: U.stagger(50),
|
|
146
185
|
easing: "easeInOutCubic"
|
|
147
|
-
}), n &&
|
|
186
|
+
}), n && _.seek(_.duration);
|
|
148
187
|
}
|
|
149
|
-
function O(l,
|
|
188
|
+
function O(l, f) {
|
|
150
189
|
I[l ? "unshift" : "push"](() => {
|
|
151
|
-
d[
|
|
190
|
+
d[f] = l, o(1, d);
|
|
152
191
|
});
|
|
153
192
|
}
|
|
154
|
-
function P(l,
|
|
193
|
+
function P(l, f) {
|
|
155
194
|
I[l ? "unshift" : "push"](() => {
|
|
156
|
-
d[
|
|
195
|
+
d[f] = l, o(1, d);
|
|
157
196
|
});
|
|
158
197
|
}
|
|
159
198
|
return i.$$set = (l) => {
|
|
160
199
|
"inDelay" in l && o(5, u = l.inDelay), "outDelay" in l && o(6, a = l.outDelay), "content" in l && o(0, t = l.content), "unfolded" in l && o(7, n = l.unfolded), "isFistUnfoldedUpdate" in l && o(4, r = l.isFistUnfoldedUpdate);
|
|
161
200
|
}, i.$$.update = () => {
|
|
162
|
-
i.$$.dirty &
|
|
201
|
+
i.$$.dirty & /*content*/
|
|
202
|
+
1 && o(2, s = C(t)), i.$$.dirty & /*unfolded*/
|
|
203
|
+
128 && T(n), i.$$.dirty & /*spanEleList*/
|
|
204
|
+
2 && L(d.filter((l) => !!l));
|
|
163
205
|
}, [
|
|
164
206
|
t,
|
|
165
207
|
d,
|
|
@@ -5,7 +5,16 @@ function D(o) {
|
|
|
5
5
|
}
|
|
6
6
|
function F(o) {
|
|
7
7
|
let t;
|
|
8
|
-
const i =
|
|
8
|
+
const i = (
|
|
9
|
+
/*#slots*/
|
|
10
|
+
o[6].default
|
|
11
|
+
), e = E(
|
|
12
|
+
i,
|
|
13
|
+
o,
|
|
14
|
+
/*$$scope*/
|
|
15
|
+
o[5],
|
|
16
|
+
null
|
|
17
|
+
);
|
|
9
18
|
return {
|
|
10
19
|
c() {
|
|
11
20
|
e && e.c();
|
|
@@ -14,12 +23,23 @@ function F(o) {
|
|
|
14
23
|
e && e.m(l, a), t = !0;
|
|
15
24
|
},
|
|
16
25
|
p(l, a) {
|
|
17
|
-
e && e.p && (!t || a &
|
|
26
|
+
e && e.p && (!t || a & /*$$scope*/
|
|
27
|
+
32) && M(
|
|
18
28
|
e,
|
|
19
29
|
i,
|
|
20
30
|
l,
|
|
31
|
+
/*$$scope*/
|
|
21
32
|
l[5],
|
|
22
|
-
t ? T(
|
|
33
|
+
t ? T(
|
|
34
|
+
i,
|
|
35
|
+
/*$$scope*/
|
|
36
|
+
l[5],
|
|
37
|
+
a,
|
|
38
|
+
null
|
|
39
|
+
) : S(
|
|
40
|
+
/*$$scope*/
|
|
41
|
+
l[5]
|
|
42
|
+
),
|
|
23
43
|
null
|
|
24
44
|
);
|
|
25
45
|
},
|
|
@@ -36,7 +56,13 @@ function F(o) {
|
|
|
36
56
|
}
|
|
37
57
|
function G(o) {
|
|
38
58
|
var a, c;
|
|
39
|
-
let t, i, e = (
|
|
59
|
+
let t, i, e = (
|
|
60
|
+
/*edit*/
|
|
61
|
+
((a = o[3]) == null ? void 0 : a.inputting) && v()
|
|
62
|
+
), l = (
|
|
63
|
+
/*edit*/
|
|
64
|
+
((c = o[3]) == null ? void 0 : c.placeholder) && y(o)
|
|
65
|
+
);
|
|
40
66
|
return {
|
|
41
67
|
c() {
|
|
42
68
|
e && e.c(), t = j(), l && l.c(), i = A();
|
|
@@ -46,7 +72,9 @@ function G(o) {
|
|
|
46
72
|
},
|
|
47
73
|
p(f, n) {
|
|
48
74
|
var s, r;
|
|
49
|
-
|
|
75
|
+
/*edit*/
|
|
76
|
+
(s = f[3]) != null && s.inputting ? e || (e = v(), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null), /*edit*/
|
|
77
|
+
(r = f[3]) != null && r.placeholder ? l ? l.p(f, n) : (l = y(f), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null);
|
|
50
78
|
},
|
|
51
79
|
i: m,
|
|
52
80
|
o: m,
|
|
@@ -59,13 +87,21 @@ function H(o) {
|
|
|
59
87
|
let t;
|
|
60
88
|
return {
|
|
61
89
|
c() {
|
|
62
|
-
t = x(
|
|
90
|
+
t = x(
|
|
91
|
+
/*text*/
|
|
92
|
+
o[2]
|
|
93
|
+
);
|
|
63
94
|
},
|
|
64
95
|
m(i, e) {
|
|
65
96
|
u(i, t, e);
|
|
66
97
|
},
|
|
67
98
|
p(i, e) {
|
|
68
|
-
e &
|
|
99
|
+
e & /*text*/
|
|
100
|
+
4 && g(
|
|
101
|
+
t,
|
|
102
|
+
/*text*/
|
|
103
|
+
i[2]
|
|
104
|
+
);
|
|
69
105
|
},
|
|
70
106
|
i: m,
|
|
71
107
|
o: m,
|
|
@@ -89,7 +125,10 @@ function v(o) {
|
|
|
89
125
|
};
|
|
90
126
|
}
|
|
91
127
|
function y(o) {
|
|
92
|
-
let t, i =
|
|
128
|
+
let t, i = (
|
|
129
|
+
/*edit*/
|
|
130
|
+
o[3].placeholder + ""
|
|
131
|
+
), e;
|
|
93
132
|
return {
|
|
94
133
|
c() {
|
|
95
134
|
t = k("span"), e = x(i), w(t, "class", "placeholder svelte-i9wdo4");
|
|
@@ -98,7 +137,9 @@ function y(o) {
|
|
|
98
137
|
u(l, t, a), B(t, e);
|
|
99
138
|
},
|
|
100
139
|
p(l, a) {
|
|
101
|
-
a &
|
|
140
|
+
a & /*edit*/
|
|
141
|
+
8 && i !== (i = /*edit*/
|
|
142
|
+
l[3].placeholder + "") && g(e, i);
|
|
102
143
|
},
|
|
103
144
|
d(l) {
|
|
104
145
|
l && d(t);
|
|
@@ -109,11 +150,29 @@ function I(o) {
|
|
|
109
150
|
let t, i, e, l;
|
|
110
151
|
const a = [H, G, F], c = [];
|
|
111
152
|
function f(n, s) {
|
|
112
|
-
return
|
|
153
|
+
return (
|
|
154
|
+
/*text*/
|
|
155
|
+
n[2] ? 0 : (
|
|
156
|
+
/*isEditing*/
|
|
157
|
+
n[4] ? 1 : 2
|
|
158
|
+
)
|
|
159
|
+
);
|
|
113
160
|
}
|
|
114
161
|
return i = f(o), e = c[i] = a[i](o), {
|
|
115
162
|
c() {
|
|
116
|
-
t = k("div"), e.c(), w(t, "class", "text svelte-i9wdo4"), _(t, "max-width", typeof
|
|
163
|
+
t = k("div"), e.c(), w(t, "class", "text svelte-i9wdo4"), _(t, "max-width", typeof /*maxWidth*/
|
|
164
|
+
o[1] == "number" ? h(
|
|
165
|
+
/*maxWidth*/
|
|
166
|
+
o[1]
|
|
167
|
+
) : (
|
|
168
|
+
/*maxWidth*/
|
|
169
|
+
o[1]
|
|
170
|
+
)), _(
|
|
171
|
+
t,
|
|
172
|
+
"-webkit-line-clamp",
|
|
173
|
+
/*maxLine*/
|
|
174
|
+
o[0]
|
|
175
|
+
);
|
|
117
176
|
},
|
|
118
177
|
m(n, s) {
|
|
119
178
|
u(n, t, s), c[i].m(t, null), l = !0;
|
|
@@ -122,7 +181,21 @@ function I(o) {
|
|
|
122
181
|
let r = i;
|
|
123
182
|
i = f(n), i === r ? c[i].p(n, s) : (C(), p(c[r], 1, 1, () => {
|
|
124
183
|
c[r] = null;
|
|
125
|
-
}), q(), e = c[i], e ? e.p(n, s) : (e = c[i] = a[i](n), e.c()), b(e, 1), e.m(t, null)), s &
|
|
184
|
+
}), q(), e = c[i], e ? e.p(n, s) : (e = c[i] = a[i](n), e.c()), b(e, 1), e.m(t, null)), s & /*maxWidth*/
|
|
185
|
+
2 && _(t, "max-width", typeof /*maxWidth*/
|
|
186
|
+
n[1] == "number" ? h(
|
|
187
|
+
/*maxWidth*/
|
|
188
|
+
n[1]
|
|
189
|
+
) : (
|
|
190
|
+
/*maxWidth*/
|
|
191
|
+
n[1]
|
|
192
|
+
)), s & /*maxLine*/
|
|
193
|
+
1 && _(
|
|
194
|
+
t,
|
|
195
|
+
"-webkit-line-clamp",
|
|
196
|
+
/*maxLine*/
|
|
197
|
+
n[0]
|
|
198
|
+
);
|
|
126
199
|
},
|
|
127
200
|
i(n) {
|
|
128
201
|
l || (b(e), l = !0);
|
|
@@ -140,7 +213,8 @@ function J(o, t, i) {
|
|
|
140
213
|
return o.$$set = (r) => {
|
|
141
214
|
"maxLine" in r && i(0, c = r.maxLine), "maxWidth" in r && i(1, f = r.maxWidth), "text" in r && i(2, n = r.text), "edit" in r && i(3, s = r.edit), "$$scope" in r && i(5, a = r.$$scope);
|
|
142
215
|
}, o.$$.update = () => {
|
|
143
|
-
o.$$.dirty &
|
|
216
|
+
o.$$.dirty & /*edit*/
|
|
217
|
+
8 && i(4, e = (s == null ? void 0 : s.placeholder) || (s == null ? void 0 : s.inputting));
|
|
144
218
|
}, [c, f, n, s, e, a, l];
|
|
145
219
|
}
|
|
146
220
|
class P extends L {
|
|
@@ -7,21 +7,39 @@ function x(a) {
|
|
|
7
7
|
let e, t, n, i, o;
|
|
8
8
|
return {
|
|
9
9
|
c() {
|
|
10
|
-
e = w("span"), t = O(
|
|
10
|
+
e = w("span"), t = O(
|
|
11
|
+
/*content*/
|
|
12
|
+
a[1]
|
|
13
|
+
), C(e, "class", "text-char svelte-1sfwqvc");
|
|
11
14
|
},
|
|
12
15
|
m(r, c) {
|
|
13
16
|
b(r, e, c), N(e, t), o = !0;
|
|
14
17
|
},
|
|
15
18
|
p(r, c) {
|
|
16
|
-
(!o || c &
|
|
19
|
+
(!o || c & /*content*/
|
|
20
|
+
2) && S(
|
|
21
|
+
t,
|
|
22
|
+
/*content*/
|
|
23
|
+
r[1]
|
|
24
|
+
);
|
|
17
25
|
},
|
|
18
26
|
i(r) {
|
|
19
27
|
o || (r && T(() => {
|
|
20
|
-
i && i.end(1), n = j(
|
|
28
|
+
o && (i && i.end(1), n = j(
|
|
29
|
+
e,
|
|
30
|
+
/*fly*/
|
|
31
|
+
a[2],
|
|
32
|
+
{ duration: 400 }
|
|
33
|
+
), n.start());
|
|
21
34
|
}), o = !0);
|
|
22
35
|
},
|
|
23
36
|
o(r) {
|
|
24
|
-
n && n.invalidate(), r && (i = z(
|
|
37
|
+
n && n.invalidate(), r && (i = z(
|
|
38
|
+
e,
|
|
39
|
+
/*flyOut*/
|
|
40
|
+
a[3],
|
|
41
|
+
{ duration: 400 }
|
|
42
|
+
)), o = !1;
|
|
25
43
|
},
|
|
26
44
|
d(r) {
|
|
27
45
|
r && v(e), r && i && i.end();
|
|
@@ -29,7 +47,10 @@ function x(a) {
|
|
|
29
47
|
};
|
|
30
48
|
}
|
|
31
49
|
function D(a) {
|
|
32
|
-
let e, t =
|
|
50
|
+
let e, t = (
|
|
51
|
+
/*visible*/
|
|
52
|
+
a[0] && x(a)
|
|
53
|
+
);
|
|
33
54
|
return {
|
|
34
55
|
c() {
|
|
35
56
|
t && t.c(), e = g();
|
|
@@ -38,7 +59,9 @@ function D(a) {
|
|
|
38
59
|
t && t.m(n, i), b(n, e, i);
|
|
39
60
|
},
|
|
40
61
|
p(n, [i]) {
|
|
41
|
-
|
|
62
|
+
/*visible*/
|
|
63
|
+
n[0] ? t ? (t.p(n, i), i & /*visible*/
|
|
64
|
+
1 && d(t, 1)) : (t = x(n), t.c(), d(t, 1), t.m(e.parentNode, e)) : t && (A(), _(t, 1, 1, () => {
|
|
42
65
|
t = null;
|
|
43
66
|
}), q());
|
|
44
67
|
},
|