@realsee/dnalogel 3.22.0 → 3.23.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 (384) hide show
  1. package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -0
  2. package/dist/ModelMakerPlugin/utils/Text.svelte.d.ts +1 -0
  3. package/dist/index.cjs.js +54 -54
  4. package/dist/index.js +3960 -3878
  5. package/dist/index.umd.js +47 -47
  6. package/dist/shared-utils/Object3DHelper/utils/boundingBox.d.ts +12 -0
  7. package/dist/shared-utils/tag.d.ts +5 -1
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +8 -8
  10. package/docs/classes/CSS3DRender.html +3 -3
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  13. package/docs/classes/ModelMakerPluginType.ModelMakerController.html +15 -15
  14. package/docs/classes/ModelRoomLabelController.html +3 -3
  15. package/docs/classes/MoveController.html +3 -3
  16. package/docs/classes/Object3DHelperController.html +3 -3
  17. package/docs/classes/PaintBrush.html +3 -3
  18. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  19. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  20. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  21. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  22. package/docs/classes/PanoTagPluginController.html +3 -3
  23. package/docs/classes/Sculpt.html +3 -3
  24. package/docs/classes/Util.BetterTween.html +3 -3
  25. package/docs/classes/Util.Interval.html +3 -3
  26. package/docs/classes/Util.LineSegments.html +3 -3
  27. package/docs/classes/Util.Magnifier.html +3 -3
  28. package/docs/classes/Util.Object3D.html +3 -3
  29. package/docs/classes/Util.PointDomHelper.html +3 -3
  30. package/docs/classes/Util.PointHelper.html +3 -3
  31. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  32. package/docs/classes/Util.Rectangle.html +3 -3
  33. package/docs/classes/WalkController.html +3 -3
  34. package/docs/enums/CameraMovementEffect.html +3 -3
  35. package/docs/enums/ContentType.html +3 -3
  36. package/docs/enums/DIRECTION.html +3 -3
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  38. package/docs/enums/DimensionType.html +3 -3
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  41. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  42. package/docs/enums/PointType.html +3 -3
  43. package/docs/enums/Rotation.html +3 -3
  44. package/docs/functions/AreaMakerPlugin.html +3 -3
  45. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  46. package/docs/functions/CameraMovementPlugin.html +3 -3
  47. package/docs/functions/CruisePlugin.html +3 -3
  48. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  49. package/docs/functions/GuideLinePlugin.html +3 -3
  50. package/docs/functions/ItemLabelPlugin.html +3 -3
  51. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  52. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  53. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  54. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  55. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  56. package/docs/functions/ModelMakerPlugin.html +3 -3
  57. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  58. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  59. package/docs/functions/ModelViewPlugin.html +3 -3
  60. package/docs/functions/MovePlugin.html +3 -3
  61. package/docs/functions/Object3DHelperPlugin.html +3 -3
  62. package/docs/functions/PanoCompassPlugin.html +3 -3
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  64. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  66. package/docs/functions/PanoMeasurePlugin.html +3 -3
  67. package/docs/functions/PanoRulerPlugin.html +3 -3
  68. package/docs/functions/PanoRulerProPlugin.html +3 -3
  69. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  70. package/docs/functions/PanoTagPlugin.html +3 -3
  71. package/docs/functions/PanoVideoPlugin.html +3 -3
  72. package/docs/functions/PipelinePlugin.html +3 -3
  73. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  74. package/docs/functions/Util.absoluteUrl.html +3 -3
  75. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  76. package/docs/functions/Util.equal.html +3 -3
  77. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  78. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  79. package/docs/functions/Util.getFrameTime.html +3 -3
  80. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  81. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  82. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  83. package/docs/functions/Util.isModelLike.html +3 -3
  84. package/docs/functions/Util.isNil.html +3 -3
  85. package/docs/functions/Util.isPanoramaLike.html +3 -3
  86. package/docs/functions/Util.nextFrame.html +3 -3
  87. package/docs/functions/Util.notNil.html +3 -3
  88. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  89. package/docs/functions/Util.tweenProgress.html +3 -3
  90. package/docs/functions/Util.uuid.html +3 -3
  91. package/docs/functions/pluginFlag.html +3 -3
  92. package/docs/index.html +4 -4
  93. package/docs/interfaces/AddTagConfig.html +3 -3
  94. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  104. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  105. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  106. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  107. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  108. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  109. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  110. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  115. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  116. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  117. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  118. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  119. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  120. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  121. package/docs/interfaces/EventMap.html +3 -3
  122. package/docs/interfaces/FloorplanBounding.html +3 -3
  123. package/docs/interfaces/FloorplanData.html +3 -3
  124. package/docs/interfaces/FloorplanEntrance.html +3 -3
  125. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  126. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  127. package/docs/interfaces/FloorplanFloorData.html +3 -3
  128. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  129. package/docs/interfaces/FloorplanObserver.html +3 -3
  130. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  131. package/docs/interfaces/FloorplanPosition.html +3 -3
  132. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  133. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  134. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  135. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  136. package/docs/interfaces/FloorplanServerData.html +3 -3
  137. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  138. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  139. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  140. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  141. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  142. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  143. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  144. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  145. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  146. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  147. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  148. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  149. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  163. package/docs/interfaces/HelperOffset.html +3 -3
  164. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  165. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  166. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  167. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  168. package/docs/interfaces/MinMax.html +3 -3
  169. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  170. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  171. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  172. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  173. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  174. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  175. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  176. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  177. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  178. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  179. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  180. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  181. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  182. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  183. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  184. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  185. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  186. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  187. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  188. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  189. package/docs/interfaces/Object3DHelperState.html +3 -3
  190. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  191. package/docs/interfaces/PaintBrushAction.html +3 -3
  192. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  193. package/docs/interfaces/PaintBrushState.html +3 -3
  194. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  195. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  196. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  197. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  198. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  199. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  200. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  201. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  202. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  203. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  204. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  205. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  206. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  207. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  208. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  209. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  210. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  211. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  212. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  213. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  216. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  217. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  218. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  219. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  220. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  221. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  222. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  223. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  224. package/docs/interfaces/Point.html +3 -3
  225. package/docs/interfaces/Room.html +3 -3
  226. package/docs/interfaces/RoomInfo.html +3 -3
  227. package/docs/interfaces/RoomLabel.html +3 -3
  228. package/docs/interfaces/RoomRules.html +3 -3
  229. package/docs/interfaces/Rooms.html +3 -3
  230. package/docs/interfaces/Scissor.html +3 -3
  231. package/docs/interfaces/State.html +3 -3
  232. package/docs/interfaces/TagCacheInterface.html +3 -3
  233. package/docs/interfaces/TagConfig.html +3 -3
  234. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  235. package/docs/interfaces/TagIconUrl.html +3 -3
  236. package/docs/interfaces/TagObjectGroup.html +3 -3
  237. package/docs/interfaces/TagStyle.html +3 -3
  238. package/docs/interfaces/Tags.html +3 -3
  239. package/docs/interfaces/TemporaryState.html +3 -3
  240. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  241. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  242. package/docs/interfaces/Util.PointIntersection.html +3 -3
  243. package/docs/modules/AreaMakerPluginType.html +3 -3
  244. package/docs/modules/CruisePluginTypes.html +3 -3
  245. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  246. package/docs/modules/GuideLineItem.html +3 -3
  247. package/docs/modules/GuideLineModeItem.html +3 -3
  248. package/docs/modules/GuideLinePluginType.html +3 -3
  249. package/docs/modules/ModelMakerPluginType.html +3 -3
  250. package/docs/modules/PanoVideoPluginType.html +3 -3
  251. package/docs/modules/Util.html +3 -3
  252. package/docs/modules.html +4 -4
  253. package/docs/types/AddObject3DHelperConfig.html +3 -3
  254. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  255. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  256. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  257. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  258. package/docs/types/ArrayPosition.html +3 -3
  259. package/docs/types/AudioAppearance.html +3 -3
  260. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  261. package/docs/types/CSS3DRenderExportType.html +3 -3
  262. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  263. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  264. package/docs/types/ClassFunctionParameters.html +3 -3
  265. package/docs/types/Color.html +3 -3
  266. package/docs/types/ContentTypeConfigKey.html +3 -3
  267. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  268. package/docs/types/ContentTypeMap.html +3 -3
  269. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  270. package/docs/types/Create3DElementReturnType.html +3 -3
  271. package/docs/types/CruisePluginExportType.html +3 -3
  272. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  273. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  274. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  275. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  276. package/docs/types/DeprecatedTagProperty.html +3 -3
  277. package/docs/types/Direction-1.html +3 -3
  278. package/docs/types/Direction4.html +3 -3
  279. package/docs/types/ElementRenderer.html +3 -3
  280. package/docs/types/FloorplanRuleLabels.html +3 -3
  281. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  282. package/docs/types/GuideLinePluginExportType.html +3 -3
  283. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  284. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  285. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  286. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  287. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  288. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  289. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  290. package/docs/types/HelperEventMap.html +3 -3
  291. package/docs/types/InternalHelperEventMap.html +3 -3
  292. package/docs/types/LoadTagConfig.html +3 -3
  293. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  294. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  295. package/docs/types/MediaData.html +3 -3
  296. package/docs/types/MediaStore.html +3 -3
  297. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  298. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  299. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  300. package/docs/types/ModelId.html +3 -3
  301. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  302. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  303. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  304. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  305. package/docs/types/MoveArgs.html +3 -3
  306. package/docs/types/MoveOpts.html +3 -3
  307. package/docs/types/Object3DHelperEventMap.html +3 -3
  308. package/docs/types/ObjectFit.html +3 -3
  309. package/docs/types/PaintBrushEventMap.html +3 -3
  310. package/docs/types/PanoCompassPluginData.html +3 -3
  311. package/docs/types/PanoCompassPluginExportType.html +3 -3
  312. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  313. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  314. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  315. package/docs/types/PanoIndex.html +3 -3
  316. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  317. package/docs/types/PanoMeasureReturnType.html +3 -3
  318. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  319. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  320. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  321. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  322. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  323. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  324. package/docs/types/PipelinePluginParameterType.html +3 -3
  325. package/docs/types/PipelinePluginReturnType.html +3 -3
  326. package/docs/types/PlaneTag.html +3 -3
  327. package/docs/types/Point2DTag.html +3 -3
  328. package/docs/types/Point3DTag.html +3 -3
  329. package/docs/types/PointTag.html +3 -3
  330. package/docs/types/PointTagInstance.html +3 -3
  331. package/docs/types/Position.html +3 -3
  332. package/docs/types/PositionFrom.html +3 -3
  333. package/docs/types/RotateArgs.html +3 -3
  334. package/docs/types/RotateOpts.html +3 -3
  335. package/docs/types/RuleLabelsKey.html +3 -3
  336. package/docs/types/RuleLabelsValue.html +3 -3
  337. package/docs/types/ScaleCallback.html +3 -3
  338. package/docs/types/ScalePosition.html +3 -3
  339. package/docs/types/StickType.html +3 -3
  340. package/docs/types/Tag.html +3 -3
  341. package/docs/types/Tag2D.html +3 -3
  342. package/docs/types/Tag3D.html +3 -3
  343. package/docs/types/TagConfigByKey.html +3 -3
  344. package/docs/types/TagContentType.html +3 -3
  345. package/docs/types/TagContentTypeMapping.html +3 -3
  346. package/docs/types/TagDimensionType.html +3 -3
  347. package/docs/types/TagElement.html +3 -3
  348. package/docs/types/TagEvents.html +3 -3
  349. package/docs/types/TagGLTFObject.html +3 -3
  350. package/docs/types/TagHooks.html +3 -3
  351. package/docs/types/TagId.html +3 -3
  352. package/docs/types/TagInstance.html +3 -3
  353. package/docs/types/TagPointType.html +3 -3
  354. package/docs/types/TagRendererMap.html +3 -3
  355. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  356. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  357. package/docs/types/WorkCode.html +3 -3
  358. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  359. package/docs/variables/PLUGIN.html +3 -3
  360. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  361. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  362. package/docs/variables/defaultGlobalConfig.html +3 -3
  363. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  364. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  365. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  366. package/libs/AreaMakerPlugin/utils/Item.js +12 -13
  367. package/libs/ModelMakerPlugin/Controller.js +61 -68
  368. package/libs/ModelMakerPlugin/index.js +6 -2
  369. package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -0
  370. package/libs/ModelMakerPlugin/item/baseItem.js +16 -16
  371. package/libs/ModelMakerPlugin/item/polygonItem.js +1 -1
  372. package/libs/ModelMakerPlugin/item/prismItem.js +20 -7
  373. package/libs/ModelMakerPlugin/utils/Text.js +45 -0
  374. package/libs/ModelMakerPlugin/utils/Text.svelte.d.ts +1 -0
  375. package/libs/ModelMakerPlugin/utils/tagRenderer.js +23 -8
  376. package/libs/base/BasePlugin.js +1 -1
  377. package/libs/components/AreaLabel/LabelItem.js +61 -61
  378. package/libs/index.js +125 -124
  379. package/libs/shared-utils/Object3DHelper/utils/boundingBox.d.ts +12 -0
  380. package/libs/shared-utils/Object3DHelper/utils/boundingBox.js +44 -22
  381. package/libs/shared-utils/logger.js +1 -1
  382. package/libs/shared-utils/tag.d.ts +5 -1
  383. package/libs/shared-utils/tag.js +50 -29
  384. package/package.json +1 -1
@@ -1,27 +1,27 @@
1
- var v = Object.defineProperty;
2
- var P = (l, n, e) => n in l ? v(l, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[n] = e;
3
- var h = (l, n, e) => (P(l, typeof n != "symbol" ? n + "" : n, e), e);
4
- var f = (l, n, e) => new Promise((a, o) => {
5
- var c = (r) => {
1
+ var P = Object.defineProperty;
2
+ var E = (a, r, e) => r in a ? P(a, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[r] = e;
3
+ var l = (a, r, e) => (E(a, typeof r != "symbol" ? r + "" : r, e), e);
4
+ var f = (a, r, e) => new Promise((s, o) => {
5
+ var c = (i) => {
6
6
  try {
7
- p(e.next(r));
8
- } catch (d) {
9
- o(d);
7
+ n(e.next(i));
8
+ } catch (p) {
9
+ o(p);
10
10
  }
11
- }, i = (r) => {
11
+ }, t = (i) => {
12
12
  try {
13
- p(e.throw(r));
14
- } catch (d) {
15
- o(d);
13
+ n(e.throw(i));
14
+ } catch (p) {
15
+ o(p);
16
16
  }
17
- }, p = (r) => r.done ? a(r.value) : Promise.resolve(r.value).then(c, i);
18
- p((e = e.apply(l, n)).next());
17
+ }, n = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(c, t);
18
+ n((e = e.apply(a, r)).next());
19
19
  });
20
- import { Controller as E } from "../base/BasePluginWithData.js";
21
- import * as s from "three";
22
- import { ModelMakerBoxItem as V } from "./item/boxItem.js";
20
+ import { Controller as x } from "../base/BasePluginWithData.js";
21
+ import * as h from "three";
22
+ import { ModelMakerBoxItem as R } from "./item/boxItem.js";
23
23
  import { PrismMesh as u } from "../Sculpt/Meshes/Prism.js";
24
- import { anyPositionToVector3 as R } from "../shared-utils/positionToVector3.js";
24
+ import { anyPositionToVector3 as V } from "../shared-utils/positionToVector3.js";
25
25
  import { PolygonWithEdgeMesh as k } from "../Sculpt/Meshes/PolygonWithEdge.js";
26
26
  import "hammerjs";
27
27
  import "@realsee/five";
@@ -30,8 +30,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
30
30
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
31
31
  import { notNil as y } from "../shared-utils/isNil.js";
32
32
  import { tagRendererMap as T } from "./utils/tagRenderer.js";
33
- import { ModelMakerPrismItem as z } from "./item/prismItem.js";
34
- import { ModelMakerPolygonItem as C } from "./item/polygonItem.js";
33
+ import { ModelMakerPrismItem as C } from "./item/prismItem.js";
34
+ import { ModelMakerPolygonItem as I } from "./item/polygonItem.js";
35
+ import { boxVertex as m } from "../shared-utils/Object3DHelper/utils/boundingBox.js";
35
36
  import "../base/BasePlugin.js";
36
37
  import "../shared-utils/Subscribe.js";
37
38
  import "../shared-utils/url/absoluteUrl.js";
@@ -62,97 +63,89 @@ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
62
63
  import "../shared-utils/three/getObjectVisible.js";
63
64
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
64
65
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
66
+ import "./utils/Text.js";
67
+ import "../vendor/svelte/internal/index.js";
68
+ import "../components/AreaLabel/LabelItem.js";
69
+ import "../components/AreaLabel/Assets/roomLabelBg.js";
65
70
  import "./item/baseItem.js";
66
71
  import "../shared-utils/three/addIfNotExists.js";
67
72
  import "../shared-utils/tag.js";
68
73
  import "../shared-utils/five/vector3ToScreen.js";
69
- import "../shared-utils/Object3DHelper/utils/boundingBox.js";
70
74
  import "../shared-utils/five/FiveDomEvents.js";
71
75
  import "../shared-utils/five/calculateThreeMouse.js";
72
- class ze extends E {
76
+ class Be extends x {
73
77
  constructor(e) {
74
78
  super(e);
75
- h(this, "state");
76
- h(this, "data");
77
- h(this, "group", new s.Group());
78
- h(this, "items", []);
79
- h(this, "tagRendererMap", {});
80
- h(this, "onWantsMovePano", () => {
79
+ l(this, "state");
80
+ l(this, "data");
81
+ l(this, "group", new h.Group());
82
+ l(this, "items", []);
83
+ l(this, "tagRendererMap", {});
84
+ l(this, "onWantsMovePano", () => {
81
85
  this.items.forEach((e) => e.tag.hide());
82
86
  });
83
- h(this, "updateTagRenderer", () => {
87
+ l(this, "updateTagRenderer", () => {
84
88
  this.items.forEach((e) => {
85
89
  var o;
86
- const a = (o = this.tagRendererMap[e.type]) != null ? o : T[e.type];
87
- a && e.__renderer !== a && (e.__renderer = a, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = a(e.tag.container, e));
90
+ const s = (o = this.tagRendererMap[e.type]) != null ? o : T[e.type];
91
+ s && e.__renderer !== s && (e.__renderer = s, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = s(e.tag.container, e));
88
92
  });
89
93
  });
90
94
  this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, e.scene.add(this.group), this.handleEnable();
91
95
  }
92
96
  load(e) {
93
97
  return f(this, null, function* () {
94
- var a;
95
- this.clear(), this.data = e, (a = e == null ? void 0 : e.list) == null || a.forEach((o) => {
98
+ var s;
99
+ this.clear(), this.data = e, (s = e == null ? void 0 : e.list) == null || s.forEach((o) => {
96
100
  var c;
97
101
  if (o.type === "triangles") {
98
- const i = new k();
99
- i.setPoints(o.object_data.points), i.setStyle({
102
+ const t = new k();
103
+ t.setPoints(o.object_data.points), t.setStyle({
100
104
  color: o.object_data.color,
101
105
  opacity: o.object_data.opacity,
102
106
  lineColor: o.object_data.color,
103
107
  occlusionVisibility: !1
104
108
  });
105
- const p = new C({
109
+ const n = new I({
106
110
  five: this.five,
107
- model: i,
111
+ model: t,
108
112
  group: this.group,
109
113
  type: o.type,
110
114
  rawData: o
111
115
  });
112
- this.items.push(p);
116
+ this.items.push(n);
113
117
  } else if (o.type === "prism") {
114
- const i = new u();
115
- i.setPoints({
116
- points: o.object_data.points.map((r) => {
117
- var d;
118
- return [r[0], r[1] + ((d = o.object_data.fixedY) != null ? d : 0), r[2]];
118
+ const t = new u();
119
+ t.setPoints({
120
+ points: o.object_data.points.map((i) => {
121
+ var p;
122
+ return [i[0], i[1] + ((p = o.object_data.fixedY) != null ? p : 0), i[2]];
119
123
  }),
120
- heightPoint: R(o.object_data.points[0]).add(
121
- new s.Vector3().setY(o.object_data.height + ((c = o.object_data.fixedHeight) != null ? c : 0))
124
+ heightPoint: V(o.object_data.points[0]).add(
125
+ new h.Vector3().setY(o.object_data.height + ((c = o.object_data.fixedHeight) != null ? c : 0))
122
126
  )
123
- }), i.setStyle({
127
+ }), t.setStyle({
124
128
  color: o.object_data.color,
125
129
  opacity: o.object_data.opacity,
126
130
  lineColor: o.object_data.color,
127
131
  occlusionVisibility: !1
128
132
  });
129
- const p = new z({
133
+ const n = new C({
130
134
  five: this.five,
131
- model: i,
135
+ model: t,
132
136
  group: this.group,
133
137
  type: o.type,
134
138
  rawData: o
135
139
  });
136
- this.items.push(p);
140
+ this.items.push(n);
137
141
  } else if (o.type === "box") {
138
- const i = new u(), { start: p, end: r, rotation: d, opacity: x, color: b } = o.object_data, w = new s.Vector3().fromArray(p), _ = new s.Vector3().fromArray(r), g = new s.Euler().fromArray(d), M = new s.Quaternion().setFromEuler(g), t = new s.Box3();
139
- t.expandByPoint(w), t.expandByPoint(_);
140
- const m = [
141
- t.max.clone(),
142
- new s.Vector3(t.min.x, t.max.y, t.max.z),
143
- new s.Vector3(t.min.x, t.min.y, t.max.z),
144
- new s.Vector3(t.max.x, t.min.y, t.max.z),
145
- new s.Vector3(t.max.x, t.max.y, t.min.z),
146
- new s.Vector3(t.min.x, t.max.y, t.min.z),
147
- t.min.clone(),
148
- new s.Vector3(t.max.x, t.min.y, t.min.z)
149
- ];
150
- i.setPoints({
151
- points: [m[2], m[3], m[7], m[6]],
152
- heightPoint: m[0]
153
- }), i.applyQuaternion(M), i.setStyle({ color: b, opacity: x, lineColor: b, occlusionVisibility: !1 });
154
- const j = new V({ five: this.five, model: i, group: this.group, type: o.type });
155
- this.items.push(j);
142
+ const t = new u(), { start: n, end: i, rotation: p, opacity: _, color: b } = o.object_data, g = new h.Vector3().fromArray(n), w = new h.Vector3().fromArray(i), M = new h.Euler().fromArray(p), j = new h.Quaternion().setFromEuler(M), d = new h.Box3();
143
+ d.expandByPoint(g), d.expandByPoint(w), t.setPoints({
144
+ points: [m(d, 2), m(d, 3), m(d, 7), m(d, 6)],
145
+ heightPoint: m(d, 0)
146
+ }), t.applyQuaternion(j), t.setStyle({ color: b, opacity: _, lineColor: b, occlusionVisibility: !1 });
147
+ const v = new R({ five: this.five, model: t, group: this.group, type: o.type });
148
+ this.items.push(v);
156
149
  }
157
150
  }), this.five.needsRender = !0, this.handleShow(), this.updateTagRenderer();
158
151
  });
@@ -195,5 +188,5 @@ class ze extends E {
195
188
  }
196
189
  }
197
190
  export {
198
- ze as Controller
191
+ Be as Controller
199
192
  };
@@ -50,8 +50,12 @@ import "../Sculpt/Meshes/LineWithDots.js";
50
50
  import "../Sculpt/Meshes/Point.js";
51
51
  import "../shared-utils/three/closeVectors.js";
52
52
  import "./utils/tagRenderer.js";
53
+ import "./utils/Text.js";
54
+ import "../vendor/svelte/internal/index.js";
55
+ import "../components/AreaLabel/LabelItem.js";
56
+ import "../components/AreaLabel/Assets/roomLabelBg.js";
53
57
  import "./item/prismItem.js";
54
- const ro = (o) => new r(o);
58
+ const po = (o) => new r(o);
55
59
  export {
56
- ro as ModelMakerPlugin
60
+ po as ModelMakerPlugin
57
61
  };
@@ -25,6 +25,7 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
25
25
  type: string;
26
26
  rawData?: any;
27
27
  visibleMode?: Mode[];
28
+ position?: THREE.Vector3;
28
29
  });
29
30
  show(): void;
30
31
  hide(): void;
@@ -1,21 +1,21 @@
1
- var h = Object.defineProperty;
2
- var d = (i, s, e) => s in i ? h(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e;
3
- var t = (i, s, e) => (d(i, typeof s != "symbol" ? s + "" : s, e), e);
4
- import * as l from "three";
5
- import { addIfNotExists as m } from "../../shared-utils/three/addIfNotExists.js";
1
+ var d = Object.defineProperty;
2
+ var l = (i, s, e) => s in i ? d(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e;
3
+ var t = (i, s, e) => (l(i, typeof s != "symbol" ? s + "" : s, e), e);
4
+ import * as m from "three";
5
+ import { addIfNotExists as v } from "../../shared-utils/three/addIfNotExists.js";
6
6
  import { Subscribe as a } from "../../shared-utils/Subscribe.js";
7
- import { tag as v } from "../../shared-utils/tag.js";
8
- import { boundingBox as f } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
9
- import { FiveDomEvents as c } from "../../shared-utils/five/FiveDomEvents.js";
7
+ import { tag as f } from "../../shared-utils/tag.js";
8
+ import { boundingBox as c } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
9
+ import { FiveDomEvents as u } from "../../shared-utils/five/FiveDomEvents.js";
10
10
  import "../../shared-utils/positionToVector3.js";
11
11
  import "../../shared-utils/five/vector3ToScreen.js";
12
12
  import "../../shared-utils/three/getObjectVisible.js";
13
13
  import "../../shared-utils/five/calculateThreeMouse.js";
14
14
  let o;
15
- const u = (i) => o || (o = new c(i), o);
16
- class C extends a {
15
+ const g = (i) => o || (o = new u(i), o);
16
+ class B extends a {
17
17
  constructor(e) {
18
- var r;
18
+ var r, n;
19
19
  super();
20
20
  t(this, "type");
21
21
  t(this, "tag");
@@ -25,9 +25,9 @@ class C extends a {
25
25
  t(this, "group");
26
26
  t(this, "enabled", !1);
27
27
  t(this, "fiveDomEvents");
28
- this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = u(this.five);
29
- const n = (r = this.model.center) != null ? r : f(this.model).getCenter(new l.Vector3());
30
- this.tag = v(this.five, n);
28
+ this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = g(this.five);
29
+ const h = (n = (r = e.position) != null ? r : this.model.center) != null ? n : c(this.model).getCenter(new m.Vector3());
30
+ this.tag = f(this.five, h);
31
31
  }
32
32
  get container() {
33
33
  return this.tag.container;
@@ -41,7 +41,7 @@ class C extends a {
41
41
  enable() {
42
42
  if (this.enabled)
43
43
  return;
44
- this.enabled = !0, m(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
44
+ this.enabled = !0, v(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
45
45
  const e = this.onClick.bind(this);
46
46
  this.fiveDomEvents.addEventListener(this.model, "click", e);
47
47
  }
@@ -53,5 +53,5 @@ class C extends a {
53
53
  }
54
54
  }
55
55
  export {
56
- C as ModelMakerBaseItem
56
+ B as ModelMakerBaseItem
57
57
  };
@@ -30,7 +30,7 @@ class T extends h {
30
30
  this.model.visible = !0, this.five.needsRender = !0;
31
31
  }
32
32
  onClick() {
33
- return this.tag.visible ? this.tag.hide() : this.tag.show(), super.onClick(), !0;
33
+ return this.tag.visible ? this.tag.hide({ withAnimation: !0 }) : this.tag.show(), super.onClick(), !0;
34
34
  }
35
35
  }
36
36
  export {
@@ -1,19 +1,32 @@
1
- import { ModelMakerBaseItem as t } from "./baseItem.js";
2
- import "three";
1
+ var c = Object.defineProperty, l = Object.defineProperties;
2
+ var x = Object.getOwnPropertyDescriptors;
3
+ var m = Object.getOwnPropertySymbols;
4
+ var d = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
+ var p = (t, o, r) => o in t ? c(t, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[o] = r, i = (t, o) => {
6
+ for (var r in o || (o = {}))
7
+ d.call(o, r) && p(t, r, o[r]);
8
+ if (m)
9
+ for (var r of m(o))
10
+ b.call(o, r) && p(t, r, o[r]);
11
+ return t;
12
+ }, s = (t, o) => l(t, x(o));
13
+ import { boundingBox as M, boxVertex as n } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
14
+ import { ModelMakerBaseItem as f } from "./baseItem.js";
15
+ import * as u from "three";
3
16
  import "../../shared-utils/three/addIfNotExists.js";
4
17
  import "../../shared-utils/Subscribe.js";
5
18
  import "../../shared-utils/tag.js";
6
19
  import "../../shared-utils/positionToVector3.js";
7
20
  import "../../shared-utils/five/vector3ToScreen.js";
8
- import "../../shared-utils/Object3DHelper/utils/boundingBox.js";
9
21
  import "../../shared-utils/five/FiveDomEvents.js";
10
22
  import "../../shared-utils/three/getObjectVisible.js";
11
23
  import "../../shared-utils/five/calculateThreeMouse.js";
12
- class k extends t {
13
- constructor(...r) {
14
- super(...r), this.enable();
24
+ class R extends f {
25
+ constructor(...o) {
26
+ const r = o[0], e = M(r.model), a = new u.Vector3().lerpVectors(n(e, 0), n(e, 5), 0.5);
27
+ super(s(i({}, r), { position: a })), this.enable();
15
28
  }
16
29
  }
17
30
  export {
18
- k as ModelMakerPrismItem
31
+ R as ModelMakerPrismItem
19
32
  };
@@ -0,0 +1,45 @@
1
+ import { SvelteComponent as s, init as r, safe_not_equal as l, append_styles as f, element as m, text as d, attr as c, insert as p, append as x, set_data as u, noop as i, detach as w } from "../../vendor/svelte/internal/index.js";
2
+ function h(a) {
3
+ f(a, "svelte-129wfaa", ".withAnimation{transition:opacity 0.2s linear}.model-maker-tag.svelte-129wfaa{position:absolute;width:-moz-max-content;width:max-content;left:50%;top:50%;transform:translate(-50%, -50%);color:#fff;font-size:0.875rem;font-weight:bold;text-shadow:0.125rem 0 0.5rem rgba(0, 0, 0, 0.15)}");
4
+ }
5
+ function v(a) {
6
+ let t, o;
7
+ return {
8
+ c() {
9
+ t = m("div"), o = d(
10
+ /*text*/
11
+ a[0]
12
+ ), c(t, "class", "model-maker-tag svelte-129wfaa");
13
+ },
14
+ m(e, n) {
15
+ p(e, t, n), x(t, o);
16
+ },
17
+ p(e, [n]) {
18
+ n & /*text*/
19
+ 1 && u(
20
+ o,
21
+ /*text*/
22
+ e[0]
23
+ );
24
+ },
25
+ i,
26
+ o: i,
27
+ d(e) {
28
+ e && w(t);
29
+ }
30
+ };
31
+ }
32
+ function _(a, t, o) {
33
+ let { text: e } = t;
34
+ return a.$$set = (n) => {
35
+ "text" in n && o(0, e = n.text);
36
+ }, [e];
37
+ }
38
+ class b extends s {
39
+ constructor(t) {
40
+ super(), r(this, t, _, v, l, { text: 0 }, h);
41
+ }
42
+ }
43
+ export {
44
+ b as default
45
+ };
@@ -0,0 +1 @@
1
+ export { SvelteComponentTyped as default } from 'svelte/internal';
@@ -1,11 +1,26 @@
1
- const t = {
2
- box: (e, r) => () => {
3
- },
4
- triangles: (e, r) => () => {
5
- },
6
- prism: (e, r) => () => {
7
- }
1
+ import n from "./Text.js";
2
+ import { LabelItem as p } from "../../components/AreaLabel/LabelItem.js";
3
+ import "../../vendor/svelte/internal/index.js";
4
+ import "../../components/AreaLabel/Assets/roomLabelBg.js";
5
+ const a = (e, r) => {
6
+ var t;
7
+ const o = new n({
8
+ target: e,
9
+ props: { text: (t = r.rawData) == null ? void 0 : t.name }
10
+ });
11
+ return () => o.$destroy();
12
+ }, s = (e, r) => {
13
+ var t;
14
+ const o = new p({
15
+ target: e,
16
+ props: { content: (t = r.rawData) == null ? void 0 : t.name }
17
+ });
18
+ return () => o.$destroy();
19
+ }, x = {
20
+ box: a,
21
+ triangles: a,
22
+ prism: s
8
23
  };
9
24
  export {
10
- t as tagRendererMap
25
+ x as tagRendererMap
11
26
  };
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.22.0");
17
+ i(this, "VERSION", "3.23.1");
18
18
  i(this, "five");
19
19
  /**
20
20
  * @description: 插件事件钩子
@@ -1,82 +1,82 @@
1
- import { SvelteComponent as p, init as C, safe_not_equal as I, append_styles as L, element as v, attr as k, set_style as f, insert as b, noop as y, detach as _, onMount as x, onDestroy as B, text as M, space as O, toggle_class as z, append as j, listen as A, is_function as D, set_data as E, binding_callbacks as G } from "../../vendor/svelte/internal/index.js";
2
- import { ROOM_LABEL_BG as R } from "./Assets/roomLabelBg.js";
3
- function S(n) {
4
- L(n, "svelte-qxepni", ".room-label-item.svelte-qxepni{position:absolute;font-size:0.5rem;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-qxepni{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-qxepni{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-qxepni{font-size:0.625rem}");
1
+ import { SvelteComponent as w, init as C, safe_not_equal as D, append_styles as N, element as v, attr as k, set_style as f, insert as b, noop as y, detach as _, onMount as L, onDestroy as B, text as M, space as O, toggle_class as z, append as q, listen as A, is_function as E, set_data as G, binding_callbacks as R } from "../../vendor/svelte/internal/index.js";
2
+ import { ROOM_LABEL_BG as S } from "./Assets/roomLabelBg.js";
3
+ function F(i) {
4
+ N(i, "svelte-1s88cj8", ".room-label-item.svelte-1s88cj8{position:absolute;font-size:0.5rem;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-1s88cj8{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1s88cj8{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1s88cj8{font-size:0.625rem}");
5
5
  }
6
- function q(n) {
7
- let e, i, l, o, a, m;
6
+ function j(i) {
7
+ let e, n, l, o, a, m;
8
8
  return {
9
9
  c() {
10
- e = v("span"), i = M(
10
+ e = v("span"), n = M(
11
11
  /*content*/
12
- n[0]
13
- ), l = O(), o = v("div"), k(e, "class", "room-label-item__text svelte-qxepni"), f(e, "background-image", "url(" + R + ")"), z(
12
+ i[0]
13
+ ), l = O(), o = v("div"), k(e, "class", "room-label-item__text svelte-1s88cj8"), f(e, "background-image", "url(" + S + ")"), z(
14
14
  e,
15
15
  "wide",
16
16
  /*content*/
17
- n[0].length > 3
18
- ), k(o, "class", "room-label-item__bar svelte-qxepni");
17
+ i[0].length > 3
18
+ ), k(o, "class", "room-label-item__bar svelte-1s88cj8");
19
19
  },
20
- m(s, r) {
21
- b(s, e, r), j(e, i), b(s, l, r), b(s, o, r), a || (m = A(e, "click", function() {
22
- D(
20
+ m(r, s) {
21
+ b(r, e, s), q(e, n), b(r, l, s), b(r, o, s), a || (m = A(e, "click", function() {
22
+ E(
23
23
  /*onClick*/
24
- n[4]
25
- ) && n[4].apply(this, arguments);
24
+ i[4]
25
+ ) && i[4].apply(this, arguments);
26
26
  }), a = !0);
27
27
  },
28
- p(s, r) {
29
- n = s, r & /*content*/
30
- 1 && E(
31
- i,
28
+ p(r, s) {
29
+ i = r, s & /*content*/
30
+ 1 && G(
31
+ n,
32
32
  /*content*/
33
- n[0]
34
- ), r & /*content*/
33
+ i[0]
34
+ ), s & /*content*/
35
35
  1 && z(
36
36
  e,
37
37
  "wide",
38
38
  /*content*/
39
- n[0].length > 3
39
+ i[0].length > 3
40
40
  );
41
41
  },
42
- d(s) {
43
- s && _(e), s && _(l), s && _(o), a = !1, m();
42
+ d(r) {
43
+ r && _(e), r && _(l), r && _(o), a = !1, m();
44
44
  }
45
45
  };
46
46
  }
47
- function F(n) {
48
- let e, i = !/*renderer*/
49
- n[5] && q(n);
47
+ function H(i) {
48
+ let e, n = !/*rendererIfNeed*/
49
+ i[5] && j(i);
50
50
  return {
51
51
  c() {
52
- e = v("div"), i && i.c(), k(e, "class", "room-label-item svelte-qxepni"), f(
52
+ e = v("div"), n && n.c(), k(e, "class", "room-label-item svelte-1s88cj8"), f(
53
53
  e,
54
54
  "z-index",
55
55
  /*zIndex*/
56
- n[2]
56
+ i[2]
57
57
  ), f(
58
58
  e,
59
59
  "transform",
60
60
  /*transform*/
61
- n[3]
61
+ i[3]
62
62
  ), f(
63
63
  e,
64
64
  "opacity",
65
65
  /*opacity*/
66
- n[1]
66
+ i[1]
67
67
  ), f(
68
68
  e,
69
69
  "visibility",
70
70
  /*visibility*/
71
- n[7]
71
+ i[7]
72
72
  );
73
73
  },
74
74
  m(l, o) {
75
- b(l, e, o), i && i.m(e, null), n[10](e);
75
+ b(l, e, o), n && n.m(e, null), i[10](e);
76
76
  },
77
77
  p(l, [o]) {
78
- /*renderer*/
79
- l[5] ? i && (i.d(1), i = null) : i ? i.p(l, o) : (i = q(l), i.c(), i.m(e, null)), o & /*zIndex*/
78
+ /*rendererIfNeed*/
79
+ l[5] ? n && (n.d(1), n = null) : n ? n.p(l, o) : (n = j(l), n.c(), n.m(e, null)), o & /*zIndex*/
80
80
  4 && f(
81
81
  e,
82
82
  "z-index",
@@ -105,50 +105,50 @@ function F(n) {
105
105
  i: y,
106
106
  o: y,
107
107
  d(l) {
108
- l && _(e), i && i.d(), n[10](null);
108
+ l && _(e), n && n.d(), i[10](null);
109
109
  }
110
110
  };
111
111
  }
112
- function H(n, e, i) {
113
- let l, { content: o } = e, { visible: a } = e, { opacity: m = 1 } = e, { zIndex: s = 0 } = e, { transform: r } = e, { onClick: h = () => {
114
- } } = e, { renderer: c } = e, { data: g } = e, u, d;
115
- x(() => {
116
- u && typeof c == "function" && (d = c(u, g));
112
+ function J(i, e, n) {
113
+ let l, { content: o } = e, { visible: a = !0 } = e, { opacity: m = 1 } = e, { zIndex: r = 0 } = e, { transform: s = void 0 } = e, { onClick: h = () => {
114
+ } } = e, { rendererIfNeed: c = void 0 } = e, { rendererData: g = void 0 } = e, d, u;
115
+ L(() => {
116
+ d && typeof c == "function" && (u = c(d, g));
117
117
  }), B(() => {
118
- d == null || d();
118
+ u == null || u();
119
119
  });
120
- function w(t) {
121
- G[t ? "unshift" : "push"](() => {
122
- u = t, i(6, u);
120
+ function I(t) {
121
+ R[t ? "unshift" : "push"](() => {
122
+ d = t, n(6, d);
123
123
  });
124
124
  }
125
- return n.$$set = (t) => {
126
- "content" in t && i(0, o = t.content), "visible" in t && i(8, a = t.visible), "opacity" in t && i(1, m = t.opacity), "zIndex" in t && i(2, s = t.zIndex), "transform" in t && i(3, r = t.transform), "onClick" in t && i(4, h = t.onClick), "renderer" in t && i(5, c = t.renderer), "data" in t && i(9, g = t.data);
127
- }, n.$$.update = () => {
128
- n.$$.dirty & /*visible*/
129
- 256 && i(7, l = a ? "visible" : "hidden");
125
+ return i.$$set = (t) => {
126
+ "content" in t && n(0, o = t.content), "visible" in t && n(8, a = t.visible), "opacity" in t && n(1, m = t.opacity), "zIndex" in t && n(2, r = t.zIndex), "transform" in t && n(3, s = t.transform), "onClick" in t && n(4, h = t.onClick), "rendererIfNeed" in t && n(5, c = t.rendererIfNeed), "rendererData" in t && n(9, g = t.rendererData);
127
+ }, i.$$.update = () => {
128
+ i.$$.dirty & /*visible*/
129
+ 256 && n(7, l = a ? "visible" : "hidden");
130
130
  }, [
131
131
  o,
132
132
  m,
133
- s,
134
133
  r,
134
+ s,
135
135
  h,
136
136
  c,
137
- u,
137
+ d,
138
138
  l,
139
139
  a,
140
140
  g,
141
- w
141
+ I
142
142
  ];
143
143
  }
144
- class N extends p {
144
+ class Q extends w {
145
145
  constructor(e) {
146
146
  super(), C(
147
147
  this,
148
148
  e,
149
+ J,
149
150
  H,
150
- F,
151
- I,
151
+ D,
152
152
  {
153
153
  content: 0,
154
154
  visible: 8,
@@ -156,13 +156,13 @@ class N extends p {
156
156
  zIndex: 2,
157
157
  transform: 3,
158
158
  onClick: 4,
159
- renderer: 5,
160
- data: 9
159
+ rendererIfNeed: 5,
160
+ rendererData: 9
161
161
  },
162
- S
162
+ F
163
163
  );
164
164
  }
165
165
  }
166
166
  export {
167
- N as LabelItem
167
+ Q as LabelItem
168
168
  };