@realsee/dnalogel 2.4.0 → 2.5.0
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/utils/positionToVector3.d.ts +2 -2
- package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -2
- package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +19 -22
- package/dist/PanoTagPlugin/controller/index.d.ts +25 -14
- package/dist/PanoTagPlugin/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +23 -17
- package/dist/PanoTagPlugin/typings/index.d.ts +5 -1
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +53 -0
- package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
- package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/dist/index.cjs.js +52 -54
- package/dist/index.js +7771 -6537
- package/dist/index.umd.js +44 -46
- package/dist/shared-utils/audio.d.ts +31 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +223 -176
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +75 -35
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +19 -15
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +19 -15
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +39 -13
- package/docs/functions/CameraMovementPlugin.html +39 -13
- package/docs/functions/CruisePlugin.html +39 -13
- package/docs/functions/GuideLinePlugin.html +40 -14
- package/docs/functions/ItemLabelPlugin.html +39 -13
- package/docs/functions/MapviewFloorplanPlugin.html +39 -13
- package/docs/functions/ModelChassisCompassPlugin.html +39 -13
- package/docs/functions/ModelEntryDoorGuidePlugin.html +39 -13
- package/docs/functions/ModelFloorplanPlugin.html +39 -13
- package/docs/functions/ModelItemLabelPlugin.html +39 -13
- package/docs/functions/ModelRoomLabelPlugin.html +39 -13
- package/docs/functions/ModelTVVideoPlugin.html +39 -13
- package/docs/functions/ModelViewPlugin.html +39 -13
- package/docs/functions/Object3DHelperPlugin.html +39 -13
- package/docs/functions/PanoCompassPlugin.html +39 -13
- package/docs/functions/PanoCursorRaycasterPlugin.html +39 -13
- package/docs/functions/PanoDoorLabelPlugin.html +39 -13
- package/docs/functions/PanoFloorplanRadarPlugin.html +39 -13
- package/docs/functions/PanoMeasurePlugin.html +39 -13
- package/docs/functions/PanoRulerPlugin.html +39 -13
- package/docs/functions/PanoRulerProPlugin.html +39 -13
- package/docs/functions/PanoSpatialTagPlugin.html +39 -13
- package/docs/functions/PanoTagPlugin.html +45 -23
- package/docs/functions/TopviewFloorplanPlugin.html +39 -13
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +40 -14
- package/docs/index.html +39 -13
- package/docs/interfaces/AddTagConfig.html +64 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +298 -0
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +71 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +40 -14
- package/docs/interfaces/PanoMeasureParameterType.html +12 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +40 -14
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +40 -14
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +40 -14
- package/docs/interfaces/Rooms.html +40 -14
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +89 -0
- package/docs/interfaces/TagCache.html +92 -0
- package/docs/interfaces/TagConfig.html +15 -19
- package/docs/interfaces/TagIconUrl.html +91 -0
- package/docs/interfaces/Tags.html +14 -12
- package/docs/interfaces/TemporaryState.html +64 -0
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +73 -21
- package/docs/types/ArrayPosition.html +41 -15
- package/docs/types/AudioAppearance.html +256 -0
- package/docs/types/AudioTagTypeConfigKey.html +256 -0
- package/docs/types/CSS3DRenderExportType.html +40 -14
- package/docs/types/CSS3DRenderPluginExportType.html +40 -14
- package/docs/types/CSS3DRenderPluginParameterType.html +40 -14
- package/docs/types/Color.html +40 -14
- package/docs/types/ContentTypeConfigKey.html +41 -15
- package/docs/types/ContentTypeConfigKeySplit.html +256 -0
- package/docs/types/ContentTypeMap.html +256 -0
- package/docs/types/Create3DDomContainerReturnType.html +40 -14
- package/docs/types/Create3DElementReturnType.html +40 -14
- package/docs/types/CruisePluginExportType.html +40 -14
- package/docs/types/Direction-1.html +40 -14
- package/docs/types/Direction4.html +40 -14
- package/docs/types/FloorplanRuleLabels.html +40 -14
- package/docs/types/FloorplanServerRuleLabels.html +40 -14
- package/docs/types/GuideLinePluginExportType.html +40 -14
- package/docs/types/HelperEventMap.html +40 -14
- package/docs/types/LoadTagConfig.html +256 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +40 -14
- package/docs/types/MapviewFloorplanPluginReturnType.html +40 -14
- package/docs/types/MediaData.html +40 -14
- package/docs/types/MediaStore.html +256 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +40 -14
- package/docs/types/ModelFloorplanPluginParameterType.html +40 -14
- package/docs/types/ModelFloorplanPluginReturnType.html +40 -14
- package/docs/types/ModelRoomLabelPluginParameters.html +40 -14
- package/docs/types/ModelRoomLabelPluginReturnType.html +40 -14
- package/docs/types/MoveArgs.html +40 -14
- package/docs/types/MoveOpts.html +40 -14
- package/docs/types/Object3DHelperEventMap.html +40 -14
- package/docs/types/ObjectFit.html +40 -14
- package/docs/types/PaintBrushEventMap.html +40 -14
- package/docs/types/PanoCompassPluginData.html +40 -14
- package/docs/types/PanoCompassPluginExportType.html +40 -14
- package/docs/types/PanoCompassPluginParameterType.html +40 -14
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +40 -14
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +40 -14
- package/docs/types/PanoIndex.html +256 -0
- package/docs/types/PanoMeasurePluginEvent.html +40 -14
- package/docs/types/PanoMeasureReturnType.html +40 -14
- package/docs/types/PanoSpatialTagPluginId.html +40 -14
- package/docs/types/PanoTagPluginExportInterface.html +40 -14
- package/docs/types/PanoTagPluginParamsInterface.html +40 -14
- package/docs/types/PlaneTag.html +43 -19
- package/docs/types/PlaneTagElement.html +261 -0
- package/docs/types/Point2DElement.html +261 -0
- package/docs/types/Point2DTag.html +263 -0
- package/docs/types/Point3DElement.html +261 -0
- package/docs/types/Point3DTag.html +263 -0
- package/docs/types/PointTag.html +43 -23
- package/docs/types/PointTagElement.html +261 -0
- package/docs/types/Position.html +40 -14
- package/docs/types/RotateArgs.html +40 -14
- package/docs/types/RotateOpts.html +40 -14
- package/docs/types/RuleLabelsKey.html +40 -14
- package/docs/types/RuleLabelsValue.html +40 -14
- package/docs/types/StickType.html +256 -0
- package/docs/types/Tag.html +44 -22
- package/docs/types/Tag2D.html +45 -20
- package/docs/types/Tag3D.html +45 -20
- package/docs/types/TagContentType.html +256 -0
- package/docs/types/TagDimensionType.html +256 -0
- package/docs/types/TagElement.html +263 -0
- package/docs/types/TagEvents.html +291 -0
- package/docs/types/TagHooks.html +256 -0
- package/docs/types/TagIconSize.html +259 -0
- package/docs/types/TagId.html +40 -14
- package/docs/types/TagPointType.html +259 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +40 -14
- package/docs/types/TopviewFloorplanPluginReturnType.html +40 -14
- package/docs/types/{ContentTypeConfigKeyArray.html → WorkCode.html} +43 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +40 -14
- package/docs/variables/PLUGIN.html +40 -14
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +40 -14
- package/docs/variables/ROOM_TYPE_MAP.html +40 -14
- package/docs/variables/VERSION.html +40 -14
- package/docs/variables/itemLabelPluginServerParams.html +40 -14
- package/docs/variables/modelItemLabelPluginServerParams.html +40 -14
- package/docs/variables/modelRoomLabelPluginServerParams.html +40 -14
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +2 -2
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
- package/libs/CSS3DRenderPlugin/utils/index.js +12 -0
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +4 -3
- package/libs/CSS3DRenderPlugin/utils/random.js +6 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +6 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
- package/libs/CruisePlugin/Controller.js +2 -2
- package/libs/CruisePlugin/utils/coordinatesAngle.js +3 -2
- package/libs/CruisePlugin/utils/linerValue.js +4 -4
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
- package/libs/GuideLinePlugin/utils/getPoint.d.ts +3 -0
- package/libs/GuideLinePlugin/utils/getPoint.js +18 -0
- package/libs/Object3DHelperPlugin/Controller.js +38 -36
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +18 -9
- package/libs/PanoMeasurePlugin/Controller/EditController.js +16 -5
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +38 -19
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +13 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +31 -20
- package/libs/PanoMeasurePlugin/Controller/index.js +54 -18
- package/libs/PanoMeasurePlugin/Model/index.js +41 -34
- package/libs/PanoMeasurePlugin/Model/line.js +9 -6
- package/libs/PanoMeasurePlugin/Model/point.js +3 -3
- package/libs/PanoMeasurePlugin/Model/polyline.js +19 -12
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +24 -24
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +24 -16
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +4 -3
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +8 -5
- package/libs/PanoMeasurePlugin/index.js +16 -16
- package/libs/PanoMeasurePlugin/typings/data.js +1 -0
- package/libs/PanoMeasurePlugin/typings/event.type.js +4 -0
- package/libs/PanoMeasurePlugin/typings/index.js +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
- package/libs/PanoMeasurePlugin/typings/utils.type.js +1 -0
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +6 -0
- package/libs/PanoMeasurePlugin/utils/constants.js +15 -16
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +7 -6
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
- package/libs/PanoMeasurePlugin/utils/line.js +1 -0
- package/libs/PanoMeasurePlugin/utils/math.js +2 -1
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
- package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
- package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/PanoTagPlugin/Assets/Icon.d.ts +3 -2
- package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +103 -140
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +198 -0
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +108 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +95 -59
- package/libs/PanoTagPlugin/Components/Common/Media.js +275 -249
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +143 -79
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +11 -10
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +81 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +145 -0
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +195 -0
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +172 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +223 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +123 -0
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +126 -131
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +75 -97
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +166 -143
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +75 -45
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +130 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +134 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +115 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +264 -157
- package/libs/PanoTagPlugin/Components/TagContainer.js +164 -109
- package/libs/PanoTagPlugin/Components/TagItem.js +253 -0
- package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
- package/libs/PanoTagPlugin/controller/TagCacheController.js +3 -2
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +19 -22
- package/libs/PanoTagPlugin/controller/TagComputer.js +186 -151
- package/libs/PanoTagPlugin/controller/index.d.ts +25 -14
- package/libs/PanoTagPlugin/controller/index.js +265 -170
- package/libs/PanoTagPlugin/index.d.ts +1 -1
- package/libs/PanoTagPlugin/index.js +51 -35
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
- package/libs/PanoTagPlugin/tag.config.js +31 -16
- package/libs/PanoTagPlugin/typings/controller.d.ts +23 -17
- package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
- package/libs/PanoTagPlugin/typings/index.js +7 -1
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
- package/libs/PanoTagPlugin/typings/tag/Tag.js +4 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
- package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +53 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +7 -1
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +107 -0
- package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/color.js +17 -0
- package/libs/PanoTagPlugin/utils/constants.js +2 -1
- package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
- package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
- package/libs/PanoTagPlugin/utils/getImageInfo.js +51 -0
- package/libs/PanoTagPlugin/utils/index.js +36 -0
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
- package/libs/PanoTagPlugin/utils/search.js +27 -9
- package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/tag/format.js +18 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +26 -0
- package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
- package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +10 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +83 -74
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/index.js +126 -114
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +29 -39
- package/libs/shared-utils/audio.d.ts +31 -0
- package/libs/shared-utils/audio.js +81 -0
- package/libs/vendor/svelte/internal/index.js +382 -338
- package/package.json +3 -3
- package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/docs/enums/LinkType.html +0 -67
- package/docs/interfaces/ContentTypeMap.html +0 -212
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
- package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
- package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
- package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
- package/libs/PanoTagPlugin/typings/tag.js +0 -7
|
@@ -1,141 +1,164 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SvelteComponent as de, init as ce, safe_not_equal as ge, append_styles as pe, element as h, create_component as be, space as A, text as D, attr as c, set_style as R, src_url_equal as j, toggle_class as Y, insert as S, mount_component as ue, append as d, set_data as E, transition_in as he, transition_out as ve, detach as T, destroy_component as ke, destroy_each as $, empty as fe } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import "hammerjs";
|
|
3
|
+
import "three";
|
|
4
|
+
import "@realsee/five";
|
|
5
|
+
import "@tweenjs/tween.js";
|
|
6
|
+
import "../../../CSS3DRenderPlugin/CSS3DRender.js";
|
|
7
|
+
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
8
|
+
import { notNil as L } from "../../../shared-utils/isNil.js";
|
|
9
|
+
import "../../../shared-utils/animationFrame/BetterTween.js";
|
|
10
|
+
import ye from "../Common/Shadow.js";
|
|
11
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
12
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
13
|
+
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
14
|
+
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
15
|
+
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
16
|
+
import "../../../shared-utils/Subscribe.js";
|
|
17
|
+
import "../../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
18
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
19
|
+
import "../../../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
20
|
+
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
21
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
22
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
|
+
import "../../../shared-utils/animationFrame/index.js";
|
|
24
|
+
import "../../../vendor/svelte/transition/index.js";
|
|
25
|
+
import "../../../vendor/svelte/easing/index.js";
|
|
26
|
+
function _e(l) {
|
|
27
|
+
pe(l, "svelte-8mby9k", ".svelte-8mby9k.svelte-8mby9k{box-sizing:border-box}.marketing.svelte-8mby9k.svelte-8mby9k{transform:translateY(-100%)}.content.svelte-8mby9k .headerImage.svelte-8mby9k{position:absolute;width:100%;top:0.25rem;transform:translateY(-100%);border-top-left-radius:0.25rem;border-top-right-radius:0.25rem}.line.svelte-8mby9k.svelte-8mby9k{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-8mby9k.svelte-8mby9k{background-color:white;position:relative;display:flex;flex-direction:column;min-width:11.125rem;width:-moz-max-content;width: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-8mby9k.svelte-8mby9k{position:absolute;background-color:white;border-radius:0.25rem;width:100%;top:0.5rem;padding-left:0.75rem;padding-right:0.75rem}.title.svelte-8mby9k .text.svelte-8mby9k{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-8mby9k.svelte-8mby9k{position:relative;padding-left:0.75rem;padding-right:0.75rem;width:100%;height:1.375rem;display:flex;align-items:center}.footer.svelte-8mby9k .goto-button.svelte-8mby9k{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-8mby9k .goto-icon.svelte-8mby9k::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-8mby9k.svelte-8mby9k{flex-shrink:0;margin-right:0.75rem;white-space:nowrap;color:#ff6600;display:flex;align-items:baseline}.price.svelte-8mby9k .value.svelte-8mby9k{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-8mby9k .unit.svelte-8mby9k{padding-left:0.125rem;font-size:0.625rem}.tag.svelte-8mby9k.svelte-8mby9k{position:relative;background-color:white;display:flex;width:-moz-max-content;width:max-content;padding-left:0.75rem;padding-right:0.75rem;min-height:1.75rem}.tag.svelte-8mby9k .base-tag.svelte-8mby9k{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-8mby9k .primary-tag.svelte-8mby9k{background:#e5eefe;color:#0055ff}.tag.svelte-8mby9k .secondary-tag.svelte-8mby9k{background:rgba(255, 102, 0, 0.08);color:rgba(255, 102, 0, 1)}.unfolded.svelte-8mby9k .line.svelte-8mby9k{transform:translateX(-50%) scale(1, 1)}.folded.svelte-8mby9k .line.svelte-8mby9k{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.unfolded.svelte-8mby9k .content.svelte-8mby9k{opacity:1}.folded.svelte-8mby9k .content.svelte-8mby9k{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}");
|
|
5
28
|
}
|
|
6
|
-
function
|
|
7
|
-
const
|
|
8
|
-
return
|
|
29
|
+
function x(l, t, e) {
|
|
30
|
+
const i = l.slice();
|
|
31
|
+
return i[0] = t[e], i;
|
|
9
32
|
}
|
|
10
|
-
function
|
|
11
|
-
const
|
|
12
|
-
return
|
|
33
|
+
function ee(l, t, e) {
|
|
34
|
+
const i = l.slice();
|
|
35
|
+
return i[0] = t[e], i;
|
|
13
36
|
}
|
|
14
|
-
function
|
|
15
|
-
let t, e =
|
|
37
|
+
function te(l) {
|
|
38
|
+
let t, e = l[0] + "", i;
|
|
16
39
|
return {
|
|
17
40
|
c() {
|
|
18
|
-
t =
|
|
41
|
+
t = h("div"), i = D(e), c(t, "class", "base-tag primary-tag svelte-8mby9k");
|
|
19
42
|
},
|
|
20
|
-
m(
|
|
21
|
-
S(
|
|
43
|
+
m(r, m) {
|
|
44
|
+
S(r, t, m), d(t, i);
|
|
22
45
|
},
|
|
23
|
-
p(
|
|
24
|
-
|
|
46
|
+
p(r, m) {
|
|
47
|
+
m & 4 && e !== (e = r[0] + "") && E(i, e);
|
|
25
48
|
},
|
|
26
|
-
d(
|
|
27
|
-
|
|
49
|
+
d(r) {
|
|
50
|
+
r && T(t);
|
|
28
51
|
}
|
|
29
52
|
};
|
|
30
53
|
}
|
|
31
|
-
function
|
|
32
|
-
let t, e =
|
|
54
|
+
function ie(l) {
|
|
55
|
+
let t, e = l[0] && te(l);
|
|
33
56
|
return {
|
|
34
57
|
c() {
|
|
35
|
-
e && e.c(), t =
|
|
58
|
+
e && e.c(), t = fe();
|
|
36
59
|
},
|
|
37
|
-
m(
|
|
38
|
-
e && e.m(
|
|
60
|
+
m(i, r) {
|
|
61
|
+
e && e.m(i, r), S(i, t, r);
|
|
39
62
|
},
|
|
40
|
-
p(
|
|
41
|
-
|
|
63
|
+
p(i, r) {
|
|
64
|
+
i[0] ? e ? e.p(i, r) : (e = te(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
42
65
|
},
|
|
43
|
-
d(
|
|
44
|
-
e && e.d(
|
|
66
|
+
d(i) {
|
|
67
|
+
e && e.d(i), i && T(t);
|
|
45
68
|
}
|
|
46
69
|
};
|
|
47
70
|
}
|
|
48
|
-
function le(
|
|
49
|
-
let t, e =
|
|
71
|
+
function le(l) {
|
|
72
|
+
let t, e = l[0] + "", i;
|
|
50
73
|
return {
|
|
51
74
|
c() {
|
|
52
|
-
t =
|
|
75
|
+
t = h("div"), i = D(e), c(t, "class", "base-tag secondary-tag svelte-8mby9k");
|
|
53
76
|
},
|
|
54
|
-
m(
|
|
55
|
-
S(
|
|
77
|
+
m(r, m) {
|
|
78
|
+
S(r, t, m), d(t, i);
|
|
56
79
|
},
|
|
57
|
-
p(
|
|
58
|
-
|
|
80
|
+
p(r, m) {
|
|
81
|
+
m & 4 && e !== (e = r[0] + "") && E(i, e);
|
|
59
82
|
},
|
|
60
|
-
d(
|
|
61
|
-
|
|
83
|
+
d(r) {
|
|
84
|
+
r && T(t);
|
|
62
85
|
}
|
|
63
86
|
};
|
|
64
87
|
}
|
|
65
|
-
function
|
|
66
|
-
let t, e =
|
|
88
|
+
function re(l) {
|
|
89
|
+
let t, e = l[0] && le(l);
|
|
67
90
|
return {
|
|
68
91
|
c() {
|
|
69
|
-
e && e.c(), t =
|
|
92
|
+
e && e.c(), t = fe();
|
|
70
93
|
},
|
|
71
|
-
m(
|
|
72
|
-
e && e.m(
|
|
94
|
+
m(i, r) {
|
|
95
|
+
e && e.m(i, r), S(i, t, r);
|
|
73
96
|
},
|
|
74
|
-
p(
|
|
75
|
-
|
|
97
|
+
p(i, r) {
|
|
98
|
+
i[0] ? e ? e.p(i, r) : (e = le(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
76
99
|
},
|
|
77
|
-
d(
|
|
78
|
-
e && e.d(
|
|
100
|
+
d(i) {
|
|
101
|
+
e && e.d(i), i && T(t);
|
|
79
102
|
}
|
|
80
103
|
};
|
|
81
104
|
}
|
|
82
|
-
function
|
|
83
|
-
let t, e,
|
|
105
|
+
function oe(l) {
|
|
106
|
+
let t, e, i = l[2].price.value + "", r, m, n = l[2].price.unit && ne(l);
|
|
84
107
|
return {
|
|
85
108
|
c() {
|
|
86
|
-
t =
|
|
109
|
+
t = h("div"), e = h("span"), r = D(i), m = A(), n && n.c(), c(e, "class", "value svelte-8mby9k"), c(t, "class", "price svelte-8mby9k");
|
|
87
110
|
},
|
|
88
|
-
m(
|
|
89
|
-
S(
|
|
111
|
+
m(f, v) {
|
|
112
|
+
S(f, t, v), d(t, e), d(e, r), d(t, m), n && n.m(t, null);
|
|
90
113
|
},
|
|
91
|
-
p(
|
|
92
|
-
|
|
114
|
+
p(f, v) {
|
|
115
|
+
v & 4 && i !== (i = f[2].price.value + "") && E(r, i), f[2].price.unit ? n ? n.p(f, v) : (n = ne(f), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
|
|
93
116
|
},
|
|
94
|
-
d(
|
|
95
|
-
|
|
117
|
+
d(f) {
|
|
118
|
+
f && T(t), n && n.d();
|
|
96
119
|
}
|
|
97
120
|
};
|
|
98
121
|
}
|
|
99
|
-
function
|
|
100
|
-
let t, e =
|
|
122
|
+
function ne(l) {
|
|
123
|
+
let t, e = l[2].price.unit + "", i;
|
|
101
124
|
return {
|
|
102
125
|
c() {
|
|
103
|
-
t =
|
|
126
|
+
t = h("span"), i = D(e), c(t, "class", "unit svelte-8mby9k");
|
|
104
127
|
},
|
|
105
|
-
m(
|
|
106
|
-
S(
|
|
128
|
+
m(r, m) {
|
|
129
|
+
S(r, t, m), d(t, i);
|
|
107
130
|
},
|
|
108
|
-
p(
|
|
109
|
-
|
|
131
|
+
p(r, m) {
|
|
132
|
+
m & 4 && e !== (e = r[2].price.unit + "") && E(i, e);
|
|
110
133
|
},
|
|
111
|
-
d(
|
|
112
|
-
|
|
134
|
+
d(r) {
|
|
135
|
+
r && T(t);
|
|
113
136
|
}
|
|
114
137
|
};
|
|
115
138
|
}
|
|
116
|
-
function
|
|
117
|
-
let t, e =
|
|
139
|
+
function ae(l) {
|
|
140
|
+
let t, e = l[2].highlightText + "", i;
|
|
118
141
|
return {
|
|
119
142
|
c() {
|
|
120
|
-
t =
|
|
143
|
+
t = h("div"), i = D(e), c(t, "class", "goto-button goto-icon svelte-8mby9k");
|
|
121
144
|
},
|
|
122
|
-
m(
|
|
123
|
-
S(
|
|
145
|
+
m(r, m) {
|
|
146
|
+
S(r, t, m), d(t, i);
|
|
124
147
|
},
|
|
125
|
-
p(
|
|
126
|
-
|
|
148
|
+
p(r, m) {
|
|
149
|
+
m & 4 && e !== (e = r[2].highlightText + "") && E(i, e);
|
|
127
150
|
},
|
|
128
|
-
d(
|
|
129
|
-
|
|
151
|
+
d(r) {
|
|
152
|
+
r && T(t);
|
|
130
153
|
}
|
|
131
154
|
};
|
|
132
155
|
}
|
|
133
|
-
function
|
|
134
|
-
var
|
|
135
|
-
let t, e,
|
|
136
|
-
e = new
|
|
156
|
+
function we(l) {
|
|
157
|
+
var Q, X;
|
|
158
|
+
let t, e, i, r, m, n, f, v, P, _, F, O, B, I, U = l[2].title + "", J, Z, k, M = L((Q = l[2].price) == null ? void 0 : Q.value) && ((X = l[2].price) == null ? void 0 : X.value) !== "", N, w;
|
|
159
|
+
e = new ye({
|
|
137
160
|
props: {
|
|
138
|
-
visible:
|
|
161
|
+
visible: l[1],
|
|
139
162
|
outDelay: 500,
|
|
140
163
|
left: 61,
|
|
141
164
|
bottom: 87,
|
|
@@ -143,86 +166,86 @@ function _e(i) {
|
|
|
143
166
|
spreadRadius: 75
|
|
144
167
|
}
|
|
145
168
|
});
|
|
146
|
-
let z =
|
|
147
|
-
for (let
|
|
148
|
-
|
|
149
|
-
let C =
|
|
150
|
-
for (let
|
|
151
|
-
|
|
152
|
-
let
|
|
169
|
+
let z = l[2].brandTags || [], g = [];
|
|
170
|
+
for (let o = 0; o < z.length; o += 1)
|
|
171
|
+
g[o] = ie(ee(l, z, o));
|
|
172
|
+
let C = l[2].tags || [], p = [];
|
|
173
|
+
for (let o = 0; o < C.length; o += 1)
|
|
174
|
+
p[o] = re(x(l, C, o));
|
|
175
|
+
let b = M && oe(l), u = l[2].highlightText && ae(l);
|
|
153
176
|
return {
|
|
154
177
|
c() {
|
|
155
|
-
var
|
|
156
|
-
t =
|
|
157
|
-
for (let
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
for (let
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
},
|
|
164
|
-
m(
|
|
165
|
-
S(
|
|
166
|
-
for (let
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
for (let
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
},
|
|
173
|
-
p(
|
|
174
|
-
var
|
|
175
|
-
const
|
|
176
|
-
if (
|
|
177
|
-
z =
|
|
178
|
-
let
|
|
179
|
-
for (
|
|
180
|
-
const G =
|
|
181
|
-
|
|
178
|
+
var o;
|
|
179
|
+
t = h("div"), be(e.$$.fragment), i = A(), r = h("div"), m = A(), n = h("div"), f = h("img"), P = A(), _ = h("div");
|
|
180
|
+
for (let a = 0; a < g.length; a += 1)
|
|
181
|
+
g[a].c();
|
|
182
|
+
F = A();
|
|
183
|
+
for (let a = 0; a < p.length; a += 1)
|
|
184
|
+
p[a].c();
|
|
185
|
+
O = A(), B = h("div"), I = h("div"), J = D(U), Z = A(), k = h("div"), b && b.c(), N = A(), u && u.c(), c(r, "class", "line svelte-8mby9k"), R(r, "transition-delay", l[1] ? V + "ms" : q + me - se - 40 + "ms"), c(f, "class", "headerImage svelte-8mby9k"), j(f.src, v = l[2].headerPictureUrl) || c(f, "src", v), c(f, "alt", ""), c(_, "class", "tag svelte-8mby9k"), c(I, "class", "text svelte-8mby9k"), c(B, "class", "title svelte-8mby9k"), c(k, "class", "footer svelte-8mby9k"), R(k, "height", L((o = l[2].price) == null ? void 0 : o.value) && l[2].highlightText ? void 0 : "1rem"), c(n, "class", "content svelte-8mby9k"), R(n, "transition-delay", l[1] ? V + q + "ms" : "0ms"), c(t, "class", "marketing svelte-8mby9k"), Y(t, "unfolded", l[1]), Y(t, "folded", l[3]);
|
|
186
|
+
},
|
|
187
|
+
m(o, a) {
|
|
188
|
+
S(o, t, a), ue(e, t, null), d(t, i), d(t, r), d(t, m), d(t, n), d(n, f), d(n, P), d(n, _);
|
|
189
|
+
for (let y = 0; y < g.length; y += 1)
|
|
190
|
+
g[y].m(_, null);
|
|
191
|
+
d(_, F);
|
|
192
|
+
for (let y = 0; y < p.length; y += 1)
|
|
193
|
+
p[y].m(_, null);
|
|
194
|
+
d(n, O), d(n, B), d(B, I), d(I, J), d(n, Z), d(n, k), b && b.m(k, null), d(k, N), u && u.m(k, null), w = !0;
|
|
195
|
+
},
|
|
196
|
+
p(o, [a]) {
|
|
197
|
+
var H, K, W;
|
|
198
|
+
const y = {};
|
|
199
|
+
if (a & 2 && (y.visible = o[1]), e.$set(y), a & 2 && R(r, "transition-delay", o[1] ? V + "ms" : q + me - se - 40 + "ms"), (!w || a & 4 && !j(f.src, v = o[2].headerPictureUrl)) && c(f, "src", v), a & 4) {
|
|
200
|
+
z = o[2].brandTags || [];
|
|
201
|
+
let s;
|
|
202
|
+
for (s = 0; s < z.length; s += 1) {
|
|
203
|
+
const G = ee(o, z, s);
|
|
204
|
+
g[s] ? g[s].p(G, a) : (g[s] = ie(G), g[s].c(), g[s].m(_, F));
|
|
182
205
|
}
|
|
183
|
-
for (;
|
|
184
|
-
|
|
185
|
-
|
|
206
|
+
for (; s < g.length; s += 1)
|
|
207
|
+
g[s].d(1);
|
|
208
|
+
g.length = z.length;
|
|
186
209
|
}
|
|
187
|
-
if (
|
|
188
|
-
C =
|
|
189
|
-
let
|
|
190
|
-
for (
|
|
191
|
-
const G =
|
|
192
|
-
|
|
210
|
+
if (a & 4) {
|
|
211
|
+
C = o[2].tags || [];
|
|
212
|
+
let s;
|
|
213
|
+
for (s = 0; s < C.length; s += 1) {
|
|
214
|
+
const G = x(o, C, s);
|
|
215
|
+
p[s] ? p[s].p(G, a) : (p[s] = re(G), p[s].c(), p[s].m(_, null));
|
|
193
216
|
}
|
|
194
|
-
for (;
|
|
195
|
-
|
|
196
|
-
|
|
217
|
+
for (; s < p.length; s += 1)
|
|
218
|
+
p[s].d(1);
|
|
219
|
+
p.length = C.length;
|
|
197
220
|
}
|
|
198
|
-
(!w ||
|
|
221
|
+
(!w || a & 4) && U !== (U = o[2].title + "") && E(J, U), a & 4 && (M = L((H = o[2].price) == null ? void 0 : H.value) && ((K = o[2].price) == null ? void 0 : K.value) !== ""), M ? b ? b.p(o, a) : (b = oe(o), b.c(), b.m(k, N)) : b && (b.d(1), b = null), o[2].highlightText ? u ? u.p(o, a) : (u = ae(o), u.c(), u.m(k, null)) : u && (u.d(1), u = null), a & 4 && R(k, "height", L((W = o[2].price) == null ? void 0 : W.value) && o[2].highlightText ? void 0 : "1rem"), a & 2 && R(n, "transition-delay", o[1] ? V + q + "ms" : "0ms"), (!w || a & 2) && Y(t, "unfolded", o[1]), (!w || a & 8) && Y(t, "folded", o[3]);
|
|
199
222
|
},
|
|
200
|
-
i(
|
|
201
|
-
w || (he(e.$$.fragment,
|
|
223
|
+
i(o) {
|
|
224
|
+
w || (he(e.$$.fragment, o), w = !0);
|
|
202
225
|
},
|
|
203
|
-
o(
|
|
204
|
-
ve(e.$$.fragment,
|
|
226
|
+
o(o) {
|
|
227
|
+
ve(e.$$.fragment, o), w = !1;
|
|
205
228
|
},
|
|
206
|
-
d(
|
|
207
|
-
|
|
229
|
+
d(o) {
|
|
230
|
+
o && T(t), ke(e), $(g, o), $(p, o), b && b.d(), u && u.d();
|
|
208
231
|
}
|
|
209
232
|
};
|
|
210
233
|
}
|
|
211
|
-
const
|
|
212
|
-
function
|
|
213
|
-
let
|
|
214
|
-
return
|
|
215
|
-
"tag" in
|
|
216
|
-
},
|
|
217
|
-
var
|
|
218
|
-
|
|
219
|
-
}, [
|
|
234
|
+
const V = 400, se = 500, q = 180, me = 500;
|
|
235
|
+
function Ae(l, t, e) {
|
|
236
|
+
let i, r, m, { tag: n } = t;
|
|
237
|
+
return l.$$set = (f) => {
|
|
238
|
+
"tag" in f && e(0, n = f.tag);
|
|
239
|
+
}, l.$$.update = () => {
|
|
240
|
+
var f, v;
|
|
241
|
+
l.$$.dirty & 1 && e(1, i = (v = (f = n.state) == null ? void 0 : f.unfolded) != null ? v : !1), l.$$.dirty & 2 && e(3, r = !i), l.$$.dirty & 1 && e(2, m = n.data);
|
|
242
|
+
}, [n, i, m, r];
|
|
220
243
|
}
|
|
221
|
-
class
|
|
244
|
+
class Ke extends de {
|
|
222
245
|
constructor(t) {
|
|
223
|
-
super(),
|
|
246
|
+
super(), ce(this, t, Ae, we, ge, { tag: 0 }, _e);
|
|
224
247
|
}
|
|
225
248
|
}
|
|
226
249
|
export {
|
|
227
|
-
|
|
250
|
+
Ke as default
|
|
228
251
|
};
|
|
@@ -1,87 +1,117 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { SvelteComponent as _, init as b, safe_not_equal as I, append_styles as h, empty as w, insert as g, transition_in as d, transition_out as m, check_outros as C, detach as y, element as D, create_component as N, attr as P, mount_component as j, destroy_component as k, group_outros as B } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import F from "../Common/Media.js";
|
|
3
|
+
import "../../../vendor/svelte/transition/index.js";
|
|
4
|
+
import "../../../vendor/svelte/easing/index.js";
|
|
5
|
+
import "../../../vendor/swiper/svelte/swiper.js";
|
|
6
|
+
import "swiper";
|
|
7
|
+
import "../../../vendor/swiper/components-shared/get-params.js";
|
|
8
|
+
import "../../../vendor/swiper/components-shared/utils.js";
|
|
9
|
+
import "../../../vendor/swiper/components-shared/params-list.js";
|
|
10
|
+
import "../../../vendor/swiper/components-shared/mount-swiper.js";
|
|
11
|
+
import "../../../vendor/swiper/components-shared/get-changed-params.js";
|
|
12
|
+
import "../../../vendor/swiper/components-shared/update-swiper.js";
|
|
13
|
+
import "../../../vendor/swiper/svelte/swiper-slide.js";
|
|
14
|
+
import "swiper/css";
|
|
15
|
+
import "swiper/css/autoplay";
|
|
16
|
+
import "three";
|
|
17
|
+
import "../../utils/noTypecheck.js";
|
|
18
|
+
import "../Common/MediaItem.js";
|
|
19
|
+
import "../../Assets/Icon.js";
|
|
20
|
+
import "../../../shared-utils/isNil.js";
|
|
21
|
+
function M(a) {
|
|
4
22
|
h(a, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
5
23
|
}
|
|
6
24
|
function c(a) {
|
|
7
|
-
|
|
8
|
-
|
|
25
|
+
var i;
|
|
26
|
+
let r, o, t;
|
|
27
|
+
return o = new F({
|
|
9
28
|
props: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
29
|
+
mediaItemConfig: {
|
|
30
|
+
canPlay: !0,
|
|
31
|
+
playButtonSizeIfNeed: "large",
|
|
32
|
+
playButtonIfNeed: (i = a[4]) != null ? i : "withText",
|
|
33
|
+
disableVideoIfHavePoster: !1,
|
|
34
|
+
objectFit: a[2]
|
|
35
|
+
},
|
|
36
|
+
unfolded: a[6],
|
|
37
|
+
mediaData: a[5],
|
|
13
38
|
enableCarousel: a[1],
|
|
14
39
|
autoplayConfig: a[3],
|
|
15
40
|
tag: a[0],
|
|
16
|
-
canPlay: !0,
|
|
17
|
-
playButtonIfNeed: "large",
|
|
18
41
|
inDelay: 500,
|
|
19
42
|
duration: 500
|
|
20
43
|
}
|
|
21
44
|
}), {
|
|
22
45
|
c() {
|
|
23
|
-
|
|
46
|
+
r = D("div"), N(o.$$.fragment), P(r, "class", "media-wrapper svelte-10cw0el");
|
|
24
47
|
},
|
|
25
|
-
m(e,
|
|
26
|
-
|
|
48
|
+
m(e, n) {
|
|
49
|
+
g(e, r, n), j(o, r, null), t = !0;
|
|
27
50
|
},
|
|
28
|
-
p(e,
|
|
29
|
-
|
|
30
|
-
|
|
51
|
+
p(e, n) {
|
|
52
|
+
var p;
|
|
53
|
+
const f = {};
|
|
54
|
+
n & 20 && (f.mediaItemConfig = {
|
|
55
|
+
canPlay: !0,
|
|
56
|
+
playButtonSizeIfNeed: "large",
|
|
57
|
+
playButtonIfNeed: (p = e[4]) != null ? p : "withText",
|
|
58
|
+
disableVideoIfHavePoster: !1,
|
|
59
|
+
objectFit: e[2]
|
|
60
|
+
}), n & 64 && (f.unfolded = e[6]), n & 32 && (f.mediaData = e[5]), n & 2 && (f.enableCarousel = e[1]), n & 8 && (f.autoplayConfig = e[3]), n & 1 && (f.tag = e[0]), o.$set(f);
|
|
31
61
|
},
|
|
32
62
|
i(e) {
|
|
33
|
-
t || (
|
|
63
|
+
t || (d(o.$$.fragment, e), t = !0);
|
|
34
64
|
},
|
|
35
65
|
o(e) {
|
|
36
|
-
|
|
66
|
+
m(o.$$.fragment, e), t = !1;
|
|
37
67
|
},
|
|
38
68
|
d(e) {
|
|
39
|
-
e &&
|
|
69
|
+
e && y(r), k(o);
|
|
40
70
|
}
|
|
41
71
|
};
|
|
42
72
|
}
|
|
43
|
-
function
|
|
44
|
-
let
|
|
73
|
+
function v(a) {
|
|
74
|
+
let r, o, t = a[0].state && a[5] && c(a);
|
|
45
75
|
return {
|
|
46
76
|
c() {
|
|
47
|
-
t && t.c(),
|
|
77
|
+
t && t.c(), r = w();
|
|
48
78
|
},
|
|
49
|
-
m(
|
|
50
|
-
t && t.m(
|
|
79
|
+
m(i, e) {
|
|
80
|
+
t && t.m(i, e), g(i, r, e), o = !0;
|
|
51
81
|
},
|
|
52
|
-
p(
|
|
53
|
-
|
|
82
|
+
p(i, [e]) {
|
|
83
|
+
i[0].state && i[5] ? t ? (t.p(i, e), e & 33 && d(t, 1)) : (t = c(i), t.c(), d(t, 1), t.m(r.parentNode, r)) : t && (B(), m(t, 1, 1, () => {
|
|
54
84
|
t = null;
|
|
55
|
-
}),
|
|
85
|
+
}), C());
|
|
56
86
|
},
|
|
57
|
-
i(
|
|
58
|
-
|
|
87
|
+
i(i) {
|
|
88
|
+
o || (d(t), o = !0);
|
|
59
89
|
},
|
|
60
|
-
o(
|
|
61
|
-
|
|
90
|
+
o(i) {
|
|
91
|
+
m(t), o = !1;
|
|
62
92
|
},
|
|
63
|
-
d(
|
|
64
|
-
t && t.d(
|
|
93
|
+
d(i) {
|
|
94
|
+
t && t.d(i), i && y(r);
|
|
65
95
|
}
|
|
66
96
|
};
|
|
67
97
|
}
|
|
68
|
-
function
|
|
69
|
-
let t, e,
|
|
98
|
+
function S(a, r, o) {
|
|
99
|
+
let t, i, e, n, f, p, { tag: l } = r;
|
|
70
100
|
return a.$$set = (u) => {
|
|
71
|
-
"tag" in u &&
|
|
101
|
+
"tag" in u && o(0, l = u.tag);
|
|
72
102
|
}, a.$$.update = () => {
|
|
73
|
-
var u,
|
|
74
|
-
a.$$.dirty & 1 &&
|
|
75
|
-
autoplay:
|
|
103
|
+
var u, s;
|
|
104
|
+
a.$$.dirty & 1 && o(6, t = l.state ? l.state.unfolded : !1), a.$$.dirty & 1 && o(5, i = l.data.mediaData), a.$$.dirty & 1 && o(1, e = l.data.enableCarousel), a.$$.dirty & 1 && o(4, n = l.data.playIcon), a.$$.dirty & 3 && o(3, f = (u = l.data.autoplayConfig) != null ? u : {
|
|
105
|
+
autoplay: e != null ? e : !0,
|
|
76
106
|
autoplayVideo: !0
|
|
77
|
-
}), a.$$.dirty & 1 &&
|
|
78
|
-
}, [l,
|
|
107
|
+
}), a.$$.dirty & 1 && o(2, p = (s = l.data.objectFit) != null ? s : (() => l.data.adaptationMode === "stretch" ? "cover" : l.data.adaptationMode === "proportional" ? "contain" : void 0)());
|
|
108
|
+
}, [l, e, p, f, n, i, t];
|
|
79
109
|
}
|
|
80
|
-
class
|
|
81
|
-
constructor(
|
|
82
|
-
super(),
|
|
110
|
+
class x extends _ {
|
|
111
|
+
constructor(r) {
|
|
112
|
+
super(), b(this, r, S, v, I, { tag: 0 }, M);
|
|
83
113
|
}
|
|
84
114
|
}
|
|
85
115
|
export {
|
|
86
|
-
|
|
116
|
+
x as default
|
|
87
117
|
};
|