@realsee/dnalogel 3.76.0-alpha.1 → 3.76.1-alpha.1
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/floorplan/MapviewFloorplanPlugin/Controller.d.ts +8 -0
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +8 -0
- package/dist/floorplan/typings/index.d.ts +3 -0
- package/dist/index.cjs.js +89 -89
- package/dist/index.js +17206 -17205
- package/dist/index.umd.js +82 -82
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +0 -0
- package/docs/assets/highlight.css +127 -0
- package/docs/assets/icons.js +18 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +60 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1493 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +59 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
- package/docs/classes/CSS3DRender.html +100 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +70 -0
- package/docs/classes/ModelMakerPluginInstance.html +116 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +52 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +52 -0
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +53 -0
- package/docs/classes/ModelRoomLabelController.html +19 -0
- package/docs/classes/MoveController.html +45 -0
- package/docs/classes/Object3DHelperController.html +45 -0
- package/docs/classes/PaintBrush.html +15 -0
- package/docs/classes/PanoMeasurePluginLine.html +24 -0
- package/docs/classes/PanoMeasurePluginModel.html +23 -0
- package/docs/classes/PanoMeasurePluginPoint.html +7 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
- package/docs/classes/PanoTagPluginController.html +111 -0
- package/docs/classes/Sculpt.html +77 -0
- package/docs/classes/Util.BetterTween.html +6 -0
- package/docs/classes/Util.FiveDomEvents.html +13 -0
- package/docs/classes/Util.FivePuppet.html +20 -0
- package/docs/classes/Util.Interval.html +11 -0
- package/docs/classes/Util.LegacyPointHelper.html +7 -0
- package/docs/classes/Util.LightTag.html +47 -0
- package/docs/classes/Util.LineSegments.html +4 -0
- package/docs/classes/Util.Magnifier.html +26 -0
- package/docs/classes/Util.Object3D.html +8 -0
- package/docs/classes/Util.PointDomHelper.html +8 -0
- package/docs/classes/Util.PointHelper.html +10 -0
- package/docs/classes/Util.PointSelector.html +66 -0
- package/docs/classes/Util.PointSelectorHelper.html +14 -0
- package/docs/classes/Util.Rectangle.html +12 -0
- package/docs/classes/Util.sculpt.BaseEditor.html +17 -0
- package/docs/classes/Util.sculpt.BoxMesh.html +48 -0
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
- package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.LineMesh.html +34 -0
- package/docs/classes/Util.sculpt.PointMesh.html +24 -0
- package/docs/classes/Util.sculpt.PolygonMesh.html +40 -0
- package/docs/classes/Util.sculpt.PrismMesh.html +48 -0
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.RectangleMesh.html +41 -0
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +18 -0
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +44 -0
- package/docs/classes/WalkController.html +42 -0
- package/docs/enums/CameraMovementEffect.html +4 -0
- package/docs/enums/ContentType.html +34 -0
- package/docs/enums/DIRECTION.html +5 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
- package/docs/enums/DimensionType.html +4 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
- package/docs/enums/PaintBrushTypeEnum.html +4 -0
- package/docs/enums/PointType.html +4 -0
- package/docs/enums/Rotation.html +5 -0
- package/docs/functions/AreaMakerPlugin.html +1 -0
- package/docs/functions/CSS3DRenderPlugin.html +1 -0
- package/docs/functions/CameraMovementPlugin.html +2 -0
- package/docs/functions/CruisePlugin.html +1 -0
- package/docs/functions/CurrentPanoImagePlugin.html +1 -0
- package/docs/functions/FloorplanGuidePlugin.html +1 -0
- package/docs/functions/GuideLinePlugin.html +1 -0
- package/docs/functions/ItemLabelPlugin.html +1 -0
- package/docs/functions/MapviewFloorplanPlugin.html +1 -0
- package/docs/functions/MeasurePlugin.html +1 -0
- package/docs/functions/ModelChassisCompassPlugin.html +2 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
- package/docs/functions/ModelFloorplanPlugin.html +1 -0
- package/docs/functions/ModelItemLabelPlugin.html +1 -0
- package/docs/functions/ModelMakerPlugin.html +1 -0
- package/docs/functions/ModelRoomLabelPlugin.html +1 -0
- package/docs/functions/ModelTVVideoPlugin.html +1 -0
- package/docs/functions/ModelViewPlugin.html +2 -0
- package/docs/functions/MovePlugin.html +1 -0
- package/docs/functions/Object3DHelperPlugin.html +1 -0
- package/docs/functions/PanoCompassPlugin.html +1 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
- package/docs/functions/PanoDoorLabelPlugin.html +1 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
- package/docs/functions/PanoMeasurePlugin.html +1 -0
- package/docs/functions/PanoRulerPlugin.html +2 -0
- package/docs/functions/PanoRulerProPlugin.html +2 -0
- package/docs/functions/PanoSpatialTagPlugin.html +2 -0
- package/docs/functions/PanoTagPlugin.html +1 -0
- package/docs/functions/PanoVideoPlugin.html +10 -0
- package/docs/functions/PipelinePlugin.html +1 -0
- package/docs/functions/SculptPlugin.html +2 -0
- package/docs/functions/SculptPluginForFive.html +2 -0
- package/docs/functions/TopviewFloorplanPlugin.html +1 -0
- package/docs/functions/Util.awaitNextFrame.html +1 -0
- package/docs/functions/Util.blink.html +13 -0
- package/docs/functions/Util.blinkWithPreset.html +6 -0
- package/docs/functions/Util.bounding.html +1 -0
- package/docs/functions/Util.boundingBox.html +1 -0
- package/docs/functions/Util.boundingSphere.html +1 -0
- package/docs/functions/Util.boxVertex.html +7 -0
- package/docs/functions/Util.boxVertexes.html +1 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
- package/docs/functions/Util.cleanup.html +3 -0
- package/docs/functions/Util.convexHull.html +2 -0
- package/docs/functions/Util.equal.html +5 -0
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
- package/docs/functions/Util.generatePolygonGeometry.html +2 -0
- package/docs/functions/Util.getCoordsFromClient.html +1 -0
- package/docs/functions/Util.getCoordsFromElement.html +1 -0
- package/docs/functions/Util.getFrameTime.html +3 -0
- package/docs/functions/Util.getGeometryArea.html +1 -0
- package/docs/functions/Util.getGeometryInfo.html +1 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
- package/docs/functions/Util.initialCSS3DRender.html +1 -0
- package/docs/functions/Util.inside.html +1 -0
- package/docs/functions/Util.isModelLike.html +1 -0
- package/docs/functions/Util.isNil.html +2 -0
- package/docs/functions/Util.isPanoramaLike.html +1 -0
- package/docs/functions/Util.lookObject.html +7 -0
- package/docs/functions/Util.lookPoint.html +5 -0
- package/docs/functions/Util.nextFrame.html +1 -0
- package/docs/functions/Util.notNil.html +2 -0
- package/docs/functions/Util.reblink.html +13 -0
- package/docs/functions/Util.replaceStaticPrefix.html +8 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
- package/docs/functions/Util.sculpt.createBox.html +1 -0
- package/docs/functions/Util.sculpt.createCircle.html +1 -0
- package/docs/functions/Util.sculpt.createCylinder.html +1 -0
- package/docs/functions/Util.sculpt.createLine.html +2 -0
- package/docs/functions/Util.sculpt.createPoint.html +1 -0
- package/docs/functions/Util.sculpt.createPolygon.html +1 -0
- package/docs/functions/Util.sculpt.createPrism.html +1 -0
- package/docs/functions/Util.sculpt.createRectangle.html +2 -0
- package/docs/functions/Util.sculpt.transformUnit.html +1 -0
- package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -0
- package/docs/functions/Util.tag.html +1 -0
- package/docs/functions/Util.triangleArea.html +2 -0
- package/docs/functions/Util.triangleCenter.html +2 -0
- package/docs/functions/Util.tweenProgress.html +1 -0
- package/docs/functions/Util.uuid.html +2 -0
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
- package/docs/functions/Util.worldBounding.html +1 -0
- package/docs/functions/Util.worldBoundingBox.html +1 -0
- package/docs/functions/Util.worldBoundingSphere.html +1 -0
- package/docs/functions/createPolyline.html +2 -0
- package/docs/functions/pluginFlag.html +1 -0
- package/docs/functions/validatePolygon.html +1 -0
- package/docs/hierarchy.html +1 -0
- package/docs/index.html +70 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
- package/docs/interfaces/BoxAnimationConfig.html +6 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
- package/docs/interfaces/ContentTypeMapInterface.html +73 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
- package/docs/interfaces/FloorplanBounding.html +9 -0
- package/docs/interfaces/FloorplanData.html +7 -0
- package/docs/interfaces/FloorplanEntrance.html +14 -0
- package/docs/interfaces/FloorplanExtraObject.html +9 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
- package/docs/interfaces/FloorplanFloorData.html +9 -0
- package/docs/interfaces/FloorplanImagePosition.html +4 -0
- package/docs/interfaces/FloorplanObserver.html +8 -0
- package/docs/interfaces/FloorplanOutlineItem.html +6 -0
- package/docs/interfaces/FloorplanPosition.html +4 -0
- package/docs/interfaces/FloorplanRoomItem.html +24 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
- package/docs/interfaces/FloorplanServerBounding.html +9 -0
- package/docs/interfaces/FloorplanServerComputedData.html +6 -0
- package/docs/interfaces/FloorplanServerData.html +4 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
- package/docs/interfaces/FloorplanServerEntrance.html +14 -0
- package/docs/interfaces/FloorplanServerFloorData.html +8 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
- package/docs/interfaces/FloorplanServerObserver.html +8 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +6 -0
- package/docs/interfaces/FloorplanServerPosition.html +4 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +27 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +7 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +13 -0
- package/docs/interfaces/HelperOffset.html +4 -0
- package/docs/interfaces/ImagePlaneGroup.html +3 -0
- package/docs/interfaces/ItemLabelPluginData.html +2 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
- package/docs/interfaces/MinMax.html +3 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +17 -0
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +23 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +11 -0
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -0
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
- package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +11 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -0
- package/docs/interfaces/ModelViewPluginExportType.html +8 -0
- package/docs/interfaces/Object3DHelperState.html +4 -0
- package/docs/interfaces/ObjectHelperControllers.html +5 -0
- package/docs/interfaces/PaintBrushAction.html +14 -0
- package/docs/interfaces/PaintBrushConfigs.html +8 -0
- package/docs/interfaces/PaintBrushState.html +6 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
- package/docs/interfaces/PanoMeasureParameterType.html +20 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
- package/docs/interfaces/PanoRulerProPluginState.html +4 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
- package/docs/interfaces/PluginEventMap.html +16 -0
- package/docs/interfaces/Point.html +4 -0
- package/docs/interfaces/Room.html +5 -0
- package/docs/interfaces/RoomInfo.html +3 -0
- package/docs/interfaces/RoomLabel.html +16 -0
- package/docs/interfaces/RoomRules.html +1 -0
- package/docs/interfaces/Rooms.html +1 -0
- package/docs/interfaces/Scissor.html +13 -0
- package/docs/interfaces/SculptConfig.html +19 -0
- package/docs/interfaces/State.html +7 -0
- package/docs/interfaces/TagCacheInterface.html +9 -0
- package/docs/interfaces/TagConfig.html +174 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
- package/docs/interfaces/TagIconAnimationConfig.html +7 -0
- package/docs/interfaces/TagIconUrl.html +22 -0
- package/docs/interfaces/TagObjectGroup.html +3 -0
- package/docs/interfaces/TagState.html +3 -0
- package/docs/interfaces/TagStyle.html +5 -0
- package/docs/interfaces/Tags.html +8 -0
- package/docs/interfaces/TemporaryState.html +2 -0
- package/docs/interfaces/Util.AnimeInstance.html +14 -0
- package/docs/interfaces/Util.BlinkAnimeOptions.html +21 -0
- package/docs/interfaces/Util.EventHandlerConfig.html +21 -0
- package/docs/interfaces/Util.FiveDomEvent.html +7 -0
- package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +4 -0
- package/docs/interfaces/Util.MagnifierParameter.html +13 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
- package/docs/interfaces/Util.ObjectInitialState.html +9 -0
- package/docs/interfaces/Util.PointIntersection.html +21 -0
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +6 -0
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +27 -0
- package/docs/modules/AreaMakerPluginType.html +17 -0
- package/docs/modules/CruisePluginTypes.html +14 -0
- package/docs/modules/CurrentPanoImagePluginType.html +6 -0
- package/docs/modules/GuideLineItem.html +2 -0
- package/docs/modules/GuideLineModeItem.html +3 -0
- package/docs/modules/GuideLinePluginType.html +25 -0
- package/docs/modules/ModelMakerPluginType.html +19 -0
- package/docs/modules/PanoVideoPluginType.html +8 -0
- package/docs/modules/SculptData.html +9 -0
- package/docs/modules/SculptType.html +2 -0
- package/docs/modules/Util.html +91 -0
- package/docs/modules/Util.sculpt.html +27 -0
- package/docs/modules.html +281 -0
- package/docs/types/AddObject3DHelperConfig.html +19 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
- package/docs/types/ArrayPosition.html +1 -0
- package/docs/types/AudioAppearance.html +1 -0
- package/docs/types/CSS3DRenderExportType.html +1 -0
- package/docs/types/CSS3DRenderPluginExportType.html +1 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
- package/docs/types/ClassFunctionParameters.html +1 -0
- package/docs/types/Color.html +1 -0
- package/docs/types/ContentTypeConfigKey.html +1 -0
- package/docs/types/ContentTypeConfigKeySplit.html +1 -0
- package/docs/types/ContentTypeMap.html +1 -0
- package/docs/types/Create3DDomContainerReturnType.html +1 -0
- package/docs/types/Create3DElementReturnType.html +1 -0
- package/docs/types/CruisePluginExportType.html +1 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
- package/docs/types/DeprecatedTagProperty.html +3 -0
- package/docs/types/Direction-1.html +1 -0
- package/docs/types/Direction4.html +1 -0
- package/docs/types/ElementRenderer.html +2 -0
- package/docs/types/FloorplanGuidePluginParameterType.html +1 -0
- package/docs/types/FloorplanGuidePluginReturnType.html +1 -0
- package/docs/types/FloorplanRuleLabels.html +2 -0
- package/docs/types/FloorplanServerRuleLabels.html +1 -0
- package/docs/types/GuideLinePluginExportType.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
- package/docs/types/GuideLinePluginType.PathItem.html +2 -0
- package/docs/types/GuideLinePluginType.PluginData.html +2 -0
- package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
- package/docs/types/HelperEventMap.html +1 -0
- package/docs/types/InternalHelperEventMap.html +1 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
- package/docs/types/MeasureEndReason.html +1 -0
- package/docs/types/MeasurePluginConfig.html +5 -0
- package/docs/types/MeasurePluginEventMap.html +1 -0
- package/docs/types/MediaData.html +2 -0
- package/docs/types/MediaStore.html +1 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
- package/docs/types/ModelId.html +1 -0
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -0
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -0
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
- package/docs/types/MoveArgs.html +2 -0
- package/docs/types/MoveOpts.html +2 -0
- package/docs/types/Object3DHelperEventMap.html +1 -0
- package/docs/types/ObjectFit.html +1 -0
- package/docs/types/PaintBrushEventMap.html +1 -0
- package/docs/types/PanoCompassPluginData.html +1 -0
- package/docs/types/PanoCompassPluginExportType.html +1 -0
- package/docs/types/PanoCompassPluginParameterType.html +1 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
- package/docs/types/PanoIndex.html +1 -0
- package/docs/types/PanoMeasurePluginEvent.html +1 -0
- package/docs/types/PanoMeasureReturnType.html +1 -0
- package/docs/types/PanoSpatialTagPluginId.html +1 -0
- package/docs/types/PanoTagPluginExportInterface.html +1 -0
- package/docs/types/PanoTagPluginParamsInterface.html +1 -0
- package/docs/types/PanoVideoPluginParameterType.html +1 -0
- package/docs/types/PanoVideoPluginReturnType.html +1 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
- package/docs/types/PipelinePluginParameterType.html +1 -0
- package/docs/types/PipelinePluginReturnType.html +1 -0
- package/docs/types/PlaneTag.html +2 -0
- package/docs/types/Point2DTag.html +2 -0
- package/docs/types/Point3DTag.html +2 -0
- package/docs/types/PointTagInstance.html +1 -0
- package/docs/types/Position.html +1 -0
- package/docs/types/PositionFrom.html +1 -0
- package/docs/types/RotateArgs.html +2 -0
- package/docs/types/RotateOpts.html +2 -0
- package/docs/types/RuleLabelsKey.html +1 -0
- package/docs/types/RuleLabelsValue.html +1 -0
- package/docs/types/ScaleCallback.html +1 -0
- package/docs/types/ScalePosition.html +3 -0
- package/docs/types/SculptData.BoxData.html +1 -0
- package/docs/types/SculptData.CircleData.html +1 -0
- package/docs/types/SculptData.CylinderData.html +1 -0
- package/docs/types/SculptData.PointData.html +1 -0
- package/docs/types/SculptData.PolygonData.html +1 -0
- package/docs/types/SculptData.PolylineData.html +1 -0
- package/docs/types/SculptData.PrismData.html +1 -0
- package/docs/types/SculptData.RectangleData.html +1 -0
- package/docs/types/SculptType.Theme.html +10 -0
- package/docs/types/StickType.html +1 -0
- package/docs/types/Tag.html +17 -0
- package/docs/types/Tag2D.html +2 -0
- package/docs/types/Tag3D.html +2 -0
- package/docs/types/TagClickParams.html +1 -0
- package/docs/types/TagConfigByKey.html +1 -0
- package/docs/types/TagContentType.html +1 -0
- package/docs/types/TagContentTypeMapping.html +1 -0
- package/docs/types/TagDimensionType.html +1 -0
- package/docs/types/TagElement.html +2 -0
- package/docs/types/TagEvents.html +1 -0
- package/docs/types/TagGLTFObject.html +1 -0
- package/docs/types/TagHooks.html +1 -0
- package/docs/types/TagId.html +1 -0
- package/docs/types/TagInstance.html +1 -0
- package/docs/types/TagPlacement.html +5 -0
- package/docs/types/TagPointType.html +2 -0
- package/docs/types/TagRendererMap.html +1 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
- package/docs/types/Util.ActionIfNoIntersection.html +1 -0
- package/docs/types/Util.AdherePoint.html +2 -0
- package/docs/types/Util.PointSelectorConfig.html +1 -0
- package/docs/types/Util.SupportedTarget.html +2 -0
- package/docs/types/Util.Target.html +2 -0
- package/docs/types/Util.ThreeObject.html +2 -0
- package/docs/types/WorkCode.html +1 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
- package/docs/variables/PLUGIN.html +1 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
- package/docs/variables/ROOM_TYPE_MAP.html +2 -0
- package/docs/variables/Util.ANIME_PRESETS.html +2 -0
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -0
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -0
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -0
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -0
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -0
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -0
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -0
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -0
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -0
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -0
- package/docs/variables/defaultGlobalConfig.html +1 -0
- package/docs/variables/itemLabelPluginServerParams.html +1 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
- package/libs/AreaMakerPlugin/Controller.js +4 -3
- package/libs/AreaMakerPlugin/index.js +4 -3
- package/libs/AreaMakerPlugin/utils/Item.js +4 -3
- package/libs/CSS3DRenderPlugin/Controller.js +4 -3
- package/libs/CSS3DRenderPlugin/index.js +7 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +40 -39
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +11 -10
- package/libs/CruisePlugin/BaseController.js +7 -6
- package/libs/CruisePlugin/Move.js +45 -45
- package/libs/CruisePlugin/Work.js +51 -51
- package/libs/CruisePlugin/index.js +43 -43
- package/libs/CurrentPanoImagePlugin/Controller.js +16 -15
- package/libs/CurrentPanoImagePlugin/index.js +5 -4
- package/libs/DigitalPerformancePlugin/controller/index.js +1 -1
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +3 -2
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +1 -1
- package/libs/DigitalPerformancePlugin/index.js +1 -1
- package/libs/DigitalPerformancePlugin/typings/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.js +49 -49
- package/libs/GuideLinePlugin/GuideLineItem.js +45 -45
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +12 -11
- package/libs/GuideLinePlugin/GuideLineModeItem.js +45 -45
- package/libs/GuideLinePlugin/index.js +41 -41
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +4 -3
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +3 -2
- package/libs/ItemLabelPlugin/ItemLabelItem.js +3 -2
- package/libs/ItemLabelPlugin/Plugin.js +4 -3
- package/libs/ItemLabelPlugin/index.js +5 -4
- package/libs/MeasurePlugin/Controller.js +4 -3
- package/libs/MeasurePlugin/index.js +6 -5
- package/libs/MeasurePlugin/utils/MeasureMesh.js +4 -3
- package/libs/ModelChassisCompassPlugin/Plugin.js +5 -4
- package/libs/ModelChassisCompassPlugin/index.js +2 -1
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +7 -6
- package/libs/ModelEntryDoorGuidePlugin/index.js +2 -1
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +37 -36
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +19 -18
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +15 -14
- package/libs/ModelItemLabelPlugin/index.js +5 -4
- package/libs/ModelMakerPlugin/Controller.js +8 -7
- package/libs/ModelMakerPlugin/index.js +5 -4
- package/libs/ModelMakerPlugin/item/baseItem.js +4 -3
- package/libs/ModelMakerPlugin/item/boxItem.js +4 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +4 -3
- package/libs/ModelMakerPlugin/item/prismItem.js +4 -3
- package/libs/ModelTVVideoPlugin/Plugin.js +5 -4
- package/libs/ModelTVVideoPlugin/index.js +4 -3
- package/libs/ModelViewPlugin/Plugin.js +20 -19
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +4 -3
- package/libs/Object3DHelperPlugin/index.js +8 -7
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +25 -24
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +3 -2
- package/libs/PanoDoorLabelPlugin/index.js +5 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +4 -3
- package/libs/PanoMeasurePlugin/Components/Controller1.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +10 -7
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +8 -7
- package/libs/PanoMeasurePlugin/Controller/index.js +4 -3
- package/libs/PanoMeasurePlugin/Model/area.js +3 -2
- package/libs/PanoMeasurePlugin/Model/index.js +1 -1
- package/libs/PanoMeasurePlugin/Model/line.js +1 -1
- package/libs/PanoMeasurePlugin/Model/polygon.js +9 -8
- package/libs/PanoMeasurePlugin/Model/polyline.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +4 -3
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +2 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +17 -16
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +3 -2
- package/libs/PanoMeasurePlugin/index.js +15 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +4 -3
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/Icon/animationUtils.js +7 -7
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +4 -3
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +4 -3
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +4 -3
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +4 -3
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +4 -3
- package/libs/PanoTagPlugin/Components/Tag/index.js +29 -28
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +10 -9
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -29
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +7 -7
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +4 -3
- package/libs/PanoTagPlugin/controller/TagRender.js +137 -47
- package/libs/PanoTagPlugin/controller/TagUtil.js +4 -3
- package/libs/PanoTagPlugin/controller/index.js +93 -93
- package/libs/PanoTagPlugin/index.js +47 -47
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +9 -8
- package/libs/PanoTagPlugin/utils/tag/format.js +4 -3
- package/libs/PanoVideoPlugin/Controller.js +10 -9
- package/libs/PanoVideoPlugin/VideoMeshController.js +4 -3
- package/libs/PanoVideoPlugin/index.js +7 -6
- package/libs/PipelinePlugin/Controller.js +4 -3
- package/libs/PipelinePlugin/index.js +5 -4
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +2 -1
- package/libs/Sculpt/Meshes/Box.js +7 -6
- package/libs/Sculpt/Meshes/Circle.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +3 -2
- package/libs/Sculpt/Meshes/LineWithDots.js +10 -9
- package/libs/Sculpt/Meshes/Point.js +12 -11
- package/libs/Sculpt/Meshes/Polygon.js +26 -14
- package/libs/Sculpt/Meshes/Polyline.js +41 -27
- package/libs/Sculpt/Meshes/Rectangle.js +3 -2
- package/libs/Sculpt/Objects/Base/index.js +1 -0
- package/libs/Sculpt/Objects/Cylinder/index.js +64 -48
- package/libs/Sculpt/Objects/Line/Editor.js +3 -2
- package/libs/Sculpt/index.js +15 -14
- package/libs/Sculpt/utils/removeAllTag.js +2 -0
- package/libs/Sculpt/utils/renderDom.js +8 -8
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.js +6 -5
- package/libs/Sculpt/utils/three/ColoredMesh.js +11 -10
- package/libs/_commonjsHelpers.js +6 -2
- package/libs/base/BasePlugin.js +10 -9
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +4 -3
- package/libs/floorplan/FloorplanGuidePlugin/index.js +5 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +8 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +50 -39
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +8 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +48 -37
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -4
- package/libs/floorplan/index.js +1 -0
- package/libs/floorplan/typings/index.d.ts +3 -0
- package/libs/index.js +34 -34
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +3 -2
- package/libs/shared-utils/CSS3DRender/index.js +11 -10
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +3 -2
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +4 -2
- package/libs/shared-utils/Object3DHelper/utils/getPoseFromCamera.js +7 -6
- package/libs/shared-utils/five/FiveLine.js +1 -0
- package/libs/shared-utils/five/getFiveModel.js +3 -2
- package/libs/shared-utils/five/getFloorMesh.js +3 -2
- package/libs/shared-utils/five/index.js +3 -2
- package/libs/shared-utils/five/initialCSS3DRender.js +1 -0
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/five/vector3ToScreen.js +3 -2
- package/libs/shared-utils/index.js +1 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/pointsIsRectangle.js +6 -5
- package/libs/shared-utils/tag.js +15 -14
- package/libs/shared-utils/three/Magnifier.js +1 -1
- package/libs/shared-utils/three/PointDomHelper.js +3 -2
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/core/LineMaterial.js +3 -2
- package/libs/shared-utils/three/core/LineMaterial2.js +3 -2
- package/libs/shared-utils/three/earcut3D.js +3 -3
- package/libs/shared-utils/three/index.js +1 -0
- package/libs/vendor/classnames/index.js +10 -15
- package/libs/vendor/earcut/src/earcut.js +55 -59
- package/libs/vendor/easy-reactive/src/simply-reactive.js +7 -7
- package/libs/vendor/hammerjs/hammer.js +147 -151
- package/libs/vendor/lodash.clonedeep/index.js +64 -69
- package/libs/vendor/lodash.get/index.js +75 -74
- package/libs/vendor/lodash.isequal/index.js +61 -66
- package/libs/vendor/object-assign-deep/objectAssignDeep.js +35 -39
- package/libs/vendor/polyline-normals/index.js +21 -19
- package/package.json +1 -1
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return Qt;
|
|
4
|
-
},
|
|
5
|
-
set exports(k) {
|
|
6
|
-
Qt = k;
|
|
7
|
-
}
|
|
8
|
-
};
|
|
1
|
+
import { getDefaultExportFromCjs as He } from "../../_commonjsHelpers.js";
|
|
2
|
+
var Qt = { exports: {} };
|
|
9
3
|
/*! Hammer.JS - v2.0.7 - 2016-04-22
|
|
10
4
|
* http://hammerjs.github.io/
|
|
11
5
|
*
|
|
12
6
|
* Copyright (c) 2016 Jorik Tangelder;
|
|
13
7
|
* Licensed under the MIT license */
|
|
14
|
-
(function(
|
|
8
|
+
(function(_t) {
|
|
15
9
|
(function(u, yt, jt, l) {
|
|
16
|
-
var Pt = ["", "webkit", "Moz", "MS", "ms", "o"], Kt = yt.createElement("div"), $t = "function",
|
|
17
|
-
function
|
|
18
|
-
return setTimeout(
|
|
10
|
+
var Pt = ["", "webkit", "Moz", "MS", "ms", "o"], Kt = yt.createElement("div"), $t = "function", x = Math.round, S = Math.abs, at = Date.now;
|
|
11
|
+
function ot(t, e, i) {
|
|
12
|
+
return setTimeout(ht(t, i), e);
|
|
19
13
|
}
|
|
20
|
-
function
|
|
14
|
+
function L(t, e, i) {
|
|
21
15
|
return Array.isArray(t) ? (P(t, i[e], i), !0) : !1;
|
|
22
16
|
}
|
|
23
17
|
function P(t, e, i) {
|
|
@@ -64,24 +58,24 @@ var Qt = {}, He = {
|
|
|
64
58
|
var r = e.prototype, n;
|
|
65
59
|
n = t.prototype = Object.create(r), n.constructor = t, n._super = r, i && g(n, i);
|
|
66
60
|
}
|
|
67
|
-
function
|
|
61
|
+
function ht(t, e) {
|
|
68
62
|
return function() {
|
|
69
63
|
return t.apply(e, arguments);
|
|
70
64
|
};
|
|
71
65
|
}
|
|
72
|
-
function
|
|
66
|
+
function lt(t, e) {
|
|
73
67
|
return typeof t == $t ? t.apply(e && e[0] || l, e) : t;
|
|
74
68
|
}
|
|
75
69
|
function At(t, e) {
|
|
76
70
|
return t === l ? e : t;
|
|
77
71
|
}
|
|
78
|
-
function
|
|
79
|
-
P(
|
|
72
|
+
function k(t, e, i) {
|
|
73
|
+
P(Z(e), function(r) {
|
|
80
74
|
t.addEventListener(r, i, !1);
|
|
81
75
|
});
|
|
82
76
|
}
|
|
83
|
-
function
|
|
84
|
-
P(
|
|
77
|
+
function z(t, e, i) {
|
|
78
|
+
P(Z(e), function(r) {
|
|
85
79
|
t.removeEventListener(r, i, !1);
|
|
86
80
|
});
|
|
87
81
|
}
|
|
@@ -96,7 +90,7 @@ var Qt = {}, He = {
|
|
|
96
90
|
function D(t, e) {
|
|
97
91
|
return t.indexOf(e) > -1;
|
|
98
92
|
}
|
|
99
|
-
function
|
|
93
|
+
function Z(t) {
|
|
100
94
|
return t.trim().split(/\s+/g);
|
|
101
95
|
}
|
|
102
96
|
function Y(t, e, i) {
|
|
@@ -109,7 +103,7 @@ var Qt = {}, He = {
|
|
|
109
103
|
}
|
|
110
104
|
return -1;
|
|
111
105
|
}
|
|
112
|
-
function
|
|
106
|
+
function B(t) {
|
|
113
107
|
return Array.prototype.slice.call(t, 0);
|
|
114
108
|
}
|
|
115
109
|
function St(t, e, i) {
|
|
@@ -121,7 +115,7 @@ var Qt = {}, He = {
|
|
|
121
115
|
return c[e] > v[e];
|
|
122
116
|
}) : r = r.sort()), r;
|
|
123
117
|
}
|
|
124
|
-
function
|
|
118
|
+
function J(t, e) {
|
|
125
119
|
for (var i, r, n = e[0].toUpperCase() + e.slice(1), s = 0; s < Pt.length; ) {
|
|
126
120
|
if (i = Pt[s], r = i ? i + n : e, r in t)
|
|
127
121
|
return r;
|
|
@@ -137,11 +131,11 @@ var Qt = {}, He = {
|
|
|
137
131
|
var e = t.ownerDocument || t;
|
|
138
132
|
return e.defaultView || e.parentWindow || u;
|
|
139
133
|
}
|
|
140
|
-
var re = /mobile|tablet|ip(ad|hone|od)|android/i, Mt = "ontouchstart" in u, ne =
|
|
134
|
+
var re = /mobile|tablet|ip(ad|hone|od)|android/i, Mt = "ontouchstart" in u, ne = J(u, "PointerEvent") !== l, se = Mt && re.test(navigator.userAgent), b = "touch", ae = "pen", ct = "mouse", oe = "kinect", he = 25, f = 1, M = 2, o = 4, p = 8, Q = 1, F = 2, X = 4, V = 8, W = 16, I = F | X, U = V | W, Ut = I | U, Rt = ["x", "y"], j = ["clientX", "clientY"];
|
|
141
135
|
function m(t, e) {
|
|
142
136
|
var i = this;
|
|
143
137
|
this.manager = t, this.callback = e, this.element = t.element, this.target = t.options.inputTarget, this.domHandler = function(r) {
|
|
144
|
-
|
|
138
|
+
lt(t.options.enable, [t]) && i.handler(r);
|
|
145
139
|
}, this.init();
|
|
146
140
|
}
|
|
147
141
|
m.prototype = {
|
|
@@ -155,18 +149,18 @@ var Qt = {}, He = {
|
|
|
155
149
|
* bind the events
|
|
156
150
|
*/
|
|
157
151
|
init: function() {
|
|
158
|
-
this.evEl &&
|
|
152
|
+
this.evEl && k(this.element, this.evEl, this.domHandler), this.evTarget && k(this.target, this.evTarget, this.domHandler), this.evWin && k(Dt(this.element), this.evWin, this.domHandler);
|
|
159
153
|
},
|
|
160
154
|
/**
|
|
161
155
|
* unbind the events
|
|
162
156
|
*/
|
|
163
157
|
destroy: function() {
|
|
164
|
-
this.evEl &&
|
|
158
|
+
this.evEl && z(this.element, this.evEl, this.domHandler), this.evTarget && z(this.target, this.evTarget, this.domHandler), this.evWin && z(Dt(this.element), this.evWin, this.domHandler);
|
|
165
159
|
}
|
|
166
160
|
};
|
|
167
161
|
function le(t) {
|
|
168
162
|
var e, i = t.options.inputClass;
|
|
169
|
-
return i ? e = i : ne ? e =
|
|
163
|
+
return i ? e = i : ne ? e = ft : se ? e = tt : Mt ? e = vt : e = $, new e(t, ce);
|
|
170
164
|
}
|
|
171
165
|
function ce(t, e, i) {
|
|
172
166
|
var r = i.pointers.length, n = i.changedPointers.length, s = e & f && r - n === 0, a = e & (o | p) && r - n === 0;
|
|
@@ -174,9 +168,9 @@ var Qt = {}, He = {
|
|
|
174
168
|
}
|
|
175
169
|
function ue(t, e) {
|
|
176
170
|
var i = t.session, r = e.pointers, n = r.length;
|
|
177
|
-
i.firstInput || (i.firstInput =
|
|
178
|
-
var s = i.firstInput, a = i.firstMultiple, h = a ? a.center : s.center, c = e.center =
|
|
179
|
-
e.timeStamp =
|
|
171
|
+
i.firstInput || (i.firstInput = xt(e)), n > 1 && !i.firstMultiple ? i.firstMultiple = xt(e) : n === 1 && (i.firstMultiple = !1);
|
|
172
|
+
var s = i.firstInput, a = i.firstMultiple, h = a ? a.center : s.center, c = e.center = Lt(r);
|
|
173
|
+
e.timeStamp = at(), e.deltaTime = e.timeStamp - s.timeStamp, e.angle = ut(h, c), e.distance = K(h, c), fe(i, e), e.offsetDirection = Ht(e.deltaX, e.deltaY);
|
|
180
174
|
var v = Yt(e.deltaTime, e.deltaX, e.deltaY);
|
|
181
175
|
e.overallVelocityX = v.x, e.overallVelocityY = v.y, e.overallVelocity = S(v.x) > S(v.y) ? v.x : v.y, e.scale = a ? Te(a.pointers, r) : 1, e.rotation = a ? pe(a.pointers, r) : 0, e.maxPointers = i.prevInput ? e.pointers.length > i.prevInput.maxPointers ? e.pointers.length : i.prevInput.maxPointers : e.pointers.length, ve(i, e);
|
|
182
176
|
var y = t.element;
|
|
@@ -201,32 +195,32 @@ var Qt = {}, He = {
|
|
|
201
195
|
n = i.velocity, s = i.velocityX, a = i.velocityY, h = i.direction;
|
|
202
196
|
e.velocity = n, e.velocityX = s, e.velocityY = a, e.direction = h;
|
|
203
197
|
}
|
|
204
|
-
function
|
|
198
|
+
function xt(t) {
|
|
205
199
|
for (var e = [], i = 0; i < t.pointers.length; )
|
|
206
200
|
e[i] = {
|
|
207
|
-
clientX:
|
|
208
|
-
clientY:
|
|
201
|
+
clientX: x(t.pointers[i].clientX),
|
|
202
|
+
clientY: x(t.pointers[i].clientY)
|
|
209
203
|
}, i++;
|
|
210
204
|
return {
|
|
211
|
-
timeStamp:
|
|
205
|
+
timeStamp: at(),
|
|
212
206
|
pointers: e,
|
|
213
|
-
center:
|
|
207
|
+
center: Lt(e),
|
|
214
208
|
deltaX: t.deltaX,
|
|
215
209
|
deltaY: t.deltaY
|
|
216
210
|
};
|
|
217
211
|
}
|
|
218
|
-
function
|
|
212
|
+
function Lt(t) {
|
|
219
213
|
var e = t.length;
|
|
220
214
|
if (e === 1)
|
|
221
215
|
return {
|
|
222
|
-
x:
|
|
223
|
-
y:
|
|
216
|
+
x: x(t[0].clientX),
|
|
217
|
+
y: x(t[0].clientY)
|
|
224
218
|
};
|
|
225
219
|
for (var i = 0, r = 0, n = 0; n < e; )
|
|
226
220
|
i += t[n].clientX, r += t[n].clientY, n++;
|
|
227
221
|
return {
|
|
228
|
-
x:
|
|
229
|
-
y:
|
|
222
|
+
x: x(i / e),
|
|
223
|
+
y: x(r / e)
|
|
230
224
|
};
|
|
231
225
|
}
|
|
232
226
|
function Yt(t, e, i) {
|
|
@@ -236,33 +230,33 @@ var Qt = {}, He = {
|
|
|
236
230
|
};
|
|
237
231
|
}
|
|
238
232
|
function Ht(t, e) {
|
|
239
|
-
return t === e ?
|
|
233
|
+
return t === e ? Q : S(t) >= S(e) ? t < 0 ? F : X : e < 0 ? V : W;
|
|
240
234
|
}
|
|
241
|
-
function
|
|
235
|
+
function K(t, e, i) {
|
|
242
236
|
i || (i = Rt);
|
|
243
237
|
var r = e[i[0]] - t[i[0]], n = e[i[1]] - t[i[1]];
|
|
244
238
|
return Math.sqrt(r * r + n * n);
|
|
245
239
|
}
|
|
246
|
-
function
|
|
240
|
+
function ut(t, e, i) {
|
|
247
241
|
i || (i = Rt);
|
|
248
242
|
var r = e[i[0]] - t[i[0]], n = e[i[1]] - t[i[1]];
|
|
249
243
|
return Math.atan2(n, r) * 180 / Math.PI;
|
|
250
244
|
}
|
|
251
245
|
function pe(t, e) {
|
|
252
|
-
return
|
|
246
|
+
return ut(e[1], e[0], j) + ut(t[1], t[0], j);
|
|
253
247
|
}
|
|
254
248
|
function Te(t, e) {
|
|
255
|
-
return
|
|
249
|
+
return K(e[0], e[1], j) / K(t[0], t[1], j);
|
|
256
250
|
}
|
|
257
251
|
var me = {
|
|
258
252
|
mousedown: f,
|
|
259
253
|
mousemove: M,
|
|
260
254
|
mouseup: o
|
|
261
255
|
}, de = "mousedown", Ee = "mousemove mouseup";
|
|
262
|
-
function
|
|
256
|
+
function $() {
|
|
263
257
|
this.evEl = de, this.evWin = Ee, this.pressed = !1, m.apply(this, arguments);
|
|
264
258
|
}
|
|
265
|
-
T(
|
|
259
|
+
T($, m, {
|
|
266
260
|
/**
|
|
267
261
|
* handle mouse events
|
|
268
262
|
* @param {Object} ev
|
|
@@ -272,7 +266,7 @@ var Qt = {}, He = {
|
|
|
272
266
|
i & f && e.button === 0 && (this.pressed = !0), i & M && e.which !== 1 && (i = o), this.pressed && (i & o && (this.pressed = !1), this.callback(this.manager, i, {
|
|
273
267
|
pointers: [e],
|
|
274
268
|
changedPointers: [e],
|
|
275
|
-
pointerType:
|
|
269
|
+
pointerType: ct,
|
|
276
270
|
srcEvent: e
|
|
277
271
|
}));
|
|
278
272
|
}
|
|
@@ -286,15 +280,15 @@ var Qt = {}, He = {
|
|
|
286
280
|
}, Ie = {
|
|
287
281
|
2: b,
|
|
288
282
|
3: ae,
|
|
289
|
-
4:
|
|
283
|
+
4: ct,
|
|
290
284
|
5: oe
|
|
291
285
|
// see https://twitter.com/jacobrossi/status/480596438489890816
|
|
292
|
-
}, bt = "pointerdown",
|
|
293
|
-
u.MSPointerEvent && !u.PointerEvent && (bt = "MSPointerDown",
|
|
294
|
-
function
|
|
295
|
-
this.evEl = bt, this.evWin =
|
|
286
|
+
}, bt = "pointerdown", Ft = "pointermove pointerup pointercancel";
|
|
287
|
+
u.MSPointerEvent && !u.PointerEvent && (bt = "MSPointerDown", Ft = "MSPointerMove MSPointerUp MSPointerCancel");
|
|
288
|
+
function ft() {
|
|
289
|
+
this.evEl = bt, this.evWin = Ft, m.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
|
|
296
290
|
}
|
|
297
|
-
T(
|
|
291
|
+
T(ft, m, {
|
|
298
292
|
/**
|
|
299
293
|
* handle mouse events
|
|
300
294
|
* @param {Object} ev
|
|
@@ -315,10 +309,10 @@ var Qt = {}, He = {
|
|
|
315
309
|
touchend: o,
|
|
316
310
|
touchcancel: p
|
|
317
311
|
}, ye = "touchstart", Pe = "touchstart touchmove touchend touchcancel";
|
|
318
|
-
function
|
|
312
|
+
function Xt() {
|
|
319
313
|
this.evTarget = ye, this.evWin = Pe, this.started = !1, m.apply(this, arguments);
|
|
320
314
|
}
|
|
321
|
-
T(
|
|
315
|
+
T(Xt, m, {
|
|
322
316
|
handler: function(e) {
|
|
323
317
|
var i = _e[e.type];
|
|
324
318
|
if (i === f && (this.started = !0), !!this.started) {
|
|
@@ -333,7 +327,7 @@ var Qt = {}, He = {
|
|
|
333
327
|
}
|
|
334
328
|
});
|
|
335
329
|
function Ne(t, e) {
|
|
336
|
-
var i =
|
|
330
|
+
var i = B(t.touches), r = B(t.changedTouches);
|
|
337
331
|
return e & (o | p) && (i = St(i.concat(r), "identifier", !0)), [i, r];
|
|
338
332
|
}
|
|
339
333
|
var Oe = {
|
|
@@ -342,10 +336,10 @@ var Qt = {}, He = {
|
|
|
342
336
|
touchend: o,
|
|
343
337
|
touchcancel: p
|
|
344
338
|
}, Ae = "touchstart touchmove touchend touchcancel";
|
|
345
|
-
function
|
|
339
|
+
function tt() {
|
|
346
340
|
this.evTarget = Ae, this.targetIds = {}, m.apply(this, arguments);
|
|
347
341
|
}
|
|
348
|
-
T(
|
|
342
|
+
T(tt, m, {
|
|
349
343
|
handler: function(e) {
|
|
350
344
|
var i = Oe[e.type], r = Ce.call(this, e, i);
|
|
351
345
|
r && this.callback(this.manager, i, {
|
|
@@ -357,10 +351,10 @@ var Qt = {}, He = {
|
|
|
357
351
|
}
|
|
358
352
|
});
|
|
359
353
|
function Ce(t, e) {
|
|
360
|
-
var i =
|
|
354
|
+
var i = B(t.touches), r = this.targetIds;
|
|
361
355
|
if (e & (f | M) && i.length === 1)
|
|
362
356
|
return r[i[0].identifier] = !0, [i, i];
|
|
363
|
-
var n, s, a =
|
|
357
|
+
var n, s, a = B(t.changedTouches), h = [], c = this.target;
|
|
364
358
|
if (s = i.filter(function(v) {
|
|
365
359
|
return Ct(v.target, c);
|
|
366
360
|
}), e === f)
|
|
@@ -376,12 +370,12 @@ var Qt = {}, He = {
|
|
|
376
370
|
];
|
|
377
371
|
}
|
|
378
372
|
var Se = 2500, Vt = 25;
|
|
379
|
-
function
|
|
373
|
+
function vt() {
|
|
380
374
|
m.apply(this, arguments);
|
|
381
|
-
var t =
|
|
382
|
-
this.touch = new
|
|
375
|
+
var t = ht(this.handler, this);
|
|
376
|
+
this.touch = new tt(this.manager, t), this.mouse = new $(this.manager, t), this.primaryTouch = null, this.lastTouches = [];
|
|
383
377
|
}
|
|
384
|
-
T(
|
|
378
|
+
T(vt, m, {
|
|
385
379
|
/**
|
|
386
380
|
* handle mouse and touch events
|
|
387
381
|
* @param {Hammer} manager
|
|
@@ -389,7 +383,7 @@ var Qt = {}, He = {
|
|
|
389
383
|
* @param {Object} inputData
|
|
390
384
|
*/
|
|
391
385
|
handler: function(e, i, r) {
|
|
392
|
-
var n = r.pointerType == b, s = r.pointerType ==
|
|
386
|
+
var n = r.pointerType == b, s = r.pointerType == ct;
|
|
393
387
|
if (!(s && r.sourceCapabilities && r.sourceCapabilities.firesTouchEvents)) {
|
|
394
388
|
if (n)
|
|
395
389
|
De.call(this, i, r);
|
|
@@ -428,17 +422,17 @@ var Qt = {}, He = {
|
|
|
428
422
|
}
|
|
429
423
|
return !1;
|
|
430
424
|
}
|
|
431
|
-
var qt =
|
|
432
|
-
function
|
|
425
|
+
var qt = J(Kt.style, "touchAction"), wt = qt !== l, Gt = "compute", kt = "auto", pt = "manipulation", R = "none", q = "pan-x", w = "pan-y", et = Re();
|
|
426
|
+
function Tt(t, e) {
|
|
433
427
|
this.manager = t, this.set(e);
|
|
434
428
|
}
|
|
435
|
-
|
|
429
|
+
Tt.prototype = {
|
|
436
430
|
/**
|
|
437
431
|
* set the touchAction value on the element or enable the polyfill
|
|
438
432
|
* @param {String} value
|
|
439
433
|
*/
|
|
440
434
|
set: function(t) {
|
|
441
|
-
t == Gt && (t = this.compute()), wt && this.manager.element.style &&
|
|
435
|
+
t == Gt && (t = this.compute()), wt && this.manager.element.style && et[t] && (this.manager.element.style[qt] = t), this.actions = t.toLowerCase().trim();
|
|
442
436
|
},
|
|
443
437
|
/**
|
|
444
438
|
* just re-set the touchAction value
|
|
@@ -453,7 +447,7 @@ var Qt = {}, He = {
|
|
|
453
447
|
compute: function() {
|
|
454
448
|
var t = [];
|
|
455
449
|
return P(this.manager.recognizers, function(e) {
|
|
456
|
-
|
|
450
|
+
lt(e.options.enable, [e]) && (t = t.concat(e.getTouchAction()));
|
|
457
451
|
}), Ue(t.join(" "));
|
|
458
452
|
},
|
|
459
453
|
/**
|
|
@@ -466,7 +460,7 @@ var Qt = {}, He = {
|
|
|
466
460
|
e.preventDefault();
|
|
467
461
|
return;
|
|
468
462
|
}
|
|
469
|
-
var r = this.actions, n = D(r, R) && !
|
|
463
|
+
var r = this.actions, n = D(r, R) && !et[R], s = D(r, w) && !et[w], a = D(r, q) && !et[q];
|
|
470
464
|
if (n) {
|
|
471
465
|
var h = t.pointers.length === 1, c = t.distance < 2, v = t.deltaTime < 250;
|
|
472
466
|
if (h && c && v)
|
|
@@ -487,7 +481,7 @@ var Qt = {}, He = {
|
|
|
487
481
|
if (D(t, R))
|
|
488
482
|
return R;
|
|
489
483
|
var e = D(t, q), i = D(t, w);
|
|
490
|
-
return e && i ? R : e || i ? e ? q : w : D(t,
|
|
484
|
+
return e && i ? R : e || i ? e ? q : w : D(t, pt) ? pt : kt;
|
|
491
485
|
}
|
|
492
486
|
function Re() {
|
|
493
487
|
if (!wt)
|
|
@@ -497,9 +491,9 @@ var Qt = {}, He = {
|
|
|
497
491
|
t[i] = e ? u.CSS.supports("touch-action", i) : !0;
|
|
498
492
|
}), t;
|
|
499
493
|
}
|
|
500
|
-
var
|
|
494
|
+
var it = 1, d = 2, H = 4, C = 8, N = C, G = 16, _ = 32;
|
|
501
495
|
function O(t) {
|
|
502
|
-
this.options = g({}, this.defaults, t || {}), this.id = ie(), this.manager = null, this.options.enable = At(this.options.enable, !0), this.state =
|
|
496
|
+
this.options = g({}, this.defaults, t || {}), this.id = ie(), this.manager = null, this.options.enable = At(this.options.enable, !0), this.state = it, this.simultaneous = {}, this.requireFail = [];
|
|
503
497
|
}
|
|
504
498
|
O.prototype = {
|
|
505
499
|
/**
|
|
@@ -521,10 +515,10 @@ var Qt = {}, He = {
|
|
|
521
515
|
* @returns {Recognizer} this
|
|
522
516
|
*/
|
|
523
517
|
recognizeWith: function(t) {
|
|
524
|
-
if (
|
|
518
|
+
if (L(t, "recognizeWith", this))
|
|
525
519
|
return this;
|
|
526
520
|
var e = this.simultaneous;
|
|
527
|
-
return t =
|
|
521
|
+
return t = rt(t, this), e[t.id] || (e[t.id] = t, t.recognizeWith(this)), this;
|
|
528
522
|
},
|
|
529
523
|
/**
|
|
530
524
|
* drop the simultaneous link. it doesnt remove the link on the other recognizer.
|
|
@@ -532,7 +526,7 @@ var Qt = {}, He = {
|
|
|
532
526
|
* @returns {Recognizer} this
|
|
533
527
|
*/
|
|
534
528
|
dropRecognizeWith: function(t) {
|
|
535
|
-
return
|
|
529
|
+
return L(t, "dropRecognizeWith", this) ? this : (t = rt(t, this), delete this.simultaneous[t.id], this);
|
|
536
530
|
},
|
|
537
531
|
/**
|
|
538
532
|
* recognizer can only run when an other is failing
|
|
@@ -540,10 +534,10 @@ var Qt = {}, He = {
|
|
|
540
534
|
* @returns {Recognizer} this
|
|
541
535
|
*/
|
|
542
536
|
requireFailure: function(t) {
|
|
543
|
-
if (
|
|
537
|
+
if (L(t, "requireFailure", this))
|
|
544
538
|
return this;
|
|
545
539
|
var e = this.requireFail;
|
|
546
|
-
return t =
|
|
540
|
+
return t = rt(t, this), Y(e, t) === -1 && (e.push(t), t.requireFailure(this)), this;
|
|
547
541
|
},
|
|
548
542
|
/**
|
|
549
543
|
* drop the requireFailure link. it does not remove the link on the other recognizer.
|
|
@@ -551,9 +545,9 @@ var Qt = {}, He = {
|
|
|
551
545
|
* @returns {Recognizer} this
|
|
552
546
|
*/
|
|
553
547
|
dropRequireFailure: function(t) {
|
|
554
|
-
if (
|
|
548
|
+
if (L(t, "dropRequireFailure", this))
|
|
555
549
|
return this;
|
|
556
|
-
t =
|
|
550
|
+
t = rt(t, this);
|
|
557
551
|
var e = Y(this.requireFail, t);
|
|
558
552
|
return e > -1 && this.requireFail.splice(e, 1), this;
|
|
559
553
|
},
|
|
@@ -601,7 +595,7 @@ var Qt = {}, He = {
|
|
|
601
595
|
*/
|
|
602
596
|
canEmit: function() {
|
|
603
597
|
for (var t = 0; t < this.requireFail.length; ) {
|
|
604
|
-
if (!(this.requireFail[t].state & (_ |
|
|
598
|
+
if (!(this.requireFail[t].state & (_ | it)))
|
|
605
599
|
return !1;
|
|
606
600
|
t++;
|
|
607
601
|
}
|
|
@@ -613,11 +607,11 @@ var Qt = {}, He = {
|
|
|
613
607
|
*/
|
|
614
608
|
recognize: function(t) {
|
|
615
609
|
var e = g({}, t);
|
|
616
|
-
if (!
|
|
610
|
+
if (!lt(this.options.enable, [this, e])) {
|
|
617
611
|
this.reset(), this.state = _;
|
|
618
612
|
return;
|
|
619
613
|
}
|
|
620
|
-
this.state & (N | G | _) && (this.state =
|
|
614
|
+
this.state & (N | G | _) && (this.state = it), this.state = this.process(e), this.state & (d | H | C | G) && this.tryEmit(e);
|
|
621
615
|
},
|
|
622
616
|
/**
|
|
623
617
|
* return the state of the recognizer
|
|
@@ -648,9 +642,9 @@ var Qt = {}, He = {
|
|
|
648
642
|
return t & G ? "cancel" : t & C ? "end" : t & H ? "move" : t & d ? "start" : "";
|
|
649
643
|
}
|
|
650
644
|
function Zt(t) {
|
|
651
|
-
return t == W ? "down" : t == V ? "up" : t ==
|
|
645
|
+
return t == W ? "down" : t == V ? "up" : t == F ? "left" : t == X ? "right" : "";
|
|
652
646
|
}
|
|
653
|
-
function
|
|
647
|
+
function rt(t, e) {
|
|
654
648
|
var i = e.manager;
|
|
655
649
|
return i ? i.get(t) : t;
|
|
656
650
|
}
|
|
@@ -690,10 +684,10 @@ var Qt = {}, He = {
|
|
|
690
684
|
return r && (i & p || !n) ? e | G : r || n ? i & o ? e | C : e & d ? e | H : d : _;
|
|
691
685
|
}
|
|
692
686
|
});
|
|
693
|
-
function
|
|
687
|
+
function nt() {
|
|
694
688
|
E.apply(this, arguments), this.pX = null, this.pY = null;
|
|
695
689
|
}
|
|
696
|
-
T(
|
|
690
|
+
T(nt, E, {
|
|
697
691
|
/**
|
|
698
692
|
* @namespace
|
|
699
693
|
* @memberof PanRecognizer
|
|
@@ -710,7 +704,7 @@ var Qt = {}, He = {
|
|
|
710
704
|
},
|
|
711
705
|
directionTest: function(t) {
|
|
712
706
|
var e = this.options, i = !0, r = t.distance, n = t.direction, s = t.deltaX, a = t.deltaY;
|
|
713
|
-
return n & e.direction || (e.direction & I ? (n = s === 0 ?
|
|
707
|
+
return n & e.direction || (e.direction & I ? (n = s === 0 ? Q : s < 0 ? F : X, i = s != this.pX, r = Math.abs(t.deltaX)) : (n = a === 0 ? Q : a < 0 ? V : W, i = a != this.pY, r = Math.abs(t.deltaY))), t.direction = n, i && r > e.threshold && n & e.direction;
|
|
714
708
|
},
|
|
715
709
|
attrTest: function(t) {
|
|
716
710
|
return E.prototype.attrTest.call(this, t) && (this.state & d || !(this.state & d) && this.directionTest(t));
|
|
@@ -721,10 +715,10 @@ var Qt = {}, He = {
|
|
|
721
715
|
e && (t.additionalEvent = this.options.event + e), this._super.emit.call(this, t);
|
|
722
716
|
}
|
|
723
717
|
});
|
|
724
|
-
function
|
|
718
|
+
function mt() {
|
|
725
719
|
E.apply(this, arguments);
|
|
726
720
|
}
|
|
727
|
-
T(
|
|
721
|
+
T(mt, E, {
|
|
728
722
|
/**
|
|
729
723
|
* @namespace
|
|
730
724
|
* @memberof PinchRecognizer
|
|
@@ -748,10 +742,10 @@ var Qt = {}, He = {
|
|
|
748
742
|
this._super.emit.call(this, t);
|
|
749
743
|
}
|
|
750
744
|
});
|
|
751
|
-
function
|
|
745
|
+
function dt() {
|
|
752
746
|
O.apply(this, arguments), this._timer = null, this._input = null;
|
|
753
747
|
}
|
|
754
|
-
T(
|
|
748
|
+
T(dt, O, {
|
|
755
749
|
/**
|
|
756
750
|
* @namespace
|
|
757
751
|
* @memberof PressRecognizer
|
|
@@ -772,7 +766,7 @@ var Qt = {}, He = {
|
|
|
772
766
|
if (this._input = t, !r || !i || t.eventType & (o | p) && !n)
|
|
773
767
|
this.reset();
|
|
774
768
|
else if (t.eventType & f)
|
|
775
|
-
this.reset(), this._timer =
|
|
769
|
+
this.reset(), this._timer = ot(function() {
|
|
776
770
|
this.state = N, this.tryEmit();
|
|
777
771
|
}, e.time, this);
|
|
778
772
|
else if (t.eventType & o)
|
|
@@ -783,13 +777,13 @@ var Qt = {}, He = {
|
|
|
783
777
|
clearTimeout(this._timer);
|
|
784
778
|
},
|
|
785
779
|
emit: function(t) {
|
|
786
|
-
this.state === N && (t && t.eventType & o ? this.manager.emit(this.options.event + "up", t) : (this._input.timeStamp =
|
|
780
|
+
this.state === N && (t && t.eventType & o ? this.manager.emit(this.options.event + "up", t) : (this._input.timeStamp = at(), this.manager.emit(this.options.event, this._input)));
|
|
787
781
|
}
|
|
788
782
|
});
|
|
789
|
-
function
|
|
783
|
+
function Et() {
|
|
790
784
|
E.apply(this, arguments);
|
|
791
785
|
}
|
|
792
|
-
T(
|
|
786
|
+
T(Et, E, {
|
|
793
787
|
/**
|
|
794
788
|
* @namespace
|
|
795
789
|
* @memberof RotateRecognizer
|
|
@@ -806,10 +800,10 @@ var Qt = {}, He = {
|
|
|
806
800
|
return this._super.attrTest.call(this, t) && (Math.abs(t.rotation) > this.options.threshold || this.state & d);
|
|
807
801
|
}
|
|
808
802
|
});
|
|
809
|
-
function
|
|
803
|
+
function gt() {
|
|
810
804
|
E.apply(this, arguments);
|
|
811
805
|
}
|
|
812
|
-
T(
|
|
806
|
+
T(gt, E, {
|
|
813
807
|
/**
|
|
814
808
|
* @namespace
|
|
815
809
|
* @memberof SwipeRecognizer
|
|
@@ -822,7 +816,7 @@ var Qt = {}, He = {
|
|
|
822
816
|
pointers: 1
|
|
823
817
|
},
|
|
824
818
|
getTouchAction: function() {
|
|
825
|
-
return
|
|
819
|
+
return nt.prototype.getTouchAction.call(this);
|
|
826
820
|
},
|
|
827
821
|
attrTest: function(t) {
|
|
828
822
|
var e = this.options.direction, i;
|
|
@@ -833,10 +827,10 @@ var Qt = {}, He = {
|
|
|
833
827
|
e && this.manager.emit(this.options.event + e, t), this.manager.emit(this.options.event, t);
|
|
834
828
|
}
|
|
835
829
|
});
|
|
836
|
-
function
|
|
830
|
+
function st() {
|
|
837
831
|
O.apply(this, arguments), this.pTime = !1, this.pCenter = !1, this._timer = null, this._input = null, this.count = 0;
|
|
838
832
|
}
|
|
839
|
-
T(
|
|
833
|
+
T(st, O, {
|
|
840
834
|
/**
|
|
841
835
|
* @namespace
|
|
842
836
|
* @memberof PinchRecognizer
|
|
@@ -855,7 +849,7 @@ var Qt = {}, He = {
|
|
|
855
849
|
// a multi-tap can be a bit off the initial position
|
|
856
850
|
},
|
|
857
851
|
getTouchAction: function() {
|
|
858
|
-
return [
|
|
852
|
+
return [pt];
|
|
859
853
|
},
|
|
860
854
|
process: function(t) {
|
|
861
855
|
var e = this.options, i = t.pointers.length === e.pointers, r = t.distance < e.threshold, n = t.deltaTime < e.time;
|
|
@@ -864,18 +858,18 @@ var Qt = {}, He = {
|
|
|
864
858
|
if (r && n && i) {
|
|
865
859
|
if (t.eventType != o)
|
|
866
860
|
return this.failTimeout();
|
|
867
|
-
var s = this.pTime ? t.timeStamp - this.pTime < e.interval : !0, a = !this.pCenter ||
|
|
861
|
+
var s = this.pTime ? t.timeStamp - this.pTime < e.interval : !0, a = !this.pCenter || K(this.pCenter, t.center) < e.posThreshold;
|
|
868
862
|
this.pTime = t.timeStamp, this.pCenter = t.center, !a || !s ? this.count = 1 : this.count += 1, this._input = t;
|
|
869
863
|
var h = this.count % e.taps;
|
|
870
864
|
if (h === 0)
|
|
871
|
-
return this.hasRequireFailures() ? (this._timer =
|
|
865
|
+
return this.hasRequireFailures() ? (this._timer = ot(function() {
|
|
872
866
|
this.state = N, this.tryEmit();
|
|
873
867
|
}, e.interval, this), d) : N;
|
|
874
868
|
}
|
|
875
869
|
return _;
|
|
876
870
|
},
|
|
877
871
|
failTimeout: function() {
|
|
878
|
-
return this._timer =
|
|
872
|
+
return this._timer = ot(function() {
|
|
879
873
|
this.state = _;
|
|
880
874
|
}, this.options.interval, this), _;
|
|
881
875
|
},
|
|
@@ -887,7 +881,7 @@ var Qt = {}, He = {
|
|
|
887
881
|
}
|
|
888
882
|
});
|
|
889
883
|
function A(t, e) {
|
|
890
|
-
return e = e || {}, e.recognizers = At(e.recognizers, A.defaults.preset), new
|
|
884
|
+
return e = e || {}, e.recognizers = At(e.recognizers, A.defaults.preset), new It(t, e);
|
|
891
885
|
}
|
|
892
886
|
A.VERSION = "2.0.7", A.defaults = {
|
|
893
887
|
/**
|
|
@@ -930,13 +924,13 @@ var Qt = {}, He = {
|
|
|
930
924
|
*/
|
|
931
925
|
preset: [
|
|
932
926
|
// RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]
|
|
933
|
-
[
|
|
934
|
-
[
|
|
935
|
-
[
|
|
936
|
-
[
|
|
937
|
-
[
|
|
938
|
-
[
|
|
939
|
-
[
|
|
927
|
+
[Et, { enable: !1 }],
|
|
928
|
+
[mt, { enable: !1 }, ["rotate"]],
|
|
929
|
+
[gt, { direction: I }],
|
|
930
|
+
[nt, { direction: I }, ["swipe"]],
|
|
931
|
+
[st],
|
|
932
|
+
[st, { event: "doubletap", taps: 2 }, ["tap"]],
|
|
933
|
+
[dt]
|
|
940
934
|
],
|
|
941
935
|
/**
|
|
942
936
|
* Some CSS properties can be used to improve the working of Hammer.
|
|
@@ -985,14 +979,14 @@ var Qt = {}, He = {
|
|
|
985
979
|
tapHighlightColor: "rgba(0,0,0,0)"
|
|
986
980
|
}
|
|
987
981
|
};
|
|
988
|
-
var
|
|
989
|
-
function
|
|
990
|
-
this.options = g({}, A.defaults, e || {}), this.options.inputTarget = this.options.inputTarget || t, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = t, this.input = le(this), this.touchAction = new
|
|
982
|
+
var xe = 1, Bt = 2;
|
|
983
|
+
function It(t, e) {
|
|
984
|
+
this.options = g({}, A.defaults, e || {}), this.options.inputTarget = this.options.inputTarget || t, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = t, this.input = le(this), this.touchAction = new Tt(this, this.options.touchAction), Jt(this, !0), P(this.options.recognizers, function(i) {
|
|
991
985
|
var r = this.add(new i[0](i[1]));
|
|
992
986
|
i[2] && r.recognizeWith(i[2]), i[3] && r.requireFailure(i[3]);
|
|
993
987
|
}, this);
|
|
994
988
|
}
|
|
995
|
-
|
|
989
|
+
It.prototype = {
|
|
996
990
|
/**
|
|
997
991
|
* set options
|
|
998
992
|
* @param {Object} options
|
|
@@ -1008,7 +1002,7 @@ var Qt = {}, He = {
|
|
|
1008
1002
|
* @param {Boolean} [force]
|
|
1009
1003
|
*/
|
|
1010
1004
|
stop: function(t) {
|
|
1011
|
-
this.session.stopped = t ? Bt :
|
|
1005
|
+
this.session.stopped = t ? Bt : xe;
|
|
1012
1006
|
},
|
|
1013
1007
|
/**
|
|
1014
1008
|
* run the recognizers!
|
|
@@ -1048,7 +1042,7 @@ var Qt = {}, He = {
|
|
|
1048
1042
|
* @returns {Recognizer|Manager}
|
|
1049
1043
|
*/
|
|
1050
1044
|
add: function(t) {
|
|
1051
|
-
if (
|
|
1045
|
+
if (L(t, "add", this))
|
|
1052
1046
|
return this;
|
|
1053
1047
|
var e = this.get(t.options.event);
|
|
1054
1048
|
return e && this.remove(e), this.recognizers.push(t), t.manager = this, this.touchAction.update(), t;
|
|
@@ -1059,7 +1053,7 @@ var Qt = {}, He = {
|
|
|
1059
1053
|
* @returns {Manager}
|
|
1060
1054
|
*/
|
|
1061
1055
|
remove: function(t) {
|
|
1062
|
-
if (
|
|
1056
|
+
if (L(t, "remove", this))
|
|
1063
1057
|
return this;
|
|
1064
1058
|
if (t = this.get(t), t) {
|
|
1065
1059
|
var e = this.recognizers, i = Y(e, t);
|
|
@@ -1076,7 +1070,7 @@ var Qt = {}, He = {
|
|
|
1076
1070
|
on: function(t, e) {
|
|
1077
1071
|
if (t !== l && e !== l) {
|
|
1078
1072
|
var i = this.handlers;
|
|
1079
|
-
return P(
|
|
1073
|
+
return P(Z(t), function(r) {
|
|
1080
1074
|
i[r] = i[r] || [], i[r].push(e);
|
|
1081
1075
|
}), this;
|
|
1082
1076
|
}
|
|
@@ -1090,7 +1084,7 @@ var Qt = {}, He = {
|
|
|
1090
1084
|
off: function(t, e) {
|
|
1091
1085
|
if (t !== l) {
|
|
1092
1086
|
var i = this.handlers;
|
|
1093
|
-
return P(
|
|
1087
|
+
return P(Z(t), function(r) {
|
|
1094
1088
|
e ? i[r] && i[r].splice(Y(i[r], e), 1) : delete i[r];
|
|
1095
1089
|
}), this;
|
|
1096
1090
|
}
|
|
@@ -1101,7 +1095,7 @@ var Qt = {}, He = {
|
|
|
1101
1095
|
* @param {Object} data
|
|
1102
1096
|
*/
|
|
1103
1097
|
emit: function(t, e) {
|
|
1104
|
-
this.options.domEvents &&
|
|
1098
|
+
this.options.domEvents && Le(t, e);
|
|
1105
1099
|
var i = this.handlers[t] && this.handlers[t].slice();
|
|
1106
1100
|
if (!(!i || !i.length)) {
|
|
1107
1101
|
e.type = t, e.preventDefault = function() {
|
|
@@ -1124,11 +1118,11 @@ var Qt = {}, He = {
|
|
|
1124
1118
|
if (i.style) {
|
|
1125
1119
|
var r;
|
|
1126
1120
|
P(t.options.cssProps, function(n, s) {
|
|
1127
|
-
r =
|
|
1121
|
+
r = J(i.style, s), e ? (t.oldCssProps[r] = i.style[r], i.style[r] = n) : i.style[r] = t.oldCssProps[r] || "";
|
|
1128
1122
|
}), e || (t.oldCssProps = {});
|
|
1129
1123
|
}
|
|
1130
1124
|
}
|
|
1131
|
-
function
|
|
1125
|
+
function Le(t, e) {
|
|
1132
1126
|
var i = yt.createEvent("Event");
|
|
1133
1127
|
i.initEvent(t, !0, !0), i.gesture = e, e.target.dispatchEvent(i);
|
|
1134
1128
|
}
|
|
@@ -1137,53 +1131,55 @@ var Qt = {}, He = {
|
|
|
1137
1131
|
INPUT_MOVE: M,
|
|
1138
1132
|
INPUT_END: o,
|
|
1139
1133
|
INPUT_CANCEL: p,
|
|
1140
|
-
STATE_POSSIBLE:
|
|
1134
|
+
STATE_POSSIBLE: it,
|
|
1141
1135
|
STATE_BEGAN: d,
|
|
1142
1136
|
STATE_CHANGED: H,
|
|
1143
1137
|
STATE_ENDED: C,
|
|
1144
1138
|
STATE_RECOGNIZED: N,
|
|
1145
1139
|
STATE_CANCELLED: G,
|
|
1146
1140
|
STATE_FAILED: _,
|
|
1147
|
-
DIRECTION_NONE:
|
|
1148
|
-
DIRECTION_LEFT:
|
|
1149
|
-
DIRECTION_RIGHT:
|
|
1141
|
+
DIRECTION_NONE: Q,
|
|
1142
|
+
DIRECTION_LEFT: F,
|
|
1143
|
+
DIRECTION_RIGHT: X,
|
|
1150
1144
|
DIRECTION_UP: V,
|
|
1151
1145
|
DIRECTION_DOWN: W,
|
|
1152
1146
|
DIRECTION_HORIZONTAL: I,
|
|
1153
1147
|
DIRECTION_VERTICAL: U,
|
|
1154
1148
|
DIRECTION_ALL: Ut,
|
|
1155
|
-
Manager:
|
|
1149
|
+
Manager: It,
|
|
1156
1150
|
Input: m,
|
|
1157
|
-
TouchAction:
|
|
1158
|
-
TouchInput:
|
|
1159
|
-
MouseInput:
|
|
1160
|
-
PointerEventInput:
|
|
1161
|
-
TouchMouseInput:
|
|
1162
|
-
SingleTouchInput:
|
|
1151
|
+
TouchAction: Tt,
|
|
1152
|
+
TouchInput: tt,
|
|
1153
|
+
MouseInput: $,
|
|
1154
|
+
PointerEventInput: ft,
|
|
1155
|
+
TouchMouseInput: vt,
|
|
1156
|
+
SingleTouchInput: Xt,
|
|
1163
1157
|
Recognizer: O,
|
|
1164
1158
|
AttrRecognizer: E,
|
|
1165
|
-
Tap:
|
|
1166
|
-
Pan:
|
|
1167
|
-
Swipe:
|
|
1168
|
-
Pinch:
|
|
1169
|
-
Rotate:
|
|
1170
|
-
Press:
|
|
1171
|
-
on:
|
|
1172
|
-
off:
|
|
1159
|
+
Tap: st,
|
|
1160
|
+
Pan: nt,
|
|
1161
|
+
Swipe: gt,
|
|
1162
|
+
Pinch: mt,
|
|
1163
|
+
Rotate: Et,
|
|
1164
|
+
Press: dt,
|
|
1165
|
+
on: k,
|
|
1166
|
+
off: z,
|
|
1173
1167
|
each: P,
|
|
1174
1168
|
merge: te,
|
|
1175
1169
|
extend: Ot,
|
|
1176
1170
|
assign: g,
|
|
1177
1171
|
inherit: T,
|
|
1178
|
-
bindFn:
|
|
1179
|
-
prefixed:
|
|
1172
|
+
bindFn: ht,
|
|
1173
|
+
prefixed: J
|
|
1180
1174
|
});
|
|
1181
1175
|
var Ye = typeof u != "undefined" ? u : typeof self != "undefined" ? self : {};
|
|
1182
1176
|
Ye.Hammer = A, typeof l == "function" && l.amd ? l(function() {
|
|
1183
1177
|
return A;
|
|
1184
|
-
}) :
|
|
1178
|
+
}) : _t.exports ? _t.exports = A : u[jt] = A;
|
|
1185
1179
|
})(window, document, "Hammer");
|
|
1186
|
-
})(
|
|
1180
|
+
})(Qt);
|
|
1181
|
+
var be = Qt.exports;
|
|
1182
|
+
const Xe = /* @__PURE__ */ He(be);
|
|
1187
1183
|
export {
|
|
1188
|
-
|
|
1184
|
+
Xe as Hammer
|
|
1189
1185
|
};
|