@realsee/dnalogel 2.1.0-alpha.2 → 2.1.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/CSS3DRenderPlugin/index.js +12 -6
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/CameraMovementPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/CameraMovementPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/CameraMovementPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/CameraMovementPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/CameraMovementPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/CameraMovementPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/CruisePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/CruisePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/CruisePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/CruisePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/CruisePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CruisePlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
- package/dist/CruisePlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
- package/dist/CruisePlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
- package/dist/CruisePlugin/PanoTagPlugin/controller/index.d.ts +138 -0
- package/dist/CruisePlugin/PanoTagPlugin/index.d.ts +8 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/CruisePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/CruisePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/controller.d.ts +99 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +226 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/index.d.ts +12 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/search.d.ts +11 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
- package/dist/CruisePlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/CruisePlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/GuideLinePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/GuideLinePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/GuideLinePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/GuideLinePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/GuideLinePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/controller/index.d.ts +138 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/index.d.ts +8 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/controller.d.ts +99 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +226 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/index.d.ts +12 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/search.d.ts +11 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/ItemLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ItemLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ItemLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/ItemLabelPlugin/index.js +12 -12
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/ModelItemLabelPlugin/index.js +6 -6
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/ModelRoomLabelPlugin/index.js +4 -4
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/ModelViewPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/ModelViewPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/ModelViewPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/ModelViewPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/ModelViewPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/ModelViewPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/Object3DHelperPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/controller/index.d.ts +138 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/index.d.ts +8 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/controller.d.ts +99 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +226 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
- package/dist/Object3DHelperPlugin/index.js +234 -67
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCompassPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoCompassPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoCompassPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoCompassPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/PanoCompassPlugin/index.js +12 -6
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/PanoDoorLabelPlugin/index.js +6 -6
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoMeasurePlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoMeasurePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoMeasurePlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/PanoRulerPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoRulerPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoRulerPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoRulerPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoRulerPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoRulerPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoRulerProPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoRulerProPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoRulerProPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/PanoSpatialTagPlugin/index.js +12 -6
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/PanoTagPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +156 -0
- package/dist/PanoTagPlugin/CSS3DRenderPlugin/Controller.d.ts +11 -43
- package/dist/PanoTagPlugin/CSS3DRenderPlugin/typing.d.ts +6 -3
- package/dist/PanoTagPlugin/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +16 -0
- package/dist/PanoTagPlugin/CruisePlugin/Controller.d.ts +170 -0
- package/dist/PanoTagPlugin/CruisePlugin/index.d.ts +6 -0
- package/dist/PanoTagPlugin/CruisePlugin/typing.d.ts +129 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/coordinatesAngle.d.ts +12 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/coordinatesToVector.d.ts +7 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/formatRad.d.ts +7 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/linerValue.d.ts +1 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/safeCall.d.ts +1 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/sleep.d.ts +1 -0
- package/dist/PanoTagPlugin/CruisePlugin/utils/vectorToCoordinates.d.ts +7 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/Controller.d.ts +46 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/index.d.ts +5 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/typing.d.ts +31 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/utils/getArrowMaterial.d.ts +4 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/utils/getLineGeometries.d.ts +14 -0
- package/dist/PanoTagPlugin/GuideLinePlugin/utils/getPoint.d.ts +3 -0
- package/dist/PanoTagPlugin/ItemLabelPlugin/utils/isImpacted.d.ts +2 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/Controller.d.ts +65 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/index.d.ts +6 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/mocks/addObject3D.d.ts +2 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/mocks/objects.d.ts +7 -0
- package/dist/PanoTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoTagPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/PanoTagPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoTagPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/PanoTagPlugin/floorplan/MapviewFloorplanPlugin/Controller.d.ts +95 -0
- package/dist/PanoTagPlugin/floorplan/MapviewFloorplanPlugin/index.d.ts +7 -0
- package/dist/PanoTagPlugin/floorplan/MapviewFloorplanPlugin/typing.d.ts +107 -0
- package/dist/PanoTagPlugin/floorplan/index.d.ts +2 -1
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/index.js +1304 -573
- package/dist/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +39 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +90 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +40 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +55 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/index.d.ts +73 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +46 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
- package/dist/PanoTagPlugin/shared-utils/Subscribe.d.ts +41 -25
- package/dist/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/Assets/Icon.d.ts +2 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +138 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/index.d.ts +8 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +99 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +226 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/checkRange.d.ts +4 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/debounce.d.ts +7 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/index.d.ts +12 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/search.d.ts +11 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/utils/throttle.d.ts +7 -0
- package/dist/floorplan/MapviewFloorplanPlugin/index.js +4 -4
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/floorplan/ModelFloorplanPlugin/index.js +4 -4
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.js +4 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/controller/index.d.ts +8 -6
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -1
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/dist/floorplan/TopviewFloorplanPlugin/index.js +4 -4
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +10014 -379
- package/dist/index.js +10017 -373
- package/dist/index.umd.js +10019 -377
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/docs/assets/search.js +1 -1
- package/docs/classes/CruisePluginController.html +14 -14
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/classes/Object3DHelperController.html +22 -0
- package/docs/classes/PanoTagPluginController.html +188 -0
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +15 -0
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/DimensionType.html +1 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/LinkType.html +1 -0
- package/docs/enums/PointType.html +1 -0
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +2 -2
- package/docs/interfaces/{EventMap.html → CSS3DRenderPluginEventMap.html} +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +7 -7
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +6 -6
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +7 -7
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/Object3DHelperState.html +1 -0
- package/docs/interfaces/OpenParameter.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +1 -1
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +14 -0
- package/docs/interfaces/TagConfig.html +11 -0
- package/docs/interfaces/Tags.html +5 -0
- package/docs/modules.html +25 -17
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +8 -10
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +8 -3
- package/libs/CSS3DRenderPlugin/Controller.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/Controller.js +2 -1
- package/libs/CSS3DRenderPlugin/typing.d.ts +2 -2
- package/libs/ItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +6 -6
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +4 -4
- package/libs/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/libs/Object3DHelperPlugin/Controller.js +136 -8
- package/libs/Object3DHelperPlugin/typings.d.ts +24 -0
- package/libs/Object3DHelperPlugin/typings.js +1 -0
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +6 -6
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Media.js +221 -89
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +3 -3
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +4 -4
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +4 -4
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Text.js +2 -2
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +6 -6
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +3 -3
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +22 -24
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +22 -23
- package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +159 -0
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +172 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +3 -3
- package/libs/PanoTagPlugin/Components/Tag/index.js +113 -13
- package/libs/PanoTagPlugin/Components/TagWrapper.js +3 -3
- package/libs/PanoTagPlugin/controller/TagComputer.js +6 -6
- package/libs/PanoTagPlugin/controller/index.d.ts +8 -6
- package/libs/PanoTagPlugin/controller/index.js +33 -40
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +1 -4
- package/libs/PanoTagPlugin/mocks/mock1.d.ts +167 -0
- package/libs/PanoTagPlugin/mocks/mock1.js +165 -0
- package/libs/PanoTagPlugin/mocks/mock2.d.ts +233 -0
- package/libs/PanoTagPlugin/mocks/mock2.js +293 -0
- package/libs/PanoTagPlugin/mocks/mock3.d.ts +14 -0
- package/libs/PanoTagPlugin/mocks/mock3.js +32 -0
- package/libs/PanoTagPlugin/mocks/mock4.d.ts +56 -0
- package/libs/PanoTagPlugin/mocks/mock4.js +57 -0
- package/libs/PanoTagPlugin/mocks/mock5.d.ts +13 -0
- package/libs/PanoTagPlugin/mocks/mock5.js +14 -0
- package/libs/PanoTagPlugin/mocks/mock6.d.ts +16 -0
- package/libs/PanoTagPlugin/mocks/mock6.js +236 -0
- package/libs/PanoTagPlugin/mocks/mock7.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/mock7.js +246 -0
- package/libs/PanoTagPlugin/tag.config.d.ts +7 -0
- package/libs/PanoTagPlugin/tag.config.js +46 -0
- package/libs/PanoTagPlugin/typings/controller.d.ts +10 -1
- package/libs/PanoTagPlugin/typings/tag.d.ts +25 -10
- package/libs/PanoTagPlugin/typings/tag.js +1 -1
- package/libs/floorplan/Components/Compass.js +4 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +4 -4
- package/libs/index.d.ts +2 -0
- package/libs/index.js +4 -0
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +4 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +17 -1
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +9 -22
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +3 -0
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +17 -17
- package/libs/shared-utils/Object3DHelper/index.d.ts +5 -5
- package/libs/shared-utils/Object3DHelper/index.js +0 -2
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -4
- package/package.json +8 -3
- package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/CSS3DRenderPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/CSS3DRenderPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/CameraMovementPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/CameraMovementPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/CameraMovementPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/CruisePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/CruisePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/CruisePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/GuideLinePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/GuideLinePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/GuideLinePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ItemLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ItemLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ItemLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelChassisCompassPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelChassisCompassPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelEntryDoorGuidePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelEntryDoorGuidePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelItemLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelItemLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelRoomLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelRoomLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelTVVideoPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelTVVideoPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/ModelViewPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/ModelViewPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/ModelViewPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoCompassPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoCompassPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoCompassPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoCursorRaycasterPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoCursorRaycasterPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoDoorLabelPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoDoorLabelPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoMeasurePlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoMeasurePlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoRulerPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoRulerPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoRulerPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoRulerProPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoRulerProPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/PanoSpatialTagPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/PanoSpatialTagPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/floorplan/MapviewFloorplanPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/floorplan/MapviewFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/floorplan/ModelFloorplanPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/floorplan/ModelFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/floorplan/PanoFloorplanRadarPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/Plugin.d.ts +0 -49
- package/dist/floorplan/TopviewFloorplanPlugin/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -7
- package/dist/floorplan/TopviewFloorplanPlugin/GuideLinePlugin/utils/getLineGeometry.d.ts +0 -2
- package/docs/interfaces/State.html +0 -3
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var five = require('@realsee/five');
|
|
5
6
|
var THREE = require('three');
|
|
6
7
|
var objectAssignDeep = require('object-assign-deep');
|
|
7
8
|
var store = require('svelte/store');
|
|
@@ -10,7 +11,6 @@ var transition = require('svelte/transition');
|
|
|
10
11
|
var anime = require('animejs');
|
|
11
12
|
var svelte = require('svelte');
|
|
12
13
|
var easing = require('svelte/easing');
|
|
13
|
-
var five = require('@realsee/five');
|
|
14
14
|
var CSS3DRenderer = require('three/examples/jsm/renderers/CSS3DRenderer');
|
|
15
15
|
|
|
16
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -279,7 +279,7 @@ exports.ContentType = void 0;
|
|
|
279
279
|
/** 营销标签 */
|
|
280
280
|
ContentType["Marketing"] = "Marketing";
|
|
281
281
|
/** 图片视频贴片 */
|
|
282
|
-
ContentType["
|
|
282
|
+
ContentType["MediaPlane"] = "MediaPlane";
|
|
283
283
|
/** 其他/自定义标签 */
|
|
284
284
|
ContentType["Custom"] = "Custom";
|
|
285
285
|
})(exports.ContentType || (exports.ContentType = {}));
|
|
@@ -301,14 +301,14 @@ function uuid() {
|
|
|
301
301
|
return (S4() + S4() + '-' + S4() + '-4' + S4().substr(0, 3) + '-' + S4() + '-' + S4() + S4() + S4()).toLowerCase();
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
/* src/PanoTagPlugin/Components/Common/Line/Straight.svelte generated by Svelte v3.
|
|
304
|
+
/* src/PanoTagPlugin/Components/Common/Line/Straight.svelte generated by Svelte v3.50.1 */
|
|
305
305
|
|
|
306
|
-
function add_css$
|
|
306
|
+
function add_css$k(target) {
|
|
307
307
|
internal.append_styles(target, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
// (17:2) {#if unfolded}
|
|
311
|
-
function create_if_block$
|
|
311
|
+
function create_if_block$g(ctx) {
|
|
312
312
|
let path;
|
|
313
313
|
let path_intro;
|
|
314
314
|
let path_outro;
|
|
@@ -366,13 +366,13 @@ function create_if_block$f(ctx) {
|
|
|
366
366
|
};
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
function create_fragment$
|
|
369
|
+
function create_fragment$k(ctx) {
|
|
370
370
|
let svg;
|
|
371
371
|
let defs;
|
|
372
372
|
let linearGradient;
|
|
373
373
|
let stop0;
|
|
374
374
|
let stop1;
|
|
375
|
-
let if_block = /*unfolded*/ ctx[3] && create_if_block$
|
|
375
|
+
let if_block = /*unfolded*/ ctx[3] && create_if_block$g(ctx);
|
|
376
376
|
|
|
377
377
|
return {
|
|
378
378
|
c() {
|
|
@@ -411,7 +411,7 @@ function create_fragment$j(ctx) {
|
|
|
411
411
|
internal.transition_in(if_block, 1);
|
|
412
412
|
}
|
|
413
413
|
} else {
|
|
414
|
-
if_block = create_if_block$
|
|
414
|
+
if_block = create_if_block$g(ctx);
|
|
415
415
|
if_block.c();
|
|
416
416
|
internal.transition_in(if_block, 1);
|
|
417
417
|
if_block.m(svg, null);
|
|
@@ -439,7 +439,7 @@ function create_fragment$j(ctx) {
|
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
function instance$
|
|
442
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
443
443
|
let { inDelay = 0 } = $$props;
|
|
444
444
|
let { duration = 0 } = $$props;
|
|
445
445
|
let { outDelay = 0 } = $$props;
|
|
@@ -463,8 +463,8 @@ class Straight extends internal.SvelteComponent {
|
|
|
463
463
|
internal.init(
|
|
464
464
|
this,
|
|
465
465
|
options,
|
|
466
|
-
instance$
|
|
467
|
-
create_fragment$
|
|
466
|
+
instance$k,
|
|
467
|
+
create_fragment$k,
|
|
468
468
|
internal.safe_not_equal,
|
|
469
469
|
{
|
|
470
470
|
inDelay: 0,
|
|
@@ -472,19 +472,19 @@ class Straight extends internal.SvelteComponent {
|
|
|
472
472
|
outDelay: 2,
|
|
473
473
|
unfolded: 3
|
|
474
474
|
},
|
|
475
|
-
add_css$
|
|
475
|
+
add_css$k
|
|
476
476
|
);
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
/* src/PanoTagPlugin/Components/Common/Shadow.svelte generated by Svelte v3.
|
|
480
|
+
/* src/PanoTagPlugin/Components/Common/Shadow.svelte generated by Svelte v3.50.1 */
|
|
481
481
|
|
|
482
|
-
function add_css$
|
|
482
|
+
function add_css$j(target) {
|
|
483
483
|
internal.append_styles(target, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
|
|
484
484
|
}
|
|
485
485
|
|
|
486
|
-
// (
|
|
487
|
-
function create_if_block$
|
|
486
|
+
// (23:0) {#if visible}
|
|
487
|
+
function create_if_block$f(ctx) {
|
|
488
488
|
let div;
|
|
489
489
|
let div_style_value;
|
|
490
490
|
let div_intro;
|
|
@@ -580,9 +580,9 @@ function create_if_block$e(ctx) {
|
|
|
580
580
|
};
|
|
581
581
|
}
|
|
582
582
|
|
|
583
|
-
function create_fragment$
|
|
583
|
+
function create_fragment$j(ctx) {
|
|
584
584
|
let if_block_anchor;
|
|
585
|
-
let if_block = /*visible*/ ctx[2] && create_if_block$
|
|
585
|
+
let if_block = /*visible*/ ctx[2] && create_if_block$f(ctx);
|
|
586
586
|
|
|
587
587
|
return {
|
|
588
588
|
c() {
|
|
@@ -602,7 +602,7 @@ function create_fragment$i(ctx) {
|
|
|
602
602
|
internal.transition_in(if_block, 1);
|
|
603
603
|
}
|
|
604
604
|
} else {
|
|
605
|
-
if_block = create_if_block$
|
|
605
|
+
if_block = create_if_block$f(ctx);
|
|
606
606
|
if_block.c();
|
|
607
607
|
internal.transition_in(if_block, 1);
|
|
608
608
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -634,7 +634,7 @@ function px2rem(value) {
|
|
|
634
634
|
return typeof value === 'number' ? value / 16 + 'rem' : value;
|
|
635
635
|
}
|
|
636
636
|
|
|
637
|
-
function instance$
|
|
637
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
638
638
|
let { inDelay = 1000 } = $$props;
|
|
639
639
|
let { outDelay = 1000 } = $$props;
|
|
640
640
|
let { visible = true } = $$props;
|
|
@@ -648,7 +648,7 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
648
648
|
let { blurRadius } = $$props;
|
|
649
649
|
let { spreadRadius } = $$props;
|
|
650
650
|
let { opacity = 0.15 } = $$props;
|
|
651
|
-
let { zIndex =
|
|
651
|
+
let { zIndex = undefined } = $$props;
|
|
652
652
|
|
|
653
653
|
$$self.$$set = $$props => {
|
|
654
654
|
if ('inDelay' in $$props) $$invalidate(0, inDelay = $$props.inDelay);
|
|
@@ -692,8 +692,8 @@ class Shadow extends internal.SvelteComponent {
|
|
|
692
692
|
internal.init(
|
|
693
693
|
this,
|
|
694
694
|
options,
|
|
695
|
-
instance$
|
|
696
|
-
create_fragment$
|
|
695
|
+
instance$j,
|
|
696
|
+
create_fragment$j,
|
|
697
697
|
internal.safe_not_equal,
|
|
698
698
|
{
|
|
699
699
|
inDelay: 0,
|
|
@@ -711,7 +711,7 @@ class Shadow extends internal.SvelteComponent {
|
|
|
711
711
|
opacity: 12,
|
|
712
712
|
zIndex: 13
|
|
713
713
|
},
|
|
714
|
-
add_css$
|
|
714
|
+
add_css$j
|
|
715
715
|
);
|
|
716
716
|
}
|
|
717
717
|
}
|
|
@@ -728,13 +728,13 @@ function notNil(value) {
|
|
|
728
728
|
return value !== null && value !== undefined;
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
-
/* src/PanoTagPlugin/Components/Common/Text.svelte generated by Svelte v3.
|
|
731
|
+
/* src/PanoTagPlugin/Components/Common/Text.svelte generated by Svelte v3.50.1 */
|
|
732
732
|
|
|
733
|
-
function add_css$
|
|
733
|
+
function add_css$i(target) {
|
|
734
734
|
internal.append_styles(target, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
735
735
|
}
|
|
736
736
|
|
|
737
|
-
function get_each_context$
|
|
737
|
+
function get_each_context$5(ctx, list, i) {
|
|
738
738
|
const child_ctx = ctx.slice();
|
|
739
739
|
child_ctx[10] = list[i];
|
|
740
740
|
child_ctx[11] = list;
|
|
@@ -743,7 +743,7 @@ function get_each_context$4(ctx, list, i) {
|
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
// (60:0) {#each contentList as item, index}
|
|
746
|
-
function create_each_block$
|
|
746
|
+
function create_each_block$5(ctx) {
|
|
747
747
|
let span;
|
|
748
748
|
let t_value = /*item*/ ctx[10] + "";
|
|
749
749
|
let t;
|
|
@@ -779,13 +779,13 @@ function create_each_block$4(ctx) {
|
|
|
779
779
|
};
|
|
780
780
|
}
|
|
781
781
|
|
|
782
|
-
function create_fragment$
|
|
782
|
+
function create_fragment$i(ctx) {
|
|
783
783
|
let each_1_anchor;
|
|
784
784
|
let each_value = /*contentList*/ ctx[1];
|
|
785
785
|
let each_blocks = [];
|
|
786
786
|
|
|
787
787
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
788
|
-
each_blocks[i] = create_each_block$
|
|
788
|
+
each_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i));
|
|
789
789
|
}
|
|
790
790
|
|
|
791
791
|
return {
|
|
@@ -809,12 +809,12 @@ function create_fragment$h(ctx) {
|
|
|
809
809
|
let i;
|
|
810
810
|
|
|
811
811
|
for (i = 0; i < each_value.length; i += 1) {
|
|
812
|
-
const child_ctx = get_each_context$
|
|
812
|
+
const child_ctx = get_each_context$5(ctx, each_value, i);
|
|
813
813
|
|
|
814
814
|
if (each_blocks[i]) {
|
|
815
815
|
each_blocks[i].p(child_ctx, dirty);
|
|
816
816
|
} else {
|
|
817
|
-
each_blocks[i] = create_each_block$
|
|
817
|
+
each_blocks[i] = create_each_block$5(child_ctx);
|
|
818
818
|
each_blocks[i].c();
|
|
819
819
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
|
820
820
|
}
|
|
@@ -836,7 +836,7 @@ function create_fragment$h(ctx) {
|
|
|
836
836
|
};
|
|
837
837
|
}
|
|
838
838
|
|
|
839
|
-
function instance$
|
|
839
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
840
840
|
let contentList;
|
|
841
841
|
let { inDelay = 0 } = $$props;
|
|
842
842
|
let { outDelay = 0 } = $$props;
|
|
@@ -930,8 +930,8 @@ class Text extends internal.SvelteComponent {
|
|
|
930
930
|
internal.init(
|
|
931
931
|
this,
|
|
932
932
|
options,
|
|
933
|
-
instance$
|
|
934
|
-
create_fragment$
|
|
933
|
+
instance$i,
|
|
934
|
+
create_fragment$i,
|
|
935
935
|
internal.safe_not_equal,
|
|
936
936
|
{
|
|
937
937
|
inDelay: 2,
|
|
@@ -939,7 +939,7 @@ class Text extends internal.SvelteComponent {
|
|
|
939
939
|
content: 4,
|
|
940
940
|
unfolded: 5
|
|
941
941
|
},
|
|
942
|
-
add_css$
|
|
942
|
+
add_css$i
|
|
943
943
|
);
|
|
944
944
|
}
|
|
945
945
|
}
|
|
@@ -947,14 +947,14 @@ class Text extends internal.SvelteComponent {
|
|
|
947
947
|
const Image_Arrow = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4yGzhOhV4/+5YU4N/hzqo0StX3Fg5TcnNlYvgs8bPsM4hkScHoyO46haRnGEYktQVI+4ypUYKyXtxyUu27JCceAMJvjo0HoM5CEZ7cPX7i013q3IWVV5r2aw/2TK+svWbPGU68KQCa6pYeus1V0X99quSfvtVSc39lmfz2mdbz32tg1dAJ0421AVs9E7/FxBSezrMmjI/gm5/nYmMkBq+TqBs7LNgTlZH6EnWlPmORdk+pHQipUNfTxtg7p3NIXWRMvXfoqusmXsNhpC6crIS1Zf9C6yAOdlxpK5BW18CiT7A/G93gE+P0FY/RoO+RWqS62YhB2r4YhlixArECsQKxArECvzjCnwAOr0wF44ggHAAAAAASUVORK5CYII=';
|
|
948
948
|
const Image_Play = 'data:image/png;base64,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';
|
|
949
949
|
|
|
950
|
-
/* src/PanoTagPlugin/Components/Common/Arrow.svelte generated by Svelte v3.
|
|
950
|
+
/* src/PanoTagPlugin/Components/Common/Arrow.svelte generated by Svelte v3.50.1 */
|
|
951
951
|
|
|
952
|
-
function add_css$
|
|
952
|
+
function add_css$h(target) {
|
|
953
953
|
internal.append_styles(target, "svelte-1ogmlqq", ".arrow.svelte-1ogmlqq{width:100%;height:100%;background-size:100%;transition:transform 400ms ease-in-out;cursor:pointer;pointer-events:auto}.arrow-wrapper.svelte-1ogmlqq{position:relative;width:100%;height:100%}.arrow.left.svelte-1ogmlqq{transform:rotate(0deg)}.arrow.right.svelte-1ogmlqq{transform:rotate(-180deg)}.arrow.top.svelte-1ogmlqq{transform:rotate(90deg)}.arrow.bottom.svelte-1ogmlqq{transform:rotate(-90deg)}");
|
|
954
954
|
}
|
|
955
955
|
|
|
956
956
|
// (12:0) {#if visible}
|
|
957
|
-
function create_if_block$
|
|
957
|
+
function create_if_block$e(ctx) {
|
|
958
958
|
let div1;
|
|
959
959
|
let shadow;
|
|
960
960
|
let t;
|
|
@@ -970,8 +970,7 @@ function create_if_block$d(ctx) {
|
|
|
970
970
|
props: {
|
|
971
971
|
center: true,
|
|
972
972
|
blurRadius: 9,
|
|
973
|
-
spreadRadius: 3
|
|
974
|
-
zIndex: -1
|
|
973
|
+
spreadRadius: 3
|
|
975
974
|
}
|
|
976
975
|
});
|
|
977
976
|
|
|
@@ -1048,10 +1047,10 @@ function create_if_block$d(ctx) {
|
|
|
1048
1047
|
};
|
|
1049
1048
|
}
|
|
1050
1049
|
|
|
1051
|
-
function create_fragment$
|
|
1050
|
+
function create_fragment$h(ctx) {
|
|
1052
1051
|
let if_block_anchor;
|
|
1053
1052
|
let current;
|
|
1054
|
-
let if_block = /*visible*/ ctx[1] && create_if_block$
|
|
1053
|
+
let if_block = /*visible*/ ctx[1] && create_if_block$e(ctx);
|
|
1055
1054
|
|
|
1056
1055
|
return {
|
|
1057
1056
|
c() {
|
|
@@ -1072,7 +1071,7 @@ function create_fragment$g(ctx) {
|
|
|
1072
1071
|
internal.transition_in(if_block, 1);
|
|
1073
1072
|
}
|
|
1074
1073
|
} else {
|
|
1075
|
-
if_block = create_if_block$
|
|
1074
|
+
if_block = create_if_block$e(ctx);
|
|
1076
1075
|
if_block.c();
|
|
1077
1076
|
internal.transition_in(if_block, 1);
|
|
1078
1077
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -1103,7 +1102,7 @@ function create_fragment$g(ctx) {
|
|
|
1103
1102
|
};
|
|
1104
1103
|
}
|
|
1105
1104
|
|
|
1106
|
-
function instance$
|
|
1105
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
1107
1106
|
let { direction = 'right' } = $$props;
|
|
1108
1107
|
let { visible = true } = $$props;
|
|
1109
1108
|
let { duration = 0 } = $$props;
|
|
@@ -1132,8 +1131,8 @@ class Arrow extends internal.SvelteComponent {
|
|
|
1132
1131
|
internal.init(
|
|
1133
1132
|
this,
|
|
1134
1133
|
options,
|
|
1135
|
-
instance$
|
|
1136
|
-
create_fragment$
|
|
1134
|
+
instance$h,
|
|
1135
|
+
create_fragment$h,
|
|
1137
1136
|
internal.safe_not_equal,
|
|
1138
1137
|
{
|
|
1139
1138
|
direction: 0,
|
|
@@ -1142,18 +1141,18 @@ class Arrow extends internal.SvelteComponent {
|
|
|
1142
1141
|
inDelay: 3,
|
|
1143
1142
|
outDelay: 4
|
|
1144
1143
|
},
|
|
1145
|
-
add_css$
|
|
1144
|
+
add_css$h
|
|
1146
1145
|
);
|
|
1147
1146
|
}
|
|
1148
1147
|
}
|
|
1149
1148
|
|
|
1150
|
-
/* src/PanoTagPlugin/Components/Common/MultiLineText.svelte generated by Svelte v3.
|
|
1149
|
+
/* src/PanoTagPlugin/Components/Common/MultiLineText.svelte generated by Svelte v3.50.1 */
|
|
1151
1150
|
|
|
1152
|
-
function add_css$
|
|
1151
|
+
function add_css$g(target) {
|
|
1153
1152
|
internal.append_styles(target, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
|
|
1154
1153
|
}
|
|
1155
1154
|
|
|
1156
|
-
function get_each_context$
|
|
1155
|
+
function get_each_context$4(ctx, list, i) {
|
|
1157
1156
|
const child_ctx = ctx.slice();
|
|
1158
1157
|
child_ctx[11] = list[i].id;
|
|
1159
1158
|
child_ctx[12] = list[i].content;
|
|
@@ -1161,7 +1160,7 @@ function get_each_context$3(ctx, list, i) {
|
|
|
1161
1160
|
}
|
|
1162
1161
|
|
|
1163
1162
|
// (23:0) {#each textItems as { id, content }
|
|
1164
|
-
function create_each_block$
|
|
1163
|
+
function create_each_block$4(key_1, ctx) {
|
|
1165
1164
|
let div;
|
|
1166
1165
|
let text_1;
|
|
1167
1166
|
let current;
|
|
@@ -1221,7 +1220,7 @@ function create_each_block$3(key_1, ctx) {
|
|
|
1221
1220
|
}
|
|
1222
1221
|
|
|
1223
1222
|
// (28:0) {#if lineHeight < textHeight}
|
|
1224
|
-
function create_if_block$
|
|
1223
|
+
function create_if_block$d(ctx) {
|
|
1225
1224
|
let div;
|
|
1226
1225
|
let arrow;
|
|
1227
1226
|
let current;
|
|
@@ -1268,7 +1267,7 @@ function create_if_block$c(ctx) {
|
|
|
1268
1267
|
};
|
|
1269
1268
|
}
|
|
1270
1269
|
|
|
1271
|
-
function create_fragment$
|
|
1270
|
+
function create_fragment$g(ctx) {
|
|
1272
1271
|
let each_blocks = [];
|
|
1273
1272
|
let each_1_lookup = new Map();
|
|
1274
1273
|
let t;
|
|
@@ -1278,12 +1277,12 @@ function create_fragment$f(ctx) {
|
|
|
1278
1277
|
const get_key = ctx => /*id*/ ctx[11];
|
|
1279
1278
|
|
|
1280
1279
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
1281
|
-
let child_ctx = get_each_context$
|
|
1280
|
+
let child_ctx = get_each_context$4(ctx, each_value, i);
|
|
1282
1281
|
let key = get_key(child_ctx);
|
|
1283
|
-
each_1_lookup.set(key, each_blocks[i] = create_each_block$
|
|
1282
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block$4(key, child_ctx));
|
|
1284
1283
|
}
|
|
1285
1284
|
|
|
1286
|
-
let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$
|
|
1285
|
+
let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$d(ctx);
|
|
1287
1286
|
|
|
1288
1287
|
return {
|
|
1289
1288
|
c() {
|
|
@@ -1309,7 +1308,7 @@ function create_fragment$f(ctx) {
|
|
|
1309
1308
|
if (dirty & /*textElement, transform, visible, textItems, foldTextDelay*/ 167) {
|
|
1310
1309
|
each_value = /*textItems*/ ctx[1];
|
|
1311
1310
|
internal.group_outros();
|
|
1312
|
-
each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, t.parentNode, internal.outro_and_destroy_block, create_each_block$
|
|
1311
|
+
each_blocks = internal.update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, t.parentNode, internal.outro_and_destroy_block, create_each_block$4, t, get_each_context$4);
|
|
1313
1312
|
internal.check_outros();
|
|
1314
1313
|
}
|
|
1315
1314
|
|
|
@@ -1321,7 +1320,7 @@ function create_fragment$f(ctx) {
|
|
|
1321
1320
|
internal.transition_in(if_block, 1);
|
|
1322
1321
|
}
|
|
1323
1322
|
} else {
|
|
1324
|
-
if_block = create_if_block$
|
|
1323
|
+
if_block = create_if_block$d(ctx);
|
|
1325
1324
|
if_block.c();
|
|
1326
1325
|
internal.transition_in(if_block, 1);
|
|
1327
1326
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -1366,7 +1365,7 @@ function create_fragment$f(ctx) {
|
|
|
1366
1365
|
};
|
|
1367
1366
|
}
|
|
1368
1367
|
|
|
1369
|
-
function instance$
|
|
1368
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
1370
1369
|
let transform;
|
|
1371
1370
|
let arrowDirection;
|
|
1372
1371
|
let foldTextDelay;
|
|
@@ -1441,27 +1440,27 @@ class MultiLineText extends internal.SvelteComponent {
|
|
|
1441
1440
|
internal.init(
|
|
1442
1441
|
this,
|
|
1443
1442
|
options,
|
|
1444
|
-
instance$
|
|
1445
|
-
create_fragment$
|
|
1443
|
+
instance$g,
|
|
1444
|
+
create_fragment$g,
|
|
1446
1445
|
internal.safe_not_equal,
|
|
1447
1446
|
{
|
|
1448
1447
|
visible: 0,
|
|
1449
1448
|
textUnfolded: 8,
|
|
1450
1449
|
textItems: 1
|
|
1451
1450
|
},
|
|
1452
|
-
add_css$
|
|
1451
|
+
add_css$g
|
|
1453
1452
|
);
|
|
1454
1453
|
}
|
|
1455
1454
|
}
|
|
1456
1455
|
|
|
1457
|
-
/* src/PanoTagPlugin/Components/Tag/TextTag.svelte generated by Svelte v3.
|
|
1456
|
+
/* src/PanoTagPlugin/Components/Tag/TextTag.svelte generated by Svelte v3.50.1 */
|
|
1458
1457
|
|
|
1459
|
-
function add_css$
|
|
1458
|
+
function add_css$f(target) {
|
|
1460
1459
|
internal.append_styles(target, "svelte-4fxqxl", ".line.svelte-4fxqxl{position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-4fxqxl{width:-webkit-max-content;width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
|
|
1461
1460
|
}
|
|
1462
1461
|
|
|
1463
1462
|
// (29:0) {#if tag.state}
|
|
1464
|
-
function create_if_block$
|
|
1463
|
+
function create_if_block$c(ctx) {
|
|
1465
1464
|
let shadow;
|
|
1466
1465
|
let t0;
|
|
1467
1466
|
let div0;
|
|
@@ -1579,10 +1578,10 @@ function create_if_block$b(ctx) {
|
|
|
1579
1578
|
};
|
|
1580
1579
|
}
|
|
1581
1580
|
|
|
1582
|
-
function create_fragment$
|
|
1581
|
+
function create_fragment$f(ctx) {
|
|
1583
1582
|
let if_block_anchor;
|
|
1584
1583
|
let current;
|
|
1585
|
-
let if_block = /*tag*/ ctx[0].state && create_if_block$
|
|
1584
|
+
let if_block = /*tag*/ ctx[0].state && create_if_block$c(ctx);
|
|
1586
1585
|
|
|
1587
1586
|
return {
|
|
1588
1587
|
c() {
|
|
@@ -1603,7 +1602,7 @@ function create_fragment$e(ctx) {
|
|
|
1603
1602
|
internal.transition_in(if_block, 1);
|
|
1604
1603
|
}
|
|
1605
1604
|
} else {
|
|
1606
|
-
if_block = create_if_block$
|
|
1605
|
+
if_block = create_if_block$c(ctx);
|
|
1607
1606
|
if_block.c();
|
|
1608
1607
|
internal.transition_in(if_block, 1);
|
|
1609
1608
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -1634,7 +1633,7 @@ function create_fragment$e(ctx) {
|
|
|
1634
1633
|
};
|
|
1635
1634
|
}
|
|
1636
1635
|
|
|
1637
|
-
function instance$
|
|
1636
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
1638
1637
|
let unfolded;
|
|
1639
1638
|
let text;
|
|
1640
1639
|
let foldTextDelay;
|
|
@@ -1709,18 +1708,18 @@ function instance$e($$self, $$props, $$invalidate) {
|
|
|
1709
1708
|
class TextTag extends internal.SvelteComponent {
|
|
1710
1709
|
constructor(options) {
|
|
1711
1710
|
super();
|
|
1712
|
-
internal.init(this, options, instance$
|
|
1711
|
+
internal.init(this, options, instance$f, create_fragment$f, internal.safe_not_equal, { tag: 0 }, add_css$f);
|
|
1713
1712
|
}
|
|
1714
1713
|
}
|
|
1715
1714
|
|
|
1716
|
-
/* src/PanoTagPlugin/Components/Common/Line/Polyline.svelte generated by Svelte v3.
|
|
1715
|
+
/* src/PanoTagPlugin/Components/Common/Line/Polyline.svelte generated by Svelte v3.50.1 */
|
|
1717
1716
|
|
|
1718
|
-
function add_css$
|
|
1717
|
+
function add_css$e(target) {
|
|
1719
1718
|
internal.append_styles(target, "svelte-e72ouh", ".line.svelte-e72ouh{width:100%;height:100%;overflow:visible}");
|
|
1720
1719
|
}
|
|
1721
1720
|
|
|
1722
1721
|
// (18:2) {#if unfolded}
|
|
1723
|
-
function create_if_block$
|
|
1722
|
+
function create_if_block$b(ctx) {
|
|
1724
1723
|
let path;
|
|
1725
1724
|
let path_intro;
|
|
1726
1725
|
let path_outro;
|
|
@@ -1780,13 +1779,13 @@ function create_if_block$a(ctx) {
|
|
|
1780
1779
|
};
|
|
1781
1780
|
}
|
|
1782
1781
|
|
|
1783
|
-
function create_fragment$
|
|
1782
|
+
function create_fragment$e(ctx) {
|
|
1784
1783
|
let svg;
|
|
1785
1784
|
let defs;
|
|
1786
1785
|
let linearGradient;
|
|
1787
1786
|
let stop0;
|
|
1788
1787
|
let stop1;
|
|
1789
|
-
let if_block = /*unfolded*/ ctx[3] && create_if_block$
|
|
1788
|
+
let if_block = /*unfolded*/ ctx[3] && create_if_block$b(ctx);
|
|
1790
1789
|
|
|
1791
1790
|
return {
|
|
1792
1791
|
c() {
|
|
@@ -1824,7 +1823,7 @@ function create_fragment$d(ctx) {
|
|
|
1824
1823
|
internal.transition_in(if_block, 1);
|
|
1825
1824
|
}
|
|
1826
1825
|
} else {
|
|
1827
|
-
if_block = create_if_block$
|
|
1826
|
+
if_block = create_if_block$b(ctx);
|
|
1828
1827
|
if_block.c();
|
|
1829
1828
|
internal.transition_in(if_block, 1);
|
|
1830
1829
|
if_block.m(svg, null);
|
|
@@ -1852,7 +1851,7 @@ function create_fragment$d(ctx) {
|
|
|
1852
1851
|
};
|
|
1853
1852
|
}
|
|
1854
1853
|
|
|
1855
|
-
function instance$
|
|
1854
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
1856
1855
|
let { inDelay = 0 } = $$props;
|
|
1857
1856
|
let { duration = 0 } = $$props;
|
|
1858
1857
|
let { outDelay = 0 } = $$props;
|
|
@@ -1876,8 +1875,8 @@ class Polyline extends internal.SvelteComponent {
|
|
|
1876
1875
|
internal.init(
|
|
1877
1876
|
this,
|
|
1878
1877
|
options,
|
|
1879
|
-
instance$
|
|
1880
|
-
create_fragment$
|
|
1878
|
+
instance$e,
|
|
1879
|
+
create_fragment$e,
|
|
1881
1880
|
internal.safe_not_equal,
|
|
1882
1881
|
{
|
|
1883
1882
|
inDelay: 0,
|
|
@@ -1885,80 +1884,84 @@ class Polyline extends internal.SvelteComponent {
|
|
|
1885
1884
|
outDelay: 2,
|
|
1886
1885
|
unfolded: 3
|
|
1887
1886
|
},
|
|
1888
|
-
add_css$
|
|
1887
|
+
add_css$e
|
|
1889
1888
|
);
|
|
1890
1889
|
}
|
|
1891
1890
|
}
|
|
1892
1891
|
|
|
1893
|
-
/* src/PanoTagPlugin/Components/Common/Media.svelte generated by Svelte v3.
|
|
1892
|
+
/* src/PanoTagPlugin/Components/Common/Media.svelte generated by Svelte v3.50.1 */
|
|
1894
1893
|
|
|
1895
|
-
function add_css$
|
|
1896
|
-
internal.append_styles(target, "svelte-
|
|
1894
|
+
function add_css$d(target) {
|
|
1895
|
+
internal.append_styles(target, "svelte-129jnm", ".media.svelte-129jnm{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}.carousel-item.svelte-129jnm{height:100%}.media-content.svelte-129jnm{width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.video-icon.svelte-129jnm{width:1.75rem;height:1.75rem;background-size:100%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}");
|
|
1897
1896
|
}
|
|
1898
1897
|
|
|
1899
|
-
|
|
1900
|
-
|
|
1898
|
+
function get_each_context$3(ctx, list, i) {
|
|
1899
|
+
const child_ctx = ctx.slice();
|
|
1900
|
+
child_ctx[9] = list[i];
|
|
1901
|
+
return child_ctx;
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
// (16:0) {#if unfolded}
|
|
1905
|
+
function create_if_block$a(ctx) {
|
|
1901
1906
|
let div;
|
|
1902
|
-
let t;
|
|
1903
1907
|
let div_intro;
|
|
1904
1908
|
let div_outro;
|
|
1905
1909
|
let current;
|
|
1910
|
+
let each_value = /*mediaDataList*/ ctx[6];
|
|
1911
|
+
let each_blocks = [];
|
|
1906
1912
|
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
return create_else_block$1;
|
|
1913
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
1914
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
|
1910
1915
|
}
|
|
1911
1916
|
|
|
1912
|
-
let current_block_type = select_block_type(ctx);
|
|
1913
|
-
let if_block0 = current_block_type(ctx);
|
|
1914
|
-
let if_block1 = /*mediaData*/ ctx[0].type === 'Video' && create_if_block_1$6();
|
|
1915
|
-
|
|
1916
1917
|
return {
|
|
1917
1918
|
c() {
|
|
1918
1919
|
div = internal.element("div");
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1920
|
+
|
|
1921
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
1922
|
+
each_blocks[i].c();
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
internal.attr(div, "class", "media svelte-129jnm");
|
|
1926
|
+
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[3]);
|
|
1924
1927
|
},
|
|
1925
1928
|
m(target, anchor) {
|
|
1926
1929
|
internal.insert(target, div, anchor);
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
+
|
|
1931
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
1932
|
+
each_blocks[i].m(div, null);
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1930
1935
|
current = true;
|
|
1931
1936
|
},
|
|
1932
1937
|
p(new_ctx, dirty) {
|
|
1933
1938
|
ctx = new_ctx;
|
|
1934
1939
|
|
|
1935
|
-
if (
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
if_block0.d(1);
|
|
1939
|
-
if_block0 = current_block_type(ctx);
|
|
1940
|
+
if (dirty & /*objectFit, Image_Play, mediaDataList*/ 96) {
|
|
1941
|
+
each_value = /*mediaDataList*/ ctx[6];
|
|
1942
|
+
let i;
|
|
1940
1943
|
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
1945
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
|
1946
|
+
|
|
1947
|
+
if (each_blocks[i]) {
|
|
1948
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
1949
|
+
} else {
|
|
1950
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
|
1951
|
+
each_blocks[i].c();
|
|
1952
|
+
each_blocks[i].m(div, null);
|
|
1953
|
+
}
|
|
1944
1954
|
}
|
|
1945
|
-
}
|
|
1946
1955
|
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
if_block1.p(ctx, dirty);
|
|
1950
|
-
} else {
|
|
1951
|
-
if_block1 = create_if_block_1$6();
|
|
1952
|
-
if_block1.c();
|
|
1953
|
-
if_block1.m(div, null);
|
|
1956
|
+
for (; i < each_blocks.length; i += 1) {
|
|
1957
|
+
each_blocks[i].d(1);
|
|
1954
1958
|
}
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
if_block1 = null;
|
|
1959
|
+
|
|
1960
|
+
each_blocks.length = each_value.length;
|
|
1958
1961
|
}
|
|
1959
1962
|
|
|
1960
|
-
if (dirty & /*unfolded*/
|
|
1961
|
-
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[
|
|
1963
|
+
if (!current || dirty & /*unfolded*/ 8) {
|
|
1964
|
+
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[3]);
|
|
1962
1965
|
}
|
|
1963
1966
|
},
|
|
1964
1967
|
i(local) {
|
|
@@ -1968,12 +1971,14 @@ function create_if_block$9(ctx) {
|
|
|
1968
1971
|
internal.add_render_callback(() => {
|
|
1969
1972
|
if (div_outro) div_outro.end(1);
|
|
1970
1973
|
|
|
1971
|
-
div_intro = internal.create_in_transition(div, transition.fly,
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1974
|
+
div_intro = internal.create_in_transition(div, transition.fly, /*animation*/ ctx[4]
|
|
1975
|
+
? {
|
|
1976
|
+
y: 4,
|
|
1977
|
+
duration: /*duration*/ ctx[2],
|
|
1978
|
+
delay: /*inDelay*/ ctx[0],
|
|
1979
|
+
easing: easing.linear
|
|
1980
|
+
}
|
|
1981
|
+
: undefined);
|
|
1977
1982
|
|
|
1978
1983
|
div_intro.start();
|
|
1979
1984
|
});
|
|
@@ -1985,27 +1990,28 @@ function create_if_block$9(ctx) {
|
|
|
1985
1990
|
if (div_intro) div_intro.invalidate();
|
|
1986
1991
|
|
|
1987
1992
|
if (local) {
|
|
1988
|
-
div_outro = internal.create_out_transition(div, transition.fly,
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1993
|
+
div_outro = internal.create_out_transition(div, transition.fly, /*animation*/ ctx[4]
|
|
1994
|
+
? {
|
|
1995
|
+
y: 4,
|
|
1996
|
+
duration: /*duration*/ ctx[2],
|
|
1997
|
+
delay: /*outDelay*/ ctx[1],
|
|
1998
|
+
easing: easing.linear
|
|
1999
|
+
}
|
|
2000
|
+
: undefined);
|
|
1994
2001
|
}
|
|
1995
2002
|
|
|
1996
2003
|
current = false;
|
|
1997
2004
|
},
|
|
1998
2005
|
d(detaching) {
|
|
1999
2006
|
if (detaching) internal.detach(div);
|
|
2000
|
-
|
|
2001
|
-
if (if_block1) if_block1.d();
|
|
2007
|
+
internal.destroy_each(each_blocks, detaching);
|
|
2002
2008
|
if (detaching && div_outro) div_outro.end();
|
|
2003
2009
|
}
|
|
2004
2010
|
};
|
|
2005
2011
|
}
|
|
2006
2012
|
|
|
2007
|
-
// (
|
|
2008
|
-
function
|
|
2013
|
+
// (29:65)
|
|
2014
|
+
function create_if_block_4$2(ctx) {
|
|
2009
2015
|
let video;
|
|
2010
2016
|
let video_src_value;
|
|
2011
2017
|
let video_poster_value;
|
|
@@ -2013,26 +2019,26 @@ function create_else_block$1(ctx) {
|
|
|
2013
2019
|
return {
|
|
2014
2020
|
c() {
|
|
2015
2021
|
video = internal.element("video");
|
|
2016
|
-
internal.attr(video, "class", "media-content svelte-
|
|
2017
|
-
if (!internal.src_url_equal(video.src, video_src_value = /*
|
|
2018
|
-
internal.attr(video, "poster", video_poster_value = /*
|
|
2022
|
+
internal.attr(video, "class", "media-content svelte-129jnm");
|
|
2023
|
+
if (!internal.src_url_equal(video.src, video_src_value = /*media*/ ctx[9].url)) internal.attr(video, "src", video_src_value);
|
|
2024
|
+
internal.attr(video, "poster", video_poster_value = /*media*/ ctx[9].videoCoverUrl);
|
|
2019
2025
|
video.playsInline = true;
|
|
2020
2026
|
internal.attr(video, "paused", "");
|
|
2021
2027
|
video.loop = false;
|
|
2022
2028
|
internal.attr(video, "preload", "auto");
|
|
2023
2029
|
internal.attr(video, "crossorigin", "");
|
|
2024
2030
|
video.controls = false;
|
|
2025
|
-
video.muted =
|
|
2031
|
+
video.muted = true;
|
|
2026
2032
|
},
|
|
2027
2033
|
m(target, anchor) {
|
|
2028
2034
|
internal.insert(target, video, anchor);
|
|
2029
2035
|
},
|
|
2030
2036
|
p(ctx, dirty) {
|
|
2031
|
-
if (dirty & /*
|
|
2037
|
+
if (dirty & /*mediaDataList*/ 64 && !internal.src_url_equal(video.src, video_src_value = /*media*/ ctx[9].url)) {
|
|
2032
2038
|
internal.attr(video, "src", video_src_value);
|
|
2033
2039
|
}
|
|
2034
2040
|
|
|
2035
|
-
if (dirty & /*
|
|
2041
|
+
if (dirty & /*mediaDataList*/ 64 && video_poster_value !== (video_poster_value = /*media*/ ctx[9].videoCoverUrl)) {
|
|
2036
2042
|
internal.attr(video, "poster", video_poster_value);
|
|
2037
2043
|
}
|
|
2038
2044
|
},
|
|
@@ -2042,7 +2048,38 @@ function create_else_block$1(ctx) {
|
|
|
2042
2048
|
};
|
|
2043
2049
|
}
|
|
2044
2050
|
|
|
2045
|
-
// (
|
|
2051
|
+
// (27:64)
|
|
2052
|
+
function create_if_block_3$2(ctx) {
|
|
2053
|
+
let img;
|
|
2054
|
+
let img_src_value;
|
|
2055
|
+
let img_alt_value;
|
|
2056
|
+
|
|
2057
|
+
return {
|
|
2058
|
+
c() {
|
|
2059
|
+
img = internal.element("img");
|
|
2060
|
+
internal.attr(img, "class", "media-content svelte-129jnm");
|
|
2061
|
+
if (!internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].videoCoverUrl)) internal.attr(img, "src", img_src_value);
|
|
2062
|
+
internal.attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
|
|
2063
|
+
},
|
|
2064
|
+
m(target, anchor) {
|
|
2065
|
+
internal.insert(target, img, anchor);
|
|
2066
|
+
},
|
|
2067
|
+
p(ctx, dirty) {
|
|
2068
|
+
if (dirty & /*mediaDataList*/ 64 && !internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].videoCoverUrl)) {
|
|
2069
|
+
internal.attr(img, "src", img_src_value);
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
if (dirty & /*mediaDataList*/ 64 && img_alt_value !== (img_alt_value = /*media*/ ctx[9].name)) {
|
|
2073
|
+
internal.attr(img, "alt", img_alt_value);
|
|
2074
|
+
}
|
|
2075
|
+
},
|
|
2076
|
+
d(detaching) {
|
|
2077
|
+
if (detaching) internal.detach(img);
|
|
2078
|
+
}
|
|
2079
|
+
};
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
// (25:8) {#if media.type === 'Image'}
|
|
2046
2083
|
function create_if_block_2$3(ctx) {
|
|
2047
2084
|
let img;
|
|
2048
2085
|
let img_src_value;
|
|
@@ -2051,19 +2088,19 @@ function create_if_block_2$3(ctx) {
|
|
|
2051
2088
|
return {
|
|
2052
2089
|
c() {
|
|
2053
2090
|
img = internal.element("img");
|
|
2054
|
-
internal.attr(img, "class", "media-content svelte-
|
|
2055
|
-
if (!internal.src_url_equal(img.src, img_src_value = /*
|
|
2056
|
-
internal.attr(img, "alt", img_alt_value = /*
|
|
2091
|
+
internal.attr(img, "class", "media-content carousel-indicator-item svelte-129jnm");
|
|
2092
|
+
if (!internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].url)) internal.attr(img, "src", img_src_value);
|
|
2093
|
+
internal.attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
|
|
2057
2094
|
},
|
|
2058
2095
|
m(target, anchor) {
|
|
2059
2096
|
internal.insert(target, img, anchor);
|
|
2060
2097
|
},
|
|
2061
2098
|
p(ctx, dirty) {
|
|
2062
|
-
if (dirty & /*
|
|
2099
|
+
if (dirty & /*mediaDataList*/ 64 && !internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].url)) {
|
|
2063
2100
|
internal.attr(img, "src", img_src_value);
|
|
2064
2101
|
}
|
|
2065
2102
|
|
|
2066
|
-
if (dirty & /*
|
|
2103
|
+
if (dirty & /*mediaDataList*/ 64 && img_alt_value !== (img_alt_value = /*media*/ ctx[9].name)) {
|
|
2067
2104
|
internal.attr(img, "alt", img_alt_value);
|
|
2068
2105
|
}
|
|
2069
2106
|
},
|
|
@@ -2073,14 +2110,14 @@ function create_if_block_2$3(ctx) {
|
|
|
2073
2110
|
};
|
|
2074
2111
|
}
|
|
2075
2112
|
|
|
2076
|
-
// (
|
|
2113
|
+
// (33:8) {#if media.type === 'Video'}
|
|
2077
2114
|
function create_if_block_1$6(ctx) {
|
|
2078
2115
|
let div;
|
|
2079
2116
|
|
|
2080
2117
|
return {
|
|
2081
2118
|
c() {
|
|
2082
2119
|
div = internal.element("div");
|
|
2083
|
-
internal.attr(div, "class", "video-icon svelte-
|
|
2120
|
+
internal.attr(div, "class", "video-icon svelte-129jnm");
|
|
2084
2121
|
internal.set_style(div, "background-image", "url(" + Image_Play + ")");
|
|
2085
2122
|
},
|
|
2086
2123
|
m(target, anchor) {
|
|
@@ -2093,9 +2130,85 @@ function create_if_block_1$6(ctx) {
|
|
|
2093
2130
|
};
|
|
2094
2131
|
}
|
|
2095
2132
|
|
|
2096
|
-
|
|
2133
|
+
// (23:4) {#each mediaDataList as media}
|
|
2134
|
+
function create_each_block$3(ctx) {
|
|
2135
|
+
let div;
|
|
2136
|
+
let t0;
|
|
2137
|
+
let t1;
|
|
2138
|
+
let div_style_value;
|
|
2139
|
+
|
|
2140
|
+
function select_block_type(ctx, dirty) {
|
|
2141
|
+
if (/*media*/ ctx[9].type === 'Image') return create_if_block_2$3;
|
|
2142
|
+
if (/*media*/ ctx[9].type === 'Video' && /*media*/ ctx[9].videoCoverUrl) return create_if_block_3$2;
|
|
2143
|
+
if (/*media*/ ctx[9].type === 'Video' && !/*media*/ ctx[9].videoCoverUrl) return create_if_block_4$2;
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
let current_block_type = select_block_type(ctx);
|
|
2147
|
+
let if_block0 = current_block_type && current_block_type(ctx);
|
|
2148
|
+
let if_block1 = /*media*/ ctx[9].type === 'Video' && create_if_block_1$6();
|
|
2149
|
+
|
|
2150
|
+
return {
|
|
2151
|
+
c() {
|
|
2152
|
+
div = internal.element("div");
|
|
2153
|
+
if (if_block0) if_block0.c();
|
|
2154
|
+
t0 = internal.space();
|
|
2155
|
+
if (if_block1) if_block1.c();
|
|
2156
|
+
t1 = internal.space();
|
|
2157
|
+
internal.attr(div, "class", "carousel-item svelte-129jnm");
|
|
2158
|
+
internal.attr(div, "style", div_style_value = `object-fit: ${/*objectFit*/ ctx[5]};`);
|
|
2159
|
+
},
|
|
2160
|
+
m(target, anchor) {
|
|
2161
|
+
internal.insert(target, div, anchor);
|
|
2162
|
+
if (if_block0) if_block0.m(div, null);
|
|
2163
|
+
internal.append(div, t0);
|
|
2164
|
+
if (if_block1) if_block1.m(div, null);
|
|
2165
|
+
internal.append(div, t1);
|
|
2166
|
+
},
|
|
2167
|
+
p(ctx, dirty) {
|
|
2168
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block0) {
|
|
2169
|
+
if_block0.p(ctx, dirty);
|
|
2170
|
+
} else {
|
|
2171
|
+
if (if_block0) if_block0.d(1);
|
|
2172
|
+
if_block0 = current_block_type && current_block_type(ctx);
|
|
2173
|
+
|
|
2174
|
+
if (if_block0) {
|
|
2175
|
+
if_block0.c();
|
|
2176
|
+
if_block0.m(div, t0);
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
if (/*media*/ ctx[9].type === 'Video') {
|
|
2181
|
+
if (if_block1) {
|
|
2182
|
+
if_block1.p(ctx, dirty);
|
|
2183
|
+
} else {
|
|
2184
|
+
if_block1 = create_if_block_1$6();
|
|
2185
|
+
if_block1.c();
|
|
2186
|
+
if_block1.m(div, t1);
|
|
2187
|
+
}
|
|
2188
|
+
} else if (if_block1) {
|
|
2189
|
+
if_block1.d(1);
|
|
2190
|
+
if_block1 = null;
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
if (dirty & /*objectFit*/ 32 && div_style_value !== (div_style_value = `object-fit: ${/*objectFit*/ ctx[5]};`)) {
|
|
2194
|
+
internal.attr(div, "style", div_style_value);
|
|
2195
|
+
}
|
|
2196
|
+
},
|
|
2197
|
+
d(detaching) {
|
|
2198
|
+
if (detaching) internal.detach(div);
|
|
2199
|
+
|
|
2200
|
+
if (if_block0) {
|
|
2201
|
+
if_block0.d();
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
if (if_block1) if_block1.d();
|
|
2205
|
+
}
|
|
2206
|
+
};
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
function create_fragment$d(ctx) {
|
|
2097
2210
|
let if_block_anchor;
|
|
2098
|
-
let if_block = /*unfolded*/ ctx[
|
|
2211
|
+
let if_block = /*unfolded*/ ctx[3] && create_if_block$a(ctx);
|
|
2099
2212
|
|
|
2100
2213
|
return {
|
|
2101
2214
|
c() {
|
|
@@ -2107,15 +2220,15 @@ function create_fragment$c(ctx) {
|
|
|
2107
2220
|
internal.insert(target, if_block_anchor, anchor);
|
|
2108
2221
|
},
|
|
2109
2222
|
p(ctx, [dirty]) {
|
|
2110
|
-
if (/*unfolded*/ ctx[
|
|
2223
|
+
if (/*unfolded*/ ctx[3]) {
|
|
2111
2224
|
if (if_block) {
|
|
2112
2225
|
if_block.p(ctx, dirty);
|
|
2113
2226
|
|
|
2114
|
-
if (dirty & /*unfolded*/
|
|
2227
|
+
if (dirty & /*unfolded*/ 8) {
|
|
2115
2228
|
internal.transition_in(if_block, 1);
|
|
2116
2229
|
}
|
|
2117
2230
|
} else {
|
|
2118
|
-
if_block = create_if_block$
|
|
2231
|
+
if_block = create_if_block$a(ctx);
|
|
2119
2232
|
if_block.c();
|
|
2120
2233
|
internal.transition_in(if_block, 1);
|
|
2121
2234
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -2143,31 +2256,45 @@ function create_fragment$c(ctx) {
|
|
|
2143
2256
|
};
|
|
2144
2257
|
}
|
|
2145
2258
|
|
|
2146
|
-
function instance$
|
|
2147
|
-
let
|
|
2259
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
2260
|
+
let mediaDataList;
|
|
2148
2261
|
let { mediaData } = $$props;
|
|
2149
2262
|
let { inDelay = 0 } = $$props;
|
|
2150
2263
|
let { outDelay = 0 } = $$props;
|
|
2151
2264
|
let { duration = 0 } = $$props;
|
|
2152
2265
|
let { unfolded = true } = $$props;
|
|
2266
|
+
let { animation = true } = $$props;
|
|
2267
|
+
let { objectFit = 'cover' } = $$props;
|
|
2268
|
+
let { enableCarousel = true } = $$props;
|
|
2153
2269
|
|
|
2154
2270
|
$$self.$$set = $$props => {
|
|
2155
|
-
if ('mediaData' in $$props) $$invalidate(
|
|
2156
|
-
if ('inDelay' in $$props) $$invalidate(
|
|
2157
|
-
if ('outDelay' in $$props) $$invalidate(
|
|
2158
|
-
if ('duration' in $$props) $$invalidate(
|
|
2159
|
-
if ('unfolded' in $$props) $$invalidate(
|
|
2271
|
+
if ('mediaData' in $$props) $$invalidate(7, mediaData = $$props.mediaData);
|
|
2272
|
+
if ('inDelay' in $$props) $$invalidate(0, inDelay = $$props.inDelay);
|
|
2273
|
+
if ('outDelay' in $$props) $$invalidate(1, outDelay = $$props.outDelay);
|
|
2274
|
+
if ('duration' in $$props) $$invalidate(2, duration = $$props.duration);
|
|
2275
|
+
if ('unfolded' in $$props) $$invalidate(3, unfolded = $$props.unfolded);
|
|
2276
|
+
if ('animation' in $$props) $$invalidate(4, animation = $$props.animation);
|
|
2277
|
+
if ('objectFit' in $$props) $$invalidate(5, objectFit = $$props.objectFit);
|
|
2278
|
+
if ('enableCarousel' in $$props) $$invalidate(8, enableCarousel = $$props.enableCarousel);
|
|
2160
2279
|
};
|
|
2161
2280
|
|
|
2162
2281
|
$$self.$$.update = () => {
|
|
2163
|
-
if ($$self.$$.dirty & /*mediaData*/
|
|
2164
|
-
$$invalidate(
|
|
2165
|
-
? mediaData.url
|
|
2166
|
-
: mediaData.videoCoverUrl);
|
|
2282
|
+
if ($$self.$$.dirty & /*enableCarousel, mediaData*/ 384) {
|
|
2283
|
+
$$invalidate(6, mediaDataList = (enableCarousel ? mediaData : [mediaData[0]]).filter(notNil));
|
|
2167
2284
|
}
|
|
2168
2285
|
};
|
|
2169
2286
|
|
|
2170
|
-
return [
|
|
2287
|
+
return [
|
|
2288
|
+
inDelay,
|
|
2289
|
+
outDelay,
|
|
2290
|
+
duration,
|
|
2291
|
+
unfolded,
|
|
2292
|
+
animation,
|
|
2293
|
+
objectFit,
|
|
2294
|
+
mediaDataList,
|
|
2295
|
+
mediaData,
|
|
2296
|
+
enableCarousel
|
|
2297
|
+
];
|
|
2171
2298
|
}
|
|
2172
2299
|
|
|
2173
2300
|
class Media extends internal.SvelteComponent {
|
|
@@ -2177,36 +2304,39 @@ class Media extends internal.SvelteComponent {
|
|
|
2177
2304
|
internal.init(
|
|
2178
2305
|
this,
|
|
2179
2306
|
options,
|
|
2180
|
-
instance$
|
|
2181
|
-
create_fragment$
|
|
2307
|
+
instance$d,
|
|
2308
|
+
create_fragment$d,
|
|
2182
2309
|
internal.safe_not_equal,
|
|
2183
2310
|
{
|
|
2184
|
-
mediaData:
|
|
2185
|
-
inDelay:
|
|
2186
|
-
outDelay:
|
|
2187
|
-
duration:
|
|
2188
|
-
unfolded:
|
|
2311
|
+
mediaData: 7,
|
|
2312
|
+
inDelay: 0,
|
|
2313
|
+
outDelay: 1,
|
|
2314
|
+
duration: 2,
|
|
2315
|
+
unfolded: 3,
|
|
2316
|
+
animation: 4,
|
|
2317
|
+
objectFit: 5,
|
|
2318
|
+
enableCarousel: 8
|
|
2189
2319
|
},
|
|
2190
|
-
add_css$
|
|
2320
|
+
add_css$d
|
|
2191
2321
|
);
|
|
2192
2322
|
}
|
|
2193
2323
|
}
|
|
2194
2324
|
|
|
2195
|
-
/* src/PanoTagPlugin/Components/Tag/ImageTextTag.svelte generated by Svelte v3.
|
|
2325
|
+
/* src/PanoTagPlugin/Components/Tag/ImageTextTag.svelte generated by Svelte v3.50.1 */
|
|
2196
2326
|
|
|
2197
|
-
function add_css$
|
|
2327
|
+
function add_css$c(target) {
|
|
2198
2328
|
internal.append_styles(target, "svelte-1p8f9wy", ".line.svelte-1p8f9wy{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%);z-index:10}.text.svelte-1p8f9wy{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;z-index:10;font-weight:600}.media-wrapper.svelte-1p8f9wy{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;z-index:10;font-weight:600}");
|
|
2199
2329
|
}
|
|
2200
2330
|
|
|
2201
2331
|
function get_each_context$2(ctx, list, i) {
|
|
2202
2332
|
const child_ctx = ctx.slice();
|
|
2203
|
-
child_ctx[
|
|
2333
|
+
child_ctx[8] = list[i].id;
|
|
2204
2334
|
child_ctx[1] = list[i].content;
|
|
2205
2335
|
return child_ctx;
|
|
2206
2336
|
}
|
|
2207
2337
|
|
|
2208
2338
|
// (19:0) {#if tag.state}
|
|
2209
|
-
function create_if_block$
|
|
2339
|
+
function create_if_block$9(ctx) {
|
|
2210
2340
|
let shadow;
|
|
2211
2341
|
let t0;
|
|
2212
2342
|
let div;
|
|
@@ -2238,7 +2368,7 @@ function create_if_block$8(ctx) {
|
|
|
2238
2368
|
});
|
|
2239
2369
|
|
|
2240
2370
|
let each_value = /*textItems*/ ctx[2];
|
|
2241
|
-
const get_key = ctx => /*id*/ ctx[
|
|
2371
|
+
const get_key = ctx => /*id*/ ctx[8];
|
|
2242
2372
|
|
|
2243
2373
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
2244
2374
|
let child_ctx = get_each_context$2(ctx, each_value, i);
|
|
@@ -2414,10 +2544,10 @@ function create_each_block$2(key_1, ctx) {
|
|
|
2414
2544
|
// (29:2) {#if mediaData}
|
|
2415
2545
|
function create_if_block_1$5(ctx) {
|
|
2416
2546
|
let div;
|
|
2417
|
-
let
|
|
2547
|
+
let media;
|
|
2418
2548
|
let current;
|
|
2419
2549
|
|
|
2420
|
-
|
|
2550
|
+
media = new Media({
|
|
2421
2551
|
props: {
|
|
2422
2552
|
unfolded: /*unfolded*/ ctx[4],
|
|
2423
2553
|
mediaData: /*mediaData*/ ctx[3],
|
|
@@ -2429,40 +2559,40 @@ function create_if_block_1$5(ctx) {
|
|
|
2429
2559
|
return {
|
|
2430
2560
|
c() {
|
|
2431
2561
|
div = internal.element("div");
|
|
2432
|
-
internal.create_component(
|
|
2562
|
+
internal.create_component(media.$$.fragment);
|
|
2433
2563
|
internal.attr(div, "class", "media-wrapper svelte-1p8f9wy");
|
|
2434
2564
|
},
|
|
2435
2565
|
m(target, anchor) {
|
|
2436
2566
|
internal.insert(target, div, anchor);
|
|
2437
|
-
internal.mount_component(
|
|
2567
|
+
internal.mount_component(media, div, null);
|
|
2438
2568
|
current = true;
|
|
2439
2569
|
},
|
|
2440
2570
|
p(ctx, dirty) {
|
|
2441
|
-
const
|
|
2442
|
-
if (dirty & /*unfolded*/ 16)
|
|
2443
|
-
if (dirty & /*mediaData*/ 8)
|
|
2444
|
-
|
|
2571
|
+
const media_changes = {};
|
|
2572
|
+
if (dirty & /*unfolded*/ 16) media_changes.unfolded = /*unfolded*/ ctx[4];
|
|
2573
|
+
if (dirty & /*mediaData*/ 8) media_changes.mediaData = /*mediaData*/ ctx[3];
|
|
2574
|
+
media.$set(media_changes);
|
|
2445
2575
|
},
|
|
2446
2576
|
i(local) {
|
|
2447
2577
|
if (current) return;
|
|
2448
|
-
internal.transition_in(
|
|
2578
|
+
internal.transition_in(media.$$.fragment, local);
|
|
2449
2579
|
current = true;
|
|
2450
2580
|
},
|
|
2451
2581
|
o(local) {
|
|
2452
|
-
internal.transition_out(
|
|
2582
|
+
internal.transition_out(media.$$.fragment, local);
|
|
2453
2583
|
current = false;
|
|
2454
2584
|
},
|
|
2455
2585
|
d(detaching) {
|
|
2456
2586
|
if (detaching) internal.detach(div);
|
|
2457
|
-
internal.destroy_component(
|
|
2587
|
+
internal.destroy_component(media);
|
|
2458
2588
|
}
|
|
2459
2589
|
};
|
|
2460
2590
|
}
|
|
2461
2591
|
|
|
2462
|
-
function create_fragment$
|
|
2592
|
+
function create_fragment$c(ctx) {
|
|
2463
2593
|
let if_block_anchor;
|
|
2464
2594
|
let current;
|
|
2465
|
-
let if_block = /*tag*/ ctx[0].state && create_if_block$
|
|
2595
|
+
let if_block = /*tag*/ ctx[0].state && create_if_block$9(ctx);
|
|
2466
2596
|
|
|
2467
2597
|
return {
|
|
2468
2598
|
c() {
|
|
@@ -2483,7 +2613,7 @@ function create_fragment$b(ctx) {
|
|
|
2483
2613
|
internal.transition_in(if_block, 1);
|
|
2484
2614
|
}
|
|
2485
2615
|
} else {
|
|
2486
|
-
if_block = create_if_block$
|
|
2616
|
+
if_block = create_if_block$9(ctx);
|
|
2487
2617
|
if_block.c();
|
|
2488
2618
|
internal.transition_in(if_block, 1);
|
|
2489
2619
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -2514,11 +2644,11 @@ function create_fragment$b(ctx) {
|
|
|
2514
2644
|
};
|
|
2515
2645
|
}
|
|
2516
2646
|
|
|
2517
|
-
function instance$
|
|
2647
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
2518
2648
|
let unfolded;
|
|
2519
2649
|
let content;
|
|
2520
2650
|
let mediaData;
|
|
2521
|
-
var _a, _b, _c
|
|
2651
|
+
var _a, _b, _c;
|
|
2522
2652
|
let { tag } = $$props;
|
|
2523
2653
|
let textItems;
|
|
2524
2654
|
|
|
@@ -2543,10 +2673,8 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
2543
2673
|
: tag.data.text);
|
|
2544
2674
|
}
|
|
2545
2675
|
|
|
2546
|
-
if ($$self.$$.dirty & /*tag
|
|
2547
|
-
$$invalidate(3, mediaData =
|
|
2548
|
-
? void 0
|
|
2549
|
-
: _d[0]);
|
|
2676
|
+
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
2677
|
+
$$invalidate(3, mediaData = tag.data.mediaData);
|
|
2550
2678
|
}
|
|
2551
2679
|
|
|
2552
2680
|
if ($$self.$$.dirty & /*content*/ 2) {
|
|
@@ -2557,20 +2685,20 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
2557
2685
|
}
|
|
2558
2686
|
};
|
|
2559
2687
|
|
|
2560
|
-
return [tag, content, textItems, mediaData, unfolded, _a, _b, _c
|
|
2688
|
+
return [tag, content, textItems, mediaData, unfolded, _a, _b, _c];
|
|
2561
2689
|
}
|
|
2562
2690
|
|
|
2563
2691
|
class ImageTextTag extends internal.SvelteComponent {
|
|
2564
2692
|
constructor(options) {
|
|
2565
2693
|
super();
|
|
2566
|
-
internal.init(this, options, instance$
|
|
2694
|
+
internal.init(this, options, instance$c, create_fragment$c, internal.safe_not_equal, { tag: 0 }, add_css$c);
|
|
2567
2695
|
}
|
|
2568
2696
|
}
|
|
2569
2697
|
|
|
2570
|
-
/* src/PanoTagPlugin/Components/Tag/MarketingTag.svelte generated by Svelte v3.
|
|
2698
|
+
/* src/PanoTagPlugin/Components/Tag/MarketingTag.svelte generated by Svelte v3.50.1 */
|
|
2571
2699
|
|
|
2572
|
-
function add_css$
|
|
2573
|
-
internal.append_styles(target, "svelte-
|
|
2700
|
+
function add_css$b(target) {
|
|
2701
|
+
internal.append_styles(target, "svelte-xgzc8c", ".svelte-xgzc8c.svelte-xgzc8c{box-sizing:border-box}.marketing.svelte-xgzc8c.svelte-xgzc8c{transform:translateY(-100%)}.content.svelte-xgzc8c .headerImage.svelte-xgzc8c{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.line.svelte-xgzc8c.svelte-xgzc8c{position:absolute;height:2.0625rem;width:0.0625rem;left:50%;transform:translateX(-50%);background-color:white;bottom:0;transform-origin:bottom;transition:all 500ms}.content.svelte-xgzc8c.svelte-xgzc8c{background-color:white;position:relative;display:flex;flex-direction:column;min-width:11.125rem;width:-webkit-max-content;width:-moz-max-content;width:max-content;height:-webkit-max-content;height:-moz-max-content;height:max-content;border-radius:0.25rem;top:-1.875rem;left:-1rem;padding:0.5rem 0rem 0.5625rem;transition:all 500ms}.title.svelte-xgzc8c.svelte-xgzc8c{position:absolute;background-color:white;border-radius:0.25rem;width:100%;top:0.5rem;padding-left:0.75rem;padding-right:0.75rem}.title.svelte-xgzc8c .text.svelte-xgzc8c{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0.75rem;font-weight:bold;line-height:1.125rem;color:#000}.footer.svelte-xgzc8c.svelte-xgzc8c{position:relative;padding-left:0.75rem;padding-right:0.75rem;width:100%;height:1.375rem;display:flex;align-items:center}.footer.svelte-xgzc8c .goto-button.svelte-xgzc8c{flex-shrink:0;white-space:nowrap;background-image:linear-gradient(to right, rgba(87, 144, 253, 1) 0, rgba(42, 114, 254, 1) 100%);color:#fff;font-size:0.625rem;border-radius:0.875rem;font-weight:bold;padding-left:0.5rem;padding-right:0.5rem;height:1.25rem;margin-left:auto;display:flex;align-items:center}.footer.svelte-xgzc8c .goto-icon.svelte-xgzc8c::after{content:'';display:inline-block;width:0.75rem;height:0.75rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAeFBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////GqOSsAAAAJ3RSTlMAFNO2pYt4bErz8uP6ysawgVtBPDcR5C4s2L6ZmJBzZGJXUyEeDws/0G2zAAAAkklEQVQ4y+3TRw6DMBAF0OAeJ3QCpCe0uf8NwRILLBYfiS1/aT3JoymnI+sERZ5VCH0iVto3QDfBLmeSSMUTogRV9bBEpJAKaYpGijn13aTSLeraeG9D0NZFZv4/rRL5FDHnITlllqjv6tykWsmX4JHr05y7j6oFKq2P8He48B0tAM0EY0EDxquClw6vLz6EI35GmwwSZpe+WOgAAAAASUVORK5CYII=);background-size:100% auto;background-repeat:no-repeat}.price.svelte-xgzc8c.svelte-xgzc8c{flex-shrink:0;margin-right:0.75rem;white-space:nowrap;color:#ff6600;display:flex;align-items:baseline}.price.svelte-xgzc8c .value.svelte-xgzc8c{position:relative;top:0.0625rem;font-size:1.125rem;line-height:1.375rem;font-family:TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;letter-spacing:0rem}.price.svelte-xgzc8c .unit.svelte-xgzc8c{padding-left:0.125rem;font-size:0.625rem}.tag.svelte-xgzc8c.svelte-xgzc8c{position:relative;background-color:white;display:flex;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding-left:0.75rem;padding-right:0.75rem}.tag.svelte-xgzc8c .base-tag.svelte-xgzc8c{height:1rem;margin-top:1.375rem;margin-bottom:0.5rem;margin-right:0.25rem;font-size:0.625rem;line-height:0.875rem;padding:0.0625rem 0.25rem;border-radius:0.125rem;overflow:hidden}.tag.svelte-xgzc8c .primary-tag.svelte-xgzc8c{background:#e5eefe;color:#0055ff}.tag.svelte-xgzc8c .secondary-tag.svelte-xgzc8c{background:rgba(255, 102, 0, 0.08);color:rgba(255, 102, 0, 1)}.unfolded.svelte-xgzc8c .line.svelte-xgzc8c{transform:translateX(-50%) scale(1, 1)}.folded.svelte-xgzc8c .line.svelte-xgzc8c{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.unfolded.svelte-xgzc8c .content.svelte-xgzc8c{opacity:1}.folded.svelte-xgzc8c .content.svelte-xgzc8c{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}");
|
|
2574
2702
|
}
|
|
2575
2703
|
|
|
2576
2704
|
function get_each_context$1(ctx, list, i) {
|
|
@@ -2585,7 +2713,7 @@ function get_each_context_1(ctx, list, i) {
|
|
|
2585
2713
|
return child_ctx;
|
|
2586
2714
|
}
|
|
2587
2715
|
|
|
2588
|
-
// (
|
|
2716
|
+
// (28:8) {#if tag}
|
|
2589
2717
|
function create_if_block_4$1(ctx) {
|
|
2590
2718
|
let div;
|
|
2591
2719
|
let t_value = /*tag*/ ctx[0] + "";
|
|
@@ -2595,7 +2723,7 @@ function create_if_block_4$1(ctx) {
|
|
|
2595
2723
|
c() {
|
|
2596
2724
|
div = internal.element("div");
|
|
2597
2725
|
t = internal.text(t_value);
|
|
2598
|
-
internal.attr(div, "class", "base-tag primary-tag svelte-
|
|
2726
|
+
internal.attr(div, "class", "base-tag primary-tag svelte-xgzc8c");
|
|
2599
2727
|
},
|
|
2600
2728
|
m(target, anchor) {
|
|
2601
2729
|
internal.insert(target, div, anchor);
|
|
@@ -2610,7 +2738,7 @@ function create_if_block_4$1(ctx) {
|
|
|
2610
2738
|
};
|
|
2611
2739
|
}
|
|
2612
2740
|
|
|
2613
|
-
// (
|
|
2741
|
+
// (27:6) {#each data.brandTags || [] as tag}
|
|
2614
2742
|
function create_each_block_1(ctx) {
|
|
2615
2743
|
let if_block_anchor;
|
|
2616
2744
|
let if_block = /*tag*/ ctx[0] && create_if_block_4$1(ctx);
|
|
@@ -2645,7 +2773,7 @@ function create_each_block_1(ctx) {
|
|
|
2645
2773
|
};
|
|
2646
2774
|
}
|
|
2647
2775
|
|
|
2648
|
-
// (
|
|
2776
|
+
// (33:8) {#if tag}
|
|
2649
2777
|
function create_if_block_3$1(ctx) {
|
|
2650
2778
|
let div;
|
|
2651
2779
|
let t_value = /*tag*/ ctx[0] + "";
|
|
@@ -2655,7 +2783,7 @@ function create_if_block_3$1(ctx) {
|
|
|
2655
2783
|
c() {
|
|
2656
2784
|
div = internal.element("div");
|
|
2657
2785
|
t = internal.text(t_value);
|
|
2658
|
-
internal.attr(div, "class", "base-tag secondary-tag svelte-
|
|
2786
|
+
internal.attr(div, "class", "base-tag secondary-tag svelte-xgzc8c");
|
|
2659
2787
|
},
|
|
2660
2788
|
m(target, anchor) {
|
|
2661
2789
|
internal.insert(target, div, anchor);
|
|
@@ -2670,7 +2798,7 @@ function create_if_block_3$1(ctx) {
|
|
|
2670
2798
|
};
|
|
2671
2799
|
}
|
|
2672
2800
|
|
|
2673
|
-
// (
|
|
2801
|
+
// (32:6) {#each data.tags || [] as tag}
|
|
2674
2802
|
function create_each_block$1(ctx) {
|
|
2675
2803
|
let if_block_anchor;
|
|
2676
2804
|
let if_block = /*tag*/ ctx[0] && create_if_block_3$1(ctx);
|
|
@@ -2705,7 +2833,7 @@ function create_each_block$1(ctx) {
|
|
|
2705
2833
|
};
|
|
2706
2834
|
}
|
|
2707
2835
|
|
|
2708
|
-
// (
|
|
2836
|
+
// (45:6) {#if data.price?.value !== undefined && data.price?.value !== null}
|
|
2709
2837
|
function create_if_block_1$4(ctx) {
|
|
2710
2838
|
let div;
|
|
2711
2839
|
let span;
|
|
@@ -2721,8 +2849,8 @@ function create_if_block_1$4(ctx) {
|
|
|
2721
2849
|
t0 = internal.text(t0_value);
|
|
2722
2850
|
t1 = internal.space();
|
|
2723
2851
|
if (if_block) if_block.c();
|
|
2724
|
-
internal.attr(span, "class", "value svelte-
|
|
2725
|
-
internal.attr(div, "class", "price svelte-
|
|
2852
|
+
internal.attr(span, "class", "value svelte-xgzc8c");
|
|
2853
|
+
internal.attr(div, "class", "price svelte-xgzc8c");
|
|
2726
2854
|
},
|
|
2727
2855
|
m(target, anchor) {
|
|
2728
2856
|
internal.insert(target, div, anchor);
|
|
@@ -2754,7 +2882,7 @@ function create_if_block_1$4(ctx) {
|
|
|
2754
2882
|
};
|
|
2755
2883
|
}
|
|
2756
2884
|
|
|
2757
|
-
// (
|
|
2885
|
+
// (50:10) {#if data.price.unit}
|
|
2758
2886
|
function create_if_block_2$2(ctx) {
|
|
2759
2887
|
let span;
|
|
2760
2888
|
let t_value = /*data*/ ctx[2].price.unit + "";
|
|
@@ -2764,7 +2892,7 @@ function create_if_block_2$2(ctx) {
|
|
|
2764
2892
|
c() {
|
|
2765
2893
|
span = internal.element("span");
|
|
2766
2894
|
t = internal.text(t_value);
|
|
2767
|
-
internal.attr(span, "class", "unit svelte-
|
|
2895
|
+
internal.attr(span, "class", "unit svelte-xgzc8c");
|
|
2768
2896
|
},
|
|
2769
2897
|
m(target, anchor) {
|
|
2770
2898
|
internal.insert(target, span, anchor);
|
|
@@ -2779,8 +2907,8 @@ function create_if_block_2$2(ctx) {
|
|
|
2779
2907
|
};
|
|
2780
2908
|
}
|
|
2781
2909
|
|
|
2782
|
-
// (
|
|
2783
|
-
function create_if_block$
|
|
2910
|
+
// (57:6) {#if data.highlightText}
|
|
2911
|
+
function create_if_block$8(ctx) {
|
|
2784
2912
|
let div;
|
|
2785
2913
|
let t_value = /*data*/ ctx[2].highlightText + "";
|
|
2786
2914
|
let t;
|
|
@@ -2789,7 +2917,7 @@ function create_if_block$7(ctx) {
|
|
|
2789
2917
|
c() {
|
|
2790
2918
|
div = internal.element("div");
|
|
2791
2919
|
t = internal.text(t_value);
|
|
2792
|
-
internal.attr(div, "class", "goto-button goto-icon svelte-
|
|
2920
|
+
internal.attr(div, "class", "goto-button goto-icon svelte-xgzc8c");
|
|
2793
2921
|
},
|
|
2794
2922
|
m(target, anchor) {
|
|
2795
2923
|
internal.insert(target, div, anchor);
|
|
@@ -2804,7 +2932,7 @@ function create_if_block$7(ctx) {
|
|
|
2804
2932
|
};
|
|
2805
2933
|
}
|
|
2806
2934
|
|
|
2807
|
-
function create_fragment$
|
|
2935
|
+
function create_fragment$b(ctx) {
|
|
2808
2936
|
let div6;
|
|
2809
2937
|
let shadow;
|
|
2810
2938
|
let t0;
|
|
@@ -2852,7 +2980,7 @@ function create_fragment$a(ctx) {
|
|
|
2852
2980
|
}
|
|
2853
2981
|
|
|
2854
2982
|
let if_block0 = /*data*/ ctx[2].price?.value !== undefined && /*data*/ ctx[2].price?.value !== null && create_if_block_1$4(ctx);
|
|
2855
|
-
let if_block1 = /*data*/ ctx[2].highlightText && create_if_block$
|
|
2983
|
+
let if_block1 = /*data*/ ctx[2].highlightText && create_if_block$8(ctx);
|
|
2856
2984
|
|
|
2857
2985
|
return {
|
|
2858
2986
|
c() {
|
|
@@ -2885,7 +3013,7 @@ function create_fragment$a(ctx) {
|
|
|
2885
3013
|
if (if_block0) if_block0.c();
|
|
2886
3014
|
t7 = internal.space();
|
|
2887
3015
|
if (if_block1) if_block1.c();
|
|
2888
|
-
internal.attr(div0, "class", "line svelte-
|
|
3016
|
+
internal.attr(div0, "class", "line svelte-xgzc8c");
|
|
2889
3017
|
|
|
2890
3018
|
internal.set_style(
|
|
2891
3019
|
div0,
|
|
@@ -2896,13 +3024,13 @@ function create_fragment$a(ctx) {
|
|
|
2896
3024
|
false
|
|
2897
3025
|
);
|
|
2898
3026
|
|
|
2899
|
-
internal.attr(img, "class", "headerImage svelte-
|
|
3027
|
+
internal.attr(img, "class", "headerImage svelte-xgzc8c");
|
|
2900
3028
|
if (!internal.src_url_equal(img.src, img_src_value = /*data*/ ctx[2].headerPictureUrl)) internal.attr(img, "src", img_src_value);
|
|
2901
3029
|
internal.attr(img, "alt", "");
|
|
2902
|
-
internal.attr(div1, "class", "tag svelte-
|
|
2903
|
-
internal.attr(div2, "class", "text svelte-
|
|
2904
|
-
internal.attr(div3, "class", "title svelte-
|
|
2905
|
-
internal.attr(div4, "class", "footer svelte-
|
|
3030
|
+
internal.attr(div1, "class", "tag svelte-xgzc8c");
|
|
3031
|
+
internal.attr(div2, "class", "text svelte-xgzc8c");
|
|
3032
|
+
internal.attr(div3, "class", "title svelte-xgzc8c");
|
|
3033
|
+
internal.attr(div4, "class", "footer svelte-xgzc8c");
|
|
2906
3034
|
|
|
2907
3035
|
internal.set_style(
|
|
2908
3036
|
div4,
|
|
@@ -2913,7 +3041,7 @@ function create_fragment$a(ctx) {
|
|
|
2913
3041
|
false
|
|
2914
3042
|
);
|
|
2915
3043
|
|
|
2916
|
-
internal.attr(div5, "class", "content svelte-
|
|
3044
|
+
internal.attr(div5, "class", "content svelte-xgzc8c");
|
|
2917
3045
|
|
|
2918
3046
|
internal.set_style(
|
|
2919
3047
|
div5,
|
|
@@ -2924,7 +3052,7 @@ function create_fragment$a(ctx) {
|
|
|
2924
3052
|
false
|
|
2925
3053
|
);
|
|
2926
3054
|
|
|
2927
|
-
internal.attr(div6, "class", "marketing svelte-
|
|
3055
|
+
internal.attr(div6, "class", "marketing svelte-xgzc8c");
|
|
2928
3056
|
internal.toggle_class(div6, "unfolded", /*unfolded*/ ctx[1]);
|
|
2929
3057
|
internal.toggle_class(div6, "folded", /*folded*/ ctx[3]);
|
|
2930
3058
|
},
|
|
@@ -3045,7 +3173,7 @@ function create_fragment$a(ctx) {
|
|
|
3045
3173
|
if (if_block1) {
|
|
3046
3174
|
if_block1.p(ctx, dirty);
|
|
3047
3175
|
} else {
|
|
3048
|
-
if_block1 = create_if_block$
|
|
3176
|
+
if_block1 = create_if_block$8(ctx);
|
|
3049
3177
|
if_block1.c();
|
|
3050
3178
|
if_block1.m(div4, null);
|
|
3051
3179
|
}
|
|
@@ -3076,11 +3204,11 @@ function create_fragment$a(ctx) {
|
|
|
3076
3204
|
);
|
|
3077
3205
|
}
|
|
3078
3206
|
|
|
3079
|
-
if (dirty & /*unfolded*/ 2) {
|
|
3207
|
+
if (!current || dirty & /*unfolded*/ 2) {
|
|
3080
3208
|
internal.toggle_class(div6, "unfolded", /*unfolded*/ ctx[1]);
|
|
3081
3209
|
}
|
|
3082
3210
|
|
|
3083
|
-
if (dirty & /*folded*/ 8) {
|
|
3211
|
+
if (!current || dirty & /*folded*/ 8) {
|
|
3084
3212
|
internal.toggle_class(div6, "folded", /*folded*/ ctx[3]);
|
|
3085
3213
|
}
|
|
3086
3214
|
},
|
|
@@ -3115,7 +3243,7 @@ const tagContentShowWhenLineStartGrow = 180;
|
|
|
3115
3243
|
// 标签出现时长
|
|
3116
3244
|
const tagContentShow = 500;
|
|
3117
3245
|
|
|
3118
|
-
function instance$
|
|
3246
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
3119
3247
|
let unfolded;
|
|
3120
3248
|
let folded;
|
|
3121
3249
|
let data;
|
|
@@ -3150,18 +3278,18 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
3150
3278
|
class MarketingTag extends internal.SvelteComponent {
|
|
3151
3279
|
constructor(options) {
|
|
3152
3280
|
super();
|
|
3153
|
-
internal.init(this, options, instance$
|
|
3281
|
+
internal.init(this, options, instance$b, create_fragment$b, internal.safe_not_equal, { tag: 0 }, add_css$b);
|
|
3154
3282
|
}
|
|
3155
3283
|
}
|
|
3156
3284
|
|
|
3157
|
-
/* src/PanoTagPlugin/Components/Common/Audio.svelte generated by Svelte v3.
|
|
3285
|
+
/* src/PanoTagPlugin/Components/Common/Audio.svelte generated by Svelte v3.50.1 */
|
|
3158
3286
|
|
|
3159
|
-
function add_css$
|
|
3287
|
+
function add_css$a(target) {
|
|
3160
3288
|
internal.append_styles(target, "svelte-tlcvd7", ".audio.svelte-tlcvd7.svelte-tlcvd7{position:relative;width:100%;height:100%;cursor:pointer}@-webkit-keyframes svelte-tlcvd7-playing{25%{background-image:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8' transform='translate(-1 -1)' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E\")}50%{background-image:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM5.533 6.685L4.169 8.049l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E\")}75%{background-image:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm-.656 4.874l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .875-.333 1.67-.88 2.268l.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E\")}}@keyframes svelte-tlcvd7-playing{25%{background-image:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8' transform='translate(-1 -1)' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E\")}50%{background-image:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM5.533 6.685L4.169 8.049l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E\")}75%{background-image:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm-.656 4.874l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .875-.333 1.67-.88 2.268l.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E\")}}.paused.svelte-tlcvd7 .audio-icon.svelte-tlcvd7{-webkit-animation:none;animation:none}.audio-icon.svelte-tlcvd7.svelte-tlcvd7{width:100%;height:100%;border-radius:50%;background-size:100%;-webkit-animation:svelte-tlcvd7-playing 2s steps(1) infinite;animation:svelte-tlcvd7-playing 2s steps(1) infinite;background-image:url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm1.428 2.79l-.953.952a6.222 6.222 0 0 1 1.775 4.36c0 1.571-.58 3.006-1.538 4.103l-.184.202.793.794a7.344 7.344 0 0 0 2.21-5.26A7.341 7.341 0 0 0 9.428 2.79zM7.344 4.873l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .802-.28 1.537-.748 2.115l-.132.153.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E\")}");
|
|
3161
3289
|
}
|
|
3162
3290
|
|
|
3163
3291
|
// (34:0) {#if unfolded}
|
|
3164
|
-
function create_if_block$
|
|
3292
|
+
function create_if_block$7(ctx) {
|
|
3165
3293
|
let div1;
|
|
3166
3294
|
let shadow;
|
|
3167
3295
|
let t0;
|
|
@@ -3180,8 +3308,7 @@ function create_if_block$6(ctx) {
|
|
|
3180
3308
|
props: {
|
|
3181
3309
|
center: true,
|
|
3182
3310
|
blurRadius: 15,
|
|
3183
|
-
spreadRadius: 6
|
|
3184
|
-
zIndex: -1
|
|
3311
|
+
spreadRadius: 6
|
|
3185
3312
|
}
|
|
3186
3313
|
});
|
|
3187
3314
|
|
|
@@ -3231,7 +3358,7 @@ function create_if_block$6(ctx) {
|
|
|
3231
3358
|
audio_1[audio_1_is_paused ? "pause" : "play"]();
|
|
3232
3359
|
}
|
|
3233
3360
|
|
|
3234
|
-
if (dirty & /*paused*/ 64) {
|
|
3361
|
+
if (!current || dirty & /*paused*/ 64) {
|
|
3235
3362
|
internal.toggle_class(div1, "paused", /*paused*/ ctx[6]);
|
|
3236
3363
|
}
|
|
3237
3364
|
},
|
|
@@ -3280,10 +3407,10 @@ function create_if_block$6(ctx) {
|
|
|
3280
3407
|
};
|
|
3281
3408
|
}
|
|
3282
3409
|
|
|
3283
|
-
function create_fragment$
|
|
3410
|
+
function create_fragment$a(ctx) {
|
|
3284
3411
|
let if_block_anchor;
|
|
3285
3412
|
let current;
|
|
3286
|
-
let if_block = /*unfolded*/ ctx[4] && create_if_block$
|
|
3413
|
+
let if_block = /*unfolded*/ ctx[4] && create_if_block$7(ctx);
|
|
3287
3414
|
|
|
3288
3415
|
return {
|
|
3289
3416
|
c() {
|
|
@@ -3304,7 +3431,7 @@ function create_fragment$9(ctx) {
|
|
|
3304
3431
|
internal.transition_in(if_block, 1);
|
|
3305
3432
|
}
|
|
3306
3433
|
} else {
|
|
3307
|
-
if_block = create_if_block$
|
|
3434
|
+
if_block = create_if_block$7(ctx);
|
|
3308
3435
|
if_block.c();
|
|
3309
3436
|
internal.transition_in(if_block, 1);
|
|
3310
3437
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -3335,7 +3462,7 @@ function create_fragment$9(ctx) {
|
|
|
3335
3462
|
};
|
|
3336
3463
|
}
|
|
3337
3464
|
|
|
3338
|
-
function instance$
|
|
3465
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
3339
3466
|
let { inDelay = 0 } = $$props;
|
|
3340
3467
|
let { outDelay = 0 } = $$props;
|
|
3341
3468
|
let { duration = 0 } = $$props;
|
|
@@ -3450,8 +3577,8 @@ class Audio extends internal.SvelteComponent {
|
|
|
3450
3577
|
internal.init(
|
|
3451
3578
|
this,
|
|
3452
3579
|
options,
|
|
3453
|
-
instance$
|
|
3454
|
-
create_fragment$
|
|
3580
|
+
instance$a,
|
|
3581
|
+
create_fragment$a,
|
|
3455
3582
|
internal.safe_not_equal,
|
|
3456
3583
|
{
|
|
3457
3584
|
inDelay: 0,
|
|
@@ -3462,19 +3589,19 @@ class Audio extends internal.SvelteComponent {
|
|
|
3462
3589
|
mediaStore: 8,
|
|
3463
3590
|
hooksInfo: 9
|
|
3464
3591
|
},
|
|
3465
|
-
add_css$
|
|
3592
|
+
add_css$a
|
|
3466
3593
|
);
|
|
3467
3594
|
}
|
|
3468
3595
|
}
|
|
3469
3596
|
|
|
3470
|
-
/* src/PanoTagPlugin/Components/Tag/AudioTag.svelte generated by Svelte v3.
|
|
3597
|
+
/* src/PanoTagPlugin/Components/Tag/AudioTag.svelte generated by Svelte v3.50.1 */
|
|
3471
3598
|
|
|
3472
|
-
function add_css$
|
|
3599
|
+
function add_css$9(target) {
|
|
3473
3600
|
internal.append_styles(target, "svelte-z2d21h", ".audio-tag.svelte-z2d21h.svelte-z2d21h{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.line.svelte-z2d21h.svelte-z2d21h{display:flex;position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-z2d21h.svelte-z2d21h{width:-webkit-max-content;width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0.125rem;overflow:hidden;box-sizing:border-box;font-size:0;white-space:nowrap;font-weight:600}.wrapper.svelte-z2d21h.svelte-z2d21h{position:relative;width:100%;height:100%}.audio-icon.svelte-z2d21h.svelte-z2d21h{vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.unfolded.svelte-z2d21h .audio-icon.svelte-z2d21h{pointer-events:auto}");
|
|
3474
3601
|
}
|
|
3475
3602
|
|
|
3476
3603
|
// (28:0) {#if tag.state}
|
|
3477
|
-
function create_if_block$
|
|
3604
|
+
function create_if_block$6(ctx) {
|
|
3478
3605
|
let div5;
|
|
3479
3606
|
let shadow;
|
|
3480
3607
|
let t0;
|
|
@@ -3605,7 +3732,7 @@ function create_if_block$5(ctx) {
|
|
|
3605
3732
|
if (dirty & /*textItems*/ 16) multilinetext_changes.textItems = /*textItems*/ ctx[4];
|
|
3606
3733
|
multilinetext.$set(multilinetext_changes);
|
|
3607
3734
|
|
|
3608
|
-
if (dirty & /*unfolded*/ 64) {
|
|
3735
|
+
if (!current || dirty & /*unfolded*/ 64) {
|
|
3609
3736
|
internal.toggle_class(div5, "unfolded", /*unfolded*/ ctx[6]);
|
|
3610
3737
|
}
|
|
3611
3738
|
},
|
|
@@ -3637,10 +3764,10 @@ function create_if_block$5(ctx) {
|
|
|
3637
3764
|
};
|
|
3638
3765
|
}
|
|
3639
3766
|
|
|
3640
|
-
function create_fragment$
|
|
3767
|
+
function create_fragment$9(ctx) {
|
|
3641
3768
|
let if_block_anchor;
|
|
3642
3769
|
let current;
|
|
3643
|
-
let if_block = /*tag*/ ctx[1].state && create_if_block$
|
|
3770
|
+
let if_block = /*tag*/ ctx[1].state && create_if_block$6(ctx);
|
|
3644
3771
|
|
|
3645
3772
|
return {
|
|
3646
3773
|
c() {
|
|
@@ -3661,7 +3788,7 @@ function create_fragment$8(ctx) {
|
|
|
3661
3788
|
internal.transition_in(if_block, 1);
|
|
3662
3789
|
}
|
|
3663
3790
|
} else {
|
|
3664
|
-
if_block = create_if_block$
|
|
3791
|
+
if_block = create_if_block$6(ctx);
|
|
3665
3792
|
if_block.c();
|
|
3666
3793
|
internal.transition_in(if_block, 1);
|
|
3667
3794
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -3692,7 +3819,7 @@ function create_fragment$8(ctx) {
|
|
|
3692
3819
|
};
|
|
3693
3820
|
}
|
|
3694
3821
|
|
|
3695
|
-
function instance$
|
|
3822
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
3696
3823
|
let unfolded;
|
|
3697
3824
|
let text;
|
|
3698
3825
|
let foldTextDelay;
|
|
@@ -3759,14 +3886,165 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
3759
3886
|
class AudioTag extends internal.SvelteComponent {
|
|
3760
3887
|
constructor(options) {
|
|
3761
3888
|
super();
|
|
3762
|
-
internal.init(this, options, instance$
|
|
3889
|
+
internal.init(this, options, instance$9, create_fragment$9, internal.safe_not_equal, { mediaStore: 0, tag: 1 }, add_css$9);
|
|
3890
|
+
}
|
|
3891
|
+
}
|
|
3892
|
+
|
|
3893
|
+
/* src/PanoTagPlugin/Components/Tag/MediaPlane.svelte generated by Svelte v3.50.1 */
|
|
3894
|
+
|
|
3895
|
+
function add_css$8(target) {
|
|
3896
|
+
internal.append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
3897
|
+
}
|
|
3898
|
+
|
|
3899
|
+
// (18:0) {#if tag.state && mediaData}
|
|
3900
|
+
function create_if_block$5(ctx) {
|
|
3901
|
+
let div;
|
|
3902
|
+
let media;
|
|
3903
|
+
let current;
|
|
3904
|
+
|
|
3905
|
+
media = new Media({
|
|
3906
|
+
props: {
|
|
3907
|
+
unfolded: /*unfolded*/ ctx[3],
|
|
3908
|
+
mediaData: /*mediaData*/ ctx[2],
|
|
3909
|
+
objectFit: /*objectFit*/ ctx[1],
|
|
3910
|
+
enableCarousel: true,
|
|
3911
|
+
inDelay: 500,
|
|
3912
|
+
duration: 500
|
|
3913
|
+
}
|
|
3914
|
+
});
|
|
3915
|
+
|
|
3916
|
+
return {
|
|
3917
|
+
c() {
|
|
3918
|
+
div = internal.element("div");
|
|
3919
|
+
internal.create_component(media.$$.fragment);
|
|
3920
|
+
internal.attr(div, "class", "media-wrapper svelte-10cw0el");
|
|
3921
|
+
},
|
|
3922
|
+
m(target, anchor) {
|
|
3923
|
+
internal.insert(target, div, anchor);
|
|
3924
|
+
internal.mount_component(media, div, null);
|
|
3925
|
+
current = true;
|
|
3926
|
+
},
|
|
3927
|
+
p(ctx, dirty) {
|
|
3928
|
+
const media_changes = {};
|
|
3929
|
+
if (dirty & /*unfolded*/ 8) media_changes.unfolded = /*unfolded*/ ctx[3];
|
|
3930
|
+
if (dirty & /*mediaData*/ 4) media_changes.mediaData = /*mediaData*/ ctx[2];
|
|
3931
|
+
if (dirty & /*objectFit*/ 2) media_changes.objectFit = /*objectFit*/ ctx[1];
|
|
3932
|
+
media.$set(media_changes);
|
|
3933
|
+
},
|
|
3934
|
+
i(local) {
|
|
3935
|
+
if (current) return;
|
|
3936
|
+
internal.transition_in(media.$$.fragment, local);
|
|
3937
|
+
current = true;
|
|
3938
|
+
},
|
|
3939
|
+
o(local) {
|
|
3940
|
+
internal.transition_out(media.$$.fragment, local);
|
|
3941
|
+
current = false;
|
|
3942
|
+
},
|
|
3943
|
+
d(detaching) {
|
|
3944
|
+
if (detaching) internal.detach(div);
|
|
3945
|
+
internal.destroy_component(media);
|
|
3946
|
+
}
|
|
3947
|
+
};
|
|
3948
|
+
}
|
|
3949
|
+
|
|
3950
|
+
function create_fragment$8(ctx) {
|
|
3951
|
+
let if_block_anchor;
|
|
3952
|
+
let current;
|
|
3953
|
+
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[2] && create_if_block$5(ctx);
|
|
3954
|
+
|
|
3955
|
+
return {
|
|
3956
|
+
c() {
|
|
3957
|
+
if (if_block) if_block.c();
|
|
3958
|
+
if_block_anchor = internal.empty();
|
|
3959
|
+
},
|
|
3960
|
+
m(target, anchor) {
|
|
3961
|
+
if (if_block) if_block.m(target, anchor);
|
|
3962
|
+
internal.insert(target, if_block_anchor, anchor);
|
|
3963
|
+
current = true;
|
|
3964
|
+
},
|
|
3965
|
+
p(ctx, [dirty]) {
|
|
3966
|
+
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[2]) {
|
|
3967
|
+
if (if_block) {
|
|
3968
|
+
if_block.p(ctx, dirty);
|
|
3969
|
+
|
|
3970
|
+
if (dirty & /*tag, mediaData*/ 5) {
|
|
3971
|
+
internal.transition_in(if_block, 1);
|
|
3972
|
+
}
|
|
3973
|
+
} else {
|
|
3974
|
+
if_block = create_if_block$5(ctx);
|
|
3975
|
+
if_block.c();
|
|
3976
|
+
internal.transition_in(if_block, 1);
|
|
3977
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
3978
|
+
}
|
|
3979
|
+
} else if (if_block) {
|
|
3980
|
+
internal.group_outros();
|
|
3981
|
+
|
|
3982
|
+
internal.transition_out(if_block, 1, 1, () => {
|
|
3983
|
+
if_block = null;
|
|
3984
|
+
});
|
|
3985
|
+
|
|
3986
|
+
internal.check_outros();
|
|
3987
|
+
}
|
|
3988
|
+
},
|
|
3989
|
+
i(local) {
|
|
3990
|
+
if (current) return;
|
|
3991
|
+
internal.transition_in(if_block);
|
|
3992
|
+
current = true;
|
|
3993
|
+
},
|
|
3994
|
+
o(local) {
|
|
3995
|
+
internal.transition_out(if_block);
|
|
3996
|
+
current = false;
|
|
3997
|
+
},
|
|
3998
|
+
d(detaching) {
|
|
3999
|
+
if (if_block) if_block.d(detaching);
|
|
4000
|
+
if (detaching) internal.detach(if_block_anchor);
|
|
4001
|
+
}
|
|
4002
|
+
};
|
|
4003
|
+
}
|
|
4004
|
+
|
|
4005
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
4006
|
+
let unfolded;
|
|
4007
|
+
let mediaData;
|
|
4008
|
+
let objectFit;
|
|
4009
|
+
var _a;
|
|
4010
|
+
let { tag } = $$props;
|
|
4011
|
+
|
|
4012
|
+
$$self.$$set = $$props => {
|
|
4013
|
+
if ('tag' in $$props) $$invalidate(0, tag = $$props.tag);
|
|
4014
|
+
};
|
|
4015
|
+
|
|
4016
|
+
$$self.$$.update = () => {
|
|
4017
|
+
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
4018
|
+
$$invalidate(3, unfolded = tag.state ? tag.state.unfolded : false);
|
|
4019
|
+
}
|
|
4020
|
+
|
|
4021
|
+
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
4022
|
+
$$invalidate(2, mediaData = tag.data.mediaData);
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
if ($$self.$$.dirty & /*tag, _a*/ 17) {
|
|
4026
|
+
$$invalidate(1, objectFit = $$invalidate(4, _a = tag.data.objectFit) !== null && _a !== void 0
|
|
4027
|
+
? _a
|
|
4028
|
+
: (() => {
|
|
4029
|
+
if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
|
|
4030
|
+
})());
|
|
4031
|
+
}
|
|
4032
|
+
};
|
|
4033
|
+
|
|
4034
|
+
return [tag, objectFit, mediaData, unfolded, _a];
|
|
4035
|
+
}
|
|
4036
|
+
|
|
4037
|
+
class MediaPlane extends internal.SvelteComponent {
|
|
4038
|
+
constructor(options) {
|
|
4039
|
+
super();
|
|
4040
|
+
internal.init(this, options, instance$8, create_fragment$8, internal.safe_not_equal, { tag: 0 }, add_css$8);
|
|
3763
4041
|
}
|
|
3764
4042
|
}
|
|
3765
4043
|
|
|
3766
|
-
/* src/PanoTagPlugin/Components/Tag/LinkTag.svelte generated by Svelte v3.
|
|
4044
|
+
/* src/PanoTagPlugin/Components/Tag/LinkTag.svelte generated by Svelte v3.50.1 */
|
|
3767
4045
|
|
|
3768
4046
|
function add_css$7(target) {
|
|
3769
|
-
internal.append_styles(target, "svelte-
|
|
4047
|
+
internal.append_styles(target, "svelte-135cbxk", ".wrapper.svelte-135cbxk{font-weight:600;cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content;height:-webkit-max-content;height:-moz-max-content;height:max-content;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:auto}.text-wrapper.svelte-135cbxk{position:relative;display:flex;align-items:center;justify-content:center}.icon.svelte-135cbxk{position:relative;margin-bottom:0.6875rem}.arrow0.svelte-135cbxk,.arrow1.svelte-135cbxk,.arrow2.svelte-135cbxk{position:absolute;width:1.625rem;height:0.75rem;background-image:url(data:image/png;base64,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);background-repeat:no-repeat;background-size:contain;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-duration:1.2s;animation-duration:1.2s}.arrow1.svelte-135cbxk{position:relative}.arrow0.svelte-135cbxk{top:-0.75rem;-webkit-animation-name:svelte-135cbxk-up0;animation-name:svelte-135cbxk-up0}.arrow1.svelte-135cbxk{-webkit-animation-name:svelte-135cbxk-up1;animation-name:svelte-135cbxk-up1}.arrow2.svelte-135cbxk{top:0.75rem;-webkit-animation-name:svelte-135cbxk-up2;animation-name:svelte-135cbxk-up2}.text.svelte-135cbxk{position:absolute;top:0;font-size:0.875rem;color:#ffffff;letter-spacing:0;text-align:center;max-width:8.75rem;width:-webkit-max-content;width:-moz-max-content;width:max-content;word-break:break-all;line-height:1.125rem;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}@-webkit-keyframes svelte-135cbxk-up0{0%{opacity:0.8;transform:translateY(0) scale(0.84)}33.33%,100%{opacity:0;transform:translateY(-0.75rem) scale(0.84)}}@keyframes svelte-135cbxk-up0{0%{opacity:0.8;transform:translateY(0) scale(0.84)}33.33%,100%{opacity:0;transform:translateY(-0.75rem) scale(0.84)}}@-webkit-keyframes svelte-135cbxk-up1{0%{opacity:1;transform:translateY(0rem) scale(1)}33.33%,100%{opacity:0.8;transform:translateY(-0.75rem) scale(0.84)}}@keyframes svelte-135cbxk-up1{0%{opacity:1;transform:translateY(0rem) scale(1)}33.33%,100%{opacity:0.8;transform:translateY(-0.75rem) scale(0.84)}}@-webkit-keyframes svelte-135cbxk-up2{0%{opacity:0}33.33%,100%{opacity:1;transform:translateY(-0.75rem)}}@keyframes svelte-135cbxk-up2{0%{opacity:0}33.33%,100%{opacity:1;transform:translateY(-0.75rem)}}.link.svelte-135cbxk{position:relative;width:1.75rem;height:0.75rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAAkCAMAAAAgl+0yAAAAnFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+TINBkAAAAM3RSTlMAjLy6ILM2Fi+Zng3BrPvao4VC9ceneQfKkmNdV1AbEeLOsHA77ujUtn5JLnRraSUUjVLj/+RVAAABhElEQVRIx63V2W6CQBiGYUBUQGDYdwTZQZZa7v/eimik/ket/7yZ4yeTTCYf8+dOX8etxGVoxAvCVbguR3g0uRTMA0w4odGi+CbzFnGKosCqrmHc5rdEwzCwqtGFJlC7DqtOcTxANY67BHnVKOpVoEZRjFPdLgxbqIZhhFTjINChGgThF06NhpGd35OGMcCppyDPfajm+YhUR8cRoeo4+RGlJnnbalBt2x6nHh1dt4Gq6bqDU886y2ZQZVn9jFJ51vcbqPo+Up18UeSgKoo3nHqVJEkGqi1JPk49aLZmQdW2xXf1zP+vUFHsC1QVReK33xdk+w9SaqAq+732UvvdZ2UEqrud8lR5Wc4a7pO8GaoL9VBjy7rMlMosq1lV43LhZlrtF+yuJlbtEXpqXXP3NYwI8VJqakOIziw5aepV1FQuTdfhvlWVZdJCrao6MPe0spRpqV5ZFivqNqYpq3RQ2TST5/h4quoRCmwqq6rymol6plV53IZSomTKE/MroWfxDevL/wAEdPq1eGDh4AAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-size:contain;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:1.2s;animation-duration:1.2s;-webkit-animation-name:svelte-135cbxk-left-right;animation-name:svelte-135cbxk-left-right}@-webkit-keyframes svelte-135cbxk-left-right{0%,100%{opacity:0.8;transform:translateX(-0.3125rem)}50%{opacity:1;transform:translateX(0)}}@keyframes svelte-135cbxk-left-right{0%,100%{opacity:0.8;transform:translateX(-0.3125rem)}50%{opacity:1;transform:translateX(0)}}");
|
|
3770
4048
|
}
|
|
3771
4049
|
|
|
3772
4050
|
// (14:52)
|
|
@@ -3794,7 +4072,7 @@ function create_if_block_1$3(ctx) {
|
|
|
3794
4072
|
internal.create_component(shadow.$$.fragment);
|
|
3795
4073
|
t = internal.space();
|
|
3796
4074
|
div = internal.element("div");
|
|
3797
|
-
internal.attr(div, "class", "link svelte-
|
|
4075
|
+
internal.attr(div, "class", "link svelte-135cbxk");
|
|
3798
4076
|
},
|
|
3799
4077
|
m(target, anchor) {
|
|
3800
4078
|
internal.mount_component(shadow, target, anchor);
|
|
@@ -3852,9 +4130,9 @@ function create_if_block$4(ctx) {
|
|
|
3852
4130
|
div1 = internal.element("div");
|
|
3853
4131
|
t2 = internal.space();
|
|
3854
4132
|
div2 = internal.element("div");
|
|
3855
|
-
internal.attr(div0, "class", "arrow0 svelte-
|
|
3856
|
-
internal.attr(div1, "class", "arrow1 svelte-
|
|
3857
|
-
internal.attr(div2, "class", "arrow2 svelte-
|
|
4133
|
+
internal.attr(div0, "class", "arrow0 svelte-135cbxk");
|
|
4134
|
+
internal.attr(div1, "class", "arrow1 svelte-135cbxk");
|
|
4135
|
+
internal.attr(div2, "class", "arrow2 svelte-135cbxk");
|
|
3858
4136
|
},
|
|
3859
4137
|
m(target, anchor) {
|
|
3860
4138
|
internal.mount_component(shadow, target, anchor);
|
|
@@ -3938,10 +4216,10 @@ function create_fragment$7(ctx) {
|
|
|
3938
4216
|
t1 = internal.space();
|
|
3939
4217
|
div1 = internal.element("div");
|
|
3940
4218
|
t2 = internal.text(t2_value);
|
|
3941
|
-
internal.attr(div0, "class", "icon svelte-
|
|
3942
|
-
internal.attr(div1, "class", "text svelte-
|
|
3943
|
-
internal.attr(div2, "class", "text-wrapper svelte-
|
|
3944
|
-
internal.attr(div3, "class", "wrapper svelte-
|
|
4219
|
+
internal.attr(div0, "class", "icon svelte-135cbxk");
|
|
4220
|
+
internal.attr(div1, "class", "text svelte-135cbxk");
|
|
4221
|
+
internal.attr(div2, "class", "text-wrapper svelte-135cbxk");
|
|
4222
|
+
internal.attr(div3, "class", "wrapper svelte-135cbxk");
|
|
3945
4223
|
},
|
|
3946
4224
|
m(target, anchor) {
|
|
3947
4225
|
internal.insert(target, div3, anchor);
|
|
@@ -4038,13 +4316,13 @@ class LinkTag extends internal.SvelteComponent {
|
|
|
4038
4316
|
}
|
|
4039
4317
|
}
|
|
4040
4318
|
|
|
4041
|
-
/* src/PanoTagPlugin/Components/Tag/CustomTag.svelte generated by Svelte v3.
|
|
4319
|
+
/* src/PanoTagPlugin/Components/Tag/CustomTag.svelte generated by Svelte v3.50.1 */
|
|
4042
4320
|
|
|
4043
4321
|
function add_css$6(target) {
|
|
4044
4322
|
internal.append_styles(target, "svelte-kzl2aj", ".customElement__container.svelte-kzl2aj{position:relative}");
|
|
4045
4323
|
}
|
|
4046
4324
|
|
|
4047
|
-
// (24:2) {#if tag.element === 'string'}
|
|
4325
|
+
// (24:2) {#if typeof tag.element === 'string'}
|
|
4048
4326
|
function create_if_block$3(ctx) {
|
|
4049
4327
|
let html_tag;
|
|
4050
4328
|
let raw_value = /*tag*/ ctx[0].element + "";
|
|
@@ -4072,7 +4350,7 @@ function create_if_block$3(ctx) {
|
|
|
4072
4350
|
|
|
4073
4351
|
function create_fragment$6(ctx) {
|
|
4074
4352
|
let div;
|
|
4075
|
-
let if_block = /*tag*/ ctx[0].element === 'string' && create_if_block$3(ctx);
|
|
4353
|
+
let if_block = typeof /*tag*/ ctx[0].element === 'string' && create_if_block$3(ctx);
|
|
4076
4354
|
|
|
4077
4355
|
return {
|
|
4078
4356
|
c() {
|
|
@@ -4086,7 +4364,7 @@ function create_fragment$6(ctx) {
|
|
|
4086
4364
|
/*div_binding*/ ctx[2](div);
|
|
4087
4365
|
},
|
|
4088
4366
|
p(ctx, [dirty]) {
|
|
4089
|
-
if (/*tag*/ ctx[0].element === 'string') {
|
|
4367
|
+
if (typeof /*tag*/ ctx[0].element === 'string') {
|
|
4090
4368
|
if (if_block) {
|
|
4091
4369
|
if_block.p(ctx, dirty);
|
|
4092
4370
|
} else {
|
|
@@ -4157,13 +4435,50 @@ class CustomTag extends internal.SvelteComponent {
|
|
|
4157
4435
|
}
|
|
4158
4436
|
}
|
|
4159
4437
|
|
|
4160
|
-
/* src/PanoTagPlugin/Components/Tag/index.svelte generated by Svelte v3.
|
|
4438
|
+
/* src/PanoTagPlugin/Components/Tag/index.svelte generated by Svelte v3.50.1 */
|
|
4161
4439
|
|
|
4162
4440
|
function add_css$5(target) {
|
|
4163
|
-
internal.append_styles(target, "svelte-
|
|
4441
|
+
internal.append_styles(target, "svelte-sfzj5l", "@font-face{font-family:'TG-TYPE';font-style:normal;font-weight:400;src:local('TG-TYPE-Bold'),\n url(data:application/font-woff2;charset=utf-8;base64,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)\n format('woff2')}.content__container.svelte-sfzj5l{position:relative;left:50%;top:50%;transform:translate(-50%, -50%);font-family:PingFangSC, Segoe UI, Rototo, sans-serif}*{-webkit-tap-highlight-color:transparent}.content__wrapper.svelte-sfzj5l{pointer-events:none;width:100%;height:100%}.withAnimation.svelte-sfzj5l{transition:opacity 0.3s linear}.content__container.hide.svelte-sfzj5l{opacity:0;pointer-events:none}.content__container.disable.svelte-sfzj5l{display:none}.content__container.hide.svelte-sfzj5l *{pointer-events:none}.content.svelte-sfzj5l{position:relative;width:100%;height:100%;font-size:0.75rem;line-height:1.125rem;color:#fff}.content.svelte-sfzj5l:not(.unfolded){pointer-events:none}.content.svelte-sfzj5l:not(.unfolded) *{pointer-events:none !important}.content.unfolded.svelte-sfzj5l{pointer-events:auto}");
|
|
4442
|
+
}
|
|
4443
|
+
|
|
4444
|
+
// (67:59)
|
|
4445
|
+
function create_if_block_6(ctx) {
|
|
4446
|
+
let mediaplane;
|
|
4447
|
+
let current;
|
|
4448
|
+
|
|
4449
|
+
mediaplane = new MediaPlane({
|
|
4450
|
+
props: { tag: noTypecheck(/*tag*/ ctx[1]) }
|
|
4451
|
+
});
|
|
4452
|
+
|
|
4453
|
+
return {
|
|
4454
|
+
c() {
|
|
4455
|
+
internal.create_component(mediaplane.$$.fragment);
|
|
4456
|
+
},
|
|
4457
|
+
m(target, anchor) {
|
|
4458
|
+
internal.mount_component(mediaplane, target, anchor);
|
|
4459
|
+
current = true;
|
|
4460
|
+
},
|
|
4461
|
+
p(ctx, dirty) {
|
|
4462
|
+
const mediaplane_changes = {};
|
|
4463
|
+
if (dirty & /*tag*/ 2) mediaplane_changes.tag = noTypecheck(/*tag*/ ctx[1]);
|
|
4464
|
+
mediaplane.$set(mediaplane_changes);
|
|
4465
|
+
},
|
|
4466
|
+
i(local) {
|
|
4467
|
+
if (current) return;
|
|
4468
|
+
internal.transition_in(mediaplane.$$.fragment, local);
|
|
4469
|
+
current = true;
|
|
4470
|
+
},
|
|
4471
|
+
o(local) {
|
|
4472
|
+
internal.transition_out(mediaplane.$$.fragment, local);
|
|
4473
|
+
current = false;
|
|
4474
|
+
},
|
|
4475
|
+
d(detaching) {
|
|
4476
|
+
internal.destroy_component(mediaplane, detaching);
|
|
4477
|
+
}
|
|
4478
|
+
};
|
|
4164
4479
|
}
|
|
4165
4480
|
|
|
4166
|
-
// (
|
|
4481
|
+
// (65:53)
|
|
4167
4482
|
function create_if_block_5(ctx) {
|
|
4168
4483
|
let linktag;
|
|
4169
4484
|
let current;
|
|
@@ -4200,7 +4515,7 @@ function create_if_block_5(ctx) {
|
|
|
4200
4515
|
};
|
|
4201
4516
|
}
|
|
4202
4517
|
|
|
4203
|
-
// (
|
|
4518
|
+
// (63:58)
|
|
4204
4519
|
function create_if_block_4(ctx) {
|
|
4205
4520
|
let marketingtag;
|
|
4206
4521
|
let current;
|
|
@@ -4237,7 +4552,7 @@ function create_if_block_4(ctx) {
|
|
|
4237
4552
|
};
|
|
4238
4553
|
}
|
|
4239
4554
|
|
|
4240
|
-
// (
|
|
4555
|
+
// (61:54)
|
|
4241
4556
|
function create_if_block_3(ctx) {
|
|
4242
4557
|
let audiotag;
|
|
4243
4558
|
let current;
|
|
@@ -4278,7 +4593,7 @@ function create_if_block_3(ctx) {
|
|
|
4278
4593
|
};
|
|
4279
4594
|
}
|
|
4280
4595
|
|
|
4281
|
-
// (
|
|
4596
|
+
// (59:58)
|
|
4282
4597
|
function create_if_block_2$1(ctx) {
|
|
4283
4598
|
let imagetexttag;
|
|
4284
4599
|
let current;
|
|
@@ -4315,7 +4630,7 @@ function create_if_block_2$1(ctx) {
|
|
|
4315
4630
|
};
|
|
4316
4631
|
}
|
|
4317
4632
|
|
|
4318
|
-
// (
|
|
4633
|
+
// (57:53)
|
|
4319
4634
|
function create_if_block_1$2(ctx) {
|
|
4320
4635
|
let texttag;
|
|
4321
4636
|
let current;
|
|
@@ -4352,7 +4667,7 @@ function create_if_block_1$2(ctx) {
|
|
|
4352
4667
|
};
|
|
4353
4668
|
}
|
|
4354
4669
|
|
|
4355
|
-
// (
|
|
4670
|
+
// (55:6) {#if tag.element}
|
|
4356
4671
|
function create_if_block$2(ctx) {
|
|
4357
4672
|
let customtag;
|
|
4358
4673
|
let current;
|
|
@@ -4406,7 +4721,8 @@ function create_fragment$5(ctx) {
|
|
|
4406
4721
|
create_if_block_2$1,
|
|
4407
4722
|
create_if_block_3,
|
|
4408
4723
|
create_if_block_4,
|
|
4409
|
-
create_if_block_5
|
|
4724
|
+
create_if_block_5,
|
|
4725
|
+
create_if_block_6
|
|
4410
4726
|
];
|
|
4411
4727
|
|
|
4412
4728
|
const if_blocks = [];
|
|
@@ -4418,6 +4734,7 @@ function create_fragment$5(ctx) {
|
|
|
4418
4734
|
if (/*tag*/ ctx[1].contentType === exports.ContentType.Audio) return 3;
|
|
4419
4735
|
if (/*tag*/ ctx[1].contentType === exports.ContentType.Marketing) return 4;
|
|
4420
4736
|
if (/*tag*/ ctx[1].contentType === exports.ContentType.Link) return 5;
|
|
4737
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.MediaPlane) return 6;
|
|
4421
4738
|
return -1;
|
|
4422
4739
|
}
|
|
4423
4740
|
|
|
@@ -4431,14 +4748,16 @@ function create_fragment$5(ctx) {
|
|
|
4431
4748
|
div1 = internal.element("div");
|
|
4432
4749
|
div0 = internal.element("div");
|
|
4433
4750
|
if (if_block) if_block.c();
|
|
4434
|
-
internal.attr(div0, "class", "content svelte-
|
|
4751
|
+
internal.attr(div0, "class", "content svelte-sfzj5l");
|
|
4435
4752
|
internal.toggle_class(div0, "unfolded", /*tag*/ ctx[1].state?.unfolded);
|
|
4436
|
-
internal.attr(div1, "class", "content__wrapper svelte-
|
|
4437
|
-
internal.attr(div2, "class", "content__container svelte-
|
|
4753
|
+
internal.attr(div1, "class", "content__wrapper svelte-sfzj5l");
|
|
4754
|
+
internal.attr(div2, "class", "content__container svelte-sfzj5l");
|
|
4438
4755
|
internal.attr(div2, "data-id", div2_data_id_value = /*tag*/ ctx[1].id);
|
|
4439
4756
|
internal.toggle_class(div2, "disable", /*tag*/ ctx[1].enabled === false || /*tag*/ ctx[1].temporaryState?.visible === false);
|
|
4440
4757
|
internal.toggle_class(div2, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible || !/*tag*/ ctx[1].state?.visible);
|
|
4441
4758
|
internal.toggle_class(div2, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
4759
|
+
internal.set_style(div2, "width", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4760
|
+
internal.set_style(div2, "height", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4442
4761
|
},
|
|
4443
4762
|
m(target, anchor) {
|
|
4444
4763
|
internal.insert(target, div2, anchor);
|
|
@@ -4452,7 +4771,7 @@ function create_fragment$5(ctx) {
|
|
|
4452
4771
|
current = true;
|
|
4453
4772
|
|
|
4454
4773
|
if (!mounted) {
|
|
4455
|
-
dispose = internal.listen(div2, "click", internal.stop_propagation(/*click_handler*/ ctx[
|
|
4774
|
+
dispose = internal.listen(div2, "click", internal.stop_propagation(/*click_handler*/ ctx[12]));
|
|
4456
4775
|
mounted = true;
|
|
4457
4776
|
}
|
|
4458
4777
|
},
|
|
@@ -4492,7 +4811,7 @@ function create_fragment$5(ctx) {
|
|
|
4492
4811
|
}
|
|
4493
4812
|
}
|
|
4494
4813
|
|
|
4495
|
-
if (dirty & /*tag*/ 2) {
|
|
4814
|
+
if (!current || dirty & /*tag*/ 2) {
|
|
4496
4815
|
internal.toggle_class(div0, "unfolded", /*tag*/ ctx[1].state?.unfolded);
|
|
4497
4816
|
}
|
|
4498
4817
|
|
|
@@ -4500,17 +4819,25 @@ function create_fragment$5(ctx) {
|
|
|
4500
4819
|
internal.attr(div2, "data-id", div2_data_id_value);
|
|
4501
4820
|
}
|
|
4502
4821
|
|
|
4503
|
-
if (dirty & /*tag*/ 2) {
|
|
4822
|
+
if (!current || dirty & /*tag*/ 2) {
|
|
4504
4823
|
internal.toggle_class(div2, "disable", /*tag*/ ctx[1].enabled === false || /*tag*/ ctx[1].temporaryState?.visible === false);
|
|
4505
4824
|
}
|
|
4506
4825
|
|
|
4507
|
-
if (dirty & /*state, temporaryState, tag*/ 42) {
|
|
4826
|
+
if (!current || dirty & /*state, temporaryState, tag*/ 42) {
|
|
4508
4827
|
internal.toggle_class(div2, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible || !/*tag*/ ctx[1].state?.visible);
|
|
4509
4828
|
}
|
|
4510
4829
|
|
|
4511
|
-
if (dirty & /*withAnimation*/ 1) {
|
|
4830
|
+
if (!current || dirty & /*withAnimation*/ 1) {
|
|
4512
4831
|
internal.toggle_class(div2, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
4513
4832
|
}
|
|
4833
|
+
|
|
4834
|
+
if (dirty & /*tag*/ 2) {
|
|
4835
|
+
internal.set_style(div2, "width", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4836
|
+
}
|
|
4837
|
+
|
|
4838
|
+
if (dirty & /*tag*/ 2) {
|
|
4839
|
+
internal.set_style(div2, "height", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4840
|
+
}
|
|
4514
4841
|
},
|
|
4515
4842
|
i(local) {
|
|
4516
4843
|
if (current) return;
|
|
@@ -4535,6 +4862,9 @@ function create_fragment$5(ctx) {
|
|
|
4535
4862
|
}
|
|
4536
4863
|
|
|
4537
4864
|
function instance$5($$self, $$props, $$invalidate) {
|
|
4865
|
+
let unfolded;
|
|
4866
|
+
let visible;
|
|
4867
|
+
var _a, _b;
|
|
4538
4868
|
let { withAnimation = false } = $$props;
|
|
4539
4869
|
let { tag } = $$props;
|
|
4540
4870
|
let { hooks } = $$props;
|
|
@@ -4542,6 +4872,8 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
4542
4872
|
let { mediaStore } = $$props;
|
|
4543
4873
|
let { temporaryState } = $$props;
|
|
4544
4874
|
svelte.setContext('hooks', hooks);
|
|
4875
|
+
let lastVisibleState;
|
|
4876
|
+
let lastUnfoldedState;
|
|
4545
4877
|
const click_handler = event => hooks.emit('click', { event, target: 'TagContent', tag });
|
|
4546
4878
|
|
|
4547
4879
|
$$self.$$set = $$props => {
|
|
@@ -4553,7 +4885,51 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
4553
4885
|
if ('temporaryState' in $$props) $$invalidate(5, temporaryState = $$props.temporaryState);
|
|
4554
4886
|
};
|
|
4555
4887
|
|
|
4556
|
-
|
|
4888
|
+
$$self.$$.update = () => {
|
|
4889
|
+
if ($$self.$$.dirty & /*tag, _a*/ 66) {
|
|
4890
|
+
$$invalidate(11, unfolded = $$invalidate(6, _a = tag.state) === null || _a === void 0
|
|
4891
|
+
? void 0
|
|
4892
|
+
: _a.unfolded);
|
|
4893
|
+
}
|
|
4894
|
+
|
|
4895
|
+
if ($$self.$$.dirty & /*tag, _b*/ 130) {
|
|
4896
|
+
$$invalidate(10, visible = $$invalidate(7, _b = tag.state) === null || _b === void 0
|
|
4897
|
+
? void 0
|
|
4898
|
+
: _b.visible);
|
|
4899
|
+
}
|
|
4900
|
+
|
|
4901
|
+
if ($$self.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/ 3842) {
|
|
4902
|
+
{
|
|
4903
|
+
if (tag.hooks) {
|
|
4904
|
+
if (unfolded !== undefined && unfolded !== lastUnfoldedState) {
|
|
4905
|
+
$$invalidate(9, lastUnfoldedState = unfolded);
|
|
4906
|
+
if (unfolded) tag.hooks.emit('unfolded'); else tag.hooks.emit('folded');
|
|
4907
|
+
}
|
|
4908
|
+
|
|
4909
|
+
if (visible !== undefined && visible !== lastVisibleState) {
|
|
4910
|
+
$$invalidate(8, lastVisibleState = visible);
|
|
4911
|
+
if (visible) tag.hooks.emit('show'); else tag.hooks.emit('hide');
|
|
4912
|
+
}
|
|
4913
|
+
}
|
|
4914
|
+
}
|
|
4915
|
+
}
|
|
4916
|
+
};
|
|
4917
|
+
|
|
4918
|
+
return [
|
|
4919
|
+
withAnimation,
|
|
4920
|
+
tag,
|
|
4921
|
+
hooks,
|
|
4922
|
+
state,
|
|
4923
|
+
mediaStore,
|
|
4924
|
+
temporaryState,
|
|
4925
|
+
_a,
|
|
4926
|
+
_b,
|
|
4927
|
+
lastVisibleState,
|
|
4928
|
+
lastUnfoldedState,
|
|
4929
|
+
visible,
|
|
4930
|
+
unfolded,
|
|
4931
|
+
click_handler
|
|
4932
|
+
];
|
|
4557
4933
|
}
|
|
4558
4934
|
|
|
4559
4935
|
class Tag extends internal.SvelteComponent {
|
|
@@ -4579,10 +4955,10 @@ class Tag extends internal.SvelteComponent {
|
|
|
4579
4955
|
}
|
|
4580
4956
|
}
|
|
4581
4957
|
|
|
4582
|
-
/* src/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte generated by Svelte v3.
|
|
4958
|
+
/* src/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte generated by Svelte v3.50.1 */
|
|
4583
4959
|
|
|
4584
4960
|
function add_css$4(target) {
|
|
4585
|
-
internal.append_styles(target, "svelte-
|
|
4961
|
+
internal.append_styles(target, "svelte-mhqidy", ".point.svelte-mhqidy.svelte-mhqidy{width:1.5rem;height:1.5rem}.small-point.svelte-mhqidy.svelte-mhqidy,.big-point.svelte-mhqidy.svelte-mhqidy{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all 500ms}.big-point.svelte-mhqidy.svelte-mhqidy{background-color:rgba(0, 0, 0, 0.1)}.folded.point.svelte-mhqidy.svelte-mhqidy{-webkit-animation:svelte-mhqidy-breathing 2s linear infinite;animation:svelte-mhqidy-breathing 2s linear infinite}.big-point.svelte-mhqidy.svelte-mhqidy::before,.big-point.svelte-mhqidy.svelte-mhqidy::after{content:'';display:block;position:absolute;background-size:contain;background-repeat:no-repeat;pointer-events:none}.big-point.svelte-mhqidy.svelte-mhqidy::before{width:100%;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAqFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8j1z1tAAAAOHRSTlMABgoNFBsYIhEmHyksMoJ6RZ5aXzpnU03AtqaZjLuGN+zcifnW0cjEqnA+lOZzbWLhkH6i8rGuagnOwPMAAAQOSURBVFjDrZiHctpAEIYXYzvGOvXeUe+IYuD93ywrJAIhFJX8M8zoBHzz757utHvwTETJHJPfGQZfWJXILWCMPuqNbuu6vj+khrHjed40TWvFfQ2jvCl8nGha6lQCl7s07UqcUlfOZrOxVtKsN2a+0uJYK+ScEIqiFifhBSGSsnJ8f8u99cLMVnEUHTKXIOMX6vuk5gpphFYyhmHzHpzcDqNUJGgEER+oz5OaK8ShNcIdt+zx1ys7lhdqiDlRkPF+JaSdWIhasaz6lLPQ1qFDIwYpDeTr62veCS8bGLIQRSsVK78/5nDeOlYIYhovHeOtU0dDXw2KSGiKesQRyjJ10Q66QcyZMTvpTEMUumpMieyWvs9ZLZcmodAOYlorsysBflpjiEJTFBEY5+7sicul34T1iak5U25momN9Ya4wPCT57r8cteW0dk4YuKMTqjXVkgjciFr+8B3ngnmM6kii5X/efB0F+jUHnuiatLJY+Et84EnUNacfiaKZjQhX4oJAwPlqOB3mJaoh4dxxG5Nc3Q8DkywunP6kBalN53J7G3g0JqiNC3qpjQ7TRPvmn2U3L3/kU4JaTn/SKU0qb76dDf0kGNjHJbD+wX1gcMxO6fZVrzXUcQaROkvt3+pljIYugQ0LDi1ZBgeN9JK9MjTCkmgwgPou19I5QzBI5yy5RvqOw6xMMbKzoeGWmnQfBBwa6woj6wyNsYSx7R0chWuOwsjOqR6aboyNyvcpgOsl3ZzNhoNm3bztdAK1x5NuzmCwunkjjq4AEzKXFI1NUmVnwIfydJBoW7CPVAR1uR6XbVwlmgF2xF1yPTbbubYHLZamgyTNhiSmp4PoJIEk+R+gOAFb+x+hxRoctHw6iItsMLT/Mf3RHixbnP5AyhEPmZ1NB+E6A0V3pi9aPqyB6Pz0bSTxXID0kE/d2DgvxBFzEKdutdXawJGSMlM3/3Sd4fA93bnTXkfSuvwGFGOI016QbKm3VdbOn/bKjpd1e6Pg1SlFhPzjdXWNwjNTyprkhz33i4Wpji600FA5h05q4Ywv/bxge7mNRe7YYtQMwqt/kMLixpXHQhBwcCXBYukxBbvkBTv4S5V/HNNC6EF089tPxxGHNzV8sKTgRhSzVYa2Wf5yeadHphlWGdb4IUeEO5K2SHrUiqJuW9GiLFdwVzRbCXTf5tg11mvhYdufZbLUr11XEi/k4KHexUxWSY8DBCby7AU8E3eUhfzVkYZgR6H/agF8C3KNqCeHLIIRR7oEr0XXsixy9P1jH/doJLF2nPXbIlw5y1aC6t4eROW1pduaLs/7b6NEqFiWrWpBzaXuaOy4Nfe6bRfqGwzSXBJZhnF8y9oUhcnzOyM9pI7wCWP0LSkyy1iFWWwsFp8LeKLfd4doRyTLRacAAAAASUVORK5CYII=)}.folded.svelte-mhqidy .big-point.svelte-mhqidy::before{-webkit-animation:svelte-mhqidy-rotate 2s linear infinite;animation:svelte-mhqidy-rotate 2s linear infinite}.big-point.svelte-mhqidy.svelte-mhqidy::after{position:absolute;width:1rem;height:1rem;background-image:var(--iconUrl)}.small-point.svelte-mhqidy.svelte-mhqidy::before{content:'';display:block;position:absolute;pointer-events:none;width:0.25rem;height:0.25rem;border-radius:100%;background-color:white}.folded.svelte-mhqidy .big-point.svelte-mhqidy{opacity:1;scale:1}.unfolded.svelte-mhqidy .big-point.svelte-mhqidy{opacity:0;scale:0}.folded.svelte-mhqidy .small-point.svelte-mhqidy{opacity:0;scale:6}.unfolded.svelte-mhqidy .small-point.svelte-mhqidy{opacity:1;scale:1}@-webkit-keyframes svelte-mhqidy-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes svelte-mhqidy-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes svelte-mhqidy-breathing{0%{transform:scale(1)}25%{transform:scale(0.9)}50%{transform:scale(1)}}@keyframes svelte-mhqidy-breathing{0%{transform:scale(1)}25%{transform:scale(0.9)}50%{transform:scale(1)}}");
|
|
4586
4962
|
}
|
|
4587
4963
|
|
|
4588
4964
|
function create_fragment$4(ctx) {
|
|
@@ -4610,12 +4986,12 @@ function create_fragment$4(ctx) {
|
|
|
4610
4986
|
div0 = internal.element("div");
|
|
4611
4987
|
t1 = internal.space();
|
|
4612
4988
|
div1 = internal.element("div");
|
|
4613
|
-
internal.attr(div0, "class", "small-point svelte-
|
|
4989
|
+
internal.attr(div0, "class", "small-point svelte-mhqidy");
|
|
4614
4990
|
internal.set_style(div0, "transition-delay", /*folded*/ ctx[3] ? /*foldDelay*/ ctx[2] + 'ms' : '0ms', false);
|
|
4615
|
-
internal.attr(div1, "class", "big-point svelte-
|
|
4991
|
+
internal.attr(div1, "class", "big-point svelte-mhqidy");
|
|
4616
4992
|
internal.set_style(div1, "--iconUrl", "url(" + /*iconUrl*/ ctx[1] + ")");
|
|
4617
4993
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[3] ? /*foldDelay*/ ctx[2] + 'ms' : '0ms', false);
|
|
4618
|
-
internal.attr(div2, "class", "point svelte-
|
|
4994
|
+
internal.attr(div2, "class", "point svelte-mhqidy");
|
|
4619
4995
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[3]);
|
|
4620
4996
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4621
4997
|
},
|
|
@@ -4641,11 +5017,11 @@ function create_fragment$4(ctx) {
|
|
|
4641
5017
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[3] ? /*foldDelay*/ ctx[2] + 'ms' : '0ms', false);
|
|
4642
5018
|
}
|
|
4643
5019
|
|
|
4644
|
-
if (dirty & /*folded*/ 8) {
|
|
5020
|
+
if (!current || dirty & /*folded*/ 8) {
|
|
4645
5021
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[3]);
|
|
4646
5022
|
}
|
|
4647
5023
|
|
|
4648
|
-
if (dirty & /*unfolded*/ 1) {
|
|
5024
|
+
if (!current || dirty & /*unfolded*/ 1) {
|
|
4649
5025
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4650
5026
|
}
|
|
4651
5027
|
},
|
|
@@ -4693,10 +5069,10 @@ class CustomPoint extends internal.SvelteComponent {
|
|
|
4693
5069
|
}
|
|
4694
5070
|
}
|
|
4695
5071
|
|
|
4696
|
-
/* src/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte generated by Svelte v3.
|
|
5072
|
+
/* src/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte generated by Svelte v3.50.1 */
|
|
4697
5073
|
|
|
4698
5074
|
function add_css$3(target) {
|
|
4699
|
-
internal.append_styles(target, "svelte-
|
|
5075
|
+
internal.append_styles(target, "svelte-1rg9uk", ".point.svelte-1rg9uk.svelte-1rg9uk{width:1rem;height:1rem}.small-point.svelte-1rg9uk.svelte-1rg9uk,.big-point.svelte-1rg9uk.svelte-1rg9uk{position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all 500ms}.big-point.svelte-1rg9uk.svelte-1rg9uk::before,.big-point.svelte-1rg9uk.svelte-1rg9uk::after{content:'';display:block;position:absolute;background-size:contain;background-repeat:no-repeat;pointer-events:none}.big-point.svelte-1rg9uk.svelte-1rg9uk::before{width:100%;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAqFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8j1z1tAAAAOHRSTlMABgoNFBsYIhEmHyksMoJ6RZ5aXzpnU03AtqaZjLuGN+zcifnW0cjEqnA+lOZzbWLhkH6i8rGuagnOwPMAAAQOSURBVFjDrZiHctpAEIYXYzvGOvXeUe+IYuD93ywrJAIhFJX8M8zoBHzz757utHvwTETJHJPfGQZfWJXILWCMPuqNbuu6vj+khrHjed40TWvFfQ2jvCl8nGha6lQCl7s07UqcUlfOZrOxVtKsN2a+0uJYK+ScEIqiFifhBSGSsnJ8f8u99cLMVnEUHTKXIOMX6vuk5gpphFYyhmHzHpzcDqNUJGgEER+oz5OaK8ShNcIdt+zx1ys7lhdqiDlRkPF+JaSdWIhasaz6lLPQ1qFDIwYpDeTr62veCS8bGLIQRSsVK78/5nDeOlYIYhovHeOtU0dDXw2KSGiKesQRyjJ10Q66QcyZMTvpTEMUumpMieyWvs9ZLZcmodAOYlorsysBflpjiEJTFBEY5+7sicul34T1iak5U25momN9Ya4wPCT57r8cteW0dk4YuKMTqjXVkgjciFr+8B3ngnmM6kii5X/efB0F+jUHnuiatLJY+Et84EnUNacfiaKZjQhX4oJAwPlqOB3mJaoh4dxxG5Nc3Q8DkywunP6kBalN53J7G3g0JqiNC3qpjQ7TRPvmn2U3L3/kU4JaTn/SKU0qb76dDf0kGNjHJbD+wX1gcMxO6fZVrzXUcQaROkvt3+pljIYugQ0LDi1ZBgeN9JK9MjTCkmgwgPou19I5QzBI5yy5RvqOw6xMMbKzoeGWmnQfBBwa6woj6wyNsYSx7R0chWuOwsjOqR6aboyNyvcpgOsl3ZzNhoNm3bztdAK1x5NuzmCwunkjjq4AEzKXFI1NUmVnwIfydJBoW7CPVAR1uR6XbVwlmgF2xF1yPTbbubYHLZamgyTNhiSmp4PoJIEk+R+gOAFb+x+hxRoctHw6iItsMLT/Mf3RHixbnP5AyhEPmZ1NB+E6A0V3pi9aPqyB6Pz0bSTxXID0kE/d2DgvxBFzEKdutdXawJGSMlM3/3Sd4fA93bnTXkfSuvwGFGOI016QbKm3VdbOn/bKjpd1e6Pg1SlFhPzjdXWNwjNTyprkhz33i4Wpji600FA5h05q4Ywv/bxge7mNRe7YYtQMwqt/kMLixpXHQhBwcCXBYukxBbvkBTv4S5V/HNNC6EF089tPxxGHNzV8sKTgRhSzVYa2Wf5yeadHphlWGdb4IUeEO5K2SHrUiqJuW9GiLFdwVzRbCXTf5tg11mvhYdufZbLUr11XEi/k4KHexUxWSY8DBCby7AU8E3eUhfzVkYZgR6H/agF8C3KNqCeHLIIRR7oEr0XXsixy9P1jH/doJLF2nPXbIlw5y1aC6t4eROW1pduaLs/7b6NEqFiWrWpBzaXuaOy4Nfe6bRfqGwzSXBJZhnF8y9oUhcnzOyM9pI7wCWP0LSkyy1iFWWwsFp8LeKLfd4doRyTLRacAAAAASUVORK5CYII=);background-size:contain;background-repeat:no-repeat}.small-point.svelte-1rg9uk.svelte-1rg9uk::before{content:'';display:block;position:absolute;pointer-events:none;width:0.375rem;height:0.375rem;border-radius:100%;background-color:white}.unfolded.svelte-1rg9uk .big-point.svelte-1rg9uk{opacity:0;transform:scale(0)}.folded.svelte-1rg9uk .big-point.svelte-1rg9uk{opacity:1;transform:scale(1)}.unfolded.svelte-1rg9uk .small-point.svelte-1rg9uk{transform:scale(0.6)}.folded.svelte-1rg9uk .small-point.svelte-1rg9uk{transform:scale(1)}");
|
|
4700
5076
|
}
|
|
4701
5077
|
|
|
4702
5078
|
function create_fragment$3(ctx) {
|
|
@@ -4724,11 +5100,11 @@ function create_fragment$3(ctx) {
|
|
|
4724
5100
|
div0 = internal.element("div");
|
|
4725
5101
|
t1 = internal.space();
|
|
4726
5102
|
div1 = internal.element("div");
|
|
4727
|
-
internal.attr(div0, "class", "small-point svelte-
|
|
5103
|
+
internal.attr(div0, "class", "small-point svelte-1rg9uk");
|
|
4728
5104
|
internal.set_style(div0, "transition-delay", /*folded*/ ctx[2] ? /*foldDelay*/ ctx[1] + 'ms' : '0ms', false);
|
|
4729
|
-
internal.attr(div1, "class", "big-point svelte-
|
|
5105
|
+
internal.attr(div1, "class", "big-point svelte-1rg9uk");
|
|
4730
5106
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[2] ? /*foldDelay*/ ctx[1] + 'ms' : '0ms', false);
|
|
4731
|
-
internal.attr(div2, "class", "point svelte-
|
|
5107
|
+
internal.attr(div2, "class", "point svelte-1rg9uk");
|
|
4732
5108
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4733
5109
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[2]);
|
|
4734
5110
|
},
|
|
@@ -4750,11 +5126,11 @@ function create_fragment$3(ctx) {
|
|
|
4750
5126
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[2] ? /*foldDelay*/ ctx[1] + 'ms' : '0ms', false);
|
|
4751
5127
|
}
|
|
4752
5128
|
|
|
4753
|
-
if (dirty & /*unfolded*/ 1) {
|
|
5129
|
+
if (!current || dirty & /*unfolded*/ 1) {
|
|
4754
5130
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4755
5131
|
}
|
|
4756
5132
|
|
|
4757
|
-
if (dirty & /*folded*/ 4) {
|
|
5133
|
+
if (!current || dirty & /*folded*/ 4) {
|
|
4758
5134
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[2]);
|
|
4759
5135
|
}
|
|
4760
5136
|
},
|
|
@@ -4800,7 +5176,7 @@ class DefaultPoint extends internal.SvelteComponent {
|
|
|
4800
5176
|
}
|
|
4801
5177
|
}
|
|
4802
5178
|
|
|
4803
|
-
/* src/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte generated by Svelte v3.
|
|
5179
|
+
/* src/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte generated by Svelte v3.50.1 */
|
|
4804
5180
|
|
|
4805
5181
|
function add_css$2(target) {
|
|
4806
5182
|
internal.append_styles(target, "svelte-r4i9gl", ".point-click-helper.svelte-r4i9gl{width:2.5rem;height:2.5rem;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}");
|
|
@@ -5111,7 +5487,7 @@ class PointSwitch extends internal.SvelteComponent {
|
|
|
5111
5487
|
}
|
|
5112
5488
|
}
|
|
5113
5489
|
|
|
5114
|
-
/* src/PanoTagPlugin/Components/TagWrapper.svelte generated by Svelte v3.
|
|
5490
|
+
/* src/PanoTagPlugin/Components/TagWrapper.svelte generated by Svelte v3.50.1 */
|
|
5115
5491
|
|
|
5116
5492
|
function add_css$1(target) {
|
|
5117
5493
|
internal.append_styles(target, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
|
|
@@ -5294,11 +5670,11 @@ function create_fragment$1(ctx) {
|
|
|
5294
5670
|
internal.attr(div, "data-id", div_data_id_value);
|
|
5295
5671
|
}
|
|
5296
5672
|
|
|
5297
|
-
if (dirty & /*hide*/ 1024) {
|
|
5673
|
+
if (!current || dirty & /*hide*/ 1024) {
|
|
5298
5674
|
internal.toggle_class(div, "hide", /*hide*/ ctx[10]);
|
|
5299
5675
|
}
|
|
5300
5676
|
|
|
5301
|
-
if (dirty & /*unfolded*/ 64) {
|
|
5677
|
+
if (!current || dirty & /*unfolded*/ 64) {
|
|
5302
5678
|
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[6]);
|
|
5303
5679
|
}
|
|
5304
5680
|
|
|
@@ -5467,7 +5843,7 @@ class TagWrapper extends internal.SvelteComponent {
|
|
|
5467
5843
|
}
|
|
5468
5844
|
}
|
|
5469
5845
|
|
|
5470
|
-
/* src/PanoTagPlugin/Components/PointTag.svelte generated by Svelte v3.
|
|
5846
|
+
/* src/PanoTagPlugin/Components/PointTag.svelte generated by Svelte v3.50.1 */
|
|
5471
5847
|
|
|
5472
5848
|
function add_css(target) {
|
|
5473
5849
|
internal.append_styles(target, "svelte-1d5dpm8", ".tag2D__container.svelte-1d5dpm8{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tag2D.hide.svelte-1d5dpm8{display:none}.withAnimation.svelte-1d5dpm8{transition:opacity 0.3s linear}.tag2D__container.hide.svelte-1d5dpm8{opacity:0;pointer-events:none}.tag2D__container.hide.svelte-1d5dpm8 *{pointer-events:none}");
|
|
@@ -5540,7 +5916,7 @@ function create_each_block(key_1, ctx) {
|
|
|
5540
5916
|
|
|
5541
5917
|
tagwrapper.$set(tagwrapper_changes);
|
|
5542
5918
|
|
|
5543
|
-
if (dirty & /*tags*/ 2) {
|
|
5919
|
+
if (!current || dirty & /*tags*/ 2) {
|
|
5544
5920
|
internal.toggle_class(div, "hide", !/*tag*/ ctx[6].pointTagStyle?.leftPercent || !/*tag*/ ctx[6].pointTagStyle?.topPercent || /*tag*/ ctx[6].enabled === false || !/*tag*/ ctx[6].state || /*tag*/ ctx[6].temporaryState?.visible === false);
|
|
5545
5921
|
}
|
|
5546
5922
|
},
|
|
@@ -5603,11 +5979,11 @@ function create_fragment(ctx) {
|
|
|
5603
5979
|
internal.check_outros();
|
|
5604
5980
|
}
|
|
5605
5981
|
|
|
5606
|
-
if (dirty & /*state, temporaryState*/ 40) {
|
|
5982
|
+
if (!current || dirty & /*state, temporaryState*/ 40) {
|
|
5607
5983
|
internal.toggle_class(div, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible);
|
|
5608
5984
|
}
|
|
5609
5985
|
|
|
5610
|
-
if (dirty & /*withAnimation*/ 1) {
|
|
5986
|
+
if (!current || dirty & /*withAnimation*/ 1) {
|
|
5611
5987
|
internal.toggle_class(div, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
5612
5988
|
}
|
|
5613
5989
|
},
|
|
@@ -5680,22 +6056,67 @@ class PointTag extends internal.SvelteComponent {
|
|
|
5680
6056
|
}
|
|
5681
6057
|
}
|
|
5682
6058
|
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
6059
|
+
const DefaultConfig = {
|
|
6060
|
+
globalConfig: {
|
|
6061
|
+
initialState: {
|
|
6062
|
+
// unfolded: false,
|
|
6063
|
+
},
|
|
6064
|
+
visibleConfig: {
|
|
6065
|
+
visibleDistance: { max: 5 },
|
|
6066
|
+
angleRange: { min: -45, max: 45 },
|
|
6067
|
+
},
|
|
6068
|
+
unfoldedConfig: {
|
|
6069
|
+
autoUnfold: {
|
|
6070
|
+
strategy: 'MinimumDistance',
|
|
6071
|
+
},
|
|
6072
|
+
},
|
|
6073
|
+
tag3DConfig: {
|
|
6074
|
+
ratio: 0.0035,
|
|
6075
|
+
devicePixelRatio: window.devicePixelRatio,
|
|
6076
|
+
},
|
|
6077
|
+
},
|
|
6078
|
+
contentTypeConfig: {
|
|
6079
|
+
'Any-Link-Any': {
|
|
6080
|
+
unfoldedConfig: {
|
|
6081
|
+
// VR 跳转标签没有展开/收起状态
|
|
6082
|
+
disableFold: true,
|
|
6083
|
+
autoUnfold: undefined,
|
|
6084
|
+
},
|
|
6085
|
+
initialState: {
|
|
6086
|
+
unfolded: true,
|
|
6087
|
+
},
|
|
6088
|
+
},
|
|
6089
|
+
'Any-Marketing-Any': {
|
|
6090
|
+
unfoldedConfig: undefined,
|
|
6091
|
+
},
|
|
6092
|
+
'3D-MediaPlane-PlaneTag': {
|
|
6093
|
+
unfoldedConfig: {
|
|
6094
|
+
disableFold: true,
|
|
6095
|
+
},
|
|
6096
|
+
visibleConfig: {
|
|
6097
|
+
angleRange: undefined,
|
|
6098
|
+
visibleDistance: undefined,
|
|
6099
|
+
},
|
|
6100
|
+
},
|
|
6101
|
+
},
|
|
6102
|
+
};
|
|
6103
|
+
|
|
6104
|
+
/**
|
|
6105
|
+
* plugin 的基本控制器
|
|
6106
|
+
*/
|
|
6107
|
+
class Controller$1 {
|
|
6108
|
+
constructor(five$1) {
|
|
6109
|
+
Object.defineProperty(this, "five", {
|
|
6110
|
+
enumerable: true,
|
|
6111
|
+
configurable: true,
|
|
6112
|
+
writable: true,
|
|
6113
|
+
value: void 0
|
|
6114
|
+
});
|
|
6115
|
+
/**
|
|
6116
|
+
* 插件事件钩子
|
|
6117
|
+
*/
|
|
6118
|
+
Object.defineProperty(this, "hooks", {
|
|
6119
|
+
enumerable: true,
|
|
5699
6120
|
configurable: true,
|
|
5700
6121
|
writable: true,
|
|
5701
6122
|
value: new five.Subscribe()
|
|
@@ -5829,6 +6250,7 @@ class TagComputer extends TagCacheController {
|
|
|
5829
6250
|
const visible = (() => {
|
|
5830
6251
|
var _a, _b, _c, _d, _e;
|
|
5831
6252
|
const config = (_a = this.getTagConfig(tag).visibleConfig) !== null && _a !== void 0 ? _a : {};
|
|
6253
|
+
// console.log(config)
|
|
5832
6254
|
const distance = this.getDistance(tag);
|
|
5833
6255
|
if (typeof config === 'function') {
|
|
5834
6256
|
return config(this.five, { tag, distance });
|
|
@@ -5868,19 +6290,18 @@ class TagComputer extends TagCacheController {
|
|
|
5868
6290
|
if (intersection && intersection.distance + distanceError < distance)
|
|
5869
6291
|
return false;
|
|
5870
6292
|
}
|
|
5871
|
-
// console.log(tag.id, '角度检测', tag)
|
|
6293
|
+
// console.log(tag.id, '角度检测', tag, config.angleRange)
|
|
5872
6294
|
// 角度检测
|
|
5873
|
-
if (tag.dimensionType === exports.DimensionType.Three) {
|
|
6295
|
+
if (config.angleRange && tag.dimensionType === exports.DimensionType.Three) {
|
|
5874
6296
|
const visible = checkRange(this.getAngle(tag), config.angleRange);
|
|
5875
6297
|
if (visible === false)
|
|
5876
6298
|
return false;
|
|
5877
6299
|
}
|
|
5878
6300
|
// 结束
|
|
5879
|
-
// console.log(tag.id, '结束', tag)
|
|
6301
|
+
// console.log(tag.id, '结束', tag, visible)
|
|
5880
6302
|
return true;
|
|
5881
6303
|
}
|
|
5882
6304
|
})();
|
|
5883
|
-
// console.log(tag.id, 'end', tag, visible)
|
|
5884
6305
|
cache.visible = visible;
|
|
5885
6306
|
return cache.visible;
|
|
5886
6307
|
}
|
|
@@ -6045,7 +6466,7 @@ class TagComputer extends TagCacheController {
|
|
|
6045
6466
|
return cache.angle;
|
|
6046
6467
|
}
|
|
6047
6468
|
}
|
|
6048
|
-
// TODO:
|
|
6469
|
+
// TODO: 缓存
|
|
6049
6470
|
/**
|
|
6050
6471
|
* @description: 获取merge后的配置
|
|
6051
6472
|
*/
|
|
@@ -6165,14 +6586,266 @@ class TagComputer extends TagCacheController {
|
|
|
6165
6586
|
}
|
|
6166
6587
|
}
|
|
6167
6588
|
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6589
|
+
function createSymbol(description) {
|
|
6590
|
+
// @ts-ignore
|
|
6591
|
+
return typeof Symbol === 'undefined' ? `$Symbol<${description}>$` : Symbol(description);
|
|
6592
|
+
}
|
|
6593
|
+
const EVENT_SYMBOL = createSymbol('$$EVENT$$');
|
|
6594
|
+
function __generateEventIfNotExisted(instance) {
|
|
6595
|
+
if (!instance[EVENT_SYMBOL]) {
|
|
6596
|
+
instance[EVENT_SYMBOL] = {};
|
|
6597
|
+
}
|
|
6598
|
+
return instance[EVENT_SYMBOL];
|
|
6599
|
+
}
|
|
6600
|
+
function __removeEventIfNotExisted(instance) {
|
|
6601
|
+
if (!instance[EVENT_SYMBOL]) {
|
|
6602
|
+
delete instance[EVENT_SYMBOL];
|
|
6603
|
+
}
|
|
6604
|
+
}
|
|
6605
|
+
/**
|
|
6606
|
+
* 监听者模式
|
|
6607
|
+
* @template T - 预设的监听回调类型
|
|
6608
|
+
* @example
|
|
6609
|
+
* ```
|
|
6610
|
+
* new Subscribe<{
|
|
6611
|
+
* "foo": [arg1: number, arg2: string],
|
|
6612
|
+
* "bar": [arg: boolean],
|
|
6613
|
+
* }>()
|
|
6614
|
+
* ```
|
|
6615
|
+
*/
|
|
6616
|
+
class Subscribe {
|
|
6617
|
+
/**
|
|
6618
|
+
* 判断是否注册了事件
|
|
6619
|
+
* @param name - 事件类型
|
|
6620
|
+
*/
|
|
6621
|
+
hasListener(name) {
|
|
6622
|
+
const events = __generateEventIfNotExisted(this);
|
|
6623
|
+
return Boolean((events === null || events === void 0 ? void 0 : events[name]) && events[name].length > 0);
|
|
6624
|
+
}
|
|
6625
|
+
/**
|
|
6626
|
+
* 注册事件
|
|
6627
|
+
* @param name - 事件类型
|
|
6628
|
+
* @param callback - 事件回调函数
|
|
6629
|
+
* @param once - 是否只执行一次
|
|
6630
|
+
* @returns 解除事件
|
|
6631
|
+
* @template K - 预设的监听事件名称
|
|
6632
|
+
* @template C - 回调函数函数上下文
|
|
6633
|
+
*/
|
|
6634
|
+
on(name, callback, once) {
|
|
6635
|
+
const events = __generateEventIfNotExisted(this);
|
|
6636
|
+
if (!events[name])
|
|
6637
|
+
events[name] = [];
|
|
6638
|
+
events[name].push([callback, once || false]);
|
|
6639
|
+
return () => this.off(name, callback);
|
|
6640
|
+
}
|
|
6641
|
+
/**
|
|
6642
|
+
* 注册事件(是否只执行一次)
|
|
6643
|
+
* @param name - 事件类型
|
|
6644
|
+
* @param callback - 事件回调函数
|
|
6645
|
+
* @returns 解除事件
|
|
6646
|
+
* @template K - 预设的监听事件名称
|
|
6647
|
+
* @template C - 回调函数函数上下文
|
|
6648
|
+
*/
|
|
6649
|
+
once(name, callback) {
|
|
6650
|
+
return this.on(name, callback, true);
|
|
6651
|
+
}
|
|
6652
|
+
/**
|
|
6653
|
+
* 解除事件
|
|
6654
|
+
*
|
|
6655
|
+
* 如果 name 不传的话解除对应所有事件
|
|
6656
|
+
* 如果 name, callback 不传的话解除所有name的所有事件
|
|
6657
|
+
* @param name - 事件类型
|
|
6658
|
+
* @param callback - 事件回调函数
|
|
6659
|
+
* @template K - 预设的监听事件名称
|
|
6660
|
+
*/
|
|
6661
|
+
off(name, callback) {
|
|
6662
|
+
if (name === undefined) {
|
|
6663
|
+
__removeEventIfNotExisted(this);
|
|
6664
|
+
return;
|
|
6665
|
+
}
|
|
6666
|
+
const events = __generateEventIfNotExisted(this);
|
|
6667
|
+
if (!events[name])
|
|
6668
|
+
events[name] = [];
|
|
6669
|
+
if (callback === undefined) {
|
|
6670
|
+
events[name].length = 0;
|
|
6671
|
+
return;
|
|
6672
|
+
}
|
|
6673
|
+
let index = 0;
|
|
6674
|
+
for (; index < events[name].length; index++) {
|
|
6675
|
+
if (events[name][index][0] === callback)
|
|
6676
|
+
break;
|
|
6677
|
+
}
|
|
6678
|
+
if (index < events[name].length) {
|
|
6679
|
+
events[name].splice(index, 1);
|
|
6680
|
+
}
|
|
6681
|
+
}
|
|
6682
|
+
/**
|
|
6683
|
+
* 触发事件
|
|
6684
|
+
* @param name - 事件类型
|
|
6685
|
+
* @param data - 触发事件的数据
|
|
6686
|
+
* @returns canceled 是否被触发取消
|
|
6687
|
+
* @template K - 预设的监听事件名称
|
|
6688
|
+
*/
|
|
6689
|
+
emit(name, ...data) {
|
|
6690
|
+
let canceled = false;
|
|
6691
|
+
const events = __generateEventIfNotExisted(this);
|
|
6692
|
+
const event = events[name] || [];
|
|
6693
|
+
for (let one of event.slice()) {
|
|
6694
|
+
const [callback, once = false] = one;
|
|
6695
|
+
const result = callback(...data);
|
|
6696
|
+
if (once)
|
|
6697
|
+
this.off(name, callback);
|
|
6698
|
+
if (result === false)
|
|
6699
|
+
canceled = true;
|
|
6700
|
+
}
|
|
6701
|
+
return canceled;
|
|
6702
|
+
}
|
|
6703
|
+
}
|
|
6704
|
+
|
|
6705
|
+
const VERSION$3 = '1.0.0';
|
|
6706
|
+
const NAME = `CSS3DObjectPlus@${VERSION$3}`;
|
|
6171
6707
|
const MinRatio = 0.00216;
|
|
6172
|
-
const
|
|
6173
|
-
class
|
|
6174
|
-
constructor(
|
|
6175
|
-
|
|
6708
|
+
const DefaultRatio = 0.003;
|
|
6709
|
+
class CSS3DObjectPlus extends CSS3DRenderer.CSS3DObject {
|
|
6710
|
+
constructor(container, cornerPoints, ratio = DefaultRatio, dpr = 1) {
|
|
6711
|
+
const realRatio = Math.max(MinRatio, ratio);
|
|
6712
|
+
const planeWidth = cornerPoints[0].distanceTo(cornerPoints[1]);
|
|
6713
|
+
const planeHeight = cornerPoints[1].distanceTo(cornerPoints[2]);
|
|
6714
|
+
const domWidthPx = evenNumber((planeWidth / ratio) * dpr);
|
|
6715
|
+
const domHeightPx = evenNumber((planeHeight / ratio) * dpr);
|
|
6716
|
+
const centerPosition = centerPoint(cornerPoints[0], cornerPoints[2]);
|
|
6717
|
+
let css3DObjectElement;
|
|
6718
|
+
if (realRatio === ratio) {
|
|
6719
|
+
container.style.width = `${domWidthPx}px`;
|
|
6720
|
+
container.style.height = `${domHeightPx}px`;
|
|
6721
|
+
css3DObjectElement = container;
|
|
6722
|
+
}
|
|
6723
|
+
else {
|
|
6724
|
+
// 兼容ratio小于0.00216的情况
|
|
6725
|
+
const element = document.createElement('div');
|
|
6726
|
+
element.style.width = `${domWidthPx}px`;
|
|
6727
|
+
element.style.height = `${domHeightPx}px`;
|
|
6728
|
+
element.style.pointerEvents = 'none';
|
|
6729
|
+
const scale = ratio / realRatio;
|
|
6730
|
+
container.style.position = 'absolute';
|
|
6731
|
+
container.style.left = '0';
|
|
6732
|
+
container.style.top = '0';
|
|
6733
|
+
container.style.width = `${scale * domWidthPx}px`;
|
|
6734
|
+
container.style.height = `${scale * domHeightPx}px`;
|
|
6735
|
+
element.appendChild(container);
|
|
6736
|
+
css3DObjectElement = element;
|
|
6737
|
+
}
|
|
6738
|
+
super(css3DObjectElement);
|
|
6739
|
+
Object.defineProperty(this, "version", {
|
|
6740
|
+
enumerable: true,
|
|
6741
|
+
configurable: true,
|
|
6742
|
+
writable: true,
|
|
6743
|
+
value: VERSION$3
|
|
6744
|
+
});
|
|
6745
|
+
Object.defineProperty(this, "width", {
|
|
6746
|
+
enumerable: true,
|
|
6747
|
+
configurable: true,
|
|
6748
|
+
writable: true,
|
|
6749
|
+
value: void 0
|
|
6750
|
+
});
|
|
6751
|
+
Object.defineProperty(this, "height", {
|
|
6752
|
+
enumerable: true,
|
|
6753
|
+
configurable: true,
|
|
6754
|
+
writable: true,
|
|
6755
|
+
value: void 0
|
|
6756
|
+
});
|
|
6757
|
+
Object.defineProperty(this, "domWidthPx", {
|
|
6758
|
+
enumerable: true,
|
|
6759
|
+
configurable: true,
|
|
6760
|
+
writable: true,
|
|
6761
|
+
value: void 0
|
|
6762
|
+
});
|
|
6763
|
+
Object.defineProperty(this, "domHeightPx", {
|
|
6764
|
+
enumerable: true,
|
|
6765
|
+
configurable: true,
|
|
6766
|
+
writable: true,
|
|
6767
|
+
value: void 0
|
|
6768
|
+
});
|
|
6769
|
+
Object.defineProperty(this, "cornerPoints", {
|
|
6770
|
+
enumerable: true,
|
|
6771
|
+
configurable: true,
|
|
6772
|
+
writable: true,
|
|
6773
|
+
value: void 0
|
|
6774
|
+
});
|
|
6775
|
+
Object.defineProperty(this, "ratio", {
|
|
6776
|
+
enumerable: true,
|
|
6777
|
+
configurable: true,
|
|
6778
|
+
writable: true,
|
|
6779
|
+
value: void 0
|
|
6780
|
+
});
|
|
6781
|
+
Object.defineProperty(this, "container", {
|
|
6782
|
+
enumerable: true,
|
|
6783
|
+
configurable: true,
|
|
6784
|
+
writable: true,
|
|
6785
|
+
value: void 0
|
|
6786
|
+
});
|
|
6787
|
+
Object.defineProperty(this, "centerPosition", {
|
|
6788
|
+
enumerable: true,
|
|
6789
|
+
configurable: true,
|
|
6790
|
+
writable: true,
|
|
6791
|
+
value: void 0
|
|
6792
|
+
});
|
|
6793
|
+
this.scale.set(realRatio, realRatio, realRatio);
|
|
6794
|
+
// set public property
|
|
6795
|
+
this.cornerPoints = cornerPoints;
|
|
6796
|
+
this.ratio = ratio;
|
|
6797
|
+
this.container = container;
|
|
6798
|
+
if (realRatio === ratio) {
|
|
6799
|
+
this.width = planeWidth;
|
|
6800
|
+
this.height = planeHeight;
|
|
6801
|
+
this.domWidthPx = domWidthPx;
|
|
6802
|
+
this.domHeightPx = domHeightPx;
|
|
6803
|
+
this.centerPosition = centerPosition;
|
|
6804
|
+
}
|
|
6805
|
+
else {
|
|
6806
|
+
const scale = ratio / realRatio;
|
|
6807
|
+
this.width = scale * planeWidth;
|
|
6808
|
+
this.height = scale * planeHeight;
|
|
6809
|
+
this.domWidthPx = scale * domWidthPx;
|
|
6810
|
+
this.domHeightPx = scale * domHeightPx;
|
|
6811
|
+
this.centerPosition = new THREE.Vector3()
|
|
6812
|
+
.subVectors(centerPosition.clone(), cornerPoints[0].clone())
|
|
6813
|
+
.multiplyScalar(scale)
|
|
6814
|
+
.add(cornerPoints[0]);
|
|
6815
|
+
}
|
|
6816
|
+
// end
|
|
6817
|
+
container.classList.add(`${NAME}__container`);
|
|
6818
|
+
// 旋转前
|
|
6819
|
+
const startVector01 = new THREE.Vector3(1, 0, 0); // dom初始01点向量
|
|
6820
|
+
const startVector12 = new THREE.Vector3(0, 1, 0); // dom初始12点向量
|
|
6821
|
+
// 旋转后
|
|
6822
|
+
const endVector01 = new THREE.Vector3().subVectors(cornerPoints[1], cornerPoints[0]); // 点0 -> 点1 的向量
|
|
6823
|
+
const endVector12 = new THREE.Vector3().subVectors(cornerPoints[2], cornerPoints[1]); // 点1 -> 点2 的向量
|
|
6824
|
+
// 使Vector01重合
|
|
6825
|
+
const vector01Quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector01.normalize(), endVector01.normalize());
|
|
6826
|
+
this.applyQuaternion(vector01Quaternion);
|
|
6827
|
+
startVector12.applyQuaternion(vector01Quaternion);
|
|
6828
|
+
// 使Vector12重合
|
|
6829
|
+
const vector12Quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector12.normalize(), endVector12.normalize());
|
|
6830
|
+
this.applyQuaternion(vector12Quaternion);
|
|
6831
|
+
// set position
|
|
6832
|
+
this.position.set(centerPosition.x, centerPosition.y, centerPosition.z);
|
|
6833
|
+
}
|
|
6834
|
+
}
|
|
6835
|
+
|
|
6836
|
+
const VERSION$2 = 'v2.0.0';
|
|
6837
|
+
const PLUGIN_NAME$2 = 'CSS3DRenderer';
|
|
6838
|
+
const PLUGIN = `${PLUGIN_NAME$2}@${VERSION$2}`;
|
|
6839
|
+
const pluginFlag$1 = (name) => `${PLUGIN}--${name}`;
|
|
6840
|
+
const globalStore = {};
|
|
6841
|
+
class CSS3DRender {
|
|
6842
|
+
constructor() {
|
|
6843
|
+
Object.defineProperty(this, "hooks", {
|
|
6844
|
+
enumerable: true,
|
|
6845
|
+
configurable: true,
|
|
6846
|
+
writable: true,
|
|
6847
|
+
value: new Subscribe()
|
|
6848
|
+
});
|
|
6176
6849
|
Object.defineProperty(this, "state", {
|
|
6177
6850
|
enumerable: true,
|
|
6178
6851
|
configurable: true,
|
|
@@ -6180,6 +6853,7 @@ class Controller extends Controller$1 {
|
|
|
6180
6853
|
value: {
|
|
6181
6854
|
enabled: true,
|
|
6182
6855
|
visible: true,
|
|
6856
|
+
disposed: false,
|
|
6183
6857
|
}
|
|
6184
6858
|
});
|
|
6185
6859
|
Object.defineProperty(this, "store", {
|
|
@@ -6187,54 +6861,11 @@ class Controller extends Controller$1 {
|
|
|
6187
6861
|
configurable: true,
|
|
6188
6862
|
writable: true,
|
|
6189
6863
|
value: {
|
|
6190
|
-
disposed: false,
|
|
6191
6864
|
disposers: [],
|
|
6192
6865
|
frontModeCSS3DObjects: {},
|
|
6193
6866
|
behindModeCSS3DObjects: {},
|
|
6194
6867
|
}
|
|
6195
6868
|
});
|
|
6196
|
-
Object.defineProperty(this, "setVisibleById", {
|
|
6197
|
-
enumerable: true,
|
|
6198
|
-
configurable: true,
|
|
6199
|
-
writable: true,
|
|
6200
|
-
value: (id, visible) => {
|
|
6201
|
-
var _a;
|
|
6202
|
-
const data = (_a = this.store.frontModeCSS3DObjects[id]) !== null && _a !== void 0 ? _a : this.store.behindModeCSS3DObjects[id];
|
|
6203
|
-
if (!data)
|
|
6204
|
-
return;
|
|
6205
|
-
data.css3DObject.visible = visible;
|
|
6206
|
-
data.visible = visible;
|
|
6207
|
-
if (data.mode === 'behind')
|
|
6208
|
-
data.opacityMesh.visible = visible;
|
|
6209
|
-
this.five.needsRender = true;
|
|
6210
|
-
}
|
|
6211
|
-
});
|
|
6212
|
-
Object.defineProperty(this, "setEnabledById", {
|
|
6213
|
-
enumerable: true,
|
|
6214
|
-
configurable: true,
|
|
6215
|
-
writable: true,
|
|
6216
|
-
value: (id, enabled) => {
|
|
6217
|
-
var _a, _b, _c;
|
|
6218
|
-
const data = (_a = this.store.frontModeCSS3DObjects[id]) !== null && _a !== void 0 ? _a : this.store.behindModeCSS3DObjects[id];
|
|
6219
|
-
if (!data)
|
|
6220
|
-
return;
|
|
6221
|
-
const css3DScene = data.mode === 'front' ? (_b = globalState.frontModeStore) === null || _b === void 0 ? void 0 : _b.css3DScene : (_c = globalState.behindModeStore) === null || _c === void 0 ? void 0 : _c.css3DScene;
|
|
6222
|
-
if (!css3DScene)
|
|
6223
|
-
return;
|
|
6224
|
-
if (enabled) {
|
|
6225
|
-
css3DScene.add(data.css3DObject);
|
|
6226
|
-
if (data.mode === 'behind')
|
|
6227
|
-
this.five.scene.add(data.opacityMesh);
|
|
6228
|
-
}
|
|
6229
|
-
else {
|
|
6230
|
-
css3DScene.remove(data.css3DObject);
|
|
6231
|
-
if (data.mode === 'behind')
|
|
6232
|
-
this.five.scene.remove(data.opacityMesh);
|
|
6233
|
-
}
|
|
6234
|
-
data.enabled = enabled;
|
|
6235
|
-
this.five.needsRender = true;
|
|
6236
|
-
}
|
|
6237
|
-
});
|
|
6238
6869
|
/**
|
|
6239
6870
|
* @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
6240
6871
|
* @param { Vector3Position[] } points 矩形四个点坐标
|
|
@@ -6243,15 +6874,14 @@ class Controller extends Controller$1 {
|
|
|
6243
6874
|
* | key | type | defaultValue | comment |
|
|
6244
6875
|
* | - | - | - | - |
|
|
6245
6876
|
* | `ratio` | *`number`* | `0.00216` | 1px对应多少米,默认为 0.00216,即1px对应2.16mm |
|
|
6246
|
-
* | ~~`dpr`~~ | ~~*`number`*~~ | ~~`undefined`~~ | ~~**已改名**,请使用~~ `devicePixelRatio` |
|
|
6247
6877
|
* | `devicePixelRatio` | *`number`* | `1` | 设备的物理像素分辨率与CSS像素分辨率的比值 |
|
|
6248
6878
|
* | `container` | *`HTMLElement`* | `undefined` | 自定义 return 中的 `container`
|
|
6249
6879
|
* | `pointerEvents` | *`'none'\|'auto'`* | `'none'` | container 的 css属性:`pointer-events` 的值 |
|
|
6250
6880
|
* | `autoRender` | *`boolean`* | `true` | 是否自动渲染,通常为true |
|
|
6251
6881
|
* | `mode` | *`'front'\|'behind'`* | `front` | 两种模式:|
|
|
6252
|
-
* | | | | `front` 模式:DOM 处于 five Canvas
|
|
6882
|
+
* | | | | `front` 模式:DOM 处于 five Canvas 上方,所以无法模拟遮挡效果,需要手动检测是否可见去设置显隐 |
|
|
6253
6883
|
* | | | | `behind` 模式:DOM 处于 five Canvas 下方,可以模拟真实的遮挡效果,但是 DOM 必须是非透明的 |
|
|
6254
|
-
* | `
|
|
6884
|
+
* | `scene` | *`THREE.Scene`* | `undefined` | 如果 mode 为 `behind`,需要传入 |
|
|
6255
6885
|
*
|
|
6256
6886
|
* @return
|
|
6257
6887
|
* ```typescript
|
|
@@ -6270,36 +6900,29 @@ class Controller extends Controller$1 {
|
|
|
6270
6900
|
* } | void
|
|
6271
6901
|
* ```
|
|
6272
6902
|
*/
|
|
6273
|
-
Object.defineProperty(this, "
|
|
6903
|
+
Object.defineProperty(this, "create3DElement", {
|
|
6274
6904
|
enumerable: true,
|
|
6275
6905
|
configurable: true,
|
|
6276
6906
|
writable: true,
|
|
6277
|
-
value: (points, config) => {
|
|
6278
|
-
if (this.
|
|
6907
|
+
value: (camera, points, config) => {
|
|
6908
|
+
if (this.state.disposed)
|
|
6279
6909
|
return this.disposedErrorLog();
|
|
6280
6910
|
// ==== init ====
|
|
6281
6911
|
const mergeConfig = (() => {
|
|
6282
|
-
|
|
6283
|
-
if ((config === null || config === void 0 ? void 0 : config.dpr) !== undefined)
|
|
6284
|
-
console.warn(`${PLUGIN_NAME$1}: please use "config.devicePixelRatio" replace "config.dpr"`);
|
|
6285
|
-
const defaultconfig = {
|
|
6912
|
+
const defaultConfig = {
|
|
6286
6913
|
ratio: 0.00216,
|
|
6287
|
-
devicePixelRatio:
|
|
6914
|
+
devicePixelRatio: 1,
|
|
6288
6915
|
mode: 'front',
|
|
6289
6916
|
autoRender: true,
|
|
6290
6917
|
container: document.createElement('div'),
|
|
6291
6918
|
pointerEvents: 'none',
|
|
6292
6919
|
};
|
|
6293
|
-
return Object.assign(
|
|
6920
|
+
return Object.assign(defaultConfig, config);
|
|
6294
6921
|
})();
|
|
6295
6922
|
const vector3Points = points.map(anyPositionToVector3);
|
|
6296
6923
|
if ((vector3Points === null || vector3Points === void 0 ? void 0 : vector3Points.length) < 4)
|
|
6297
|
-
return console.error(`${
|
|
6298
|
-
const { five, store } = this;
|
|
6924
|
+
return console.error(`${PLUGIN}: requires 4 point but params may have fewer`);
|
|
6299
6925
|
const { ratio, devicePixelRatio: dpr, mode, autoRender, container, pointerEvents } = mergeConfig;
|
|
6300
|
-
const fiveElement = five.getElement();
|
|
6301
|
-
if (!fiveElement)
|
|
6302
|
-
return console.error(`${PLUGIN_NAME$1}: five.getElement() is ${fiveElement}`);
|
|
6303
6926
|
const disposers = [];
|
|
6304
6927
|
// ==== init END ====
|
|
6305
6928
|
// 获取css3DObject, 如果mode为behind的话,也一起获取mesh
|
|
@@ -6311,47 +6934,47 @@ class Controller extends Controller$1 {
|
|
|
6311
6934
|
pointerEvents,
|
|
6312
6935
|
});
|
|
6313
6936
|
container.id = `container--${css3DObject.uuid}`;
|
|
6314
|
-
|
|
6315
|
-
const
|
|
6316
|
-
const behindModeAndBehindModeUnInited = mode === 'behind' && !globalState.behindModeStore;
|
|
6937
|
+
const frontModeAndFrontModeUnInited = mode === 'front' && !globalStore.frontModeStore;
|
|
6938
|
+
const behindModeAndBehindModeUnInited = mode === 'behind' && !globalStore.behindModeStore;
|
|
6317
6939
|
if (behindModeAndBehindModeUnInited) {
|
|
6318
|
-
|
|
6940
|
+
globalStore.behindModeStore = {
|
|
6941
|
+
scene: mergeConfig.scene,
|
|
6942
|
+
css3DScene: new THREE__namespace.Scene(),
|
|
6943
|
+
css3DRenderer: new CSS3DRenderer.CSS3DRenderer(),
|
|
6944
|
+
};
|
|
6319
6945
|
}
|
|
6320
6946
|
if (frontModeAndFrontModeUnInited) {
|
|
6321
|
-
|
|
6947
|
+
globalStore.frontModeStore = { css3DScene: new THREE__namespace.Scene(), css3DRenderer: new CSS3DRenderer.CSS3DRenderer() };
|
|
6322
6948
|
}
|
|
6323
|
-
const modeStore = mode === 'front' ?
|
|
6949
|
+
const modeStore = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
|
|
6324
6950
|
const { css3DScene, css3DRenderer } = modeStore;
|
|
6325
6951
|
const render = (() => {
|
|
6326
6952
|
const renderCSS3DObject = () => {
|
|
6327
|
-
var _a;
|
|
6328
|
-
const addCSS3DObject = () => {
|
|
6329
|
-
css3DScene.add(css3DObject);
|
|
6330
|
-
if (mode === 'behind' && opacityMesh) {
|
|
6331
|
-
five.scene.add(opacityMesh);
|
|
6332
|
-
disposers.push(() => opacityMesh && five.scene.remove(opacityMesh));
|
|
6333
|
-
}
|
|
6334
|
-
};
|
|
6335
6953
|
if (mode === 'front') {
|
|
6336
|
-
store.frontModeCSS3DObjects[css3DObject.uuid] = {
|
|
6337
|
-
|
|
6954
|
+
this.store.frontModeCSS3DObjects[css3DObject.uuid] = {
|
|
6955
|
+
visible: true,
|
|
6956
|
+
enabled: true,
|
|
6957
|
+
css3DObject,
|
|
6958
|
+
mode: 'front',
|
|
6959
|
+
};
|
|
6338
6960
|
}
|
|
6339
6961
|
else {
|
|
6340
|
-
store.behindModeCSS3DObjects[css3DObject.uuid] = {
|
|
6962
|
+
this.store.behindModeCSS3DObjects[css3DObject.uuid] = {
|
|
6341
6963
|
visible: true,
|
|
6342
6964
|
enabled: true,
|
|
6343
6965
|
css3DObject,
|
|
6344
6966
|
opacityMesh: opacityMesh,
|
|
6345
6967
|
mode: 'behind',
|
|
6968
|
+
scene: mergeConfig.scene,
|
|
6346
6969
|
};
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6970
|
+
}
|
|
6971
|
+
css3DScene.add(css3DObject);
|
|
6972
|
+
if (mode === 'behind' && opacityMesh) {
|
|
6973
|
+
mergeConfig.scene.add(opacityMesh);
|
|
6974
|
+
disposers.push(() => opacityMesh && mergeConfig.scene.remove(opacityMesh));
|
|
6351
6975
|
}
|
|
6352
6976
|
};
|
|
6353
6977
|
if (frontModeAndFrontModeUnInited || behindModeAndBehindModeUnInited) {
|
|
6354
|
-
resizeObserver = this.createResizeObserver(css3DRenderer.setSize);
|
|
6355
6978
|
css3DRenderer.domElement.style.position = 'absolute';
|
|
6356
6979
|
css3DRenderer.domElement.style.top = '0';
|
|
6357
6980
|
css3DRenderer.domElement.style.userSelect = 'none';
|
|
@@ -6360,24 +6983,21 @@ class Controller extends Controller$1 {
|
|
|
6360
6983
|
const renderEveryFrame = () => {
|
|
6361
6984
|
const requestAnimationFrameId = requestAnimationFrame(renderEveryFrame);
|
|
6362
6985
|
modeStore.requestAnimationFrameId = requestAnimationFrameId;
|
|
6363
|
-
css3DRenderer.render(css3DScene,
|
|
6986
|
+
css3DRenderer.render(css3DScene, camera);
|
|
6364
6987
|
};
|
|
6365
6988
|
return () => {
|
|
6366
|
-
var _a;
|
|
6367
6989
|
renderCSS3DObject();
|
|
6368
|
-
(_a = resizeObserver === null || resizeObserver === void 0 ? void 0 : resizeObserver.observe) === null || _a === void 0 ? void 0 : _a.call(resizeObserver);
|
|
6369
6990
|
renderEveryFrame();
|
|
6370
6991
|
};
|
|
6371
6992
|
}
|
|
6372
6993
|
return () => renderCSS3DObject();
|
|
6373
6994
|
})();
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
wrapper.appendChild(css3DRenderer.domElement);
|
|
6995
|
+
const wrapper = mode === 'front' ? globalStore.frontModeContainer : globalStore.behindModeContainer;
|
|
6996
|
+
if (wrapper) {
|
|
6997
|
+
this.appendToElement(wrapper, mode);
|
|
6998
|
+
const store = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
|
|
6999
|
+
if (store)
|
|
7000
|
+
store.appendedToPage = true;
|
|
6381
7001
|
}
|
|
6382
7002
|
const setVisible = (visible) => this.setVisibleById(css3DObject.uuid, visible);
|
|
6383
7003
|
const setEnabled = (enabled) => this.setEnabledById(css3DObject.uuid, enabled);
|
|
@@ -6386,9 +7006,8 @@ class Controller extends Controller$1 {
|
|
|
6386
7006
|
const enable = () => setEnabled(true);
|
|
6387
7007
|
const disable = () => setEnabled(false);
|
|
6388
7008
|
const dispose = () => {
|
|
6389
|
-
|
|
6390
|
-
delete store.
|
|
6391
|
-
delete store.behindModeCSS3DObjects[css3DObject.uuid];
|
|
7009
|
+
delete this.store.frontModeCSS3DObjects[css3DObject.uuid];
|
|
7010
|
+
delete this.store.behindModeCSS3DObjects[css3DObject.uuid];
|
|
6392
7011
|
disposers.forEach((d) => d === null || d === void 0 ? void 0 : d());
|
|
6393
7012
|
css3DScene.remove(css3DObject);
|
|
6394
7013
|
// 如果全没了,就清除父容器
|
|
@@ -6398,16 +7017,13 @@ class Controller extends Controller$1 {
|
|
|
6398
7017
|
}
|
|
6399
7018
|
css3DRenderer.domElement.remove();
|
|
6400
7019
|
if (mode === 'front')
|
|
6401
|
-
|
|
7020
|
+
globalStore.frontModeStore = undefined;
|
|
6402
7021
|
if (mode === 'behind')
|
|
6403
|
-
|
|
6404
|
-
if (!globalState.behindModeStore && !globalState.frontModeStore) {
|
|
6405
|
-
(_a = resizeObserver === null || resizeObserver === void 0 ? void 0 : resizeObserver.unobserve) === null || _a === void 0 ? void 0 : _a.call(resizeObserver);
|
|
6406
|
-
}
|
|
7022
|
+
globalStore.behindModeStore = undefined;
|
|
6407
7023
|
}
|
|
6408
7024
|
return true;
|
|
6409
7025
|
};
|
|
6410
|
-
store.disposers.push(dispose);
|
|
7026
|
+
this.store.disposers.push(dispose);
|
|
6411
7027
|
if (autoRender)
|
|
6412
7028
|
render();
|
|
6413
7029
|
return {
|
|
@@ -6422,89 +7038,60 @@ class Controller extends Controller$1 {
|
|
|
6422
7038
|
disable,
|
|
6423
7039
|
enable,
|
|
6424
7040
|
setEnabled,
|
|
7041
|
+
appendToElement: (container) => this.appendToElement(container, mode),
|
|
6425
7042
|
};
|
|
6426
7043
|
}
|
|
6427
7044
|
});
|
|
6428
|
-
Object.defineProperty(this, "
|
|
7045
|
+
Object.defineProperty(this, "setVisibleById", {
|
|
6429
7046
|
enumerable: true,
|
|
6430
7047
|
configurable: true,
|
|
6431
7048
|
writable: true,
|
|
6432
|
-
value: (
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
const width = evenNumber(fiveElement.clientWidth, { smaller: true });
|
|
6442
|
-
const height = evenNumber(fiveElement.clientHeight, { smaller: true });
|
|
6443
|
-
resizeHandler(width, height);
|
|
6444
|
-
};
|
|
6445
|
-
const observer = new ResizeObserver(resizeObserverHandler);
|
|
6446
|
-
if (fireImmediately)
|
|
6447
|
-
resizeObserverHandler();
|
|
6448
|
-
return {
|
|
6449
|
-
observe: () => observer.observe(fiveElement),
|
|
6450
|
-
unobserve: () => observer.unobserve(fiveElement),
|
|
6451
|
-
};
|
|
7049
|
+
value: (id, visible) => {
|
|
7050
|
+
var _a;
|
|
7051
|
+
const data = (_a = this.store.frontModeCSS3DObjects[id]) !== null && _a !== void 0 ? _a : this.store.behindModeCSS3DObjects[id];
|
|
7052
|
+
if (!data)
|
|
7053
|
+
return;
|
|
7054
|
+
data.css3DObject.visible = visible;
|
|
7055
|
+
data.visible = visible;
|
|
7056
|
+
if (data.mode === 'behind')
|
|
7057
|
+
data.opacityMesh.visible = visible;
|
|
6452
7058
|
}
|
|
6453
7059
|
});
|
|
6454
|
-
Object.defineProperty(this, "
|
|
7060
|
+
Object.defineProperty(this, "setEnabledById", {
|
|
6455
7061
|
enumerable: true,
|
|
6456
7062
|
configurable: true,
|
|
6457
7063
|
writable: true,
|
|
6458
|
-
value: (
|
|
6459
|
-
|
|
6460
|
-
const
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
const
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
if (
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
container.style.height = `${domHeightPx}px`;
|
|
7064
|
+
value: (id, enabled) => {
|
|
7065
|
+
var _a, _b, _c;
|
|
7066
|
+
const data = (_a = this.store.frontModeCSS3DObjects[id]) !== null && _a !== void 0 ? _a : this.store.behindModeCSS3DObjects[id];
|
|
7067
|
+
if (!data)
|
|
7068
|
+
return;
|
|
7069
|
+
const css3DScene = data.mode === 'front' ? (_b = globalStore.frontModeStore) === null || _b === void 0 ? void 0 : _b.css3DScene : (_c = globalStore.behindModeStore) === null || _c === void 0 ? void 0 : _c.css3DScene;
|
|
7070
|
+
if (!css3DScene)
|
|
7071
|
+
return;
|
|
7072
|
+
if (enabled) {
|
|
7073
|
+
css3DScene.add(data.css3DObject);
|
|
7074
|
+
if (data.mode === 'behind')
|
|
7075
|
+
data.scene.add(data.opacityMesh);
|
|
6471
7076
|
}
|
|
6472
7077
|
else {
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
css3DObject.scale.set(ratio, ratio, ratio);
|
|
6477
|
-
element.style.width = `${domWidthPx}px`;
|
|
6478
|
-
element.style.height = `${domHeightPx}px`;
|
|
6479
|
-
element.style.pointerEvents = 'none';
|
|
6480
|
-
const scale = wantRatio / ratio;
|
|
6481
|
-
container.style.position = 'absolute';
|
|
6482
|
-
container.style.left = '0';
|
|
6483
|
-
container.style.top = '0';
|
|
6484
|
-
container.style.width = `${scale * domWidthPx}px`;
|
|
6485
|
-
container.style.height = `${scale * domHeightPx}px`;
|
|
6486
|
-
element.appendChild(container);
|
|
7078
|
+
css3DScene.remove(data.css3DObject);
|
|
7079
|
+
if (data.mode === 'behind')
|
|
7080
|
+
data.scene.remove(data.opacityMesh);
|
|
6487
7081
|
}
|
|
7082
|
+
data.enabled = enabled;
|
|
7083
|
+
}
|
|
7084
|
+
});
|
|
7085
|
+
Object.defineProperty(this, "createObject", {
|
|
7086
|
+
enumerable: true,
|
|
7087
|
+
configurable: true,
|
|
7088
|
+
writable: true,
|
|
7089
|
+
value: (points, config) => {
|
|
7090
|
+
const { ratio, dpr, container, mode, pointerEvents } = config;
|
|
7091
|
+
const css3DObject = new CSS3DObjectPlus(container, points, ratio, dpr);
|
|
6488
7092
|
container.style.pointerEvents = pointerEvents;
|
|
6489
|
-
|
|
6490
|
-
const
|
|
6491
|
-
const vector12 = points[2].clone().sub(points[1]); // 点1 -> 点2 的向量
|
|
6492
|
-
// 旋转平面
|
|
6493
|
-
const rotateXAngle = new THREE.Vector3(0, 1, 0).angleTo(new THREE.Vector3(0, vector12.y, vector12.z));
|
|
6494
|
-
const rotateYAngle = new THREE.Vector3(1, 0, 0).angleTo(new THREE.Vector3(vector01.x, 0, vector01.z));
|
|
6495
|
-
const rotateZAngle = vector01.angleTo(new THREE.Vector3(vector01.x, 0, vector01.z));
|
|
6496
|
-
/**
|
|
6497
|
-
* [0,1,0] => [0,0,1] 为rotate WorldX正方向
|
|
6498
|
-
* [0,0,1] => [0,1,0] 为rotate WorldY正方向
|
|
6499
|
-
* [0,1,1] => [-1,0,0] 为rotate WorldZ正方向
|
|
6500
|
-
*/
|
|
6501
|
-
const rotateX = (vector12.z > 0 ? -1 : 1) * rotateXAngle;
|
|
6502
|
-
const rotateY = (vector01.z < 0 ? 1 : -1) * rotateYAngle;
|
|
6503
|
-
const rotateZ = ((vector01.x > 0 && vector01.y < 0) || (vector01.x < 0 && vector01.y > 0) ? -1 : 1) * rotateZAngle;
|
|
6504
|
-
css3DObject.rotateOnWorldAxis(new THREE.Vector3(1, 0, 0), rotateX); // x
|
|
6505
|
-
css3DObject.rotateOnWorldAxis(new THREE.Vector3(0, 1, 0), rotateY); // y
|
|
6506
|
-
css3DObject.rotateOnWorldAxis(new THREE.Vector3(0, 0, 1), rotateZ); // z
|
|
6507
|
-
css3DObject.position.set(centerPosition.x, centerPosition.y, centerPosition.z);
|
|
7093
|
+
container.classList.add(`${PLUGIN_NAME$2}__container`);
|
|
7094
|
+
const { domWidthPx, domHeightPx } = css3DObject;
|
|
6508
7095
|
// 生成透明Mesh
|
|
6509
7096
|
const opacityMesh = (() => {
|
|
6510
7097
|
if (mode === 'behind') {
|
|
@@ -6525,17 +7112,45 @@ class Controller extends Controller$1 {
|
|
|
6525
7112
|
return { css3DObject, opacityMesh };
|
|
6526
7113
|
}
|
|
6527
7114
|
});
|
|
7115
|
+
Object.defineProperty(this, "createResizeObserver", {
|
|
7116
|
+
enumerable: true,
|
|
7117
|
+
configurable: true,
|
|
7118
|
+
writable: true,
|
|
7119
|
+
value: (element, resizeHandler, fireImmediately = true) => {
|
|
7120
|
+
if (!element || !ResizeObserver)
|
|
7121
|
+
return { observe: () => { }, unobserve: () => { } };
|
|
7122
|
+
const resizeObserverHandler = () => {
|
|
7123
|
+
/**
|
|
7124
|
+
* 这里evenNumber策略是遇到奇数会加1,在某些浏览器中会触发滚动条显示,导致fiveElement变小,fiveElement变小又触发了这里的resize,宽高变小,滚动条消失,然后又触发resize。。。无限循环
|
|
7125
|
+
* 所以为了规避上面这种情况,evenNumber设置了一个参数,遇到奇数可选择减一
|
|
7126
|
+
*/
|
|
7127
|
+
const width = evenNumber(element.clientWidth, { smaller: true });
|
|
7128
|
+
const height = evenNumber(element.clientHeight, { smaller: true });
|
|
7129
|
+
resizeHandler(width, height);
|
|
7130
|
+
};
|
|
7131
|
+
const observer = new ResizeObserver(resizeObserverHandler);
|
|
7132
|
+
if (fireImmediately)
|
|
7133
|
+
resizeObserverHandler();
|
|
7134
|
+
return {
|
|
7135
|
+
observe: () => observer.observe(element),
|
|
7136
|
+
unobserve: () => observer.unobserve(element),
|
|
7137
|
+
};
|
|
7138
|
+
}
|
|
7139
|
+
});
|
|
6528
7140
|
Object.defineProperty(this, "disposedErrorLog", {
|
|
6529
7141
|
enumerable: true,
|
|
6530
7142
|
configurable: true,
|
|
6531
7143
|
writable: true,
|
|
6532
7144
|
value: () => {
|
|
6533
|
-
console.error(`${
|
|
7145
|
+
console.error(`${PLUGIN} is disposed`);
|
|
6534
7146
|
}
|
|
6535
7147
|
});
|
|
6536
7148
|
}
|
|
7149
|
+
getCurrentState() {
|
|
7150
|
+
return this.state;
|
|
7151
|
+
}
|
|
6537
7152
|
setState(state, options = { userAction: true }) {
|
|
6538
|
-
if (this.
|
|
7153
|
+
if (this.state.disposed)
|
|
6539
7154
|
return this.disposedErrorLog();
|
|
6540
7155
|
const prevState = Object.assign({}, this.state);
|
|
6541
7156
|
this.state = Object.assign(this.state, state);
|
|
@@ -6547,40 +7162,63 @@ class Controller extends Controller$1 {
|
|
|
6547
7162
|
}
|
|
6548
7163
|
this.hooks.emit('stateChange', { state: this.state, prevState, userAction: options.userAction });
|
|
6549
7164
|
}
|
|
6550
|
-
/** @deprecated disposeAll() renamed as dispose() */
|
|
6551
|
-
disposeAll() {
|
|
6552
|
-
return this.dispose();
|
|
6553
|
-
}
|
|
6554
7165
|
dispose() {
|
|
6555
7166
|
this.store.disposers.forEach((d) => d === null || d === void 0 ? void 0 : d());
|
|
6556
7167
|
this.store.disposers = [];
|
|
6557
7168
|
this.hooks.emit('dispose');
|
|
6558
|
-
this.
|
|
7169
|
+
this.state.disposed = true;
|
|
6559
7170
|
}
|
|
6560
7171
|
async show({ userAction } = { userAction: true }) {
|
|
6561
|
-
if (this.
|
|
7172
|
+
if (this.state.disposed)
|
|
6562
7173
|
return this.disposedErrorLog();
|
|
6563
7174
|
this.setState({ visible: true }, { userAction });
|
|
6564
7175
|
this.hooks.emit('show', { userAction });
|
|
6565
7176
|
}
|
|
6566
7177
|
async hide({ userAction } = { userAction: true }) {
|
|
6567
|
-
if (this.
|
|
7178
|
+
if (this.state.disposed)
|
|
6568
7179
|
return this.disposedErrorLog();
|
|
6569
7180
|
this.setState({ visible: false }, { userAction });
|
|
6570
7181
|
this.hooks.emit('hide', { userAction });
|
|
6571
7182
|
}
|
|
6572
7183
|
enable({ userAction } = { userAction: true }) {
|
|
6573
|
-
if (this.
|
|
7184
|
+
if (this.state.disposed)
|
|
6574
7185
|
return this.disposedErrorLog();
|
|
6575
7186
|
this.setState({ enabled: true }, { userAction });
|
|
6576
7187
|
this.hooks.emit('enable', { userAction });
|
|
6577
7188
|
}
|
|
6578
7189
|
disable({ userAction } = { userAction: true }) {
|
|
6579
|
-
if (this.
|
|
7190
|
+
if (this.state.disposed)
|
|
6580
7191
|
return this.disposedErrorLog();
|
|
6581
7192
|
this.setState({ enabled: false }, { userAction });
|
|
6582
7193
|
this.hooks.emit('disable', { userAction });
|
|
6583
7194
|
}
|
|
7195
|
+
appendToElement(container, mode) {
|
|
7196
|
+
if (!container)
|
|
7197
|
+
throw new Error(`${PLUGIN} Cannot append to container: container is ${container}`);
|
|
7198
|
+
const store = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
|
|
7199
|
+
if (!store) {
|
|
7200
|
+
if (mode === 'front')
|
|
7201
|
+
globalStore.frontModeContainer = container;
|
|
7202
|
+
if (mode === 'behind')
|
|
7203
|
+
globalStore.behindModeContainer = container;
|
|
7204
|
+
return;
|
|
7205
|
+
}
|
|
7206
|
+
if (store.appendedToPage)
|
|
7207
|
+
return;
|
|
7208
|
+
container.appendChild(store.css3DRenderer.domElement);
|
|
7209
|
+
if (!globalStore.resizeObserver) {
|
|
7210
|
+
const reSize = (width, height) => {
|
|
7211
|
+
var _a, _b;
|
|
7212
|
+
(_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DRenderer.setSize(width, height);
|
|
7213
|
+
(_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.css3DRenderer.setSize(width, height);
|
|
7214
|
+
};
|
|
7215
|
+
const { observe, unobserve } = this.createResizeObserver(container, reSize, true);
|
|
7216
|
+
globalStore.resizeObserver = { observe, unobserve };
|
|
7217
|
+
observe();
|
|
7218
|
+
this.store.disposers.push(unobserve);
|
|
7219
|
+
}
|
|
7220
|
+
store.appendedToPage = true;
|
|
7221
|
+
}
|
|
6584
7222
|
async handleShow() {
|
|
6585
7223
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
6586
7224
|
value.css3DObject.visible = value.visible;
|
|
@@ -6589,7 +7227,6 @@ class Controller extends Controller$1 {
|
|
|
6589
7227
|
value.css3DObject.visible = value.visible;
|
|
6590
7228
|
value.opacityMesh.visible = value.visible;
|
|
6591
7229
|
});
|
|
6592
|
-
this.five.needsRender = true;
|
|
6593
7230
|
}
|
|
6594
7231
|
async handleHide() {
|
|
6595
7232
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
@@ -6599,77 +7236,148 @@ class Controller extends Controller$1 {
|
|
|
6599
7236
|
value.css3DObject.visible = false;
|
|
6600
7237
|
value.opacityMesh.visible = false;
|
|
6601
7238
|
});
|
|
6602
|
-
this.five.needsRender = true;
|
|
6603
7239
|
}
|
|
6604
7240
|
handleEnable() {
|
|
6605
7241
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
6606
7242
|
var _a;
|
|
6607
7243
|
if (!value.enabled)
|
|
6608
7244
|
return;
|
|
6609
|
-
(_a =
|
|
7245
|
+
(_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.add(value.css3DObject);
|
|
6610
7246
|
});
|
|
6611
7247
|
Object.values(this.store.behindModeCSS3DObjects).forEach((value) => {
|
|
6612
|
-
var _a;
|
|
7248
|
+
var _a, _b;
|
|
6613
7249
|
if (!value.enabled)
|
|
6614
7250
|
return;
|
|
6615
|
-
(_a =
|
|
6616
|
-
|
|
7251
|
+
(_a = globalStore.behindModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.add(value.css3DObject);
|
|
7252
|
+
(_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.scene.add(value.opacityMesh);
|
|
6617
7253
|
});
|
|
6618
|
-
this.five.needsRender = true;
|
|
6619
7254
|
}
|
|
6620
7255
|
handleDisable() {
|
|
6621
7256
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
6622
7257
|
var _a;
|
|
6623
|
-
(_a =
|
|
7258
|
+
(_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.remove(value.css3DObject);
|
|
6624
7259
|
});
|
|
6625
7260
|
Object.values(this.store.behindModeCSS3DObjects).forEach((value) => {
|
|
6626
|
-
var _a;
|
|
6627
|
-
(_a =
|
|
6628
|
-
|
|
7261
|
+
var _a, _b;
|
|
7262
|
+
(_a = globalStore.behindModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.remove(value.css3DObject);
|
|
7263
|
+
(_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.scene.remove(value.opacityMesh);
|
|
7264
|
+
});
|
|
7265
|
+
}
|
|
7266
|
+
}
|
|
7267
|
+
|
|
7268
|
+
const VERSION$1 = 'v2.0.0';
|
|
7269
|
+
const PLUGIN_NAME$1 = `CSS3DRenderPlugin-${random()}@${VERSION$1}`;
|
|
7270
|
+
class Controller extends CSS3DRender {
|
|
7271
|
+
constructor(five) {
|
|
7272
|
+
super();
|
|
7273
|
+
Object.defineProperty(this, "five", {
|
|
7274
|
+
enumerable: true,
|
|
7275
|
+
configurable: true,
|
|
7276
|
+
writable: true,
|
|
7277
|
+
value: void 0
|
|
7278
|
+
});
|
|
7279
|
+
/**
|
|
7280
|
+
* @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
7281
|
+
* @param { Vector3Position[] } points 矩形四个点坐标
|
|
7282
|
+
* @param config 均为可选值
|
|
7283
|
+
* @config_document `config` 均为可选值
|
|
7284
|
+
* | key | type | defaultValue | comment |
|
|
7285
|
+
* | - | - | - | - |
|
|
7286
|
+
* | `ratio` | *`number`* | `0.00216` | 1px对应多少米,默认为 0.00216,即1px对应2.16mm |
|
|
7287
|
+
* | ~~`dpr`~~ | ~~*`number`*~~ | ~~`undefined`~~ | ~~**已改名**,请使用~~ `devicePixelRatio` |
|
|
7288
|
+
* | `devicePixelRatio` | *`number`* | `1` | 设备的物理像素分辨率与CSS像素分辨率的比值 |
|
|
7289
|
+
* | `container` | *`HTMLElement`* | `undefined` | 自定义 return 中的 `container`
|
|
7290
|
+
* | `pointerEvents` | *`'none'\|'auto'`* | `'none'` | container 的 css属性:`pointer-events` 的值 |
|
|
7291
|
+
* | `autoRender` | *`boolean`* | `true` | 是否自动渲染,通常为true |
|
|
7292
|
+
* | `mode` | *`'front'\|'behind'`* | `front` | 两种模式:|
|
|
7293
|
+
* | | | | `front` 模式:DOM 处于 five Canvas 上方,所以无法模拟遮挡效果,需要手动检测是否可见去设置显隐 |
|
|
7294
|
+
* | | | | `behind` 模式:DOM 处于 five Canvas 下方,可以模拟真实的遮挡效果,但是 DOM 必须是非透明的 |
|
|
7295
|
+
* | `behindFiveContainer` | *`HTMLElement`* | `undefined` | 如果 mode 为 `behind`,需要传入容器,并确保此容器位five下方,且中间无其他不透明的dom元素遮挡 |
|
|
7296
|
+
*
|
|
7297
|
+
* @return
|
|
7298
|
+
* ```typescript
|
|
7299
|
+
* {
|
|
7300
|
+
* id: string, // id
|
|
7301
|
+
* container: HTMLDIVElement // dom容器
|
|
7302
|
+
* dispose: () => void // 销毁
|
|
7303
|
+
* css3DObject: CSS3DObject // THREE.CSS3DObject 实例
|
|
7304
|
+
* render?: () => void // 渲染函数,当 config.autoRender = true || undefined 时为 undefined
|
|
7305
|
+
* setVisible: (visible: boolean) => void // 设置显隐, 同 setVisibleById(id, visible)
|
|
7306
|
+
* show: () => void // 同 setVisible(true)
|
|
7307
|
+
* hide: () => void // 同 setVisible(false)
|
|
7308
|
+
* setEnabled: (enabled: boolean) => void // 添加/移除 container, 同 setEnabledById(id, enabled)
|
|
7309
|
+
* enable: () => void // 同 setEnabled(true)
|
|
7310
|
+
* disable: () => void // 同 setEnabled(false)
|
|
7311
|
+
* } | void
|
|
7312
|
+
* ```
|
|
7313
|
+
*/
|
|
7314
|
+
Object.defineProperty(this, "create3DDomContainer", {
|
|
7315
|
+
enumerable: true,
|
|
7316
|
+
configurable: true,
|
|
7317
|
+
writable: true,
|
|
7318
|
+
value: (points, config) => {
|
|
7319
|
+
if (this.state.disposed)
|
|
7320
|
+
return;
|
|
7321
|
+
// ==== init ====
|
|
7322
|
+
const mergeConfig = (() => {
|
|
7323
|
+
var _a;
|
|
7324
|
+
if ((config === null || config === void 0 ? void 0 : config.dpr) !== undefined)
|
|
7325
|
+
console.warn(`${PLUGIN_NAME$1}: please use "config.devicePixelRatio" replace "config.dpr"`);
|
|
7326
|
+
const defaultconfig = {
|
|
7327
|
+
ratio: 0.00216,
|
|
7328
|
+
devicePixelRatio: (_a = config === null || config === void 0 ? void 0 : config.dpr) !== null && _a !== void 0 ? _a : 1,
|
|
7329
|
+
mode: 'front',
|
|
7330
|
+
autoRender: true,
|
|
7331
|
+
};
|
|
7332
|
+
return Object.assign(defaultconfig, config, (config === null || config === void 0 ? void 0 : config.mode) === 'behind' ? { scene: this.five.scene } : undefined);
|
|
7333
|
+
})();
|
|
7334
|
+
const fiveElement = this.five.getElement();
|
|
7335
|
+
if (!fiveElement)
|
|
7336
|
+
return console.error(`${PLUGIN_NAME$1}: five.getElement() is ${fiveElement}`);
|
|
7337
|
+
const { autoRender, mode } = mergeConfig;
|
|
7338
|
+
// 自动添加dom
|
|
7339
|
+
const wrapper = mode === 'front' ? fiveElement.parentElement : mergeConfig.behindFiveContainer;
|
|
7340
|
+
this.appendToElement(wrapper || document.body, mode);
|
|
7341
|
+
const create3DElementResault = this.create3DElement(this.five.camera, points, Object.assign(Object.assign({}, mergeConfig), { autoRender: false }));
|
|
7342
|
+
if (!create3DElementResault)
|
|
7343
|
+
return;
|
|
7344
|
+
const oldRender = create3DElementResault.render;
|
|
7345
|
+
const newRender = () => {
|
|
7346
|
+
var _a;
|
|
7347
|
+
if (mode === 'front') {
|
|
7348
|
+
oldRender();
|
|
7349
|
+
}
|
|
7350
|
+
if (mode === 'behind') {
|
|
7351
|
+
if ((_a = this.five.model) === null || _a === void 0 ? void 0 : _a.loaded)
|
|
7352
|
+
oldRender();
|
|
7353
|
+
else
|
|
7354
|
+
this.five.once('modelLoaded', () => oldRender());
|
|
7355
|
+
}
|
|
7356
|
+
};
|
|
7357
|
+
if (autoRender)
|
|
7358
|
+
newRender();
|
|
7359
|
+
return Object.assign(Object.assign({}, create3DElementResault), { render: autoRender ? undefined : newRender });
|
|
7360
|
+
}
|
|
6629
7361
|
});
|
|
7362
|
+
this.five = five;
|
|
7363
|
+
}
|
|
7364
|
+
/** @deprecated disposeAll() renamed as dispose() */
|
|
7365
|
+
disposeAll() {
|
|
7366
|
+
return this.dispose();
|
|
7367
|
+
}
|
|
7368
|
+
setState(...params) {
|
|
7369
|
+
const result = super.setState(...params);
|
|
6630
7370
|
this.five.needsRender = true;
|
|
7371
|
+
return result;
|
|
6631
7372
|
}
|
|
6632
7373
|
}
|
|
6633
7374
|
|
|
6634
7375
|
const CSS3DRenderPlugin = (five) => new Controller(five);
|
|
6635
7376
|
|
|
6636
|
-
|
|
7377
|
+
// declare const __APP_VERSION__: string
|
|
7378
|
+
const VERSION = '0.3.3';
|
|
6637
7379
|
const PLUGIN_NAME = `DnalogelPlugin-PanoTagPlugin-${random()}@${VERSION}`;
|
|
6638
7380
|
const TAG_INITIAL_UNFOLDED = true;
|
|
6639
|
-
const DefaultConfig = {
|
|
6640
|
-
globalConfig: {
|
|
6641
|
-
initialState: {
|
|
6642
|
-
// unfolded: false,
|
|
6643
|
-
},
|
|
6644
|
-
visibleConfig: {
|
|
6645
|
-
visibleDistance: { max: 5 },
|
|
6646
|
-
angleRange: { min: -45, max: 45 },
|
|
6647
|
-
},
|
|
6648
|
-
unfoldedConfig: {
|
|
6649
|
-
autoUnfold: {
|
|
6650
|
-
strategy: 'MinimumDistance',
|
|
6651
|
-
},
|
|
6652
|
-
},
|
|
6653
|
-
tag3DConfig: {
|
|
6654
|
-
ratio: 0.0035,
|
|
6655
|
-
devicePixelRatio: window.devicePixelRatio,
|
|
6656
|
-
},
|
|
6657
|
-
},
|
|
6658
|
-
contentTypeConfig: {
|
|
6659
|
-
'Any-Link-Any': {
|
|
6660
|
-
unfoldedConfig: {
|
|
6661
|
-
disableFold: true,
|
|
6662
|
-
autoUnfold: undefined,
|
|
6663
|
-
},
|
|
6664
|
-
initialState: {
|
|
6665
|
-
unfolded: true,
|
|
6666
|
-
},
|
|
6667
|
-
},
|
|
6668
|
-
'Any-Marketing-Any': {
|
|
6669
|
-
unfoldedConfig: undefined,
|
|
6670
|
-
},
|
|
6671
|
-
},
|
|
6672
|
-
};
|
|
6673
7381
|
const pluginFlag = (name) => `${PLUGIN_NAME}--${name}`;
|
|
6674
7382
|
class PanoTagPluginController extends TagComputer {
|
|
6675
7383
|
constructor(five, params) {
|
|
@@ -6738,9 +7446,16 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6738
7446
|
value: {
|
|
6739
7447
|
disposers: [],
|
|
6740
7448
|
disposed: false,
|
|
7449
|
+
resizeObserverDisposerAdding: false,
|
|
6741
7450
|
css3DRenderDisposer: new Map(),
|
|
6742
7451
|
}
|
|
6743
7452
|
});
|
|
7453
|
+
Object.defineProperty(this, "staticUrl", {
|
|
7454
|
+
enumerable: true,
|
|
7455
|
+
configurable: true,
|
|
7456
|
+
writable: true,
|
|
7457
|
+
value: void 0
|
|
7458
|
+
});
|
|
6744
7459
|
Object.defineProperty(this, "disposedErrorLog", {
|
|
6745
7460
|
enumerable: true,
|
|
6746
7461
|
configurable: true,
|
|
@@ -6749,9 +7464,24 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6749
7464
|
console.error(`${PLUGIN_NAME} is disposed`);
|
|
6750
7465
|
}
|
|
6751
7466
|
});
|
|
6752
|
-
this.params = Object.assign({ debug: false, mergePluginDefaultConfigToLoadDataConfig: false, config: this.config
|
|
7467
|
+
this.params = Object.assign({ debug: false, mergePluginDefaultConfigToLoadDataConfig: false, config: this.config, staticConfig: {
|
|
7468
|
+
host: 'vrlab-static.ljcdn.com',
|
|
7469
|
+
} }, params);
|
|
6753
7470
|
this.debug = this.params.debug;
|
|
6754
7471
|
this.config = this.params.config;
|
|
7472
|
+
this.staticUrl = (() => {
|
|
7473
|
+
var _a;
|
|
7474
|
+
const staticConfig = this.params.staticConfig;
|
|
7475
|
+
if (typeof staticConfig === 'string') {
|
|
7476
|
+
return staticConfig;
|
|
7477
|
+
}
|
|
7478
|
+
else {
|
|
7479
|
+
const protocol = staticConfig.protocol ? staticConfig.protocol + ':' : '';
|
|
7480
|
+
const host = (_a = staticConfig.host) !== null && _a !== void 0 ? _a : 'vrlab-static.ljcdn.com';
|
|
7481
|
+
const port = staticConfig.port ? ':' + staticConfig.port : '';
|
|
7482
|
+
return `${protocol}//${host}${port}`;
|
|
7483
|
+
}
|
|
7484
|
+
})();
|
|
6755
7485
|
Object.assign(window, { __PANOTAGPLUGIN_DEBUG__: this });
|
|
6756
7486
|
}
|
|
6757
7487
|
/**
|
|
@@ -6787,7 +7517,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6787
7517
|
const _tags = tags
|
|
6788
7518
|
.map((tag) => {
|
|
6789
7519
|
const config = this.getTagConfig(tag);
|
|
6790
|
-
return Object.assign(Object.assign({}, tag), { state: Object.assign({ visible: undefined, unfolded: TAG_INITIAL_UNFOLDED }, config.initialState) });
|
|
7520
|
+
return Object.assign(Object.assign({}, tag), { state: Object.assign({ visible: undefined, unfolded: TAG_INITIAL_UNFOLDED }, config.initialState), hooks: new five.Subscribe() });
|
|
6791
7521
|
})
|
|
6792
7522
|
.filter((tag) => tag.position);
|
|
6793
7523
|
this.tags.push(..._tags);
|
|
@@ -6798,10 +7528,13 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6798
7528
|
(_b = (_a = this.store).eventListenerDisposer) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
6799
7529
|
}
|
|
6800
7530
|
this.store.eventListenerDisposer = this.addEventListener();
|
|
6801
|
-
|
|
7531
|
+
// resizeObserverDisposerAdding 避免200ms内重复执行 addResizeObserver
|
|
7532
|
+
if (!this.store.resizeObserverDisposer && !this.store.resizeObserverDisposerAdding) {
|
|
6802
7533
|
const resizeObserverDisposer = this.addResizeObserver();
|
|
7534
|
+
this.store.resizeObserverDisposerAdding = true;
|
|
6803
7535
|
setTimeout(() => {
|
|
6804
7536
|
this.store.resizeObserverDisposer = resizeObserverDisposer;
|
|
7537
|
+
this.store.resizeObserverDisposerAdding = false;
|
|
6805
7538
|
}, 200);
|
|
6806
7539
|
}
|
|
6807
7540
|
this.checkPanelTag();
|
|
@@ -6853,6 +7586,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6853
7586
|
this.store.eventListenerDisposer = undefined;
|
|
6854
7587
|
(_f = (_e = this.store).resizeObserverDisposer) === null || _f === void 0 ? void 0 : _f.call(_e);
|
|
6855
7588
|
this.store.resizeObserverDisposer = undefined;
|
|
7589
|
+
this.store.resizeObserverDisposerAdding = false;
|
|
6856
7590
|
this.clearCache();
|
|
6857
7591
|
this.hooks.emit('dispose');
|
|
6858
7592
|
}
|
|
@@ -7240,11 +7974,8 @@ class PanoTagPluginController extends TagComputer {
|
|
|
7240
7974
|
}
|
|
7241
7975
|
}
|
|
7242
7976
|
|
|
7243
|
-
// DELETE
|
|
7244
|
-
Object.assign(window, { objectAssignDeep: objectAssignDeep__default["default"] });
|
|
7245
7977
|
const PanoTagPlugin = (five, params) => new PanoTagPluginController(five, params);
|
|
7246
7978
|
|
|
7247
|
-
exports.DefaultConfig = DefaultConfig;
|
|
7248
7979
|
exports.PanoTagPlugin = PanoTagPlugin;
|
|
7249
7980
|
exports.PanoTagPluginController = PanoTagPluginController;
|
|
7250
7981
|
exports["default"] = PanoTagPlugin;
|