@giro3d/piero 1.0.0-beta.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 (220) hide show
  1. package/LICENSE +9 -0
  2. package/README.md +134 -0
  3. package/dist/Components.cjs.js +2 -0
  4. package/dist/Components.cjs.js.map +1 -0
  5. package/dist/Components.es.js +608 -0
  6. package/dist/Components.es.js.map +1 -0
  7. package/dist/assets/piero.css +9 -0
  8. package/dist/index.cjs.js +9 -0
  9. package/dist/index.cjs.js.map +1 -0
  10. package/dist/index.d.ts +2 -0
  11. package/dist/index.es.js +6971 -0
  12. package/dist/index.es.js.map +1 -0
  13. package/dist/modules.cjs.js +2 -0
  14. package/dist/modules.cjs.js.map +1 -0
  15. package/dist/modules.d.ts +2 -0
  16. package/dist/modules.es.js +856 -0
  17. package/dist/modules.es.js.map +1 -0
  18. package/dist/src/App.vue.d.ts +6 -0
  19. package/dist/src/api/BookmarkApi.d.ts +6 -0
  20. package/dist/src/api/DatasetApi.d.ts +61 -0
  21. package/dist/src/api/ViewApi.d.ts +4 -0
  22. package/dist/src/api/index.d.ts +4 -0
  23. package/dist/src/components/AlertToast.vue.d.ts +4 -0
  24. package/dist/src/components/AttributeGroup.vue.d.ts +7 -0
  25. package/dist/src/components/AttributeItem.vue.d.ts +6 -0
  26. package/dist/src/components/AttributePanel.vue.d.ts +14 -0
  27. package/dist/src/components/ColorFragment.vue.d.ts +6 -0
  28. package/dist/src/components/Configuration.d.ts +14 -0
  29. package/dist/src/components/CoordinateFragment.vue.d.ts +10 -0
  30. package/dist/src/components/DropdownView.vue.d.ts +13 -0
  31. package/dist/src/components/LinkFragment.vue.d.ts +10 -0
  32. package/dist/src/components/LoadingScreen.vue.d.ts +2 -0
  33. package/dist/src/components/MainView.vue.d.ts +5 -0
  34. package/dist/src/components/MinimapView.vue.d.ts +4 -0
  35. package/dist/src/components/ModalOverlay.vue.d.ts +25 -0
  36. package/dist/src/components/NavigationButtons.vue.d.ts +2 -0
  37. package/dist/src/components/OpacitySlider.vue.d.ts +10 -0
  38. package/dist/src/components/PanelContainer.vue.d.ts +10 -0
  39. package/dist/src/components/ProgressBar.vue.d.ts +14 -0
  40. package/dist/src/components/SearchOverlay.vue.d.ts +8 -0
  41. package/dist/src/components/SpinnerControl.vue.d.ts +2 -0
  42. package/dist/src/components/StatusBar.vue.d.ts +10 -0
  43. package/dist/src/components/SwitchToggle.vue.d.ts +25 -0
  44. package/dist/src/components/VisibilityControl.vue.d.ts +9 -0
  45. package/dist/src/components/atoms/ButtonArea.vue.d.ts +17 -0
  46. package/dist/src/components/atoms/ButtonWithIcon.vue.d.ts +11 -0
  47. package/dist/src/components/atoms/CompactList.vue.d.ts +17 -0
  48. package/dist/src/components/atoms/Icon.vue.d.ts +6 -0
  49. package/dist/src/components/atoms/IconList.vue.d.ts +17 -0
  50. package/dist/src/components/atoms/IconListButton.vue.d.ts +10 -0
  51. package/dist/src/components/atoms/ImportButton.vue.d.ts +13 -0
  52. package/dist/src/components/atoms/ListLabel.vue.d.ts +5 -0
  53. package/dist/src/components/atoms/ListLabelButton.vue.d.ts +11 -0
  54. package/dist/src/components/atoms/SectionCollapsible.vue.d.ts +30 -0
  55. package/dist/src/components/charts/BarChart.vue.d.ts +4 -0
  56. package/dist/src/components/charts/DoughnutChart.vue.d.ts +4 -0
  57. package/dist/src/components/panels/AboutPanel.vue.d.ts +2 -0
  58. package/dist/src/components/panels/AnalysisPanel.vue.d.ts +2 -0
  59. package/dist/src/components/panels/AnnotationItem.vue.d.ts +21 -0
  60. package/dist/src/components/panels/AnnotationPanel.vue.d.ts +2 -0
  61. package/dist/src/components/panels/BasemapItem.vue.d.ts +17 -0
  62. package/dist/src/components/panels/BookmarkItem.vue.d.ts +16 -0
  63. package/dist/src/components/panels/BookmarkPanel.vue.d.ts +2 -0
  64. package/dist/src/components/panels/DatagroupItem.vue.d.ts +18 -0
  65. package/dist/src/components/panels/DatasetItem.vue.d.ts +18 -0
  66. package/dist/src/components/panels/DatasetOrGroupItem.vue.d.ts +18 -0
  67. package/dist/src/components/panels/DatasetPanel.vue.d.ts +2 -0
  68. package/dist/src/components/panels/EmptyIndicator.vue.d.ts +6 -0
  69. package/dist/src/components/panels/LoadingIndicator.vue.d.ts +6 -0
  70. package/dist/src/components/panels/MeasurementItem.vue.d.ts +17 -0
  71. package/dist/src/components/panels/MeasurementPanel.vue.d.ts +2 -0
  72. package/dist/src/components/panels/OverlayItem.vue.d.ts +19 -0
  73. package/dist/src/components/panels/ShareBookmarkModal.vue.d.ts +5 -0
  74. package/dist/src/components/panels/analysis/ClippingBox.vue.d.ts +2 -0
  75. package/dist/src/components/panels/analysis/CrossSection.vue.d.ts +2 -0
  76. package/dist/src/components/panels/analysis/FloodingPlane.vue.d.ts +2 -0
  77. package/dist/src/components/panels/analysis/Statistics.vue.d.ts +2 -0
  78. package/dist/src/components/panels/analysis/ToolWrapper.vue.d.ts +28 -0
  79. package/dist/src/components/toolbar/ToolBar.vue.d.ts +9 -0
  80. package/dist/src/components/toolbar/ToolbarButton.vue.d.ts +12 -0
  81. package/dist/src/config-loader.d.ts +7 -0
  82. package/dist/src/constants.d.ts +7 -0
  83. package/dist/src/context.d.ts +35 -0
  84. package/dist/src/createPieroApp.d.ts +31 -0
  85. package/dist/src/events.d.ts +30 -0
  86. package/dist/src/giro3d/CameraControlsInspector.d.ts +17 -0
  87. package/dist/src/giro3d/EntityBuilder.d.ts +21 -0
  88. package/dist/src/giro3d/Graticule.d.ts +20 -0
  89. package/dist/src/giro3d/Grid.d.ts +11 -0
  90. package/dist/src/giro3d/LayerBuilder.d.ts +46 -0
  91. package/dist/src/giro3d/Measure3D.d.ts +20 -0
  92. package/dist/src/giro3d/Plane.d.ts +11 -0
  93. package/dist/src/giro3d/Skybox.d.ts +6 -0
  94. package/dist/src/giro3d/entities/FeatureCollectionEntity.d.ts +41 -0
  95. package/dist/src/giro3d/entities/PointCloudEntity.d.ts +45 -0
  96. package/dist/src/giro3d/entities/TiledPointCloudEntity.d.ts +13 -0
  97. package/dist/src/giro3d/entities/Tiles3dEntity.d.ts +11 -0
  98. package/dist/src/giro3d/entities/VectorLabelsEntity.d.ts +48 -0
  99. package/dist/src/giro3d/entities/VectorMeshEntity.d.ts +97 -0
  100. package/dist/src/giro3d/entities/VectorShapeEntity.d.ts +8 -0
  101. package/dist/src/giro3d/entities/flatPointCloud.d.ts +2 -0
  102. package/dist/src/giro3d/entities/tiledIfc.d.ts +2 -0
  103. package/dist/src/giro3d/entities/vector.d.ts +2 -0
  104. package/dist/src/giro3d/sources/GeopackageSource.d.ts +20 -0
  105. package/dist/src/giro3d/sources/ShapefileSource.d.ts +20 -0
  106. package/dist/src/giro3d/sources/mixins.d.ts +60 -0
  107. package/dist/src/index.d.ts +17 -0
  108. package/dist/src/loaders/csv.d.ts +3 -0
  109. package/dist/src/loaders/las.d.ts +3 -0
  110. package/dist/src/loaders/loader.d.ts +29 -0
  111. package/dist/src/loaders/loader.test.d.ts +1 -0
  112. package/dist/src/loaders/userData.d.ts +8 -0
  113. package/dist/src/loaders/vector.d.ts +4 -0
  114. package/dist/src/module.d.ts +11 -0
  115. package/dist/src/modules/IFCLoader.d.ts +9 -0
  116. package/dist/src/modules/PLYLoader.d.ts +9 -0
  117. package/dist/src/modules/PotreeLoader.d.ts +9 -0
  118. package/dist/src/modules/Tour.d.ts +17 -0
  119. package/dist/src/modules/ifc/IfcEntity.d.ts +84 -0
  120. package/dist/src/modules/ifc/IfcEntityInspector.d.ts +7 -0
  121. package/dist/src/modules/ifc/IfcPropertyView.vue.d.ts +6 -0
  122. package/dist/src/modules/ifc/IfcSubtree.vue.d.ts +7 -0
  123. package/dist/src/modules/index.d.ts +5 -0
  124. package/dist/src/modules/ply/PlyEntity.d.ts +33 -0
  125. package/dist/src/providers/Alticoding.d.ts +32 -0
  126. package/dist/src/providers/BanProvider.d.ts +11 -0
  127. package/dist/src/providers/Geocoding.d.ts +7 -0
  128. package/dist/src/providers/IgnProvider.d.ts +11 -0
  129. package/dist/src/services/AnalysisManager.d.ts +10 -0
  130. package/dist/src/services/AnnotationManager.d.ts +48 -0
  131. package/dist/src/services/CameraController.d.ts +99 -0
  132. package/dist/src/services/DatasetManager.d.ts +27 -0
  133. package/dist/src/services/Giro3DManager.d.ts +42 -0
  134. package/dist/src/services/Highlighter.d.ts +11 -0
  135. package/dist/src/services/LayerManager.d.ts +37 -0
  136. package/dist/src/services/MeasureTool.d.ts +13 -0
  137. package/dist/src/services/MeasurementManager.d.ts +31 -0
  138. package/dist/src/services/MinimapController.d.ts +19 -0
  139. package/dist/src/services/Picker.d.ts +53 -0
  140. package/dist/src/services/analysis/ClippingBoxManager.d.ts +41 -0
  141. package/dist/src/services/analysis/CrossSectionManager.d.ts +9 -0
  142. package/dist/src/services/analysis/FloodingPlaneManager.d.ts +11 -0
  143. package/dist/src/stores/analysis.d.ts +1571 -0
  144. package/dist/src/stores/annotations.d.ts +60 -0
  145. package/dist/src/stores/bookmarks.d.ts +21 -0
  146. package/dist/src/stores/camera.d.ts +39 -0
  147. package/dist/src/stores/datasets.d.ts +49 -0
  148. package/dist/src/stores/giro3d.d.ts +45 -0
  149. package/dist/src/stores/layers.d.ts +40 -0
  150. package/dist/src/stores/measurement.d.ts +45 -0
  151. package/dist/src/stores/modules.d.ts +11 -0
  152. package/dist/src/stores/notifications.d.ts +8 -0
  153. package/dist/src/stores/statistics.d.ts +8 -0
  154. package/dist/src/types/Annotation.d.ts +35 -0
  155. package/dist/src/types/AnnotationMode.d.ts +7 -0
  156. package/dist/src/types/BaseLayer.d.ts +30 -0
  157. package/dist/src/types/Bookmark.d.ts +19 -0
  158. package/dist/src/types/CameraPosition.d.ts +7 -0
  159. package/dist/src/types/Configuration.d.ts +106 -0
  160. package/dist/src/types/Dataset.d.ts +78 -0
  161. package/dist/src/types/Feature.d.ts +13 -0
  162. package/dist/src/types/FloodingPlane.d.ts +14 -0
  163. package/dist/src/types/IFCTypes.d.ts +5 -0
  164. package/dist/src/types/LayerObject.d.ts +20 -0
  165. package/dist/src/types/Measure.d.ts +20 -0
  166. package/dist/src/types/MeasurementMode.d.ts +7 -0
  167. package/dist/src/types/Named.d.ts +5 -0
  168. package/dist/src/types/NavigationMode.d.ts +2 -0
  169. package/dist/src/types/Notification.d.ts +8 -0
  170. package/dist/src/types/OLGeometry.d.ts +1 -0
  171. package/dist/src/types/Overlay.d.ts +24 -0
  172. package/dist/src/types/VectorStyle.d.ts +31 -0
  173. package/dist/src/types/Viewbox.d.ts +7 -0
  174. package/dist/src/types/configuration/analysis.d.ts +26 -0
  175. package/dist/src/types/configuration/bookmark.d.ts +16 -0
  176. package/dist/src/types/configuration/camera.d.ts +19 -0
  177. package/dist/src/types/configuration/color.d.ts +18 -0
  178. package/dist/src/types/configuration/datasets/cityjson.d.ts +9 -0
  179. package/dist/src/types/configuration/datasets/core.d.ts +49 -0
  180. package/dist/src/types/configuration/datasets/featureCollection.d.ts +6 -0
  181. package/dist/src/types/configuration/datasets/ifc.d.ts +10 -0
  182. package/dist/src/types/configuration/datasets/index.d.ts +27 -0
  183. package/dist/src/types/configuration/datasets/layer.d.ts +43 -0
  184. package/dist/src/types/configuration/datasets/ply.d.ts +10 -0
  185. package/dist/src/types/configuration/datasets/pointCloud.d.ts +12 -0
  186. package/dist/src/types/configuration/datasets/potreePointCloud.d.ts +10 -0
  187. package/dist/src/types/configuration/datasets/tiledIfc.d.ts +9 -0
  188. package/dist/src/types/configuration/datasets/tiledPointCloud.d.ts +9 -0
  189. package/dist/src/types/configuration/datasets/vector.d.ts +34 -0
  190. package/dist/src/types/configuration/features.d.ts +2 -0
  191. package/dist/src/types/configuration/geographic.d.ts +51 -0
  192. package/dist/src/types/configuration/layers/core.d.ts +50 -0
  193. package/dist/src/types/configuration/layers/index.d.ts +51 -0
  194. package/dist/src/types/configuration/sources/bingMaps.d.ts +5 -0
  195. package/dist/src/types/configuration/sources/core/baseConfig.d.ts +70 -0
  196. package/dist/src/types/configuration/sources/core/tiled.d.ts +19 -0
  197. package/dist/src/types/configuration/sources/core/vector.d.ts +13 -0
  198. package/dist/src/types/configuration/sources/core/vectorTile.d.ts +8 -0
  199. package/dist/src/types/configuration/sources/customVector.d.ts +7 -0
  200. package/dist/src/types/configuration/sources/customVectorTile.d.ts +8 -0
  201. package/dist/src/types/configuration/sources/geojson.d.ts +5 -0
  202. package/dist/src/types/configuration/sources/geotiff.d.ts +8 -0
  203. package/dist/src/types/configuration/sources/gpx.d.ts +5 -0
  204. package/dist/src/types/configuration/sources/kml.d.ts +5 -0
  205. package/dist/src/types/configuration/sources/mvt.d.ts +10 -0
  206. package/dist/src/types/configuration/sources/osm.d.ts +5 -0
  207. package/dist/src/types/configuration/sources/stadiaMaps.d.ts +5 -0
  208. package/dist/src/types/configuration/sources/wms.d.ts +15 -0
  209. package/dist/src/types/configuration/sources/wmts.d.ts +15 -0
  210. package/dist/src/types/configuration/sources/xyz.d.ts +9 -0
  211. package/dist/src/types/utilities.d.ts +5 -0
  212. package/dist/src/utils/Components.d.ts +8 -0
  213. package/dist/src/utils/Configuration.d.ts +15 -0
  214. package/dist/src/utils/Download.d.ts +11 -0
  215. package/dist/src/utils/Fetcher.d.ts +77 -0
  216. package/dist/src/utils/Measure.d.ts +7 -0
  217. package/dist/src/utils/OLFeatures.d.ts +57 -0
  218. package/dist/src/utils/Projections.d.ts +10 -0
  219. package/dist/src/utils/Types.d.ts +11 -0
  220. package/package.json +103 -0
@@ -0,0 +1,17 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ icon: string;
3
+ title: string;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ click: (...args: any[]) => void;
7
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
8
+ onClick?: ((...args: any[]) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
10
+ export default _default;
@@ -0,0 +1,13 @@
1
+ type __VLS_Props = {
2
+ icon?: string;
3
+ text?: string;
4
+ title: string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
+ import: (files: File[]) => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onImport?: ((files: File[]) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
11
+ hiddenInput: HTMLInputElement;
12
+ }, HTMLDivElement>;
13
+ export default _default;
@@ -0,0 +1,5 @@
1
+ type __VLS_Props = {
2
+ title?: string;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ export default _default;
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ disabled?: boolean;
3
+ text: string;
4
+ title?: string;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ click: (...args: any[]) => void;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onClick?: ((...args: any[]) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
11
+ export default _default;
@@ -0,0 +1,30 @@
1
+ type __VLS_Props = {
2
+ expanded?: boolean;
3
+ iconPosition?: 'left' | 'right';
4
+ title: string;
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {
12
+ collapsible: HTMLDivElement;
13
+ };
14
+ rootEl: HTMLDivElement;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ "update:expanded": (...args: any[]) => void;
19
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ "onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
22
+ collapsible: HTMLDivElement;
23
+ }, HTMLDivElement>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
+ export default _default;
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,4 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
2
+ ctx: HTMLCanvasElement;
3
+ }, HTMLDivElement>;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
2
+ ctx: HTMLCanvasElement;
3
+ }, HTMLDivElement>;
4
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { default as Annotation } from '../../types/Annotation';
2
+ type __VLS_Props = {
3
+ annotation: Annotation;
4
+ visible: boolean;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ delete: (...args: any[]) => void;
8
+ edit: (...args: any[]) => void;
9
+ zoom: (...args: any[]) => void;
10
+ "update:visible": (...args: any[]) => void;
11
+ "stop-edit": (...args: any[]) => void;
12
+ download: (...args: any[]) => void;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onDelete?: ((...args: any[]) => any) | undefined;
15
+ onEdit?: ((...args: any[]) => any) | undefined;
16
+ onZoom?: ((...args: any[]) => any) | undefined;
17
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
18
+ "onStop-edit"?: ((...args: any[]) => any) | undefined;
19
+ onDownload?: ((...args: any[]) => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
21
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { LayerType } from '../../types/configuration/layers';
2
+ type __VLS_Props = {
3
+ hasOpacitySlider: boolean;
4
+ isLoading: boolean;
5
+ name: string;
6
+ opacity: number;
7
+ type: 'graticule' | LayerType;
8
+ visible: boolean;
9
+ };
10
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ "update:visible": (...args: any[]) => void;
12
+ "update:opacity": (...args: any[]) => void;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
15
+ "onUpdate:opacity"?: ((...args: any[]) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
17
+ export default _default;
@@ -0,0 +1,16 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ url?: any;
3
+ name?: any;
4
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ delete: (...args: any[]) => void;
6
+ goto: (...args: any[]) => void;
7
+ share: (...args: any[]) => void;
8
+ }, string, import('vue').PublicProps, Readonly<{
9
+ url?: any;
10
+ name?: any;
11
+ }> & Readonly<{
12
+ onDelete?: ((...args: any[]) => any) | undefined;
13
+ onGoto?: ((...args: any[]) => any) | undefined;
14
+ onShare?: ((...args: any[]) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLIElement>;
16
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { Datagroup } from '../../types/Dataset';
2
+ type __VLS_Props = {
3
+ group: Datagroup;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ zoom: (...args: any[]) => void;
7
+ "update:visible": (...args: any[]) => void;
8
+ clipTo: (...args: any[]) => void;
9
+ "update:toggle-grid": (...args: any[]) => void;
10
+ "update:toggle-mask": (...args: any[]) => void;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onZoom?: ((...args: any[]) => any) | undefined;
13
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
14
+ onClipTo?: ((...args: any[]) => any) | undefined;
15
+ "onUpdate:toggle-grid"?: ((...args: any[]) => any) | undefined;
16
+ "onUpdate:toggle-mask"?: ((...args: any[]) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { Dataset } from '../../types/Dataset';
2
+ type __VLS_Props = {
3
+ dataset: Dataset;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ zoom: (...args: any[]) => void;
7
+ "update:visible": (...args: any[]) => void;
8
+ clipTo: (...args: any[]) => void;
9
+ "update:toggle-grid": (...args: any[]) => void;
10
+ "update:toggle-mask": (...args: any[]) => void;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onZoom?: ((...args: any[]) => any) | undefined;
13
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
14
+ onClipTo?: ((...args: any[]) => any) | undefined;
15
+ "onUpdate:toggle-grid"?: ((...args: any[]) => any) | undefined;
16
+ "onUpdate:toggle-mask"?: ((...args: any[]) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { DatasetOrGroup } from '../../types/Dataset';
2
+ type __VLS_Props = {
3
+ dataset: DatasetOrGroup;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ zoom: (...args: any[]) => void;
7
+ "update:visible": (...args: any[]) => void;
8
+ clipTo: (...args: any[]) => void;
9
+ "update:toggle-grid": (...args: any[]) => void;
10
+ "update:toggle-mask": (...args: any[]) => void;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onZoom?: ((...args: any[]) => any) | undefined;
13
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
14
+ onClipTo?: ((...args: any[]) => any) | undefined;
15
+ "onUpdate:toggle-grid"?: ((...args: any[]) => any) | undefined;
16
+ "onUpdate:toggle-mask"?: ((...args: any[]) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
18
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ text: StringConstructor;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ text: StringConstructor;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ text: StringConstructor;
3
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
4
+ text: StringConstructor;
5
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { default as Measure } from '../../types/Measure';
2
+ type __VLS_Props = {
3
+ measure: Measure;
4
+ visible: boolean;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ delete: (...args: any[]) => void;
8
+ zoom: (...args: any[]) => void;
9
+ "update:visible": (...args: any[]) => void;
10
+ download: (...args: any[]) => void;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onDelete?: ((...args: any[]) => any) | undefined;
13
+ onZoom?: ((...args: any[]) => any) | undefined;
14
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
15
+ onDownload?: ((...args: any[]) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
17
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ name: string;
3
+ opacity: number;
4
+ visible: boolean;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ zoom: (...args: any[]) => void;
8
+ "update:visible": (...args: any[]) => void;
9
+ "update:opacity": (...args: any[]) => void;
10
+ "update:move-up": (...args: any[]) => void;
11
+ "update:move-down": (...args: any[]) => void;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onZoom?: ((...args: any[]) => any) | undefined;
14
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
15
+ "onUpdate:opacity"?: ((...args: any[]) => any) | undefined;
16
+ "onUpdate:move-up"?: ((...args: any[]) => any) | undefined;
17
+ "onUpdate:move-down"?: ((...args: any[]) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
19
+ export default _default;
@@ -0,0 +1,5 @@
1
+ type __VLS_Props = {
2
+ url: string;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,28 @@
1
+ type __VLS_Props = {
2
+ collapsible: boolean;
3
+ expanded: boolean;
4
+ icon?: string;
5
+ id: string;
6
+ title: string;
7
+ };
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: {
11
+ default?(_: {}): any;
12
+ };
13
+ refs: {};
14
+ rootEl: HTMLDivElement;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ "update:expanded": (...args: any[]) => void;
19
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ "onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,9 @@
1
+ type __VLS_Props = {
2
+ active: string | null;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ selected: (...args: any[]) => void;
6
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
7
+ onSelected?: ((...args: any[]) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
9
+ export default _default;
@@ -0,0 +1,12 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ title?: any;
3
+ active?: any;
4
+ icon?: any;
5
+ tourkey?: any;
6
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
7
+ title?: any;
8
+ active?: any;
9
+ icon?: any;
10
+ tourkey?: any;
11
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLIElement>;
12
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { Configuration } from './types/Configuration';
2
+ import { DynamicStyleCollection } from './types/VectorStyle';
3
+ export declare function getConfig(): Readonly<Configuration>;
4
+ export declare function getDynamicStyles(): DynamicStyleCollection;
5
+ export declare function loadRemoteConfiguration(url: string): Promise<Configuration>;
6
+ export declare function setConfiguration(newConfiguration: Configuration): Promise<void>;
7
+ export declare function setDynamicStyles(styles: DynamicStyleCollection): void;
@@ -0,0 +1,7 @@
1
+ import { ColorRepresentation } from '../../../node_modules/three';
2
+ export declare const DEFAULT_SHAPE_COLOR: ColorRepresentation;
3
+ export declare const HIGHLIGHT_SHAPE_COLOR: ColorRepresentation;
4
+ export declare const DEFAULT_MEASURE_COLOR: ColorRepresentation;
5
+ export declare const HIGHLIGHT_MEASURE_COLOR: ColorRepresentation;
6
+ export declare const EDIT_SHAPE_COLOR: ColorRepresentation;
7
+ export declare const SHAPE_POINT_RADIUS = 5;
@@ -0,0 +1,35 @@
1
+ import { EventDispatcher } from '../../../node_modules/three';
2
+ import { default as BookmarkApi } from './api/BookmarkApi';
3
+ import { default as DatasetApi } from './api/DatasetApi';
4
+ import { default as ViewApi } from './api/ViewApi';
5
+ import { PieroEvents } from './events';
6
+ import { Configuration } from './types/Configuration';
7
+ /**
8
+ * Piero context.
9
+ */
10
+ export interface PieroContext {
11
+ /**
12
+ * The base URL of the application.
13
+ */
14
+ baseURL: URL;
15
+ /**
16
+ * Bookmark related functions.
17
+ */
18
+ bookmarks: BookmarkApi;
19
+ /**
20
+ * The configuration of the Piero app.
21
+ */
22
+ configuration: Readonly<Configuration>;
23
+ /**
24
+ * Dataset related functions.
25
+ */
26
+ datasets: DatasetApi;
27
+ /**
28
+ * The global event dispatcher.
29
+ */
30
+ events: EventDispatcher<PieroEvents>;
31
+ /**
32
+ * 3D View related functions.
33
+ */
34
+ view: ViewApi;
35
+ }
@@ -0,0 +1,31 @@
1
+ import { Module } from './module';
2
+ import { Configuration } from './types/Configuration';
3
+ import { DynamicStyleCollection } from './types/VectorStyle';
4
+ export type AppParameters = {
5
+ /**
6
+ * The base URL of the application. This is used to resolve relative URLs.
7
+ * @example 'http://localhost:8080/' or 'https://mydomain.com/myapp/'
8
+ */
9
+ baseUrl: string;
10
+ /**
11
+ * The static configuration to use, or the URL to a remote configuration.
12
+ */
13
+ configuration: Configuration | string;
14
+ /**
15
+ * Where to attach the piero root element.
16
+ */
17
+ container: Element | string;
18
+ /**
19
+ * Optional style functions to use.
20
+ */
21
+ dynamicStyles?: DynamicStyleCollection;
22
+ /**
23
+ * The list of modules to load.
24
+ * @defaultValue []
25
+ */
26
+ modules?: Module[];
27
+ };
28
+ /**
29
+ * Entry point for a Piero application.
30
+ */
31
+ export default function createPieroApp(params: AppParameters): Promise<void>;
@@ -0,0 +1,30 @@
1
+ import { EventDispatcher } from '../../../node_modules/three';
2
+ import { default as Bookmark } from './types/Bookmark';
3
+ import { DatasetOrGroup } from './types/Dataset';
4
+ export interface BookmarkEvents {
5
+ 'bookmark-added': PayloadEvent<Bookmark>;
6
+ 'bookmark-removed': PayloadEvent<Bookmark>;
7
+ }
8
+ export interface DatasetEvents {
9
+ 'dataset-added': PayloadEvent<DatasetOrGroup>;
10
+ 'dataset-removed': PayloadEvent<DatasetOrGroup>;
11
+ 'dataset-visibility-changed': PayloadEvent<DatasetOrGroup>;
12
+ }
13
+ /**
14
+ * An event with a payload.
15
+ */
16
+ export type PayloadEvent<T> = {
17
+ value: T;
18
+ };
19
+ /**
20
+ * An event with no argument.
21
+ */
22
+ export type PieroEmptyEvent = unknown;
23
+ export type PieroEvents = BookmarkEvents & DatasetEvents & PieroGlobalEvents;
24
+ export interface PieroGlobalEvents {
25
+ /**
26
+ * Raised when the application has finished loading.
27
+ */
28
+ ready: PieroEmptyEvent;
29
+ }
30
+ export declare const GLOBAL_EVENT_DISPATCHER: EventDispatcher<PieroEvents>;
@@ -0,0 +1,17 @@
1
+ import { default as Instance } from '@giro3d/giro3d/core/Instance';
2
+ import { default as GUI } from 'lil-gui';
3
+ import { default as Panel } from '@giro3d/giro3d/gui/Panel';
4
+ import { default as CameraController } from '../services/CameraController';
5
+ declare class CameraControlsInspector extends Panel {
6
+ camera: CameraController;
7
+ private _boundOnAfterCameraUpdate;
8
+ private _cameraPosition;
9
+ /**
10
+ * @param gui - The GUI.
11
+ * @param instance - The Giro3D instance.
12
+ */
13
+ constructor(gui: GUI, cameraController: CameraController, instance: Instance);
14
+ dispose(): void;
15
+ private onAfterCameraUpdate;
16
+ }
17
+ export default CameraControlsInspector;
@@ -0,0 +1,21 @@
1
+ import { default as Instance } from '@giro3d/giro3d/core/Instance';
2
+ import { default as Entity3D } from '@giro3d/giro3d/entities/Entity3D';
3
+ import { DatasetAsMeshConfig } from '../types/configuration/datasets';
4
+ import { Dataset, DatasetBase } from '../types/Dataset';
5
+ export type BuilderContext = {
6
+ dataset: Dataset;
7
+ instance: Instance;
8
+ };
9
+ export type EntityBuilder = (context: BuilderContext) => Promise<Entity3D>;
10
+ /**
11
+ * Gets the Giro3D entity for a dataset
12
+ * @param instance - Giro3D main instance
13
+ * @param dataset - Dataset
14
+ * @returns Entity
15
+ */
16
+ declare function getEntity(instance: Instance, dataset: Dataset & DatasetBase<DatasetAsMeshConfig>): Promise<Entity3D>;
17
+ export declare function registerEntityBuilder(datasetType: string, builder: EntityBuilder): void;
18
+ declare const _default: {
19
+ getEntity: typeof getEntity;
20
+ };
21
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { default as Instance } from '@giro3d/giro3d/core/Instance';
2
+ import { default as Map } from '@giro3d/giro3d/entities/Map';
3
+ import { EventDispatcher } from '../../../../node_modules/three';
4
+ export declare class GraticuleLayer extends EventDispatcher {
5
+ readonly canSetOpacity = false;
6
+ readonly name: "Graticule";
7
+ readonly uuid: "graticule";
8
+ get displayed(): boolean;
9
+ get enabled(): boolean;
10
+ set enabled(v: boolean);
11
+ set instance(v: Instance);
12
+ set map(v: Map);
13
+ get visible(): boolean;
14
+ set visible(v: boolean);
15
+ private _enabled;
16
+ private _instance?;
17
+ private _map?;
18
+ private _visible;
19
+ private _updateVisible;
20
+ }
@@ -0,0 +1,11 @@
1
+ import { default as Extent } from '@giro3d/giro3d/core/geographic/Extent';
2
+ import { default as Instance } from '@giro3d/giro3d/core/Instance';
3
+ declare class Grid {
4
+ get visible(): boolean;
5
+ set visible(v: boolean);
6
+ private readonly _grid;
7
+ private readonly _instance;
8
+ constructor(instance: Instance, extent: Extent, name: string);
9
+ dispose(): void;
10
+ }
11
+ export default Grid;
@@ -0,0 +1,46 @@
1
+ import { default as Extent } from '@giro3d/giro3d/core/geographic/Extent';
2
+ import { default as Instance } from '@giro3d/giro3d/core/Instance';
3
+ import { default as ImageSource } from '@giro3d/giro3d/sources/ImageSource';
4
+ import { default as ColorLayer } from '@giro3d/giro3d/core/layer/ColorLayer';
5
+ import { default as ElevationLayer } from '@giro3d/giro3d/core/layer/ElevationLayer';
6
+ import { default as MaskLayer } from '@giro3d/giro3d/core/layer/MaskLayer';
7
+ import { BaseLayer, BasemapLayer } from '../types/BaseLayer';
8
+ import { DatasetAsLayerConfig } from '../types/configuration/datasets';
9
+ import { LayerOptions } from '../types/configuration/externals';
10
+ import { LayerSourceConfig } from '../types/configuration/layers';
11
+ import { Dataset, DatasetBase } from '../types/Dataset';
12
+ import { Overlay } from '../types/Overlay';
13
+ declare function getDatasetLayer(instance: Instance, dataset: Dataset & DatasetBase<DatasetAsLayerConfig>): Promise<ColorLayer | ElevationLayer | MaskLayer>;
14
+ /**
15
+ * Gets the Giro3D layer for a layer
16
+ * @param basemap - Basemap layer configuration
17
+ * @returns Layer
18
+ */
19
+ declare function getLayer(basemap: BaseLayer): Promise<BasemapLayer>;
20
+ /**
21
+ * Gets the options for building Giro3D {@link Layer}s.
22
+ * @param layer - Layer configuration
23
+ * @returns Options that should be passed to layer constructor
24
+ */
25
+ declare function getLayerOptions(layer: BaseLayer | DatasetAsLayerConfig | Overlay): Promise<LayerOptions>;
26
+ /**
27
+ * Gets the Giro3D layer for an overlay
28
+ * @param overlay - Overlay configuration
29
+ * @param extent - Extent of the overlay
30
+ * @returns Layer
31
+ */
32
+ declare function getOverlay(overlay: Overlay, extent: Extent): Promise<ColorLayer>;
33
+ /**
34
+ * Generates a Giro3D source from a configuration
35
+ * @param config - Source configuration
36
+ * @returns Source
37
+ */
38
+ declare function getSource(config: LayerSourceConfig): Promise<ImageSource>;
39
+ declare const _default: {
40
+ getDatasetLayer: typeof getDatasetLayer;
41
+ getLayer: typeof getLayer;
42
+ getLayerOptions: typeof getLayerOptions;
43
+ getOverlay: typeof getOverlay;
44
+ getSource: typeof getSource;
45
+ };
46
+ export default _default;