@realsee/dnalogel 2.1.2-alpha.0 → 2.1.2-alpha.10

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 (494) hide show
  1. package/README.md +3 -12
  2. package/dist/CSS3DRenderPlugin/index..js +88 -0
  3. package/dist/CSS3DRenderPlugin/index.cjs.js +1 -0
  4. package/dist/CameraMovementPlugin/index..js +11 -0
  5. package/dist/CameraMovementPlugin/index.cjs.js +1 -0
  6. package/dist/CruisePlugin/index..js +527 -0
  7. package/dist/CruisePlugin/index.cjs.js +1 -0
  8. package/dist/GuideLinePlugin/index..js +214 -0
  9. package/dist/GuideLinePlugin/index.cjs.js +1 -0
  10. package/dist/ItemLabelPlugin/index..js +508 -0
  11. package/dist/ItemLabelPlugin/index.cjs.js +10 -0
  12. package/dist/ModelChassisCompassPlugin/index..js +9 -0
  13. package/dist/ModelChassisCompassPlugin/index.cjs.js +1 -0
  14. package/dist/ModelEntryDoorGuidePlugin/index..js +9 -0
  15. package/dist/ModelEntryDoorGuidePlugin/index.cjs.js +1 -0
  16. package/dist/ModelItemLabelPlugin/index..js +334 -0
  17. package/dist/ModelItemLabelPlugin/index.cjs.js +10 -0
  18. package/dist/ModelRoomLabelPlugin/index..js +274 -0
  19. package/dist/ModelRoomLabelPlugin/index.cjs.js +1 -0
  20. package/dist/ModelTVVideoPlugin/index..js +12 -0
  21. package/dist/ModelTVVideoPlugin/index.cjs.js +1 -0
  22. package/dist/ModelViewPlugin/index..js +8 -0
  23. package/dist/ModelViewPlugin/index.cjs.js +1 -0
  24. package/dist/Object3DHelperPlugin/index..js +1414 -0
  25. package/dist/Object3DHelperPlugin/index.cjs.js +1 -0
  26. package/dist/PanoCompassPlugin/index..js +258 -0
  27. package/dist/PanoCompassPlugin/index.cjs.js +1 -0
  28. package/dist/PanoCursorRaycasterPlugin/index..js +63 -0
  29. package/dist/PanoCursorRaycasterPlugin/index.cjs.js +1 -0
  30. package/dist/PanoDoorLabelPlugin/index..js +340 -0
  31. package/dist/PanoDoorLabelPlugin/index.cjs.js +1 -0
  32. package/dist/PanoMeasurePlugin/index..js +15 -0
  33. package/dist/PanoMeasurePlugin/index.cjs.js +1 -0
  34. package/dist/PanoRulerPlugin/index..js +9 -0
  35. package/dist/PanoRulerPlugin/index.cjs.js +1 -0
  36. package/dist/PanoRulerProPlugin/index..js +395 -0
  37. package/dist/PanoRulerProPlugin/index.cjs.js +1 -0
  38. package/dist/PanoSpatialTagPlugin/index..js +15 -0
  39. package/dist/PanoSpatialTagPlugin/index.cjs.js +1 -0
  40. package/dist/PanoTagPlugin/index..js +4522 -0
  41. package/dist/PanoTagPlugin/index.cjs.js +17 -0
  42. package/dist/chunks/cjs/BasePlugin.57e5204f.cjs.js +1 -0
  43. package/dist/chunks/cjs/BasePluginWithData.0a28882d.cjs.js +1 -0
  44. package/dist/chunks/cjs/CSS3DRender.15349564.cjs.js +1 -0
  45. package/dist/chunks/cjs/CameraMovementPlugin.2b342576.cjs.js +1 -0
  46. package/dist/chunks/cjs/Plugin.5f616fb3.cjs.js +1 -0
  47. package/dist/chunks/cjs/Plugin.609da4aa.cjs.js +94 -0
  48. package/dist/chunks/cjs/Plugin.67936d0e.cjs.js +16 -0
  49. package/dist/chunks/cjs/Plugin.8a110c53.cjs.js +1 -0
  50. package/dist/chunks/cjs/Plugin.9971108a.cjs.js +1 -0
  51. package/dist/chunks/cjs/Plugin.fd42bf8a.cjs.js +1 -0
  52. package/dist/chunks/cjs/Subscribe.5398d5c6.cjs.js +1 -0
  53. package/dist/chunks/cjs/changeModelCanvasOpacity.8d84f111.cjs.js +1 -0
  54. package/dist/chunks/cjs/correctFiveState.4c8472bd.cjs.js +1 -0
  55. package/dist/chunks/cjs/debounce.93dfb637.cjs.js +1 -0
  56. package/dist/chunks/cjs/equal.e9fcbd4e.cjs.js +1 -0
  57. package/dist/chunks/cjs/filter.cf9ebbb3.cjs.js +1 -0
  58. package/dist/chunks/cjs/formatData.81e95011.cjs.js +10 -0
  59. package/dist/chunks/cjs/index.30b7baeb.cjs.js +101 -0
  60. package/dist/chunks/cjs/index.686e84d1.cjs.js +290 -0
  61. package/dist/chunks/cjs/index.7d2010ce.cjs.js +1 -0
  62. package/dist/chunks/cjs/isNil.b3a58990.cjs.js +1 -0
  63. package/dist/chunks/cjs/planimetry.7fce816a.cjs.js +1 -0
  64. package/dist/chunks/cjs/throttle.86c209eb.cjs.js +1 -0
  65. package/dist/chunks/cjs/transfromToMeshBasicMaterial.9db6d46a.cjs.js +1 -0
  66. package/dist/chunks/cjs/uuid.29ed9c88.cjs.js +1 -0
  67. package/dist/chunks/es/BasePlugin.813e25f7.es.js +18 -0
  68. package/dist/chunks/es/BasePluginWithData.4bf4e649.es.js +6 -0
  69. package/dist/chunks/es/CSS3DRender.5652510e.es.js +393 -0
  70. package/dist/chunks/es/CameraMovementPlugin.4a7c3e46.es.js +120 -0
  71. package/dist/chunks/es/Plugin.26c2df05.es.js +106 -0
  72. package/dist/chunks/es/Plugin.435485ed.es.js +584 -0
  73. package/dist/chunks/es/Plugin.a98418f0.es.js +82 -0
  74. package/dist/chunks/es/Plugin.ae4ee6f8.es.js +82 -0
  75. package/dist/chunks/es/Plugin.dd11e0ad.es.js +180 -0
  76. package/dist/chunks/es/Plugin.f4cf895f.es.js +355 -0
  77. package/dist/chunks/es/Subscribe.c73e0f91.es.js +50 -0
  78. package/dist/chunks/es/changeModelCanvasOpacity.45ef9fd6.es.js +1551 -0
  79. package/dist/chunks/es/correctFiveState.e7feab9f.es.js +66 -0
  80. package/dist/chunks/es/debounce.ef83f417.es.js +11 -0
  81. package/dist/chunks/es/equal.7db4a6f7.es.js +56 -0
  82. package/dist/chunks/es/filter.97ec06c4.es.js +12 -0
  83. package/dist/chunks/es/formatData.a2b39ef9.es.js +483 -0
  84. package/dist/chunks/es/index.a273f06e.es.js +532 -0
  85. package/dist/chunks/es/index.b8fdb59b.es.js +50 -0
  86. package/dist/chunks/es/index.f74f4851.es.js +1787 -0
  87. package/dist/chunks/es/isNil.212842d9.es.js +10 -0
  88. package/dist/chunks/es/planimetry.b0b4a28d.es.js +43 -0
  89. package/dist/chunks/es/throttle.db66bac3.es.js +11 -0
  90. package/dist/chunks/es/transfromToMeshBasicMaterial.849ee069.es.js +24 -0
  91. package/dist/chunks/es/uuid.676cb2c8.es.js +9 -0
  92. package/dist/components/PaintBrush/index..js +6 -0
  93. package/dist/components/PaintBrush/index.cjs.js +1 -0
  94. package/dist/components/index..js +7 -0
  95. package/dist/components/index.cjs.js +1 -0
  96. package/dist/floorplan/MapviewFloorplanPlugin/index..js +324 -0
  97. package/dist/floorplan/MapviewFloorplanPlugin/index.cjs.js +1 -0
  98. package/dist/floorplan/ModelFloorplanPlugin/index..js +320 -0
  99. package/dist/floorplan/ModelFloorplanPlugin/index.cjs.js +1 -0
  100. package/dist/floorplan/PanoFloorplanRadarPlugin/index..js +613 -0
  101. package/dist/floorplan/PanoFloorplanRadarPlugin/index.cjs.js +1 -0
  102. package/dist/floorplan/TopviewFloorplanPlugin/index..js +277 -0
  103. package/dist/floorplan/TopviewFloorplanPlugin/index.cjs.js +1 -0
  104. package/dist/index..js +530 -0
  105. package/dist/index.cjs.js +3 -543
  106. package/docs/classes/CruisePluginController.html +24 -24
  107. package/docs/classes/Magnifier.html +16 -16
  108. package/docs/classes/ModelRoomLabelController.html +11 -11
  109. package/docs/classes/Object3DHelperController.html +24 -24
  110. package/docs/classes/PaintBrush.html +15 -15
  111. package/docs/classes/PanoTagPluginController.html +39 -39
  112. package/docs/classes/Util.BetterTween.html +8 -8
  113. package/docs/classes/Util.FivePointSelector.html +12 -12
  114. package/docs/classes/Util.Interval.html +12 -12
  115. package/docs/classes/Util.Magnifier.html +17 -17
  116. package/docs/classes/Util.PointDomHelper.html +11 -11
  117. package/docs/classes/Util.PointHelper.html +11 -11
  118. package/docs/classes/Util.Rectangle.html +13 -13
  119. package/docs/enums/CameraMovementEffect.html +7 -7
  120. package/docs/enums/ContentType.html +12 -12
  121. package/docs/enums/DIRECTION.html +9 -9
  122. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  123. package/docs/enums/DimensionType.html +7 -7
  124. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  125. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  126. package/docs/enums/LinkType.html +7 -7
  127. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  128. package/docs/enums/PointType.html +7 -7
  129. package/docs/enums/Rotation.html +8 -8
  130. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  131. package/docs/functions/CameraMovementPlugin.html +4 -4
  132. package/docs/functions/CruisePlugin.html +4 -4
  133. package/docs/functions/GuideLinePlugin.html +5 -5
  134. package/docs/functions/ItemLabelPlugin.html +4 -4
  135. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  136. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  137. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  138. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  139. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  140. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  141. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  142. package/docs/functions/ModelViewPlugin.html +4 -4
  143. package/docs/functions/Object3DHelperPlugin.html +4 -4
  144. package/docs/functions/PanoCompassPlugin.html +4 -4
  145. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  146. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  147. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  148. package/docs/functions/PanoMeasurePlugin.html +4 -4
  149. package/docs/functions/PanoRulerPlugin.html +4 -4
  150. package/docs/functions/PanoRulerProPlugin.html +4 -4
  151. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  152. package/docs/functions/PanoTagPlugin.html +4 -4
  153. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  154. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  155. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  156. package/docs/functions/Util.getFrameTime.html +5 -5
  157. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  158. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  159. package/docs/functions/Util.isNil.html +5 -5
  160. package/docs/functions/Util.nextFrame.html +5 -5
  161. package/docs/functions/Util.notNil.html +5 -5
  162. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  163. package/docs/functions/Util.tweenProgress.html +5 -5
  164. package/docs/functions/pluginFlag.html +5 -5
  165. package/docs/index.html +6 -11
  166. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  167. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  168. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  169. package/docs/interfaces/ContentTypeMap.html +12 -12
  170. package/docs/interfaces/FloorplanBounding.html +8 -8
  171. package/docs/interfaces/FloorplanData.html +10 -10
  172. package/docs/interfaces/FloorplanEntrance.html +11 -11
  173. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  174. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  175. package/docs/interfaces/FloorplanFloorData.html +9 -9
  176. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  177. package/docs/interfaces/FloorplanObserver.html +9 -9
  178. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  179. package/docs/interfaces/FloorplanPosition.html +7 -7
  180. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  181. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  182. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  183. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  184. package/docs/interfaces/FloorplanServerData.html +7 -7
  185. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  186. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  187. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  188. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  189. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  190. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  191. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  192. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  193. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  194. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  195. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  196. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  197. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  198. package/docs/interfaces/LineJson.html +7 -7
  199. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  200. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  201. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  202. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  203. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  204. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  205. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  206. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  207. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  208. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  209. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  210. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  211. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  212. package/docs/interfaces/Object3DHelperState.html +8 -8
  213. package/docs/interfaces/OpenParameter.html +7 -7
  214. package/docs/interfaces/PaintBrushAction.html +12 -12
  215. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  216. package/docs/interfaces/PaintBrushState.html +10 -10
  217. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  218. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  219. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  220. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  221. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  222. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  223. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  224. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  225. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  226. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  227. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  228. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  229. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  230. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  231. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  232. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  233. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  234. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  235. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  236. package/docs/interfaces/Point.html +8 -8
  237. package/docs/interfaces/PointJson.html +8 -8
  238. package/docs/interfaces/Room.html +9 -9
  239. package/docs/interfaces/RoomInfo.html +7 -7
  240. package/docs/interfaces/RoomLabel.html +14 -14
  241. package/docs/interfaces/RoomRules.html +5 -5
  242. package/docs/interfaces/Rooms.html +5 -5
  243. package/docs/interfaces/Scissor.html +9 -9
  244. package/docs/interfaces/TagConfig.html +10 -10
  245. package/docs/interfaces/Tags.html +9 -9
  246. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  247. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  248. package/docs/modules/Util.html +5 -5
  249. package/docs/modules.html +4 -4
  250. package/docs/types/ArrayPosition.html +5 -5
  251. package/docs/types/CSS3DRenderExportType.html +5 -5
  252. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  253. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  254. package/docs/types/Color.html +5 -5
  255. package/docs/types/ContentTypeConfigKey.html +5 -5
  256. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  257. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  258. package/docs/types/Create3DElementReturnType.html +5 -5
  259. package/docs/types/CruisePluginExportType.html +5 -5
  260. package/docs/types/Direction-1.html +5 -5
  261. package/docs/types/Direction4.html +5 -5
  262. package/docs/types/FloorplanRuleLabels.html +5 -5
  263. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  264. package/docs/types/GuideLinePluginExportType.html +5 -5
  265. package/docs/types/HelperEventMap.html +5 -5
  266. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  267. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  268. package/docs/types/MediaData.html +5 -5
  269. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  270. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  271. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  272. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  273. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  274. package/docs/types/MoveArgs.html +5 -5
  275. package/docs/types/MoveOpts.html +5 -5
  276. package/docs/types/Object3DHelperEventMap.html +5 -5
  277. package/docs/types/ObjectFit.html +5 -5
  278. package/docs/types/PaintBrushEventMap.html +5 -5
  279. package/docs/types/PanoCompassPluginData.html +5 -5
  280. package/docs/types/PanoCompassPluginExportType.html +5 -5
  281. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  282. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  283. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  284. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  285. package/docs/types/PanoMeasureReturnType.html +5 -5
  286. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  287. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  288. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  289. package/docs/types/PlaneTag.html +5 -5
  290. package/docs/types/PointTag.html +5 -5
  291. package/docs/types/Position.html +5 -5
  292. package/docs/types/RotateArgs.html +5 -5
  293. package/docs/types/RotateOpts.html +5 -5
  294. package/docs/types/RuleLabelsKey.html +5 -5
  295. package/docs/types/RuleLabelsValue.html +5 -5
  296. package/docs/types/Tag.html +5 -5
  297. package/docs/types/Tag2D.html +5 -5
  298. package/docs/types/Tag3D.html +5 -5
  299. package/docs/types/TagId.html +5 -5
  300. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  301. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  302. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  303. package/docs/variables/PLUGIN.html +5 -5
  304. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  305. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  306. package/docs/variables/VERSION.html +5 -5
  307. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  308. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  309. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  310. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -5
  311. package/libs/CSS3DRenderPlugin/Controller.js +6 -7
  312. package/libs/CSS3DRenderPlugin/index.js +3 -4
  313. package/libs/CSS3DRenderPlugin/typing.js +1 -0
  314. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -3
  315. package/libs/CSS3DRenderPlugin/utils/index.js +1 -0
  316. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -2
  317. package/libs/CSS3DRenderPlugin/utils/random.js +1 -0
  318. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +16 -17
  319. package/libs/CameraMovementPlugin/index.js +3 -0
  320. package/libs/CruisePlugin/Controller.js +4 -4
  321. package/libs/CruisePlugin/index.js +3 -6
  322. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  323. package/libs/GuideLinePlugin/Controller.js +3 -4
  324. package/libs/GuideLinePlugin/index.js +3 -4
  325. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  326. package/libs/ItemLabelPlugin/ItemLabelComponent.js +34 -32
  327. package/libs/ItemLabelPlugin/Plugin.js +5 -6
  328. package/libs/ModelChassisCompassPlugin/Plugin.js +3 -4
  329. package/libs/ModelChassisCompassPlugin/index.js +2 -0
  330. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +22 -23
  331. package/libs/ModelEntryDoorGuidePlugin/index.js +2 -0
  332. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +4 -3
  333. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +5 -6
  334. package/libs/ModelItemLabelPlugin/events.type.js +1 -0
  335. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +11 -10
  336. package/libs/ModelRoomLabelPlugin/index.js +0 -1
  337. package/libs/ModelTVVideoPlugin/Plugin.js +1 -2
  338. package/libs/ModelTVVideoPlugin/index.js +2 -0
  339. package/libs/ModelViewPlugin/Plugin.js +1 -2
  340. package/libs/ModelViewPlugin/index.js +2 -0
  341. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +6 -7
  342. package/libs/Object3DHelperPlugin/index.js +1 -6
  343. package/libs/PanoCompassPlugin/index.js +3 -4
  344. package/libs/PanoCursorRaycasterPlugin/index.js +7 -8
  345. package/libs/PanoDoorLabelPlugin/index.js +1 -2
  346. package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -3
  347. package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -5
  348. package/libs/PanoMeasurePlugin/Controller/MixedController.js +17 -17
  349. package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
  350. package/libs/PanoMeasurePlugin/Controller/WatchController.js +9 -9
  351. package/libs/PanoMeasurePlugin/Controller/index.js +8 -8
  352. package/libs/PanoMeasurePlugin/Model/index.js +3 -3
  353. package/libs/PanoMeasurePlugin/Model/line.js +11 -11
  354. package/libs/PanoMeasurePlugin/Model/point.js +7 -7
  355. package/libs/PanoMeasurePlugin/Model/polyline.js +1 -1
  356. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  357. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  358. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  359. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
  360. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  361. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
  362. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
  363. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
  364. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
  365. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  366. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +3 -4
  367. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +5 -5
  368. package/libs/PanoMeasurePlugin/index.js +3 -4
  369. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  370. package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
  371. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +2 -2
  372. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  373. package/libs/PanoMeasurePlugin/utils/line.js +0 -1
  374. package/libs/PanoMeasurePlugin/utils/math.js +1 -2
  375. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  376. package/libs/PanoRulerPlugin/Plugin.js +2 -3
  377. package/libs/PanoRulerPlugin/index.js +2 -0
  378. package/libs/PanoRulerPlugin/style.js +1 -1
  379. package/libs/PanoRulerProPlugin/Controller.js +15 -15
  380. package/libs/PanoRulerProPlugin/RulerItems.js +7 -4
  381. package/libs/PanoRulerProPlugin/index.js +3 -4
  382. package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
  383. package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
  384. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -3
  385. package/libs/PanoSpatialTagPlugin/index.js +6 -0
  386. package/libs/PanoSpatialTagPlugin/typings.js +1 -0
  387. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -1
  388. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -1
  389. package/libs/PanoTagPlugin/Components/Common/Media.js +43 -36
  390. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +88 -78
  391. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +5 -4
  392. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +3 -2
  393. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +30 -27
  394. package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
  395. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +20 -14
  396. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +114 -92
  397. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +3 -2
  398. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  399. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +71 -52
  400. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +62 -50
  401. package/libs/PanoTagPlugin/Components/Tag/index.js +92 -63
  402. package/libs/PanoTagPlugin/Components/TagContainer.js +108 -64
  403. package/libs/PanoTagPlugin/Components/TagWrapper.js +113 -75
  404. package/libs/PanoTagPlugin/controller/index.js +0 -1
  405. package/libs/PanoTagPlugin/index.js +3 -7
  406. package/libs/PanoTagPlugin/tag.config.js +1 -2
  407. package/libs/PanoTagPlugin/typings/controller.js +1 -0
  408. package/libs/PanoTagPlugin/typings/index.js +1 -0
  409. package/libs/PanoTagPlugin/utils/constants.js +1 -2
  410. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  411. package/libs/PanoTagPlugin/utils/index.js +1 -0
  412. package/libs/components/PaintBrush/Controller.js +3 -3
  413. package/libs/components/PaintBrush/style.js +1 -1
  414. package/libs/components/PaintBrush/tween.js +4 -4
  415. package/libs/components/index.js +2 -0
  416. package/libs/floorplan/Components/Camera.js +1 -1
  417. package/libs/floorplan/Components/CurrentFloor.js +51 -41
  418. package/libs/floorplan/Components/Main.js +41 -22
  419. package/libs/floorplan/Components/RoomHighlight/Room.js +3 -3
  420. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +3 -2
  421. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +37 -36
  422. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -1
  423. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +7 -7
  424. package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
  425. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +7 -7
  426. package/libs/floorplan/ModelFloorplanPlugin/index.js +2 -3
  427. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  428. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +6 -2
  429. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -65
  430. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -2
  431. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +2 -3
  432. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -5
  433. package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
  434. package/libs/floorplan/index.js +6 -0
  435. package/libs/floorplan/typings/floorplanData.js +1 -0
  436. package/libs/floorplan/utils/correctFiveState.js +19 -19
  437. package/libs/floorplan/utils/formatData.js +16 -16
  438. package/libs/floorplan/utils/formatPosition.js +7 -7
  439. package/libs/index.js +344 -90
  440. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +2 -3
  441. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +1 -3
  442. package/libs/shared-utils/Object3DHelper/Constants/color.js +0 -1
  443. package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -2
  444. package/libs/shared-utils/Object3DHelper/Helper/index.js +3 -0
  445. package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -0
  446. package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
  447. package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
  448. package/libs/shared-utils/Object3DHelper/typings/index.js +1 -0
  449. package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -0
  450. package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -0
  451. package/libs/shared-utils/Object3DHelper/utils/index.js +1 -0
  452. package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -0
  453. package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
  454. package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -1
  455. package/libs/shared-utils/animationFrame/index.js +13 -16
  456. package/libs/shared-utils/animationFrame/tween.js +0 -2
  457. package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
  458. package/libs/shared-utils/createCanvasTextTexture.js +6 -6
  459. package/libs/shared-utils/createLine/index.js +3 -3
  460. package/libs/shared-utils/debounce.js +5 -5
  461. package/libs/shared-utils/equal.js +16 -16
  462. package/libs/shared-utils/filter.js +1 -1
  463. package/libs/shared-utils/five/changeMode.js +14 -14
  464. package/libs/shared-utils/getPxmm.js +7 -8
  465. package/libs/shared-utils/index.js +33 -29
  466. package/libs/shared-utils/isTruelyObject.js +1 -1
  467. package/libs/shared-utils/math/index.js +1 -0
  468. package/libs/shared-utils/math/planimetry.js +1 -6
  469. package/libs/shared-utils/math/rad2Deg.js +3 -3
  470. package/libs/shared-utils/nearlyEqual.js +3 -3
  471. package/libs/shared-utils/noop.js +1 -1
  472. package/libs/shared-utils/object3d2LocalMatrix.js +6 -7
  473. package/libs/shared-utils/removeArrayItem.js +5 -5
  474. package/libs/shared-utils/tap.js +3 -3
  475. package/libs/shared-utils/three/index.js +6 -0
  476. package/libs/shared-utils/three/transformPositionToVector3.js +2 -2
  477. package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +12 -12
  478. package/libs/shared-utils/throttle.js +2 -2
  479. package/libs/shared-utils/tinyEJSrender.js +7 -7
  480. package/libs/shared-utils/to.js +14 -15
  481. package/libs/shared-utils/uuid.js +0 -1
  482. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/get-changed-params.js +0 -0
  483. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/get-params.js +0 -0
  484. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/mount-swiper.js +0 -0
  485. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/params-list.js +0 -0
  486. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/update-swiper.js +0 -0
  487. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/utils.js +0 -0
  488. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/svelte/swiper-slide.js +1 -1
  489. package/libs/vendor/swiper/svelte/swiper-svelte.js +3 -0
  490. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/svelte/swiper.js +1 -1
  491. package/package.json +19 -17
  492. package/dist/index.es.js +0 -16650
  493. package/dist/index.js +0 -16650
  494. package/dist/index.umd.js +0 -556
@@ -1,57 +1,101 @@
1
- import { SvelteComponent as P, init as z, safe_not_equal as C, append_styles as q, empty as M, insert as g, transition_in as u, group_outros as S, transition_out as h, check_outros as w, detach as _, element as A, attr as T, toggle_class as c, update_keyed_each as N, outro_and_destroy_block as W, assign as j, create_component as B, space as D, mount_component as E, append as F, get_spread_update as G, destroy_component as H } from "svelte/internal";
1
+ import { SvelteComponent as P, init as z, safe_not_equal as C, append_styles as q, empty as M, insert as h, transition_in as f, group_outros as S, transition_out as u, check_outros as w, detach as g, element as A, attr as T, toggle_class as p, update_keyed_each as N, outro_and_destroy_block as W, assign as j, create_component as B, space as D, mount_component as E, append as F, get_spread_update as G, destroy_component as H } from "svelte/internal";
2
2
  import I from "./TagWrapper.js";
3
+ import "three";
4
+ import "../utils/noTypecheck.js";
5
+ import "../typings/tag.js";
6
+ import "./Tag/index.js";
7
+ import "./Tag/TextTag.js";
8
+ import "./Common/Line/Straight.js";
9
+ import "svelte/transition";
10
+ import "../../shared-utils/uuid.js";
11
+ import "./Common/Shadow.js";
12
+ import "./Common/MultiLineText.js";
13
+ import "./Common/Text.js";
14
+ import "animejs";
15
+ import "svelte";
16
+ import "../../shared-utils/isNil.js";
17
+ import "../utils/search.js";
18
+ import "../utils/constants.js";
19
+ import "./Common/Arrow.js";
20
+ import "../Assets/Icon.js";
21
+ import "svelte/easing";
22
+ import "../utils/doUtil.js";
23
+ import "./Tag/ImageTextTag.js";
24
+ import "./Common/Line/Polyline.js";
25
+ import "./Common/Media.js";
26
+ import "../../vendor/swiper/svelte/swiper.js";
27
+ import "swiper";
28
+ import "../../vendor/swiper/components-shared/get-params.js";
29
+ import "../../vendor/swiper/components-shared/utils.js";
30
+ import "../../vendor/swiper/components-shared/params-list.js";
31
+ import "../../vendor/swiper/components-shared/mount-swiper.js";
32
+ import "../../vendor/swiper/components-shared/get-changed-params.js";
33
+ import "../../vendor/swiper/components-shared/update-swiper.js";
34
+ import "../../vendor/swiper/svelte/swiper-slide.js";
35
+ import "swiper/css";
36
+ import "swiper/css/autoplay";
37
+ import "./Common/MediaItem.js";
38
+ import "./Tag/MarketingTag.js";
39
+ import "./Tag/AudioTag.js";
40
+ import "./Common/Audio.js";
41
+ import "./Tag/MediaPlane.js";
42
+ import "./Tag/LinkTag.js";
43
+ import "./Tag/CustomTag.js";
44
+ import "./Common/Point/PointSwitch.js";
45
+ import "./Common/Point/CustomPoint.js";
46
+ import "./Common/Point/DefaultPoint.js";
3
47
  function J(s) {
4
48
  q(s, "svelte-1eci49s", ".tag--container.svelte-1eci49s{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tag.hide.svelte-1eci49s{display:none}.withAnimation.svelte-1eci49s{transition:opacity 0.3s linear}.tag--container.hide.svelte-1eci49s{opacity:0;pointer-events:none}.tag--container.hide.svelte-1eci49s *{pointer-events:none}");
5
49
  }
6
50
  function k(s, e, i) {
7
- const n = s.slice();
8
- return n[6] = e[i], n;
51
+ const o = s.slice();
52
+ return o[6] = e[i], o;
9
53
  }
10
54
  function v(s) {
11
- let e, i = [], n = /* @__PURE__ */ new Map(), l, r = s[1];
12
- const f = (a) => a[6].id;
13
- for (let a = 0; a < r.length; a += 1) {
14
- let t = k(s, r, a), o = f(t);
15
- n.set(o, i[a] = y(o, t));
55
+ let e, i = [], o = /* @__PURE__ */ new Map(), a, l = s[1];
56
+ const m = (r) => r[6].id;
57
+ for (let r = 0; r < l.length; r += 1) {
58
+ let t = k(s, l, r), n = m(t);
59
+ o.set(n, i[r] = y(n, t));
16
60
  }
17
61
  return {
18
62
  c() {
19
63
  e = A("div");
20
- for (let a = 0; a < i.length; a += 1)
21
- i[a].c();
22
- T(e, "class", "tag--container svelte-1eci49s"), c(e, "hide", !s[3].visible || !s[5].visible), c(e, "withAnimation", s[0]);
64
+ for (let r = 0; r < i.length; r += 1)
65
+ i[r].c();
66
+ T(e, "class", "tag--container svelte-1eci49s"), p(e, "hide", !s[3].visible || !s[5].visible), p(e, "withAnimation", s[0]);
23
67
  },
24
- m(a, t) {
25
- g(a, e, t);
26
- for (let o = 0; o < i.length; o += 1)
27
- i[o].m(e, null);
28
- l = !0;
68
+ m(r, t) {
69
+ h(r, e, t);
70
+ for (let n = 0; n < i.length; n += 1)
71
+ i[n].m(e, null);
72
+ a = !0;
29
73
  },
30
- p(a, t) {
31
- t & 63 && (r = a[1], S(), i = N(i, t, f, 1, a, r, n, e, W, y, null, k), w()), t & 40 && c(e, "hide", !a[3].visible || !a[5].visible), t & 1 && c(e, "withAnimation", a[0]);
74
+ p(r, t) {
75
+ t & 63 && (l = r[1], S(), i = N(i, t, m, 1, r, l, o, e, W, y, null, k), w()), t & 40 && p(e, "hide", !r[3].visible || !r[5].visible), t & 1 && p(e, "withAnimation", r[0]);
32
76
  },
33
- i(a) {
34
- if (!l) {
35
- for (let t = 0; t < r.length; t += 1)
36
- u(i[t]);
37
- l = !0;
77
+ i(r) {
78
+ if (!a) {
79
+ for (let t = 0; t < l.length; t += 1)
80
+ f(i[t]);
81
+ a = !0;
38
82
  }
39
83
  },
40
- o(a) {
84
+ o(r) {
41
85
  for (let t = 0; t < i.length; t += 1)
42
- h(i[t]);
43
- l = !1;
86
+ u(i[t]);
87
+ a = !1;
44
88
  },
45
- d(a) {
46
- a && _(e);
89
+ d(r) {
90
+ r && g(e);
47
91
  for (let t = 0; t < i.length; t += 1)
48
92
  i[t].d();
49
93
  }
50
94
  };
51
95
  }
52
96
  function y(s, e) {
53
- let i, n, l, r;
54
- const f = [
97
+ let i, o, a, l;
98
+ const m = [
55
99
  {
56
100
  tag: e[6],
57
101
  hooks: e[2],
@@ -61,23 +105,23 @@ function y(s, e) {
61
105
  withAnimation: e[0]
62
106
  }
63
107
  ];
64
- let a = {};
65
- for (let t = 0; t < f.length; t += 1)
66
- a = j(a, f[t]);
67
- return n = new I({ props: a }), {
108
+ let r = {};
109
+ for (let t = 0; t < m.length; t += 1)
110
+ r = j(r, m[t]);
111
+ return o = new I({ props: r }), {
68
112
  key: s,
69
113
  first: null,
70
114
  c() {
71
- var t, o, m;
72
- i = A("div"), B(n.$$.fragment), l = D(), T(i, "class", "tag svelte-1eci49s"), c(i, "hide", !((t = e[6].pointTagStyle) != null && t.leftPercent) || !((o = e[6].pointTagStyle) != null && o.topPercent) || e[6].enabled === !1 || !e[6].state || ((m = e[6].temporaryState) == null ? void 0 : m.visible) === !1), this.first = i;
115
+ var t, n, c;
116
+ i = A("div"), B(o.$$.fragment), a = D(), T(i, "class", "tag svelte-1eci49s"), p(i, "hide", !((t = e[6].pointTagStyle) != null && t.leftPercent) || !((n = e[6].pointTagStyle) != null && n.topPercent) || e[6].enabled === !1 || !e[6].state || ((c = e[6].temporaryState) == null ? void 0 : c.visible) === !1), this.first = i;
73
117
  },
74
- m(t, o) {
75
- g(t, i, o), E(n, i, null), F(i, l), r = !0;
118
+ m(t, n) {
119
+ h(t, i, n), E(o, i, null), F(i, a), l = !0;
76
120
  },
77
- p(t, o) {
78
- var d, p, b;
121
+ p(t, n) {
122
+ var _, d, b;
79
123
  e = t;
80
- const m = o & 63 ? G(f, [
124
+ const c = n & 63 ? G(m, [
81
125
  {
82
126
  tag: e[6],
83
127
  hooks: e[2],
@@ -87,51 +131,51 @@ function y(s, e) {
87
131
  withAnimation: e[0]
88
132
  }
89
133
  ]) : {};
90
- n.$set(m), o & 2 && c(i, "hide", !((d = e[6].pointTagStyle) != null && d.leftPercent) || !((p = e[6].pointTagStyle) != null && p.topPercent) || e[6].enabled === !1 || !e[6].state || ((b = e[6].temporaryState) == null ? void 0 : b.visible) === !1);
134
+ o.$set(c), n & 2 && p(i, "hide", !((_ = e[6].pointTagStyle) != null && _.leftPercent) || !((d = e[6].pointTagStyle) != null && d.topPercent) || e[6].enabled === !1 || !e[6].state || ((b = e[6].temporaryState) == null ? void 0 : b.visible) === !1);
91
135
  },
92
136
  i(t) {
93
- r || (u(n.$$.fragment, t), r = !0);
137
+ l || (f(o.$$.fragment, t), l = !0);
94
138
  },
95
139
  o(t) {
96
- h(n.$$.fragment, t), r = !1;
140
+ u(o.$$.fragment, t), l = !1;
97
141
  },
98
142
  d(t) {
99
- t && _(i), H(n);
143
+ t && g(i), H(o);
100
144
  }
101
145
  };
102
146
  }
103
147
  function K(s) {
104
- let e, i, n = s[3].enabled && v(s);
148
+ let e, i, o = s[3].enabled && v(s);
105
149
  return {
106
150
  c() {
107
- n && n.c(), e = M();
151
+ o && o.c(), e = M();
108
152
  },
109
- m(l, r) {
110
- n && n.m(l, r), g(l, e, r), i = !0;
153
+ m(a, l) {
154
+ o && o.m(a, l), h(a, e, l), i = !0;
111
155
  },
112
- p(l, [r]) {
113
- l[3].enabled ? n ? (n.p(l, r), r & 8 && u(n, 1)) : (n = v(l), n.c(), u(n, 1), n.m(e.parentNode, e)) : n && (S(), h(n, 1, 1, () => {
114
- n = null;
156
+ p(a, [l]) {
157
+ a[3].enabled ? o ? (o.p(a, l), l & 8 && f(o, 1)) : (o = v(a), o.c(), f(o, 1), o.m(e.parentNode, e)) : o && (S(), u(o, 1, 1, () => {
158
+ o = null;
115
159
  }), w());
116
160
  },
117
- i(l) {
118
- i || (u(n), i = !0);
161
+ i(a) {
162
+ i || (f(o), i = !0);
119
163
  },
120
- o(l) {
121
- h(n), i = !1;
164
+ o(a) {
165
+ u(o), i = !1;
122
166
  },
123
- d(l) {
124
- n && n.d(l), l && _(e);
167
+ d(a) {
168
+ o && o.d(a), a && g(e);
125
169
  }
126
170
  };
127
171
  }
128
172
  function L(s, e, i) {
129
- let { withAnimation: n = !1 } = e, { tags: l = [] } = e, { hooks: r } = e, { state: f } = e, { mediaStore: a } = e, { temporaryState: t } = e;
130
- return s.$$set = (o) => {
131
- "withAnimation" in o && i(0, n = o.withAnimation), "tags" in o && i(1, l = o.tags), "hooks" in o && i(2, r = o.hooks), "state" in o && i(3, f = o.state), "mediaStore" in o && i(4, a = o.mediaStore), "temporaryState" in o && i(5, t = o.temporaryState);
132
- }, [n, l, r, f, a, t];
173
+ let { withAnimation: o = !1 } = e, { tags: a = [] } = e, { hooks: l } = e, { state: m } = e, { mediaStore: r } = e, { temporaryState: t } = e;
174
+ return s.$$set = (n) => {
175
+ "withAnimation" in n && i(0, o = n.withAnimation), "tags" in n && i(1, a = n.tags), "hooks" in n && i(2, l = n.hooks), "state" in n && i(3, m = n.state), "mediaStore" in n && i(4, r = n.mediaStore), "temporaryState" in n && i(5, t = n.temporaryState);
176
+ }, [o, a, l, m, r, t];
133
177
  }
134
- class R extends P {
178
+ class Ee extends P {
135
179
  constructor(e) {
136
180
  super(), z(
137
181
  this,
@@ -152,5 +196,5 @@ class R extends P {
152
196
  }
153
197
  }
154
198
  export {
155
- R as default
199
+ Ee as default
156
200
  };
@@ -1,102 +1,140 @@
1
- import { SvelteComponent as K, init as M, safe_not_equal as N, append_styles as O, element as W, space as Q, attr as T, toggle_class as _, set_style as d, insert as j, append as R, transition_in as p, group_outros as z, transition_out as h, check_outros as A, detach as B, create_component as E, mount_component as F, destroy_component as G, listen as U, stop_propagation as V } from "svelte/internal";
1
+ import { SvelteComponent as K, init as M, safe_not_equal as N, append_styles as O, element as W, space as Q, attr as T, toggle_class as _, set_style as d, insert as j, append as R, transition_in as u, group_outros as z, transition_out as h, check_outros as A, detach as B, create_component as E, mount_component as F, destroy_component as G, listen as U, stop_propagation as V } from "svelte/internal";
2
2
  import "three";
3
3
  import { noTypecheck as C } from "../utils/noTypecheck.js";
4
4
  import { DimensionType as q, PointType as D, ContentType as X } from "../typings/tag.js";
5
5
  import Y from "./Tag/index.js";
6
6
  import Z from "./Common/Point/PointSwitch.js";
7
7
  import "svelte";
8
- function x(t) {
9
- O(t, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
8
+ import "./Tag/TextTag.js";
9
+ import "./Common/Line/Straight.js";
10
+ import "svelte/transition";
11
+ import "../../shared-utils/uuid.js";
12
+ import "./Common/Shadow.js";
13
+ import "./Common/MultiLineText.js";
14
+ import "./Common/Text.js";
15
+ import "animejs";
16
+ import "../../shared-utils/isNil.js";
17
+ import "../utils/search.js";
18
+ import "../utils/constants.js";
19
+ import "./Common/Arrow.js";
20
+ import "../Assets/Icon.js";
21
+ import "svelte/easing";
22
+ import "../utils/doUtil.js";
23
+ import "./Tag/ImageTextTag.js";
24
+ import "./Common/Line/Polyline.js";
25
+ import "./Common/Media.js";
26
+ import "../../vendor/swiper/svelte/swiper.js";
27
+ import "swiper";
28
+ import "../../vendor/swiper/components-shared/get-params.js";
29
+ import "../../vendor/swiper/components-shared/utils.js";
30
+ import "../../vendor/swiper/components-shared/params-list.js";
31
+ import "../../vendor/swiper/components-shared/mount-swiper.js";
32
+ import "../../vendor/swiper/components-shared/get-changed-params.js";
33
+ import "../../vendor/swiper/components-shared/update-swiper.js";
34
+ import "../../vendor/swiper/svelte/swiper-slide.js";
35
+ import "swiper/css";
36
+ import "swiper/css/autoplay";
37
+ import "./Common/MediaItem.js";
38
+ import "./Tag/MarketingTag.js";
39
+ import "./Tag/AudioTag.js";
40
+ import "./Common/Audio.js";
41
+ import "./Tag/MediaPlane.js";
42
+ import "./Tag/LinkTag.js";
43
+ import "./Tag/CustomTag.js";
44
+ import "./Common/Point/CustomPoint.js";
45
+ import "./Common/Point/DefaultPoint.js";
46
+ function x(e) {
47
+ O(e, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
10
48
  }
11
- function I(t) {
12
- let e, o;
13
- return e = new Y({
49
+ function I(e) {
50
+ let t, n;
51
+ return t = new Y({
14
52
  props: {
15
- mediaStore: t[4],
16
- withAnimation: t[0],
17
- tag: C(t[1]),
18
- hooks: t[2],
19
- state: t[3],
20
- temporaryState: t[5]
53
+ mediaStore: e[4],
54
+ withAnimation: e[0],
55
+ tag: C(e[1]),
56
+ hooks: e[2],
57
+ state: e[3],
58
+ temporaryState: e[5]
21
59
  }
22
60
  }), {
23
61
  c() {
24
- E(e.$$.fragment);
62
+ E(t.$$.fragment);
25
63
  },
26
- m(a, f) {
27
- F(e, a, f), o = !0;
64
+ m(r, m) {
65
+ F(t, r, m), n = !0;
28
66
  },
29
- p(a, f) {
67
+ p(r, m) {
30
68
  const i = {};
31
- f & 16 && (i.mediaStore = a[4]), f & 1 && (i.withAnimation = a[0]), f & 2 && (i.tag = C(a[1])), f & 4 && (i.hooks = a[2]), f & 8 && (i.state = a[3]), f & 32 && (i.temporaryState = a[5]), e.$set(i);
69
+ m & 16 && (i.mediaStore = r[4]), m & 1 && (i.withAnimation = r[0]), m & 2 && (i.tag = C(r[1])), m & 4 && (i.hooks = r[2]), m & 8 && (i.state = r[3]), m & 32 && (i.temporaryState = r[5]), t.$set(i);
32
70
  },
33
- i(a) {
34
- o || (p(e.$$.fragment, a), o = !0);
71
+ i(r) {
72
+ n || (u(t.$$.fragment, r), n = !0);
35
73
  },
36
- o(a) {
37
- h(e.$$.fragment, a), o = !1;
74
+ o(r) {
75
+ h(t.$$.fragment, r), n = !1;
38
76
  },
39
- d(a) {
40
- G(e, a);
77
+ d(r) {
78
+ G(t, r);
41
79
  }
42
80
  };
43
81
  }
44
- function L(t) {
45
- let e, o, a, f, i;
46
- return o = new Z({ props: { tag: t[1] } }), {
82
+ function L(e) {
83
+ let t, n, r, m, i;
84
+ return n = new Z({ props: { tag: e[1] } }), {
47
85
  c() {
48
- e = W("div"), E(o.$$.fragment), T(e, "class", "point svelte-1vzhbu2");
86
+ t = W("div"), E(n.$$.fragment), T(t, "class", "point svelte-1vzhbu2");
49
87
  },
50
- m(n, m) {
51
- j(n, e, m), F(o, e, null), a = !0, f || (i = U(e, "click", V(t[11])), f = !0);
88
+ m(o, p) {
89
+ j(o, t, p), F(n, t, null), r = !0, m || (i = U(t, "click", V(e[11])), m = !0);
52
90
  },
53
- p(n, m) {
54
- const u = {};
55
- m & 2 && (u.tag = n[1]), o.$set(u);
91
+ p(o, p) {
92
+ const s = {};
93
+ p & 2 && (s.tag = o[1]), n.$set(s);
56
94
  },
57
- i(n) {
58
- a || (p(o.$$.fragment, n), a = !0);
95
+ i(o) {
96
+ r || (u(n.$$.fragment, o), r = !0);
59
97
  },
60
- o(n) {
61
- h(o.$$.fragment, n), a = !1;
98
+ o(o) {
99
+ h(n.$$.fragment, o), r = !1;
62
100
  },
63
- d(n) {
64
- n && B(e), G(o), f = !1, i();
101
+ d(o) {
102
+ o && B(t), G(n), m = !1, i();
65
103
  }
66
104
  };
67
105
  }
68
- function $(t) {
69
- var m, u;
70
- let e, o, a, f, i = t[1].dimensionType === q.Two && I(t), n = t[1].pointType === D.PointTag && ((u = (m = t[1].style) == null ? void 0 : m.point) == null ? void 0 : u.style) !== "noPoint" && L(t);
106
+ function $(e) {
107
+ var p, s;
108
+ let t, n, r, m, i = e[1].dimensionType === q.Two && I(e), o = e[1].pointType === D.PointTag && ((s = (p = e[1].style) == null ? void 0 : p.point) == null ? void 0 : s.style) !== "noPoint" && L(e);
71
109
  return {
72
110
  c() {
73
- e = W("div"), i && i.c(), o = Q(), n && n.c(), T(e, "class", "wrapper svelte-1vzhbu2"), T(e, "data-id", a = t[1].id), _(e, "hide", t[10]), _(e, "unfolded", t[6]), d(e, "left", t[9], !1), d(e, "top", t[8], !1), d(e, "z-index", t[7], !1);
111
+ t = W("div"), i && i.c(), n = Q(), o && o.c(), T(t, "class", "wrapper svelte-1vzhbu2"), T(t, "data-id", r = e[1].id), _(t, "hide", e[10]), _(t, "unfolded", e[6]), d(t, "left", e[9], !1), d(t, "top", e[8], !1), d(t, "z-index", e[7], !1);
74
112
  },
75
- m(l, r) {
76
- j(l, e, r), i && i.m(e, null), R(e, o), n && n.m(e, null), f = !0;
113
+ m(a, l) {
114
+ j(a, t, l), i && i.m(t, null), R(t, n), o && o.m(t, null), m = !0;
77
115
  },
78
- p(l, [r]) {
116
+ p(a, [l]) {
79
117
  var g, c;
80
- l[1].dimensionType === q.Two ? i ? (i.p(l, r), r & 2 && p(i, 1)) : (i = I(l), i.c(), p(i, 1), i.m(e, o)) : i && (z(), h(i, 1, 1, () => {
118
+ a[1].dimensionType === q.Two ? i ? (i.p(a, l), l & 2 && u(i, 1)) : (i = I(a), i.c(), u(i, 1), i.m(t, n)) : i && (z(), h(i, 1, 1, () => {
81
119
  i = null;
82
- }), A()), l[1].pointType === D.PointTag && ((c = (g = l[1].style) == null ? void 0 : g.point) == null ? void 0 : c.style) !== "noPoint" ? n ? (n.p(l, r), r & 2 && p(n, 1)) : (n = L(l), n.c(), p(n, 1), n.m(e, null)) : n && (z(), h(n, 1, 1, () => {
83
- n = null;
84
- }), A()), (!f || r & 2 && a !== (a = l[1].id)) && T(e, "data-id", a), r & 1024 && _(e, "hide", l[10]), r & 64 && _(e, "unfolded", l[6]), r & 512 && d(e, "left", l[9], !1), r & 256 && d(e, "top", l[8], !1), r & 128 && d(e, "z-index", l[7], !1);
120
+ }), A()), a[1].pointType === D.PointTag && ((c = (g = a[1].style) == null ? void 0 : g.point) == null ? void 0 : c.style) !== "noPoint" ? o ? (o.p(a, l), l & 2 && u(o, 1)) : (o = L(a), o.c(), u(o, 1), o.m(t, null)) : o && (z(), h(o, 1, 1, () => {
121
+ o = null;
122
+ }), A()), (!m || l & 2 && r !== (r = a[1].id)) && T(t, "data-id", r), l & 1024 && _(t, "hide", a[10]), l & 64 && _(t, "unfolded", a[6]), l & 512 && d(t, "left", a[9], !1), l & 256 && d(t, "top", a[8], !1), l & 128 && d(t, "z-index", a[7], !1);
85
123
  },
86
- i(l) {
87
- f || (p(i), p(n), f = !0);
124
+ i(a) {
125
+ m || (u(i), u(o), m = !0);
88
126
  },
89
- o(l) {
90
- h(i), h(n), f = !1;
127
+ o(a) {
128
+ h(i), h(o), m = !1;
91
129
  },
92
- d(l) {
93
- l && B(e), i && i.d(), n && n.d();
130
+ d(a) {
131
+ a && B(t), i && i.d(), o && o.d();
94
132
  }
95
133
  };
96
134
  }
97
- function ee(t, e, o) {
98
- let a, f, i, n, m, u, { withAnimation: l = !1 } = e, { tag: r } = e, { hooks: g } = e, { state: c } = e, { mediaStore: y } = e, { temporaryState: S } = e, k, w = !1;
99
- function H(s) {
135
+ function tt(e, t, n) {
136
+ let r, m, i, o, p, s, { withAnimation: a = !1 } = t, { tag: l } = t, { hooks: g } = t, { state: c } = t, { mediaStore: y } = t, { temporaryState: S } = t, k, w = !1;
137
+ function H(f) {
100
138
  k !== void 0 && clearTimeout(k), w = !0, k = setTimeout(
101
139
  () => {
102
140
  w = !1;
@@ -104,36 +142,36 @@ function ee(t, e, o) {
104
142
  800
105
143
  );
106
144
  }
107
- const J = (s) => {
108
- w || g.emit("click", { event: s, target: "TagPoint", tag: r });
145
+ const J = (f) => {
146
+ w || g.emit("click", { event: f, target: "TagPoint", tag: l });
109
147
  };
110
- return t.$$set = (s) => {
111
- "withAnimation" in s && o(0, l = s.withAnimation), "tag" in s && o(1, r = s.tag), "hooks" in s && o(2, g = s.hooks), "state" in s && o(3, c = s.state), "mediaStore" in s && o(4, y = s.mediaStore), "temporaryState" in s && o(5, S = s.temporaryState);
112
- }, t.$$.update = () => {
113
- var s, b, v, P;
114
- t.$$.dirty & 2 && o(12, a = (s = r.state) == null ? void 0 : s.visible), t.$$.dirty & 4096 && o(10, f = !a), t.$$.dirty & 2 && o(6, i = (b = r.state) == null ? void 0 : b.unfolded), t.$$.dirty & 2 && o(9, n = ((v = r.pointTagStyle) == null ? void 0 : v.leftPercent) + "%"), t.$$.dirty & 2 && o(8, m = ((P = r.pointTagStyle) == null ? void 0 : P.topPercent) + "%"), t.$$.dirty & 2 && o(7, u = r.contentType === X.Link ? 1 : 0), t.$$.dirty & 64 && H();
148
+ return e.$$set = (f) => {
149
+ "withAnimation" in f && n(0, a = f.withAnimation), "tag" in f && n(1, l = f.tag), "hooks" in f && n(2, g = f.hooks), "state" in f && n(3, c = f.state), "mediaStore" in f && n(4, y = f.mediaStore), "temporaryState" in f && n(5, S = f.temporaryState);
150
+ }, e.$$.update = () => {
151
+ var f, b, v, P;
152
+ e.$$.dirty & 2 && n(12, r = (f = l.state) == null ? void 0 : f.visible), e.$$.dirty & 4096 && n(10, m = !r), e.$$.dirty & 2 && n(6, i = (b = l.state) == null ? void 0 : b.unfolded), e.$$.dirty & 2 && n(9, o = ((v = l.pointTagStyle) == null ? void 0 : v.leftPercent) + "%"), e.$$.dirty & 2 && n(8, p = ((P = l.pointTagStyle) == null ? void 0 : P.topPercent) + "%"), e.$$.dirty & 2 && n(7, s = l.contentType === X.Link ? 1 : 0), e.$$.dirty & 64 && H();
115
153
  }, [
154
+ a,
116
155
  l,
117
- r,
118
156
  g,
119
157
  c,
120
158
  y,
121
159
  S,
122
160
  i,
123
- u,
161
+ s,
162
+ p,
163
+ o,
124
164
  m,
125
- n,
126
- f,
127
165
  J,
128
- a
166
+ r
129
167
  ];
130
168
  }
131
- class re extends K {
132
- constructor(e) {
169
+ class Rt extends K {
170
+ constructor(t) {
133
171
  super(), M(
134
172
  this,
135
- e,
136
- ee,
173
+ t,
174
+ tt,
137
175
  $,
138
176
  N,
139
177
  {
@@ -149,5 +187,5 @@ class re extends K {
149
187
  }
150
188
  }
151
189
  export {
152
- re as default
190
+ Rt as default
153
191
  };
@@ -372,6 +372,5 @@ class ae extends $ {
372
372
  }
373
373
  export {
374
374
  ae as PanoTagPluginController,
375
- ae as default,
376
375
  re as pluginFlag
377
376
  };
@@ -1,9 +1,5 @@
1
- import l from "./controller/index.js";
2
- import { default as e, pluginFlag as u } from "./controller/index.js";
3
- const r = (o, a) => new l(o, a);
1
+ import { PanoTagPluginController as r } from "./controller/index.js";
2
+ const g = (o, n) => new r(o, n);
4
3
  export {
5
- r as PanoTagPlugin,
6
- e as PanoTagPluginController,
7
- r as default,
8
- u as pluginFlag
4
+ g as PanoTagPlugin
9
5
  };
@@ -39,6 +39,5 @@ const n = {
39
39
  }
40
40
  };
41
41
  export {
42
- n as DefaultConfig,
43
- n as default
42
+ n as DefaultConfig
44
43
  };
@@ -3,6 +3,5 @@ function n() {
3
3
  }
4
4
  const t = n();
5
5
  export {
6
- t as RANDON_STRING,
7
- n as random
6
+ t as RANDON_STRING
8
7
  };
@@ -1,12 +1,12 @@
1
- function s(n, r, a = 20, o = 5) {
1
+ function s(r, l, o = 20, a = 5) {
2
2
  return new Promise((c, i) => {
3
3
  let t = 0;
4
- const l = setInterval(() => {
5
- const e = n();
6
- r(e) ? (clearInterval(l), c(e)) : t >= o && (clearInterval(l), i(e)), t++;
7
- }, a);
4
+ const n = setInterval(() => {
5
+ const e = r();
6
+ l(e) ? (clearInterval(n), c(e)) : t >= a && (clearInterval(n), i(e)), t++;
7
+ }, o);
8
8
  });
9
9
  }
10
10
  export {
11
- s as default
11
+ s as doUtil
12
12
  };
@@ -0,0 +1 @@
1
+ import "three";
@@ -2,11 +2,11 @@ var H = Object.defineProperty;
2
2
  var L = (v, p, t) => p in v ? H(v, p, { enumerable: !0, configurable: !0, writable: !0, value: t }) : v[p] = t;
3
3
  var f = (v, p, t) => (L(v, typeof p != "symbol" ? p + "" : p, t), t);
4
4
  import { transformCoords as w, getQuadraticCurvePoint as b, nextFrame as D, execInterval as N, queue as T, noop as S, unTransformCoords as E } from "./utils.js";
5
- import W from "./tween.js";
5
+ import { tween as W } from "./tween.js";
6
6
  import { PaintBrushTypeEnum as g } from "./typings.js";
7
7
  import { Subscribe as U } from "./Subscribe.js";
8
- import k from "../../shared-utils/uuid.js";
9
- import M from "./style.js";
8
+ import { uuid as k } from "../../shared-utils/uuid.js";
9
+ import { PaintBrushStyle as M } from "./style.js";
10
10
  class X extends U {
11
11
  constructor(t) {
12
12
  super();
@@ -100,5 +100,5 @@ transition: all 500ms;
100
100
  </style>
101
101
  `;
102
102
  export {
103
- t as default
103
+ t as PaintBrushStyle
104
104
  };
@@ -1,11 +1,11 @@
1
- import { Tween as s, Easing as u } from "@tweenjs/tween.js";
2
- function f(t, a, r, i = u.Linear.None) {
3
- const e = new s(t).to(a, r).easing(i).start();
1
+ import { Tween as m, Easing as s } from "@tweenjs/tween.js";
2
+ function c(t, r, a, i = s.Linear.None) {
3
+ const e = new m(t).to(r, a).easing(i).start();
4
4
  function n(o) {
5
5
  !e.update(o) || requestAnimationFrame(n);
6
6
  }
7
7
  return requestAnimationFrame(n), e;
8
8
  }
9
9
  export {
10
- f as default
10
+ c as tween
11
11
  };
@@ -0,0 +1,2 @@
1
+ import "./PaintBrush/utils.js";
2
+ import "@tweenjs/tween.js";
@@ -1,6 +1,6 @@
1
1
  import { SvelteComponent as L, init as k, safe_not_equal as z, append_styles as P, element as m, attr as c, set_style as o, insert as U, append as A, noop as d, detach as C } from "svelte/internal";
2
2
  import { CAMERA_IMAGE as g } from "../Assets/camera.js";
3
- import R from "../../shared-utils/math/rad2Deg.js";
3
+ import { rad2Deg as R } from "../../shared-utils/math/rad2Deg.js";
4
4
  function S(a) {
5
5
  P(a, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
6
6
  }