@realsee/dnalogel 2.1.2-alpha.0 → 2.1.2-alpha.10
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/README.md +3 -12
- package/dist/CSS3DRenderPlugin/index..js +88 -0
- package/dist/CSS3DRenderPlugin/index.cjs.js +1 -0
- package/dist/CameraMovementPlugin/index..js +11 -0
- package/dist/CameraMovementPlugin/index.cjs.js +1 -0
- package/dist/CruisePlugin/index..js +527 -0
- package/dist/CruisePlugin/index.cjs.js +1 -0
- package/dist/GuideLinePlugin/index..js +214 -0
- package/dist/GuideLinePlugin/index.cjs.js +1 -0
- package/dist/ItemLabelPlugin/index..js +508 -0
- package/dist/ItemLabelPlugin/index.cjs.js +10 -0
- package/dist/ModelChassisCompassPlugin/index..js +9 -0
- package/dist/ModelChassisCompassPlugin/index.cjs.js +1 -0
- package/dist/ModelEntryDoorGuidePlugin/index..js +9 -0
- package/dist/ModelEntryDoorGuidePlugin/index.cjs.js +1 -0
- package/dist/ModelItemLabelPlugin/index..js +334 -0
- package/dist/ModelItemLabelPlugin/index.cjs.js +10 -0
- package/dist/ModelRoomLabelPlugin/index..js +274 -0
- package/dist/ModelRoomLabelPlugin/index.cjs.js +1 -0
- package/dist/ModelTVVideoPlugin/index..js +12 -0
- package/dist/ModelTVVideoPlugin/index.cjs.js +1 -0
- package/dist/ModelViewPlugin/index..js +8 -0
- package/dist/ModelViewPlugin/index.cjs.js +1 -0
- package/dist/Object3DHelperPlugin/index..js +1414 -0
- package/dist/Object3DHelperPlugin/index.cjs.js +1 -0
- package/dist/PanoCompassPlugin/index..js +258 -0
- package/dist/PanoCompassPlugin/index.cjs.js +1 -0
- package/dist/PanoCursorRaycasterPlugin/index..js +63 -0
- package/dist/PanoCursorRaycasterPlugin/index.cjs.js +1 -0
- package/dist/PanoDoorLabelPlugin/index..js +340 -0
- package/dist/PanoDoorLabelPlugin/index.cjs.js +1 -0
- package/dist/PanoMeasurePlugin/index..js +15 -0
- package/dist/PanoMeasurePlugin/index.cjs.js +1 -0
- package/dist/PanoRulerPlugin/index..js +9 -0
- package/dist/PanoRulerPlugin/index.cjs.js +1 -0
- package/dist/PanoRulerProPlugin/index..js +395 -0
- package/dist/PanoRulerProPlugin/index.cjs.js +1 -0
- package/dist/PanoSpatialTagPlugin/index..js +15 -0
- package/dist/PanoSpatialTagPlugin/index.cjs.js +1 -0
- package/dist/PanoTagPlugin/index..js +4522 -0
- package/dist/PanoTagPlugin/index.cjs.js +17 -0
- package/dist/chunks/cjs/BasePlugin.57e5204f.cjs.js +1 -0
- package/dist/chunks/cjs/BasePluginWithData.0a28882d.cjs.js +1 -0
- package/dist/chunks/cjs/CSS3DRender.15349564.cjs.js +1 -0
- package/dist/chunks/cjs/CameraMovementPlugin.2b342576.cjs.js +1 -0
- package/dist/chunks/cjs/Plugin.5f616fb3.cjs.js +1 -0
- package/dist/chunks/cjs/Plugin.609da4aa.cjs.js +94 -0
- package/dist/chunks/cjs/Plugin.67936d0e.cjs.js +16 -0
- package/dist/chunks/cjs/Plugin.8a110c53.cjs.js +1 -0
- package/dist/chunks/cjs/Plugin.9971108a.cjs.js +1 -0
- package/dist/chunks/cjs/Plugin.fd42bf8a.cjs.js +1 -0
- package/dist/chunks/cjs/Subscribe.5398d5c6.cjs.js +1 -0
- package/dist/chunks/cjs/changeModelCanvasOpacity.8d84f111.cjs.js +1 -0
- package/dist/chunks/cjs/correctFiveState.4c8472bd.cjs.js +1 -0
- package/dist/chunks/cjs/debounce.93dfb637.cjs.js +1 -0
- package/dist/chunks/cjs/equal.e9fcbd4e.cjs.js +1 -0
- package/dist/chunks/cjs/filter.cf9ebbb3.cjs.js +1 -0
- package/dist/chunks/cjs/formatData.81e95011.cjs.js +10 -0
- package/dist/chunks/cjs/index.30b7baeb.cjs.js +101 -0
- package/dist/chunks/cjs/index.686e84d1.cjs.js +290 -0
- package/dist/chunks/cjs/index.7d2010ce.cjs.js +1 -0
- package/dist/chunks/cjs/isNil.b3a58990.cjs.js +1 -0
- package/dist/chunks/cjs/planimetry.7fce816a.cjs.js +1 -0
- package/dist/chunks/cjs/throttle.86c209eb.cjs.js +1 -0
- package/dist/chunks/cjs/transfromToMeshBasicMaterial.9db6d46a.cjs.js +1 -0
- package/dist/chunks/cjs/uuid.29ed9c88.cjs.js +1 -0
- package/dist/chunks/es/BasePlugin.813e25f7.es.js +18 -0
- package/dist/chunks/es/BasePluginWithData.4bf4e649.es.js +6 -0
- package/dist/chunks/es/CSS3DRender.5652510e.es.js +393 -0
- package/dist/chunks/es/CameraMovementPlugin.4a7c3e46.es.js +120 -0
- package/dist/chunks/es/Plugin.26c2df05.es.js +106 -0
- package/dist/chunks/es/Plugin.435485ed.es.js +584 -0
- package/dist/chunks/es/Plugin.a98418f0.es.js +82 -0
- package/dist/chunks/es/Plugin.ae4ee6f8.es.js +82 -0
- package/dist/chunks/es/Plugin.dd11e0ad.es.js +180 -0
- package/dist/chunks/es/Plugin.f4cf895f.es.js +355 -0
- package/dist/chunks/es/Subscribe.c73e0f91.es.js +50 -0
- package/dist/chunks/es/changeModelCanvasOpacity.45ef9fd6.es.js +1551 -0
- package/dist/chunks/es/correctFiveState.e7feab9f.es.js +66 -0
- package/dist/chunks/es/debounce.ef83f417.es.js +11 -0
- package/dist/chunks/es/equal.7db4a6f7.es.js +56 -0
- package/dist/chunks/es/filter.97ec06c4.es.js +12 -0
- package/dist/chunks/es/formatData.a2b39ef9.es.js +483 -0
- package/dist/chunks/es/index.a273f06e.es.js +532 -0
- package/dist/chunks/es/index.b8fdb59b.es.js +50 -0
- package/dist/chunks/es/index.f74f4851.es.js +1787 -0
- package/dist/chunks/es/isNil.212842d9.es.js +10 -0
- package/dist/chunks/es/planimetry.b0b4a28d.es.js +43 -0
- package/dist/chunks/es/throttle.db66bac3.es.js +11 -0
- package/dist/chunks/es/transfromToMeshBasicMaterial.849ee069.es.js +24 -0
- package/dist/chunks/es/uuid.676cb2c8.es.js +9 -0
- package/dist/components/PaintBrush/index..js +6 -0
- package/dist/components/PaintBrush/index.cjs.js +1 -0
- package/dist/components/index..js +7 -0
- package/dist/components/index.cjs.js +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/index..js +324 -0
- package/dist/floorplan/MapviewFloorplanPlugin/index.cjs.js +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/index..js +320 -0
- package/dist/floorplan/ModelFloorplanPlugin/index.cjs.js +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/index..js +613 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.cjs.js +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/index..js +277 -0
- package/dist/floorplan/TopviewFloorplanPlugin/index.cjs.js +1 -0
- package/dist/index..js +530 -0
- package/dist/index.cjs.js +3 -543
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +6 -11
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -5
- package/libs/CSS3DRenderPlugin/Controller.js +6 -7
- package/libs/CSS3DRenderPlugin/index.js +3 -4
- package/libs/CSS3DRenderPlugin/typing.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -3
- package/libs/CSS3DRenderPlugin/utils/index.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -2
- package/libs/CSS3DRenderPlugin/utils/random.js +1 -0
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +16 -17
- package/libs/CameraMovementPlugin/index.js +3 -0
- package/libs/CruisePlugin/Controller.js +4 -4
- package/libs/CruisePlugin/index.js +3 -6
- package/libs/CruisePlugin/utils/linerValue.js +4 -4
- package/libs/GuideLinePlugin/Controller.js +3 -4
- package/libs/GuideLinePlugin/index.js +3 -4
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +34 -32
- package/libs/ItemLabelPlugin/Plugin.js +5 -6
- package/libs/ModelChassisCompassPlugin/Plugin.js +3 -4
- package/libs/ModelChassisCompassPlugin/index.js +2 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +22 -23
- package/libs/ModelEntryDoorGuidePlugin/index.js +2 -0
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +4 -3
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +5 -6
- package/libs/ModelItemLabelPlugin/events.type.js +1 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +11 -10
- package/libs/ModelRoomLabelPlugin/index.js +0 -1
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -2
- package/libs/ModelTVVideoPlugin/index.js +2 -0
- package/libs/ModelViewPlugin/Plugin.js +1 -2
- package/libs/ModelViewPlugin/index.js +2 -0
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +6 -7
- package/libs/Object3DHelperPlugin/index.js +1 -6
- package/libs/PanoCompassPlugin/index.js +3 -4
- package/libs/PanoCursorRaycasterPlugin/index.js +7 -8
- package/libs/PanoDoorLabelPlugin/index.js +1 -2
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +17 -17
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +9 -9
- package/libs/PanoMeasurePlugin/Controller/index.js +8 -8
- package/libs/PanoMeasurePlugin/Model/index.js +3 -3
- package/libs/PanoMeasurePlugin/Model/line.js +11 -11
- package/libs/PanoMeasurePlugin/Model/point.js +7 -7
- package/libs/PanoMeasurePlugin/Model/polyline.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +5 -5
- package/libs/PanoMeasurePlugin/index.js +3 -4
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +2 -2
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
- package/libs/PanoMeasurePlugin/utils/line.js +0 -1
- package/libs/PanoMeasurePlugin/utils/math.js +1 -2
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
- package/libs/PanoRulerPlugin/Plugin.js +2 -3
- package/libs/PanoRulerPlugin/index.js +2 -0
- package/libs/PanoRulerPlugin/style.js +1 -1
- package/libs/PanoRulerProPlugin/Controller.js +15 -15
- package/libs/PanoRulerProPlugin/RulerItems.js +7 -4
- package/libs/PanoRulerProPlugin/index.js +3 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
- package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -3
- package/libs/PanoSpatialTagPlugin/index.js +6 -0
- package/libs/PanoSpatialTagPlugin/typings.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Media.js +43 -36
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +88 -78
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +5 -4
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +30 -27
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +20 -14
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +114 -92
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +71 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +62 -50
- package/libs/PanoTagPlugin/Components/Tag/index.js +92 -63
- package/libs/PanoTagPlugin/Components/TagContainer.js +108 -64
- package/libs/PanoTagPlugin/Components/TagWrapper.js +113 -75
- package/libs/PanoTagPlugin/controller/index.js +0 -1
- package/libs/PanoTagPlugin/index.js +3 -7
- package/libs/PanoTagPlugin/tag.config.js +1 -2
- package/libs/PanoTagPlugin/typings/controller.js +1 -0
- package/libs/PanoTagPlugin/typings/index.js +1 -0
- package/libs/PanoTagPlugin/utils/constants.js +1 -2
- package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
- package/libs/PanoTagPlugin/utils/index.js +1 -0
- package/libs/components/PaintBrush/Controller.js +3 -3
- package/libs/components/PaintBrush/style.js +1 -1
- package/libs/components/PaintBrush/tween.js +4 -4
- package/libs/components/index.js +2 -0
- package/libs/floorplan/Components/Camera.js +1 -1
- package/libs/floorplan/Components/CurrentFloor.js +51 -41
- package/libs/floorplan/Components/Main.js +41 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +3 -3
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +3 -2
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +37 -36
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +7 -7
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +7 -7
- package/libs/floorplan/ModelFloorplanPlugin/index.js +2 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +6 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +2 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -5
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/index.js +6 -0
- package/libs/floorplan/typings/floorplanData.js +1 -0
- package/libs/floorplan/utils/correctFiveState.js +19 -19
- package/libs/floorplan/utils/formatData.js +16 -16
- package/libs/floorplan/utils/formatPosition.js +7 -7
- package/libs/index.js +344 -90
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +2 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +1 -3
- package/libs/shared-utils/Object3DHelper/Constants/color.js +0 -1
- package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -2
- package/libs/shared-utils/Object3DHelper/Helper/index.js +3 -0
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -1
- package/libs/shared-utils/animationFrame/index.js +13 -16
- package/libs/shared-utils/animationFrame/tween.js +0 -2
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
- package/libs/shared-utils/createCanvasTextTexture.js +6 -6
- package/libs/shared-utils/createLine/index.js +3 -3
- package/libs/shared-utils/debounce.js +5 -5
- package/libs/shared-utils/equal.js +16 -16
- package/libs/shared-utils/filter.js +1 -1
- package/libs/shared-utils/five/changeMode.js +14 -14
- package/libs/shared-utils/getPxmm.js +7 -8
- package/libs/shared-utils/index.js +33 -29
- package/libs/shared-utils/isTruelyObject.js +1 -1
- package/libs/shared-utils/math/index.js +1 -0
- package/libs/shared-utils/math/planimetry.js +1 -6
- package/libs/shared-utils/math/rad2Deg.js +3 -3
- package/libs/shared-utils/nearlyEqual.js +3 -3
- package/libs/shared-utils/noop.js +1 -1
- package/libs/shared-utils/object3d2LocalMatrix.js +6 -7
- package/libs/shared-utils/removeArrayItem.js +5 -5
- package/libs/shared-utils/tap.js +3 -3
- package/libs/shared-utils/three/index.js +6 -0
- package/libs/shared-utils/three/transformPositionToVector3.js +2 -2
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +12 -12
- package/libs/shared-utils/throttle.js +2 -2
- package/libs/shared-utils/tinyEJSrender.js +7 -7
- package/libs/shared-utils/to.js +14 -15
- package/libs/shared-utils/uuid.js +0 -1
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/get-changed-params.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/get-params.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/mount-swiper.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/params-list.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/update-swiper.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/utils.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/svelte/swiper-slide.js +1 -1
- package/libs/vendor/swiper/svelte/swiper-svelte.js +3 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/svelte/swiper.js +1 -1
- package/package.json +19 -17
- package/dist/index.es.js +0 -16650
- package/dist/index.js +0 -16650
- package/dist/index.umd.js +0 -556
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
function
|
|
1
|
+
function u(t, n = 200) {
|
|
2
2
|
let e;
|
|
3
|
-
return function(...
|
|
3
|
+
return function(...o) {
|
|
4
4
|
clearTimeout(e), e = setTimeout(() => {
|
|
5
|
-
t(...
|
|
6
|
-
},
|
|
5
|
+
t(...o);
|
|
6
|
+
}, n);
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
u as debounce
|
|
11
11
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import s from "./isTruelyObject.js";
|
|
1
|
+
import { isTruelyObject as s } from "./isTruelyObject.js";
|
|
2
2
|
function u(r, e) {
|
|
3
3
|
return r === e ? !0 : typeof r != typeof e ? !1 : !!(Number.isNaN(r) && Number.isNaN(e));
|
|
4
4
|
}
|
|
5
5
|
function o(r, e) {
|
|
6
|
-
const
|
|
7
|
-
if (
|
|
6
|
+
const n = Object.getOwnPropertyNames(r), t = Object.getOwnPropertyNames(e);
|
|
7
|
+
if (n.length !== t.length)
|
|
8
8
|
return !1;
|
|
9
|
-
for (let f = 0, l =
|
|
10
|
-
const i =
|
|
9
|
+
for (let f = 0, l = n.length; f < l; f++) {
|
|
10
|
+
const i = n[f];
|
|
11
11
|
if (!u(r[i], e[i]))
|
|
12
12
|
return !1;
|
|
13
13
|
}
|
|
@@ -16,8 +16,8 @@ function o(r, e) {
|
|
|
16
16
|
function p(r, e) {
|
|
17
17
|
if (r.length !== e.length)
|
|
18
18
|
return !1;
|
|
19
|
-
for (let
|
|
20
|
-
if (!u(r[
|
|
19
|
+
for (let n = 0, t = r.length; n < t; n++)
|
|
20
|
+
if (!u(r[n], e[n]))
|
|
21
21
|
return !1;
|
|
22
22
|
return !0;
|
|
23
23
|
}
|
|
@@ -30,25 +30,25 @@ function a(r, e) {
|
|
|
30
30
|
function y(r, e) {
|
|
31
31
|
if (r.length !== e.length)
|
|
32
32
|
return !1;
|
|
33
|
-
for (let
|
|
34
|
-
if (!a(r[
|
|
33
|
+
for (let n = 0, t = r.length; n < t; n++)
|
|
34
|
+
if (!a(r[n], e[n]))
|
|
35
35
|
return !1;
|
|
36
36
|
return !0;
|
|
37
37
|
}
|
|
38
38
|
function g(r, e) {
|
|
39
|
-
const
|
|
40
|
-
if (
|
|
39
|
+
const n = Object.getOwnPropertyNames(r), t = Object.getOwnPropertyNames(e);
|
|
40
|
+
if (n.length !== t.length)
|
|
41
41
|
return !1;
|
|
42
|
-
for (let f = 0, l =
|
|
43
|
-
const i =
|
|
42
|
+
for (let f = 0, l = n.length; f < l; f++) {
|
|
43
|
+
const i = n[f];
|
|
44
44
|
if (!a(r[i], e[i]))
|
|
45
45
|
return !1;
|
|
46
46
|
}
|
|
47
47
|
return !0;
|
|
48
48
|
}
|
|
49
|
-
function b(r, e,
|
|
50
|
-
return
|
|
49
|
+
function b(r, e, n = { deep: !1 }) {
|
|
50
|
+
return n.deep ? a(r, e) : c(r, e);
|
|
51
51
|
}
|
|
52
52
|
export {
|
|
53
|
-
b as
|
|
53
|
+
b as equal
|
|
54
54
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var d = (n, c, o) => new Promise((u, t) => {
|
|
2
2
|
var f = (e) => {
|
|
3
3
|
try {
|
|
4
4
|
s(o.next(e));
|
|
@@ -11,29 +11,29 @@ var a = (n, u, o) => new Promise((c, t) => {
|
|
|
11
11
|
} catch (r) {
|
|
12
12
|
t(r);
|
|
13
13
|
}
|
|
14
|
-
}, s = (e) => e.done ?
|
|
15
|
-
s((o = o.apply(n,
|
|
14
|
+
}, s = (e) => e.done ? u(e.value) : Promise.resolve(e.value).then(f, m);
|
|
15
|
+
s((o = o.apply(n, c)).next());
|
|
16
16
|
});
|
|
17
|
-
import
|
|
18
|
-
function
|
|
19
|
-
return
|
|
20
|
-
yield new Promise((o,
|
|
21
|
-
n.changeMode(...
|
|
22
|
-
const t = n.getCurrentState(), f =
|
|
23
|
-
t.mode !== f &&
|
|
24
|
-
const e =
|
|
17
|
+
import { nearlyEqual as P } from "../nearlyEqual.js";
|
|
18
|
+
function p(n, c) {
|
|
19
|
+
return d(this, null, function* () {
|
|
20
|
+
yield new Promise((o, u) => {
|
|
21
|
+
n.changeMode(...c).catch((t) => u(t)), n.once("initAnimationEnded", () => {
|
|
22
|
+
const t = n.getCurrentState(), f = c[0];
|
|
23
|
+
t.mode !== f && u(new Error("mode \u4E0E\u9884\u671F\u4E0D\u7B26")), (() => {
|
|
24
|
+
const e = c[1];
|
|
25
25
|
return e ? Object.keys(e).every((r) => {
|
|
26
26
|
const i = t[r];
|
|
27
27
|
if (i === void 0)
|
|
28
28
|
return !0;
|
|
29
29
|
const E = e[r];
|
|
30
|
-
return typeof i == "number" && typeof E == "number" ?
|
|
30
|
+
return typeof i == "number" && typeof E == "number" ? P(i, E, 2) : i === E;
|
|
31
31
|
}) : !0;
|
|
32
|
-
})() ||
|
|
32
|
+
})() || u(new Error("five pose \u4E0E\u9884\u671F\u4E0D\u7B26")), o();
|
|
33
33
|
});
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
p as changeMode
|
|
39
39
|
};
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { FLOOR_PLAN_ATTACHED_TO as m } from "../floorplan/constant.js";
|
|
2
2
|
import * as c from "three";
|
|
3
|
-
function
|
|
3
|
+
function s(o, t) {
|
|
4
4
|
const r = Math.max(...o.work.observers.map((n) => n.floorIndex));
|
|
5
5
|
return t > r ? o.model.bounding.max.y : Math.max(
|
|
6
6
|
...o.work.observers.filter((n) => n.floorIndex === t).map((n) => n.standingPosition.y)
|
|
7
7
|
);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
const n =
|
|
9
|
+
function l(o, t, r = m.BOUNDING_CENTER) {
|
|
10
|
+
const n = s(o, t), e = s(o, t + 1);
|
|
11
11
|
return r === m.BOUNDING_CENTER ? (o.model.bounding.max.y + o.model.bounding.min.y) / 2 : r === m.CEILING ? e : n;
|
|
12
12
|
}
|
|
13
13
|
function E(o, t, r, n) {
|
|
14
|
-
const e =
|
|
15
|
-
return Math.abs((
|
|
14
|
+
const e = l(o, r, n == null ? void 0 : n.attachedTo), a = new c.Vector3(0, e, 0), i = new c.Vector3(1, e, 0), u = a.clone().project(o.camera), x = i.clone().project(o.camera);
|
|
15
|
+
return Math.abs((x.x - u.x) / 1e3) * (t.getBoundingClientRect().width / 2);
|
|
16
16
|
}
|
|
17
17
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
a as getFloorY
|
|
18
|
+
l as getAttachedY,
|
|
19
|
+
E as getPxmm
|
|
21
20
|
};
|
|
@@ -1,31 +1,35 @@
|
|
|
1
|
-
import { Interval as
|
|
2
|
-
import { Rectangle as
|
|
3
|
-
import { Magnifier as
|
|
4
|
-
import { getCoordsFromClient as
|
|
5
|
-
import { getRaycasterFromFivePointer as
|
|
6
|
-
import { getIntersectFromRelativePosition as
|
|
7
|
-
import { PointHelper as
|
|
8
|
-
import { PointDomHelper as
|
|
9
|
-
import { FivePointSelector as
|
|
10
|
-
import { isNil as
|
|
11
|
-
import {
|
|
12
|
-
import { BetterTween as
|
|
1
|
+
import { Interval as e } from "./math/Interval.js";
|
|
2
|
+
import { Rectangle as r } from "./math/Rectangle.js";
|
|
3
|
+
import { Magnifier as o } from "./three/Magnifier.js";
|
|
4
|
+
import { getCoordsFromClient as t, getCoordsFromElement as m } from "./three/getCoords.js";
|
|
5
|
+
import { getRaycasterFromFivePointer as i } from "./three/getRaycaster.js";
|
|
6
|
+
import { getIntersectFromRelativePosition as n } from "./three/getIntersect.js";
|
|
7
|
+
import { PointHelper as p } from "./three/PointHelper.js";
|
|
8
|
+
import { PointDomHelper as l } from "./three/PointDomHelper.js";
|
|
9
|
+
import { FivePointSelector as f } from "./three/FivePointSelector.js";
|
|
10
|
+
import { isNil as a, notNil as g } from "./isNil.js";
|
|
11
|
+
import { nextFrame as s, requestAnimationFrameInterval as F, getFrameTime as c } from "./animationFrame/index.js";
|
|
12
|
+
import { BetterTween as P, tweenProgress as v } from "./animationFrame/BetterTween.js";
|
|
13
|
+
const w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14
|
+
__proto__: null,
|
|
15
|
+
Interval: e,
|
|
16
|
+
Rectangle: r,
|
|
17
|
+
Magnifier: o,
|
|
18
|
+
getCoordsFromClient: t,
|
|
19
|
+
getCoordsFromElement: m,
|
|
20
|
+
getRaycasterFromFivePointer: i,
|
|
21
|
+
getIntersectFromRelativePosition: n,
|
|
22
|
+
PointHelper: p,
|
|
23
|
+
PointDomHelper: l,
|
|
24
|
+
FivePointSelector: f,
|
|
25
|
+
isNil: a,
|
|
26
|
+
notNil: g,
|
|
27
|
+
BetterTween: P,
|
|
28
|
+
tweenProgress: v,
|
|
29
|
+
nextFrame: s,
|
|
30
|
+
requestAnimationFrameInterval: F,
|
|
31
|
+
getFrameTime: c
|
|
32
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
13
33
|
export {
|
|
14
|
-
|
|
15
|
-
I as FivePointSelector,
|
|
16
|
-
o as Interval,
|
|
17
|
-
n as Magnifier,
|
|
18
|
-
c as PointDomHelper,
|
|
19
|
-
P as PointHelper,
|
|
20
|
-
m as Rectangle,
|
|
21
|
-
f as getCoordsFromClient,
|
|
22
|
-
x as getCoordsFromElement,
|
|
23
|
-
N as getFrameTime,
|
|
24
|
-
F as getIntersectFromRelativePosition,
|
|
25
|
-
l as getRaycasterFromFivePointer,
|
|
26
|
-
d as isNil,
|
|
27
|
-
T as nextFrame,
|
|
28
|
-
w as notNil,
|
|
29
|
-
q as requestAnimationFrameInterval,
|
|
30
|
-
A as tweenProgress
|
|
34
|
+
w as index
|
|
31
35
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -39,10 +39,5 @@ function L(r, x) {
|
|
|
39
39
|
return Math.max(r[0].x, r[1].x) >= Math.min(x[0].x, x[1].x) && Math.max(x[0].x, x[1].x) >= Math.min(r[0].x, r[1].x) && Math.max(r[0].y, r[1].y) >= Math.min(x[0].y, x[1].y) && M(x[0], r[1], r[0]) * M(r[1], x[1], r[0]) > 0 && M(r[0], x[1], x[0]) * M(x[1], r[1], x[0]) > 0 ? 1 : 0;
|
|
40
40
|
}
|
|
41
41
|
export {
|
|
42
|
-
|
|
43
|
-
O as intersectionOfLine,
|
|
44
|
-
L as isIntersect,
|
|
45
|
-
h as pointOnLine,
|
|
46
|
-
N as sameK,
|
|
47
|
-
I as samePointAt
|
|
42
|
+
O as intersectionOfLine
|
|
48
43
|
};
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as f from "three";
|
|
2
2
|
const n = (t, a, i) => {
|
|
3
|
-
const r = new
|
|
3
|
+
const r = new f.Matrix4(), x = new f.Euler(t, a, i, "YXZ");
|
|
4
4
|
return r.makeRotationFromEuler(x), r;
|
|
5
|
-
},
|
|
5
|
+
}, p = (t, {
|
|
6
6
|
scale: a,
|
|
7
7
|
rotation: i,
|
|
8
8
|
position: r
|
|
9
9
|
}) => {
|
|
10
10
|
if (a && t.scale.set(a, a, a), i) {
|
|
11
|
-
const [x,
|
|
12
|
-
x && t.applyMatrix4(n(x, 0, 0)),
|
|
11
|
+
const [x, o, e] = i;
|
|
12
|
+
x && t.applyMatrix4(n(x, 0, 0)), o && t.applyMatrix4(n(0, o, 0)), e && t.applyMatrix4(n(0, 0, e));
|
|
13
13
|
}
|
|
14
14
|
return r && t.position.set(r.x, r.y, r.z), t;
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
|
-
|
|
18
|
-
n as genRotationMatrix
|
|
17
|
+
p as bject3d2LocalMatrix
|
|
19
18
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
function
|
|
2
|
-
for (let e = 0,
|
|
3
|
-
if (
|
|
4
|
-
return
|
|
1
|
+
function l(t, n) {
|
|
2
|
+
for (let e = 0, i = n.length; e < i; e++)
|
|
3
|
+
if (t === n[e])
|
|
4
|
+
return n.splice(e, 1)[0];
|
|
5
5
|
}
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
l as removeArrayItem
|
|
8
8
|
};
|
package/libs/shared-utils/tap.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
var p = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var i = Object.getOwnPropertySymbols;
|
|
3
3
|
var d = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
5
|
-
for (var r in
|
|
6
|
-
d.call(
|
|
7
|
-
if (
|
|
8
|
-
for (var r of
|
|
9
|
-
f.call(
|
|
10
|
-
return
|
|
4
|
+
var s = (a, e, r) => e in a ? p(a, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[e] = r, m = (a, e) => {
|
|
5
|
+
for (var r in e || (e = {}))
|
|
6
|
+
d.call(e, r) && s(a, r, e[r]);
|
|
7
|
+
if (i)
|
|
8
|
+
for (var r of i(e))
|
|
9
|
+
f.call(e, r) && s(a, r, e[r]);
|
|
10
|
+
return a;
|
|
11
11
|
};
|
|
12
12
|
import { MeshBasicMaterial as M } from "three";
|
|
13
|
-
function O(
|
|
14
|
-
|
|
13
|
+
function O(a, e) {
|
|
14
|
+
a.traverse((r) => {
|
|
15
15
|
var n;
|
|
16
16
|
if (r.type === "Mesh") {
|
|
17
|
-
const t = r, o = m({ map: t.material.map || {} },
|
|
17
|
+
const t = r, o = m({ map: t.material.map || {} }, e);
|
|
18
18
|
t.material = new M(o), t.renderOrder = 1, ((n = r.parent) == null ? void 0 : n.type) === "Mesh" && (r.renderOrder = r.parent.renderOrder + 1);
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
export {
|
|
23
|
-
O as
|
|
23
|
+
O as transfromToMeshBasicMaterial
|
|
24
24
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (n, e, t) => (
|
|
4
|
-
const i = "<", h = ">", _ = "%", d = "locals",
|
|
1
|
+
var m = Object.defineProperty;
|
|
2
|
+
var f = (n, e, t) => e in n ? m(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
|
+
var o = (n, e, t) => (f(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
+
const i = "<", h = ">", _ = "%", d = "locals", L = "(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)", l = {
|
|
5
5
|
"&": "&",
|
|
6
6
|
"<": "<",
|
|
7
7
|
">": ">",
|
|
@@ -27,7 +27,7 @@ class T {
|
|
|
27
27
|
o(this, "truncate", !1);
|
|
28
28
|
o(this, "currentLine", 1);
|
|
29
29
|
o(this, "source", "");
|
|
30
|
-
o(this, "regex", new RegExp(
|
|
30
|
+
o(this, "regex", new RegExp(L));
|
|
31
31
|
this.templateText = e;
|
|
32
32
|
}
|
|
33
33
|
compileFunction() {
|
|
@@ -39,7 +39,7 @@ class T {
|
|
|
39
39
|
return __output;
|
|
40
40
|
`, c = function(r) {
|
|
41
41
|
return r == null ? "" : String(r).replace(/[&<>'"]/g, function(p) {
|
|
42
|
-
return
|
|
42
|
+
return l[p] || p;
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
return this._generateSource(), this.source = t + this.source + s, e = this.source, e = "escapeFn = escapeFn || " + c.toString() + `;
|
|
@@ -136,5 +136,5 @@ class T {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
export {
|
|
139
|
-
g as
|
|
139
|
+
g as render
|
|
140
140
|
};
|
package/libs/shared-utils/to.js
CHANGED
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var c = (a, n, t) => new Promise((l, u) => {
|
|
2
|
+
var i = (r) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
5
|
-
} catch (
|
|
6
|
-
u(
|
|
4
|
+
o(t.next(r));
|
|
5
|
+
} catch (e) {
|
|
6
|
+
u(e);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, f = (r) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
11
|
-
} catch (
|
|
12
|
-
u(
|
|
10
|
+
o(t.throw(r));
|
|
11
|
+
} catch (e) {
|
|
12
|
+
u(e);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, o = (r) => r.done ? l(r.value) : Promise.resolve(r.value).then(i, f);
|
|
15
|
+
o((t = t.apply(a, n)).next());
|
|
16
16
|
});
|
|
17
17
|
function d(a) {
|
|
18
|
-
return
|
|
18
|
+
return c(this, null, function* () {
|
|
19
19
|
try {
|
|
20
20
|
return [null, yield a];
|
|
21
|
-
} catch (
|
|
22
|
-
return
|
|
21
|
+
} catch (n) {
|
|
22
|
+
return n instanceof Error ? [n, null] : [new Error(""), null];
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
export {
|
|
27
|
-
d as default,
|
|
28
27
|
d as to
|
|
29
28
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -8,20 +8,8 @@
|
|
|
8
8
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
9
9
|
"description": "如视 VR 看房插件合集",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "2.1.2-alpha.
|
|
11
|
+
"version": "2.1.2-alpha.10",
|
|
12
12
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
13
|
-
"scripts": {
|
|
14
|
-
"dev": "run-p dev:*",
|
|
15
|
-
"dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
|
|
16
|
-
"dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
|
|
17
|
-
"dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
|
|
18
|
-
"build": "run-p build:*",
|
|
19
|
-
"build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
|
|
20
|
-
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
21
|
-
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
22
|
-
"docs": "typedoc --options ./typedoc.json",
|
|
23
|
-
"prepublishOnly": "run-p build docs"
|
|
24
|
-
},
|
|
25
13
|
"files": [
|
|
26
14
|
"libs",
|
|
27
15
|
"dist",
|
|
@@ -35,6 +23,7 @@
|
|
|
35
23
|
"devDependencies": {
|
|
36
24
|
"@babel/core": "^7.17.5",
|
|
37
25
|
"@realsee/five": "5.0.0-alpha.162",
|
|
26
|
+
"@rollup/plugin-commonjs": "^23.0.2",
|
|
38
27
|
"@sveltejs/vite-plugin-svelte": "^1.1.0",
|
|
39
28
|
"@tsconfig/svelte": "^3.0.0",
|
|
40
29
|
"@types/animejs": "^3.1.6",
|
|
@@ -60,13 +49,13 @@
|
|
|
60
49
|
"sass": "^1.54.5",
|
|
61
50
|
"stylelint": "^14.14.0",
|
|
62
51
|
"stylelint-config-prettier": "^9.0.3",
|
|
63
|
-
"svelte": "3.49.0",
|
|
64
52
|
"svelte-dts": "^0.3.7",
|
|
65
53
|
"svelte-preprocess": "^4.10.7",
|
|
54
|
+
"terser": "^5.15.1",
|
|
66
55
|
"three": "0.117.1",
|
|
67
56
|
"typedoc": "^0.23.20",
|
|
68
57
|
"typescript": "^4.8.4",
|
|
69
|
-
"vite": "
|
|
58
|
+
"vite": "3.2.3",
|
|
70
59
|
"vite-plugin-cp": "^1.0.0",
|
|
71
60
|
"vite-plugin-dts": "^1.7.0"
|
|
72
61
|
},
|
|
@@ -77,12 +66,25 @@
|
|
|
77
66
|
"hammerjs": "^2.0.8",
|
|
78
67
|
"object-assign-deep": "0.4.0",
|
|
79
68
|
"polyline-normals": "^2.0.2",
|
|
69
|
+
"svelte": "3.49.0",
|
|
80
70
|
"swiper": "8.4.4",
|
|
81
71
|
"tslib": "^2.4.1",
|
|
82
72
|
"type-fest": "3.2.0"
|
|
83
73
|
},
|
|
84
74
|
"peerDependencies": {
|
|
85
|
-
"@realsee/five": "
|
|
75
|
+
"@realsee/five": ">=^5.0.0",
|
|
86
76
|
"three": ">=0.115.0 <=0.117.1"
|
|
77
|
+
},
|
|
78
|
+
"scripts": {
|
|
79
|
+
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
80
|
+
"dev": "run-p dev:*",
|
|
81
|
+
"dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
|
|
82
|
+
"dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
|
|
83
|
+
"dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
|
|
84
|
+
"build": "run-p build:*",
|
|
85
|
+
"build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
|
|
86
|
+
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
87
|
+
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
88
|
+
"docs": "typedoc --options ./typedoc.json"
|
|
87
89
|
}
|
|
88
|
-
}
|
|
90
|
+
}
|