@realsee/dnalogel 2.3.4 → 2.3.5-dev.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 (328) hide show
  1. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  2. package/dist/ModelViewPlugin/Plugin.d.ts +8 -0
  3. package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -2
  4. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
  5. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
  6. package/dist/PanoTagPlugin/controller/index.d.ts +14 -12
  7. package/dist/PanoTagPlugin/index.d.ts +1 -1
  8. package/dist/PanoTagPlugin/typings/controller.d.ts +12 -11
  9. package/dist/PanoTagPlugin/typings/index.d.ts +5 -1
  10. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
  11. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
  12. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
  13. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
  14. package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
  15. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  16. package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  17. package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  18. package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  19. package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  20. package/dist/index.cjs.js +51 -51
  21. package/dist/index.js +7181 -6289
  22. package/dist/index.umd.js +43 -43
  23. package/docs/assets/search.js +1 -1
  24. package/docs/classes/CSS3DRender.html +31 -31
  25. package/docs/classes/CruisePluginController.html +24 -24
  26. package/docs/classes/Magnifier.html +16 -16
  27. package/docs/classes/ModelRoomLabelController.html +11 -11
  28. package/docs/classes/Object3DHelperController.html +24 -24
  29. package/docs/classes/PaintBrush.html +15 -15
  30. package/docs/classes/PanoTagPluginController.html +196 -164
  31. package/docs/classes/Util.BetterTween.html +8 -8
  32. package/docs/classes/Util.FivePointSelector.html +12 -12
  33. package/docs/classes/Util.Interval.html +12 -12
  34. package/docs/classes/Util.Magnifier.html +17 -17
  35. package/docs/classes/Util.PointDomHelper.html +11 -11
  36. package/docs/classes/Util.PointHelper.html +11 -11
  37. package/docs/classes/Util.Rectangle.html +13 -13
  38. package/docs/enums/CameraMovementEffect.html +7 -7
  39. package/docs/enums/ContentType.html +75 -35
  40. package/docs/enums/DIRECTION.html +9 -9
  41. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  42. package/docs/enums/DimensionType.html +19 -15
  43. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  44. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  45. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  46. package/docs/enums/PointType.html +19 -15
  47. package/docs/enums/Rotation.html +8 -8
  48. package/docs/functions/CSS3DRenderPlugin.html +35 -13
  49. package/docs/functions/CameraMovementPlugin.html +35 -13
  50. package/docs/functions/CruisePlugin.html +35 -13
  51. package/docs/functions/GuideLinePlugin.html +36 -14
  52. package/docs/functions/ItemLabelPlugin.html +35 -13
  53. package/docs/functions/MapviewFloorplanPlugin.html +35 -13
  54. package/docs/functions/ModelChassisCompassPlugin.html +35 -13
  55. package/docs/functions/ModelEntryDoorGuidePlugin.html +35 -13
  56. package/docs/functions/ModelFloorplanPlugin.html +35 -13
  57. package/docs/functions/ModelItemLabelPlugin.html +35 -13
  58. package/docs/functions/ModelRoomLabelPlugin.html +35 -13
  59. package/docs/functions/ModelTVVideoPlugin.html +35 -13
  60. package/docs/functions/ModelViewPlugin.html +35 -13
  61. package/docs/functions/Object3DHelperPlugin.html +35 -13
  62. package/docs/functions/PanoCompassPlugin.html +35 -13
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +35 -13
  64. package/docs/functions/PanoDoorLabelPlugin.html +35 -13
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +35 -13
  66. package/docs/functions/PanoMeasurePlugin.html +35 -13
  67. package/docs/functions/PanoRulerPlugin.html +35 -13
  68. package/docs/functions/PanoRulerProPlugin.html +35 -13
  69. package/docs/functions/PanoSpatialTagPlugin.html +35 -13
  70. package/docs/functions/PanoTagPlugin.html +41 -23
  71. package/docs/functions/TopviewFloorplanPlugin.html +35 -13
  72. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  73. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  74. package/docs/functions/Util.getFrameTime.html +5 -5
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  77. package/docs/functions/Util.isNil.html +5 -5
  78. package/docs/functions/Util.nextFrame.html +5 -5
  79. package/docs/functions/Util.notNil.html +5 -5
  80. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  81. package/docs/functions/Util.tweenProgress.html +5 -5
  82. package/docs/functions/pluginFlag.html +36 -14
  83. package/docs/index.html +35 -13
  84. package/docs/interfaces/AddTagConfig.html +64 -0
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  86. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  87. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  88. package/docs/interfaces/EventMap.html +298 -0
  89. package/docs/interfaces/FloorplanBounding.html +8 -8
  90. package/docs/interfaces/FloorplanData.html +10 -10
  91. package/docs/interfaces/FloorplanEntrance.html +11 -11
  92. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  93. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  94. package/docs/interfaces/FloorplanFloorData.html +9 -9
  95. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  96. package/docs/interfaces/FloorplanObserver.html +9 -9
  97. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  98. package/docs/interfaces/FloorplanPosition.html +7 -7
  99. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  100. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  101. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  102. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  103. package/docs/interfaces/FloorplanServerData.html +7 -7
  104. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  105. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  106. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  107. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  108. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  109. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  110. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  111. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  112. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  113. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  114. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  115. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  116. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  117. package/docs/interfaces/LineJson.html +7 -7
  118. package/docs/interfaces/MinMax.html +71 -0
  119. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  120. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  121. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  122. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  123. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  124. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  125. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  126. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  127. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  128. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  129. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  130. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  131. package/docs/interfaces/ModelViewPluginExportType.html +57 -9
  132. package/docs/interfaces/Object3DHelperState.html +8 -8
  133. package/docs/interfaces/OpenParameter.html +7 -7
  134. package/docs/interfaces/PaintBrushAction.html +12 -12
  135. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  136. package/docs/interfaces/PaintBrushState.html +10 -10
  137. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  138. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +36 -14
  139. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  140. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  141. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  142. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  143. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  144. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  145. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  146. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  147. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +36 -14
  148. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +36 -14
  149. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  150. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  151. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  152. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  153. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  154. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  155. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  156. package/docs/interfaces/Point.html +8 -8
  157. package/docs/interfaces/PointJson.html +8 -8
  158. package/docs/interfaces/Room.html +9 -9
  159. package/docs/interfaces/RoomInfo.html +7 -7
  160. package/docs/interfaces/RoomLabel.html +14 -14
  161. package/docs/interfaces/RoomRules.html +36 -14
  162. package/docs/interfaces/Rooms.html +36 -14
  163. package/docs/interfaces/Scissor.html +9 -9
  164. package/docs/interfaces/State.html +89 -0
  165. package/docs/interfaces/TagCache.html +92 -0
  166. package/docs/interfaces/TagConfig.html +15 -19
  167. package/docs/interfaces/TagIconUrl.html +91 -0
  168. package/docs/interfaces/Tags.html +14 -12
  169. package/docs/interfaces/TemporaryState.html +64 -0
  170. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  171. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  172. package/docs/modules/Util.html +5 -5
  173. package/docs/modules.html +65 -21
  174. package/docs/types/ArrayPosition.html +37 -15
  175. package/docs/types/CSS3DRenderExportType.html +36 -14
  176. package/docs/types/CSS3DRenderPluginExportType.html +36 -14
  177. package/docs/types/CSS3DRenderPluginParameterType.html +36 -14
  178. package/docs/types/Color.html +36 -14
  179. package/docs/types/ContentTypeConfigKey.html +37 -15
  180. package/docs/types/ContentTypeMap.html +247 -0
  181. package/docs/types/Create3DDomContainerReturnType.html +36 -14
  182. package/docs/types/Create3DElementReturnType.html +36 -14
  183. package/docs/types/CruisePluginExportType.html +36 -14
  184. package/docs/types/Direction-1.html +36 -14
  185. package/docs/types/Direction4.html +36 -14
  186. package/docs/types/FloorplanRuleLabels.html +36 -14
  187. package/docs/types/FloorplanServerRuleLabels.html +36 -14
  188. package/docs/types/GuideLinePluginExportType.html +36 -14
  189. package/docs/types/HelperEventMap.html +36 -14
  190. package/docs/types/MapviewFloorplanPluginParameterType.html +36 -14
  191. package/docs/types/MapviewFloorplanPluginReturnType.html +36 -14
  192. package/docs/types/MediaData.html +36 -14
  193. package/docs/types/MediaStore.html +247 -0
  194. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +36 -14
  195. package/docs/types/ModelFloorplanPluginParameterType.html +36 -14
  196. package/docs/types/ModelFloorplanPluginReturnType.html +36 -14
  197. package/docs/types/ModelRoomLabelPluginParameters.html +36 -14
  198. package/docs/types/ModelRoomLabelPluginReturnType.html +36 -14
  199. package/docs/types/MoveArgs.html +36 -14
  200. package/docs/types/MoveOpts.html +36 -14
  201. package/docs/types/Object3DHelperEventMap.html +36 -14
  202. package/docs/types/ObjectFit.html +36 -14
  203. package/docs/types/PaintBrushEventMap.html +36 -14
  204. package/docs/types/PanoCompassPluginData.html +36 -14
  205. package/docs/types/PanoCompassPluginExportType.html +36 -14
  206. package/docs/types/PanoCompassPluginParameterType.html +36 -14
  207. package/docs/types/PanoFloorplanRadarPluginParameterType.html +36 -14
  208. package/docs/types/PanoFloorplanRadarPluginReturnType.html +36 -14
  209. package/docs/types/PanoIndex.html +247 -0
  210. package/docs/types/PanoMeasurePluginEvent.html +36 -14
  211. package/docs/types/PanoMeasureReturnType.html +36 -14
  212. package/docs/types/PanoSpatialTagPluginId.html +36 -14
  213. package/docs/types/PanoTagPluginExportInterface.html +36 -14
  214. package/docs/types/PanoTagPluginParamsInterface.html +36 -14
  215. package/docs/types/PlaneTag.html +39 -19
  216. package/docs/types/PlaneTagElement.html +252 -0
  217. package/docs/types/Point2DElement.html +252 -0
  218. package/docs/types/Point2DTag.html +254 -0
  219. package/docs/types/Point3DElement.html +252 -0
  220. package/docs/types/Point3DTag.html +254 -0
  221. package/docs/types/PointTag.html +39 -23
  222. package/docs/types/PointTagElement.html +252 -0
  223. package/docs/types/Position.html +36 -14
  224. package/docs/types/RotateArgs.html +36 -14
  225. package/docs/types/RotateOpts.html +36 -14
  226. package/docs/types/RuleLabelsKey.html +36 -14
  227. package/docs/types/RuleLabelsValue.html +36 -14
  228. package/docs/types/StickType.html +247 -0
  229. package/docs/types/Tag.html +40 -22
  230. package/docs/types/Tag2D.html +41 -20
  231. package/docs/types/Tag3D.html +41 -20
  232. package/docs/types/TagContentType.html +247 -0
  233. package/docs/types/TagDimensionType.html +247 -0
  234. package/docs/types/TagElement.html +254 -0
  235. package/docs/types/TagEvents.html +282 -0
  236. package/docs/types/TagHooks.html +247 -0
  237. package/docs/types/TagIconSize.html +250 -0
  238. package/docs/types/TagId.html +36 -14
  239. package/docs/types/TagPointType.html +250 -0
  240. package/docs/types/TopviewFloorplanPluginParameterType.html +36 -14
  241. package/docs/types/TopviewFloorplanPluginReturnType.html +36 -14
  242. package/docs/types/{ContentTypeConfigKeyArray.html → WorkCode.html} +39 -17
  243. package/docs/variables/FLOOR_TYPE_MAP.html +36 -14
  244. package/docs/variables/PLUGIN.html +36 -14
  245. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +36 -14
  246. package/docs/variables/ROOM_TYPE_MAP.html +36 -14
  247. package/docs/variables/VERSION.html +36 -14
  248. package/docs/variables/itemLabelPluginServerParams.html +36 -14
  249. package/docs/variables/modelItemLabelPluginServerParams.html +36 -14
  250. package/docs/variables/modelRoomLabelPluginServerParams.html +36 -14
  251. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  252. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +2 -2
  253. package/libs/ModelViewPlugin/Plugin.d.ts +8 -0
  254. package/libs/ModelViewPlugin/Plugin.js +83 -73
  255. package/libs/Object3DHelperPlugin/Controller.js +36 -34
  256. package/libs/PanoTagPlugin/Assets/Icon.d.ts +3 -2
  257. package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
  258. package/libs/PanoTagPlugin/Components/Common/Audio.js +138 -133
  259. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +173 -0
  260. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +108 -0
  261. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +32 -32
  262. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +94 -59
  263. package/libs/PanoTagPlugin/Components/Common/Media.js +212 -194
  264. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +109 -80
  265. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +78 -0
  266. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +135 -0
  267. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +147 -0
  268. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
  269. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +209 -0
  270. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +204 -0
  271. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +98 -0
  272. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +100 -130
  273. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +49 -98
  274. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +47 -44
  275. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +98 -0
  276. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +122 -0
  277. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +98 -0
  278. package/libs/PanoTagPlugin/Components/Tag/index.js +130 -133
  279. package/libs/PanoTagPlugin/Components/TagContainer.js +89 -105
  280. package/libs/PanoTagPlugin/Components/TagItem.js +139 -0
  281. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
  282. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
  283. package/libs/PanoTagPlugin/controller/TagComputer.js +168 -151
  284. package/libs/PanoTagPlugin/controller/index.d.ts +14 -12
  285. package/libs/PanoTagPlugin/controller/index.js +128 -133
  286. package/libs/PanoTagPlugin/index.d.ts +1 -1
  287. package/libs/PanoTagPlugin/index.js +31 -20
  288. package/libs/PanoTagPlugin/tag.config.js +23 -16
  289. package/libs/PanoTagPlugin/typings/controller.d.ts +12 -11
  290. package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
  291. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
  292. package/libs/PanoTagPlugin/typings/tag/Tag.js +1 -0
  293. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
  294. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
  295. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
  296. package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
  297. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
  298. package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
  299. package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
  300. package/libs/PanoTagPlugin/utils/color.js +17 -0
  301. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  302. package/libs/PanoTagPlugin/utils/getImageInfo.js +50 -0
  303. package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  304. package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
  305. package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  306. package/libs/PanoTagPlugin/utils/tag/format.js +17 -0
  307. package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  308. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +10 -0
  309. package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
  310. package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  311. package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
  312. package/libs/index.js +112 -101
  313. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +17 -20
  314. package/libs/vendor/svelte/internal/index.js +381 -341
  315. package/package.json +3 -3
  316. package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
  317. package/docs/enums/LinkType.html +0 -67
  318. package/docs/interfaces/ContentTypeMap.html +0 -212
  319. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
  320. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
  321. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
  322. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
  323. package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
  324. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
  325. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
  326. package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
  327. package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
  328. package/libs/PanoTagPlugin/typings/tag.js +0 -7
package/libs/index.js CHANGED
@@ -1,44 +1,45 @@
1
- import { PaintBrush as Jm } from "./components/PaintBrush/index.js";
2
- import { PaintBrushTypeEnum as Qm } from "./components/PaintBrush/typings.js";
3
- import { ModelViewPlugin as Xm } from "./ModelViewPlugin/Plugin.js";
4
- import { CSS3DRenderPlugin as $m } from "./CSS3DRenderPlugin/index.js";
5
- import { PanoCursorRaycasterPlugin as rp } from "./PanoCursorRaycasterPlugin/index.js";
6
- import { ModelRoomLabelPlugin as mp, modelRoomLabelPluginServerParams as pp } from "./ModelRoomLabelPlugin/index.js";
7
- import { FLOOR_PLAN_ATTACHED_TO as ep } from "./floorplan/constant.js";
8
- import { ModelFloorplanPlugin as np } from "./floorplan/ModelFloorplanPlugin/index.js";
9
- import { MapviewFloorplanPlugin as ap } from "./floorplan/MapviewFloorplanPlugin/index.js";
10
- import { TopviewFloorplanPlugin as up } from "./floorplan/TopviewFloorplanPlugin/index.js";
11
- import { PanoFloorplanRadarPlugin as gp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
12
- import { FLOOR_TYPE_MAP as sp, ROOM_FETILE_TYPE_MAP as Lp, ROOM_TYPE_MAP as Mp } from "./floorplan/typings/floorplanServerData.js";
13
- import { ModelChassisCompassPlugin as Ep } from "./ModelChassisCompassPlugin/Plugin.js";
14
- import { ModelEntryDoorGuidePlugin as _p } from "./ModelEntryDoorGuidePlugin/Plugin.js";
15
- import { CameraMovementPlugin as Op } from "./CameraMovementPlugin/CameraMovementPlugin.js";
16
- import { CameraMovementEffect as Ip, Rotation as Ap } from "./CameraMovementPlugin/typing.js";
17
- import { PanoRulerPlugin as bp } from "./PanoRulerPlugin/Plugin.js";
18
- import { PanoRulerProPlugin as Fp } from "./PanoRulerProPlugin/index.js";
19
- import { PanoCompassPlugin as yp } from "./PanoCompassPlugin/index.js";
20
- import { PanoMeasurePlugin as Np } from "./PanoMeasurePlugin/index.js";
21
- import { PanoSpatialTagPlugin as Vp } from "./PanoSpatialTagPlugin/Plugin.js";
22
- import { modelItemLabelPluginServerParams as wp } from "./ModelItemLabelPlugin/index.js";
23
- import { ModelTVVideoPlugin as Hp } from "./ModelTVVideoPlugin/Plugin.js";
24
- import { DIRECTION as jp } from "./ModelTVVideoPlugin/typings.js";
25
- import { itemLabelPluginServerParams as qp } from "./ItemLabelPlugin/index.js";
26
- import { PanoDoorLabelPlugin as Jp } from "./PanoDoorLabelPlugin/index.js";
27
- import { GuideLinePlugin as Qp } from "./GuideLinePlugin/index.js";
28
- import { CruisePlugin as Xp } from "./CruisePlugin/index.js";
29
- import { PanoTagPlugin as $p } from "./PanoTagPlugin/index.js";
30
- import { Object3DHelperPlugin as ri } from "./Object3DHelperPlugin/index.js";
31
- import { index as mi } from "./shared-utils/index.js";
32
- import { CSS3DRender as ii } from "./CSS3DRenderPlugin/CSS3DRender.js";
33
- import { Magnifier as li } from "./PanoMeasurePlugin/Modules/Magnifier.js";
34
- import { DISPLAY_STRATEGY_TYPE as Pi } from "./ModelItemLabelPlugin/typings.js";
35
- import { ModelItemLabelPlugin as fi } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
36
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as xi } from "./ItemLabelPlugin/typings.js";
37
- import { Plugin as Ti } from "./ItemLabelPlugin/Plugin.js";
38
- import { default as Li } from "./CruisePlugin/Controller.js";
39
- import { PanoTagPluginController as di, pluginFlag as Ei } from "./PanoTagPlugin/controller/index.js";
40
- import { ContentType as _i, DimensionType as Ci, LinkType as Oi, PointType as Si } from "./PanoTagPlugin/typings/tag.js";
41
- import { Object3DHelperController as Ai, PLUGIN as Di, VERSION as bi } from "./Object3DHelperPlugin/Controller.js";
1
+ import { PaintBrush as pp } from "./components/PaintBrush/index.js";
2
+ import { PaintBrushTypeEnum as ep } from "./components/PaintBrush/typings.js";
3
+ import { ModelViewPlugin as np } from "./ModelViewPlugin/Plugin.js";
4
+ import { CSS3DRenderPlugin as ap } from "./CSS3DRenderPlugin/index.js";
5
+ import { PanoCursorRaycasterPlugin as up } from "./PanoCursorRaycasterPlugin/index.js";
6
+ import { ModelRoomLabelPlugin as gp, modelRoomLabelPluginServerParams as Tp } from "./ModelRoomLabelPlugin/index.js";
7
+ import { FLOOR_PLAN_ATTACHED_TO as Lp } from "./floorplan/constant.js";
8
+ import { ModelFloorplanPlugin as dp } from "./floorplan/ModelFloorplanPlugin/index.js";
9
+ import { MapviewFloorplanPlugin as Rp } from "./floorplan/MapviewFloorplanPlugin/index.js";
10
+ import { TopviewFloorplanPlugin as Cp } from "./floorplan/TopviewFloorplanPlugin/index.js";
11
+ import { PanoFloorplanRadarPlugin as Sp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
12
+ import { FLOOR_TYPE_MAP as Ap, ROOM_FETILE_TYPE_MAP as Dp, ROOM_TYPE_MAP as bp } from "./floorplan/typings/floorplanServerData.js";
13
+ import { ModelChassisCompassPlugin as Fp } from "./ModelChassisCompassPlugin/Plugin.js";
14
+ import { ModelEntryDoorGuidePlugin as yp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
15
+ import { CameraMovementPlugin as Np } from "./CameraMovementPlugin/CameraMovementPlugin.js";
16
+ import { CameraMovementEffect as Vp, Rotation as hp } from "./CameraMovementPlugin/typing.js";
17
+ import { PanoRulerPlugin as Bp } from "./PanoRulerPlugin/Plugin.js";
18
+ import { PanoRulerProPlugin as Up } from "./PanoRulerProPlugin/index.js";
19
+ import { PanoCompassPlugin as kp } from "./PanoCompassPlugin/index.js";
20
+ import { PanoMeasurePlugin as zp } from "./PanoMeasurePlugin/index.js";
21
+ import { PanoSpatialTagPlugin as Kp } from "./PanoSpatialTagPlugin/Plugin.js";
22
+ import { modelItemLabelPluginServerParams as Wp } from "./ModelItemLabelPlugin/index.js";
23
+ import { ModelTVVideoPlugin as Zp } from "./ModelTVVideoPlugin/Plugin.js";
24
+ import { DIRECTION as oi } from "./ModelTVVideoPlugin/typings.js";
25
+ import { itemLabelPluginServerParams as ti } from "./ItemLabelPlugin/index.js";
26
+ import { PanoDoorLabelPlugin as pi } from "./PanoDoorLabelPlugin/index.js";
27
+ import { GuideLinePlugin as ei } from "./GuideLinePlugin/index.js";
28
+ import { CruisePlugin as ni } from "./CruisePlugin/index.js";
29
+ import { PanoTagPlugin as ai } from "./PanoTagPlugin/index.js";
30
+ import { Object3DHelperPlugin as ui } from "./Object3DHelperPlugin/index.js";
31
+ import { index as gi } from "./shared-utils/index.js";
32
+ import { CSS3DRender as si } from "./CSS3DRenderPlugin/CSS3DRender.js";
33
+ import { Magnifier as Mi } from "./PanoMeasurePlugin/Modules/Magnifier.js";
34
+ import { DISPLAY_STRATEGY_TYPE as Ei } from "./ModelItemLabelPlugin/typings.js";
35
+ import { ModelItemLabelPlugin as _i } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
36
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Oi } from "./ItemLabelPlugin/typings.js";
37
+ import { Plugin as Ii } from "./ItemLabelPlugin/Plugin.js";
38
+ import { default as Di } from "./CruisePlugin/Controller.js";
39
+ import { PanoTagPluginController as Yi, pluginFlag as Fi } from "./PanoTagPlugin/controller/index.js";
40
+ import { ContentType as yi } from "./PanoTagPlugin/typings/tag/TagData.js";
41
+ import { DimensionType as Ni, PointType as ci } from "./PanoTagPlugin/typings/tag/Utils.js";
42
+ import { Object3DHelperController as hi, PLUGIN as wi, VERSION as Bi } from "./Object3DHelperPlugin/Controller.js";
42
43
  import "./components/PaintBrush/Controller.js";
43
44
  import "./components/PaintBrush/utils.js";
44
45
  import "./components/PaintBrush/tween.js";
@@ -217,20 +218,23 @@ import "./CruisePlugin/utils/linerValue.js";
217
218
  import "./CruisePlugin/utils/sleep.js";
218
219
  import "object-assign-deep";
219
220
  import "./PanoTagPlugin/Components/TagContainer.js";
220
- import "./PanoTagPlugin/Components/TagWrapper.js";
221
- import "./PanoTagPlugin/utils/noTypecheck.js";
221
+ import "./PanoTagPlugin/Components/TagItem.js";
222
222
  import "./PanoTagPlugin/Components/Tag/index.js";
223
- import "./PanoTagPlugin/Components/Tag/TextTag.js";
223
+ import "./PanoTagPlugin/Components/Tag/TextTag/index.js";
224
+ import "./PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
224
225
  import "./PanoTagPlugin/Components/Common/Line/Straight.js";
225
226
  import "./PanoTagPlugin/Components/Common/Shadow.js";
226
- import "./PanoTagPlugin/Components/Common/MultiLineText.js";
227
- import "./PanoTagPlugin/Components/Common/Text.js";
227
+ import "./PanoTagPlugin/Components/Common/Text/FlyMText.js";
228
+ import "./PanoTagPlugin/Components/Common/Text/FlyText.js";
228
229
  import "animejs";
229
230
  import "./PanoTagPlugin/utils/search.js";
230
231
  import "./PanoTagPlugin/utils/constants.js";
231
232
  import "./PanoTagPlugin/Components/Common/Arrow.js";
232
233
  import "./PanoTagPlugin/Assets/Icon.js";
233
234
  import "./PanoTagPlugin/utils/doUtil.js";
235
+ import "./PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
236
+ import "./PanoTagPlugin/Components/Common/Text/MText.js";
237
+ import "./PanoTagPlugin/utils/px2rem.js";
234
238
  import "./PanoTagPlugin/Components/Tag/ImageTextTag.js";
235
239
  import "./PanoTagPlugin/Components/Common/Line/Polyline.js";
236
240
  import "./PanoTagPlugin/Components/Common/Media.js";
@@ -245,16 +249,22 @@ import "./vendor/swiper/components-shared/update-swiper.js";
245
249
  import "./vendor/swiper/svelte/swiper-slide.js";
246
250
  import "swiper/css";
247
251
  import "swiper/css/autoplay";
252
+ import "./PanoTagPlugin/utils/noTypecheck.js";
248
253
  import "./PanoTagPlugin/Components/Common/MediaItem.js";
249
254
  import "./PanoTagPlugin/Components/Tag/MarketingTag.js";
250
- import "./PanoTagPlugin/Components/Tag/AudioTag.js";
255
+ import "./PanoTagPlugin/Components/Tag/AudioTag/index.js";
256
+ import "./PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js";
251
257
  import "./PanoTagPlugin/Components/Common/Audio.js";
258
+ import "./PanoTagPlugin/Components/Common/Icon/audioIcon.js";
259
+ import "./PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
260
+ import "./PanoTagPlugin/utils/timeToString.js";
261
+ import "./PanoTagPlugin/utils/color.js";
252
262
  import "./PanoTagPlugin/Components/Tag/MediaPlane.js";
253
263
  import "./PanoTagPlugin/Components/Tag/LinkTag.js";
264
+ import "./PanoTagPlugin/Components/Common/Icon/Icon.js";
265
+ import "./PanoTagPlugin/utils/getImageInfo.js";
254
266
  import "./PanoTagPlugin/Components/Tag/CustomTag.js";
255
- import "./PanoTagPlugin/Components/Common/Point/PointSwitch.js";
256
- import "./PanoTagPlugin/Components/Common/Point/CustomPoint.js";
257
- import "./PanoTagPlugin/Components/Common/Point/DefaultPoint.js";
267
+ import "./PanoTagPlugin/Components/Common/TagPoint.js";
258
268
  import "./PanoTagPlugin/utils/addDebugPoints.js";
259
269
  import "./PanoTagPlugin/utils/planeNormal.js";
260
270
  import "./PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
@@ -264,9 +274,11 @@ import "./PanoTagPlugin/utils/throttle.js";
264
274
  import "./PanoTagPlugin/utils/resizeObserver.js";
265
275
  import "./PanoTagPlugin/controller/TagComputer.js";
266
276
  import "./PanoTagPlugin/tag.config.js";
277
+ import "./PanoTagPlugin/utils/tag/tagCheck.js";
267
278
  import "./PanoTagPlugin/utils/tagPosition.js";
268
279
  import "./PanoTagPlugin/utils/checkRange.js";
269
280
  import "./PanoTagPlugin/controller/TagCacheController.js";
281
+ import "./PanoTagPlugin/utils/tag/format.js";
270
282
  import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
271
283
  import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
272
284
  import "./shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
@@ -300,55 +312,54 @@ import "./shared-utils/three/Assets/index.js";
300
312
  import "./shared-utils/three/PointDomHelper.js";
301
313
  import "./shared-utils/three/FivePointSelector.js";
302
314
  export {
303
- ii as CSS3DRender,
304
- $m as CSS3DRenderPlugin,
305
- Ip as CameraMovementEffect,
306
- Op as CameraMovementPlugin,
307
- _i as ContentType,
308
- Xp as CruisePlugin,
309
- Li as CruisePluginController,
310
- jp as DIRECTION,
311
- Pi as DISPLAY_STRATEGY_TYPE,
312
- Ci as DimensionType,
313
- ep as FLOOR_PLAN_ATTACHED_TO,
314
- sp as FLOOR_TYPE_MAP,
315
- Qp as GuideLinePlugin,
316
- xi as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
317
- Ti as ItemLabelPlugin,
318
- Oi as LinkType,
319
- li as Magnifier,
320
- ap as MapviewFloorplanPlugin,
321
- Ep as ModelChassisCompassPlugin,
322
- _p as ModelEntryDoorGuidePlugin,
323
- np as ModelFloorplanPlugin,
324
- fi as ModelItemLabelPlugin,
325
- mp as ModelRoomLabelPlugin,
326
- Hp as ModelTVVideoPlugin,
327
- Xm as ModelViewPlugin,
328
- Ai as Object3DHelperController,
329
- ri as Object3DHelperPlugin,
330
- Di as PLUGIN,
331
- Jm as PaintBrush,
332
- Qm as PaintBrushTypeEnum,
333
- yp as PanoCompassPlugin,
334
- rp as PanoCursorRaycasterPlugin,
335
- Jp as PanoDoorLabelPlugin,
336
- gp as PanoFloorplanRadarPlugin,
337
- Np as PanoMeasurePlugin,
338
- bp as PanoRulerPlugin,
339
- Fp as PanoRulerProPlugin,
340
- Vp as PanoSpatialTagPlugin,
341
- $p as PanoTagPlugin,
342
- di as PanoTagPluginController,
343
- Si as PointType,
344
- Lp as ROOM_FETILE_TYPE_MAP,
345
- Mp as ROOM_TYPE_MAP,
346
- Ap as Rotation,
347
- up as TopviewFloorplanPlugin,
348
- mi as Util,
349
- bi as VERSION,
350
- qp as itemLabelPluginServerParams,
351
- wp as modelItemLabelPluginServerParams,
352
- pp as modelRoomLabelPluginServerParams,
353
- Ei as pluginFlag
315
+ si as CSS3DRender,
316
+ ap as CSS3DRenderPlugin,
317
+ Vp as CameraMovementEffect,
318
+ Np as CameraMovementPlugin,
319
+ yi as ContentType,
320
+ ni as CruisePlugin,
321
+ Di as CruisePluginController,
322
+ oi as DIRECTION,
323
+ Ei as DISPLAY_STRATEGY_TYPE,
324
+ Ni as DimensionType,
325
+ Lp as FLOOR_PLAN_ATTACHED_TO,
326
+ Ap as FLOOR_TYPE_MAP,
327
+ ei as GuideLinePlugin,
328
+ Oi as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
329
+ Ii as ItemLabelPlugin,
330
+ Mi as Magnifier,
331
+ Rp as MapviewFloorplanPlugin,
332
+ Fp as ModelChassisCompassPlugin,
333
+ yp as ModelEntryDoorGuidePlugin,
334
+ dp as ModelFloorplanPlugin,
335
+ _i as ModelItemLabelPlugin,
336
+ gp as ModelRoomLabelPlugin,
337
+ Zp as ModelTVVideoPlugin,
338
+ np as ModelViewPlugin,
339
+ hi as Object3DHelperController,
340
+ ui as Object3DHelperPlugin,
341
+ wi as PLUGIN,
342
+ pp as PaintBrush,
343
+ ep as PaintBrushTypeEnum,
344
+ kp as PanoCompassPlugin,
345
+ up as PanoCursorRaycasterPlugin,
346
+ pi as PanoDoorLabelPlugin,
347
+ Sp as PanoFloorplanRadarPlugin,
348
+ zp as PanoMeasurePlugin,
349
+ Bp as PanoRulerPlugin,
350
+ Up as PanoRulerProPlugin,
351
+ Kp as PanoSpatialTagPlugin,
352
+ ai as PanoTagPlugin,
353
+ Yi as PanoTagPluginController,
354
+ ci as PointType,
355
+ Dp as ROOM_FETILE_TYPE_MAP,
356
+ bp as ROOM_TYPE_MAP,
357
+ hp as Rotation,
358
+ Cp as TopviewFloorplanPlugin,
359
+ gi as Util,
360
+ Bi as VERSION,
361
+ ti as itemLabelPluginServerParams,
362
+ Wp as modelItemLabelPluginServerParams,
363
+ Tp as modelRoomLabelPluginServerParams,
364
+ Fi as pluginFlag
354
365
  };
@@ -1,10 +1,10 @@
1
- var b = Object.defineProperty;
2
- var f = (o, n, e) => n in o ? b(o, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[n] = e;
3
- var i = (o, n, e) => (f(o, typeof n != "symbol" ? n + "" : n, e), e);
4
- import { CSS3DRender as y } from "../../../CSS3DRenderPlugin/CSS3DRender.js";
1
+ var D = Object.defineProperty;
2
+ var y = (o, n, e) => n in o ? D(o, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[n] = e;
3
+ var i = (o, n, e) => (y(o, typeof n != "symbol" ? n + "" : n, e), e);
4
+ import { CSS3DRender as f } from "../../../CSS3DRenderPlugin/CSS3DRender.js";
5
5
  import * as c from "three";
6
6
  import { RectangleScaleHelperAbstract as m } from "../Base/BaseHelper.js";
7
- import { CSS3DObject as S } from "three/examples/jsm/renderers/CSS3DRenderer";
7
+ import "three/examples/jsm/renderers/CSS3DRenderer";
8
8
  import { rectangleScaleDom as j } from "./HTML/rectangleScaleDom.js";
9
9
  import "./OutlineHelper.js";
10
10
  class v extends m {
@@ -14,7 +14,7 @@ class v extends m {
14
14
  i(this, "cornerPositions", []);
15
15
  i(this, "css3DInstance");
16
16
  i(this, "plane");
17
- i(this, "css3DRenderer", new y());
17
+ i(this, "css3DRenderer", new f());
18
18
  i(this, "camera");
19
19
  i(this, "scene");
20
20
  i(this, "container");
@@ -63,8 +63,8 @@ class v extends m {
63
63
  this.plane.position.copy(a), this.plane.applyQuaternion(e);
64
64
  }
65
65
  this.cornerPositions.forEach((a) => {
66
- const r = new c.Vector3().subVectors(a, t).applyQuaternion(e).add(t);
67
- a.copy(r);
66
+ const p = new c.Vector3().subVectors(a, t).applyQuaternion(e).add(t);
67
+ a.copy(p);
68
68
  });
69
69
  }
70
70
  enable() {
@@ -87,7 +87,7 @@ class v extends m {
87
87
  this.disable(), this.css3DRenderer.dispose();
88
88
  }
89
89
  initRectangleScaleHelper() {
90
- var p;
90
+ var r;
91
91
  const e = this.getCornerPositions();
92
92
  if (!e)
93
93
  return;
@@ -97,27 +97,24 @@ class v extends m {
97
97
  return;
98
98
  this.css3DInstance = t, t.appendToElement(this.container);
99
99
  const s = t.css3DObject.container, { container: l, squares: a } = j();
100
- this.points = a.map((h, D) => ({
100
+ this.points = a.map((h, b) => ({
101
101
  direction: h.direction,
102
102
  point: h.element,
103
- position: this.calculatePointPosition(e)[D]
104
- })), s.insertBefore(l, (p = s.children[0]) != null ? p : null);
105
- const r = new c.PlaneGeometry(t.css3DObject.width, t.css3DObject.height), d = new c.MeshBasicMaterial({
103
+ position: this.calculatePointPosition(e)[b]
104
+ })), s.insertBefore(l, (r = s.children[0]) != null ? r : null);
105
+ const p = new c.PlaneGeometry(t.css3DObject.width, t.css3DObject.height), d = new c.MeshBasicMaterial({
106
106
  color: 0,
107
107
  opacity: 0.15,
108
108
  transparent: !0,
109
109
  side: c.DoubleSide
110
- }), u = new c.Mesh(r, d);
110
+ }), u = new c.Mesh(p, d);
111
111
  this.scene.add(u), this.updatePosition();
112
112
  }
113
113
  getCornerPositions() {
114
114
  const { originObject3D: e } = this;
115
- if (e instanceof S) {
116
- if (e.isCSS3DObjectPlus)
117
- return e.cornerPoints;
118
- console.error("\u6682\u65F6\u53EA\u652F\u6301 CSS3DRenderPlugin \u751F\u6210\u7684\u7269\u4F53");
119
- } else
120
- console.error("\u5F53\u524D\u7269\u4F53\u6682\u65F6\u4E0D\u652F\u6301 ScaleHelper");
115
+ if (e.isCSS3DObjectPlus)
116
+ return e.cornerPoints;
117
+ console.error("\u5F53\u524D\u7269\u4F53\u6682\u65F6\u4E0D\u652F\u6301 ScaleHelper");
121
118
  }
122
119
  calculatePointPosition(e) {
123
120
  return [