@realsee/dnalogel 2.1.0-alpha.1 → 2.1.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/CSS3DRenderPlugin/index.js +21 -7
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +100 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +227 -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/BaseController.d.ts +16 -7
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +100 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +227 -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/BaseController.d.ts +16 -7
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ItemLabelPlugin/index.js +12 -12
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelItemLabelPlugin/index.js +6 -6
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelRoomLabelPlugin/index.js +4 -4
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/Controller.d.ts +44 -5
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- 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 +100 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +227 -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 +500 -242
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoCompassPlugin/index.js +21 -7
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoDoorLabelPlugin/index.js +6 -6
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/PanoSpatialTagPlugin/index.js +21 -7
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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 +11 -1
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +26 -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 +1320 -575
- 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 +48 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +91 -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 +71 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +45 -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/finiteNumber.d.ts +1 -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 +11 -1
- package/dist/PanoTagPlugin/typings/tag.d.ts +26 -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/FiveControllerWrapper.d.ts +1 -1
- 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 +100 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/index.d.ts +2 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +227 -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/BaseController.d.ts +16 -7
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/floorplan/ModelFloorplanPlugin/index.js +4 -4
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.js +4 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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/FiveControllerWrapper.d.ts +1 -1
- 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 +11 -1
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +26 -10
- package/dist/floorplan/TopviewFloorplanPlugin/index.js +4 -4
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +10112 -380
- package/dist/index.js +10115 -374
- package/dist/index.umd.js +10117 -378
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +16 -7
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/dist/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +6 -5
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/dist/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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 +16 -4
- 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/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -0
- 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 +137 -8
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
- 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/PointTag.js +3 -3
- 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 +118 -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 +35 -42
- 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 +47 -0
- package/libs/PanoTagPlugin/typings/controller.d.ts +11 -1
- package/libs/PanoTagPlugin/typings/tag.d.ts +26 -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.d.ts +16 -7
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +76 -21
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +13 -11
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +24 -8
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +102 -92
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +14 -13
- 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 +6 -5
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +18 -18
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +18 -18
- package/libs/shared-utils/Object3DHelper/index.d.ts +6 -8
- package/libs/shared-utils/Object3DHelper/index.js +48 -27
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +4 -5
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.js +9 -0
- 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-1dqrka8", ".svelte-1dqrka8.svelte-1dqrka8{box-sizing:border-box}.marketing.svelte-1dqrka8.svelte-1dqrka8{transform:translateY(-100%)}.content.svelte-1dqrka8 .headerImage.svelte-1dqrka8{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.line.svelte-1dqrka8.svelte-1dqrka8{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-1dqrka8.svelte-1dqrka8{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-1dqrka8.svelte-1dqrka8{position:absolute;background-color:white;border-radius:0.25rem;width:100%;top:0.5rem;padding-left:0.75rem;padding-right:0.75rem}.title.svelte-1dqrka8 .text.svelte-1dqrka8{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-1dqrka8.svelte-1dqrka8{position:relative;padding-left:0.75rem;padding-right:0.75rem;width:100%;height:1.375rem;display:flex;align-items:center}.footer.svelte-1dqrka8 .goto-button.svelte-1dqrka8{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-1dqrka8 .goto-icon.svelte-1dqrka8::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-1dqrka8.svelte-1dqrka8{flex-shrink:0;margin-right:0.75rem;white-space:nowrap;color:#ff6600;display:flex;align-items:baseline}.price.svelte-1dqrka8 .value.svelte-1dqrka8{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-1dqrka8 .unit.svelte-1dqrka8{padding-left:0.125rem;font-size:0.625rem}.tag.svelte-1dqrka8.svelte-1dqrka8{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;min-height:1.75rem}.tag.svelte-1dqrka8 .base-tag.svelte-1dqrka8{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-1dqrka8 .primary-tag.svelte-1dqrka8{background:#e5eefe;color:#0055ff}.tag.svelte-1dqrka8 .secondary-tag.svelte-1dqrka8{background:rgba(255, 102, 0, 0.08);color:rgba(255, 102, 0, 1)}.unfolded.svelte-1dqrka8 .line.svelte-1dqrka8{transform:translateX(-50%) scale(1, 1)}.folded.svelte-1dqrka8 .line.svelte-1dqrka8{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.unfolded.svelte-1dqrka8 .content.svelte-1dqrka8{opacity:1}.folded.svelte-1dqrka8 .content.svelte-1dqrka8{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-1dqrka8");
|
|
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-1dqrka8");
|
|
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-1dqrka8");
|
|
2853
|
+
internal.attr(div, "class", "price svelte-1dqrka8");
|
|
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-1dqrka8");
|
|
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-1dqrka8");
|
|
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-1dqrka8");
|
|
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-1dqrka8");
|
|
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-1dqrka8");
|
|
3031
|
+
internal.attr(div2, "class", "text svelte-1dqrka8");
|
|
3032
|
+
internal.attr(div3, "class", "title svelte-1dqrka8");
|
|
3033
|
+
internal.attr(div4, "class", "footer svelte-1dqrka8");
|
|
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-1dqrka8");
|
|
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-1dqrka8");
|
|
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-6jfp1v", "@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-6jfp1v{position:relative;left:50%;top:50%;transform:translate(-50%, -50%);font-family:PingFangSC, Segoe UI, Rototo, sans-serif}.content__container.unClickable.svelte-6jfp1v{pointer-events:none !important}.content__container.unClickable.svelte-6jfp1v *{pointer-events:none !important}*{-webkit-tap-highlight-color:transparent}.content__wrapper.svelte-6jfp1v{pointer-events:none;width:100%;height:100%}.withAnimation.svelte-6jfp1v{transition:opacity 0.3s linear}.content__container.hide.svelte-6jfp1v{opacity:0;pointer-events:none}.content__container.disable.svelte-6jfp1v{display:none}.content__container.hide.svelte-6jfp1v *{pointer-events:none}.content.svelte-6jfp1v{position:relative;width:100%;height:100%;font-size:0.75rem;line-height:1.125rem;color:#fff}.content.svelte-6jfp1v:not(.unfolded){pointer-events:none}.content.svelte-6jfp1v:not(.unfolded) *{pointer-events:none !important}.content.unfolded.svelte-6jfp1v{pointer-events:auto}");
|
|
4442
|
+
}
|
|
4443
|
+
|
|
4444
|
+
// (68: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
|
+
// (66: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
|
+
// (64: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
|
+
// (62: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
|
+
// (60: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
|
+
// (58: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
|
+
// (56: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,17 @@ 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-6jfp1v");
|
|
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-6jfp1v");
|
|
4754
|
+
internal.attr(div2, "class", "content__container svelte-6jfp1v");
|
|
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.toggle_class(div2, "unClickable", /*tag*/ ctx[1].clickable === false);
|
|
4760
|
+
internal.set_style(div2, "width", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4761
|
+
internal.set_style(div2, "height", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4442
4762
|
},
|
|
4443
4763
|
m(target, anchor) {
|
|
4444
4764
|
internal.insert(target, div2, anchor);
|
|
@@ -4452,7 +4772,7 @@ function create_fragment$5(ctx) {
|
|
|
4452
4772
|
current = true;
|
|
4453
4773
|
|
|
4454
4774
|
if (!mounted) {
|
|
4455
|
-
dispose = internal.listen(div2, "click", internal.stop_propagation(/*click_handler*/ ctx[
|
|
4775
|
+
dispose = internal.listen(div2, "click", internal.stop_propagation(/*click_handler*/ ctx[12]));
|
|
4456
4776
|
mounted = true;
|
|
4457
4777
|
}
|
|
4458
4778
|
},
|
|
@@ -4492,7 +4812,7 @@ function create_fragment$5(ctx) {
|
|
|
4492
4812
|
}
|
|
4493
4813
|
}
|
|
4494
4814
|
|
|
4495
|
-
if (dirty & /*tag*/ 2) {
|
|
4815
|
+
if (!current || dirty & /*tag*/ 2) {
|
|
4496
4816
|
internal.toggle_class(div0, "unfolded", /*tag*/ ctx[1].state?.unfolded);
|
|
4497
4817
|
}
|
|
4498
4818
|
|
|
@@ -4500,17 +4820,29 @@ function create_fragment$5(ctx) {
|
|
|
4500
4820
|
internal.attr(div2, "data-id", div2_data_id_value);
|
|
4501
4821
|
}
|
|
4502
4822
|
|
|
4503
|
-
if (dirty & /*tag*/ 2) {
|
|
4823
|
+
if (!current || dirty & /*tag*/ 2) {
|
|
4504
4824
|
internal.toggle_class(div2, "disable", /*tag*/ ctx[1].enabled === false || /*tag*/ ctx[1].temporaryState?.visible === false);
|
|
4505
4825
|
}
|
|
4506
4826
|
|
|
4507
|
-
if (dirty & /*state, temporaryState, tag*/ 42) {
|
|
4827
|
+
if (!current || dirty & /*state, temporaryState, tag*/ 42) {
|
|
4508
4828
|
internal.toggle_class(div2, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible || !/*tag*/ ctx[1].state?.visible);
|
|
4509
4829
|
}
|
|
4510
4830
|
|
|
4511
|
-
if (dirty & /*withAnimation*/ 1) {
|
|
4831
|
+
if (!current || dirty & /*withAnimation*/ 1) {
|
|
4512
4832
|
internal.toggle_class(div2, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
4513
4833
|
}
|
|
4834
|
+
|
|
4835
|
+
if (!current || dirty & /*tag*/ 2) {
|
|
4836
|
+
internal.toggle_class(div2, "unClickable", /*tag*/ ctx[1].clickable === false);
|
|
4837
|
+
}
|
|
4838
|
+
|
|
4839
|
+
if (dirty & /*tag*/ 2) {
|
|
4840
|
+
internal.set_style(div2, "width", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4841
|
+
}
|
|
4842
|
+
|
|
4843
|
+
if (dirty & /*tag*/ 2) {
|
|
4844
|
+
internal.set_style(div2, "height", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4845
|
+
}
|
|
4514
4846
|
},
|
|
4515
4847
|
i(local) {
|
|
4516
4848
|
if (current) return;
|
|
@@ -4535,6 +4867,9 @@ function create_fragment$5(ctx) {
|
|
|
4535
4867
|
}
|
|
4536
4868
|
|
|
4537
4869
|
function instance$5($$self, $$props, $$invalidate) {
|
|
4870
|
+
let unfolded;
|
|
4871
|
+
let visible;
|
|
4872
|
+
var _a, _b;
|
|
4538
4873
|
let { withAnimation = false } = $$props;
|
|
4539
4874
|
let { tag } = $$props;
|
|
4540
4875
|
let { hooks } = $$props;
|
|
@@ -4542,6 +4877,8 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
4542
4877
|
let { mediaStore } = $$props;
|
|
4543
4878
|
let { temporaryState } = $$props;
|
|
4544
4879
|
svelte.setContext('hooks', hooks);
|
|
4880
|
+
let lastVisibleState;
|
|
4881
|
+
let lastUnfoldedState;
|
|
4545
4882
|
const click_handler = event => hooks.emit('click', { event, target: 'TagContent', tag });
|
|
4546
4883
|
|
|
4547
4884
|
$$self.$$set = $$props => {
|
|
@@ -4553,7 +4890,51 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
4553
4890
|
if ('temporaryState' in $$props) $$invalidate(5, temporaryState = $$props.temporaryState);
|
|
4554
4891
|
};
|
|
4555
4892
|
|
|
4556
|
-
|
|
4893
|
+
$$self.$$.update = () => {
|
|
4894
|
+
if ($$self.$$.dirty & /*tag, _a*/ 66) {
|
|
4895
|
+
$$invalidate(11, unfolded = $$invalidate(6, _a = tag.state) === null || _a === void 0
|
|
4896
|
+
? void 0
|
|
4897
|
+
: _a.unfolded);
|
|
4898
|
+
}
|
|
4899
|
+
|
|
4900
|
+
if ($$self.$$.dirty & /*tag, _b*/ 130) {
|
|
4901
|
+
$$invalidate(10, visible = $$invalidate(7, _b = tag.state) === null || _b === void 0
|
|
4902
|
+
? void 0
|
|
4903
|
+
: _b.visible);
|
|
4904
|
+
}
|
|
4905
|
+
|
|
4906
|
+
if ($$self.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/ 3842) {
|
|
4907
|
+
{
|
|
4908
|
+
if (tag.hooks) {
|
|
4909
|
+
if (unfolded !== undefined && unfolded !== lastUnfoldedState) {
|
|
4910
|
+
$$invalidate(9, lastUnfoldedState = unfolded);
|
|
4911
|
+
if (unfolded) tag.hooks.emit('unfolded'); else tag.hooks.emit('folded');
|
|
4912
|
+
}
|
|
4913
|
+
|
|
4914
|
+
if (visible !== undefined && visible !== lastVisibleState) {
|
|
4915
|
+
$$invalidate(8, lastVisibleState = visible);
|
|
4916
|
+
if (visible) tag.hooks.emit('show'); else tag.hooks.emit('hide');
|
|
4917
|
+
}
|
|
4918
|
+
}
|
|
4919
|
+
}
|
|
4920
|
+
}
|
|
4921
|
+
};
|
|
4922
|
+
|
|
4923
|
+
return [
|
|
4924
|
+
withAnimation,
|
|
4925
|
+
tag,
|
|
4926
|
+
hooks,
|
|
4927
|
+
state,
|
|
4928
|
+
mediaStore,
|
|
4929
|
+
temporaryState,
|
|
4930
|
+
_a,
|
|
4931
|
+
_b,
|
|
4932
|
+
lastVisibleState,
|
|
4933
|
+
lastUnfoldedState,
|
|
4934
|
+
visible,
|
|
4935
|
+
unfolded,
|
|
4936
|
+
click_handler
|
|
4937
|
+
];
|
|
4557
4938
|
}
|
|
4558
4939
|
|
|
4559
4940
|
class Tag extends internal.SvelteComponent {
|
|
@@ -4579,10 +4960,10 @@ class Tag extends internal.SvelteComponent {
|
|
|
4579
4960
|
}
|
|
4580
4961
|
}
|
|
4581
4962
|
|
|
4582
|
-
/* src/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte generated by Svelte v3.
|
|
4963
|
+
/* src/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte generated by Svelte v3.50.1 */
|
|
4583
4964
|
|
|
4584
4965
|
function add_css$4(target) {
|
|
4585
|
-
internal.append_styles(target, "svelte-
|
|
4966
|
+
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
4967
|
}
|
|
4587
4968
|
|
|
4588
4969
|
function create_fragment$4(ctx) {
|
|
@@ -4610,12 +4991,12 @@ function create_fragment$4(ctx) {
|
|
|
4610
4991
|
div0 = internal.element("div");
|
|
4611
4992
|
t1 = internal.space();
|
|
4612
4993
|
div1 = internal.element("div");
|
|
4613
|
-
internal.attr(div0, "class", "small-point svelte-
|
|
4994
|
+
internal.attr(div0, "class", "small-point svelte-mhqidy");
|
|
4614
4995
|
internal.set_style(div0, "transition-delay", /*folded*/ ctx[3] ? /*foldDelay*/ ctx[2] + 'ms' : '0ms', false);
|
|
4615
|
-
internal.attr(div1, "class", "big-point svelte-
|
|
4996
|
+
internal.attr(div1, "class", "big-point svelte-mhqidy");
|
|
4616
4997
|
internal.set_style(div1, "--iconUrl", "url(" + /*iconUrl*/ ctx[1] + ")");
|
|
4617
4998
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[3] ? /*foldDelay*/ ctx[2] + 'ms' : '0ms', false);
|
|
4618
|
-
internal.attr(div2, "class", "point svelte-
|
|
4999
|
+
internal.attr(div2, "class", "point svelte-mhqidy");
|
|
4619
5000
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[3]);
|
|
4620
5001
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4621
5002
|
},
|
|
@@ -4641,11 +5022,11 @@ function create_fragment$4(ctx) {
|
|
|
4641
5022
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[3] ? /*foldDelay*/ ctx[2] + 'ms' : '0ms', false);
|
|
4642
5023
|
}
|
|
4643
5024
|
|
|
4644
|
-
if (dirty & /*folded*/ 8) {
|
|
5025
|
+
if (!current || dirty & /*folded*/ 8) {
|
|
4645
5026
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[3]);
|
|
4646
5027
|
}
|
|
4647
5028
|
|
|
4648
|
-
if (dirty & /*unfolded*/ 1) {
|
|
5029
|
+
if (!current || dirty & /*unfolded*/ 1) {
|
|
4649
5030
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4650
5031
|
}
|
|
4651
5032
|
},
|
|
@@ -4693,10 +5074,10 @@ class CustomPoint extends internal.SvelteComponent {
|
|
|
4693
5074
|
}
|
|
4694
5075
|
}
|
|
4695
5076
|
|
|
4696
|
-
/* src/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte generated by Svelte v3.
|
|
5077
|
+
/* src/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte generated by Svelte v3.50.1 */
|
|
4697
5078
|
|
|
4698
5079
|
function add_css$3(target) {
|
|
4699
|
-
internal.append_styles(target, "svelte-
|
|
5080
|
+
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
5081
|
}
|
|
4701
5082
|
|
|
4702
5083
|
function create_fragment$3(ctx) {
|
|
@@ -4724,11 +5105,11 @@ function create_fragment$3(ctx) {
|
|
|
4724
5105
|
div0 = internal.element("div");
|
|
4725
5106
|
t1 = internal.space();
|
|
4726
5107
|
div1 = internal.element("div");
|
|
4727
|
-
internal.attr(div0, "class", "small-point svelte-
|
|
5108
|
+
internal.attr(div0, "class", "small-point svelte-1rg9uk");
|
|
4728
5109
|
internal.set_style(div0, "transition-delay", /*folded*/ ctx[2] ? /*foldDelay*/ ctx[1] + 'ms' : '0ms', false);
|
|
4729
|
-
internal.attr(div1, "class", "big-point svelte-
|
|
5110
|
+
internal.attr(div1, "class", "big-point svelte-1rg9uk");
|
|
4730
5111
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[2] ? /*foldDelay*/ ctx[1] + 'ms' : '0ms', false);
|
|
4731
|
-
internal.attr(div2, "class", "point svelte-
|
|
5112
|
+
internal.attr(div2, "class", "point svelte-1rg9uk");
|
|
4732
5113
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4733
5114
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[2]);
|
|
4734
5115
|
},
|
|
@@ -4750,11 +5131,11 @@ function create_fragment$3(ctx) {
|
|
|
4750
5131
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[2] ? /*foldDelay*/ ctx[1] + 'ms' : '0ms', false);
|
|
4751
5132
|
}
|
|
4752
5133
|
|
|
4753
|
-
if (dirty & /*unfolded*/ 1) {
|
|
5134
|
+
if (!current || dirty & /*unfolded*/ 1) {
|
|
4754
5135
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4755
5136
|
}
|
|
4756
5137
|
|
|
4757
|
-
if (dirty & /*folded*/ 4) {
|
|
5138
|
+
if (!current || dirty & /*folded*/ 4) {
|
|
4758
5139
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[2]);
|
|
4759
5140
|
}
|
|
4760
5141
|
},
|
|
@@ -4800,7 +5181,7 @@ class DefaultPoint extends internal.SvelteComponent {
|
|
|
4800
5181
|
}
|
|
4801
5182
|
}
|
|
4802
5183
|
|
|
4803
|
-
/* src/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte generated by Svelte v3.
|
|
5184
|
+
/* src/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte generated by Svelte v3.50.1 */
|
|
4804
5185
|
|
|
4805
5186
|
function add_css$2(target) {
|
|
4806
5187
|
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 +5492,7 @@ class PointSwitch extends internal.SvelteComponent {
|
|
|
5111
5492
|
}
|
|
5112
5493
|
}
|
|
5113
5494
|
|
|
5114
|
-
/* src/PanoTagPlugin/Components/TagWrapper.svelte generated by Svelte v3.
|
|
5495
|
+
/* src/PanoTagPlugin/Components/TagWrapper.svelte generated by Svelte v3.50.1 */
|
|
5115
5496
|
|
|
5116
5497
|
function add_css$1(target) {
|
|
5117
5498
|
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 +5675,11 @@ function create_fragment$1(ctx) {
|
|
|
5294
5675
|
internal.attr(div, "data-id", div_data_id_value);
|
|
5295
5676
|
}
|
|
5296
5677
|
|
|
5297
|
-
if (dirty & /*hide*/ 1024) {
|
|
5678
|
+
if (!current || dirty & /*hide*/ 1024) {
|
|
5298
5679
|
internal.toggle_class(div, "hide", /*hide*/ ctx[10]);
|
|
5299
5680
|
}
|
|
5300
5681
|
|
|
5301
|
-
if (dirty & /*unfolded*/ 64) {
|
|
5682
|
+
if (!current || dirty & /*unfolded*/ 64) {
|
|
5302
5683
|
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[6]);
|
|
5303
5684
|
}
|
|
5304
5685
|
|
|
@@ -5467,10 +5848,10 @@ class TagWrapper extends internal.SvelteComponent {
|
|
|
5467
5848
|
}
|
|
5468
5849
|
}
|
|
5469
5850
|
|
|
5470
|
-
/* src/PanoTagPlugin/Components/PointTag.svelte generated by Svelte v3.
|
|
5851
|
+
/* src/PanoTagPlugin/Components/PointTag.svelte generated by Svelte v3.50.1 */
|
|
5471
5852
|
|
|
5472
5853
|
function add_css(target) {
|
|
5473
|
-
internal.append_styles(target, "svelte-
|
|
5854
|
+
internal.append_styles(target, "svelte-1eci49s", ".tag--container.svelte-1eci49s{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}.tag.hide.svelte-1eci49s{display:none}.withAnimation.svelte-1eci49s{transition:opacity 0.3s linear}.tag--container.hide.svelte-1eci49s{opacity:0;pointer-events:none}.tag--container.hide.svelte-1eci49s *{pointer-events:none}");
|
|
5474
5855
|
}
|
|
5475
5856
|
|
|
5476
5857
|
function get_each_context(ctx, list, i) {
|
|
@@ -5512,7 +5893,7 @@ function create_each_block(key_1, ctx) {
|
|
|
5512
5893
|
div = internal.element("div");
|
|
5513
5894
|
internal.create_component(tagwrapper.$$.fragment);
|
|
5514
5895
|
t = internal.space();
|
|
5515
|
-
internal.attr(div, "class", "
|
|
5896
|
+
internal.attr(div, "class", "tag svelte-1eci49s");
|
|
5516
5897
|
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);
|
|
5517
5898
|
this.first = div;
|
|
5518
5899
|
},
|
|
@@ -5540,7 +5921,7 @@ function create_each_block(key_1, ctx) {
|
|
|
5540
5921
|
|
|
5541
5922
|
tagwrapper.$set(tagwrapper_changes);
|
|
5542
5923
|
|
|
5543
|
-
if (dirty & /*tags*/ 2) {
|
|
5924
|
+
if (!current || dirty & /*tags*/ 2) {
|
|
5544
5925
|
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
5926
|
}
|
|
5546
5927
|
},
|
|
@@ -5582,7 +5963,7 @@ function create_fragment(ctx) {
|
|
|
5582
5963
|
each_blocks[i].c();
|
|
5583
5964
|
}
|
|
5584
5965
|
|
|
5585
|
-
internal.attr(div, "class", "
|
|
5966
|
+
internal.attr(div, "class", "tag--container svelte-1eci49s");
|
|
5586
5967
|
internal.toggle_class(div, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible);
|
|
5587
5968
|
internal.toggle_class(div, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
5588
5969
|
},
|
|
@@ -5603,11 +5984,11 @@ function create_fragment(ctx) {
|
|
|
5603
5984
|
internal.check_outros();
|
|
5604
5985
|
}
|
|
5605
5986
|
|
|
5606
|
-
if (dirty & /*state, temporaryState*/ 40) {
|
|
5987
|
+
if (!current || dirty & /*state, temporaryState*/ 40) {
|
|
5607
5988
|
internal.toggle_class(div, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible);
|
|
5608
5989
|
}
|
|
5609
5990
|
|
|
5610
|
-
if (dirty & /*withAnimation*/ 1) {
|
|
5991
|
+
if (!current || dirty & /*withAnimation*/ 1) {
|
|
5611
5992
|
internal.toggle_class(div, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
5612
5993
|
}
|
|
5613
5994
|
},
|
|
@@ -5680,20 +6061,66 @@ class PointTag extends internal.SvelteComponent {
|
|
|
5680
6061
|
}
|
|
5681
6062
|
}
|
|
5682
6063
|
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
6064
|
+
const DefaultConfig = {
|
|
6065
|
+
globalConfig: {
|
|
6066
|
+
initialState: {
|
|
6067
|
+
// unfolded: false,
|
|
6068
|
+
},
|
|
6069
|
+
visibleConfig: {
|
|
6070
|
+
visibleDistance: { max: 5 },
|
|
6071
|
+
angleRange: { min: -45, max: 45 },
|
|
6072
|
+
},
|
|
6073
|
+
unfoldedConfig: {
|
|
6074
|
+
autoUnfold: {
|
|
6075
|
+
strategy: 'MinimumDistance',
|
|
6076
|
+
},
|
|
6077
|
+
},
|
|
6078
|
+
tag3DConfig: {
|
|
6079
|
+
ratio: 0.0035,
|
|
6080
|
+
// devicePixelRatio: window.devicePixelRatio,
|
|
6081
|
+
},
|
|
6082
|
+
},
|
|
6083
|
+
contentTypeConfig: {
|
|
6084
|
+
'Any-Link-Any': {
|
|
6085
|
+
unfoldedConfig: {
|
|
6086
|
+
// VR 跳转标签没有展开/收起状态
|
|
6087
|
+
disableFold: true,
|
|
6088
|
+
autoUnfold: undefined,
|
|
6089
|
+
},
|
|
6090
|
+
initialState: {
|
|
6091
|
+
unfolded: true,
|
|
6092
|
+
},
|
|
6093
|
+
},
|
|
6094
|
+
'Any-Marketing-Any': {
|
|
6095
|
+
unfoldedConfig: undefined,
|
|
6096
|
+
},
|
|
6097
|
+
'3D-MediaPlane-PlaneTag': {
|
|
6098
|
+
unfoldedConfig: {
|
|
6099
|
+
disableFold: true,
|
|
6100
|
+
},
|
|
6101
|
+
visibleConfig: {
|
|
6102
|
+
angleRange: undefined,
|
|
6103
|
+
visibleDistance: undefined,
|
|
6104
|
+
},
|
|
6105
|
+
clickable: false,
|
|
6106
|
+
},
|
|
6107
|
+
},
|
|
6108
|
+
};
|
|
6109
|
+
|
|
6110
|
+
/**
|
|
6111
|
+
* plugin 的基本控制器
|
|
6112
|
+
*/
|
|
6113
|
+
class Controller$1 {
|
|
6114
|
+
constructor(five$1) {
|
|
6115
|
+
Object.defineProperty(this, "five", {
|
|
6116
|
+
enumerable: true,
|
|
6117
|
+
configurable: true,
|
|
6118
|
+
writable: true,
|
|
6119
|
+
value: void 0
|
|
6120
|
+
});
|
|
6121
|
+
/**
|
|
6122
|
+
* 插件事件钩子
|
|
6123
|
+
*/
|
|
5697
6124
|
Object.defineProperty(this, "hooks", {
|
|
5698
6125
|
enumerable: true,
|
|
5699
6126
|
configurable: true,
|
|
@@ -5829,6 +6256,7 @@ class TagComputer extends TagCacheController {
|
|
|
5829
6256
|
const visible = (() => {
|
|
5830
6257
|
var _a, _b, _c, _d, _e;
|
|
5831
6258
|
const config = (_a = this.getTagConfig(tag).visibleConfig) !== null && _a !== void 0 ? _a : {};
|
|
6259
|
+
// console.log(config)
|
|
5832
6260
|
const distance = this.getDistance(tag);
|
|
5833
6261
|
if (typeof config === 'function') {
|
|
5834
6262
|
return config(this.five, { tag, distance });
|
|
@@ -5868,19 +6296,18 @@ class TagComputer extends TagCacheController {
|
|
|
5868
6296
|
if (intersection && intersection.distance + distanceError < distance)
|
|
5869
6297
|
return false;
|
|
5870
6298
|
}
|
|
5871
|
-
// console.log(tag.id, '角度检测', tag)
|
|
6299
|
+
// console.log(tag.id, '角度检测', tag, config.angleRange)
|
|
5872
6300
|
// 角度检测
|
|
5873
|
-
if (tag.dimensionType === exports.DimensionType.Three) {
|
|
6301
|
+
if (config.angleRange && tag.dimensionType === exports.DimensionType.Three) {
|
|
5874
6302
|
const visible = checkRange(this.getAngle(tag), config.angleRange);
|
|
5875
6303
|
if (visible === false)
|
|
5876
6304
|
return false;
|
|
5877
6305
|
}
|
|
5878
6306
|
// 结束
|
|
5879
|
-
// console.log(tag.id, '结束', tag)
|
|
6307
|
+
// console.log(tag.id, '结束', tag, visible)
|
|
5880
6308
|
return true;
|
|
5881
6309
|
}
|
|
5882
6310
|
})();
|
|
5883
|
-
// console.log(tag.id, 'end', tag, visible)
|
|
5884
6311
|
cache.visible = visible;
|
|
5885
6312
|
return cache.visible;
|
|
5886
6313
|
}
|
|
@@ -6045,7 +6472,7 @@ class TagComputer extends TagCacheController {
|
|
|
6045
6472
|
return cache.angle;
|
|
6046
6473
|
}
|
|
6047
6474
|
}
|
|
6048
|
-
// TODO:
|
|
6475
|
+
// TODO: 缓存
|
|
6049
6476
|
/**
|
|
6050
6477
|
* @description: 获取merge后的配置
|
|
6051
6478
|
*/
|
|
@@ -6165,14 +6592,267 @@ class TagComputer extends TagCacheController {
|
|
|
6165
6592
|
}
|
|
6166
6593
|
}
|
|
6167
6594
|
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6595
|
+
function createSymbol(description) {
|
|
6596
|
+
// @ts-ignore
|
|
6597
|
+
return typeof Symbol === 'undefined' ? `$Symbol<${description}>$` : Symbol(description);
|
|
6598
|
+
}
|
|
6599
|
+
const EVENT_SYMBOL = createSymbol('$$EVENT$$');
|
|
6600
|
+
function __generateEventIfNotExisted(instance) {
|
|
6601
|
+
if (!instance[EVENT_SYMBOL]) {
|
|
6602
|
+
instance[EVENT_SYMBOL] = {};
|
|
6603
|
+
}
|
|
6604
|
+
return instance[EVENT_SYMBOL];
|
|
6605
|
+
}
|
|
6606
|
+
function __removeEventIfNotExisted(instance) {
|
|
6607
|
+
if (!instance[EVENT_SYMBOL]) {
|
|
6608
|
+
delete instance[EVENT_SYMBOL];
|
|
6609
|
+
}
|
|
6610
|
+
}
|
|
6611
|
+
/**
|
|
6612
|
+
* 监听者模式
|
|
6613
|
+
* @template T - 预设的监听回调类型
|
|
6614
|
+
* @example
|
|
6615
|
+
* ```
|
|
6616
|
+
* new Subscribe<{
|
|
6617
|
+
* "foo": [arg1: number, arg2: string],
|
|
6618
|
+
* "bar": [arg: boolean],
|
|
6619
|
+
* }>()
|
|
6620
|
+
* ```
|
|
6621
|
+
*/
|
|
6622
|
+
class Subscribe {
|
|
6623
|
+
/**
|
|
6624
|
+
* 判断是否注册了事件
|
|
6625
|
+
* @param name - 事件类型
|
|
6626
|
+
*/
|
|
6627
|
+
hasListener(name) {
|
|
6628
|
+
const events = __generateEventIfNotExisted(this);
|
|
6629
|
+
return Boolean((events === null || events === void 0 ? void 0 : events[name]) && events[name].length > 0);
|
|
6630
|
+
}
|
|
6631
|
+
/**
|
|
6632
|
+
* 注册事件
|
|
6633
|
+
* @param name - 事件类型
|
|
6634
|
+
* @param callback - 事件回调函数
|
|
6635
|
+
* @param once - 是否只执行一次
|
|
6636
|
+
* @returns 解除事件
|
|
6637
|
+
* @template K - 预设的监听事件名称
|
|
6638
|
+
* @template C - 回调函数函数上下文
|
|
6639
|
+
*/
|
|
6640
|
+
on(name, callback, once) {
|
|
6641
|
+
const events = __generateEventIfNotExisted(this);
|
|
6642
|
+
if (!events[name])
|
|
6643
|
+
events[name] = [];
|
|
6644
|
+
events[name].push([callback, once || false]);
|
|
6645
|
+
return () => this.off(name, callback);
|
|
6646
|
+
}
|
|
6647
|
+
/**
|
|
6648
|
+
* 注册事件(是否只执行一次)
|
|
6649
|
+
* @param name - 事件类型
|
|
6650
|
+
* @param callback - 事件回调函数
|
|
6651
|
+
* @returns 解除事件
|
|
6652
|
+
* @template K - 预设的监听事件名称
|
|
6653
|
+
* @template C - 回调函数函数上下文
|
|
6654
|
+
*/
|
|
6655
|
+
once(name, callback) {
|
|
6656
|
+
return this.on(name, callback, true);
|
|
6657
|
+
}
|
|
6658
|
+
/**
|
|
6659
|
+
* 解除事件
|
|
6660
|
+
*
|
|
6661
|
+
* 如果 name 不传的话解除对应所有事件
|
|
6662
|
+
* 如果 name, callback 不传的话解除所有name的所有事件
|
|
6663
|
+
* @param name - 事件类型
|
|
6664
|
+
* @param callback - 事件回调函数
|
|
6665
|
+
* @template K - 预设的监听事件名称
|
|
6666
|
+
*/
|
|
6667
|
+
off(name, callback) {
|
|
6668
|
+
if (name === undefined) {
|
|
6669
|
+
__removeEventIfNotExisted(this);
|
|
6670
|
+
return;
|
|
6671
|
+
}
|
|
6672
|
+
const events = __generateEventIfNotExisted(this);
|
|
6673
|
+
if (!events[name])
|
|
6674
|
+
events[name] = [];
|
|
6675
|
+
if (callback === undefined) {
|
|
6676
|
+
events[name].length = 0;
|
|
6677
|
+
return;
|
|
6678
|
+
}
|
|
6679
|
+
let index = 0;
|
|
6680
|
+
for (; index < events[name].length; index++) {
|
|
6681
|
+
if (events[name][index][0] === callback)
|
|
6682
|
+
break;
|
|
6683
|
+
}
|
|
6684
|
+
if (index < events[name].length) {
|
|
6685
|
+
events[name].splice(index, 1);
|
|
6686
|
+
}
|
|
6687
|
+
}
|
|
6688
|
+
/**
|
|
6689
|
+
* 触发事件
|
|
6690
|
+
* @param name - 事件类型
|
|
6691
|
+
* @param data - 触发事件的数据
|
|
6692
|
+
* @returns canceled 是否被触发取消
|
|
6693
|
+
* @template K - 预设的监听事件名称
|
|
6694
|
+
*/
|
|
6695
|
+
emit(name, ...data) {
|
|
6696
|
+
let canceled = false;
|
|
6697
|
+
const events = __generateEventIfNotExisted(this);
|
|
6698
|
+
const event = events[name] || [];
|
|
6699
|
+
for (let one of event.slice()) {
|
|
6700
|
+
const [callback, once = false] = one;
|
|
6701
|
+
const result = callback(...data);
|
|
6702
|
+
if (once)
|
|
6703
|
+
this.off(name, callback);
|
|
6704
|
+
if (result === false)
|
|
6705
|
+
canceled = true;
|
|
6706
|
+
}
|
|
6707
|
+
return canceled;
|
|
6708
|
+
}
|
|
6709
|
+
}
|
|
6710
|
+
|
|
6711
|
+
const VERSION$3 = '1.0.0';
|
|
6712
|
+
const NAME = `CSS3DObjectPlus@${VERSION$3}`;
|
|
6171
6713
|
const MinRatio = 0.00216;
|
|
6172
|
-
const
|
|
6173
|
-
class
|
|
6174
|
-
|
|
6175
|
-
|
|
6714
|
+
const DefaultRatio = 0.003;
|
|
6715
|
+
class CSS3DObjectPlus extends CSS3DRenderer.CSS3DObject {
|
|
6716
|
+
// eslint-disable-next-line max-params
|
|
6717
|
+
constructor(container, cornerPoints, ratio = DefaultRatio, dpr = 1) {
|
|
6718
|
+
const realRatio = Math.max(MinRatio, ratio);
|
|
6719
|
+
const planeWidth = cornerPoints[0].distanceTo(cornerPoints[1]);
|
|
6720
|
+
const planeHeight = cornerPoints[1].distanceTo(cornerPoints[2]);
|
|
6721
|
+
const domWidthPx = evenNumber((planeWidth / ratio) * dpr);
|
|
6722
|
+
const domHeightPx = evenNumber((planeHeight / ratio) * dpr);
|
|
6723
|
+
const centerPosition = centerPoint(cornerPoints[0], cornerPoints[2]);
|
|
6724
|
+
let css3DObjectElement;
|
|
6725
|
+
if (realRatio === ratio) {
|
|
6726
|
+
container.style.width = `${domWidthPx}px`;
|
|
6727
|
+
container.style.height = `${domHeightPx}px`;
|
|
6728
|
+
css3DObjectElement = container;
|
|
6729
|
+
}
|
|
6730
|
+
else {
|
|
6731
|
+
// 兼容ratio小于0.00216的情况
|
|
6732
|
+
const element = document.createElement('div');
|
|
6733
|
+
element.style.width = `${domWidthPx}px`;
|
|
6734
|
+
element.style.height = `${domHeightPx}px`;
|
|
6735
|
+
element.style.pointerEvents = 'none';
|
|
6736
|
+
const scale = ratio / realRatio;
|
|
6737
|
+
container.style.position = 'absolute';
|
|
6738
|
+
container.style.left = '0';
|
|
6739
|
+
container.style.top = '0';
|
|
6740
|
+
container.style.width = `${scale * domWidthPx}px`;
|
|
6741
|
+
container.style.height = `${scale * domHeightPx}px`;
|
|
6742
|
+
element.appendChild(container);
|
|
6743
|
+
css3DObjectElement = element;
|
|
6744
|
+
}
|
|
6745
|
+
super(css3DObjectElement);
|
|
6746
|
+
Object.defineProperty(this, "version", {
|
|
6747
|
+
enumerable: true,
|
|
6748
|
+
configurable: true,
|
|
6749
|
+
writable: true,
|
|
6750
|
+
value: VERSION$3
|
|
6751
|
+
});
|
|
6752
|
+
Object.defineProperty(this, "width", {
|
|
6753
|
+
enumerable: true,
|
|
6754
|
+
configurable: true,
|
|
6755
|
+
writable: true,
|
|
6756
|
+
value: void 0
|
|
6757
|
+
});
|
|
6758
|
+
Object.defineProperty(this, "height", {
|
|
6759
|
+
enumerable: true,
|
|
6760
|
+
configurable: true,
|
|
6761
|
+
writable: true,
|
|
6762
|
+
value: void 0
|
|
6763
|
+
});
|
|
6764
|
+
Object.defineProperty(this, "domWidthPx", {
|
|
6765
|
+
enumerable: true,
|
|
6766
|
+
configurable: true,
|
|
6767
|
+
writable: true,
|
|
6768
|
+
value: void 0
|
|
6769
|
+
});
|
|
6770
|
+
Object.defineProperty(this, "domHeightPx", {
|
|
6771
|
+
enumerable: true,
|
|
6772
|
+
configurable: true,
|
|
6773
|
+
writable: true,
|
|
6774
|
+
value: void 0
|
|
6775
|
+
});
|
|
6776
|
+
Object.defineProperty(this, "cornerPoints", {
|
|
6777
|
+
enumerable: true,
|
|
6778
|
+
configurable: true,
|
|
6779
|
+
writable: true,
|
|
6780
|
+
value: void 0
|
|
6781
|
+
});
|
|
6782
|
+
Object.defineProperty(this, "ratio", {
|
|
6783
|
+
enumerable: true,
|
|
6784
|
+
configurable: true,
|
|
6785
|
+
writable: true,
|
|
6786
|
+
value: void 0
|
|
6787
|
+
});
|
|
6788
|
+
Object.defineProperty(this, "container", {
|
|
6789
|
+
enumerable: true,
|
|
6790
|
+
configurable: true,
|
|
6791
|
+
writable: true,
|
|
6792
|
+
value: void 0
|
|
6793
|
+
});
|
|
6794
|
+
Object.defineProperty(this, "centerPosition", {
|
|
6795
|
+
enumerable: true,
|
|
6796
|
+
configurable: true,
|
|
6797
|
+
writable: true,
|
|
6798
|
+
value: void 0
|
|
6799
|
+
});
|
|
6800
|
+
this.scale.set(realRatio, realRatio, realRatio);
|
|
6801
|
+
// set public property
|
|
6802
|
+
this.cornerPoints = cornerPoints;
|
|
6803
|
+
this.ratio = ratio;
|
|
6804
|
+
this.container = container;
|
|
6805
|
+
if (realRatio === ratio) {
|
|
6806
|
+
this.width = planeWidth;
|
|
6807
|
+
this.height = planeHeight;
|
|
6808
|
+
this.domWidthPx = domWidthPx;
|
|
6809
|
+
this.domHeightPx = domHeightPx;
|
|
6810
|
+
this.centerPosition = centerPosition;
|
|
6811
|
+
}
|
|
6812
|
+
else {
|
|
6813
|
+
const scale = ratio / realRatio;
|
|
6814
|
+
this.width = scale * planeWidth;
|
|
6815
|
+
this.height = scale * planeHeight;
|
|
6816
|
+
this.domWidthPx = scale * domWidthPx;
|
|
6817
|
+
this.domHeightPx = scale * domHeightPx;
|
|
6818
|
+
this.centerPosition = new THREE.Vector3()
|
|
6819
|
+
.subVectors(centerPosition.clone(), cornerPoints[0].clone())
|
|
6820
|
+
.multiplyScalar(scale)
|
|
6821
|
+
.add(cornerPoints[0]);
|
|
6822
|
+
}
|
|
6823
|
+
// end
|
|
6824
|
+
container.classList.add(`${NAME}__container`);
|
|
6825
|
+
// 旋转前
|
|
6826
|
+
const startVector01 = new THREE.Vector3(1, 0, 0); // dom初始01点向量
|
|
6827
|
+
const startVector12 = new THREE.Vector3(0, 1, 0); // dom初始12点向量
|
|
6828
|
+
// 旋转后
|
|
6829
|
+
const endVector01 = new THREE.Vector3().subVectors(cornerPoints[1], cornerPoints[0]); // 点0 -> 点1 的向量
|
|
6830
|
+
const endVector12 = new THREE.Vector3().subVectors(cornerPoints[2], cornerPoints[1]); // 点1 -> 点2 的向量
|
|
6831
|
+
// 使Vector01重合
|
|
6832
|
+
const vector01Quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector01.normalize(), endVector01.normalize());
|
|
6833
|
+
this.applyQuaternion(vector01Quaternion);
|
|
6834
|
+
startVector12.applyQuaternion(vector01Quaternion);
|
|
6835
|
+
// 使Vector12重合
|
|
6836
|
+
const vector12Quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector12.normalize(), endVector12.normalize());
|
|
6837
|
+
this.applyQuaternion(vector12Quaternion);
|
|
6838
|
+
// set position
|
|
6839
|
+
this.position.set(centerPosition.x, centerPosition.y, centerPosition.z);
|
|
6840
|
+
}
|
|
6841
|
+
}
|
|
6842
|
+
|
|
6843
|
+
const VERSION$2 = 'v2.0.0';
|
|
6844
|
+
const PLUGIN_NAME$2 = 'CSS3DRenderer';
|
|
6845
|
+
const PLUGIN = `${PLUGIN_NAME$2}@${VERSION$2}`;
|
|
6846
|
+
const pluginFlag$1 = (name) => `${PLUGIN}--${name}`;
|
|
6847
|
+
const globalStore = {};
|
|
6848
|
+
class CSS3DRender {
|
|
6849
|
+
constructor() {
|
|
6850
|
+
Object.defineProperty(this, "hooks", {
|
|
6851
|
+
enumerable: true,
|
|
6852
|
+
configurable: true,
|
|
6853
|
+
writable: true,
|
|
6854
|
+
value: new Subscribe()
|
|
6855
|
+
});
|
|
6176
6856
|
Object.defineProperty(this, "state", {
|
|
6177
6857
|
enumerable: true,
|
|
6178
6858
|
configurable: true,
|
|
@@ -6180,6 +6860,7 @@ class Controller extends Controller$1 {
|
|
|
6180
6860
|
value: {
|
|
6181
6861
|
enabled: true,
|
|
6182
6862
|
visible: true,
|
|
6863
|
+
disposed: false,
|
|
6183
6864
|
}
|
|
6184
6865
|
});
|
|
6185
6866
|
Object.defineProperty(this, "store", {
|
|
@@ -6187,54 +6868,11 @@ class Controller extends Controller$1 {
|
|
|
6187
6868
|
configurable: true,
|
|
6188
6869
|
writable: true,
|
|
6189
6870
|
value: {
|
|
6190
|
-
disposed: false,
|
|
6191
6871
|
disposers: [],
|
|
6192
6872
|
frontModeCSS3DObjects: {},
|
|
6193
6873
|
behindModeCSS3DObjects: {},
|
|
6194
6874
|
}
|
|
6195
6875
|
});
|
|
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
6876
|
/**
|
|
6239
6877
|
* @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
6240
6878
|
* @param { Vector3Position[] } points 矩形四个点坐标
|
|
@@ -6243,15 +6881,14 @@ class Controller extends Controller$1 {
|
|
|
6243
6881
|
* | key | type | defaultValue | comment |
|
|
6244
6882
|
* | - | - | - | - |
|
|
6245
6883
|
* | `ratio` | *`number`* | `0.00216` | 1px对应多少米,默认为 0.00216,即1px对应2.16mm |
|
|
6246
|
-
* | ~~`dpr`~~ | ~~*`number`*~~ | ~~`undefined`~~ | ~~**已改名**,请使用~~ `devicePixelRatio` |
|
|
6247
6884
|
* | `devicePixelRatio` | *`number`* | `1` | 设备的物理像素分辨率与CSS像素分辨率的比值 |
|
|
6248
6885
|
* | `container` | *`HTMLElement`* | `undefined` | 自定义 return 中的 `container`
|
|
6249
6886
|
* | `pointerEvents` | *`'none'\|'auto'`* | `'none'` | container 的 css属性:`pointer-events` 的值 |
|
|
6250
6887
|
* | `autoRender` | *`boolean`* | `true` | 是否自动渲染,通常为true |
|
|
6251
6888
|
* | `mode` | *`'front'\|'behind'`* | `front` | 两种模式:|
|
|
6252
|
-
* | | | | `front` 模式:DOM 处于 five Canvas
|
|
6889
|
+
* | | | | `front` 模式:DOM 处于 five Canvas 上方,所以无法模拟遮挡效果,需要手动检测是否可见去设置显隐 |
|
|
6253
6890
|
* | | | | `behind` 模式:DOM 处于 five Canvas 下方,可以模拟真实的遮挡效果,但是 DOM 必须是非透明的 |
|
|
6254
|
-
* | `
|
|
6891
|
+
* | `scene` | *`THREE.Scene`* | `undefined` | 如果 mode 为 `behind`,需要传入 |
|
|
6255
6892
|
*
|
|
6256
6893
|
* @return
|
|
6257
6894
|
* ```typescript
|
|
@@ -6270,36 +6907,29 @@ class Controller extends Controller$1 {
|
|
|
6270
6907
|
* } | void
|
|
6271
6908
|
* ```
|
|
6272
6909
|
*/
|
|
6273
|
-
Object.defineProperty(this, "
|
|
6910
|
+
Object.defineProperty(this, "create3DElement", {
|
|
6274
6911
|
enumerable: true,
|
|
6275
6912
|
configurable: true,
|
|
6276
6913
|
writable: true,
|
|
6277
|
-
value: (points, config) => {
|
|
6278
|
-
if (this.
|
|
6914
|
+
value: (camera, points, config) => {
|
|
6915
|
+
if (this.state.disposed)
|
|
6279
6916
|
return this.disposedErrorLog();
|
|
6280
6917
|
// ==== init ====
|
|
6281
6918
|
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 = {
|
|
6919
|
+
const defaultConfig = {
|
|
6286
6920
|
ratio: 0.00216,
|
|
6287
|
-
devicePixelRatio:
|
|
6921
|
+
devicePixelRatio: 1,
|
|
6288
6922
|
mode: 'front',
|
|
6289
6923
|
autoRender: true,
|
|
6290
6924
|
container: document.createElement('div'),
|
|
6291
6925
|
pointerEvents: 'none',
|
|
6292
6926
|
};
|
|
6293
|
-
return Object.assign(
|
|
6927
|
+
return Object.assign(defaultConfig, config);
|
|
6294
6928
|
})();
|
|
6295
6929
|
const vector3Points = points.map(anyPositionToVector3);
|
|
6296
6930
|
if ((vector3Points === null || vector3Points === void 0 ? void 0 : vector3Points.length) < 4)
|
|
6297
|
-
return console.error(`${
|
|
6298
|
-
const { five, store } = this;
|
|
6931
|
+
return console.error(`${PLUGIN}: requires 4 point but params may have fewer`);
|
|
6299
6932
|
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
6933
|
const disposers = [];
|
|
6304
6934
|
// ==== init END ====
|
|
6305
6935
|
// 获取css3DObject, 如果mode为behind的话,也一起获取mesh
|
|
@@ -6311,47 +6941,47 @@ class Controller extends Controller$1 {
|
|
|
6311
6941
|
pointerEvents,
|
|
6312
6942
|
});
|
|
6313
6943
|
container.id = `container--${css3DObject.uuid}`;
|
|
6314
|
-
|
|
6315
|
-
const
|
|
6316
|
-
const behindModeAndBehindModeUnInited = mode === 'behind' && !globalState.behindModeStore;
|
|
6944
|
+
const frontModeAndFrontModeUnInited = mode === 'front' && !globalStore.frontModeStore;
|
|
6945
|
+
const behindModeAndBehindModeUnInited = mode === 'behind' && !globalStore.behindModeStore;
|
|
6317
6946
|
if (behindModeAndBehindModeUnInited) {
|
|
6318
|
-
|
|
6947
|
+
globalStore.behindModeStore = {
|
|
6948
|
+
scene: mergeConfig.scene,
|
|
6949
|
+
css3DScene: new THREE__namespace.Scene(),
|
|
6950
|
+
css3DRenderer: new CSS3DRenderer.CSS3DRenderer(),
|
|
6951
|
+
};
|
|
6319
6952
|
}
|
|
6320
6953
|
if (frontModeAndFrontModeUnInited) {
|
|
6321
|
-
|
|
6954
|
+
globalStore.frontModeStore = { css3DScene: new THREE__namespace.Scene(), css3DRenderer: new CSS3DRenderer.CSS3DRenderer() };
|
|
6322
6955
|
}
|
|
6323
|
-
const modeStore = mode === 'front' ?
|
|
6956
|
+
const modeStore = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
|
|
6324
6957
|
const { css3DScene, css3DRenderer } = modeStore;
|
|
6325
6958
|
const render = (() => {
|
|
6326
6959
|
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
6960
|
if (mode === 'front') {
|
|
6336
|
-
store.frontModeCSS3DObjects[css3DObject.uuid] = {
|
|
6337
|
-
|
|
6961
|
+
this.store.frontModeCSS3DObjects[css3DObject.uuid] = {
|
|
6962
|
+
visible: true,
|
|
6963
|
+
enabled: true,
|
|
6964
|
+
css3DObject,
|
|
6965
|
+
mode: 'front',
|
|
6966
|
+
};
|
|
6338
6967
|
}
|
|
6339
6968
|
else {
|
|
6340
|
-
store.behindModeCSS3DObjects[css3DObject.uuid] = {
|
|
6969
|
+
this.store.behindModeCSS3DObjects[css3DObject.uuid] = {
|
|
6341
6970
|
visible: true,
|
|
6342
6971
|
enabled: true,
|
|
6343
6972
|
css3DObject,
|
|
6344
6973
|
opacityMesh: opacityMesh,
|
|
6345
6974
|
mode: 'behind',
|
|
6975
|
+
scene: mergeConfig.scene,
|
|
6346
6976
|
};
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6977
|
+
}
|
|
6978
|
+
css3DScene.add(css3DObject);
|
|
6979
|
+
if (mode === 'behind' && opacityMesh) {
|
|
6980
|
+
mergeConfig.scene.add(opacityMesh);
|
|
6981
|
+
disposers.push(() => opacityMesh && mergeConfig.scene.remove(opacityMesh));
|
|
6351
6982
|
}
|
|
6352
6983
|
};
|
|
6353
6984
|
if (frontModeAndFrontModeUnInited || behindModeAndBehindModeUnInited) {
|
|
6354
|
-
resizeObserver = this.createResizeObserver(css3DRenderer.setSize);
|
|
6355
6985
|
css3DRenderer.domElement.style.position = 'absolute';
|
|
6356
6986
|
css3DRenderer.domElement.style.top = '0';
|
|
6357
6987
|
css3DRenderer.domElement.style.userSelect = 'none';
|
|
@@ -6360,24 +6990,21 @@ class Controller extends Controller$1 {
|
|
|
6360
6990
|
const renderEveryFrame = () => {
|
|
6361
6991
|
const requestAnimationFrameId = requestAnimationFrame(renderEveryFrame);
|
|
6362
6992
|
modeStore.requestAnimationFrameId = requestAnimationFrameId;
|
|
6363
|
-
css3DRenderer.render(css3DScene,
|
|
6993
|
+
css3DRenderer.render(css3DScene, camera);
|
|
6364
6994
|
};
|
|
6365
6995
|
return () => {
|
|
6366
|
-
var _a;
|
|
6367
6996
|
renderCSS3DObject();
|
|
6368
|
-
(_a = resizeObserver === null || resizeObserver === void 0 ? void 0 : resizeObserver.observe) === null || _a === void 0 ? void 0 : _a.call(resizeObserver);
|
|
6369
6997
|
renderEveryFrame();
|
|
6370
6998
|
};
|
|
6371
6999
|
}
|
|
6372
7000
|
return () => renderCSS3DObject();
|
|
6373
7001
|
})();
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
wrapper.appendChild(css3DRenderer.domElement);
|
|
7002
|
+
const wrapper = mode === 'front' ? globalStore.frontModeContainer : globalStore.behindModeContainer;
|
|
7003
|
+
if (wrapper) {
|
|
7004
|
+
this.appendToElement(wrapper, mode);
|
|
7005
|
+
const store = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
|
|
7006
|
+
if (store)
|
|
7007
|
+
store.appendedToPage = true;
|
|
6381
7008
|
}
|
|
6382
7009
|
const setVisible = (visible) => this.setVisibleById(css3DObject.uuid, visible);
|
|
6383
7010
|
const setEnabled = (enabled) => this.setEnabledById(css3DObject.uuid, enabled);
|
|
@@ -6386,9 +7013,8 @@ class Controller extends Controller$1 {
|
|
|
6386
7013
|
const enable = () => setEnabled(true);
|
|
6387
7014
|
const disable = () => setEnabled(false);
|
|
6388
7015
|
const dispose = () => {
|
|
6389
|
-
|
|
6390
|
-
delete store.
|
|
6391
|
-
delete store.behindModeCSS3DObjects[css3DObject.uuid];
|
|
7016
|
+
delete this.store.frontModeCSS3DObjects[css3DObject.uuid];
|
|
7017
|
+
delete this.store.behindModeCSS3DObjects[css3DObject.uuid];
|
|
6392
7018
|
disposers.forEach((d) => d === null || d === void 0 ? void 0 : d());
|
|
6393
7019
|
css3DScene.remove(css3DObject);
|
|
6394
7020
|
// 如果全没了,就清除父容器
|
|
@@ -6398,16 +7024,14 @@ class Controller extends Controller$1 {
|
|
|
6398
7024
|
}
|
|
6399
7025
|
css3DRenderer.domElement.remove();
|
|
6400
7026
|
if (mode === 'front')
|
|
6401
|
-
|
|
7027
|
+
globalStore.frontModeStore = undefined;
|
|
6402
7028
|
if (mode === 'behind')
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
(_a = resizeObserver === null || resizeObserver === void 0 ? void 0 : resizeObserver.unobserve) === null || _a === void 0 ? void 0 : _a.call(resizeObserver);
|
|
6406
|
-
}
|
|
7029
|
+
globalStore.behindModeStore = undefined;
|
|
7030
|
+
globalStore.resizeObserver = undefined;
|
|
6407
7031
|
}
|
|
6408
7032
|
return true;
|
|
6409
7033
|
};
|
|
6410
|
-
store.disposers.push(dispose);
|
|
7034
|
+
this.store.disposers.push(dispose);
|
|
6411
7035
|
if (autoRender)
|
|
6412
7036
|
render();
|
|
6413
7037
|
return {
|
|
@@ -6422,89 +7046,60 @@ class Controller extends Controller$1 {
|
|
|
6422
7046
|
disable,
|
|
6423
7047
|
enable,
|
|
6424
7048
|
setEnabled,
|
|
7049
|
+
appendToElement: (container) => this.appendToElement(container, mode),
|
|
6425
7050
|
};
|
|
6426
7051
|
}
|
|
6427
7052
|
});
|
|
6428
|
-
Object.defineProperty(this, "
|
|
7053
|
+
Object.defineProperty(this, "setVisibleById", {
|
|
6429
7054
|
enumerable: true,
|
|
6430
7055
|
configurable: true,
|
|
6431
7056
|
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
|
-
};
|
|
7057
|
+
value: (id, visible) => {
|
|
7058
|
+
var _a;
|
|
7059
|
+
const data = (_a = this.store.frontModeCSS3DObjects[id]) !== null && _a !== void 0 ? _a : this.store.behindModeCSS3DObjects[id];
|
|
7060
|
+
if (!data)
|
|
7061
|
+
return;
|
|
7062
|
+
data.css3DObject.visible = visible;
|
|
7063
|
+
data.visible = visible;
|
|
7064
|
+
if (data.mode === 'behind')
|
|
7065
|
+
data.opacityMesh.visible = visible;
|
|
6452
7066
|
}
|
|
6453
7067
|
});
|
|
6454
|
-
Object.defineProperty(this, "
|
|
7068
|
+
Object.defineProperty(this, "setEnabledById", {
|
|
6455
7069
|
enumerable: true,
|
|
6456
7070
|
configurable: true,
|
|
6457
7071
|
writable: true,
|
|
6458
|
-
value: (
|
|
6459
|
-
|
|
6460
|
-
const
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
const
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
if (
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
container.style.height = `${domHeightPx}px`;
|
|
7072
|
+
value: (id, enabled) => {
|
|
7073
|
+
var _a, _b, _c;
|
|
7074
|
+
const data = (_a = this.store.frontModeCSS3DObjects[id]) !== null && _a !== void 0 ? _a : this.store.behindModeCSS3DObjects[id];
|
|
7075
|
+
if (!data)
|
|
7076
|
+
return;
|
|
7077
|
+
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;
|
|
7078
|
+
if (!css3DScene)
|
|
7079
|
+
return;
|
|
7080
|
+
if (enabled) {
|
|
7081
|
+
css3DScene.add(data.css3DObject);
|
|
7082
|
+
if (data.mode === 'behind')
|
|
7083
|
+
data.scene.add(data.opacityMesh);
|
|
6471
7084
|
}
|
|
6472
7085
|
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);
|
|
7086
|
+
css3DScene.remove(data.css3DObject);
|
|
7087
|
+
if (data.mode === 'behind')
|
|
7088
|
+
data.scene.remove(data.opacityMesh);
|
|
6487
7089
|
}
|
|
7090
|
+
data.enabled = enabled;
|
|
7091
|
+
}
|
|
7092
|
+
});
|
|
7093
|
+
Object.defineProperty(this, "createObject", {
|
|
7094
|
+
enumerable: true,
|
|
7095
|
+
configurable: true,
|
|
7096
|
+
writable: true,
|
|
7097
|
+
value: (points, config) => {
|
|
7098
|
+
const { ratio, dpr, container, mode, pointerEvents } = config;
|
|
7099
|
+
const css3DObject = new CSS3DObjectPlus(container, points, ratio, dpr);
|
|
6488
7100
|
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);
|
|
7101
|
+
container.classList.add(`${PLUGIN_NAME$2}__container`);
|
|
7102
|
+
const { domWidthPx, domHeightPx } = css3DObject;
|
|
6508
7103
|
// 生成透明Mesh
|
|
6509
7104
|
const opacityMesh = (() => {
|
|
6510
7105
|
if (mode === 'behind') {
|
|
@@ -6525,17 +7120,51 @@ class Controller extends Controller$1 {
|
|
|
6525
7120
|
return { css3DObject, opacityMesh };
|
|
6526
7121
|
}
|
|
6527
7122
|
});
|
|
7123
|
+
Object.defineProperty(this, "createResizeObserver", {
|
|
7124
|
+
enumerable: true,
|
|
7125
|
+
configurable: true,
|
|
7126
|
+
writable: true,
|
|
7127
|
+
value: (element, resizeHandler, fireImmediately = true) => {
|
|
7128
|
+
if (!element) {
|
|
7129
|
+
console.error('createResizeObserver: element is undefined');
|
|
7130
|
+
return { observe: () => { }, unobserve: () => { } };
|
|
7131
|
+
}
|
|
7132
|
+
const resizeObserverHandler = () => {
|
|
7133
|
+
/**
|
|
7134
|
+
* 这里evenNumber策略是遇到奇数会加1,在某些浏览器中会触发滚动条显示,导致fiveElement变小,fiveElement变小又触发了这里的resize,宽高变小,滚动条消失,然后又触发resize。。。无限循环
|
|
7135
|
+
* 所以为了规避上面这种情况,evenNumber设置了一个参数,遇到奇数可选择减一
|
|
7136
|
+
*/
|
|
7137
|
+
const width = evenNumber(element.clientWidth, { smaller: true });
|
|
7138
|
+
const height = evenNumber(element.clientHeight, { smaller: true });
|
|
7139
|
+
resizeHandler(width, height);
|
|
7140
|
+
};
|
|
7141
|
+
if (typeof ResizeObserver === 'undefined' || !ResizeObserver) {
|
|
7142
|
+
console.warn('createResizeObserver: ResizeObserver is undefined');
|
|
7143
|
+
return { observe: () => resizeObserverHandler(), unobserve: () => { } };
|
|
7144
|
+
}
|
|
7145
|
+
const observer = new ResizeObserver(resizeObserverHandler);
|
|
7146
|
+
if (fireImmediately)
|
|
7147
|
+
resizeObserverHandler();
|
|
7148
|
+
return {
|
|
7149
|
+
observe: () => observer.observe(element),
|
|
7150
|
+
unobserve: () => observer.unobserve(element),
|
|
7151
|
+
};
|
|
7152
|
+
}
|
|
7153
|
+
});
|
|
6528
7154
|
Object.defineProperty(this, "disposedErrorLog", {
|
|
6529
7155
|
enumerable: true,
|
|
6530
7156
|
configurable: true,
|
|
6531
7157
|
writable: true,
|
|
6532
7158
|
value: () => {
|
|
6533
|
-
console.error(`${
|
|
7159
|
+
console.error(`${PLUGIN} is disposed`);
|
|
6534
7160
|
}
|
|
6535
7161
|
});
|
|
6536
7162
|
}
|
|
7163
|
+
getCurrentState() {
|
|
7164
|
+
return this.state;
|
|
7165
|
+
}
|
|
6537
7166
|
setState(state, options = { userAction: true }) {
|
|
6538
|
-
if (this.
|
|
7167
|
+
if (this.state.disposed)
|
|
6539
7168
|
return this.disposedErrorLog();
|
|
6540
7169
|
const prevState = Object.assign({}, this.state);
|
|
6541
7170
|
this.state = Object.assign(this.state, state);
|
|
@@ -6547,40 +7176,63 @@ class Controller extends Controller$1 {
|
|
|
6547
7176
|
}
|
|
6548
7177
|
this.hooks.emit('stateChange', { state: this.state, prevState, userAction: options.userAction });
|
|
6549
7178
|
}
|
|
6550
|
-
/** @deprecated disposeAll() renamed as dispose() */
|
|
6551
|
-
disposeAll() {
|
|
6552
|
-
return this.dispose();
|
|
6553
|
-
}
|
|
6554
7179
|
dispose() {
|
|
6555
7180
|
this.store.disposers.forEach((d) => d === null || d === void 0 ? void 0 : d());
|
|
6556
7181
|
this.store.disposers = [];
|
|
6557
7182
|
this.hooks.emit('dispose');
|
|
6558
|
-
this.
|
|
7183
|
+
this.state.disposed = true;
|
|
6559
7184
|
}
|
|
6560
7185
|
async show({ userAction } = { userAction: true }) {
|
|
6561
|
-
if (this.
|
|
7186
|
+
if (this.state.disposed)
|
|
6562
7187
|
return this.disposedErrorLog();
|
|
6563
7188
|
this.setState({ visible: true }, { userAction });
|
|
6564
7189
|
this.hooks.emit('show', { userAction });
|
|
6565
7190
|
}
|
|
6566
7191
|
async hide({ userAction } = { userAction: true }) {
|
|
6567
|
-
if (this.
|
|
7192
|
+
if (this.state.disposed)
|
|
6568
7193
|
return this.disposedErrorLog();
|
|
6569
7194
|
this.setState({ visible: false }, { userAction });
|
|
6570
7195
|
this.hooks.emit('hide', { userAction });
|
|
6571
7196
|
}
|
|
6572
7197
|
enable({ userAction } = { userAction: true }) {
|
|
6573
|
-
if (this.
|
|
7198
|
+
if (this.state.disposed)
|
|
6574
7199
|
return this.disposedErrorLog();
|
|
6575
7200
|
this.setState({ enabled: true }, { userAction });
|
|
6576
7201
|
this.hooks.emit('enable', { userAction });
|
|
6577
7202
|
}
|
|
6578
7203
|
disable({ userAction } = { userAction: true }) {
|
|
6579
|
-
if (this.
|
|
7204
|
+
if (this.state.disposed)
|
|
6580
7205
|
return this.disposedErrorLog();
|
|
6581
7206
|
this.setState({ enabled: false }, { userAction });
|
|
6582
7207
|
this.hooks.emit('disable', { userAction });
|
|
6583
7208
|
}
|
|
7209
|
+
appendToElement(container, mode) {
|
|
7210
|
+
if (!container)
|
|
7211
|
+
throw new Error(`${PLUGIN} Cannot append to container: container is ${container}`);
|
|
7212
|
+
const store = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
|
|
7213
|
+
if (!store) {
|
|
7214
|
+
if (mode === 'front')
|
|
7215
|
+
globalStore.frontModeContainer = container;
|
|
7216
|
+
if (mode === 'behind')
|
|
7217
|
+
globalStore.behindModeContainer = container;
|
|
7218
|
+
return;
|
|
7219
|
+
}
|
|
7220
|
+
if (store.appendedToPage)
|
|
7221
|
+
return;
|
|
7222
|
+
container.appendChild(store.css3DRenderer.domElement);
|
|
7223
|
+
if (!globalStore.resizeObserver) {
|
|
7224
|
+
const reSize = (width, height) => {
|
|
7225
|
+
var _a, _b;
|
|
7226
|
+
(_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DRenderer.setSize(width, height);
|
|
7227
|
+
(_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.css3DRenderer.setSize(width, height);
|
|
7228
|
+
};
|
|
7229
|
+
const { observe, unobserve } = this.createResizeObserver(container, reSize, true);
|
|
7230
|
+
globalStore.resizeObserver = { observe, unobserve };
|
|
7231
|
+
observe();
|
|
7232
|
+
this.store.disposers.push(unobserve);
|
|
7233
|
+
}
|
|
7234
|
+
store.appendedToPage = true;
|
|
7235
|
+
}
|
|
6584
7236
|
async handleShow() {
|
|
6585
7237
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
6586
7238
|
value.css3DObject.visible = value.visible;
|
|
@@ -6589,7 +7241,6 @@ class Controller extends Controller$1 {
|
|
|
6589
7241
|
value.css3DObject.visible = value.visible;
|
|
6590
7242
|
value.opacityMesh.visible = value.visible;
|
|
6591
7243
|
});
|
|
6592
|
-
this.five.needsRender = true;
|
|
6593
7244
|
}
|
|
6594
7245
|
async handleHide() {
|
|
6595
7246
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
@@ -6599,77 +7250,148 @@ class Controller extends Controller$1 {
|
|
|
6599
7250
|
value.css3DObject.visible = false;
|
|
6600
7251
|
value.opacityMesh.visible = false;
|
|
6601
7252
|
});
|
|
6602
|
-
this.five.needsRender = true;
|
|
6603
7253
|
}
|
|
6604
7254
|
handleEnable() {
|
|
6605
7255
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
6606
7256
|
var _a;
|
|
6607
7257
|
if (!value.enabled)
|
|
6608
7258
|
return;
|
|
6609
|
-
(_a =
|
|
7259
|
+
(_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.add(value.css3DObject);
|
|
6610
7260
|
});
|
|
6611
7261
|
Object.values(this.store.behindModeCSS3DObjects).forEach((value) => {
|
|
6612
|
-
var _a;
|
|
7262
|
+
var _a, _b;
|
|
6613
7263
|
if (!value.enabled)
|
|
6614
7264
|
return;
|
|
6615
|
-
(_a =
|
|
6616
|
-
|
|
7265
|
+
(_a = globalStore.behindModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.add(value.css3DObject);
|
|
7266
|
+
(_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.scene.add(value.opacityMesh);
|
|
6617
7267
|
});
|
|
6618
|
-
this.five.needsRender = true;
|
|
6619
7268
|
}
|
|
6620
7269
|
handleDisable() {
|
|
6621
7270
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
6622
7271
|
var _a;
|
|
6623
|
-
(_a =
|
|
7272
|
+
(_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.remove(value.css3DObject);
|
|
6624
7273
|
});
|
|
6625
7274
|
Object.values(this.store.behindModeCSS3DObjects).forEach((value) => {
|
|
6626
|
-
var _a;
|
|
6627
|
-
(_a =
|
|
6628
|
-
|
|
7275
|
+
var _a, _b;
|
|
7276
|
+
(_a = globalStore.behindModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.remove(value.css3DObject);
|
|
7277
|
+
(_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.scene.remove(value.opacityMesh);
|
|
7278
|
+
});
|
|
7279
|
+
}
|
|
7280
|
+
}
|
|
7281
|
+
|
|
7282
|
+
const VERSION$1 = 'v2.0.0';
|
|
7283
|
+
const PLUGIN_NAME$1 = `CSS3DRenderPlugin-${random()}@${VERSION$1}`;
|
|
7284
|
+
class Controller extends CSS3DRender {
|
|
7285
|
+
constructor(five) {
|
|
7286
|
+
super();
|
|
7287
|
+
Object.defineProperty(this, "five", {
|
|
7288
|
+
enumerable: true,
|
|
7289
|
+
configurable: true,
|
|
7290
|
+
writable: true,
|
|
7291
|
+
value: void 0
|
|
6629
7292
|
});
|
|
7293
|
+
/**
|
|
7294
|
+
* @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
7295
|
+
* @param { Vector3Position[] } points 矩形四个点坐标
|
|
7296
|
+
* @param config 均为可选值
|
|
7297
|
+
* @config_document `config` 均为可选值
|
|
7298
|
+
* | key | type | defaultValue | comment |
|
|
7299
|
+
* | - | - | - | - |
|
|
7300
|
+
* | `ratio` | *`number`* | `0.00216` | 1px对应多少米,默认为 0.00216,即1px对应2.16mm |
|
|
7301
|
+
* | ~~`dpr`~~ | ~~*`number`*~~ | ~~`undefined`~~ | ~~**已改名**,请使用~~ `devicePixelRatio` |
|
|
7302
|
+
* | `devicePixelRatio` | *`number`* | `1` | 设备的物理像素分辨率与CSS像素分辨率的比值 |
|
|
7303
|
+
* | `container` | *`HTMLElement`* | `undefined` | 自定义 return 中的 `container`
|
|
7304
|
+
* | `pointerEvents` | *`'none'\|'auto'`* | `'none'` | container 的 css属性:`pointer-events` 的值 |
|
|
7305
|
+
* | `autoRender` | *`boolean`* | `true` | 是否自动渲染,通常为true |
|
|
7306
|
+
* | `mode` | *`'front'\|'behind'`* | `front` | 两种模式:|
|
|
7307
|
+
* | | | | `front` 模式:DOM 处于 five Canvas 上方,所以无法模拟遮挡效果,需要手动检测是否可见去设置显隐 |
|
|
7308
|
+
* | | | | `behind` 模式:DOM 处于 five Canvas 下方,可以模拟真实的遮挡效果,但是 DOM 必须是非透明的 |
|
|
7309
|
+
* | `behindFiveContainer` | *`HTMLElement`* | `undefined` | 如果 mode 为 `behind`,需要传入容器,并确保此容器位five下方,且中间无其他不透明的dom元素遮挡 |
|
|
7310
|
+
*
|
|
7311
|
+
* @return
|
|
7312
|
+
* ```typescript
|
|
7313
|
+
* {
|
|
7314
|
+
* id: string, // id
|
|
7315
|
+
* container: HTMLDIVElement // dom容器
|
|
7316
|
+
* dispose: () => void // 销毁
|
|
7317
|
+
* css3DObject: CSS3DObject // THREE.CSS3DObject 实例
|
|
7318
|
+
* render?: () => void // 渲染函数,当 config.autoRender = true || undefined 时为 undefined
|
|
7319
|
+
* setVisible: (visible: boolean) => void // 设置显隐, 同 setVisibleById(id, visible)
|
|
7320
|
+
* show: () => void // 同 setVisible(true)
|
|
7321
|
+
* hide: () => void // 同 setVisible(false)
|
|
7322
|
+
* setEnabled: (enabled: boolean) => void // 添加/移除 container, 同 setEnabledById(id, enabled)
|
|
7323
|
+
* enable: () => void // 同 setEnabled(true)
|
|
7324
|
+
* disable: () => void // 同 setEnabled(false)
|
|
7325
|
+
* } | void
|
|
7326
|
+
* ```
|
|
7327
|
+
*/
|
|
7328
|
+
Object.defineProperty(this, "create3DDomContainer", {
|
|
7329
|
+
enumerable: true,
|
|
7330
|
+
configurable: true,
|
|
7331
|
+
writable: true,
|
|
7332
|
+
value: (points, config) => {
|
|
7333
|
+
if (this.state.disposed)
|
|
7334
|
+
return;
|
|
7335
|
+
// ==== init ====
|
|
7336
|
+
const mergeConfig = (() => {
|
|
7337
|
+
var _a;
|
|
7338
|
+
if ((config === null || config === void 0 ? void 0 : config.dpr) !== undefined)
|
|
7339
|
+
console.warn(`${PLUGIN_NAME$1}: please use "config.devicePixelRatio" replace "config.dpr"`);
|
|
7340
|
+
const defaultconfig = {
|
|
7341
|
+
ratio: 0.00216,
|
|
7342
|
+
devicePixelRatio: (_a = config === null || config === void 0 ? void 0 : config.dpr) !== null && _a !== void 0 ? _a : 1,
|
|
7343
|
+
mode: 'front',
|
|
7344
|
+
autoRender: true,
|
|
7345
|
+
};
|
|
7346
|
+
return Object.assign(defaultconfig, config, (config === null || config === void 0 ? void 0 : config.mode) === 'behind' ? { scene: this.five.scene } : undefined);
|
|
7347
|
+
})();
|
|
7348
|
+
const fiveElement = this.five.getElement();
|
|
7349
|
+
if (!fiveElement)
|
|
7350
|
+
return console.error(`${PLUGIN_NAME$1}: five.getElement() is ${fiveElement}`);
|
|
7351
|
+
const { autoRender, mode } = mergeConfig;
|
|
7352
|
+
// 自动添加dom
|
|
7353
|
+
const wrapper = mode === 'front' ? fiveElement.parentElement : mergeConfig.behindFiveContainer;
|
|
7354
|
+
this.appendToElement(wrapper || document.body, mode);
|
|
7355
|
+
const create3DElementResault = this.create3DElement(this.five.camera, points, Object.assign(Object.assign({}, mergeConfig), { autoRender: false }));
|
|
7356
|
+
if (!create3DElementResault)
|
|
7357
|
+
return;
|
|
7358
|
+
const oldRender = create3DElementResault.render;
|
|
7359
|
+
const newRender = () => {
|
|
7360
|
+
var _a;
|
|
7361
|
+
if (mode === 'front') {
|
|
7362
|
+
oldRender();
|
|
7363
|
+
}
|
|
7364
|
+
if (mode === 'behind') {
|
|
7365
|
+
if ((_a = this.five.model) === null || _a === void 0 ? void 0 : _a.loaded)
|
|
7366
|
+
oldRender();
|
|
7367
|
+
else
|
|
7368
|
+
this.five.once('modelLoaded', () => oldRender());
|
|
7369
|
+
}
|
|
7370
|
+
};
|
|
7371
|
+
if (autoRender)
|
|
7372
|
+
newRender();
|
|
7373
|
+
return Object.assign(Object.assign({}, create3DElementResault), { render: autoRender ? undefined : newRender });
|
|
7374
|
+
}
|
|
7375
|
+
});
|
|
7376
|
+
this.five = five;
|
|
7377
|
+
}
|
|
7378
|
+
/** @deprecated disposeAll() renamed as dispose() */
|
|
7379
|
+
disposeAll() {
|
|
7380
|
+
return this.dispose();
|
|
7381
|
+
}
|
|
7382
|
+
setState(...params) {
|
|
7383
|
+
const result = super.setState(...params);
|
|
6630
7384
|
this.five.needsRender = true;
|
|
7385
|
+
return result;
|
|
6631
7386
|
}
|
|
6632
7387
|
}
|
|
6633
7388
|
|
|
6634
7389
|
const CSS3DRenderPlugin = (five) => new Controller(five);
|
|
6635
7390
|
|
|
6636
|
-
|
|
6637
|
-
const
|
|
7391
|
+
// declare const __APP_VERSION__: string
|
|
7392
|
+
const VERSION = '0.3.6';
|
|
7393
|
+
const PLUGIN_NAME = `DnalogelPlugin-PanoTagPlugin@${VERSION}`;
|
|
6638
7394
|
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
7395
|
const pluginFlag = (name) => `${PLUGIN_NAME}--${name}`;
|
|
6674
7396
|
class PanoTagPluginController extends TagComputer {
|
|
6675
7397
|
constructor(five, params) {
|
|
@@ -6738,9 +7460,16 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6738
7460
|
value: {
|
|
6739
7461
|
disposers: [],
|
|
6740
7462
|
disposed: false,
|
|
7463
|
+
resizeObserverDisposerAdding: false,
|
|
6741
7464
|
css3DRenderDisposer: new Map(),
|
|
6742
7465
|
}
|
|
6743
7466
|
});
|
|
7467
|
+
Object.defineProperty(this, "staticUrl", {
|
|
7468
|
+
enumerable: true,
|
|
7469
|
+
configurable: true,
|
|
7470
|
+
writable: true,
|
|
7471
|
+
value: void 0
|
|
7472
|
+
});
|
|
6744
7473
|
Object.defineProperty(this, "disposedErrorLog", {
|
|
6745
7474
|
enumerable: true,
|
|
6746
7475
|
configurable: true,
|
|
@@ -6749,9 +7478,24 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6749
7478
|
console.error(`${PLUGIN_NAME} is disposed`);
|
|
6750
7479
|
}
|
|
6751
7480
|
});
|
|
6752
|
-
this.params = Object.assign({ debug: false, mergePluginDefaultConfigToLoadDataConfig: false, config: this.config
|
|
7481
|
+
this.params = Object.assign({ debug: false, mergePluginDefaultConfigToLoadDataConfig: false, config: this.config, staticConfig: {
|
|
7482
|
+
host: 'vrlab-static.ljcdn.com',
|
|
7483
|
+
} }, params);
|
|
6753
7484
|
this.debug = this.params.debug;
|
|
6754
7485
|
this.config = this.params.config;
|
|
7486
|
+
this.staticUrl = (() => {
|
|
7487
|
+
var _a;
|
|
7488
|
+
const staticConfig = this.params.staticConfig;
|
|
7489
|
+
if (typeof staticConfig === 'string') {
|
|
7490
|
+
return staticConfig;
|
|
7491
|
+
}
|
|
7492
|
+
else {
|
|
7493
|
+
const protocol = staticConfig.protocol ? staticConfig.protocol + ':' : '';
|
|
7494
|
+
const host = (_a = staticConfig.host) !== null && _a !== void 0 ? _a : 'vrlab-static.ljcdn.com';
|
|
7495
|
+
const port = staticConfig.port ? ':' + staticConfig.port : '';
|
|
7496
|
+
return `${protocol}//${host}${port}`;
|
|
7497
|
+
}
|
|
7498
|
+
})();
|
|
6755
7499
|
Object.assign(window, { __PANOTAGPLUGIN_DEBUG__: this });
|
|
6756
7500
|
}
|
|
6757
7501
|
/**
|
|
@@ -6787,7 +7531,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6787
7531
|
const _tags = tags
|
|
6788
7532
|
.map((tag) => {
|
|
6789
7533
|
const config = this.getTagConfig(tag);
|
|
6790
|
-
return Object.assign(Object.assign({}, tag), { state: Object.assign({ visible: undefined, unfolded: TAG_INITIAL_UNFOLDED }, config.initialState) });
|
|
7534
|
+
return Object.assign(Object.assign({}, tag), { state: Object.assign({ visible: undefined, unfolded: TAG_INITIAL_UNFOLDED }, config.initialState), hooks: new five.Subscribe(), clickable: config.clickable });
|
|
6791
7535
|
})
|
|
6792
7536
|
.filter((tag) => tag.position);
|
|
6793
7537
|
this.tags.push(..._tags);
|
|
@@ -6798,10 +7542,13 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6798
7542
|
(_b = (_a = this.store).eventListenerDisposer) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
6799
7543
|
}
|
|
6800
7544
|
this.store.eventListenerDisposer = this.addEventListener();
|
|
6801
|
-
|
|
7545
|
+
// resizeObserverDisposerAdding 避免200ms内重复执行 addResizeObserver
|
|
7546
|
+
if (!this.store.resizeObserverDisposer && !this.store.resizeObserverDisposerAdding) {
|
|
6802
7547
|
const resizeObserverDisposer = this.addResizeObserver();
|
|
7548
|
+
this.store.resizeObserverDisposerAdding = true;
|
|
6803
7549
|
setTimeout(() => {
|
|
6804
7550
|
this.store.resizeObserverDisposer = resizeObserverDisposer;
|
|
7551
|
+
this.store.resizeObserverDisposerAdding = false;
|
|
6805
7552
|
}, 200);
|
|
6806
7553
|
}
|
|
6807
7554
|
this.checkPanelTag();
|
|
@@ -6853,6 +7600,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6853
7600
|
this.store.eventListenerDisposer = undefined;
|
|
6854
7601
|
(_f = (_e = this.store).resizeObserverDisposer) === null || _f === void 0 ? void 0 : _f.call(_e);
|
|
6855
7602
|
this.store.resizeObserverDisposer = undefined;
|
|
7603
|
+
this.store.resizeObserverDisposerAdding = false;
|
|
6856
7604
|
this.clearCache();
|
|
6857
7605
|
this.hooks.emit('dispose');
|
|
6858
7606
|
}
|
|
@@ -7240,11 +7988,8 @@ class PanoTagPluginController extends TagComputer {
|
|
|
7240
7988
|
}
|
|
7241
7989
|
}
|
|
7242
7990
|
|
|
7243
|
-
// DELETE
|
|
7244
|
-
Object.assign(window, { objectAssignDeep: objectAssignDeep__default["default"] });
|
|
7245
7991
|
const PanoTagPlugin = (five, params) => new PanoTagPluginController(five, params);
|
|
7246
7992
|
|
|
7247
|
-
exports.DefaultConfig = DefaultConfig;
|
|
7248
7993
|
exports.PanoTagPlugin = PanoTagPlugin;
|
|
7249
7994
|
exports.PanoTagPluginController = PanoTagPluginController;
|
|
7250
7995
|
exports["default"] = PanoTagPlugin;
|