@realsee/dnalogel 2.16.0-alpha.3 → 2.16.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/PanoTagPlugin/utils/model/mediaPlane.d.ts +9 -5
- package/dist/index.cjs.js +48 -35
- package/dist/index.js +1729 -1691
- package/dist/index.umd.js +41 -28
- package/dist/shared-utils/three/Quadrangle.d.ts +2 -2
- package/dist/shared-utils/three/getPositionsByObjectFit.d.ts +2 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +25 -25
- 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 +46 -46
- 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 +19 -19
- 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/PaintBrushTypeEnum.html +8 -8
- 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/PanoVideoPlugin.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 +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- 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 +15 -15
- 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/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- 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 +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 +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- 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 +14 -14
- 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 +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/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.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 +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.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/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.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/ElementRenderer.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/LoadTagConfig.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/MediaStore.html +5 -5
- package/docs/types/ModelElement.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/PanoIndex.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/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.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/StickType.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/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.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/types/WorkCode.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/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +222 -194
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +66 -38
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +102 -76
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +123 -97
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -67
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +85 -60
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +96 -73
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +75 -47
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +76 -51
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +79 -54
- package/libs/PanoTagPlugin/Components/Tag/index.js +29 -26
- package/libs/PanoTagPlugin/Components/TagContainer.js +28 -25
- package/libs/PanoTagPlugin/Components/TagItem.js +27 -24
- package/libs/PanoTagPlugin/controller/TagComputer.js +30 -22
- package/libs/PanoTagPlugin/controller/TagRender.js +17 -15
- package/libs/PanoTagPlugin/controller/TagUtil.js +26 -14
- package/libs/PanoTagPlugin/controller/index.js +15 -15
- package/libs/PanoTagPlugin/index.js +24 -24
- package/libs/PanoTagPlugin/typings/index.js +33 -4
- package/libs/PanoTagPlugin/typings/tag/Utils.js +29 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +41 -13
- package/libs/PanoTagPlugin/utils/index.js +60 -34
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +9 -5
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +160 -109
- package/libs/PanoTagPlugin/utils/planeNormal.js +33 -5
- package/libs/PanoTagPlugin/utils/tagPosition.js +36 -9
- package/libs/base/BasePlugin.js +3 -3
- package/libs/index.js +7 -7
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/Quadrangle.d.ts +2 -2
- package/libs/shared-utils/three/Quadrangle.js +41 -25
- package/libs/shared-utils/three/getPositionsByObjectFit.d.ts +2 -1
- package/libs/shared-utils/three/getPositionsByObjectFit.js +35 -15
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.16.0
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.16.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.16.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.16.0
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.16.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.16.0
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.16.0</a></li>
|
|
16
16
|
<li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/090922e/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.16.0
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.16.0</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
|
|
47
47
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
@@ -61,7 +61,7 @@ class D {
|
|
|
61
61
|
return this.visible = !1, this.masking.style.pointerEvents = "none", this.container.style.opacity = "0", this.container.style.top = "10px", this.container.style.pointerEvents = "none", this;
|
|
62
62
|
}
|
|
63
63
|
show() {
|
|
64
|
-
return
|
|
64
|
+
return this.visible = !0, this.masking.style.pointerEvents = "auto", this.container.style.opacity = "1", this.container.style.top = "0", this.container.style.pointerEvents = "auto", this;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
export {
|
|
@@ -2,83 +2,111 @@ var Q = Object.defineProperty, V = Object.defineProperties;
|
|
|
2
2
|
var X = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var D = Object.getOwnPropertySymbols;
|
|
4
4
|
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var E = (
|
|
6
|
-
for (var o in
|
|
7
|
-
Y.call(
|
|
5
|
+
var E = (i, e, o) => e in i ? Q(i, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : i[e] = o, C = (i, e) => {
|
|
6
|
+
for (var o in e || (e = {}))
|
|
7
|
+
Y.call(e, o) && E(i, o, e[o]);
|
|
8
8
|
if (D)
|
|
9
|
-
for (var o of D(
|
|
10
|
-
Z.call(
|
|
11
|
-
return
|
|
12
|
-
}, L = (
|
|
13
|
-
var K = (
|
|
9
|
+
for (var o of D(e))
|
|
10
|
+
Z.call(e, o) && E(i, o, e[o]);
|
|
11
|
+
return i;
|
|
12
|
+
}, L = (i, e) => V(i, X(e));
|
|
13
|
+
var K = (i, e, o) => new Promise((n, t) => {
|
|
14
14
|
var r = (a) => {
|
|
15
15
|
try {
|
|
16
16
|
u(o.next(a));
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
17
|
+
} catch (c) {
|
|
18
|
+
t(c);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, d = (a) => {
|
|
21
21
|
try {
|
|
22
22
|
u(o.throw(a));
|
|
23
|
-
} catch (
|
|
24
|
-
|
|
23
|
+
} catch (c) {
|
|
24
|
+
t(c);
|
|
25
25
|
}
|
|
26
|
-
}, u = (a) => a.done ?
|
|
27
|
-
u((o = o.apply(
|
|
26
|
+
}, u = (a) => a.done ? n(a.value) : Promise.resolve(a.value).then(r, d);
|
|
27
|
+
u((o = o.apply(i, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { SvelteComponent as $, init as x, safe_not_equal as
|
|
29
|
+
import { SvelteComponent as $, init as x, safe_not_equal as ii, append_styles as ei, empty as N, insert as w, transition_in as h, transition_out as y, check_outros as B, detach as b, createEventDispatcher as ti, onMount as ni, element as R, space as oi, attr as _, set_style as f, append as ri, group_outros as G, create_component as ai, mount_component as li, destroy_component as ui, handle_promise as q, update_await_block_branch as J, noop as m, src_url_equal as F } from "../../../../vendor/svelte/internal/index.js";
|
|
30
30
|
import "three";
|
|
31
31
|
import { noTypecheck as W } from "../../../utils/noTypecheck.js";
|
|
32
32
|
import "@realsee/five/gltf-loader";
|
|
33
33
|
import "../../../../shared-utils/three/loadTexture.js";
|
|
34
34
|
import "@realsee/five";
|
|
35
|
+
import "object-assign-deep";
|
|
36
|
+
import "hammerjs";
|
|
37
|
+
import "@tweenjs/tween.js";
|
|
38
|
+
import "../../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
39
|
+
import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
40
|
+
import "../../../../shared-utils/animationFrame/BetterTween.js";
|
|
41
|
+
import "../../../utils/device.js";
|
|
35
42
|
import "../../../../shared-utils/threex/domevents/index.js";
|
|
36
|
-
import
|
|
43
|
+
import mi from "../Shadow.js";
|
|
44
|
+
import "animejs";
|
|
45
|
+
import "../../../utils/constants.js";
|
|
46
|
+
import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
37
47
|
import g from "../../../utils/px2rem.js";
|
|
38
|
-
import
|
|
48
|
+
import "lodash.get";
|
|
49
|
+
import "lodash.clonedeep";
|
|
50
|
+
import "lodash.isequal";
|
|
51
|
+
import "classnames";
|
|
52
|
+
import "../../../../shared-utils/three/GLTFLoader.js";
|
|
53
|
+
import { getKeyframeInfo as si, getImageInfo as fi } from "../../../utils/getImageInfo.js";
|
|
54
|
+
import "../../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
55
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
56
|
+
import "../../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
57
|
+
import "../../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
58
|
+
import "../../../../CSS3DRenderPlugin/utils/even.js";
|
|
59
|
+
import "../../../../shared-utils/Subscribe.js";
|
|
60
|
+
import "../../../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
61
|
+
import "../../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
62
|
+
import "../../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
63
|
+
import "../../../../shared-utils/three/centerPoint.js";
|
|
64
|
+
import "../../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
65
|
+
import "../../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
66
|
+
import "../../../../shared-utils/animationFrame/index.js";
|
|
39
67
|
import "../../../../vendor/svelte/transition/index.js";
|
|
40
68
|
import "../../../../vendor/svelte/easing/index.js";
|
|
41
|
-
function
|
|
42
|
-
|
|
69
|
+
function ci(i) {
|
|
70
|
+
ei(i, "svelte-316sq3", "@keyframes svelte-316sq3-sprites-animation{0%{background-position:0 0}100%{background-position:100% 0}}.icon-image.svelte-316sq3{display:block;width:auto}.icon-keyframe.svelte-316sq3{background-repeat:no-repeat;background-size:auto 100%;animation-direction:normal;animation-iteration-count:infinite;animation-name:svelte-316sq3-sprites-animation;animation-delay:0}");
|
|
43
71
|
}
|
|
44
|
-
function M(
|
|
45
|
-
|
|
72
|
+
function M(i) {
|
|
73
|
+
i[1] = i[19].width;
|
|
46
74
|
}
|
|
47
|
-
function T(
|
|
48
|
-
|
|
75
|
+
function T(i) {
|
|
76
|
+
i[1] = i[19].width, i[16] = i[19].height, i[17] = i[19].steps, i[18] = i[19].duration;
|
|
49
77
|
}
|
|
50
|
-
function U(
|
|
51
|
-
let
|
|
52
|
-
function r(a,
|
|
53
|
-
return a[8] ?
|
|
78
|
+
function U(i) {
|
|
79
|
+
let e, o, n, t = i[0] && A();
|
|
80
|
+
function r(a, c) {
|
|
81
|
+
return a[8] ? pi : di;
|
|
54
82
|
}
|
|
55
|
-
let
|
|
83
|
+
let d = r(i), u = d(i);
|
|
56
84
|
return {
|
|
57
85
|
c() {
|
|
58
|
-
|
|
86
|
+
e = R("div"), t && t.c(), o = oi(), u.c(), _(e, "class", "icon"), f(e, "width", i[1]);
|
|
59
87
|
},
|
|
60
|
-
m(a,
|
|
61
|
-
w(a,
|
|
88
|
+
m(a, c) {
|
|
89
|
+
w(a, e, c), t && t.m(e, null), ri(e, o), u.m(e, null), n = !0;
|
|
62
90
|
},
|
|
63
|
-
p(a,
|
|
64
|
-
a[0] ?
|
|
65
|
-
|
|
66
|
-
}), B()),
|
|
91
|
+
p(a, c) {
|
|
92
|
+
a[0] ? t ? c & 1 && h(t, 1) : (t = A(), t.c(), h(t, 1), t.m(e, o)) : t && (G(), y(t, 1, 1, () => {
|
|
93
|
+
t = null;
|
|
94
|
+
}), B()), d === (d = r(a)) && u ? u.p(a, c) : (u.d(1), u = d(a), u && (u.c(), u.m(e, null))), c & 2 && f(e, "width", a[1]);
|
|
67
95
|
},
|
|
68
96
|
i(a) {
|
|
69
|
-
|
|
97
|
+
n || (h(t), n = !0);
|
|
70
98
|
},
|
|
71
99
|
o(a) {
|
|
72
|
-
y(
|
|
100
|
+
y(t), n = !1;
|
|
73
101
|
},
|
|
74
102
|
d(a) {
|
|
75
|
-
a && b(
|
|
103
|
+
a && b(e), t && t.d(), u.d();
|
|
76
104
|
}
|
|
77
105
|
};
|
|
78
106
|
}
|
|
79
|
-
function A(
|
|
80
|
-
let
|
|
81
|
-
return
|
|
107
|
+
function A(i) {
|
|
108
|
+
let e, o;
|
|
109
|
+
return e = new mi({
|
|
82
110
|
props: {
|
|
83
111
|
center: !0,
|
|
84
112
|
blurRadius: 24,
|
|
@@ -86,256 +114,256 @@ function A(e) {
|
|
|
86
114
|
}
|
|
87
115
|
}), {
|
|
88
116
|
c() {
|
|
89
|
-
|
|
117
|
+
ai(e.$$.fragment);
|
|
90
118
|
},
|
|
91
|
-
m(
|
|
92
|
-
|
|
119
|
+
m(n, t) {
|
|
120
|
+
li(e, n, t), o = !0;
|
|
93
121
|
},
|
|
94
|
-
i(
|
|
95
|
-
o || (
|
|
122
|
+
i(n) {
|
|
123
|
+
o || (h(e.$$.fragment, n), o = !0);
|
|
96
124
|
},
|
|
97
|
-
o(
|
|
98
|
-
y(
|
|
125
|
+
o(n) {
|
|
126
|
+
y(e.$$.fragment, n), o = !1;
|
|
99
127
|
},
|
|
100
|
-
d(
|
|
101
|
-
|
|
128
|
+
d(n) {
|
|
129
|
+
ui(e, n);
|
|
102
130
|
}
|
|
103
131
|
};
|
|
104
132
|
}
|
|
105
|
-
function
|
|
106
|
-
let
|
|
107
|
-
ctx:
|
|
133
|
+
function di(i) {
|
|
134
|
+
let e, o, n = {
|
|
135
|
+
ctx: i,
|
|
108
136
|
current: null,
|
|
109
137
|
token: null,
|
|
110
138
|
hasCatch: !1,
|
|
111
|
-
pending:
|
|
112
|
-
then:
|
|
113
|
-
catch:
|
|
139
|
+
pending: gi,
|
|
140
|
+
then: _i,
|
|
141
|
+
catch: hi,
|
|
114
142
|
value: 19
|
|
115
143
|
};
|
|
116
144
|
return q(
|
|
117
|
-
o =
|
|
118
|
-
url:
|
|
119
|
-
ratio:
|
|
145
|
+
o = i[11](W({
|
|
146
|
+
url: i[7],
|
|
147
|
+
ratio: i[5]
|
|
120
148
|
})),
|
|
121
|
-
|
|
149
|
+
n
|
|
122
150
|
), {
|
|
123
151
|
c() {
|
|
124
|
-
|
|
152
|
+
e = N(), n.block.c();
|
|
125
153
|
},
|
|
126
|
-
m(
|
|
127
|
-
w(
|
|
154
|
+
m(t, r) {
|
|
155
|
+
w(t, e, r), n.block.m(t, n.anchor = r), n.mount = () => e.parentNode, n.anchor = e;
|
|
128
156
|
},
|
|
129
|
-
p(
|
|
130
|
-
|
|
131
|
-
url:
|
|
132
|
-
ratio:
|
|
133
|
-
}))) && q(o,
|
|
157
|
+
p(t, r) {
|
|
158
|
+
i = t, n.ctx = i, r & 160 && o !== (o = i[11](W({
|
|
159
|
+
url: i[7],
|
|
160
|
+
ratio: i[5]
|
|
161
|
+
}))) && q(o, n) || J(n, i, r);
|
|
134
162
|
},
|
|
135
|
-
d(
|
|
136
|
-
|
|
163
|
+
d(t) {
|
|
164
|
+
t && b(e), n.block.d(t), n.token = null, n = null;
|
|
137
165
|
}
|
|
138
166
|
};
|
|
139
167
|
}
|
|
140
|
-
function
|
|
141
|
-
let
|
|
142
|
-
ctx:
|
|
168
|
+
function pi(i) {
|
|
169
|
+
let e, o, n = {
|
|
170
|
+
ctx: i,
|
|
143
171
|
current: null,
|
|
144
172
|
token: null,
|
|
145
173
|
hasCatch: !1,
|
|
146
|
-
pending:
|
|
147
|
-
then:
|
|
148
|
-
catch:
|
|
174
|
+
pending: bi,
|
|
175
|
+
then: wi,
|
|
176
|
+
catch: ki,
|
|
149
177
|
value: 19
|
|
150
178
|
};
|
|
151
179
|
return q(
|
|
152
|
-
o =
|
|
153
|
-
url:
|
|
154
|
-
steps:
|
|
155
|
-
fps:
|
|
156
|
-
ratio:
|
|
180
|
+
o = i[10](W({
|
|
181
|
+
url: i[7],
|
|
182
|
+
steps: i[2],
|
|
183
|
+
fps: i[6],
|
|
184
|
+
ratio: i[5]
|
|
157
185
|
})),
|
|
158
|
-
|
|
186
|
+
n
|
|
159
187
|
), {
|
|
160
188
|
c() {
|
|
161
|
-
|
|
189
|
+
e = N(), n.block.c();
|
|
162
190
|
},
|
|
163
|
-
m(
|
|
164
|
-
w(
|
|
191
|
+
m(t, r) {
|
|
192
|
+
w(t, e, r), n.block.m(t, n.anchor = r), n.mount = () => e.parentNode, n.anchor = e;
|
|
165
193
|
},
|
|
166
|
-
p(
|
|
167
|
-
|
|
168
|
-
url:
|
|
169
|
-
steps:
|
|
170
|
-
fps:
|
|
171
|
-
ratio:
|
|
172
|
-
}))) && q(o,
|
|
194
|
+
p(t, r) {
|
|
195
|
+
i = t, n.ctx = i, r & 228 && o !== (o = i[10](W({
|
|
196
|
+
url: i[7],
|
|
197
|
+
steps: i[2],
|
|
198
|
+
fps: i[6],
|
|
199
|
+
ratio: i[5]
|
|
200
|
+
}))) && q(o, n) || J(n, i, r);
|
|
173
201
|
},
|
|
174
|
-
d(
|
|
175
|
-
|
|
202
|
+
d(t) {
|
|
203
|
+
t && b(e), n.block.d(t), n.token = null, n = null;
|
|
176
204
|
}
|
|
177
205
|
};
|
|
178
206
|
}
|
|
179
|
-
function
|
|
180
|
-
return { c:
|
|
207
|
+
function hi(i) {
|
|
208
|
+
return { c: m, m, p: m, d: m };
|
|
181
209
|
}
|
|
182
|
-
function
|
|
183
|
-
M(
|
|
184
|
-
let
|
|
210
|
+
function _i(i) {
|
|
211
|
+
M(i);
|
|
212
|
+
let e, o;
|
|
185
213
|
return {
|
|
186
214
|
c() {
|
|
187
|
-
|
|
188
|
-
originWidth:
|
|
189
|
-
scale:
|
|
190
|
-
wantedWidth:
|
|
215
|
+
e = R("img"), _(e, "alt", "tag-icon"), _(e, "class", "icon-image svelte-316sq3"), F(e.src, o = i[7]) || _(e, "src", o), f(e, "width", g(k({
|
|
216
|
+
originWidth: i[1],
|
|
217
|
+
scale: i[4],
|
|
218
|
+
wantedWidth: i[3]
|
|
191
219
|
}).width));
|
|
192
220
|
},
|
|
193
|
-
m(
|
|
194
|
-
w(
|
|
221
|
+
m(n, t) {
|
|
222
|
+
w(n, e, t);
|
|
195
223
|
},
|
|
196
|
-
p(
|
|
197
|
-
M(
|
|
198
|
-
originWidth:
|
|
199
|
-
scale:
|
|
200
|
-
wantedWidth:
|
|
224
|
+
p(n, t) {
|
|
225
|
+
M(n), t & 128 && !F(e.src, o = n[7]) && _(e, "src", o), t & 184 && f(e, "width", g(k({
|
|
226
|
+
originWidth: n[1],
|
|
227
|
+
scale: n[4],
|
|
228
|
+
wantedWidth: n[3]
|
|
201
229
|
}).width));
|
|
202
230
|
},
|
|
203
|
-
d(
|
|
204
|
-
|
|
231
|
+
d(n) {
|
|
232
|
+
n && b(e);
|
|
205
233
|
}
|
|
206
234
|
};
|
|
207
235
|
}
|
|
208
|
-
function
|
|
209
|
-
return { c:
|
|
236
|
+
function gi(i) {
|
|
237
|
+
return { c: m, m, p: m, d: m };
|
|
210
238
|
}
|
|
211
|
-
function
|
|
212
|
-
return { c:
|
|
239
|
+
function ki(i) {
|
|
240
|
+
return { c: m, m, p: m, d: m };
|
|
213
241
|
}
|
|
214
|
-
function
|
|
215
|
-
T(
|
|
216
|
-
let
|
|
242
|
+
function wi(i) {
|
|
243
|
+
T(i);
|
|
244
|
+
let e, o = `url(${i[7]})`, n = `steps(${i[17]}, jump-none)`;
|
|
217
245
|
return {
|
|
218
246
|
c() {
|
|
219
|
-
|
|
220
|
-
originWidth:
|
|
221
|
-
originHeight:
|
|
222
|
-
scale:
|
|
223
|
-
wantedWidth:
|
|
224
|
-
}).width)),
|
|
225
|
-
originWidth:
|
|
226
|
-
originHeight:
|
|
227
|
-
scale:
|
|
228
|
-
wantedWidth:
|
|
229
|
-
}).height)),
|
|
247
|
+
e = R("div"), _(e, "class", "icon-keyframe svelte-316sq3"), f(e, "width", g(k({
|
|
248
|
+
originWidth: i[1],
|
|
249
|
+
originHeight: i[16],
|
|
250
|
+
scale: i[4],
|
|
251
|
+
wantedWidth: i[3]
|
|
252
|
+
}).width)), f(e, "height", g(k({
|
|
253
|
+
originWidth: i[1],
|
|
254
|
+
originHeight: i[16],
|
|
255
|
+
scale: i[4],
|
|
256
|
+
wantedWidth: i[3]
|
|
257
|
+
}).height)), f(e, "background-image", o), f(e, "animation-duration", i[18]), f(e, "animation-timing-function", n);
|
|
230
258
|
},
|
|
231
|
-
m(
|
|
232
|
-
w(
|
|
259
|
+
m(t, r) {
|
|
260
|
+
w(t, e, r);
|
|
233
261
|
},
|
|
234
|
-
p(
|
|
235
|
-
T(
|
|
236
|
-
originWidth:
|
|
237
|
-
originHeight:
|
|
238
|
-
scale:
|
|
239
|
-
wantedWidth:
|
|
240
|
-
}).width)), r & 252 &&
|
|
241
|
-
originWidth:
|
|
242
|
-
originHeight:
|
|
243
|
-
scale:
|
|
244
|
-
wantedWidth:
|
|
245
|
-
}).height)), r & 128 && o !== (o = `url(${
|
|
262
|
+
p(t, r) {
|
|
263
|
+
T(t), r & 252 && f(e, "width", g(k({
|
|
264
|
+
originWidth: t[1],
|
|
265
|
+
originHeight: t[16],
|
|
266
|
+
scale: t[4],
|
|
267
|
+
wantedWidth: t[3]
|
|
268
|
+
}).width)), r & 252 && f(e, "height", g(k({
|
|
269
|
+
originWidth: t[1],
|
|
270
|
+
originHeight: t[16],
|
|
271
|
+
scale: t[4],
|
|
272
|
+
wantedWidth: t[3]
|
|
273
|
+
}).height)), r & 128 && o !== (o = `url(${t[7]})`) && f(e, "background-image", o), r & 228 && f(e, "animation-duration", t[18]), r & 228 && n !== (n = `steps(${t[17]}, jump-none)`) && f(e, "animation-timing-function", n);
|
|
246
274
|
},
|
|
247
|
-
d(
|
|
248
|
-
|
|
275
|
+
d(t) {
|
|
276
|
+
t && b(e);
|
|
249
277
|
}
|
|
250
278
|
};
|
|
251
279
|
}
|
|
252
|
-
function
|
|
253
|
-
return { c:
|
|
280
|
+
function bi(i) {
|
|
281
|
+
return { c: m, m, p: m, d: m };
|
|
254
282
|
}
|
|
255
|
-
function
|
|
256
|
-
let
|
|
283
|
+
function yi(i) {
|
|
284
|
+
let e, o, n = i[9] && U(i);
|
|
257
285
|
return {
|
|
258
286
|
c() {
|
|
259
|
-
|
|
287
|
+
n && n.c(), e = N();
|
|
260
288
|
},
|
|
261
|
-
m(
|
|
262
|
-
|
|
289
|
+
m(t, r) {
|
|
290
|
+
n && n.m(t, r), w(t, e, r), o = !0;
|
|
263
291
|
},
|
|
264
|
-
p(
|
|
265
|
-
|
|
266
|
-
|
|
292
|
+
p(t, [r]) {
|
|
293
|
+
t[9] ? n ? (n.p(t, r), r & 512 && h(n, 1)) : (n = U(t), n.c(), h(n, 1), n.m(e.parentNode, e)) : n && (G(), y(n, 1, 1, () => {
|
|
294
|
+
n = null;
|
|
267
295
|
}), B());
|
|
268
296
|
},
|
|
269
|
-
i(
|
|
270
|
-
o || (
|
|
297
|
+
i(t) {
|
|
298
|
+
o || (h(n), o = !0);
|
|
271
299
|
},
|
|
272
|
-
o(
|
|
273
|
-
y(
|
|
300
|
+
o(t) {
|
|
301
|
+
y(n), o = !1;
|
|
274
302
|
},
|
|
275
|
-
d(
|
|
276
|
-
|
|
303
|
+
d(t) {
|
|
304
|
+
n && n.d(t), t && b(e);
|
|
277
305
|
}
|
|
278
306
|
};
|
|
279
307
|
}
|
|
280
|
-
function k(
|
|
281
|
-
const { originWidth:
|
|
282
|
-
return L(C({},
|
|
308
|
+
function k(i) {
|
|
309
|
+
const { originWidth: e, originHeight: o, scale: n = 1, wantedWidth: t } = i, r = (t != null ? t : e) * n, d = typeof o == "number" ? r * (o / e) : void 0;
|
|
310
|
+
return L(C({}, i), { width: r, height: d });
|
|
283
311
|
}
|
|
284
|
-
function
|
|
285
|
-
let
|
|
286
|
-
const S =
|
|
287
|
-
function O(
|
|
312
|
+
function Wi(i, e, o) {
|
|
313
|
+
let n, t, r, d, u, a, c, v, I, { width: H = null } = e, { icon: l = null } = e, { shadow: j = !1 } = e;
|
|
314
|
+
const S = ti();
|
|
315
|
+
function O(s) {
|
|
288
316
|
return K(this, null, function* () {
|
|
289
|
-
const
|
|
290
|
-
return S("iconLoaded",
|
|
317
|
+
const p = yield si(s);
|
|
318
|
+
return S("iconLoaded", p), p;
|
|
291
319
|
});
|
|
292
320
|
}
|
|
293
|
-
function P(
|
|
321
|
+
function P(s) {
|
|
294
322
|
return K(this, null, function* () {
|
|
295
323
|
if (typeof I == "number")
|
|
296
|
-
return L(C({},
|
|
297
|
-
const
|
|
298
|
-
return S("iconLoaded",
|
|
324
|
+
return L(C({}, s), { width: I });
|
|
325
|
+
const p = yield fi(s);
|
|
326
|
+
return S("iconLoaded", p), p;
|
|
299
327
|
});
|
|
300
328
|
}
|
|
301
329
|
function z() {
|
|
302
330
|
v || S("iconLoaded");
|
|
303
331
|
}
|
|
304
|
-
return
|
|
332
|
+
return ni(() => {
|
|
305
333
|
z();
|
|
306
|
-
}),
|
|
307
|
-
"width" in
|
|
308
|
-
},
|
|
309
|
-
var
|
|
310
|
-
|
|
311
|
-
url:
|
|
312
|
-
steps:
|
|
334
|
+
}), i.$$set = (s) => {
|
|
335
|
+
"width" in s && o(1, H = s.width), "icon" in s && o(12, l = s.icon), "shadow" in s && o(0, j = s.shadow);
|
|
336
|
+
}, i.$$.update = () => {
|
|
337
|
+
var s, p;
|
|
338
|
+
i.$$.dirty & 4096 && o(7, n = l == null ? void 0 : l.url), i.$$.dirty & 4096 && o(2, t = (s = l == null ? void 0 : l.steps) != null ? s : 1), i.$$.dirty & 4096 && o(6, r = l == null ? void 0 : l.fps), i.$$.dirty & 4096 && o(5, d = l == null ? void 0 : l.ratio), i.$$.dirty & 4096 && o(4, u = (p = l == null ? void 0 : l.scale) != null ? p : 1), i.$$.dirty & 4096 && o(3, a = l == null ? void 0 : l.width), i.$$.dirty & 252 && o(9, c = W({
|
|
339
|
+
url: n,
|
|
340
|
+
steps: t,
|
|
313
341
|
fps: r,
|
|
314
|
-
ratio:
|
|
342
|
+
ratio: d,
|
|
315
343
|
scale: u,
|
|
316
344
|
width: a
|
|
317
|
-
})),
|
|
345
|
+
})), i.$$.dirty & 4 && o(8, v = t > 1), i.$$.dirty & 2 && (I = H);
|
|
318
346
|
}, z(), [
|
|
319
347
|
j,
|
|
320
348
|
H,
|
|
321
|
-
|
|
349
|
+
t,
|
|
322
350
|
a,
|
|
323
351
|
u,
|
|
324
|
-
|
|
352
|
+
d,
|
|
325
353
|
r,
|
|
326
|
-
|
|
354
|
+
n,
|
|
327
355
|
v,
|
|
328
|
-
|
|
356
|
+
c,
|
|
329
357
|
O,
|
|
330
358
|
P,
|
|
331
359
|
l
|
|
332
360
|
];
|
|
333
361
|
}
|
|
334
|
-
class
|
|
335
|
-
constructor(
|
|
336
|
-
super(), x(this,
|
|
362
|
+
class se extends $ {
|
|
363
|
+
constructor(e) {
|
|
364
|
+
super(), x(this, e, Wi, yi, ii, { width: 1, icon: 12, shadow: 0 }, ci);
|
|
337
365
|
}
|
|
338
366
|
}
|
|
339
367
|
export {
|
|
340
|
-
|
|
368
|
+
se as default
|
|
341
369
|
};
|