@realsee/dnalogel 2.7.3 → 2.8.1

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 (274) hide show
  1. package/dist/floorplan/typings/index.d.ts +4 -0
  2. package/dist/index.cjs.js +52 -52
  3. package/dist/index.js +4025 -3964
  4. package/dist/index.umd.js +39 -39
  5. package/docs/classes/CSS3DRender.html +31 -31
  6. package/docs/classes/CruisePluginController.html +24 -24
  7. package/docs/classes/Magnifier.html +20 -20
  8. package/docs/classes/ModelRoomLabelController.html +11 -11
  9. package/docs/classes/Object3DHelperController.html +24 -24
  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 +47 -47
  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 +18 -18
  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 +4 -4
  34. package/docs/functions/CameraMovementPlugin.html +4 -4
  35. package/docs/functions/CruisePlugin.html +4 -4
  36. package/docs/functions/GuideLinePlugin.html +5 -5
  37. package/docs/functions/ItemLabelPlugin.html +4 -4
  38. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  39. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  40. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  41. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  42. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  43. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  44. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  45. package/docs/functions/ModelViewPlugin.html +4 -4
  46. package/docs/functions/Object3DHelperPlugin.html +4 -4
  47. package/docs/functions/PanoCompassPlugin.html +4 -4
  48. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  49. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  50. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  51. package/docs/functions/PanoMeasurePlugin.html +4 -4
  52. package/docs/functions/PanoRulerPlugin.html +4 -4
  53. package/docs/functions/PanoRulerProPlugin.html +4 -4
  54. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  55. package/docs/functions/PanoTagPlugin.html +4 -4
  56. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  57. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  58. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  59. package/docs/functions/Util.getFrameTime.html +5 -5
  60. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  61. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  62. package/docs/functions/Util.isNil.html +5 -5
  63. package/docs/functions/Util.nextFrame.html +5 -5
  64. package/docs/functions/Util.notNil.html +5 -5
  65. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  66. package/docs/functions/Util.tweenProgress.html +5 -5
  67. package/docs/functions/pluginFlag.html +5 -5
  68. package/docs/index.html +4 -4
  69. package/docs/interfaces/AddTagConfig.html +6 -6
  70. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  71. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  72. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  73. package/docs/interfaces/EventMap.html +15 -15
  74. package/docs/interfaces/FloorplanBounding.html +8 -8
  75. package/docs/interfaces/FloorplanData.html +10 -10
  76. package/docs/interfaces/FloorplanEntrance.html +11 -11
  77. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  78. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  79. package/docs/interfaces/FloorplanFloorData.html +9 -9
  80. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  81. package/docs/interfaces/FloorplanObserver.html +9 -9
  82. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  83. package/docs/interfaces/FloorplanPosition.html +7 -7
  84. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  85. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  86. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  87. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  88. package/docs/interfaces/FloorplanServerData.html +7 -7
  89. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  90. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  91. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  92. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  93. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  94. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  95. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  96. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  97. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  98. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  99. package/docs/interfaces/HelperOffset.html +8 -8
  100. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  101. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  102. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  103. package/docs/interfaces/MinMax.html +7 -7
  104. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  105. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  106. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  107. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  108. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  109. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  110. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  111. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  112. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  113. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  114. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  115. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  116. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  117. package/docs/interfaces/Object3DHelperState.html +8 -8
  118. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  119. package/docs/interfaces/PaintBrushAction.html +12 -12
  120. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  121. package/docs/interfaces/PaintBrushState.html +10 -10
  122. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  123. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  124. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  125. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  126. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  127. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  128. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  129. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  130. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  131. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  132. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  133. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  134. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  135. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  136. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  137. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  138. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  139. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  140. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  141. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  142. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  143. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  144. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  145. package/docs/interfaces/Point.html +8 -8
  146. package/docs/interfaces/Room.html +9 -9
  147. package/docs/interfaces/RoomInfo.html +7 -7
  148. package/docs/interfaces/RoomLabel.html +14 -14
  149. package/docs/interfaces/RoomRules.html +5 -5
  150. package/docs/interfaces/Rooms.html +5 -5
  151. package/docs/interfaces/Scissor.html +9 -9
  152. package/docs/interfaces/State.html +8 -8
  153. package/docs/interfaces/TagCache.html +12 -12
  154. package/docs/interfaces/TagConfig.html +10 -10
  155. package/docs/interfaces/TagIconUrl.html +9 -9
  156. package/docs/interfaces/Tags.html +9 -9
  157. package/docs/interfaces/TemporaryState.html +6 -6
  158. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  159. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  160. package/docs/modules/Util.html +5 -5
  161. package/docs/modules.html +4 -4
  162. package/docs/types/ArrayPosition.html +5 -5
  163. package/docs/types/AudioAppearance.html +5 -5
  164. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  165. package/docs/types/CSS3DRenderExportType.html +5 -5
  166. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  167. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  168. package/docs/types/ClassFunctionParameters.html +5 -5
  169. package/docs/types/Color.html +5 -5
  170. package/docs/types/ContentTypeConfigKey.html +5 -5
  171. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  172. package/docs/types/ContentTypeMap.html +5 -5
  173. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  174. package/docs/types/Create3DElementReturnType.html +5 -5
  175. package/docs/types/CruisePluginExportType.html +5 -5
  176. package/docs/types/Direction-1.html +5 -5
  177. package/docs/types/Direction4.html +5 -5
  178. package/docs/types/FloorplanRuleLabels.html +5 -5
  179. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  180. package/docs/types/GuideLinePluginExportType.html +5 -5
  181. package/docs/types/HelperEventMap.html +5 -5
  182. package/docs/types/LoadTagConfig.html +5 -5
  183. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  184. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  185. package/docs/types/MediaData.html +5 -5
  186. package/docs/types/MediaStore.html +5 -5
  187. package/docs/types/ModelElement.html +5 -5
  188. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  189. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  190. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  191. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  192. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  193. package/docs/types/MoveArgs.html +5 -5
  194. package/docs/types/MoveOpts.html +5 -5
  195. package/docs/types/Object3DHelperEventMap.html +5 -5
  196. package/docs/types/ObjectFit.html +5 -5
  197. package/docs/types/PaintBrushEventMap.html +5 -5
  198. package/docs/types/PanoCompassPluginData.html +5 -5
  199. package/docs/types/PanoCompassPluginExportType.html +5 -5
  200. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  201. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  202. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  203. package/docs/types/PanoIndex.html +5 -5
  204. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  205. package/docs/types/PanoMeasureReturnType.html +5 -5
  206. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  207. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  208. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  209. package/docs/types/PlaneTag.html +5 -5
  210. package/docs/types/PlaneTagElement.html +5 -5
  211. package/docs/types/Point2DElement.html +5 -5
  212. package/docs/types/Point2DTag.html +5 -5
  213. package/docs/types/Point3DElement.html +5 -5
  214. package/docs/types/Point3DTag.html +5 -5
  215. package/docs/types/PointTag.html +5 -5
  216. package/docs/types/PointTagElement.html +5 -5
  217. package/docs/types/Position.html +5 -5
  218. package/docs/types/RotateArgs.html +5 -5
  219. package/docs/types/RotateOpts.html +5 -5
  220. package/docs/types/RuleLabelsKey.html +5 -5
  221. package/docs/types/RuleLabelsValue.html +5 -5
  222. package/docs/types/StickType.html +5 -5
  223. package/docs/types/Tag.html +5 -5
  224. package/docs/types/Tag2D.html +5 -5
  225. package/docs/types/Tag3D.html +5 -5
  226. package/docs/types/TagContentType.html +5 -5
  227. package/docs/types/TagDimensionType.html +5 -5
  228. package/docs/types/TagElement.html +5 -5
  229. package/docs/types/TagEvents.html +5 -5
  230. package/docs/types/TagGLTFObject.html +5 -5
  231. package/docs/types/TagHooks.html +5 -5
  232. package/docs/types/TagIconSize.html +5 -5
  233. package/docs/types/TagId.html +5 -5
  234. package/docs/types/TagPointType.html +5 -5
  235. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  236. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  237. package/docs/types/WorkCode.html +5 -5
  238. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  239. package/docs/variables/PLUGIN.html +5 -5
  240. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  241. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  242. package/docs/variables/VERSION.html +5 -5
  243. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  244. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  245. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  246. package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
  247. package/libs/floorplan/Components/CurrentFloor.js +128 -120
  248. package/libs/floorplan/Components/Main.js +145 -137
  249. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +129 -98
  250. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +114 -106
  251. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +4 -2
  252. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -0
  253. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -0
  254. package/libs/floorplan/typings/index.d.ts +4 -0
  255. package/package.json +1 -1
  256. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
  257. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
  258. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
  259. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
  260. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
  261. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
  262. package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
  263. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
  264. package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
  265. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
  266. package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
  267. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
  268. package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
  269. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
  270. package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
  271. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
  272. package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
  273. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
  274. package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
@@ -1,152 +1,183 @@
1
- import { SvelteComponent as O, init as Q, safe_not_equal as Z, append_styles as $, element as k, attr as C, set_style as _, insert as p, noop as E, detach as g, onMount as ee, binding_callbacks as te, HtmlTag as oe, empty as ne, text as V, space as ie, append as A, set_data as j } from "../../../vendor/svelte/internal/index.js";
2
- function le(i) {
3
- $(i, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
1
+ import { SvelteComponent as ie, init as oe, safe_not_equal as ne, append_styles as le, element as I, attr as N, add_render_callback as fe, set_style as p, insert as d, add_resize_listener as ce, noop as C, detach as b, HtmlTag as re, empty as M, space as ae, text as S, append as q, set_data as U } from "../../../vendor/svelte/internal/index.js";
2
+ function me(l) {
3
+ le(l, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
4
4
  }
5
- function se(i) {
6
- let e, n = i[4].outerHTML + "", l;
5
+ function se(l) {
6
+ let e, o = l[8].outerHTML + "", n;
7
7
  return {
8
8
  c() {
9
- e = new oe(!1), l = ne(), e.a = l;
9
+ e = new re(!1), n = M(), e.a = n;
10
10
  },
11
- m(t, o) {
12
- e.m(n, t, o), p(t, l, o);
11
+ m(i, t) {
12
+ e.m(o, i, t), d(i, n, t);
13
13
  },
14
- p(t, o) {
15
- o & 16 && n !== (n = t[4].outerHTML + "") && e.p(n);
14
+ p(i, t) {
15
+ t & 256 && o !== (o = i[8].outerHTML + "") && e.p(o);
16
+ },
17
+ d(i) {
18
+ i && b(n), i && e.d();
19
+ }
20
+ };
21
+ }
22
+ function ue(l) {
23
+ let e, o, n = l[1] && V(l), i = l[0] && j(l);
24
+ return {
25
+ c() {
26
+ n && n.c(), e = ae(), i && i.c(), o = M();
27
+ },
28
+ m(t, f) {
29
+ n && n.m(t, f), d(t, e, f), i && i.m(t, f), d(t, o, f);
30
+ },
31
+ p(t, f) {
32
+ t[1] ? n ? n.p(t, f) : (n = V(t), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), t[0] ? i ? i.p(t, f) : (i = j(t), i.c(), i.m(o.parentNode, o)) : i && (i.d(1), i = null);
16
33
  },
17
34
  d(t) {
18
- t && g(l), t && e.d();
35
+ n && n.d(t), t && b(e), i && i.d(t), t && b(o);
19
36
  }
20
37
  };
21
38
  }
22
- function ce(i) {
23
- let e, n = i[0].name + "", l, t, o, a;
39
+ function V(l) {
40
+ let e, o = l[2].name + "", n;
24
41
  return {
25
42
  c() {
26
- e = k("span"), l = V(n), t = ie(), o = k("span"), a = V(i[5]), C(e, "class", "floorplan-plugin__room-name"), C(o, "class", "floorplan-plugin__room-size svelte-12pzct5");
43
+ e = I("span"), n = S(o), N(e, "class", "floorplan-plugin__room-name");
27
44
  },
28
- m(f, c) {
29
- p(f, e, c), A(e, l), p(f, t, c), p(f, o, c), A(o, a);
45
+ m(i, t) {
46
+ d(i, e, t), q(e, n);
30
47
  },
31
- p(f, c) {
32
- c & 1 && n !== (n = f[0].name + "") && j(l, n), c & 32 && j(a, f[5]);
48
+ p(i, t) {
49
+ t & 4 && o !== (o = i[2].name + "") && U(n, o);
33
50
  },
34
- d(f) {
35
- f && g(e), f && g(t), f && g(o);
51
+ d(i) {
52
+ i && b(e);
53
+ }
54
+ };
55
+ }
56
+ function j(l) {
57
+ let e, o;
58
+ return {
59
+ c() {
60
+ e = I("span"), o = S(l[7]), N(e, "class", "floorplan-plugin__room-size svelte-12pzct5");
61
+ },
62
+ m(n, i) {
63
+ d(n, e, i), q(e, o);
64
+ },
65
+ p(n, i) {
66
+ i & 128 && U(o, n[7]);
67
+ },
68
+ d(n) {
69
+ n && b(e);
36
70
  }
37
71
  };
38
72
  }
39
- function fe(i) {
40
- let e;
41
- function n(o, a) {
42
- if (o[1] === void 0)
43
- return ce;
44
- if (o[4])
73
+ function de(l) {
74
+ let e, o;
75
+ function n(f, r) {
76
+ if (f[3] === void 0)
77
+ return ue;
78
+ if (f[8])
45
79
  return se;
46
80
  }
47
- let l = n(i), t = l && l(i);
81
+ let i = n(l), t = i && i(l);
48
82
  return {
49
83
  c() {
50
- e = k("div"), t && t.c(), C(e, "class", "floorplan-plugin__room-label-item svelte-12pzct5"), _(e, "left", i[6]), _(e, "top", i[7]), _(e, "font-size", i[8]), _(e, "opacity", i[3] ? "1" : "0");
84
+ e = I("div"), t && t.c(), N(e, "class", "floorplan-plugin__room-label-item svelte-12pzct5"), fe(() => l[19].call(e)), p(e, "left", l[9]), p(e, "top", l[10]), p(e, "font-size", l[11]), p(e, "opacity", l[6] ? "1" : "0");
51
85
  },
52
- m(o, a) {
53
- p(o, e, a), t && t.m(e, null), i[16](e);
86
+ m(f, r) {
87
+ d(f, e, r), t && t.m(e, null), o = ce(e, l[19].bind(e));
54
88
  },
55
- p(o, [a]) {
56
- l === (l = n(o)) && t ? t.p(o, a) : (t && t.d(1), t = l && l(o), t && (t.c(), t.m(e, null))), a & 8 && _(e, "opacity", o[3] ? "1" : "0");
89
+ p(f, [r]) {
90
+ i === (i = n(f)) && t ? t.p(f, r) : (t && t.d(1), t = i && i(f), t && (t.c(), t.m(e, null))), r & 64 && p(e, "opacity", f[6] ? "1" : "0");
57
91
  },
58
- i: E,
59
- o: E,
60
- d(o) {
61
- o && g(e), t && t.d(), i[16](null);
92
+ i: C,
93
+ o: C,
94
+ d(f) {
95
+ f && b(e), t && t.d(), o();
62
96
  }
63
97
  };
64
98
  }
65
- function ae(i, e) {
66
- const n = i[0], l = i[1];
67
- let t = !1;
68
- for (let o = 0, a = e.length - 1; o < e.length; a = o++) {
69
- const f = e[o][0], c = e[o][1], h = e[a][0], r = e[a][1];
70
- c > l != r > l && n < (h - f) * (l - c) / (r - c) + f && (t = !t);
99
+ function be(l, e) {
100
+ const o = l[0], n = l[1];
101
+ let i = !1;
102
+ for (let t = 0, f = e.length - 1; t < e.length; f = t++) {
103
+ const r = e[t][0], m = e[t][1], R = e[f][0], _ = e[f][1];
104
+ m > n != _ > n && o < (R - r) * (n - m) / (_ - m) + r && (i = !i);
71
105
  }
72
- return t;
106
+ return i;
73
107
  }
74
- function re(i, e, n) {
75
- let l, t, o, a, { pxmm: f } = e, { room: c } = e, { hoveredRoom: h } = e, { getRoomAreaText: r } = e, { getLabelElement: m } = e, { adaptiveRoomLabelVisibleEnable: v } = e;
76
- function M(s, b) {
77
- if (b.width === 0 || b.height === 0)
108
+ function _e(l, e, o) {
109
+ let n, i, t, f, r, { pxmm: m } = e, { roomAreaEnable: R } = e, { roomNameEnable: _ } = e, { room: a } = e, { hoveredRoom: H } = e, { getRoomAreaText: w } = e, { getLabelElement: h } = e, { adaptiveRoomLabelVisibleEnable: A } = e;
110
+ function X(c, s) {
111
+ if (s.width === 0 || s.height === 0)
78
112
  return () => !1;
79
- const X = s.path.map(({ x: P, y: d }) => [P, d]), Y = s.roomLabel.position, { x: B, y: F } = Y, { width: G, height: J } = b, R = G / 2, L = J / 2;
80
- return function(d) {
81
- const z = B * d, w = F * d, K = X.map(([T, N]) => [T * d, N * d]);
113
+ const K = c.path.map(({ x: W, y: u }) => [W, u]), O = c.roomLabel.position, { x: Q, y: Z } = O, { width: x, height: $ } = s, z = x / 2, E = $ / 2;
114
+ return function(u) {
115
+ const L = Q * u, k = Z * u, ee = K.map(([T, te]) => [T * u, te * u]);
82
116
  return [
83
- [z + R, w - L],
84
- [z - R, w - L],
85
- [z - R, w + L],
86
- [z + R, w + L]
87
- ].every((T) => ae(T, K));
117
+ [L + z, k - E],
118
+ [L - z, k - E],
119
+ [L - z, k + E],
120
+ [L + z, k + E]
121
+ ].every((T) => be(T, ee));
88
122
  };
89
123
  }
90
- const W = document.body.clientWidth, x = document.body.clientHeight, I = c.roomLabel, D = I.positionInImage.x * 100 + "%", S = I.positionInImage.y * 100 + "%", q = (W < 500 || x < 500 ? 10 : 14) / 16 + "rem";
91
- let H = !1, u, y;
92
- h.subscribe(function(b) {
93
- n(13, H = !!b && b.id === c.id);
94
- }), ee(() => {
95
- const s = u == null ? void 0 : u.getClientRects()[0];
96
- n(14, y = {
97
- width: s.width,
98
- height: s.height
99
- });
124
+ const Y = document.body.clientWidth, B = document.body.clientHeight, P = a.roomLabel, D = P.positionInImage.x * 100 + "%", F = P.positionInImage.y * 100 + "%", G = (Y < 500 || B < 500 ? 10 : 14) + "px";
125
+ let y = 0, g = 0, v = !1;
126
+ H.subscribe(function(s) {
127
+ o(16, v = !!s && s.id === a.id);
100
128
  });
101
- function U(s) {
102
- te[s ? "unshift" : "push"](() => {
103
- u = s, n(2, u);
104
- });
129
+ function J() {
130
+ y = this.clientWidth, g = this.clientHeight, o(4, y), o(5, g);
105
131
  }
106
- return i.$$set = (s) => {
107
- "pxmm" in s && n(9, f = s.pxmm), "room" in s && n(0, c = s.room), "hoveredRoom" in s && n(10, h = s.hoveredRoom), "getRoomAreaText" in s && n(11, r = s.getRoomAreaText), "getLabelElement" in s && n(1, m = s.getLabelElement), "adaptiveRoomLabelVisibleEnable" in s && n(12, v = s.adaptiveRoomLabelVisibleEnable);
108
- }, i.$$.update = () => {
109
- i.$$.dirty & 2049 && n(5, l = c.size ? r(c.size) : ""), i.$$.dirty & 16385 && n(15, t = y ? M(c, y) : void 0), i.$$.dirty & 3 && n(4, o = m == null ? void 0 : m(c)), i.$$.dirty & 45568 && n(3, a = v ? H ? !0 : !!(t != null && t(f)) : !0);
132
+ return l.$$set = (c) => {
133
+ "pxmm" in c && o(12, m = c.pxmm), "roomAreaEnable" in c && o(0, R = c.roomAreaEnable), "roomNameEnable" in c && o(1, _ = c.roomNameEnable), "room" in c && o(2, a = c.room), "hoveredRoom" in c && o(13, H = c.hoveredRoom), "getRoomAreaText" in c && o(14, w = c.getRoomAreaText), "getLabelElement" in c && o(3, h = c.getLabelElement), "adaptiveRoomLabelVisibleEnable" in c && o(15, A = c.adaptiveRoomLabelVisibleEnable);
134
+ }, l.$$.update = () => {
135
+ l.$$.dirty & 48 && console.log("\u{1F436} ==> clientWidth, clientHeight:", y, g), l.$$.dirty & 12 && o(8, n = h == null ? void 0 : h(a)), l.$$.dirty & 16388 && o(7, i = a.size ? w(a.size) : ""), l.$$.dirty & 48 && o(18, t = { width: y, height: g }), l.$$.dirty & 262148 && o(17, f = t ? X(a, t) : void 0), l.$$.dirty & 233472 && o(6, r = A ? v ? !0 : !!(f != null && f(m)) : !0);
110
136
  }, [
111
- c,
112
- m,
113
- u,
137
+ R,
138
+ _,
114
139
  a,
115
- o,
116
- l,
117
- D,
118
- S,
119
- q,
120
- f,
121
140
  h,
141
+ y,
142
+ g,
122
143
  r,
123
- v,
144
+ i,
145
+ n,
146
+ D,
147
+ F,
148
+ G,
149
+ m,
124
150
  H,
125
- y,
151
+ w,
152
+ A,
153
+ v,
154
+ f,
126
155
  t,
127
- U
156
+ J
128
157
  ];
129
158
  }
130
- class be extends O {
159
+ class ge extends ie {
131
160
  constructor(e) {
132
- super(), Q(
161
+ super(), oe(
133
162
  this,
134
163
  e,
135
- re,
136
- fe,
137
- Z,
164
+ _e,
165
+ de,
166
+ ne,
138
167
  {
139
- pxmm: 9,
140
- room: 0,
141
- hoveredRoom: 10,
142
- getRoomAreaText: 11,
143
- getLabelElement: 1,
144
- adaptiveRoomLabelVisibleEnable: 12
168
+ pxmm: 12,
169
+ roomAreaEnable: 0,
170
+ roomNameEnable: 1,
171
+ room: 2,
172
+ hoveredRoom: 13,
173
+ getRoomAreaText: 14,
174
+ getLabelElement: 3,
175
+ adaptiveRoomLabelVisibleEnable: 15
145
176
  },
146
- le
177
+ me
147
178
  );
148
179
  }
149
180
  }
150
181
  export {
151
- be as RoomLabel
182
+ ge as RoomLabel
152
183
  };
@@ -1,174 +1,182 @@
1
- import { SvelteComponent as A, init as T, safe_not_equal as V, append_styles as D, empty as v, insert as b, transition_in as u, group_outros as L, transition_out as d, check_outros as k, detach as c, element as z, attr as I, add_render_callback as w, add_resize_listener as W, update_keyed_each as q, outro_and_destroy_block as C, assign as M, create_component as N, mount_component as S, get_spread_update as j, destroy_component as B } from "../../../vendor/svelte/internal/index.js";
2
- import { RoomLabel as F } from "./RoomLabel.js";
3
- function G(a) {
4
- D(a, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
1
+ import { SvelteComponent as x, init as D, safe_not_equal as p, append_styles as z, empty as v, insert as c, transition_in as u, group_outros as A, transition_out as d, check_outros as y, detach as h, element as I, attr as w, add_render_callback as W, add_resize_listener as q, update_keyed_each as C, outro_and_destroy_block as M, assign as S, create_component as j, mount_component as B, get_spread_update as F, destroy_component as G } from "../../../vendor/svelte/internal/index.js";
2
+ import { RoomLabel as H } from "./RoomLabel.js";
3
+ function J(i) {
4
+ z(i, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
5
5
  }
6
- function g(a, e, o) {
7
- const t = a.slice();
8
- return t[10] = e[o], t;
6
+ function R(i, e, o) {
7
+ const l = i.slice();
8
+ return l[12] = e[o], l;
9
9
  }
10
- function R(a) {
11
- let e, o = [], t = /* @__PURE__ */ new Map(), i, m, s = a[6];
12
- const r = (l) => l[10].id;
13
- for (let l = 0; l < s.length; l += 1) {
14
- let n = g(a, s, l), _ = r(n);
15
- t.set(_, o[l] = p(_, n));
10
+ function L(i) {
11
+ let e, o = [], l = /* @__PURE__ */ new Map(), a, f, b = i[8];
12
+ const r = (t) => t[12].id;
13
+ for (let t = 0; t < b.length; t += 1) {
14
+ let n = R(i, b, t), _ = r(n);
15
+ l.set(_, o[t] = k(_, n));
16
16
  }
17
17
  return {
18
18
  c() {
19
- e = z("div");
20
- for (let l = 0; l < o.length; l += 1)
21
- o[l].c();
22
- I(e, "class", "floorplan-plugin__room-labels svelte-13xux0b"), w(() => a[9].call(e));
19
+ e = I("div");
20
+ for (let t = 0; t < o.length; t += 1)
21
+ o[t].c();
22
+ w(e, "class", "floorplan-plugin__room-labels svelte-13xux0b"), W(() => i[11].call(e));
23
23
  },
24
- m(l, n) {
25
- b(l, e, n);
24
+ m(t, n) {
25
+ c(t, e, n);
26
26
  for (let _ = 0; _ < o.length; _ += 1)
27
27
  o[_].m(e, null);
28
- i = W(e, a[9].bind(e)), m = !0;
28
+ a = q(e, i[11].bind(e)), f = !0;
29
29
  },
30
- p(l, n) {
31
- n & 111 && (s = l[6], L(), o = q(o, n, r, 1, l, s, t, e, C, p, null, g), k());
30
+ p(t, n) {
31
+ n & 447 && (b = t[8], A(), o = C(o, n, r, 1, t, b, l, e, M, k, null, R), y());
32
32
  },
33
- i(l) {
34
- if (!m) {
35
- for (let n = 0; n < s.length; n += 1)
33
+ i(t) {
34
+ if (!f) {
35
+ for (let n = 0; n < b.length; n += 1)
36
36
  u(o[n]);
37
- m = !0;
37
+ f = !0;
38
38
  }
39
39
  },
40
- o(l) {
40
+ o(t) {
41
41
  for (let n = 0; n < o.length; n += 1)
42
42
  d(o[n]);
43
- m = !1;
43
+ f = !1;
44
44
  },
45
- d(l) {
46
- l && c(e);
45
+ d(t) {
46
+ t && h(e);
47
47
  for (let n = 0; n < o.length; n += 1)
48
48
  o[n].d();
49
- i();
49
+ a();
50
50
  }
51
51
  };
52
52
  }
53
- function p(a, e) {
54
- let o, t, i;
55
- const m = [
53
+ function k(i, e) {
54
+ let o, l, a;
55
+ const f = [
56
56
  {
57
- pxmm: e[5],
58
- room: e[10],
59
- getLabelElement: e[2],
60
- getRoomAreaText: e[1],
61
- hoveredRoom: e[0],
62
- adaptiveRoomLabelVisibleEnable: e[3]
57
+ pxmm: e[7],
58
+ room: e[12],
59
+ hoveredRoom: e[2],
60
+ roomAreaEnable: e[0],
61
+ roomNameEnable: e[1],
62
+ getLabelElement: e[4],
63
+ getRoomAreaText: e[3],
64
+ adaptiveRoomLabelVisibleEnable: e[5]
63
65
  }
64
66
  ];
65
- let s = {};
66
- for (let r = 0; r < m.length; r += 1)
67
- s = M(s, m[r]);
68
- return t = new F({ props: s }), {
69
- key: a,
67
+ let b = {};
68
+ for (let r = 0; r < f.length; r += 1)
69
+ b = S(b, f[r]);
70
+ return l = new H({ props: b }), {
71
+ key: i,
70
72
  first: null,
71
73
  c() {
72
- o = v(), N(t.$$.fragment), this.first = o;
74
+ o = v(), j(l.$$.fragment), this.first = o;
73
75
  },
74
- m(r, l) {
75
- b(r, o, l), S(t, r, l), i = !0;
76
+ m(r, t) {
77
+ c(r, o, t), B(l, r, t), a = !0;
76
78
  },
77
- p(r, l) {
79
+ p(r, t) {
78
80
  e = r;
79
- const n = l & 111 ? j(m, [
81
+ const n = t & 447 ? F(f, [
80
82
  {
81
- pxmm: e[5],
82
- room: e[10],
83
- getLabelElement: e[2],
84
- getRoomAreaText: e[1],
85
- hoveredRoom: e[0],
86
- adaptiveRoomLabelVisibleEnable: e[3]
83
+ pxmm: e[7],
84
+ room: e[12],
85
+ hoveredRoom: e[2],
86
+ roomAreaEnable: e[0],
87
+ roomNameEnable: e[1],
88
+ getLabelElement: e[4],
89
+ getRoomAreaText: e[3],
90
+ adaptiveRoomLabelVisibleEnable: e[5]
87
91
  }
88
92
  ]) : {};
89
- t.$set(n);
93
+ l.$set(n);
90
94
  },
91
95
  i(r) {
92
- i || (u(t.$$.fragment, r), i = !0);
96
+ a || (u(l.$$.fragment, r), a = !0);
93
97
  },
94
98
  o(r) {
95
- d(t.$$.fragment, r), i = !1;
99
+ d(l.$$.fragment, r), a = !1;
96
100
  },
97
101
  d(r) {
98
- r && c(o), B(t, r);
102
+ r && h(o), G(l, r);
99
103
  }
100
104
  };
101
105
  }
102
- function H(a) {
103
- let e, o, t = a[6] && R(a);
106
+ function K(i) {
107
+ let e, o, l = i[8] && L(i);
104
108
  return {
105
109
  c() {
106
- t && t.c(), e = v();
110
+ l && l.c(), e = v();
107
111
  },
108
- m(i, m) {
109
- t && t.m(i, m), b(i, e, m), o = !0;
112
+ m(a, f) {
113
+ l && l.m(a, f), c(a, e, f), o = !0;
110
114
  },
111
- p(i, [m]) {
112
- i[6] ? t ? (t.p(i, m), m & 64 && u(t, 1)) : (t = R(i), t.c(), u(t, 1), t.m(e.parentNode, e)) : t && (L(), d(t, 1, 1, () => {
113
- t = null;
114
- }), k());
115
+ p(a, [f]) {
116
+ a[8] ? l ? (l.p(a, f), f & 256 && u(l, 1)) : (l = L(a), l.c(), u(l, 1), l.m(e.parentNode, e)) : l && (A(), d(l, 1, 1, () => {
117
+ l = null;
118
+ }), y());
115
119
  },
116
- i(i) {
117
- o || (u(t), o = !0);
120
+ i(a) {
121
+ o || (u(l), o = !0);
118
122
  },
119
- o(i) {
120
- d(t), o = !1;
123
+ o(a) {
124
+ d(l), o = !1;
121
125
  },
122
- d(i) {
123
- t && t.d(i), i && c(e);
126
+ d(a) {
127
+ l && l.d(a), a && h(e);
124
128
  }
125
129
  };
126
130
  }
127
- function J(a, e, o) {
128
- let t, { floorIndex: i } = e, { floorplanData: m } = e, { hoveredRoom: s } = e, { getRoomAreaText: r } = e, { getLabelElement: l } = e, { adaptiveRoomLabelVisibleEnable: n } = e, _ = 0, h = 0;
129
- function E() {
130
- _ = this.clientWidth, o(4, _);
131
+ function O(i, e, o) {
132
+ let l, { floorIndex: a } = e, { roomAreaEnable: f } = e, { roomNameEnable: b } = e, { floorplanData: r } = e, { hoveredRoom: t } = e, { getRoomAreaText: n } = e, { getLabelElement: _ } = e, { adaptiveRoomLabelVisibleEnable: g } = e, s = 0, E = 0;
133
+ function N() {
134
+ s = this.clientWidth, o(6, s);
131
135
  }
132
- return a.$$set = (f) => {
133
- "floorIndex" in f && o(7, i = f.floorIndex), "floorplanData" in f && o(8, m = f.floorplanData), "hoveredRoom" in f && o(0, s = f.hoveredRoom), "getRoomAreaText" in f && o(1, r = f.getRoomAreaText), "getLabelElement" in f && o(2, l = f.getLabelElement), "adaptiveRoomLabelVisibleEnable" in f && o(3, n = f.adaptiveRoomLabelVisibleEnable);
134
- }, a.$$.update = () => {
135
- if (a.$$.dirty & 384 && o(6, t = m.floorDatas[i].rooms), a.$$.dirty & 272) {
136
- const { max: f, min: x } = m.bounding, y = f.x - x.x;
137
- o(5, h = _ / y);
136
+ return i.$$set = (m) => {
137
+ "floorIndex" in m && o(9, a = m.floorIndex), "roomAreaEnable" in m && o(0, f = m.roomAreaEnable), "roomNameEnable" in m && o(1, b = m.roomNameEnable), "floorplanData" in m && o(10, r = m.floorplanData), "hoveredRoom" in m && o(2, t = m.hoveredRoom), "getRoomAreaText" in m && o(3, n = m.getRoomAreaText), "getLabelElement" in m && o(4, _ = m.getLabelElement), "adaptiveRoomLabelVisibleEnable" in m && o(5, g = m.adaptiveRoomLabelVisibleEnable);
138
+ }, i.$$.update = () => {
139
+ if (i.$$.dirty & 1536 && o(8, l = r.floorDatas[a].rooms), i.$$.dirty & 1088) {
140
+ const { max: m, min: T } = r.bounding, V = m.x - T.x;
141
+ o(7, E = s / V);
138
142
  }
139
143
  }, [
140
- s,
141
- r,
142
- l,
144
+ f,
145
+ b,
146
+ t,
143
147
  n,
144
148
  _,
145
- h,
146
- t,
147
- i,
148
- m,
149
- E
149
+ g,
150
+ s,
151
+ E,
152
+ l,
153
+ a,
154
+ r,
155
+ N
150
156
  ];
151
157
  }
152
- class P extends A {
158
+ class U extends x {
153
159
  constructor(e) {
154
- super(), T(
160
+ super(), D(
155
161
  this,
156
162
  e,
157
- J,
158
- H,
159
- V,
163
+ O,
164
+ K,
165
+ p,
160
166
  {
161
- floorIndex: 7,
162
- floorplanData: 8,
163
- hoveredRoom: 0,
164
- getRoomAreaText: 1,
165
- getLabelElement: 2,
166
- adaptiveRoomLabelVisibleEnable: 3
167
+ floorIndex: 9,
168
+ roomAreaEnable: 0,
169
+ roomNameEnable: 1,
170
+ floorplanData: 10,
171
+ hoveredRoom: 2,
172
+ getRoomAreaText: 3,
173
+ getLabelElement: 4,
174
+ adaptiveRoomLabelVisibleEnable: 5
167
175
  },
168
- G
176
+ J
169
177
  );
170
178
  }
171
179
  }
172
180
  export {
173
- P as RoomLabels
181
+ U as RoomLabels
174
182
  };
@@ -74,7 +74,7 @@ function W(h) {
74
74
  const { latitude: n, longitude: t } = h, e = Math.abs(n - Math.PI / 2) > 5 * Math.PI / 180, i = t > 5 * (Math.PI / 180) && t < 355 * (Math.PI / 180);
75
75
  return e || i;
76
76
  }
77
- function z(h) {
77
+ function N(h) {
78
78
  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
79
  return e && i;
80
80
  }
@@ -211,7 +211,7 @@ class _t extends T {
211
211
  if (this.isHiddenByHideFunc)
212
212
  return;
213
213
  const i = this.five.getCurrentState();
214
- return i.mode !== this.showState.mode || this.state.visible ? void 0 : (z(i) && (this.updateState({ visible: !0 }, !0), this._show({ isAutoShow: !0 })), !1);
214
+ return i.mode !== this.showState.mode || this.state.visible ? void 0 : (N(i) && (this.updateState({ visible: !0 }, !0), this._show({ isAutoShow: !0 })), !1);
215
215
  }
216
216
  }
217
217
  });
@@ -243,6 +243,8 @@ class _t extends T {
243
243
  autoShowEnable: !0,
244
244
  ruleLabelsEnable: !0,
245
245
  roomLabelsEnable: !0,
246
+ roomAreaEnable: !0,
247
+ roomNameEnable: !0,
246
248
  cameraImageUrl: _,
247
249
  attachedTo: O.BOUNDING_CENTER,
248
250
  getLabelElement: void 0,
@@ -246,6 +246,8 @@ class Lt extends k {
246
246
  autoShowEnable: !0,
247
247
  ruleLabelsEnable: !0,
248
248
  roomLabelsEnable: !0,
249
+ roomAreaEnable: !0,
250
+ roomNameEnable: !0,
249
251
  adaptiveRoomLabelVisibleEnable: !0,
250
252
  cameraImageUrl: _,
251
253
  attachedTo: O.BOUNDING_CENTER,
@@ -148,6 +148,8 @@ class Et extends L {
148
148
  autoShowEnable: !0,
149
149
  ruleLabelsEnable: !0,
150
150
  roomLabelsEnable: !0,
151
+ roomAreaEnable: !0,
152
+ roomNameEnable: !0,
151
153
  cameraImageUrl: I,
152
154
  attachedTo: D.BOUNDING_CENTER,
153
155
  getLabelElement: void 0,
@@ -22,6 +22,10 @@ export interface Config {
22
22
  ruleLabelsEnable: boolean;
23
23
  /** 是否要启用户型图分间标签功能,默认为 true */
24
24
  roomLabelsEnable: boolean;
25
+ /** 分间面积是否展示 */
26
+ roomAreaEnable: boolean;
27
+ /** 分间名称是否展示 */
28
+ roomNameEnable: boolean;
25
29
  /** 是否支持房屋标签自适应展示,默认为 true
26
30
  * @description
27
31
  * * 标签边框超过房间边框时,自动隐藏;不超过时自动展示。
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.7.3",
10
+ "version": "2.8.1",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",