@map-colonies/react-components 3.8.0 → 3.8.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 (372) hide show
  1. package/package.json +100 -98
  2. package/src/lib/cesium-map/context-menu.stories.tsx +1 -2
  3. package/src/lib/cesium-map/layers/3d.tileset.stories.tsx +1 -2
  4. package/src/lib/cesium-map/layers/3d.tileset.update.ts +72 -0
  5. package/src/lib/cesium-map/layers/layers.rect.stories.tsx +171 -0
  6. package/src/lib/cesium-map/layers-manager.stories.tsx +2 -3
  7. package/src/lib/cesium-map/layers-manager.ts +3 -1
  8. package/src/lib/cesium-map/map.stories.tsx +3 -3
  9. package/src/lib/cesium-map/map.tsx +2 -0
  10. package/src/lib/cesium-map/terrain-providers/custom/dummy-quantized-mesh-tile.ts +243 -0
  11. package/src/lib/cesium-map/terrain-providers/custom/quantized-mesh-decoder.ts +321 -0
  12. package/src/lib/cesium-map/terrain-providers/custom/quantized-mesh-terrain-provider.ts +237 -0
  13. package/src/lib/cesium-map/terrain-providers/terrain-provider.stories.tsx +183 -0
  14. package/src/types/quantized-mesh-decoder.d.ts +1 -0
  15. package/storybook-static/mock/{tileset → tileset_1}/ll.b3dm +0 -0
  16. package/storybook-static/mock/{tileset → tileset_1}/lr.b3dm +0 -0
  17. package/storybook-static/mock/{tileset → tileset_1}/parent.b3dm +0 -0
  18. package/storybook-static/mock/{tileset → tileset_1}/tileset.json +0 -0
  19. package/storybook-static/mock/{tileset → tileset_1}/ul.b3dm +0 -0
  20. package/storybook-static/mock/{tileset → tileset_1}/ur.b3dm +0 -0
  21. package/dist/assets/img/dragIcon.png +0 -0
  22. package/dist/assets/img/dragIconLight.png +0 -0
  23. package/dist/assets/img/glyphicons_067_cleaning.png +0 -0
  24. package/dist/assets/img/glyphicons_094_vector_path_square.png +0 -0
  25. package/dist/assets/img/glyphicons_095_vector_path_circle.png +0 -0
  26. package/dist/assets/img/glyphicons_096_vector_path_polygon.png +0 -0
  27. package/dist/assets/img/glyphicons_097_vector_path_line.png +0 -0
  28. package/dist/assets/img/glyphicons_242_google_maps.png +0 -0
  29. package/dist/autocomplete/autocomplete.css +0 -25
  30. package/dist/autocomplete/autocomplete.d.ts +0 -34
  31. package/dist/autocomplete/autocomplete.d.ts.map +0 -1
  32. package/dist/autocomplete/autocomplete.js +0 -467
  33. package/dist/autocomplete/autocomplete.js.map +0 -1
  34. package/dist/autocomplete/index.d.ts +0 -2
  35. package/dist/autocomplete/index.d.ts.map +0 -1
  36. package/dist/autocomplete/index.js +0 -5
  37. package/dist/autocomplete/index.js.map +0 -1
  38. package/dist/box/box.d.ts +0 -4
  39. package/dist/box/box.d.ts.map +0 -1
  40. package/dist/box/box.js +0 -34
  41. package/dist/box/box.js.map +0 -1
  42. package/dist/box/index.d.ts +0 -2
  43. package/dist/box/index.d.ts.map +0 -1
  44. package/dist/box/index.js +0 -5
  45. package/dist/box/index.js.map +0 -1
  46. package/dist/cesium-map/data-sources/custom.data-source.d.ts +0 -6
  47. package/dist/cesium-map/data-sources/custom.data-source.d.ts.map +0 -1
  48. package/dist/cesium-map/data-sources/custom.data-source.js +0 -22
  49. package/dist/cesium-map/data-sources/custom.data-source.js.map +0 -1
  50. package/dist/cesium-map/data-sources/drawings.data-source.d.ts +0 -35
  51. package/dist/cesium-map/data-sources/drawings.data-source.d.ts.map +0 -1
  52. package/dist/cesium-map/data-sources/drawings.data-source.js +0 -174
  53. package/dist/cesium-map/data-sources/drawings.data-source.js.map +0 -1
  54. package/dist/cesium-map/data-sources/index.d.ts +0 -3
  55. package/dist/cesium-map/data-sources/index.d.ts.map +0 -1
  56. package/dist/cesium-map/data-sources/index.js +0 -8
  57. package/dist/cesium-map/data-sources/index.js.map +0 -1
  58. package/dist/cesium-map/entities/entity.d.ts +0 -6
  59. package/dist/cesium-map/entities/entity.d.ts.map +0 -1
  60. package/dist/cesium-map/entities/entity.description.d.ts +0 -7
  61. package/dist/cesium-map/entities/entity.description.d.ts.map +0 -1
  62. package/dist/cesium-map/entities/entity.description.js +0 -25
  63. package/dist/cesium-map/entities/entity.description.js.map +0 -1
  64. package/dist/cesium-map/entities/entity.js +0 -22
  65. package/dist/cesium-map/entities/entity.js.map +0 -1
  66. package/dist/cesium-map/entities/graphics/polygon.graphics.d.ts +0 -6
  67. package/dist/cesium-map/entities/graphics/polygon.graphics.d.ts.map +0 -1
  68. package/dist/cesium-map/entities/graphics/polygon.graphics.js +0 -22
  69. package/dist/cesium-map/entities/graphics/polygon.graphics.js.map +0 -1
  70. package/dist/cesium-map/entities/graphics/polyline.graphics.d.ts +0 -6
  71. package/dist/cesium-map/entities/graphics/polyline.graphics.d.ts.map +0 -1
  72. package/dist/cesium-map/entities/graphics/polyline.graphics.js +0 -22
  73. package/dist/cesium-map/entities/graphics/polyline.graphics.js.map +0 -1
  74. package/dist/cesium-map/entities/graphics/rectangle.graphics.d.ts +0 -6
  75. package/dist/cesium-map/entities/graphics/rectangle.graphics.d.ts.map +0 -1
  76. package/dist/cesium-map/entities/graphics/rectangle.graphics.js +0 -22
  77. package/dist/cesium-map/entities/graphics/rectangle.graphics.js.map +0 -1
  78. package/dist/cesium-map/entities/index.d.ts +0 -5
  79. package/dist/cesium-map/entities/index.d.ts.map +0 -1
  80. package/dist/cesium-map/entities/index.js +0 -10
  81. package/dist/cesium-map/entities/index.js.map +0 -1
  82. package/dist/cesium-map/index.d.ts +0 -8
  83. package/dist/cesium-map/index.d.ts.map +0 -1
  84. package/dist/cesium-map/index.js +0 -13
  85. package/dist/cesium-map/index.js.map +0 -1
  86. package/dist/cesium-map/layers/3d.tileset.d.ts +0 -8
  87. package/dist/cesium-map/layers/3d.tileset.d.ts.map +0 -1
  88. package/dist/cesium-map/layers/3d.tileset.js +0 -38
  89. package/dist/cesium-map/layers/3d.tileset.js.map +0 -1
  90. package/dist/cesium-map/layers/geojson.layer.d.ts +0 -6
  91. package/dist/cesium-map/layers/geojson.layer.d.ts.map +0 -1
  92. package/dist/cesium-map/layers/geojson.layer.js +0 -22
  93. package/dist/cesium-map/layers/geojson.layer.js.map +0 -1
  94. package/dist/cesium-map/layers/imagery.layer.d.ts +0 -7
  95. package/dist/cesium-map/layers/imagery.layer.d.ts.map +0 -1
  96. package/dist/cesium-map/layers/imagery.layer.js +0 -51
  97. package/dist/cesium-map/layers/imagery.layer.js.map +0 -1
  98. package/dist/cesium-map/layers/index.d.ts +0 -8
  99. package/dist/cesium-map/layers/index.d.ts.map +0 -1
  100. package/dist/cesium-map/layers/index.js +0 -13
  101. package/dist/cesium-map/layers/index.js.map +0 -1
  102. package/dist/cesium-map/layers/osm.layer.d.ts +0 -10
  103. package/dist/cesium-map/layers/osm.layer.d.ts.map +0 -1
  104. package/dist/cesium-map/layers/osm.layer.js +0 -35
  105. package/dist/cesium-map/layers/osm.layer.js.map +0 -1
  106. package/dist/cesium-map/layers/wms.layer.d.ts +0 -10
  107. package/dist/cesium-map/layers/wms.layer.d.ts.map +0 -1
  108. package/dist/cesium-map/layers/wms.layer.js +0 -35
  109. package/dist/cesium-map/layers/wms.layer.js.map +0 -1
  110. package/dist/cesium-map/layers/wmts.layer.d.ts +0 -10
  111. package/dist/cesium-map/layers/wmts.layer.d.ts.map +0 -1
  112. package/dist/cesium-map/layers/wmts.layer.js +0 -35
  113. package/dist/cesium-map/layers/wmts.layer.js.map +0 -1
  114. package/dist/cesium-map/layers/xyz.layer.d.ts +0 -10
  115. package/dist/cesium-map/layers/xyz.layer.d.ts.map +0 -1
  116. package/dist/cesium-map/layers/xyz.layer.js +0 -35
  117. package/dist/cesium-map/layers/xyz.layer.js.map +0 -1
  118. package/dist/cesium-map/layers-manager.d.ts +0 -47
  119. package/dist/cesium-map/layers-manager.d.ts.map +0 -1
  120. package/dist/cesium-map/layers-manager.js +0 -232
  121. package/dist/cesium-map/layers-manager.js.map +0 -1
  122. package/dist/cesium-map/map.css +0 -54
  123. package/dist/cesium-map/map.d.ts +0 -45
  124. package/dist/cesium-map/map.d.ts.map +0 -1
  125. package/dist/cesium-map/map.js +0 -250
  126. package/dist/cesium-map/map.js.map +0 -1
  127. package/dist/cesium-map/map.types.d.ts +0 -9
  128. package/dist/cesium-map/map.types.d.ts.map +0 -1
  129. package/dist/cesium-map/map.types.js +0 -12
  130. package/dist/cesium-map/map.types.js.map +0 -1
  131. package/dist/cesium-map/proxied.types.d.ts +0 -20
  132. package/dist/cesium-map/proxied.types.d.ts.map +0 -1
  133. package/dist/cesium-map/proxied.types.js +0 -87
  134. package/dist/cesium-map/proxied.types.js.map +0 -1
  135. package/dist/cesium-map/settings/base-maps.css +0 -37
  136. package/dist/cesium-map/settings/base-maps.d.ts +0 -8
  137. package/dist/cesium-map/settings/base-maps.d.ts.map +0 -1
  138. package/dist/cesium-map/settings/base-maps.js +0 -68
  139. package/dist/cesium-map/settings/base-maps.js.map +0 -1
  140. package/dist/cesium-map/settings/scene-modes.css +0 -19
  141. package/dist/cesium-map/settings/scene-modes.d.ts +0 -8
  142. package/dist/cesium-map/settings/scene-modes.d.ts.map +0 -1
  143. package/dist/cesium-map/settings/scene-modes.js +0 -52
  144. package/dist/cesium-map/settings/scene-modes.js.map +0 -1
  145. package/dist/cesium-map/settings/settings.css +0 -49
  146. package/dist/cesium-map/settings/settings.d.ts +0 -24
  147. package/dist/cesium-map/settings/settings.d.ts.map +0 -1
  148. package/dist/cesium-map/settings/settings.js +0 -66
  149. package/dist/cesium-map/settings/settings.js.map +0 -1
  150. package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.d.ts +0 -3
  151. package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.d.ts.map +0 -1
  152. package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.js +0 -25
  153. package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.js.map +0 -1
  154. package/dist/cesium-map/tools/coordinates-tracker.tool.css +0 -11
  155. package/dist/cesium-map/tools/coordinates-tracker.tool.d.ts +0 -8
  156. package/dist/cesium-map/tools/coordinates-tracker.tool.d.ts.map +0 -1
  157. package/dist/cesium-map/tools/coordinates-tracker.tool.js +0 -65
  158. package/dist/cesium-map/tools/coordinates-tracker.tool.js.map +0 -1
  159. package/dist/cesium-map/tools/draw/drawHelper.css +0 -101
  160. package/dist/cesium-map/tools/draw/drawHelper.d.ts +0 -29
  161. package/dist/cesium-map/tools/draw/drawHelper.d.ts.map +0 -1
  162. package/dist/cesium-map/tools/draw/drawHelper.js +0 -1681
  163. package/dist/cesium-map/tools/draw/drawHelper.js.map +0 -1
  164. package/dist/cesium-map/tools/geojson/geojson-to-primitive.d.ts +0 -5
  165. package/dist/cesium-map/tools/geojson/geojson-to-primitive.d.ts.map +0 -1
  166. package/dist/cesium-map/tools/geojson/geojson-to-primitive.js +0 -40
  167. package/dist/cesium-map/tools/geojson/geojson-to-primitive.js.map +0 -1
  168. package/dist/cesium-map/tools/geojson/index.d.ts +0 -3
  169. package/dist/cesium-map/tools/geojson/index.d.ts.map +0 -1
  170. package/dist/cesium-map/tools/geojson/index.js +0 -8
  171. package/dist/cesium-map/tools/geojson/index.js.map +0 -1
  172. package/dist/cesium-map/tools/geojson/point.geojson.d.ts +0 -4
  173. package/dist/cesium-map/tools/geojson/point.geojson.d.ts.map +0 -1
  174. package/dist/cesium-map/tools/geojson/point.geojson.js +0 -20
  175. package/dist/cesium-map/tools/geojson/point.geojson.js.map +0 -1
  176. package/dist/cesium-map/tools/geojson/polygon.geojson.d.ts +0 -4
  177. package/dist/cesium-map/tools/geojson/polygon.geojson.d.ts.map +0 -1
  178. package/dist/cesium-map/tools/geojson/polygon.geojson.js +0 -23
  179. package/dist/cesium-map/tools/geojson/polygon.geojson.js.map +0 -1
  180. package/dist/cesium-map/tools/geojson/rectangle.geojson.d.ts +0 -4
  181. package/dist/cesium-map/tools/geojson/rectangle.geojson.d.ts.map +0 -1
  182. package/dist/cesium-map/tools/geojson/rectangle.geojson.js +0 -31
  183. package/dist/cesium-map/tools/geojson/rectangle.geojson.js.map +0 -1
  184. package/dist/cesium-map/tools/scale-tracker.tool.css +0 -16
  185. package/dist/cesium-map/tools/scale-tracker.tool.d.ts +0 -9
  186. package/dist/cesium-map/tools/scale-tracker.tool.d.ts.map +0 -1
  187. package/dist/cesium-map/tools/scale-tracker.tool.js +0 -145
  188. package/dist/cesium-map/tools/scale-tracker.tool.js.map +0 -1
  189. package/dist/cssbaseline/cssbaseline.d.ts +0 -6
  190. package/dist/cssbaseline/cssbaseline.d.ts.map +0 -1
  191. package/dist/cssbaseline/cssbaseline.js +0 -39
  192. package/dist/cssbaseline/cssbaseline.js.map +0 -1
  193. package/dist/cssbaseline/index.d.ts +0 -2
  194. package/dist/cssbaseline/index.d.ts.map +0 -1
  195. package/dist/cssbaseline/index.js +0 -6
  196. package/dist/cssbaseline/index.js.map +0 -1
  197. package/dist/date-picker/date-picker.css +0 -9
  198. package/dist/date-picker/date-picker.d.ts +0 -15
  199. package/dist/date-picker/date-picker.d.ts.map +0 -1
  200. package/dist/date-picker/date-picker.js +0 -65
  201. package/dist/date-picker/date-picker.js.map +0 -1
  202. package/dist/date-picker/index.d.ts +0 -2
  203. package/dist/date-picker/index.d.ts.map +0 -1
  204. package/dist/date-picker/index.js +0 -7
  205. package/dist/date-picker/index.js.map +0 -1
  206. package/dist/date-range-picker/date-range-picker.css +0 -9
  207. package/dist/date-range-picker/date-range-picker.d.ts +0 -27
  208. package/dist/date-range-picker/date-range-picker.d.ts.map +0 -1
  209. package/dist/date-range-picker/date-range-picker.form-control.css +0 -3
  210. package/dist/date-range-picker/date-range-picker.form-control.d.ts +0 -29
  211. package/dist/date-range-picker/date-range-picker.form-control.d.ts.map +0 -1
  212. package/dist/date-range-picker/date-range-picker.form-control.js +0 -82
  213. package/dist/date-range-picker/date-range-picker.form-control.js.map +0 -1
  214. package/dist/date-range-picker/date-range-picker.js +0 -91
  215. package/dist/date-range-picker/date-range-picker.js.map +0 -1
  216. package/dist/date-range-picker/index.d.ts +0 -3
  217. package/dist/date-range-picker/index.d.ts.map +0 -1
  218. package/dist/date-range-picker/index.js +0 -8
  219. package/dist/date-range-picker/index.js.map +0 -1
  220. package/dist/index.d.ts +0 -13
  221. package/dist/index.d.ts.map +0 -1
  222. package/dist/index.js.map +0 -1
  223. package/dist/map-filter-container/container-map.css +0 -5
  224. package/dist/map-filter-container/container-map.d.ts +0 -12
  225. package/dist/map-filter-container/container-map.d.ts.map +0 -1
  226. package/dist/map-filter-container/container-map.js +0 -30
  227. package/dist/map-filter-container/container-map.js.map +0 -1
  228. package/dist/map-filter-container/index.d.ts +0 -2
  229. package/dist/map-filter-container/index.d.ts.map +0 -1
  230. package/dist/map-filter-container/index.js +0 -7
  231. package/dist/map-filter-container/index.js.map +0 -1
  232. package/dist/map-filter-container/map-filter-container.d.ts +0 -10
  233. package/dist/map-filter-container/map-filter-container.d.ts.map +0 -1
  234. package/dist/map-filter-container/map-filter-container.js +0 -65
  235. package/dist/map-filter-container/map-filter-container.js.map +0 -1
  236. package/dist/map-filter-container/polygon-selection-ui.d.ts +0 -13
  237. package/dist/map-filter-container/polygon-selection-ui.d.ts.map +0 -1
  238. package/dist/map-filter-container/polygon-selection-ui.js +0 -61
  239. package/dist/map-filter-container/polygon-selection-ui.js.map +0 -1
  240. package/dist/models/defaults.d.ts +0 -29
  241. package/dist/models/defaults.d.ts.map +0 -1
  242. package/dist/models/defaults.js +0 -33
  243. package/dist/models/defaults.js.map +0 -1
  244. package/dist/models/enums.d.ts +0 -14
  245. package/dist/models/enums.d.ts.map +0 -1
  246. package/dist/models/enums.js +0 -19
  247. package/dist/models/enums.js.map +0 -1
  248. package/dist/models/index.d.ts +0 -2
  249. package/dist/models/index.d.ts.map +0 -1
  250. package/dist/models/index.js +0 -7
  251. package/dist/models/index.js.map +0 -1
  252. package/dist/ol-map/feature.d.ts +0 -7
  253. package/dist/ol-map/feature.d.ts.map +0 -1
  254. package/dist/ol-map/feature.js +0 -19
  255. package/dist/ol-map/feature.js.map +0 -1
  256. package/dist/ol-map/index.d.ts +0 -7
  257. package/dist/ol-map/index.d.ts.map +0 -1
  258. package/dist/ol-map/index.js +0 -12
  259. package/dist/ol-map/index.js.map +0 -1
  260. package/dist/ol-map/interactions/draw.d.ts +0 -9
  261. package/dist/ol-map/interactions/draw.d.ts.map +0 -1
  262. package/dist/ol-map/interactions/draw.js +0 -44
  263. package/dist/ol-map/interactions/draw.js.map +0 -1
  264. package/dist/ol-map/interactions/index.d.ts +0 -2
  265. package/dist/ol-map/interactions/index.d.ts.map +0 -1
  266. package/dist/ol-map/interactions/index.js +0 -7
  267. package/dist/ol-map/interactions/index.js.map +0 -1
  268. package/dist/ol-map/layers/index.d.ts +0 -4
  269. package/dist/ol-map/layers/index.d.ts.map +0 -1
  270. package/dist/ol-map/layers/index.js +0 -9
  271. package/dist/ol-map/layers/index.js.map +0 -1
  272. package/dist/ol-map/layers/tile-layer.d.ts +0 -10
  273. package/dist/ol-map/layers/tile-layer.d.ts.map +0 -1
  274. package/dist/ol-map/layers/tile-layer.js +0 -34
  275. package/dist/ol-map/layers/tile-layer.js.map +0 -1
  276. package/dist/ol-map/layers/vector-layer.d.ts +0 -5
  277. package/dist/ol-map/layers/vector-layer.d.ts.map +0 -1
  278. package/dist/ol-map/layers/vector-layer.js +0 -34
  279. package/dist/ol-map/layers/vector-layer.js.map +0 -1
  280. package/dist/ol-map/layers/vector-tile-layer.d.ts +0 -11
  281. package/dist/ol-map/layers/vector-tile-layer.d.ts.map +0 -1
  282. package/dist/ol-map/layers/vector-tile-layer.js +0 -52
  283. package/dist/ol-map/layers/vector-tile-layer.js.map +0 -1
  284. package/dist/ol-map/map.css +0 -17
  285. package/dist/ol-map/map.d.ts +0 -15
  286. package/dist/ol-map/map.d.ts.map +0 -1
  287. package/dist/ol-map/map.js +0 -103
  288. package/dist/ol-map/map.js.map +0 -1
  289. package/dist/ol-map/source/index.d.ts +0 -7
  290. package/dist/ol-map/source/index.d.ts.map +0 -1
  291. package/dist/ol-map/source/index.js +0 -12
  292. package/dist/ol-map/source/index.js.map +0 -1
  293. package/dist/ol-map/source/mvt.d.ts +0 -12
  294. package/dist/ol-map/source/mvt.d.ts.map +0 -1
  295. package/dist/ol-map/source/mvt.js +0 -34
  296. package/dist/ol-map/source/mvt.js.map +0 -1
  297. package/dist/ol-map/source/osm.d.ts +0 -3
  298. package/dist/ol-map/source/osm.d.ts.map +0 -1
  299. package/dist/ol-map/source/osm.js +0 -13
  300. package/dist/ol-map/source/osm.js.map +0 -1
  301. package/dist/ol-map/source/vector-source.d.ts +0 -5
  302. package/dist/ol-map/source/vector-source.d.ts.map +0 -1
  303. package/dist/ol-map/source/vector-source.js +0 -31
  304. package/dist/ol-map/source/vector-source.js.map +0 -1
  305. package/dist/ol-map/source/wms.d.ts +0 -18
  306. package/dist/ol-map/source/wms.d.ts.map +0 -1
  307. package/dist/ol-map/source/wms.js +0 -28
  308. package/dist/ol-map/source/wms.js.map +0 -1
  309. package/dist/ol-map/source/wmts.d.ts +0 -22
  310. package/dist/ol-map/source/wmts.d.ts.map +0 -1
  311. package/dist/ol-map/source/wmts.js +0 -57
  312. package/dist/ol-map/source/wmts.js.map +0 -1
  313. package/dist/ol-map/source/xyz.d.ts +0 -13
  314. package/dist/ol-map/source/xyz.d.ts.map +0 -1
  315. package/dist/ol-map/source/xyz.js +0 -25
  316. package/dist/ol-map/source/xyz.js.map +0 -1
  317. package/dist/ol-map/style.d.ts +0 -5
  318. package/dist/ol-map/style.d.ts.map +0 -1
  319. package/dist/ol-map/style.js +0 -22
  320. package/dist/ol-map/style.js.map +0 -1
  321. package/dist/popover/index.d.ts +0 -2
  322. package/dist/popover/index.d.ts.map +0 -1
  323. package/dist/popover/index.js +0 -5
  324. package/dist/popover/index.js.map +0 -1
  325. package/dist/popover/popover.d.ts +0 -4
  326. package/dist/popover/popover.d.ts.map +0 -1
  327. package/dist/popover/popover.js +0 -34
  328. package/dist/popover/popover.js.map +0 -1
  329. package/dist/smart-table/__mock-data__/smartTableMocks.d.ts +0 -8
  330. package/dist/smart-table/__mock-data__/smartTableMocks.d.ts.map +0 -1
  331. package/dist/smart-table/__mock-data__/smartTableMocks.js +0 -17
  332. package/dist/smart-table/__mock-data__/smartTableMocks.js.map +0 -1
  333. package/dist/smart-table/index.d.ts +0 -3
  334. package/dist/smart-table/index.d.ts.map +0 -1
  335. package/dist/smart-table/index.js +0 -8
  336. package/dist/smart-table/index.js.map +0 -1
  337. package/dist/smart-table/smart-table-head.d.ts +0 -12
  338. package/dist/smart-table/smart-table-head.d.ts.map +0 -1
  339. package/dist/smart-table/smart-table-head.js +0 -22
  340. package/dist/smart-table/smart-table-head.js.map +0 -1
  341. package/dist/smart-table/smart-table-row.d.ts +0 -14
  342. package/dist/smart-table/smart-table-row.d.ts.map +0 -1
  343. package/dist/smart-table/smart-table-row.js +0 -36
  344. package/dist/smart-table/smart-table-row.js.map +0 -1
  345. package/dist/smart-table/smart-table-types.d.ts +0 -11
  346. package/dist/smart-table/smart-table-types.d.ts.map +0 -1
  347. package/dist/smart-table/smart-table-types.js +0 -3
  348. package/dist/smart-table/smart-table-types.js.map +0 -1
  349. package/dist/smart-table/smart-table.d.ts +0 -18
  350. package/dist/smart-table/smart-table.d.ts.map +0 -1
  351. package/dist/smart-table/smart-table.js +0 -39
  352. package/dist/smart-table/smart-table.js.map +0 -1
  353. package/dist/theme/index.d.ts +0 -2
  354. package/dist/theme/index.d.ts.map +0 -1
  355. package/dist/theme/index.js +0 -7
  356. package/dist/theme/index.js.map +0 -1
  357. package/dist/theme/theme.d.ts +0 -9
  358. package/dist/theme/theme.d.ts.map +0 -1
  359. package/dist/theme/theme.js +0 -124
  360. package/dist/theme/theme.js.map +0 -1
  361. package/dist/utils/map.d.ts +0 -4
  362. package/dist/utils/map.d.ts.map +0 -1
  363. package/dist/utils/map.js +0 -18
  364. package/dist/utils/map.js.map +0 -1
  365. package/dist/utils/projections.d.ts +0 -7
  366. package/dist/utils/projections.d.ts.map +0 -1
  367. package/dist/utils/projections.js +0 -10
  368. package/dist/utils/projections.js.map +0 -1
  369. package/dist/utils/story.d.ts +0 -13
  370. package/dist/utils/story.d.ts.map +0 -1
  371. package/dist/utils/story.js +0 -3
  372. package/dist/utils/story.js.map +0 -1
@@ -1,174 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- extendStatics(d, b);
11
- function __() { this.constructor = d; }
12
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
- };
14
- })();
15
- var __assign = (this && this.__assign) || function () {
16
- __assign = Object.assign || function(t) {
17
- for (var s, i = 1, n = arguments.length; i < n; i++) {
18
- s = arguments[i];
19
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
20
- t[p] = s[p];
21
- }
22
- return t;
23
- };
24
- return __assign.apply(this, arguments);
25
- };
26
- var __spreadArrays = (this && this.__spreadArrays) || function () {
27
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
28
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
29
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
30
- r[k] = a[j];
31
- return r;
32
- };
33
- var __importStar = (this && this.__importStar) || function (mod) {
34
- if (mod && mod.__esModule) return mod;
35
- var result = {};
36
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
37
- result["default"] = mod;
38
- return result;
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- var react_1 = __importStar(require("react"));
42
- var cesium_1 = require("cesium");
43
- var models_1 = require("../../models");
44
- var entity_1 = require("../entities/entity");
45
- var entity_description_1 = require("../entities/entity.description");
46
- var polygon_graphics_1 = require("../entities/graphics/polygon.graphics");
47
- var rectangle_graphics_1 = require("../entities/graphics/rectangle.graphics");
48
- var polyline_graphics_1 = require("../entities/graphics/polyline.graphics");
49
- var map_1 = require("../map");
50
- var drawHelper_1 = require("../tools/draw/drawHelper");
51
- var geojson_to_primitive_1 = require("../tools/geojson/geojson-to-primitive");
52
- var geojson_1 = require("../tools/geojson");
53
- var primitives_conversions_cesium_1 = require("../tools/cesium/primitives-conversions.cesium");
54
- var custom_data_source_1 = require("./custom.data-source");
55
- var CesiumColor = /** @class */ (function (_super) {
56
- __extends(CesiumColor, _super);
57
- function CesiumColor() {
58
- return _super !== null && _super.apply(this, arguments) || this;
59
- }
60
- return CesiumColor;
61
- }(cesium_1.Color));
62
- exports.CesiumColor = CesiumColor;
63
- exports.CesiumDrawingsDataSource = function (props) {
64
- var drawState = props.drawState, drawingMaterial = props.drawingMaterial, drawingVertexColor = props.drawingVertexColor, material = props.material, hollow = props.hollow, outlineWidth = props.outlineWidth;
65
- var mapViewer = map_1.useCesiumMap();
66
- var _a = react_1.useState(), drawHelper = _a[0], setDrawHelper = _a[1];
67
- react_1.useEffect(function () {
68
- setDrawHelper(
69
- // eslint-disable-next-line
70
- new drawHelper_1.DrawHelper(mapViewer, drawingMaterial, drawingVertexColor));
71
- }, []);
72
- react_1.useEffect(function () {
73
- if (drawHelper) {
74
- // eslint-disable-next-line
75
- var drawHelperInstance = drawHelper;
76
- if (drawState.drawing) {
77
- switch (drawState.type) {
78
- case models_1.DrawType.POLYGON:
79
- // eslint-disable-next-line
80
- drawHelperInstance.startDrawingPolygon({
81
- callback: function (positions) {
82
- //// MAKE polygon editable example
83
- // var polygon = new DrawHelper.PolygonPrimitive({
84
- // positions: positions,
85
- // width: 5,
86
- // geodesic: true
87
- // });
88
- // mapViewer.scene.primitives.add(polygon);
89
- // polygon.setStrokeStyle(Color.AQUA,1);
90
- // polygon.setEditable();
91
- // polygon.addListener('onEdited', function(event) {
92
- // console.log('Polygone edited, ' + event.positions.length + ' points');
93
- // });
94
- drawState.handler({
95
- primitive: positions,
96
- type: models_1.DrawType.POLYGON,
97
- geojson: geojson_1.polygonToGeoJSON(positions),
98
- });
99
- },
100
- });
101
- break;
102
- case models_1.DrawType.BOX:
103
- // eslint-disable-next-line
104
- drawHelperInstance.startDrawingExtent({
105
- callback: function (positions) {
106
- //// MAKE box editable example
107
- // var extentPrimitive = new DrawHelper.ExtentPrimitive({
108
- // extent: positions,
109
- // material: Cesium.Material.fromType(Cesium.Material.StripeType)
110
- // });
111
- // mapViewer.scene.primitives.add(extentPrimitive);
112
- // extentPrimitive.setStrokeStyle(Color.AQUA,1);
113
- // extentPrimitive.setEditable();
114
- // extentPrimitive.addListener('onEdited', function(event) {
115
- // console.log('Extent edited: extent is (N: ' + event.extent.north.toFixed(3) + ', E: ' + event.extent.east.toFixed(3) + ', S: ' + event.extent.south.toFixed(3) + ', W: ' + event.extent.west.toFixed(3) + ')');
116
- // });
117
- drawState.handler({
118
- primitive: positions,
119
- type: models_1.DrawType.BOX,
120
- geojson: geojson_1.rectangleToGeoJSON(positions),
121
- });
122
- },
123
- });
124
- break;
125
- default:
126
- throw new Error("[CESIUM DRAW]: " + drawState.type + " unrecognized primitive to draw.");
127
- break;
128
- }
129
- }
130
- else {
131
- // eslint-disable-next-line
132
- drawHelperInstance.stopDrawing();
133
- }
134
- }
135
- }, [drawState, drawHelper]);
136
- var renderGraphicsComponent = function (drawEntity) {
137
- var coordinates = drawEntity.coordinates !== undefined
138
- ? drawEntity.coordinates
139
- : geojson_to_primitive_1.geoJSONToPrimitive(drawEntity.type, drawEntity.geojson);
140
- if (hollow !== true) {
141
- switch (drawEntity.type) {
142
- case models_1.DrawType.BOX:
143
- return (react_1.default.createElement(rectangle_graphics_1.CesiumRectangleGraphics, { coordinates: coordinates, material: (material !== null && material !== void 0 ? material : drawingMaterial) }));
144
- case models_1.DrawType.POLYGON:
145
- return (react_1.default.createElement(polygon_graphics_1.CesiumPolygonGraphics, { hierarchy: new cesium_1.PolygonHierarchy(coordinates), material: (material !== null && material !== void 0 ? material : drawingMaterial) }));
146
- default:
147
- return react_1.default.createElement(react_1.default.Fragment, null);
148
- }
149
- }
150
- else {
151
- switch (drawEntity.type) {
152
- case models_1.DrawType.BOX:
153
- coordinates = primitives_conversions_cesium_1.rectangleToPositions(coordinates);
154
- break;
155
- case models_1.DrawType.POLYGON:
156
- coordinates = __spreadArrays(coordinates, [
157
- coordinates[0],
158
- ]);
159
- break;
160
- default:
161
- return react_1.default.createElement(react_1.default.Fragment, null);
162
- }
163
- return (react_1.default.createElement(polyline_graphics_1.CesiumPolylineGraphics, { positions: coordinates, width: (outlineWidth !== null && outlineWidth !== void 0 ? outlineWidth : 1), material: (material !== null && material !== void 0 ? material : drawingMaterial) }));
164
- }
165
- };
166
- return (react_1.default.createElement(custom_data_source_1.CesiumCustomDataSource, __assign({}, props), props.drawings.map(function (drawEntity, i) { return (react_1.default.createElement(entity_1.CesiumEntity, { key: drawEntity.id, name: drawEntity.name },
167
- react_1.default.createElement(entity_description_1.CesiumEntityStaticDescription, null,
168
- react_1.default.createElement("h1", null,
169
- "Drawed Entity ",
170
- drawEntity.name),
171
- react_1.default.createElement("p", null, "This is description of drawed entity")),
172
- renderGraphicsComponent(drawEntity))); })));
173
- };
174
- //# sourceMappingURL=drawings.data-source.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"drawings.data-source.js","sourceRoot":"","sources":["../../../src/lib/cesium-map/data-sources/drawings.data-source.tsx"],"names":[],"mappings":"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"}
@@ -1,3 +0,0 @@
1
- export * from './custom.data-source';
2
- export * from './drawings.data-source';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/cesium-map/data-sources/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- __export(require("./custom.data-source"));
7
- __export(require("./drawings.data-source"));
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/cesium-map/data-sources/index.ts"],"names":[],"mappings":";;;;;AAAA,0CAAqC;AACrC,4CAAuC"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { EntityProps } from 'resium/dist/types/src/Entity/Entity';
3
- export interface RCesiumEntityProps extends EntityProps {
4
- }
5
- export declare const CesiumEntity: React.FC<RCesiumEntityProps>;
6
- //# sourceMappingURL=entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../../src/lib/cesium-map/entities/entity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAElE,MAAM,WAAW,kBAAmB,SAAQ,WAAW;CAAG;AAE1D,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAErD,CAAC"}
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { EntityDescriptionProps } from 'resium/dist/types/src/EntityDescription/EntityDescription';
3
- export interface RCesiumEntityDescriptionProps extends EntityDescriptionProps {
4
- }
5
- export declare const CesiumEntityDescription: React.FC<RCesiumEntityDescriptionProps>;
6
- export declare const CesiumEntityStaticDescription: React.FC;
7
- //# sourceMappingURL=entity.description.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity.description.d.ts","sourceRoot":"","sources":["../../../src/lib/cesium-map/entities/entity.description.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,2DAA2D,CAAC;AAEnG,MAAM,WAAW,6BAA8B,SAAQ,sBAAsB;CAAG;AAEhF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAI3E,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAEjD,CAAC"}
@@ -1,25 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var react_1 = __importDefault(require("react"));
18
- var resium_1 = require("resium");
19
- exports.CesiumEntityDescription = function (props) {
20
- return react_1.default.createElement(resium_1.EntityDescription, __assign({}, props));
21
- };
22
- exports.CesiumEntityStaticDescription = function (props) {
23
- return react_1.default.createElement(resium_1.EntityStaticDescription, __assign({}, props));
24
- };
25
- //# sourceMappingURL=entity.description.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity.description.js","sourceRoot":"","sources":["../../../src/lib/cesium-map/entities/entity.description.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA0B;AAE1B,iCAGgB;AAKH,QAAA,uBAAuB,GAA4C,UAC9E,KAAK;IAEL,OAAO,8BAAC,0BAAuB,eAAK,KAAK,EAAI,CAAC;AAChD,CAAC,CAAC;AAEW,QAAA,6BAA6B,GAAa,UAAC,KAAK;IAC3D,OAAO,8BAAC,gCAA6B,eAAK,KAAK,EAAI,CAAC;AACtD,CAAC,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var react_1 = __importDefault(require("react"));
18
- var resium_1 = require("resium");
19
- exports.CesiumEntity = function (props) {
20
- return react_1.default.createElement(resium_1.Entity, __assign({}, props));
21
- };
22
- //# sourceMappingURL=entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../src/lib/cesium-map/entities/entity.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA0B;AAE1B,iCAAgD;AAKnC,QAAA,YAAY,GAAiC,UAAC,KAAK;IAC9D,OAAO,8BAAC,eAAY,eAAK,KAAK,EAAI,CAAC;AACrC,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { PolygonGraphicsProps } from 'resium/dist/types/src/PolygonGraphics/PolygonGraphics';
3
- export interface RCesiumPolygonGraphicsProps extends PolygonGraphicsProps {
4
- }
5
- export declare const CesiumPolygonGraphics: React.FC<RCesiumPolygonGraphicsProps>;
6
- //# sourceMappingURL=polygon.graphics.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"polygon.graphics.d.ts","sourceRoot":"","sources":["../../../../src/lib/cesium-map/entities/graphics/polygon.graphics.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;AAE7F,MAAM,WAAW,2BAA4B,SAAQ,oBAAoB;CAAG;AAE5E,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAIvE,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var react_1 = __importDefault(require("react"));
18
- var resium_1 = require("resium");
19
- exports.CesiumPolygonGraphics = function (props) {
20
- return react_1.default.createElement(resium_1.PolygonGraphics, __assign({}, props));
21
- };
22
- //# sourceMappingURL=polygon.graphics.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"polygon.graphics.js","sourceRoot":"","sources":["../../../../src/lib/cesium-map/entities/graphics/polygon.graphics.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA0B;AAE1B,iCAAkE;AAKrD,QAAA,qBAAqB,GAA0C,UAC1E,KAAK;IAEL,OAAO,8BAAC,wBAAqB,eAAK,KAAK,EAAI,CAAC;AAC9C,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { PolylineGraphicsProps } from 'resium/dist/types/src/PolylineGraphics/PolylineGraphics';
3
- export interface RCesiumPolylineGraphicsProps extends PolylineGraphicsProps {
4
- }
5
- export declare const CesiumPolylineGraphics: React.FC<RCesiumPolylineGraphicsProps>;
6
- //# sourceMappingURL=polyline.graphics.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"polyline.graphics.d.ts","sourceRoot":"","sources":["../../../../src/lib/cesium-map/entities/graphics/polyline.graphics.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAEhG,MAAM,WAAW,4BAA6B,SAAQ,qBAAqB;CAAG;AAE9E,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAIzE,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var react_1 = __importDefault(require("react"));
18
- var resium_1 = require("resium");
19
- exports.CesiumPolylineGraphics = function (props) {
20
- return react_1.default.createElement(resium_1.PolylineGraphics, __assign({}, props));
21
- };
22
- //# sourceMappingURL=polyline.graphics.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"polyline.graphics.js","sourceRoot":"","sources":["../../../../src/lib/cesium-map/entities/graphics/polyline.graphics.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA0B;AAE1B,iCAAoE;AAKvD,QAAA,sBAAsB,GAA2C,UAC5E,KAAK;IAEL,OAAO,8BAAC,yBAAsB,eAAK,KAAK,EAAI,CAAC;AAC/C,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { RectangleGraphicsProps } from 'resium/dist/types/src/RectangleGraphics/RectangleGraphics';
3
- export interface RCesiumRectangleGraphicsProps extends RectangleGraphicsProps {
4
- }
5
- export declare const CesiumRectangleGraphics: React.FC<RCesiumRectangleGraphicsProps>;
6
- //# sourceMappingURL=rectangle.graphics.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rectangle.graphics.d.ts","sourceRoot":"","sources":["../../../../src/lib/cesium-map/entities/graphics/rectangle.graphics.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,2DAA2D,CAAC;AAEnG,MAAM,WAAW,6BAA8B,SAAQ,sBAAsB;CAAG;AAEhF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAI3E,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var react_1 = __importDefault(require("react"));
18
- var resium_1 = require("resium");
19
- exports.CesiumRectangleGraphics = function (props) {
20
- return react_1.default.createElement(resium_1.RectangleGraphics, __assign({}, props));
21
- };
22
- //# sourceMappingURL=rectangle.graphics.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rectangle.graphics.js","sourceRoot":"","sources":["../../../../src/lib/cesium-map/entities/graphics/rectangle.graphics.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA0B;AAE1B,iCAAsE;AAKzD,QAAA,uBAAuB,GAA4C,UAC9E,KAAK;IAEL,OAAO,8BAAC,0BAAuB,eAAK,KAAK,EAAI,CAAC;AAChD,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- export * from './entity';
2
- export * from './entity.description';
3
- export * from './graphics/polygon.graphics';
4
- export * from './graphics/rectangle.graphics';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/cesium-map/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- __export(require("./entity"));
7
- __export(require("./entity.description"));
8
- __export(require("./graphics/polygon.graphics"));
9
- __export(require("./graphics/rectangle.graphics"));
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/cesium-map/entities/index.ts"],"names":[],"mappings":";;;;;AAAA,8BAAyB;AACzB,0CAAqC;AACrC,iDAA4C;AAC5C,mDAA8C"}
@@ -1,8 +0,0 @@
1
- export * from './map';
2
- export * from './map.types';
3
- export * from './layers';
4
- export * from '../utils/projections';
5
- export * from './entities';
6
- export * from './data-sources';
7
- export * from './proxied.types';
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/cesium-map/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- __export(require("./map"));
7
- __export(require("./map.types"));
8
- __export(require("./layers"));
9
- __export(require("../utils/projections"));
10
- __export(require("./entities"));
11
- __export(require("./data-sources"));
12
- __export(require("./proxied.types"));
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/cesium-map/index.ts"],"names":[],"mappings":";;;;;AAAA,2BAAsB;AACtB,iCAA4B;AAC5B,8BAAyB;AACzB,0CAAqC;AACrC,gCAA2B;AAC3B,oCAA+B;AAC/B,qCAAgC"}
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { Cesium3DTilesetProps } from 'resium/dist/types/src/Cesium3DTileset/Cesium3DTileset';
3
- export interface RCesium3DTilesetProps extends Cesium3DTilesetProps {
4
- isZoomTo?: boolean;
5
- heightFromGround?: number;
6
- }
7
- export declare const Cesium3DTileset: React.FC<RCesium3DTilesetProps>;
8
- //# sourceMappingURL=3d.tileset.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"3d.tileset.d.ts","sourceRoot":"","sources":["../../../src/lib/cesium-map/layers/3d.tileset.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;AAG7F,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IACjE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAkC3D,CAAC"}
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var cesium_1 = require("cesium");
18
- var react_1 = __importDefault(require("react"));
19
- var resium_1 = require("resium");
20
- var map_1 = require("../map");
21
- exports.Cesium3DTileset = function (props) {
22
- var mapViewer = map_1.useCesiumMap();
23
- return (react_1.default.createElement(resium_1.Cesium3DTileset, __assign({}, props, { onReady: function (tileset) {
24
- var _a, _b;
25
- (_b = (_a = props).onReady) === null || _b === void 0 ? void 0 : _b.call(_a, tileset);
26
- if (props.isZoomTo) {
27
- void mapViewer.zoomTo(tileset);
28
- }
29
- if (props.heightFromGround) {
30
- var cartographic = cesium_1.Cartographic.fromCartesian(tileset.boundingSphere.center);
31
- var surface = cesium_1.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, 0.0);
32
- var offset = cesium_1.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, props.heightFromGround);
33
- var translation = cesium_1.Cartesian3.subtract(offset, surface, new cesium_1.Cartesian3());
34
- tileset.modelMatrix = cesium_1.Matrix4.fromTranslation(translation);
35
- }
36
- } })));
37
- };
38
- //# sourceMappingURL=3d.tileset.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"3d.tileset.js","sourceRoot":"","sources":["../../../src/lib/cesium-map/layers/3d.tileset.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iCAA2D;AAC3D,gDAA0B;AAE1B,iCAA4D;AAE5D,8BAAoD;AAOvC,QAAA,eAAe,GAAoC,UAAC,KAAK;IACpE,IAAM,SAAS,GAAiB,kBAAY,EAAE,CAAC;IAC/C,OAAO,CACL,8BAAC,wBAAe,eACV,KAAK,IACT,OAAO,EAAE,UAAC,OAAO;;YACf,MAAA,MAAA,KAAK,EAAC,OAAO,mDAAG,OAAO,EAAE;YACzB,IAAI,KAAK,CAAC,QAAQ,EAAE;gBAClB,KAAK,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;aAChC;YACD,IAAI,KAAK,CAAC,gBAAgB,EAAE;gBAC1B,IAAM,YAAY,GAAG,qBAAY,CAAC,aAAa,CAC7C,OAAO,CAAC,cAAc,CAAC,MAAM,CAC9B,CAAC;gBACF,IAAM,OAAO,GAAG,mBAAU,CAAC,WAAW,CACpC,YAAY,CAAC,SAAS,EACtB,YAAY,CAAC,QAAQ,EACrB,GAAG,CACJ,CAAC;gBACF,IAAM,MAAM,GAAG,mBAAU,CAAC,WAAW,CACnC,YAAY,CAAC,SAAS,EACtB,YAAY,CAAC,QAAQ,EACrB,KAAK,CAAC,gBAAgB,CACvB,CAAC;gBACF,IAAM,WAAW,GAAG,mBAAU,CAAC,QAAQ,CACrC,MAAM,EACN,OAAO,EACP,IAAI,mBAAU,EAAE,CACjB,CAAC;gBACF,OAAO,CAAC,WAAW,GAAG,gBAAO,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;aAC5D;QACH,CAAC,IACD,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { GeoJsonDataSourceProps } from 'resium/dist/types/src/GeoJsonDataSource/GeoJsonDataSource';
3
- export interface RCesiumGeojsonLayerProps extends GeoJsonDataSourceProps {
4
- }
5
- export declare const CesiumGeojsonLayer: React.FC<RCesiumGeojsonLayerProps>;
6
- //# sourceMappingURL=geojson.layer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"geojson.layer.d.ts","sourceRoot":"","sources":["../../../src/lib/cesium-map/layers/geojson.layer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,2DAA2D,CAAC;AAEnG,MAAM,WAAW,wBAAyB,SAAQ,sBAAsB;CAAG;AAE3E,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAIjE,CAAC"}
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var react_1 = __importDefault(require("react"));
18
- var resium_1 = require("resium");
19
- exports.CesiumGeojsonLayer = function (props) {
20
- return react_1.default.createElement(resium_1.GeoJsonDataSource, __assign({}, props));
21
- };
22
- //# sourceMappingURL=geojson.layer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"geojson.layer.js","sourceRoot":"","sources":["../../../src/lib/cesium-map/layers/geojson.layer.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA0B;AAE1B,iCAAsE;AAKzD,QAAA,kBAAkB,GAAuC,UACpE,KAAK;IAEL,OAAO,8BAAC,0BAAuB,eAAK,KAAK,EAAI,CAAC;AAChD,CAAC,CAAC"}
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { ImageryLayerProps } from 'resium/dist/types/src/ImageryLayer/ImageryLayer';
3
- export interface RCesiumImageryLayerProps extends ImageryLayerProps {
4
- meta?: any;
5
- }
6
- export declare const CesiumImageryLayer: React.FC<RCesiumImageryLayerProps>;
7
- //# sourceMappingURL=imagery.layer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"imagery.layer.d.ts","sourceRoot":"","sources":["../../../src/lib/cesium-map/layers/imagery.layer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAG/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AAGpF,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IACjE,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAqBjE,CAAC"}
@@ -1,51 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __rest = (this && this.__rest) || function (s, e) {
14
- var t = {};
15
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
- t[p] = s[p];
17
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
- t[p[i]] = s[p[i]];
21
- }
22
- return t;
23
- };
24
- var __importStar = (this && this.__importStar) || function (mod) {
25
- if (mod && mod.__esModule) return mod;
26
- var result = {};
27
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
28
- result["default"] = mod;
29
- return result;
30
- };
31
- Object.defineProperty(exports, "__esModule", { value: true });
32
- var react_1 = __importStar(require("react"));
33
- var resium_1 = require("resium");
34
- var map_1 = require("../map");
35
- exports.CesiumImageryLayer = function (props) {
36
- // eslint-disable-next-line
37
- var meta = props.meta, restProps = __rest(props, ["meta"]);
38
- var mapViewer = map_1.useCesiumMap();
39
- react_1.useLayoutEffect(function () {
40
- var _a;
41
- (_a = mapViewer.layersManager) === null || _a === void 0 ? void 0 : _a.addMetaToLayer(meta, function (layer, idx) {
42
- if (meta !== undefined) {
43
- // eslint-disable-next-line
44
- return layer._imageryProvider._resource._url === meta.url;
45
- }
46
- return false;
47
- });
48
- }, [meta, mapViewer]);
49
- return react_1.default.createElement(resium_1.ImageryLayer, __assign({}, restProps));
50
- };
51
- //# sourceMappingURL=imagery.layer.js.map