@realsee/dnalogel 2.16.0-10 → 2.16.0-12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +688 -240
- package/dist/CruisePlugin/typing.d.ts +1 -1
- package/dist/GuideLinePlugin/Controller.d.ts +5 -4
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +7 -1
- package/dist/GuideLinePlugin/typing.d.ts +8 -9
- package/dist/GuideLinePlugin/utils/index.d.ts +1 -1
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/line.d.ts +2 -2
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +2 -2
- package/dist/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -3
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +1 -1
- package/dist/PanoVideoPlugin/utils/index.d.ts +1 -1
- package/dist/index.cjs.js +100 -86
- package/dist/index.js +14859 -8028
- package/dist/index.umd.js +93 -79
- package/dist/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/dist/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/dist/shared-utils/animationFrame/index.d.ts +1 -1
- package/dist/shared-utils/animationFrame/tween.d.ts +32 -23
- package/dist/shared-utils/five/mode.d.ts +1 -1
- package/dist/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/dist/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +26 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +38 -26
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- package/docs/classes/Util.BetterTween.html +29 -18
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.html +5 -5
- package/docs/functions/Util.nextFrame.html +18 -7
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +7 -18
- package/docs/functions/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +26 -26
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -15
- package/docs/interfaces/GuideLinePluginType.Route.html +17 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -7
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -6
- package/docs/types/GuideLinePluginType.PathItem.html +5 -6
- package/docs/types/GuideLinePluginType.PluginData.html +17 -7
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +48 -14
- package/libs/CSS3DRenderPlugin/index.js +7 -9
- package/libs/CSS3DRenderPlugin/utils/even.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +37 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +22 -18
- package/libs/CameraMovementPlugin/index.js +7 -9
- package/libs/CruisePlugin/Controller.js +163 -54
- package/libs/CruisePlugin/index.js +38 -32
- package/libs/CruisePlugin/typing.d.ts +1 -1
- package/libs/CruisePlugin/utils/coordinatesToVector.js +3 -0
- package/libs/GuideLinePlugin/Components/Tag.js +14 -2
- package/libs/GuideLinePlugin/Controller.d.ts +5 -4
- package/libs/GuideLinePlugin/Controller.js +147 -135
- package/libs/GuideLinePlugin/GuideLineItem/index.js +26 -30
- package/libs/GuideLinePlugin/GuideLineItem.js +30 -23
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +126 -72
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +7 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +30 -23
- package/libs/GuideLinePlugin/index.js +40 -33
- package/libs/GuideLinePlugin/typing.d.ts +8 -9
- package/libs/GuideLinePlugin/typing.js +1 -34
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +24 -18
- package/libs/GuideLinePlugin/utils/getPoint.js +4 -0
- package/libs/GuideLinePlugin/utils/index.d.ts +1 -1
- package/libs/GuideLinePlugin/utils/index.js +9 -44
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +83 -34
- package/libs/ItemLabelPlugin/ItemLabelItem.js +91 -14
- package/libs/ItemLabelPlugin/Plugin.js +2 -2
- package/libs/ItemLabelPlugin/index.js +8 -9
- package/libs/ModelChassisCompassPlugin/Plugin.js +25 -25
- package/libs/ModelChassisCompassPlugin/index.js +3 -4
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +14 -14
- package/libs/ModelEntryDoorGuidePlugin/index.js +3 -4
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +46 -10
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +60 -7
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +3 -3
- package/libs/ModelItemLabelPlugin/index.js +6 -7
- package/libs/ModelRoomLabelPlugin/Controller.js +18 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +58 -4
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +50 -20
- package/libs/ModelTVVideoPlugin/Plugin.js +7 -9
- package/libs/ModelTVVideoPlugin/index.js +7 -10
- package/libs/ModelViewPlugin/Plugin.js +3 -3
- package/libs/ModelViewPlugin/index.js +3 -4
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +62 -42
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +2 -1
- package/libs/Object3DHelperPlugin/index.js +9 -11
- package/libs/PanoCompassPlugin/Controller.js +54 -4
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -1
- package/libs/PanoCompassPlugin/index.js +3 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +37 -12
- package/libs/PanoDoorLabelPlugin/Controller.js +9 -6
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +39 -13
- package/libs/PanoDoorLabelPlugin/index.js +5 -7
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +25 -7
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +11 -7
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +7 -7
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +8 -8
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +44 -14
- package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/index.js +7 -7
- package/libs/PanoMeasurePlugin/Model/line.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Model/line.js +9 -9
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/polyline.js +26 -25
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +2 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +21 -20
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +14 -10
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +8 -7
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +12 -13
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +5 -6
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +15 -12
- package/libs/PanoMeasurePlugin/index.js +15 -16
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +2 -2
- package/libs/PanoMeasurePlugin/typings/event.type.js +1 -4
- package/libs/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/typings/index.js +1 -20
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +8 -11
- package/libs/PanoRulerPlugin/Plugin.js +54 -54
- package/libs/PanoRulerPlugin/index.js +3 -4
- package/libs/PanoRulerProPlugin/Controller.js +14 -15
- package/libs/PanoRulerProPlugin/RulerItem.js +134 -45
- package/libs/PanoRulerProPlugin/RulerItems.js +49 -40
- package/libs/PanoRulerProPlugin/index.js +4 -5
- package/libs/PanoSpatialTagPlugin/Components/origins.js +47 -8
- package/libs/PanoSpatialTagPlugin/Components/tag.js +79 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +5 -7
- package/libs/PanoSpatialTagPlugin/index.js +4 -7
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +45 -20
- package/libs/PanoTagPlugin/Components/Common/Audio.js +46 -8
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +220 -58
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +64 -11
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +50 -27
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +151 -26
- package/libs/PanoTagPlugin/Components/Common/Media.js +222 -89
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +171 -22
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +100 -28
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +97 -20
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +68 -17
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +71 -31
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +87 -13
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +29 -6
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +99 -14
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +171 -48
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +43 -20
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +11 -4
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +80 -27
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +41 -17
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +175 -36
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +76 -24
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +87 -14
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +99 -34
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +38 -23
- package/libs/PanoTagPlugin/Components/Tag/index.js +266 -44
- package/libs/PanoTagPlugin/Components/TagContainer.js +112 -61
- package/libs/PanoTagPlugin/Components/TagItem.js +202 -31
- package/libs/PanoTagPlugin/controller/TagCache.js +22 -20
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +40 -21
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +50 -19
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +30 -16
- package/libs/PanoTagPlugin/controller/index.js +93 -31
- package/libs/PanoTagPlugin/index.js +21 -22
- package/libs/PanoTagPlugin/tag.config.js +4 -0
- package/libs/PanoTagPlugin/typings/index.js +4 -7
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -3
- package/libs/PanoTagPlugin/typings/tag/Utils.js +2 -5
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +8 -6
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +7 -7
- package/libs/PanoTagPlugin/utils/index.js +33 -35
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +4 -0
- package/libs/PanoTagPlugin/utils/planeNormal.js +2 -4
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +8 -10
- package/libs/PanoVideoPlugin/Controller.js +54 -40
- package/libs/PanoVideoPlugin/VideoMeshController.js +90 -44
- package/libs/PanoVideoPlugin/index.js +7 -8
- package/libs/PanoVideoPlugin/utils/index.d.ts +1 -1
- package/libs/PanoVideoPlugin/utils/index.js +0 -1
- package/libs/_commonjsHelpers.js +4 -0
- package/libs/base/BasePlugin.js +24 -16
- package/libs/base/BasePluginWithData.js +2 -2
- package/libs/components/PaintBrush/Controller.js +15 -4
- package/libs/components/PaintBrush/Subscribe.js +37 -0
- package/libs/components/PaintBrush/index.js +17 -4
- package/libs/components/PaintBrush/tween.js +2 -2
- package/libs/components/index.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +24 -6
- package/libs/floorplan/Components/Camera.js +73 -27
- package/libs/floorplan/Components/Compass.js +20 -3
- package/libs/floorplan/Components/CurrentFloor.js +189 -50
- package/libs/floorplan/Components/Main.js +202 -54
- package/libs/floorplan/Components/Normalmage.js +5 -2
- package/libs/floorplan/Components/RoomHighlight/Room.js +38 -5
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +105 -58
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +91 -18
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +106 -37
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +42 -13
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +15 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -3
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +125 -51
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +80 -15
- package/libs/floorplan/Components/SvgImage.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +118 -76
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +97 -54
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +43 -15
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -22
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +61 -39
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +128 -33
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -37
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -7
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +84 -65
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -7
- package/libs/floorplan/index.js +2 -4
- package/libs/floorplan/typings/floorplanServerData.js +80 -80
- package/libs/index.js +136 -129
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +29 -1
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.js +2 -3
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +10 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +5 -2
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +9 -8
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +4 -1
- package/libs/shared-utils/Object3DHelper/index.js +15 -0
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -2
- package/libs/shared-utils/Subscribe.js +38 -1
- package/libs/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/libs/shared-utils/animationFrame/BetterTween.js +19 -12
- package/libs/shared-utils/animationFrame/index.d.ts +1 -1
- package/libs/shared-utils/animationFrame/index.js +14 -14
- package/libs/shared-utils/animationFrame/tween.d.ts +32 -23
- package/libs/shared-utils/animationFrame/tween.js +15 -15
- package/libs/shared-utils/audio.js +9 -9
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
- package/libs/shared-utils/createCanvasTextTexture.js +3 -3
- package/libs/shared-utils/five/changeMode.js +11 -11
- package/libs/shared-utils/five/index.js +1 -1
- package/libs/shared-utils/five/mode.d.ts +1 -1
- package/libs/shared-utils/five/mode.js +2 -3
- package/libs/shared-utils/index.js +15 -15
- package/libs/shared-utils/log.js +2 -2
- package/libs/shared-utils/math/Interval.js +2 -0
- package/libs/shared-utils/math/Rectangle.js +2 -0
- package/libs/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/libs/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/libs/shared-utils/three/FivePointSelector.js +1 -1
- package/libs/shared-utils/three/Magnifier.js +10 -7
- package/libs/shared-utils/three/PointDomHelper.js +12 -11
- package/libs/shared-utils/three/index.js +1 -2
- package/libs/shared-utils/three/loadTexture.js +10 -10
- package/libs/shared-utils/threex/domevents/index.js +2 -2
- package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +403 -0
- package/libs/vendor/classnames/index.js +47 -0
- package/libs/vendor/easy-reactive/main.js +3 -0
- package/libs/vendor/{simply-reactive → easy-reactive}/src/simply-reactive.js +8 -8
- package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/object.js +1 -1
- package/libs/vendor/gl-vec2/add.js +7 -0
- package/libs/vendor/gl-vec2/dot.js +7 -0
- package/libs/vendor/gl-vec2/normalize.js +8 -0
- package/libs/vendor/gl-vec2/set.js +7 -0
- package/libs/vendor/gl-vec2/subtract.js +7 -0
- package/libs/vendor/lodash.clonedeep/index.js +457 -0
- package/libs/vendor/lodash.get/index.js +236 -0
- package/libs/vendor/lodash.isequal/index.js +489 -0
- package/libs/vendor/object-assign-deep/objectAssignDeep.js +62 -0
- package/libs/vendor/polyline-miter-util/index.js +18 -0
- package/libs/vendor/polyline-normals/index.js +28 -0
- package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +155 -134
- package/libs/vendor/svelte/easing/index.js +4 -5
- package/libs/vendor/svelte/index.js +1 -1
- package/libs/vendor/svelte/internal/index.js +412 -388
- package/libs/vendor/svelte/store/index.js +6 -6
- package/libs/vendor/svelte/transition/index.js +23 -20
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -3
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +338 -71
- package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +7 -1
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +19 -3
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +30 -7
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +15 -3
- package/libs/vendor/svelte-carousel/src/utils/clones.js +1 -0
- package/libs/vendor/svelte-carousel/src/utils/lazy.js +3 -0
- package/package.json +11 -13
- package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +0 -4
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +0 -77
- package/libs/typings/math.type.js +0 -1
- package/libs/vendor/simply-reactive/main.js +0 -3
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/subscription.js +0 -0
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/watcher.js +0 -0
|
@@ -16,22 +16,86 @@ function z(n) {
|
|
|
16
16
|
return e = new J({
|
|
17
17
|
props: {
|
|
18
18
|
style: "width: max-content; height: max-content;",
|
|
19
|
-
enable:
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
enable: (
|
|
20
|
+
/*tag*/
|
|
21
|
+
n[0].state.visible
|
|
22
|
+
),
|
|
23
|
+
url: (
|
|
24
|
+
/*tag*/
|
|
25
|
+
n[0].data.audioUrl
|
|
26
|
+
),
|
|
27
|
+
hooksInfo: { tag: (
|
|
28
|
+
/*tag*/
|
|
29
|
+
n[0]
|
|
30
|
+
) },
|
|
22
31
|
$$slots: { default: [O] },
|
|
23
32
|
$$scope: { ctx: n }
|
|
24
33
|
}
|
|
25
|
-
}), e.$on(
|
|
34
|
+
}), e.$on(
|
|
35
|
+
"play",
|
|
36
|
+
/*play_handler*/
|
|
37
|
+
n[6]
|
|
38
|
+
), e.$on(
|
|
39
|
+
"pause",
|
|
40
|
+
/*pause_handler*/
|
|
41
|
+
n[7]
|
|
42
|
+
), e.$on(
|
|
43
|
+
"error",
|
|
44
|
+
/*error_handler*/
|
|
45
|
+
n[8]
|
|
46
|
+
), e.$on(
|
|
47
|
+
"timeupdate",
|
|
48
|
+
/*timeupdate_handler*/
|
|
49
|
+
n[9]
|
|
50
|
+
), e.$on(
|
|
51
|
+
"duration",
|
|
52
|
+
/*duration_handler*/
|
|
53
|
+
n[10]
|
|
54
|
+
), e.$on(
|
|
55
|
+
"audioRef",
|
|
56
|
+
/*audioRef_handler*/
|
|
57
|
+
n[11]
|
|
58
|
+
), {
|
|
26
59
|
c() {
|
|
27
|
-
r = m("div"), t = m("div"), w(e.$$.fragment), p(t, "class", "audio-tag svelte-58hfjf"), _(
|
|
60
|
+
r = m("div"), t = m("div"), w(e.$$.fragment), p(t, "class", "audio-tag svelte-58hfjf"), _(
|
|
61
|
+
t,
|
|
62
|
+
"background-color",
|
|
63
|
+
/*theme*/
|
|
64
|
+
n[4].bgColor
|
|
65
|
+
), _(
|
|
66
|
+
t,
|
|
67
|
+
"color",
|
|
68
|
+
/*theme*/
|
|
69
|
+
n[4].fontColor
|
|
70
|
+
), p(r, "class", "audio-tag__wrapper svelte-58hfjf");
|
|
28
71
|
},
|
|
29
72
|
m(o, i) {
|
|
30
73
|
$(o, r, i), b(r, t), j(e, t, null), a = !0;
|
|
31
74
|
},
|
|
32
75
|
p(o, i) {
|
|
33
76
|
const s = {};
|
|
34
|
-
i &
|
|
77
|
+
i & /*tag*/
|
|
78
|
+
1 && (s.enable = /*tag*/
|
|
79
|
+
o[0].state.visible), i & /*tag*/
|
|
80
|
+
1 && (s.url = /*tag*/
|
|
81
|
+
o[0].data.audioUrl), i & /*tag*/
|
|
82
|
+
1 && (s.hooksInfo = { tag: (
|
|
83
|
+
/*tag*/
|
|
84
|
+
o[0]
|
|
85
|
+
) }), i & /*$$scope, title, playing*/
|
|
86
|
+
8232 && (s.$$scope = { dirty: i, ctx: o }), e.$set(s), i & /*theme*/
|
|
87
|
+
16 && _(
|
|
88
|
+
t,
|
|
89
|
+
"background-color",
|
|
90
|
+
/*theme*/
|
|
91
|
+
o[4].bgColor
|
|
92
|
+
), i & /*theme*/
|
|
93
|
+
16 && _(
|
|
94
|
+
t,
|
|
95
|
+
"color",
|
|
96
|
+
/*theme*/
|
|
97
|
+
o[4].fontColor
|
|
98
|
+
);
|
|
35
99
|
},
|
|
36
100
|
i(o) {
|
|
37
101
|
a || (d(e.$$.fragment, o), a = !0);
|
|
@@ -48,13 +112,21 @@ function L(n) {
|
|
|
48
112
|
let r;
|
|
49
113
|
return {
|
|
50
114
|
c() {
|
|
51
|
-
r = E(
|
|
115
|
+
r = E(
|
|
116
|
+
/*title*/
|
|
117
|
+
n[5]
|
|
118
|
+
);
|
|
52
119
|
},
|
|
53
120
|
m(t, e) {
|
|
54
121
|
$(t, r, e);
|
|
55
122
|
},
|
|
56
123
|
p(t, e) {
|
|
57
|
-
e &
|
|
124
|
+
e & /*title*/
|
|
125
|
+
32 && F(
|
|
126
|
+
r,
|
|
127
|
+
/*title*/
|
|
128
|
+
t[5]
|
|
129
|
+
);
|
|
58
130
|
},
|
|
59
131
|
d(t) {
|
|
60
132
|
t && v(r);
|
|
@@ -63,7 +135,10 @@ function L(n) {
|
|
|
63
135
|
}
|
|
64
136
|
function O(n) {
|
|
65
137
|
let r, t, e, a, o, i, s;
|
|
66
|
-
return e = new G({ props: { playing:
|
|
138
|
+
return e = new G({ props: { playing: (
|
|
139
|
+
/*playing*/
|
|
140
|
+
n[3]
|
|
141
|
+
) } }), i = new H({
|
|
67
142
|
props: {
|
|
68
143
|
maxWidth: 72,
|
|
69
144
|
$$slots: { default: [L] },
|
|
@@ -78,9 +153,12 @@ function O(n) {
|
|
|
78
153
|
},
|
|
79
154
|
p(l, u) {
|
|
80
155
|
const g = {};
|
|
81
|
-
u &
|
|
156
|
+
u & /*playing*/
|
|
157
|
+
8 && (g.playing = /*playing*/
|
|
158
|
+
l[3]), e.$set(g);
|
|
82
159
|
const h = {};
|
|
83
|
-
u &
|
|
160
|
+
u & /*$$scope, title*/
|
|
161
|
+
8224 && (h.$$scope = { dirty: u, ctx: l }), i.$set(h);
|
|
84
162
|
},
|
|
85
163
|
i(l) {
|
|
86
164
|
s || (d(e.$$.fragment, l), d(i.$$.fragment, l), s = !0);
|
|
@@ -94,7 +172,10 @@ function O(n) {
|
|
|
94
172
|
};
|
|
95
173
|
}
|
|
96
174
|
function Q(n) {
|
|
97
|
-
let r, t, e =
|
|
175
|
+
let r, t, e = (
|
|
176
|
+
/*tag*/
|
|
177
|
+
n[0].state && z(n)
|
|
178
|
+
);
|
|
98
179
|
return {
|
|
99
180
|
c() {
|
|
100
181
|
e && e.c(), r = P();
|
|
@@ -103,7 +184,9 @@ function Q(n) {
|
|
|
103
184
|
e && e.m(a, o), $(a, r, o), t = !0;
|
|
104
185
|
},
|
|
105
186
|
p(a, [o]) {
|
|
106
|
-
|
|
187
|
+
/*tag*/
|
|
188
|
+
a[0].state ? e ? (e.p(a, o), o & /*tag*/
|
|
189
|
+
1 && d(e, 1)) : (e = z(a), e.c(), d(e, 1), e.m(r.parentNode, r)) : e && (B(), c(e, 1, 1, () => {
|
|
107
190
|
e = null;
|
|
108
191
|
}), S());
|
|
109
192
|
},
|
|
@@ -149,7 +232,9 @@ function V(n, r, t) {
|
|
|
149
232
|
"tag" in f && t(0, o = f.tag);
|
|
150
233
|
}, n.$$.update = () => {
|
|
151
234
|
var f, C, y;
|
|
152
|
-
n.$$.dirty &
|
|
235
|
+
n.$$.dirty & /*tag*/
|
|
236
|
+
1 && t(5, e = (C = (f = o.data.title) != null ? f : o.data.text) != null ? C : ""), n.$$.dirty & /*tag*/
|
|
237
|
+
1 && t(4, a = (y = i[o.data.theme || "light"]) != null ? y : i.light);
|
|
153
238
|
}, [
|
|
154
239
|
o,
|
|
155
240
|
s,
|
|
@@ -14,8 +14,6 @@ import "../../Common/Text/FlyText.js";
|
|
|
14
14
|
import "animejs";
|
|
15
15
|
import "../../../../shared-utils/isNil.js";
|
|
16
16
|
import "three";
|
|
17
|
-
import "@realsee/five/gltf-loader";
|
|
18
|
-
import "../../../../shared-utils/three/loadTexture.js";
|
|
19
17
|
import "../../../utils/search.js";
|
|
20
18
|
import "../../../utils/constants.js";
|
|
21
19
|
import "../../Common/Arrow.js";
|
|
@@ -28,52 +26,126 @@ function se(e) {
|
|
|
28
26
|
}
|
|
29
27
|
function j(e) {
|
|
30
28
|
var g, z;
|
|
31
|
-
let i, n, o, t, a, f,
|
|
29
|
+
let i, n, o, t, a, f, d, l, s, p, _, $, U, I;
|
|
32
30
|
n = new H({
|
|
33
31
|
props: {
|
|
34
|
-
visible:
|
|
35
|
-
|
|
32
|
+
visible: (
|
|
33
|
+
/*unfolded*/
|
|
34
|
+
e[6]
|
|
35
|
+
),
|
|
36
|
+
left: (
|
|
37
|
+
/*contentWidth*/
|
|
38
|
+
e[3] / 2 + "px"
|
|
39
|
+
),
|
|
36
40
|
bottom: 12,
|
|
37
41
|
width: 2,
|
|
38
42
|
blurRadius: 120,
|
|
39
43
|
spreadRadius: 60
|
|
40
44
|
}
|
|
41
45
|
});
|
|
42
|
-
let u =
|
|
46
|
+
let u = (
|
|
47
|
+
/*unfolded*/
|
|
48
|
+
e[6] && B(e)
|
|
49
|
+
);
|
|
43
50
|
return s = new re({
|
|
44
51
|
props: {
|
|
45
|
-
visible:
|
|
46
|
-
|
|
47
|
-
|
|
52
|
+
visible: (
|
|
53
|
+
/*unfolded*/
|
|
54
|
+
e[6]
|
|
55
|
+
),
|
|
56
|
+
textUnfolded: (
|
|
57
|
+
/*textUnfolded*/
|
|
58
|
+
e[1]
|
|
59
|
+
),
|
|
60
|
+
content: (
|
|
61
|
+
/*content*/
|
|
62
|
+
e[5]
|
|
63
|
+
)
|
|
48
64
|
}
|
|
49
65
|
}), _ = new oe({
|
|
50
66
|
props: {
|
|
51
|
-
unfolded:
|
|
52
|
-
|
|
53
|
-
|
|
67
|
+
unfolded: (
|
|
68
|
+
/*unfolded*/
|
|
69
|
+
e[6]
|
|
70
|
+
),
|
|
71
|
+
length: (
|
|
72
|
+
/*contentWidth*/
|
|
73
|
+
e[3]
|
|
74
|
+
),
|
|
75
|
+
outDelay: (
|
|
76
|
+
/*foldTextDelay*/
|
|
77
|
+
e[4] + 20 * Math.min(
|
|
78
|
+
/*content*/
|
|
79
|
+
(z = (g = e[5]) == null ? void 0 : g.length) != null ? z : 10,
|
|
80
|
+
15
|
|
81
|
+
)
|
|
82
|
+
),
|
|
54
83
|
useLinearColor: !0
|
|
55
84
|
}
|
|
56
85
|
}), {
|
|
57
86
|
c() {
|
|
58
|
-
i = b("div"), k(n.$$.fragment), o = C(), t = b("div"), a = b("div"), f = b("div"), u && u.c(),
|
|
87
|
+
i = b("div"), k(n.$$.fragment), o = C(), t = b("div"), a = b("div"), f = b("div"), u && u.c(), d = C(), l = b("div"), k(s.$$.fragment), p = C(), k(_.$$.fragment), w(f, "class", "audio-icon svelte-1s6gk4a"), X(l, "display", "inline-block"), w(a, "class", "wrapper svelte-1s6gk4a"), w(t, "class", "content svelte-1s6gk4a"), w(i, "class", "audio-tag svelte-1s6gk4a"), q(
|
|
88
|
+
i,
|
|
89
|
+
"unfolded",
|
|
90
|
+
/*unfolded*/
|
|
91
|
+
e[6]
|
|
92
|
+
);
|
|
59
93
|
},
|
|
60
|
-
m(r,
|
|
61
|
-
D(r, i,
|
|
62
|
-
F(
|
|
94
|
+
m(r, m) {
|
|
95
|
+
D(r, i, m), y(n, i, null), v(i, o), v(i, t), v(t, a), v(a, f), u && u.m(f, null), v(a, d), v(a, l), y(s, l, null), v(i, p), y(_, i, null), $ = !0, U || (I = [
|
|
96
|
+
F(
|
|
97
|
+
l,
|
|
98
|
+
"click",
|
|
99
|
+
/*clickContent*/
|
|
100
|
+
e[7]
|
|
101
|
+
),
|
|
63
102
|
Y(ae.call(null, l)),
|
|
64
|
-
F(
|
|
103
|
+
F(
|
|
104
|
+
l,
|
|
105
|
+
"clientWidth",
|
|
106
|
+
/*clientWidth_handler*/
|
|
107
|
+
e[12]
|
|
108
|
+
)
|
|
65
109
|
], U = !0);
|
|
66
110
|
},
|
|
67
|
-
p(r,
|
|
111
|
+
p(r, m) {
|
|
68
112
|
var W, O;
|
|
69
113
|
const T = {};
|
|
70
|
-
|
|
114
|
+
m & /*unfolded*/
|
|
115
|
+
64 && (T.visible = /*unfolded*/
|
|
116
|
+
r[6]), m & /*contentWidth*/
|
|
117
|
+
8 && (T.left = /*contentWidth*/
|
|
118
|
+
r[3] / 2 + "px"), n.$set(T), /*unfolded*/
|
|
119
|
+
r[6] ? u ? (u.p(r, m), m & /*unfolded*/
|
|
120
|
+
64 && h(u, 1)) : (u = B(r), u.c(), h(u, 1), u.m(f, null)) : u && (G(), c(u, 1, 1, () => {
|
|
71
121
|
u = null;
|
|
72
122
|
}), E());
|
|
73
123
|
const M = {};
|
|
74
|
-
|
|
124
|
+
m & /*unfolded*/
|
|
125
|
+
64 && (M.visible = /*unfolded*/
|
|
126
|
+
r[6]), m & /*textUnfolded*/
|
|
127
|
+
2 && (M.textUnfolded = /*textUnfolded*/
|
|
128
|
+
r[1]), m & /*content*/
|
|
129
|
+
32 && (M.content = /*content*/
|
|
130
|
+
r[5]), s.$set(M);
|
|
75
131
|
const A = {};
|
|
76
|
-
|
|
132
|
+
m & /*unfolded*/
|
|
133
|
+
64 && (A.unfolded = /*unfolded*/
|
|
134
|
+
r[6]), m & /*contentWidth*/
|
|
135
|
+
8 && (A.length = /*contentWidth*/
|
|
136
|
+
r[3]), m & /*foldTextDelay, content*/
|
|
137
|
+
48 && (A.outDelay = /*foldTextDelay*/
|
|
138
|
+
r[4] + 20 * Math.min(
|
|
139
|
+
/*content*/
|
|
140
|
+
(O = (W = r[5]) == null ? void 0 : W.length) != null ? O : 10,
|
|
141
|
+
15
|
|
142
|
+
)), _.$set(A), (!$ || m & /*unfolded*/
|
|
143
|
+
64) && q(
|
|
144
|
+
i,
|
|
145
|
+
"unfolded",
|
|
146
|
+
/*unfolded*/
|
|
147
|
+
r[6]
|
|
148
|
+
);
|
|
77
149
|
},
|
|
78
150
|
i(r) {
|
|
79
151
|
$ || (h(n.$$.fragment, r), h(u), h(s.$$.fragment, r), h(_.$$.fragment, r), $ = !0);
|
|
@@ -87,7 +159,7 @@ function j(e) {
|
|
|
87
159
|
};
|
|
88
160
|
}
|
|
89
161
|
function B(e) {
|
|
90
|
-
let i, n, o, t, a, f,
|
|
162
|
+
let i, n, o, t, a, f, d;
|
|
91
163
|
return n = new H({
|
|
92
164
|
props: {
|
|
93
165
|
center: !0,
|
|
@@ -96,40 +168,78 @@ function B(e) {
|
|
|
96
168
|
}
|
|
97
169
|
}), t = new ne({
|
|
98
170
|
props: {
|
|
99
|
-
enable:
|
|
100
|
-
|
|
101
|
-
|
|
171
|
+
enable: (
|
|
172
|
+
/*unfolded*/
|
|
173
|
+
e[6]
|
|
174
|
+
),
|
|
175
|
+
url: (
|
|
176
|
+
/*tag*/
|
|
177
|
+
e[0].data.audioUrl
|
|
178
|
+
),
|
|
179
|
+
hooksInfo: { tag: (
|
|
180
|
+
/*tag*/
|
|
181
|
+
e[0]
|
|
182
|
+
) },
|
|
102
183
|
$$slots: { default: [fe] },
|
|
103
184
|
$$scope: { ctx: e }
|
|
104
185
|
}
|
|
105
|
-
}), t.$on(
|
|
186
|
+
}), t.$on(
|
|
187
|
+
"play",
|
|
188
|
+
/*play_handler*/
|
|
189
|
+
e[8]
|
|
190
|
+
), t.$on(
|
|
191
|
+
"pause",
|
|
192
|
+
/*pause_handler*/
|
|
193
|
+
e[9]
|
|
194
|
+
), t.$on(
|
|
195
|
+
"error",
|
|
196
|
+
/*error_handler*/
|
|
197
|
+
e[10]
|
|
198
|
+
), t.$on(
|
|
199
|
+
"audioRef",
|
|
200
|
+
/*audioRef_handler*/
|
|
201
|
+
e[11]
|
|
202
|
+
), {
|
|
106
203
|
c() {
|
|
107
204
|
i = b("div"), k(n.$$.fragment), o = C(), k(t.$$.fragment), w(i, "class", "audio svelte-1s6gk4a");
|
|
108
205
|
},
|
|
109
206
|
m(l, s) {
|
|
110
|
-
D(l, i, s), y(n, i, null), v(i, o), y(t, i, null),
|
|
207
|
+
D(l, i, s), y(n, i, null), v(i, o), y(t, i, null), d = !0;
|
|
111
208
|
},
|
|
112
209
|
p(l, s) {
|
|
113
210
|
e = l;
|
|
114
|
-
const
|
|
115
|
-
s &
|
|
211
|
+
const p = {};
|
|
212
|
+
s & /*unfolded*/
|
|
213
|
+
64 && (p.enable = /*unfolded*/
|
|
214
|
+
e[6]), s & /*tag*/
|
|
215
|
+
1 && (p.url = /*tag*/
|
|
216
|
+
e[0].data.audioUrl), s & /*tag*/
|
|
217
|
+
1 && (p.hooksInfo = { tag: (
|
|
218
|
+
/*tag*/
|
|
219
|
+
e[0]
|
|
220
|
+
) }), s & /*$$scope, playing*/
|
|
221
|
+
8196 && (p.$$scope = { dirty: s, ctx: e }), t.$set(p);
|
|
116
222
|
},
|
|
117
223
|
i(l) {
|
|
118
|
-
|
|
119
|
-
f && f.end(1), a = ee(i, N, {
|
|
224
|
+
d || (h(n.$$.fragment, l), h(t.$$.fragment, l), l && x(() => {
|
|
225
|
+
d && (f && f.end(1), a = ee(i, N, {
|
|
120
226
|
duration: 1e3,
|
|
121
227
|
delay: 0,
|
|
122
228
|
easing: L
|
|
123
|
-
}), a.start();
|
|
124
|
-
}),
|
|
229
|
+
}), a.start());
|
|
230
|
+
}), d = !0);
|
|
125
231
|
},
|
|
126
232
|
o(l) {
|
|
127
|
-
var s,
|
|
233
|
+
var s, p;
|
|
128
234
|
c(n.$$.fragment, l), c(t.$$.fragment, l), a && a.invalidate(), l && (f = te(i, N, {
|
|
129
235
|
duration: 1e3,
|
|
130
|
-
delay: 20 * Math.min(
|
|
236
|
+
delay: 20 * Math.min(
|
|
237
|
+
/*content*/
|
|
238
|
+
(p = (s = e[5]) == null ? void 0 : s.length) != null ? p : 10,
|
|
239
|
+
15
|
|
240
|
+
),
|
|
131
241
|
easing: L
|
|
132
|
-
})),
|
|
242
|
+
})), d = !1;
|
|
133
243
|
},
|
|
134
244
|
d(l) {
|
|
135
245
|
l && S(i), R(n), R(t), l && f && f.end();
|
|
@@ -138,7 +248,10 @@ function B(e) {
|
|
|
138
248
|
}
|
|
139
249
|
function fe(e) {
|
|
140
250
|
let i, n, o;
|
|
141
|
-
return n = new le({ props: { playing:
|
|
251
|
+
return n = new le({ props: { playing: (
|
|
252
|
+
/*playing*/
|
|
253
|
+
e[2]
|
|
254
|
+
) } }), {
|
|
142
255
|
c() {
|
|
143
256
|
i = b("div"), k(n.$$.fragment), w(i, "class", "audio-icon__wrapper svelte-1s6gk4a");
|
|
144
257
|
},
|
|
@@ -147,7 +260,9 @@ function fe(e) {
|
|
|
147
260
|
},
|
|
148
261
|
p(t, a) {
|
|
149
262
|
const f = {};
|
|
150
|
-
a &
|
|
263
|
+
a & /*playing*/
|
|
264
|
+
4 && (f.playing = /*playing*/
|
|
265
|
+
t[2]), n.$set(f);
|
|
151
266
|
},
|
|
152
267
|
i(t) {
|
|
153
268
|
o || (h(n.$$.fragment, t), o = !0);
|
|
@@ -161,7 +276,10 @@ function fe(e) {
|
|
|
161
276
|
};
|
|
162
277
|
}
|
|
163
278
|
function ue(e) {
|
|
164
|
-
let i, n, o =
|
|
279
|
+
let i, n, o = (
|
|
280
|
+
/*tag*/
|
|
281
|
+
e[0].state && j(e)
|
|
282
|
+
);
|
|
165
283
|
return {
|
|
166
284
|
c() {
|
|
167
285
|
o && o.c(), i = V();
|
|
@@ -170,7 +288,9 @@ function ue(e) {
|
|
|
170
288
|
o && o.m(t, a), D(t, i, a), n = !0;
|
|
171
289
|
},
|
|
172
290
|
p(t, [a]) {
|
|
173
|
-
|
|
291
|
+
/*tag*/
|
|
292
|
+
t[0].state ? o ? (o.p(t, a), a & /*tag*/
|
|
293
|
+
1 && h(o, 1)) : (o = j(t), o.c(), h(o, 1), o.m(i.parentNode, i)) : o && (G(), c(o, 1, 1, () => {
|
|
174
294
|
o = null;
|
|
175
295
|
}), E());
|
|
176
296
|
},
|
|
@@ -186,9 +306,9 @@ function ue(e) {
|
|
|
186
306
|
};
|
|
187
307
|
}
|
|
188
308
|
function de(e, i, n) {
|
|
189
|
-
let o, t, a, { tag: f } = i,
|
|
190
|
-
function
|
|
191
|
-
n(1,
|
|
309
|
+
let o, t, a, { tag: f } = i, d = !1, l = !1, s;
|
|
310
|
+
function p() {
|
|
311
|
+
n(1, d = !d);
|
|
192
312
|
}
|
|
193
313
|
const _ = () => {
|
|
194
314
|
n(2, l = !0);
|
|
@@ -207,16 +327,19 @@ function de(e, i, n) {
|
|
|
207
327
|
"tag" in g && n(0, f = g.tag);
|
|
208
328
|
}, e.$$.update = () => {
|
|
209
329
|
var g, z, r;
|
|
210
|
-
e.$$.dirty &
|
|
330
|
+
e.$$.dirty & /*tag*/
|
|
331
|
+
1 && n(6, o = !!((g = f.state) != null && g.unfolded)), e.$$.dirty & /*tag*/
|
|
332
|
+
1 && n(5, t = (r = (z = f.data.title) != null ? z : f.data.text) != null ? r : ""), e.$$.dirty & /*textUnfolded*/
|
|
333
|
+
2 && n(4, a = d ? 450 : 0);
|
|
211
334
|
}, [
|
|
212
335
|
f,
|
|
213
|
-
|
|
336
|
+
d,
|
|
214
337
|
l,
|
|
215
338
|
s,
|
|
216
339
|
a,
|
|
217
340
|
t,
|
|
218
341
|
o,
|
|
219
|
-
|
|
342
|
+
p,
|
|
220
343
|
_,
|
|
221
344
|
$,
|
|
222
345
|
U,
|
|
@@ -224,11 +347,11 @@ function de(e, i, n) {
|
|
|
224
347
|
u
|
|
225
348
|
];
|
|
226
349
|
}
|
|
227
|
-
class
|
|
350
|
+
class Oe extends J {
|
|
228
351
|
constructor(i) {
|
|
229
352
|
super(), K(this, i, de, ue, P, { tag: 0 }, se);
|
|
230
353
|
}
|
|
231
354
|
}
|
|
232
355
|
export {
|
|
233
|
-
|
|
356
|
+
Oe as default
|
|
234
357
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as g, init as $, safe_not_equal as k, empty as b, insert as y, transition_out as
|
|
1
|
+
import { SvelteComponent as g, init as $, safe_not_equal as k, empty as b, insert as y, transition_out as m, check_outros as h, transition_in as l, detach as A, group_outros as R, create_component as s, mount_component as _, destroy_component as d } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import T from "./AudioTag.js";
|
|
3
3
|
import w from "./AudioPlaneTag.js";
|
|
4
4
|
import "../../../../vendor/svelte/easing/index.js";
|
|
@@ -14,8 +14,6 @@ import "../../Common/Text/FlyText.js";
|
|
|
14
14
|
import "animejs";
|
|
15
15
|
import "../../../../shared-utils/isNil.js";
|
|
16
16
|
import "three";
|
|
17
|
-
import "@realsee/five/gltf-loader";
|
|
18
|
-
import "../../../../shared-utils/three/loadTexture.js";
|
|
19
17
|
import "../../../utils/search.js";
|
|
20
18
|
import "../../../utils/constants.js";
|
|
21
19
|
import "../../Common/Arrow.js";
|
|
@@ -28,7 +26,14 @@ import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
|
28
26
|
import "../../Common/Text/MText.js";
|
|
29
27
|
function q(n) {
|
|
30
28
|
let t, o;
|
|
31
|
-
return t = new w({ props: { tag:
|
|
29
|
+
return t = new w({ props: { tag: (
|
|
30
|
+
/*tag*/
|
|
31
|
+
n[0]
|
|
32
|
+
) } }), t.$on(
|
|
33
|
+
"audioRef",
|
|
34
|
+
/*audioRef*/
|
|
35
|
+
n[2]
|
|
36
|
+
), {
|
|
32
37
|
c() {
|
|
33
38
|
s(t.$$.fragment);
|
|
34
39
|
},
|
|
@@ -37,13 +42,15 @@ function q(n) {
|
|
|
37
42
|
},
|
|
38
43
|
p(e, r) {
|
|
39
44
|
const a = {};
|
|
40
|
-
r &
|
|
45
|
+
r & /*tag*/
|
|
46
|
+
1 && (a.tag = /*tag*/
|
|
47
|
+
e[0]), t.$set(a);
|
|
41
48
|
},
|
|
42
49
|
i(e) {
|
|
43
50
|
o || (l(t.$$.fragment, e), o = !0);
|
|
44
51
|
},
|
|
45
52
|
o(e) {
|
|
46
|
-
|
|
53
|
+
m(t.$$.fragment, e), o = !1;
|
|
47
54
|
},
|
|
48
55
|
d(e) {
|
|
49
56
|
d(t, e);
|
|
@@ -52,7 +59,14 @@ function q(n) {
|
|
|
52
59
|
}
|
|
53
60
|
function v(n) {
|
|
54
61
|
let t, o;
|
|
55
|
-
return t = new T({ props: { tag:
|
|
62
|
+
return t = new T({ props: { tag: (
|
|
63
|
+
/*tag*/
|
|
64
|
+
n[0]
|
|
65
|
+
) } }), t.$on(
|
|
66
|
+
"audioRef",
|
|
67
|
+
/*audioRef*/
|
|
68
|
+
n[2]
|
|
69
|
+
), {
|
|
56
70
|
c() {
|
|
57
71
|
s(t.$$.fragment);
|
|
58
72
|
},
|
|
@@ -61,13 +75,15 @@ function v(n) {
|
|
|
61
75
|
},
|
|
62
76
|
p(e, r) {
|
|
63
77
|
const a = {};
|
|
64
|
-
r &
|
|
78
|
+
r & /*tag*/
|
|
79
|
+
1 && (a.tag = /*tag*/
|
|
80
|
+
e[0]), t.$set(a);
|
|
65
81
|
},
|
|
66
82
|
i(e) {
|
|
67
83
|
o || (l(t.$$.fragment, e), o = !0);
|
|
68
84
|
},
|
|
69
85
|
o(e) {
|
|
70
|
-
|
|
86
|
+
m(t.$$.fragment, e), o = !1;
|
|
71
87
|
},
|
|
72
88
|
d(e) {
|
|
73
89
|
d(t, e);
|
|
@@ -77,27 +93,33 @@ function v(n) {
|
|
|
77
93
|
function C(n) {
|
|
78
94
|
let t, o, e, r;
|
|
79
95
|
const a = [v, q], p = [];
|
|
80
|
-
function u(i,
|
|
81
|
-
return
|
|
96
|
+
function u(i, f) {
|
|
97
|
+
return (
|
|
98
|
+
/*appearance*/
|
|
99
|
+
i[1] === "line" ? 0 : (
|
|
100
|
+
/*appearance*/
|
|
101
|
+
i[1] === "plane" ? 1 : -1
|
|
102
|
+
)
|
|
103
|
+
);
|
|
82
104
|
}
|
|
83
105
|
return ~(t = u(n)) && (o = p[t] = a[t](n)), {
|
|
84
106
|
c() {
|
|
85
107
|
o && o.c(), e = b();
|
|
86
108
|
},
|
|
87
|
-
m(i,
|
|
88
|
-
~t && p[t].m(i,
|
|
109
|
+
m(i, f) {
|
|
110
|
+
~t && p[t].m(i, f), y(i, e, f), r = !0;
|
|
89
111
|
},
|
|
90
|
-
p(i, [
|
|
112
|
+
p(i, [f]) {
|
|
91
113
|
let c = t;
|
|
92
|
-
t = u(i), t === c ? ~t && p[t].p(i,
|
|
114
|
+
t = u(i), t === c ? ~t && p[t].p(i, f) : (o && (R(), m(p[c], 1, 1, () => {
|
|
93
115
|
p[c] = null;
|
|
94
|
-
}), h()), ~t ? (o = p[t], o ? o.p(i,
|
|
116
|
+
}), h()), ~t ? (o = p[t], o ? o.p(i, f) : (o = p[t] = a[t](i), o.c()), l(o, 1), o.m(e.parentNode, e)) : o = null);
|
|
95
117
|
},
|
|
96
118
|
i(i) {
|
|
97
119
|
r || (l(o), r = !0);
|
|
98
120
|
},
|
|
99
121
|
o(i) {
|
|
100
|
-
|
|
122
|
+
m(o), r = !1;
|
|
101
123
|
},
|
|
102
124
|
d(i) {
|
|
103
125
|
~t && p[t].d(i), i && A(e);
|
|
@@ -113,14 +135,15 @@ function N(n, t, o) {
|
|
|
113
135
|
"tag" in u && o(0, r = u.tag);
|
|
114
136
|
}, n.$$.update = () => {
|
|
115
137
|
var u;
|
|
116
|
-
n.$$.dirty &
|
|
138
|
+
n.$$.dirty & /*tag*/
|
|
139
|
+
1 && o(1, e = (u = r.data.appearance) != null ? u : "line");
|
|
117
140
|
}, [r, e, p];
|
|
118
141
|
}
|
|
119
|
-
class
|
|
142
|
+
class ot extends g {
|
|
120
143
|
constructor(t) {
|
|
121
144
|
super(), $(this, t, N, C, k, { tag: 0 });
|
|
122
145
|
}
|
|
123
146
|
}
|
|
124
147
|
export {
|
|
125
|
-
|
|
148
|
+
ot as default
|
|
126
149
|
};
|