@realsee/dnalogel 2.22.0 → 2.23.1-dev.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.
Files changed (455) hide show
  1. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
  2. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
  3. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  4. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  5. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  6. package/dist/index.cjs.js +62 -66
  7. package/dist/index.js +5869 -5598
  8. package/dist/index.umd.js +55 -59
  9. package/docs/classes/CSS3DRender.html +30 -30
  10. package/docs/classes/CruisePluginController.html +25 -25
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  13. package/docs/classes/Magnifier.html +19 -19
  14. package/docs/classes/ModelRoomLabelController.html +10 -10
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +14 -14
  17. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  18. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  19. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +48 -48
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.Interval.html +11 -11
  24. package/docs/classes/Util.Magnifier.html +19 -19
  25. package/docs/classes/Util.PointDomHelper.html +10 -10
  26. package/docs/classes/Util.PointHelper.html +10 -10
  27. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  28. package/docs/classes/Util.Rectangle.html +12 -12
  29. package/docs/enums/CameraMovementEffect.html +6 -6
  30. package/docs/enums/ContentType.html +19 -19
  31. package/docs/enums/DIRECTION.html +8 -8
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/DimensionType.html +6 -6
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  37. package/docs/enums/PointType.html +6 -6
  38. package/docs/enums/Rotation.html +7 -7
  39. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  40. package/docs/functions/CameraMovementPlugin.html +3 -3
  41. package/docs/functions/CruisePlugin.html +3 -3
  42. package/docs/functions/GuideLinePlugin.html +4 -4
  43. package/docs/functions/ItemLabelPlugin.html +3 -3
  44. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  45. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  46. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  47. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  48. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  49. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  50. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  51. package/docs/functions/ModelViewPlugin.html +3 -3
  52. package/docs/functions/Object3DHelperPlugin.html +3 -3
  53. package/docs/functions/PanoCompassPlugin.html +3 -3
  54. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  55. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  56. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  57. package/docs/functions/PanoMeasurePlugin.html +3 -3
  58. package/docs/functions/PanoRulerPlugin.html +3 -3
  59. package/docs/functions/PanoRulerProPlugin.html +3 -3
  60. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  61. package/docs/functions/PanoTagPlugin.html +3 -3
  62. package/docs/functions/PanoVideoPlugin.html +3 -3
  63. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  64. package/docs/functions/Util.absoluteUrl.html +4 -4
  65. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  66. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  67. package/docs/functions/Util.getFrameTime.html +4 -4
  68. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  69. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  70. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  71. package/docs/functions/Util.isModelLike.html +4 -4
  72. package/docs/functions/Util.isNil.html +4 -4
  73. package/docs/functions/Util.isPanoramaLike.html +4 -4
  74. package/docs/functions/Util.nextFrame.html +4 -4
  75. package/docs/functions/Util.notNil.html +4 -4
  76. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  77. package/docs/functions/Util.tweenProgress.html +4 -4
  78. package/docs/functions/Util.uuid.html +4 -4
  79. package/docs/functions/pluginFlag.html +4 -4
  80. package/docs/index.html +4 -4
  81. package/docs/interfaces/AddTagConfig.html +5 -5
  82. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  83. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  84. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  85. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  86. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  87. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  88. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  89. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  90. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  91. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  92. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  93. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  94. package/docs/interfaces/EventMap.html +14 -14
  95. package/docs/interfaces/FloorplanBounding.html +7 -7
  96. package/docs/interfaces/FloorplanData.html +9 -9
  97. package/docs/interfaces/FloorplanEntrance.html +10 -10
  98. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  99. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  100. package/docs/interfaces/FloorplanFloorData.html +8 -8
  101. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  102. package/docs/interfaces/FloorplanObserver.html +8 -8
  103. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  104. package/docs/interfaces/FloorplanPosition.html +6 -6
  105. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  106. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  107. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  108. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  109. package/docs/interfaces/FloorplanServerData.html +6 -6
  110. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  111. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  112. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  113. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  114. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  115. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  116. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  117. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  118. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  119. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  120. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -8
  121. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  122. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  123. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  124. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  125. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  126. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  127. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  128. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  129. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  130. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  131. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  132. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  133. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  134. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  135. package/docs/interfaces/HelperOffset.html +7 -7
  136. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  137. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  138. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  139. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  140. package/docs/interfaces/MinMax.html +6 -6
  141. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  142. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  143. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  144. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  145. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  146. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  147. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  148. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  149. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  150. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  151. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  152. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  153. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  154. package/docs/interfaces/Object3DHelperState.html +7 -7
  155. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  156. package/docs/interfaces/PaintBrushAction.html +11 -11
  157. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  158. package/docs/interfaces/PaintBrushState.html +9 -9
  159. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  160. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  161. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  162. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  163. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  164. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  165. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  166. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  167. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  168. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  169. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  170. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  171. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  172. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  173. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  174. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  175. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  176. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  177. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  178. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  179. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  180. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  181. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  182. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  184. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  185. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  186. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  187. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  188. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  189. package/docs/interfaces/Point.html +7 -7
  190. package/docs/interfaces/Room.html +8 -8
  191. package/docs/interfaces/RoomInfo.html +6 -6
  192. package/docs/interfaces/RoomLabel.html +13 -13
  193. package/docs/interfaces/RoomRules.html +4 -4
  194. package/docs/interfaces/Rooms.html +4 -4
  195. package/docs/interfaces/Scissor.html +8 -8
  196. package/docs/interfaces/State.html +7 -7
  197. package/docs/interfaces/TagCacheInterface.html +11 -11
  198. package/docs/interfaces/TagConfig.html +12 -12
  199. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  200. package/docs/interfaces/TagIconUrl.html +11 -11
  201. package/docs/interfaces/TagObjectGroup.html +5 -5
  202. package/docs/interfaces/TagStyle.html +5 -5
  203. package/docs/interfaces/Tags.html +8 -8
  204. package/docs/interfaces/TemporaryState.html +5 -5
  205. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  206. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  207. package/docs/interfaces/Util.PointIntersection.html +7 -7
  208. package/docs/modules/CruisePluginTypes.html +4 -4
  209. package/docs/modules/GuideLineItem.html +4 -4
  210. package/docs/modules/GuideLineModeItem.html +4 -4
  211. package/docs/modules/GuideLinePluginType.html +4 -4
  212. package/docs/modules/PanoVideoPluginType.html +4 -4
  213. package/docs/modules/Util.html +4 -4
  214. package/docs/modules.html +4 -4
  215. package/docs/types/ArrayPosition.html +4 -4
  216. package/docs/types/AudioAppearance.html +4 -4
  217. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  218. package/docs/types/CSS3DRenderExportType.html +4 -4
  219. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  220. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  221. package/docs/types/ClassFunctionParameters.html +4 -4
  222. package/docs/types/Color.html +4 -4
  223. package/docs/types/ContentTypeConfigKey.html +4 -4
  224. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  225. package/docs/types/ContentTypeMap.html +4 -4
  226. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  227. package/docs/types/Create3DElementReturnType.html +4 -4
  228. package/docs/types/CruisePluginExportType.html +4 -4
  229. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  230. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  231. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  232. package/docs/types/DeprecatedTagProperty.html +4 -4
  233. package/docs/types/Direction-1.html +4 -4
  234. package/docs/types/Direction4.html +4 -4
  235. package/docs/types/ElementRenderer.html +4 -4
  236. package/docs/types/FloorplanRuleLabels.html +4 -4
  237. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  238. package/docs/types/GuideLinePluginExportType.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  241. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  242. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  243. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  244. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  245. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  246. package/docs/types/HelperEventMap.html +4 -4
  247. package/docs/types/LoadTagConfig.html +4 -4
  248. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  249. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  250. package/docs/types/MediaData.html +4 -4
  251. package/docs/types/MediaStore.html +4 -4
  252. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  253. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  254. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  255. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  256. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  257. package/docs/types/MoveArgs.html +4 -4
  258. package/docs/types/MoveOpts.html +4 -4
  259. package/docs/types/Object3DHelperEventMap.html +4 -4
  260. package/docs/types/ObjectFit.html +4 -4
  261. package/docs/types/PaintBrushEventMap.html +4 -4
  262. package/docs/types/PanoCompassPluginData.html +4 -4
  263. package/docs/types/PanoCompassPluginExportType.html +4 -4
  264. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  265. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  266. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  267. package/docs/types/PanoIndex.html +4 -4
  268. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  269. package/docs/types/PanoMeasureReturnType.html +4 -4
  270. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  271. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  272. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  273. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  274. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  275. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  276. package/docs/types/PlaneTag.html +4 -4
  277. package/docs/types/Point2DTag.html +4 -4
  278. package/docs/types/Point3DTag.html +4 -4
  279. package/docs/types/PointTag.html +4 -4
  280. package/docs/types/PointTagInstance.html +4 -4
  281. package/docs/types/Position.html +4 -4
  282. package/docs/types/RotateArgs.html +4 -4
  283. package/docs/types/RotateOpts.html +4 -4
  284. package/docs/types/RuleLabelsKey.html +4 -4
  285. package/docs/types/RuleLabelsValue.html +4 -4
  286. package/docs/types/StickType.html +4 -4
  287. package/docs/types/Tag.html +4 -4
  288. package/docs/types/Tag2D.html +4 -4
  289. package/docs/types/Tag3D.html +4 -4
  290. package/docs/types/TagContentType.html +4 -4
  291. package/docs/types/TagDimensionType.html +4 -4
  292. package/docs/types/TagElement.html +4 -4
  293. package/docs/types/TagEvents.html +4 -4
  294. package/docs/types/TagGLTFObject.html +4 -4
  295. package/docs/types/TagHooks.html +4 -4
  296. package/docs/types/TagId.html +4 -4
  297. package/docs/types/TagInstance.html +4 -4
  298. package/docs/types/TagPointType.html +4 -4
  299. package/docs/types/TagRendererMap.html +4 -4
  300. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  301. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  302. package/docs/types/WorkCode.html +4 -4
  303. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  304. package/docs/variables/PLUGIN.html +4 -4
  305. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  306. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  307. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  308. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  309. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  310. package/libs/CruisePlugin/Controller.js +103 -90
  311. package/libs/CruisePlugin/index.js +22 -9
  312. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  313. package/libs/GuideLinePlugin/Controller.js +38 -25
  314. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  315. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  316. package/libs/GuideLinePlugin/index.js +24 -11
  317. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  318. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  319. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  320. package/libs/ItemLabelPlugin/index.js +16 -5
  321. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  322. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  323. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  324. package/libs/ModelItemLabelPlugin/index.js +16 -5
  325. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  326. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  327. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  328. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  329. package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
  330. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  331. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  332. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  333. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  334. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  335. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  336. package/libs/PanoMeasurePlugin/Components/Controller0.js +168 -112
  337. package/libs/PanoMeasurePlugin/Components/Controller1.js +244 -181
  338. package/libs/PanoMeasurePlugin/Components/Tip.js +83 -72
  339. package/libs/PanoMeasurePlugin/Controller/index.js +87 -71
  340. package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
  341. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -15
  342. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
  343. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +36 -25
  344. package/libs/PanoMeasurePlugin/index.js +27 -16
  345. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  346. package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
  347. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  348. package/libs/PanoRulerProPlugin/index.js +15 -4
  349. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  350. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  351. package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
  352. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  353. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  354. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  355. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  356. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  357. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
  358. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
  359. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  360. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  361. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  362. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  363. package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
  364. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  365. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  366. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
  367. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
  368. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  369. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
  370. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  371. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  372. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  373. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  374. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  375. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
  376. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  377. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
  378. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
  379. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  380. package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
  381. package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
  382. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  383. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  384. package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
  385. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  386. package/libs/PanoTagPlugin/controller/index.js +95 -82
  387. package/libs/PanoTagPlugin/index.js +26 -13
  388. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  389. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  390. package/libs/base/BasePlugin.js +1 -1
  391. package/libs/floorplan/Components/BaseImage.js +43 -39
  392. package/libs/floorplan/Components/Camera.js +16 -13
  393. package/libs/floorplan/Components/Compass.js +27 -24
  394. package/libs/floorplan/Components/CurrentFloor.js +25 -20
  395. package/libs/floorplan/Components/Main.js +58 -49
  396. package/libs/floorplan/Components/Normalmage.js +25 -22
  397. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  398. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  399. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  400. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  401. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  402. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  403. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  404. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  405. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  406. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  407. package/libs/floorplan/Components/SvgImage.js +30 -27
  408. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
  409. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  410. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
  411. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  412. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
  413. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
  414. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
  415. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
  416. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
  417. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  418. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
  419. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  420. package/libs/floorplan/index.js +1 -0
  421. package/libs/index.js +126 -112
  422. package/libs/shared-utils/logger.js +1 -1
  423. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  424. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  425. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  426. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  427. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  428. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  429. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  430. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  431. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  432. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  433. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  434. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  435. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  436. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  437. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  438. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  439. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  440. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  441. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  442. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  443. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  444. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  445. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  446. package/libs/vendor/svelte/src/shared/version.js +4 -0
  447. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
  448. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  449. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  450. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  451. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  452. package/package.json +1 -1
  453. package/libs/vendor/svelte/internal/index.js +0 -749
  454. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  455. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,130 +1,138 @@
1
- import { SvelteComponent as I, init as j, safe_not_equal as L, append_styles as z, element as W, attr as H, set_style as _, insert as k, group_outros as O, update_keyed_each as q, outro_and_destroy_block as A, check_outros as C, transition_in as R, transition_out as w, detach as T, assign as K, empty as M, create_component as S, mount_component as B, get_spread_update as E, destroy_component as F } from "../../../vendor/svelte/internal/index.js";
2
- import { RuleItem as G } from "./RuleItem.js";
3
- function J(o) {
4
- z(o, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
1
+ import { safe_not_equal as j, assign as L } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as z, element as W, attr as H, set_style as c, insert as R, detach as w, empty as O } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { group_outros as q, check_outros as A, transition_in as T, transition_out as I } from "../../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { ensure_array_like as y, update_keyed_each as C, outro_and_destroy_block as K } from "../../../vendor/svelte/src/runtime/internal/each.js";
5
+ import { get_spread_update as M } from "../../../vendor/svelte/src/runtime/internal/spread.js";
6
+ import { SvelteComponent as S, init as B, create_component as E, mount_component as F, destroy_component as G } from "../../../vendor/svelte/src/runtime/internal/Component.js";
7
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
8
+ import { RuleItem as J } from "./RuleItem.js";
9
+ function N(l) {
10
+ z(l, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
5
11
  }
6
- function y(o, l, t) {
7
- const r = o.slice();
8
- return r[13] = l[t][0], r[14] = l[t][1], r;
12
+ function b(l, n, t) {
13
+ const o = l.slice();
14
+ return o[13] = n[t][0], o[14] = n[t][1], o;
9
15
  }
10
- function b(o, l) {
11
- let t, r, i;
16
+ function D(l, n) {
17
+ let t, o, i;
12
18
  const a = [
13
19
  {
14
20
  type: (
15
21
  /*type*/
16
- l[13]
22
+ n[13]
17
23
  ),
18
24
  data: (
19
25
  /*data*/
20
- l[14]
26
+ n[14]
21
27
  ),
22
28
  bounding: (
23
29
  /*bounding*/
24
- l[1]
30
+ n[1]
25
31
  ),
26
32
  getRuleDistanceText: (
27
33
  /*getRuleDistanceText*/
28
- l[0]
34
+ n[0]
29
35
  )
30
36
  }
31
37
  ];
32
- let s = {};
38
+ let f = {};
33
39
  for (let e = 0; e < a.length; e += 1)
34
- s = K(s, a[e]);
35
- return r = new G({ props: s }), {
36
- key: o,
40
+ f = L(f, a[e]);
41
+ return o = new J({ props: f }), {
42
+ key: l,
37
43
  first: null,
38
44
  c() {
39
- t = M(), S(r.$$.fragment), this.first = t;
45
+ t = O(), E(o.$$.fragment), this.first = t;
40
46
  },
41
- m(e, n) {
42
- k(e, t, n), B(r, e, n), i = !0;
47
+ m(e, r) {
48
+ R(e, t, r), F(o, e, r), i = !0;
43
49
  },
44
- p(e, n) {
45
- l = e;
46
- const u = n & /*ruleLabelArray, bounding, getRuleDistanceText*/
47
- 19 ? E(a, [
50
+ p(e, r) {
51
+ n = e;
52
+ const u = r & /*ruleLabelArray, bounding, getRuleDistanceText*/
53
+ 19 ? M(a, [
48
54
  {
49
55
  type: (
50
56
  /*type*/
51
- l[13]
57
+ n[13]
52
58
  ),
53
59
  data: (
54
60
  /*data*/
55
- l[14]
61
+ n[14]
56
62
  ),
57
63
  bounding: (
58
64
  /*bounding*/
59
- l[1]
65
+ n[1]
60
66
  ),
61
67
  getRuleDistanceText: (
62
68
  /*getRuleDistanceText*/
63
- l[0]
69
+ n[0]
64
70
  )
65
71
  }
66
72
  ]) : {};
67
- r.$set(u);
73
+ o.$set(u);
68
74
  },
69
75
  i(e) {
70
- i || (R(r.$$.fragment, e), i = !0);
76
+ i || (T(o.$$.fragment, e), i = !0);
71
77
  },
72
78
  o(e) {
73
- w(r.$$.fragment, e), i = !1;
79
+ I(o.$$.fragment, e), i = !1;
74
80
  },
75
81
  d(e) {
76
- e && T(t), F(r, e);
82
+ e && w(t), G(o, e);
77
83
  }
78
84
  };
79
85
  }
80
- function N(o) {
81
- let l, t = [], r = /* @__PURE__ */ new Map(), i, a = (
86
+ function P(l) {
87
+ let n, t = [], o = /* @__PURE__ */ new Map(), i, a = y(
82
88
  /*ruleLabelArray*/
83
- o[4]
89
+ l[4]
84
90
  );
85
- const s = (e) => (
91
+ const f = (e) => (
86
92
  /*type*/
87
93
  e[13]
88
94
  );
89
95
  for (let e = 0; e < a.length; e += 1) {
90
- let n = y(o, a, e), u = s(n);
91
- r.set(u, t[e] = b(u, n));
96
+ let r = b(l, a, e), u = f(r);
97
+ o.set(u, t[e] = D(u, r));
92
98
  }
93
99
  return {
94
100
  c() {
95
- l = W("div");
101
+ n = W("div");
96
102
  for (let e = 0; e < t.length; e += 1)
97
103
  t[e].c();
98
- H(l, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), _(
99
- l,
104
+ H(n, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), c(
105
+ n,
100
106
  "width",
101
107
  /*width*/
102
- o[3]
103
- ), _(
104
- l,
108
+ l[3]
109
+ ), c(
110
+ n,
105
111
  "height",
106
112
  /*height*/
107
- o[2]
113
+ l[2]
108
114
  );
109
115
  },
110
- m(e, n) {
111
- k(e, l, n);
116
+ m(e, r) {
117
+ R(e, n, r);
112
118
  for (let u = 0; u < t.length; u += 1)
113
- t[u] && t[u].m(l, null);
119
+ t[u] && t[u].m(n, null);
114
120
  i = !0;
115
121
  },
116
- p(e, [n]) {
117
- n & /*ruleLabelArray, bounding, getRuleDistanceText*/
118
- 19 && (a = /*ruleLabelArray*/
119
- e[4], O(), t = q(t, n, s, 1, e, a, r, l, A, b, null, y), C()), n & /*width*/
120
- 8 && _(
121
- l,
122
+ p(e, [r]) {
123
+ r & /*ruleLabelArray, bounding, getRuleDistanceText*/
124
+ 19 && (a = y(
125
+ /*ruleLabelArray*/
126
+ e[4]
127
+ ), q(), t = C(t, r, f, 1, e, a, o, n, K, D, null, b), A()), r & /*width*/
128
+ 8 && c(
129
+ n,
122
130
  "width",
123
131
  /*width*/
124
132
  e[3]
125
- ), n & /*height*/
126
- 4 && _(
127
- l,
133
+ ), r & /*height*/
134
+ 4 && c(
135
+ n,
128
136
  "height",
129
137
  /*height*/
130
138
  e[2]
@@ -132,73 +140,73 @@ function N(o) {
132
140
  },
133
141
  i(e) {
134
142
  if (!i) {
135
- for (let n = 0; n < a.length; n += 1)
136
- R(t[n]);
143
+ for (let r = 0; r < a.length; r += 1)
144
+ T(t[r]);
137
145
  i = !0;
138
146
  }
139
147
  },
140
148
  o(e) {
141
- for (let n = 0; n < t.length; n += 1)
142
- w(t[n]);
149
+ for (let r = 0; r < t.length; r += 1)
150
+ I(t[r]);
143
151
  i = !1;
144
152
  },
145
153
  d(e) {
146
- e && T(l);
147
- for (let n = 0; n < t.length; n += 1)
148
- t[n].d();
154
+ e && w(n);
155
+ for (let r = 0; r < t.length; r += 1)
156
+ t[r].d();
149
157
  }
150
158
  };
151
159
  }
152
- const D = 1e3, x = 180;
153
- function P(o, l, t) {
154
- let r, i, a, s, e, n, u, m, d, p, { floorIndex: g } = l, { floorplanData: c } = l, { getRuleDistanceText: h } = l;
155
- return o.$$set = (f) => {
156
- "floorIndex" in f && t(5, g = f.floorIndex), "floorplanData" in f && t(6, c = f.floorplanData), "getRuleDistanceText" in f && t(0, h = f.getRuleDistanceText);
157
- }, o.$$.update = () => {
158
- o.$$.dirty & /*floorplanData*/
159
- 64 && t(1, r = c.bounding), o.$$.dirty & /*floorplanData, floorIndex*/
160
- 96 && t(11, i = c.floorDatas[g].rules), o.$$.dirty & /*ruleLabelData*/
161
- 2048 && t(12, a = Object.keys(i)), o.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/
162
- 6144 && t(4, s = a.map((f) => [f, i[f]])), o.$$.dirty & /*bounding*/
163
- 2 && t(9, e = r.max.x - r.min.x), o.$$.dirty & /*bounding*/
164
- 2 && t(7, n = r.max.y - r.min.y), o.$$.dirty & /*bounding*/
165
- 2 && t(10, u = r.max.x - r.min.x - (D - x) * 2), o.$$.dirty & /*bounding*/
166
- 2 && t(8, m = r.max.y - r.min.y - (D - x) * 2), o.$$.dirty & /*contentWidth, boundingWidth*/
167
- 1536 && t(3, d = u / e * 100 + "%"), o.$$.dirty & /*contentHeight, boundingHeight*/
168
- 384 && t(2, p = m / n * 100 + "%");
160
+ const k = 1e3, x = 180;
161
+ function Q(l, n, t) {
162
+ let o, i, a, f, e, r, u, _, g, d, { floorIndex: p } = n, { floorplanData: m } = n, { getRuleDistanceText: h } = n;
163
+ return l.$$set = (s) => {
164
+ "floorIndex" in s && t(5, p = s.floorIndex), "floorplanData" in s && t(6, m = s.floorplanData), "getRuleDistanceText" in s && t(0, h = s.getRuleDistanceText);
165
+ }, l.$$.update = () => {
166
+ l.$$.dirty & /*floorplanData*/
167
+ 64 && t(1, o = m.bounding), l.$$.dirty & /*floorplanData, floorIndex*/
168
+ 96 && t(11, i = m.floorDatas[p].rules), l.$$.dirty & /*ruleLabelData*/
169
+ 2048 && t(12, a = Object.keys(i)), l.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/
170
+ 6144 && t(4, f = a.map((s) => [s, i[s]])), l.$$.dirty & /*bounding*/
171
+ 2 && t(9, e = o.max.x - o.min.x), l.$$.dirty & /*bounding*/
172
+ 2 && t(7, r = o.max.y - o.min.y), l.$$.dirty & /*bounding*/
173
+ 2 && t(10, u = o.max.x - o.min.x - (k - x) * 2), l.$$.dirty & /*bounding*/
174
+ 2 && t(8, _ = o.max.y - o.min.y - (k - x) * 2), l.$$.dirty & /*contentWidth, boundingWidth*/
175
+ 1536 && t(3, g = u / e * 100 + "%"), l.$$.dirty & /*contentHeight, boundingHeight*/
176
+ 384 && t(2, d = _ / r * 100 + "%");
169
177
  }, [
170
178
  h,
171
- r,
172
- p,
179
+ o,
173
180
  d,
174
- s,
175
181
  g,
176
- c,
177
- n,
182
+ f,
183
+ p,
178
184
  m,
185
+ r,
186
+ _,
179
187
  e,
180
188
  u,
181
189
  i,
182
190
  a
183
191
  ];
184
192
  }
185
- class V extends I {
186
- constructor(l) {
187
- super(), j(
193
+ class te extends S {
194
+ constructor(n) {
195
+ super(), B(
188
196
  this,
189
- l,
197
+ n,
198
+ Q,
190
199
  P,
191
- N,
192
- L,
200
+ j,
193
201
  {
194
202
  floorIndex: 5,
195
203
  floorplanData: 6,
196
204
  getRuleDistanceText: 0
197
205
  },
198
- J
206
+ N
199
207
  );
200
208
  }
201
209
  }
202
210
  export {
203
- V as RuleLabels
211
+ te as RuleLabels
204
212
  };
@@ -1,41 +1,44 @@
1
- import { SvelteComponent as p, init as r, safe_not_equal as g, append_styles as c, element as u, space as m, attr as _, insert as d, append as v, noop as o, detach as y, HtmlTag as i } from "../../vendor/svelte/internal/index.js";
1
+ import { safe_not_equal as r, noop as s } from "../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as p, element as m, space as g, attr as c, insert as u, append as _, detach as d, HtmlTag as i } from "../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { SvelteComponent as v, init as y } from "../../vendor/svelte/src/runtime/internal/Component.js";
4
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
5
  function h(n) {
3
- c(n, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
6
+ p(n, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
4
7
  }
5
8
  function b(n) {
6
- let e, a, l, f;
9
+ let t, a, f, l;
7
10
  return {
8
11
  c() {
9
- e = u("div"), a = new i(!1), l = m(), f = new i(!1), a.a = l, f.a = null, _(e, "class", "floorplan-plugin__base-image svelte-ub47ya");
12
+ t = m("div"), a = new i(!1), f = g(), l = new i(!1), a.a = f, l.a = null, c(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
10
13
  },
11
- m(t, s) {
12
- d(t, e, s), a.m(
14
+ m(e, o) {
15
+ u(e, t, o), a.m(
13
16
  /*svgStyle*/
14
17
  n[1],
15
- e
16
- ), v(e, l), f.m(
18
+ t
19
+ ), _(t, f), l.m(
17
20
  /*content*/
18
21
  n[0],
19
- e
22
+ t
20
23
  );
21
24
  },
22
- p(t, [s]) {
23
- s & /*content*/
24
- 1 && f.p(
25
+ p(e, [o]) {
26
+ o & /*content*/
27
+ 1 && l.p(
25
28
  /*content*/
26
- t[0]
29
+ e[0]
27
30
  );
28
31
  },
29
- i: o,
30
- o,
31
- d(t) {
32
- t && y(e);
32
+ i: s,
33
+ o: s,
34
+ d(e) {
35
+ e && d(t);
33
36
  }
34
37
  };
35
38
  }
36
- function w(n, e, a) {
37
- let { content: l } = e;
38
- const f = `
39
+ function w(n, t, a) {
40
+ let { content: f } = t;
41
+ const l = `
39
42
  <style>
40
43
  svg [type='lineGroup'] path {
41
44
  fill: #ffffff;
@@ -45,15 +48,15 @@ function w(n, e, a) {
45
48
  stroke: #ffffff;
46
49
  }</style>
47
50
  `;
48
- return n.$$set = (t) => {
49
- "content" in t && a(0, l = t.content);
50
- }, [l, f];
51
+ return n.$$set = (e) => {
52
+ "content" in e && a(0, f = e.content);
53
+ }, [f, l];
51
54
  }
52
- class k extends p {
53
- constructor(e) {
54
- super(), r(this, e, w, b, g, { content: 0 }, h);
55
+ class q extends v {
56
+ constructor(t) {
57
+ super(), y(this, t, w, b, r, { content: 0 }, h);
55
58
  }
56
59
  }
57
60
  export {
58
- k as SvgImage
61
+ q as SvgImage
59
62
  };
@@ -2,7 +2,7 @@ var E = Object.defineProperty, C = Object.defineProperties;
2
2
  var P = Object.getOwnPropertyDescriptors;
3
3
  var w = Object.getOwnPropertySymbols;
4
4
  var y = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
5
- var m = (h, r, t) => r in h ? E(h, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[r] = t, c = (h, r) => {
5
+ var m = (h, r, t) => r in h ? E(h, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[r] = t, p = (h, r) => {
6
6
  for (var t in r || (r = {}))
7
7
  y.call(r, t) && m(h, t, r[t]);
8
8
  if (w)
@@ -11,7 +11,7 @@ var m = (h, r, t) => r in h ? E(h, r, { enumerable: !0, configurable: !0, writab
11
11
  return h;
12
12
  }, v = (h, r) => C(h, P(r));
13
13
  var o = (h, r, t) => (m(h, typeof r != "symbol" ? r + "" : r, t), t);
14
- var u = (h, r, t) => new Promise((e, i) => {
14
+ var c = (h, r, t) => new Promise((e, i) => {
15
15
  var s = (d) => {
16
16
  try {
17
17
  n(t.next(d));
@@ -39,17 +39,29 @@ import { Controller as T } from "../../base/BasePluginWithData.js";
39
39
  import { getPxmm as k, getAttachedY as H } from "../../shared-utils/getPxmm.js";
40
40
  import { checkShowState as R, correctFiveState as G } from "../utils/correctFiveState.js";
41
41
  import { changeModelCanvasOpacity as S } from "../../shared-utils/changeModelCanvasOpacity.js";
42
- import { FloorplanErrorType as f, SHOW_ANIME_DURATION as W } from "../utils/constant.js";
42
+ import { FloorplanErrorType as u, SHOW_ANIME_DURATION as W } from "../utils/constant.js";
43
43
  import "../../shared-utils/isTruelyObject.js";
44
- import "../../vendor/svelte/internal/index.js";
45
- import "../../vendor/svelte/transition/index.js";
46
- import "../../vendor/svelte/easing/index.js";
44
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
45
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
46
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
47
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
48
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
49
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
50
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
51
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
52
+ import "../../vendor/svelte/src/runtime/internal/each.js";
53
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
54
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
55
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
56
+ import "../../vendor/svelte/src/shared/version.js";
57
+ import "../../vendor/svelte/src/runtime/transition/index.js";
58
+ import "../../vendor/svelte/src/runtime/easing/index.js";
47
59
  import "../Components/Camera.js";
48
60
  import "../../shared-utils/math/rad2Deg.js";
49
61
  import "../Components/Compass.js";
50
62
  import "../Assets/compass.js";
51
63
  import "../Components/CurrentFloor.js";
52
- import "../../vendor/svelte/store/index.js";
64
+ import "../../vendor/svelte/src/runtime/store/index.js";
53
65
  import "../Components/BaseImage.js";
54
66
  import "../Components/Normalmage.js";
55
67
  import "../Components/SvgImage.js";
@@ -97,7 +109,7 @@ function z(h) {
97
109
  const { latitude: r, longitude: t } = h, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
98
110
  return e && i;
99
111
  }
100
- class Kt extends T {
112
+ class he extends T {
101
113
  constructor(t, e) {
102
114
  super(t);
103
115
  // =============== public properties =================
@@ -146,14 +158,14 @@ class Kt extends T {
146
158
  * @param opts.isAutoShow 是否是自动展示
147
159
  * @param opts.userAction 是否是用户行为
148
160
  */
149
- o(this, "show", (...e) => u(this, [...e], function* (t = {}) {
161
+ o(this, "show", (...e) => c(this, [...e], function* (t = {}) {
150
162
  if (!this.state.enabled || !this.showPromise && this.state.visible)
151
163
  return;
152
164
  const i = t.userAction !== void 0 ? t.userAction : !0;
153
165
  this.updateState({ visible: !0 }, i), this._show(t);
154
166
  }));
155
167
  /** 隐藏户型图 */
156
- o(this, "hide", (...e) => u(this, [...e], function* (t = {}) {
168
+ o(this, "hide", (...e) => c(this, [...e], function* (t = {}) {
157
169
  this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, t.userAction || !0), this._hide(t)));
158
170
  }));
159
171
  /** 更新户型图大小 */
@@ -172,20 +184,20 @@ class Kt extends T {
172
184
  o(this, "_disable", (t) => {
173
185
  var i, s, a;
174
186
  const { userAction: e } = t;
175
- this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, f.BreakOffByDisable), this.showPromise = void 0, (s = this.app) == null || s.$destroy(), this.app = void 0, (a = this.container) == null || a.remove(), this.removeEventListener();
187
+ this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, u.BreakOffByDisable), this.showPromise = void 0, (s = this.app) == null || s.$destroy(), this.app = void 0, (a = this.container) == null || a.remove(), this.removeEventListener();
176
188
  });
177
189
  o(this, "_enable", (t) => {
178
190
  const { userAction: e } = t;
179
191
  this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e }));
180
192
  });
181
- o(this, "_show", (t) => u(this, null, function* () {
193
+ o(this, "_show", (t) => c(this, null, function* () {
182
194
  var a;
183
195
  if (!this.state.enabled)
184
196
  return;
185
197
  if (!((a = this.five.model) != null && a.loaded))
186
- throw new Error(f.ModelNotLoaded);
198
+ throw new Error(u.ModelNotLoaded);
187
199
  if (!this.data)
188
- throw new Error(f.DataNotLoaded);
200
+ throw new Error(u.DataNotLoaded);
189
201
  this.isHiddenByHideFunc = !1;
190
202
  const e = {
191
203
  floorIndex: this.floorIndex,
@@ -193,7 +205,7 @@ class Kt extends T {
193
205
  immediately: !1,
194
206
  isAutoShow: !1,
195
207
  userAction: !0
196
- }, i = c(c({}, e), t), s = () => u(this, null, function* () {
208
+ }, i = p(p({}, e), t), s = () => c(this, null, function* () {
197
209
  this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
198
210
  let n = !1, d;
199
211
  this.showRejection = (A) => {
@@ -203,10 +215,10 @@ class Kt extends T {
203
215
  if (l)
204
216
  throw l;
205
217
  if (n)
206
- throw d ? new Error(d) : new Error(f.UnknownError);
218
+ throw d ? new Error(d) : new Error(u.UnknownError);
207
219
  this.updateSize(), this.updatePosition(), this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
208
- const p = i.modelOpacity, g = i.immediately ? 0 : W;
209
- S(this.five, p, g), this.render(g);
220
+ const f = i.modelOpacity, g = i.immediately ? 0 : W;
221
+ S(this.five, f, g), this.render(g);
210
222
  });
211
223
  return this.showPromise = s().then(() => {
212
224
  this.hooks.emit("showAnimationEnded", {
@@ -222,8 +234,8 @@ class Kt extends T {
222
234
  }));
223
235
  o(this, "_hide", (t) => {
224
236
  var s;
225
- (s = this.showRejection) == null || s.call(this, f.BreakOffByHide), this.showPromise = void 0;
226
- const i = c(c({}, {
237
+ (s = this.showRejection) == null || s.call(this, u.BreakOffByHide), this.showPromise = void 0;
238
+ const i = p(p({}, {
227
239
  userAction: !0,
228
240
  isAutoHide: !1
229
241
  }), t);
@@ -314,7 +326,7 @@ class Kt extends T {
314
326
  adaptiveRoomLabelVisibleEnable: !0,
315
327
  getRoomAreaText: (n) => (n / 1e6).toFixed(1) + "㎡",
316
328
  getRuleDistanceText: (n) => n.toString()
317
- }, s = e ? O(e, ["selector", "scale"]) : {}, a = c(c({}, i), s);
329
+ }, s = e ? O(e, ["selector", "scale"]) : {}, a = p(p({}, i), s);
318
330
  this.state = {
319
331
  enabled: !0,
320
332
  visible: !1,
@@ -322,9 +334,9 @@ class Kt extends T {
322
334
  }, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
323
335
  }
324
336
  load(t, e, i = !0) {
325
- return u(this, null, function* () {
326
- function s(p) {
327
- return Object.prototype.hasOwnProperty.apply(p, ["version"]);
337
+ return c(this, null, function* () {
338
+ function s(f) {
339
+ return Object.prototype.hasOwnProperty.apply(f, ["version"]);
328
340
  }
329
341
  const a = t;
330
342
  a && !a.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
@@ -372,13 +384,13 @@ class Kt extends T {
372
384
  this.container.style.left = s * 100 + "%", this.container.style.top = a * 100 + "%";
373
385
  }
374
386
  formatData(t) {
375
- return u(this, null, function* () {
387
+ return c(this, null, function* () {
376
388
  return yield b(t.data);
377
389
  });
378
390
  }
379
391
  updateState(t, e) {
380
- const i = this.state, s = t.config ? c(c({}, i.config), t.config) : i.config;
381
- this.state = v(c(c({}, this.state), t), { config: s }), !F(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
392
+ const i = this.state, s = t.config ? p(p({}, i.config), t.config) : i.config;
393
+ this.state = v(p(p({}, this.state), t), { config: s }), !F(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
382
394
  }
383
395
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
384
396
  *
@@ -407,7 +419,7 @@ class Kt extends T {
407
419
  render(t) {
408
420
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
409
421
  return;
410
- const e = v(c({}, this.state.config), {
422
+ const e = v(p({}, this.state.config), {
411
423
  visible: this.state.visible,
412
424
  duration: t != null ? t : 0,
413
425
  panoIndex: this.panoIndex,
@@ -422,5 +434,5 @@ class Kt extends T {
422
434
  }
423
435
  }
424
436
  export {
425
- Kt as Controller
437
+ he as Controller
426
438
  };
@@ -4,16 +4,28 @@ import "../../shared-utils/to.js";
4
4
  import "../../shared-utils/equal.js";
5
5
  import "../../shared-utils/isTruelyObject.js";
6
6
  import "../Components/Main.js";
7
- import "../../vendor/svelte/internal/index.js";
8
- import "../../vendor/svelte/transition/index.js";
9
- import "../../vendor/svelte/easing/index.js";
7
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
8
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
9
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
10
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
11
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
12
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
13
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
14
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
15
+ import "../../vendor/svelte/src/runtime/internal/each.js";
16
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
17
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
18
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
19
+ import "../../vendor/svelte/src/shared/version.js";
20
+ import "../../vendor/svelte/src/runtime/transition/index.js";
21
+ import "../../vendor/svelte/src/runtime/easing/index.js";
10
22
  import "../Components/Camera.js";
11
23
  import "../Assets/camera.js";
12
24
  import "../../shared-utils/math/rad2Deg.js";
13
25
  import "../Components/Compass.js";
14
26
  import "../Assets/compass.js";
15
27
  import "../Components/CurrentFloor.js";
16
- import "../../vendor/svelte/store/index.js";
28
+ import "../../vendor/svelte/src/runtime/store/index.js";
17
29
  import "../Components/BaseImage.js";
18
30
  import "../Components/Normalmage.js";
19
31
  import "../Components/SvgImage.js";
@@ -61,8 +73,8 @@ import "../utils/constant.js";
61
73
  import "../../shared-utils/nearlyEqual.js";
62
74
  import "../../shared-utils/five/changeMode.js";
63
75
  import "../../shared-utils/changeModelCanvasOpacity.js";
64
- const so = (o, r) => new t(o, r);
76
+ const jo = (o, r) => new t(o, r);
65
77
  export {
66
- so as MapviewFloorplanPlugin,
67
- so as default
78
+ jo as MapviewFloorplanPlugin,
79
+ jo as default
68
80
  };