@realsee/dnalogel 2.22.0 → 2.23.1-dev.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/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/dist/index.cjs.js +62 -66
- package/dist/index.js +5869 -5598
- package/dist/index.umd.js +55 -59
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +13 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +48 -48
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +12 -12
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/CruisePlugin/Controller.js +103 -90
- package/libs/CruisePlugin/index.js +22 -9
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +38 -25
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +24 -11
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +168 -112
- package/libs/PanoMeasurePlugin/Components/Controller1.js +244 -181
- package/libs/PanoMeasurePlugin/Components/Tip.js +83 -72
- package/libs/PanoMeasurePlugin/Controller/index.js +87 -71
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +36 -25
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
- package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
- package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +95 -82
- package/libs/PanoTagPlugin/index.js +26 -13
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +16 -13
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +25 -20
- package/libs/floorplan/Components/Main.js +58 -49
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +126 -112
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +1 -1
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -2,15 +2,15 @@ var $ = Object.defineProperty, B = Object.defineProperties;
|
|
|
2
2
|
var U = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var C = Object.getOwnPropertySymbols;
|
|
4
4
|
var G = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var T = (p, a,
|
|
6
|
-
for (var
|
|
7
|
-
G.call(a,
|
|
5
|
+
var T = (p, a, i) => a in p ? $(p, a, { enumerable: !0, configurable: !0, writable: !0, value: i }) : p[a] = i, H = (p, a) => {
|
|
6
|
+
for (var i in a || (a = {}))
|
|
7
|
+
G.call(a, i) && T(p, i, a[i]);
|
|
8
8
|
if (C)
|
|
9
|
-
for (var
|
|
10
|
-
N.call(a,
|
|
9
|
+
for (var i of C(a))
|
|
10
|
+
N.call(a, i) && T(p, i, a[i]);
|
|
11
11
|
return p;
|
|
12
12
|
}, W = (p, a) => B(p, U(a));
|
|
13
|
-
var r = (p, a,
|
|
13
|
+
var r = (p, a, i) => (T(p, typeof a != "symbol" ? a + "" : a, i), i);
|
|
14
14
|
import { Raycaster as Q, Vector3 as V, Quaternion as j, Euler as z } from "three";
|
|
15
15
|
import { BasePanoPluginController as q } from "./BaseController.js";
|
|
16
16
|
import X from "./DoorLabelItem.js";
|
|
@@ -34,12 +34,22 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
34
34
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
35
35
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
36
36
|
import "../shared-utils/absoluteUrl.js";
|
|
37
|
-
import "../vendor/svelte/internal/
|
|
37
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
38
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
39
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
40
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
41
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
42
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
43
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
44
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
45
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
46
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
47
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
38
48
|
import "../vendor/classnames/index.js";
|
|
39
|
-
const
|
|
40
|
-
class
|
|
41
|
-
constructor(
|
|
42
|
-
super(
|
|
49
|
+
const ii = { userAction: !0 };
|
|
50
|
+
class Wi extends q {
|
|
51
|
+
constructor(i) {
|
|
52
|
+
super(i);
|
|
43
53
|
r(this, "MinVisibledistance", 1.8);
|
|
44
54
|
r(this, "MaxVisibledistance", 5);
|
|
45
55
|
r(this, "OffsetHeight", -1.3);
|
|
@@ -55,19 +65,19 @@ class Me extends q {
|
|
|
55
65
|
/** 数据 */
|
|
56
66
|
r(this, "doorLabels");
|
|
57
67
|
r(this, "roomObservers");
|
|
58
|
-
r(this, "loadData", (
|
|
68
|
+
r(this, "loadData", (i, n) => {
|
|
59
69
|
n && (this.MaxVisibledistance = n.MaxVisibledistance, this.MinVisibledistance = n.MinVisibledistance, this.OffsetHeight = n.OffsetHeight), this.doorLabelItems && this.doorLabelItems.length > 0 && this.doorLabelItems.forEach((d) => {
|
|
60
70
|
d.$destroy();
|
|
61
|
-
}), this.labelItems = [], this.doorLabels = [], this.doorLabelItems = [], this.floorplanServerData =
|
|
71
|
+
}), this.labelItems = [], this.doorLabels = [], this.doorLabelItems = [], this.floorplanServerData = i, typeof this.five.ready == "function" ? this.five.ready().then(() => this.initData()) : this.five.once("panoArrived", () => {
|
|
62
72
|
this.initData();
|
|
63
73
|
});
|
|
64
74
|
});
|
|
65
75
|
r(this, "initRoomObservers", () => {
|
|
66
76
|
var l, h;
|
|
67
|
-
const
|
|
68
|
-
const s = o.panoIndex, f = o.floorIndex,
|
|
69
|
-
if (
|
|
70
|
-
const t =
|
|
77
|
+
const i = this.floorplanServerData.computed_data.floor_datas || [], d = (((h = (l = this.five) == null ? void 0 : l.work) == null ? void 0 : h.observers) || []).map((o) => {
|
|
78
|
+
const s = o.panoIndex, f = o.floorIndex, e = i == null ? void 0 : i.find((t) => t.floor_index === f);
|
|
79
|
+
if (e) {
|
|
80
|
+
const t = e.rooms.find((c) => c.observer_indexs.includes(s));
|
|
71
81
|
if (t)
|
|
72
82
|
return { panoIndex: s, floorIndex: f, name: t.name };
|
|
73
83
|
}
|
|
@@ -75,31 +85,31 @@ class Me extends q {
|
|
|
75
85
|
this.roomObservers = d;
|
|
76
86
|
});
|
|
77
87
|
r(this, "hideAllLabels", () => {
|
|
78
|
-
this.labelItems.forEach((
|
|
79
|
-
|
|
88
|
+
this.labelItems.forEach((i) => {
|
|
89
|
+
i.visible = !1, i.inSight = !1;
|
|
80
90
|
}), this.render();
|
|
81
91
|
});
|
|
82
92
|
r(this, "fixDoorVisibleAndPosition", () => {
|
|
83
93
|
this.initRoomObservers();
|
|
84
|
-
const { panoIndex:
|
|
85
|
-
if (!this.visible || this.five.model.empty ||
|
|
94
|
+
const { panoIndex: i } = this.five;
|
|
95
|
+
if (!this.visible || this.five.model.empty || i === null || !this.roomObservers.find((o) => o.panoIndex === i))
|
|
86
96
|
return;
|
|
87
|
-
const n = this.roomObservers.find((o) => o.panoIndex ===
|
|
88
|
-
if (this.visibleLabelMap.has(
|
|
89
|
-
return this.visibleLabelMap.get(
|
|
97
|
+
const n = this.roomObservers.find((o) => o.panoIndex === i), l = this.five.work.observers.find((o) => o.panoIndex === i).position.clone(), h = (() => {
|
|
98
|
+
if (this.visibleLabelMap.has(i))
|
|
99
|
+
return this.visibleLabelMap.get(i);
|
|
90
100
|
{
|
|
91
101
|
const o = [];
|
|
92
102
|
return this.doorLabels.forEach((s, f) => {
|
|
93
103
|
if (s.roomName === n.name)
|
|
94
104
|
return;
|
|
95
|
-
const
|
|
105
|
+
const e = s.position.clone(), t = e.distanceTo(l);
|
|
96
106
|
if (t < this.MinVisibledistance || t > this.MaxVisibledistance)
|
|
97
107
|
return;
|
|
98
|
-
const c = new Q(), v =
|
|
108
|
+
const c = new Q(), v = e.clone().sub(l).normalize();
|
|
99
109
|
c.set(l, v);
|
|
100
110
|
const [b] = this.five.model.intersectRaycaster(c);
|
|
101
111
|
b && b.distance + 0.1 < t || o.push(f);
|
|
102
|
-
}), this.visibleLabelMap.set(
|
|
112
|
+
}), this.visibleLabelMap.set(i, o), o;
|
|
103
113
|
}
|
|
104
114
|
})();
|
|
105
115
|
this.labelItems.forEach((o, s) => {
|
|
@@ -107,9 +117,9 @@ class Me extends q {
|
|
|
107
117
|
}), this.fixDoorPosition();
|
|
108
118
|
});
|
|
109
119
|
r(this, "fixDoorPosition", () => {
|
|
110
|
-
var
|
|
111
|
-
const { panoIndex:
|
|
112
|
-
if (
|
|
120
|
+
var e, t, c, v, b, y, g, w, L, E, _, S;
|
|
121
|
+
const { panoIndex: i, camera: n } = this.five;
|
|
122
|
+
if (i === null)
|
|
113
123
|
return;
|
|
114
124
|
if (this.five.currentMode !== "Panorama")
|
|
115
125
|
return this.hideAllLabels();
|
|
@@ -130,7 +140,7 @@ class Me extends q {
|
|
|
130
140
|
const R = {
|
|
131
141
|
left: l * M / 100,
|
|
132
142
|
top: h * k / 100,
|
|
133
|
-
width: (c = (t = (
|
|
143
|
+
width: (c = (t = (e = I.children) == null ? void 0 : e[0]) == null ? void 0 : t.clientWidth) != null ? c : 0,
|
|
134
144
|
height: (y = (b = (v = I.children) == null ? void 0 : v[0]) == null ? void 0 : b.clientHeight) != null ? y : 0
|
|
135
145
|
}, F = {
|
|
136
146
|
left: l * O / 100,
|
|
@@ -143,21 +153,21 @@ class Me extends q {
|
|
|
143
153
|
}
|
|
144
154
|
this.labelItems = f, this.render();
|
|
145
155
|
});
|
|
146
|
-
r(this, "onClick", (
|
|
156
|
+
r(this, "onClick", (i, n) => {
|
|
147
157
|
if (!this.roomObservers)
|
|
148
158
|
return;
|
|
149
159
|
const { work: d } = this.five;
|
|
150
160
|
let l, h, o = 1 / 0;
|
|
151
161
|
for (const s of d.observers)
|
|
152
|
-
if (this.roomObservers.find((
|
|
153
|
-
const
|
|
154
|
-
t < o && (l = s.panoIndex, h =
|
|
162
|
+
if (this.roomObservers.find((e) => e.panoIndex === s.panoIndex && e.name === i)) {
|
|
163
|
+
const e = s.standingPosition, t = n.distanceTo(e);
|
|
164
|
+
t < o && (l = s.panoIndex, h = e.clone().sub(n).normalize(), o = t);
|
|
155
165
|
}
|
|
156
166
|
if (h !== null && l !== null) {
|
|
157
167
|
const s = {};
|
|
158
168
|
if (o > 0) {
|
|
159
|
-
const
|
|
160
|
-
c.setFromUnitVectors(
|
|
169
|
+
const e = new V(0, 0, -1), t = h.clone(), c = new j();
|
|
170
|
+
c.setFromUnitVectors(e, t);
|
|
161
171
|
const v = new z();
|
|
162
172
|
v.setFromQuaternion(c, "YXZ"), s.longitude = v.y;
|
|
163
173
|
}
|
|
@@ -167,12 +177,12 @@ class Me extends q {
|
|
|
167
177
|
r(this, "initData", () => {
|
|
168
178
|
var l;
|
|
169
179
|
this.doorLabels = [];
|
|
170
|
-
const
|
|
180
|
+
const i = this.five.panoIndex, n = this.floorplanServerData.computed_data.observers[i].floor_index, d = n !== void 0 && ((l = this.floorplanServerData.computed_data.floor_datas[n]) == null ? void 0 : l.rooms);
|
|
171
181
|
this.rooms = d, this.rooms && this.rooms.length > 0 && this.rooms.forEach((h) => {
|
|
172
182
|
var f;
|
|
173
|
-
const o = (f = this.floorplanServerData.computed_data.doors) == null ? void 0 : f.filter((
|
|
174
|
-
o && o.forEach((
|
|
175
|
-
const t =
|
|
183
|
+
const o = (f = this.floorplanServerData.computed_data.doors) == null ? void 0 : f.filter((e) => !!(e && e.name === h.name)), s = this.five.work.observers.filter((e, t) => !!h.observer_indexs.find((c) => c === t));
|
|
184
|
+
o && o.forEach((e) => {
|
|
185
|
+
const t = e.position;
|
|
176
186
|
let c = 1 / 0, v;
|
|
177
187
|
s.forEach((y) => {
|
|
178
188
|
const g = y.standingPosition, w = {
|
|
@@ -183,11 +193,11 @@ class Me extends q {
|
|
|
183
193
|
L < c && (c = L, v = w);
|
|
184
194
|
}), v && (t.y = v.y + 0.01);
|
|
185
195
|
const b = new V(t.x, t.y, t.z);
|
|
186
|
-
b.add(new V(-0.2, 1.8, 0).applyEuler(new z(0,
|
|
196
|
+
b.add(new V(-0.2, 1.8, 0).applyEuler(new z(0, e.rad, 0))), this.doorLabels.push({
|
|
187
197
|
roomName: h.name,
|
|
188
|
-
name:
|
|
198
|
+
name: e.name,
|
|
189
199
|
position: b,
|
|
190
|
-
toward: K(
|
|
200
|
+
toward: K(e.rad)
|
|
191
201
|
});
|
|
192
202
|
});
|
|
193
203
|
}), this.labelItems = this.doorLabels.map((h) => W(H({}, h), {
|
|
@@ -200,33 +210,33 @@ class Me extends q {
|
|
|
200
210
|
})), this.five.on("wantsToMoveToPano", this.hideAllLabels), this.five.on("modelLoaded", this.fixDoorVisibleAndPosition), this.five.on("panoArrived", this.fixDoorVisibleAndPosition), this.five.on("initAnimationEnded", this.fixDoorPosition), this.five.on("cameraUpdate", this.fixDoorPosition), this.five.on("mouseWheel", this.fixDoorPosition), this.five.on("pinchGesture", this.fixDoorPosition), this.fixDoorVisibleAndPosition();
|
|
201
211
|
});
|
|
202
212
|
}
|
|
203
|
-
stateChangedCallback(
|
|
213
|
+
stateChangedCallback(i, n) {
|
|
204
214
|
if (this.hooks.hasListener("stateChange")) {
|
|
205
215
|
const d = {
|
|
206
216
|
state: this.state,
|
|
207
|
-
prevState:
|
|
208
|
-
userAction: n ? n.userAction :
|
|
217
|
+
prevState: i,
|
|
218
|
+
userAction: n ? n.userAction : ii.userAction
|
|
209
219
|
};
|
|
210
220
|
this.hooks.emit("stateChange", d);
|
|
211
221
|
}
|
|
212
222
|
}
|
|
213
223
|
render() {
|
|
214
224
|
if (!this.enabled) {
|
|
215
|
-
this.doorLabelItems && this.doorLabelItems.length > 0 && this.doorLabelItems.forEach((
|
|
216
|
-
|
|
225
|
+
this.doorLabelItems && this.doorLabelItems.length > 0 && this.doorLabelItems.forEach((i) => {
|
|
226
|
+
i == null || i.$destroy();
|
|
217
227
|
}), this.doorLabels = void 0;
|
|
218
228
|
return;
|
|
219
229
|
}
|
|
220
|
-
this.doorLabelItems && this.doorLabelItems.forEach((
|
|
221
|
-
|
|
222
|
-
}), this.doorLabelItems = [], this.labelItems.forEach((
|
|
230
|
+
this.doorLabelItems && this.doorLabelItems.forEach((i) => {
|
|
231
|
+
i.$destroy();
|
|
232
|
+
}), this.doorLabelItems = [], this.labelItems.forEach((i) => {
|
|
223
233
|
this.doorLabelItems.push(
|
|
224
234
|
new X({
|
|
225
235
|
target: this.container,
|
|
226
236
|
props: {
|
|
227
|
-
props:
|
|
237
|
+
props: i,
|
|
228
238
|
onClick: () => {
|
|
229
|
-
this.onClick(
|
|
239
|
+
this.onClick(i.name, i.position);
|
|
230
240
|
}
|
|
231
241
|
}
|
|
232
242
|
})
|
|
@@ -241,5 +251,5 @@ class Me extends q {
|
|
|
241
251
|
}
|
|
242
252
|
}
|
|
243
253
|
export {
|
|
244
|
-
|
|
254
|
+
Wi as PanoDoorLabelPluginController
|
|
245
255
|
};
|
|
@@ -1,89 +1,99 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as T, null_to_empty as u, noop as d } from "../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as L, element as C, space as p, attr as M, insert as O, append as j, listen as S, detach as y } from "../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { binding_callbacks as P } from "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
4
|
+
import { SvelteComponent as v, init as Z } from "../vendor/svelte/src/runtime/internal/Component.js";
|
|
5
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
2
6
|
import { classnames as s } from "../vendor/classnames/index.js";
|
|
3
|
-
|
|
4
|
-
|
|
7
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
8
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
9
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
10
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
13
|
+
function k(i) {
|
|
14
|
+
L(i, "svelte-1irjijd", '.plugin-DoorLabelPlugin-item.svelte-1irjijd.svelte-1irjijd{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;transition:opacity 0.3s ease}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd{position:absolute;top:50%;left:50%;border-radius:0.125rem;background:rgba(0, 0, 0, 0.35);line-height:0.75rem;padding:0.375rem;white-space:nowrap;font-size:0.75rem;font-style:normal;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform ease 1s, background ease 0.3s, color ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd::after{content:"";display:block;position:absolute;top:-0.0625rem;left:-0.0625rem;bottom:-0.0625rem;right:-0.0625rem;border-radius:0.125rem;border:0.0625rem solid rgba(0, 0, 0, 0);-o-border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlMAIE397fAAAAAVSURBVAjXY2BjgCMQ+PABhIAASRwARxwD8fgzCQAAAAAASUVORK5CYII=") 4;border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlMAIE397fAAAAAVSURBVAjXY2BjgCMQ+PABhIAASRwARxwD8fgzCQAAAAAASUVORK5CYII=") 4;transition:opacity ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd:active,.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd:focus{background:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5)}.plugin-DoorLabelPlugin-icon.svelte-1irjijd.svelte-1irjijd{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSIxMHB4IiB2aWV3Qm94PSIwIDAgMTAgMTAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aW1hZ2Ut566t5aS0P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nPgogICAgPC9nPgo8L3N2Zz4=") no-repeat;background-size:100%;display:inline-block;width:0.625rem;height:0.625rem;margin-left:0.25rem;transform-origin:center}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].left.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].forward.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].back.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].right.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd{color:#f9eac1}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSI4cHgiIHZpZXdCb3g9IjAgMCAxMCA4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPueureWktDwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8bGluZWFyR3JhZGllbnQgeDE9IjEwLjYzODU4ODQlIiB5MT0iMCUiIHgyPSI5Ni41MTYxNDc0JSIgeTI9IjEyOS43MzEzNTQlIiBpZD0ibGluZWFyR3JhZGllbnQtMSI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGRkYyQ0MiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0VBRDA5QSIgb2Zmc2V0PSI0OC43MTQ0NDc4JSI+PC9zdG9wPgogICAgICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRDFCMTdFIiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAgICAgICA8L2xpbmVhckdyYWRpZW50PgogICAgPC9kZWZzPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydW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TMsMC43ODcxNjcxNDIgOC4zNTM3ODUyNCwwLjg2MzUzMTczOSA4LjQ5NjE4MTM1LDEuMTAwMTI4MzUgQzguNTkxNzk2MTMsMS4yNTg5OTYgOC41OTE2NDI3OCwxLjQ1NzczMTIgOC40OTU3ODI5NCwxLjYxNjQ1MTEgWiIgaWQ9IueureWktCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNS4wMzkyMDAsIDUuMzA1NDgwKSBzY2FsZSgxLCAtMSkgcm90YXRlKC05MC4wMDAwMDApIHRyYW5zbGF0ZSgtNS4wMzkyMDAsIC01LjMwNTQ4MCkgIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==") no-repeat}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd:active,.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd:focus{background:rgba(0, 0, 0, 0.5);color:rgba(249, 234, 193, 0.5)}');
|
|
5
15
|
}
|
|
6
|
-
function x(
|
|
7
|
-
let I,
|
|
16
|
+
function x(i) {
|
|
17
|
+
let I, g, l, a, A, t, r, n;
|
|
8
18
|
return {
|
|
9
19
|
c() {
|
|
10
|
-
I = C("div"),
|
|
11
|
-
|
|
20
|
+
I = C("div"), g = C("div"), l = C("span"), l.textContent = `${/*name*/
|
|
21
|
+
i[8]}`, a = p(), A = C("i"), M(l, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), M(A, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), M(g, "class", t = u(s(
|
|
12
22
|
"plugin-DoorLabelPlugin-cnt",
|
|
13
23
|
/*props*/
|
|
14
|
-
|
|
15
|
-
)) + " svelte-1irjijd"), M(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
i[0].toward
|
|
25
|
+
)) + " svelte-1irjijd"), M(g, "style", `transform: ${/*transform*/
|
|
26
|
+
i[6] || "initial"};pointer-events: ${/*inSight*/
|
|
27
|
+
i[5] ? "auto" : "none"};opacity: ${/*inSight*/
|
|
28
|
+
i[5] ? 1 : 0}`), M(
|
|
29
|
+
g,
|
|
20
30
|
"data-camera-toward",
|
|
21
31
|
/*cameraToward*/
|
|
22
|
-
|
|
32
|
+
i[7]
|
|
23
33
|
), M(I, "style", `left: ${/*left*/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
i[3] || 0}%;top: ${/*top*/
|
|
35
|
+
i[4] || 0}%;opacity: ${/*inSight*/
|
|
36
|
+
i[5] ? 1 : 0}`), M(I, "class", "plugin-DoorLabelPlugin-item svelte-1irjijd");
|
|
27
37
|
},
|
|
28
|
-
m(
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
m(o, D) {
|
|
39
|
+
O(o, I, D), j(I, g), j(g, l), j(g, a), j(g, A), i[10](I), r || (n = S(
|
|
40
|
+
g,
|
|
31
41
|
"click",
|
|
32
42
|
/*click_handler*/
|
|
33
|
-
|
|
43
|
+
i[9]
|
|
34
44
|
), r = !0);
|
|
35
45
|
},
|
|
36
|
-
p(
|
|
46
|
+
p(o, [D]) {
|
|
37
47
|
D & /*props*/
|
|
38
|
-
1 &&
|
|
48
|
+
1 && t !== (t = u(s(
|
|
39
49
|
"plugin-DoorLabelPlugin-cnt",
|
|
40
50
|
/*props*/
|
|
41
|
-
|
|
42
|
-
)) + " svelte-1irjijd") && M(
|
|
51
|
+
o[0].toward
|
|
52
|
+
)) + " svelte-1irjijd") && M(g, "class", t);
|
|
43
53
|
},
|
|
44
54
|
i: d,
|
|
45
55
|
o: d,
|
|
46
|
-
d(
|
|
47
|
-
|
|
56
|
+
d(o) {
|
|
57
|
+
o && y(I), i[10](null), r = !1, n();
|
|
48
58
|
}
|
|
49
59
|
};
|
|
50
60
|
}
|
|
51
|
-
function U(
|
|
52
|
-
let { props:
|
|
61
|
+
function U(i, I, g) {
|
|
62
|
+
let { props: l } = I, { onClick: a } = I, A, { left: t, top: r, inSight: n, transform: o, panoIndex: D, cameraToward: N, name: w } = l;
|
|
53
63
|
const z = () => {
|
|
54
|
-
if (!
|
|
64
|
+
if (!t || !r || !n || !A)
|
|
55
65
|
return;
|
|
56
66
|
const e = A.current.clientWidth / window.innerWidth * 100, c = A.current.clientHeight / window.innerHeight * 100;
|
|
57
|
-
|
|
58
|
-
},
|
|
67
|
+
t <= e / 2 || t >= 100 - e / 2 || r <= c / 2 || r >= 100 - c / 2;
|
|
68
|
+
}, m = (e) => {
|
|
59
69
|
a && a();
|
|
60
70
|
};
|
|
61
|
-
function
|
|
62
|
-
|
|
63
|
-
A = e,
|
|
71
|
+
function b(e) {
|
|
72
|
+
P[e ? "unshift" : "push"](() => {
|
|
73
|
+
A = e, g(2, A);
|
|
64
74
|
});
|
|
65
75
|
}
|
|
66
|
-
return
|
|
67
|
-
"props" in e &&
|
|
76
|
+
return i.$$set = (e) => {
|
|
77
|
+
"props" in e && g(0, l = e.props), "onClick" in e && g(1, a = e.onClick);
|
|
68
78
|
}, z(), [
|
|
69
|
-
|
|
79
|
+
l,
|
|
70
80
|
a,
|
|
71
81
|
A,
|
|
72
|
-
|
|
82
|
+
t,
|
|
73
83
|
r,
|
|
74
|
-
o,
|
|
75
84
|
n,
|
|
85
|
+
o,
|
|
76
86
|
N,
|
|
77
87
|
w,
|
|
78
|
-
|
|
79
|
-
|
|
88
|
+
m,
|
|
89
|
+
b
|
|
80
90
|
];
|
|
81
91
|
}
|
|
82
|
-
class
|
|
92
|
+
class F extends v {
|
|
83
93
|
constructor(I) {
|
|
84
|
-
super(),
|
|
94
|
+
super(), Z(this, I, U, x, T, { props: 0, onClick: 1 }, k);
|
|
85
95
|
}
|
|
86
96
|
}
|
|
87
97
|
export {
|
|
88
|
-
|
|
98
|
+
F as default
|
|
89
99
|
};
|
|
@@ -21,11 +21,21 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
22
22
|
import "../shared-utils/absoluteUrl.js";
|
|
23
23
|
import "./DoorLabelItem.js";
|
|
24
|
-
import "../vendor/svelte/internal/
|
|
24
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
25
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
26
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
27
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
28
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
29
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
30
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
31
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
32
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
33
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
34
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
25
35
|
import "../vendor/classnames/index.js";
|
|
26
36
|
import "./utils.js";
|
|
27
|
-
const
|
|
37
|
+
const K = (o) => new r(o);
|
|
28
38
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
39
|
+
K as PanoDoorLabelPlugin,
|
|
40
|
+
K as default
|
|
31
41
|
};
|
|
@@ -1,93 +1,103 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "../../../vendor/svelte/
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { safe_not_equal as _, is_function as b, noop as C } from "../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as h, element as k, attr as y, set_style as a, insert as g, listen as B, detach as v, text as I, append as w, set_data as j } from "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { transition_out as u, check_outros as q, transition_in as c, create_bidirectional_transition as f, group_outros as x } from "../../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
4
|
+
import { add_render_callback as z } from "../../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
5
|
+
import { SvelteComponent as S, init as A } from "../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
6
|
+
import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
7
|
+
import { fade as m } from "../../../vendor/svelte/src/runtime/transition/index.js";
|
|
8
|
+
import { startIconImage as d, endIconImage as D } from "../../Modules/UIController/mobileHTML.js";
|
|
9
|
+
import "../../../vendor/svelte/src/runtime/internal/environment.js";
|
|
10
|
+
import "../../../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
+
import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
+
import "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
13
|
+
import "../../../vendor/svelte/src/shared/version.js";
|
|
14
|
+
import "../../../vendor/svelte/src/runtime/easing/index.js";
|
|
15
|
+
function E(i) {
|
|
16
|
+
h(i, "svelte-82ysdl", ".CircleButton.svelte-82ysdl.svelte-82ysdl{position:relative;display:flex;justify-content:center;align-items:center;width:4.5rem;height:4.5rem;background-image:inherit;background-size:100% auto;background-repeat:no-repeat;transition:transform 200ms ease-in-out}.CircleButton.svelte-82ysdl.svelte-82ysdl:active{transform:scale(0.8)}.CircleButton.svelte-82ysdl .text.svelte-82ysdl{position:absolute}");
|
|
7
17
|
}
|
|
8
|
-
function
|
|
9
|
-
let
|
|
18
|
+
function p(i) {
|
|
19
|
+
let t, s, n, o;
|
|
10
20
|
return {
|
|
11
21
|
c() {
|
|
12
|
-
|
|
22
|
+
t = k("div"), s = I(
|
|
13
23
|
/*text*/
|
|
14
|
-
|
|
15
|
-
),
|
|
24
|
+
i[0]
|
|
25
|
+
), y(t, "class", "text svelte-82ysdl");
|
|
16
26
|
},
|
|
17
|
-
m(
|
|
18
|
-
|
|
27
|
+
m(e, r) {
|
|
28
|
+
g(e, t, r), w(t, s), o = !0;
|
|
19
29
|
},
|
|
20
|
-
p(
|
|
21
|
-
(!o ||
|
|
22
|
-
1) &&
|
|
30
|
+
p(e, r) {
|
|
31
|
+
(!o || r & /*text*/
|
|
32
|
+
1) && j(
|
|
23
33
|
s,
|
|
24
34
|
/*text*/
|
|
25
|
-
|
|
35
|
+
e[0]
|
|
26
36
|
);
|
|
27
37
|
},
|
|
28
|
-
i(
|
|
29
|
-
o || (z(() => {
|
|
30
|
-
o && (
|
|
38
|
+
i(e) {
|
|
39
|
+
o || (e && z(() => {
|
|
40
|
+
o && (n || (n = f(t, m, { duration: 300 }, !0)), n.run(1));
|
|
31
41
|
}), o = !0);
|
|
32
42
|
},
|
|
33
|
-
o(
|
|
34
|
-
|
|
43
|
+
o(e) {
|
|
44
|
+
e && (n || (n = f(t, m, { duration: 300 }, !1)), n.run(0)), o = !1;
|
|
35
45
|
},
|
|
36
|
-
d(
|
|
37
|
-
|
|
46
|
+
d(e) {
|
|
47
|
+
e && v(t), e && n && n.end();
|
|
38
48
|
}
|
|
39
49
|
};
|
|
40
50
|
}
|
|
41
|
-
function
|
|
42
|
-
let
|
|
51
|
+
function F(i) {
|
|
52
|
+
let t, s = (
|
|
43
53
|
/*text*/
|
|
44
|
-
|
|
45
|
-
),
|
|
54
|
+
i[0]
|
|
55
|
+
), n, o, e = p(i);
|
|
46
56
|
return {
|
|
47
57
|
c() {
|
|
48
|
-
|
|
49
|
-
|
|
58
|
+
t = k("div"), e.c(), y(t, "class", "CircleButton svelte-82ysdl"), a(t, "background-image", `url(${/*bgImage*/
|
|
59
|
+
i[2]})`);
|
|
50
60
|
},
|
|
51
|
-
m(
|
|
52
|
-
|
|
53
|
-
|
|
61
|
+
m(r, l) {
|
|
62
|
+
g(r, t, l), e.m(t, null), n || (o = B(t, "click", function() {
|
|
63
|
+
b(
|
|
54
64
|
/*onClick*/
|
|
55
|
-
|
|
56
|
-
) &&
|
|
57
|
-
}),
|
|
65
|
+
i[1]
|
|
66
|
+
) && i[1].apply(this, arguments);
|
|
67
|
+
}), n = !0);
|
|
58
68
|
},
|
|
59
|
-
p(
|
|
60
|
-
|
|
61
|
-
1 &&
|
|
62
|
-
|
|
63
|
-
4 && a(
|
|
64
|
-
|
|
69
|
+
p(r, [l]) {
|
|
70
|
+
i = r, l & /*text*/
|
|
71
|
+
1 && _(s, s = /*text*/
|
|
72
|
+
i[0]) ? (x(), u(e, 1, 1, C), q(), e = p(i), e.c(), c(e, 1), e.m(t, null)) : e.p(i, l), l & /*bgImage*/
|
|
73
|
+
4 && a(t, "background-image", `url(${/*bgImage*/
|
|
74
|
+
i[2]})`);
|
|
65
75
|
},
|
|
66
|
-
i(
|
|
67
|
-
|
|
76
|
+
i(r) {
|
|
77
|
+
c(e);
|
|
68
78
|
},
|
|
69
|
-
o(
|
|
70
|
-
|
|
79
|
+
o(r) {
|
|
80
|
+
u(e);
|
|
71
81
|
},
|
|
72
|
-
d(
|
|
73
|
-
|
|
82
|
+
d(r) {
|
|
83
|
+
r && v(t), e.d(r), n = !1, o();
|
|
74
84
|
}
|
|
75
85
|
};
|
|
76
86
|
}
|
|
77
|
-
function
|
|
78
|
-
let
|
|
79
|
-
return
|
|
80
|
-
"text" in l && s(0, o = l.text), "onClick" in l && s(1,
|
|
81
|
-
},
|
|
82
|
-
|
|
83
|
-
8 && s(2,
|
|
84
|
-
}, [o,
|
|
87
|
+
function G(i, t, s) {
|
|
88
|
+
let n, { text: o } = t, { onClick: e = null } = t, { color: r = "white" } = t;
|
|
89
|
+
return i.$$set = (l) => {
|
|
90
|
+
"text" in l && s(0, o = l.text), "onClick" in l && s(1, e = l.onClick), "color" in l && s(3, r = l.color);
|
|
91
|
+
}, i.$$.update = () => {
|
|
92
|
+
i.$$.dirty & /*color*/
|
|
93
|
+
8 && s(2, n = (() => r === "white" ? d : r === "blue" ? D : d)());
|
|
94
|
+
}, [o, e, n, r];
|
|
85
95
|
}
|
|
86
|
-
class
|
|
87
|
-
constructor(
|
|
88
|
-
super(),
|
|
96
|
+
class X extends S {
|
|
97
|
+
constructor(t) {
|
|
98
|
+
super(), A(this, t, G, F, _, { text: 0, onClick: 1, color: 3 }, E);
|
|
89
99
|
}
|
|
90
100
|
}
|
|
91
101
|
export {
|
|
92
|
-
|
|
102
|
+
X as default
|
|
93
103
|
};
|