@realsee/dnalogel 2.1.1 → 2.1.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +242 -569
- package/dist/index.cjs.js +58 -73
- package/dist/index.es.js +7842 -12958
- package/dist/index.js +7842 -12958
- package/dist/index.umd.js +46 -61
- package/docs/assets/highlight.css +3 -3
- package/docs/assets/main.js +4 -2
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +462 -619
- package/docs/classes/CruisePluginController.html +397 -23
- package/docs/classes/Magnifier.html +187 -9
- package/docs/classes/ModelRoomLabelController.html +149 -11
- package/docs/classes/Object3DHelperController.html +356 -0
- package/docs/classes/PaintBrush.html +260 -0
- package/docs/classes/PanoTagPluginController.html +940 -0
- package/docs/classes/Util.BetterTween.html +134 -0
- package/docs/classes/Util.FivePointSelector.html +144 -0
- package/docs/classes/Util.Interval.html +158 -0
- package/docs/classes/Util.Magnifier.html +196 -0
- package/docs/classes/Util.PointDomHelper.html +135 -0
- package/docs/classes/Util.PointHelper.html +127 -0
- package/docs/classes/Util.Rectangle.html +181 -0
- package/docs/enums/CameraMovementEffect.html +70 -3
- package/docs/enums/ContentType.html +116 -0
- package/docs/enums/DIRECTION.html +81 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +81 -1
- package/docs/enums/DimensionType.html +67 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +74 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +81 -1
- package/docs/enums/LinkType.html +67 -0
- package/docs/enums/PaintBrushTypeEnum.html +74 -0
- package/docs/enums/PointType.html +67 -0
- package/docs/enums/Rotation.html +77 -3
- package/docs/functions/CSS3DRenderPlugin.html +233 -0
- package/docs/functions/CameraMovementPlugin.html +237 -0
- package/docs/functions/CruisePlugin.html +233 -0
- package/docs/functions/GuideLinePlugin.html +235 -0
- package/docs/functions/ItemLabelPlugin.html +235 -0
- package/docs/functions/MapviewFloorplanPlugin.html +235 -0
- package/docs/functions/ModelChassisCompassPlugin.html +237 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +237 -0
- package/docs/functions/ModelFloorplanPlugin.html +235 -0
- package/docs/functions/ModelItemLabelPlugin.html +235 -0
- package/docs/functions/ModelRoomLabelPlugin.html +233 -0
- package/docs/functions/ModelTVVideoPlugin.html +235 -0
- package/docs/functions/ModelViewPlugin.html +237 -0
- package/docs/functions/Object3DHelperPlugin.html +233 -0
- package/docs/functions/PanoCompassPlugin.html +235 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +238 -0
- package/docs/functions/PanoDoorLabelPlugin.html +235 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +235 -0
- package/docs/functions/PanoMeasurePlugin.html +235 -0
- package/docs/functions/PanoRulerPlugin.html +237 -0
- package/docs/functions/PanoRulerProPlugin.html +237 -0
- package/docs/functions/PanoSpatialTagPlugin.html +237 -0
- package/docs/functions/PanoTagPlugin.html +249 -0
- package/docs/functions/TopviewFloorplanPlugin.html +235 -0
- package/docs/functions/Util.getCoordsFromClient.html +78 -0
- package/docs/functions/Util.getCoordsFromElement.html +78 -0
- package/docs/functions/Util.getFrameTime.html +70 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +78 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +78 -0
- package/docs/functions/Util.isNil.html +79 -0
- package/docs/functions/Util.nextFrame.html +73 -0
- package/docs/functions/Util.notNil.html +78 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +98 -0
- package/docs/functions/Util.tweenProgress.html +84 -0
- package/docs/functions/pluginFlag.html +233 -0
- package/docs/index.html +220 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +205 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +85 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +111 -17
- package/docs/interfaces/ContentTypeMap.html +212 -0
- package/docs/interfaces/FloorplanBounding.html +89 -10
- package/docs/interfaces/FloorplanData.html +95 -3
- package/docs/interfaces/FloorplanEntrance.html +114 -15
- package/docs/interfaces/FloorplanExtraObject.html +108 -7
- package/docs/interfaces/FloorplanExtraObject3D.html +99 -3
- package/docs/interfaces/FloorplanFloorData.html +88 -3
- package/docs/interfaces/FloorplanImagePosition.html +74 -3
- package/docs/interfaces/FloorplanObserver.html +92 -5
- package/docs/interfaces/FloorplanOutlineItem.html +88 -3
- package/docs/interfaces/FloorplanPosition.html +74 -3
- package/docs/interfaces/FloorplanRoomItem.html +134 -17
- package/docs/interfaces/FloorplanRoomLabelItem.html +78 -7
- package/docs/interfaces/FloorplanServerBounding.html +89 -10
- package/docs/interfaces/FloorplanServerComputedData.html +92 -1
- package/docs/interfaces/FloorplanServerData.html +74 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +92 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +78 -1
- package/docs/interfaces/FloorplanServerEntrance.html +114 -15
- package/docs/interfaces/FloorplanServerFloorData.html +88 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +74 -3
- package/docs/interfaces/FloorplanServerObserver.html +92 -5
- package/docs/interfaces/FloorplanServerOutlineItem.html +88 -3
- package/docs/interfaces/FloorplanServerPosition.html +74 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +145 -20
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +78 -7
- package/docs/interfaces/ItemLabelPluginData.html +64 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +149 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +85 -1
- package/docs/interfaces/LineJson.html +71 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +71 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +107 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +71 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +78 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +115 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +64 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +149 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +71 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +64 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +85 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +109 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +64 -1
- package/docs/interfaces/ModelViewPluginExportType.html +129 -1
- package/docs/interfaces/Object3DHelperState.html +78 -0
- package/docs/interfaces/OpenParameter.html +74 -3
- package/docs/interfaces/PaintBrushAction.html +118 -0
- package/docs/interfaces/PaintBrushConfigs.html +122 -0
- package/docs/interfaces/PaintBrushState.html +99 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +186 -11
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +227 -1
- package/docs/interfaces/PanoMeasureParameterType.html +128 -5
- package/docs/interfaces/PanoRulerPluginExportType.html +138 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +87 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +78 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +114 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +84 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +71 -1
- package/docs/interfaces/PanoRulerProPluginState.html +78 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +241 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +230 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +114 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +96 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +192 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +92 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +113 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +99 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +92 -1
- package/docs/interfaces/Point.html +78 -1
- package/docs/interfaces/PointJson.html +78 -1
- package/docs/interfaces/Room.html +85 -1
- package/docs/interfaces/RoomInfo.html +71 -1
- package/docs/interfaces/RoomLabel.html +141 -13
- package/docs/interfaces/RoomRules.html +230 -1
- package/docs/interfaces/Rooms.html +230 -1
- package/docs/interfaces/Scissor.html +100 -0
- package/docs/interfaces/TagConfig.html +120 -0
- package/docs/interfaces/Tags.html +89 -0
- package/docs/interfaces/Util.MagnifierParameter.html +116 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +79 -0
- package/docs/modules/Util.html +91 -0
- package/docs/modules.html +425 -36
- package/docs/types/ArrayPosition.html +224 -0
- package/docs/types/CSS3DRenderExportType.html +224 -0
- package/docs/types/CSS3DRenderPluginExportType.html +224 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +224 -0
- package/docs/types/Color.html +224 -0
- package/docs/types/ContentTypeConfigKey.html +224 -0
- package/docs/types/ContentTypeConfigKeyArray.html +224 -0
- package/docs/types/Create3DDomContainerReturnType.html +224 -0
- package/docs/types/Create3DElementReturnType.html +224 -0
- package/docs/types/CruisePluginExportType.html +224 -0
- package/docs/types/Direction-1.html +224 -0
- package/docs/types/Direction4.html +224 -0
- package/docs/types/FloorplanRuleLabels.html +226 -0
- package/docs/types/FloorplanServerRuleLabels.html +224 -0
- package/docs/types/GuideLinePluginExportType.html +224 -0
- package/docs/types/HelperEventMap.html +314 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +224 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +224 -0
- package/docs/types/MediaData.html +224 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +224 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +224 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +224 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +224 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +224 -0
- package/docs/types/MoveArgs.html +226 -0
- package/docs/types/MoveOpts.html +226 -0
- package/docs/types/Object3DHelperEventMap.html +317 -0
- package/docs/types/ObjectFit.html +224 -0
- package/docs/types/PaintBrushEventMap.html +255 -0
- package/docs/types/PanoCompassPluginData.html +224 -0
- package/docs/types/PanoCompassPluginExportType.html +224 -0
- package/docs/types/PanoCompassPluginParameterType.html +224 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +224 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +224 -0
- package/docs/types/PanoMeasurePluginEvent.html +224 -0
- package/docs/types/PanoMeasureReturnType.html +224 -0
- package/docs/types/PanoSpatialTagPluginId.html +224 -0
- package/docs/types/PanoTagPluginExportInterface.html +224 -0
- package/docs/types/PanoTagPluginParamsInterface.html +224 -0
- package/docs/types/PlaneTag.html +233 -0
- package/docs/types/PointTag.html +235 -0
- package/docs/types/Position.html +224 -0
- package/docs/types/RotateArgs.html +226 -0
- package/docs/types/RotateOpts.html +226 -0
- package/docs/types/RuleLabelsKey.html +224 -0
- package/docs/types/RuleLabelsValue.html +224 -0
- package/docs/types/Tag.html +235 -0
- package/docs/types/Tag2D.html +233 -0
- package/docs/types/Tag3D.html +233 -0
- package/docs/types/TagId.html +224 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +224 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +224 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +226 -0
- package/docs/variables/PLUGIN.html +224 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +226 -0
- package/docs/variables/ROOM_TYPE_MAP.html +226 -0
- package/docs/variables/VERSION.html +224 -0
- package/docs/variables/itemLabelPluginServerParams.html +231 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +231 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +231 -0
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +150 -119
- package/libs/CSS3DRenderPlugin/Controller.d.ts +3 -3
- package/libs/CSS3DRenderPlugin/Controller.js +45 -42
- package/libs/CSS3DRenderPlugin/index.js +4 -12
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +71 -54
- package/libs/CruisePlugin/Controller.js +331 -287
- package/libs/CruisePlugin/index.js +6 -25
- package/libs/CruisePlugin/utils/coordinatesAngle.js +2 -3
- package/libs/CruisePlugin/utils/safeCall.js +21 -5
- package/libs/GuideLinePlugin/Controller.js +94 -62
- package/libs/GuideLinePlugin/index.js +4 -13
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +49 -103
- package/libs/GuideLinePlugin/utils/polyline-normals.d.ts +3 -0
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +200 -183
- package/libs/ItemLabelPlugin/ItemLabelItem.js +27 -27
- package/libs/ItemLabelPlugin/Plugin.js +20 -29
- package/libs/ItemLabelPlugin/index.js +5 -18
- package/libs/ItemLabelPlugin/utils/parseData.js +15 -4
- package/libs/ItemLabelPlugin/utils/transform2RenderData.js +16 -6
- package/libs/ModelChassisCompassPlugin/Plugin.js +54 -38
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +58 -46
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +145 -129
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +18 -18
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +19 -24
- package/libs/ModelItemLabelPlugin/index.js +5 -14
- package/libs/ModelItemLabelPlugin/utils/parseData.js +16 -6
- package/libs/ModelRoomLabelPlugin/Controller.js +2 -6
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +22 -22
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +105 -94
- package/libs/ModelRoomLabelPlugin/index.js +4 -10
- package/libs/ModelTVVideoPlugin/Plugin.js +101 -94
- package/libs/ModelViewPlugin/Plugin.js +71 -60
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +79 -71
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +8 -11
- package/libs/Object3DHelperPlugin/index.js +8 -40
- package/libs/PanoCompassPlugin/Controller.js +91 -72
- package/libs/PanoCompassPlugin/index.js +4 -22
- package/libs/PanoCursorRaycasterPlugin/index.js +8 -9
- package/libs/PanoDoorLabelPlugin/BaseController.js +42 -33
- package/libs/PanoDoorLabelPlugin/Controller.js +84 -80
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +16 -16
- package/libs/PanoDoorLabelPlugin/index.d.ts +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +3 -12
- package/libs/PanoDoorLabelPlugin/utils.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +14 -24
- package/libs/PanoMeasurePlugin/Controller/EditController.js +8 -20
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +15 -28
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +15 -26
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +28 -43
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +43 -70
- package/libs/PanoMeasurePlugin/Model/index.d.ts +4 -4
- package/libs/PanoMeasurePlugin/Model/index.js +38 -45
- package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/line.js +10 -14
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +35 -28
- package/libs/PanoMeasurePlugin/index.js +6 -55
- package/libs/PanoMeasurePlugin/utils/constants.js +29 -16
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +4 -5
- package/libs/PanoRulerPlugin/Plugin.js +180 -157
- package/libs/PanoRulerProPlugin/Controller.js +70 -51
- package/libs/PanoRulerProPlugin/RulerItem.js +55 -45
- package/libs/PanoRulerProPlugin/RulerItems.js +124 -125
- package/libs/PanoRulerProPlugin/index.js +4 -15
- package/libs/PanoSpatialTagPlugin/Components/origins.js +24 -25
- package/libs/PanoSpatialTagPlugin/Components/tag.js +23 -23
- package/libs/PanoSpatialTagPlugin/Plugin.js +61 -72
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -1
- package/libs/PanoSpatialTagPlugin/store.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +47 -47
- package/libs/PanoTagPlugin/Components/Common/Audio.js +95 -92
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +48 -48
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +40 -41
- package/libs/PanoTagPlugin/Components/Common/Media.js +258 -3303
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +60 -60
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +96 -107
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +15 -16
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +22 -23
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +78 -82
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +51 -52
- package/libs/PanoTagPlugin/Components/Common/Text.js +84 -937
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +58 -64
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +35 -34
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +101 -111
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +43 -45
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +123 -96
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +36 -44
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +71 -83
- package/libs/PanoTagPlugin/Components/Tag/index.js +130 -149
- package/libs/PanoTagPlugin/Components/TagContainer.js +69 -100
- package/libs/PanoTagPlugin/Components/TagWrapper.js +86 -116
- package/libs/PanoTagPlugin/controller/TagCacheController.js +2 -3
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +262 -13
- package/libs/PanoTagPlugin/controller/index.js +177 -186
- package/libs/PanoTagPlugin/index.js +7 -69
- package/libs/PanoTagPlugin/utils/checkRange.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/resizeObserver.js +1 -1
- package/libs/PanoTagPlugin/utils/search.js +9 -27
- package/libs/base/BasePluginWithData.js +0 -1
- package/libs/components/PaintBrush/Controller.d.ts +2 -2
- package/libs/components/PaintBrush/Controller.js +3 -4
- package/libs/components/PaintBrush/index.js +2 -9
- package/libs/components/PaintBrush/tween.js +7 -11
- package/libs/components/PaintBrush/utils.d.ts +1 -1
- package/libs/env.d.ts +1 -0
- package/libs/floorplan/Components/BaseImage.js +29 -30
- package/libs/floorplan/Components/Camera.js +24 -24
- package/libs/floorplan/Components/Compass.js +36 -36
- package/libs/floorplan/Components/CurrentFloor.js +65 -74
- package/libs/floorplan/Components/Main.js +94 -112
- package/libs/floorplan/Components/Normalmage.js +21 -21
- package/libs/floorplan/Components/RoomHighlight/Room.js +20 -20
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +43 -44
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +60 -59
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +61 -61
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +136 -124
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +21 -21
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +20 -20
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +22 -22
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +68 -68
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +40 -40
- package/libs/floorplan/Components/SvgImage.js +19 -19
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +145 -146
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -47
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +187 -189
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -47
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +32 -31
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +56 -60
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +29 -29
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +75 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +92 -74
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -24
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +181 -173
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -44
- package/libs/floorplan/utils/constant.js +1 -2
- package/libs/floorplan/utils/correctFiveState.js +48 -30
- package/libs/floorplan/utils/formatData.js +58 -36
- package/libs/index.js +90 -328
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-changed-params.js +29 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-params.js +23 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/mount-swiper.js +14 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/params-list.js +120 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/update-swiper.js +36 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/utils.js +32 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper-slide.js +182 -0
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper.js +254 -0
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +2 -5
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +5 -16
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +16 -24
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +15 -23
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +2 -10
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +27 -29
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +19 -9
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +4 -5
- package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +1 -102
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +8 -14
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +2 -3
- package/libs/shared-utils/Object3DHelper/index.js +72 -43
- package/libs/shared-utils/Object3DHelper/utils/direction.js +14 -22
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.d.ts +34 -0
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -1
- package/libs/shared-utils/Subscribe.js +1 -1
- package/libs/shared-utils/animationFrame/BetterTween.js +24 -4
- package/libs/shared-utils/animationFrame/calculateProgress.js +3 -9
- package/libs/shared-utils/animationFrame/formatRad.js +1 -3
- package/libs/shared-utils/animationFrame/index.js +19 -39
- package/libs/shared-utils/animationFrame/tween.js +17 -17
- package/libs/shared-utils/filter.js +6 -26
- package/libs/shared-utils/five/changeMode.js +34 -16
- package/libs/shared-utils/index.js +29 -43
- package/libs/shared-utils/math/planimetry.d.ts +5 -5
- package/libs/shared-utils/math/planimetry.js +34 -121
- package/libs/shared-utils/removeArrayItem.d.ts +1 -1
- package/libs/shared-utils/three/Assets/index.js +1 -2
- package/libs/shared-utils/three/FivePointSelector.d.ts +1 -1
- package/libs/shared-utils/three/FivePointSelector.js +12 -26
- package/libs/shared-utils/three/Magnifier.d.ts +2 -2
- package/libs/shared-utils/three/Magnifier.js +3 -3
- package/libs/shared-utils/three/PointDomHelper.js +26 -34
- package/libs/shared-utils/three/getIntersect.d.ts +1 -1
- package/libs/shared-utils/three/getRaycaster.d.ts +1 -1
- package/libs/shared-utils/three/loadTexture.js +25 -7
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +18 -7
- package/libs/shared-utils/to.js +26 -8
- package/package.json +45 -28
- package/dist/style.css +0 -1
- package/docs/assets/icons.css +0 -1043
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/interfaces/CSS3DRenderPluginExportType.html +0 -4
- package/libs/CSS3DRenderPlugin/typing.js +0 -1
- package/libs/CSS3DRenderPlugin/utils/index.js +0 -13
- package/libs/CSS3DRenderPlugin/utils/random.js +0 -6
- package/libs/CameraMovementPlugin/index.js +0 -15
- package/libs/CruisePlugin/typing.js +0 -1
- package/libs/GuideLinePlugin/typing.js +0 -1
- package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
- package/libs/GuideLinePlugin/utils/getPoint.js +0 -18
- package/libs/GuideLinePlugin/utils/polyline-normals.d.js +0 -1
- package/libs/ItemLabelPlugin/events.type.js +0 -1
- package/libs/ModelChassisCompassPlugin/index.js +0 -10
- package/libs/ModelEntryDoorGuidePlugin/index.js +0 -11
- package/libs/ModelItemLabelPlugin/events.type.js +0 -1
- package/libs/ModelRoomLabelPlugin/typings.js +0 -1
- package/libs/ModelTVVideoPlugin/index.js +0 -19
- package/libs/ModelViewPlugin/index.js +0 -8
- package/libs/Object3DHelperPlugin/mocks/addObject3D.d.ts +0 -2
- package/libs/Object3DHelperPlugin/mocks/addObject3D.js +0 -1377
- package/libs/Object3DHelperPlugin/mocks/objects.d.ts +0 -7
- package/libs/Object3DHelperPlugin/mocks/objects.js +0 -47
- package/libs/Object3DHelperPlugin/typings.js +0 -1
- package/libs/PanoCompassPlugin/typings.js +0 -1
- package/libs/PanoDoorLabelPlugin/typings.js +0 -1
- package/libs/PanoMeasurePlugin/typings/data.js +0 -1
- package/libs/PanoMeasurePlugin/typings/event.type.js +0 -1
- package/libs/PanoMeasurePlugin/typings/index.js +0 -1
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +0 -1
- package/libs/PanoMeasurePlugin/typings/utils.type.js +0 -1
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +0 -2
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +0 -6
- package/libs/PanoRulerPlugin/index.js +0 -11
- package/libs/PanoRulerPlugin/typings.js +0 -1
- package/libs/PanoRulerProPlugin/typings.js +0 -1
- package/libs/PanoSpatialTagPlugin/index.js +0 -24
- package/libs/PanoSpatialTagPlugin/typings.js +0 -1
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
- package/libs/PanoTagPlugin/typings/controller.js +0 -1
- package/libs/PanoTagPlugin/typings/index.js +0 -7
- package/libs/PanoTagPlugin/utils/index.js +0 -36
- package/libs/TagComputer.2bc444dc.js +0 -315
- package/libs/components/index.js +0 -13
- package/libs/floorplan/MapviewFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/ModelFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +0 -1
- package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +0 -1
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +0 -11
- package/libs/floorplan/TopviewFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/index.js +0 -67
- package/libs/floorplan/typings/floorplanData.js +0 -1
- package/libs/floorplan/typings/index.js +0 -1
- package/libs/floorplan/typings/utility.js +0 -1
- package/libs/hammer.b5b6115e.js +0 -882
- package/libs/index.164f1850.js +0 -641
- package/libs/index.5d5d1089.js +0 -34
- package/libs/index.6a0eead1.js +0 -12
- package/libs/index.ad783a2f.js +0 -31
- package/libs/index.dca207cb.js +0 -37
- package/libs/index.f2f85d71.js +0 -40
- package/libs/shared-utils/Object3DHelper/Helper/index.js +0 -30
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +0 -1
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +0 -1
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +0 -1
- package/libs/shared-utils/Object3DHelper/typings/index.js +0 -1
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +0 -18
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +0 -1
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.js +0 -6
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +0 -18
- package/libs/shared-utils/Object3DHelper/utils/index.js +0 -29
- package/libs/shared-utils/Object3DHelper/utils/negateScale.d.ts +0 -2
- package/libs/shared-utils/Object3DHelper/utils/negateScale.js +0 -7
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +0 -13
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +0 -5
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.d.js +0 -4
- package/libs/shared-utils/Preloader.d.ts +0 -6
- package/libs/shared-utils/Preloader.js +0 -18
- package/libs/shared-utils/formatRad.d.ts +0 -7
- package/libs/shared-utils/formatRad.js +0 -7
- package/libs/shared-utils/getRandomColor.d.ts +0 -1
- package/libs/shared-utils/getRandomColor.js +0 -6
- package/libs/shared-utils/logger.d.ts +0 -16
- package/libs/shared-utils/logger.js +0 -27
- package/libs/shared-utils/math/evenNumber.d.ts +0 -3
- package/libs/shared-utils/math/evenNumber.js +0 -7
- package/libs/shared-utils/math/index.js +0 -6
- package/libs/shared-utils/px2rem.d.ts +0 -1
- package/libs/shared-utils/px2rem.js +0 -6
- package/libs/shared-utils/three/getExtraModelLoader.d.ts +0 -6
- package/libs/shared-utils/three/getExtraModelLoader.js +0 -18
- package/libs/shared-utils/three/getNormal.d.ts +0 -2
- package/libs/shared-utils/three/getNormal.js +0 -7
- package/libs/shared-utils/three/getTextureLoader.d.ts +0 -6
- package/libs/shared-utils/three/getTextureLoader.js +0 -16
- package/libs/shared-utils/three/index.js +0 -33
- package/libs/shared-utils/three/loadFbxObj.d.ts +0 -2
- package/libs/shared-utils/three/loadFbxObj.js +0 -16
- package/libs/shared-utils/vectorTocoordinates.d.ts +0 -7
- package/libs/shared-utils/vectorTocoordinates.js +0 -10
- package/libs/style.css +0 -1
- package/libs/tween.esm.bad2b2b4.js +0 -340
- package/libs/typings/math.type.js +0 -1
- package/libs/typings/utils.type.d.ts +0 -2
- package/libs/typings/utils.type.js +0 -1
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent as C, init as N, safe_not_equal as F, append_styles as U, empty as L, insert as _, noop as y, detach as w, element as m, attr as a, binding_callbacks as q, space as E, src_url_equal as b, toggle_class as d, set_style as z, append as k, listen as P, run_all as S } from "svelte/internal";
|
|
2
2
|
import { Image_Play_Large as j, Image_Play_Small as B } from "../../Assets/Icon.js";
|
|
3
|
-
function
|
|
4
|
-
|
|
3
|
+
function M(o) {
|
|
4
|
+
U(o, "svelte-cwtvzu", ".media-item.svelte-cwtvzu.svelte-cwtvzu{height:100%}.media-content.svelte-cwtvzu.svelte-cwtvzu{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-cwtvzu.svelte-cwtvzu{display:none;pointer-events:auto;position:absolute;width:100%;height:100%;top:0;left:0}.video-play-button-container.showPlayButton.svelte-cwtvzu.svelte-cwtvzu{display:block}.video-icon.large.svelte-cwtvzu.svelte-cwtvzu{width:12.5rem;height:6.25rem}.video-icon.small.svelte-cwtvzu.svelte-cwtvzu{width:1.75rem;height:1.75rem}.video-icon.svelte-cwtvzu .video-icon-img.svelte-cwtvzu{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-cwtvzu .video-icon-img.canPlay.svelte-cwtvzu{cursor:pointer}");
|
|
5
5
|
}
|
|
6
|
-
function I(
|
|
6
|
+
function I(o) {
|
|
7
7
|
let e;
|
|
8
|
-
function t(
|
|
9
|
-
if (
|
|
10
|
-
return
|
|
11
|
-
if (
|
|
12
|
-
return
|
|
8
|
+
function t(s, c) {
|
|
9
|
+
if (s[0].type === "Image")
|
|
10
|
+
return A;
|
|
11
|
+
if (s[0].type === "Video")
|
|
12
|
+
return V;
|
|
13
13
|
}
|
|
14
|
-
let
|
|
14
|
+
let n = t(o), i = n && n(o);
|
|
15
15
|
return {
|
|
16
16
|
c() {
|
|
17
|
-
e = m("div"), i && i.c(),
|
|
17
|
+
e = m("div"), i && i.c(), a(e, "class", "media-item svelte-cwtvzu");
|
|
18
18
|
},
|
|
19
|
-
m(
|
|
20
|
-
_(
|
|
19
|
+
m(s, c) {
|
|
20
|
+
_(s, e, c), i && i.m(e, null);
|
|
21
21
|
},
|
|
22
|
-
p(
|
|
23
|
-
|
|
22
|
+
p(s, c) {
|
|
23
|
+
n === (n = t(s)) && i ? i.p(s, c) : (i && i.d(1), i = n && n(s), i && (i.c(), i.m(e, null)));
|
|
24
24
|
},
|
|
25
|
-
d(
|
|
26
|
-
|
|
25
|
+
d(s) {
|
|
26
|
+
s && w(e), i && i.d();
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
let e, t,
|
|
30
|
+
function V(o) {
|
|
31
|
+
let e, t, n, i, s, c, u, v, f, p, g;
|
|
32
32
|
return {
|
|
33
33
|
c() {
|
|
34
34
|
var l;
|
|
35
|
-
e = m("video"), c =
|
|
35
|
+
e = m("video"), c = E(), u = m("div"), v = m("div"), f = m("div"), a(e, "class", "media-content svelte-cwtvzu"), a(e, "style", t = `object-fit: ${o[3]};`), b(e.src, n = o[0].url + "#t=0.1") || a(e, "src", n), a(e, "poster", i = (l = o[0].videoCoverUrl) != null ? l : void 0), a(e, "preload", s = o[0].videoCoverUrl ? void 0 : "auto"), e.playsInline = !0, a(e, "paused", ""), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, d(e, "showPlayButton", o[5]), a(f, "class", "video-icon-img svelte-cwtvzu"), z(f, "background-image", "url(" + (o[1] === "large" ? j : B) + ")"), d(f, "canPlay", o[2]), a(v, "class", "video-icon svelte-cwtvzu"), d(v, "large", o[1] === "large"), d(v, "small", o[1] === "small"), a(u, "class", "video-play-button-container svelte-cwtvzu"), d(u, "showPlayButton", o[5]);
|
|
36
36
|
},
|
|
37
37
|
m(l, r) {
|
|
38
|
-
_(l, e, r),
|
|
39
|
-
P(e, "click",
|
|
40
|
-
P(f, "click",
|
|
41
|
-
],
|
|
38
|
+
_(l, e, r), o[7](e), _(l, c, r), _(l, u, r), k(u, v), k(v, f), p || (g = [
|
|
39
|
+
P(e, "click", o[6]),
|
|
40
|
+
P(f, "click", o[8])
|
|
41
|
+
], p = !0);
|
|
42
42
|
},
|
|
43
43
|
p(l, r) {
|
|
44
44
|
var h;
|
|
45
|
-
r & 8 && t !== (t = `object-fit: ${l[3]};`) &&
|
|
45
|
+
r & 8 && t !== (t = `object-fit: ${l[3]};`) && a(e, "style", t), r & 1 && !b(e.src, n = l[0].url + "#t=0.1") && a(e, "src", n), r & 1 && i !== (i = (h = l[0].videoCoverUrl) != null ? h : void 0) && a(e, "poster", i), r & 1 && s !== (s = l[0].videoCoverUrl ? void 0 : "auto") && a(e, "preload", s), r & 32 && d(e, "showPlayButton", l[5]), r & 2 && z(f, "background-image", "url(" + (l[1] === "large" ? j : B) + ")"), r & 4 && d(f, "canPlay", l[2]), r & 2 && d(v, "large", l[1] === "large"), r & 2 && d(v, "small", l[1] === "small"), r & 32 && d(u, "showPlayButton", l[5]);
|
|
46
46
|
},
|
|
47
47
|
d(l) {
|
|
48
|
-
l &&
|
|
48
|
+
l && w(e), o[7](null), l && w(c), l && w(u), p = !1, S(g);
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
let e, t,
|
|
52
|
+
function A(o) {
|
|
53
|
+
let e, t, n, i;
|
|
54
54
|
return {
|
|
55
55
|
c() {
|
|
56
|
-
e = m("img"),
|
|
56
|
+
e = m("img"), a(e, "class", "media-content svelte-cwtvzu"), a(e, "style", t = `object-fit: ${o[3]};`), b(e.src, n = o[0].url) || a(e, "src", n), a(e, "alt", i = o[0].name);
|
|
57
57
|
},
|
|
58
|
-
m(
|
|
59
|
-
_(
|
|
58
|
+
m(s, c) {
|
|
59
|
+
_(s, e, c);
|
|
60
60
|
},
|
|
61
|
-
p(
|
|
62
|
-
c & 8 && t !== (t = `object-fit: ${
|
|
61
|
+
p(s, c) {
|
|
62
|
+
c & 8 && t !== (t = `object-fit: ${s[3]};`) && a(e, "style", t), c & 1 && !b(e.src, n = s[0].url) && a(e, "src", n), c & 1 && i !== (i = s[0].name) && a(e, "alt", i);
|
|
63
63
|
},
|
|
64
|
-
d(
|
|
65
|
-
|
|
64
|
+
d(s) {
|
|
65
|
+
s && w(e);
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
let e, t =
|
|
69
|
+
function D(o) {
|
|
70
|
+
let e, t = o[0] && I(o);
|
|
71
71
|
return {
|
|
72
72
|
c() {
|
|
73
|
-
t && t.c(), e =
|
|
73
|
+
t && t.c(), e = L();
|
|
74
74
|
},
|
|
75
|
-
m(
|
|
76
|
-
t && t.m(
|
|
75
|
+
m(n, i) {
|
|
76
|
+
t && t.m(n, i), _(n, e, i);
|
|
77
77
|
},
|
|
78
|
-
p(
|
|
79
|
-
|
|
78
|
+
p(n, [i]) {
|
|
79
|
+
n[0] ? t ? t.p(n, i) : (t = I(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
80
80
|
},
|
|
81
81
|
i: y,
|
|
82
82
|
o: y,
|
|
83
|
-
d(
|
|
84
|
-
t && t.d(
|
|
83
|
+
d(n) {
|
|
84
|
+
t && t.d(n), n && w(e);
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
let { media:
|
|
88
|
+
function G(o, e, t) {
|
|
89
|
+
let { media: n } = e, { playButtonIfNeed: i = "small" } = e, { canPlay: s = !0 } = e, { objectFit: c = "cover" } = e, u, v = !1;
|
|
90
90
|
const f = () => u == null ? void 0 : u.pause();
|
|
91
|
-
function
|
|
91
|
+
function p(l) {
|
|
92
92
|
q[l ? "unshift" : "push"](() => {
|
|
93
93
|
u = l, t(4, u);
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
const g = () => {
|
|
97
|
-
!
|
|
97
|
+
!s || u && u.play();
|
|
98
98
|
};
|
|
99
|
-
return
|
|
100
|
-
"media" in l && t(0,
|
|
101
|
-
},
|
|
102
|
-
|
|
99
|
+
return o.$$set = (l) => {
|
|
100
|
+
"media" in l && t(0, n = l.media), "playButtonIfNeed" in l && t(1, i = l.playButtonIfNeed), "canPlay" in l && t(2, s = l.canPlay), "objectFit" in l && t(3, c = l.objectFit);
|
|
101
|
+
}, o.$$.update = () => {
|
|
102
|
+
o.$$.dirty & 16 && u && (t(5, v = u.paused), u.addEventListener("play", () => {
|
|
103
103
|
t(5, v = !1);
|
|
104
104
|
}), u.addEventListener("pause", () => {
|
|
105
105
|
t(5, v = !0);
|
|
106
106
|
}));
|
|
107
107
|
}, [
|
|
108
|
-
|
|
108
|
+
n,
|
|
109
109
|
i,
|
|
110
|
-
|
|
110
|
+
s,
|
|
111
111
|
c,
|
|
112
112
|
u,
|
|
113
113
|
v,
|
|
114
114
|
f,
|
|
115
|
-
|
|
115
|
+
p,
|
|
116
116
|
g
|
|
117
117
|
];
|
|
118
118
|
}
|
|
119
|
-
class
|
|
119
|
+
class K extends C {
|
|
120
120
|
constructor(e) {
|
|
121
121
|
super(), N(
|
|
122
122
|
this,
|
|
123
123
|
e,
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
G,
|
|
125
|
+
D,
|
|
126
126
|
F,
|
|
127
127
|
{
|
|
128
128
|
media: 0,
|
|
@@ -130,10 +130,10 @@ class J extends C {
|
|
|
130
130
|
canPlay: 2,
|
|
131
131
|
objectFit: 3
|
|
132
132
|
},
|
|
133
|
-
|
|
133
|
+
M
|
|
134
134
|
);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
export {
|
|
138
|
-
|
|
138
|
+
K as default
|
|
139
139
|
};
|
|
@@ -1,25 +1,17 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import "../../utils/search.js";
|
|
8
|
-
import "../../utils/constants.js";
|
|
9
|
-
import "../../../index.dca207cb.js";
|
|
10
|
-
import "../../../index.6a0eead1.js";
|
|
11
|
-
import "../../Assets/Icon.js";
|
|
12
|
-
import "./Shadow.js";
|
|
13
|
-
function F(l) {
|
|
14
|
-
q(l, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
|
|
1
|
+
import { SvelteComponent as S, init as T, safe_not_equal as C, append_styles as M, space as Y, empty as q, insert as g, group_outros as b, update_keyed_each as A, outro_and_destroy_block as B, check_outros as k, transition_in as _, transition_out as d, detach as p, element as H, create_component as D, attr as U, set_style as v, mount_component as x, destroy_component as I, binding_callbacks as L } from "svelte/internal";
|
|
2
|
+
import j from "./Text.js";
|
|
3
|
+
import F from "./Arrow.js";
|
|
4
|
+
import G from "../../utils/doUtil.js";
|
|
5
|
+
function J(r) {
|
|
6
|
+
M(r, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
|
|
15
7
|
}
|
|
16
|
-
function y(
|
|
17
|
-
const o =
|
|
18
|
-
return o[11] = t[
|
|
8
|
+
function y(r, t, n) {
|
|
9
|
+
const o = r.slice();
|
|
10
|
+
return o[11] = t[n].id, o[12] = t[n].content, o;
|
|
19
11
|
}
|
|
20
|
-
function w(
|
|
21
|
-
let
|
|
22
|
-
return o = new
|
|
12
|
+
function w(r, t) {
|
|
13
|
+
let n, o, l;
|
|
14
|
+
return o = new j({
|
|
23
15
|
props: {
|
|
24
16
|
unfolded: t[0],
|
|
25
17
|
content: t[12],
|
|
@@ -27,155 +19,152 @@ function w(l, t) {
|
|
|
27
19
|
outDelay: t[5]
|
|
28
20
|
}
|
|
29
21
|
}), {
|
|
30
|
-
key:
|
|
22
|
+
key: r,
|
|
31
23
|
first: null,
|
|
32
24
|
c() {
|
|
33
|
-
|
|
25
|
+
n = H("div"), D(o.$$.fragment), U(n, "class", "text svelte-1fuzm7v"), v(n, "transform", t[7], !1), this.first = n;
|
|
34
26
|
},
|
|
35
|
-
m(
|
|
36
|
-
|
|
27
|
+
m(f, u) {
|
|
28
|
+
g(f, n, u), x(o, n, null), t[10](n), l = !0;
|
|
37
29
|
},
|
|
38
|
-
p(
|
|
39
|
-
t =
|
|
40
|
-
const
|
|
41
|
-
|
|
30
|
+
p(f, u) {
|
|
31
|
+
t = f;
|
|
32
|
+
const a = {};
|
|
33
|
+
u & 1 && (a.unfolded = t[0]), u & 2 && (a.content = t[12]), u & 32 && (a.outDelay = t[5]), o.$set(a), u & 128 && v(n, "transform", t[7], !1);
|
|
42
34
|
},
|
|
43
|
-
i(
|
|
44
|
-
|
|
35
|
+
i(f) {
|
|
36
|
+
l || (_(o.$$.fragment, f), l = !0);
|
|
45
37
|
},
|
|
46
|
-
o(
|
|
47
|
-
|
|
38
|
+
o(f) {
|
|
39
|
+
d(o.$$.fragment, f), l = !1;
|
|
48
40
|
},
|
|
49
|
-
d(
|
|
50
|
-
|
|
41
|
+
d(f) {
|
|
42
|
+
f && p(n), I(o), t[10](null);
|
|
51
43
|
}
|
|
52
44
|
};
|
|
53
45
|
}
|
|
54
|
-
function z(
|
|
55
|
-
let t,
|
|
56
|
-
return
|
|
46
|
+
function z(r) {
|
|
47
|
+
let t, n, o;
|
|
48
|
+
return n = new F({
|
|
57
49
|
props: {
|
|
58
|
-
direction:
|
|
59
|
-
visible:
|
|
50
|
+
direction: r[6],
|
|
51
|
+
visible: r[0],
|
|
60
52
|
inDelay: 600,
|
|
61
53
|
duration: 1e3
|
|
62
54
|
}
|
|
63
55
|
}), {
|
|
64
56
|
c() {
|
|
65
|
-
t = H("div"),
|
|
57
|
+
t = H("div"), D(n.$$.fragment), U(t, "class", "arrow svelte-1fuzm7v");
|
|
66
58
|
},
|
|
67
|
-
m(
|
|
68
|
-
|
|
59
|
+
m(l, f) {
|
|
60
|
+
g(l, t, f), x(n, t, null), o = !0;
|
|
69
61
|
},
|
|
70
|
-
p(
|
|
71
|
-
const
|
|
72
|
-
|
|
62
|
+
p(l, f) {
|
|
63
|
+
const u = {};
|
|
64
|
+
f & 64 && (u.direction = l[6]), f & 1 && (u.visible = l[0]), n.$set(u);
|
|
73
65
|
},
|
|
74
|
-
i(
|
|
75
|
-
o || (
|
|
66
|
+
i(l) {
|
|
67
|
+
o || (_(n.$$.fragment, l), o = !0);
|
|
76
68
|
},
|
|
77
|
-
o(
|
|
78
|
-
|
|
69
|
+
o(l) {
|
|
70
|
+
d(n.$$.fragment, l), o = !1;
|
|
79
71
|
},
|
|
80
|
-
d(
|
|
81
|
-
|
|
72
|
+
d(l) {
|
|
73
|
+
l && p(t), I(n);
|
|
82
74
|
}
|
|
83
75
|
};
|
|
84
76
|
}
|
|
85
|
-
function
|
|
86
|
-
let t = [],
|
|
87
|
-
const
|
|
88
|
-
for (let e = 0; e <
|
|
89
|
-
let
|
|
90
|
-
|
|
77
|
+
function K(r) {
|
|
78
|
+
let t = [], n = /* @__PURE__ */ new Map(), o, l, f, u = r[1];
|
|
79
|
+
const a = (e) => e[11];
|
|
80
|
+
for (let e = 0; e < u.length; e += 1) {
|
|
81
|
+
let i = y(r, u, e), c = a(i);
|
|
82
|
+
n.set(c, t[e] = w(c, i));
|
|
91
83
|
}
|
|
92
|
-
let
|
|
84
|
+
let s = r[3] < r[4] && z(r);
|
|
93
85
|
return {
|
|
94
86
|
c() {
|
|
95
87
|
for (let e = 0; e < t.length; e += 1)
|
|
96
88
|
t[e].c();
|
|
97
|
-
o =
|
|
89
|
+
o = Y(), s && s.c(), l = q();
|
|
98
90
|
},
|
|
99
|
-
m(e,
|
|
91
|
+
m(e, i) {
|
|
100
92
|
for (let c = 0; c < t.length; c += 1)
|
|
101
|
-
t[c].m(e,
|
|
102
|
-
|
|
93
|
+
t[c].m(e, i);
|
|
94
|
+
g(e, o, i), s && s.m(e, i), g(e, l, i), f = !0;
|
|
103
95
|
},
|
|
104
|
-
p(e, [
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}),
|
|
96
|
+
p(e, [i]) {
|
|
97
|
+
i & 167 && (u = e[1], b(), t = A(t, i, a, 1, e, u, n, o.parentNode, B, w, o, y), k()), e[3] < e[4] ? s ? (s.p(e, i), i & 24 && _(s, 1)) : (s = z(e), s.c(), _(s, 1), s.m(l.parentNode, l)) : s && (b(), d(s, 1, 1, () => {
|
|
98
|
+
s = null;
|
|
99
|
+
}), k());
|
|
108
100
|
},
|
|
109
101
|
i(e) {
|
|
110
|
-
if (!
|
|
111
|
-
for (let
|
|
112
|
-
|
|
113
|
-
|
|
102
|
+
if (!f) {
|
|
103
|
+
for (let i = 0; i < u.length; i += 1)
|
|
104
|
+
_(t[i]);
|
|
105
|
+
_(s), f = !0;
|
|
114
106
|
}
|
|
115
107
|
},
|
|
116
108
|
o(e) {
|
|
117
|
-
for (let
|
|
118
|
-
|
|
119
|
-
|
|
109
|
+
for (let i = 0; i < t.length; i += 1)
|
|
110
|
+
d(t[i]);
|
|
111
|
+
d(s), f = !1;
|
|
120
112
|
},
|
|
121
113
|
d(e) {
|
|
122
|
-
for (let
|
|
123
|
-
t[
|
|
124
|
-
e &&
|
|
114
|
+
for (let i = 0; i < t.length; i += 1)
|
|
115
|
+
t[i].d(e);
|
|
116
|
+
e && p(o), s && s.d(e), e && p(l);
|
|
125
117
|
}
|
|
126
118
|
};
|
|
127
119
|
}
|
|
128
|
-
function
|
|
129
|
-
let o,
|
|
130
|
-
function
|
|
131
|
-
|
|
132
|
-
e =
|
|
120
|
+
function O(r, t, n) {
|
|
121
|
+
let o, l, f, { visible: u = !1 } = t, { textUnfolded: a = !1 } = t, { textItems: s } = t, e, i = 0, c = 0, h = 0;
|
|
122
|
+
function N(m) {
|
|
123
|
+
L[m ? "unshift" : "push"](() => {
|
|
124
|
+
e = m, n(2, e);
|
|
133
125
|
});
|
|
134
126
|
}
|
|
135
|
-
return
|
|
136
|
-
"visible" in
|
|
137
|
-
},
|
|
138
|
-
if (
|
|
139
|
-
const { lineHeight:
|
|
140
|
-
|
|
141
|
-
(
|
|
142
|
-
|
|
143
|
-
).then(() => {
|
|
144
|
-
i(4, p = e.offsetHeight);
|
|
145
|
-
}), i(3, c = Number(u.replace("px", "")));
|
|
127
|
+
return r.$$set = (m) => {
|
|
128
|
+
"visible" in m && n(0, u = m.visible), "textUnfolded" in m && n(8, a = m.textUnfolded), "textItems" in m && n(1, s = m.textItems);
|
|
129
|
+
}, r.$$.update = () => {
|
|
130
|
+
if (r.$$.dirty & 5 && e && u) {
|
|
131
|
+
const { lineHeight: m } = getComputedStyle(e);
|
|
132
|
+
n(4, h = e.offsetHeight), G(() => e == null ? void 0 : e.offsetHeight, Boolean).then(() => {
|
|
133
|
+
n(4, h = e.offsetHeight);
|
|
134
|
+
}), n(3, c = Number(m.replace("px", "")));
|
|
146
135
|
}
|
|
147
|
-
|
|
136
|
+
r.$$.dirty & 280 && n(9, i = a ? c - h : 0), r.$$.dirty & 512 && n(7, o = `translateY(${i}px)`), r.$$.dirty & 256 && n(6, l = a ? "left" : "right"), r.$$.dirty & 256 && n(5, f = a ? 450 : 0);
|
|
148
137
|
}, [
|
|
149
|
-
|
|
150
|
-
|
|
138
|
+
u,
|
|
139
|
+
s,
|
|
151
140
|
e,
|
|
152
141
|
c,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
142
|
+
h,
|
|
143
|
+
f,
|
|
144
|
+
l,
|
|
156
145
|
o,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
146
|
+
a,
|
|
147
|
+
i,
|
|
148
|
+
N
|
|
160
149
|
];
|
|
161
150
|
}
|
|
162
|
-
class
|
|
151
|
+
class W extends S {
|
|
163
152
|
constructor(t) {
|
|
164
|
-
super(),
|
|
153
|
+
super(), T(
|
|
165
154
|
this,
|
|
166
155
|
t,
|
|
156
|
+
O,
|
|
167
157
|
K,
|
|
168
|
-
|
|
169
|
-
T,
|
|
158
|
+
C,
|
|
170
159
|
{
|
|
171
160
|
visible: 0,
|
|
172
161
|
textUnfolded: 8,
|
|
173
162
|
textItems: 1
|
|
174
163
|
},
|
|
175
|
-
|
|
164
|
+
J
|
|
176
165
|
);
|
|
177
166
|
}
|
|
178
167
|
}
|
|
179
168
|
export {
|
|
180
|
-
|
|
169
|
+
W as default
|
|
181
170
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SvelteComponent as g, init as p, safe_not_equal as b, append_styles as h, element as w, create_component as A, space as v, attr as c, set_style as f, toggle_class as m, insert as y, mount_component as k, append as d, transition_in as U, transition_out as z, detach as N, destroy_component as R } from "svelte/internal";
|
|
2
|
+
import "svelte/easing";
|
|
2
3
|
import B from "../Shadow.js";
|
|
3
|
-
import "../../../../index.dca207cb.js";
|
|
4
|
-
import "../../../../index.6a0eead1.js";
|
|
5
4
|
function I(t) {
|
|
6
5
|
h(t, "svelte-fuismw", ".point.svelte-fuismw.svelte-fuismw{pointer-events:none;width:1.5rem;height:1.5rem}.small-point.svelte-fuismw.svelte-fuismw,.big-point.svelte-fuismw.svelte-fuismw{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all 500ms}.big-point.svelte-fuismw.svelte-fuismw{background-color:rgba(0, 0, 0, 0.1)}.folded.point.svelte-fuismw.svelte-fuismw{animation:svelte-fuismw-breathing 2s linear infinite}.big-point.svelte-fuismw.svelte-fuismw::before,.big-point.svelte-fuismw.svelte-fuismw::after{content:'';display:block;position:absolute;background-size:contain;background-repeat:no-repeat;pointer-events:none}.big-point.svelte-fuismw.svelte-fuismw::before{width:100%;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAqFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8j1z1tAAAAOHRSTlMABgoNFBsYIhEmHyksMoJ6RZ5aXzpnU03AtqaZjLuGN+zcifnW0cjEqnA+lOZzbWLhkH6i8rGuagnOwPMAAAQOSURBVFjDrZiHctpAEIYXYzvGOvXeUe+IYuD93ywrJAIhFJX8M8zoBHzz757utHvwTETJHJPfGQZfWJXILWCMPuqNbuu6vj+khrHjed40TWvFfQ2jvCl8nGha6lQCl7s07UqcUlfOZrOxVtKsN2a+0uJYK+ScEIqiFifhBSGSsnJ8f8u99cLMVnEUHTKXIOMX6vuk5gpphFYyhmHzHpzcDqNUJGgEER+oz5OaK8ShNcIdt+zx1ys7lhdqiDlRkPF+JaSdWIhasaz6lLPQ1qFDIwYpDeTr62veCS8bGLIQRSsVK78/5nDeOlYIYhovHeOtU0dDXw2KSGiKesQRyjJ10Q66QcyZMTvpTEMUumpMieyWvs9ZLZcmodAOYlorsysBflpjiEJTFBEY5+7sicul34T1iak5U25momN9Ya4wPCT57r8cteW0dk4YuKMTqjXVkgjciFr+8B3ngnmM6kii5X/efB0F+jUHnuiatLJY+Et84EnUNacfiaKZjQhX4oJAwPlqOB3mJaoh4dxxG5Nc3Q8DkywunP6kBalN53J7G3g0JqiNC3qpjQ7TRPvmn2U3L3/kU4JaTn/SKU0qb76dDf0kGNjHJbD+wX1gcMxO6fZVrzXUcQaROkvt3+pljIYugQ0LDi1ZBgeN9JK9MjTCkmgwgPou19I5QzBI5yy5RvqOw6xMMbKzoeGWmnQfBBwa6woj6wyNsYSx7R0chWuOwsjOqR6aboyNyvcpgOsl3ZzNhoNm3bztdAK1x5NuzmCwunkjjq4AEzKXFI1NUmVnwIfydJBoW7CPVAR1uR6XbVwlmgF2xF1yPTbbubYHLZamgyTNhiSmp4PoJIEk+R+gOAFb+x+hxRoctHw6iItsMLT/Mf3RHixbnP5AyhEPmZ1NB+E6A0V3pi9aPqyB6Pz0bSTxXID0kE/d2DgvxBFzEKdutdXawJGSMlM3/3Sd4fA93bnTXkfSuvwGFGOI016QbKm3VdbOn/bKjpd1e6Pg1SlFhPzjdXWNwjNTyprkhz33i4Wpji600FA5h05q4Ywv/bxge7mNRe7YYtQMwqt/kMLixpXHQhBwcCXBYukxBbvkBTv4S5V/HNNC6EF089tPxxGHNzV8sKTgRhSzVYa2Wf5yeadHphlWGdb4IUeEO5K2SHrUiqJuW9GiLFdwVzRbCXTf5tg11mvhYdufZbLUr11XEi/k4KHexUxWSY8DBCby7AU8E3eUhfzVkYZgR6H/agF8C3KNqCeHLIIRR7oEr0XXsixy9P1jH/doJLF2nPXbIlw5y1aC6t4eROW1pduaLs/7b6NEqFiWrWpBzaXuaOy4Nfe6bRfqGwzSXBJZhnF8y9oUhcnzOyM9pI7wCWP0LSkyy1iFWWwsFp8LeKLfd4doRyTLRacAAAAASUVORK5CYII=)}.folded.svelte-fuismw .big-point.svelte-fuismw::before{animation:svelte-fuismw-rotate 2s linear infinite}.big-point.svelte-fuismw.svelte-fuismw::after{position:absolute;width:1rem;height:1rem;background-image:var(--iconUrl)}.small-point.svelte-fuismw.svelte-fuismw::before{content:'';display:block;position:absolute;pointer-events:none;width:0.25rem;height:0.25rem;border-radius:100%;background-color:white}.folded.svelte-fuismw .big-point.svelte-fuismw{opacity:1;scale:1}.unfolded.svelte-fuismw .big-point.svelte-fuismw{opacity:0;scale:0}.folded.svelte-fuismw .small-point.svelte-fuismw{opacity:0;scale:6}.unfolded.svelte-fuismw .small-point.svelte-fuismw{opacity:1;scale:1}@keyframes svelte-fuismw-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes svelte-fuismw-breathing{0%{transform:scale(1)}25%{transform:scale(0.9)}50%{transform:scale(1)}}");
|
|
7
6
|
}
|
|
8
|
-
function
|
|
9
|
-
let e, n, u,
|
|
7
|
+
function E(t) {
|
|
8
|
+
let e, n, u, o, r, l, s;
|
|
10
9
|
return n = new B({
|
|
11
10
|
props: {
|
|
12
11
|
center: !0,
|
|
@@ -15,13 +14,13 @@ function S(t) {
|
|
|
15
14
|
}
|
|
16
15
|
}), {
|
|
17
16
|
c() {
|
|
18
|
-
e = w("div"), A(n.$$.fragment), u = v(),
|
|
17
|
+
e = w("div"), A(n.$$.fragment), u = v(), o = w("div"), r = v(), l = w("div"), c(o, "class", "small-point svelte-fuismw"), f(o, "transition-delay", t[3] ? t[2] + "ms" : "0ms", !1), c(l, "class", "big-point svelte-fuismw"), f(l, "--iconUrl", "url(" + t[1] + ")"), f(l, "transition-delay", t[3] ? t[2] + "ms" : "0ms", !1), c(e, "class", "point svelte-fuismw"), m(e, "folded", t[3]), m(e, "unfolded", t[0]);
|
|
19
18
|
},
|
|
20
19
|
m(i, a) {
|
|
21
|
-
y(i, e, a), k(n, e, null), d(e, u), d(e,
|
|
20
|
+
y(i, e, a), k(n, e, null), d(e, u), d(e, o), d(e, r), d(e, l), s = !0;
|
|
22
21
|
},
|
|
23
22
|
p(i, [a]) {
|
|
24
|
-
a & 12 && f(
|
|
23
|
+
a & 12 && f(o, "transition-delay", i[3] ? i[2] + "ms" : "0ms", !1), (!s || a & 2) && f(l, "--iconUrl", "url(" + i[1] + ")"), a & 12 && f(l, "transition-delay", i[3] ? i[2] + "ms" : "0ms", !1), a & 8 && m(e, "folded", i[3]), a & 1 && m(e, "unfolded", i[0]);
|
|
25
24
|
},
|
|
26
25
|
i(i) {
|
|
27
26
|
s || (U(n.$$.fragment, i), s = !0);
|
|
@@ -34,19 +33,19 @@ function S(t) {
|
|
|
34
33
|
}
|
|
35
34
|
};
|
|
36
35
|
}
|
|
37
|
-
function
|
|
38
|
-
let u, { unfolded:
|
|
36
|
+
function F(t, e, n) {
|
|
37
|
+
let u, { unfolded: o } = e, { iconUrl: r } = e, { foldDelay: l = 800 } = e;
|
|
39
38
|
return t.$$set = (s) => {
|
|
40
|
-
"unfolded" in s && n(0,
|
|
39
|
+
"unfolded" in s && n(0, o = s.unfolded), "iconUrl" in s && n(1, r = s.iconUrl), "foldDelay" in s && n(2, l = s.foldDelay);
|
|
41
40
|
}, t.$$.update = () => {
|
|
42
|
-
t.$$.dirty & 1 && n(3, u = !
|
|
43
|
-
}, [
|
|
41
|
+
t.$$.dirty & 1 && n(3, u = !o);
|
|
42
|
+
}, [o, r, l, u];
|
|
44
43
|
}
|
|
45
|
-
class
|
|
44
|
+
class j extends g {
|
|
46
45
|
constructor(e) {
|
|
47
|
-
super(),
|
|
46
|
+
super(), p(this, e, F, E, b, { unfolded: 0, iconUrl: 1, foldDelay: 2 }, I);
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
49
|
export {
|
|
51
|
-
|
|
50
|
+
j as default
|
|
52
51
|
};
|