@realsee/dnalogel 2.3.7 → 2.3.9-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/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 +24 -13
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +21 -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/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 +54 -56
- package/dist/index.js +7445 -6328
- package/dist/index.umd.js +47 -49
- 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 +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 +221 -174
- 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/LineJson.html +7 -7
- 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/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 +40 -14
- 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 +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/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 +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 +251 -0
- package/docs/types/AudioTagTypeConfigKey.html +251 -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 +251 -0
- package/docs/types/ContentTypeMap.html +251 -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 +251 -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 +251 -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/{ContentTypeConfigKeyArray.html → PanoIndex.html} +43 -17
- 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 +256 -0
- package/docs/types/Point2DElement.html +256 -0
- package/docs/types/Point2DTag.html +258 -0
- package/docs/types/Point3DElement.html +256 -0
- package/docs/types/Point3DTag.html +258 -0
- package/docs/types/PointTag.html +43 -23
- package/docs/types/PointTagElement.html +256 -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 +251 -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 +251 -0
- package/docs/types/TagDimensionType.html +251 -0
- package/docs/types/TagElement.html +258 -0
- package/docs/types/TagEvents.html +286 -0
- package/docs/types/TagHooks.html +251 -0
- package/docs/types/TagIconSize.html +254 -0
- package/docs/types/TagId.html +40 -14
- package/docs/types/TagPointType.html +254 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +40 -14
- package/docs/types/TopviewFloorplanPluginReturnType.html +40 -14
- package/docs/types/WorkCode.html +251 -0
- 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 +1 -1
- 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 +25 -15
- package/libs/PanoMeasurePlugin/Controller/EditController.js +21 -9
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +23 -10
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +25 -14
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +44 -29
- package/libs/PanoMeasurePlugin/Controller/index.js +58 -21
- package/libs/PanoMeasurePlugin/Model/index.js +47 -40
- package/libs/PanoMeasurePlugin/Model/line.js +15 -11
- 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 +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 +2 -2
- package/libs/PanoMeasurePlugin/typings/data.js +1 -0
- package/libs/PanoMeasurePlugin/typings/event.type.js +1 -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 +137 -132
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +175 -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 +10 -9
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +80 -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 +213 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +215 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +120 -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 +58 -96
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -3
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +75 -45
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +102 -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 +235 -148
- package/libs/PanoTagPlugin/Components/TagContainer.js +144 -109
- package/libs/PanoTagPlugin/Components/TagItem.js +233 -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 +24 -13
- package/libs/PanoTagPlugin/controller/index.js +245 -165
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +32 -21
- 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 +21 -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/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 +35 -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 +112 -101
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +17 -20
- 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
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { SvelteComponent as K, init as P, safe_not_equal as Q, append_styles as V, empty as X, insert as M, transition_in as g, transition_out as h, check_outros as E, detach as R, element as w, create_component as b, space as U, attr as k, add_render_callback as G, set_style as Y, toggle_class as L, mount_component as I, append as $, add_resize_listener as Z, listen as x, group_outros as H, destroy_component as z, create_in_transition as ee, create_out_transition as te } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { cubicInOut as N } from "../../../../vendor/svelte/easing/index.js";
|
|
3
|
+
import { fade as O } from "../../../../vendor/svelte/transition/index.js";
|
|
4
|
+
import ie from "../../Common/Audio.js";
|
|
5
|
+
import ne from "../../Common/Line/Straight.js";
|
|
6
|
+
import J from "../../Common/Shadow.js";
|
|
7
|
+
import oe from "../../Common/Text/FlyMText.js";
|
|
8
|
+
import re from "../../Common/Icon/audioIcon.js";
|
|
9
|
+
import "../../../../shared-utils/uuid.js";
|
|
10
|
+
import "../../Common/Text/FlyText.js";
|
|
11
|
+
import "animejs";
|
|
12
|
+
import "../../../../shared-utils/isNil.js";
|
|
13
|
+
import "three";
|
|
14
|
+
import "../../../utils/search.js";
|
|
15
|
+
import "../../../utils/constants.js";
|
|
16
|
+
import "../../Common/Arrow.js";
|
|
17
|
+
import "../../../Assets/Icon.js";
|
|
18
|
+
import "../../../utils/doUtil.js";
|
|
19
|
+
import "../../../utils/px2rem.js";
|
|
20
|
+
function ae(e) {
|
|
21
|
+
V(e, "svelte-1s6gk4a", ".audio-tag.svelte-1s6gk4a{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.audio-icon__wrapper.svelte-1s6gk4a{position:relative;vertical-align:top;width:100%;height:100%}.content.svelte-1s6gk4a{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-1s6gk4a{position:relative;width:100%;height:100%}.audio-icon.svelte-1s6gk4a{pointer-events:none;vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.audio.svelte-1s6gk4a{position:relative;width:100%;height:100%}");
|
|
22
|
+
}
|
|
23
|
+
function j(e) {
|
|
24
|
+
var T, W;
|
|
25
|
+
let t, n, o, i, a, s, m, r, f, u, _, c, v, A, S;
|
|
26
|
+
n = new J({
|
|
27
|
+
props: {
|
|
28
|
+
visible: e[5],
|
|
29
|
+
left: e[2] / 2 + "px",
|
|
30
|
+
bottom: 12,
|
|
31
|
+
width: 2,
|
|
32
|
+
blurRadius: 120,
|
|
33
|
+
spreadRadius: 60
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
let d = e[5] && B(e);
|
|
37
|
+
return f = new oe({
|
|
38
|
+
props: {
|
|
39
|
+
visible: e[5],
|
|
40
|
+
textUnfolded: e[1],
|
|
41
|
+
content: e[4]
|
|
42
|
+
}
|
|
43
|
+
}), c = new ne({
|
|
44
|
+
props: {
|
|
45
|
+
unfolded: e[5],
|
|
46
|
+
length: 150,
|
|
47
|
+
outDelay: e[3] + 20 * Math.min((W = (T = e[4]) == null ? void 0 : T.length) != null ? W : 10, 15),
|
|
48
|
+
useLinearColor: !0
|
|
49
|
+
}
|
|
50
|
+
}), {
|
|
51
|
+
c() {
|
|
52
|
+
t = w("div"), b(n.$$.fragment), o = U(), i = w("div"), a = w("div"), s = w("div"), d && d.c(), m = U(), r = w("div"), b(f.$$.fragment), _ = U(), b(c.$$.fragment), k(s, "class", "audio-icon svelte-1s6gk4a"), G(() => e[7].call(r)), Y(r, "display", "inline-block"), k(a, "class", "wrapper svelte-1s6gk4a"), k(i, "class", "content svelte-1s6gk4a"), k(t, "class", "audio-tag svelte-1s6gk4a"), L(t, "unfolded", e[5]);
|
|
53
|
+
},
|
|
54
|
+
m(l, p) {
|
|
55
|
+
M(l, t, p), I(n, t, null), $(t, o), $(t, i), $(i, a), $(a, s), d && d.m(s, null), $(a, m), $(a, r), I(f, r, null), u = Z(r, e[7].bind(r)), $(t, _), I(c, t, null), v = !0, A || (S = x(r, "click", e[6]), A = !0);
|
|
56
|
+
},
|
|
57
|
+
p(l, p) {
|
|
58
|
+
var q, F;
|
|
59
|
+
const C = {};
|
|
60
|
+
p & 32 && (C.visible = l[5]), p & 4 && (C.left = l[2] / 2 + "px"), n.$set(C), l[5] ? d ? (d.p(l, p), p & 32 && g(d, 1)) : (d = B(l), d.c(), g(d, 1), d.m(s, null)) : d && (H(), h(d, 1, 1, () => {
|
|
61
|
+
d = null;
|
|
62
|
+
}), E());
|
|
63
|
+
const y = {};
|
|
64
|
+
p & 32 && (y.visible = l[5]), p & 2 && (y.textUnfolded = l[1]), p & 16 && (y.content = l[4]), f.$set(y);
|
|
65
|
+
const D = {};
|
|
66
|
+
p & 32 && (D.unfolded = l[5]), p & 24 && (D.outDelay = l[3] + 20 * Math.min((F = (q = l[4]) == null ? void 0 : q.length) != null ? F : 10, 15)), c.$set(D), (!v || p & 32) && L(t, "unfolded", l[5]);
|
|
67
|
+
},
|
|
68
|
+
i(l) {
|
|
69
|
+
v || (g(n.$$.fragment, l), g(d), g(f.$$.fragment, l), g(c.$$.fragment, l), v = !0);
|
|
70
|
+
},
|
|
71
|
+
o(l) {
|
|
72
|
+
h(n.$$.fragment, l), h(d), h(f.$$.fragment, l), h(c.$$.fragment, l), v = !1;
|
|
73
|
+
},
|
|
74
|
+
d(l) {
|
|
75
|
+
l && R(t), z(n), d && d.d(), z(f), u(), z(c), A = !1, S();
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function B(e) {
|
|
80
|
+
let t, n, o, i, a, s, m;
|
|
81
|
+
return n = new J({
|
|
82
|
+
props: {
|
|
83
|
+
center: !0,
|
|
84
|
+
blurRadius: 15,
|
|
85
|
+
spreadRadius: 6
|
|
86
|
+
}
|
|
87
|
+
}), i = new ie({
|
|
88
|
+
props: {
|
|
89
|
+
paused: !e[5],
|
|
90
|
+
url: e[0].data.audioUrl,
|
|
91
|
+
hooksInfo: { tag: e[0] },
|
|
92
|
+
$$slots: {
|
|
93
|
+
audioIcon: [
|
|
94
|
+
le,
|
|
95
|
+
({ playing: r }) => ({ 8: r }),
|
|
96
|
+
({ playing: r }) => r ? 256 : 0
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
$$scope: { ctx: e }
|
|
100
|
+
}
|
|
101
|
+
}), {
|
|
102
|
+
c() {
|
|
103
|
+
t = w("div"), b(n.$$.fragment), o = U(), b(i.$$.fragment), k(t, "class", "audio svelte-1s6gk4a");
|
|
104
|
+
},
|
|
105
|
+
m(r, f) {
|
|
106
|
+
M(r, t, f), I(n, t, null), $(t, o), I(i, t, null), m = !0;
|
|
107
|
+
},
|
|
108
|
+
p(r, f) {
|
|
109
|
+
e = r;
|
|
110
|
+
const u = {};
|
|
111
|
+
f & 32 && (u.paused = !e[5]), f & 1 && (u.url = e[0].data.audioUrl), f & 1 && (u.hooksInfo = { tag: e[0] }), f & 768 && (u.$$scope = { dirty: f, ctx: e }), i.$set(u);
|
|
112
|
+
},
|
|
113
|
+
i(r) {
|
|
114
|
+
m || (g(n.$$.fragment, r), g(i.$$.fragment, r), r && G(() => {
|
|
115
|
+
s && s.end(1), a = ee(t, O, {
|
|
116
|
+
duration: 1e3,
|
|
117
|
+
delay: 0,
|
|
118
|
+
easing: N
|
|
119
|
+
}), a.start();
|
|
120
|
+
}), m = !0);
|
|
121
|
+
},
|
|
122
|
+
o(r) {
|
|
123
|
+
var f, u;
|
|
124
|
+
h(n.$$.fragment, r), h(i.$$.fragment, r), a && a.invalidate(), r && (s = te(t, O, {
|
|
125
|
+
duration: 1e3,
|
|
126
|
+
delay: 20 * Math.min((u = (f = e[4]) == null ? void 0 : f.length) != null ? u : 10, 15),
|
|
127
|
+
easing: N
|
|
128
|
+
})), m = !1;
|
|
129
|
+
},
|
|
130
|
+
d(r) {
|
|
131
|
+
r && R(t), z(n), z(i), r && s && s.end();
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
function le(e) {
|
|
136
|
+
let t, n, o;
|
|
137
|
+
return n = new re({ props: { playing: e[8] } }), {
|
|
138
|
+
c() {
|
|
139
|
+
t = w("div"), b(n.$$.fragment), k(t, "slot", "audioIcon"), k(t, "class", "audio-icon__wrapper svelte-1s6gk4a");
|
|
140
|
+
},
|
|
141
|
+
m(i, a) {
|
|
142
|
+
M(i, t, a), I(n, t, null), o = !0;
|
|
143
|
+
},
|
|
144
|
+
p(i, a) {
|
|
145
|
+
const s = {};
|
|
146
|
+
a & 256 && (s.playing = i[8]), n.$set(s);
|
|
147
|
+
},
|
|
148
|
+
i(i) {
|
|
149
|
+
o || (g(n.$$.fragment, i), o = !0);
|
|
150
|
+
},
|
|
151
|
+
o(i) {
|
|
152
|
+
h(n.$$.fragment, i), o = !1;
|
|
153
|
+
},
|
|
154
|
+
d(i) {
|
|
155
|
+
i && R(t), z(n);
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
function se(e) {
|
|
160
|
+
let t, n, o = e[0].state && j(e);
|
|
161
|
+
return {
|
|
162
|
+
c() {
|
|
163
|
+
o && o.c(), t = X();
|
|
164
|
+
},
|
|
165
|
+
m(i, a) {
|
|
166
|
+
o && o.m(i, a), M(i, t, a), n = !0;
|
|
167
|
+
},
|
|
168
|
+
p(i, [a]) {
|
|
169
|
+
i[0].state ? o ? (o.p(i, a), a & 1 && g(o, 1)) : (o = j(i), o.c(), g(o, 1), o.m(t.parentNode, t)) : o && (H(), h(o, 1, 1, () => {
|
|
170
|
+
o = null;
|
|
171
|
+
}), E());
|
|
172
|
+
},
|
|
173
|
+
i(i) {
|
|
174
|
+
n || (g(o), n = !0);
|
|
175
|
+
},
|
|
176
|
+
o(i) {
|
|
177
|
+
h(o), n = !1;
|
|
178
|
+
},
|
|
179
|
+
d(i) {
|
|
180
|
+
o && o.d(i), i && R(t);
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
function fe(e, t, n) {
|
|
185
|
+
let o, i, a, { tag: s } = t, m = !1, r;
|
|
186
|
+
function f() {
|
|
187
|
+
n(1, m = !m);
|
|
188
|
+
}
|
|
189
|
+
function u() {
|
|
190
|
+
r = this.clientWidth, n(2, r);
|
|
191
|
+
}
|
|
192
|
+
return e.$$set = (_) => {
|
|
193
|
+
"tag" in _ && n(0, s = _.tag);
|
|
194
|
+
}, e.$$.update = () => {
|
|
195
|
+
var _, c, v;
|
|
196
|
+
e.$$.dirty & 1 && n(5, o = !!((_ = s.state) != null && _.unfolded)), e.$$.dirty & 1 && n(4, i = (v = (c = s.data.title) != null ? c : s.data.text) != null ? v : ""), e.$$.dirty & 2 && n(3, a = m ? 450 : 0);
|
|
197
|
+
}, [
|
|
198
|
+
s,
|
|
199
|
+
m,
|
|
200
|
+
r,
|
|
201
|
+
a,
|
|
202
|
+
i,
|
|
203
|
+
o,
|
|
204
|
+
f,
|
|
205
|
+
u
|
|
206
|
+
];
|
|
207
|
+
}
|
|
208
|
+
class Ae extends K {
|
|
209
|
+
constructor(t) {
|
|
210
|
+
super(), P(this, t, fe, se, Q, { tag: 0 }, ae);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
export {
|
|
214
|
+
Ae as default
|
|
215
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { SvelteComponent as d, init as $, safe_not_equal as k, empty as b, insert as y, transition_out as u, check_outros as h, transition_in as c, detach as A, group_outros as T, create_component as s, mount_component as _, destroy_component as g } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import w from "./AudioTag.js";
|
|
3
|
+
import q from "./AudioPlaneTag.js";
|
|
4
|
+
import "../../../../vendor/svelte/easing/index.js";
|
|
5
|
+
import "../../../../vendor/svelte/transition/index.js";
|
|
6
|
+
import "../../Common/Audio.js";
|
|
7
|
+
import "../../Common/Line/Straight.js";
|
|
8
|
+
import "../../../../shared-utils/uuid.js";
|
|
9
|
+
import "../../Common/Shadow.js";
|
|
10
|
+
import "../../Common/Text/FlyMText.js";
|
|
11
|
+
import "../../Common/Text/FlyText.js";
|
|
12
|
+
import "animejs";
|
|
13
|
+
import "../../../../shared-utils/isNil.js";
|
|
14
|
+
import "three";
|
|
15
|
+
import "../../../utils/search.js";
|
|
16
|
+
import "../../../utils/constants.js";
|
|
17
|
+
import "../../Common/Arrow.js";
|
|
18
|
+
import "../../../Assets/Icon.js";
|
|
19
|
+
import "../../../utils/doUtil.js";
|
|
20
|
+
import "../../Common/Icon/audioIcon.js";
|
|
21
|
+
import "../../../utils/px2rem.js";
|
|
22
|
+
import "../../Common/Text/MText.js";
|
|
23
|
+
import "../../../utils/timeToString.js";
|
|
24
|
+
import "../../../utils/noTypecheck.js";
|
|
25
|
+
import "../../../utils/color.js";
|
|
26
|
+
function v(a) {
|
|
27
|
+
let t, r;
|
|
28
|
+
return t = new q({ props: { tag: a[0] } }), {
|
|
29
|
+
c() {
|
|
30
|
+
s(t.$$.fragment);
|
|
31
|
+
},
|
|
32
|
+
m(e, o) {
|
|
33
|
+
_(t, e, o), r = !0;
|
|
34
|
+
},
|
|
35
|
+
p(e, o) {
|
|
36
|
+
const n = {};
|
|
37
|
+
o & 1 && (n.tag = e[0]), t.$set(n);
|
|
38
|
+
},
|
|
39
|
+
i(e) {
|
|
40
|
+
r || (c(t.$$.fragment, e), r = !0);
|
|
41
|
+
},
|
|
42
|
+
o(e) {
|
|
43
|
+
u(t.$$.fragment, e), r = !1;
|
|
44
|
+
},
|
|
45
|
+
d(e) {
|
|
46
|
+
g(t, e);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function C(a) {
|
|
51
|
+
let t, r;
|
|
52
|
+
return t = new w({ props: { tag: a[0] } }), {
|
|
53
|
+
c() {
|
|
54
|
+
s(t.$$.fragment);
|
|
55
|
+
},
|
|
56
|
+
m(e, o) {
|
|
57
|
+
_(t, e, o), r = !0;
|
|
58
|
+
},
|
|
59
|
+
p(e, o) {
|
|
60
|
+
const n = {};
|
|
61
|
+
o & 1 && (n.tag = e[0]), t.$set(n);
|
|
62
|
+
},
|
|
63
|
+
i(e) {
|
|
64
|
+
r || (c(t.$$.fragment, e), r = !0);
|
|
65
|
+
},
|
|
66
|
+
o(e) {
|
|
67
|
+
u(t.$$.fragment, e), r = !1;
|
|
68
|
+
},
|
|
69
|
+
d(e) {
|
|
70
|
+
g(t, e);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function N(a) {
|
|
75
|
+
let t, r, e, o;
|
|
76
|
+
const n = [C, v], p = [];
|
|
77
|
+
function l(i, m) {
|
|
78
|
+
return i[1] === "line" ? 0 : i[1] === "plane" ? 1 : -1;
|
|
79
|
+
}
|
|
80
|
+
return ~(t = l(a)) && (r = p[t] = n[t](a)), {
|
|
81
|
+
c() {
|
|
82
|
+
r && r.c(), e = b();
|
|
83
|
+
},
|
|
84
|
+
m(i, m) {
|
|
85
|
+
~t && p[t].m(i, m), y(i, e, m), o = !0;
|
|
86
|
+
},
|
|
87
|
+
p(i, [m]) {
|
|
88
|
+
let f = t;
|
|
89
|
+
t = l(i), t === f ? ~t && p[t].p(i, m) : (r && (T(), u(p[f], 1, 1, () => {
|
|
90
|
+
p[f] = null;
|
|
91
|
+
}), h()), ~t ? (r = p[t], r ? r.p(i, m) : (r = p[t] = n[t](i), r.c()), c(r, 1), r.m(e.parentNode, e)) : r = null);
|
|
92
|
+
},
|
|
93
|
+
i(i) {
|
|
94
|
+
o || (c(r), o = !0);
|
|
95
|
+
},
|
|
96
|
+
o(i) {
|
|
97
|
+
u(r), o = !1;
|
|
98
|
+
},
|
|
99
|
+
d(i) {
|
|
100
|
+
~t && p[t].d(i), i && A(e);
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
function P(a, t, r) {
|
|
105
|
+
let e, { tag: o } = t;
|
|
106
|
+
return a.$$set = (n) => {
|
|
107
|
+
"tag" in n && r(0, o = n.tag);
|
|
108
|
+
}, a.$$.update = () => {
|
|
109
|
+
var n;
|
|
110
|
+
a.$$.dirty & 1 && r(1, e = (n = o.data.appearance) != null ? n : "line");
|
|
111
|
+
}, [o, e];
|
|
112
|
+
}
|
|
113
|
+
class et extends d {
|
|
114
|
+
constructor(t) {
|
|
115
|
+
super(), $(this, t, P, N, k, { tag: 0 });
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
export {
|
|
119
|
+
et as default
|
|
120
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { SvelteComponent as u, init as
|
|
1
|
+
import { SvelteComponent as u, init as d, safe_not_equal as _, append_styles as p, element as g, attr as v, insert as m, 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 a(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, s) {
|
|
12
|
+
l.m(e, t, s), m(t, n, s);
|
|
13
13
|
},
|
|
14
|
-
p(t,
|
|
15
|
-
|
|
14
|
+
p(t, s) {
|
|
15
|
+
s & 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 m(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" && a(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
|
+
m(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 = a(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, s;
|
|
43
43
|
h(() => {
|
|
44
44
|
if (t) {
|
|
45
45
|
if (n.element instanceof Element) {
|
|
46
|
-
const
|
|
47
|
-
t.appendChild(
|
|
46
|
+
const o = n.element;
|
|
47
|
+
t.appendChild(o), s = () => t == null ? void 0 : t.removeChild(o);
|
|
48
48
|
} else if (typeof n.element == "function") {
|
|
49
|
-
const
|
|
50
|
-
|
|
49
|
+
const o = n.element;
|
|
50
|
+
s = o(t);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}), k(() => {
|
|
54
|
-
|
|
54
|
+
s == null || s();
|
|
55
55
|
});
|
|
56
|
-
function c(
|
|
57
|
-
y[
|
|
58
|
-
t =
|
|
56
|
+
function c(o) {
|
|
57
|
+
y[o ? "unshift" : "push"](() => {
|
|
58
|
+
t = o, e(1, t);
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
return i.$$set = (
|
|
62
|
-
"tag" in
|
|
61
|
+
return i.$$set = (o) => {
|
|
62
|
+
"tag" in o && e(0, n = o.tag);
|
|
63
63
|
}, [n, t, c];
|
|
64
64
|
}
|
|
65
65
|
class q extends u {
|
|
66
66
|
constructor(l) {
|
|
67
|
-
super(),
|
|
67
|
+
super(), d(this, l, E, z, _, { tag: 0 }, j);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
export {
|
|
71
|
-
q as
|
|
71
|
+
q as default
|
|
72
72
|
};
|