@realsee/dnalogel 2.6.7-dev.1 → 2.6.7-dev.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/README.md +0 -20
  2. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +4 -3
  3. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  4. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
  5. package/dist/index.cjs.js +55 -52
  6. package/dist/index.js +6717 -5996
  7. package/dist/index.umd.js +45 -42
  8. package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -0
  9. package/dist/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +2 -0
  10. package/docs/assets/search.js +1 -1
  11. package/docs/classes/CSS3DRender.html +31 -31
  12. package/docs/classes/CruisePluginController.html +24 -24
  13. package/docs/classes/Magnifier.html +20 -20
  14. package/docs/classes/ModelRoomLabelController.html +11 -11
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +15 -15
  17. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  18. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  19. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +197 -51
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.FivePointSelector.html +12 -12
  24. package/docs/classes/Util.Interval.html +12 -12
  25. package/docs/classes/Util.Magnifier.html +17 -17
  26. package/docs/classes/Util.PointDomHelper.html +11 -11
  27. package/docs/classes/Util.PointHelper.html +11 -11
  28. package/docs/classes/Util.Rectangle.html +13 -13
  29. package/docs/enums/CameraMovementEffect.html +7 -7
  30. package/docs/enums/ContentType.html +18 -18
  31. package/docs/enums/DIRECTION.html +9 -9
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  33. package/docs/enums/DimensionType.html +7 -7
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  36. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  37. package/docs/enums/PointType.html +7 -7
  38. package/docs/enums/Rotation.html +8 -8
  39. package/docs/functions/CSS3DRenderPlugin.html +5 -5
  40. package/docs/functions/CameraMovementPlugin.html +5 -5
  41. package/docs/functions/CruisePlugin.html +5 -5
  42. package/docs/functions/GuideLinePlugin.html +5 -5
  43. package/docs/functions/ItemLabelPlugin.html +5 -5
  44. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  45. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  46. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  47. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  48. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  49. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  50. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  51. package/docs/functions/ModelViewPlugin.html +5 -5
  52. package/docs/functions/Object3DHelperPlugin.html +5 -5
  53. package/docs/functions/PanoCompassPlugin.html +5 -5
  54. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  55. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  56. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  57. package/docs/functions/PanoMeasurePlugin.html +5 -5
  58. package/docs/functions/PanoRulerPlugin.html +5 -5
  59. package/docs/functions/PanoRulerProPlugin.html +5 -5
  60. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  61. package/docs/functions/PanoTagPlugin.html +5 -5
  62. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  63. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  64. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  65. package/docs/functions/Util.getFrameTime.html +5 -5
  66. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  67. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  68. package/docs/functions/Util.isNil.html +5 -5
  69. package/docs/functions/Util.nextFrame.html +5 -5
  70. package/docs/functions/Util.notNil.html +5 -5
  71. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  72. package/docs/functions/Util.tweenProgress.html +5 -5
  73. package/docs/functions/pluginFlag.html +5 -5
  74. package/docs/index.html +4 -12
  75. package/docs/interfaces/AddTagConfig.html +6 -6
  76. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  77. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  78. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  79. package/docs/interfaces/EventMap.html +15 -15
  80. package/docs/interfaces/FloorplanBounding.html +8 -8
  81. package/docs/interfaces/FloorplanData.html +10 -10
  82. package/docs/interfaces/FloorplanEntrance.html +11 -11
  83. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  84. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  85. package/docs/interfaces/FloorplanFloorData.html +9 -9
  86. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  87. package/docs/interfaces/FloorplanObserver.html +9 -9
  88. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  89. package/docs/interfaces/FloorplanPosition.html +7 -7
  90. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  91. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  92. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  93. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  94. package/docs/interfaces/FloorplanServerData.html +7 -7
  95. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  96. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  97. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  98. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  99. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  100. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  101. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  102. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  103. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  104. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  105. package/docs/interfaces/HelperOffset.html +8 -8
  106. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  107. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  108. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  109. package/docs/interfaces/MinMax.html +7 -7
  110. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  111. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  112. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  113. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  114. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  115. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  116. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  117. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  118. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  119. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  120. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  121. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  122. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  123. package/docs/interfaces/Object3DHelperState.html +8 -8
  124. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  125. package/docs/interfaces/PaintBrushAction.html +12 -12
  126. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  127. package/docs/interfaces/PaintBrushState.html +10 -10
  128. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  129. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  130. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  131. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  132. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  133. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  134. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  135. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  136. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  137. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  138. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  139. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  140. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  141. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  142. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  143. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  144. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  145. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  146. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  147. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  148. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  149. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  150. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  151. package/docs/interfaces/Point.html +8 -8
  152. package/docs/interfaces/Room.html +9 -9
  153. package/docs/interfaces/RoomInfo.html +7 -7
  154. package/docs/interfaces/RoomLabel.html +14 -14
  155. package/docs/interfaces/RoomRules.html +5 -5
  156. package/docs/interfaces/Rooms.html +5 -5
  157. package/docs/interfaces/Scissor.html +9 -9
  158. package/docs/interfaces/State.html +8 -8
  159. package/docs/interfaces/TagCache.html +12 -12
  160. package/docs/interfaces/TagConfig.html +10 -10
  161. package/docs/interfaces/TagIconUrl.html +9 -9
  162. package/docs/interfaces/Tags.html +9 -9
  163. package/docs/interfaces/TemporaryState.html +6 -6
  164. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  165. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  166. package/docs/modules/Util.html +5 -5
  167. package/docs/modules.html +4 -4
  168. package/docs/types/ArrayPosition.html +5 -5
  169. package/docs/types/AudioAppearance.html +5 -5
  170. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  171. package/docs/types/CSS3DRenderExportType.html +5 -5
  172. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  173. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  174. package/docs/types/ClassFunctionParameters.html +5 -5
  175. package/docs/types/Color.html +5 -5
  176. package/docs/types/ContentTypeConfigKey.html +5 -5
  177. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  178. package/docs/types/ContentTypeMap.html +5 -5
  179. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  180. package/docs/types/Create3DElementReturnType.html +5 -5
  181. package/docs/types/CruisePluginExportType.html +5 -5
  182. package/docs/types/Direction-1.html +5 -5
  183. package/docs/types/Direction4.html +5 -5
  184. package/docs/types/FloorplanRuleLabels.html +5 -5
  185. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  186. package/docs/types/GuideLinePluginExportType.html +5 -5
  187. package/docs/types/HelperEventMap.html +5 -5
  188. package/docs/types/LoadTagConfig.html +5 -5
  189. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  190. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  191. package/docs/types/MediaData.html +5 -5
  192. package/docs/types/MediaStore.html +5 -5
  193. package/docs/types/ModelElement.html +5 -5
  194. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  195. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  196. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  197. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  198. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  199. package/docs/types/MoveArgs.html +5 -5
  200. package/docs/types/MoveOpts.html +5 -5
  201. package/docs/types/Object3DHelperEventMap.html +5 -5
  202. package/docs/types/ObjectFit.html +5 -5
  203. package/docs/types/PaintBrushEventMap.html +5 -5
  204. package/docs/types/PanoCompassPluginData.html +5 -5
  205. package/docs/types/PanoCompassPluginExportType.html +5 -5
  206. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  207. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  208. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  209. package/docs/types/PanoIndex.html +5 -5
  210. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  211. package/docs/types/PanoMeasureReturnType.html +5 -5
  212. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  213. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  214. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  215. package/docs/types/PlaneTag.html +5 -5
  216. package/docs/types/PlaneTagElement.html +5 -5
  217. package/docs/types/Point2DElement.html +5 -5
  218. package/docs/types/Point2DTag.html +5 -5
  219. package/docs/types/Point3DElement.html +5 -5
  220. package/docs/types/Point3DTag.html +5 -5
  221. package/docs/types/PointTag.html +5 -5
  222. package/docs/types/PointTagElement.html +5 -5
  223. package/docs/types/Position.html +5 -5
  224. package/docs/types/RotateArgs.html +5 -5
  225. package/docs/types/RotateOpts.html +5 -5
  226. package/docs/types/RuleLabelsKey.html +5 -5
  227. package/docs/types/RuleLabelsValue.html +5 -5
  228. package/docs/types/StickType.html +5 -5
  229. package/docs/types/Tag.html +5 -5
  230. package/docs/types/Tag2D.html +5 -5
  231. package/docs/types/Tag3D.html +5 -5
  232. package/docs/types/TagContentType.html +5 -5
  233. package/docs/types/TagDimensionType.html +5 -5
  234. package/docs/types/TagElement.html +5 -5
  235. package/docs/types/TagEvents.html +5 -5
  236. package/docs/types/TagGLTFObject.html +5 -5
  237. package/docs/types/TagHooks.html +5 -5
  238. package/docs/types/TagIconSize.html +5 -5
  239. package/docs/types/TagId.html +5 -5
  240. package/docs/types/TagPointType.html +5 -5
  241. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  242. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  243. package/docs/types/WorkCode.html +5 -5
  244. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  245. package/docs/variables/PLUGIN.html +5 -5
  246. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  247. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  248. package/docs/variables/VERSION.html +5 -5
  249. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  250. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  251. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  252. package/libs/CruisePlugin/Controller.js +26 -26
  253. package/libs/GuideLinePlugin/Controller.js +43 -43
  254. package/libs/PanoTagPlugin/Components/Common/Media.js +235 -313
  255. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  256. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +89 -72
  257. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +86 -72
  258. package/libs/PanoTagPlugin/Components/Tag/index.js +84 -66
  259. package/libs/PanoTagPlugin/Components/TagContainer.js +98 -80
  260. package/libs/PanoTagPlugin/Components/TagItem.js +69 -51
  261. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +4 -3
  262. package/libs/PanoTagPlugin/controller/TagComputer.js +70 -65
  263. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  264. package/libs/PanoTagPlugin/controller/index.js +160 -136
  265. package/libs/PanoTagPlugin/index.js +41 -24
  266. package/libs/PanoTagPlugin/tag.config.js +1 -0
  267. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +4 -4
  268. package/libs/index.js +130 -113
  269. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +38 -38
  270. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -0
  271. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +26 -23
  272. package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +2 -0
  273. package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js +28 -22
  274. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +12 -12
  275. package/libs/vendor/simply-reactive/main.js +3 -0
  276. package/libs/vendor/simply-reactive/src/simply-reactive.js +44 -0
  277. package/libs/vendor/simply-reactive/src/utils/object.js +12 -0
  278. package/libs/vendor/simply-reactive/src/utils/subscription.js +28 -0
  279. package/libs/vendor/simply-reactive/src/utils/watcher.js +17 -0
  280. package/libs/vendor/svelte/internal/index.js +267 -274
  281. package/libs/vendor/svelte-carousel/src/actions/hoverable/event.js +18 -0
  282. package/libs/vendor/svelte-carousel/src/actions/hoverable/hoverable.js +19 -0
  283. package/libs/vendor/svelte-carousel/src/actions/hoverable/index.js +1 -0
  284. package/libs/vendor/svelte-carousel/src/actions/swipeable/event.js +26 -0
  285. package/libs/vendor/svelte-carousel/src/actions/swipeable/index.js +1 -0
  286. package/libs/vendor/svelte-carousel/src/actions/swipeable/swipeable.js +51 -0
  287. package/libs/vendor/svelte-carousel/src/actions/tappable/event.js +18 -0
  288. package/libs/vendor/svelte-carousel/src/actions/tappable/index.js +1 -0
  289. package/libs/vendor/svelte-carousel/src/actions/tappable/tappable.js +36 -0
  290. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -0
  291. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +522 -0
  292. package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +255 -0
  293. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +42 -0
  294. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +104 -0
  295. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +40 -0
  296. package/libs/vendor/svelte-carousel/src/direction.js +5 -0
  297. package/libs/vendor/svelte-carousel/src/main.js +1 -0
  298. package/libs/vendor/svelte-carousel/src/units.js +7 -0
  299. package/libs/vendor/svelte-carousel/src/utils/ProgressManager.js +52 -0
  300. package/libs/vendor/svelte-carousel/src/utils/clones.js +59 -0
  301. package/libs/vendor/svelte-carousel/src/utils/event.js +12 -0
  302. package/libs/vendor/svelte-carousel/src/utils/interval.js +4 -0
  303. package/libs/vendor/svelte-carousel/src/utils/lazy.js +45 -0
  304. package/libs/vendor/svelte-carousel/src/utils/math.js +11 -0
  305. package/libs/vendor/svelte-carousel/src/utils/object.js +13 -0
  306. package/libs/vendor/svelte-carousel/src/utils/page.js +154 -0
  307. package/package.json +5 -2
  308. package/dist/PanoTagPlugin/utils/tag/index.d.ts +0 -2
  309. package/libs/PanoTagPlugin/utils/tag/index.d.ts +0 -2
  310. package/libs/PanoTagPlugin/utils/tag/index.js +0 -11
  311. package/libs/vendor/swiper/components-shared/get-changed-params.js +0 -29
  312. package/libs/vendor/swiper/components-shared/get-params.js +0 -23
  313. package/libs/vendor/swiper/components-shared/mount-swiper.js +0 -14
  314. package/libs/vendor/swiper/components-shared/params-list.js +0 -120
  315. package/libs/vendor/swiper/components-shared/update-swiper.js +0 -36
  316. package/libs/vendor/swiper/components-shared/utils.js +0 -32
  317. package/libs/vendor/swiper/svelte/swiper-slide.js +0 -181
  318. package/libs/vendor/swiper/svelte/swiper-svelte.js +0 -2
  319. package/libs/vendor/swiper/svelte/swiper.js +0 -253
@@ -20,18 +20,18 @@ class P extends m {
20
20
  t(this, "zAngleHelper");
21
21
  t(this, "angleTips");
22
22
  t(this, "container");
23
- (e == null ? void 0 : e.yzCircleEnable) !== !1 && (this.yzCircle = new d({ direction: "x", color: y.X }), this.xRingHelper = new H({ direction: "x" }), this.xAngleHelper = new g({ direction: "x", color: y.X })), (e == null ? void 0 : e.xzCircleEnable) !== !1 && (this.xzCircle = new d({ direction: "y", color: y.Y }), this.yRingHelper = new H({ direction: "y" }), this.yAngleHelper = new g({ direction: "y", color: y.Y })), (e == null ? void 0 : e.xyCircleEnable) !== !1 && (this.xyCircle = new d({ direction: "z", color: y.Z }), this.zRingHelper = new H({ direction: "z" }), this.zAngleHelper = new g({ direction: "z", color: y.Z })), e != null && e.container && (this.container = e == null ? void 0 : e.container, this.angleTips = w({ display: "none" }), (s = this.container) == null || s.appendChild(this.angleTips.element)), this.show();
23
+ (e == null ? void 0 : e.yzCircleEnable) !== !1 && (this.yzCircle = new d({ direction: "x", color: y.X }), this.xRingHelper = new H({ direction: "x" }), this.xAngleHelper = new x({ direction: "x", color: y.X })), (e == null ? void 0 : e.xzCircleEnable) !== !1 && (this.xzCircle = new d({ direction: "y", color: y.Y }), this.yRingHelper = new H({ direction: "y" }), this.yAngleHelper = new x({ direction: "y", color: y.Y })), (e == null ? void 0 : e.xyCircleEnable) !== !1 && (this.xyCircle = new d({ direction: "z", color: y.Z }), this.zRingHelper = new H({ direction: "z" }), this.zAngleHelper = new x({ direction: "z", color: y.Z })), e != null && e.container && (this.container = e == null ? void 0 : e.container, this.angleTips = w({ display: "none" }), (s = this.container) == null || s.appendChild(this.angleTips.element)), this.show();
24
24
  }
25
25
  updateAngleHelperQuaternion() {
26
- var i, e, s, c, h, o, p, a, x, A, u, z;
27
- (e = this.xAngleHelper) == null || e.quaternion.copy((i = this.yzCircle) == null ? void 0 : i.quaternion), (c = this.yAngleHelper) == null || c.quaternion.copy((s = this.xzCircle) == null ? void 0 : s.quaternion), (o = this.zAngleHelper) == null || o.quaternion.copy((h = this.xyCircle) == null ? void 0 : h.quaternion), (a = this.xRingHelper) == null || a.quaternion.copy((p = this.yzCircle) == null ? void 0 : p.quaternion), (A = this.yRingHelper) == null || A.quaternion.copy((x = this.xzCircle) == null ? void 0 : x.quaternion), (z = this.zRingHelper) == null || z.quaternion.copy((u = this.xyCircle) == null ? void 0 : u.quaternion);
26
+ var i, e, s, c, a, o, p, h, g, A, u, z;
27
+ (e = this.xAngleHelper) == null || e.quaternion.copy((i = this.yzCircle) == null ? void 0 : i.quaternion), (c = this.yAngleHelper) == null || c.quaternion.copy((s = this.xzCircle) == null ? void 0 : s.quaternion), (o = this.zAngleHelper) == null || o.quaternion.copy((a = this.xyCircle) == null ? void 0 : a.quaternion), (h = this.xRingHelper) == null || h.quaternion.copy((p = this.yzCircle) == null ? void 0 : p.quaternion), (A = this.yRingHelper) == null || A.quaternion.copy((g = this.xzCircle) == null ? void 0 : g.quaternion), (z = this.zRingHelper) == null || z.quaternion.copy((u = this.xyCircle) == null ? void 0 : u.quaternion);
28
28
  }
29
29
  applyHelperQuaternion(i, e) {
30
- var s, c, h, o, p, a;
31
- (s = this.yzCircle) == null || s.applyQuaternion(i), (c = this.xzCircle) == null || c.applyQuaternion(i), (h = this.xyCircle) == null || h.applyQuaternion(i), (o = this.xAngleHelper) == null || o.baseAxes.applyQuaternion(i), (p = this.yAngleHelper) == null || p.baseAxes.applyQuaternion(i), (a = this.zAngleHelper) == null || a.baseAxes.applyQuaternion(i);
30
+ var s, c, a, o, p, h;
31
+ (s = this.yzCircle) == null || s.applyQuaternion(i), (c = this.xzCircle) == null || c.applyQuaternion(i), (a = this.xyCircle) == null || a.applyQuaternion(i), (o = this.xAngleHelper) == null || o.baseAxes.applyQuaternion(i), (p = this.yAngleHelper) == null || p.baseAxes.applyQuaternion(i), (h = this.zAngleHelper) == null || h.baseAxes.applyQuaternion(i);
32
32
  }
33
33
  hide() {
34
- console.log("hide"), this.remove(
34
+ this.remove(
35
35
  this.yzCircle,
36
36
  this.xzCircle,
37
37
  this.xyCircle,
@@ -45,7 +45,7 @@ class P extends m {
45
45
  }
46
46
  show() {
47
47
  var i;
48
- console.log("show"), this.add(...[this.xyCircle, this.xzCircle, this.yzCircle].filter(Boolean)), this.remove(
48
+ this.add(...[this.xyCircle, this.xzCircle, this.yzCircle].filter(Boolean)), this.remove(
49
49
  ...[this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter(Boolean)
50
50
  ), (i = this.angleTips) == null || i.hide();
51
51
  }
@@ -97,20 +97,20 @@ class H extends r.Group {
97
97
  super();
98
98
  t(this, "direction");
99
99
  this.direction = i.direction;
100
- const e = 0.015, s = new Array(8).fill(null).map((c, h) => {
101
- const o = new r.RingGeometry(0.25, 0.3, 20, 8, Math.PI / 4 * h + e, Math.PI / 4 - e * 2), p = new r.MeshBasicMaterial({
100
+ const e = 0.015, s = new Array(8).fill(null).map((c, a) => {
101
+ const o = new r.RingGeometry(0.25, 0.3, 20, 8, Math.PI / 4 * a + e, Math.PI / 4 - e * 2), p = new r.MeshBasicMaterial({
102
102
  opacity: 1,
103
103
  color: 16777215,
104
104
  depthTest: !1,
105
105
  transparent: !0,
106
106
  side: r.DoubleSide
107
- }), a = new r.Mesh(o, p);
108
- return a.name = `AxesDashedRing-${this.direction}-${h}`, a;
107
+ }), h = new r.Mesh(o, p);
108
+ return h.name = `AxesDashedRing-${this.direction}-${a}`, h;
109
109
  });
110
110
  this.add(...s), this.direction === "y" ? this.rotateX(Math.PI / 2) : this.direction === "x" && this.rotateY(-Math.PI / 2);
111
111
  }
112
112
  }
113
- class g extends r.Mesh {
113
+ class x extends r.Mesh {
114
114
  constructor(i) {
115
115
  var s;
116
116
  super();
@@ -0,0 +1,3 @@
1
+ import "lodash.get";
2
+ import "lodash.clonedeep";
3
+ import "lodash.isequal";
@@ -0,0 +1,44 @@
1
+ import c from "lodash.get";
2
+ import w from "lodash.clonedeep";
3
+ import { createSubscription as x } from "./utils/subscription.js";
4
+ import { createTargetWatcher as C } from "./utils/watcher.js";
5
+ function E(s, l) {
6
+ const h = c(s, "data", {}), m = c(s, "watch", {}), b = c(s, "methods", {}), i = c(l, "onChange", () => {
7
+ }), { subscribe: d, notify: p, subscribers: y } = x(), { targetWatcher: _, getTarget: a } = C();
8
+ let n;
9
+ const o = {}, f = () => ({
10
+ data: n,
11
+ methods: o
12
+ });
13
+ let u = !1;
14
+ const j = (e) => (...t) => {
15
+ u = !0;
16
+ const r = e(...t);
17
+ return u = !1, r;
18
+ };
19
+ Object.entries(b).forEach(([e, t]) => {
20
+ o[e] = j(
21
+ (...r) => t(f(), ...r)
22
+ ), Object.defineProperty(o[e], "name", { value: e });
23
+ }), n = new Proxy(w(h), {
24
+ get(e, t) {
25
+ return a() && !u && d(a(), { prop: t, value: e[t] }), Reflect.get(...arguments);
26
+ },
27
+ set(e, t, r) {
28
+ return e[t] === r || (Reflect.set(...arguments), a() || (i && i(t, r), p(n, t))), !0;
29
+ }
30
+ }), Object.entries(m).forEach(([e, t]) => {
31
+ _(e, () => {
32
+ t(f());
33
+ });
34
+ });
35
+ const g = [n, o];
36
+ return g._internal = {
37
+ _getSubscribers() {
38
+ return y;
39
+ }
40
+ }, g;
41
+ }
42
+ export {
43
+ E as simplyReactive
44
+ };
@@ -0,0 +1,12 @@
1
+ import o from "lodash.isequal";
2
+ const p = (e, t) => o(e, t), c = (e) => Object.keys(e || {}), u = (e, t) => {
3
+ const r = {};
4
+ return e.forEach((s) => {
5
+ r[s] = t[s];
6
+ }), r;
7
+ };
8
+ export {
9
+ p as depsAreEqual,
10
+ c as getDepNames,
11
+ u as getUpdatedDeps
12
+ };
@@ -0,0 +1,28 @@
1
+ import { getUpdatedDeps as d, depsAreEqual as a, getDepNames as f } from "./object.js";
2
+ const m = () => {
3
+ const e = {}, i = (s, t) => {
4
+ const { watcherName: c, fn: n } = s, { prop: p, value: o } = t;
5
+ e[c] || (e[c] = {
6
+ deps: {},
7
+ fn: n
8
+ }), e[c].deps[p] = o;
9
+ };
10
+ return {
11
+ subscribers: e,
12
+ subscribe(s, t) {
13
+ s && i(s, t);
14
+ },
15
+ notify(s, t) {
16
+ Object.entries(e).forEach(([c, { deps: n, fn: p }]) => {
17
+ const o = f(n);
18
+ if (o.includes(t)) {
19
+ const r = d(o, s);
20
+ a(n, r) || (e[c].deps = r, p());
21
+ }
22
+ });
23
+ }
24
+ };
25
+ };
26
+ export {
27
+ m as createSubscription
28
+ };
@@ -0,0 +1,17 @@
1
+ const a = () => {
2
+ let t = null;
3
+ return {
4
+ targetWatcher(e, r) {
5
+ t = {
6
+ watcherName: e,
7
+ fn: r
8
+ }, t.fn(), t = null;
9
+ },
10
+ getTarget() {
11
+ return t;
12
+ }
13
+ };
14
+ };
15
+ export {
16
+ a as createTargetWatcher
17
+ };