@realsee/dnalogel 2.13.1 → 2.13.2-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 (288) hide show
  1. package/dist/index.cjs.js +51 -51
  2. package/dist/index.js +5350 -5051
  3. package/dist/index.umd.js +50 -50
  4. package/dist/shared-utils/svelte/resizeObserver.d.ts +10 -0
  5. package/docs/classes/CSS3DRender.html +31 -31
  6. package/docs/classes/CruisePluginController.html +25 -25
  7. package/docs/classes/Magnifier.html +20 -20
  8. package/docs/classes/ModelRoomLabelController.html +11 -11
  9. package/docs/classes/Object3DHelperController.html +25 -25
  10. package/docs/classes/PaintBrush.html +15 -15
  11. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  12. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  13. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  14. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  15. package/docs/classes/PanoTagPluginController.html +45 -45
  16. package/docs/classes/Util.BetterTween.html +8 -8
  17. package/docs/classes/Util.FivePointSelector.html +12 -12
  18. package/docs/classes/Util.Interval.html +12 -12
  19. package/docs/classes/Util.Magnifier.html +17 -17
  20. package/docs/classes/Util.PointDomHelper.html +11 -11
  21. package/docs/classes/Util.PointHelper.html +11 -11
  22. package/docs/classes/Util.Rectangle.html +13 -13
  23. package/docs/enums/CameraMovementEffect.html +7 -7
  24. package/docs/enums/ContentType.html +19 -19
  25. package/docs/enums/DIRECTION.html +9 -9
  26. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  27. package/docs/enums/DimensionType.html +7 -7
  28. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  29. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  30. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  31. package/docs/enums/PointType.html +7 -7
  32. package/docs/enums/Rotation.html +8 -8
  33. package/docs/functions/CSS3DRenderPlugin.html +5 -5
  34. package/docs/functions/CameraMovementPlugin.html +5 -5
  35. package/docs/functions/CruisePlugin.html +5 -5
  36. package/docs/functions/GuideLinePlugin.html +5 -5
  37. package/docs/functions/ItemLabelPlugin.html +5 -5
  38. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  39. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  40. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  41. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  42. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  43. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  44. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  45. package/docs/functions/ModelViewPlugin.html +5 -5
  46. package/docs/functions/Object3DHelperPlugin.html +5 -5
  47. package/docs/functions/PanoCompassPlugin.html +5 -5
  48. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  49. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  50. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  51. package/docs/functions/PanoMeasurePlugin.html +5 -5
  52. package/docs/functions/PanoRulerPlugin.html +5 -5
  53. package/docs/functions/PanoRulerProPlugin.html +5 -5
  54. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  55. package/docs/functions/PanoTagPlugin.html +5 -5
  56. package/docs/functions/PanoVideoPlugin.html +5 -5
  57. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  58. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  59. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  60. package/docs/functions/Util.getFrameTime.html +5 -5
  61. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  62. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  63. package/docs/functions/Util.isNil.html +5 -5
  64. package/docs/functions/Util.nextFrame.html +5 -5
  65. package/docs/functions/Util.notNil.html +5 -5
  66. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  67. package/docs/functions/Util.tweenProgress.html +5 -5
  68. package/docs/functions/pluginFlag.html +5 -5
  69. package/docs/index.html +4 -4
  70. package/docs/interfaces/AddTagConfig.html +6 -6
  71. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  72. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  73. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  74. package/docs/interfaces/EventMap.html +15 -15
  75. package/docs/interfaces/FloorplanBounding.html +8 -8
  76. package/docs/interfaces/FloorplanData.html +10 -10
  77. package/docs/interfaces/FloorplanEntrance.html +11 -11
  78. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  79. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  80. package/docs/interfaces/FloorplanFloorData.html +9 -9
  81. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  82. package/docs/interfaces/FloorplanObserver.html +9 -9
  83. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  84. package/docs/interfaces/FloorplanPosition.html +7 -7
  85. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  86. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  87. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  88. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  89. package/docs/interfaces/FloorplanServerData.html +7 -7
  90. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  91. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  92. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  93. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  94. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  95. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  96. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  97. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  98. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  99. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  100. package/docs/interfaces/HelperOffset.html +8 -8
  101. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  102. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  103. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  104. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  105. package/docs/interfaces/MinMax.html +7 -7
  106. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  107. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  108. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  109. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  110. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  111. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  112. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  113. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  114. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  115. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  116. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  117. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  118. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  119. package/docs/interfaces/Object3DHelperState.html +8 -8
  120. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  121. package/docs/interfaces/PaintBrushAction.html +12 -12
  122. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  123. package/docs/interfaces/PaintBrushState.html +10 -10
  124. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  125. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  126. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  127. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  128. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  129. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  130. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  131. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  132. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  133. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  134. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  135. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  136. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  137. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  138. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  139. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  140. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  141. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  142. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  143. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  144. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  145. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  146. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  147. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  148. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  149. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  150. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  151. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  152. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  153. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  154. package/docs/interfaces/Point.html +8 -8
  155. package/docs/interfaces/Room.html +9 -9
  156. package/docs/interfaces/RoomInfo.html +7 -7
  157. package/docs/interfaces/RoomLabel.html +14 -14
  158. package/docs/interfaces/RoomRules.html +5 -5
  159. package/docs/interfaces/Rooms.html +5 -5
  160. package/docs/interfaces/Scissor.html +9 -9
  161. package/docs/interfaces/State.html +8 -8
  162. package/docs/interfaces/TagCacheInterface.html +12 -12
  163. package/docs/interfaces/TagConfig.html +11 -11
  164. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  165. package/docs/interfaces/TagIconUrl.html +11 -11
  166. package/docs/interfaces/TagObjectGroup.html +6 -6
  167. package/docs/interfaces/TagStyle.html +6 -6
  168. package/docs/interfaces/Tags.html +9 -9
  169. package/docs/interfaces/TemporaryState.html +6 -6
  170. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  171. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  172. package/docs/modules/PanoVideoPluginType.html +5 -5
  173. package/docs/modules/Util.html +5 -5
  174. package/docs/modules.html +4 -4
  175. package/docs/types/ArrayPosition.html +5 -5
  176. package/docs/types/AudioAppearance.html +5 -5
  177. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  178. package/docs/types/CSS3DRenderExportType.html +5 -5
  179. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  180. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  181. package/docs/types/ClassFunctionParameters.html +5 -5
  182. package/docs/types/Color.html +5 -5
  183. package/docs/types/ContentTypeConfigKey.html +5 -5
  184. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  185. package/docs/types/ContentTypeMap.html +5 -5
  186. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  187. package/docs/types/Create3DElementReturnType.html +5 -5
  188. package/docs/types/CruisePluginExportType.html +5 -5
  189. package/docs/types/Direction-1.html +5 -5
  190. package/docs/types/Direction4.html +5 -5
  191. package/docs/types/FloorplanRuleLabels.html +5 -5
  192. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  193. package/docs/types/GuideLinePluginExportType.html +5 -5
  194. package/docs/types/HelperEventMap.html +5 -5
  195. package/docs/types/LoadTagConfig.html +5 -5
  196. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  197. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  198. package/docs/types/MediaData.html +5 -5
  199. package/docs/types/MediaStore.html +5 -5
  200. package/docs/types/ModelElement.html +5 -5
  201. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  202. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  203. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  204. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  205. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  206. package/docs/types/MoveArgs.html +5 -5
  207. package/docs/types/MoveOpts.html +5 -5
  208. package/docs/types/Object3DHelperEventMap.html +5 -5
  209. package/docs/types/ObjectFit.html +5 -5
  210. package/docs/types/PaintBrushEventMap.html +5 -5
  211. package/docs/types/PanoCompassPluginData.html +5 -5
  212. package/docs/types/PanoCompassPluginExportType.html +5 -5
  213. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  214. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  215. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  216. package/docs/types/PanoIndex.html +5 -5
  217. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  218. package/docs/types/PanoMeasureReturnType.html +5 -5
  219. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  220. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  221. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  222. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  223. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  224. package/docs/types/PlaneTag.html +5 -5
  225. package/docs/types/PlaneTagElement.html +5 -5
  226. package/docs/types/Point2DElement.html +5 -5
  227. package/docs/types/Point2DTag.html +5 -5
  228. package/docs/types/Point3DElement.html +5 -5
  229. package/docs/types/Point3DTag.html +5 -5
  230. package/docs/types/PointTag.html +5 -5
  231. package/docs/types/PointTagElement.html +5 -5
  232. package/docs/types/Position.html +5 -5
  233. package/docs/types/RotateArgs.html +5 -5
  234. package/docs/types/RotateOpts.html +5 -5
  235. package/docs/types/RuleLabelsKey.html +5 -5
  236. package/docs/types/RuleLabelsValue.html +5 -5
  237. package/docs/types/StickType.html +5 -5
  238. package/docs/types/Tag.html +5 -5
  239. package/docs/types/Tag2D.html +5 -5
  240. package/docs/types/Tag3D.html +5 -5
  241. package/docs/types/TagContentType.html +5 -5
  242. package/docs/types/TagDimensionType.html +5 -5
  243. package/docs/types/TagElement.html +5 -5
  244. package/docs/types/TagEvents.html +5 -5
  245. package/docs/types/TagGLTFObject.html +5 -5
  246. package/docs/types/TagHooks.html +5 -5
  247. package/docs/types/TagIconSize.html +5 -5
  248. package/docs/types/TagId.html +5 -5
  249. package/docs/types/TagPointType.html +5 -5
  250. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  251. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  252. package/docs/types/WorkCode.html +5 -5
  253. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  254. package/docs/variables/PLUGIN.html +5 -5
  255. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  256. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  257. package/docs/variables/VERSION.html +5 -5
  258. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  259. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  260. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  261. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +99 -93
  262. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +4 -2
  263. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +72 -66
  264. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +4 -2
  265. package/libs/PanoTagPlugin/Components/Tag/index.js +4 -2
  266. package/libs/PanoTagPlugin/Components/TagContainer.js +4 -2
  267. package/libs/PanoTagPlugin/Components/TagItem.js +4 -2
  268. package/libs/PanoTagPlugin/controller/TagRender.js +4 -2
  269. package/libs/PanoTagPlugin/controller/index.js +7 -5
  270. package/libs/PanoTagPlugin/index.js +13 -11
  271. package/libs/base/BasePlugin.js +1 -1
  272. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +108 -100
  273. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +96 -92
  274. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +33 -31
  275. package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -3
  276. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +4 -2
  277. package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -3
  278. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +109 -100
  279. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +4 -2
  280. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -3
  281. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +4 -2
  282. package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -3
  283. package/libs/floorplan/index.js +1 -0
  284. package/libs/index.js +106 -104
  285. package/libs/shared-utils/svelte/resizeObserver.d.ts +10 -0
  286. package/libs/shared-utils/svelte/resizeObserver.js +12 -0
  287. package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +269 -0
  288. package/package.json +2 -1
@@ -14,18 +14,18 @@ var o = (h, n, t) => (m(h, typeof n != "symbol" ? n + "" : n, t), t);
14
14
  var c = (h, n, t) => new Promise((e, i) => {
15
15
  var s = (d) => {
16
16
  try {
17
- a(t.next(d));
17
+ r(t.next(d));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, r = (d) => {
21
+ }, a = (d) => {
22
22
  try {
23
- a(t.throw(d));
23
+ r(t.throw(d));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, a = (d) => d.done ? e(d.value) : Promise.resolve(d.value).then(s, r);
28
- a((t = t.apply(h, n)).next());
27
+ }, r = (d) => d.done ? e(d.value) : Promise.resolve(d.value).then(s, a);
28
+ r((t = t.apply(h, n)).next());
29
29
  });
30
30
  import * as x from "three";
31
31
  import { to as I } from "../../shared-utils/to.js";
@@ -55,6 +55,8 @@ import "../Components/Normalmage.js";
55
55
  import "../Components/SvgImage.js";
56
56
  import "../Components/RoomLabels/RoomLabels.js";
57
57
  import "../Components/RoomLabels/RoomLabel.js";
58
+ import "../../shared-utils/svelte/resizeObserver.js";
59
+ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
58
60
  import "../Components/RuleLabels/RuleLabels.js";
59
61
  import "../Components/RuleLabels/RuleItem.js";
60
62
  import "../Components/RoomMaterials/RoomMaterial.js";
@@ -78,7 +80,7 @@ function N(h) {
78
80
  const { latitude: n, longitude: t } = h, e = Math.abs(n - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
79
81
  return e && i;
80
82
  }
81
- class Lt extends T {
83
+ class Ot extends T {
82
84
  constructor(t, e) {
83
85
  super(t);
84
86
  o(this, "name", "modelFloorplanPlugin");
@@ -114,7 +116,7 @@ class Lt extends T {
114
116
  o(this, "updateSize", () => {
115
117
  if (!this.data || !H(this.five, this.showState) || !this.container || !this.wrapper)
116
118
  return;
117
- const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = k(this.five, this.wrapper, this.floorIndex, r), d = Math.ceil(i * a), u = Math.ceil(s * a);
119
+ const { min: t, max: e } = this.data.bounding, i = e.x - t.x, s = e.y - t.y, a = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = k(this.five, this.wrapper, this.floorIndex, a), d = Math.ceil(i * r), u = Math.ceil(s * r);
118
120
  this.size.width === d && this.size.height === u || (this.container.style.width = d + "px", this.container.style.height = u + "px", this.size = { width: d, height: u });
119
121
  });
120
122
  o(this, "highlight", (t) => {
@@ -124,19 +126,19 @@ class Lt extends T {
124
126
  this.highlightData = {}, this.render();
125
127
  });
126
128
  o(this, "_disable", (t) => {
127
- var i, s, r;
129
+ var i, s, a;
128
130
  const { userAction: e } = t;
129
- this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, f.BreakOffByDisable), this.showPromise = void 0, (s = this.app) == null || s.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
131
+ this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, f.BreakOffByDisable), this.showPromise = void 0, (s = this.app) == null || s.$destroy(), this.app = void 0, (a = this.container) == null || a.remove(), this.removeEventListener();
130
132
  });
131
133
  o(this, "_enable", (t) => {
132
134
  const { userAction: e } = t;
133
135
  this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e }));
134
136
  });
135
137
  o(this, "_show", (t) => c(this, null, function* () {
136
- var r;
138
+ var a;
137
139
  if (!this.state.enabled)
138
140
  return;
139
- if (!((r = this.five.model) != null && r.loaded))
141
+ if (!((a = this.five.model) != null && a.loaded))
140
142
  throw new Error(f.ModelNotLoaded);
141
143
  if (!this.data)
142
144
  throw new Error(f.DataNotLoaded);
@@ -149,14 +151,14 @@ class Lt extends T {
149
151
  userAction: !0
150
152
  }, i = l(l({}, e), t), s = () => c(this, null, function* () {
151
153
  this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
152
- let a = !1, d;
154
+ let r = !1, d;
153
155
  this.showRejection = (S) => {
154
- a = !0, d = S;
156
+ r = !0, d = S;
155
157
  };
156
158
  const [u] = yield I(R(this.five, this.showState, i.userAction));
157
159
  if (u)
158
160
  throw u;
159
- if (a)
161
+ if (r)
160
162
  throw d ? new Error(d) : new Error(f.UnknownError);
161
163
  this.updateSize(), this.updatePosition(), this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
162
164
  const p = i.modelOpacity, g = i.immediately ? 0 : G;
@@ -167,9 +169,9 @@ class Lt extends T {
167
169
  auto: i.isAutoShow,
168
170
  userAction: i.userAction
169
171
  });
170
- }).catch((a) => {
171
- if (this.updateState({ visible: !1 }, i.userAction), !i.isAutoShow && a instanceof Error)
172
- throw a;
172
+ }).catch((r) => {
173
+ if (this.updateState({ visible: !1 }, i.userAction), !i.isAutoShow && r instanceof Error)
174
+ throw r;
173
175
  }).finally(() => {
174
176
  this.showPromise = void 0, this.showRejection = void 0;
175
177
  }), this.showPromise;
@@ -258,13 +260,13 @@ class Lt extends T {
258
260
  attachedTo: O.BOUNDING_CENTER,
259
261
  getLabelElement: void 0,
260
262
  adaptiveRoomLabelVisibleEnable: !0,
261
- getRoomAreaText: (a) => (a / 1e6).toFixed(1) + "\u33A1",
262
- getRuleDistanceText: (a) => a.toString()
263
- }, s = e ? _(e, ["selector", "scale"]) : {}, r = l(l({}, i), s);
263
+ getRoomAreaText: (r) => (r / 1e6).toFixed(1) + "\u33A1",
264
+ getRuleDistanceText: (r) => r.toString()
265
+ }, s = e ? _(e, ["selector", "scale"]) : {}, a = l(l({}, i), s);
264
266
  this.state = {
265
267
  enabled: !0,
266
268
  visible: !1,
267
- config: r
269
+ config: a
268
270
  }, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
269
271
  }
270
272
  load(t, e, i = !0) {
@@ -272,9 +274,9 @@ class Lt extends T {
272
274
  function s(p) {
273
275
  return Object.prototype.hasOwnProperty.apply(p, ["version"]);
274
276
  }
275
- const r = t;
276
- r && !r.version && console.warn("\u4F20\u5165 serverData.data \u7684\u65B9\u5F0F\u540E\u7EED\u53EF\u80FD\u4E0D\u518D\u652F\u6301\uFF0C\u8BF7\u628A serverData \u6574\u4F53\u4F20\u5165 load \u51FD\u6570");
277
- const a = JSON.parse(JSON.stringify(t)), d = s(a) ? a.data : a, u = this.data;
277
+ const a = t;
278
+ a && !a.version && console.warn("\u4F20\u5165 serverData.data \u7684\u65B9\u5F0F\u540E\u7EED\u53EF\u80FD\u4E0D\u518D\u652F\u6301\uFF0C\u8BF7\u628A serverData \u6574\u4F53\u4F20\u5165 load \u51FD\u6570");
279
+ const r = JSON.parse(JSON.stringify(t)), d = s(r) ? r.data : r, u = this.data;
278
280
  this.data = yield b(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, u), e && this.updateState(e, i), this.render();
279
281
  });
280
282
  }
@@ -297,20 +299,20 @@ class Lt extends T {
297
299
  setState(t, e = {}) {
298
300
  const i = this.state, s = e.userAction !== void 0 ? e.userAction : !0;
299
301
  if (this.updateState(t, s), t.enabled !== void 0 && i.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), t.visible !== void 0 && i.visible !== t.visible) {
300
- const r = { userAction: s };
301
- t.visible ? this._show(r) : this._hide(r);
302
+ const a = { userAction: s };
303
+ t.visible ? this._show(a) : this._hide(a);
302
304
  }
303
305
  }
304
306
  changeConfigs(t, e = !0) {
305
307
  this.updateState({ config: t }, e), this.render();
306
308
  }
307
309
  updatePosition() {
308
- var a;
309
- const t = B(this.five, this.floorIndex, this.state.config.attachedTo), e = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new x.Vector3()).setY(t);
310
+ var r;
311
+ const t = B(this.five, this.floorIndex, this.state.config.attachedTo), e = (r = this.five.model) == null ? void 0 : r.bounding.getCenter(new x.Vector3()).setY(t);
310
312
  if (!e)
311
313
  return;
312
- const i = e.clone().project(this.five.camera), s = (i.x + 1) / 2, r = -(i.y - 1) / 2;
313
- this.container.style.left = s * 100 + "%", this.container.style.top = r * 100 + "%";
314
+ const i = e.clone().project(this.five.camera), s = (i.x + 1) / 2, a = -(i.y - 1) / 2;
315
+ this.container.style.left = s * 100 + "%", this.container.style.top = a * 100 + "%";
314
316
  }
315
317
  formatData(t) {
316
318
  return c(this, null, function* () {
@@ -359,5 +361,5 @@ class Lt extends T {
359
361
  }
360
362
  }
361
363
  export {
362
- Lt as Controller
364
+ Ot as Controller
363
365
  };
@@ -19,6 +19,8 @@ import "../Components/Normalmage.js";
19
19
  import "../Components/SvgImage.js";
20
20
  import "../Components/RoomLabels/RoomLabels.js";
21
21
  import "../Components/RoomLabels/RoomLabel.js";
22
+ import "../../shared-utils/svelte/resizeObserver.js";
23
+ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
22
24
  import "../Components/RuleLabels/RuleLabels.js";
23
25
  import "../Components/RuleLabels/RuleItem.js";
24
26
  import "../Components/RoomMaterials/RoomMaterial.js";
@@ -42,8 +44,8 @@ import "../utils/constant.js";
42
44
  import "../../shared-utils/nearlyEqual.js";
43
45
  import "../../shared-utils/five/changeMode.js";
44
46
  import "../../shared-utils/changeModelCanvasOpacity.js";
45
- const V = (o, r) => new t(o, r);
47
+ const X = (o, r) => new t(o, r);
46
48
  export {
47
- V as MapviewFloorplanPlugin,
48
- V as default
49
+ X as MapviewFloorplanPlugin,
50
+ X as default
49
51
  };
@@ -54,6 +54,8 @@ import "../Components/Normalmage.js";
54
54
  import "../Components/SvgImage.js";
55
55
  import "../Components/RoomLabels/RoomLabels.js";
56
56
  import "../Components/RoomLabels/RoomLabel.js";
57
+ import "../../shared-utils/svelte/resizeObserver.js";
58
+ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
57
59
  import "../Components/RuleLabels/RuleLabels.js";
58
60
  import "../Components/RuleLabels/RuleItem.js";
59
61
  import "../Components/RoomMaterials/RoomMaterial.js";
@@ -78,7 +80,7 @@ function R(h) {
78
80
  const { latitude: s, longitude: t } = h, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
79
81
  return e && i;
80
82
  }
81
- class _t extends k {
83
+ class Ot extends k {
82
84
  constructor(t, e) {
83
85
  var a;
84
86
  super(t);
@@ -355,5 +357,5 @@ class _t extends k {
355
357
  }
356
358
  }
357
359
  export {
358
- _t as Controller
360
+ Ot as Controller
359
361
  };
@@ -18,6 +18,8 @@ import "../Components/Normalmage.js";
18
18
  import "../Components/SvgImage.js";
19
19
  import "../Components/RoomLabels/RoomLabels.js";
20
20
  import "../Components/RoomLabels/RoomLabel.js";
21
+ import "../../shared-utils/svelte/resizeObserver.js";
22
+ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
21
23
  import "../Components/RuleLabels/RuleLabels.js";
22
24
  import "../Components/RuleLabels/RuleItem.js";
23
25
  import "../Components/RoomMaterials/RoomMaterial.js";
@@ -42,8 +44,8 @@ import "../utils/constant.js";
42
44
  import "../../shared-utils/nearlyEqual.js";
43
45
  import "../../shared-utils/five/changeMode.js";
44
46
  import "../../shared-utils/changeModelCanvasOpacity.js";
45
- const V = (o, r) => new t(o, r);
47
+ const X = (o, r) => new t(o, r);
46
48
  export {
47
- V as ModelFloorplanPlugin,
48
- V as default
49
+ X as ModelFloorplanPlugin,
50
+ X as default
49
51
  };
@@ -1,6 +1,7 @@
1
- import { SvelteComponent as G, init as J, safe_not_equal as K, append_styles as L, empty as Q, insert as y, transition_in as u, transition_out as h, check_outros as M, detach as k, onMount as R, element as F, attr as N, add_render_callback as T, add_resize_listener as V, group_outros as P, assign as O, create_component as U, space as X, set_style as q, mount_component as C, append as Y, get_spread_update as H, destroy_component as S } from "../../../vendor/svelte/internal/index.js";
2
- import Z from "./Camera.js";
3
- import x from "./CurrentFloor/CurrentFloor.js";
1
+ import { SvelteComponent as G, init as J, safe_not_equal as K, append_styles as L, empty as Q, insert as I, transition_in as u, transition_out as _, check_outros as F, detach as k, onMount as T, element as N, attr as P, action_destroyer as V, listen as U, group_outros as R, run_all as X, assign as H, create_component as W, space as Y, set_style as b, mount_component as z, append as Z, get_spread_update as C, destroy_component as S } from "../../../vendor/svelte/internal/index.js";
2
+ import x from "./Camera.js";
3
+ import $ from "./CurrentFloor/CurrentFloor.js";
4
+ import { svelteResizeObserver as ee } from "../../../shared-utils/svelte/resizeObserver.js";
4
5
  import "../../Assets/camera.js";
5
6
  import "../../../shared-utils/throttle.js";
6
7
  import "./CurrentFloor/ExtraObjects.js";
@@ -10,170 +11,178 @@ import "../../Components/SvgImage.js";
10
11
  import "../../Components/RoomHighlight/RoomHighlight.js";
11
12
  import "../../Components/RoomHighlight/Room.js";
12
13
  import "../../utils/formatPosition.js";
13
- function $(o) {
14
+ import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
15
+ function te(o) {
14
16
  L(o, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
15
17
  }
16
- function W(o) {
17
- let t, l, n, e = o[6] !== 0 && A(o);
18
+ function A(o) {
19
+ let e, l, r, i, n = o[6] !== 0 && M(o);
18
20
  return {
19
21
  c() {
20
- t = F("div"), e && e.c(), N(t, "class", "plugin-floorplan-radar svelte-1mvqyqq"), T(() => o[12].call(t));
22
+ e = N("div"), n && n.c(), P(e, "class", "plugin-floorplan-radar svelte-1mvqyqq");
21
23
  },
22
- m(i, f) {
23
- y(i, t, f), e && e.m(t, null), l = V(t, o[12].bind(t)), n = !0;
24
+ m(f, m) {
25
+ I(f, e, m), n && n.m(e, null), l = !0, r || (i = [
26
+ V(ee.call(null, e)),
27
+ U(e, "clientWidth", o[11]),
28
+ U(e, "clientHeight", o[12])
29
+ ], r = !0);
24
30
  },
25
- p(i, f) {
26
- i[6] !== 0 ? e ? (e.p(i, f), f & 64 && u(e, 1)) : (e = A(i), e.c(), u(e, 1), e.m(t, null)) : e && (P(), h(e, 1, 1, () => {
27
- e = null;
28
- }), M());
31
+ p(f, m) {
32
+ f[6] !== 0 ? n ? (n.p(f, m), m & 64 && u(n, 1)) : (n = M(f), n.c(), u(n, 1), n.m(e, null)) : n && (R(), _(n, 1, 1, () => {
33
+ n = null;
34
+ }), F());
29
35
  },
30
- i(i) {
31
- n || (u(e), n = !0);
36
+ i(f) {
37
+ l || (u(n), l = !0);
32
38
  },
33
- o(i) {
34
- h(e), n = !1;
39
+ o(f) {
40
+ _(n), l = !1;
35
41
  },
36
- d(i) {
37
- i && k(t), e && e.d(), l();
42
+ d(f) {
43
+ f && k(e), n && n.d(), r = !1, X(i);
38
44
  }
39
45
  };
40
46
  }
41
- function A(o) {
42
- let t, l, n, e, i = `${o[8]}px`, f = `${o[11]}px`, c;
43
- const d = [
47
+ function M(o) {
48
+ let e, l, r, i, n = `${o[7]}px`, f = `${o[10]}px`, m;
49
+ const p = [
44
50
  {
45
51
  five: o[0],
46
- pxmm: o[9],
47
- floorIndex: o[10],
52
+ pxmm: o[8],
53
+ floorIndex: o[9],
48
54
  floorplanData: o[3],
49
55
  hoverEnable: o[2],
50
56
  extraObjects: o[5]
51
57
  }
52
58
  ];
53
- let p = {};
54
- for (let r = 0; r < d.length; r += 1)
55
- p = O(p, d[r]);
56
- l = new x({ props: p });
57
- const _ = [
59
+ let d = {};
60
+ for (let t = 0; t < p.length; t += 1)
61
+ d = H(d, p[t]);
62
+ l = new $({ props: d });
63
+ const h = [
58
64
  {
59
- pxmm: o[9],
65
+ pxmm: o[8],
60
66
  five: o[0],
61
67
  floorplanData: o[3],
62
68
  cameraImageUrl: o[4]
63
69
  }
64
70
  ];
65
- let s = {};
66
- for (let r = 0; r < _.length; r += 1)
67
- s = O(s, _[r]);
68
- return e = new Z({ props: s }), {
71
+ let c = {};
72
+ for (let t = 0; t < h.length; t += 1)
73
+ c = H(c, h[t]);
74
+ return i = new x({ props: c }), {
69
75
  c() {
70
- t = F("div"), U(l.$$.fragment), n = X(), U(e.$$.fragment), N(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(t, "width", i), q(t, "height", f);
76
+ e = N("div"), W(l.$$.fragment), r = Y(), W(i.$$.fragment), P(e, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), b(e, "width", n), b(e, "height", f);
71
77
  },
72
- m(r, m) {
73
- y(r, t, m), C(l, t, null), Y(t, n), C(e, t, null), c = !0;
78
+ m(t, s) {
79
+ I(t, e, s), z(l, e, null), Z(e, r), z(i, e, null), m = !0;
74
80
  },
75
- p(r, m) {
76
- const g = m & 1581 ? H(d, [
81
+ p(t, s) {
82
+ const g = s & 813 ? C(p, [
77
83
  {
78
- five: r[0],
79
- pxmm: r[9],
80
- floorIndex: r[10],
81
- floorplanData: r[3],
82
- hoverEnable: r[2],
83
- extraObjects: r[5]
84
+ five: t[0],
85
+ pxmm: t[8],
86
+ floorIndex: t[9],
87
+ floorplanData: t[3],
88
+ hoverEnable: t[2],
89
+ extraObjects: t[5]
84
90
  }
85
91
  ]) : {};
86
92
  l.$set(g);
87
- const v = m & 537 ? H(_, [
93
+ const q = s & 281 ? C(h, [
88
94
  {
89
- pxmm: r[9],
90
- five: r[0],
91
- floorplanData: r[3],
92
- cameraImageUrl: r[4]
95
+ pxmm: t[8],
96
+ five: t[0],
97
+ floorplanData: t[3],
98
+ cameraImageUrl: t[4]
93
99
  }
94
100
  ]) : {};
95
- e.$set(v), m & 256 && i !== (i = `${r[8]}px`) && q(t, "width", i), m & 2048 && f !== (f = `${r[11]}px`) && q(t, "height", f);
101
+ i.$set(q), s & 128 && n !== (n = `${t[7]}px`) && b(e, "width", n), s & 1024 && f !== (f = `${t[10]}px`) && b(e, "height", f);
96
102
  },
97
- i(r) {
98
- c || (u(l.$$.fragment, r), u(e.$$.fragment, r), c = !0);
103
+ i(t) {
104
+ m || (u(l.$$.fragment, t), u(i.$$.fragment, t), m = !0);
99
105
  },
100
- o(r) {
101
- h(l.$$.fragment, r), h(e.$$.fragment, r), c = !1;
106
+ o(t) {
107
+ _(l.$$.fragment, t), _(i.$$.fragment, t), m = !1;
102
108
  },
103
- d(r) {
104
- r && k(t), S(l), S(e);
109
+ d(t) {
110
+ t && k(e), S(l), S(i);
105
111
  }
106
112
  };
107
113
  }
108
- function ee(o) {
109
- let t, l, n = o[1] && W(o);
114
+ function re(o) {
115
+ let e, l, r = o[1] && A(o);
110
116
  return {
111
117
  c() {
112
- n && n.c(), t = Q();
118
+ r && r.c(), e = Q();
113
119
  },
114
- m(e, i) {
115
- n && n.m(e, i), y(e, t, i), l = !0;
120
+ m(i, n) {
121
+ r && r.m(i, n), I(i, e, n), l = !0;
116
122
  },
117
- p(e, [i]) {
118
- e[1] ? n ? (n.p(e, i), i & 2 && u(n, 1)) : (n = W(e), n.c(), u(n, 1), n.m(t.parentNode, t)) : n && (P(), h(n, 1, 1, () => {
119
- n = null;
120
- }), M());
123
+ p(i, [n]) {
124
+ i[1] ? r ? (r.p(i, n), n & 2 && u(r, 1)) : (r = A(i), r.c(), u(r, 1), r.m(e.parentNode, e)) : r && (R(), _(r, 1, 1, () => {
125
+ r = null;
126
+ }), F());
121
127
  },
122
- i(e) {
123
- l || (u(n), l = !0);
128
+ i(i) {
129
+ l || (u(r), l = !0);
124
130
  },
125
- o(e) {
126
- h(n), l = !1;
131
+ o(i) {
132
+ _(r), l = !1;
127
133
  },
128
- d(e) {
129
- n && n.d(e), e && k(t);
134
+ d(i) {
135
+ r && r.d(i), i && k(e);
130
136
  }
131
137
  };
132
138
  }
133
- function te(o, t, l) {
139
+ let ne = 0;
140
+ function le(o, e, l) {
134
141
  var w, D;
135
- let { five: n } = t, { visible: e } = t, { hoverEnable: i } = t, { floorplanData: f } = t, { cameraImageUrl: c } = t, { extraObjects: d = [] } = t, p = 0, _ = (D = (w = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, s = 0, r = 0, m = 0, g = 0;
136
- function v(a) {
137
- l(10, _ = n.work.observers[a].floorIndex);
142
+ let { five: r } = e, { visible: i } = e, { hoverEnable: n } = e, { floorplanData: f } = e, { cameraImageUrl: m } = e, { extraObjects: p = [] } = e, d = 0, h = (D = (w = r.work.observers[r.getCurrentState().panoIndex]) == null ? void 0 : w.floorIndex) != null ? D : 0, c = 0, t = 0, s = 0;
143
+ function g(a) {
144
+ l(9, h = r.work.observers[a].floorIndex);
138
145
  }
139
- R(() => (n.on("panoArrived", v), () => {
140
- n.off("panoArrived", v);
146
+ T(() => (r.on("panoArrived", g), () => {
147
+ r.off("panoArrived", g);
141
148
  }));
142
- function B() {
143
- s = this.clientWidth, r = this.clientHeight, l(6, s), l(7, r);
144
- }
149
+ const q = (a) => {
150
+ l(6, c = a.detail);
151
+ }, B = (a) => {
152
+ l(10, s = a.detail);
153
+ };
145
154
  return o.$$set = (a) => {
146
- "five" in a && l(0, n = a.five), "visible" in a && l(1, e = a.visible), "hoverEnable" in a && l(2, i = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, c = a.cameraImageUrl), "extraObjects" in a && l(5, d = a.extraObjects);
155
+ "five" in a && l(0, r = a.five), "visible" in a && l(1, i = a.visible), "hoverEnable" in a && l(2, n = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, m = a.cameraImageUrl), "extraObjects" in a && l(5, p = a.extraObjects);
147
156
  }, o.$$.update = () => {
148
- if (o.$$.dirty & 456) {
149
- const a = Math.min(s, r), { max: j, min: z } = f.bounding, b = j.x - z.x, I = j.y - z.y, E = function() {
150
- return b > I ? [a, a / b * I] : [a / I * b, a];
157
+ if (o.$$.dirty & 200) {
158
+ const a = Math.min(c, ne), { max: j, min: O } = f.bounding, v = j.x - O.x, y = j.y - O.y, E = function() {
159
+ return v > y ? [a, a / v * y] : [a / y * v, a];
151
160
  }();
152
- l(8, m = E[0]), l(11, g = E[1]), l(9, p = m / b);
161
+ l(7, t = E[0]), l(10, s = E[1]), l(8, d = t / v);
153
162
  }
154
163
  }, [
155
- n,
156
- e,
164
+ r,
157
165
  i,
166
+ n,
158
167
  f,
168
+ m,
169
+ p,
159
170
  c,
171
+ t,
160
172
  d,
173
+ h,
161
174
  s,
162
- r,
163
- m,
164
- p,
165
- _,
166
- g,
175
+ q,
167
176
  B
168
177
  ];
169
178
  }
170
- class _e extends G {
171
- constructor(t) {
179
+ class qe extends G {
180
+ constructor(e) {
172
181
  super(), J(
173
182
  this,
174
- t,
175
- te,
176
- ee,
183
+ e,
184
+ le,
185
+ re,
177
186
  K,
178
187
  {
179
188
  five: 0,
@@ -183,10 +192,10 @@ class _e extends G {
183
192
  cameraImageUrl: 4,
184
193
  extraObjects: 5
185
194
  },
186
- $
195
+ te
187
196
  );
188
197
  }
189
198
  }
190
199
  export {
191
- _e as default
200
+ qe as default
192
201
  };
@@ -43,11 +43,13 @@ import "../Components/SvgImage.js";
43
43
  import "../Components/RoomHighlight/RoomHighlight.js";
44
44
  import "../Components/RoomHighlight/Room.js";
45
45
  import "../utils/formatPosition.js";
46
+ import "../../shared-utils/svelte/resizeObserver.js";
47
+ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
46
48
  import "../../shared-utils/isTruelyObject.js";
47
49
  import "../../base/BasePlugin.js";
48
50
  import "../../shared-utils/Subscribe.js";
49
51
  import "../Assets/floorplanExtraObject.js";
50
- class K extends E {
52
+ class V extends E {
51
53
  constructor(t, e) {
52
54
  super(t);
53
55
  a(this, "name", "panoFloorplanRadarPlugin");
@@ -175,5 +177,5 @@ class K extends E {
175
177
  }
176
178
  }
177
179
  export {
178
- K as Controller
180
+ V as Controller
179
181
  };
@@ -12,6 +12,8 @@ import "../Components/SvgImage.js";
12
12
  import "../Components/RoomHighlight/RoomHighlight.js";
13
13
  import "../Components/RoomHighlight/Room.js";
14
14
  import "../utils/formatPosition.js";
15
+ import "../../shared-utils/svelte/resizeObserver.js";
16
+ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
15
17
  import "../../shared-utils/equal.js";
16
18
  import "../../shared-utils/isTruelyObject.js";
17
19
  import "../../base/BasePluginWithData.js";
@@ -19,8 +21,8 @@ import "../../base/BasePlugin.js";
19
21
  import "../../shared-utils/Subscribe.js";
20
22
  import "../utils/formatData.js";
21
23
  import "../Assets/floorplanExtraObject.js";
22
- const j = (o, r) => new t(o, r);
24
+ const q = (o, r) => new t(o, r);
23
25
  export {
24
- j as PanoFloorplanRadarPlugin,
25
- j as default
26
+ q as PanoFloorplanRadarPlugin,
27
+ q as default
26
28
  };
@@ -53,6 +53,8 @@ import "../Components/Normalmage.js";
53
53
  import "../Components/SvgImage.js";
54
54
  import "../Components/RoomLabels/RoomLabels.js";
55
55
  import "../Components/RoomLabels/RoomLabel.js";
56
+ import "../../shared-utils/svelte/resizeObserver.js";
57
+ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
56
58
  import "../Components/RuleLabels/RuleLabels.js";
57
59
  import "../Components/RuleLabels/RuleItem.js";
58
60
  import "../Components/RoomMaterials/RoomMaterial.js";
@@ -67,7 +69,7 @@ import "../../shared-utils/tap.js";
67
69
  import "../../base/BasePlugin.js";
68
70
  import "../../shared-utils/Subscribe.js";
69
71
  import "../../shared-utils/nearlyEqual.js";
70
- class wt extends L {
72
+ class At extends L {
71
73
  constructor(t, e) {
72
74
  super(t);
73
75
  i(this, "name", "topviewFloorplanPlugin");
@@ -310,5 +312,5 @@ class wt extends L {
310
312
  }
311
313
  }
312
314
  export {
313
- wt as Controller
315
+ At as Controller
314
316
  };
@@ -18,6 +18,8 @@ import "../Components/Normalmage.js";
18
18
  import "../Components/SvgImage.js";
19
19
  import "../Components/RoomLabels/RoomLabels.js";
20
20
  import "../Components/RoomLabels/RoomLabel.js";
21
+ import "../../shared-utils/svelte/resizeObserver.js";
22
+ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
21
23
  import "../Components/RuleLabels/RuleLabels.js";
22
24
  import "../Components/RuleLabels/RuleItem.js";
23
25
  import "../Components/RoomMaterials/RoomMaterial.js";
@@ -39,8 +41,8 @@ import "../../shared-utils/five/changeMode.js";
39
41
  import "../../shared-utils/nearlyEqual.js";
40
42
  import "../../shared-utils/getPxmm.js";
41
43
  import "../../shared-utils/changeModelCanvasOpacity.js";
42
- const R = (o, r) => new t(o, r);
44
+ const U = (o, r) => new t(o, r);
43
45
  export {
44
- R as TopviewFloorplanPlugin,
45
- R as default
46
+ U as TopviewFloorplanPlugin,
47
+ U as default
46
48
  };
@@ -1,2 +1,3 @@
1
1
  import "../vendor/svelte/internal/index.js";
2
+ import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
2
3
  import "three";