@realsee/dnalogel 2.3.5-dev.7 → 2.3.6-alpha.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/CruisePlugin/typing.d.ts +4 -0
- package/dist/PanoTagPlugin/Assets/Icon.d.ts +2 -3
- package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +14 -16
- package/dist/PanoTagPlugin/controller/index.d.ts +13 -16
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +11 -13
- package/dist/PanoTagPlugin/typings/index.d.ts +1 -5
- package/dist/PanoTagPlugin/typings/tag.d.ts +247 -0
- package/dist/index.cjs.js +51 -51
- package/dist/index.js +6419 -7315
- package/dist/index.umd.js +49 -49
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +26 -26
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +164 -213
- 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 +35 -75
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +15 -19
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/{interfaces/AddTagConfig.html → enums/LinkType.html} +23 -20
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +15 -19
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +13 -36
- package/docs/functions/CameraMovementPlugin.html +13 -36
- package/docs/functions/CruisePlugin.html +13 -36
- package/docs/functions/GuideLinePlugin.html +14 -37
- package/docs/functions/ItemLabelPlugin.html +13 -36
- package/docs/functions/MapviewFloorplanPlugin.html +13 -36
- package/docs/functions/ModelChassisCompassPlugin.html +13 -36
- package/docs/functions/ModelEntryDoorGuidePlugin.html +13 -36
- package/docs/functions/ModelFloorplanPlugin.html +13 -36
- package/docs/functions/ModelItemLabelPlugin.html +13 -36
- package/docs/functions/ModelRoomLabelPlugin.html +13 -36
- package/docs/functions/ModelTVVideoPlugin.html +13 -36
- package/docs/functions/ModelViewPlugin.html +13 -36
- package/docs/functions/Object3DHelperPlugin.html +13 -36
- package/docs/functions/PanoCompassPlugin.html +13 -36
- package/docs/functions/PanoCursorRaycasterPlugin.html +13 -36
- package/docs/functions/PanoDoorLabelPlugin.html +13 -36
- package/docs/functions/PanoFloorplanRadarPlugin.html +13 -36
- package/docs/functions/PanoMeasurePlugin.html +13 -36
- package/docs/functions/PanoRulerPlugin.html +13 -36
- package/docs/functions/PanoRulerProPlugin.html +13 -36
- package/docs/functions/PanoSpatialTagPlugin.html +13 -36
- package/docs/functions/PanoTagPlugin.html +23 -42
- package/docs/functions/TopviewFloorplanPlugin.html +13 -36
- 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 +14 -37
- package/docs/index.html +13 -36
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +212 -0
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +14 -37
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +14 -37
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +14 -37
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +14 -37
- package/docs/interfaces/Rooms.html +14 -37
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +19 -15
- package/docs/interfaces/Tags.html +12 -14
- 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 +21 -67
- package/docs/types/ArrayPosition.html +15 -38
- package/docs/types/CSS3DRenderExportType.html +14 -37
- package/docs/types/CSS3DRenderPluginExportType.html +14 -37
- package/docs/types/CSS3DRenderPluginParameterType.html +14 -37
- package/docs/types/Color.html +14 -37
- package/docs/types/ContentTypeConfigKey.html +15 -38
- package/docs/types/{WorkCode.html → ContentTypeConfigKeyArray.html} +17 -40
- package/docs/types/Create3DDomContainerReturnType.html +14 -37
- package/docs/types/Create3DElementReturnType.html +14 -37
- package/docs/types/CruisePluginExportType.html +14 -37
- package/docs/types/Direction-1.html +14 -37
- package/docs/types/Direction4.html +14 -37
- package/docs/types/FloorplanRuleLabels.html +14 -37
- package/docs/types/FloorplanServerRuleLabels.html +14 -37
- package/docs/types/GuideLinePluginExportType.html +14 -37
- package/docs/types/HelperEventMap.html +14 -37
- package/docs/types/MapviewFloorplanPluginParameterType.html +14 -37
- package/docs/types/MapviewFloorplanPluginReturnType.html +14 -37
- package/docs/types/MediaData.html +14 -37
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +14 -37
- package/docs/types/ModelFloorplanPluginParameterType.html +14 -37
- package/docs/types/ModelFloorplanPluginReturnType.html +14 -37
- package/docs/types/ModelRoomLabelPluginParameters.html +14 -37
- package/docs/types/ModelRoomLabelPluginReturnType.html +14 -37
- package/docs/types/MoveArgs.html +14 -37
- package/docs/types/MoveOpts.html +14 -37
- package/docs/types/Object3DHelperEventMap.html +14 -37
- package/docs/types/ObjectFit.html +14 -37
- package/docs/types/PaintBrushEventMap.html +14 -37
- package/docs/types/PanoCompassPluginData.html +14 -37
- package/docs/types/PanoCompassPluginExportType.html +14 -37
- package/docs/types/PanoCompassPluginParameterType.html +14 -37
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +14 -37
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +14 -37
- package/docs/types/PanoMeasurePluginEvent.html +14 -37
- package/docs/types/PanoMeasureReturnType.html +14 -37
- package/docs/types/PanoSpatialTagPluginId.html +14 -37
- package/docs/types/PanoTagPluginExportInterface.html +14 -37
- package/docs/types/PanoTagPluginParamsInterface.html +14 -37
- package/docs/types/PlaneTag.html +19 -40
- package/docs/types/PointTag.html +23 -40
- package/docs/types/Position.html +14 -37
- package/docs/types/RotateArgs.html +14 -37
- package/docs/types/RotateOpts.html +14 -37
- package/docs/types/RuleLabelsKey.html +14 -37
- package/docs/types/RuleLabelsValue.html +14 -37
- package/docs/types/Tag.html +22 -41
- package/docs/types/Tag2D.html +20 -42
- package/docs/types/Tag3D.html +20 -42
- package/docs/types/TagId.html +14 -37
- package/docs/types/TopviewFloorplanPluginParameterType.html +14 -37
- package/docs/types/TopviewFloorplanPluginReturnType.html +14 -37
- package/docs/variables/FLOOR_TYPE_MAP.html +14 -37
- package/docs/variables/PLUGIN.html +14 -37
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +14 -37
- package/docs/variables/ROOM_TYPE_MAP.html +14 -37
- package/docs/variables/VERSION.html +14 -37
- package/docs/variables/itemLabelPluginServerParams.html +14 -37
- package/docs/variables/modelItemLabelPluginServerParams.html +14 -37
- package/docs/variables/modelRoomLabelPluginServerParams.html +14 -37
- 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 +0 -12
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +3 -4
- package/libs/CSS3DRenderPlugin/utils/random.js +1 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +2 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +1 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +4 -6
- 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 +146 -143
- package/libs/CruisePlugin/typing.d.ts +4 -0
- package/libs/CruisePlugin/utils/coordinatesAngle.js +2 -3
- 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/Object3DHelperPlugin/Controller.js +36 -38
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +15 -25
- package/libs/PanoMeasurePlugin/Controller/EditController.js +9 -21
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +10 -23
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +14 -25
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +29 -44
- package/libs/PanoMeasurePlugin/Controller/index.js +21 -58
- package/libs/PanoMeasurePlugin/Model/index.js +40 -47
- package/libs/PanoMeasurePlugin/Model/line.js +11 -15
- package/libs/PanoMeasurePlugin/Model/point.js +5 -5
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +5 -8
- package/libs/PanoMeasurePlugin/index.js +2 -2
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
- package/libs/PanoMeasurePlugin/utils/constants.js +16 -15
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +6 -7
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
- package/libs/PanoMeasurePlugin/utils/line.js +0 -1
- package/libs/PanoMeasurePlugin/utils/math.js +1 -2
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
- package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
- package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/PanoTagPlugin/Assets/Icon.d.ts +2 -3
- package/libs/PanoTagPlugin/Assets/Icon.js +3 -4
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +132 -137
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +59 -95
- package/libs/PanoTagPlugin/Components/Common/Media.js +205 -231
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +80 -109
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +170 -0
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +50 -0
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +50 -0
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +166 -0
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +9 -10
- package/libs/PanoTagPlugin/Components/Common/Text.js +130 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +131 -0
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +130 -122
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +96 -58
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -5
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -75
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +122 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +145 -182
- package/libs/PanoTagPlugin/Components/TagContainer.js +109 -144
- package/libs/PanoTagPlugin/Components/TagWrapper.js +152 -0
- package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
- package/libs/PanoTagPlugin/controller/TagCacheController.js +2 -3
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +14 -16
- package/libs/PanoTagPlugin/controller/TagComputer.js +150 -173
- package/libs/PanoTagPlugin/controller/index.d.ts +13 -16
- package/libs/PanoTagPlugin/controller/index.js +165 -238
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +21 -32
- package/libs/PanoTagPlugin/tag.config.js +16 -23
- package/libs/PanoTagPlugin/typings/controller.d.ts +11 -13
- package/libs/PanoTagPlugin/typings/index.d.ts +1 -5
- package/libs/PanoTagPlugin/typings/index.js +1 -7
- package/libs/PanoTagPlugin/typings/tag.d.ts +247 -0
- package/libs/PanoTagPlugin/typings/tag.js +7 -0
- package/libs/PanoTagPlugin/utils/constants.js +1 -2
- package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
- package/libs/PanoTagPlugin/utils/index.js +0 -35
- package/libs/PanoTagPlugin/utils/search.js +9 -27
- package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +6 -10
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/index.js +101 -112
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +20 -17
- package/libs/vendor/svelte/internal/index.js +341 -381
- package/package.json +3 -3
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -50
- package/dist/PanoTagPlugin/utils/color.d.ts +0 -7
- package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +0 -1
- package/dist/PanoTagPlugin/utils/tag/format.d.ts +0 -2
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
- package/dist/PanoTagPlugin/utils/timeToString.d.ts +0 -1
- package/docs/interfaces/EventMap.html +0 -298
- package/docs/interfaces/MinMax.html +0 -71
- package/docs/interfaces/State.html +0 -89
- package/docs/interfaces/TagCache.html +0 -92
- package/docs/interfaces/TagIconUrl.html +0 -91
- package/docs/interfaces/TemporaryState.html +0 -64
- package/docs/types/ContentTypeMap.html +0 -248
- package/docs/types/LoadTagConfig.html +0 -248
- package/docs/types/MediaStore.html +0 -248
- package/docs/types/PanoIndex.html +0 -248
- package/docs/types/PlaneTagElement.html +0 -253
- package/docs/types/Point2DElement.html +0 -253
- package/docs/types/Point2DTag.html +0 -255
- package/docs/types/Point3DElement.html +0 -253
- package/docs/types/Point3DTag.html +0 -255
- package/docs/types/PointTagElement.html +0 -253
- package/docs/types/StickType.html +0 -248
- package/docs/types/TagContentType.html +0 -248
- package/docs/types/TagDimensionType.html +0 -248
- package/docs/types/TagElement.html +0 -255
- package/docs/types/TagEvents.html +0 -283
- package/docs/types/TagHooks.html +0 -248
- package/docs/types/TagIconSize.html +0 -251
- package/docs/types/TagPointType.html +0 -251
- package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
- package/libs/GuideLinePlugin/utils/getPoint.js +0 -18
- package/libs/PanoMeasurePlugin/typings/data.js +0 -1
- package/libs/PanoMeasurePlugin/typings/event.type.js +0 -1
- package/libs/PanoMeasurePlugin/typings/index.js +0 -1
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +0 -1
- package/libs/PanoMeasurePlugin/typings/utils.type.js +0 -1
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +0 -2
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +0 -6
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +0 -175
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +0 -110
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +0 -81
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -145
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -147
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +0 -166
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +0 -213
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -215
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +0 -120
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -102
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -134
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -115
- package/libs/PanoTagPlugin/Components/TagItem.js +0 -187
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
- package/libs/PanoTagPlugin/mocks/v2/mock1.d.ts +0 -128
- package/libs/PanoTagPlugin/mocks/v2/mock1.js +0 -114
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
- package/libs/PanoTagPlugin/typings/tag/Tag.js +0 -4
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
- package/libs/PanoTagPlugin/typings/tag/TagConfig.js +0 -1
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
- package/libs/PanoTagPlugin/typings/tag/TagData.js +0 -4
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -50
- package/libs/PanoTagPlugin/typings/tag/Utils.js +0 -5
- package/libs/PanoTagPlugin/utils/color.d.ts +0 -7
- package/libs/PanoTagPlugin/utils/color.js +0 -17
- package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
- package/libs/PanoTagPlugin/utils/getImageInfo.js +0 -51
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/px2rem.js +0 -6
- package/libs/PanoTagPlugin/utils/tag/format.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +0 -18
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +0 -26
- package/libs/PanoTagPlugin/utils/timeToString.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/timeToString.js +0 -7
|
@@ -0,0 +1,166 @@
|
|
|
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,6 +1,5 @@
|
|
|
1
|
-
import { SvelteComponent as X, init as S, safe_not_equal as q, append_styles as N, empty as j, insert as v, transition_in as s, transition_out as R, check_outros as
|
|
1
|
+
import { SvelteComponent as X, init as S, safe_not_equal as q, append_styles as N, empty as j, insert as v, transition_in as s, group_outros as A, transition_out as R, check_outros as B, detach as I, element as E, attr as h, set_style as d, add_render_callback as F, create_in_transition as G, create_out_transition as H } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { fade as g } from "../../../vendor/svelte/transition/index.js";
|
|
3
|
-
import "../../../vendor/svelte/easing/index.js";
|
|
4
3
|
function J(t) {
|
|
5
4
|
N(t, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
|
|
6
5
|
}
|
|
@@ -8,7 +7,7 @@ function k(t) {
|
|
|
8
7
|
let i, e, l, f, u;
|
|
9
8
|
return {
|
|
10
9
|
c() {
|
|
11
|
-
i =
|
|
10
|
+
i = E("div"), h(i, "class", "shadow svelte-faoauy"), h(i, "style", e = `
|
|
12
11
|
left:${o(t[5])};
|
|
13
12
|
bottom:${o(t[6])};
|
|
14
13
|
box-shadow: 0 0 ${o(t[10])} ${o(t[11])} rgba(0, 0, 0, ${t[12]});
|
|
@@ -31,12 +30,12 @@ function k(t) {
|
|
|
31
30
|
`)) && h(i, "style", e), r & 8 && d(i, "width", o(t[3])), r & 16 && d(i, "height", o(t[4])), r & 8192 && d(i, "z-index", t[13]);
|
|
32
31
|
},
|
|
33
32
|
i(a) {
|
|
34
|
-
u || (a &&
|
|
35
|
-
f && f.end(1), l =
|
|
33
|
+
u || (a && F(() => {
|
|
34
|
+
f && f.end(1), l = G(i, g, { duration: t[0] }), l.start();
|
|
36
35
|
}), u = !0);
|
|
37
36
|
},
|
|
38
37
|
o(a) {
|
|
39
|
-
l && l.invalidate(), a && (f =
|
|
38
|
+
l && l.invalidate(), a && (f = H(i, g, { duration: t[1] })), u = !1;
|
|
40
39
|
},
|
|
41
40
|
d(a) {
|
|
42
41
|
a && I(i), a && f && f.end();
|
|
@@ -53,9 +52,9 @@ function K(t) {
|
|
|
53
52
|
e && e.m(l, f), v(l, i, f);
|
|
54
53
|
},
|
|
55
54
|
p(l, [f]) {
|
|
56
|
-
l[2] ? e ? (e.p(l, f), f & 4 && s(e, 1)) : (e = k(l), e.c(), s(e, 1), e.m(i.parentNode, i)) : e && (
|
|
55
|
+
l[2] ? e ? (e.p(l, f), f & 4 && s(e, 1)) : (e = k(l), e.c(), s(e, 1), e.m(i.parentNode, i)) : e && (A(), R(e, 1, 1, () => {
|
|
57
56
|
e = null;
|
|
58
|
-
}),
|
|
57
|
+
}), B());
|
|
59
58
|
},
|
|
60
59
|
i(l) {
|
|
61
60
|
s(e);
|
|
@@ -92,7 +91,7 @@ function L(t, i, e) {
|
|
|
92
91
|
D
|
|
93
92
|
];
|
|
94
93
|
}
|
|
95
|
-
class
|
|
94
|
+
class P extends X {
|
|
96
95
|
constructor(i) {
|
|
97
96
|
super(), S(
|
|
98
97
|
this,
|
|
@@ -121,5 +120,5 @@ class Q extends X {
|
|
|
121
120
|
}
|
|
122
121
|
}
|
|
123
122
|
export {
|
|
124
|
-
|
|
123
|
+
P as Shadow
|
|
125
124
|
};
|
|
@@ -0,0 +1,130 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
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,18 +1,18 @@
|
|
|
1
|
-
import { SvelteComponent as u, init as
|
|
1
|
+
import { SvelteComponent as u, init as _, safe_not_equal as d, append_styles as p, element as g, attr as v, insert as a, noop as f, detach as r, onMount as h, onDestroy as k, empty as b, binding_callbacks as y, HtmlTag as C } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
function j(i) {
|
|
3
3
|
p(i, "svelte-kzl2aj", ".customElement__container.svelte-kzl2aj{position:relative}");
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function m(i) {
|
|
6
6
|
let l, e = i[0].element + "", n;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
9
|
l = new C(!1), n = b(), l.a = n;
|
|
10
10
|
},
|
|
11
|
-
m(t,
|
|
12
|
-
l.m(e, t,
|
|
11
|
+
m(t, o) {
|
|
12
|
+
l.m(e, t, o), a(t, n, o);
|
|
13
13
|
},
|
|
14
|
-
p(t,
|
|
15
|
-
|
|
14
|
+
p(t, o) {
|
|
15
|
+
o & 1 && e !== (e = t[0].element + "") && l.p(e);
|
|
16
16
|
},
|
|
17
17
|
d(t) {
|
|
18
18
|
t && r(n), t && l.d();
|
|
@@ -20,16 +20,16 @@ function a(i) {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
function z(i) {
|
|
23
|
-
let l, e = typeof i[0].element == "string" &&
|
|
23
|
+
let l, e = typeof i[0].element == "string" && m(i);
|
|
24
24
|
return {
|
|
25
25
|
c() {
|
|
26
26
|
l = g("div"), e && e.c(), v(l, "class", "customElement__container svelte-kzl2aj");
|
|
27
27
|
},
|
|
28
28
|
m(n, t) {
|
|
29
|
-
|
|
29
|
+
a(n, l, t), e && e.m(l, null), i[2](l);
|
|
30
30
|
},
|
|
31
31
|
p(n, [t]) {
|
|
32
|
-
typeof n[0].element == "string" ? e ? e.p(n, t) : (e =
|
|
32
|
+
typeof n[0].element == "string" ? e ? e.p(n, t) : (e = m(n), e.c(), e.m(l, null)) : e && (e.d(1), e = null);
|
|
33
33
|
},
|
|
34
34
|
i: f,
|
|
35
35
|
o: f,
|
|
@@ -39,34 +39,34 @@ function z(i) {
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
function E(i, l, e) {
|
|
42
|
-
let { tag: n } = l, t,
|
|
42
|
+
let { tag: n } = l, t, o;
|
|
43
43
|
h(() => {
|
|
44
44
|
if (t) {
|
|
45
45
|
if (n.element instanceof Element) {
|
|
46
|
-
const
|
|
47
|
-
t.appendChild(
|
|
46
|
+
const s = n.element;
|
|
47
|
+
t.appendChild(s), o = () => t == null ? void 0 : t.removeChild(s);
|
|
48
48
|
} else if (typeof n.element == "function") {
|
|
49
|
-
const
|
|
50
|
-
|
|
49
|
+
const s = n.element;
|
|
50
|
+
o = s(t);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}), k(() => {
|
|
54
|
-
|
|
54
|
+
o == null || o();
|
|
55
55
|
});
|
|
56
|
-
function c(
|
|
57
|
-
y[
|
|
58
|
-
t =
|
|
56
|
+
function c(s) {
|
|
57
|
+
y[s ? "unshift" : "push"](() => {
|
|
58
|
+
t = s, e(1, t);
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
return i.$$set = (
|
|
62
|
-
"tag" in
|
|
61
|
+
return i.$$set = (s) => {
|
|
62
|
+
"tag" in s && e(0, n = s.tag);
|
|
63
63
|
}, [n, t, c];
|
|
64
64
|
}
|
|
65
65
|
class q extends u {
|
|
66
66
|
constructor(l) {
|
|
67
|
-
super(),
|
|
67
|
+
super(), _(this, l, E, z, d, { tag: 0 }, j);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
export {
|
|
71
|
-
q as
|
|
71
|
+
q as CustomTag
|
|
72
72
|
};
|