@realsee/dnalogel 2.22.0-dev.8 → 2.23.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 (451) hide show
  1. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  2. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  4. package/dist/index.cjs.js +65 -65
  5. package/dist/index.js +4614 -4447
  6. package/dist/index.umd.js +58 -58
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/CruisePluginController.html +25 -25
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  11. package/docs/classes/Magnifier.html +19 -19
  12. package/docs/classes/ModelRoomLabelController.html +10 -10
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +14 -14
  15. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  16. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  17. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  18. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  19. package/docs/classes/PanoTagPluginController.html +48 -48
  20. package/docs/classes/Util.BetterTween.html +8 -8
  21. package/docs/classes/Util.Interval.html +11 -11
  22. package/docs/classes/Util.Magnifier.html +19 -19
  23. package/docs/classes/Util.PointDomHelper.html +10 -10
  24. package/docs/classes/Util.PointHelper.html +10 -10
  25. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  26. package/docs/classes/Util.Rectangle.html +12 -12
  27. package/docs/enums/CameraMovementEffect.html +6 -6
  28. package/docs/enums/ContentType.html +19 -19
  29. package/docs/enums/DIRECTION.html +8 -8
  30. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/DimensionType.html +6 -6
  32. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  33. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  35. package/docs/enums/PointType.html +6 -6
  36. package/docs/enums/Rotation.html +7 -7
  37. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  38. package/docs/functions/CameraMovementPlugin.html +3 -3
  39. package/docs/functions/CruisePlugin.html +3 -3
  40. package/docs/functions/GuideLinePlugin.html +4 -4
  41. package/docs/functions/ItemLabelPlugin.html +3 -3
  42. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  43. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  44. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  45. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  46. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  47. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  48. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  49. package/docs/functions/ModelViewPlugin.html +3 -3
  50. package/docs/functions/Object3DHelperPlugin.html +3 -3
  51. package/docs/functions/PanoCompassPlugin.html +3 -3
  52. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  53. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  54. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  55. package/docs/functions/PanoMeasurePlugin.html +3 -3
  56. package/docs/functions/PanoRulerPlugin.html +3 -3
  57. package/docs/functions/PanoRulerProPlugin.html +3 -3
  58. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  59. package/docs/functions/PanoTagPlugin.html +3 -3
  60. package/docs/functions/PanoVideoPlugin.html +3 -3
  61. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  62. package/docs/functions/Util.absoluteUrl.html +4 -4
  63. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  64. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  65. package/docs/functions/Util.getFrameTime.html +4 -4
  66. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  67. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  68. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  69. package/docs/functions/Util.isModelLike.html +4 -4
  70. package/docs/functions/Util.isNil.html +4 -4
  71. package/docs/functions/Util.isPanoramaLike.html +4 -4
  72. package/docs/functions/Util.nextFrame.html +4 -4
  73. package/docs/functions/Util.notNil.html +4 -4
  74. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  75. package/docs/functions/Util.tweenProgress.html +4 -4
  76. package/docs/functions/Util.uuid.html +4 -4
  77. package/docs/functions/pluginFlag.html +4 -4
  78. package/docs/index.html +4 -4
  79. package/docs/interfaces/AddTagConfig.html +5 -5
  80. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  81. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  82. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  83. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  84. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  85. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  86. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  87. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  88. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  89. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  90. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  91. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  92. package/docs/interfaces/EventMap.html +14 -14
  93. package/docs/interfaces/FloorplanBounding.html +7 -7
  94. package/docs/interfaces/FloorplanData.html +9 -9
  95. package/docs/interfaces/FloorplanEntrance.html +10 -10
  96. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  97. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  98. package/docs/interfaces/FloorplanFloorData.html +8 -8
  99. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  100. package/docs/interfaces/FloorplanObserver.html +8 -8
  101. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  102. package/docs/interfaces/FloorplanPosition.html +6 -6
  103. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  104. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  105. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  106. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  107. package/docs/interfaces/FloorplanServerData.html +6 -6
  108. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  109. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  110. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  111. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  112. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  113. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  114. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  115. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  116. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  117. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  118. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -8
  119. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  120. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  121. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  122. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  123. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  124. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  125. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  126. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  128. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  129. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  130. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  131. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  132. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  133. package/docs/interfaces/HelperOffset.html +7 -7
  134. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  135. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  136. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  137. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  138. package/docs/interfaces/MinMax.html +6 -6
  139. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  140. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  141. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  142. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  143. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  144. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  145. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  146. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  147. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  148. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  149. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  150. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  151. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  152. package/docs/interfaces/Object3DHelperState.html +7 -7
  153. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  154. package/docs/interfaces/PaintBrushAction.html +11 -11
  155. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  156. package/docs/interfaces/PaintBrushState.html +9 -9
  157. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  158. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  159. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  160. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  161. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  162. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  163. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  164. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  165. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  166. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  167. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  168. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  169. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  170. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  171. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  172. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  173. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  174. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  175. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  176. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  177. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  178. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  179. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  180. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  181. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  182. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  184. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  185. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  186. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  187. package/docs/interfaces/Point.html +7 -7
  188. package/docs/interfaces/Room.html +8 -8
  189. package/docs/interfaces/RoomInfo.html +6 -6
  190. package/docs/interfaces/RoomLabel.html +13 -13
  191. package/docs/interfaces/RoomRules.html +4 -4
  192. package/docs/interfaces/Rooms.html +4 -4
  193. package/docs/interfaces/Scissor.html +8 -8
  194. package/docs/interfaces/State.html +7 -7
  195. package/docs/interfaces/TagCacheInterface.html +11 -11
  196. package/docs/interfaces/TagConfig.html +12 -12
  197. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  198. package/docs/interfaces/TagIconUrl.html +11 -11
  199. package/docs/interfaces/TagObjectGroup.html +5 -5
  200. package/docs/interfaces/TagStyle.html +5 -5
  201. package/docs/interfaces/Tags.html +8 -8
  202. package/docs/interfaces/TemporaryState.html +5 -5
  203. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  204. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  205. package/docs/interfaces/Util.PointIntersection.html +7 -7
  206. package/docs/modules/CruisePluginTypes.html +4 -4
  207. package/docs/modules/GuideLineItem.html +4 -4
  208. package/docs/modules/GuideLineModeItem.html +4 -4
  209. package/docs/modules/GuideLinePluginType.html +4 -4
  210. package/docs/modules/PanoVideoPluginType.html +4 -4
  211. package/docs/modules/Util.html +4 -4
  212. package/docs/modules.html +4 -4
  213. package/docs/types/ArrayPosition.html +4 -4
  214. package/docs/types/AudioAppearance.html +4 -4
  215. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  216. package/docs/types/CSS3DRenderExportType.html +4 -4
  217. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  218. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  219. package/docs/types/ClassFunctionParameters.html +4 -4
  220. package/docs/types/Color.html +4 -4
  221. package/docs/types/ContentTypeConfigKey.html +4 -4
  222. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  223. package/docs/types/ContentTypeMap.html +4 -4
  224. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  225. package/docs/types/Create3DElementReturnType.html +4 -4
  226. package/docs/types/CruisePluginExportType.html +4 -4
  227. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  228. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  229. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  230. package/docs/types/DeprecatedTagProperty.html +4 -4
  231. package/docs/types/Direction-1.html +4 -4
  232. package/docs/types/Direction4.html +4 -4
  233. package/docs/types/ElementRenderer.html +4 -4
  234. package/docs/types/FloorplanRuleLabels.html +4 -4
  235. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  236. package/docs/types/GuideLinePluginExportType.html +4 -4
  237. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  238. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  241. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  242. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  243. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  244. package/docs/types/HelperEventMap.html +4 -4
  245. package/docs/types/LoadTagConfig.html +4 -4
  246. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  247. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  248. package/docs/types/MediaData.html +4 -4
  249. package/docs/types/MediaStore.html +4 -4
  250. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  251. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  252. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  253. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  254. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  255. package/docs/types/MoveArgs.html +4 -4
  256. package/docs/types/MoveOpts.html +4 -4
  257. package/docs/types/Object3DHelperEventMap.html +4 -4
  258. package/docs/types/ObjectFit.html +4 -4
  259. package/docs/types/PaintBrushEventMap.html +4 -4
  260. package/docs/types/PanoCompassPluginData.html +4 -4
  261. package/docs/types/PanoCompassPluginExportType.html +4 -4
  262. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  263. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  264. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  265. package/docs/types/PanoIndex.html +4 -4
  266. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  267. package/docs/types/PanoMeasureReturnType.html +4 -4
  268. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  269. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  270. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  271. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  272. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  273. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  274. package/docs/types/PlaneTag.html +4 -4
  275. package/docs/types/Point2DTag.html +4 -4
  276. package/docs/types/Point3DTag.html +4 -4
  277. package/docs/types/PointTag.html +4 -4
  278. package/docs/types/PointTagInstance.html +4 -4
  279. package/docs/types/Position.html +4 -4
  280. package/docs/types/RotateArgs.html +4 -4
  281. package/docs/types/RotateOpts.html +4 -4
  282. package/docs/types/RuleLabelsKey.html +4 -4
  283. package/docs/types/RuleLabelsValue.html +4 -4
  284. package/docs/types/StickType.html +4 -4
  285. package/docs/types/Tag.html +4 -4
  286. package/docs/types/Tag2D.html +4 -4
  287. package/docs/types/Tag3D.html +4 -4
  288. package/docs/types/TagContentType.html +4 -4
  289. package/docs/types/TagDimensionType.html +4 -4
  290. package/docs/types/TagElement.html +4 -4
  291. package/docs/types/TagEvents.html +4 -4
  292. package/docs/types/TagGLTFObject.html +4 -4
  293. package/docs/types/TagHooks.html +4 -4
  294. package/docs/types/TagId.html +4 -4
  295. package/docs/types/TagInstance.html +4 -4
  296. package/docs/types/TagPointType.html +4 -4
  297. package/docs/types/TagRendererMap.html +4 -4
  298. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  299. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  300. package/docs/types/WorkCode.html +4 -4
  301. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  302. package/docs/variables/PLUGIN.html +4 -4
  303. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  304. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  305. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  306. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  307. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  308. package/libs/CruisePlugin/Controller.js +103 -90
  309. package/libs/CruisePlugin/index.js +22 -9
  310. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  311. package/libs/GuideLinePlugin/Controller.js +38 -25
  312. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  313. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  314. package/libs/GuideLinePlugin/index.js +24 -11
  315. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  316. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  317. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  318. package/libs/ItemLabelPlugin/index.js +16 -5
  319. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  320. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  321. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  322. package/libs/ModelItemLabelPlugin/index.js +16 -5
  323. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  324. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  325. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  326. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  327. package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
  328. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  329. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  330. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  331. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  332. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  333. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  334. package/libs/PanoMeasurePlugin/Components/Controller0.js +48 -37
  335. package/libs/PanoMeasurePlugin/Components/Controller1.js +59 -48
  336. package/libs/PanoMeasurePlugin/Components/Tip.js +74 -64
  337. package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
  338. package/libs/PanoMeasurePlugin/Modules/GuideController.js +25 -15
  339. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -5
  340. package/libs/PanoMeasurePlugin/index.js +27 -16
  341. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  342. package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
  343. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  344. package/libs/PanoRulerProPlugin/index.js +15 -4
  345. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  346. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  347. package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
  348. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  349. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  350. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  351. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  352. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  353. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
  354. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
  355. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  356. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  357. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  358. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  359. package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
  360. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  361. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  362. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
  363. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
  364. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  365. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
  366. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  367. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  368. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  369. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  370. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  371. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
  372. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  373. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
  374. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
  375. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  376. package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
  377. package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
  378. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  379. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  380. package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
  381. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  382. package/libs/PanoTagPlugin/controller/index.js +95 -82
  383. package/libs/PanoTagPlugin/index.js +26 -13
  384. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  385. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  386. package/libs/base/BasePlugin.js +1 -1
  387. package/libs/floorplan/Components/BaseImage.js +43 -39
  388. package/libs/floorplan/Components/Camera.js +16 -13
  389. package/libs/floorplan/Components/Compass.js +27 -24
  390. package/libs/floorplan/Components/CurrentFloor.js +25 -20
  391. package/libs/floorplan/Components/Main.js +58 -49
  392. package/libs/floorplan/Components/Normalmage.js +25 -22
  393. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  394. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  395. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  396. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  397. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  398. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  399. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  400. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  401. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  402. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  403. package/libs/floorplan/Components/SvgImage.js +30 -27
  404. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
  405. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  406. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
  407. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  408. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
  409. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
  410. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
  411. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
  412. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
  413. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  414. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
  415. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  416. package/libs/floorplan/index.js +1 -0
  417. package/libs/index.js +126 -112
  418. package/libs/shared-utils/logger.js +1 -1
  419. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  420. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  421. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  422. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  423. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  424. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  425. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  426. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  427. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  428. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  429. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  430. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  431. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  432. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  433. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  434. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  435. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  436. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  437. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  438. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  439. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  440. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  441. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  442. package/libs/vendor/svelte/src/shared/version.js +4 -0
  443. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
  444. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  445. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  446. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  447. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  448. package/package.json +1 -1
  449. package/libs/vendor/svelte/internal/index.js +0 -749
  450. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  451. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,12 +1,23 @@
1
- import { SvelteComponent as Z, init as x, safe_not_equal as ee, append_styles as te, element as C, space as $, create_component as I, attr as _, toggle_class as R, insert as B, append as v, mount_component as K, transition_in as h, transition_out as k, check_outros as z, detach as D, destroy_component as q, onMount as oe, onDestroy as re, add_render_callback as O, create_bidirectional_transition as E, text as N, set_style as Q, listen as V, group_outros as A } from "../../vendor/svelte/internal/index.js";
1
+ import { safe_not_equal as Z } from "../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as x, element as C, space as $, attr as _, toggle_class as R, insert as B, append as v, detach as D, text as N, set_style as Q, listen as V } from "../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_in as h, transition_out as k, check_outros as z, create_bidirectional_transition as E, group_outros as A } from "../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { add_render_callback as I } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
5
+ import { onMount as ee, onDestroy as te } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
6
+ import { SvelteComponent as oe, init as re, create_component as K, mount_component as q, destroy_component as O } from "../../vendor/svelte/src/runtime/internal/Component.js";
7
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
8
  import ie from "./Common/Switcher1.js";
3
9
  import le from "./Common/CircleButton.js";
4
10
  import F from "../Controller/EditController.js";
5
11
  import ne from "./Common/Exit.js";
6
- import { fade as S } from "../../vendor/svelte/transition/index.js";
12
+ import { fade as S } from "../../vendor/svelte/src/runtime/transition/index.js";
7
13
  import { IconUndo as se, IconOk as ae } from "./Common/icons/index.js";
14
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
15
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
16
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
17
+ import "../../vendor/svelte/src/shared/version.js";
18
+ import "../../vendor/svelte/src/runtime/internal/each.js";
8
19
  import "../Modules/UIController/mobileHTML.js";
9
- import "../../vendor/svelte/easing/index.js";
20
+ import "../../vendor/svelte/src/runtime/easing/index.js";
10
21
  import "../Model/line.js";
11
22
  import "../../shared-utils/uuid.js";
12
23
  import "../utils/line.js";
@@ -70,8 +81,8 @@ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
70
81
  import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
71
82
  import "../utils/findAssociatedLines.js";
72
83
  import "../utils/math.js";
73
- function pe(o) {
74
- te(o, "svelte-ldjbp8", "*.forbid.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none;position:relative;width:100%;height:100%;z-index:2;color:white}.Measure-Controller.svelte-ldjbp8 .mode-switcher.svelte-ldjbp8{margin-top:2.25rem}.Measure-Controller.svelte-ldjbp8 .bottom.svelte-ldjbp8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-ldjbp8 .bottom .mask.svelte-ldjbp8{position:absolute;bottom:0;width:100%;height:12.5rem;background-size:100%;z-index:-1;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5))}.Measure-Controller.svelte-ldjbp8 .bottom .center.svelte-ldjbp8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-ldjbp8 .controller.svelte-ldjbp8{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-ldjbp8 .controller .button.svelte-ldjbp8{cursor:pointer;display:flex;align-items:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;color:#fff;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-ldjbp8 .controller .button .icon.svelte-ldjbp8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-ldjbp8 .controller .main-button.svelte-ldjbp8{margin-left:1.75rem;margin-right:1.75rem;font-size:0.875rem;font-weight:bold}");
84
+ function me(o) {
85
+ x(o, "svelte-ldjbp8", "*.forbid.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none;position:relative;width:100%;height:100%;z-index:2;color:white}.Measure-Controller.svelte-ldjbp8 .mode-switcher.svelte-ldjbp8{margin-top:2.25rem}.Measure-Controller.svelte-ldjbp8 .bottom.svelte-ldjbp8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-ldjbp8 .bottom .mask.svelte-ldjbp8{position:absolute;bottom:0;width:100%;height:12.5rem;background-size:100%;z-index:-1;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5))}.Measure-Controller.svelte-ldjbp8 .bottom .center.svelte-ldjbp8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-ldjbp8 .controller.svelte-ldjbp8{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-ldjbp8 .controller .button.svelte-ldjbp8{cursor:pointer;display:flex;align-items:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;color:#fff;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-ldjbp8 .controller .button .icon.svelte-ldjbp8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-ldjbp8 .controller .main-button.svelte-ldjbp8{margin-left:1.75rem;margin-right:1.75rem;font-size:0.875rem;font-weight:bold}");
75
86
  }
76
87
  function G(o) {
77
88
  let t, l;
@@ -84,10 +95,10 @@ function G(o) {
84
95
  }
85
96
  }), {
86
97
  c() {
87
- I(t.$$.fragment);
98
+ K(t.$$.fragment);
88
99
  },
89
100
  m(e, i) {
90
- K(t, e, i), l = !0;
101
+ q(t, e, i), l = !0;
91
102
  },
92
103
  p(e, i) {
93
104
  const n = {};
@@ -102,7 +113,7 @@ function G(o) {
102
113
  k(t.$$.fragment, e), l = !1;
103
114
  },
104
115
  d(e) {
105
- q(t, e);
116
+ O(t, e);
106
117
  }
107
118
  };
108
119
  }
@@ -122,22 +133,22 @@ function H(o) {
122
133
  }
123
134
  }), {
124
135
  c() {
125
- t = C("div"), I(l.$$.fragment), _(t, "class", "mode-switcher svelte-ldjbp8");
136
+ t = C("div"), K(l.$$.fragment), _(t, "class", "mode-switcher svelte-ldjbp8");
126
137
  },
127
- m(n, p) {
128
- B(n, t, p), K(l, t, null), i = !0;
138
+ m(n, m) {
139
+ B(n, t, m), q(l, t, null), i = !0;
129
140
  },
130
- p(n, p) {
141
+ p(n, m) {
131
142
  o = n;
132
143
  const b = {};
133
- p & /*measureController*/
144
+ m & /*measureController*/
134
145
  1 && (b.defaultKey = /*measureController*/
135
- o[0].currentMeasureType), p & /*measureController*/
146
+ o[0].currentMeasureType), m & /*measureController*/
136
147
  1 && (b.onChange = /*measureController*/
137
148
  o[0].changeMeasureType), l.$set(b);
138
149
  },
139
150
  i(n) {
140
- i || (h(l.$$.fragment, n), n && O(() => {
151
+ i || (h(l.$$.fragment, n), n && I(() => {
141
152
  i && (e || (e = E(t, S, { duration: P }, !0)), e.run(1));
142
153
  }), i = !0);
143
154
  },
@@ -145,12 +156,12 @@ function H(o) {
145
156
  k(l.$$.fragment, n), n && (e || (e = E(t, S, { duration: P }, !1)), e.run(0)), i = !1;
146
157
  },
147
158
  d(n) {
148
- n && D(t), q(l), n && e && e.end();
159
+ n && D(t), O(l), n && e && e.end();
149
160
  }
150
161
  };
151
162
  }
152
163
  function J(o) {
153
- let t, l, e, i, n, p, b;
164
+ let t, l, e, i, n, m, b;
154
165
  return {
155
166
  c() {
156
167
  t = C("div"), l = C("div"), e = N(`
@@ -162,12 +173,12 @@ function J(o) {
162
173
  );
163
174
  },
164
175
  m(r, u) {
165
- B(r, t, u), v(t, l), v(t, e), n = !0, p || (b = V(
176
+ B(r, t, u), v(t, l), v(t, e), n = !0, m || (b = V(
166
177
  t,
167
178
  "click",
168
179
  /*click_handler*/
169
180
  o[12]
170
- ), p = !0);
181
+ ), m = !0);
171
182
  },
172
183
  p(r, u) {
173
184
  o = r, (!n || u & /*buttonState*/
@@ -179,7 +190,7 @@ function J(o) {
179
190
  );
180
191
  },
181
192
  i(r) {
182
- n || (r && O(() => {
193
+ n || (r && I(() => {
183
194
  n && (i || (i = E(t, S, { duration: P }, !0)), i.run(1));
184
195
  }), n = !0);
185
196
  },
@@ -187,30 +198,30 @@ function J(o) {
187
198
  r && (i || (i = E(t, S, { duration: P }, !1)), i.run(0)), n = !1;
188
199
  },
189
200
  d(r) {
190
- r && D(t), r && i && i.end(), p = !1, b();
201
+ r && D(t), r && i && i.end(), m = !1, b();
191
202
  }
192
203
  };
193
204
  }
194
205
  function L(o) {
195
- let t, l, e, i, n, p, b;
206
+ let t, l, e, i, n, m, b;
196
207
  return {
197
208
  c() {
198
209
  t = C("div"), l = C("div"), e = N(`
199
210
  结束`), _(l, "class", "icon svelte-ldjbp8"), Q(l, "background-image", `url(${ae})`), _(t, "class", "button svelte-ldjbp8");
200
211
  },
201
212
  m(r, u) {
202
- B(r, t, u), v(t, l), v(t, e), n = !0, p || (b = V(
213
+ B(r, t, u), v(t, l), v(t, e), n = !0, m || (b = V(
203
214
  t,
204
215
  "click",
205
216
  /*complete*/
206
217
  o[9]
207
- ), p = !0);
218
+ ), m = !0);
208
219
  },
209
220
  p(r, u) {
210
221
  o = r;
211
222
  },
212
223
  i(r) {
213
- n || (r && O(() => {
224
+ n || (r && I(() => {
214
225
  n && (i || (i = E(t, S, { duration: P }, !0)), i.run(1));
215
226
  }), n = !0);
216
227
  },
@@ -218,15 +229,15 @@ function L(o) {
218
229
  r && (i || (i = E(t, S, { duration: P }, !1)), i.run(0)), n = !1;
219
230
  },
220
231
  d(r) {
221
- r && D(t), r && i && i.end(), p = !1, b();
232
+ r && D(t), r && i && i.end(), m = !1, b();
222
233
  }
223
234
  };
224
235
  }
225
- function me(o) {
226
- let t, l, e, i, n, p, b, r, u, j, w, y, T, a = (
236
+ function pe(o) {
237
+ let t, l, e, i, n, m, b, r, u, j, w, y, T, a = (
227
238
  /*showExit*/
228
239
  o[1] && G(o)
229
- ), m = (
240
+ ), p = (
230
241
  /*measureController*/
231
242
  o[0].allowMeasureType.length >= 2 && /*buttonState*/
232
243
  o[2] === "start" && H(o)
@@ -262,11 +273,11 @@ function me(o) {
262
273
  );
263
274
  return {
264
275
  c() {
265
- t = C("div"), a && a.c(), l = $(), e = C("div"), i = C("div"), n = $(), p = C("div"), m && m.c(), b = $(), r = C("div"), f && f.c(), u = $(), j = C("div"), I(w.$$.fragment), y = $(), d && d.c(), _(i, "class", "mask svelte-ldjbp8"), _(j, "class", "main-button svelte-ldjbp8"), R(j, "forbid", !/*allowAddPoint*/
266
- o[4]), _(r, "class", "controller svelte-ldjbp8"), _(p, "class", "center svelte-ldjbp8"), _(e, "class", "bottom svelte-ldjbp8"), _(t, "class", "Measure-Controller svelte-ldjbp8");
276
+ t = C("div"), a && a.c(), l = $(), e = C("div"), i = C("div"), n = $(), m = C("div"), p && p.c(), b = $(), r = C("div"), f && f.c(), u = $(), j = C("div"), K(w.$$.fragment), y = $(), d && d.c(), _(i, "class", "mask svelte-ldjbp8"), _(j, "class", "main-button svelte-ldjbp8"), R(j, "forbid", !/*allowAddPoint*/
277
+ o[4]), _(r, "class", "controller svelte-ldjbp8"), _(m, "class", "center svelte-ldjbp8"), _(e, "class", "bottom svelte-ldjbp8"), _(t, "class", "Measure-Controller svelte-ldjbp8");
267
278
  },
268
279
  m(s, c) {
269
- B(s, t, c), a && a.m(t, null), v(t, l), v(t, e), v(e, i), v(e, n), v(e, p), m && m.m(p, null), v(p, b), v(p, r), f && f.m(r, null), v(r, u), v(r, j), K(w, j, null), v(r, y), d && d.m(r, null), T = !0;
280
+ B(s, t, c), a && a.m(t, null), v(t, l), v(t, e), v(e, i), v(e, n), v(e, m), p && p.m(m, null), v(m, b), v(m, r), f && f.m(r, null), v(r, u), v(r, j), q(w, j, null), v(r, y), d && d.m(r, null), T = !0;
270
281
  },
271
282
  p(s, [c]) {
272
283
  /*showExit*/
@@ -275,9 +286,9 @@ function me(o) {
275
286
  a = null;
276
287
  }), z()), /*measureController*/
277
288
  s[0].allowMeasureType.length >= 2 && /*buttonState*/
278
- s[2] === "start" ? m ? (m.p(s, c), c & /*measureController, buttonState*/
279
- 5 && h(m, 1)) : (m = H(s), m.c(), h(m, 1), m.m(p, b)) : m && (A(), k(m, 1, 1, () => {
280
- m = null;
289
+ s[2] === "start" ? p ? (p.p(s, c), c & /*measureController, buttonState*/
290
+ 5 && h(p, 1)) : (p = H(s), p.c(), h(p, 1), p.m(m, b)) : p && (A(), k(p, 1, 1, () => {
291
+ p = null;
281
292
  }), z()), /*showButton*/
282
293
  s[3] ? f ? (f.p(s, c), c & /*showButton*/
283
294
  8 && h(f, 1)) : (f = J(s), f.c(), h(f, 1), f.m(r, u)) : f && (A(), k(f, 1, 1, () => {
@@ -305,13 +316,13 @@ function me(o) {
305
316
  }), z());
306
317
  },
307
318
  i(s) {
308
- T || (h(a), h(m), h(f), h(w.$$.fragment, s), h(d), T = !0);
319
+ T || (h(a), h(p), h(f), h(w.$$.fragment, s), h(d), T = !0);
309
320
  },
310
321
  o(s) {
311
- k(a), k(m), k(f), k(w.$$.fragment, s), k(d), T = !1;
322
+ k(a), k(p), k(f), k(w.$$.fragment, s), k(d), T = !1;
312
323
  },
313
324
  d(s) {
314
- s && D(t), a && a.d(), m && m.d(), f && f.d(), q(w), d && d.d();
325
+ s && D(t), a && a.d(), p && p.d(), f && f.d(), O(w), d && d.d();
315
326
  }
316
327
  };
317
328
  }
@@ -323,7 +334,7 @@ function fe(o, t, l) {
323
334
  add: "添加",
324
335
  end: "结束",
325
336
  complete: "完成"
326
- }, p = {
337
+ }, m = {
327
338
  start: "white",
328
339
  add: "white",
329
340
  end: "blue",
@@ -338,7 +349,7 @@ function fe(o, t, l) {
338
349
  e.controller instanceof F && e.controller.complete();
339
350
  }, a = (g) => {
340
351
  l(2, u = g);
341
- }, m = () => {
352
+ }, p = () => {
342
353
  y(), M("allow");
343
354
  }, f = () => {
344
355
  a("complete");
@@ -355,13 +366,13 @@ function fe(o, t, l) {
355
366
  }, W = (g) => {
356
367
  g.isEmpty && a("start");
357
368
  };
358
- oe(() => {
369
+ ee(() => {
359
370
  e.hook.on("revoke", W), e.hook.on("measureTypeChange", U), e.hook.on("modeChange", c), e.hook.on("pointsChange", s), e.hook.on("allowAddPointStateChange", M), e.hook.on("readyComplete", f), e.hook.on("notReadyComplete", d), e.hook.on("complete", c);
360
- }), re(() => {
371
+ }), te(() => {
361
372
  e.hook.off("measureTypeChange", U), e.hook.off("modeChange", c), e.hook.off("allowAddPointStateChange", M), e.hook.off("readyComplete", f), e.hook.off("pointsChange", s), e.hook.off("notReadyComplete", d), e.hook.off("complete", c);
362
373
  });
363
374
  const X = () => e.revoke(), Y = () => {
364
- u === "start" ? w() : u === "add" ? y() : (u === "end" || u === "complete") && m();
375
+ u === "start" ? w() : u === "add" ? y() : (u === "end" || u === "complete") && p();
365
376
  };
366
377
  return o.$$set = (g) => {
367
378
  "measureController" in g && l(0, e = g.measureController), "showExit" in g && l(1, i = g.showExit);
@@ -375,21 +386,21 @@ function fe(o, t, l) {
375
386
  b,
376
387
  r,
377
388
  n,
378
- p,
389
+ m,
379
390
  w,
380
391
  y,
381
392
  T,
382
- m,
393
+ p,
383
394
  j,
384
395
  X,
385
396
  Y
386
397
  ];
387
398
  }
388
- class $t extends Z {
399
+ class Ft extends oe {
389
400
  constructor(t) {
390
- super(), x(this, t, fe, me, ee, { measureController: 0, showExit: 1 }, pe);
401
+ super(), re(this, t, fe, pe, Z, { measureController: 0, showExit: 1 }, me);
391
402
  }
392
403
  }
393
404
  export {
394
- $t as default
405
+ Ft as default
395
406
  };
@@ -1,120 +1,130 @@
1
- import { SvelteComponent as D, init as E, safe_not_equal as N, append_styles as O, empty as P, insert as w, transition_in as m, transition_out as b, check_outros as W, detach as q, onMount as j, onDestroy as A, element as k, text as B, attr as C, append as y, set_data as F, add_render_callback as G, create_bidirectional_transition as T, group_outros as H, binding_callbacks as I } from "../../vendor/svelte/internal/index.js";
2
- import { fade as v } from "../../vendor/svelte/transition/index.js";
3
- import "../../vendor/svelte/easing/index.js";
4
- function J(s) {
5
- O(s, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
1
+ import { safe_not_equal as D } from "../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as E, empty as N, insert as w, detach as q, element as b, text as O, attr as k, append as C, set_data as P } from "../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_in as d, transition_out as y, check_outros as W, create_bidirectional_transition as T, group_outros as j } from "../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { add_render_callback as A, binding_callbacks as B } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
5
+ import { onMount as F, onDestroy as G } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
6
+ import { SvelteComponent as H, init as I } from "../../vendor/svelte/src/runtime/internal/Component.js";
7
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
8
+ import { fade as v } from "../../vendor/svelte/src/runtime/transition/index.js";
9
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
10
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
11
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
12
+ import "../../vendor/svelte/src/shared/version.js";
13
+ import "../../vendor/svelte/src/runtime/easing/index.js";
14
+ function J(n) {
15
+ E(n, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
6
16
  }
7
- function M(s) {
8
- let n, i, e, t, r;
17
+ function M(n) {
18
+ let i, e, t, r, s;
9
19
  return {
10
20
  c() {
11
- n = k("div"), i = k("div"), e = B(
21
+ i = b("div"), e = b("div"), t = O(
12
22
  /*tip*/
13
- s[2]
14
- ), C(i, "class", "text svelte-1q8gtp4"), C(n, "class", "Measure-Tips svelte-1q8gtp4");
23
+ n[2]
24
+ ), k(e, "class", "text svelte-1q8gtp4"), k(i, "class", "Measure-Tips svelte-1q8gtp4");
15
25
  },
16
- m(l, a) {
17
- w(l, n, a), y(n, i), y(i, e), s[6](i), r = !0;
26
+ m(l, f) {
27
+ w(l, i, f), C(i, e), C(e, t), n[6](e), s = !0;
18
28
  },
19
- p(l, a) {
20
- (!r || a & /*tip*/
21
- 4) && F(
22
- e,
29
+ p(l, f) {
30
+ (!s || f & /*tip*/
31
+ 4) && P(
32
+ t,
23
33
  /*tip*/
24
34
  l[2]
25
35
  );
26
36
  },
27
37
  i(l) {
28
- r || (G(() => {
29
- r && (t || (t = T(n, v, {}, !0)), t.run(1));
30
- }), r = !0);
38
+ s || (l && A(() => {
39
+ s && (r || (r = T(i, v, {}, !0)), r.run(1));
40
+ }), s = !0);
31
41
  },
32
42
  o(l) {
33
- t || (t = T(n, v, {}, !1)), t.run(0), r = !1;
43
+ l && (r || (r = T(i, v, {}, !1)), r.run(0)), s = !1;
34
44
  },
35
45
  d(l) {
36
- l && q(n), s[6](null), l && t && t.end();
46
+ l && q(i), n[6](null), l && r && r.end();
37
47
  }
38
48
  };
39
49
  }
40
- function K(s) {
41
- let n, i, e = (
50
+ function K(n) {
51
+ let i, e = (
42
52
  /*visible*/
43
- s[0] && M(s)
53
+ n[0] && M(n)
44
54
  );
45
55
  return {
46
56
  c() {
47
- e && e.c(), n = P();
57
+ e && e.c(), i = N();
48
58
  },
49
59
  m(t, r) {
50
- e && e.m(t, r), w(t, n, r), i = !0;
60
+ e && e.m(t, r), w(t, i, r);
51
61
  },
52
62
  p(t, [r]) {
53
63
  /*visible*/
54
64
  t[0] ? e ? (e.p(t, r), r & /*visible*/
55
- 1 && m(e, 1)) : (e = M(t), e.c(), m(e, 1), e.m(n.parentNode, n)) : e && (H(), b(e, 1, 1, () => {
65
+ 1 && d(e, 1)) : (e = M(t), e.c(), d(e, 1), e.m(i.parentNode, i)) : e && (j(), y(e, 1, 1, () => {
56
66
  e = null;
57
67
  }), W());
58
68
  },
59
69
  i(t) {
60
- i || (m(e), i = !0);
70
+ d(e);
61
71
  },
62
72
  o(t) {
63
- b(e), i = !1;
73
+ y(e);
64
74
  },
65
75
  d(t) {
66
- e && e.d(t), t && q(n);
76
+ t && q(i), e && e.d(t);
67
77
  }
68
78
  };
69
79
  }
70
- function L(s, n, i) {
71
- let { measureController: e } = n, { tips: t } = n, { tipStyle: r = {} } = n, { visible: l = !0 } = n, a = null;
80
+ function L(n, i, e) {
81
+ let { measureController: t } = i, { tips: r } = i, { tipStyle: s = {} } = i, { visible: l = !0 } = i, f = null;
72
82
  const x = (o) => {
73
- const z = e.currentMeasureType;
74
- let c = "";
75
- return c = t[o], c === void 0 && (c = t[z][o]), c;
83
+ const z = t.currentMeasureType;
84
+ let p = "";
85
+ return p = r[o], p === void 0 && (p = r[z][o]), p;
76
86
  }, u = (o) => {
77
- i(2, p = x(o));
78
- }, f = () => {
79
- i(2, p = "");
87
+ e(2, c = x(o));
88
+ }, a = () => {
89
+ e(2, c = "");
80
90
  };
81
- let p = "";
82
- const d = (o) => {
83
- o === "Edit" && e.changeMeasureType ? u("start") : f();
91
+ let c = "";
92
+ const m = (o) => {
93
+ o === "Edit" && t.changeMeasureType ? u("start") : a();
84
94
  }, h = () => {
85
- e.getCurrentMode() === "Watch" && f();
95
+ t.getCurrentMode() === "Watch" && a();
86
96
  }, g = () => {
87
- e.getCurrentMode() === "Edit" && u("start");
97
+ t.getCurrentMode() === "Edit" && u("start");
88
98
  }, _ = (o) => {
89
- e.currentMeasureType === "area" && (o.length >= 2 ? u("close") : o.length === 0 ? u("start") : f());
99
+ t.currentMeasureType === "area" && (o.length >= 2 ? u("close") : o.length === 0 ? u("start") : a());
90
100
  };
91
- j(() => {
92
- d(e.getCurrentMode()), e.hook.on("modeChange", d), e.hook.on("complete", h), e.hook.on("pointsChange", _), e.hook.on("measureTypeChange", g);
93
- }), A(() => {
94
- e.hook.off("modeChange", d), e.hook.off("complete", h), e.hook.off("pointsChange", _), e.hook.off("measureTypeChange", g), f();
101
+ F(() => {
102
+ m(t.getCurrentMode()), t.hook.on("modeChange", m), t.hook.on("complete", h), t.hook.on("pointsChange", _), t.hook.on("measureTypeChange", g);
103
+ }), G(() => {
104
+ t.hook.off("modeChange", m), t.hook.off("complete", h), t.hook.off("pointsChange", _), t.hook.off("measureTypeChange", g), a();
95
105
  });
96
106
  function S(o) {
97
- I[o ? "unshift" : "push"](() => {
98
- a = o, i(1, a), i(5, r);
107
+ B[o ? "unshift" : "push"](() => {
108
+ f = o, e(1, f), e(5, s);
99
109
  });
100
110
  }
101
- return s.$$set = (o) => {
102
- "measureController" in o && i(3, e = o.measureController), "tips" in o && i(4, t = o.tips), "tipStyle" in o && i(5, r = o.tipStyle), "visible" in o && i(0, l = o.visible);
103
- }, s.$$.update = () => {
104
- if (s.$$.dirty & /*textDom, tipStyle*/
105
- 34 && a)
106
- for (const o in r)
107
- r.hasOwnProperty(o) && i(1, a.style[o] = r[o], a);
108
- }, [l, a, p, e, t, r, S];
111
+ return n.$$set = (o) => {
112
+ "measureController" in o && e(3, t = o.measureController), "tips" in o && e(4, r = o.tips), "tipStyle" in o && e(5, s = o.tipStyle), "visible" in o && e(0, l = o.visible);
113
+ }, n.$$.update = () => {
114
+ if (n.$$.dirty & /*textDom, tipStyle*/
115
+ 34 && f)
116
+ for (const o in s)
117
+ s.hasOwnProperty(o) && e(1, f.style[o] = s[o], f);
118
+ }, [l, f, c, t, r, s, S];
109
119
  }
110
- class V extends D {
111
- constructor(n) {
112
- super(), E(
120
+ class ne extends H {
121
+ constructor(i) {
122
+ super(), I(
113
123
  this,
114
- n,
124
+ i,
115
125
  L,
116
126
  K,
117
- N,
127
+ D,
118
128
  {
119
129
  measureController: 3,
120
130
  tips: 4,
@@ -126,5 +136,5 @@ class V extends D {
126
136
  }
127
137
  }
128
138
  export {
129
- V as default
139
+ ne as default
130
140
  };