@realsee/dnalogel 2.4.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
- package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -2
- package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +19 -22
- package/dist/PanoTagPlugin/controller/index.d.ts +25 -14
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +23 -17
- package/dist/PanoTagPlugin/typings/index.d.ts +5 -1
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +53 -0
- package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
- package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/dist/index.cjs.js +52 -54
- package/dist/index.js +7771 -6537
- package/dist/index.umd.js +44 -46
- package/dist/shared-utils/audio.d.ts +31 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +223 -176
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +75 -35
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +19 -15
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +19 -15
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +39 -13
- package/docs/functions/CameraMovementPlugin.html +39 -13
- package/docs/functions/CruisePlugin.html +39 -13
- package/docs/functions/GuideLinePlugin.html +40 -14
- package/docs/functions/ItemLabelPlugin.html +39 -13
- package/docs/functions/MapviewFloorplanPlugin.html +39 -13
- package/docs/functions/ModelChassisCompassPlugin.html +39 -13
- package/docs/functions/ModelEntryDoorGuidePlugin.html +39 -13
- package/docs/functions/ModelFloorplanPlugin.html +39 -13
- package/docs/functions/ModelItemLabelPlugin.html +39 -13
- package/docs/functions/ModelRoomLabelPlugin.html +39 -13
- package/docs/functions/ModelTVVideoPlugin.html +39 -13
- package/docs/functions/ModelViewPlugin.html +39 -13
- package/docs/functions/Object3DHelperPlugin.html +39 -13
- package/docs/functions/PanoCompassPlugin.html +39 -13
- package/docs/functions/PanoCursorRaycasterPlugin.html +39 -13
- package/docs/functions/PanoDoorLabelPlugin.html +39 -13
- package/docs/functions/PanoFloorplanRadarPlugin.html +39 -13
- package/docs/functions/PanoMeasurePlugin.html +39 -13
- package/docs/functions/PanoRulerPlugin.html +39 -13
- package/docs/functions/PanoRulerProPlugin.html +39 -13
- package/docs/functions/PanoSpatialTagPlugin.html +39 -13
- package/docs/functions/PanoTagPlugin.html +45 -23
- package/docs/functions/TopviewFloorplanPlugin.html +39 -13
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +40 -14
- package/docs/index.html +39 -13
- package/docs/interfaces/AddTagConfig.html +64 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +298 -0
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +71 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +40 -14
- package/docs/interfaces/PanoMeasureParameterType.html +12 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +40 -14
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +40 -14
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +40 -14
- package/docs/interfaces/Rooms.html +40 -14
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +89 -0
- package/docs/interfaces/TagCache.html +92 -0
- package/docs/interfaces/TagConfig.html +15 -19
- package/docs/interfaces/TagIconUrl.html +91 -0
- package/docs/interfaces/Tags.html +14 -12
- package/docs/interfaces/TemporaryState.html +64 -0
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +73 -21
- package/docs/types/ArrayPosition.html +41 -15
- package/docs/types/AudioAppearance.html +256 -0
- package/docs/types/AudioTagTypeConfigKey.html +256 -0
- package/docs/types/CSS3DRenderExportType.html +40 -14
- package/docs/types/CSS3DRenderPluginExportType.html +40 -14
- package/docs/types/CSS3DRenderPluginParameterType.html +40 -14
- package/docs/types/Color.html +40 -14
- package/docs/types/ContentTypeConfigKey.html +41 -15
- package/docs/types/ContentTypeConfigKeySplit.html +256 -0
- package/docs/types/ContentTypeMap.html +256 -0
- package/docs/types/Create3DDomContainerReturnType.html +40 -14
- package/docs/types/Create3DElementReturnType.html +40 -14
- package/docs/types/CruisePluginExportType.html +40 -14
- package/docs/types/Direction-1.html +40 -14
- package/docs/types/Direction4.html +40 -14
- package/docs/types/FloorplanRuleLabels.html +40 -14
- package/docs/types/FloorplanServerRuleLabels.html +40 -14
- package/docs/types/GuideLinePluginExportType.html +40 -14
- package/docs/types/HelperEventMap.html +40 -14
- package/docs/types/LoadTagConfig.html +256 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +40 -14
- package/docs/types/MapviewFloorplanPluginReturnType.html +40 -14
- package/docs/types/MediaData.html +40 -14
- package/docs/types/MediaStore.html +256 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +40 -14
- package/docs/types/ModelFloorplanPluginParameterType.html +40 -14
- package/docs/types/ModelFloorplanPluginReturnType.html +40 -14
- package/docs/types/ModelRoomLabelPluginParameters.html +40 -14
- package/docs/types/ModelRoomLabelPluginReturnType.html +40 -14
- package/docs/types/MoveArgs.html +40 -14
- package/docs/types/MoveOpts.html +40 -14
- package/docs/types/Object3DHelperEventMap.html +40 -14
- package/docs/types/ObjectFit.html +40 -14
- package/docs/types/PaintBrushEventMap.html +40 -14
- package/docs/types/PanoCompassPluginData.html +40 -14
- package/docs/types/PanoCompassPluginExportType.html +40 -14
- package/docs/types/PanoCompassPluginParameterType.html +40 -14
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +40 -14
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +40 -14
- package/docs/types/PanoIndex.html +256 -0
- package/docs/types/PanoMeasurePluginEvent.html +40 -14
- package/docs/types/PanoMeasureReturnType.html +40 -14
- package/docs/types/PanoSpatialTagPluginId.html +40 -14
- package/docs/types/PanoTagPluginExportInterface.html +40 -14
- package/docs/types/PanoTagPluginParamsInterface.html +40 -14
- package/docs/types/PlaneTag.html +43 -19
- package/docs/types/PlaneTagElement.html +261 -0
- package/docs/types/Point2DElement.html +261 -0
- package/docs/types/Point2DTag.html +263 -0
- package/docs/types/Point3DElement.html +261 -0
- package/docs/types/Point3DTag.html +263 -0
- package/docs/types/PointTag.html +43 -23
- package/docs/types/PointTagElement.html +261 -0
- package/docs/types/Position.html +40 -14
- package/docs/types/RotateArgs.html +40 -14
- package/docs/types/RotateOpts.html +40 -14
- package/docs/types/RuleLabelsKey.html +40 -14
- package/docs/types/RuleLabelsValue.html +40 -14
- package/docs/types/StickType.html +256 -0
- package/docs/types/Tag.html +44 -22
- package/docs/types/Tag2D.html +45 -20
- package/docs/types/Tag3D.html +45 -20
- package/docs/types/TagContentType.html +256 -0
- package/docs/types/TagDimensionType.html +256 -0
- package/docs/types/TagElement.html +263 -0
- package/docs/types/TagEvents.html +291 -0
- package/docs/types/TagHooks.html +256 -0
- package/docs/types/TagIconSize.html +259 -0
- package/docs/types/TagId.html +40 -14
- package/docs/types/TagPointType.html +259 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +40 -14
- package/docs/types/TopviewFloorplanPluginReturnType.html +40 -14
- package/docs/types/{ContentTypeConfigKeyArray.html → WorkCode.html} +43 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +40 -14
- package/docs/variables/PLUGIN.html +40 -14
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +40 -14
- package/docs/variables/ROOM_TYPE_MAP.html +40 -14
- package/docs/variables/VERSION.html +40 -14
- package/docs/variables/itemLabelPluginServerParams.html +40 -14
- package/docs/variables/modelItemLabelPluginServerParams.html +40 -14
- package/docs/variables/modelRoomLabelPluginServerParams.html +40 -14
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +2 -2
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
- package/libs/CSS3DRenderPlugin/utils/index.js +12 -0
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +4 -3
- package/libs/CSS3DRenderPlugin/utils/random.js +6 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +6 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
- package/libs/CruisePlugin/Controller.js +2 -2
- package/libs/CruisePlugin/utils/coordinatesAngle.js +3 -2
- package/libs/CruisePlugin/utils/linerValue.js +4 -4
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
- package/libs/GuideLinePlugin/utils/getPoint.d.ts +3 -0
- package/libs/GuideLinePlugin/utils/getPoint.js +18 -0
- package/libs/Object3DHelperPlugin/Controller.js +38 -36
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +18 -9
- package/libs/PanoMeasurePlugin/Controller/EditController.js +16 -5
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +38 -19
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +13 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +31 -20
- package/libs/PanoMeasurePlugin/Controller/index.js +54 -18
- package/libs/PanoMeasurePlugin/Model/index.js +41 -34
- package/libs/PanoMeasurePlugin/Model/line.js +9 -6
- package/libs/PanoMeasurePlugin/Model/point.js +3 -3
- package/libs/PanoMeasurePlugin/Model/polyline.js +19 -12
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +24 -24
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +24 -16
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +4 -3
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +8 -5
- package/libs/PanoMeasurePlugin/index.js +16 -16
- package/libs/PanoMeasurePlugin/typings/data.js +1 -0
- package/libs/PanoMeasurePlugin/typings/event.type.js +4 -0
- package/libs/PanoMeasurePlugin/typings/index.js +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.js +1 -0
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +6 -0
- package/libs/PanoMeasurePlugin/utils/constants.js +15 -16
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +7 -6
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
- package/libs/PanoMeasurePlugin/utils/line.js +1 -0
- package/libs/PanoMeasurePlugin/utils/math.js +2 -1
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
- package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
- package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/PanoTagPlugin/Assets/Icon.d.ts +3 -2
- package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +103 -140
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +198 -0
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +108 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +95 -59
- package/libs/PanoTagPlugin/Components/Common/Media.js +275 -249
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +143 -79
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +11 -10
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +81 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +145 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +195 -0
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +172 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +223 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +123 -0
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +126 -131
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +75 -97
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +166 -143
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +75 -45
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +130 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +134 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +115 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +264 -157
- package/libs/PanoTagPlugin/Components/TagContainer.js +164 -109
- package/libs/PanoTagPlugin/Components/TagItem.js +253 -0
- package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/libs/PanoTagPlugin/controller/TagCacheController.js +3 -2
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +19 -22
- package/libs/PanoTagPlugin/controller/TagComputer.js +186 -151
- package/libs/PanoTagPlugin/controller/index.d.ts +25 -14
- package/libs/PanoTagPlugin/controller/index.js +265 -170
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +51 -35
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
- package/libs/PanoTagPlugin/tag.config.js +31 -16
- package/libs/PanoTagPlugin/typings/controller.d.ts +23 -17
- package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
- package/libs/PanoTagPlugin/typings/index.js +7 -1
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/libs/PanoTagPlugin/typings/tag/Tag.js +4 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +53 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +7 -1
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +107 -0
- package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/color.js +17 -0
- package/libs/PanoTagPlugin/utils/constants.js +2 -1
- package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
- package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/libs/PanoTagPlugin/utils/getImageInfo.js +51 -0
- package/libs/PanoTagPlugin/utils/index.js +36 -0
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
- package/libs/PanoTagPlugin/utils/search.js +27 -9
- package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/tag/format.js +18 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +26 -0
- package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
- package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +10 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +83 -74
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/index.js +126 -114
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +29 -39
- package/libs/shared-utils/audio.d.ts +31 -0
- package/libs/shared-utils/audio.js +81 -0
- package/libs/vendor/svelte/internal/index.js +382 -338
- package/package.json +3 -3
- package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/docs/enums/LinkType.html +0 -67
- package/docs/interfaces/ContentTypeMap.html +0 -212
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
- package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
- package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
- package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/libs/PanoTagPlugin/typings/tag.js +0 -7
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as C, init as j, safe_not_equal as N, append_styles as L, empty as b, insert as m, transition_in as c, group_outros as $, transition_out as p, check_outros as g, detach as y, element as q, space as I, attr as M, create_component as U, mount_component as h, destroy_component as w } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import { ContentType as k } from "../../../typings/tag.js";
|
|
3
|
-
import { CustomPoint as z } from "./CustomPoint.js";
|
|
4
|
-
import { DefaultPoint as A } from "./DefaultPoint.js";
|
|
5
|
-
function B(o) {
|
|
6
|
-
L(o, "svelte-8en2lj", ".point-click-helper.svelte-8en2lj{position:absolute;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}");
|
|
7
|
-
}
|
|
8
|
-
function T(o) {
|
|
9
|
-
let n, i, e = o[0].contentType !== k.Link && D(o);
|
|
10
|
-
return {
|
|
11
|
-
c() {
|
|
12
|
-
e && e.c(), n = b();
|
|
13
|
-
},
|
|
14
|
-
m(t, l) {
|
|
15
|
-
e && e.m(t, l), m(t, n, l), i = !0;
|
|
16
|
-
},
|
|
17
|
-
p(t, l) {
|
|
18
|
-
t[0].contentType !== k.Link ? e ? (e.p(t, l), l & 1 && c(e, 1)) : (e = D(t), e.c(), c(e, 1), e.m(n.parentNode, n)) : e && ($(), p(e, 1, 1, () => {
|
|
19
|
-
e = null;
|
|
20
|
-
}), g());
|
|
21
|
-
},
|
|
22
|
-
i(t) {
|
|
23
|
-
i || (c(e), i = !0);
|
|
24
|
-
},
|
|
25
|
-
o(t) {
|
|
26
|
-
p(e), i = !1;
|
|
27
|
-
},
|
|
28
|
-
d(t) {
|
|
29
|
-
e && e.d(t), t && y(n);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
function D(o) {
|
|
34
|
-
let n, i, e, t, l, u;
|
|
35
|
-
const f = [F, E], s = [];
|
|
36
|
-
function d(r, a) {
|
|
37
|
-
var _, v, P, S;
|
|
38
|
-
return ((v = (_ = r[0].style) == null ? void 0 : _.point) == null ? void 0 : v.style) === "CustomIcon" && ((S = (P = r[0].style) == null ? void 0 : P.point) == null ? void 0 : S.iconUrl) ? 0 : 1;
|
|
39
|
-
}
|
|
40
|
-
return e = d(o), t = s[e] = f[e](o), {
|
|
41
|
-
c() {
|
|
42
|
-
n = q("div"), i = I(), t.c(), l = b(), M(n, "class", "point-click-helper svelte-8en2lj");
|
|
43
|
-
},
|
|
44
|
-
m(r, a) {
|
|
45
|
-
m(r, n, a), m(r, i, a), s[e].m(r, a), m(r, l, a), u = !0;
|
|
46
|
-
},
|
|
47
|
-
p(r, a) {
|
|
48
|
-
let _ = e;
|
|
49
|
-
e = d(r), e === _ ? s[e].p(r, a) : ($(), p(s[_], 1, 1, () => {
|
|
50
|
-
s[_] = null;
|
|
51
|
-
}), g(), t = s[e], t ? t.p(r, a) : (t = s[e] = f[e](r), t.c()), c(t, 1), t.m(l.parentNode, l));
|
|
52
|
-
},
|
|
53
|
-
i(r) {
|
|
54
|
-
u || (c(t), u = !0);
|
|
55
|
-
},
|
|
56
|
-
o(r) {
|
|
57
|
-
p(t), u = !1;
|
|
58
|
-
},
|
|
59
|
-
d(r) {
|
|
60
|
-
r && y(n), r && y(i), s[e].d(r), r && y(l);
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
function E(o) {
|
|
65
|
-
let n, i;
|
|
66
|
-
return n = new A({
|
|
67
|
-
props: {
|
|
68
|
-
unfolded: o[0].state.unfolded,
|
|
69
|
-
foldDelay: o[1]
|
|
70
|
-
}
|
|
71
|
-
}), {
|
|
72
|
-
c() {
|
|
73
|
-
U(n.$$.fragment);
|
|
74
|
-
},
|
|
75
|
-
m(e, t) {
|
|
76
|
-
h(n, e, t), i = !0;
|
|
77
|
-
},
|
|
78
|
-
p(e, t) {
|
|
79
|
-
const l = {};
|
|
80
|
-
t & 1 && (l.unfolded = e[0].state.unfolded), t & 2 && (l.foldDelay = e[1]), n.$set(l);
|
|
81
|
-
},
|
|
82
|
-
i(e) {
|
|
83
|
-
i || (c(n.$$.fragment, e), i = !0);
|
|
84
|
-
},
|
|
85
|
-
o(e) {
|
|
86
|
-
p(n.$$.fragment, e), i = !1;
|
|
87
|
-
},
|
|
88
|
-
d(e) {
|
|
89
|
-
w(n, e);
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
function F(o) {
|
|
94
|
-
let n, i;
|
|
95
|
-
return n = new z({
|
|
96
|
-
props: {
|
|
97
|
-
iconUrl: o[0].style.point.iconUrl,
|
|
98
|
-
unfolded: o[0].state.unfolded,
|
|
99
|
-
foldDelay: o[1]
|
|
100
|
-
}
|
|
101
|
-
}), {
|
|
102
|
-
c() {
|
|
103
|
-
U(n.$$.fragment);
|
|
104
|
-
},
|
|
105
|
-
m(e, t) {
|
|
106
|
-
h(n, e, t), i = !0;
|
|
107
|
-
},
|
|
108
|
-
p(e, t) {
|
|
109
|
-
const l = {};
|
|
110
|
-
t & 1 && (l.iconUrl = e[0].style.point.iconUrl), t & 1 && (l.unfolded = e[0].state.unfolded), t & 2 && (l.foldDelay = e[1]), n.$set(l);
|
|
111
|
-
},
|
|
112
|
-
i(e) {
|
|
113
|
-
i || (c(n.$$.fragment, e), i = !0);
|
|
114
|
-
},
|
|
115
|
-
o(e) {
|
|
116
|
-
p(n.$$.fragment, e), i = !1;
|
|
117
|
-
},
|
|
118
|
-
d(e) {
|
|
119
|
-
w(n, e);
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
function G(o) {
|
|
124
|
-
var t, l, u;
|
|
125
|
-
let n, i, e = ((t = o[0].pointTagStyle) == null ? void 0 : t.leftPercent) && ((l = o[0].pointTagStyle) == null ? void 0 : l.topPercent) && o[0].enabled !== !1 && o[0].state && ((u = o[0].temporaryState) == null ? void 0 : u.visible) !== !1 && T(o);
|
|
126
|
-
return {
|
|
127
|
-
c() {
|
|
128
|
-
e && e.c(), n = b();
|
|
129
|
-
},
|
|
130
|
-
m(f, s) {
|
|
131
|
-
e && e.m(f, s), m(f, n, s), i = !0;
|
|
132
|
-
},
|
|
133
|
-
p(f, [s]) {
|
|
134
|
-
var d, r, a;
|
|
135
|
-
((d = f[0].pointTagStyle) == null ? void 0 : d.leftPercent) && ((r = f[0].pointTagStyle) == null ? void 0 : r.topPercent) && f[0].enabled !== !1 && f[0].state && ((a = f[0].temporaryState) == null ? void 0 : a.visible) !== !1 ? e ? (e.p(f, s), s & 1 && c(e, 1)) : (e = T(f), e.c(), c(e, 1), e.m(n.parentNode, n)) : e && ($(), p(e, 1, 1, () => {
|
|
136
|
-
e = null;
|
|
137
|
-
}), g());
|
|
138
|
-
},
|
|
139
|
-
i(f) {
|
|
140
|
-
i || (c(e), i = !0);
|
|
141
|
-
},
|
|
142
|
-
o(f) {
|
|
143
|
-
p(e), i = !1;
|
|
144
|
-
},
|
|
145
|
-
d(f) {
|
|
146
|
-
e && e.d(f), f && y(n);
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
function H(o, n, i) {
|
|
151
|
-
let e, { tag: t } = n;
|
|
152
|
-
return o.$$set = (l) => {
|
|
153
|
-
"tag" in l && i(0, t = l.tag);
|
|
154
|
-
}, o.$$.update = () => {
|
|
155
|
-
var l, u;
|
|
156
|
-
o.$$.dirty & 1 && i(1, e = (u = (l = t.style) == null ? void 0 : l.foldedPointDelay) != null ? u : t.contentType === k.Marketing ? 600 : void 0);
|
|
157
|
-
}, [t, e];
|
|
158
|
-
}
|
|
159
|
-
class R extends C {
|
|
160
|
-
constructor(n) {
|
|
161
|
-
super(), j(this, n, H, G, N, { tag: 0 }, B);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
export {
|
|
165
|
-
R as PointSwitch
|
|
166
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as b, init as k, safe_not_equal as x, append_styles as R, empty as L, insert as D, noop as g, destroy_each as T, detach as F, onMount as N, element as S, text as O, attr as v, append as z, set_data as C, binding_callbacks as w } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import p from "animejs";
|
|
3
|
-
import { notNil as A } from "../../../shared-utils/isNil.js";
|
|
4
|
-
import "three";
|
|
5
|
-
import { searchFirstValueSmallThanLastValue as J } from "../../utils/search.js";
|
|
6
|
-
import { RANDON_STRING as E } from "../../utils/constants.js";
|
|
7
|
-
function P(o) {
|
|
8
|
-
R(o, "svelte-zgfkts", ".text-char.svelte-zgfkts{text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
9
|
-
}
|
|
10
|
-
function y(o, i, l) {
|
|
11
|
-
const e = o.slice();
|
|
12
|
-
return e[10] = i[l], e[11] = i, e[12] = l, e;
|
|
13
|
-
}
|
|
14
|
-
function j(o) {
|
|
15
|
-
let i, l = o[10] + "", e, t = o[12];
|
|
16
|
-
const s = () => o[6](i, t), n = () => o[6](null, t);
|
|
17
|
-
return {
|
|
18
|
-
c() {
|
|
19
|
-
i = S("span"), e = O(l), v(i, "class", "text-char svelte-zgfkts");
|
|
20
|
-
},
|
|
21
|
-
m(r, f) {
|
|
22
|
-
D(r, i, f), z(i, e), s();
|
|
23
|
-
},
|
|
24
|
-
p(r, f) {
|
|
25
|
-
o = r, f & 2 && l !== (l = o[10] + "") && C(e, l), t !== o[12] && (n(), t = o[12], s());
|
|
26
|
-
},
|
|
27
|
-
d(r) {
|
|
28
|
-
r && F(i), n();
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
function U(o) {
|
|
33
|
-
let i, l = o[1], e = [];
|
|
34
|
-
for (let t = 0; t < l.length; t += 1)
|
|
35
|
-
e[t] = j(y(o, l, t));
|
|
36
|
-
return {
|
|
37
|
-
c() {
|
|
38
|
-
for (let t = 0; t < e.length; t += 1)
|
|
39
|
-
e[t].c();
|
|
40
|
-
i = L();
|
|
41
|
-
},
|
|
42
|
-
m(t, s) {
|
|
43
|
-
for (let n = 0; n < e.length; n += 1)
|
|
44
|
-
e[n].m(t, s);
|
|
45
|
-
D(t, i, s);
|
|
46
|
-
},
|
|
47
|
-
p(t, [s]) {
|
|
48
|
-
if (s & 3) {
|
|
49
|
-
l = t[1];
|
|
50
|
-
let n;
|
|
51
|
-
for (n = 0; n < l.length; n += 1) {
|
|
52
|
-
const r = y(t, l, n);
|
|
53
|
-
e[n] ? e[n].p(r, s) : (e[n] = j(r), e[n].c(), e[n].m(i.parentNode, i));
|
|
54
|
-
}
|
|
55
|
-
for (; n < e.length; n += 1)
|
|
56
|
-
e[n].d(1);
|
|
57
|
-
e.length = l.length;
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
i: g,
|
|
61
|
-
o: g,
|
|
62
|
-
d(t) {
|
|
63
|
-
T(e, t), t && F(i);
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function V(o, i, l) {
|
|
68
|
-
let e, { inDelay: t = 0 } = i, { outDelay: s = 0 } = i, { content: n } = i, { unfolded: r } = i, f, c = [], u;
|
|
69
|
-
function I(a) {
|
|
70
|
-
clearTimeout(f), f = setTimeout(
|
|
71
|
-
function() {
|
|
72
|
-
!u || (a && u.reversed || !a && !u.reversed) && (u.reverse(), u.play());
|
|
73
|
-
},
|
|
74
|
-
a ? t : s
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
N(function() {
|
|
78
|
-
const a = (() => {
|
|
79
|
-
const _ = J((m) => c[m].getBoundingClientRect().x, [Math.min(c.length - 1, 10), Math.min(c.length - 1, 30)]);
|
|
80
|
-
if (_ > 0)
|
|
81
|
-
return _;
|
|
82
|
-
})();
|
|
83
|
-
u = p({
|
|
84
|
-
targets: c.slice(0, a).filter(A),
|
|
85
|
-
autoplay: !1,
|
|
86
|
-
duration: 400,
|
|
87
|
-
scale: [0.7, 1],
|
|
88
|
-
rotate: [20, 0],
|
|
89
|
-
opacity: [0, 1],
|
|
90
|
-
translateX: [4, 0],
|
|
91
|
-
translateY: [10, 0],
|
|
92
|
-
delay: p.stagger(50),
|
|
93
|
-
easing: "easeInOutCubic"
|
|
94
|
-
}), r && u.seek(u.duration);
|
|
95
|
-
});
|
|
96
|
-
function M(a, _) {
|
|
97
|
-
w[a ? "unshift" : "push"](() => {
|
|
98
|
-
c[_] = a, l(0, c);
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
return o.$$set = (a) => {
|
|
102
|
-
"inDelay" in a && l(2, t = a.inDelay), "outDelay" in a && l(3, s = a.outDelay), "content" in a && l(4, n = a.content), "unfolded" in a && l(5, r = a.unfolded);
|
|
103
|
-
}, o.$$.update = () => {
|
|
104
|
-
o.$$.dirty & 16 && l(1, e = (() => {
|
|
105
|
-
const a = [], _ = 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")), m = `__EMOJI_SPLIT_${E}__`, h = `__EMOJI_${E}__`;
|
|
106
|
-
return n.slice().replace(_, (d) => `${m}${h}${d}${m}`).split(m).forEach((d) => d.startsWith(h) ? a.push(d.slice(h.length)) : a.push(...d.split(""))), a;
|
|
107
|
-
})()), o.$$.dirty & 32 && I(r);
|
|
108
|
-
}, [c, e, t, s, n, r, M];
|
|
109
|
-
}
|
|
110
|
-
class H extends b {
|
|
111
|
-
constructor(i) {
|
|
112
|
-
super(), k(
|
|
113
|
-
this,
|
|
114
|
-
i,
|
|
115
|
-
V,
|
|
116
|
-
U,
|
|
117
|
-
x,
|
|
118
|
-
{
|
|
119
|
-
inDelay: 2,
|
|
120
|
-
outDelay: 3,
|
|
121
|
-
content: 4,
|
|
122
|
-
unfolded: 5
|
|
123
|
-
},
|
|
124
|
-
P
|
|
125
|
-
);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
export {
|
|
129
|
-
H as Text
|
|
130
|
-
};
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as O, init as P, safe_not_equal as Q, append_styles as V, empty as X, insert as J, transition_in as v, group_outros as Y, transition_out as _, check_outros as Z, detach as K, element as c, create_component as D, space as T, attr as $, set_style as A, add_render_callback as x, toggle_class as G, mount_component as I, append as m, add_resize_listener as ee, listen as te, destroy_component as M } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import { uuid as ie } from "../../../shared-utils/uuid.js";
|
|
3
|
-
import "animejs";
|
|
4
|
-
import "three";
|
|
5
|
-
import "../../utils/constants.js";
|
|
6
|
-
import { Shadow as ne } from "../Common/Shadow.js";
|
|
7
|
-
import { Audio as oe } from "../Common/Audio.js";
|
|
8
|
-
import { Straight as le } from "../Common/Line/Straight.js";
|
|
9
|
-
import { MultiLineText as se } from "../Common/MultiLineText.js";
|
|
10
|
-
function re(e) {
|
|
11
|
-
V(e, "svelte-4r8s18", ".audio-tag.svelte-4r8s18.svelte-4r8s18{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.line.svelte-4r8s18.svelte-4r8s18{display:flex;position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-4r8s18.svelte-4r8s18{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0.125rem;overflow:hidden;box-sizing:border-box;font-size:0;white-space:nowrap;font-weight:600}.wrapper.svelte-4r8s18.svelte-4r8s18{position:relative;width:100%;height:100%}.audio-icon.svelte-4r8s18.svelte-4r8s18{vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.unfolded.svelte-4r8s18 .audio-icon.svelte-4r8s18{pointer-events:auto}");
|
|
12
|
-
}
|
|
13
|
-
function H(e) {
|
|
14
|
-
var W, q, L, N;
|
|
15
|
-
let o, l, i, n, s, p, a, f, h, u, k, d, g, C, w, U, R;
|
|
16
|
-
return l = new ne({
|
|
17
|
-
props: {
|
|
18
|
-
visible: e[5],
|
|
19
|
-
left: e[2] / 2 + "px",
|
|
20
|
-
bottom: 12,
|
|
21
|
-
width: 2,
|
|
22
|
-
blurRadius: 120,
|
|
23
|
-
spreadRadius: 60
|
|
24
|
-
}
|
|
25
|
-
}), s = new le({
|
|
26
|
-
props: {
|
|
27
|
-
unfolded: e[5],
|
|
28
|
-
duration: 1e3,
|
|
29
|
-
outDelay: e[4] + 20 * Math.min((q = (W = e[3][0]) == null ? void 0 : W.content.length) != null ? q : 10, 15)
|
|
30
|
-
}
|
|
31
|
-
}), u = new oe({
|
|
32
|
-
props: {
|
|
33
|
-
unfolded: e[5],
|
|
34
|
-
url: e[0].data.audioUrl,
|
|
35
|
-
duration: 1e3,
|
|
36
|
-
outDelay: 20 * Math.min((N = (L = e[3][0]) == null ? void 0 : L.content.length) != null ? N : 10, 15),
|
|
37
|
-
hooksInfo: { tag: e[0] }
|
|
38
|
-
}
|
|
39
|
-
}), g = new se({
|
|
40
|
-
props: {
|
|
41
|
-
visible: e[5],
|
|
42
|
-
textUnfolded: e[1],
|
|
43
|
-
textItems: e[3]
|
|
44
|
-
}
|
|
45
|
-
}), {
|
|
46
|
-
c() {
|
|
47
|
-
o = c("div"), D(l.$$.fragment), i = T(), n = c("div"), D(s.$$.fragment), p = T(), a = c("div"), f = c("div"), h = c("div"), D(u.$$.fragment), k = T(), d = c("div"), D(g.$$.fragment), $(n, "class", "line svelte-4r8s18"), A(n, "width", e[2] + "px"), $(h, "class", "audio-icon svelte-4r8s18"), A(d, "display", "inline-block"), $(f, "class", "wrapper svelte-4r8s18"), $(a, "class", "content svelte-4r8s18"), x(() => e[8].call(a)), $(o, "class", "audio-tag svelte-4r8s18"), G(o, "unfolded", e[5]);
|
|
48
|
-
},
|
|
49
|
-
m(t, r) {
|
|
50
|
-
J(t, o, r), I(l, o, null), m(o, i), m(o, n), I(s, n, null), m(o, p), m(o, a), m(a, f), m(f, h), I(u, h, null), m(f, k), m(f, d), I(g, d, null), C = ee(a, e[8].bind(a)), w = !0, U || (R = te(d, "click", e[6]), U = !0);
|
|
51
|
-
},
|
|
52
|
-
p(t, r) {
|
|
53
|
-
var j, B, E, F;
|
|
54
|
-
const y = {};
|
|
55
|
-
r & 32 && (y.visible = t[5]), r & 4 && (y.left = t[2] / 2 + "px"), l.$set(y);
|
|
56
|
-
const S = {};
|
|
57
|
-
r & 32 && (S.unfolded = t[5]), r & 24 && (S.outDelay = t[4] + 20 * Math.min((B = (j = t[3][0]) == null ? void 0 : j.content.length) != null ? B : 10, 15)), s.$set(S), r & 4 && A(n, "width", t[2] + "px");
|
|
58
|
-
const b = {};
|
|
59
|
-
r & 32 && (b.unfolded = t[5]), r & 1 && (b.url = t[0].data.audioUrl), r & 8 && (b.outDelay = 20 * Math.min((F = (E = t[3][0]) == null ? void 0 : E.content.length) != null ? F : 10, 15)), r & 1 && (b.hooksInfo = { tag: t[0] }), u.$set(b);
|
|
60
|
-
const z = {};
|
|
61
|
-
r & 32 && (z.visible = t[5]), r & 2 && (z.textUnfolded = t[1]), r & 8 && (z.textItems = t[3]), g.$set(z), (!w || r & 32) && G(o, "unfolded", t[5]);
|
|
62
|
-
},
|
|
63
|
-
i(t) {
|
|
64
|
-
w || (v(l.$$.fragment, t), v(s.$$.fragment, t), v(u.$$.fragment, t), v(g.$$.fragment, t), w = !0);
|
|
65
|
-
},
|
|
66
|
-
o(t) {
|
|
67
|
-
_(l.$$.fragment, t), _(s.$$.fragment, t), _(u.$$.fragment, t), _(g.$$.fragment, t), w = !1;
|
|
68
|
-
},
|
|
69
|
-
d(t) {
|
|
70
|
-
t && K(o), M(l), M(s), M(u), M(g), C(), U = !1, R();
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
function ae(e) {
|
|
75
|
-
let o, l, i = e[0].state && H(e);
|
|
76
|
-
return {
|
|
77
|
-
c() {
|
|
78
|
-
i && i.c(), o = X();
|
|
79
|
-
},
|
|
80
|
-
m(n, s) {
|
|
81
|
-
i && i.m(n, s), J(n, o, s), l = !0;
|
|
82
|
-
},
|
|
83
|
-
p(n, [s]) {
|
|
84
|
-
n[0].state ? i ? (i.p(n, s), s & 1 && v(i, 1)) : (i = H(n), i.c(), v(i, 1), i.m(o.parentNode, o)) : i && (Y(), _(i, 1, 1, () => {
|
|
85
|
-
i = null;
|
|
86
|
-
}), Z());
|
|
87
|
-
},
|
|
88
|
-
i(n) {
|
|
89
|
-
l || (v(i), l = !0);
|
|
90
|
-
},
|
|
91
|
-
o(n) {
|
|
92
|
-
_(i), l = !1;
|
|
93
|
-
},
|
|
94
|
-
d(n) {
|
|
95
|
-
i && i.d(n), n && K(o);
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
function de(e, o, l) {
|
|
100
|
-
let i, n, s, { tag: p } = o, a = !1, f, h = [];
|
|
101
|
-
function u() {
|
|
102
|
-
l(1, a = !a);
|
|
103
|
-
}
|
|
104
|
-
function k() {
|
|
105
|
-
f = this.clientWidth, l(2, f);
|
|
106
|
-
}
|
|
107
|
-
return e.$$set = (d) => {
|
|
108
|
-
"tag" in d && l(0, p = d.tag);
|
|
109
|
-
}, e.$$.update = () => {
|
|
110
|
-
var d;
|
|
111
|
-
e.$$.dirty & 1 && l(5, i = !!((d = p.state) != null && d.unfolded)), e.$$.dirty & 1 && l(7, n = p.data.text), e.$$.dirty & 128 && l(3, h = [{ id: ie(), content: n }]), e.$$.dirty & 2 && l(4, s = a ? 450 : 0);
|
|
112
|
-
}, [
|
|
113
|
-
p,
|
|
114
|
-
a,
|
|
115
|
-
f,
|
|
116
|
-
h,
|
|
117
|
-
s,
|
|
118
|
-
i,
|
|
119
|
-
u,
|
|
120
|
-
n,
|
|
121
|
-
k
|
|
122
|
-
];
|
|
123
|
-
}
|
|
124
|
-
class we extends O {
|
|
125
|
-
constructor(o) {
|
|
126
|
-
super(), P(this, o, de, ae, Q, { tag: 0 }, re);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
export {
|
|
130
|
-
we as AudioTag
|
|
131
|
-
};
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as W, init as q, safe_not_equal as C, append_styles as L, empty as N, insert as h, transition_in as p, group_outros as j, transition_out as g, check_outros as A, detach as c, create_component as x, space as D, element as I, attr as M, set_style as S, add_render_callback as B, mount_component as $, add_resize_listener as E, listen as F, destroy_component as k } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import { Straight as G } from "../Common/Line/Straight.js";
|
|
3
|
-
import { uuid as H } from "../../../shared-utils/uuid.js";
|
|
4
|
-
import { Shadow as J } from "../Common/Shadow.js";
|
|
5
|
-
import { MultiLineText as K } from "../Common/MultiLineText.js";
|
|
6
|
-
function O(n) {
|
|
7
|
-
L(n, "svelte-18yy5x8", ".line.svelte-18yy5x8{position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-18yy5x8{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
|
|
8
|
-
}
|
|
9
|
-
function R(n) {
|
|
10
|
-
var u, z;
|
|
11
|
-
let o, l, e, i, f, s, m, d, a, _, b;
|
|
12
|
-
return o = new J({
|
|
13
|
-
props: {
|
|
14
|
-
visible: n[2],
|
|
15
|
-
left: n[3] / 2 + "px",
|
|
16
|
-
bottom: 12,
|
|
17
|
-
width: 2,
|
|
18
|
-
blurRadius: 120,
|
|
19
|
-
spreadRadius: 60
|
|
20
|
-
}
|
|
21
|
-
}), i = new G({
|
|
22
|
-
props: {
|
|
23
|
-
unfolded: n[2],
|
|
24
|
-
duration: 1e3,
|
|
25
|
-
outDelay: n[5] + 40 * Math.min((z = (u = n[4][0]) == null ? void 0 : u.content.length) != null ? z : 10, 15)
|
|
26
|
-
}
|
|
27
|
-
}), m = new K({
|
|
28
|
-
props: {
|
|
29
|
-
visible: n[2],
|
|
30
|
-
textUnfolded: n[1],
|
|
31
|
-
textItems: n[4]
|
|
32
|
-
}
|
|
33
|
-
}), {
|
|
34
|
-
c() {
|
|
35
|
-
x(o.$$.fragment), l = D(), e = I("div"), x(i.$$.fragment), f = D(), s = I("div"), x(m.$$.fragment), M(e, "class", "line svelte-18yy5x8"), S(e, "width", n[3] + "px"), M(s, "class", "content svelte-18yy5x8"), B(() => n[8].call(s));
|
|
36
|
-
},
|
|
37
|
-
m(t, r) {
|
|
38
|
-
$(o, t, r), h(t, l, r), h(t, e, r), $(i, e, null), h(t, f, r), h(t, s, r), $(m, s, null), d = E(s, n[8].bind(s)), a = !0, _ || (b = F(s, "click", n[6]), _ = !0);
|
|
39
|
-
},
|
|
40
|
-
p(t, r) {
|
|
41
|
-
var T, U;
|
|
42
|
-
const y = {};
|
|
43
|
-
r & 4 && (y.visible = t[2]), r & 8 && (y.left = t[3] / 2 + "px"), o.$set(y);
|
|
44
|
-
const v = {};
|
|
45
|
-
r & 4 && (v.unfolded = t[2]), r & 48 && (v.outDelay = t[5] + 40 * Math.min((U = (T = t[4][0]) == null ? void 0 : T.content.length) != null ? U : 10, 15)), i.$set(v), r & 8 && S(e, "width", t[3] + "px");
|
|
46
|
-
const w = {};
|
|
47
|
-
r & 4 && (w.visible = t[2]), r & 2 && (w.textUnfolded = t[1]), r & 16 && (w.textItems = t[4]), m.$set(w);
|
|
48
|
-
},
|
|
49
|
-
i(t) {
|
|
50
|
-
a || (p(o.$$.fragment, t), p(i.$$.fragment, t), p(m.$$.fragment, t), a = !0);
|
|
51
|
-
},
|
|
52
|
-
o(t) {
|
|
53
|
-
g(o.$$.fragment, t), g(i.$$.fragment, t), g(m.$$.fragment, t), a = !1;
|
|
54
|
-
},
|
|
55
|
-
d(t) {
|
|
56
|
-
k(o, t), t && c(l), t && c(e), k(i), t && c(f), t && c(s), k(m), d(), _ = !1, b();
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
function P(n) {
|
|
61
|
-
let o, l, e = n[0].state && R(n);
|
|
62
|
-
return {
|
|
63
|
-
c() {
|
|
64
|
-
e && e.c(), o = N();
|
|
65
|
-
},
|
|
66
|
-
m(i, f) {
|
|
67
|
-
e && e.m(i, f), h(i, o, f), l = !0;
|
|
68
|
-
},
|
|
69
|
-
p(i, [f]) {
|
|
70
|
-
i[0].state ? e ? (e.p(i, f), f & 1 && p(e, 1)) : (e = R(i), e.c(), p(e, 1), e.m(o.parentNode, o)) : e && (j(), g(e, 1, 1, () => {
|
|
71
|
-
e = null;
|
|
72
|
-
}), A());
|
|
73
|
-
},
|
|
74
|
-
i(i) {
|
|
75
|
-
l || (p(e), l = !0);
|
|
76
|
-
},
|
|
77
|
-
o(i) {
|
|
78
|
-
g(e), l = !1;
|
|
79
|
-
},
|
|
80
|
-
d(i) {
|
|
81
|
-
e && e.d(i), i && c(o);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
function Q(n, o, l) {
|
|
86
|
-
let e, i, f, { tag: s } = o, m, d = !1, a = [];
|
|
87
|
-
function _() {
|
|
88
|
-
l(1, d = !d);
|
|
89
|
-
}
|
|
90
|
-
function b() {
|
|
91
|
-
m = this.clientWidth, l(3, m);
|
|
92
|
-
}
|
|
93
|
-
return n.$$set = (u) => {
|
|
94
|
-
"tag" in u && l(0, s = u.tag);
|
|
95
|
-
}, n.$$.update = () => {
|
|
96
|
-
var u;
|
|
97
|
-
n.$$.dirty & 1 && l(2, e = !!((u = s.state) != null && u.unfolded)), n.$$.dirty & 1 && l(7, i = s.data.text), n.$$.dirty & 128 && l(4, a = [{ id: H(), content: i }]), n.$$.dirty & 4 && (e || setTimeout(
|
|
98
|
-
() => {
|
|
99
|
-
l(1, d = !1);
|
|
100
|
-
},
|
|
101
|
-
20
|
|
102
|
-
)), n.$$.dirty & 2 && l(5, f = d ? 450 : 0);
|
|
103
|
-
}, [
|
|
104
|
-
s,
|
|
105
|
-
d,
|
|
106
|
-
e,
|
|
107
|
-
m,
|
|
108
|
-
a,
|
|
109
|
-
f,
|
|
110
|
-
_,
|
|
111
|
-
i,
|
|
112
|
-
b
|
|
113
|
-
];
|
|
114
|
-
}
|
|
115
|
-
class te extends W {
|
|
116
|
-
constructor(o) {
|
|
117
|
-
super(), q(this, o, Q, P, C, { tag: 0 }, O);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
export {
|
|
121
|
-
te as TextTag
|
|
122
|
-
};
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as K, init as M, safe_not_equal as N, append_styles as O, element as W, space as Q, attr as d, toggle_class as y, set_style as g, insert as j, append as R, transition_in as p, group_outros as z, transition_out as h, check_outros as A, detach as B, create_component as E, mount_component as F, destroy_component as G, listen as U, stop_propagation as V } from "../../vendor/svelte/internal/index.js";
|
|
2
|
-
import "three";
|
|
3
|
-
import { noTypecheck as C } from "../utils/noTypecheck.js";
|
|
4
|
-
import { DimensionType as q, PointType as D, ContentType as X } from "../typings/tag.js";
|
|
5
|
-
import { Tag as Y } from "./Tag/index.js";
|
|
6
|
-
import { PointSwitch as Z } from "./Common/Point/PointSwitch.js";
|
|
7
|
-
function x(t) {
|
|
8
|
-
O(t, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
|
|
9
|
-
}
|
|
10
|
-
function I(t) {
|
|
11
|
-
let e, n;
|
|
12
|
-
return e = new Y({
|
|
13
|
-
props: {
|
|
14
|
-
mediaStore: t[4],
|
|
15
|
-
withAnimation: t[0],
|
|
16
|
-
tag: C(t[1]),
|
|
17
|
-
hooks: t[2],
|
|
18
|
-
state: t[3],
|
|
19
|
-
temporaryState: t[5]
|
|
20
|
-
}
|
|
21
|
-
}), {
|
|
22
|
-
c() {
|
|
23
|
-
E(e.$$.fragment);
|
|
24
|
-
},
|
|
25
|
-
m(a, r) {
|
|
26
|
-
F(e, a, r), n = !0;
|
|
27
|
-
},
|
|
28
|
-
p(a, r) {
|
|
29
|
-
const f = {};
|
|
30
|
-
r & 16 && (f.mediaStore = a[4]), r & 1 && (f.withAnimation = a[0]), r & 2 && (f.tag = C(a[1])), r & 4 && (f.hooks = a[2]), r & 8 && (f.state = a[3]), r & 32 && (f.temporaryState = a[5]), e.$set(f);
|
|
31
|
-
},
|
|
32
|
-
i(a) {
|
|
33
|
-
n || (p(e.$$.fragment, a), n = !0);
|
|
34
|
-
},
|
|
35
|
-
o(a) {
|
|
36
|
-
h(e.$$.fragment, a), n = !1;
|
|
37
|
-
},
|
|
38
|
-
d(a) {
|
|
39
|
-
G(e, a);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function L(t) {
|
|
44
|
-
let e, n, a, r, f;
|
|
45
|
-
return n = new Z({ props: { tag: t[1] } }), {
|
|
46
|
-
c() {
|
|
47
|
-
e = W("div"), E(n.$$.fragment), d(e, "class", "point svelte-1vzhbu2");
|
|
48
|
-
},
|
|
49
|
-
m(i, l) {
|
|
50
|
-
j(i, e, l), F(n, e, null), a = !0, r || (f = U(e, "click", V(t[11])), r = !0);
|
|
51
|
-
},
|
|
52
|
-
p(i, l) {
|
|
53
|
-
const u = {};
|
|
54
|
-
l & 2 && (u.tag = i[1]), n.$set(u);
|
|
55
|
-
},
|
|
56
|
-
i(i) {
|
|
57
|
-
a || (p(n.$$.fragment, i), a = !0);
|
|
58
|
-
},
|
|
59
|
-
o(i) {
|
|
60
|
-
h(n.$$.fragment, i), a = !1;
|
|
61
|
-
},
|
|
62
|
-
d(i) {
|
|
63
|
-
i && B(e), G(n), r = !1, f();
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function $(t) {
|
|
68
|
-
var u, c;
|
|
69
|
-
let e, n, a, r, f, i = t[1].dimensionType === q.Two && I(t), l = t[1].pointType === D.PointTag && ((c = (u = t[1].style) == null ? void 0 : u.point) == null ? void 0 : c.style) !== "noPoint" && L(t);
|
|
70
|
-
return {
|
|
71
|
-
c() {
|
|
72
|
-
e = W("div"), i && i.c(), n = Q(), l && l.c(), d(e, "class", "wrapper svelte-1vzhbu2"), d(e, "data-content-type", a = t[1].contentType), d(e, "data-id", r = t[1].id), y(e, "hide", t[10]), y(e, "unfolded", t[6]), g(e, "left", t[9]), g(e, "top", t[8]), g(e, "z-index", t[7]);
|
|
73
|
-
},
|
|
74
|
-
m(o, m) {
|
|
75
|
-
j(o, e, m), i && i.m(e, null), R(e, n), l && l.m(e, null), f = !0;
|
|
76
|
-
},
|
|
77
|
-
p(o, [m]) {
|
|
78
|
-
var _, T;
|
|
79
|
-
o[1].dimensionType === q.Two ? i ? (i.p(o, m), m & 2 && p(i, 1)) : (i = I(o), i.c(), p(i, 1), i.m(e, n)) : i && (z(), h(i, 1, 1, () => {
|
|
80
|
-
i = null;
|
|
81
|
-
}), A()), o[1].pointType === D.PointTag && ((T = (_ = o[1].style) == null ? void 0 : _.point) == null ? void 0 : T.style) !== "noPoint" ? l ? (l.p(o, m), m & 2 && p(l, 1)) : (l = L(o), l.c(), p(l, 1), l.m(e, null)) : l && (z(), h(l, 1, 1, () => {
|
|
82
|
-
l = null;
|
|
83
|
-
}), A()), (!f || m & 2 && a !== (a = o[1].contentType)) && d(e, "data-content-type", a), (!f || m & 2 && r !== (r = o[1].id)) && d(e, "data-id", r), (!f || m & 1024) && y(e, "hide", o[10]), (!f || m & 64) && y(e, "unfolded", o[6]), m & 512 && g(e, "left", o[9]), m & 256 && g(e, "top", o[8]), m & 128 && g(e, "z-index", o[7]);
|
|
84
|
-
},
|
|
85
|
-
i(o) {
|
|
86
|
-
f || (p(i), p(l), f = !0);
|
|
87
|
-
},
|
|
88
|
-
o(o) {
|
|
89
|
-
h(i), h(l), f = !1;
|
|
90
|
-
},
|
|
91
|
-
d(o) {
|
|
92
|
-
o && B(e), i && i.d(), l && l.d();
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
function ee(t, e, n) {
|
|
97
|
-
let a, r, f, i, l, u, { withAnimation: c = !1 } = e, { tag: o } = e, { hooks: m } = e, { state: _ } = e, { mediaStore: T } = e, { temporaryState: S } = e, k, w = !1;
|
|
98
|
-
function H(s) {
|
|
99
|
-
k !== void 0 && clearTimeout(k), w = !0, k = setTimeout(
|
|
100
|
-
() => {
|
|
101
|
-
w = !1;
|
|
102
|
-
},
|
|
103
|
-
800
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
const J = (s) => {
|
|
107
|
-
w || m.emit("click", { event: s, target: "TagPoint", tag: o });
|
|
108
|
-
};
|
|
109
|
-
return t.$$set = (s) => {
|
|
110
|
-
"withAnimation" in s && n(0, c = s.withAnimation), "tag" in s && n(1, o = s.tag), "hooks" in s && n(2, m = s.hooks), "state" in s && n(3, _ = s.state), "mediaStore" in s && n(4, T = s.mediaStore), "temporaryState" in s && n(5, S = s.temporaryState);
|
|
111
|
-
}, t.$$.update = () => {
|
|
112
|
-
var s, b, v, P;
|
|
113
|
-
t.$$.dirty & 2 && n(12, a = (s = o.state) == null ? void 0 : s.visible), t.$$.dirty & 4096 && n(10, r = !a), t.$$.dirty & 2 && n(6, f = (b = o.state) == null ? void 0 : b.unfolded), t.$$.dirty & 2 && n(9, i = ((v = o.pointTagStyle) == null ? void 0 : v.leftPercent) + "%"), t.$$.dirty & 2 && n(8, l = ((P = o.pointTagStyle) == null ? void 0 : P.topPercent) + "%"), t.$$.dirty & 2 && n(7, u = o.contentType === X.Link ? 1 : 0), t.$$.dirty & 64 && H();
|
|
114
|
-
}, [
|
|
115
|
-
c,
|
|
116
|
-
o,
|
|
117
|
-
m,
|
|
118
|
-
_,
|
|
119
|
-
T,
|
|
120
|
-
S,
|
|
121
|
-
f,
|
|
122
|
-
u,
|
|
123
|
-
l,
|
|
124
|
-
i,
|
|
125
|
-
r,
|
|
126
|
-
J,
|
|
127
|
-
a
|
|
128
|
-
];
|
|
129
|
-
}
|
|
130
|
-
class fe extends K {
|
|
131
|
-
constructor(e) {
|
|
132
|
-
super(), M(
|
|
133
|
-
this,
|
|
134
|
-
e,
|
|
135
|
-
ee,
|
|
136
|
-
$,
|
|
137
|
-
N,
|
|
138
|
-
{
|
|
139
|
-
withAnimation: 0,
|
|
140
|
-
tag: 1,
|
|
141
|
-
hooks: 2,
|
|
142
|
-
state: 3,
|
|
143
|
-
mediaStore: 4,
|
|
144
|
-
temporaryState: 5
|
|
145
|
-
},
|
|
146
|
-
x
|
|
147
|
-
);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
export {
|
|
151
|
-
fe as TagWrapper
|
|
152
|
-
};
|