@realsee/dnalogel 2.6.7-dev.1 → 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 +4 -3
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
- package/dist/index.cjs.js +55 -52
- package/dist/index.js +6717 -5996
- package/dist/index.umd.js +45 -42
- 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 +197 -51
- 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 +5 -5
- package/docs/functions/CameraMovementPlugin.html +5 -5
- package/docs/functions/CruisePlugin.html +5 -5
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +5 -5
- package/docs/functions/MapviewFloorplanPlugin.html +5 -5
- package/docs/functions/ModelChassisCompassPlugin.html +5 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
- package/docs/functions/ModelFloorplanPlugin.html +5 -5
- package/docs/functions/ModelItemLabelPlugin.html +5 -5
- package/docs/functions/ModelRoomLabelPlugin.html +5 -5
- package/docs/functions/ModelTVVideoPlugin.html +5 -5
- package/docs/functions/ModelViewPlugin.html +5 -5
- package/docs/functions/Object3DHelperPlugin.html +5 -5
- package/docs/functions/PanoCompassPlugin.html +5 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
- package/docs/functions/PanoDoorLabelPlugin.html +5 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
- package/docs/functions/PanoMeasurePlugin.html +5 -5
- package/docs/functions/PanoRulerPlugin.html +5 -5
- package/docs/functions/PanoRulerProPlugin.html +5 -5
- package/docs/functions/PanoSpatialTagPlugin.html +5 -5
- package/docs/functions/PanoTagPlugin.html +5 -5
- package/docs/functions/TopviewFloorplanPlugin.html +5 -5
- 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 +10 -10
- 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/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 +4 -3
- package/libs/PanoTagPlugin/controller/TagComputer.js +70 -65
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +160 -136
- package/libs/PanoTagPlugin/index.js +41 -24
- package/libs/PanoTagPlugin/tag.config.js +1 -0
- 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/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
package/README.md
CHANGED
|
@@ -111,26 +111,6 @@ Add the extension to the request.
|
|
|
111
111
|
},
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
2. webpack4出现以下错误:
|
|
115
|
-
|
|
116
|
-
```bash
|
|
117
|
-
Error: Can't resolve 'swiper/css' in 'xxx/node_modules/@realsee/dnalogel/libs
|
|
118
|
-
Error: Can't resolve 'swiper/css/autoplay' in 'xxx/node_modules/@realsee/dnalogel/libs
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
解决方案:在webpack配置里加以下alias
|
|
122
|
-
|
|
123
|
-
```js
|
|
124
|
-
alias: {
|
|
125
|
-
// swiper 使用exports声明导出,webpack4还不支持,需要用alias处理,并且要从子路径开始,否则父路径会覆盖子路径
|
|
126
|
-
'swiper/css/autoplay': path.resolve(
|
|
127
|
-
__dirname,
|
|
128
|
-
'node_modules/swiper/modules/autoplay/autoplay.min.css'
|
|
129
|
-
),
|
|
130
|
-
'swiper/css': path.resolve(__dirname, 'node_modules/swiper/swiper.min.css'),
|
|
131
|
-
},
|
|
132
|
-
```
|
|
133
|
-
|
|
134
114
|
# License
|
|
135
115
|
|
|
136
116
|
[TERMS](https://github.com/realsee-developer/dnalogel/blob/main/plugins/TERMS.txt)
|
|
@@ -21,7 +21,10 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
21
21
|
* @description: 获取是否可见
|
|
22
22
|
*/
|
|
23
23
|
getVisibleByPanoIndex(tag: Tag<any, any>, panoIndex?: number): boolean;
|
|
24
|
-
|
|
24
|
+
getVisibleByFiveMode(tag: Tag<any, any>, mode: Mode): boolean;
|
|
25
|
+
/** 检测是否匹配当前楼层 */
|
|
26
|
+
getVisibleByFloorIndex(tag: Tag<any, any>): boolean;
|
|
27
|
+
getVisible(tag: Tag<any, any>): boolean;
|
|
25
28
|
/** 获取当前点位上模型中的多媒体是否应该展示 */
|
|
26
29
|
getModelMedialVisibleByPanoIndex(tag: Tag<any, any>): boolean;
|
|
27
30
|
/**
|
|
@@ -77,6 +80,4 @@ export declare abstract class TagComputer extends TagCacheController {
|
|
|
77
80
|
};
|
|
78
81
|
/** 获取点位看向标签的射线 */
|
|
79
82
|
protected getRaycasterFromPanoIndex(tag: Tag, panoIndex: number): THREE.Raycaster;
|
|
80
|
-
/** 检测 target floor index 是否匹配当前楼层 */
|
|
81
|
-
protected checkFloorIndex(tag: TagElement): boolean;
|
|
82
83
|
}
|
|
@@ -109,6 +109,7 @@ declare class PanoTagPluginController extends TagComputer {
|
|
|
109
109
|
* @param scale css3DObject 原始缩放比例
|
|
110
110
|
*/
|
|
111
111
|
updateTagCss3DObjectMatrix<S extends 'Model' | 'Plane' = 'Model'>(tag: TagElement<any, S>, model: Object3D): void;
|
|
112
|
+
private updateTagCss3DObjectVisible;
|
|
112
113
|
/**
|
|
113
114
|
* @description: 设置 visible 和 unfolded
|
|
114
115
|
*/
|
|
@@ -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;
|