@realsee/dnalogel 2.6.7-dev.0 → 2.6.7-dev.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 +0 -20
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +5 -4
- package/dist/PanoTagPlugin/controller/index.d.ts +2 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -1
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
- package/dist/index.cjs.js +55 -52
- package/dist/index.js +6760 -6030
- package/dist/index.umd.js +51 -48
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +2 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +264 -44
- 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 +18 -18
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/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 +4 -12
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +12 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCache.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/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/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/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 +60 -56
- package/libs/CruisePlugin/Controller.js +26 -26
- package/libs/GuideLinePlugin/Controller.js +43 -43
- package/libs/PanoTagPlugin/Components/Common/Media.js +235 -313
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +89 -72
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +86 -72
- package/libs/PanoTagPlugin/Components/Tag/index.js +84 -66
- package/libs/PanoTagPlugin/Components/TagContainer.js +98 -80
- package/libs/PanoTagPlugin/Components/TagItem.js +69 -51
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +5 -4
- package/libs/PanoTagPlugin/controller/TagComputer.js +111 -102
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -0
- package/libs/PanoTagPlugin/controller/index.js +185 -160
- package/libs/PanoTagPlugin/index.js +41 -24
- package/libs/PanoTagPlugin/tag.config.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -1
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
- package/libs/index.js +130 -113
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +38 -38
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +26 -23
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +2 -0
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js +28 -22
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +12 -12
- package/libs/vendor/simply-reactive/main.js +3 -0
- package/libs/vendor/simply-reactive/src/simply-reactive.js +44 -0
- package/libs/vendor/simply-reactive/src/utils/object.js +12 -0
- package/libs/vendor/simply-reactive/src/utils/subscription.js +28 -0
- package/libs/vendor/simply-reactive/src/utils/watcher.js +17 -0
- package/libs/vendor/svelte/internal/index.js +267 -274
- package/libs/vendor/svelte-carousel/src/actions/hoverable/event.js +18 -0
- package/libs/vendor/svelte-carousel/src/actions/hoverable/hoverable.js +19 -0
- package/libs/vendor/svelte-carousel/src/actions/hoverable/index.js +1 -0
- package/libs/vendor/svelte-carousel/src/actions/swipeable/event.js +26 -0
- package/libs/vendor/svelte-carousel/src/actions/swipeable/index.js +1 -0
- package/libs/vendor/svelte-carousel/src/actions/swipeable/swipeable.js +51 -0
- package/libs/vendor/svelte-carousel/src/actions/tappable/event.js +18 -0
- package/libs/vendor/svelte-carousel/src/actions/tappable/index.js +1 -0
- package/libs/vendor/svelte-carousel/src/actions/tappable/tappable.js +36 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -0
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +522 -0
- package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +255 -0
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +42 -0
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +104 -0
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +40 -0
- package/libs/vendor/svelte-carousel/src/direction.js +5 -0
- package/libs/vendor/svelte-carousel/src/main.js +1 -0
- package/libs/vendor/svelte-carousel/src/units.js +7 -0
- package/libs/vendor/svelte-carousel/src/utils/ProgressManager.js +52 -0
- package/libs/vendor/svelte-carousel/src/utils/clones.js +59 -0
- package/libs/vendor/svelte-carousel/src/utils/event.js +12 -0
- package/libs/vendor/svelte-carousel/src/utils/interval.js +4 -0
- package/libs/vendor/svelte-carousel/src/utils/lazy.js +45 -0
- package/libs/vendor/svelte-carousel/src/utils/math.js +11 -0
- package/libs/vendor/svelte-carousel/src/utils/object.js +13 -0
- package/libs/vendor/svelte-carousel/src/utils/page.js +154 -0
- package/package.json +5 -2
- package/dist/PanoTagPlugin/utils/tag/index.d.ts +0 -2
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
- package/libs/PanoTagPlugin/utils/tag/index.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/tag/index.js +0 -11
- package/libs/vendor/swiper/components-shared/get-changed-params.js +0 -29
- package/libs/vendor/swiper/components-shared/get-params.js +0 -23
- package/libs/vendor/swiper/components-shared/mount-swiper.js +0 -14
- package/libs/vendor/swiper/components-shared/params-list.js +0 -120
- package/libs/vendor/swiper/components-shared/update-swiper.js +0 -36
- package/libs/vendor/swiper/components-shared/utils.js +0 -32
- package/libs/vendor/swiper/svelte/swiper-slide.js +0 -181
- package/libs/vendor/swiper/svelte/swiper-svelte.js +0 -2
- package/libs/vendor/swiper/svelte/swiper.js +0 -253
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import t from "./controller/index.js";
|
|
2
|
-
import { default as
|
|
2
|
+
import { default as Tr, pluginFlag as sr } from "./controller/index.js";
|
|
3
3
|
import "@realsee/five/gltf-loader";
|
|
4
|
-
import { ContentType as
|
|
5
|
-
import { DimensionType as
|
|
4
|
+
import { ContentType as yr } from "./typings/tag/TagData.js";
|
|
5
|
+
import { DimensionType as dr, PointType as cr } from "./typings/tag/Utils.js";
|
|
6
6
|
import "@realsee/five";
|
|
7
7
|
import "three";
|
|
8
8
|
import "object-assign-deep";
|
|
@@ -33,18 +33,35 @@ import "./utils/px2rem.js";
|
|
|
33
33
|
import "./Components/Tag/ImageTextTag.js";
|
|
34
34
|
import "./Components/Common/Line/Polyline.js";
|
|
35
35
|
import "./Components/Common/Media.js";
|
|
36
|
-
import "../vendor/
|
|
37
|
-
import "
|
|
38
|
-
import "../vendor/
|
|
39
|
-
import "../vendor/
|
|
40
|
-
import "../vendor/
|
|
41
|
-
import "../vendor/
|
|
42
|
-
import "../vendor/
|
|
43
|
-
import "../vendor/
|
|
44
|
-
import "../vendor/
|
|
45
|
-
import "
|
|
46
|
-
import "
|
|
47
|
-
import "
|
|
36
|
+
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
37
|
+
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
38
|
+
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
39
|
+
import "../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
|
|
40
|
+
import "../vendor/svelte-carousel/src/direction.js";
|
|
41
|
+
import "../vendor/svelte-carousel/src/components/Progress/Progress.js";
|
|
42
|
+
import "../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
|
|
43
|
+
import "../vendor/svelte-carousel/src/actions/swipeable/event.js";
|
|
44
|
+
import "../vendor/svelte-carousel/src/utils/event.js";
|
|
45
|
+
import "../vendor/svelte-carousel/src/units.js";
|
|
46
|
+
import "../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
|
|
47
|
+
import "../vendor/svelte-carousel/src/actions/hoverable/event.js";
|
|
48
|
+
import "../vendor/svelte-carousel/src/actions/tappable/tappable.js";
|
|
49
|
+
import "../vendor/svelte-carousel/src/utils/math.js";
|
|
50
|
+
import "../vendor/svelte-carousel/src/actions/tappable/event.js";
|
|
51
|
+
import "../vendor/svelte-carousel/src/utils/page.js";
|
|
52
|
+
import "../vendor/svelte-carousel/src/utils/clones.js";
|
|
53
|
+
import "../vendor/svelte-carousel/src/utils/object.js";
|
|
54
|
+
import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
55
|
+
import "../vendor/simply-reactive/src/simply-reactive.js";
|
|
56
|
+
import "lodash.get";
|
|
57
|
+
import "lodash.clonedeep";
|
|
58
|
+
import "../vendor/simply-reactive/src/utils/subscription.js";
|
|
59
|
+
import "../vendor/simply-reactive/src/utils/object.js";
|
|
60
|
+
import "lodash.isequal";
|
|
61
|
+
import "../vendor/simply-reactive/src/utils/watcher.js";
|
|
62
|
+
import "../vendor/svelte-carousel/src/utils/lazy.js";
|
|
63
|
+
import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
64
|
+
import "../vendor/svelte-carousel/src/utils/interval.js";
|
|
48
65
|
import "./Components/Common/MediaItem.js";
|
|
49
66
|
import "./Components/Tag/MarketingTag.js";
|
|
50
67
|
import "hammerjs";
|
|
@@ -65,6 +82,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
65
82
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
66
83
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
67
84
|
import "../shared-utils/animationFrame/index.js";
|
|
85
|
+
import "./utils/noTypecheck.js";
|
|
68
86
|
import "./utils/tag/tagCheck.js";
|
|
69
87
|
import "./Components/Tag/AudioTag/index.js";
|
|
70
88
|
import "./Components/Tag/AudioTag/AudioTag.js";
|
|
@@ -98,14 +116,13 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
98
116
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
99
117
|
import "./utils/tag/format.js";
|
|
100
118
|
import "../shared-utils/three/GLTFLoader.js";
|
|
101
|
-
|
|
102
|
-
const Wo = (o, r) => new t(o, r);
|
|
119
|
+
const Pr = (o, r) => new t(o, r);
|
|
103
120
|
export {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
121
|
+
yr as ContentType,
|
|
122
|
+
dr as DimensionType,
|
|
123
|
+
Pr as PanoTagPlugin,
|
|
124
|
+
Tr as PanoTagPluginController,
|
|
125
|
+
cr as PointType,
|
|
126
|
+
Pr as default,
|
|
127
|
+
sr as pluginFlag
|
|
111
128
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Create3DDomContainerParamsType } from '../../../CSS3DRenderPlugin/Controller';
|
|
2
|
-
import type { Five } from '@realsee/five';
|
|
2
|
+
import type { Five, Mode } from '@realsee/five';
|
|
3
3
|
import type { TagContentType } from './TagData';
|
|
4
4
|
import type { Tag } from './Tag';
|
|
5
5
|
import type { MinMax, StickType } from './Utils';
|
|
@@ -8,6 +8,7 @@ export interface TagConfig<C extends TagContentType = TagContentType, S extends
|
|
|
8
8
|
visibleConfig?: {
|
|
9
9
|
/** 保持可见/不可见, 设置后visibleConfig下所有其他配置都不生效 */
|
|
10
10
|
keep?: 'visible' | 'hidden';
|
|
11
|
+
visibleFiveMode?: Mode[];
|
|
11
12
|
/** 走点时不隐藏 */
|
|
12
13
|
alwaysShowWhenMovePano?: true;
|
|
13
14
|
/** min-max米内显示 | 无距离限制 */
|
|
@@ -132,7 +132,7 @@ interface ContentTypeMapInterface {
|
|
|
132
132
|
* @deprecated replaced by objectFit
|
|
133
133
|
*/
|
|
134
134
|
adaptationMode?: 'stretch' | 'proportional';
|
|
135
|
-
/**
|
|
135
|
+
/** 多媒体在容器中的适配规则 {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
136
136
|
objectFit?: ObjectFit;
|
|
137
137
|
/**
|
|
138
138
|
* @description 是否开启自动轮播
|
|
@@ -153,15 +153,15 @@ interface ContentTypeMapInterface {
|
|
|
153
153
|
};
|
|
154
154
|
MediaModel: {
|
|
155
155
|
modelUrl: string;
|
|
156
|
-
|
|
156
|
+
mediaData: MediaData[];
|
|
157
157
|
mediaPosition: [Position, Position, Position, Position];
|
|
158
|
-
|
|
158
|
+
matrix?: number[];
|
|
159
|
+
/** 多媒体在容器中的适配规则 {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
159
160
|
objectFit?: ObjectFit;
|
|
160
161
|
action?: {
|
|
161
162
|
url: string;
|
|
162
163
|
type: 'iframe' | 'window';
|
|
163
164
|
};
|
|
164
|
-
mediaData: MediaData[];
|
|
165
165
|
};
|
|
166
166
|
Custom: Object;
|
|
167
167
|
Unknown: Object;
|
package/libs/index.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { PaintBrush as
|
|
2
|
-
import { PaintBrushTypeEnum as
|
|
3
|
-
import { ModelViewPlugin as
|
|
4
|
-
import { CSS3DRenderPlugin as
|
|
5
|
-
import { PanoCursorRaycasterPlugin as
|
|
6
|
-
import { ModelRoomLabelPlugin as
|
|
7
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
8
|
-
import { ModelFloorplanPlugin as
|
|
9
|
-
import { MapviewFloorplanPlugin as
|
|
10
|
-
import { TopviewFloorplanPlugin as
|
|
11
|
-
import { PanoFloorplanRadarPlugin as
|
|
12
|
-
import { FLOOR_TYPE_MAP as
|
|
13
|
-
import { ModelChassisCompassPlugin as
|
|
14
|
-
import { ModelEntryDoorGuidePlugin as
|
|
15
|
-
import { CameraMovementPlugin as
|
|
16
|
-
import { CameraMovementEffect as
|
|
17
|
-
import { PanoRulerPlugin as
|
|
18
|
-
import { PanoRulerProPlugin as
|
|
19
|
-
import { PanoCompassPlugin as
|
|
20
|
-
import { PanoMeasurePlugin as
|
|
21
|
-
import { PanoSpatialTagPlugin as
|
|
22
|
-
import { modelItemLabelPluginServerParams as
|
|
23
|
-
import { ModelTVVideoPlugin as
|
|
24
|
-
import { DIRECTION as
|
|
25
|
-
import { itemLabelPluginServerParams as
|
|
26
|
-
import { PanoDoorLabelPlugin as
|
|
27
|
-
import { GuideLinePlugin as
|
|
28
|
-
import { CruisePlugin as
|
|
29
|
-
import { PanoTagPlugin as
|
|
30
|
-
import { Object3DHelperPlugin as
|
|
31
|
-
import { index as
|
|
32
|
-
import { CSS3DRender as
|
|
33
|
-
import { Model as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { Polyline as
|
|
37
|
-
import { default as
|
|
38
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
39
|
-
import { ModelItemLabelPlugin as
|
|
40
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
41
|
-
import { Plugin as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { ContentType as
|
|
45
|
-
import { DimensionType as
|
|
46
|
-
import { Object3DHelperController as
|
|
1
|
+
import { PaintBrush as Sp } from "./components/PaintBrush/index.js";
|
|
2
|
+
import { PaintBrushTypeEnum as Ap } from "./components/PaintBrush/typings.js";
|
|
3
|
+
import { ModelViewPlugin as bp } from "./ModelViewPlugin/Plugin.js";
|
|
4
|
+
import { CSS3DRenderPlugin as yp } from "./CSS3DRenderPlugin/index.js";
|
|
5
|
+
import { PanoCursorRaycasterPlugin as vp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
6
|
+
import { ModelRoomLabelPlugin as Np, modelRoomLabelPluginServerParams as cp } from "./ModelRoomLabelPlugin/index.js";
|
|
7
|
+
import { FLOOR_PLAN_ATTACHED_TO as hp } from "./floorplan/constant.js";
|
|
8
|
+
import { ModelFloorplanPlugin as Bp } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
9
|
+
import { MapviewFloorplanPlugin as Up } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
10
|
+
import { TopviewFloorplanPlugin as kp } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
11
|
+
import { PanoFloorplanRadarPlugin as zp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
12
|
+
import { FLOOR_TYPE_MAP as Kp, ROOM_FETILE_TYPE_MAP as Qp, ROOM_TYPE_MAP as Wp } from "./floorplan/typings/floorplanServerData.js";
|
|
13
|
+
import { ModelChassisCompassPlugin as Zp } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
14
|
+
import { ModelEntryDoorGuidePlugin as oi } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
|
+
import { CameraMovementPlugin as ti } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
|
+
import { CameraMovementEffect as pi, Rotation as ii } from "./CameraMovementPlugin/typing.js";
|
|
17
|
+
import { PanoRulerPlugin as li } from "./PanoRulerPlugin/Plugin.js";
|
|
18
|
+
import { PanoRulerProPlugin as ai } from "./PanoRulerProPlugin/index.js";
|
|
19
|
+
import { PanoCompassPlugin as ui } from "./PanoCompassPlugin/index.js";
|
|
20
|
+
import { PanoMeasurePlugin as xi } from "./PanoMeasurePlugin/index.js";
|
|
21
|
+
import { PanoSpatialTagPlugin as si } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
|
+
import { modelItemLabelPluginServerParams as Ti } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
+
import { ModelTVVideoPlugin as Li } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
|
+
import { DIRECTION as Ri } from "./ModelTVVideoPlugin/typings.js";
|
|
25
|
+
import { itemLabelPluginServerParams as Ci } from "./ItemLabelPlugin/index.js";
|
|
26
|
+
import { PanoDoorLabelPlugin as Si } from "./PanoDoorLabelPlugin/index.js";
|
|
27
|
+
import { GuideLinePlugin as Ai } from "./GuideLinePlugin/index.js";
|
|
28
|
+
import { CruisePlugin as bi } from "./CruisePlugin/index.js";
|
|
29
|
+
import { PanoTagPlugin as yi } from "./PanoTagPlugin/index.js";
|
|
30
|
+
import { Object3DHelperPlugin as vi } from "./Object3DHelperPlugin/index.js";
|
|
31
|
+
import { index as Ni } from "./shared-utils/index.js";
|
|
32
|
+
import { CSS3DRender as Vi } from "./CSS3DRenderPlugin/CSS3DRender.js";
|
|
33
|
+
import { Model as wi } from "./PanoMeasurePlugin/Model/index.js";
|
|
34
|
+
import { default as Hi } from "./PanoMeasurePlugin/Model/point.js";
|
|
35
|
+
import { default as ji } from "./PanoMeasurePlugin/Model/line.js";
|
|
36
|
+
import { Polyline as qi } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
37
|
+
import { default as Ji } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
38
|
+
import { DISPLAY_STRATEGY_TYPE as Qi } from "./ModelItemLabelPlugin/typings.js";
|
|
39
|
+
import { ModelItemLabelPlugin as Xi } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
40
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as $i } from "./ItemLabelPlugin/typings.js";
|
|
41
|
+
import { Plugin as re } from "./ItemLabelPlugin/Plugin.js";
|
|
42
|
+
import { default as me } from "./CruisePlugin/Controller.js";
|
|
43
|
+
import { default as ie, pluginFlag as ee } from "./PanoTagPlugin/controller/index.js";
|
|
44
|
+
import { ContentType as ne } from "./PanoTagPlugin/typings/tag/TagData.js";
|
|
45
|
+
import { DimensionType as Pe, PointType as ue } from "./PanoTagPlugin/typings/tag/Utils.js";
|
|
46
|
+
import { Object3DHelperController as xe, PLUGIN as ge, VERSION as se } from "./Object3DHelperPlugin/Controller.js";
|
|
47
47
|
import "./components/PaintBrush/Controller.js";
|
|
48
48
|
import "./components/PaintBrush/utils.js";
|
|
49
49
|
import "./components/PaintBrush/tween.js";
|
|
@@ -239,20 +239,38 @@ import "./PanoTagPlugin/utils/px2rem.js";
|
|
|
239
239
|
import "./PanoTagPlugin/Components/Tag/ImageTextTag.js";
|
|
240
240
|
import "./PanoTagPlugin/Components/Common/Line/Polyline.js";
|
|
241
241
|
import "./PanoTagPlugin/Components/Common/Media.js";
|
|
242
|
-
import "./vendor/
|
|
243
|
-
import "
|
|
244
|
-
import "./vendor/
|
|
245
|
-
import "./vendor/
|
|
246
|
-
import "./vendor/
|
|
247
|
-
import "./vendor/
|
|
248
|
-
import "./vendor/
|
|
249
|
-
import "./vendor/
|
|
250
|
-
import "./vendor/
|
|
251
|
-
import "
|
|
252
|
-
import "
|
|
253
|
-
import "./
|
|
242
|
+
import "./vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
243
|
+
import "./vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
244
|
+
import "./vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
245
|
+
import "./vendor/svelte-carousel/src/components/Arrow/Arrow.js";
|
|
246
|
+
import "./vendor/svelte-carousel/src/direction.js";
|
|
247
|
+
import "./vendor/svelte-carousel/src/components/Progress/Progress.js";
|
|
248
|
+
import "./vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
|
|
249
|
+
import "./vendor/svelte-carousel/src/actions/swipeable/event.js";
|
|
250
|
+
import "./vendor/svelte-carousel/src/utils/event.js";
|
|
251
|
+
import "./vendor/svelte-carousel/src/units.js";
|
|
252
|
+
import "./vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
|
|
253
|
+
import "./vendor/svelte-carousel/src/actions/hoverable/event.js";
|
|
254
|
+
import "./vendor/svelte-carousel/src/actions/tappable/tappable.js";
|
|
255
|
+
import "./vendor/svelte-carousel/src/utils/math.js";
|
|
256
|
+
import "./vendor/svelte-carousel/src/actions/tappable/event.js";
|
|
257
|
+
import "./vendor/svelte-carousel/src/utils/page.js";
|
|
258
|
+
import "./vendor/svelte-carousel/src/utils/clones.js";
|
|
259
|
+
import "./vendor/svelte-carousel/src/utils/object.js";
|
|
260
|
+
import "./vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
261
|
+
import "./vendor/simply-reactive/src/simply-reactive.js";
|
|
262
|
+
import "lodash.get";
|
|
263
|
+
import "lodash.clonedeep";
|
|
264
|
+
import "./vendor/simply-reactive/src/utils/subscription.js";
|
|
265
|
+
import "./vendor/simply-reactive/src/utils/object.js";
|
|
266
|
+
import "lodash.isequal";
|
|
267
|
+
import "./vendor/simply-reactive/src/utils/watcher.js";
|
|
268
|
+
import "./vendor/svelte-carousel/src/utils/lazy.js";
|
|
269
|
+
import "./vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
270
|
+
import "./vendor/svelte-carousel/src/utils/interval.js";
|
|
254
271
|
import "./PanoTagPlugin/Components/Common/MediaItem.js";
|
|
255
272
|
import "./PanoTagPlugin/Components/Tag/MarketingTag.js";
|
|
273
|
+
import "./PanoTagPlugin/utils/noTypecheck.js";
|
|
256
274
|
import "./PanoTagPlugin/utils/tag/tagCheck.js";
|
|
257
275
|
import "./PanoTagPlugin/Components/Tag/AudioTag/index.js";
|
|
258
276
|
import "./PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js";
|
|
@@ -282,7 +300,6 @@ import "./PanoTagPlugin/utils/checkRange.js";
|
|
|
282
300
|
import "./PanoTagPlugin/controller/TagCacheController.js";
|
|
283
301
|
import "./PanoTagPlugin/utils/tag/format.js";
|
|
284
302
|
import "./shared-utils/three/GLTFLoader.js";
|
|
285
|
-
import "./PanoTagPlugin/utils/tag/index.js";
|
|
286
303
|
import "./shared-utils/Object3DHelper/utils/threex/domevents/index.js";
|
|
287
304
|
import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
288
305
|
import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
@@ -320,58 +337,58 @@ import "./shared-utils/three/Assets/index.js";
|
|
|
320
337
|
import "./shared-utils/three/PointDomHelper.js";
|
|
321
338
|
import "./shared-utils/three/FivePointSelector.js";
|
|
322
339
|
export {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
340
|
+
Vi as CSS3DRender,
|
|
341
|
+
yp as CSS3DRenderPlugin,
|
|
342
|
+
pi as CameraMovementEffect,
|
|
343
|
+
ti as CameraMovementPlugin,
|
|
344
|
+
ne as ContentType,
|
|
345
|
+
bi as CruisePlugin,
|
|
346
|
+
me as CruisePluginController,
|
|
347
|
+
Ri as DIRECTION,
|
|
348
|
+
Qi as DISPLAY_STRATEGY_TYPE,
|
|
349
|
+
Pe as DimensionType,
|
|
350
|
+
hp as FLOOR_PLAN_ATTACHED_TO,
|
|
351
|
+
Kp as FLOOR_TYPE_MAP,
|
|
352
|
+
Ai as GuideLinePlugin,
|
|
353
|
+
$i as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
354
|
+
re as ItemLabelPlugin,
|
|
355
|
+
Ji as Magnifier,
|
|
356
|
+
Up as MapviewFloorplanPlugin,
|
|
357
|
+
Zp as ModelChassisCompassPlugin,
|
|
358
|
+
oi as ModelEntryDoorGuidePlugin,
|
|
359
|
+
Bp as ModelFloorplanPlugin,
|
|
360
|
+
Xi as ModelItemLabelPlugin,
|
|
361
|
+
Np as ModelRoomLabelPlugin,
|
|
362
|
+
Li as ModelTVVideoPlugin,
|
|
363
|
+
bp as ModelViewPlugin,
|
|
364
|
+
xe as Object3DHelperController,
|
|
365
|
+
vi as Object3DHelperPlugin,
|
|
366
|
+
ge as PLUGIN,
|
|
367
|
+
Sp as PaintBrush,
|
|
368
|
+
Ap as PaintBrushTypeEnum,
|
|
369
|
+
ui as PanoCompassPlugin,
|
|
370
|
+
vp as PanoCursorRaycasterPlugin,
|
|
371
|
+
Si as PanoDoorLabelPlugin,
|
|
372
|
+
zp as PanoFloorplanRadarPlugin,
|
|
373
|
+
xi as PanoMeasurePlugin,
|
|
374
|
+
ji as PanoMeasurePluginLine,
|
|
375
|
+
wi as PanoMeasurePluginModel,
|
|
376
|
+
Hi as PanoMeasurePluginPoint,
|
|
377
|
+
qi as PanoMeasurePluginPolyline,
|
|
378
|
+
li as PanoRulerPlugin,
|
|
379
|
+
ai as PanoRulerProPlugin,
|
|
380
|
+
si as PanoSpatialTagPlugin,
|
|
381
|
+
yi as PanoTagPlugin,
|
|
382
|
+
ie as PanoTagPluginController,
|
|
383
|
+
ue as PointType,
|
|
384
|
+
Qp as ROOM_FETILE_TYPE_MAP,
|
|
385
|
+
Wp as ROOM_TYPE_MAP,
|
|
386
|
+
ii as Rotation,
|
|
387
|
+
kp as TopviewFloorplanPlugin,
|
|
388
|
+
Ni as Util,
|
|
389
|
+
se as VERSION,
|
|
390
|
+
Ci as itemLabelPluginServerParams,
|
|
391
|
+
Ti as modelItemLabelPluginServerParams,
|
|
392
|
+
cp as modelRoomLabelPluginServerParams,
|
|
393
|
+
ee as pluginFlag
|
|
377
394
|
};
|
|
@@ -27,12 +27,12 @@ class k {
|
|
|
27
27
|
if (this.getIntersectObject(e))
|
|
28
28
|
return !1;
|
|
29
29
|
});
|
|
30
|
-
var
|
|
31
|
-
this.hooks = (
|
|
30
|
+
var a, d;
|
|
31
|
+
this.hooks = (a = e.sharedHooks) != null ? a : new u(), this.camera = e.camera, this.model = e.model, this.originObject3D = e.originObject3D, this.helperObject3D = e.helperObject3D, this.container = e.container, this.scene = e.scene, this.domEvents = new y(e.camera, e.container), this.onRender = (d = e.onRender) != null ? d : () => {
|
|
32
32
|
}, this.offset = t == null ? void 0 : t.offset, this.initialHelperPosition(), this.initialHelperQuaternion(), this.enable();
|
|
33
|
-
const h = (...c) => this.onSetOriginObjectScale(...c),
|
|
34
|
-
this.hooks.on("setObjectScale", h), this.hooks.on("setObjectRotate",
|
|
35
|
-
this.hooks.off("setObjectScale", h), this.hooks.off("setObjectRotate",
|
|
33
|
+
const h = (...c) => this.onSetOriginObjectScale(...c), n = (...c) => this.onSetOriginObjectRotate(...c), r = (...c) => this.onSetOriginObjectPosition(...c), i = (...c) => this.onApplyOriginObjectScale(...c), l = (...c) => this.onApplyOriginObjectRotate(...c), O = (...c) => this.onApplyOriginObjectPosition(...c);
|
|
34
|
+
this.hooks.on("setObjectScale", h), this.hooks.on("setObjectRotate", n), this.hooks.on("setObjectPosition", r), this.hooks.on("applyObjectPosition", O), this.hooks.on("applyObjectRotate", l), this.hooks.on("applyObjectScale", i), this.disposers.push(() => {
|
|
35
|
+
this.hooks.off("setObjectScale", h), this.hooks.off("setObjectRotate", n), this.hooks.off("setObjectPosition", r), this.hooks.off("applyObjectPosition", O), this.hooks.off("applyObjectRotate", l), this.hooks.off("applyObjectScale", i);
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
initialHelperPosition() {
|
|
@@ -95,34 +95,34 @@ class k {
|
|
|
95
95
|
}
|
|
96
96
|
updateOffsetByScale(e) {
|
|
97
97
|
if (this.boundingBox && this.offset) {
|
|
98
|
-
const t = this.originObject3D.position, h = new p.Vector3().subVectors(this.boundingBox.max, t).multiply(e).add(t),
|
|
98
|
+
const t = this.originObject3D.position, h = new p.Vector3().subVectors(this.boundingBox.max, t).multiply(e).add(t), n = new p.Vector3().subVectors(this.boundingBox.min, t).multiply(e).add(t), r = this.calculateOffset(this.offset, { min: n, max: h });
|
|
99
99
|
this.helperObject3D.position.copy(r), this.helperObject3D.initialPosition();
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
hoverListener(e, t = 16777215, h = 1) {
|
|
103
|
-
const
|
|
104
|
-
for (const i of
|
|
103
|
+
const n = (Array.isArray(e) ? e : [e]).filter(m), r = [];
|
|
104
|
+
for (const i of n)
|
|
105
105
|
if (i instanceof p.Mesh || i instanceof p.Group) {
|
|
106
|
-
const
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
const l = i instanceof p.Group ? i.children.filter((o) => o instanceof p.Mesh) : [i];
|
|
107
|
+
l.forEach((o) => {
|
|
108
|
+
o.__originalColor__ = o.material.color.clone(), o.__originalOpacity__ = o.material.opacity;
|
|
109
109
|
});
|
|
110
110
|
const O = () => {
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
l.forEach((o) => {
|
|
112
|
+
o.material.color.set(t), o.material.opacity = h;
|
|
113
113
|
}), this.render();
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
}, a = () => {
|
|
115
|
+
l.forEach((o) => {
|
|
116
|
+
o.material.color.copy(o.__originalColor__), o.material.opacity = o.__originalOpacity__;
|
|
117
117
|
}), this.render();
|
|
118
118
|
}, d = () => {
|
|
119
119
|
this.isDragging || O();
|
|
120
120
|
}, c = () => {
|
|
121
|
-
this.isDragging ||
|
|
121
|
+
this.isDragging || a();
|
|
122
122
|
};
|
|
123
|
-
for (const
|
|
124
|
-
this.domEvents.addEventListener(
|
|
125
|
-
this.domEvents.removeEventListener(
|
|
123
|
+
for (const o of l)
|
|
124
|
+
this.domEvents.addEventListener(o, "mouseover", d), this.domEvents.addEventListener(o, "mouseout", c), this.hooks.on("moveStart", O), this.hooks.on("moveEnd", a), this.hooks.on("rotateEnd", a), r.push(() => {
|
|
125
|
+
this.domEvents.removeEventListener(o, "mouseover", d), this.domEvents.removeEventListener(o, "mouseout", c), this.hooks.off("moveStart", O), this.hooks.off("moveEnd", a), this.hooks.off("rotateEnd", a);
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
return () => r.forEach((i) => i == null ? void 0 : i());
|
|
@@ -131,41 +131,41 @@ class k {
|
|
|
131
131
|
const t = this.camera.position, h = this.helperObject3D;
|
|
132
132
|
if (!h)
|
|
133
133
|
return;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
return o.object;
|
|
134
|
+
const n = this.helperObject3D.raycasterIntersectObject(e)[0];
|
|
135
|
+
if (!n)
|
|
136
|
+
return;
|
|
137
|
+
const r = n;
|
|
138
|
+
if (r.object = h, this.model.intersectRaycaster) {
|
|
139
|
+
const i = this.model.intersectRaycaster(e)[0];
|
|
140
|
+
if (i && i.point.distanceTo(t) < r.point.distanceTo(t))
|
|
141
|
+
return;
|
|
143
142
|
}
|
|
143
|
+
return r.object;
|
|
144
144
|
}
|
|
145
145
|
calculateOffset(e, t) {
|
|
146
|
-
const h = this.originObject3D,
|
|
146
|
+
const h = this.originObject3D, n = new p.Vector3(0, 0, 0);
|
|
147
147
|
if (!e)
|
|
148
|
-
return
|
|
148
|
+
return n;
|
|
149
149
|
const r = () => t || (this.boundingBox ? this.boundingBox : (this.boundingBox = g(h), this.boundingBox));
|
|
150
150
|
if (typeof e.x == "number")
|
|
151
|
-
|
|
151
|
+
n.setX(e.x);
|
|
152
152
|
else if (typeof e.x == "object") {
|
|
153
153
|
const i = r();
|
|
154
|
-
|
|
154
|
+
n.setX((i.max.x - i.min.x) * e.x.percents);
|
|
155
155
|
}
|
|
156
156
|
if (typeof e.y == "number")
|
|
157
|
-
|
|
157
|
+
n.setY(e.y);
|
|
158
158
|
else if (typeof e.y == "object") {
|
|
159
159
|
const i = r();
|
|
160
|
-
|
|
160
|
+
n.setY((i.max.y - i.min.y) * e.y.percents);
|
|
161
161
|
}
|
|
162
162
|
if (typeof e.z == "number")
|
|
163
|
-
|
|
163
|
+
n.setZ(e.z);
|
|
164
164
|
else if (typeof e.z == "object") {
|
|
165
165
|
const i = r();
|
|
166
|
-
|
|
166
|
+
n.setZ((i.max.z - i.min.z) * e.z.percents);
|
|
167
167
|
}
|
|
168
|
-
return
|
|
168
|
+
return n;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
export {
|
|
@@ -20,6 +20,7 @@ export declare abstract class BaseHelper<OriginObject3D extends Object3D = Objec
|
|
|
20
20
|
disable(): void;
|
|
21
21
|
show(): void;
|
|
22
22
|
hide(): void;
|
|
23
|
+
raycasterIntersectObject(raycaster: THREE.Raycaster, intersection?: THREE.Intersection[]): THREE.Intersection[];
|
|
23
24
|
initialPosition(): void;
|
|
24
25
|
initQuaternion(): void;
|
|
25
26
|
applyHelperScaleMatrix4(matrix: THREE.Matrix4, origin?: Vector3): void;
|