@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,127 +1,138 @@
1
- import { SvelteComponent as A, init as I, safe_not_equal as W, append_styles as q, element as k, space as w, attr as p, set_style as g, insert as S, append as d, noop as C, detach as y, destroy_each as T, text as Y, toggle_class as B, listen as D, set_data as E, binding_callbacks as K } from "../../../vendor/svelte/internal/index.js";
2
- function F(e) {
3
- q(e, "svelte-1mfj5mk", '.Switcher.svelte-1mfj5mk.svelte-1mfj5mk{pointer-events:all;position:relative;margin-bottom:1.5rem;box-sizing:border-box;width:-moz-max-content;width:max-content}.Switcher.svelte-1mfj5mk .svelte-1mfj5mk{transition-duration:300ms;transition-timing-function:ease-out}.Switcher.svelte-1mfj5mk .content.svelte-1mfj5mk{transition-property:opacity}.Switcher.svelte-1mfj5mk .highlight.svelte-1mfj5mk{transition-property:width}.Switcher.svelte-1mfj5mk .Switcher-buttons.svelte-1mfj5mk{transition-property:transform}.Switcher.svelte-1mfj5mk .Switcher-buttons.svelte-1mfj5mk{position:absolute;top:50%;left:0;transform:translate(0, -50%);width:-moz-max-content;width:max-content}.Switcher.svelte-1mfj5mk .Switcher-buttons .button.svelte-1mfj5mk{display:inline-block;margin:0 0.5625rem}.Switcher.svelte-1mfj5mk .highlight.svelte-1mfj5mk{height:2rem;background:rgba(0, 0, 0, 0.3);border-radius:624.9375rem}.Switcher.svelte-1mfj5mk .content.svelte-1mfj5mk{position:relative;padding:0 0.75rem}.Switcher.svelte-1mfj5mk .button:not(.active) .content.svelte-1mfj5mk::before{content:"";position:absolute;top:50%;left:10%;width:80%;transform:translateY(-50%);height:0;box-shadow:0 0 0.9375rem 0.3125rem rgba(0, 0, 0, 0.3)}');
1
+ import { safe_not_equal as I, noop as C } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as W, element as k, space as w, attr as p, set_style as g, insert as S, append as d, detach as y, destroy_each as q, text as T, toggle_class as B, listen as Y, set_data as D } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { binding_callbacks as K } from "../../../vendor/svelte/src/runtime/internal/scheduler.js";
4
+ import { ensure_array_like as z } from "../../../vendor/svelte/src/runtime/internal/each.js";
5
+ import { SvelteComponent as E, init as F } from "../../../vendor/svelte/src/runtime/internal/Component.js";
6
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
7
+ import "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
8
+ import "../../../vendor/svelte/src/runtime/internal/transitions.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
+ function G(t) {
14
+ W(t, "svelte-1mfj5mk", '.Switcher.svelte-1mfj5mk.svelte-1mfj5mk{pointer-events:all;position:relative;margin-bottom:1.5rem;box-sizing:border-box;width:-moz-max-content;width:max-content}.Switcher.svelte-1mfj5mk .svelte-1mfj5mk{transition-duration:300ms;transition-timing-function:ease-out}.Switcher.svelte-1mfj5mk .content.svelte-1mfj5mk{transition-property:opacity}.Switcher.svelte-1mfj5mk .highlight.svelte-1mfj5mk{transition-property:width}.Switcher.svelte-1mfj5mk .Switcher-buttons.svelte-1mfj5mk{transition-property:transform}.Switcher.svelte-1mfj5mk .Switcher-buttons.svelte-1mfj5mk{position:absolute;top:50%;left:0;transform:translate(0, -50%);width:-moz-max-content;width:max-content}.Switcher.svelte-1mfj5mk .Switcher-buttons .button.svelte-1mfj5mk{display:inline-block;margin:0 0.5625rem}.Switcher.svelte-1mfj5mk .highlight.svelte-1mfj5mk{height:2rem;background:rgba(0, 0, 0, 0.3);border-radius:624.9375rem}.Switcher.svelte-1mfj5mk .content.svelte-1mfj5mk{position:relative;padding:0 0.75rem}.Switcher.svelte-1mfj5mk .button:not(.active) .content.svelte-1mfj5mk::before{content:"";position:absolute;top:50%;left:10%;width:80%;transform:translateY(-50%);height:0;box-shadow:0 0 0.9375rem 0.3125rem rgba(0, 0, 0, 0.3)}');
4
15
  }
5
- function z(e, t, n) {
6
- const s = e.slice();
7
- return s[13] = t[n], s[14] = t, s[15] = n, s;
16
+ function L(t, e, n) {
17
+ const s = t.slice();
18
+ return s[13] = e[n], s[14] = e, s[15] = n, s;
8
19
  }
9
- function L(e) {
10
- let t;
20
+ function R(t) {
21
+ let e;
11
22
  return {
12
23
  c() {
13
- t = k("span"), p(t, "class", "icon svelte-1mfj5mk"), g(
14
- t,
24
+ e = k("span"), p(e, "class", "icon svelte-1mfj5mk"), g(
25
+ e,
15
26
  "background-image",
16
27
  /*option*/
17
- e[13].icon
28
+ t[13].icon
18
29
  );
19
30
  },
20
31
  m(n, s) {
21
- S(n, t, s);
32
+ S(n, e, s);
22
33
  },
23
34
  p(n, s) {
24
35
  s & /*options*/
25
36
  1 && g(
26
- t,
37
+ e,
27
38
  "background-image",
28
39
  /*option*/
29
40
  n[13].icon
30
41
  );
31
42
  },
32
43
  d(n) {
33
- n && y(t);
44
+ n && y(e);
34
45
  }
35
46
  };
36
47
  }
37
- function R(e) {
38
- let t, n, s, f = (
48
+ function A(t) {
49
+ let e, n, s, r = (
39
50
  /*option*/
40
- e[13].value + ""
41
- ), c, o, i = (
51
+ t[13].value + ""
52
+ ), c, l, i = (
42
53
  /*index*/
43
- e[15]
44
- ), a, l, m = (
54
+ t[15]
55
+ ), a, o, m = (
45
56
  /*option*/
46
- e[13].icon && L(e)
57
+ t[13].icon && R(t)
47
58
  );
48
59
  const v = () => (
49
60
  /*div1_binding*/
50
- e[9](t, i)
61
+ t[9](e, i)
51
62
  ), b = () => (
52
63
  /*div1_binding*/
53
- e[9](null, i)
64
+ t[9](null, i)
54
65
  );
55
66
  function _() {
56
67
  return (
57
68
  /*click_handler*/
58
- e[10](
69
+ t[10](
59
70
  /*option*/
60
- e[13],
71
+ t[13],
61
72
  /*index*/
62
- e[15]
73
+ t[15]
63
74
  )
64
75
  );
65
76
  }
66
77
  return {
67
78
  c() {
68
- t = k("div"), n = k("div"), m && m.c(), s = w(), c = Y(f), o = w(), p(n, "class", "content svelte-1mfj5mk"), p(t, "class", "button svelte-1mfj5mk"), B(
69
- t,
79
+ e = k("div"), n = k("div"), m && m.c(), s = w(), c = T(r), l = w(), p(n, "class", "content svelte-1mfj5mk"), p(e, "class", "button svelte-1mfj5mk"), B(
80
+ e,
70
81
  "active",
71
82
  /*activeIndex*/
72
- e[4] === /*index*/
73
- e[15]
83
+ t[4] === /*index*/
84
+ t[15]
74
85
  );
75
86
  },
76
87
  m(u, h) {
77
- S(u, t, h), d(t, n), m && m.m(n, null), d(n, s), d(n, c), d(t, o), v(), a || (l = D(t, "click", _), a = !0);
88
+ S(u, e, h), d(e, n), m && m.m(n, null), d(n, s), d(n, c), d(e, l), v(), a || (o = Y(e, "click", _), a = !0);
78
89
  },
79
90
  p(u, h) {
80
- e = u, /*option*/
81
- e[13].icon ? m ? m.p(e, h) : (m = L(e), m.c(), m.m(n, s)) : m && (m.d(1), m = null), h & /*options*/
82
- 1 && f !== (f = /*option*/
83
- e[13].value + "") && E(c, f), i !== /*index*/
84
- e[15] && (b(), i = /*index*/
85
- e[15], v()), h & /*activeIndex*/
91
+ t = u, /*option*/
92
+ t[13].icon ? m ? m.p(t, h) : (m = R(t), m.c(), m.m(n, s)) : m && (m.d(1), m = null), h & /*options*/
93
+ 1 && r !== (r = /*option*/
94
+ t[13].value + "") && D(c, r), i !== /*index*/
95
+ t[15] && (b(), i = /*index*/
96
+ t[15], v()), h & /*activeIndex*/
86
97
  16 && B(
87
- t,
98
+ e,
88
99
  "active",
89
100
  /*activeIndex*/
90
- e[4] === /*index*/
91
- e[15]
101
+ t[4] === /*index*/
102
+ t[15]
92
103
  );
93
104
  },
94
105
  d(u) {
95
- u && y(t), m && m.d(), b(), a = !1, l();
106
+ u && y(e), m && m.d(), b(), a = !1, o();
96
107
  }
97
108
  };
98
109
  }
99
- function G(e) {
100
- let t, n, s, f, c = (
110
+ function H(t) {
111
+ let e, n, s, r, c = z(
101
112
  /*options*/
102
- e[0]
103
- ), o = [];
113
+ t[0]
114
+ ), l = [];
104
115
  for (let i = 0; i < c.length; i += 1)
105
- o[i] = R(z(e, c, i));
116
+ l[i] = A(L(t, c, i));
106
117
  return {
107
118
  c() {
108
- t = k("div"), n = k("div"), s = w(), f = k("div");
109
- for (let i = 0; i < o.length; i += 1)
110
- o[i].c();
119
+ e = k("div"), n = k("div"), s = w(), r = k("div");
120
+ for (let i = 0; i < l.length; i += 1)
121
+ l[i].c();
111
122
  p(n, "class", "highlight svelte-1mfj5mk"), g(
112
123
  n,
113
124
  "width",
114
125
  /*activeButtonWidth*/
115
- e[5] ? `${/*activeButtonWidth*/
116
- e[5]}px` : void 0
117
- ), p(f, "class", "Switcher-buttons svelte-1mfj5mk"), g(f, "transform", `translate(${/*activeButtonLeft*/
118
- e[6]}px, -50%)`), p(t, "class", "Switcher svelte-1mfj5mk");
126
+ t[5] ? `${/*activeButtonWidth*/
127
+ t[5]}px` : void 0
128
+ ), p(r, "class", "Switcher-buttons svelte-1mfj5mk"), g(r, "transform", `translate(${/*activeButtonLeft*/
129
+ t[6]}px, -50%)`), p(e, "class", "Switcher svelte-1mfj5mk");
119
130
  },
120
131
  m(i, a) {
121
- S(i, t, a), d(t, n), d(t, s), d(t, f);
122
- for (let l = 0; l < o.length; l += 1)
123
- o[l] && o[l].m(f, null);
124
- e[11](t);
132
+ S(i, e, a), d(e, n), d(e, s), d(e, r);
133
+ for (let o = 0; o < l.length; o += 1)
134
+ l[o] && l[o].m(r, null);
135
+ t[11](e);
125
136
  },
126
137
  p(i, [a]) {
127
138
  if (a & /*activeButtonWidth*/
@@ -133,79 +144,81 @@ function G(e) {
133
144
  i[5]}px` : void 0
134
145
  ), a & /*elementList, activeIndex, onChange, options*/
135
146
  23) {
136
- c = /*options*/
137
- i[0];
138
- let l;
139
- for (l = 0; l < c.length; l += 1) {
140
- const m = z(i, c, l);
141
- o[l] ? o[l].p(m, a) : (o[l] = R(m), o[l].c(), o[l].m(f, null));
147
+ c = z(
148
+ /*options*/
149
+ i[0]
150
+ );
151
+ let o;
152
+ for (o = 0; o < c.length; o += 1) {
153
+ const m = L(i, c, o);
154
+ l[o] ? l[o].p(m, a) : (l[o] = A(m), l[o].c(), l[o].m(r, null));
142
155
  }
143
- for (; l < o.length; l += 1)
144
- o[l].d(1);
145
- o.length = c.length;
156
+ for (; o < l.length; o += 1)
157
+ l[o].d(1);
158
+ l.length = c.length;
146
159
  }
147
160
  a & /*activeButtonLeft*/
148
- 64 && g(f, "transform", `translate(${/*activeButtonLeft*/
161
+ 64 && g(r, "transform", `translate(${/*activeButtonLeft*/
149
162
  i[6]}px, -50%)`);
150
163
  },
151
164
  i: C,
152
165
  o: C,
153
166
  d(i) {
154
- i && y(t), T(o, i), e[11](null);
167
+ i && y(e), q(l, i), t[11](null);
155
168
  }
156
169
  };
157
170
  }
158
- function H(e, t, n) {
159
- let s, f, { options: c } = t, { defaultKey: o = null } = t, { onChange: i } = t;
171
+ function J(t, e, n) {
172
+ let s, r, { options: c } = e, { defaultKey: l = null } = e, { onChange: i } = e;
160
173
  const a = [];
161
- let l, m, v = 0;
174
+ let o, m, v = 0;
162
175
  function b() {
163
- if (f && l) {
164
- n(5, m = f.clientWidth);
165
- const r = v + l.getBoundingClientRect().left - f.getBoundingClientRect().left;
166
- n(6, v = r);
176
+ if (r && o) {
177
+ n(5, m = r.clientWidth);
178
+ const f = v + o.getBoundingClientRect().left - r.getBoundingClientRect().left;
179
+ n(6, v = f);
167
180
  }
168
181
  }
169
- function _(r, j) {
170
- K[r ? "unshift" : "push"](() => {
171
- a[j] = r, n(2, a);
182
+ function _(f, j) {
183
+ K[f ? "unshift" : "push"](() => {
184
+ a[j] = f, n(2, a);
172
185
  });
173
186
  }
174
- const u = (r, j) => {
175
- i(r.key), n(4, s = j);
187
+ const u = (f, j) => {
188
+ i(f.key), n(4, s = j);
176
189
  };
177
- function h(r) {
178
- K[r ? "unshift" : "push"](() => {
179
- l = r, n(3, l);
190
+ function h(f) {
191
+ K[f ? "unshift" : "push"](() => {
192
+ o = f, n(3, o);
180
193
  });
181
194
  }
182
- return e.$$set = (r) => {
183
- "options" in r && n(0, c = r.options), "defaultKey" in r && n(7, o = r.defaultKey), "onChange" in r && n(1, i = r.onChange);
184
- }, e.$$.update = () => {
185
- e.$$.dirty & /*defaultKey, options*/
186
- 129 && n(4, s = o ? c.findIndex((r) => r.key === o) : 0), e.$$.dirty & /*elementList, activeIndex*/
187
- 20 && n(8, f = a[s]), e.$$.dirty & /*activeButton, container*/
188
- 264 && f && l && setTimeout(() => b(), 0);
195
+ return t.$$set = (f) => {
196
+ "options" in f && n(0, c = f.options), "defaultKey" in f && n(7, l = f.defaultKey), "onChange" in f && n(1, i = f.onChange);
197
+ }, t.$$.update = () => {
198
+ t.$$.dirty & /*defaultKey, options*/
199
+ 129 && n(4, s = l ? c.findIndex((f) => f.key === l) : 0), t.$$.dirty & /*elementList, activeIndex*/
200
+ 20 && n(8, r = a[s]), t.$$.dirty & /*activeButton, container*/
201
+ 264 && r && o && setTimeout(() => b(), 0);
189
202
  }, [
190
203
  c,
191
204
  i,
192
205
  a,
193
- l,
206
+ o,
194
207
  s,
195
208
  m,
196
209
  v,
197
- o,
198
- f,
210
+ l,
211
+ r,
199
212
  _,
200
213
  u,
201
214
  h
202
215
  ];
203
216
  }
204
- class M extends A {
205
- constructor(t) {
206
- super(), I(this, t, H, G, W, { options: 0, defaultKey: 7, onChange: 1 }, F);
217
+ class et extends E {
218
+ constructor(e) {
219
+ super(), F(this, e, J, H, I, { options: 0, defaultKey: 7, onChange: 1 }, G);
207
220
  }
208
221
  }
209
222
  export {
210
- M as default
223
+ et as default
211
224
  };
@@ -1,8 +1,19 @@
1
- import { SvelteComponent as R, init as T, safe_not_equal as U, append_styles as W, binding_callbacks as j, bind as B, element as h, space as C, create_component as q, attr as g, insert as D, append as p, mount_component as L, transition_in as _, transition_out as w, check_outros as F, add_flush_callback as G, detach as O, destroy_component as P, onMount as H, onDestroy as J, text as y, set_style as x, toggle_class as E, listen as z, run_all as K, group_outros as N } from "../../vendor/svelte/internal/index.js";
1
+ import { safe_not_equal as R, run_all as T } from "../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as U, element as h, space as C, attr as g, insert as q, append as p, detach as D, text as y, set_style as x, toggle_class as E, listen as z } from "../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_in as _, transition_out as w, check_outros as W, group_outros as j } from "../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { binding_callbacks as B, add_flush_callback as F } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
5
+ import { onMount as G, onDestroy as H } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
6
+ import { SvelteComponent as J, init as K, bind as N, create_component as L, mount_component as O, destroy_component as P } from "../../vendor/svelte/src/runtime/internal/Component.js";
7
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
8
  import Q from "./Common/Switcher0.js";
3
9
  import V from "./Common/Exit.js";
4
10
  import X from "../Controller/EditController.js";
5
11
  import { IconLine as Y, IconArea as Z, IconUndo as $, IconOk as ee } from "./Common/icons/index.js";
12
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
13
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
14
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
15
+ import "../../vendor/svelte/src/shared/version.js";
16
+ import "../../vendor/svelte/src/runtime/internal/each.js";
6
17
  import "../Model/line.js";
7
18
  import "../../shared-utils/uuid.js";
8
19
  import "../utils/line.js";
@@ -67,7 +78,7 @@ import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
67
78
  import "../utils/findAssociatedLines.js";
68
79
  import "../utils/math.js";
69
80
  function te(i) {
70
- W(i, "svelte-468fdd", '*.forbid.svelte-468fdd.svelte-468fdd{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-468fdd.svelte-468fdd{pointer-events:none;position:relative;width:100%;height:100%;z-index:2}.Measure-Controller.svelte-468fdd .mode-switcher.svelte-468fdd{margin-top:2.25rem}.Measure-Controller.svelte-468fdd .bottom.svelte-468fdd{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-468fdd .bottom .mask.svelte-468fdd{position:absolute;bottom:0;width:100%;height:11.5rem;background-size:100%;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3))}.Measure-Controller.svelte-468fdd .bottom .center.svelte-468fdd{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-468fdd .buttons.svelte-468fdd{pointer-events:all;display:flex;align-items:center;height:2.5rem;background:rgba(0, 0, 0, 0.2);color:rgba(255, 255, 255, 0.85);width:-moz-max-content;width:max-content;border-radius:624.9375rem;overflow:hidden}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd{cursor:pointer;display:flex;align-items:center;position:relative;font-size:0.875rem;padding:0rem 1rem}.Measure-Controller.svelte-468fdd .buttons .button .icon.svelte-468fdd{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin-right:0.25rem}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd::after{content:"";position:absolute;display:block;right:-0.03125rem;height:1.5rem;width:0.0625rem;background-image:linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);background-size:100%;background-repeat:no-repeat;background-position:center}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd:last-child::after{display:none}');
81
+ U(i, "svelte-468fdd", '*.forbid.svelte-468fdd.svelte-468fdd{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-468fdd.svelte-468fdd{pointer-events:none;position:relative;width:100%;height:100%;z-index:2}.Measure-Controller.svelte-468fdd .mode-switcher.svelte-468fdd{margin-top:2.25rem}.Measure-Controller.svelte-468fdd .bottom.svelte-468fdd{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-468fdd .bottom .mask.svelte-468fdd{position:absolute;bottom:0;width:100%;height:11.5rem;background-size:100%;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3))}.Measure-Controller.svelte-468fdd .bottom .center.svelte-468fdd{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-468fdd .buttons.svelte-468fdd{pointer-events:all;display:flex;align-items:center;height:2.5rem;background:rgba(0, 0, 0, 0.2);color:rgba(255, 255, 255, 0.85);width:-moz-max-content;width:max-content;border-radius:624.9375rem;overflow:hidden}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd{cursor:pointer;display:flex;align-items:center;position:relative;font-size:0.875rem;padding:0rem 1rem}.Measure-Controller.svelte-468fdd .buttons .button .icon.svelte-468fdd{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin-right:0.25rem}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd::after{content:"";position:absolute;display:block;right:-0.03125rem;height:1.5rem;width:0.0625rem;background-image:linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);background-size:100%;background-repeat:no-repeat;background-position:center}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd:last-child::after{display:none}');
71
82
  }
72
83
  function S(i) {
73
84
  let t, o;
@@ -80,10 +91,10 @@ function S(i) {
80
91
  }
81
92
  }), {
82
93
  c() {
83
- q(t.$$.fragment);
94
+ L(t.$$.fragment);
84
95
  },
85
96
  m(e, f) {
86
- L(t, e, f), o = !0;
97
+ O(t, e, f), o = !0;
87
98
  },
88
99
  p(e, f) {
89
100
  const c = {};
@@ -103,7 +114,7 @@ function S(i) {
103
114
  };
104
115
  }
105
116
  function A(i) {
106
- let t, o, e, f, c, n, u, v, d, b;
117
+ let t, o, e, f, c, n, u, v, m, b;
107
118
  return {
108
119
  c() {
109
120
  t = h("div"), o = h("div"), e = h("div"), f = y(`
@@ -112,7 +123,7 @@ function A(i) {
112
123
  i[2]), g(u, "class", "icon svelte-468fdd"), x(u, "background-image", `url(${ee})`), g(n, "class", "button svelte-468fdd"), g(t, "class", "buttons svelte-468fdd");
113
124
  },
114
125
  m(a, r) {
115
- D(a, t, r), p(t, o), p(o, e), p(o, f), p(t, c), p(t, n), p(n, u), p(n, v), d || (b = [
126
+ q(a, t, r), p(t, o), p(o, e), p(o, f), p(t, c), p(t, n), p(n, u), p(n, v), m || (b = [
116
127
  z(
117
128
  o,
118
129
  "click",
@@ -125,7 +136,7 @@ function A(i) {
125
136
  /*complete*/
126
137
  i[5]
127
138
  )
128
- ], d = !0);
139
+ ], m = !0);
129
140
  },
130
141
  p(a, r) {
131
142
  r & /*canRevoke*/
@@ -133,12 +144,12 @@ function A(i) {
133
144
  a[2]);
134
145
  },
135
146
  d(a) {
136
- a && O(t), d = !1, K(b);
147
+ a && D(t), m = !1, T(b);
137
148
  }
138
149
  };
139
150
  }
140
151
  function oe(i) {
141
- let t, o, e, f, c, n, u, v, d, b, a, r = (
152
+ let t, o, e, f, c, n, u, v, m, b, a, r = (
142
153
  /*showExit*/
143
154
  i[1] && S(i)
144
155
  ), s = (
@@ -148,7 +159,7 @@ function oe(i) {
148
159
  function M(l) {
149
160
  i[8](l);
150
161
  }
151
- let m = {
162
+ let d = {
152
163
  options: [
153
164
  {
154
165
  key: "line",
@@ -168,68 +179,68 @@ function oe(i) {
168
179
  };
169
180
  return (
170
181
  /*setSwitcherActiveIndex*/
171
- i[3] !== void 0 && (m.setIndex = /*setSwitcherActiveIndex*/
172
- i[3]), d = new Q({ props: m }), j.push(() => B(d, "setIndex", M)), {
182
+ i[3] !== void 0 && (d.setIndex = /*setSwitcherActiveIndex*/
183
+ i[3]), m = new Q({ props: d }), B.push(() => N(m, "setIndex", M)), {
173
184
  c() {
174
- t = h("div"), r && r.c(), o = C(), e = h("div"), f = h("div"), c = C(), n = h("div"), s && s.c(), u = C(), v = h("div"), q(d.$$.fragment), g(f, "class", "mask svelte-468fdd"), g(v, "class", "mode-switcher svelte-468fdd"), g(n, "class", "center svelte-468fdd"), g(e, "class", "bottom svelte-468fdd"), g(t, "class", "Measure-Controller svelte-468fdd");
185
+ t = h("div"), r && r.c(), o = C(), e = h("div"), f = h("div"), c = C(), n = h("div"), s && s.c(), u = C(), v = h("div"), L(m.$$.fragment), g(f, "class", "mask svelte-468fdd"), g(v, "class", "mode-switcher svelte-468fdd"), g(n, "class", "center svelte-468fdd"), g(e, "class", "bottom svelte-468fdd"), g(t, "class", "Measure-Controller svelte-468fdd");
175
186
  },
176
187
  m(l, k) {
177
- D(l, t, k), r && r.m(t, null), p(t, o), p(t, e), p(e, f), p(e, c), p(e, n), s && s.m(n, null), p(n, u), p(n, v), L(d, v, null), a = !0;
188
+ q(l, t, k), r && r.m(t, null), p(t, o), p(t, e), p(e, f), p(e, c), p(e, n), s && s.m(n, null), p(n, u), p(n, v), O(m, v, null), a = !0;
178
189
  },
179
190
  p(l, [k]) {
180
191
  /*showExit*/
181
192
  l[1] ? r ? (r.p(l, k), k & /*showExit*/
182
- 2 && _(r, 1)) : (r = S(l), r.c(), _(r, 1), r.m(t, o)) : r && (N(), w(r, 1, 1, () => {
193
+ 2 && _(r, 1)) : (r = S(l), r.c(), _(r, 1), r.m(t, o)) : r && (j(), w(r, 1, 1, () => {
183
194
  r = null;
184
- }), F()), /*showController*/
195
+ }), W()), /*showController*/
185
196
  l[4] ? s ? s.p(l, k) : (s = A(l), s.c(), s.m(n, u)) : s && (s.d(1), s = null);
186
197
  const I = {};
187
198
  k & /*measureController*/
188
199
  1 && (I.onChange = /*func*/
189
200
  l[7]), !b && k & /*setSwitcherActiveIndex*/
190
201
  8 && (b = !0, I.setIndex = /*setSwitcherActiveIndex*/
191
- l[3], G(() => b = !1)), d.$set(I);
202
+ l[3], F(() => b = !1)), m.$set(I);
192
203
  },
193
204
  i(l) {
194
- a || (_(r), _(d.$$.fragment, l), a = !0);
205
+ a || (_(r), _(m.$$.fragment, l), a = !0);
195
206
  },
196
207
  o(l) {
197
- w(r), w(d.$$.fragment, l), a = !1;
208
+ w(r), w(m.$$.fragment, l), a = !1;
198
209
  },
199
210
  d(l) {
200
- l && O(t), r && r.d(), s && s.d(), P(d);
211
+ l && D(t), r && r.d(), s && s.d(), P(m);
201
212
  }
202
213
  }
203
214
  );
204
215
  }
205
216
  function re(i, t, o) {
206
217
  let { measureController: e } = t, { showExit: f = !1 } = t, c = !1, n;
207
- function u(m) {
208
- m === "Edit" ? o(4, a = !0) : (n(null), o(4, a = !1));
218
+ function u(d) {
219
+ d === "Edit" ? o(4, a = !0) : (n(null), o(4, a = !1));
209
220
  }
210
221
  function v() {
211
222
  e.controller instanceof X && e.controller.complete(), e.save({ mode: "Watch" });
212
223
  }
213
- function d(m) {
214
- o(2, c = m.length > 0);
224
+ function m(d) {
225
+ o(2, c = d.length > 0);
215
226
  }
216
227
  function b() {
217
228
  o(2, c = !1);
218
229
  }
219
- H(() => {
220
- e.hook.on("modeChange", u), e.hook.on("complete", b), e.hook.on("pointsChange", d);
221
- }), J(() => {
222
- e.hook.off("modeChange", u), e.hook.off("complete", b), e.hook.off("pointsChange", d);
230
+ G(() => {
231
+ e.hook.on("modeChange", u), e.hook.on("complete", b), e.hook.on("pointsChange", m);
232
+ }), H(() => {
233
+ e.hook.off("modeChange", u), e.hook.off("complete", b), e.hook.off("pointsChange", m);
223
234
  });
224
235
  let a = !1;
225
- const r = () => e.revoke(), s = (m) => {
226
- e.save().changeMode("Edit"), e.changeMeasureType(m);
236
+ const r = () => e.revoke(), s = (d) => {
237
+ e.save().changeMode("Edit"), e.changeMeasureType(d);
227
238
  };
228
- function M(m) {
229
- n = m, o(3, n);
239
+ function M(d) {
240
+ n = d, o(3, n);
230
241
  }
231
- return i.$$set = (m) => {
232
- "measureController" in m && o(0, e = m.measureController), "showExit" in m && o(1, f = m.showExit);
242
+ return i.$$set = (d) => {
243
+ "measureController" in d && o(0, e = d.measureController), "showExit" in d && o(1, f = d.showExit);
233
244
  }, [
234
245
  e,
235
246
  f,
@@ -242,11 +253,11 @@ function re(i, t, o) {
242
253
  M
243
254
  ];
244
255
  }
245
- class bt extends R {
256
+ class St extends J {
246
257
  constructor(t) {
247
- super(), T(this, t, re, oe, U, { measureController: 0, showExit: 1 }, te);
258
+ super(), K(this, t, re, oe, R, { measureController: 0, showExit: 1 }, te);
248
259
  }
249
260
  }
250
261
  export {
251
- bt as default
262
+ St as default
252
263
  };