@realsee/dnalogel 2.28.0-dev.0 → 2.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. package/dist/AreaMakerPlugin/Controller.d.ts +94 -0
  2. package/dist/AreaMakerPlugin/index.d.ts +4 -0
  3. package/dist/AreaMakerPlugin/typing.d.ts +148 -0
  4. package/dist/AreaMakerPlugin/utils/Item.d.ts +114 -0
  5. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
  6. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  7. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -4
  8. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -0
  9. package/dist/base/BasePluginWithData.d.ts +1 -1
  10. package/dist/components/AreaLabel/Assets/roomLabelBg.d.ts +1 -0
  11. package/dist/floorplan/index.d.ts +0 -1
  12. package/dist/floorplan/utils/correctFiveState.d.ts +2 -0
  13. package/dist/index.cjs.js +67 -67
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.js +6898 -7187
  16. package/dist/index.umd.js +60 -60
  17. package/dist/shared-utils/index.d.ts +1 -0
  18. package/dist/shared-utils/math/planimetry.d.ts +1 -1
  19. package/dist/shared-utils/three/core/Object3D.d.ts +8 -0
  20. package/dist/shared-utils/three/index.d.ts +2 -0
  21. package/dist/shared-utils/three/loadVideoTexture.d.ts +1 -1
  22. package/dist/shared-utils/three/objects/LineSegments.d.ts +9 -0
  23. package/libs/AreaMakerPlugin/Controller.d.ts +94 -0
  24. package/libs/AreaMakerPlugin/Controller.js +336 -0
  25. package/libs/AreaMakerPlugin/index.d.ts +4 -0
  26. package/libs/AreaMakerPlugin/index.js +37 -0
  27. package/libs/AreaMakerPlugin/typing.d.ts +148 -0
  28. package/libs/AreaMakerPlugin/utils/Item.d.ts +114 -0
  29. package/libs/AreaMakerPlugin/utils/Item.js +263 -0
  30. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +42 -39
  31. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
  32. package/libs/GuideLinePlugin/utils/createLineGeometry.js +13 -13
  33. package/libs/PanoTagPlugin/controller/TagRender.js +19 -18
  34. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  35. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -4
  36. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -0
  37. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +10 -10
  38. package/libs/base/BasePlugin.js +1 -1
  39. package/libs/base/BasePluginWithData.d.ts +1 -1
  40. package/libs/components/AreaLabel/Assets/roomLabelBg.d.ts +1 -0
  41. package/libs/components/AreaLabel/Assets/roomLabelBg.js +4 -0
  42. package/libs/components/AreaLabel/LabelItem.js +125 -0
  43. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +49 -48
  44. package/libs/floorplan/index.d.ts +0 -1
  45. package/libs/floorplan/utils/correctFiveState.d.ts +2 -0
  46. package/libs/floorplan/utils/correctFiveState.js +28 -28
  47. package/libs/index.d.ts +1 -0
  48. package/libs/index.js +120 -122
  49. package/libs/shared-utils/device.js +0 -1
  50. package/libs/shared-utils/five/changeMode.js +32 -29
  51. package/libs/shared-utils/index.d.ts +1 -0
  52. package/libs/shared-utils/index.js +27 -21
  53. package/libs/shared-utils/logger.js +1 -1
  54. package/libs/shared-utils/math/planimetry.d.ts +1 -1
  55. package/libs/shared-utils/math/planimetry.js +36 -29
  56. package/libs/shared-utils/three/core/Object3D.d.ts +8 -0
  57. package/libs/shared-utils/three/core/Object3D.js +22 -0
  58. package/libs/shared-utils/three/index.d.ts +2 -0
  59. package/libs/shared-utils/three/loadVideoTexture.d.ts +1 -1
  60. package/libs/shared-utils/three/loadVideoTexture.js +6 -6
  61. package/libs/shared-utils/three/objects/LineSegments.d.ts +9 -0
  62. package/libs/shared-utils/three/objects/LineSegments.js +9 -0
  63. package/libs/vendor/svelte/internal/index.js +79 -85
  64. package/package.json +2 -2
  65. package/dist/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +0 -114
  66. package/dist/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +0 -23
  67. package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +0 -1
  68. package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +0 -1
  69. package/dist/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +0 -1
  70. package/dist/floorplan/FloorplanRoomsPlugin/Controller.d.ts +0 -40
  71. package/dist/floorplan/FloorplanRoomsPlugin/index.d.ts +0 -6
  72. package/dist/floorplan/FloorplanRoomsPlugin/typing.d.ts +0 -60
  73. package/docs/.nojekyll +0 -1
  74. package/docs/assets/highlight.css +0 -120
  75. package/docs/assets/main.js +0 -58
  76. package/docs/assets/search.js +0 -1
  77. package/docs/assets/style.css +0 -1367
  78. package/docs/classes/CSS3DRender.html +0 -770
  79. package/docs/classes/CruisePluginController.html +0 -669
  80. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -488
  81. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -789
  82. package/docs/classes/Magnifier.html +0 -477
  83. package/docs/classes/ModelRoomLabelController.html +0 -395
  84. package/docs/classes/Object3DHelperController.html +0 -637
  85. package/docs/classes/PaintBrush.html +0 -499
  86. package/docs/classes/PanoMeasurePluginLine.html +0 -519
  87. package/docs/classes/PanoMeasurePluginModel.html +0 -568
  88. package/docs/classes/PanoMeasurePluginPoint.html +0 -359
  89. package/docs/classes/PanoMeasurePluginPolyline.html +0 -564
  90. package/docs/classes/PanoTagPluginController.html +0 -1087
  91. package/docs/classes/Util.BetterTween.html +0 -409
  92. package/docs/classes/Util.Interval.html +0 -425
  93. package/docs/classes/Util.Magnifier.html +0 -496
  94. package/docs/classes/Util.PointDomHelper.html +0 -400
  95. package/docs/classes/Util.PointHelper.html +0 -391
  96. package/docs/classes/Util.PointSelectorHelper.html +0 -447
  97. package/docs/classes/Util.Rectangle.html +0 -448
  98. package/docs/enums/CameraMovementEffect.html +0 -307
  99. package/docs/enums/ContentType.html +0 -443
  100. package/docs/enums/DIRECTION.html +0 -317
  101. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -317
  102. package/docs/enums/DimensionType.html +0 -307
  103. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -310
  104. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -317
  105. package/docs/enums/PaintBrushTypeEnum.html +0 -310
  106. package/docs/enums/PointType.html +0 -307
  107. package/docs/enums/Rotation.html +0 -314
  108. package/docs/functions/CSS3DRenderPlugin.html +0 -285
  109. package/docs/functions/CameraMovementPlugin.html +0 -290
  110. package/docs/functions/CruisePlugin.html +0 -287
  111. package/docs/functions/FloorplanRoomsPlugin.html +0 -285
  112. package/docs/functions/GuideLinePlugin.html +0 -287
  113. package/docs/functions/ItemLabelPlugin.html +0 -287
  114. package/docs/functions/MapviewFloorplanPlugin.html +0 -287
  115. package/docs/functions/ModelChassisCompassPlugin.html +0 -290
  116. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -290
  117. package/docs/functions/ModelFloorplanPlugin.html +0 -287
  118. package/docs/functions/ModelItemLabelPlugin.html +0 -287
  119. package/docs/functions/ModelRoomLabelPlugin.html +0 -285
  120. package/docs/functions/ModelTVVideoPlugin.html +0 -287
  121. package/docs/functions/ModelViewPlugin.html +0 -290
  122. package/docs/functions/Object3DHelperPlugin.html +0 -285
  123. package/docs/functions/PanoCompassPlugin.html +0 -287
  124. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -291
  125. package/docs/functions/PanoDoorLabelPlugin.html +0 -287
  126. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -287
  127. package/docs/functions/PanoMeasurePlugin.html +0 -287
  128. package/docs/functions/PanoRulerPlugin.html +0 -290
  129. package/docs/functions/PanoRulerProPlugin.html +0 -290
  130. package/docs/functions/PanoSpatialTagPlugin.html +0 -290
  131. package/docs/functions/PanoTagPlugin.html +0 -292
  132. package/docs/functions/PanoVideoPlugin.html +0 -296
  133. package/docs/functions/PipelinePlugin.html +0 -285
  134. package/docs/functions/TopviewFloorplanPlugin.html +0 -287
  135. package/docs/functions/Util.absoluteUrl.html +0 -319
  136. package/docs/functions/Util.getCoordsFromClient.html +0 -321
  137. package/docs/functions/Util.getCoordsFromElement.html +0 -321
  138. package/docs/functions/Util.getFrameTime.html +0 -313
  139. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -321
  140. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -321
  141. package/docs/functions/Util.isAbsoluteURL.html +0 -314
  142. package/docs/functions/Util.isModelLike.html +0 -314
  143. package/docs/functions/Util.isNil.html +0 -322
  144. package/docs/functions/Util.isPanoramaLike.html +0 -314
  145. package/docs/functions/Util.nextFrame.html +0 -327
  146. package/docs/functions/Util.notNil.html +0 -322
  147. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -343
  148. package/docs/functions/Util.tweenProgress.html +0 -316
  149. package/docs/functions/Util.uuid.html +0 -312
  150. package/docs/functions/pluginFlag.html +0 -285
  151. package/docs/index.html +0 -351
  152. package/docs/interfaces/AddTagConfig.html +0 -300
  153. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -446
  154. package/docs/interfaces/CSS3DRenderPluginState.html +0 -322
  155. package/docs/interfaces/CameraMovementPluginExportType.html +0 -355
  156. package/docs/interfaces/CruisePluginTypes.Config.html +0 -356
  157. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -358
  158. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -693
  159. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -382
  160. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -418
  161. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -408
  162. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -348
  163. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -316
  164. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -405
  165. package/docs/interfaces/EventMap.html +0 -539
  166. package/docs/interfaces/FloorplanBounding.html +0 -329
  167. package/docs/interfaces/FloorplanData.html +0 -332
  168. package/docs/interfaces/FloorplanEntrance.html +0 -357
  169. package/docs/interfaces/FloorplanExtraObject.html +0 -347
  170. package/docs/interfaces/FloorplanExtraObject3D.html +0 -336
  171. package/docs/interfaces/FloorplanFloorData.html +0 -325
  172. package/docs/interfaces/FloorplanImagePosition.html +0 -311
  173. package/docs/interfaces/FloorplanObserver.html +0 -329
  174. package/docs/interfaces/FloorplanOutlineItem.html +0 -325
  175. package/docs/interfaces/FloorplanPosition.html +0 -311
  176. package/docs/interfaces/FloorplanRoomItem.html +0 -376
  177. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -317
  178. package/docs/interfaces/FloorplanServerBounding.html +0 -329
  179. package/docs/interfaces/FloorplanServerComputedData.html +0 -328
  180. package/docs/interfaces/FloorplanServerData.html +0 -311
  181. package/docs/interfaces/FloorplanServerDoorItem.html +0 -328
  182. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -314
  183. package/docs/interfaces/FloorplanServerEntrance.html +0 -357
  184. package/docs/interfaces/FloorplanServerFloorData.html +0 -325
  185. package/docs/interfaces/FloorplanServerImagePosition.html +0 -311
  186. package/docs/interfaces/FloorplanServerObserver.html +0 -329
  187. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -325
  188. package/docs/interfaces/FloorplanServerPosition.html +0 -311
  189. package/docs/interfaces/FloorplanServerRoomItem.html +0 -388
  190. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -317
  191. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -320
  192. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -358
  193. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -522
  194. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -353
  195. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -344
  196. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -411
  197. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -343
  198. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -468
  199. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -340
  200. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -468
  201. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -305
  202. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -326
  203. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -351
  204. package/docs/interfaces/GuideLinePluginType.Route.html +0 -367
  205. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -349
  206. package/docs/interfaces/HelperOffset.html +0 -329
  207. package/docs/interfaces/ImagePlaneGroup.html +0 -303
  208. package/docs/interfaces/ItemLabelPluginData.html +0 -300
  209. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -385
  210. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -321
  211. package/docs/interfaces/MinMax.html +0 -307
  212. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -307
  213. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -343
  214. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -307
  215. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -314
  216. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -351
  217. package/docs/interfaces/ModelItemLabelPluginData.html +0 -300
  218. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -385
  219. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -307
  220. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -300
  221. package/docs/interfaces/ModelTVVideoPluginData.html +0 -321
  222. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -345
  223. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -300
  224. package/docs/interfaces/ModelViewPluginExportType.html +0 -413
  225. package/docs/interfaces/Object3DHelperState.html +0 -314
  226. package/docs/interfaces/ObjectHelperControllers.html +0 -321
  227. package/docs/interfaces/PaintBrushAction.html +0 -360
  228. package/docs/interfaces/PaintBrushConfigs.html +0 -358
  229. package/docs/interfaces/PaintBrushState.html +0 -342
  230. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -422
  231. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -279
  232. package/docs/interfaces/PanoMeasureParameterType.html +0 -446
  233. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -314
  234. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -311
  235. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -307
  236. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -317
  237. package/docs/interfaces/PanoRulerPluginExportType.html +0 -374
  238. package/docs/interfaces/PanoRulerPluginOptions.html +0 -323
  239. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -314
  240. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -350
  241. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -320
  242. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -307
  243. package/docs/interfaces/PanoRulerProPluginState.html +0 -314
  244. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -293
  245. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -282
  246. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -350
  247. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -332
  248. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -428
  249. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -328
  250. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -349
  251. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -335
  252. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -328
  253. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -320
  254. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -338
  255. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -311
  256. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -417
  257. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -311
  258. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -346
  259. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -365
  260. package/docs/interfaces/Point.html +0 -314
  261. package/docs/interfaces/Room.html +0 -321
  262. package/docs/interfaces/RoomInfo.html +0 -307
  263. package/docs/interfaces/RoomLabel.html +0 -383
  264. package/docs/interfaces/RoomRules.html +0 -282
  265. package/docs/interfaces/Rooms.html +0 -282
  266. package/docs/interfaces/Scissor.html +0 -341
  267. package/docs/interfaces/State.html +0 -328
  268. package/docs/interfaces/TagCacheInterface.html +0 -352
  269. package/docs/interfaces/TagConfig.html +0 -542
  270. package/docs/interfaces/TagGLTFObjectGroup.html +0 -303
  271. package/docs/interfaces/TagIconUrl.html +0 -360
  272. package/docs/interfaces/TagObjectGroup.html +0 -303
  273. package/docs/interfaces/TagStyle.html +0 -313
  274. package/docs/interfaces/Tags.html +0 -543
  275. package/docs/interfaces/TemporaryState.html +0 -300
  276. package/docs/interfaces/Util.MagnifierParameter.html +0 -384
  277. package/docs/interfaces/Util.MouseGroupParameter.html +0 -343
  278. package/docs/interfaces/Util.PointIntersection.html +0 -358
  279. package/docs/modules/CruisePluginTypes.html +0 -325
  280. package/docs/modules/GuideLineItem.html +0 -286
  281. package/docs/modules/GuideLineModeItem.html +0 -291
  282. package/docs/modules/GuideLinePluginType.html +0 -345
  283. package/docs/modules/PanoVideoPluginType.html +0 -298
  284. package/docs/modules/Util.html +0 -340
  285. package/docs/modules.html +0 -534
  286. package/docs/types/ArrayPosition.html +0 -276
  287. package/docs/types/AudioAppearance.html +0 -276
  288. package/docs/types/AudioTagTypeConfigKey.html +0 -276
  289. package/docs/types/CSS3DRenderExportType.html +0 -276
  290. package/docs/types/CSS3DRenderPluginExportType.html +0 -276
  291. package/docs/types/CSS3DRenderPluginParameterType.html +0 -276
  292. package/docs/types/ClassFunctionParameters.html +0 -283
  293. package/docs/types/Color.html +0 -276
  294. package/docs/types/ContentTypeConfigKey.html +0 -276
  295. package/docs/types/ContentTypeConfigKeySplit.html +0 -276
  296. package/docs/types/ContentTypeMap.html +0 -276
  297. package/docs/types/Create3DDomContainerReturnType.html +0 -276
  298. package/docs/types/Create3DElementReturnType.html +0 -276
  299. package/docs/types/CruisePluginExportType.html +0 -276
  300. package/docs/types/CruisePluginTypes.CruiseData.html +0 -315
  301. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -292
  302. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -288
  303. package/docs/types/DeprecatedTagProperty.html +0 -291
  304. package/docs/types/Direction-1.html +0 -276
  305. package/docs/types/Direction4.html +0 -276
  306. package/docs/types/ElementRenderer.html +0 -300
  307. package/docs/types/FloorplanRoomsPluginParameterType.html +0 -276
  308. package/docs/types/FloorplanRoomsPluginReturnType.html +0 -276
  309. package/docs/types/FloorplanRuleLabels.html +0 -279
  310. package/docs/types/FloorplanServerRuleLabels.html +0 -276
  311. package/docs/types/GuideLinePluginExportType.html +0 -276
  312. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -348
  313. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -369
  314. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -302
  315. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -305
  316. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -305
  317. package/docs/types/GuideLinePluginType.PathItem.html +0 -305
  318. package/docs/types/GuideLinePluginType.PluginData.html +0 -314
  319. package/docs/types/HelperEventMap.html +0 -514
  320. package/docs/types/LoadTagConfig.html +0 -276
  321. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -276
  322. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -276
  323. package/docs/types/MediaData.html +0 -292
  324. package/docs/types/MediaStore.html +0 -281
  325. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -283
  326. package/docs/types/ModelFloorplanPluginParameterType.html +0 -276
  327. package/docs/types/ModelFloorplanPluginReturnType.html +0 -276
  328. package/docs/types/ModelRoomLabelPluginParameters.html +0 -276
  329. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -276
  330. package/docs/types/MoveArgs.html +0 -286
  331. package/docs/types/MoveOpts.html +0 -284
  332. package/docs/types/Object3DHelperEventMap.html +0 -369
  333. package/docs/types/ObjectFit.html +0 -276
  334. package/docs/types/PaintBrushEventMap.html +0 -307
  335. package/docs/types/PanoCompassPluginData.html +0 -276
  336. package/docs/types/PanoCompassPluginExportType.html +0 -276
  337. package/docs/types/PanoCompassPluginParameterType.html +0 -276
  338. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -276
  339. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -276
  340. package/docs/types/PanoIndex.html +0 -276
  341. package/docs/types/PanoMeasurePluginEvent.html +0 -276
  342. package/docs/types/PanoMeasureReturnType.html +0 -276
  343. package/docs/types/PanoSpatialTagPluginId.html +0 -276
  344. package/docs/types/PanoTagPluginExportInterface.html +0 -276
  345. package/docs/types/PanoTagPluginParamsInterface.html +0 -276
  346. package/docs/types/PanoVideoPluginParameterType.html +0 -276
  347. package/docs/types/PanoVideoPluginReturnType.html +0 -276
  348. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -284
  349. package/docs/types/PipelinePluginParameterType.html +0 -276
  350. package/docs/types/PipelinePluginReturnType.html +0 -276
  351. package/docs/types/PlaneTag.html +0 -284
  352. package/docs/types/Point2DTag.html +0 -284
  353. package/docs/types/Point3DTag.html +0 -284
  354. package/docs/types/PointTag.html +0 -281
  355. package/docs/types/PointTagInstance.html +0 -281
  356. package/docs/types/Position.html +0 -276
  357. package/docs/types/RotateArgs.html +0 -288
  358. package/docs/types/RotateOpts.html +0 -284
  359. package/docs/types/RuleLabelsKey.html +0 -276
  360. package/docs/types/RuleLabelsValue.html +0 -276
  361. package/docs/types/StickType.html +0 -276
  362. package/docs/types/Tag.html +0 -342
  363. package/docs/types/Tag2D.html +0 -284
  364. package/docs/types/Tag3D.html +0 -284
  365. package/docs/types/TagConfigByKey.html +0 -281
  366. package/docs/types/TagContentType.html +0 -276
  367. package/docs/types/TagDimensionType.html +0 -278
  368. package/docs/types/TagElement.html +0 -286
  369. package/docs/types/TagEvents.html +0 -329
  370. package/docs/types/TagGLTFObject.html +0 -299
  371. package/docs/types/TagHooks.html +0 -276
  372. package/docs/types/TagId.html +0 -276
  373. package/docs/types/TagInstance.html +0 -348
  374. package/docs/types/TagPointType.html +0 -279
  375. package/docs/types/TagRendererMap.html +0 -281
  376. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -276
  377. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -276
  378. package/docs/types/WorkCode.html +0 -276
  379. package/docs/variables/FLOOR_TYPE_MAP.html +0 -286
  380. package/docs/variables/PLUGIN.html +0 -276
  381. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -279
  382. package/docs/variables/ROOM_TYPE_MAP.html +0 -286
  383. package/docs/variables/defaultGlobalConfig.html +0 -276
  384. package/docs/variables/itemLabelPluginServerParams.html +0 -283
  385. package/docs/variables/modelItemLabelPluginServerParams.html +0 -283
  386. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -283
  387. package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +0 -114
  388. package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.js +0 -51
  389. package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +0 -23
  390. package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.js +0 -25
  391. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.js +0 -188
  392. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +0 -1
  393. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.js +0 -94
  394. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +0 -1
  395. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.js +0 -111
  396. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +0 -1
  397. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.js +0 -191
  398. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +0 -1
  399. package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.js +0 -237
  400. package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +0 -1
  401. package/libs/floorplan/FloorplanRoomsPlugin/Controller.d.ts +0 -40
  402. package/libs/floorplan/FloorplanRoomsPlugin/Controller.js +0 -207
  403. package/libs/floorplan/FloorplanRoomsPlugin/index.d.ts +0 -6
  404. package/libs/floorplan/FloorplanRoomsPlugin/index.js +0 -43
  405. package/libs/floorplan/FloorplanRoomsPlugin/typing.d.ts +0 -60
  406. /package/dist/{floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts → components/AreaLabel/LabelItem.svelte.d.ts} +0 -0
  407. /package/libs/{floorplan/FloorplanRoomsPlugin → AreaMakerPlugin}/typing.js +0 -0
  408. /package/{dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts → libs/components/AreaLabel/LabelItem.svelte.d.ts} +0 -0
@@ -0,0 +1,8 @@
1
+ import * as THREE from 'three';
2
+ export declare class Object3D<ChildeItem extends THREE.Object3D = THREE.Object3D> extends THREE.Object3D {
3
+ children: ChildeItem[];
4
+ /** 获取 raycaster 与当前物体的交点 */
5
+ getRaycastIntersects(raycaster: THREE.Raycaster): THREE.Intersection[];
6
+ /** 获取 raycaster 与当前物体的第一个交点 */
7
+ getRaycastIntersection(raycaster: THREE.Raycaster): THREE.Intersection;
8
+ }
@@ -0,0 +1,22 @@
1
+ var a = Object.defineProperty;
2
+ var n = (s, e, t) => e in s ? a(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
+ var r = (s, e, t) => (n(s, typeof e != "symbol" ? e + "" : e, t), t);
4
+ import * as i from "three";
5
+ class y extends i.Object3D {
6
+ constructor() {
7
+ super(...arguments);
8
+ r(this, "children", []);
9
+ }
10
+ /** 获取 raycaster 与当前物体的交点 */
11
+ getRaycastIntersects(t) {
12
+ const c = [];
13
+ return this.raycast(t, c), c;
14
+ }
15
+ /** 获取 raycaster 与当前物体的第一个交点 */
16
+ getRaycastIntersection(t) {
17
+ return this.getRaycastIntersects(t)[0];
18
+ }
19
+ }
20
+ export {
21
+ y as Object3D
22
+ };
@@ -5,3 +5,5 @@ export * from './getIntersect';
5
5
  export * from './PointHelper';
6
6
  export * from './PointDomHelper';
7
7
  export * from './PointSelectorHelper';
8
+ export * from './core/Object3D';
9
+ export * from './objects/LineSegments';
@@ -1,5 +1,5 @@
1
1
  import * as THREE from 'three';
2
- import { type Overwrite } from '../../typings/utils.type';
2
+ import type { Overwrite } from '../../typings/utils.type';
3
3
  export default function loadVideoTexture(src: string, videoElement?: HTMLVideoElement): Promise<Overwrite<THREE.VideoTexture, {
4
4
  image: HTMLVideoElement;
5
5
  }>>;
@@ -1,18 +1,18 @@
1
1
  import * as a from "three";
2
- import { isWX as d, isIOS as s } from "../device.js";
3
- function m(u, r) {
2
+ import { isWX as d } from "../device.js";
3
+ function c(i, r) {
4
4
  let n = !d;
5
5
  const e = r != null ? r : document.createElement("video");
6
6
  e.preload = "metadata", e.crossOrigin = "anonymous", e.muted = !0, e.loop = !0, e.playsInline = !0, e.autoplay = !0;
7
7
  const t = new a.VideoTexture(e);
8
- t.minFilter = a.LinearFilter, t.magFilter = a.LinearFilter, t.encoding = a.sRGBEncoding, t.metadataLoaded = !1, e.src = u;
8
+ t.minFilter = a.LinearFilter, t.magFilter = a.LinearFilter, t.encoding = a.sRGBEncoding, t.metadataLoaded = !1, e.src = i;
9
9
  const o = () => {
10
10
  t.metadataLoaded || (t.dispatchEvent({ type: "videoLoaded" }), t.metadataLoaded = !0);
11
11
  };
12
12
  if (d || (e.onloadedmetadata = () => {
13
13
  o();
14
14
  }), d) {
15
- const i = () => {
15
+ const u = () => {
16
16
  if (!n) {
17
17
  if (!e.paused) {
18
18
  o();
@@ -23,10 +23,10 @@ function m(u, r) {
23
23
  });
24
24
  }
25
25
  };
26
- document.addEventListener("click", i, { once: !0 }), s && document.addEventListener("touchstart", i, { once: !0 });
26
+ document.addEventListener("click", u, { once: !0 }), document.addEventListener("touchend", u, { once: !0 });
27
27
  }
28
28
  return t;
29
29
  }
30
30
  export {
31
- m as getVideoTexture
31
+ c as getVideoTexture
32
32
  };
@@ -0,0 +1,9 @@
1
+ /** @file three.js 中声明有问题,这里重载一下声明 */
2
+ import type { Geometry, BufferGeometry, Material } from 'three';
3
+ import { LineSegments as OriginLineSegments } from 'three';
4
+ declare class LineSegments<TGeometry extends Geometry | BufferGeometry = Geometry | BufferGeometry, TMaterial extends Material | Material[] = Material | Material[]> extends OriginLineSegments<TGeometry, TMaterial> {
5
+ geometry: TGeometry;
6
+ material: TMaterial;
7
+ constructor(geometry: TGeometry, material: TMaterial);
8
+ }
9
+ export { LineSegments };
@@ -0,0 +1,9 @@
1
+ import { LineSegments as n } from "three";
2
+ class m extends n {
3
+ constructor(e, s) {
4
+ super(e, s);
5
+ }
6
+ }
7
+ export {
8
+ m as LineSegments
9
+ };
@@ -151,25 +151,20 @@ function lt(t, e, n, i) {
151
151
  return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
152
152
  }
153
153
  function Zt(t) {
154
- return function(e) {
155
- return e.preventDefault(), t.call(this, e);
156
- };
157
- }
158
- function te(t) {
159
154
  return function(e) {
160
155
  return e.stopPropagation(), t.call(this, e);
161
156
  };
162
157
  }
163
- function ee(t, e, n) {
158
+ function te(t, e, n) {
164
159
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
165
160
  }
166
161
  function At(t) {
167
162
  return Array.from(t.childNodes);
168
163
  }
169
- function ne(t, e) {
164
+ function ee(t, e) {
170
165
  e = "" + e, t.data !== e && (t.data = e);
171
166
  }
172
- function ie(t, e, n, i) {
167
+ function ne(t, e, n, i) {
173
168
  n === null ? t.style.removeProperty(e) : t.style.setProperty(e, n, i ? "important" : "");
174
169
  }
175
170
  let W;
@@ -184,7 +179,7 @@ function Tt() {
184
179
  }
185
180
  return W;
186
181
  }
187
- function re(t, e) {
182
+ function ie(t, e) {
188
183
  getComputedStyle(t).position === "static" && (t.style.position = "relative");
189
184
  const i = K("iframe");
190
185
  i.setAttribute("style", "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
@@ -198,14 +193,14 @@ function re(t, e) {
198
193
  (r || s && i.contentWindow) && s(), J(i);
199
194
  };
200
195
  }
201
- function se(t, e, n) {
196
+ function re(t, e, n) {
202
197
  t.classList[n ? "add" : "remove"](e);
203
198
  }
204
199
  function yt(t, e, { bubbles: n = !1, cancelable: i = !1 } = {}) {
205
200
  const r = document.createEvent("CustomEvent");
206
201
  return r.initCustomEvent(t, n, i, e), r;
207
202
  }
208
- class oe {
203
+ class se {
209
204
  constructor(e = !1) {
210
205
  this.is_svg = !1, this.is_svg = e, this.e = this.n = null;
211
206
  }
@@ -271,28 +266,28 @@ function jt() {
271
266
  }), H.clear());
272
267
  });
273
268
  }
274
- let O;
269
+ let D;
275
270
  function v(t) {
276
- O = t;
271
+ D = t;
277
272
  }
278
273
  function A() {
279
- if (!O)
274
+ if (!D)
280
275
  throw new Error("Function called outside component initialization");
281
- return O;
276
+ return D;
282
277
  }
283
- function ce(t) {
278
+ function oe(t) {
284
279
  A().$$.before_update.push(t);
285
280
  }
286
- function ue(t) {
281
+ function ce(t) {
287
282
  A().$$.on_mount.push(t);
288
283
  }
289
- function le(t) {
284
+ function ue(t) {
290
285
  A().$$.after_update.push(t);
291
286
  }
292
- function fe(t) {
287
+ function le(t) {
293
288
  A().$$.on_destroy.push(t);
294
289
  }
295
- function ae() {
290
+ function fe() {
296
291
  const t = A();
297
292
  return (e, n, { cancelable: i = !1 } = {}) => {
298
293
  const r = t.$$.callbacks[e];
@@ -305,13 +300,13 @@ function ae() {
305
300
  return !0;
306
301
  };
307
302
  }
308
- function de(t, e) {
303
+ function ae(t, e) {
309
304
  return A().$$.context.set(t, e), e;
310
305
  }
311
- function he(t) {
306
+ function de(t) {
312
307
  return A().$$.context.get(t);
313
308
  }
314
- function _e(t, e) {
309
+ function he(t, e) {
315
310
  const n = t.$$.callbacks[e.type];
316
311
  n && n.slice().forEach((i) => i.call(this, e));
317
312
  }
@@ -322,13 +317,13 @@ let Y = !1;
322
317
  function wt() {
323
318
  Y || (Y = !0, bt.then(rt));
324
319
  }
325
- function pe() {
320
+ function _e() {
326
321
  return wt(), bt;
327
322
  }
328
323
  function z(t) {
329
324
  S.push(t);
330
325
  }
331
- function me(t) {
326
+ function pe(t) {
332
327
  X.push(t);
333
328
  }
334
329
  const V = /* @__PURE__ */ new Set();
@@ -336,7 +331,7 @@ let C = 0;
336
331
  function rt() {
337
332
  if (C !== 0)
338
333
  return;
339
- const t = O;
334
+ const t = D;
340
335
  do {
341
336
  try {
342
337
  for (; C < P.length; ) {
@@ -369,11 +364,11 @@ function zt(t) {
369
364
  const e = [], n = [];
370
365
  S.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), S = e;
371
366
  }
372
- let D;
367
+ let O;
373
368
  function st() {
374
- return D || (D = Promise.resolve(), D.then(() => {
375
- D = null;
376
- })), D;
369
+ return O || (O = Promise.resolve(), O.then(() => {
370
+ O = null;
371
+ })), O;
377
372
  }
378
373
  function T(t, e, n) {
379
374
  t.dispatchEvent(yt(`${e ? "intro" : "outro"}${n}`));
@@ -388,7 +383,7 @@ function Lt() {
388
383
  // parent group
389
384
  };
390
385
  }
391
- function Dt() {
386
+ function Ot() {
392
387
  x.r || M(x.c), x = x.p;
393
388
  }
394
389
  function ot(t, e) {
@@ -405,7 +400,7 @@ function $t(t, e, n, i) {
405
400
  i && i();
406
401
  }
407
402
  const ct = { duration: 0 };
408
- function ge(t, e, n) {
403
+ function me(t, e, n) {
409
404
  const i = { direction: "in" };
410
405
  let r = e(t, n, i), s = !1, c, o, l = 0;
411
406
  function u() {
@@ -440,7 +435,7 @@ function ge(t, e, n) {
440
435
  }
441
436
  };
442
437
  }
443
- function ye(t, e, n) {
438
+ function ge(t, e, n) {
444
439
  const i = { direction: "out" };
445
440
  let r = e(t, n, i), s = !0, c;
446
441
  const o = x;
@@ -469,7 +464,7 @@ function ye(t, e, n) {
469
464
  }
470
465
  };
471
466
  }
472
- function be(t, e, n, i) {
467
+ function ye(t, e, n, i) {
473
468
  const r = { direction: "both" };
474
469
  let s = e(t, n, r), c = i ? 0 : 1, o = null, l = null, u = null;
475
470
  function _() {
@@ -515,7 +510,7 @@ function be(t, e, n, i) {
515
510
  }
516
511
  };
517
512
  }
518
- function we(t, e) {
513
+ function be(t, e) {
519
514
  const n = e.token = {};
520
515
  function i(r, s, c, o) {
521
516
  if (e.token !== n)
@@ -528,7 +523,7 @@ function we(t, e) {
528
523
  e.block && (e.blocks ? e.blocks.forEach((a, d) => {
529
524
  d !== s && a && (Lt(), $t(a, 1, 1, () => {
530
525
  e.blocks[d] === a && (e.blocks[d] = null);
531
- }), Dt());
526
+ }), Ot());
532
527
  }) : e.block.d(1), u.c(), ot(u, 1), u.m(e.mount(), e.anchor), _ = !0), e.block = u, e.blocks && (e.blocks[s] = u), _ && rt();
533
528
  }
534
529
  if (xt(t)) {
@@ -546,20 +541,20 @@ function we(t, e) {
546
541
  e.resolved = t;
547
542
  }
548
543
  }
549
- function $e(t, e, n) {
544
+ function we(t, e, n) {
550
545
  const i = e.slice(), { resolved: r } = t;
551
546
  t.current === t.then && (i[t.value] = r), t.current === t.catch && (i[t.error] = r), t.block.p(i, n);
552
547
  }
553
- const ke = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : global;
554
- function xe(t, e) {
548
+ const $e = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : global;
549
+ function ke(t, e) {
555
550
  t.d(1), e.delete(t.key);
556
551
  }
557
- function Ee(t, e) {
552
+ function xe(t, e) {
558
553
  $t(t, 1, 1, () => {
559
554
  e.delete(t.key);
560
555
  });
561
556
  }
562
- function ve(t, e, n, i, r, s, c, o, l, u, _, a) {
557
+ function Ee(t, e, n, i, r, s, c, o, l, u, _, a) {
563
558
  let d = t.length, f = s.length, h = d;
564
559
  const m = {};
565
560
  for (; h--; )
@@ -586,7 +581,7 @@ function ve(t, e, n, i, r, s, c, o, l, u, _, a) {
586
581
  Q(p[f - 1]);
587
582
  return M(b), p;
588
583
  }
589
- function Ne(t, e) {
584
+ function ve(t, e) {
590
585
  const n = {}, i = {}, r = { $$scope: 1 };
591
586
  let s = t.length;
592
587
  for (; s--; ) {
@@ -605,17 +600,17 @@ function Ne(t, e) {
605
600
  c in n || (n[c] = void 0);
606
601
  return n;
607
602
  }
608
- function Me(t) {
603
+ function Ne(t) {
609
604
  return typeof t == "object" && t !== null ? t : {};
610
605
  }
611
- function Ae(t, e, n) {
606
+ function Me(t, e, n) {
612
607
  const i = t.$$.props[e];
613
608
  i !== void 0 && (t.$$.bound[i] = n, n(t.$$.ctx[i]));
614
609
  }
615
- function Te(t) {
610
+ function Ae(t) {
616
611
  t && t.c();
617
612
  }
618
- function Ot(t, e, n, i) {
613
+ function Dt(t, e, n, i) {
619
614
  const { fragment: r, after_update: s } = t.$$;
620
615
  r && r.m(e, n), i || z(() => {
621
616
  const c = t.$$.on_mount.map(at).filter(L);
@@ -629,8 +624,8 @@ function Rt(t, e) {
629
624
  function qt(t, e) {
630
625
  t.$$.dirty[0] === -1 && (P.push(t), wt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
631
626
  }
632
- function Ce(t, e, n, i, r, s, c, o = [-1]) {
633
- const l = O;
627
+ function Te(t, e, n, i, r, s, c, o = [-1]) {
628
+ const l = D;
634
629
  v(t);
635
630
  const u = t.$$ = {
636
631
  fragment: null,
@@ -664,11 +659,11 @@ function Ce(t, e, n, i, r, s, c, o = [-1]) {
664
659
  u.fragment && u.fragment.l(a), a.forEach(J);
665
660
  } else
666
661
  u.fragment && u.fragment.c();
667
- e.intro && ot(t.$$.fragment), Ot(t, e.target, e.anchor, e.customElement), rt();
662
+ e.intro && ot(t.$$.fragment), Dt(t, e.target, e.anchor, e.customElement), rt();
668
663
  }
669
664
  v(l);
670
665
  }
671
- class Pe {
666
+ class Ce {
672
667
  $destroy() {
673
668
  Rt(this, 1), this.$destroy = N;
674
669
  }
@@ -686,70 +681,69 @@ class Pe {
686
681
  }
687
682
  }
688
683
  export {
689
- oe as HtmlTag,
690
- Pe as SvelteComponent,
684
+ se as HtmlTag,
685
+ Ce as SvelteComponent,
691
686
  Jt as action_destroyer,
692
- me as add_flush_callback,
687
+ pe as add_flush_callback,
693
688
  z as add_render_callback,
694
- re as add_resize_listener,
695
- le as afterUpdate,
689
+ ie as add_resize_listener,
690
+ ue as afterUpdate,
696
691
  pt as append,
697
692
  Qt as append_styles,
698
693
  kt as assign,
699
- ee as attr,
700
- ce as beforeUpdate,
701
- Ae as bind,
694
+ te as attr,
695
+ oe as beforeUpdate,
696
+ Me as bind,
702
697
  ft as binding_callbacks,
703
- _e as bubble,
704
- Dt as check_outros,
705
- ae as createEventDispatcher,
706
- be as create_bidirectional_transition,
707
- Te as create_component,
708
- ge as create_in_transition,
709
- ye as create_out_transition,
698
+ he as bubble,
699
+ Ot as check_outros,
700
+ fe as createEventDispatcher,
701
+ ye as create_bidirectional_transition,
702
+ Ae as create_component,
703
+ me as create_in_transition,
704
+ ge as create_out_transition,
710
705
  Bt as create_slot,
711
- xe as destroy_block,
706
+ ke as destroy_block,
712
707
  Rt as destroy_component,
713
708
  Vt as destroy_each,
714
709
  J as detach,
715
710
  K as element,
716
711
  Yt as empty,
717
- he as getContext,
712
+ de as getContext,
718
713
  Ut as get_all_dirty_from_scope,
719
714
  Ht as get_slot_changes,
720
- Me as get_spread_object,
721
- Ne as get_spread_update,
722
- ke as globals,
715
+ Ne as get_spread_object,
716
+ ve as get_spread_update,
717
+ $e as globals,
723
718
  Lt as group_outros,
724
- we as handle_promise,
719
+ be as handle_promise,
725
720
  Z as identity,
726
- Ce as init,
721
+ Te as init,
727
722
  Nt as insert,
728
723
  L as is_function,
729
724
  lt as listen,
730
- Ot as mount_component,
725
+ Dt as mount_component,
731
726
  N as noop,
732
727
  Gt as null_to_empty,
733
- fe as onDestroy,
734
- ue as onMount,
735
- Ee as outro_and_destroy_block,
736
- Zt as prevent_default,
728
+ le as onDestroy,
729
+ ce as onMount,
730
+ xe as outro_and_destroy_block,
737
731
  M as run_all,
738
732
  Ft as safe_not_equal,
739
- de as setContext,
740
- ne as set_data,
741
- ie as set_style,
733
+ ae as setContext,
734
+ ee as set_data,
735
+ ne as set_style,
742
736
  Xt as space,
743
737
  Kt as split_css_unit,
744
738
  Wt as src_url_equal,
745
- te as stop_propagation,
739
+ Zt as stop_propagation,
746
740
  Mt as svg_element,
747
741
  gt as text,
748
- pe as tick,
749
- se as toggle_class,
742
+ _e as tick,
743
+ re as toggle_class,
750
744
  ot as transition_in,
751
745
  $t as transition_out,
752
- $e as update_await_block_branch,
753
- ve as update_keyed_each,
746
+ we as update_await_block_branch,
747
+ Ee as update_keyed_each,
754
748
  It as update_slot_base
755
749
  };
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.28.0-dev.0",
10
+ "version": "2.28.0",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
@@ -21,7 +21,7 @@
21
21
  "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
22
22
  "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
23
23
  "docs": "typedoc --options ./typedoc.json",
24
- "prepublishOnly": "run-p build docs",
24
+ "prepublishOnly": "run-p build",
25
25
  "postpublish": "cnpm sync @realsee/dnalogel"
26
26
  },
27
27
  "files": [
@@ -1,114 +0,0 @@
1
- import { Subscribe } from '../../shared-utils/Subscribe';
2
- /**
3
- * 基本属性字段
4
- */
5
- interface State {
6
- /**
7
- * 插件是否启用
8
- */
9
- enabled: boolean;
10
- /**
11
- * 插件UI是否展示
12
- */
13
- visible?: boolean;
14
- /**
15
- * 插件的配置项
16
- */
17
- config?: unknown;
18
- }
19
- interface BaseOptions {
20
- /** 是否是用户行为 */
21
- userAction?: boolean;
22
- }
23
- interface Config {
24
- /** 静态资源前缀 */
25
- staticPrefix?: string;
26
- /** 国际化转换函数 */
27
- i18n?: (key: string) => string;
28
- }
29
- /**
30
- * 插件基本事件
31
- */
32
- type EventMap<PluginState> = {
33
- /**
34
- * 插件被销毁
35
- */
36
- dispose: () => void;
37
- /**
38
- * 插件状态变化
39
- * @param params.state 最新的State
40
- * @param params.prevState 上一个State
41
- * @param params.userAction 是否是用户触发
42
- */
43
- stateChange: (params: {
44
- state: PluginState;
45
- prevState?: PluginState;
46
- userAction: boolean;
47
- }) => void;
48
- };
49
- /**
50
- * plugin 的基本控制器
51
- */
52
- declare abstract class Controller<PluginState extends State, PluginEventMap extends EventMap<PluginState>> {
53
- /**
54
- * @realsee/dnalogel 版本号
55
- */
56
- readonly VERSION: string;
57
- /**
58
- * 插件事件钩子
59
- */
60
- hooks: Subscribe<PluginEventMap>;
61
- readonly staticPrefix: string;
62
- /**
63
- * 当前状态
64
- * @description
65
- * ```text
66
- * 可以通过 plugin.state 和 plugin.setState 来获取和设置。
67
- * 通过 state 设置后,plugin 会通过合适的动画运动来达到设置的效果。
68
- * 来迎合一些通过数据驱动的场景。
69
- * ```
70
- */
71
- abstract state: PluginState;
72
- constructor(config?: Config);
73
- /**
74
- * 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
75
- */
76
- getCurrentState(): PluginState;
77
- /**
78
- * 插件自身DOM添加到父容器
79
- * @param wrapper
80
- */
81
- appendTo?(wrapper: Element): void;
82
- /**
83
- * 展示UI
84
- */
85
- show?(options?: BaseOptions): Promise<void>;
86
- /**
87
- * 隐藏UI
88
- */
89
- hide?(options?: BaseOptions): Promise<void>;
90
- /**
91
- * 设置state
92
- * @param state 插件的目标状态
93
- * @param options 配置项
94
- */
95
- setState?(state: Partial<PluginState>, options?: BaseOptions): void;
96
- /**
97
- * @description: 获取静态资源的url
98
- */
99
- absoluteUrl(url: string): string;
100
- /**
101
- * 启用插件,让插件能够响应交互
102
- */
103
- abstract enable(options?: BaseOptions): void;
104
- /**
105
- * 禁用插件,让插件停止响应交互
106
- */
107
- abstract disable(options?: BaseOptions): void;
108
- /**
109
- * 插件进行销毁
110
- */
111
- abstract dispose(): void;
112
- }
113
- export type { State, Config, EventMap, BaseOptions };
114
- export { Controller };
@@ -1,23 +0,0 @@
1
- import * as BasePlugin from './BasePlugin';
2
- type State = BasePlugin.State;
3
- type Config = BasePlugin.Config;
4
- interface EventMap<PluginState, PluginData> extends BasePlugin.EventMap<PluginState> {
5
- /** 数据变更 */
6
- dataChange: (data: PluginData, prevData?: PluginData) => void;
7
- /** 数据加载完成 */
8
- dataLoaded: (data: PluginData) => void;
9
- }
10
- declare abstract class Controller<PluginState extends State, PluginEventMap extends EventMap<PluginState, PluginData>, PluginServerData, PluginData> extends BasePlugin.Controller<PluginState, PluginEventMap> {
11
- protected abstract data?: PluginData;
12
- /**
13
- * 加载插件依赖数据
14
- * @param serverData 插件数据
15
- * @param state 插件 State
16
- */
17
- abstract load(serverData: PluginServerData, state?: PluginState, userAction?: boolean): Promise<void>;
18
- /** 把原始数据转化为插件数据 */
19
- protected abstract formatData?(serverData: PluginServerData): Promise<PluginData>;
20
- }
21
- export type { State, EventMap, Config };
22
- export type { BaseOptions } from './BasePlugin';
23
- export { Controller };
@@ -1 +0,0 @@
1
- export { SvelteComponentTyped as default } from 'svelte/internal';
@@ -1 +0,0 @@
1
- export { SvelteComponentTyped as default } from 'svelte/internal';
@@ -1 +0,0 @@
1
- export { SvelteComponentTyped as default } from 'svelte/internal';