@realsee/dnalogel 2.1.2-alpha.0 → 2.1.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -12
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- 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 +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +6 -11
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- 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/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -331
- package/libs/CSS3DRenderPlugin/Controller.js +1 -84
- package/libs/CSS3DRenderPlugin/index.js +1 -6
- package/libs/CSS3DRenderPlugin/typing.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -67
- package/libs/CSS3DRenderPlugin/utils/centerPoint.js +1 -10
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +1 -7
- package/libs/CSS3DRenderPlugin/utils/index.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -7
- package/libs/CSS3DRenderPlugin/utils/random.js +1 -0
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +1 -88
- package/libs/CameraMovementPlugin/index.js +1 -0
- package/libs/CameraMovementPlugin/typing.js +1 -5
- package/libs/CruisePlugin/Controller.js +1 -484
- package/libs/CruisePlugin/index.js +1 -8
- package/libs/CruisePlugin/utils/coordinatesAngle.js +1 -8
- package/libs/CruisePlugin/utils/coordinatesToVector.js +1 -12
- package/libs/CruisePlugin/utils/formatRad.js +1 -7
- package/libs/CruisePlugin/utils/linerValue.js +1 -7
- package/libs/CruisePlugin/utils/safeCall.js +1 -28
- package/libs/CruisePlugin/utils/sleep.js +1 -10
- package/libs/CruisePlugin/utils/vectorToCoordinates.js +1 -10
- package/libs/GuideLinePlugin/Controller.js +1 -144
- package/libs/GuideLinePlugin/index.js +1 -6
- package/libs/GuideLinePlugin/utils/getArrowMaterial.js +1 -13
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -64
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +1 -271
- package/libs/ItemLabelPlugin/ItemLabelItem.js +2 -133
- package/libs/ItemLabelPlugin/Plugin.js +2 -76
- package/libs/ItemLabelPlugin/index.js +1 -12
- package/libs/ItemLabelPlugin/typings.js +1 -4
- package/libs/ItemLabelPlugin/utils/getLabelTransform.js +1 -4
- package/libs/ItemLabelPlugin/utils/getStrokeLength.js +1 -16
- package/libs/ItemLabelPlugin/utils/isImpacted.js +1 -10
- package/libs/ItemLabelPlugin/utils/parseData.js +1 -21
- package/libs/ItemLabelPlugin/utils/transform2RenderData.js +1 -21
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -71
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +1 -78
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +1 -212
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +2 -42
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +2 -74
- package/libs/ModelItemLabelPlugin/events.type.js +1 -0
- package/libs/ModelItemLabelPlugin/index.js +1 -12
- package/libs/ModelItemLabelPlugin/typings.js +1 -4
- package/libs/ModelItemLabelPlugin/utils/parseData.js +1 -19
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.js +1 -4
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -60
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -45
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +1 -162
- package/libs/ModelRoomLabelPlugin/index.js +1 -10
- package/libs/ModelRoomLabelPlugin/utils/parseData.js +1 -16
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -164
- package/libs/ModelTVVideoPlugin/index.js +1 -0
- package/libs/ModelTVVideoPlugin/typings.js +1 -4
- package/libs/ModelTVVideoPlugin/utils/parseData.js +1 -20
- package/libs/ModelViewPlugin/Plugin.js +1 -107
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +1 -145
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +1 -32
- package/libs/Object3DHelperPlugin/index.js +1 -10
- package/libs/PanoCompassPlugin/Assets/roomInfoIcon.js +1 -4
- package/libs/PanoCompassPlugin/Controller.js +1 -224
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -24
- package/libs/PanoCompassPlugin/index.js +1 -6
- package/libs/PanoCursorRaycasterPlugin/index.js +1 -59
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -59
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -219
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -65
- package/libs/PanoDoorLabelPlugin/index.js +1 -6
- package/libs/PanoDoorLabelPlugin/utils.js +1 -23
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +1 -53
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -102
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -125
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -33
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +1 -90
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -154
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -140
- package/libs/PanoMeasurePlugin/Model/index.js +1 -92
- package/libs/PanoMeasurePlugin/Model/line.js +1 -56
- package/libs/PanoMeasurePlugin/Model/point.js +1 -30
- package/libs/PanoMeasurePlugin/Model/polyline.js +1 -47
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +2 -5
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +3 -67
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +1 -28
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +1 -41
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -103
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +8 -12
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +1 -50
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -36
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -48
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +3 -8
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +1 -39
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +1 -62
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +2 -7
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -130
- package/libs/PanoMeasurePlugin/index.js +1 -11
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -12
- package/libs/PanoMeasurePlugin/utils/constants.js +1 -36
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -62
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +1 -13
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +1 -15
- package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.js +1 -9
- package/libs/PanoMeasurePlugin/utils/getPointFromHammerEvent.js +1 -8
- package/libs/PanoMeasurePlugin/utils/ironbox.js +1 -4
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +1 -7
- package/libs/PanoMeasurePlugin/utils/line.js +1 -18
- package/libs/PanoMeasurePlugin/utils/math.js +1 -13
- package/libs/PanoMeasurePlugin/utils/mouseGroup.js +3 -33
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +1 -8
- package/libs/PanoRulerPlugin/Plugin.js +2 -263
- package/libs/PanoRulerPlugin/index.js +1 -0
- package/libs/PanoRulerPlugin/style.js +2 -5
- package/libs/PanoRulerProPlugin/Controller.js +1 -93
- package/libs/PanoRulerProPlugin/RulerItem.js +1 -128
- package/libs/PanoRulerProPlugin/RulerItems.js +1 -180
- package/libs/PanoRulerProPlugin/index.js +1 -6
- package/libs/PanoSpatialTagPlugin/Components/origins.js +1 -81
- package/libs/PanoSpatialTagPlugin/Components/tag.js +1 -124
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -247
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +1 -5
- package/libs/PanoSpatialTagPlugin/style.js +1 -11
- package/libs/PanoSpatialTagPlugin/typings.js +1 -0
- package/libs/PanoTagPlugin/Assets/Icon.js +1 -6
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -103
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -166
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -93
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -90
- package/libs/PanoTagPlugin/Components/Common/Media.js +1 -393
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -139
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +1 -170
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +1 -51
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +1 -51
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +1 -166
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +15 -124
- package/libs/PanoTagPlugin/Components/Common/Text.js +1 -131
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +1 -134
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +1 -73
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -192
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +1 -126
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -258
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +1 -87
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +1 -122
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -289
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -156
- package/libs/PanoTagPlugin/Components/TagWrapper.js +1 -153
- package/libs/PanoTagPlugin/controller/TagCacheController.js +1 -31
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -264
- package/libs/PanoTagPlugin/controller/index.js +1 -377
- package/libs/PanoTagPlugin/index.js +1 -9
- package/libs/PanoTagPlugin/tag.config.js +1 -44
- package/libs/PanoTagPlugin/typings/controller.js +1 -0
- package/libs/PanoTagPlugin/typings/index.js +1 -0
- package/libs/PanoTagPlugin/typings/tag.js +1 -7
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +1 -6
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -27
- package/libs/PanoTagPlugin/utils/checkRange.js +1 -10
- package/libs/PanoTagPlugin/utils/constants.js +1 -8
- package/libs/PanoTagPlugin/utils/debounce.js +1 -12
- package/libs/PanoTagPlugin/utils/doUtil.js +1 -12
- package/libs/PanoTagPlugin/utils/index.js +1 -0
- package/libs/PanoTagPlugin/utils/noTypecheck.js +1 -4
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +1 -13
- package/libs/PanoTagPlugin/utils/planeNormal.js +1 -11
- package/libs/PanoTagPlugin/utils/resizeObserver.js +1 -17
- package/libs/PanoTagPlugin/utils/search.js +1 -15
- package/libs/PanoTagPlugin/utils/tagPosition.js +1 -13
- package/libs/PanoTagPlugin/utils/throttle.js +1 -11
- package/libs/base/BasePlugin.js +1 -18
- package/libs/base/BasePluginWithData.js +1 -6
- package/libs/components/PaintBrush/Controller.js +1 -308
- package/libs/components/PaintBrush/Subscribe.js +1 -47
- package/libs/components/PaintBrush/index.js +1 -45
- package/libs/components/PaintBrush/style.js +2 -5
- package/libs/components/PaintBrush/tween.js +1 -11
- package/libs/components/PaintBrush/typings.js +1 -4
- package/libs/components/PaintBrush/utils.js +1 -45
- package/libs/components/index.js +1 -0
- package/libs/floorplan/Assets/camera.js +1 -4
- package/libs/floorplan/Assets/compass.js +1 -4
- package/libs/floorplan/Assets/floorplanExtraObject.js +1 -4
- package/libs/floorplan/Components/BaseImage.js +1 -103
- package/libs/floorplan/Components/Camera.js +1 -62
- package/libs/floorplan/Components/Compass.js +1 -60
- package/libs/floorplan/Components/CurrentFloor.js +1 -246
- package/libs/floorplan/Components/Main.js +1 -264
- package/libs/floorplan/Components/Normalmage.js +1 -37
- package/libs/floorplan/Components/RoomHighlight/Room.js +1 -61
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +1 -121
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -153
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +1 -174
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -196
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -37
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -39
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -37
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +1 -134
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +1 -139
- package/libs/floorplan/Components/SvgImage.js +2 -39
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -321
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -316
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -85
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -129
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +1 -72
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +1 -183
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -164
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -6
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -273
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/constant.js +1 -4
- package/libs/floorplan/index.js +1 -0
- package/libs/floorplan/typings/floorplanData.js +1 -0
- package/libs/floorplan/typings/floorplanServerData.js +1 -101
- package/libs/floorplan/utils/constant.js +1 -7
- package/libs/floorplan/utils/correctFiveState.js +1 -54
- package/libs/floorplan/utils/formatData.js +1 -104
- package/libs/floorplan/utils/formatPosition.js +1 -35
- package/libs/index.js +1 -92
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -152
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +1 -53
- package/libs/shared-utils/Object3DHelper/Constants/color.js +1 -21
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +1 -18
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -66
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -109
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -134
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -79
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -41
- package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -14
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -30
- package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +1 -35
- package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +1 -2
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +1 -137
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +1 -136
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/index.js +1 -169
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.js +1 -11
- package/libs/shared-utils/Object3DHelper/utils/direction.js +1 -22
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +1 -14
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -191
- package/libs/shared-utils/Object3DHelper/utils/vectorIsEqual.js +1 -6
- package/libs/shared-utils/Subscribe.js +1 -50
- package/libs/shared-utils/animationFrame/BetterTween.js +1 -26
- package/libs/shared-utils/animationFrame/calculateProgress.js +1 -6
- package/libs/shared-utils/animationFrame/formatRad.js +1 -11
- package/libs/shared-utils/animationFrame/index.js +1 -31
- package/libs/shared-utils/animationFrame/tween.js +1 -30
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -12
- package/libs/shared-utils/createCanvasTextTexture.js +1 -11
- package/libs/shared-utils/createLine/index.js +1 -9
- package/libs/shared-utils/debounce.js +1 -11
- package/libs/shared-utils/equal.js +1 -54
- package/libs/shared-utils/filter.js +1 -10
- package/libs/shared-utils/five/changeMode.js +1 -39
- package/libs/shared-utils/getPxmm.js +1 -21
- package/libs/shared-utils/index.js +1 -31
- package/libs/shared-utils/isNil.js +1 -10
- package/libs/shared-utils/isTruelyObject.js +1 -6
- package/libs/shared-utils/math/Interval.js +1 -23
- package/libs/shared-utils/math/Rectangle.js +1 -23
- package/libs/shared-utils/math/index.js +1 -0
- package/libs/shared-utils/math/planimetry.js +1 -48
- package/libs/shared-utils/math/rad2Deg.js +1 -6
- package/libs/shared-utils/nearlyEqual.js +1 -6
- package/libs/shared-utils/nextFrame.js +1 -6
- package/libs/shared-utils/noop.js +1 -5
- package/libs/shared-utils/object3d2LocalMatrix.js +1 -19
- package/libs/shared-utils/removeArrayItem.js +1 -8
- package/libs/shared-utils/tap.js +1 -6
- package/libs/shared-utils/three/Assets/index.js +1 -4
- package/libs/shared-utils/three/FivePointSelector.js +1 -49
- package/libs/shared-utils/three/Magnifier.js +1 -104
- package/libs/shared-utils/three/PointDomHelper.js +1 -60
- package/libs/shared-utils/three/PointHelper.js +3 -60
- package/libs/shared-utils/three/getCoords.js +1 -13
- package/libs/shared-utils/three/getIntersect.js +1 -8
- package/libs/shared-utils/three/getRaycaster.js +1 -12
- package/libs/shared-utils/three/index.js +1 -0
- package/libs/shared-utils/three/loadTexture.js +1 -28
- package/libs/shared-utils/three/transformPositionToVector3.js +1 -5
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +1 -24
- package/libs/shared-utils/throttle.js +1 -11
- package/libs/shared-utils/tinyEJSrender.js +14 -138
- package/libs/shared-utils/to.js +1 -29
- package/libs/shared-utils/uuid.js +1 -10
- package/libs/vendor/swiper/components-shared/get-changed-params.js +1 -0
- package/libs/vendor/swiper/components-shared/get-params.js +1 -0
- package/libs/vendor/swiper/components-shared/mount-swiper.js +1 -0
- package/libs/vendor/swiper/components-shared/params-list.js +1 -0
- package/libs/vendor/swiper/components-shared/update-swiper.js +1 -0
- package/libs/vendor/swiper/components-shared/utils.js +1 -0
- package/libs/vendor/swiper/svelte/swiper-slide.js +1 -0
- package/libs/vendor/swiper/svelte/swiper-svelte.js +1 -0
- package/libs/vendor/swiper/svelte/swiper.js +1 -0
- package/package.json +187 -17
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-changed-params.js +0 -29
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-params.js +0 -23
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/mount-swiper.js +0 -14
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/params-list.js +0 -120
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/update-swiper.js +0 -36
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/utils.js +0 -32
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper-slide.js +0 -182
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper.js +0 -254
|
@@ -1,87 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import N from "../Common/Media.js";
|
|
3
|
-
function P(a) {
|
|
4
|
-
h(a, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
5
|
-
}
|
|
6
|
-
function c(a) {
|
|
7
|
-
let i, n, t;
|
|
8
|
-
return n = new N({
|
|
9
|
-
props: {
|
|
10
|
-
unfolded: a[5],
|
|
11
|
-
mediaData: a[4],
|
|
12
|
-
objectFit: a[2],
|
|
13
|
-
enableCarousel: a[1],
|
|
14
|
-
autoplayConfig: a[3],
|
|
15
|
-
tag: a[0],
|
|
16
|
-
canPlay: !0,
|
|
17
|
-
playButtonIfNeed: "large",
|
|
18
|
-
inDelay: 500,
|
|
19
|
-
duration: 500
|
|
20
|
-
}
|
|
21
|
-
}), {
|
|
22
|
-
c() {
|
|
23
|
-
i = j("div"), k(n.$$.fragment), F(i, "class", "media-wrapper svelte-10cw0el");
|
|
24
|
-
},
|
|
25
|
-
m(e, o) {
|
|
26
|
-
m(e, i, o), M(n, i, null), t = !0;
|
|
27
|
-
},
|
|
28
|
-
p(e, o) {
|
|
29
|
-
const r = {};
|
|
30
|
-
o & 32 && (r.unfolded = e[5]), o & 16 && (r.mediaData = e[4]), o & 4 && (r.objectFit = e[2]), o & 2 && (r.enableCarousel = e[1]), o & 8 && (r.autoplayConfig = e[3]), o & 1 && (r.tag = e[0]), n.$set(r);
|
|
31
|
-
},
|
|
32
|
-
i(e) {
|
|
33
|
-
t || (f(n.$$.fragment, e), t = !0);
|
|
34
|
-
},
|
|
35
|
-
o(e) {
|
|
36
|
-
d(n.$$.fragment, e), t = !1;
|
|
37
|
-
},
|
|
38
|
-
d(e) {
|
|
39
|
-
e && _(i), v(n);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function q(a) {
|
|
44
|
-
let i, n, t = a[0].state && a[4] && c(a);
|
|
45
|
-
return {
|
|
46
|
-
c() {
|
|
47
|
-
t && t.c(), i = w();
|
|
48
|
-
},
|
|
49
|
-
m(e, o) {
|
|
50
|
-
t && t.m(e, o), m(e, i, o), n = !0;
|
|
51
|
-
},
|
|
52
|
-
p(e, [o]) {
|
|
53
|
-
e[0].state && e[4] ? t ? (t.p(e, o), o & 17 && f(t, 1)) : (t = c(e), t.c(), f(t, 1), t.m(i.parentNode, i)) : t && (C(), d(t, 1, 1, () => {
|
|
54
|
-
t = null;
|
|
55
|
-
}), D());
|
|
56
|
-
},
|
|
57
|
-
i(e) {
|
|
58
|
-
n || (f(t), n = !0);
|
|
59
|
-
},
|
|
60
|
-
o(e) {
|
|
61
|
-
d(t), n = !1;
|
|
62
|
-
},
|
|
63
|
-
d(e) {
|
|
64
|
-
t && t.d(e), e && _(i);
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
function B(a, i, n) {
|
|
69
|
-
let t, e, o, r, s, { tag: l } = i;
|
|
70
|
-
return a.$$set = (u) => {
|
|
71
|
-
"tag" in u && n(0, l = u.tag);
|
|
72
|
-
}, a.$$.update = () => {
|
|
73
|
-
var u, p;
|
|
74
|
-
a.$$.dirty & 1 && n(5, t = l.state ? l.state.unfolded : !1), a.$$.dirty & 1 && n(4, e = l.data.mediaData), a.$$.dirty & 1 && n(1, o = l.data.enableCarousel), a.$$.dirty & 3 && n(3, r = (u = l.data.autoplayConfig) != null ? u : {
|
|
75
|
-
autoplay: o != null ? o : !0,
|
|
76
|
-
autoplayVideo: !0
|
|
77
|
-
}), a.$$.dirty & 1 && n(2, s = (p = l.data.objectFit) != null ? p : (() => l.data.adaptationMode === "stretch" ? "cover" : l.data.adaptationMode === "proportional" ? "contain" : void 0)());
|
|
78
|
-
}, [l, o, s, r, e, t];
|
|
79
|
-
}
|
|
80
|
-
class V extends g {
|
|
81
|
-
constructor(i) {
|
|
82
|
-
super(), y(this, i, B, q, b, { tag: 0 }, P);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
export {
|
|
86
|
-
V as default
|
|
87
|
-
};
|
|
1
|
+
"use strict";const a=require("svelte/internal"),p=require("../Common/Media.js");function m(n){a.append_styles(n,"svelte-10cw0el",".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}")}function c(n){let r,o,t;return o=new p.Media({props:{unfolded:n[5],mediaData:n[4],objectFit:n[2],enableCarousel:n[1],autoplayConfig:n[3],tag:n[0],canPlay:!0,playButtonIfNeed:"large",inDelay:500,duration:500}}),{c(){r=a.element("div"),a.create_component(o.$$.fragment),a.attr(r,"class","media-wrapper svelte-10cw0el")},m(e,i){a.insert(e,r,i),a.mount_component(o,r,null),t=!0},p(e,i){const l={};i&32&&(l.unfolded=e[5]),i&16&&(l.mediaData=e[4]),i&4&&(l.objectFit=e[2]),i&2&&(l.enableCarousel=e[1]),i&8&&(l.autoplayConfig=e[3]),i&1&&(l.tag=e[0]),o.$set(l)},i(e){t||(a.transition_in(o.$$.fragment,e),t=!0)},o(e){a.transition_out(o.$$.fragment,e),t=!1},d(e){e&&a.detach(r),a.destroy_component(o)}}}function _(n){let r,o,t=n[0].state&&n[4]&&c(n);return{c(){t&&t.c(),r=a.empty()},m(e,i){t&&t.m(e,i),a.insert(e,r,i),o=!0},p(e,[i]){e[0].state&&e[4]?t?(t.p(e,i),i&17&&a.transition_in(t,1)):(t=c(e),t.c(),a.transition_in(t,1),t.m(r.parentNode,r)):t&&(a.group_outros(),a.transition_out(t,1,1,()=>{t=null}),a.check_outros())},i(e){o||(a.transition_in(t),o=!0)},o(e){a.transition_out(t),o=!1},d(e){t&&t.d(e),e&&a.detach(r)}}}function g(n,r,o){let t,e,i,l,d,{tag:u}=r;return n.$$set=s=>{"tag"in s&&o(0,u=s.tag)},n.$$.update=()=>{var s,f;n.$$.dirty&1&&o(5,t=u.state?u.state.unfolded:!1),n.$$.dirty&1&&o(4,e=u.data.mediaData),n.$$.dirty&1&&o(1,i=u.data.enableCarousel),n.$$.dirty&3&&o(3,l=(s=u.data.autoplayConfig)!=null?s:{autoplay:i!=null?i:!0,autoplayVideo:!0}),n.$$.dirty&1&&o(2,d=(f=u.data.objectFit)!=null?f:(()=>u.data.adaptationMode==="stretch"?"cover":u.data.adaptationMode==="proportional"?"contain":void 0)())},[u,i,d,l,e,t]}class y extends a.SvelteComponent{constructor(r){super(),a.init(this,r,g,_,a.safe_not_equal,{tag:0},m)}}exports.MediaPlane=y;
|
|
@@ -1,122 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import G from "../Common/Line/Straight.js";
|
|
3
|
-
import H from "../../../shared-utils/uuid.js";
|
|
4
|
-
import J from "../Common/Shadow.js";
|
|
5
|
-
import K from "../Common/MultiLineText.js";
|
|
6
|
-
function O(n) {
|
|
7
|
-
L(n, "svelte-18yy5x8", ".line.svelte-18yy5x8{position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-18yy5x8{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}");
|
|
8
|
-
}
|
|
9
|
-
function R(n) {
|
|
10
|
-
var u, z;
|
|
11
|
-
let o, l, e, i, r, s, m, d, a, _, b;
|
|
12
|
-
return o = new J({
|
|
13
|
-
props: {
|
|
14
|
-
visible: n[2],
|
|
15
|
-
left: n[3] / 2 + "px",
|
|
16
|
-
bottom: 12,
|
|
17
|
-
width: 2,
|
|
18
|
-
blurRadius: 120,
|
|
19
|
-
spreadRadius: 60
|
|
20
|
-
}
|
|
21
|
-
}), i = new G({
|
|
22
|
-
props: {
|
|
23
|
-
unfolded: n[2],
|
|
24
|
-
duration: 1e3,
|
|
25
|
-
outDelay: n[5] + 40 * Math.min((z = (u = n[4][0]) == null ? void 0 : u.content.length) != null ? z : 10, 15)
|
|
26
|
-
}
|
|
27
|
-
}), m = new K({
|
|
28
|
-
props: {
|
|
29
|
-
visible: n[2],
|
|
30
|
-
textUnfolded: n[1],
|
|
31
|
-
textItems: n[4]
|
|
32
|
-
}
|
|
33
|
-
}), {
|
|
34
|
-
c() {
|
|
35
|
-
x(o.$$.fragment), l = D(), e = I("div"), x(i.$$.fragment), r = D(), s = I("div"), x(m.$$.fragment), M(e, "class", "line svelte-18yy5x8"), S(e, "width", n[3] + "px", !1), M(s, "class", "content svelte-18yy5x8"), B(() => n[8].call(s));
|
|
36
|
-
},
|
|
37
|
-
m(t, f) {
|
|
38
|
-
$(o, t, f), h(t, l, f), h(t, e, f), $(i, e, null), h(t, r, f), h(t, s, f), $(m, s, null), d = E(s, n[8].bind(s)), a = !0, _ || (b = F(s, "click", n[6]), _ = !0);
|
|
39
|
-
},
|
|
40
|
-
p(t, f) {
|
|
41
|
-
var T, U;
|
|
42
|
-
const y = {};
|
|
43
|
-
f & 4 && (y.visible = t[2]), f & 8 && (y.left = t[3] / 2 + "px"), o.$set(y);
|
|
44
|
-
const v = {};
|
|
45
|
-
f & 4 && (v.unfolded = t[2]), f & 48 && (v.outDelay = t[5] + 40 * Math.min((U = (T = t[4][0]) == null ? void 0 : T.content.length) != null ? U : 10, 15)), i.$set(v), f & 8 && S(e, "width", t[3] + "px", !1);
|
|
46
|
-
const w = {};
|
|
47
|
-
f & 4 && (w.visible = t[2]), f & 2 && (w.textUnfolded = t[1]), f & 16 && (w.textItems = t[4]), m.$set(w);
|
|
48
|
-
},
|
|
49
|
-
i(t) {
|
|
50
|
-
a || (p(o.$$.fragment, t), p(i.$$.fragment, t), p(m.$$.fragment, t), a = !0);
|
|
51
|
-
},
|
|
52
|
-
o(t) {
|
|
53
|
-
g(o.$$.fragment, t), g(i.$$.fragment, t), g(m.$$.fragment, t), a = !1;
|
|
54
|
-
},
|
|
55
|
-
d(t) {
|
|
56
|
-
k(o, t), t && c(l), t && c(e), k(i), t && c(r), t && c(s), k(m), d(), _ = !1, b();
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
function P(n) {
|
|
61
|
-
let o, l, e = n[0].state && R(n);
|
|
62
|
-
return {
|
|
63
|
-
c() {
|
|
64
|
-
e && e.c(), o = N();
|
|
65
|
-
},
|
|
66
|
-
m(i, r) {
|
|
67
|
-
e && e.m(i, r), h(i, o, r), l = !0;
|
|
68
|
-
},
|
|
69
|
-
p(i, [r]) {
|
|
70
|
-
i[0].state ? e ? (e.p(i, r), r & 1 && p(e, 1)) : (e = R(i), e.c(), p(e, 1), e.m(o.parentNode, o)) : e && (j(), g(e, 1, 1, () => {
|
|
71
|
-
e = null;
|
|
72
|
-
}), A());
|
|
73
|
-
},
|
|
74
|
-
i(i) {
|
|
75
|
-
l || (p(e), l = !0);
|
|
76
|
-
},
|
|
77
|
-
o(i) {
|
|
78
|
-
g(e), l = !1;
|
|
79
|
-
},
|
|
80
|
-
d(i) {
|
|
81
|
-
e && e.d(i), i && c(o);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
function Q(n, o, l) {
|
|
86
|
-
let e, i, r, { tag: s } = o, m, d = !1, a = [];
|
|
87
|
-
function _() {
|
|
88
|
-
l(1, d = !d);
|
|
89
|
-
}
|
|
90
|
-
function b() {
|
|
91
|
-
m = this.clientWidth, l(3, m);
|
|
92
|
-
}
|
|
93
|
-
return n.$$set = (u) => {
|
|
94
|
-
"tag" in u && l(0, s = u.tag);
|
|
95
|
-
}, n.$$.update = () => {
|
|
96
|
-
var u;
|
|
97
|
-
n.$$.dirty & 1 && l(2, e = !!((u = s.state) != null && u.unfolded)), n.$$.dirty & 1 && l(7, i = s.data.text), n.$$.dirty & 128 && l(4, a = [{ id: H(), content: i }]), n.$$.dirty & 4 && (e || setTimeout(
|
|
98
|
-
() => {
|
|
99
|
-
l(1, d = !1);
|
|
100
|
-
},
|
|
101
|
-
20
|
|
102
|
-
)), n.$$.dirty & 2 && l(5, r = d ? 450 : 0);
|
|
103
|
-
}, [
|
|
104
|
-
s,
|
|
105
|
-
d,
|
|
106
|
-
e,
|
|
107
|
-
m,
|
|
108
|
-
a,
|
|
109
|
-
r,
|
|
110
|
-
_,
|
|
111
|
-
i,
|
|
112
|
-
b
|
|
113
|
-
];
|
|
114
|
-
}
|
|
115
|
-
class te extends W {
|
|
116
|
-
constructor(o) {
|
|
117
|
-
super(), q(this, o, Q, P, C, { tag: 0 }, O);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
export {
|
|
121
|
-
te as default
|
|
122
|
-
};
|
|
1
|
+
"use strict";const e=require("svelte/internal"),C=require("../Common/Line/Straight.js"),x=require("../../../shared-utils/uuid.js"),S=require("../Common/Shadow.js"),$=require("../Common/MultiLineText.js");function k(i){e.append_styles(i,"svelte-18yy5x8",".line.svelte-18yy5x8{position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-18yy5x8{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}")}function v(i){var d,b;let s,r,t,o,u,l,f,m,_,p,c;return s=new S.Shadow({props:{visible:i[2],left:i[3]/2+"px",bottom:12,width:2,blurRadius:120,spreadRadius:60}}),o=new C.Straight({props:{unfolded:i[2],duration:1e3,outDelay:i[5]+40*Math.min((b=(d=i[4][0])==null?void 0:d.content.length)!=null?b:10,15)}}),f=new $.MultiLineText({props:{visible:i[2],textUnfolded:i[1],textItems:i[4]}}),{c(){e.create_component(s.$$.fragment),r=e.space(),t=e.element("div"),e.create_component(o.$$.fragment),u=e.space(),l=e.element("div"),e.create_component(f.$$.fragment),e.attr(t,"class","line svelte-18yy5x8"),e.set_style(t,"width",i[3]+"px",!1),e.attr(l,"class","content svelte-18yy5x8"),e.add_render_callback(()=>i[8].call(l))},m(n,a){e.mount_component(s,n,a),e.insert(n,r,a),e.insert(n,t,a),e.mount_component(o,t,null),e.insert(n,u,a),e.insert(n,l,a),e.mount_component(f,l,null),m=e.add_resize_listener(l,i[8].bind(l)),_=!0,p||(c=e.listen(l,"click",i[6]),p=!0)},p(n,a){var y,T;const g={};a&4&&(g.visible=n[2]),a&8&&(g.left=n[3]/2+"px"),s.$set(g);const w={};a&4&&(w.unfolded=n[2]),a&48&&(w.outDelay=n[5]+40*Math.min((T=(y=n[4][0])==null?void 0:y.content.length)!=null?T:10,15)),o.$set(w),a&8&&e.set_style(t,"width",n[3]+"px",!1);const h={};a&4&&(h.visible=n[2]),a&2&&(h.textUnfolded=n[1]),a&16&&(h.textItems=n[4]),f.$set(h)},i(n){_||(e.transition_in(s.$$.fragment,n),e.transition_in(o.$$.fragment,n),e.transition_in(f.$$.fragment,n),_=!0)},o(n){e.transition_out(s.$$.fragment,n),e.transition_out(o.$$.fragment,n),e.transition_out(f.$$.fragment,n),_=!1},d(n){e.destroy_component(s,n),n&&e.detach(r),n&&e.detach(t),e.destroy_component(o),n&&e.detach(u),n&&e.detach(l),e.destroy_component(f),m(),p=!1,c()}}}function q(i){let s,r,t=i[0].state&&v(i);return{c(){t&&t.c(),s=e.empty()},m(o,u){t&&t.m(o,u),e.insert(o,s,u),r=!0},p(o,[u]){o[0].state?t?(t.p(o,u),u&1&&e.transition_in(t,1)):(t=v(o),t.c(),e.transition_in(t,1),t.m(s.parentNode,s)):t&&(e.group_outros(),e.transition_out(t,1,1,()=>{t=null}),e.check_outros())},i(o){r||(e.transition_in(t),r=!0)},o(o){e.transition_out(t),r=!1},d(o){t&&t.d(o),o&&e.detach(s)}}}function z(i,s,r){let t,o,u,{tag:l}=s,f,m=!1,_=[];function p(){r(1,m=!m)}function c(){f=this.clientWidth,r(3,f)}return i.$$set=d=>{"tag"in d&&r(0,l=d.tag)},i.$$.update=()=>{var d;i.$$.dirty&1&&r(2,t=!!((d=l.state)!=null&&d.unfolded)),i.$$.dirty&1&&r(7,o=l.data.text),i.$$.dirty&128&&r(4,_=[{id:x.uuid(),content:o}]),i.$$.dirty&4&&(t||setTimeout(()=>{r(1,m=!1)},20)),i.$$.dirty&2&&r(5,u=m?450:0)},[l,m,t,f,_,u,p,o,c]}class P extends e.SvelteComponent{constructor(s){super(),e.init(this,s,z,q,e.safe_not_equal,{tag:0},k)}}exports.TextTag=P;
|
|
@@ -1,290 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import { ContentType as h } from "../../typings/tag.js";
|
|
3
|
-
import x from "./TextTag.js";
|
|
4
|
-
import L from "./ImageTextTag.js";
|
|
5
|
-
import Z from "./MarketingTag.js";
|
|
6
|
-
import "three";
|
|
7
|
-
import { noTypecheck as s } from "../../utils/noTypecheck.js";
|
|
8
|
-
import { setContext as I } from "svelte";
|
|
9
|
-
import K from "./AudioTag.js";
|
|
10
|
-
import V from "./MediaPlane.js";
|
|
11
|
-
import z from "./LinkTag.js";
|
|
12
|
-
import N from "./CustomTag.js";
|
|
13
|
-
function R(i) {
|
|
14
|
-
U(i, "svelte-95x526", `@font-face{font-family:'TG-TYPE';font-style:normal;font-weight:400;src:local('TG-TYPE-Bold'),
|
|
1
|
+
"use strict";const t=require("svelte/internal"),C=require("../../typings/tag.js"),h=require("./TextTag.js"),k=require("./ImageTextTag.js"),D=require("./MarketingTag.js");require("three");const c=require("../../utils/noTypecheck.js"),T=require("svelte"),y=require("./AudioTag.js"),E=require("./MediaPlane.js"),b=require("./LinkTag.js"),v=require("./CustomTag.js");function P(i){t.append_styles(i,"svelte-95x526",`@font-face{font-family:'TG-TYPE';font-style:normal;font-weight:400;src:local('TG-TYPE-Bold'),
|
|
15
2
|
url(data:application/font-woff2;charset=utf-8;base64,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)
|
|
16
|
-
format('woff2')}.content__container.svelte-95x526{position:relative;left:50%;top:50%;transform:translate(-50%, -50%);font-family:PingFangSC, Segoe UI, Rototo, sans-serif}.content__container.unClickable.svelte-95x526{pointer-events:none !important}.content__container.unClickable.svelte-95x526 *{pointer-events:none !important}*{-webkit-tap-highlight-color:transparent}.content__wrapper.svelte-95x526{pointer-events:none;width:100%;height:100%}.withAnimation.svelte-95x526{transition:opacity 0.3s linear}.content__container.hide.svelte-95x526{opacity:0;pointer-events:none}.content__container.hide.svelte-95x526 *{pointer-events:none !important}.content__container.disable.svelte-95x526{display:none}.content__container.hide.svelte-95x526 *{pointer-events:none}.content.svelte-95x526{position:relative;width:100%;height:100%;font-size:0.75rem;line-height:1.125rem;color:#fff}.content.svelte-95x526:not(.unfolded){pointer-events:none}.content.svelte-95x526:not(.unfolded) *{pointer-events:none !important}.content.unfolded.svelte-95x526{pointer-events:auto}`);
|
|
17
|
-
}
|
|
18
|
-
function q(i) {
|
|
19
|
-
let A, n;
|
|
20
|
-
return A = new V({
|
|
21
|
-
props: { tag: s(i[1]) }
|
|
22
|
-
}), {
|
|
23
|
-
c() {
|
|
24
|
-
C(A.$$.fragment);
|
|
25
|
-
},
|
|
26
|
-
m(e, t) {
|
|
27
|
-
p(A, e, t), n = !0;
|
|
28
|
-
},
|
|
29
|
-
p(e, t) {
|
|
30
|
-
const o = {};
|
|
31
|
-
t & 2 && (o.tag = s(e[1])), A.$set(o);
|
|
32
|
-
},
|
|
33
|
-
i(e) {
|
|
34
|
-
n || (m(A.$$.fragment, e), n = !0);
|
|
35
|
-
},
|
|
36
|
-
o(e) {
|
|
37
|
-
B(A.$$.fragment, e), n = !1;
|
|
38
|
-
},
|
|
39
|
-
d(e) {
|
|
40
|
-
D(A, e);
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function X(i) {
|
|
45
|
-
let A, n;
|
|
46
|
-
return A = new z({
|
|
47
|
-
props: { tag: s(i[1]) }
|
|
48
|
-
}), {
|
|
49
|
-
c() {
|
|
50
|
-
C(A.$$.fragment);
|
|
51
|
-
},
|
|
52
|
-
m(e, t) {
|
|
53
|
-
p(A, e, t), n = !0;
|
|
54
|
-
},
|
|
55
|
-
p(e, t) {
|
|
56
|
-
const o = {};
|
|
57
|
-
t & 2 && (o.tag = s(e[1])), A.$set(o);
|
|
58
|
-
},
|
|
59
|
-
i(e) {
|
|
60
|
-
n || (m(A.$$.fragment, e), n = !0);
|
|
61
|
-
},
|
|
62
|
-
o(e) {
|
|
63
|
-
B(A.$$.fragment, e), n = !1;
|
|
64
|
-
},
|
|
65
|
-
d(e) {
|
|
66
|
-
D(A, e);
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
function j(i) {
|
|
71
|
-
let A, n;
|
|
72
|
-
return A = new Z({
|
|
73
|
-
props: { tag: s(i[1]) }
|
|
74
|
-
}), {
|
|
75
|
-
c() {
|
|
76
|
-
C(A.$$.fragment);
|
|
77
|
-
},
|
|
78
|
-
m(e, t) {
|
|
79
|
-
p(A, e, t), n = !0;
|
|
80
|
-
},
|
|
81
|
-
p(e, t) {
|
|
82
|
-
const o = {};
|
|
83
|
-
t & 2 && (o.tag = s(e[1])), A.$set(o);
|
|
84
|
-
},
|
|
85
|
-
i(e) {
|
|
86
|
-
n || (m(A.$$.fragment, e), n = !0);
|
|
87
|
-
},
|
|
88
|
-
o(e) {
|
|
89
|
-
B(A.$$.fragment, e), n = !1;
|
|
90
|
-
},
|
|
91
|
-
d(e) {
|
|
92
|
-
D(A, e);
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
function $(i) {
|
|
97
|
-
let A, n;
|
|
98
|
-
return A = new K({
|
|
99
|
-
props: { tag: s(i[1]) }
|
|
100
|
-
}), {
|
|
101
|
-
c() {
|
|
102
|
-
C(A.$$.fragment);
|
|
103
|
-
},
|
|
104
|
-
m(e, t) {
|
|
105
|
-
p(A, e, t), n = !0;
|
|
106
|
-
},
|
|
107
|
-
p(e, t) {
|
|
108
|
-
const o = {};
|
|
109
|
-
t & 2 && (o.tag = s(e[1])), A.$set(o);
|
|
110
|
-
},
|
|
111
|
-
i(e) {
|
|
112
|
-
n || (m(A.$$.fragment, e), n = !0);
|
|
113
|
-
},
|
|
114
|
-
o(e) {
|
|
115
|
-
B(A.$$.fragment, e), n = !1;
|
|
116
|
-
},
|
|
117
|
-
d(e) {
|
|
118
|
-
D(A, e);
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
function AA(i) {
|
|
123
|
-
let A, n;
|
|
124
|
-
return A = new L({
|
|
125
|
-
props: { tag: s(i[1]) }
|
|
126
|
-
}), {
|
|
127
|
-
c() {
|
|
128
|
-
C(A.$$.fragment);
|
|
129
|
-
},
|
|
130
|
-
m(e, t) {
|
|
131
|
-
p(A, e, t), n = !0;
|
|
132
|
-
},
|
|
133
|
-
p(e, t) {
|
|
134
|
-
const o = {};
|
|
135
|
-
t & 2 && (o.tag = s(e[1])), A.$set(o);
|
|
136
|
-
},
|
|
137
|
-
i(e) {
|
|
138
|
-
n || (m(A.$$.fragment, e), n = !0);
|
|
139
|
-
},
|
|
140
|
-
o(e) {
|
|
141
|
-
B(A.$$.fragment, e), n = !1;
|
|
142
|
-
},
|
|
143
|
-
d(e) {
|
|
144
|
-
D(A, e);
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
function eA(i) {
|
|
149
|
-
let A, n;
|
|
150
|
-
return A = new x({
|
|
151
|
-
props: { tag: s(i[1]) }
|
|
152
|
-
}), {
|
|
153
|
-
c() {
|
|
154
|
-
C(A.$$.fragment);
|
|
155
|
-
},
|
|
156
|
-
m(e, t) {
|
|
157
|
-
p(A, e, t), n = !0;
|
|
158
|
-
},
|
|
159
|
-
p(e, t) {
|
|
160
|
-
const o = {};
|
|
161
|
-
t & 2 && (o.tag = s(e[1])), A.$set(o);
|
|
162
|
-
},
|
|
163
|
-
i(e) {
|
|
164
|
-
n || (m(A.$$.fragment, e), n = !0);
|
|
165
|
-
},
|
|
166
|
-
o(e) {
|
|
167
|
-
B(A.$$.fragment, e), n = !1;
|
|
168
|
-
},
|
|
169
|
-
d(e) {
|
|
170
|
-
D(A, e);
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
function tA(i) {
|
|
175
|
-
let A, n;
|
|
176
|
-
return A = new N({
|
|
177
|
-
props: { tag: s(i[1]) }
|
|
178
|
-
}), {
|
|
179
|
-
c() {
|
|
180
|
-
C(A.$$.fragment);
|
|
181
|
-
},
|
|
182
|
-
m(e, t) {
|
|
183
|
-
p(A, e, t), n = !0;
|
|
184
|
-
},
|
|
185
|
-
p(e, t) {
|
|
186
|
-
const o = {};
|
|
187
|
-
t & 2 && (o.tag = s(e[1])), A.$set(o);
|
|
188
|
-
},
|
|
189
|
-
i(e) {
|
|
190
|
-
n || (m(A.$$.fragment, e), n = !0);
|
|
191
|
-
},
|
|
192
|
-
o(e) {
|
|
193
|
-
B(A.$$.fragment, e), n = !1;
|
|
194
|
-
},
|
|
195
|
-
d(e) {
|
|
196
|
-
D(A, e);
|
|
197
|
-
}
|
|
198
|
-
};
|
|
199
|
-
}
|
|
200
|
-
function nA(i) {
|
|
201
|
-
let A, n, e, t, o, d, Q, g, c;
|
|
202
|
-
const E = [
|
|
203
|
-
tA,
|
|
204
|
-
eA,
|
|
205
|
-
AA,
|
|
206
|
-
$,
|
|
207
|
-
j,
|
|
208
|
-
X,
|
|
209
|
-
q
|
|
210
|
-
], f = [];
|
|
211
|
-
function b(a, l) {
|
|
212
|
-
return a[1].element ? 0 : a[1].contentType === h.Text ? 1 : a[1].contentType === h.ImageText ? 2 : a[1].contentType === h.Audio ? 3 : a[1].contentType === h.Marketing ? 4 : a[1].contentType === h.Link ? 5 : a[1].contentType === h.MediaPlane ? 6 : -1;
|
|
213
|
-
}
|
|
214
|
-
return ~(t = b(i)) && (o = f[t] = E[t](i)), {
|
|
215
|
-
c() {
|
|
216
|
-
var a, l, w;
|
|
217
|
-
A = G("div"), n = G("div"), e = G("div"), o && o.c(), k(e, "class", "content svelte-95x526"), u(e, "unfolded", (a = i[1].state) == null ? void 0 : a.unfolded), k(n, "class", "content__wrapper svelte-95x526"), k(A, "class", "content__container svelte-95x526"), k(A, "data-id", d = i[1].id), u(A, "disable", i[1].enabled === !1 || ((l = i[1].temporaryState) == null ? void 0 : l.visible) === !1), u(A, "hide", !i[3].visible || !i[3].enabled || !i[4].visible || !((w = i[1].state) != null && w.visible)), u(A, "withAnimation", i[0]), u(A, "unClickable", i[1].clickable === !1), M(A, "width", i[1].pointType === "PointTag" ? 0 : "100%", !1), M(A, "height", i[1].pointType === "PointTag" ? 0 : "100%", !1);
|
|
218
|
-
},
|
|
219
|
-
m(a, l) {
|
|
220
|
-
W(a, A, l), y(A, n), y(n, e), ~t && f[t].m(e, null), Q = !0, g || (c = H(A, "click", P(i[11])), g = !0);
|
|
221
|
-
},
|
|
222
|
-
p(a, [l]) {
|
|
223
|
-
var _, r, v;
|
|
224
|
-
let w = t;
|
|
225
|
-
t = b(a), t === w ? ~t && f[t].p(a, l) : (o && (S(), B(f[w], 1, 1, () => {
|
|
226
|
-
f[w] = null;
|
|
227
|
-
}), F()), ~t ? (o = f[t], o ? o.p(a, l) : (o = f[t] = E[t](a), o.c()), m(o, 1), o.m(e, null)) : o = null), l & 2 && u(e, "unfolded", (_ = a[1].state) == null ? void 0 : _.unfolded), (!Q || l & 2 && d !== (d = a[1].id)) && k(A, "data-id", d), l & 2 && u(A, "disable", a[1].enabled === !1 || ((r = a[1].temporaryState) == null ? void 0 : r.visible) === !1), l & 26 && u(A, "hide", !a[3].visible || !a[3].enabled || !a[4].visible || !((v = a[1].state) != null && v.visible)), l & 1 && u(A, "withAnimation", a[0]), l & 2 && u(A, "unClickable", a[1].clickable === !1), l & 2 && M(A, "width", a[1].pointType === "PointTag" ? 0 : "100%", !1), l & 2 && M(A, "height", a[1].pointType === "PointTag" ? 0 : "100%", !1);
|
|
228
|
-
},
|
|
229
|
-
i(a) {
|
|
230
|
-
Q || (m(o), Q = !0);
|
|
231
|
-
},
|
|
232
|
-
o(a) {
|
|
233
|
-
B(o), Q = !1;
|
|
234
|
-
},
|
|
235
|
-
d(a) {
|
|
236
|
-
a && O(A), ~t && f[t].d(), g = !1, c();
|
|
237
|
-
}
|
|
238
|
-
};
|
|
239
|
-
}
|
|
240
|
-
function iA(i, A, n) {
|
|
241
|
-
let e, t, o, d, { withAnimation: Q = !1 } = A, { tag: g } = A, { hooks: c } = A, { state: E } = A, { mediaStore: f } = A, { temporaryState: b } = A;
|
|
242
|
-
I("hooks", c), I("mediaStore", f);
|
|
243
|
-
let a, l;
|
|
244
|
-
function w(r) {
|
|
245
|
-
r ? c.emit("exposure", { id: d, type: "start" }) : c.emit("exposure", { id: d, type: "end" });
|
|
246
|
-
}
|
|
247
|
-
const _ = (r) => c.emit("click", { event: r, target: "TagContent", tag: g });
|
|
248
|
-
return i.$$set = (r) => {
|
|
249
|
-
"withAnimation" in r && n(0, Q = r.withAnimation), "tag" in r && n(1, g = r.tag), "hooks" in r && n(2, c = r.hooks), "state" in r && n(3, E = r.state), "mediaStore" in r && n(5, f = r.mediaStore), "temporaryState" in r && n(4, b = r.temporaryState);
|
|
250
|
-
}, i.$$.update = () => {
|
|
251
|
-
var r, v;
|
|
252
|
-
i.$$.dirty & 2 && n(9, e = (r = g.state) == null ? void 0 : r.unfolded), i.$$.dirty & 2 && n(8, t = (v = g.state) == null ? void 0 : v.visible), i.$$.dirty & 280 && n(10, o = E.visible && b.visible && t), i.$$.dirty & 2 && (d = g.id), i.$$.dirty & 1024 && w(o), i.$$.dirty & 962 && g.hooks && (e !== void 0 && e !== l && (n(7, l = e), e ? g.hooks.emit("unfolded") : g.hooks.emit("folded")), t !== void 0 && t !== a && (n(6, a = t), t ? g.hooks.emit("show") : g.hooks.emit("hide")));
|
|
253
|
-
}, [
|
|
254
|
-
Q,
|
|
255
|
-
g,
|
|
256
|
-
c,
|
|
257
|
-
E,
|
|
258
|
-
b,
|
|
259
|
-
f,
|
|
260
|
-
a,
|
|
261
|
-
l,
|
|
262
|
-
t,
|
|
263
|
-
e,
|
|
264
|
-
o,
|
|
265
|
-
_
|
|
266
|
-
];
|
|
267
|
-
}
|
|
268
|
-
class QA extends T {
|
|
269
|
-
constructor(A) {
|
|
270
|
-
super(), Y(
|
|
271
|
-
this,
|
|
272
|
-
A,
|
|
273
|
-
iA,
|
|
274
|
-
nA,
|
|
275
|
-
J,
|
|
276
|
-
{
|
|
277
|
-
withAnimation: 0,
|
|
278
|
-
tag: 1,
|
|
279
|
-
hooks: 2,
|
|
280
|
-
state: 3,
|
|
281
|
-
mediaStore: 5,
|
|
282
|
-
temporaryState: 4
|
|
283
|
-
},
|
|
284
|
-
R
|
|
285
|
-
);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
export {
|
|
289
|
-
QA as default
|
|
290
|
-
};
|
|
3
|
+
format('woff2')}.content__container.svelte-95x526{position:relative;left:50%;top:50%;transform:translate(-50%, -50%);font-family:PingFangSC, Segoe UI, Rototo, sans-serif}.content__container.unClickable.svelte-95x526{pointer-events:none !important}.content__container.unClickable.svelte-95x526 *{pointer-events:none !important}*{-webkit-tap-highlight-color:transparent}.content__wrapper.svelte-95x526{pointer-events:none;width:100%;height:100%}.withAnimation.svelte-95x526{transition:opacity 0.3s linear}.content__container.hide.svelte-95x526{opacity:0;pointer-events:none}.content__container.hide.svelte-95x526 *{pointer-events:none !important}.content__container.disable.svelte-95x526{display:none}.content__container.hide.svelte-95x526 *{pointer-events:none}.content.svelte-95x526{position:relative;width:100%;height:100%;font-size:0.75rem;line-height:1.125rem;color:#fff}.content.svelte-95x526:not(.unfolded){pointer-events:none}.content.svelte-95x526:not(.unfolded) *{pointer-events:none !important}.content.unfolded.svelte-95x526{pointer-events:auto}`)}function M(i){let A,o;return A=new E.MediaPlane({props:{tag:c.noTypecheck(i[1])}}),{c(){t.create_component(A.$$.fragment)},m(e,n){t.mount_component(A,e,n),o=!0},p(e,n){const a={};n&2&&(a.tag=c.noTypecheck(e[1])),A.$set(a)},i(e){o||(t.transition_in(A.$$.fragment,e),o=!0)},o(e){t.transition_out(A.$$.fragment,e),o=!1},d(e){t.destroy_component(A,e)}}}function G(i){let A,o;return A=new b.LinkTag({props:{tag:c.noTypecheck(i[1])}}),{c(){t.create_component(A.$$.fragment)},m(e,n){t.mount_component(A,e,n),o=!0},p(e,n){const a={};n&2&&(a.tag=c.noTypecheck(e[1])),A.$set(a)},i(e){o||(t.transition_in(A.$$.fragment,e),o=!0)},o(e){t.transition_out(A.$$.fragment,e),o=!1},d(e){t.destroy_component(A,e)}}}function I(i){let A,o;return A=new D.MarketingTag({props:{tag:c.noTypecheck(i[1])}}),{c(){t.create_component(A.$$.fragment)},m(e,n){t.mount_component(A,e,n),o=!0},p(e,n){const a={};n&2&&(a.tag=c.noTypecheck(e[1])),A.$set(a)},i(e){o||(t.transition_in(A.$$.fragment,e),o=!0)},o(e){t.transition_out(A.$$.fragment,e),o=!1},d(e){t.destroy_component(A,e)}}}function Y(i){let A,o;return A=new y.AudioTag({props:{tag:c.noTypecheck(i[1])}}),{c(){t.create_component(A.$$.fragment)},m(e,n){t.mount_component(A,e,n),o=!0},p(e,n){const a={};n&2&&(a.tag=c.noTypecheck(e[1])),A.$set(a)},i(e){o||(t.transition_in(A.$$.fragment,e),o=!0)},o(e){t.transition_out(A.$$.fragment,e),o=!1},d(e){t.destroy_component(A,e)}}}function J(i){let A,o;return A=new k.ImageTextTag({props:{tag:c.noTypecheck(i[1])}}),{c(){t.create_component(A.$$.fragment)},m(e,n){t.mount_component(A,e,n),o=!0},p(e,n){const a={};n&2&&(a.tag=c.noTypecheck(e[1])),A.$set(a)},i(e){o||(t.transition_in(A.$$.fragment,e),o=!0)},o(e){t.transition_out(A.$$.fragment,e),o=!1},d(e){t.destroy_component(A,e)}}}function U(i){let A,o;return A=new h.TextTag({props:{tag:c.noTypecheck(i[1])}}),{c(){t.create_component(A.$$.fragment)},m(e,n){t.mount_component(A,e,n),o=!0},p(e,n){const a={};n&2&&(a.tag=c.noTypecheck(e[1])),A.$set(a)},i(e){o||(t.transition_in(A.$$.fragment,e),o=!0)},o(e){t.transition_out(A.$$.fragment,e),o=!1},d(e){t.destroy_component(A,e)}}}function W(i){let A,o;return A=new v.CustomTag({props:{tag:c.noTypecheck(i[1])}}),{c(){t.create_component(A.$$.fragment)},m(e,n){t.mount_component(A,e,n),o=!0},p(e,n){const a={};n&2&&(a.tag=c.noTypecheck(e[1])),A.$set(a)},i(e){o||(t.transition_in(A.$$.fragment,e),o=!0)},o(e){t.transition_out(A.$$.fragment,e),o=!1},d(e){t.destroy_component(A,e)}}}function H(i){let A,o,e,n,a,m,B,l,f;const p=[W,U,J,Y,I,G,M],u=[];function d(r,g){return r[1].element?0:r[1].contentType===C.ContentType.Text?1:r[1].contentType===C.ContentType.ImageText?2:r[1].contentType===C.ContentType.Audio?3:r[1].contentType===C.ContentType.Marketing?4:r[1].contentType===C.ContentType.Link?5:r[1].contentType===C.ContentType.MediaPlane?6:-1}return~(n=d(i))&&(a=u[n]=p[n](i)),{c(){var r,g,_;A=t.element("div"),o=t.element("div"),e=t.element("div"),a&&a.c(),t.attr(e,"class","content svelte-95x526"),t.toggle_class(e,"unfolded",(r=i[1].state)==null?void 0:r.unfolded),t.attr(o,"class","content__wrapper svelte-95x526"),t.attr(A,"class","content__container svelte-95x526"),t.attr(A,"data-id",m=i[1].id),t.toggle_class(A,"disable",i[1].enabled===!1||((g=i[1].temporaryState)==null?void 0:g.visible)===!1),t.toggle_class(A,"hide",!i[3].visible||!i[3].enabled||!i[4].visible||!((_=i[1].state)!=null&&_.visible)),t.toggle_class(A,"withAnimation",i[0]),t.toggle_class(A,"unClickable",i[1].clickable===!1),t.set_style(A,"width",i[1].pointType==="PointTag"?0:"100%",!1),t.set_style(A,"height",i[1].pointType==="PointTag"?0:"100%",!1)},m(r,g){t.insert(r,A,g),t.append(A,o),t.append(o,e),~n&&u[n].m(e,null),B=!0,l||(f=t.listen(A,"click",t.stop_propagation(i[11])),l=!0)},p(r,[g]){var w,s,Q;let _=n;n=d(r),n===_?~n&&u[n].p(r,g):(a&&(t.group_outros(),t.transition_out(u[_],1,1,()=>{u[_]=null}),t.check_outros()),~n?(a=u[n],a?a.p(r,g):(a=u[n]=p[n](r),a.c()),t.transition_in(a,1),a.m(e,null)):a=null),g&2&&t.toggle_class(e,"unfolded",(w=r[1].state)==null?void 0:w.unfolded),(!B||g&2&&m!==(m=r[1].id))&&t.attr(A,"data-id",m),g&2&&t.toggle_class(A,"disable",r[1].enabled===!1||((s=r[1].temporaryState)==null?void 0:s.visible)===!1),g&26&&t.toggle_class(A,"hide",!r[3].visible||!r[3].enabled||!r[4].visible||!((Q=r[1].state)!=null&&Q.visible)),g&1&&t.toggle_class(A,"withAnimation",r[0]),g&2&&t.toggle_class(A,"unClickable",r[1].clickable===!1),g&2&&t.set_style(A,"width",r[1].pointType==="PointTag"?0:"100%",!1),g&2&&t.set_style(A,"height",r[1].pointType==="PointTag"?0:"100%",!1)},i(r){B||(t.transition_in(a),B=!0)},o(r){t.transition_out(a),B=!1},d(r){r&&t.detach(A),~n&&u[n].d(),l=!1,f()}}}function S(i,A,o){let e,n,a,m,{withAnimation:B=!1}=A,{tag:l}=A,{hooks:f}=A,{state:p}=A,{mediaStore:u}=A,{temporaryState:d}=A;T.setContext("hooks",f),T.setContext("mediaStore",u);let r,g;function _(s){s?f.emit("exposure",{id:m,type:"start"}):f.emit("exposure",{id:m,type:"end"})}const w=s=>f.emit("click",{event:s,target:"TagContent",tag:l});return i.$$set=s=>{"withAnimation"in s&&o(0,B=s.withAnimation),"tag"in s&&o(1,l=s.tag),"hooks"in s&&o(2,f=s.hooks),"state"in s&&o(3,p=s.state),"mediaStore"in s&&o(5,u=s.mediaStore),"temporaryState"in s&&o(4,d=s.temporaryState)},i.$$.update=()=>{var s,Q;i.$$.dirty&2&&o(9,e=(s=l.state)==null?void 0:s.unfolded),i.$$.dirty&2&&o(8,n=(Q=l.state)==null?void 0:Q.visible),i.$$.dirty&280&&o(10,a=p.visible&&d.visible&&n),i.$$.dirty&2&&(m=l.id),i.$$.dirty&1024&&_(a),i.$$.dirty&962&&l.hooks&&(e!==void 0&&e!==g&&(o(7,g=e),e?l.hooks.emit("unfolded"):l.hooks.emit("folded")),n!==void 0&&n!==r&&(o(6,r=n),n?l.hooks.emit("show"):l.hooks.emit("hide")))},[B,l,f,p,d,u,r,g,n,e,a,w]}class F extends t.SvelteComponent{constructor(A){super(),t.init(this,A,S,H,t.safe_not_equal,{withAnimation:0,tag:1,hooks:2,state:3,mediaStore:5,temporaryState:4},P)}}exports.Tag=F;
|