@twinmatrix/spatialverse-sdk-web 0.1.0 → 3.1.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 (154) hide show
  1. package/README.md +1 -0
  2. package/lib/types/meta-atlas-sdk/3DMap/auth/authentication.d.ts +7 -0
  3. package/lib/types/meta-atlas-sdk/3DMap/auth/authentication.d.ts.map +1 -0
  4. package/lib/types/meta-atlas-sdk/3DMap/data/Constants.d.ts +17 -0
  5. package/lib/types/meta-atlas-sdk/3DMap/data/Constants.d.ts.map +1 -0
  6. package/lib/types/meta-atlas-sdk/3DMap/data/DataManager.d.ts +69 -0
  7. package/lib/types/meta-atlas-sdk/3DMap/data/DataManager.d.ts.map +1 -0
  8. package/lib/types/meta-atlas-sdk/3DMap/data/auth.d.ts +10 -0
  9. package/lib/types/meta-atlas-sdk/3DMap/data/auth.d.ts.map +1 -0
  10. package/lib/types/meta-atlas-sdk/3DMap/data/data.service.d.ts +12 -0
  11. package/lib/types/meta-atlas-sdk/3DMap/data/data.service.d.ts.map +1 -0
  12. package/lib/types/meta-atlas-sdk/3DMap/data/jewel-data.d.ts +8 -0
  13. package/lib/types/meta-atlas-sdk/3DMap/data/jewel-data.d.ts.map +1 -0
  14. package/lib/types/meta-atlas-sdk/3DMap/deckgl/DeckGLManager.d.ts +71 -0
  15. package/lib/types/meta-atlas-sdk/3DMap/deckgl/DeckGLManager.d.ts.map +1 -0
  16. package/lib/types/meta-atlas-sdk/3DMap/deckgl/MVTFloorLayer.d.ts +77 -0
  17. package/lib/types/meta-atlas-sdk/3DMap/deckgl/MVTFloorLayer.d.ts.map +1 -0
  18. package/lib/types/meta-atlas-sdk/3DMap/legacy/Changi.d.ts +1 -0
  19. package/lib/types/meta-atlas-sdk/3DMap/legacy/Changi.d.ts.map +1 -0
  20. package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → legacy/CustomThreeJsWrapper}/CustomThreeJsWrapper.d.ts +26 -3
  21. package/lib/types/meta-atlas-sdk/3DMap/legacy/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts.map +1 -0
  22. package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerFactory.d.ts +322 -0
  23. package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerFactory.d.ts.map +1 -0
  24. package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerManager.d.ts +121 -0
  25. package/lib/types/meta-atlas-sdk/3DMap/legacy/DeckglLayerManager.d.ts.map +1 -0
  26. package/lib/types/meta-atlas-sdk/3DMap/legacy/EventEmitter.d.ts +10 -0
  27. package/lib/types/meta-atlas-sdk/3DMap/legacy/EventEmitter.d.ts.map +1 -0
  28. package/lib/types/meta-atlas-sdk/3DMap/legacy/Jewel.d.ts +35 -0
  29. package/lib/types/meta-atlas-sdk/3DMap/legacy/Jewel.d.ts.map +1 -0
  30. package/lib/types/meta-atlas-sdk/3DMap/legacy/MainMap.d.ts +314 -0
  31. package/lib/types/meta-atlas-sdk/3DMap/legacy/MainMap.d.ts.map +1 -0
  32. package/lib/types/meta-atlas-sdk/3DMap/legacy/Marker.d.ts +17 -0
  33. package/lib/types/meta-atlas-sdk/3DMap/legacy/Marker.d.ts.map +1 -0
  34. package/lib/types/meta-atlas-sdk/3DMap/legacy/MicrophoneBubbleFactory.d.ts +71 -0
  35. package/lib/types/meta-atlas-sdk/3DMap/legacy/MicrophoneBubbleFactory.d.ts.map +1 -0
  36. package/lib/types/meta-atlas-sdk/3DMap/legacy/aeroport.d.ts +6 -0
  37. package/lib/types/meta-atlas-sdk/3DMap/legacy/aeroport.d.ts.map +1 -0
  38. package/lib/types/meta-atlas-sdk/3DMap/legacy/deckgl-helper.d.ts +14 -0
  39. package/lib/types/meta-atlas-sdk/3DMap/legacy/deckgl-helper.d.ts.map +1 -0
  40. package/lib/types/meta-atlas-sdk/3DMap/legacy/helper-utils.d.ts +4 -0
  41. package/lib/types/meta-atlas-sdk/3DMap/legacy/helper-utils.d.ts.map +1 -0
  42. package/lib/types/meta-atlas-sdk/3DMap/legacy/hotspot-utils.d.ts +13 -0
  43. package/lib/types/meta-atlas-sdk/3DMap/legacy/hotspot-utils.d.ts.map +1 -0
  44. package/lib/types/meta-atlas-sdk/3DMap/legacy/loader.d.ts +3 -0
  45. package/lib/types/meta-atlas-sdk/3DMap/legacy/loader.d.ts.map +1 -0
  46. package/lib/types/meta-atlas-sdk/3DMap/legacy/mapIcons.d.ts +12 -0
  47. package/lib/types/meta-atlas-sdk/3DMap/legacy/mapIcons.d.ts.map +1 -0
  48. package/lib/types/meta-atlas-sdk/3DMap/legacy/markers.d.ts +4 -0
  49. package/lib/types/meta-atlas-sdk/3DMap/legacy/markers.d.ts.map +1 -0
  50. package/lib/types/meta-atlas-sdk/3DMap/legacy/timestampUtils.d.ts +6 -0
  51. package/lib/types/meta-atlas-sdk/3DMap/legacy/timestampUtils.d.ts.map +1 -0
  52. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/aeroport-legacy.d.ts +65 -0
  53. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/aeroport-legacy.d.ts.map +1 -0
  54. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/apiParams.d.ts +25 -0
  55. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/apiParams.d.ts.map +1 -0
  56. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/cameraMatrix.d.ts +8 -0
  57. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/cameraMatrix.d.ts.map +1 -0
  58. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/extrusionSettings.d.ts +32 -0
  59. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/extrusionSettings.d.ts.map +1 -0
  60. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/marker-data.d.ts +12 -0
  61. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/marker-data.d.ts.map +1 -0
  62. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/modelSettings.d.ts +7 -0
  63. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/modelSettings.d.ts.map +1 -0
  64. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/panoramaSettings.d.ts +18 -0
  65. package/lib/types/meta-atlas-sdk/3DMap/legacy/types/panoramaSettings.d.ts.map +1 -0
  66. package/lib/types/meta-atlas-sdk/3DMap/meta-atlas-sdk-3D.d.ts +80 -0
  67. package/lib/types/meta-atlas-sdk/3DMap/meta-atlas-sdk-3D.d.ts.map +1 -0
  68. package/lib/types/meta-atlas-sdk/3DMap/threejs/ThreeJSManager.d.ts +92 -0
  69. package/lib/types/meta-atlas-sdk/3DMap/threejs/ThreeJSManager.d.ts.map +1 -0
  70. package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/CameraSync.d.ts.map +1 -0
  71. package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/CameraUtils.d.ts.map +1 -0
  72. package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/constants.d.ts.map +1 -0
  73. package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/suncalc.d.ts.map +1 -0
  74. package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/utils.d.ts +1 -1
  75. package/lib/types/meta-atlas-sdk/3DMap/threejs/utility/utils.d.ts.map +1 -0
  76. package/lib/types/meta-atlas-sdk/3DMap/types/aeroport.d.ts +14 -0
  77. package/lib/types/meta-atlas-sdk/3DMap/types/aeroport.d.ts.map +1 -0
  78. package/lib/types/meta-atlas-sdk/3DMap/types/render-manager.interface.d.ts +130 -0
  79. package/lib/types/meta-atlas-sdk/3DMap/types/render-manager.interface.d.ts.map +1 -0
  80. package/lib/types/meta-atlas-sdk/3DMap/utils/EventBus.d.ts +35 -0
  81. package/lib/types/meta-atlas-sdk/3DMap/utils/EventBus.d.ts.map +1 -0
  82. package/lib/types/meta-atlas-sdk/3DMap/utils/colors.d.ts +8 -0
  83. package/lib/types/meta-atlas-sdk/3DMap/utils/colors.d.ts.map +1 -0
  84. package/lib/types/meta-atlas-sdk/3DMap/utils/feature-transform.d.ts +12 -0
  85. package/lib/types/meta-atlas-sdk/3DMap/utils/feature-transform.d.ts.map +1 -0
  86. package/lib/types/meta-atlas-sdk/3DMap/utils/helper.d.ts +2 -0
  87. package/lib/types/meta-atlas-sdk/3DMap/utils/helper.d.ts.map +1 -0
  88. package/lib/types/meta-atlas-sdk/IfcModelLoader/index.d.ts +14 -0
  89. package/lib/types/meta-atlas-sdk/IfcModelLoader/index.d.ts.map +1 -0
  90. package/lib/types/meta-atlas-sdk/MetaAtlasCore/custom-map-objects-manager.d.ts +57 -0
  91. package/lib/types/meta-atlas-sdk/MetaAtlasCore/custom-map-objects-manager.d.ts.map +1 -0
  92. package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-state.d.ts +4 -0
  93. package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-state.d.ts.map +1 -0
  94. package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-types.d.ts +45 -0
  95. package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-types.d.ts.map +1 -0
  96. package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-utils.d.ts +72 -0
  97. package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-utils.d.ts.map +1 -0
  98. package/lib/types/meta-atlas-sdk/MetaAtlasCore/{focustree.d.ts → focus-core/focustree.d.ts} +376 -131
  99. package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/focustree.d.ts.map +1 -0
  100. package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/index.d.ts +661 -0
  101. package/lib/types/meta-atlas-sdk/MetaAtlasCore/focus-core/index.d.ts.map +1 -0
  102. package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts +37 -407
  103. package/lib/types/meta-atlas-sdk/MetaAtlasCore/meta-atlas-sdk-core.d.ts.map +1 -1
  104. package/lib/types/meta-atlas-sdk/MetaAtlasCore/routing-core/routing-helpers.d.ts.map +1 -1
  105. package/lib/types/meta-atlas-sdk/{customerLayer.d.ts → MetaAtlasCore/shared-layers/customerLayer.d.ts} +530 -536
  106. package/lib/types/meta-atlas-sdk/{customerLayer.d.ts.map → MetaAtlasCore/shared-layers/customerLayer.d.ts.map} +1 -1
  107. package/lib/types/meta-atlas-sdk/MetaAtlasCore/shared-layers/customerLayerService.d.ts +108 -0
  108. package/lib/types/meta-atlas-sdk/MetaAtlasCore/shared-layers/customerLayerService.d.ts.map +1 -0
  109. package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts +52 -413
  110. package/lib/types/meta-atlas-sdk/meta-atlas-sdk.d.ts.map +1 -1
  111. package/lib/types/meta-atlas-sdk/utils/helpers.d.ts.map +1 -1
  112. package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts +5 -0
  113. package/lib/types/meta-atlas-sdk/utils/mapobjects-store.d.ts.map +1 -1
  114. package/lib/types/react/MetaAtlasMap.d.ts.map +1 -1
  115. package/lib/types/react/hooks/useCustomMapObject/index.d.ts +3 -0
  116. package/lib/types/react/hooks/useCustomMapObject/index.d.ts.map +1 -0
  117. package/lib/types/react/hooks/useCustomMapObject/types.d.ts +30 -0
  118. package/lib/types/react/hooks/useCustomMapObject/types.d.ts.map +1 -0
  119. package/lib/types/react/hooks/useFocus/index.d.ts.map +1 -1
  120. package/lib/types/react/hooks/useFocus/types.d.ts +11 -0
  121. package/lib/types/react/hooks/useFocus/types.d.ts.map +1 -1
  122. package/lib/types/react/hooks/useMapEvents/index.d.ts.map +1 -1
  123. package/lib/types/react/hooks/useMapOverlays/index.d.ts.map +1 -1
  124. package/lib/types/react/hooks/useMapOverlays/types.d.ts +16 -0
  125. package/lib/types/react/hooks/useMapOverlays/types.d.ts.map +1 -1
  126. package/lib/types/react/hooks/useMetaAtlas/index.d.ts.map +1 -1
  127. package/lib/types/react/index.d.ts +3 -0
  128. package/lib/types/react/index.d.ts.map +1 -1
  129. package/lib/types/react/stores/useMapDataStore.d.ts +2 -0
  130. package/lib/types/react/stores/useMapDataStore.d.ts.map +1 -1
  131. package/lib/types/react/stores/useMetaAtlasStore.d.ts +2 -0
  132. package/lib/types/react/stores/useMetaAtlasStore.d.ts.map +1 -1
  133. package/lib/types/react/types/index.d.ts +8 -0
  134. package/lib/types/react/types/index.d.ts.map +1 -1
  135. package/package.json +18 -9
  136. package/lib/cjs/index.js +0 -642
  137. package/lib/cjs/react/index.js +0 -642
  138. package/lib/esm/index.js +0 -642
  139. package/lib/esm/react/index.js +0 -642
  140. package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/CustomThreeJsWrapper.d.ts.map +0 -1
  141. package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraSync.d.ts.map +0 -1
  142. package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/CameraUtils.d.ts.map +0 -1
  143. package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/constants.d.ts.map +0 -1
  144. package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/suncalc.d.ts.map +0 -1
  145. package/lib/types/meta-atlas-sdk/3DMap/CustomThreeJsWrapper/utility/utils.d.ts.map +0 -1
  146. package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts +0 -28
  147. package/lib/types/meta-atlas-sdk/3DMap/MainMap.d.ts.map +0 -1
  148. package/lib/types/meta-atlas-sdk/MetaAtlasCore/focustree.d.ts.map +0 -1
  149. package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts +0 -5156
  150. package/lib/types/meta-atlas-sdk/customerLayerVariant.d.ts.map +0 -1
  151. /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/CameraSync.d.ts +0 -0
  152. /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/CameraUtils.d.ts +0 -0
  153. /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/constants.d.ts +0 -0
  154. /package/lib/types/meta-atlas-sdk/3DMap/{CustomThreeJsWrapper → threejs}/utility/suncalc.d.ts +0 -0
@@ -0,0 +1,32 @@
1
+ import { Color } from 'three';
2
+ import { ModelSettings } from './modelSettings';
3
+ import { PanoramaSettings } from './panoramaSettings';
4
+ import { metaFeature } from '../../../MetaAtlasCore/meta-atlas-sdk-core';
5
+ export interface ExtrusionSettings {
6
+ afterLayerId?: string;
7
+ coordinates: number[][][] | number[][];
8
+ floorId?: string;
9
+ color?: Color | string;
10
+ colorOnHover?: Color;
11
+ floorColor?: Color;
12
+ depth?: number;
13
+ height?: number;
14
+ zoomLevel?: number;
15
+ transitionHeight?: number;
16
+ opacity?: number;
17
+ tooltip?: string;
18
+ modelPath?: string;
19
+ modelSettings?: Partial<ModelSettings>;
20
+ panoramaSettings?: PanoramaSettings[];
21
+ raycasted?: boolean;
22
+ metaFeature?: metaFeature;
23
+ maneuverType?: string;
24
+ distance?: number;
25
+ instructions?: string[];
26
+ isPortal?: boolean;
27
+ whereDimension?: string;
28
+ whatDimension?: string;
29
+ center?: number[];
30
+ name?: string;
31
+ }
32
+ //# sourceMappingURL=extrusionSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extrusionSettings.d.ts","sourceRoot":"","sources":["../../../../../../src/meta-atlas-sdk/3DMap/legacy/types/extrusionSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAEzE,MAAM,WAAW,iBAAiB;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,EAAE,EAAE,CAAC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACvC,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,12 @@
1
+ import { LngLatLike } from "maplibre-gl";
2
+ import { ModelSettings } from "./modelSettings";
3
+ import { PanoramaSettings } from "./panoramaSettings";
4
+ export interface MarkerData {
5
+ id: number;
6
+ name: string;
7
+ coordinates: LngLatLike;
8
+ model: ModelSettings;
9
+ url: string;
10
+ panoramaSettings?: PanoramaSettings[];
11
+ }
12
+ //# sourceMappingURL=marker-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marker-data.d.ts","sourceRoot":"","sources":["../../../../../../src/meta-atlas-sdk/3DMap/legacy/types/marker-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,WAAW,UAAU;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,UAAU,CAAC;IACxB,KAAK,EAAE,aAAa,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACtC"}
@@ -0,0 +1,7 @@
1
+ import { LngLatLike } from "maplibre-gl";
2
+ export interface ModelSettings {
3
+ origin: LngLatLike;
4
+ altitude: number;
5
+ rotation?: number[];
6
+ }
7
+ //# sourceMappingURL=modelSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modelSettings.d.ts","sourceRoot":"","sources":["../../../../../../src/meta-atlas-sdk/3DMap/legacy/types/modelSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,WAAW,aAAa;IAC7B,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB"}
@@ -0,0 +1,18 @@
1
+ import { Euler, Vector3 } from "three";
2
+ export declare enum Category {
3
+ Sofa = "Sofa",
4
+ EndTable = "End Table",
5
+ ArmChair = "Arm Chair",
6
+ CoffeTable = "Coffee Table"
7
+ }
8
+ export interface PanoramaSettings {
9
+ id: number;
10
+ name: string;
11
+ url: string;
12
+ position: Vector3;
13
+ floorPosition: Vector3;
14
+ rotation: Euler;
15
+ scale: Vector3;
16
+ cubePosition: Vector3;
17
+ }
18
+ //# sourceMappingURL=panoramaSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"panoramaSettings.d.ts","sourceRoot":"","sources":["../../../../../../src/meta-atlas-sdk/3DMap/legacy/types/panoramaSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,oBAAY,QAAQ;IACnB,IAAI,SAAS;IACb,QAAQ,cAAc;IACtB,QAAQ,cAAc;IACtB,UAAU,iBAAiB;CAC3B;AAED,MAAM,WAAW,gBAAgB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,YAAY,EAAE,OAAO,CAAC;CACtB"}
@@ -0,0 +1,80 @@
1
+ import { Map as MaplibreMap } from 'maplibre-gl';
2
+ import { MetaAtlasCore } from '../MetaAtlasCore/meta-atlas-sdk-core';
3
+ import { Route } from './data/DataManager';
4
+ import { IRenderManager, RenderBackend, ViewMode } from './types/render-manager.interface';
5
+ export { RenderBackend, ViewMode } from './types/render-manager.interface';
6
+ /**
7
+ * Tile server configuration
8
+ */
9
+ export interface TileServerConfig {
10
+ tileServer: string;
11
+ roleName: string;
12
+ verNum: string;
13
+ accessToken: string;
14
+ }
15
+ /**
16
+ * Central controller for 3D map functionality
17
+ * Responsibilities:
18
+ * - Orchestrates data loading and rendering
19
+ * - Manages interaction between Three.js and Deck.gl
20
+ * - Handles events from both rendering backends
21
+ * - Provides unified API for 3D map operations
22
+ */
23
+ export declare class MetaAtlasSDK3D {
24
+ private map;
25
+ private metaAtlasCore;
26
+ private dataManager;
27
+ private threejsManager;
28
+ private deckglManager;
29
+ private activeManager;
30
+ private renderBackend;
31
+ private viewMode;
32
+ private hiddenWhatTaxonomies;
33
+ private loadedBuildingModel;
34
+ private tileServerConfig;
35
+ constructor(map: MaplibreMap, metaAtlasCore: MetaAtlasCore, renderBackend: RenderBackend, tileServerConfig: TileServerConfig);
36
+ private initializeManagers;
37
+ private selectActiveManager;
38
+ /**
39
+ * Initialize the 3D map system
40
+ */
41
+ init(): Promise<void>;
42
+ /**
43
+ * Load 3D model for a building
44
+ */
45
+ private loadBuildingModel;
46
+ /**
47
+ * Setup heatmap layer
48
+ */
49
+ setupHeatmap(data: any[], options?: any): Promise<string>;
50
+ /**
51
+ * Setup RTLS assets
52
+ */
53
+ setupRTLSAssets(assets: any[]): Promise<void>;
54
+ /**
55
+ * Render route (dummy for now)
56
+ */
57
+ renderRoute(route: Route): Promise<string>;
58
+ /**
59
+ * Event handlers
60
+ */
61
+ private setupEventHandlers;
62
+ private handleMapObjectClick;
63
+ setViewMode(mode: ViewMode): void;
64
+ getViewMode(): ViewMode;
65
+ private updateVisibilityForViewMode;
66
+ /**
67
+ * Select and display a floor by taxonomy path using MVT layer filtering
68
+ * This is now much more efficient as it doesn't load individual floor data
69
+ */
70
+ selectFloor(floorTaxonomyPath: string): Promise<void>;
71
+ /**
72
+ * Show full building model (all segments visible). Call when focus is at building level
73
+ * (no floor selected), e.g. from legacy "show complete building" / non–floor view.
74
+ */
75
+ showFullBuildingModel(): void;
76
+ filterWhatTaxonomy(taxonomies: string[]): void;
77
+ getThreeJSManager(): IRenderManager | null;
78
+ getDeckGLManager(): IRenderManager | null;
79
+ }
80
+ //# sourceMappingURL=meta-atlas-sdk-3D.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta-atlas-sdk-3D.d.ts","sourceRoot":"","sources":["../../../../src/meta-atlas-sdk/3DMap/meta-atlas-sdk-3D.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,WAAW,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAe,KAAK,EAAE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CAAC,MAAM,CAAC;IAqBhD;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAO1B,OAAO,CAAC,oBAAoB;IAc5B,WAAW,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAKjC,WAAW,IAAI,QAAQ;IAIvB,OAAO,CAAC,2BAA2B;IAoBnC;;;OAGG;IACG,WAAW,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA4B3D;;;OAGG;IACH,qBAAqB,IAAI,IAAI;IAU7B,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,IAAI;IAS9C,iBAAiB,IAAI,cAAc,GAAG,IAAI;IAI1C,gBAAgB,IAAI,cAAc,GAAG,IAAI;CAG1C"}
@@ -0,0 +1,92 @@
1
+ import { PerspectiveCamera, Scene, WebGLRenderer } from 'three';
2
+ import { Map as MaplibreMap } from 'maplibre-gl';
3
+ import { IRenderManager, ExtrusionConfig, IconConfig, TextConfig, HeatmapConfig, RouteConfig, Model3DConfig, RenderEvent, EventCallback } from '../types/render-manager.interface';
4
+ /**
5
+ * Three.js rendering manager implementing IRenderManager interface
6
+ * Handles all Three.js-based 3D rendering operations
7
+ */
8
+ export declare class ThreeJSManager implements IRenderManager {
9
+ private map;
10
+ private scene;
11
+ private camera;
12
+ private renderer;
13
+ private css2dRenderer;
14
+ private cameraSync;
15
+ private fov;
16
+ private raycaster;
17
+ private mouse;
18
+ private objects;
19
+ private extrusions;
20
+ private icons;
21
+ private texts;
22
+ private routes;
23
+ private heatmaps;
24
+ private models3D;
25
+ private eventListeners;
26
+ private floorVisibility;
27
+ constructor(map: MaplibreMap);
28
+ initialize(map: MaplibreMap): void;
29
+ destroy(): void;
30
+ addExtrusion(config: ExtrusionConfig): string;
31
+ removeExtrusion(objectId: string): void;
32
+ updateExtrusion(objectId: string, config: Partial<ExtrusionConfig>): void;
33
+ addIcon(config: IconConfig): string;
34
+ removeIcon(objectId: string): void;
35
+ updateIcon(objectId: string, config: Partial<IconConfig>): void;
36
+ addText(config: TextConfig): string;
37
+ removeText(objectId: string): void;
38
+ updateText(objectId: string, config: Partial<TextConfig>): void;
39
+ addHeatmap(config: HeatmapConfig): string;
40
+ removeHeatmap(layerId: string): void;
41
+ updateHeatmap(layerId: string, config: Partial<HeatmapConfig>): void;
42
+ addRoute(config: RouteConfig): string;
43
+ removeRoute(routeId: string): void;
44
+ updateRoute(routeId: string, config: Partial<RouteConfig>): void;
45
+ setObjectVisibility(objectId: string, visible: boolean): void;
46
+ filterByWhatTaxonomy(taxonomies: string[]): void;
47
+ setLayerVisibility(layerId: string, visible: boolean): void;
48
+ setFloorHeight(whereTaxonomy: string, height: number): void;
49
+ showFloor(whereTaxonomy: string): void;
50
+ hideFloor(whereTaxonomy: string): void;
51
+ setFloorVisibility(whereTaxonomy: string, visible: boolean): void;
52
+ /**
53
+ * Extract floorId from whereTaxonomy path for internal use
54
+ * Example: "where.index_tower.main_building.floor_5" -> "floor_5"
55
+ */
56
+ extractFloorIdFromTaxonomy(whereTaxonomy: string): string;
57
+ on(event: RenderEvent, callback: EventCallback): void;
58
+ off(event: RenderEvent, callback: EventCallback): void;
59
+ update(): void;
60
+ private onMouseClick;
61
+ private generateId;
62
+ private removeObject;
63
+ private getCentroid;
64
+ private buildPoints;
65
+ private buildGeometry;
66
+ private buildShape;
67
+ private centerMesh;
68
+ private initCSS2DRenderer;
69
+ private updateCSS2DRendererSize;
70
+ private renderCSS2D;
71
+ private onMapResize;
72
+ private setEnvironment;
73
+ private disposeCSS2DRenderer;
74
+ loadModel3D(config: Model3DConfig): Promise<string>;
75
+ setModelVisibility(modelId: string, visible: boolean): void;
76
+ removeModel3D(modelId: string): void;
77
+ /**
78
+ * Filter model floor segments by selected floor (Index Tower–style).
79
+ * Based on legacy SceneHierarchyVisualizer filterFloors logic.
80
+ * Model hierarchy: Ground, Index_Tower_btm (always visible);
81
+ * Index_Tower_top, Canopy (hidden in floor view); offices_1..N (floor segments).
82
+ */
83
+ filterModelFloors(modelId: string, floorNumber: number): void;
84
+ /**
85
+ * Show full building model (all segments visible). Used when focus is at building level.
86
+ */
87
+ showFullModel(modelId: string): void;
88
+ getScene(): Scene;
89
+ getCamera(): PerspectiveCamera;
90
+ getRenderer(): WebGLRenderer;
91
+ }
92
+ //# sourceMappingURL=ThreeJSManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThreeJSManager.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/3DMap/threejs/ThreeJSManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EACjB,KAAK,EACL,aAAa,EAed,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,GAAG,IAAI,WAAW,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAMnL;;;GAGG;AACH,qBAAa,cAAe,YAAW,cAAc;IACnD,OAAO,CAAC,GAAG,CAAc;IACzB,OAAO,CAAC,KAAK,CAAQ;IACrB,OAAO,CAAC,MAAM,CAAoB;IAClC,OAAO,CAAC,QAAQ,CAAgB;IAChC,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,SAAS,CAAY;IAC7B,OAAO,CAAC,KAAK,CAAU;IAGvB,OAAO,CAAC,OAAO,CAAoC;IACnD,OAAO,CAAC,UAAU,CAAgC;IAClD,OAAO,CAAC,KAAK,CAAuC;IACpD,OAAO,CAAC,KAAK,CAAuC;IACpD,OAAO,CAAC,MAAM,CAAoC;IAClD,OAAO,CAAC,QAAQ,CAAoC;IACpD,OAAO,CAAC,QAAQ,CAAoC;IAGpD,OAAO,CAAC,cAAc,CAAmD;IAGzE,OAAO,CAAC,eAAe,CAAmC;gBAE9C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;IASpC,QAAQ,IAAI,KAAK;IAIjB,SAAS,IAAI,iBAAiB;IAI9B,WAAW,IAAI,aAAa;CAG7B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CameraSync.d.ts","sourceRoot":"","sources":["../../../../../../src/meta-atlas-sdk/3DMap/threejs/utility/CameraSync.js"],"names":[],"mappings":";AAWA;IACI,+CAgCC;IA/BG,SAAc;IACd,YAAoB;IACpB,gBAAkB;IAMlB,WAAiC;IAKjC;;;;MAIC;IAeL,oBAQC;IALG,gBAAyB;IACzB,+BAAqE;IAErE,mBAAwC;IAI5C,4BA0FC;IA/CG,0BAAwF;IAgD5F,oBAGC;IAED,4BAGC;IAED,uDAEC;IAED,4BAEC;IAED,+CAEC;IAED,4DAUC;IAED,8BAsBC;IAED,+DAwCC;IAED,yCAyCC;CACJ"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CameraUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/meta-atlas-sdk/3DMap/threejs/utility/CameraUtils.js"],"names":[],"mappings":"AAGA,4FAeC;AAGD,mHAoBC;AAED,0DAEC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/meta-atlas-sdk/3DMap/threejs/utility/constants.js"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kCAA2B;AAI3B,sCAA+B;AAC/B,oDAA4C;AAH5C,gCAAsC;AACtC,0BAA6B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suncalc.d.ts","sourceRoot":"","sources":["../../../../../../src/meta-atlas-sdk/3DMap/threejs/utility/suncalc.js"],"names":[],"mappings":"AAmFI;;;EAaC;AAED,4CAEC;;AAeD,uEAEC;AA2BD;;;EAuCC;AAsBD;;;;;EAoBC;AAOD;;;;EAkBC;AASD;;;EAoDC"}
@@ -1,7 +1,7 @@
1
1
  import * as THREE from 'three';
2
2
  import { Quaternion, Vector3 } from 'three';
3
3
  import { LngLatLike } from 'maplibre-gl';
4
- import { Position } from 'geojson';
4
+ import { Position } from '@turf/turf';
5
5
  export declare function projectToWorld(coords: Position): THREE.Vector3;
6
6
  export declare function unprojectFromWorld(worldUnits: Vector3): LngLatLike;
7
7
  export declare function toDecimal(n: any, d: any): number;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/meta-atlas-sdk/3DMap/threejs/utility/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,UAAU,EAAS,OAAO,EAA0B,MAAM,OAAO,CAAC;AAG1E,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAMtC,wBAAgB,cAAc,CAAC,MAAM,EAAE,QAAQ,iBAoB9C;AAUD,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,OAAO,cAwBrD;AAED,wBAAgB,SAAS,CAAE,CAAC,KAAA,EAAE,CAAC,KAAA,UAE9B;AAGD,wBAAgB,cAAc,CAAC,OAAO,KAAA,EAAE,GAAG,KAAA,EAAE,MAAM,KAAA,EAAE,QAAQ,KAAA,EAAE,cAAc,KAAA,oBAyD5E;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,KAAA,EAAE,OAAO,KAAA,EAAE,SAAS,KAAA,QA2BjE;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,UAIhD;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,UAKvD;AAED,wBAAgB,wBAAwB,CAAC,MAAM,KAAA,UAQ9C"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Active Floor interface for current 3D map implementation
3
+ * Note: places array removed - floor data now comes from MVT tiles
4
+ * For legacy code that needs places array, use LegacyFloor from legacy/types/aeroport-legacy.ts
5
+ */
6
+ export interface Floor {
7
+ id: string;
8
+ name: string;
9
+ groundStackHeight: number;
10
+ levelIndex: number;
11
+ zoomLevel: number;
12
+ isHidden: boolean;
13
+ }
14
+ //# sourceMappingURL=aeroport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aeroport.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/3DMap/types/aeroport.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,KAAK;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CAClB"}
@@ -0,0 +1,130 @@
1
+ import { Map as MaplibreMap } from 'maplibre-gl';
2
+ import { metaFeature } from '../../MetaAtlasCore/meta-atlas-sdk-core';
3
+ export declare enum RenderBackend {
4
+ THREEJS = "threejs",
5
+ DECKGL = "deckgl",
6
+ AUTO = "auto"
7
+ }
8
+ export declare enum ViewMode {
9
+ MODE_2D = "2D",
10
+ MODE_3D = "3D",
11
+ MODE_3D_WITH_EXTRUSION = "MODE_3D_WITH_EXTRUSION"
12
+ }
13
+ export type RenderEvent = 'objectClick' | 'objectHover' | 'objectHoverOut' | 'floorChanged' | 'layerUpdated';
14
+ export type EventCallback = (data: any) => void;
15
+ export interface ExtrusionConfig {
16
+ id?: string;
17
+ coordinates: number[][][];
18
+ height: number;
19
+ depth: number;
20
+ color: string | number;
21
+ opacity: number;
22
+ whereTaxonomy: string;
23
+ metaFeature?: metaFeature;
24
+ whatDimension?: string;
25
+ whereDimension?: string;
26
+ onClick?: (data: any) => void;
27
+ onHover?: (data: any) => void;
28
+ }
29
+ export interface IconConfig {
30
+ id?: string;
31
+ coordinates: [number, number, number];
32
+ iconUrl?: string;
33
+ iconType?: 'cctv' | 'microphone' | 'custom';
34
+ size: number;
35
+ whereTaxonomy: string;
36
+ metaFeature?: metaFeature;
37
+ onClick?: (data: any) => void;
38
+ }
39
+ export interface TextConfig {
40
+ id?: string;
41
+ coordinates: [number, number, number];
42
+ text: string;
43
+ fontSize: number;
44
+ color: string;
45
+ outlineColor?: string;
46
+ whereTaxonomy: string;
47
+ metaFeature?: metaFeature;
48
+ }
49
+ export interface HeatmapConfig {
50
+ id: string;
51
+ data: HeatmapPoint[];
52
+ radiusPixels: number;
53
+ intensity: number;
54
+ colorRange: number[][];
55
+ whereTaxonomy?: string;
56
+ }
57
+ export interface RouteConfig {
58
+ id: string;
59
+ segments: RouteSegment[];
60
+ color: string;
61
+ width: number;
62
+ animated?: boolean;
63
+ }
64
+ export interface HeatmapPoint {
65
+ coordinates: [number, number];
66
+ weight?: number;
67
+ }
68
+ export interface RouteSegment {
69
+ coordinates: [number, number, number][];
70
+ whereTaxonomy: string;
71
+ properties?: any;
72
+ }
73
+ export interface Model3DConfig {
74
+ id?: string;
75
+ url: string;
76
+ transform: {
77
+ rotation: [number, number, number];
78
+ scale: [number, number, number];
79
+ coordinates: [number, number];
80
+ };
81
+ hasFloorSegments: boolean;
82
+ }
83
+ export interface IRenderManager {
84
+ initialize(map: MaplibreMap): void;
85
+ destroy(): void;
86
+ addExtrusion(config: ExtrusionConfig): string;
87
+ removeExtrusion(objectId: string): void;
88
+ updateExtrusion(objectId: string, config: Partial<ExtrusionConfig>): void;
89
+ addIcon(config: IconConfig): string;
90
+ removeIcon(objectId: string): void;
91
+ updateIcon(objectId: string, config: Partial<IconConfig>): void;
92
+ addText(config: TextConfig): string;
93
+ removeText(objectId: string): void;
94
+ updateText(objectId: string, config: Partial<TextConfig>): void;
95
+ addHeatmap(config: HeatmapConfig): string;
96
+ removeHeatmap(layerId: string): void;
97
+ updateHeatmap(layerId: string, config: Partial<HeatmapConfig>): void;
98
+ addRoute(config: RouteConfig): string;
99
+ removeRoute(routeId: string): void;
100
+ updateRoute(routeId: string, config: Partial<RouteConfig>): void;
101
+ setObjectVisibility(objectId: string, visible: boolean): void;
102
+ filterByWhatTaxonomy(taxonomies: string[]): void;
103
+ setLayerVisibility(layerId: string, visible: boolean): void;
104
+ setFloorHeight(whereTaxonomy: string, height: number): void;
105
+ showFloor(whereTaxonomy: string): void;
106
+ hideFloor(whereTaxonomy: string): void;
107
+ setFloorVisibility(whereTaxonomy: string, visible: boolean): void;
108
+ on(event: RenderEvent, callback: EventCallback): void;
109
+ off(event: RenderEvent, callback: EventCallback): void;
110
+ update(): void;
111
+ }
112
+ export interface FloorMVTConfig {
113
+ tileServerUrl: string;
114
+ accessToken: string;
115
+ minZoom?: number;
116
+ maxZoom?: number;
117
+ tileSize?: number;
118
+ defaultHeight?: number;
119
+ materialProperties?: {
120
+ ambient?: number;
121
+ diffuse?: number;
122
+ shininess?: number;
123
+ specularColor?: [number, number, number];
124
+ };
125
+ }
126
+ export interface FloorMVTFilter {
127
+ whatTaxonomies?: string[];
128
+ whereTaxonomies?: string[];
129
+ }
130
+ //# sourceMappingURL=render-manager.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render-manager.interface.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/3DMap/types/render-manager.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,WAAW,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAItE,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAGD,oBAAY,QAAQ;IAClB,OAAO,OAAO;IACd,OAAO,OAAO;IACd,sBAAsB,2BAA2B;CAClD;AAGD,MAAM,MAAM,WAAW,GACnB,aAAa,GACb,aAAa,GACb,gBAAgB,GAChB,cAAc,GACd,cAAc,CAAC;AAEnB,MAAM,MAAM,aAAa,GAAG,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;AAGhD,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE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IAAI,CAAC;IACvC,SAAS,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,kBAAkB,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAGlE,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;IACtD,GAAG,CAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;IAGvD,MAAM,IAAI,IAAI,CAAC;CAChB;AAGD,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;KAC1C,CAAC;CACH;AAED,MAAM,WAAW,cAAc;IAC7B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B"}
@@ -0,0 +1,35 @@
1
+ import type { Feature } from 'geojson';
2
+ import type { clickedMetaFeature } from '../../MetaAtlasCore/meta-atlas-sdk-core';
3
+ export type EventType = 'mapObjectClick' | 'error';
4
+ export interface MapObjectClickData {
5
+ objectId?: string | number;
6
+ coordinates?: number[];
7
+ properties?: any;
8
+ feature?: Feature;
9
+ metaFeature?: clickedMetaFeature;
10
+ intersectionPoint?: number[];
11
+ originalEvent?: any;
12
+ }
13
+ export type EventDataMap = {
14
+ 'mapObjectClick': MapObjectClickData;
15
+ 'error': {
16
+ message: string;
17
+ error?: any;
18
+ };
19
+ };
20
+ export interface EventData<T extends EventType = EventType> {
21
+ type: T;
22
+ source: 'threejs' | 'deckgl' | 'datamanager' | 'controller';
23
+ timestamp: number;
24
+ data: EventDataMap[T];
25
+ originalEvent?: any;
26
+ }
27
+ export declare class EventBus {
28
+ private listeners;
29
+ on<T extends EventType>(eventType: T, callback: (data: EventData<T>) => void): () => void;
30
+ emit<T extends EventType>(eventType: T, source: EventData['source'], data: EventDataMap[T], originalEvent?: any): void;
31
+ clear(): void;
32
+ clearEvent(eventType: EventType): void;
33
+ }
34
+ export declare const eventBus: EventBus;
35
+ //# sourceMappingURL=EventBus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventBus.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/3DMap/utils/EventBus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAElF,MAAM,MAAM,SAAS,GACjB,gBAAgB,GAChB,OAAO,CAAC;AAGZ,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,aAAa,CAAC,EAAE,GAAG,CAAC;CACrB;AAGD,MAAM,MAAM,YAAY,GAAG;IACzB,gBAAgB,EAAE,kBAAkB,CAAC;IACrC,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,GAAG,CAAA;KAAE,CAAC;CAC3C,CAAC;AAGF,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS;IACxD,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,YAAY,CAAC;IAC5D,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IACtB,aAAa,CAAC,EAAE,GAAG,CAAC;CACrB;AAED,qBAAa,QAAQ;IACnB,OAAO,CAAC,SAAS,CAA6D;IAG9E,EAAE,CAAC,CAAC,SAAS,SAAS,EAAE,SAAS,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,MAAM,IAAI;IAazF,IAAI,CAAC,CAAC,SAAS,SAAS,EACtB,SAAS,EAAE,CAAC,EACZ,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,EAC3B,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,EACrB,aAAa,CAAC,EAAE,GAAG,GAClB,IAAI;IAsBP,KAAK,IAAI,IAAI;IAKb,UAAU,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;CAGvC;AAGD,eAAO,MAAM,QAAQ,UAAiB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Color } from "three";
2
+ export declare function getStyleFromTaxonomy(taxonomy2Path: string): {
3
+ color: Color;
4
+ depth: number;
5
+ opacity: number;
6
+ heightOffset: number;
7
+ };
8
+ //# sourceMappingURL=colors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/3DMap/utils/colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAiC9B,wBAAgB,oBAAoB,CAAE,aAAa,EAAE,MAAM,GAAI;IAC9D,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;CACrB,CAmHA"}
@@ -0,0 +1,12 @@
1
+ import type { Feature } from 'geojson';
2
+ import type { clickedMetaFeature } from '../../MetaAtlasCore/meta-atlas-sdk-core';
3
+ import type { MapObjectClickData } from './EventBus';
4
+ /**
5
+ * Calculate center coordinates from a GeoJSON feature
6
+ */
7
+ export declare function calculateFeatureCenter(feature: Feature): number[] | null;
8
+ /**
9
+ * Transform raw deck.gl/three.js click event data to clickedMetaFeature
10
+ */
11
+ export declare function transformClickDataToMetaFeature(data: MapObjectClickData, originalEvent?: any): clickedMetaFeature;
12
+ //# sourceMappingURL=feature-transform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature-transform.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/3DMap/utils/feature-transform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAsC,MAAM,yCAAyC,CAAC;AACtH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,GAAG,IAAI,CA4BxE;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,kBAAkB,EACxB,aAAa,CAAC,EAAE,GAAG,GAClB,kBAAkB,CAkDpB"}
@@ -0,0 +1,2 @@
1
+ export declare function isObject(value: any): boolean;
2
+ //# sourceMappingURL=helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/3DMap/utils/helper.ts"],"names":[],"mappings":"AACA,wBAAgB,QAAQ,CAAE,KAAK,EAAE,GAAG,GAAI,OAAO,CAE9C"}
@@ -0,0 +1,14 @@
1
+ import { ThreeJSManager } from '../3DMap/threejs/ThreeJSManager';
2
+ export declare class IfcModelLoader {
3
+ private components;
4
+ private ifcLoader;
5
+ private manager;
6
+ private initialized;
7
+ private previousSelection;
8
+ constructor(manager: ThreeJSManager);
9
+ setupWasm(wasmPath?: string): Promise<void>;
10
+ loadIfcFromUrl(url: string): Promise<any>;
11
+ loadIfcFromBuffer(buffer: Uint8Array): Promise<any>;
12
+ private setupRaycaster;
13
+ }
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/meta-atlas-sdk/IfcModelLoader/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,qBAAa,cAAc;IACzB,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,SAAS,CAAY;IAC7B,OAAO,CAAC,OAAO,CAAiB;IAChC,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,iBAAiB,CAA2B;gBAExC,OAAO,EAAE,cAAc;IAMtB,SAAS,CAAC,QAAQ,CAAC,EAAE,MAAM;IAQ3B,cAAc,CAAC,GAAG,EAAE,MAAM;IAU1B,iBAAiB,CAAC,MAAM,EAAE,UAAU;IAajD,OAAO,CAAC,cAAc;CAqDvB"}
@@ -0,0 +1,57 @@
1
+ import { MetaAtlasCore, CustomMapObject, metaFeature } from './meta-atlas-sdk-core';
2
+ import { MetaAtlasSdk } from '../meta-atlas-sdk';
3
+ export declare class CustomMapObjectsManager {
4
+ private metaAtlasCore;
5
+ private metaAtlasSdk;
6
+ constructor(metaAtlasCore: MetaAtlasCore, metaAtlasSdk: MetaAtlasSdk);
7
+ /**
8
+ * Add a custom map object (handles both core and map operations)
9
+ */
10
+ addMapObject(mapObject: CustomMapObject): void;
11
+ /**
12
+ * Remove a custom map object (handles both core and map operations)
13
+ */
14
+ removeMapObject(mapObjectId: string): void;
15
+ /**
16
+ * Update a custom map object (handles both core and map operations)
17
+ */
18
+ updateMapObject(mapObjectId: string, updates: Partial<CustomMapObject>): void;
19
+ /**
20
+ * Get all custom map objects
21
+ */
22
+ getCustomMapObjects(): metaFeature[];
23
+ /**
24
+ * Clear all custom map objects (handles both core and map operations)
25
+ */
26
+ clearCustomMapObjects(): void;
27
+ /**
28
+ * Re-apply the current where/what filters from the core SDK
29
+ * so custom map objects stay in sync with the SDK's filter state.
30
+ */
31
+ private applyCurrentFilters;
32
+ /**
33
+ * Ensure default layers are added to the map (only adds if they don't exist)
34
+ */
35
+ ensureDefaultLayersAdded(): void;
36
+ /**
37
+ * Get default layers for custom map objects
38
+ */
39
+ getDefaultCustomMapObjectLayers(): any[];
40
+ /**
41
+ * Add custom map object to map layer
42
+ */
43
+ addCustomMapObjectToMap(mapObject: CustomMapObject): void;
44
+ /**
45
+ * Remove custom map object from map layer
46
+ */
47
+ removeCustomMapObjectFromMap(mapObjectId: string): void;
48
+ /**
49
+ * Update custom map objects layer with current data
50
+ */
51
+ updateCustomMapObjectsLayer(): void;
52
+ /**
53
+ * Clear all custom map objects from map
54
+ */
55
+ clearCustomMapObjectsFromMap(): void;
56
+ }
57
+ //# sourceMappingURL=custom-map-objects-manager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-map-objects-manager.d.ts","sourceRoot":"","sources":["../../../../src/meta-atlas-sdk/MetaAtlasCore/custom-map-objects-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,qBAAa,uBAAuB;IAClC,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,YAAY,CAAe;gBAEvB,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY;IAKpE;;OAEG;IACH,YAAY,CAAC,SAAS,EAAE,eAAe,GAAG,IAAI;IAe9C;;OAEG;IACH,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAQ1C;;OAEG;IACH,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,IAAI;IAW7E;;OAEG;IACH,mBAAmB,IAAI,WAAW,EAAE;IAIpC;;OAEG;IACH,qBAAqB,IAAI,IAAI;IAQ7B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAqB3B;;OAEG;IACH,wBAAwB,IAAI,IAAI;IAkBhC;;OAEG;IACH,+BAA+B,IAAI,GAAG,EAAE;IA+DxC;;OAEG;IACH,uBAAuB,CAAC,SAAS,EAAE,eAAe,GAAG,IAAI;IA2EzD;;OAEG;IACH,4BAA4B,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAIvD;;OAEG;IACH,2BAA2B,IAAI,IAAI;IAgCnC;;OAEG;IACH,4BAA4B,IAAI,IAAI;CAWrC"}
@@ -0,0 +1,4 @@
1
+ import type { FocusTree } from './focus-tree-types';
2
+ export declare function setGlobalFocusTree(rawTree: any): void;
3
+ export declare function getGlobalFocusTree(): FocusTree;
4
+ //# sourceMappingURL=focus-tree-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"focus-tree-state.d.ts","sourceRoot":"","sources":["../../../../../src/meta-atlas-sdk/MetaAtlasCore/focus-core/focus-tree-state.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AA+EpD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,GAAG,QAK9C;AAED,wBAAgB,kBAAkB,IAAI,SAAS,CAE9C"}