@realsee/dnalogel 2.1.0-alpha.1 → 2.1.0-alpha.11
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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/constants.d.ts +3 -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 +160 -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/constants.d.ts +3 -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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/constants.d.ts +3 -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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +1353 -587
- package/dist/PanoTagPlugin/mocks/mock1.d.ts +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/constants.d.ts +3 -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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- 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 +10134 -381
- package/dist/index.js +10137 -375
- package/dist/index.umd.js +10139 -379
- 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 +21 -4
- 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 +160 -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/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/libs/PanoTagPlugin/utils/constants.js +5 -0
- 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 }; }
|
|
@@ -46,7 +46,7 @@ function evenNumber(num, config) {
|
|
|
46
46
|
return roundNum % 2 === 0 ? roundNum : roundNum + Number((config === null || config === void 0 ? void 0 : config.smaller) ? -1 : 1);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
function random() {
|
|
49
|
+
function random$1() {
|
|
50
50
|
return Math.random().toString(36).slice(-6);
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -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,18 @@ function notNil(value) {
|
|
|
728
728
|
return value !== null && value !== undefined;
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
-
|
|
731
|
+
function random() {
|
|
732
|
+
return Math.random().toString(36).slice(-6);
|
|
733
|
+
}
|
|
734
|
+
const RANDON_STRING = random();
|
|
735
|
+
|
|
736
|
+
/* src/PanoTagPlugin/Components/Common/Text.svelte generated by Svelte v3.50.1 */
|
|
732
737
|
|
|
733
|
-
function add_css$
|
|
738
|
+
function add_css$i(target) {
|
|
734
739
|
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
740
|
}
|
|
736
741
|
|
|
737
|
-
function get_each_context$
|
|
742
|
+
function get_each_context$5(ctx, list, i) {
|
|
738
743
|
const child_ctx = ctx.slice();
|
|
739
744
|
child_ctx[10] = list[i];
|
|
740
745
|
child_ctx[11] = list;
|
|
@@ -742,8 +747,8 @@ function get_each_context$4(ctx, list, i) {
|
|
|
742
747
|
return child_ctx;
|
|
743
748
|
}
|
|
744
749
|
|
|
745
|
-
// (
|
|
746
|
-
function create_each_block$
|
|
750
|
+
// (80:0) {#each contentList as item, index}
|
|
751
|
+
function create_each_block$5(ctx) {
|
|
747
752
|
let span;
|
|
748
753
|
let t_value = /*item*/ ctx[10] + "";
|
|
749
754
|
let t;
|
|
@@ -779,13 +784,13 @@ function create_each_block$4(ctx) {
|
|
|
779
784
|
};
|
|
780
785
|
}
|
|
781
786
|
|
|
782
|
-
function create_fragment$
|
|
787
|
+
function create_fragment$i(ctx) {
|
|
783
788
|
let each_1_anchor;
|
|
784
789
|
let each_value = /*contentList*/ ctx[1];
|
|
785
790
|
let each_blocks = [];
|
|
786
791
|
|
|
787
792
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
788
|
-
each_blocks[i] = create_each_block$
|
|
793
|
+
each_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i));
|
|
789
794
|
}
|
|
790
795
|
|
|
791
796
|
return {
|
|
@@ -809,12 +814,12 @@ function create_fragment$h(ctx) {
|
|
|
809
814
|
let i;
|
|
810
815
|
|
|
811
816
|
for (i = 0; i < each_value.length; i += 1) {
|
|
812
|
-
const child_ctx = get_each_context$
|
|
817
|
+
const child_ctx = get_each_context$5(ctx, each_value, i);
|
|
813
818
|
|
|
814
819
|
if (each_blocks[i]) {
|
|
815
820
|
each_blocks[i].p(child_ctx, dirty);
|
|
816
821
|
} else {
|
|
817
|
-
each_blocks[i] = create_each_block$
|
|
822
|
+
each_blocks[i] = create_each_block$5(child_ctx);
|
|
818
823
|
each_blocks[i].c();
|
|
819
824
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
|
820
825
|
}
|
|
@@ -836,7 +841,7 @@ function create_fragment$h(ctx) {
|
|
|
836
841
|
};
|
|
837
842
|
}
|
|
838
843
|
|
|
839
|
-
function instance$
|
|
844
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
840
845
|
let contentList;
|
|
841
846
|
let { inDelay = 0 } = $$props;
|
|
842
847
|
let { outDelay = 0 } = $$props;
|
|
@@ -910,7 +915,23 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
910
915
|
|
|
911
916
|
$$self.$$.update = () => {
|
|
912
917
|
if ($$self.$$.dirty & /*content*/ 16) {
|
|
913
|
-
|
|
918
|
+
// v0.3.7 emoji support
|
|
919
|
+
$$invalidate(1, contentList = (() => {
|
|
920
|
+
const result = [];
|
|
921
|
+
|
|
922
|
+
// eslint-disable-next-line prettier/prettier
|
|
923
|
+
const emojiRegExp = new RegExp(/\p{RI}\p{RI}|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?(\u{200D}\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?)+|\p{EPres}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})?|\p{Emoji}(\p{EMod}+|\u{FE0F}\u{20E3}?|[\u{E0020}-\u{E007E}]+\u{E007F})/gu);
|
|
924
|
+
|
|
925
|
+
const emojiSplitFlag = `__EMOJI_SPLIT_${RANDON_STRING}__`;
|
|
926
|
+
const emojiFlag = `__EMOJI_${RANDON_STRING}__`;
|
|
927
|
+
|
|
928
|
+
content.slice().replace(emojiRegExp, emoji => `${emojiSplitFlag}${emojiFlag}${emoji}${emojiSplitFlag}`).split(emojiSplitFlag).forEach(item => {
|
|
929
|
+
if (item.startsWith(emojiFlag)) return result.push(item.slice(emojiFlag.length)); else return result.push(...item.split(''));
|
|
930
|
+
});
|
|
931
|
+
|
|
932
|
+
// console.log(result.filter(Boolean))
|
|
933
|
+
return result.filter(Boolean);
|
|
934
|
+
})());
|
|
914
935
|
}
|
|
915
936
|
|
|
916
937
|
if ($$self.$$.dirty & /*unfolded*/ 32) {
|
|
@@ -930,8 +951,8 @@ class Text extends internal.SvelteComponent {
|
|
|
930
951
|
internal.init(
|
|
931
952
|
this,
|
|
932
953
|
options,
|
|
933
|
-
instance$
|
|
934
|
-
create_fragment$
|
|
954
|
+
instance$i,
|
|
955
|
+
create_fragment$i,
|
|
935
956
|
internal.safe_not_equal,
|
|
936
957
|
{
|
|
937
958
|
inDelay: 2,
|
|
@@ -939,7 +960,7 @@ class Text extends internal.SvelteComponent {
|
|
|
939
960
|
content: 4,
|
|
940
961
|
unfolded: 5
|
|
941
962
|
},
|
|
942
|
-
add_css$
|
|
963
|
+
add_css$i
|
|
943
964
|
);
|
|
944
965
|
}
|
|
945
966
|
}
|
|
@@ -947,14 +968,14 @@ class Text extends internal.SvelteComponent {
|
|
|
947
968
|
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
969
|
const Image_Play = 'data:image/png;base64,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';
|
|
949
970
|
|
|
950
|
-
/* src/PanoTagPlugin/Components/Common/Arrow.svelte generated by Svelte v3.
|
|
971
|
+
/* src/PanoTagPlugin/Components/Common/Arrow.svelte generated by Svelte v3.50.1 */
|
|
951
972
|
|
|
952
|
-
function add_css$
|
|
973
|
+
function add_css$h(target) {
|
|
953
974
|
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
975
|
}
|
|
955
976
|
|
|
956
977
|
// (12:0) {#if visible}
|
|
957
|
-
function create_if_block$
|
|
978
|
+
function create_if_block$e(ctx) {
|
|
958
979
|
let div1;
|
|
959
980
|
let shadow;
|
|
960
981
|
let t;
|
|
@@ -970,8 +991,7 @@ function create_if_block$d(ctx) {
|
|
|
970
991
|
props: {
|
|
971
992
|
center: true,
|
|
972
993
|
blurRadius: 9,
|
|
973
|
-
spreadRadius: 3
|
|
974
|
-
zIndex: -1
|
|
994
|
+
spreadRadius: 3
|
|
975
995
|
}
|
|
976
996
|
});
|
|
977
997
|
|
|
@@ -1048,10 +1068,10 @@ function create_if_block$d(ctx) {
|
|
|
1048
1068
|
};
|
|
1049
1069
|
}
|
|
1050
1070
|
|
|
1051
|
-
function create_fragment$
|
|
1071
|
+
function create_fragment$h(ctx) {
|
|
1052
1072
|
let if_block_anchor;
|
|
1053
1073
|
let current;
|
|
1054
|
-
let if_block = /*visible*/ ctx[1] && create_if_block$
|
|
1074
|
+
let if_block = /*visible*/ ctx[1] && create_if_block$e(ctx);
|
|
1055
1075
|
|
|
1056
1076
|
return {
|
|
1057
1077
|
c() {
|
|
@@ -1072,7 +1092,7 @@ function create_fragment$g(ctx) {
|
|
|
1072
1092
|
internal.transition_in(if_block, 1);
|
|
1073
1093
|
}
|
|
1074
1094
|
} else {
|
|
1075
|
-
if_block = create_if_block$
|
|
1095
|
+
if_block = create_if_block$e(ctx);
|
|
1076
1096
|
if_block.c();
|
|
1077
1097
|
internal.transition_in(if_block, 1);
|
|
1078
1098
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -1103,7 +1123,7 @@ function create_fragment$g(ctx) {
|
|
|
1103
1123
|
};
|
|
1104
1124
|
}
|
|
1105
1125
|
|
|
1106
|
-
function instance$
|
|
1126
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
1107
1127
|
let { direction = 'right' } = $$props;
|
|
1108
1128
|
let { visible = true } = $$props;
|
|
1109
1129
|
let { duration = 0 } = $$props;
|
|
@@ -1132,8 +1152,8 @@ class Arrow extends internal.SvelteComponent {
|
|
|
1132
1152
|
internal.init(
|
|
1133
1153
|
this,
|
|
1134
1154
|
options,
|
|
1135
|
-
instance$
|
|
1136
|
-
create_fragment$
|
|
1155
|
+
instance$h,
|
|
1156
|
+
create_fragment$h,
|
|
1137
1157
|
internal.safe_not_equal,
|
|
1138
1158
|
{
|
|
1139
1159
|
direction: 0,
|
|
@@ -1142,18 +1162,18 @@ class Arrow extends internal.SvelteComponent {
|
|
|
1142
1162
|
inDelay: 3,
|
|
1143
1163
|
outDelay: 4
|
|
1144
1164
|
},
|
|
1145
|
-
add_css$
|
|
1165
|
+
add_css$h
|
|
1146
1166
|
);
|
|
1147
1167
|
}
|
|
1148
1168
|
}
|
|
1149
1169
|
|
|
1150
|
-
/* src/PanoTagPlugin/Components/Common/MultiLineText.svelte generated by Svelte v3.
|
|
1170
|
+
/* src/PanoTagPlugin/Components/Common/MultiLineText.svelte generated by Svelte v3.50.1 */
|
|
1151
1171
|
|
|
1152
|
-
function add_css$
|
|
1172
|
+
function add_css$g(target) {
|
|
1153
1173
|
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
1174
|
}
|
|
1155
1175
|
|
|
1156
|
-
function get_each_context$
|
|
1176
|
+
function get_each_context$4(ctx, list, i) {
|
|
1157
1177
|
const child_ctx = ctx.slice();
|
|
1158
1178
|
child_ctx[11] = list[i].id;
|
|
1159
1179
|
child_ctx[12] = list[i].content;
|
|
@@ -1161,7 +1181,7 @@ function get_each_context$3(ctx, list, i) {
|
|
|
1161
1181
|
}
|
|
1162
1182
|
|
|
1163
1183
|
// (23:0) {#each textItems as { id, content }
|
|
1164
|
-
function create_each_block$
|
|
1184
|
+
function create_each_block$4(key_1, ctx) {
|
|
1165
1185
|
let div;
|
|
1166
1186
|
let text_1;
|
|
1167
1187
|
let current;
|
|
@@ -1221,7 +1241,7 @@ function create_each_block$3(key_1, ctx) {
|
|
|
1221
1241
|
}
|
|
1222
1242
|
|
|
1223
1243
|
// (28:0) {#if lineHeight < textHeight}
|
|
1224
|
-
function create_if_block$
|
|
1244
|
+
function create_if_block$d(ctx) {
|
|
1225
1245
|
let div;
|
|
1226
1246
|
let arrow;
|
|
1227
1247
|
let current;
|
|
@@ -1268,7 +1288,7 @@ function create_if_block$c(ctx) {
|
|
|
1268
1288
|
};
|
|
1269
1289
|
}
|
|
1270
1290
|
|
|
1271
|
-
function create_fragment$
|
|
1291
|
+
function create_fragment$g(ctx) {
|
|
1272
1292
|
let each_blocks = [];
|
|
1273
1293
|
let each_1_lookup = new Map();
|
|
1274
1294
|
let t;
|
|
@@ -1278,12 +1298,12 @@ function create_fragment$f(ctx) {
|
|
|
1278
1298
|
const get_key = ctx => /*id*/ ctx[11];
|
|
1279
1299
|
|
|
1280
1300
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
1281
|
-
let child_ctx = get_each_context$
|
|
1301
|
+
let child_ctx = get_each_context$4(ctx, each_value, i);
|
|
1282
1302
|
let key = get_key(child_ctx);
|
|
1283
|
-
each_1_lookup.set(key, each_blocks[i] = create_each_block$
|
|
1303
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block$4(key, child_ctx));
|
|
1284
1304
|
}
|
|
1285
1305
|
|
|
1286
|
-
let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$
|
|
1306
|
+
let if_block = /*lineHeight*/ ctx[3] < /*textHeight*/ ctx[4] && create_if_block$d(ctx);
|
|
1287
1307
|
|
|
1288
1308
|
return {
|
|
1289
1309
|
c() {
|
|
@@ -1309,7 +1329,7 @@ function create_fragment$f(ctx) {
|
|
|
1309
1329
|
if (dirty & /*textElement, transform, visible, textItems, foldTextDelay*/ 167) {
|
|
1310
1330
|
each_value = /*textItems*/ ctx[1];
|
|
1311
1331
|
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$
|
|
1332
|
+
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
1333
|
internal.check_outros();
|
|
1314
1334
|
}
|
|
1315
1335
|
|
|
@@ -1321,7 +1341,7 @@ function create_fragment$f(ctx) {
|
|
|
1321
1341
|
internal.transition_in(if_block, 1);
|
|
1322
1342
|
}
|
|
1323
1343
|
} else {
|
|
1324
|
-
if_block = create_if_block$
|
|
1344
|
+
if_block = create_if_block$d(ctx);
|
|
1325
1345
|
if_block.c();
|
|
1326
1346
|
internal.transition_in(if_block, 1);
|
|
1327
1347
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -1366,7 +1386,7 @@ function create_fragment$f(ctx) {
|
|
|
1366
1386
|
};
|
|
1367
1387
|
}
|
|
1368
1388
|
|
|
1369
|
-
function instance$
|
|
1389
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
1370
1390
|
let transform;
|
|
1371
1391
|
let arrowDirection;
|
|
1372
1392
|
let foldTextDelay;
|
|
@@ -1441,27 +1461,27 @@ class MultiLineText extends internal.SvelteComponent {
|
|
|
1441
1461
|
internal.init(
|
|
1442
1462
|
this,
|
|
1443
1463
|
options,
|
|
1444
|
-
instance$
|
|
1445
|
-
create_fragment$
|
|
1464
|
+
instance$g,
|
|
1465
|
+
create_fragment$g,
|
|
1446
1466
|
internal.safe_not_equal,
|
|
1447
1467
|
{
|
|
1448
1468
|
visible: 0,
|
|
1449
1469
|
textUnfolded: 8,
|
|
1450
1470
|
textItems: 1
|
|
1451
1471
|
},
|
|
1452
|
-
add_css$
|
|
1472
|
+
add_css$g
|
|
1453
1473
|
);
|
|
1454
1474
|
}
|
|
1455
1475
|
}
|
|
1456
1476
|
|
|
1457
|
-
/* src/PanoTagPlugin/Components/Tag/TextTag.svelte generated by Svelte v3.
|
|
1477
|
+
/* src/PanoTagPlugin/Components/Tag/TextTag.svelte generated by Svelte v3.50.1 */
|
|
1458
1478
|
|
|
1459
|
-
function add_css$
|
|
1479
|
+
function add_css$f(target) {
|
|
1460
1480
|
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
1481
|
}
|
|
1462
1482
|
|
|
1463
1483
|
// (29:0) {#if tag.state}
|
|
1464
|
-
function create_if_block$
|
|
1484
|
+
function create_if_block$c(ctx) {
|
|
1465
1485
|
let shadow;
|
|
1466
1486
|
let t0;
|
|
1467
1487
|
let div0;
|
|
@@ -1579,10 +1599,10 @@ function create_if_block$b(ctx) {
|
|
|
1579
1599
|
};
|
|
1580
1600
|
}
|
|
1581
1601
|
|
|
1582
|
-
function create_fragment$
|
|
1602
|
+
function create_fragment$f(ctx) {
|
|
1583
1603
|
let if_block_anchor;
|
|
1584
1604
|
let current;
|
|
1585
|
-
let if_block = /*tag*/ ctx[0].state && create_if_block$
|
|
1605
|
+
let if_block = /*tag*/ ctx[0].state && create_if_block$c(ctx);
|
|
1586
1606
|
|
|
1587
1607
|
return {
|
|
1588
1608
|
c() {
|
|
@@ -1603,7 +1623,7 @@ function create_fragment$e(ctx) {
|
|
|
1603
1623
|
internal.transition_in(if_block, 1);
|
|
1604
1624
|
}
|
|
1605
1625
|
} else {
|
|
1606
|
-
if_block = create_if_block$
|
|
1626
|
+
if_block = create_if_block$c(ctx);
|
|
1607
1627
|
if_block.c();
|
|
1608
1628
|
internal.transition_in(if_block, 1);
|
|
1609
1629
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -1634,7 +1654,7 @@ function create_fragment$e(ctx) {
|
|
|
1634
1654
|
};
|
|
1635
1655
|
}
|
|
1636
1656
|
|
|
1637
|
-
function instance$
|
|
1657
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
1638
1658
|
let unfolded;
|
|
1639
1659
|
let text;
|
|
1640
1660
|
let foldTextDelay;
|
|
@@ -1709,18 +1729,18 @@ function instance$e($$self, $$props, $$invalidate) {
|
|
|
1709
1729
|
class TextTag extends internal.SvelteComponent {
|
|
1710
1730
|
constructor(options) {
|
|
1711
1731
|
super();
|
|
1712
|
-
internal.init(this, options, instance$
|
|
1732
|
+
internal.init(this, options, instance$f, create_fragment$f, internal.safe_not_equal, { tag: 0 }, add_css$f);
|
|
1713
1733
|
}
|
|
1714
1734
|
}
|
|
1715
1735
|
|
|
1716
|
-
/* src/PanoTagPlugin/Components/Common/Line/Polyline.svelte generated by Svelte v3.
|
|
1736
|
+
/* src/PanoTagPlugin/Components/Common/Line/Polyline.svelte generated by Svelte v3.50.1 */
|
|
1717
1737
|
|
|
1718
|
-
function add_css$
|
|
1738
|
+
function add_css$e(target) {
|
|
1719
1739
|
internal.append_styles(target, "svelte-e72ouh", ".line.svelte-e72ouh{width:100%;height:100%;overflow:visible}");
|
|
1720
1740
|
}
|
|
1721
1741
|
|
|
1722
1742
|
// (18:2) {#if unfolded}
|
|
1723
|
-
function create_if_block$
|
|
1743
|
+
function create_if_block$b(ctx) {
|
|
1724
1744
|
let path;
|
|
1725
1745
|
let path_intro;
|
|
1726
1746
|
let path_outro;
|
|
@@ -1780,13 +1800,13 @@ function create_if_block$a(ctx) {
|
|
|
1780
1800
|
};
|
|
1781
1801
|
}
|
|
1782
1802
|
|
|
1783
|
-
function create_fragment$
|
|
1803
|
+
function create_fragment$e(ctx) {
|
|
1784
1804
|
let svg;
|
|
1785
1805
|
let defs;
|
|
1786
1806
|
let linearGradient;
|
|
1787
1807
|
let stop0;
|
|
1788
1808
|
let stop1;
|
|
1789
|
-
let if_block = /*unfolded*/ ctx[3] && create_if_block$
|
|
1809
|
+
let if_block = /*unfolded*/ ctx[3] && create_if_block$b(ctx);
|
|
1790
1810
|
|
|
1791
1811
|
return {
|
|
1792
1812
|
c() {
|
|
@@ -1824,7 +1844,7 @@ function create_fragment$d(ctx) {
|
|
|
1824
1844
|
internal.transition_in(if_block, 1);
|
|
1825
1845
|
}
|
|
1826
1846
|
} else {
|
|
1827
|
-
if_block = create_if_block$
|
|
1847
|
+
if_block = create_if_block$b(ctx);
|
|
1828
1848
|
if_block.c();
|
|
1829
1849
|
internal.transition_in(if_block, 1);
|
|
1830
1850
|
if_block.m(svg, null);
|
|
@@ -1852,7 +1872,7 @@ function create_fragment$d(ctx) {
|
|
|
1852
1872
|
};
|
|
1853
1873
|
}
|
|
1854
1874
|
|
|
1855
|
-
function instance$
|
|
1875
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
1856
1876
|
let { inDelay = 0 } = $$props;
|
|
1857
1877
|
let { duration = 0 } = $$props;
|
|
1858
1878
|
let { outDelay = 0 } = $$props;
|
|
@@ -1876,8 +1896,8 @@ class Polyline extends internal.SvelteComponent {
|
|
|
1876
1896
|
internal.init(
|
|
1877
1897
|
this,
|
|
1878
1898
|
options,
|
|
1879
|
-
instance$
|
|
1880
|
-
create_fragment$
|
|
1899
|
+
instance$e,
|
|
1900
|
+
create_fragment$e,
|
|
1881
1901
|
internal.safe_not_equal,
|
|
1882
1902
|
{
|
|
1883
1903
|
inDelay: 0,
|
|
@@ -1885,80 +1905,84 @@ class Polyline extends internal.SvelteComponent {
|
|
|
1885
1905
|
outDelay: 2,
|
|
1886
1906
|
unfolded: 3
|
|
1887
1907
|
},
|
|
1888
|
-
add_css$
|
|
1908
|
+
add_css$e
|
|
1889
1909
|
);
|
|
1890
1910
|
}
|
|
1891
1911
|
}
|
|
1892
1912
|
|
|
1893
|
-
/* src/PanoTagPlugin/Components/Common/Media.svelte generated by Svelte v3.
|
|
1913
|
+
/* src/PanoTagPlugin/Components/Common/Media.svelte generated by Svelte v3.50.1 */
|
|
1894
1914
|
|
|
1895
|
-
function add_css$
|
|
1896
|
-
internal.append_styles(target, "svelte-
|
|
1915
|
+
function add_css$d(target) {
|
|
1916
|
+
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
1917
|
}
|
|
1898
1918
|
|
|
1899
|
-
|
|
1900
|
-
|
|
1919
|
+
function get_each_context$3(ctx, list, i) {
|
|
1920
|
+
const child_ctx = ctx.slice();
|
|
1921
|
+
child_ctx[9] = list[i];
|
|
1922
|
+
return child_ctx;
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
// (16:0) {#if unfolded}
|
|
1926
|
+
function create_if_block$a(ctx) {
|
|
1901
1927
|
let div;
|
|
1902
|
-
let t;
|
|
1903
1928
|
let div_intro;
|
|
1904
1929
|
let div_outro;
|
|
1905
1930
|
let current;
|
|
1931
|
+
let each_value = /*mediaDataList*/ ctx[6];
|
|
1932
|
+
let each_blocks = [];
|
|
1906
1933
|
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
return create_else_block$1;
|
|
1934
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
1935
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
|
1910
1936
|
}
|
|
1911
1937
|
|
|
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
1938
|
return {
|
|
1917
1939
|
c() {
|
|
1918
1940
|
div = internal.element("div");
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1941
|
+
|
|
1942
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
1943
|
+
each_blocks[i].c();
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
internal.attr(div, "class", "media svelte-129jnm");
|
|
1947
|
+
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[3]);
|
|
1924
1948
|
},
|
|
1925
1949
|
m(target, anchor) {
|
|
1926
1950
|
internal.insert(target, div, anchor);
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1951
|
+
|
|
1952
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
1953
|
+
each_blocks[i].m(div, null);
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1930
1956
|
current = true;
|
|
1931
1957
|
},
|
|
1932
1958
|
p(new_ctx, dirty) {
|
|
1933
1959
|
ctx = new_ctx;
|
|
1934
1960
|
|
|
1935
|
-
if (
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
if_block0.d(1);
|
|
1939
|
-
if_block0 = current_block_type(ctx);
|
|
1961
|
+
if (dirty & /*objectFit, Image_Play, mediaDataList*/ 96) {
|
|
1962
|
+
each_value = /*mediaDataList*/ ctx[6];
|
|
1963
|
+
let i;
|
|
1940
1964
|
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1965
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
1966
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
|
1967
|
+
|
|
1968
|
+
if (each_blocks[i]) {
|
|
1969
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
1970
|
+
} else {
|
|
1971
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
|
1972
|
+
each_blocks[i].c();
|
|
1973
|
+
each_blocks[i].m(div, null);
|
|
1974
|
+
}
|
|
1944
1975
|
}
|
|
1945
|
-
}
|
|
1946
1976
|
|
|
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);
|
|
1977
|
+
for (; i < each_blocks.length; i += 1) {
|
|
1978
|
+
each_blocks[i].d(1);
|
|
1954
1979
|
}
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
if_block1 = null;
|
|
1980
|
+
|
|
1981
|
+
each_blocks.length = each_value.length;
|
|
1958
1982
|
}
|
|
1959
1983
|
|
|
1960
|
-
if (dirty & /*unfolded*/
|
|
1961
|
-
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[
|
|
1984
|
+
if (!current || dirty & /*unfolded*/ 8) {
|
|
1985
|
+
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[3]);
|
|
1962
1986
|
}
|
|
1963
1987
|
},
|
|
1964
1988
|
i(local) {
|
|
@@ -1968,12 +1992,14 @@ function create_if_block$9(ctx) {
|
|
|
1968
1992
|
internal.add_render_callback(() => {
|
|
1969
1993
|
if (div_outro) div_outro.end(1);
|
|
1970
1994
|
|
|
1971
|
-
div_intro = internal.create_in_transition(div, transition.fly,
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1995
|
+
div_intro = internal.create_in_transition(div, transition.fly, /*animation*/ ctx[4]
|
|
1996
|
+
? {
|
|
1997
|
+
y: 4,
|
|
1998
|
+
duration: /*duration*/ ctx[2],
|
|
1999
|
+
delay: /*inDelay*/ ctx[0],
|
|
2000
|
+
easing: easing.linear
|
|
2001
|
+
}
|
|
2002
|
+
: undefined);
|
|
1977
2003
|
|
|
1978
2004
|
div_intro.start();
|
|
1979
2005
|
});
|
|
@@ -1985,27 +2011,28 @@ function create_if_block$9(ctx) {
|
|
|
1985
2011
|
if (div_intro) div_intro.invalidate();
|
|
1986
2012
|
|
|
1987
2013
|
if (local) {
|
|
1988
|
-
div_outro = internal.create_out_transition(div, transition.fly,
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
2014
|
+
div_outro = internal.create_out_transition(div, transition.fly, /*animation*/ ctx[4]
|
|
2015
|
+
? {
|
|
2016
|
+
y: 4,
|
|
2017
|
+
duration: /*duration*/ ctx[2],
|
|
2018
|
+
delay: /*outDelay*/ ctx[1],
|
|
2019
|
+
easing: easing.linear
|
|
2020
|
+
}
|
|
2021
|
+
: undefined);
|
|
1994
2022
|
}
|
|
1995
2023
|
|
|
1996
2024
|
current = false;
|
|
1997
2025
|
},
|
|
1998
2026
|
d(detaching) {
|
|
1999
2027
|
if (detaching) internal.detach(div);
|
|
2000
|
-
|
|
2001
|
-
if (if_block1) if_block1.d();
|
|
2028
|
+
internal.destroy_each(each_blocks, detaching);
|
|
2002
2029
|
if (detaching && div_outro) div_outro.end();
|
|
2003
2030
|
}
|
|
2004
2031
|
};
|
|
2005
2032
|
}
|
|
2006
2033
|
|
|
2007
|
-
// (
|
|
2008
|
-
function
|
|
2034
|
+
// (29:65)
|
|
2035
|
+
function create_if_block_4$2(ctx) {
|
|
2009
2036
|
let video;
|
|
2010
2037
|
let video_src_value;
|
|
2011
2038
|
let video_poster_value;
|
|
@@ -2013,26 +2040,26 @@ function create_else_block$1(ctx) {
|
|
|
2013
2040
|
return {
|
|
2014
2041
|
c() {
|
|
2015
2042
|
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 = /*
|
|
2043
|
+
internal.attr(video, "class", "media-content svelte-129jnm");
|
|
2044
|
+
if (!internal.src_url_equal(video.src, video_src_value = /*media*/ ctx[9].url)) internal.attr(video, "src", video_src_value);
|
|
2045
|
+
internal.attr(video, "poster", video_poster_value = /*media*/ ctx[9].videoCoverUrl);
|
|
2019
2046
|
video.playsInline = true;
|
|
2020
2047
|
internal.attr(video, "paused", "");
|
|
2021
2048
|
video.loop = false;
|
|
2022
2049
|
internal.attr(video, "preload", "auto");
|
|
2023
2050
|
internal.attr(video, "crossorigin", "");
|
|
2024
2051
|
video.controls = false;
|
|
2025
|
-
video.muted =
|
|
2052
|
+
video.muted = true;
|
|
2026
2053
|
},
|
|
2027
2054
|
m(target, anchor) {
|
|
2028
2055
|
internal.insert(target, video, anchor);
|
|
2029
2056
|
},
|
|
2030
2057
|
p(ctx, dirty) {
|
|
2031
|
-
if (dirty & /*
|
|
2058
|
+
if (dirty & /*mediaDataList*/ 64 && !internal.src_url_equal(video.src, video_src_value = /*media*/ ctx[9].url)) {
|
|
2032
2059
|
internal.attr(video, "src", video_src_value);
|
|
2033
2060
|
}
|
|
2034
2061
|
|
|
2035
|
-
if (dirty & /*
|
|
2062
|
+
if (dirty & /*mediaDataList*/ 64 && video_poster_value !== (video_poster_value = /*media*/ ctx[9].videoCoverUrl)) {
|
|
2036
2063
|
internal.attr(video, "poster", video_poster_value);
|
|
2037
2064
|
}
|
|
2038
2065
|
},
|
|
@@ -2042,7 +2069,38 @@ function create_else_block$1(ctx) {
|
|
|
2042
2069
|
};
|
|
2043
2070
|
}
|
|
2044
2071
|
|
|
2045
|
-
// (
|
|
2072
|
+
// (27:64)
|
|
2073
|
+
function create_if_block_3$2(ctx) {
|
|
2074
|
+
let img;
|
|
2075
|
+
let img_src_value;
|
|
2076
|
+
let img_alt_value;
|
|
2077
|
+
|
|
2078
|
+
return {
|
|
2079
|
+
c() {
|
|
2080
|
+
img = internal.element("img");
|
|
2081
|
+
internal.attr(img, "class", "media-content svelte-129jnm");
|
|
2082
|
+
if (!internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].videoCoverUrl)) internal.attr(img, "src", img_src_value);
|
|
2083
|
+
internal.attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
|
|
2084
|
+
},
|
|
2085
|
+
m(target, anchor) {
|
|
2086
|
+
internal.insert(target, img, anchor);
|
|
2087
|
+
},
|
|
2088
|
+
p(ctx, dirty) {
|
|
2089
|
+
if (dirty & /*mediaDataList*/ 64 && !internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].videoCoverUrl)) {
|
|
2090
|
+
internal.attr(img, "src", img_src_value);
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
if (dirty & /*mediaDataList*/ 64 && img_alt_value !== (img_alt_value = /*media*/ ctx[9].name)) {
|
|
2094
|
+
internal.attr(img, "alt", img_alt_value);
|
|
2095
|
+
}
|
|
2096
|
+
},
|
|
2097
|
+
d(detaching) {
|
|
2098
|
+
if (detaching) internal.detach(img);
|
|
2099
|
+
}
|
|
2100
|
+
};
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
// (25:8) {#if media.type === 'Image'}
|
|
2046
2104
|
function create_if_block_2$3(ctx) {
|
|
2047
2105
|
let img;
|
|
2048
2106
|
let img_src_value;
|
|
@@ -2051,19 +2109,19 @@ function create_if_block_2$3(ctx) {
|
|
|
2051
2109
|
return {
|
|
2052
2110
|
c() {
|
|
2053
2111
|
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 = /*
|
|
2112
|
+
internal.attr(img, "class", "media-content carousel-indicator-item svelte-129jnm");
|
|
2113
|
+
if (!internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].url)) internal.attr(img, "src", img_src_value);
|
|
2114
|
+
internal.attr(img, "alt", img_alt_value = /*media*/ ctx[9].name);
|
|
2057
2115
|
},
|
|
2058
2116
|
m(target, anchor) {
|
|
2059
2117
|
internal.insert(target, img, anchor);
|
|
2060
2118
|
},
|
|
2061
2119
|
p(ctx, dirty) {
|
|
2062
|
-
if (dirty & /*
|
|
2120
|
+
if (dirty & /*mediaDataList*/ 64 && !internal.src_url_equal(img.src, img_src_value = /*media*/ ctx[9].url)) {
|
|
2063
2121
|
internal.attr(img, "src", img_src_value);
|
|
2064
2122
|
}
|
|
2065
2123
|
|
|
2066
|
-
if (dirty & /*
|
|
2124
|
+
if (dirty & /*mediaDataList*/ 64 && img_alt_value !== (img_alt_value = /*media*/ ctx[9].name)) {
|
|
2067
2125
|
internal.attr(img, "alt", img_alt_value);
|
|
2068
2126
|
}
|
|
2069
2127
|
},
|
|
@@ -2073,14 +2131,14 @@ function create_if_block_2$3(ctx) {
|
|
|
2073
2131
|
};
|
|
2074
2132
|
}
|
|
2075
2133
|
|
|
2076
|
-
// (
|
|
2134
|
+
// (33:8) {#if media.type === 'Video'}
|
|
2077
2135
|
function create_if_block_1$6(ctx) {
|
|
2078
2136
|
let div;
|
|
2079
2137
|
|
|
2080
2138
|
return {
|
|
2081
2139
|
c() {
|
|
2082
2140
|
div = internal.element("div");
|
|
2083
|
-
internal.attr(div, "class", "video-icon svelte-
|
|
2141
|
+
internal.attr(div, "class", "video-icon svelte-129jnm");
|
|
2084
2142
|
internal.set_style(div, "background-image", "url(" + Image_Play + ")");
|
|
2085
2143
|
},
|
|
2086
2144
|
m(target, anchor) {
|
|
@@ -2093,39 +2151,115 @@ function create_if_block_1$6(ctx) {
|
|
|
2093
2151
|
};
|
|
2094
2152
|
}
|
|
2095
2153
|
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
let
|
|
2154
|
+
// (23:4) {#each mediaDataList as media}
|
|
2155
|
+
function create_each_block$3(ctx) {
|
|
2156
|
+
let div;
|
|
2157
|
+
let t0;
|
|
2158
|
+
let t1;
|
|
2159
|
+
let div_style_value;
|
|
2160
|
+
|
|
2161
|
+
function select_block_type(ctx, dirty) {
|
|
2162
|
+
if (/*media*/ ctx[9].type === 'Image') return create_if_block_2$3;
|
|
2163
|
+
if (/*media*/ ctx[9].type === 'Video' && /*media*/ ctx[9].videoCoverUrl) return create_if_block_3$2;
|
|
2164
|
+
if (/*media*/ ctx[9].type === 'Video' && !/*media*/ ctx[9].videoCoverUrl) return create_if_block_4$2;
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
let current_block_type = select_block_type(ctx);
|
|
2168
|
+
let if_block0 = current_block_type && current_block_type(ctx);
|
|
2169
|
+
let if_block1 = /*media*/ ctx[9].type === 'Video' && create_if_block_1$6();
|
|
2099
2170
|
|
|
2100
2171
|
return {
|
|
2101
2172
|
c() {
|
|
2102
|
-
|
|
2103
|
-
|
|
2173
|
+
div = internal.element("div");
|
|
2174
|
+
if (if_block0) if_block0.c();
|
|
2175
|
+
t0 = internal.space();
|
|
2176
|
+
if (if_block1) if_block1.c();
|
|
2177
|
+
t1 = internal.space();
|
|
2178
|
+
internal.attr(div, "class", "carousel-item svelte-129jnm");
|
|
2179
|
+
internal.attr(div, "style", div_style_value = `object-fit: ${/*objectFit*/ ctx[5]};`);
|
|
2104
2180
|
},
|
|
2105
2181
|
m(target, anchor) {
|
|
2106
|
-
|
|
2107
|
-
|
|
2182
|
+
internal.insert(target, div, anchor);
|
|
2183
|
+
if (if_block0) if_block0.m(div, null);
|
|
2184
|
+
internal.append(div, t0);
|
|
2185
|
+
if (if_block1) if_block1.m(div, null);
|
|
2186
|
+
internal.append(div, t1);
|
|
2108
2187
|
},
|
|
2109
|
-
p(ctx,
|
|
2110
|
-
if (
|
|
2111
|
-
|
|
2112
|
-
|
|
2188
|
+
p(ctx, dirty) {
|
|
2189
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block0) {
|
|
2190
|
+
if_block0.p(ctx, dirty);
|
|
2191
|
+
} else {
|
|
2192
|
+
if (if_block0) if_block0.d(1);
|
|
2193
|
+
if_block0 = current_block_type && current_block_type(ctx);
|
|
2113
2194
|
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
} else {
|
|
2118
|
-
if_block = create_if_block$9(ctx);
|
|
2119
|
-
if_block.c();
|
|
2120
|
-
internal.transition_in(if_block, 1);
|
|
2121
|
-
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
2195
|
+
if (if_block0) {
|
|
2196
|
+
if_block0.c();
|
|
2197
|
+
if_block0.m(div, t0);
|
|
2122
2198
|
}
|
|
2123
|
-
}
|
|
2124
|
-
internal.group_outros();
|
|
2199
|
+
}
|
|
2125
2200
|
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2201
|
+
if (/*media*/ ctx[9].type === 'Video') {
|
|
2202
|
+
if (if_block1) {
|
|
2203
|
+
if_block1.p(ctx, dirty);
|
|
2204
|
+
} else {
|
|
2205
|
+
if_block1 = create_if_block_1$6();
|
|
2206
|
+
if_block1.c();
|
|
2207
|
+
if_block1.m(div, t1);
|
|
2208
|
+
}
|
|
2209
|
+
} else if (if_block1) {
|
|
2210
|
+
if_block1.d(1);
|
|
2211
|
+
if_block1 = null;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
if (dirty & /*objectFit*/ 32 && div_style_value !== (div_style_value = `object-fit: ${/*objectFit*/ ctx[5]};`)) {
|
|
2215
|
+
internal.attr(div, "style", div_style_value);
|
|
2216
|
+
}
|
|
2217
|
+
},
|
|
2218
|
+
d(detaching) {
|
|
2219
|
+
if (detaching) internal.detach(div);
|
|
2220
|
+
|
|
2221
|
+
if (if_block0) {
|
|
2222
|
+
if_block0.d();
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
if (if_block1) if_block1.d();
|
|
2226
|
+
}
|
|
2227
|
+
};
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
function create_fragment$d(ctx) {
|
|
2231
|
+
let if_block_anchor;
|
|
2232
|
+
let if_block = /*unfolded*/ ctx[3] && create_if_block$a(ctx);
|
|
2233
|
+
|
|
2234
|
+
return {
|
|
2235
|
+
c() {
|
|
2236
|
+
if (if_block) if_block.c();
|
|
2237
|
+
if_block_anchor = internal.empty();
|
|
2238
|
+
},
|
|
2239
|
+
m(target, anchor) {
|
|
2240
|
+
if (if_block) if_block.m(target, anchor);
|
|
2241
|
+
internal.insert(target, if_block_anchor, anchor);
|
|
2242
|
+
},
|
|
2243
|
+
p(ctx, [dirty]) {
|
|
2244
|
+
if (/*unfolded*/ ctx[3]) {
|
|
2245
|
+
if (if_block) {
|
|
2246
|
+
if_block.p(ctx, dirty);
|
|
2247
|
+
|
|
2248
|
+
if (dirty & /*unfolded*/ 8) {
|
|
2249
|
+
internal.transition_in(if_block, 1);
|
|
2250
|
+
}
|
|
2251
|
+
} else {
|
|
2252
|
+
if_block = create_if_block$a(ctx);
|
|
2253
|
+
if_block.c();
|
|
2254
|
+
internal.transition_in(if_block, 1);
|
|
2255
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
2256
|
+
}
|
|
2257
|
+
} else if (if_block) {
|
|
2258
|
+
internal.group_outros();
|
|
2259
|
+
|
|
2260
|
+
internal.transition_out(if_block, 1, 1, () => {
|
|
2261
|
+
if_block = null;
|
|
2262
|
+
});
|
|
2129
2263
|
|
|
2130
2264
|
internal.check_outros();
|
|
2131
2265
|
}
|
|
@@ -2143,31 +2277,45 @@ function create_fragment$c(ctx) {
|
|
|
2143
2277
|
};
|
|
2144
2278
|
}
|
|
2145
2279
|
|
|
2146
|
-
function instance$
|
|
2147
|
-
let
|
|
2280
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
2281
|
+
let mediaDataList;
|
|
2148
2282
|
let { mediaData } = $$props;
|
|
2149
2283
|
let { inDelay = 0 } = $$props;
|
|
2150
2284
|
let { outDelay = 0 } = $$props;
|
|
2151
2285
|
let { duration = 0 } = $$props;
|
|
2152
2286
|
let { unfolded = true } = $$props;
|
|
2287
|
+
let { animation = true } = $$props;
|
|
2288
|
+
let { objectFit = 'cover' } = $$props;
|
|
2289
|
+
let { enableCarousel = true } = $$props;
|
|
2153
2290
|
|
|
2154
2291
|
$$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(
|
|
2292
|
+
if ('mediaData' in $$props) $$invalidate(7, mediaData = $$props.mediaData);
|
|
2293
|
+
if ('inDelay' in $$props) $$invalidate(0, inDelay = $$props.inDelay);
|
|
2294
|
+
if ('outDelay' in $$props) $$invalidate(1, outDelay = $$props.outDelay);
|
|
2295
|
+
if ('duration' in $$props) $$invalidate(2, duration = $$props.duration);
|
|
2296
|
+
if ('unfolded' in $$props) $$invalidate(3, unfolded = $$props.unfolded);
|
|
2297
|
+
if ('animation' in $$props) $$invalidate(4, animation = $$props.animation);
|
|
2298
|
+
if ('objectFit' in $$props) $$invalidate(5, objectFit = $$props.objectFit);
|
|
2299
|
+
if ('enableCarousel' in $$props) $$invalidate(8, enableCarousel = $$props.enableCarousel);
|
|
2160
2300
|
};
|
|
2161
2301
|
|
|
2162
2302
|
$$self.$$.update = () => {
|
|
2163
|
-
if ($$self.$$.dirty & /*mediaData*/
|
|
2164
|
-
$$invalidate(
|
|
2165
|
-
? mediaData.url
|
|
2166
|
-
: mediaData.videoCoverUrl);
|
|
2303
|
+
if ($$self.$$.dirty & /*enableCarousel, mediaData*/ 384) {
|
|
2304
|
+
$$invalidate(6, mediaDataList = (enableCarousel ? mediaData : [mediaData[0]]).filter(notNil));
|
|
2167
2305
|
}
|
|
2168
2306
|
};
|
|
2169
2307
|
|
|
2170
|
-
return [
|
|
2308
|
+
return [
|
|
2309
|
+
inDelay,
|
|
2310
|
+
outDelay,
|
|
2311
|
+
duration,
|
|
2312
|
+
unfolded,
|
|
2313
|
+
animation,
|
|
2314
|
+
objectFit,
|
|
2315
|
+
mediaDataList,
|
|
2316
|
+
mediaData,
|
|
2317
|
+
enableCarousel
|
|
2318
|
+
];
|
|
2171
2319
|
}
|
|
2172
2320
|
|
|
2173
2321
|
class Media extends internal.SvelteComponent {
|
|
@@ -2177,36 +2325,39 @@ class Media extends internal.SvelteComponent {
|
|
|
2177
2325
|
internal.init(
|
|
2178
2326
|
this,
|
|
2179
2327
|
options,
|
|
2180
|
-
instance$
|
|
2181
|
-
create_fragment$
|
|
2328
|
+
instance$d,
|
|
2329
|
+
create_fragment$d,
|
|
2182
2330
|
internal.safe_not_equal,
|
|
2183
2331
|
{
|
|
2184
|
-
mediaData:
|
|
2185
|
-
inDelay:
|
|
2186
|
-
outDelay:
|
|
2187
|
-
duration:
|
|
2188
|
-
unfolded:
|
|
2332
|
+
mediaData: 7,
|
|
2333
|
+
inDelay: 0,
|
|
2334
|
+
outDelay: 1,
|
|
2335
|
+
duration: 2,
|
|
2336
|
+
unfolded: 3,
|
|
2337
|
+
animation: 4,
|
|
2338
|
+
objectFit: 5,
|
|
2339
|
+
enableCarousel: 8
|
|
2189
2340
|
},
|
|
2190
|
-
add_css$
|
|
2341
|
+
add_css$d
|
|
2191
2342
|
);
|
|
2192
2343
|
}
|
|
2193
2344
|
}
|
|
2194
2345
|
|
|
2195
|
-
/* src/PanoTagPlugin/Components/Tag/ImageTextTag.svelte generated by Svelte v3.
|
|
2346
|
+
/* src/PanoTagPlugin/Components/Tag/ImageTextTag.svelte generated by Svelte v3.50.1 */
|
|
2196
2347
|
|
|
2197
|
-
function add_css$
|
|
2348
|
+
function add_css$c(target) {
|
|
2198
2349
|
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
2350
|
}
|
|
2200
2351
|
|
|
2201
2352
|
function get_each_context$2(ctx, list, i) {
|
|
2202
2353
|
const child_ctx = ctx.slice();
|
|
2203
|
-
child_ctx[
|
|
2354
|
+
child_ctx[8] = list[i].id;
|
|
2204
2355
|
child_ctx[1] = list[i].content;
|
|
2205
2356
|
return child_ctx;
|
|
2206
2357
|
}
|
|
2207
2358
|
|
|
2208
2359
|
// (19:0) {#if tag.state}
|
|
2209
|
-
function create_if_block$
|
|
2360
|
+
function create_if_block$9(ctx) {
|
|
2210
2361
|
let shadow;
|
|
2211
2362
|
let t0;
|
|
2212
2363
|
let div;
|
|
@@ -2238,7 +2389,7 @@ function create_if_block$8(ctx) {
|
|
|
2238
2389
|
});
|
|
2239
2390
|
|
|
2240
2391
|
let each_value = /*textItems*/ ctx[2];
|
|
2241
|
-
const get_key = ctx => /*id*/ ctx[
|
|
2392
|
+
const get_key = ctx => /*id*/ ctx[8];
|
|
2242
2393
|
|
|
2243
2394
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
2244
2395
|
let child_ctx = get_each_context$2(ctx, each_value, i);
|
|
@@ -2414,10 +2565,10 @@ function create_each_block$2(key_1, ctx) {
|
|
|
2414
2565
|
// (29:2) {#if mediaData}
|
|
2415
2566
|
function create_if_block_1$5(ctx) {
|
|
2416
2567
|
let div;
|
|
2417
|
-
let
|
|
2568
|
+
let media;
|
|
2418
2569
|
let current;
|
|
2419
2570
|
|
|
2420
|
-
|
|
2571
|
+
media = new Media({
|
|
2421
2572
|
props: {
|
|
2422
2573
|
unfolded: /*unfolded*/ ctx[4],
|
|
2423
2574
|
mediaData: /*mediaData*/ ctx[3],
|
|
@@ -2429,40 +2580,40 @@ function create_if_block_1$5(ctx) {
|
|
|
2429
2580
|
return {
|
|
2430
2581
|
c() {
|
|
2431
2582
|
div = internal.element("div");
|
|
2432
|
-
internal.create_component(
|
|
2583
|
+
internal.create_component(media.$$.fragment);
|
|
2433
2584
|
internal.attr(div, "class", "media-wrapper svelte-1p8f9wy");
|
|
2434
2585
|
},
|
|
2435
2586
|
m(target, anchor) {
|
|
2436
2587
|
internal.insert(target, div, anchor);
|
|
2437
|
-
internal.mount_component(
|
|
2588
|
+
internal.mount_component(media, div, null);
|
|
2438
2589
|
current = true;
|
|
2439
2590
|
},
|
|
2440
2591
|
p(ctx, dirty) {
|
|
2441
|
-
const
|
|
2442
|
-
if (dirty & /*unfolded*/ 16)
|
|
2443
|
-
if (dirty & /*mediaData*/ 8)
|
|
2444
|
-
|
|
2592
|
+
const media_changes = {};
|
|
2593
|
+
if (dirty & /*unfolded*/ 16) media_changes.unfolded = /*unfolded*/ ctx[4];
|
|
2594
|
+
if (dirty & /*mediaData*/ 8) media_changes.mediaData = /*mediaData*/ ctx[3];
|
|
2595
|
+
media.$set(media_changes);
|
|
2445
2596
|
},
|
|
2446
2597
|
i(local) {
|
|
2447
2598
|
if (current) return;
|
|
2448
|
-
internal.transition_in(
|
|
2599
|
+
internal.transition_in(media.$$.fragment, local);
|
|
2449
2600
|
current = true;
|
|
2450
2601
|
},
|
|
2451
2602
|
o(local) {
|
|
2452
|
-
internal.transition_out(
|
|
2603
|
+
internal.transition_out(media.$$.fragment, local);
|
|
2453
2604
|
current = false;
|
|
2454
2605
|
},
|
|
2455
2606
|
d(detaching) {
|
|
2456
2607
|
if (detaching) internal.detach(div);
|
|
2457
|
-
internal.destroy_component(
|
|
2608
|
+
internal.destroy_component(media);
|
|
2458
2609
|
}
|
|
2459
2610
|
};
|
|
2460
2611
|
}
|
|
2461
2612
|
|
|
2462
|
-
function create_fragment$
|
|
2613
|
+
function create_fragment$c(ctx) {
|
|
2463
2614
|
let if_block_anchor;
|
|
2464
2615
|
let current;
|
|
2465
|
-
let if_block = /*tag*/ ctx[0].state && create_if_block$
|
|
2616
|
+
let if_block = /*tag*/ ctx[0].state && create_if_block$9(ctx);
|
|
2466
2617
|
|
|
2467
2618
|
return {
|
|
2468
2619
|
c() {
|
|
@@ -2483,7 +2634,7 @@ function create_fragment$b(ctx) {
|
|
|
2483
2634
|
internal.transition_in(if_block, 1);
|
|
2484
2635
|
}
|
|
2485
2636
|
} else {
|
|
2486
|
-
if_block = create_if_block$
|
|
2637
|
+
if_block = create_if_block$9(ctx);
|
|
2487
2638
|
if_block.c();
|
|
2488
2639
|
internal.transition_in(if_block, 1);
|
|
2489
2640
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -2514,11 +2665,11 @@ function create_fragment$b(ctx) {
|
|
|
2514
2665
|
};
|
|
2515
2666
|
}
|
|
2516
2667
|
|
|
2517
|
-
function instance$
|
|
2668
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
2518
2669
|
let unfolded;
|
|
2519
2670
|
let content;
|
|
2520
2671
|
let mediaData;
|
|
2521
|
-
var _a, _b, _c
|
|
2672
|
+
var _a, _b, _c;
|
|
2522
2673
|
let { tag } = $$props;
|
|
2523
2674
|
let textItems;
|
|
2524
2675
|
|
|
@@ -2543,10 +2694,8 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
2543
2694
|
: tag.data.text);
|
|
2544
2695
|
}
|
|
2545
2696
|
|
|
2546
|
-
if ($$self.$$.dirty & /*tag
|
|
2547
|
-
$$invalidate(3, mediaData =
|
|
2548
|
-
? void 0
|
|
2549
|
-
: _d[0]);
|
|
2697
|
+
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
2698
|
+
$$invalidate(3, mediaData = tag.data.mediaData);
|
|
2550
2699
|
}
|
|
2551
2700
|
|
|
2552
2701
|
if ($$self.$$.dirty & /*content*/ 2) {
|
|
@@ -2557,20 +2706,20 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
2557
2706
|
}
|
|
2558
2707
|
};
|
|
2559
2708
|
|
|
2560
|
-
return [tag, content, textItems, mediaData, unfolded, _a, _b, _c
|
|
2709
|
+
return [tag, content, textItems, mediaData, unfolded, _a, _b, _c];
|
|
2561
2710
|
}
|
|
2562
2711
|
|
|
2563
2712
|
class ImageTextTag extends internal.SvelteComponent {
|
|
2564
2713
|
constructor(options) {
|
|
2565
2714
|
super();
|
|
2566
|
-
internal.init(this, options, instance$
|
|
2715
|
+
internal.init(this, options, instance$c, create_fragment$c, internal.safe_not_equal, { tag: 0 }, add_css$c);
|
|
2567
2716
|
}
|
|
2568
2717
|
}
|
|
2569
2718
|
|
|
2570
|
-
/* src/PanoTagPlugin/Components/Tag/MarketingTag.svelte generated by Svelte v3.
|
|
2719
|
+
/* src/PanoTagPlugin/Components/Tag/MarketingTag.svelte generated by Svelte v3.50.1 */
|
|
2571
2720
|
|
|
2572
|
-
function add_css$
|
|
2573
|
-
internal.append_styles(target, "svelte-
|
|
2721
|
+
function add_css$b(target) {
|
|
2722
|
+
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
2723
|
}
|
|
2575
2724
|
|
|
2576
2725
|
function get_each_context$1(ctx, list, i) {
|
|
@@ -2585,7 +2734,7 @@ function get_each_context_1(ctx, list, i) {
|
|
|
2585
2734
|
return child_ctx;
|
|
2586
2735
|
}
|
|
2587
2736
|
|
|
2588
|
-
// (
|
|
2737
|
+
// (28:8) {#if tag}
|
|
2589
2738
|
function create_if_block_4$1(ctx) {
|
|
2590
2739
|
let div;
|
|
2591
2740
|
let t_value = /*tag*/ ctx[0] + "";
|
|
@@ -2595,7 +2744,7 @@ function create_if_block_4$1(ctx) {
|
|
|
2595
2744
|
c() {
|
|
2596
2745
|
div = internal.element("div");
|
|
2597
2746
|
t = internal.text(t_value);
|
|
2598
|
-
internal.attr(div, "class", "base-tag primary-tag svelte-
|
|
2747
|
+
internal.attr(div, "class", "base-tag primary-tag svelte-1dqrka8");
|
|
2599
2748
|
},
|
|
2600
2749
|
m(target, anchor) {
|
|
2601
2750
|
internal.insert(target, div, anchor);
|
|
@@ -2610,7 +2759,7 @@ function create_if_block_4$1(ctx) {
|
|
|
2610
2759
|
};
|
|
2611
2760
|
}
|
|
2612
2761
|
|
|
2613
|
-
// (
|
|
2762
|
+
// (27:6) {#each data.brandTags || [] as tag}
|
|
2614
2763
|
function create_each_block_1(ctx) {
|
|
2615
2764
|
let if_block_anchor;
|
|
2616
2765
|
let if_block = /*tag*/ ctx[0] && create_if_block_4$1(ctx);
|
|
@@ -2645,7 +2794,7 @@ function create_each_block_1(ctx) {
|
|
|
2645
2794
|
};
|
|
2646
2795
|
}
|
|
2647
2796
|
|
|
2648
|
-
// (
|
|
2797
|
+
// (33:8) {#if tag}
|
|
2649
2798
|
function create_if_block_3$1(ctx) {
|
|
2650
2799
|
let div;
|
|
2651
2800
|
let t_value = /*tag*/ ctx[0] + "";
|
|
@@ -2655,7 +2804,7 @@ function create_if_block_3$1(ctx) {
|
|
|
2655
2804
|
c() {
|
|
2656
2805
|
div = internal.element("div");
|
|
2657
2806
|
t = internal.text(t_value);
|
|
2658
|
-
internal.attr(div, "class", "base-tag secondary-tag svelte-
|
|
2807
|
+
internal.attr(div, "class", "base-tag secondary-tag svelte-1dqrka8");
|
|
2659
2808
|
},
|
|
2660
2809
|
m(target, anchor) {
|
|
2661
2810
|
internal.insert(target, div, anchor);
|
|
@@ -2670,7 +2819,7 @@ function create_if_block_3$1(ctx) {
|
|
|
2670
2819
|
};
|
|
2671
2820
|
}
|
|
2672
2821
|
|
|
2673
|
-
// (
|
|
2822
|
+
// (32:6) {#each data.tags || [] as tag}
|
|
2674
2823
|
function create_each_block$1(ctx) {
|
|
2675
2824
|
let if_block_anchor;
|
|
2676
2825
|
let if_block = /*tag*/ ctx[0] && create_if_block_3$1(ctx);
|
|
@@ -2705,7 +2854,7 @@ function create_each_block$1(ctx) {
|
|
|
2705
2854
|
};
|
|
2706
2855
|
}
|
|
2707
2856
|
|
|
2708
|
-
// (
|
|
2857
|
+
// (45:6) {#if data.price?.value !== undefined && data.price?.value !== null}
|
|
2709
2858
|
function create_if_block_1$4(ctx) {
|
|
2710
2859
|
let div;
|
|
2711
2860
|
let span;
|
|
@@ -2721,8 +2870,8 @@ function create_if_block_1$4(ctx) {
|
|
|
2721
2870
|
t0 = internal.text(t0_value);
|
|
2722
2871
|
t1 = internal.space();
|
|
2723
2872
|
if (if_block) if_block.c();
|
|
2724
|
-
internal.attr(span, "class", "value svelte-
|
|
2725
|
-
internal.attr(div, "class", "price svelte-
|
|
2873
|
+
internal.attr(span, "class", "value svelte-1dqrka8");
|
|
2874
|
+
internal.attr(div, "class", "price svelte-1dqrka8");
|
|
2726
2875
|
},
|
|
2727
2876
|
m(target, anchor) {
|
|
2728
2877
|
internal.insert(target, div, anchor);
|
|
@@ -2754,7 +2903,7 @@ function create_if_block_1$4(ctx) {
|
|
|
2754
2903
|
};
|
|
2755
2904
|
}
|
|
2756
2905
|
|
|
2757
|
-
// (
|
|
2906
|
+
// (50:10) {#if data.price.unit}
|
|
2758
2907
|
function create_if_block_2$2(ctx) {
|
|
2759
2908
|
let span;
|
|
2760
2909
|
let t_value = /*data*/ ctx[2].price.unit + "";
|
|
@@ -2764,7 +2913,7 @@ function create_if_block_2$2(ctx) {
|
|
|
2764
2913
|
c() {
|
|
2765
2914
|
span = internal.element("span");
|
|
2766
2915
|
t = internal.text(t_value);
|
|
2767
|
-
internal.attr(span, "class", "unit svelte-
|
|
2916
|
+
internal.attr(span, "class", "unit svelte-1dqrka8");
|
|
2768
2917
|
},
|
|
2769
2918
|
m(target, anchor) {
|
|
2770
2919
|
internal.insert(target, span, anchor);
|
|
@@ -2779,8 +2928,8 @@ function create_if_block_2$2(ctx) {
|
|
|
2779
2928
|
};
|
|
2780
2929
|
}
|
|
2781
2930
|
|
|
2782
|
-
// (
|
|
2783
|
-
function create_if_block$
|
|
2931
|
+
// (57:6) {#if data.highlightText}
|
|
2932
|
+
function create_if_block$8(ctx) {
|
|
2784
2933
|
let div;
|
|
2785
2934
|
let t_value = /*data*/ ctx[2].highlightText + "";
|
|
2786
2935
|
let t;
|
|
@@ -2789,7 +2938,7 @@ function create_if_block$7(ctx) {
|
|
|
2789
2938
|
c() {
|
|
2790
2939
|
div = internal.element("div");
|
|
2791
2940
|
t = internal.text(t_value);
|
|
2792
|
-
internal.attr(div, "class", "goto-button goto-icon svelte-
|
|
2941
|
+
internal.attr(div, "class", "goto-button goto-icon svelte-1dqrka8");
|
|
2793
2942
|
},
|
|
2794
2943
|
m(target, anchor) {
|
|
2795
2944
|
internal.insert(target, div, anchor);
|
|
@@ -2804,7 +2953,7 @@ function create_if_block$7(ctx) {
|
|
|
2804
2953
|
};
|
|
2805
2954
|
}
|
|
2806
2955
|
|
|
2807
|
-
function create_fragment$
|
|
2956
|
+
function create_fragment$b(ctx) {
|
|
2808
2957
|
let div6;
|
|
2809
2958
|
let shadow;
|
|
2810
2959
|
let t0;
|
|
@@ -2852,7 +3001,7 @@ function create_fragment$a(ctx) {
|
|
|
2852
3001
|
}
|
|
2853
3002
|
|
|
2854
3003
|
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$
|
|
3004
|
+
let if_block1 = /*data*/ ctx[2].highlightText && create_if_block$8(ctx);
|
|
2856
3005
|
|
|
2857
3006
|
return {
|
|
2858
3007
|
c() {
|
|
@@ -2885,7 +3034,7 @@ function create_fragment$a(ctx) {
|
|
|
2885
3034
|
if (if_block0) if_block0.c();
|
|
2886
3035
|
t7 = internal.space();
|
|
2887
3036
|
if (if_block1) if_block1.c();
|
|
2888
|
-
internal.attr(div0, "class", "line svelte-
|
|
3037
|
+
internal.attr(div0, "class", "line svelte-1dqrka8");
|
|
2889
3038
|
|
|
2890
3039
|
internal.set_style(
|
|
2891
3040
|
div0,
|
|
@@ -2896,13 +3045,13 @@ function create_fragment$a(ctx) {
|
|
|
2896
3045
|
false
|
|
2897
3046
|
);
|
|
2898
3047
|
|
|
2899
|
-
internal.attr(img, "class", "headerImage svelte-
|
|
3048
|
+
internal.attr(img, "class", "headerImage svelte-1dqrka8");
|
|
2900
3049
|
if (!internal.src_url_equal(img.src, img_src_value = /*data*/ ctx[2].headerPictureUrl)) internal.attr(img, "src", img_src_value);
|
|
2901
3050
|
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-
|
|
3051
|
+
internal.attr(div1, "class", "tag svelte-1dqrka8");
|
|
3052
|
+
internal.attr(div2, "class", "text svelte-1dqrka8");
|
|
3053
|
+
internal.attr(div3, "class", "title svelte-1dqrka8");
|
|
3054
|
+
internal.attr(div4, "class", "footer svelte-1dqrka8");
|
|
2906
3055
|
|
|
2907
3056
|
internal.set_style(
|
|
2908
3057
|
div4,
|
|
@@ -2913,7 +3062,7 @@ function create_fragment$a(ctx) {
|
|
|
2913
3062
|
false
|
|
2914
3063
|
);
|
|
2915
3064
|
|
|
2916
|
-
internal.attr(div5, "class", "content svelte-
|
|
3065
|
+
internal.attr(div5, "class", "content svelte-1dqrka8");
|
|
2917
3066
|
|
|
2918
3067
|
internal.set_style(
|
|
2919
3068
|
div5,
|
|
@@ -2924,7 +3073,7 @@ function create_fragment$a(ctx) {
|
|
|
2924
3073
|
false
|
|
2925
3074
|
);
|
|
2926
3075
|
|
|
2927
|
-
internal.attr(div6, "class", "marketing svelte-
|
|
3076
|
+
internal.attr(div6, "class", "marketing svelte-1dqrka8");
|
|
2928
3077
|
internal.toggle_class(div6, "unfolded", /*unfolded*/ ctx[1]);
|
|
2929
3078
|
internal.toggle_class(div6, "folded", /*folded*/ ctx[3]);
|
|
2930
3079
|
},
|
|
@@ -3045,7 +3194,7 @@ function create_fragment$a(ctx) {
|
|
|
3045
3194
|
if (if_block1) {
|
|
3046
3195
|
if_block1.p(ctx, dirty);
|
|
3047
3196
|
} else {
|
|
3048
|
-
if_block1 = create_if_block$
|
|
3197
|
+
if_block1 = create_if_block$8(ctx);
|
|
3049
3198
|
if_block1.c();
|
|
3050
3199
|
if_block1.m(div4, null);
|
|
3051
3200
|
}
|
|
@@ -3076,11 +3225,11 @@ function create_fragment$a(ctx) {
|
|
|
3076
3225
|
);
|
|
3077
3226
|
}
|
|
3078
3227
|
|
|
3079
|
-
if (dirty & /*unfolded*/ 2) {
|
|
3228
|
+
if (!current || dirty & /*unfolded*/ 2) {
|
|
3080
3229
|
internal.toggle_class(div6, "unfolded", /*unfolded*/ ctx[1]);
|
|
3081
3230
|
}
|
|
3082
3231
|
|
|
3083
|
-
if (dirty & /*folded*/ 8) {
|
|
3232
|
+
if (!current || dirty & /*folded*/ 8) {
|
|
3084
3233
|
internal.toggle_class(div6, "folded", /*folded*/ ctx[3]);
|
|
3085
3234
|
}
|
|
3086
3235
|
},
|
|
@@ -3115,7 +3264,7 @@ const tagContentShowWhenLineStartGrow = 180;
|
|
|
3115
3264
|
// 标签出现时长
|
|
3116
3265
|
const tagContentShow = 500;
|
|
3117
3266
|
|
|
3118
|
-
function instance$
|
|
3267
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
3119
3268
|
let unfolded;
|
|
3120
3269
|
let folded;
|
|
3121
3270
|
let data;
|
|
@@ -3150,18 +3299,18 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
3150
3299
|
class MarketingTag extends internal.SvelteComponent {
|
|
3151
3300
|
constructor(options) {
|
|
3152
3301
|
super();
|
|
3153
|
-
internal.init(this, options, instance$
|
|
3302
|
+
internal.init(this, options, instance$b, create_fragment$b, internal.safe_not_equal, { tag: 0 }, add_css$b);
|
|
3154
3303
|
}
|
|
3155
3304
|
}
|
|
3156
3305
|
|
|
3157
|
-
/* src/PanoTagPlugin/Components/Common/Audio.svelte generated by Svelte v3.
|
|
3306
|
+
/* src/PanoTagPlugin/Components/Common/Audio.svelte generated by Svelte v3.50.1 */
|
|
3158
3307
|
|
|
3159
|
-
function add_css$
|
|
3308
|
+
function add_css$a(target) {
|
|
3160
3309
|
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
3310
|
}
|
|
3162
3311
|
|
|
3163
3312
|
// (34:0) {#if unfolded}
|
|
3164
|
-
function create_if_block$
|
|
3313
|
+
function create_if_block$7(ctx) {
|
|
3165
3314
|
let div1;
|
|
3166
3315
|
let shadow;
|
|
3167
3316
|
let t0;
|
|
@@ -3180,8 +3329,7 @@ function create_if_block$6(ctx) {
|
|
|
3180
3329
|
props: {
|
|
3181
3330
|
center: true,
|
|
3182
3331
|
blurRadius: 15,
|
|
3183
|
-
spreadRadius: 6
|
|
3184
|
-
zIndex: -1
|
|
3332
|
+
spreadRadius: 6
|
|
3185
3333
|
}
|
|
3186
3334
|
});
|
|
3187
3335
|
|
|
@@ -3231,7 +3379,7 @@ function create_if_block$6(ctx) {
|
|
|
3231
3379
|
audio_1[audio_1_is_paused ? "pause" : "play"]();
|
|
3232
3380
|
}
|
|
3233
3381
|
|
|
3234
|
-
if (dirty & /*paused*/ 64) {
|
|
3382
|
+
if (!current || dirty & /*paused*/ 64) {
|
|
3235
3383
|
internal.toggle_class(div1, "paused", /*paused*/ ctx[6]);
|
|
3236
3384
|
}
|
|
3237
3385
|
},
|
|
@@ -3280,10 +3428,10 @@ function create_if_block$6(ctx) {
|
|
|
3280
3428
|
};
|
|
3281
3429
|
}
|
|
3282
3430
|
|
|
3283
|
-
function create_fragment$
|
|
3431
|
+
function create_fragment$a(ctx) {
|
|
3284
3432
|
let if_block_anchor;
|
|
3285
3433
|
let current;
|
|
3286
|
-
let if_block = /*unfolded*/ ctx[4] && create_if_block$
|
|
3434
|
+
let if_block = /*unfolded*/ ctx[4] && create_if_block$7(ctx);
|
|
3287
3435
|
|
|
3288
3436
|
return {
|
|
3289
3437
|
c() {
|
|
@@ -3304,7 +3452,7 @@ function create_fragment$9(ctx) {
|
|
|
3304
3452
|
internal.transition_in(if_block, 1);
|
|
3305
3453
|
}
|
|
3306
3454
|
} else {
|
|
3307
|
-
if_block = create_if_block$
|
|
3455
|
+
if_block = create_if_block$7(ctx);
|
|
3308
3456
|
if_block.c();
|
|
3309
3457
|
internal.transition_in(if_block, 1);
|
|
3310
3458
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -3335,7 +3483,7 @@ function create_fragment$9(ctx) {
|
|
|
3335
3483
|
};
|
|
3336
3484
|
}
|
|
3337
3485
|
|
|
3338
|
-
function instance$
|
|
3486
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
3339
3487
|
let { inDelay = 0 } = $$props;
|
|
3340
3488
|
let { outDelay = 0 } = $$props;
|
|
3341
3489
|
let { duration = 0 } = $$props;
|
|
@@ -3450,8 +3598,8 @@ class Audio extends internal.SvelteComponent {
|
|
|
3450
3598
|
internal.init(
|
|
3451
3599
|
this,
|
|
3452
3600
|
options,
|
|
3453
|
-
instance$
|
|
3454
|
-
create_fragment$
|
|
3601
|
+
instance$a,
|
|
3602
|
+
create_fragment$a,
|
|
3455
3603
|
internal.safe_not_equal,
|
|
3456
3604
|
{
|
|
3457
3605
|
inDelay: 0,
|
|
@@ -3462,19 +3610,19 @@ class Audio extends internal.SvelteComponent {
|
|
|
3462
3610
|
mediaStore: 8,
|
|
3463
3611
|
hooksInfo: 9
|
|
3464
3612
|
},
|
|
3465
|
-
add_css$
|
|
3613
|
+
add_css$a
|
|
3466
3614
|
);
|
|
3467
3615
|
}
|
|
3468
3616
|
}
|
|
3469
3617
|
|
|
3470
|
-
/* src/PanoTagPlugin/Components/Tag/AudioTag.svelte generated by Svelte v3.
|
|
3618
|
+
/* src/PanoTagPlugin/Components/Tag/AudioTag.svelte generated by Svelte v3.50.1 */
|
|
3471
3619
|
|
|
3472
|
-
function add_css$
|
|
3620
|
+
function add_css$9(target) {
|
|
3473
3621
|
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
3622
|
}
|
|
3475
3623
|
|
|
3476
3624
|
// (28:0) {#if tag.state}
|
|
3477
|
-
function create_if_block$
|
|
3625
|
+
function create_if_block$6(ctx) {
|
|
3478
3626
|
let div5;
|
|
3479
3627
|
let shadow;
|
|
3480
3628
|
let t0;
|
|
@@ -3605,7 +3753,7 @@ function create_if_block$5(ctx) {
|
|
|
3605
3753
|
if (dirty & /*textItems*/ 16) multilinetext_changes.textItems = /*textItems*/ ctx[4];
|
|
3606
3754
|
multilinetext.$set(multilinetext_changes);
|
|
3607
3755
|
|
|
3608
|
-
if (dirty & /*unfolded*/ 64) {
|
|
3756
|
+
if (!current || dirty & /*unfolded*/ 64) {
|
|
3609
3757
|
internal.toggle_class(div5, "unfolded", /*unfolded*/ ctx[6]);
|
|
3610
3758
|
}
|
|
3611
3759
|
},
|
|
@@ -3637,10 +3785,10 @@ function create_if_block$5(ctx) {
|
|
|
3637
3785
|
};
|
|
3638
3786
|
}
|
|
3639
3787
|
|
|
3640
|
-
function create_fragment$
|
|
3788
|
+
function create_fragment$9(ctx) {
|
|
3641
3789
|
let if_block_anchor;
|
|
3642
3790
|
let current;
|
|
3643
|
-
let if_block = /*tag*/ ctx[1].state && create_if_block$
|
|
3791
|
+
let if_block = /*tag*/ ctx[1].state && create_if_block$6(ctx);
|
|
3644
3792
|
|
|
3645
3793
|
return {
|
|
3646
3794
|
c() {
|
|
@@ -3661,7 +3809,7 @@ function create_fragment$8(ctx) {
|
|
|
3661
3809
|
internal.transition_in(if_block, 1);
|
|
3662
3810
|
}
|
|
3663
3811
|
} else {
|
|
3664
|
-
if_block = create_if_block$
|
|
3812
|
+
if_block = create_if_block$6(ctx);
|
|
3665
3813
|
if_block.c();
|
|
3666
3814
|
internal.transition_in(if_block, 1);
|
|
3667
3815
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -3692,7 +3840,7 @@ function create_fragment$8(ctx) {
|
|
|
3692
3840
|
};
|
|
3693
3841
|
}
|
|
3694
3842
|
|
|
3695
|
-
function instance$
|
|
3843
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
3696
3844
|
let unfolded;
|
|
3697
3845
|
let text;
|
|
3698
3846
|
let foldTextDelay;
|
|
@@ -3759,14 +3907,165 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
3759
3907
|
class AudioTag extends internal.SvelteComponent {
|
|
3760
3908
|
constructor(options) {
|
|
3761
3909
|
super();
|
|
3762
|
-
internal.init(this, options, instance$
|
|
3910
|
+
internal.init(this, options, instance$9, create_fragment$9, internal.safe_not_equal, { mediaStore: 0, tag: 1 }, add_css$9);
|
|
3911
|
+
}
|
|
3912
|
+
}
|
|
3913
|
+
|
|
3914
|
+
/* src/PanoTagPlugin/Components/Tag/MediaPlane.svelte generated by Svelte v3.50.1 */
|
|
3915
|
+
|
|
3916
|
+
function add_css$8(target) {
|
|
3917
|
+
internal.append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
3918
|
+
}
|
|
3919
|
+
|
|
3920
|
+
// (18:0) {#if tag.state && mediaData}
|
|
3921
|
+
function create_if_block$5(ctx) {
|
|
3922
|
+
let div;
|
|
3923
|
+
let media;
|
|
3924
|
+
let current;
|
|
3925
|
+
|
|
3926
|
+
media = new Media({
|
|
3927
|
+
props: {
|
|
3928
|
+
unfolded: /*unfolded*/ ctx[3],
|
|
3929
|
+
mediaData: /*mediaData*/ ctx[2],
|
|
3930
|
+
objectFit: /*objectFit*/ ctx[1],
|
|
3931
|
+
enableCarousel: true,
|
|
3932
|
+
inDelay: 500,
|
|
3933
|
+
duration: 500
|
|
3934
|
+
}
|
|
3935
|
+
});
|
|
3936
|
+
|
|
3937
|
+
return {
|
|
3938
|
+
c() {
|
|
3939
|
+
div = internal.element("div");
|
|
3940
|
+
internal.create_component(media.$$.fragment);
|
|
3941
|
+
internal.attr(div, "class", "media-wrapper svelte-10cw0el");
|
|
3942
|
+
},
|
|
3943
|
+
m(target, anchor) {
|
|
3944
|
+
internal.insert(target, div, anchor);
|
|
3945
|
+
internal.mount_component(media, div, null);
|
|
3946
|
+
current = true;
|
|
3947
|
+
},
|
|
3948
|
+
p(ctx, dirty) {
|
|
3949
|
+
const media_changes = {};
|
|
3950
|
+
if (dirty & /*unfolded*/ 8) media_changes.unfolded = /*unfolded*/ ctx[3];
|
|
3951
|
+
if (dirty & /*mediaData*/ 4) media_changes.mediaData = /*mediaData*/ ctx[2];
|
|
3952
|
+
if (dirty & /*objectFit*/ 2) media_changes.objectFit = /*objectFit*/ ctx[1];
|
|
3953
|
+
media.$set(media_changes);
|
|
3954
|
+
},
|
|
3955
|
+
i(local) {
|
|
3956
|
+
if (current) return;
|
|
3957
|
+
internal.transition_in(media.$$.fragment, local);
|
|
3958
|
+
current = true;
|
|
3959
|
+
},
|
|
3960
|
+
o(local) {
|
|
3961
|
+
internal.transition_out(media.$$.fragment, local);
|
|
3962
|
+
current = false;
|
|
3963
|
+
},
|
|
3964
|
+
d(detaching) {
|
|
3965
|
+
if (detaching) internal.detach(div);
|
|
3966
|
+
internal.destroy_component(media);
|
|
3967
|
+
}
|
|
3968
|
+
};
|
|
3969
|
+
}
|
|
3970
|
+
|
|
3971
|
+
function create_fragment$8(ctx) {
|
|
3972
|
+
let if_block_anchor;
|
|
3973
|
+
let current;
|
|
3974
|
+
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[2] && create_if_block$5(ctx);
|
|
3975
|
+
|
|
3976
|
+
return {
|
|
3977
|
+
c() {
|
|
3978
|
+
if (if_block) if_block.c();
|
|
3979
|
+
if_block_anchor = internal.empty();
|
|
3980
|
+
},
|
|
3981
|
+
m(target, anchor) {
|
|
3982
|
+
if (if_block) if_block.m(target, anchor);
|
|
3983
|
+
internal.insert(target, if_block_anchor, anchor);
|
|
3984
|
+
current = true;
|
|
3985
|
+
},
|
|
3986
|
+
p(ctx, [dirty]) {
|
|
3987
|
+
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[2]) {
|
|
3988
|
+
if (if_block) {
|
|
3989
|
+
if_block.p(ctx, dirty);
|
|
3990
|
+
|
|
3991
|
+
if (dirty & /*tag, mediaData*/ 5) {
|
|
3992
|
+
internal.transition_in(if_block, 1);
|
|
3993
|
+
}
|
|
3994
|
+
} else {
|
|
3995
|
+
if_block = create_if_block$5(ctx);
|
|
3996
|
+
if_block.c();
|
|
3997
|
+
internal.transition_in(if_block, 1);
|
|
3998
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
3999
|
+
}
|
|
4000
|
+
} else if (if_block) {
|
|
4001
|
+
internal.group_outros();
|
|
4002
|
+
|
|
4003
|
+
internal.transition_out(if_block, 1, 1, () => {
|
|
4004
|
+
if_block = null;
|
|
4005
|
+
});
|
|
4006
|
+
|
|
4007
|
+
internal.check_outros();
|
|
4008
|
+
}
|
|
4009
|
+
},
|
|
4010
|
+
i(local) {
|
|
4011
|
+
if (current) return;
|
|
4012
|
+
internal.transition_in(if_block);
|
|
4013
|
+
current = true;
|
|
4014
|
+
},
|
|
4015
|
+
o(local) {
|
|
4016
|
+
internal.transition_out(if_block);
|
|
4017
|
+
current = false;
|
|
4018
|
+
},
|
|
4019
|
+
d(detaching) {
|
|
4020
|
+
if (if_block) if_block.d(detaching);
|
|
4021
|
+
if (detaching) internal.detach(if_block_anchor);
|
|
4022
|
+
}
|
|
4023
|
+
};
|
|
4024
|
+
}
|
|
4025
|
+
|
|
4026
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
4027
|
+
let unfolded;
|
|
4028
|
+
let mediaData;
|
|
4029
|
+
let objectFit;
|
|
4030
|
+
var _a;
|
|
4031
|
+
let { tag } = $$props;
|
|
4032
|
+
|
|
4033
|
+
$$self.$$set = $$props => {
|
|
4034
|
+
if ('tag' in $$props) $$invalidate(0, tag = $$props.tag);
|
|
4035
|
+
};
|
|
4036
|
+
|
|
4037
|
+
$$self.$$.update = () => {
|
|
4038
|
+
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
4039
|
+
$$invalidate(3, unfolded = tag.state ? tag.state.unfolded : false);
|
|
4040
|
+
}
|
|
4041
|
+
|
|
4042
|
+
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
4043
|
+
$$invalidate(2, mediaData = tag.data.mediaData);
|
|
4044
|
+
}
|
|
4045
|
+
|
|
4046
|
+
if ($$self.$$.dirty & /*tag, _a*/ 17) {
|
|
4047
|
+
$$invalidate(1, objectFit = $$invalidate(4, _a = tag.data.objectFit) !== null && _a !== void 0
|
|
4048
|
+
? _a
|
|
4049
|
+
: (() => {
|
|
4050
|
+
if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
|
|
4051
|
+
})());
|
|
4052
|
+
}
|
|
4053
|
+
};
|
|
4054
|
+
|
|
4055
|
+
return [tag, objectFit, mediaData, unfolded, _a];
|
|
4056
|
+
}
|
|
4057
|
+
|
|
4058
|
+
class MediaPlane extends internal.SvelteComponent {
|
|
4059
|
+
constructor(options) {
|
|
4060
|
+
super();
|
|
4061
|
+
internal.init(this, options, instance$8, create_fragment$8, internal.safe_not_equal, { tag: 0 }, add_css$8);
|
|
3763
4062
|
}
|
|
3764
4063
|
}
|
|
3765
4064
|
|
|
3766
|
-
/* src/PanoTagPlugin/Components/Tag/LinkTag.svelte generated by Svelte v3.
|
|
4065
|
+
/* src/PanoTagPlugin/Components/Tag/LinkTag.svelte generated by Svelte v3.50.1 */
|
|
3767
4066
|
|
|
3768
4067
|
function add_css$7(target) {
|
|
3769
|
-
internal.append_styles(target, "svelte-
|
|
4068
|
+
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
4069
|
}
|
|
3771
4070
|
|
|
3772
4071
|
// (14:52)
|
|
@@ -3794,7 +4093,7 @@ function create_if_block_1$3(ctx) {
|
|
|
3794
4093
|
internal.create_component(shadow.$$.fragment);
|
|
3795
4094
|
t = internal.space();
|
|
3796
4095
|
div = internal.element("div");
|
|
3797
|
-
internal.attr(div, "class", "link svelte-
|
|
4096
|
+
internal.attr(div, "class", "link svelte-135cbxk");
|
|
3798
4097
|
},
|
|
3799
4098
|
m(target, anchor) {
|
|
3800
4099
|
internal.mount_component(shadow, target, anchor);
|
|
@@ -3852,9 +4151,9 @@ function create_if_block$4(ctx) {
|
|
|
3852
4151
|
div1 = internal.element("div");
|
|
3853
4152
|
t2 = internal.space();
|
|
3854
4153
|
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-
|
|
4154
|
+
internal.attr(div0, "class", "arrow0 svelte-135cbxk");
|
|
4155
|
+
internal.attr(div1, "class", "arrow1 svelte-135cbxk");
|
|
4156
|
+
internal.attr(div2, "class", "arrow2 svelte-135cbxk");
|
|
3858
4157
|
},
|
|
3859
4158
|
m(target, anchor) {
|
|
3860
4159
|
internal.mount_component(shadow, target, anchor);
|
|
@@ -3938,10 +4237,10 @@ function create_fragment$7(ctx) {
|
|
|
3938
4237
|
t1 = internal.space();
|
|
3939
4238
|
div1 = internal.element("div");
|
|
3940
4239
|
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-
|
|
4240
|
+
internal.attr(div0, "class", "icon svelte-135cbxk");
|
|
4241
|
+
internal.attr(div1, "class", "text svelte-135cbxk");
|
|
4242
|
+
internal.attr(div2, "class", "text-wrapper svelte-135cbxk");
|
|
4243
|
+
internal.attr(div3, "class", "wrapper svelte-135cbxk");
|
|
3945
4244
|
},
|
|
3946
4245
|
m(target, anchor) {
|
|
3947
4246
|
internal.insert(target, div3, anchor);
|
|
@@ -4038,13 +4337,13 @@ class LinkTag extends internal.SvelteComponent {
|
|
|
4038
4337
|
}
|
|
4039
4338
|
}
|
|
4040
4339
|
|
|
4041
|
-
/* src/PanoTagPlugin/Components/Tag/CustomTag.svelte generated by Svelte v3.
|
|
4340
|
+
/* src/PanoTagPlugin/Components/Tag/CustomTag.svelte generated by Svelte v3.50.1 */
|
|
4042
4341
|
|
|
4043
4342
|
function add_css$6(target) {
|
|
4044
4343
|
internal.append_styles(target, "svelte-kzl2aj", ".customElement__container.svelte-kzl2aj{position:relative}");
|
|
4045
4344
|
}
|
|
4046
4345
|
|
|
4047
|
-
// (24:2) {#if tag.element === 'string'}
|
|
4346
|
+
// (24:2) {#if typeof tag.element === 'string'}
|
|
4048
4347
|
function create_if_block$3(ctx) {
|
|
4049
4348
|
let html_tag;
|
|
4050
4349
|
let raw_value = /*tag*/ ctx[0].element + "";
|
|
@@ -4072,7 +4371,7 @@ function create_if_block$3(ctx) {
|
|
|
4072
4371
|
|
|
4073
4372
|
function create_fragment$6(ctx) {
|
|
4074
4373
|
let div;
|
|
4075
|
-
let if_block = /*tag*/ ctx[0].element === 'string' && create_if_block$3(ctx);
|
|
4374
|
+
let if_block = typeof /*tag*/ ctx[0].element === 'string' && create_if_block$3(ctx);
|
|
4076
4375
|
|
|
4077
4376
|
return {
|
|
4078
4377
|
c() {
|
|
@@ -4086,7 +4385,7 @@ function create_fragment$6(ctx) {
|
|
|
4086
4385
|
/*div_binding*/ ctx[2](div);
|
|
4087
4386
|
},
|
|
4088
4387
|
p(ctx, [dirty]) {
|
|
4089
|
-
if (/*tag*/ ctx[0].element === 'string') {
|
|
4388
|
+
if (typeof /*tag*/ ctx[0].element === 'string') {
|
|
4090
4389
|
if (if_block) {
|
|
4091
4390
|
if_block.p(ctx, dirty);
|
|
4092
4391
|
} else {
|
|
@@ -4157,13 +4456,50 @@ class CustomTag extends internal.SvelteComponent {
|
|
|
4157
4456
|
}
|
|
4158
4457
|
}
|
|
4159
4458
|
|
|
4160
|
-
/* src/PanoTagPlugin/Components/Tag/index.svelte generated by Svelte v3.
|
|
4459
|
+
/* src/PanoTagPlugin/Components/Tag/index.svelte generated by Svelte v3.50.1 */
|
|
4161
4460
|
|
|
4162
4461
|
function add_css$5(target) {
|
|
4163
|
-
internal.append_styles(target, "svelte-
|
|
4462
|
+
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}");
|
|
4463
|
+
}
|
|
4464
|
+
|
|
4465
|
+
// (68:59)
|
|
4466
|
+
function create_if_block_6(ctx) {
|
|
4467
|
+
let mediaplane;
|
|
4468
|
+
let current;
|
|
4469
|
+
|
|
4470
|
+
mediaplane = new MediaPlane({
|
|
4471
|
+
props: { tag: noTypecheck(/*tag*/ ctx[1]) }
|
|
4472
|
+
});
|
|
4473
|
+
|
|
4474
|
+
return {
|
|
4475
|
+
c() {
|
|
4476
|
+
internal.create_component(mediaplane.$$.fragment);
|
|
4477
|
+
},
|
|
4478
|
+
m(target, anchor) {
|
|
4479
|
+
internal.mount_component(mediaplane, target, anchor);
|
|
4480
|
+
current = true;
|
|
4481
|
+
},
|
|
4482
|
+
p(ctx, dirty) {
|
|
4483
|
+
const mediaplane_changes = {};
|
|
4484
|
+
if (dirty & /*tag*/ 2) mediaplane_changes.tag = noTypecheck(/*tag*/ ctx[1]);
|
|
4485
|
+
mediaplane.$set(mediaplane_changes);
|
|
4486
|
+
},
|
|
4487
|
+
i(local) {
|
|
4488
|
+
if (current) return;
|
|
4489
|
+
internal.transition_in(mediaplane.$$.fragment, local);
|
|
4490
|
+
current = true;
|
|
4491
|
+
},
|
|
4492
|
+
o(local) {
|
|
4493
|
+
internal.transition_out(mediaplane.$$.fragment, local);
|
|
4494
|
+
current = false;
|
|
4495
|
+
},
|
|
4496
|
+
d(detaching) {
|
|
4497
|
+
internal.destroy_component(mediaplane, detaching);
|
|
4498
|
+
}
|
|
4499
|
+
};
|
|
4164
4500
|
}
|
|
4165
4501
|
|
|
4166
|
-
// (
|
|
4502
|
+
// (66:53)
|
|
4167
4503
|
function create_if_block_5(ctx) {
|
|
4168
4504
|
let linktag;
|
|
4169
4505
|
let current;
|
|
@@ -4200,7 +4536,7 @@ function create_if_block_5(ctx) {
|
|
|
4200
4536
|
};
|
|
4201
4537
|
}
|
|
4202
4538
|
|
|
4203
|
-
// (
|
|
4539
|
+
// (64:58)
|
|
4204
4540
|
function create_if_block_4(ctx) {
|
|
4205
4541
|
let marketingtag;
|
|
4206
4542
|
let current;
|
|
@@ -4237,7 +4573,7 @@ function create_if_block_4(ctx) {
|
|
|
4237
4573
|
};
|
|
4238
4574
|
}
|
|
4239
4575
|
|
|
4240
|
-
// (
|
|
4576
|
+
// (62:54)
|
|
4241
4577
|
function create_if_block_3(ctx) {
|
|
4242
4578
|
let audiotag;
|
|
4243
4579
|
let current;
|
|
@@ -4278,7 +4614,7 @@ function create_if_block_3(ctx) {
|
|
|
4278
4614
|
};
|
|
4279
4615
|
}
|
|
4280
4616
|
|
|
4281
|
-
// (
|
|
4617
|
+
// (60:58)
|
|
4282
4618
|
function create_if_block_2$1(ctx) {
|
|
4283
4619
|
let imagetexttag;
|
|
4284
4620
|
let current;
|
|
@@ -4315,7 +4651,7 @@ function create_if_block_2$1(ctx) {
|
|
|
4315
4651
|
};
|
|
4316
4652
|
}
|
|
4317
4653
|
|
|
4318
|
-
// (
|
|
4654
|
+
// (58:53)
|
|
4319
4655
|
function create_if_block_1$2(ctx) {
|
|
4320
4656
|
let texttag;
|
|
4321
4657
|
let current;
|
|
@@ -4352,7 +4688,7 @@ function create_if_block_1$2(ctx) {
|
|
|
4352
4688
|
};
|
|
4353
4689
|
}
|
|
4354
4690
|
|
|
4355
|
-
// (
|
|
4691
|
+
// (56:6) {#if tag.element}
|
|
4356
4692
|
function create_if_block$2(ctx) {
|
|
4357
4693
|
let customtag;
|
|
4358
4694
|
let current;
|
|
@@ -4406,7 +4742,8 @@ function create_fragment$5(ctx) {
|
|
|
4406
4742
|
create_if_block_2$1,
|
|
4407
4743
|
create_if_block_3,
|
|
4408
4744
|
create_if_block_4,
|
|
4409
|
-
create_if_block_5
|
|
4745
|
+
create_if_block_5,
|
|
4746
|
+
create_if_block_6
|
|
4410
4747
|
];
|
|
4411
4748
|
|
|
4412
4749
|
const if_blocks = [];
|
|
@@ -4418,6 +4755,7 @@ function create_fragment$5(ctx) {
|
|
|
4418
4755
|
if (/*tag*/ ctx[1].contentType === exports.ContentType.Audio) return 3;
|
|
4419
4756
|
if (/*tag*/ ctx[1].contentType === exports.ContentType.Marketing) return 4;
|
|
4420
4757
|
if (/*tag*/ ctx[1].contentType === exports.ContentType.Link) return 5;
|
|
4758
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.MediaPlane) return 6;
|
|
4421
4759
|
return -1;
|
|
4422
4760
|
}
|
|
4423
4761
|
|
|
@@ -4431,14 +4769,17 @@ function create_fragment$5(ctx) {
|
|
|
4431
4769
|
div1 = internal.element("div");
|
|
4432
4770
|
div0 = internal.element("div");
|
|
4433
4771
|
if (if_block) if_block.c();
|
|
4434
|
-
internal.attr(div0, "class", "content svelte-
|
|
4772
|
+
internal.attr(div0, "class", "content svelte-6jfp1v");
|
|
4435
4773
|
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-
|
|
4774
|
+
internal.attr(div1, "class", "content__wrapper svelte-6jfp1v");
|
|
4775
|
+
internal.attr(div2, "class", "content__container svelte-6jfp1v");
|
|
4438
4776
|
internal.attr(div2, "data-id", div2_data_id_value = /*tag*/ ctx[1].id);
|
|
4439
4777
|
internal.toggle_class(div2, "disable", /*tag*/ ctx[1].enabled === false || /*tag*/ ctx[1].temporaryState?.visible === false);
|
|
4440
4778
|
internal.toggle_class(div2, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible || !/*tag*/ ctx[1].state?.visible);
|
|
4441
4779
|
internal.toggle_class(div2, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
4780
|
+
internal.toggle_class(div2, "unClickable", /*tag*/ ctx[1].clickable === false);
|
|
4781
|
+
internal.set_style(div2, "width", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4782
|
+
internal.set_style(div2, "height", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4442
4783
|
},
|
|
4443
4784
|
m(target, anchor) {
|
|
4444
4785
|
internal.insert(target, div2, anchor);
|
|
@@ -4452,7 +4793,7 @@ function create_fragment$5(ctx) {
|
|
|
4452
4793
|
current = true;
|
|
4453
4794
|
|
|
4454
4795
|
if (!mounted) {
|
|
4455
|
-
dispose = internal.listen(div2, "click", internal.stop_propagation(/*click_handler*/ ctx[
|
|
4796
|
+
dispose = internal.listen(div2, "click", internal.stop_propagation(/*click_handler*/ ctx[12]));
|
|
4456
4797
|
mounted = true;
|
|
4457
4798
|
}
|
|
4458
4799
|
},
|
|
@@ -4492,7 +4833,7 @@ function create_fragment$5(ctx) {
|
|
|
4492
4833
|
}
|
|
4493
4834
|
}
|
|
4494
4835
|
|
|
4495
|
-
if (dirty & /*tag*/ 2) {
|
|
4836
|
+
if (!current || dirty & /*tag*/ 2) {
|
|
4496
4837
|
internal.toggle_class(div0, "unfolded", /*tag*/ ctx[1].state?.unfolded);
|
|
4497
4838
|
}
|
|
4498
4839
|
|
|
@@ -4500,21 +4841,33 @@ function create_fragment$5(ctx) {
|
|
|
4500
4841
|
internal.attr(div2, "data-id", div2_data_id_value);
|
|
4501
4842
|
}
|
|
4502
4843
|
|
|
4503
|
-
if (dirty & /*tag*/ 2) {
|
|
4844
|
+
if (!current || dirty & /*tag*/ 2) {
|
|
4504
4845
|
internal.toggle_class(div2, "disable", /*tag*/ ctx[1].enabled === false || /*tag*/ ctx[1].temporaryState?.visible === false);
|
|
4505
4846
|
}
|
|
4506
4847
|
|
|
4507
|
-
if (dirty & /*state, temporaryState, tag*/ 42) {
|
|
4848
|
+
if (!current || dirty & /*state, temporaryState, tag*/ 42) {
|
|
4508
4849
|
internal.toggle_class(div2, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible || !/*tag*/ ctx[1].state?.visible);
|
|
4509
4850
|
}
|
|
4510
4851
|
|
|
4511
|
-
if (dirty & /*withAnimation*/ 1) {
|
|
4852
|
+
if (!current || dirty & /*withAnimation*/ 1) {
|
|
4512
4853
|
internal.toggle_class(div2, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
4513
4854
|
}
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4855
|
+
|
|
4856
|
+
if (!current || dirty & /*tag*/ 2) {
|
|
4857
|
+
internal.toggle_class(div2, "unClickable", /*tag*/ ctx[1].clickable === false);
|
|
4858
|
+
}
|
|
4859
|
+
|
|
4860
|
+
if (dirty & /*tag*/ 2) {
|
|
4861
|
+
internal.set_style(div2, "width", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4862
|
+
}
|
|
4863
|
+
|
|
4864
|
+
if (dirty & /*tag*/ 2) {
|
|
4865
|
+
internal.set_style(div2, "height", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
4866
|
+
}
|
|
4867
|
+
},
|
|
4868
|
+
i(local) {
|
|
4869
|
+
if (current) return;
|
|
4870
|
+
internal.transition_in(if_block);
|
|
4518
4871
|
current = true;
|
|
4519
4872
|
},
|
|
4520
4873
|
o(local) {
|
|
@@ -4535,6 +4888,9 @@ function create_fragment$5(ctx) {
|
|
|
4535
4888
|
}
|
|
4536
4889
|
|
|
4537
4890
|
function instance$5($$self, $$props, $$invalidate) {
|
|
4891
|
+
let unfolded;
|
|
4892
|
+
let visible;
|
|
4893
|
+
var _a, _b;
|
|
4538
4894
|
let { withAnimation = false } = $$props;
|
|
4539
4895
|
let { tag } = $$props;
|
|
4540
4896
|
let { hooks } = $$props;
|
|
@@ -4542,6 +4898,8 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
4542
4898
|
let { mediaStore } = $$props;
|
|
4543
4899
|
let { temporaryState } = $$props;
|
|
4544
4900
|
svelte.setContext('hooks', hooks);
|
|
4901
|
+
let lastVisibleState;
|
|
4902
|
+
let lastUnfoldedState;
|
|
4545
4903
|
const click_handler = event => hooks.emit('click', { event, target: 'TagContent', tag });
|
|
4546
4904
|
|
|
4547
4905
|
$$self.$$set = $$props => {
|
|
@@ -4553,7 +4911,51 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
4553
4911
|
if ('temporaryState' in $$props) $$invalidate(5, temporaryState = $$props.temporaryState);
|
|
4554
4912
|
};
|
|
4555
4913
|
|
|
4556
|
-
|
|
4914
|
+
$$self.$$.update = () => {
|
|
4915
|
+
if ($$self.$$.dirty & /*tag, _a*/ 66) {
|
|
4916
|
+
$$invalidate(11, unfolded = $$invalidate(6, _a = tag.state) === null || _a === void 0
|
|
4917
|
+
? void 0
|
|
4918
|
+
: _a.unfolded);
|
|
4919
|
+
}
|
|
4920
|
+
|
|
4921
|
+
if ($$self.$$.dirty & /*tag, _b*/ 130) {
|
|
4922
|
+
$$invalidate(10, visible = $$invalidate(7, _b = tag.state) === null || _b === void 0
|
|
4923
|
+
? void 0
|
|
4924
|
+
: _b.visible);
|
|
4925
|
+
}
|
|
4926
|
+
|
|
4927
|
+
if ($$self.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/ 3842) {
|
|
4928
|
+
{
|
|
4929
|
+
if (tag.hooks) {
|
|
4930
|
+
if (unfolded !== undefined && unfolded !== lastUnfoldedState) {
|
|
4931
|
+
$$invalidate(9, lastUnfoldedState = unfolded);
|
|
4932
|
+
if (unfolded) tag.hooks.emit('unfolded'); else tag.hooks.emit('folded');
|
|
4933
|
+
}
|
|
4934
|
+
|
|
4935
|
+
if (visible !== undefined && visible !== lastVisibleState) {
|
|
4936
|
+
$$invalidate(8, lastVisibleState = visible);
|
|
4937
|
+
if (visible) tag.hooks.emit('show'); else tag.hooks.emit('hide');
|
|
4938
|
+
}
|
|
4939
|
+
}
|
|
4940
|
+
}
|
|
4941
|
+
}
|
|
4942
|
+
};
|
|
4943
|
+
|
|
4944
|
+
return [
|
|
4945
|
+
withAnimation,
|
|
4946
|
+
tag,
|
|
4947
|
+
hooks,
|
|
4948
|
+
state,
|
|
4949
|
+
mediaStore,
|
|
4950
|
+
temporaryState,
|
|
4951
|
+
_a,
|
|
4952
|
+
_b,
|
|
4953
|
+
lastVisibleState,
|
|
4954
|
+
lastUnfoldedState,
|
|
4955
|
+
visible,
|
|
4956
|
+
unfolded,
|
|
4957
|
+
click_handler
|
|
4958
|
+
];
|
|
4557
4959
|
}
|
|
4558
4960
|
|
|
4559
4961
|
class Tag extends internal.SvelteComponent {
|
|
@@ -4579,10 +4981,10 @@ class Tag extends internal.SvelteComponent {
|
|
|
4579
4981
|
}
|
|
4580
4982
|
}
|
|
4581
4983
|
|
|
4582
|
-
/* src/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte generated by Svelte v3.
|
|
4984
|
+
/* src/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte generated by Svelte v3.50.1 */
|
|
4583
4985
|
|
|
4584
4986
|
function add_css$4(target) {
|
|
4585
|
-
internal.append_styles(target, "svelte-
|
|
4987
|
+
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
4988
|
}
|
|
4587
4989
|
|
|
4588
4990
|
function create_fragment$4(ctx) {
|
|
@@ -4610,12 +5012,12 @@ function create_fragment$4(ctx) {
|
|
|
4610
5012
|
div0 = internal.element("div");
|
|
4611
5013
|
t1 = internal.space();
|
|
4612
5014
|
div1 = internal.element("div");
|
|
4613
|
-
internal.attr(div0, "class", "small-point svelte-
|
|
5015
|
+
internal.attr(div0, "class", "small-point svelte-mhqidy");
|
|
4614
5016
|
internal.set_style(div0, "transition-delay", /*folded*/ ctx[3] ? /*foldDelay*/ ctx[2] + 'ms' : '0ms', false);
|
|
4615
|
-
internal.attr(div1, "class", "big-point svelte-
|
|
5017
|
+
internal.attr(div1, "class", "big-point svelte-mhqidy");
|
|
4616
5018
|
internal.set_style(div1, "--iconUrl", "url(" + /*iconUrl*/ ctx[1] + ")");
|
|
4617
5019
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[3] ? /*foldDelay*/ ctx[2] + 'ms' : '0ms', false);
|
|
4618
|
-
internal.attr(div2, "class", "point svelte-
|
|
5020
|
+
internal.attr(div2, "class", "point svelte-mhqidy");
|
|
4619
5021
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[3]);
|
|
4620
5022
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4621
5023
|
},
|
|
@@ -4641,11 +5043,11 @@ function create_fragment$4(ctx) {
|
|
|
4641
5043
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[3] ? /*foldDelay*/ ctx[2] + 'ms' : '0ms', false);
|
|
4642
5044
|
}
|
|
4643
5045
|
|
|
4644
|
-
if (dirty & /*folded*/ 8) {
|
|
5046
|
+
if (!current || dirty & /*folded*/ 8) {
|
|
4645
5047
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[3]);
|
|
4646
5048
|
}
|
|
4647
5049
|
|
|
4648
|
-
if (dirty & /*unfolded*/ 1) {
|
|
5050
|
+
if (!current || dirty & /*unfolded*/ 1) {
|
|
4649
5051
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4650
5052
|
}
|
|
4651
5053
|
},
|
|
@@ -4693,10 +5095,10 @@ class CustomPoint extends internal.SvelteComponent {
|
|
|
4693
5095
|
}
|
|
4694
5096
|
}
|
|
4695
5097
|
|
|
4696
|
-
/* src/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte generated by Svelte v3.
|
|
5098
|
+
/* src/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte generated by Svelte v3.50.1 */
|
|
4697
5099
|
|
|
4698
5100
|
function add_css$3(target) {
|
|
4699
|
-
internal.append_styles(target, "svelte-
|
|
5101
|
+
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
5102
|
}
|
|
4701
5103
|
|
|
4702
5104
|
function create_fragment$3(ctx) {
|
|
@@ -4724,11 +5126,11 @@ function create_fragment$3(ctx) {
|
|
|
4724
5126
|
div0 = internal.element("div");
|
|
4725
5127
|
t1 = internal.space();
|
|
4726
5128
|
div1 = internal.element("div");
|
|
4727
|
-
internal.attr(div0, "class", "small-point svelte-
|
|
5129
|
+
internal.attr(div0, "class", "small-point svelte-1rg9uk");
|
|
4728
5130
|
internal.set_style(div0, "transition-delay", /*folded*/ ctx[2] ? /*foldDelay*/ ctx[1] + 'ms' : '0ms', false);
|
|
4729
|
-
internal.attr(div1, "class", "big-point svelte-
|
|
5131
|
+
internal.attr(div1, "class", "big-point svelte-1rg9uk");
|
|
4730
5132
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[2] ? /*foldDelay*/ ctx[1] + 'ms' : '0ms', false);
|
|
4731
|
-
internal.attr(div2, "class", "point svelte-
|
|
5133
|
+
internal.attr(div2, "class", "point svelte-1rg9uk");
|
|
4732
5134
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4733
5135
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[2]);
|
|
4734
5136
|
},
|
|
@@ -4750,11 +5152,11 @@ function create_fragment$3(ctx) {
|
|
|
4750
5152
|
internal.set_style(div1, "transition-delay", /*folded*/ ctx[2] ? /*foldDelay*/ ctx[1] + 'ms' : '0ms', false);
|
|
4751
5153
|
}
|
|
4752
5154
|
|
|
4753
|
-
if (dirty & /*unfolded*/ 1) {
|
|
5155
|
+
if (!current || dirty & /*unfolded*/ 1) {
|
|
4754
5156
|
internal.toggle_class(div2, "unfolded", /*unfolded*/ ctx[0]);
|
|
4755
5157
|
}
|
|
4756
5158
|
|
|
4757
|
-
if (dirty & /*folded*/ 4) {
|
|
5159
|
+
if (!current || dirty & /*folded*/ 4) {
|
|
4758
5160
|
internal.toggle_class(div2, "folded", /*folded*/ ctx[2]);
|
|
4759
5161
|
}
|
|
4760
5162
|
},
|
|
@@ -4800,7 +5202,7 @@ class DefaultPoint extends internal.SvelteComponent {
|
|
|
4800
5202
|
}
|
|
4801
5203
|
}
|
|
4802
5204
|
|
|
4803
|
-
/* src/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte generated by Svelte v3.
|
|
5205
|
+
/* src/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte generated by Svelte v3.50.1 */
|
|
4804
5206
|
|
|
4805
5207
|
function add_css$2(target) {
|
|
4806
5208
|
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 +5513,7 @@ class PointSwitch extends internal.SvelteComponent {
|
|
|
5111
5513
|
}
|
|
5112
5514
|
}
|
|
5113
5515
|
|
|
5114
|
-
/* src/PanoTagPlugin/Components/TagWrapper.svelte generated by Svelte v3.
|
|
5516
|
+
/* src/PanoTagPlugin/Components/TagWrapper.svelte generated by Svelte v3.50.1 */
|
|
5115
5517
|
|
|
5116
5518
|
function add_css$1(target) {
|
|
5117
5519
|
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 +5696,11 @@ function create_fragment$1(ctx) {
|
|
|
5294
5696
|
internal.attr(div, "data-id", div_data_id_value);
|
|
5295
5697
|
}
|
|
5296
5698
|
|
|
5297
|
-
if (dirty & /*hide*/ 1024) {
|
|
5699
|
+
if (!current || dirty & /*hide*/ 1024) {
|
|
5298
5700
|
internal.toggle_class(div, "hide", /*hide*/ ctx[10]);
|
|
5299
5701
|
}
|
|
5300
5702
|
|
|
5301
|
-
if (dirty & /*unfolded*/ 64) {
|
|
5703
|
+
if (!current || dirty & /*unfolded*/ 64) {
|
|
5302
5704
|
internal.toggle_class(div, "unfolded", /*unfolded*/ ctx[6]);
|
|
5303
5705
|
}
|
|
5304
5706
|
|
|
@@ -5467,10 +5869,10 @@ class TagWrapper extends internal.SvelteComponent {
|
|
|
5467
5869
|
}
|
|
5468
5870
|
}
|
|
5469
5871
|
|
|
5470
|
-
/* src/PanoTagPlugin/Components/PointTag.svelte generated by Svelte v3.
|
|
5872
|
+
/* src/PanoTagPlugin/Components/PointTag.svelte generated by Svelte v3.50.1 */
|
|
5471
5873
|
|
|
5472
5874
|
function add_css(target) {
|
|
5473
|
-
internal.append_styles(target, "svelte-
|
|
5875
|
+
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
5876
|
}
|
|
5475
5877
|
|
|
5476
5878
|
function get_each_context(ctx, list, i) {
|
|
@@ -5512,7 +5914,7 @@ function create_each_block(key_1, ctx) {
|
|
|
5512
5914
|
div = internal.element("div");
|
|
5513
5915
|
internal.create_component(tagwrapper.$$.fragment);
|
|
5514
5916
|
t = internal.space();
|
|
5515
|
-
internal.attr(div, "class", "
|
|
5917
|
+
internal.attr(div, "class", "tag svelte-1eci49s");
|
|
5516
5918
|
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
5919
|
this.first = div;
|
|
5518
5920
|
},
|
|
@@ -5540,7 +5942,7 @@ function create_each_block(key_1, ctx) {
|
|
|
5540
5942
|
|
|
5541
5943
|
tagwrapper.$set(tagwrapper_changes);
|
|
5542
5944
|
|
|
5543
|
-
if (dirty & /*tags*/ 2) {
|
|
5945
|
+
if (!current || dirty & /*tags*/ 2) {
|
|
5544
5946
|
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
5947
|
}
|
|
5546
5948
|
},
|
|
@@ -5582,7 +5984,7 @@ function create_fragment(ctx) {
|
|
|
5582
5984
|
each_blocks[i].c();
|
|
5583
5985
|
}
|
|
5584
5986
|
|
|
5585
|
-
internal.attr(div, "class", "
|
|
5987
|
+
internal.attr(div, "class", "tag--container svelte-1eci49s");
|
|
5586
5988
|
internal.toggle_class(div, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible);
|
|
5587
5989
|
internal.toggle_class(div, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
5588
5990
|
},
|
|
@@ -5603,11 +6005,11 @@ function create_fragment(ctx) {
|
|
|
5603
6005
|
internal.check_outros();
|
|
5604
6006
|
}
|
|
5605
6007
|
|
|
5606
|
-
if (dirty & /*state, temporaryState*/ 40) {
|
|
6008
|
+
if (!current || dirty & /*state, temporaryState*/ 40) {
|
|
5607
6009
|
internal.toggle_class(div, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible);
|
|
5608
6010
|
}
|
|
5609
6011
|
|
|
5610
|
-
if (dirty & /*withAnimation*/ 1) {
|
|
6012
|
+
if (!current || dirty & /*withAnimation*/ 1) {
|
|
5611
6013
|
internal.toggle_class(div, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
5612
6014
|
}
|
|
5613
6015
|
},
|
|
@@ -5680,6 +6082,52 @@ class PointTag extends internal.SvelteComponent {
|
|
|
5680
6082
|
}
|
|
5681
6083
|
}
|
|
5682
6084
|
|
|
6085
|
+
const DefaultConfig = {
|
|
6086
|
+
globalConfig: {
|
|
6087
|
+
initialState: {
|
|
6088
|
+
// unfolded: false,
|
|
6089
|
+
},
|
|
6090
|
+
visibleConfig: {
|
|
6091
|
+
visibleDistance: { max: 5 },
|
|
6092
|
+
angleRange: { min: -45, max: 45 },
|
|
6093
|
+
},
|
|
6094
|
+
unfoldedConfig: {
|
|
6095
|
+
autoUnfold: {
|
|
6096
|
+
strategy: 'MinimumDistance',
|
|
6097
|
+
},
|
|
6098
|
+
},
|
|
6099
|
+
tag3DConfig: {
|
|
6100
|
+
ratio: 0.0035,
|
|
6101
|
+
// devicePixelRatio: window.devicePixelRatio,
|
|
6102
|
+
},
|
|
6103
|
+
},
|
|
6104
|
+
contentTypeConfig: {
|
|
6105
|
+
'Any-Link-Any': {
|
|
6106
|
+
unfoldedConfig: {
|
|
6107
|
+
// VR 跳转标签没有展开/收起状态
|
|
6108
|
+
disableFold: true,
|
|
6109
|
+
autoUnfold: undefined,
|
|
6110
|
+
},
|
|
6111
|
+
initialState: {
|
|
6112
|
+
unfolded: true,
|
|
6113
|
+
},
|
|
6114
|
+
},
|
|
6115
|
+
'Any-Marketing-Any': {
|
|
6116
|
+
unfoldedConfig: undefined,
|
|
6117
|
+
},
|
|
6118
|
+
'3D-MediaPlane-PlaneTag': {
|
|
6119
|
+
unfoldedConfig: {
|
|
6120
|
+
disableFold: true,
|
|
6121
|
+
},
|
|
6122
|
+
visibleConfig: {
|
|
6123
|
+
angleRange: undefined,
|
|
6124
|
+
visibleDistance: undefined,
|
|
6125
|
+
},
|
|
6126
|
+
clickable: false,
|
|
6127
|
+
},
|
|
6128
|
+
},
|
|
6129
|
+
};
|
|
6130
|
+
|
|
5683
6131
|
/**
|
|
5684
6132
|
* plugin 的基本控制器
|
|
5685
6133
|
*/
|
|
@@ -5829,6 +6277,7 @@ class TagComputer extends TagCacheController {
|
|
|
5829
6277
|
const visible = (() => {
|
|
5830
6278
|
var _a, _b, _c, _d, _e;
|
|
5831
6279
|
const config = (_a = this.getTagConfig(tag).visibleConfig) !== null && _a !== void 0 ? _a : {};
|
|
6280
|
+
// console.log(config)
|
|
5832
6281
|
const distance = this.getDistance(tag);
|
|
5833
6282
|
if (typeof config === 'function') {
|
|
5834
6283
|
return config(this.five, { tag, distance });
|
|
@@ -5868,19 +6317,18 @@ class TagComputer extends TagCacheController {
|
|
|
5868
6317
|
if (intersection && intersection.distance + distanceError < distance)
|
|
5869
6318
|
return false;
|
|
5870
6319
|
}
|
|
5871
|
-
// console.log(tag.id, '角度检测', tag)
|
|
6320
|
+
// console.log(tag.id, '角度检测', tag, config.angleRange)
|
|
5872
6321
|
// 角度检测
|
|
5873
|
-
if (tag.dimensionType === exports.DimensionType.Three) {
|
|
6322
|
+
if (config.angleRange && tag.dimensionType === exports.DimensionType.Three) {
|
|
5874
6323
|
const visible = checkRange(this.getAngle(tag), config.angleRange);
|
|
5875
6324
|
if (visible === false)
|
|
5876
6325
|
return false;
|
|
5877
6326
|
}
|
|
5878
6327
|
// 结束
|
|
5879
|
-
// console.log(tag.id, '结束', tag)
|
|
6328
|
+
// console.log(tag.id, '结束', tag, visible)
|
|
5880
6329
|
return true;
|
|
5881
6330
|
}
|
|
5882
6331
|
})();
|
|
5883
|
-
// console.log(tag.id, 'end', tag, visible)
|
|
5884
6332
|
cache.visible = visible;
|
|
5885
6333
|
return cache.visible;
|
|
5886
6334
|
}
|
|
@@ -6045,7 +6493,7 @@ class TagComputer extends TagCacheController {
|
|
|
6045
6493
|
return cache.angle;
|
|
6046
6494
|
}
|
|
6047
6495
|
}
|
|
6048
|
-
// TODO:
|
|
6496
|
+
// TODO: 缓存
|
|
6049
6497
|
/**
|
|
6050
6498
|
* @description: 获取merge后的配置
|
|
6051
6499
|
*/
|
|
@@ -6165,14 +6613,267 @@ class TagComputer extends TagCacheController {
|
|
|
6165
6613
|
}
|
|
6166
6614
|
}
|
|
6167
6615
|
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6616
|
+
function createSymbol(description) {
|
|
6617
|
+
// @ts-ignore
|
|
6618
|
+
return typeof Symbol === 'undefined' ? `$Symbol<${description}>$` : Symbol(description);
|
|
6619
|
+
}
|
|
6620
|
+
const EVENT_SYMBOL = createSymbol('$$EVENT$$');
|
|
6621
|
+
function __generateEventIfNotExisted(instance) {
|
|
6622
|
+
if (!instance[EVENT_SYMBOL]) {
|
|
6623
|
+
instance[EVENT_SYMBOL] = {};
|
|
6624
|
+
}
|
|
6625
|
+
return instance[EVENT_SYMBOL];
|
|
6626
|
+
}
|
|
6627
|
+
function __removeEventIfNotExisted(instance) {
|
|
6628
|
+
if (!instance[EVENT_SYMBOL]) {
|
|
6629
|
+
delete instance[EVENT_SYMBOL];
|
|
6630
|
+
}
|
|
6631
|
+
}
|
|
6632
|
+
/**
|
|
6633
|
+
* 监听者模式
|
|
6634
|
+
* @template T - 预设的监听回调类型
|
|
6635
|
+
* @example
|
|
6636
|
+
* ```
|
|
6637
|
+
* new Subscribe<{
|
|
6638
|
+
* "foo": [arg1: number, arg2: string],
|
|
6639
|
+
* "bar": [arg: boolean],
|
|
6640
|
+
* }>()
|
|
6641
|
+
* ```
|
|
6642
|
+
*/
|
|
6643
|
+
class Subscribe {
|
|
6644
|
+
/**
|
|
6645
|
+
* 判断是否注册了事件
|
|
6646
|
+
* @param name - 事件类型
|
|
6647
|
+
*/
|
|
6648
|
+
hasListener(name) {
|
|
6649
|
+
const events = __generateEventIfNotExisted(this);
|
|
6650
|
+
return Boolean((events === null || events === void 0 ? void 0 : events[name]) && events[name].length > 0);
|
|
6651
|
+
}
|
|
6652
|
+
/**
|
|
6653
|
+
* 注册事件
|
|
6654
|
+
* @param name - 事件类型
|
|
6655
|
+
* @param callback - 事件回调函数
|
|
6656
|
+
* @param once - 是否只执行一次
|
|
6657
|
+
* @returns 解除事件
|
|
6658
|
+
* @template K - 预设的监听事件名称
|
|
6659
|
+
* @template C - 回调函数函数上下文
|
|
6660
|
+
*/
|
|
6661
|
+
on(name, callback, once) {
|
|
6662
|
+
const events = __generateEventIfNotExisted(this);
|
|
6663
|
+
if (!events[name])
|
|
6664
|
+
events[name] = [];
|
|
6665
|
+
events[name].push([callback, once || false]);
|
|
6666
|
+
return () => this.off(name, callback);
|
|
6667
|
+
}
|
|
6668
|
+
/**
|
|
6669
|
+
* 注册事件(是否只执行一次)
|
|
6670
|
+
* @param name - 事件类型
|
|
6671
|
+
* @param callback - 事件回调函数
|
|
6672
|
+
* @returns 解除事件
|
|
6673
|
+
* @template K - 预设的监听事件名称
|
|
6674
|
+
* @template C - 回调函数函数上下文
|
|
6675
|
+
*/
|
|
6676
|
+
once(name, callback) {
|
|
6677
|
+
return this.on(name, callback, true);
|
|
6678
|
+
}
|
|
6679
|
+
/**
|
|
6680
|
+
* 解除事件
|
|
6681
|
+
*
|
|
6682
|
+
* 如果 name 不传的话解除对应所有事件
|
|
6683
|
+
* 如果 name, callback 不传的话解除所有name的所有事件
|
|
6684
|
+
* @param name - 事件类型
|
|
6685
|
+
* @param callback - 事件回调函数
|
|
6686
|
+
* @template K - 预设的监听事件名称
|
|
6687
|
+
*/
|
|
6688
|
+
off(name, callback) {
|
|
6689
|
+
if (name === undefined) {
|
|
6690
|
+
__removeEventIfNotExisted(this);
|
|
6691
|
+
return;
|
|
6692
|
+
}
|
|
6693
|
+
const events = __generateEventIfNotExisted(this);
|
|
6694
|
+
if (!events[name])
|
|
6695
|
+
events[name] = [];
|
|
6696
|
+
if (callback === undefined) {
|
|
6697
|
+
events[name].length = 0;
|
|
6698
|
+
return;
|
|
6699
|
+
}
|
|
6700
|
+
let index = 0;
|
|
6701
|
+
for (; index < events[name].length; index++) {
|
|
6702
|
+
if (events[name][index][0] === callback)
|
|
6703
|
+
break;
|
|
6704
|
+
}
|
|
6705
|
+
if (index < events[name].length) {
|
|
6706
|
+
events[name].splice(index, 1);
|
|
6707
|
+
}
|
|
6708
|
+
}
|
|
6709
|
+
/**
|
|
6710
|
+
* 触发事件
|
|
6711
|
+
* @param name - 事件类型
|
|
6712
|
+
* @param data - 触发事件的数据
|
|
6713
|
+
* @returns canceled 是否被触发取消
|
|
6714
|
+
* @template K - 预设的监听事件名称
|
|
6715
|
+
*/
|
|
6716
|
+
emit(name, ...data) {
|
|
6717
|
+
let canceled = false;
|
|
6718
|
+
const events = __generateEventIfNotExisted(this);
|
|
6719
|
+
const event = events[name] || [];
|
|
6720
|
+
for (let one of event.slice()) {
|
|
6721
|
+
const [callback, once = false] = one;
|
|
6722
|
+
const result = callback(...data);
|
|
6723
|
+
if (once)
|
|
6724
|
+
this.off(name, callback);
|
|
6725
|
+
if (result === false)
|
|
6726
|
+
canceled = true;
|
|
6727
|
+
}
|
|
6728
|
+
return canceled;
|
|
6729
|
+
}
|
|
6730
|
+
}
|
|
6731
|
+
|
|
6732
|
+
const VERSION$3 = '1.0.0';
|
|
6733
|
+
const NAME = `CSS3DObjectPlus@${VERSION$3}`;
|
|
6171
6734
|
const MinRatio = 0.00216;
|
|
6172
|
-
const
|
|
6173
|
-
class
|
|
6174
|
-
|
|
6175
|
-
|
|
6735
|
+
const DefaultRatio = 0.003;
|
|
6736
|
+
class CSS3DObjectPlus extends CSS3DRenderer.CSS3DObject {
|
|
6737
|
+
// eslint-disable-next-line max-params
|
|
6738
|
+
constructor(container, cornerPoints, ratio = DefaultRatio, dpr = 1) {
|
|
6739
|
+
const realRatio = Math.max(MinRatio, ratio);
|
|
6740
|
+
const planeWidth = cornerPoints[0].distanceTo(cornerPoints[1]);
|
|
6741
|
+
const planeHeight = cornerPoints[1].distanceTo(cornerPoints[2]);
|
|
6742
|
+
const domWidthPx = evenNumber((planeWidth / ratio) * dpr);
|
|
6743
|
+
const domHeightPx = evenNumber((planeHeight / ratio) * dpr);
|
|
6744
|
+
const centerPosition = centerPoint(cornerPoints[0], cornerPoints[2]);
|
|
6745
|
+
let css3DObjectElement;
|
|
6746
|
+
if (realRatio === ratio) {
|
|
6747
|
+
container.style.width = `${domWidthPx}px`;
|
|
6748
|
+
container.style.height = `${domHeightPx}px`;
|
|
6749
|
+
css3DObjectElement = container;
|
|
6750
|
+
}
|
|
6751
|
+
else {
|
|
6752
|
+
// 兼容ratio小于0.00216的情况
|
|
6753
|
+
const element = document.createElement('div');
|
|
6754
|
+
element.style.width = `${domWidthPx}px`;
|
|
6755
|
+
element.style.height = `${domHeightPx}px`;
|
|
6756
|
+
element.style.pointerEvents = 'none';
|
|
6757
|
+
const scale = ratio / realRatio;
|
|
6758
|
+
container.style.position = 'absolute';
|
|
6759
|
+
container.style.left = '0';
|
|
6760
|
+
container.style.top = '0';
|
|
6761
|
+
container.style.width = `${scale * domWidthPx}px`;
|
|
6762
|
+
container.style.height = `${scale * domHeightPx}px`;
|
|
6763
|
+
element.appendChild(container);
|
|
6764
|
+
css3DObjectElement = element;
|
|
6765
|
+
}
|
|
6766
|
+
super(css3DObjectElement);
|
|
6767
|
+
Object.defineProperty(this, "version", {
|
|
6768
|
+
enumerable: true,
|
|
6769
|
+
configurable: true,
|
|
6770
|
+
writable: true,
|
|
6771
|
+
value: VERSION$3
|
|
6772
|
+
});
|
|
6773
|
+
Object.defineProperty(this, "width", {
|
|
6774
|
+
enumerable: true,
|
|
6775
|
+
configurable: true,
|
|
6776
|
+
writable: true,
|
|
6777
|
+
value: void 0
|
|
6778
|
+
});
|
|
6779
|
+
Object.defineProperty(this, "height", {
|
|
6780
|
+
enumerable: true,
|
|
6781
|
+
configurable: true,
|
|
6782
|
+
writable: true,
|
|
6783
|
+
value: void 0
|
|
6784
|
+
});
|
|
6785
|
+
Object.defineProperty(this, "domWidthPx", {
|
|
6786
|
+
enumerable: true,
|
|
6787
|
+
configurable: true,
|
|
6788
|
+
writable: true,
|
|
6789
|
+
value: void 0
|
|
6790
|
+
});
|
|
6791
|
+
Object.defineProperty(this, "domHeightPx", {
|
|
6792
|
+
enumerable: true,
|
|
6793
|
+
configurable: true,
|
|
6794
|
+
writable: true,
|
|
6795
|
+
value: void 0
|
|
6796
|
+
});
|
|
6797
|
+
Object.defineProperty(this, "cornerPoints", {
|
|
6798
|
+
enumerable: true,
|
|
6799
|
+
configurable: true,
|
|
6800
|
+
writable: true,
|
|
6801
|
+
value: void 0
|
|
6802
|
+
});
|
|
6803
|
+
Object.defineProperty(this, "ratio", {
|
|
6804
|
+
enumerable: true,
|
|
6805
|
+
configurable: true,
|
|
6806
|
+
writable: true,
|
|
6807
|
+
value: void 0
|
|
6808
|
+
});
|
|
6809
|
+
Object.defineProperty(this, "container", {
|
|
6810
|
+
enumerable: true,
|
|
6811
|
+
configurable: true,
|
|
6812
|
+
writable: true,
|
|
6813
|
+
value: void 0
|
|
6814
|
+
});
|
|
6815
|
+
Object.defineProperty(this, "centerPosition", {
|
|
6816
|
+
enumerable: true,
|
|
6817
|
+
configurable: true,
|
|
6818
|
+
writable: true,
|
|
6819
|
+
value: void 0
|
|
6820
|
+
});
|
|
6821
|
+
this.scale.set(realRatio, realRatio, realRatio);
|
|
6822
|
+
// set public property
|
|
6823
|
+
this.cornerPoints = cornerPoints;
|
|
6824
|
+
this.ratio = ratio;
|
|
6825
|
+
this.container = container;
|
|
6826
|
+
if (realRatio === ratio) {
|
|
6827
|
+
this.width = planeWidth;
|
|
6828
|
+
this.height = planeHeight;
|
|
6829
|
+
this.domWidthPx = domWidthPx;
|
|
6830
|
+
this.domHeightPx = domHeightPx;
|
|
6831
|
+
this.centerPosition = centerPosition;
|
|
6832
|
+
}
|
|
6833
|
+
else {
|
|
6834
|
+
const scale = ratio / realRatio;
|
|
6835
|
+
this.width = scale * planeWidth;
|
|
6836
|
+
this.height = scale * planeHeight;
|
|
6837
|
+
this.domWidthPx = scale * domWidthPx;
|
|
6838
|
+
this.domHeightPx = scale * domHeightPx;
|
|
6839
|
+
this.centerPosition = new THREE.Vector3()
|
|
6840
|
+
.subVectors(centerPosition.clone(), cornerPoints[0].clone())
|
|
6841
|
+
.multiplyScalar(scale)
|
|
6842
|
+
.add(cornerPoints[0]);
|
|
6843
|
+
}
|
|
6844
|
+
// end
|
|
6845
|
+
container.classList.add(`${NAME}__container`);
|
|
6846
|
+
// 旋转前
|
|
6847
|
+
const startVector01 = new THREE.Vector3(1, 0, 0); // dom初始01点向量
|
|
6848
|
+
const startVector12 = new THREE.Vector3(0, 1, 0); // dom初始12点向量
|
|
6849
|
+
// 旋转后
|
|
6850
|
+
const endVector01 = new THREE.Vector3().subVectors(cornerPoints[1], cornerPoints[0]); // 点0 -> 点1 的向量
|
|
6851
|
+
const endVector12 = new THREE.Vector3().subVectors(cornerPoints[2], cornerPoints[1]); // 点1 -> 点2 的向量
|
|
6852
|
+
// 使Vector01重合
|
|
6853
|
+
const vector01Quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector01.normalize(), endVector01.normalize());
|
|
6854
|
+
this.applyQuaternion(vector01Quaternion);
|
|
6855
|
+
startVector12.applyQuaternion(vector01Quaternion);
|
|
6856
|
+
// 使Vector12重合
|
|
6857
|
+
const vector12Quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector12.normalize(), endVector12.normalize());
|
|
6858
|
+
this.applyQuaternion(vector12Quaternion);
|
|
6859
|
+
// set position
|
|
6860
|
+
this.position.set(centerPosition.x, centerPosition.y, centerPosition.z);
|
|
6861
|
+
}
|
|
6862
|
+
}
|
|
6863
|
+
|
|
6864
|
+
const VERSION$2 = 'v2.0.0';
|
|
6865
|
+
const PLUGIN_NAME$2 = 'CSS3DRenderer';
|
|
6866
|
+
const PLUGIN = `${PLUGIN_NAME$2}@${VERSION$2}`;
|
|
6867
|
+
const pluginFlag$1 = (name) => `${PLUGIN}--${name}`;
|
|
6868
|
+
const globalStore = {};
|
|
6869
|
+
class CSS3DRender {
|
|
6870
|
+
constructor() {
|
|
6871
|
+
Object.defineProperty(this, "hooks", {
|
|
6872
|
+
enumerable: true,
|
|
6873
|
+
configurable: true,
|
|
6874
|
+
writable: true,
|
|
6875
|
+
value: new Subscribe()
|
|
6876
|
+
});
|
|
6176
6877
|
Object.defineProperty(this, "state", {
|
|
6177
6878
|
enumerable: true,
|
|
6178
6879
|
configurable: true,
|
|
@@ -6180,6 +6881,7 @@ class Controller extends Controller$1 {
|
|
|
6180
6881
|
value: {
|
|
6181
6882
|
enabled: true,
|
|
6182
6883
|
visible: true,
|
|
6884
|
+
disposed: false,
|
|
6183
6885
|
}
|
|
6184
6886
|
});
|
|
6185
6887
|
Object.defineProperty(this, "store", {
|
|
@@ -6187,54 +6889,11 @@ class Controller extends Controller$1 {
|
|
|
6187
6889
|
configurable: true,
|
|
6188
6890
|
writable: true,
|
|
6189
6891
|
value: {
|
|
6190
|
-
disposed: false,
|
|
6191
6892
|
disposers: [],
|
|
6192
6893
|
frontModeCSS3DObjects: {},
|
|
6193
6894
|
behindModeCSS3DObjects: {},
|
|
6194
6895
|
}
|
|
6195
6896
|
});
|
|
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
6897
|
/**
|
|
6239
6898
|
* @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
6240
6899
|
* @param { Vector3Position[] } points 矩形四个点坐标
|
|
@@ -6243,15 +6902,14 @@ class Controller extends Controller$1 {
|
|
|
6243
6902
|
* | key | type | defaultValue | comment |
|
|
6244
6903
|
* | - | - | - | - |
|
|
6245
6904
|
* | `ratio` | *`number`* | `0.00216` | 1px对应多少米,默认为 0.00216,即1px对应2.16mm |
|
|
6246
|
-
* | ~~`dpr`~~ | ~~*`number`*~~ | ~~`undefined`~~ | ~~**已改名**,请使用~~ `devicePixelRatio` |
|
|
6247
6905
|
* | `devicePixelRatio` | *`number`* | `1` | 设备的物理像素分辨率与CSS像素分辨率的比值 |
|
|
6248
6906
|
* | `container` | *`HTMLElement`* | `undefined` | 自定义 return 中的 `container`
|
|
6249
6907
|
* | `pointerEvents` | *`'none'\|'auto'`* | `'none'` | container 的 css属性:`pointer-events` 的值 |
|
|
6250
6908
|
* | `autoRender` | *`boolean`* | `true` | 是否自动渲染,通常为true |
|
|
6251
6909
|
* | `mode` | *`'front'\|'behind'`* | `front` | 两种模式:|
|
|
6252
|
-
* | | | | `front` 模式:DOM 处于 five Canvas
|
|
6910
|
+
* | | | | `front` 模式:DOM 处于 five Canvas 上方,所以无法模拟遮挡效果,需要手动检测是否可见去设置显隐 |
|
|
6253
6911
|
* | | | | `behind` 模式:DOM 处于 five Canvas 下方,可以模拟真实的遮挡效果,但是 DOM 必须是非透明的 |
|
|
6254
|
-
* | `
|
|
6912
|
+
* | `scene` | *`THREE.Scene`* | `undefined` | 如果 mode 为 `behind`,需要传入 |
|
|
6255
6913
|
*
|
|
6256
6914
|
* @return
|
|
6257
6915
|
* ```typescript
|
|
@@ -6270,36 +6928,29 @@ class Controller extends Controller$1 {
|
|
|
6270
6928
|
* } | void
|
|
6271
6929
|
* ```
|
|
6272
6930
|
*/
|
|
6273
|
-
Object.defineProperty(this, "
|
|
6931
|
+
Object.defineProperty(this, "create3DElement", {
|
|
6274
6932
|
enumerable: true,
|
|
6275
6933
|
configurable: true,
|
|
6276
6934
|
writable: true,
|
|
6277
|
-
value: (points, config) => {
|
|
6278
|
-
if (this.
|
|
6935
|
+
value: (camera, points, config) => {
|
|
6936
|
+
if (this.state.disposed)
|
|
6279
6937
|
return this.disposedErrorLog();
|
|
6280
6938
|
// ==== init ====
|
|
6281
6939
|
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 = {
|
|
6940
|
+
const defaultConfig = {
|
|
6286
6941
|
ratio: 0.00216,
|
|
6287
|
-
devicePixelRatio:
|
|
6942
|
+
devicePixelRatio: 1,
|
|
6288
6943
|
mode: 'front',
|
|
6289
6944
|
autoRender: true,
|
|
6290
6945
|
container: document.createElement('div'),
|
|
6291
6946
|
pointerEvents: 'none',
|
|
6292
6947
|
};
|
|
6293
|
-
return Object.assign(
|
|
6948
|
+
return Object.assign(defaultConfig, config);
|
|
6294
6949
|
})();
|
|
6295
6950
|
const vector3Points = points.map(anyPositionToVector3);
|
|
6296
6951
|
if ((vector3Points === null || vector3Points === void 0 ? void 0 : vector3Points.length) < 4)
|
|
6297
|
-
return console.error(`${
|
|
6298
|
-
const { five, store } = this;
|
|
6952
|
+
return console.error(`${PLUGIN}: requires 4 point but params may have fewer`);
|
|
6299
6953
|
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
6954
|
const disposers = [];
|
|
6304
6955
|
// ==== init END ====
|
|
6305
6956
|
// 获取css3DObject, 如果mode为behind的话,也一起获取mesh
|
|
@@ -6311,47 +6962,47 @@ class Controller extends Controller$1 {
|
|
|
6311
6962
|
pointerEvents,
|
|
6312
6963
|
});
|
|
6313
6964
|
container.id = `container--${css3DObject.uuid}`;
|
|
6314
|
-
|
|
6315
|
-
const
|
|
6316
|
-
const behindModeAndBehindModeUnInited = mode === 'behind' && !globalState.behindModeStore;
|
|
6965
|
+
const frontModeAndFrontModeUnInited = mode === 'front' && !globalStore.frontModeStore;
|
|
6966
|
+
const behindModeAndBehindModeUnInited = mode === 'behind' && !globalStore.behindModeStore;
|
|
6317
6967
|
if (behindModeAndBehindModeUnInited) {
|
|
6318
|
-
|
|
6968
|
+
globalStore.behindModeStore = {
|
|
6969
|
+
scene: mergeConfig.scene,
|
|
6970
|
+
css3DScene: new THREE__namespace.Scene(),
|
|
6971
|
+
css3DRenderer: new CSS3DRenderer.CSS3DRenderer(),
|
|
6972
|
+
};
|
|
6319
6973
|
}
|
|
6320
6974
|
if (frontModeAndFrontModeUnInited) {
|
|
6321
|
-
|
|
6975
|
+
globalStore.frontModeStore = { css3DScene: new THREE__namespace.Scene(), css3DRenderer: new CSS3DRenderer.CSS3DRenderer() };
|
|
6322
6976
|
}
|
|
6323
|
-
const modeStore = mode === 'front' ?
|
|
6977
|
+
const modeStore = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
|
|
6324
6978
|
const { css3DScene, css3DRenderer } = modeStore;
|
|
6325
6979
|
const render = (() => {
|
|
6326
6980
|
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
6981
|
if (mode === 'front') {
|
|
6336
|
-
store.frontModeCSS3DObjects[css3DObject.uuid] = {
|
|
6337
|
-
|
|
6982
|
+
this.store.frontModeCSS3DObjects[css3DObject.uuid] = {
|
|
6983
|
+
visible: true,
|
|
6984
|
+
enabled: true,
|
|
6985
|
+
css3DObject,
|
|
6986
|
+
mode: 'front',
|
|
6987
|
+
};
|
|
6338
6988
|
}
|
|
6339
6989
|
else {
|
|
6340
|
-
store.behindModeCSS3DObjects[css3DObject.uuid] = {
|
|
6990
|
+
this.store.behindModeCSS3DObjects[css3DObject.uuid] = {
|
|
6341
6991
|
visible: true,
|
|
6342
6992
|
enabled: true,
|
|
6343
6993
|
css3DObject,
|
|
6344
6994
|
opacityMesh: opacityMesh,
|
|
6345
6995
|
mode: 'behind',
|
|
6996
|
+
scene: mergeConfig.scene,
|
|
6346
6997
|
};
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6998
|
+
}
|
|
6999
|
+
css3DScene.add(css3DObject);
|
|
7000
|
+
if (mode === 'behind' && opacityMesh) {
|
|
7001
|
+
mergeConfig.scene.add(opacityMesh);
|
|
7002
|
+
disposers.push(() => opacityMesh && mergeConfig.scene.remove(opacityMesh));
|
|
6351
7003
|
}
|
|
6352
7004
|
};
|
|
6353
7005
|
if (frontModeAndFrontModeUnInited || behindModeAndBehindModeUnInited) {
|
|
6354
|
-
resizeObserver = this.createResizeObserver(css3DRenderer.setSize);
|
|
6355
7006
|
css3DRenderer.domElement.style.position = 'absolute';
|
|
6356
7007
|
css3DRenderer.domElement.style.top = '0';
|
|
6357
7008
|
css3DRenderer.domElement.style.userSelect = 'none';
|
|
@@ -6360,24 +7011,21 @@ class Controller extends Controller$1 {
|
|
|
6360
7011
|
const renderEveryFrame = () => {
|
|
6361
7012
|
const requestAnimationFrameId = requestAnimationFrame(renderEveryFrame);
|
|
6362
7013
|
modeStore.requestAnimationFrameId = requestAnimationFrameId;
|
|
6363
|
-
css3DRenderer.render(css3DScene,
|
|
7014
|
+
css3DRenderer.render(css3DScene, camera);
|
|
6364
7015
|
};
|
|
6365
7016
|
return () => {
|
|
6366
|
-
var _a;
|
|
6367
7017
|
renderCSS3DObject();
|
|
6368
|
-
(_a = resizeObserver === null || resizeObserver === void 0 ? void 0 : resizeObserver.observe) === null || _a === void 0 ? void 0 : _a.call(resizeObserver);
|
|
6369
7018
|
renderEveryFrame();
|
|
6370
7019
|
};
|
|
6371
7020
|
}
|
|
6372
7021
|
return () => renderCSS3DObject();
|
|
6373
7022
|
})();
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
wrapper.appendChild(css3DRenderer.domElement);
|
|
7023
|
+
const wrapper = mode === 'front' ? globalStore.frontModeContainer : globalStore.behindModeContainer;
|
|
7024
|
+
if (wrapper) {
|
|
7025
|
+
this.appendToElement(wrapper, mode);
|
|
7026
|
+
const store = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
|
|
7027
|
+
if (store)
|
|
7028
|
+
store.appendedToPage = true;
|
|
6381
7029
|
}
|
|
6382
7030
|
const setVisible = (visible) => this.setVisibleById(css3DObject.uuid, visible);
|
|
6383
7031
|
const setEnabled = (enabled) => this.setEnabledById(css3DObject.uuid, enabled);
|
|
@@ -6386,9 +7034,8 @@ class Controller extends Controller$1 {
|
|
|
6386
7034
|
const enable = () => setEnabled(true);
|
|
6387
7035
|
const disable = () => setEnabled(false);
|
|
6388
7036
|
const dispose = () => {
|
|
6389
|
-
|
|
6390
|
-
delete store.
|
|
6391
|
-
delete store.behindModeCSS3DObjects[css3DObject.uuid];
|
|
7037
|
+
delete this.store.frontModeCSS3DObjects[css3DObject.uuid];
|
|
7038
|
+
delete this.store.behindModeCSS3DObjects[css3DObject.uuid];
|
|
6392
7039
|
disposers.forEach((d) => d === null || d === void 0 ? void 0 : d());
|
|
6393
7040
|
css3DScene.remove(css3DObject);
|
|
6394
7041
|
// 如果全没了,就清除父容器
|
|
@@ -6398,16 +7045,14 @@ class Controller extends Controller$1 {
|
|
|
6398
7045
|
}
|
|
6399
7046
|
css3DRenderer.domElement.remove();
|
|
6400
7047
|
if (mode === 'front')
|
|
6401
|
-
|
|
7048
|
+
globalStore.frontModeStore = undefined;
|
|
6402
7049
|
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
|
-
}
|
|
7050
|
+
globalStore.behindModeStore = undefined;
|
|
7051
|
+
globalStore.resizeObserver = undefined;
|
|
6407
7052
|
}
|
|
6408
7053
|
return true;
|
|
6409
7054
|
};
|
|
6410
|
-
store.disposers.push(dispose);
|
|
7055
|
+
this.store.disposers.push(dispose);
|
|
6411
7056
|
if (autoRender)
|
|
6412
7057
|
render();
|
|
6413
7058
|
return {
|
|
@@ -6422,89 +7067,60 @@ class Controller extends Controller$1 {
|
|
|
6422
7067
|
disable,
|
|
6423
7068
|
enable,
|
|
6424
7069
|
setEnabled,
|
|
7070
|
+
appendToElement: (container) => this.appendToElement(container, mode),
|
|
6425
7071
|
};
|
|
6426
7072
|
}
|
|
6427
7073
|
});
|
|
6428
|
-
Object.defineProperty(this, "
|
|
7074
|
+
Object.defineProperty(this, "setVisibleById", {
|
|
6429
7075
|
enumerable: true,
|
|
6430
7076
|
configurable: true,
|
|
6431
7077
|
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
|
-
};
|
|
7078
|
+
value: (id, visible) => {
|
|
7079
|
+
var _a;
|
|
7080
|
+
const data = (_a = this.store.frontModeCSS3DObjects[id]) !== null && _a !== void 0 ? _a : this.store.behindModeCSS3DObjects[id];
|
|
7081
|
+
if (!data)
|
|
7082
|
+
return;
|
|
7083
|
+
data.css3DObject.visible = visible;
|
|
7084
|
+
data.visible = visible;
|
|
7085
|
+
if (data.mode === 'behind')
|
|
7086
|
+
data.opacityMesh.visible = visible;
|
|
6452
7087
|
}
|
|
6453
7088
|
});
|
|
6454
|
-
Object.defineProperty(this, "
|
|
7089
|
+
Object.defineProperty(this, "setEnabledById", {
|
|
6455
7090
|
enumerable: true,
|
|
6456
7091
|
configurable: true,
|
|
6457
7092
|
writable: true,
|
|
6458
|
-
value: (
|
|
6459
|
-
|
|
6460
|
-
const
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
const
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
if (
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
container.style.height = `${domHeightPx}px`;
|
|
7093
|
+
value: (id, enabled) => {
|
|
7094
|
+
var _a, _b, _c;
|
|
7095
|
+
const data = (_a = this.store.frontModeCSS3DObjects[id]) !== null && _a !== void 0 ? _a : this.store.behindModeCSS3DObjects[id];
|
|
7096
|
+
if (!data)
|
|
7097
|
+
return;
|
|
7098
|
+
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;
|
|
7099
|
+
if (!css3DScene)
|
|
7100
|
+
return;
|
|
7101
|
+
if (enabled) {
|
|
7102
|
+
css3DScene.add(data.css3DObject);
|
|
7103
|
+
if (data.mode === 'behind')
|
|
7104
|
+
data.scene.add(data.opacityMesh);
|
|
6471
7105
|
}
|
|
6472
7106
|
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);
|
|
7107
|
+
css3DScene.remove(data.css3DObject);
|
|
7108
|
+
if (data.mode === 'behind')
|
|
7109
|
+
data.scene.remove(data.opacityMesh);
|
|
6487
7110
|
}
|
|
7111
|
+
data.enabled = enabled;
|
|
7112
|
+
}
|
|
7113
|
+
});
|
|
7114
|
+
Object.defineProperty(this, "createObject", {
|
|
7115
|
+
enumerable: true,
|
|
7116
|
+
configurable: true,
|
|
7117
|
+
writable: true,
|
|
7118
|
+
value: (points, config) => {
|
|
7119
|
+
const { ratio, dpr, container, mode, pointerEvents } = config;
|
|
7120
|
+
const css3DObject = new CSS3DObjectPlus(container, points, ratio, dpr);
|
|
6488
7121
|
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);
|
|
7122
|
+
container.classList.add(`${PLUGIN_NAME$2}__container`);
|
|
7123
|
+
const { domWidthPx, domHeightPx } = css3DObject;
|
|
6508
7124
|
// 生成透明Mesh
|
|
6509
7125
|
const opacityMesh = (() => {
|
|
6510
7126
|
if (mode === 'behind') {
|
|
@@ -6525,17 +7141,51 @@ class Controller extends Controller$1 {
|
|
|
6525
7141
|
return { css3DObject, opacityMesh };
|
|
6526
7142
|
}
|
|
6527
7143
|
});
|
|
7144
|
+
Object.defineProperty(this, "createResizeObserver", {
|
|
7145
|
+
enumerable: true,
|
|
7146
|
+
configurable: true,
|
|
7147
|
+
writable: true,
|
|
7148
|
+
value: (element, resizeHandler, fireImmediately = true) => {
|
|
7149
|
+
if (!element) {
|
|
7150
|
+
console.error('createResizeObserver: element is undefined');
|
|
7151
|
+
return { observe: () => { }, unobserve: () => { } };
|
|
7152
|
+
}
|
|
7153
|
+
const resizeObserverHandler = () => {
|
|
7154
|
+
/**
|
|
7155
|
+
* 这里evenNumber策略是遇到奇数会加1,在某些浏览器中会触发滚动条显示,导致fiveElement变小,fiveElement变小又触发了这里的resize,宽高变小,滚动条消失,然后又触发resize。。。无限循环
|
|
7156
|
+
* 所以为了规避上面这种情况,evenNumber设置了一个参数,遇到奇数可选择减一
|
|
7157
|
+
*/
|
|
7158
|
+
const width = evenNumber(element.clientWidth, { smaller: true });
|
|
7159
|
+
const height = evenNumber(element.clientHeight, { smaller: true });
|
|
7160
|
+
resizeHandler(width, height);
|
|
7161
|
+
};
|
|
7162
|
+
if (typeof ResizeObserver === 'undefined' || !ResizeObserver) {
|
|
7163
|
+
console.warn('createResizeObserver: ResizeObserver is undefined');
|
|
7164
|
+
return { observe: () => resizeObserverHandler(), unobserve: () => { } };
|
|
7165
|
+
}
|
|
7166
|
+
const observer = new ResizeObserver(resizeObserverHandler);
|
|
7167
|
+
if (fireImmediately)
|
|
7168
|
+
resizeObserverHandler();
|
|
7169
|
+
return {
|
|
7170
|
+
observe: () => observer.observe(element),
|
|
7171
|
+
unobserve: () => observer.unobserve(element),
|
|
7172
|
+
};
|
|
7173
|
+
}
|
|
7174
|
+
});
|
|
6528
7175
|
Object.defineProperty(this, "disposedErrorLog", {
|
|
6529
7176
|
enumerable: true,
|
|
6530
7177
|
configurable: true,
|
|
6531
7178
|
writable: true,
|
|
6532
7179
|
value: () => {
|
|
6533
|
-
console.error(`${
|
|
7180
|
+
console.error(`${PLUGIN} is disposed`);
|
|
6534
7181
|
}
|
|
6535
7182
|
});
|
|
6536
7183
|
}
|
|
7184
|
+
getCurrentState() {
|
|
7185
|
+
return this.state;
|
|
7186
|
+
}
|
|
6537
7187
|
setState(state, options = { userAction: true }) {
|
|
6538
|
-
if (this.
|
|
7188
|
+
if (this.state.disposed)
|
|
6539
7189
|
return this.disposedErrorLog();
|
|
6540
7190
|
const prevState = Object.assign({}, this.state);
|
|
6541
7191
|
this.state = Object.assign(this.state, state);
|
|
@@ -6547,40 +7197,63 @@ class Controller extends Controller$1 {
|
|
|
6547
7197
|
}
|
|
6548
7198
|
this.hooks.emit('stateChange', { state: this.state, prevState, userAction: options.userAction });
|
|
6549
7199
|
}
|
|
6550
|
-
/** @deprecated disposeAll() renamed as dispose() */
|
|
6551
|
-
disposeAll() {
|
|
6552
|
-
return this.dispose();
|
|
6553
|
-
}
|
|
6554
7200
|
dispose() {
|
|
6555
7201
|
this.store.disposers.forEach((d) => d === null || d === void 0 ? void 0 : d());
|
|
6556
7202
|
this.store.disposers = [];
|
|
6557
7203
|
this.hooks.emit('dispose');
|
|
6558
|
-
this.
|
|
7204
|
+
this.state.disposed = true;
|
|
6559
7205
|
}
|
|
6560
7206
|
async show({ userAction } = { userAction: true }) {
|
|
6561
|
-
if (this.
|
|
7207
|
+
if (this.state.disposed)
|
|
6562
7208
|
return this.disposedErrorLog();
|
|
6563
7209
|
this.setState({ visible: true }, { userAction });
|
|
6564
7210
|
this.hooks.emit('show', { userAction });
|
|
6565
7211
|
}
|
|
6566
7212
|
async hide({ userAction } = { userAction: true }) {
|
|
6567
|
-
if (this.
|
|
7213
|
+
if (this.state.disposed)
|
|
6568
7214
|
return this.disposedErrorLog();
|
|
6569
7215
|
this.setState({ visible: false }, { userAction });
|
|
6570
7216
|
this.hooks.emit('hide', { userAction });
|
|
6571
7217
|
}
|
|
6572
7218
|
enable({ userAction } = { userAction: true }) {
|
|
6573
|
-
if (this.
|
|
7219
|
+
if (this.state.disposed)
|
|
6574
7220
|
return this.disposedErrorLog();
|
|
6575
7221
|
this.setState({ enabled: true }, { userAction });
|
|
6576
7222
|
this.hooks.emit('enable', { userAction });
|
|
6577
7223
|
}
|
|
6578
7224
|
disable({ userAction } = { userAction: true }) {
|
|
6579
|
-
if (this.
|
|
7225
|
+
if (this.state.disposed)
|
|
6580
7226
|
return this.disposedErrorLog();
|
|
6581
7227
|
this.setState({ enabled: false }, { userAction });
|
|
6582
7228
|
this.hooks.emit('disable', { userAction });
|
|
6583
7229
|
}
|
|
7230
|
+
appendToElement(container, mode) {
|
|
7231
|
+
if (!container)
|
|
7232
|
+
throw new Error(`${PLUGIN} Cannot append to container: container is ${container}`);
|
|
7233
|
+
const store = mode === 'front' ? globalStore.frontModeStore : globalStore.behindModeStore;
|
|
7234
|
+
if (!store) {
|
|
7235
|
+
if (mode === 'front')
|
|
7236
|
+
globalStore.frontModeContainer = container;
|
|
7237
|
+
if (mode === 'behind')
|
|
7238
|
+
globalStore.behindModeContainer = container;
|
|
7239
|
+
return;
|
|
7240
|
+
}
|
|
7241
|
+
if (store.appendedToPage)
|
|
7242
|
+
return;
|
|
7243
|
+
container.appendChild(store.css3DRenderer.domElement);
|
|
7244
|
+
if (!globalStore.resizeObserver) {
|
|
7245
|
+
const reSize = (width, height) => {
|
|
7246
|
+
var _a, _b;
|
|
7247
|
+
(_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DRenderer.setSize(width, height);
|
|
7248
|
+
(_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.css3DRenderer.setSize(width, height);
|
|
7249
|
+
};
|
|
7250
|
+
const { observe, unobserve } = this.createResizeObserver(container, reSize, true);
|
|
7251
|
+
globalStore.resizeObserver = { observe, unobserve };
|
|
7252
|
+
observe();
|
|
7253
|
+
this.store.disposers.push(unobserve);
|
|
7254
|
+
}
|
|
7255
|
+
store.appendedToPage = true;
|
|
7256
|
+
}
|
|
6584
7257
|
async handleShow() {
|
|
6585
7258
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
6586
7259
|
value.css3DObject.visible = value.visible;
|
|
@@ -6589,7 +7262,6 @@ class Controller extends Controller$1 {
|
|
|
6589
7262
|
value.css3DObject.visible = value.visible;
|
|
6590
7263
|
value.opacityMesh.visible = value.visible;
|
|
6591
7264
|
});
|
|
6592
|
-
this.five.needsRender = true;
|
|
6593
7265
|
}
|
|
6594
7266
|
async handleHide() {
|
|
6595
7267
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
@@ -6599,77 +7271,148 @@ class Controller extends Controller$1 {
|
|
|
6599
7271
|
value.css3DObject.visible = false;
|
|
6600
7272
|
value.opacityMesh.visible = false;
|
|
6601
7273
|
});
|
|
6602
|
-
this.five.needsRender = true;
|
|
6603
7274
|
}
|
|
6604
7275
|
handleEnable() {
|
|
6605
7276
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
6606
7277
|
var _a;
|
|
6607
7278
|
if (!value.enabled)
|
|
6608
7279
|
return;
|
|
6609
|
-
(_a =
|
|
7280
|
+
(_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.add(value.css3DObject);
|
|
6610
7281
|
});
|
|
6611
7282
|
Object.values(this.store.behindModeCSS3DObjects).forEach((value) => {
|
|
6612
|
-
var _a;
|
|
7283
|
+
var _a, _b;
|
|
6613
7284
|
if (!value.enabled)
|
|
6614
7285
|
return;
|
|
6615
|
-
(_a =
|
|
6616
|
-
|
|
7286
|
+
(_a = globalStore.behindModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.add(value.css3DObject);
|
|
7287
|
+
(_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.scene.add(value.opacityMesh);
|
|
6617
7288
|
});
|
|
6618
|
-
this.five.needsRender = true;
|
|
6619
7289
|
}
|
|
6620
7290
|
handleDisable() {
|
|
6621
7291
|
Object.values(this.store.frontModeCSS3DObjects).forEach((value) => {
|
|
6622
7292
|
var _a;
|
|
6623
|
-
(_a =
|
|
7293
|
+
(_a = globalStore.frontModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.remove(value.css3DObject);
|
|
6624
7294
|
});
|
|
6625
7295
|
Object.values(this.store.behindModeCSS3DObjects).forEach((value) => {
|
|
6626
|
-
var _a;
|
|
6627
|
-
(_a =
|
|
6628
|
-
|
|
7296
|
+
var _a, _b;
|
|
7297
|
+
(_a = globalStore.behindModeStore) === null || _a === void 0 ? void 0 : _a.css3DScene.remove(value.css3DObject);
|
|
7298
|
+
(_b = globalStore.behindModeStore) === null || _b === void 0 ? void 0 : _b.scene.remove(value.opacityMesh);
|
|
6629
7299
|
});
|
|
7300
|
+
}
|
|
7301
|
+
}
|
|
7302
|
+
|
|
7303
|
+
const VERSION$1 = 'v2.0.0';
|
|
7304
|
+
const PLUGIN_NAME$1 = `CSS3DRenderPlugin-${random$1()}@${VERSION$1}`;
|
|
7305
|
+
class Controller extends CSS3DRender {
|
|
7306
|
+
constructor(five) {
|
|
7307
|
+
super();
|
|
7308
|
+
Object.defineProperty(this, "five", {
|
|
7309
|
+
enumerable: true,
|
|
7310
|
+
configurable: true,
|
|
7311
|
+
writable: true,
|
|
7312
|
+
value: void 0
|
|
7313
|
+
});
|
|
7314
|
+
/**
|
|
7315
|
+
* @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
7316
|
+
* @param { Vector3Position[] } points 矩形四个点坐标
|
|
7317
|
+
* @param config 均为可选值
|
|
7318
|
+
* @config_document `config` 均为可选值
|
|
7319
|
+
* | key | type | defaultValue | comment |
|
|
7320
|
+
* | - | - | - | - |
|
|
7321
|
+
* | `ratio` | *`number`* | `0.00216` | 1px对应多少米,默认为 0.00216,即1px对应2.16mm |
|
|
7322
|
+
* | ~~`dpr`~~ | ~~*`number`*~~ | ~~`undefined`~~ | ~~**已改名**,请使用~~ `devicePixelRatio` |
|
|
7323
|
+
* | `devicePixelRatio` | *`number`* | `1` | 设备的物理像素分辨率与CSS像素分辨率的比值 |
|
|
7324
|
+
* | `container` | *`HTMLElement`* | `undefined` | 自定义 return 中的 `container`
|
|
7325
|
+
* | `pointerEvents` | *`'none'\|'auto'`* | `'none'` | container 的 css属性:`pointer-events` 的值 |
|
|
7326
|
+
* | `autoRender` | *`boolean`* | `true` | 是否自动渲染,通常为true |
|
|
7327
|
+
* | `mode` | *`'front'\|'behind'`* | `front` | 两种模式:|
|
|
7328
|
+
* | | | | `front` 模式:DOM 处于 five Canvas 上方,所以无法模拟遮挡效果,需要手动检测是否可见去设置显隐 |
|
|
7329
|
+
* | | | | `behind` 模式:DOM 处于 five Canvas 下方,可以模拟真实的遮挡效果,但是 DOM 必须是非透明的 |
|
|
7330
|
+
* | `behindFiveContainer` | *`HTMLElement`* | `undefined` | 如果 mode 为 `behind`,需要传入容器,并确保此容器位five下方,且中间无其他不透明的dom元素遮挡 |
|
|
7331
|
+
*
|
|
7332
|
+
* @return
|
|
7333
|
+
* ```typescript
|
|
7334
|
+
* {
|
|
7335
|
+
* id: string, // id
|
|
7336
|
+
* container: HTMLDIVElement // dom容器
|
|
7337
|
+
* dispose: () => void // 销毁
|
|
7338
|
+
* css3DObject: CSS3DObject // THREE.CSS3DObject 实例
|
|
7339
|
+
* render?: () => void // 渲染函数,当 config.autoRender = true || undefined 时为 undefined
|
|
7340
|
+
* setVisible: (visible: boolean) => void // 设置显隐, 同 setVisibleById(id, visible)
|
|
7341
|
+
* show: () => void // 同 setVisible(true)
|
|
7342
|
+
* hide: () => void // 同 setVisible(false)
|
|
7343
|
+
* setEnabled: (enabled: boolean) => void // 添加/移除 container, 同 setEnabledById(id, enabled)
|
|
7344
|
+
* enable: () => void // 同 setEnabled(true)
|
|
7345
|
+
* disable: () => void // 同 setEnabled(false)
|
|
7346
|
+
* } | void
|
|
7347
|
+
* ```
|
|
7348
|
+
*/
|
|
7349
|
+
Object.defineProperty(this, "create3DDomContainer", {
|
|
7350
|
+
enumerable: true,
|
|
7351
|
+
configurable: true,
|
|
7352
|
+
writable: true,
|
|
7353
|
+
value: (points, config) => {
|
|
7354
|
+
if (this.state.disposed)
|
|
7355
|
+
return;
|
|
7356
|
+
// ==== init ====
|
|
7357
|
+
const mergeConfig = (() => {
|
|
7358
|
+
var _a;
|
|
7359
|
+
if ((config === null || config === void 0 ? void 0 : config.dpr) !== undefined)
|
|
7360
|
+
console.warn(`${PLUGIN_NAME$1}: please use "config.devicePixelRatio" replace "config.dpr"`);
|
|
7361
|
+
const defaultconfig = {
|
|
7362
|
+
ratio: 0.00216,
|
|
7363
|
+
devicePixelRatio: (_a = config === null || config === void 0 ? void 0 : config.dpr) !== null && _a !== void 0 ? _a : 1,
|
|
7364
|
+
mode: 'front',
|
|
7365
|
+
autoRender: true,
|
|
7366
|
+
};
|
|
7367
|
+
return Object.assign(defaultconfig, config, (config === null || config === void 0 ? void 0 : config.mode) === 'behind' ? { scene: this.five.scene } : undefined);
|
|
7368
|
+
})();
|
|
7369
|
+
const fiveElement = this.five.getElement();
|
|
7370
|
+
if (!fiveElement)
|
|
7371
|
+
return console.error(`${PLUGIN_NAME$1}: five.getElement() is ${fiveElement}`);
|
|
7372
|
+
const { autoRender, mode } = mergeConfig;
|
|
7373
|
+
// 自动添加dom
|
|
7374
|
+
const wrapper = mode === 'front' ? fiveElement.parentElement : mergeConfig.behindFiveContainer;
|
|
7375
|
+
this.appendToElement(wrapper || document.body, mode);
|
|
7376
|
+
const create3DElementResault = this.create3DElement(this.five.camera, points, Object.assign(Object.assign({}, mergeConfig), { autoRender: false }));
|
|
7377
|
+
if (!create3DElementResault)
|
|
7378
|
+
return;
|
|
7379
|
+
const oldRender = create3DElementResault.render;
|
|
7380
|
+
const newRender = () => {
|
|
7381
|
+
var _a;
|
|
7382
|
+
if (mode === 'front') {
|
|
7383
|
+
oldRender();
|
|
7384
|
+
}
|
|
7385
|
+
if (mode === 'behind') {
|
|
7386
|
+
if ((_a = this.five.model) === null || _a === void 0 ? void 0 : _a.loaded)
|
|
7387
|
+
oldRender();
|
|
7388
|
+
else
|
|
7389
|
+
this.five.once('modelLoaded', () => oldRender());
|
|
7390
|
+
}
|
|
7391
|
+
};
|
|
7392
|
+
if (autoRender)
|
|
7393
|
+
newRender();
|
|
7394
|
+
return Object.assign(Object.assign({}, create3DElementResault), { render: autoRender ? undefined : newRender });
|
|
7395
|
+
}
|
|
7396
|
+
});
|
|
7397
|
+
this.five = five;
|
|
7398
|
+
}
|
|
7399
|
+
/** @deprecated disposeAll() renamed as dispose() */
|
|
7400
|
+
disposeAll() {
|
|
7401
|
+
return this.dispose();
|
|
7402
|
+
}
|
|
7403
|
+
setState(...params) {
|
|
7404
|
+
const result = super.setState(...params);
|
|
6630
7405
|
this.five.needsRender = true;
|
|
7406
|
+
return result;
|
|
6631
7407
|
}
|
|
6632
7408
|
}
|
|
6633
7409
|
|
|
6634
7410
|
const CSS3DRenderPlugin = (five) => new Controller(five);
|
|
6635
7411
|
|
|
6636
|
-
|
|
6637
|
-
const
|
|
7412
|
+
// declare const __APP_VERSION__: string
|
|
7413
|
+
const VERSION = '0.3.7';
|
|
7414
|
+
const PLUGIN_NAME = `DnalogelPlugin-PanoTagPlugin@${VERSION}`;
|
|
6638
7415
|
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
7416
|
const pluginFlag = (name) => `${PLUGIN_NAME}--${name}`;
|
|
6674
7417
|
class PanoTagPluginController extends TagComputer {
|
|
6675
7418
|
constructor(five, params) {
|
|
@@ -6738,9 +7481,16 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6738
7481
|
value: {
|
|
6739
7482
|
disposers: [],
|
|
6740
7483
|
disposed: false,
|
|
7484
|
+
resizeObserverDisposerAdding: false,
|
|
6741
7485
|
css3DRenderDisposer: new Map(),
|
|
6742
7486
|
}
|
|
6743
7487
|
});
|
|
7488
|
+
Object.defineProperty(this, "staticUrl", {
|
|
7489
|
+
enumerable: true,
|
|
7490
|
+
configurable: true,
|
|
7491
|
+
writable: true,
|
|
7492
|
+
value: void 0
|
|
7493
|
+
});
|
|
6744
7494
|
Object.defineProperty(this, "disposedErrorLog", {
|
|
6745
7495
|
enumerable: true,
|
|
6746
7496
|
configurable: true,
|
|
@@ -6749,9 +7499,24 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6749
7499
|
console.error(`${PLUGIN_NAME} is disposed`);
|
|
6750
7500
|
}
|
|
6751
7501
|
});
|
|
6752
|
-
this.params = Object.assign({ debug: false, mergePluginDefaultConfigToLoadDataConfig: false, config: this.config
|
|
7502
|
+
this.params = Object.assign({ debug: false, mergePluginDefaultConfigToLoadDataConfig: false, config: this.config, staticConfig: {
|
|
7503
|
+
host: 'vrlab-static.ljcdn.com',
|
|
7504
|
+
} }, params);
|
|
6753
7505
|
this.debug = this.params.debug;
|
|
6754
7506
|
this.config = this.params.config;
|
|
7507
|
+
this.staticUrl = (() => {
|
|
7508
|
+
var _a;
|
|
7509
|
+
const staticConfig = this.params.staticConfig;
|
|
7510
|
+
if (typeof staticConfig === 'string') {
|
|
7511
|
+
return staticConfig;
|
|
7512
|
+
}
|
|
7513
|
+
else {
|
|
7514
|
+
const protocol = staticConfig.protocol ? staticConfig.protocol + ':' : '';
|
|
7515
|
+
const host = (_a = staticConfig.host) !== null && _a !== void 0 ? _a : 'vrlab-static.ljcdn.com';
|
|
7516
|
+
const port = staticConfig.port ? ':' + staticConfig.port : '';
|
|
7517
|
+
return `${protocol}//${host}${port}`;
|
|
7518
|
+
}
|
|
7519
|
+
})();
|
|
6755
7520
|
Object.assign(window, { __PANOTAGPLUGIN_DEBUG__: this });
|
|
6756
7521
|
}
|
|
6757
7522
|
/**
|
|
@@ -6787,7 +7552,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6787
7552
|
const _tags = tags
|
|
6788
7553
|
.map((tag) => {
|
|
6789
7554
|
const config = this.getTagConfig(tag);
|
|
6790
|
-
return Object.assign(Object.assign({}, tag), { state: Object.assign({ visible: undefined, unfolded: TAG_INITIAL_UNFOLDED }, config.initialState) });
|
|
7555
|
+
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
7556
|
})
|
|
6792
7557
|
.filter((tag) => tag.position);
|
|
6793
7558
|
this.tags.push(..._tags);
|
|
@@ -6798,10 +7563,13 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6798
7563
|
(_b = (_a = this.store).eventListenerDisposer) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
6799
7564
|
}
|
|
6800
7565
|
this.store.eventListenerDisposer = this.addEventListener();
|
|
6801
|
-
|
|
7566
|
+
// resizeObserverDisposerAdding 避免200ms内重复执行 addResizeObserver
|
|
7567
|
+
if (!this.store.resizeObserverDisposer && !this.store.resizeObserverDisposerAdding) {
|
|
6802
7568
|
const resizeObserverDisposer = this.addResizeObserver();
|
|
7569
|
+
this.store.resizeObserverDisposerAdding = true;
|
|
6803
7570
|
setTimeout(() => {
|
|
6804
7571
|
this.store.resizeObserverDisposer = resizeObserverDisposer;
|
|
7572
|
+
this.store.resizeObserverDisposerAdding = false;
|
|
6805
7573
|
}, 200);
|
|
6806
7574
|
}
|
|
6807
7575
|
this.checkPanelTag();
|
|
@@ -6853,6 +7621,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
6853
7621
|
this.store.eventListenerDisposer = undefined;
|
|
6854
7622
|
(_f = (_e = this.store).resizeObserverDisposer) === null || _f === void 0 ? void 0 : _f.call(_e);
|
|
6855
7623
|
this.store.resizeObserverDisposer = undefined;
|
|
7624
|
+
this.store.resizeObserverDisposerAdding = false;
|
|
6856
7625
|
this.clearCache();
|
|
6857
7626
|
this.hooks.emit('dispose');
|
|
6858
7627
|
}
|
|
@@ -7240,11 +8009,8 @@ class PanoTagPluginController extends TagComputer {
|
|
|
7240
8009
|
}
|
|
7241
8010
|
}
|
|
7242
8011
|
|
|
7243
|
-
// DELETE
|
|
7244
|
-
Object.assign(window, { objectAssignDeep: objectAssignDeep__default["default"] });
|
|
7245
8012
|
const PanoTagPlugin = (five, params) => new PanoTagPluginController(five, params);
|
|
7246
8013
|
|
|
7247
|
-
exports.DefaultConfig = DefaultConfig;
|
|
7248
8014
|
exports.PanoTagPlugin = PanoTagPlugin;
|
|
7249
8015
|
exports.PanoTagPluginController = PanoTagPluginController;
|
|
7250
8016
|
exports["default"] = PanoTagPlugin;
|