@map-colonies/react-components 3.7.4 → 3.10.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 (393) hide show
  1. package/.storybook/main.js +1 -4
  2. package/CHANGELOG.md +36 -0
  3. package/dist/assets/img/map-marker.gif +0 -0
  4. package/dist/autocomplete/autocomplete.d.ts +0 -1
  5. package/dist/autocomplete/autocomplete.js +22 -9
  6. package/dist/autocomplete/index.d.ts +0 -1
  7. package/dist/autocomplete/index.js +2 -2
  8. package/dist/box/box.d.ts +0 -1
  9. package/dist/box/box.js +3 -2
  10. package/dist/box/index.d.ts +0 -1
  11. package/dist/box/index.js +2 -2
  12. package/dist/cesium-map/data-sources/custom.data-source.d.ts +0 -1
  13. package/dist/cesium-map/data-sources/custom.data-source.js +3 -2
  14. package/dist/cesium-map/data-sources/drawings.data-source.d.ts +0 -1
  15. package/dist/cesium-map/data-sources/drawings.data-source.js +29 -16
  16. package/dist/cesium-map/data-sources/index.d.ts +0 -1
  17. package/dist/cesium-map/data-sources/index.js +12 -6
  18. package/dist/cesium-map/entities/entity.d.ts +0 -1
  19. package/dist/cesium-map/entities/entity.description.d.ts +0 -1
  20. package/dist/cesium-map/entities/entity.description.js +5 -3
  21. package/dist/cesium-map/entities/entity.js +3 -2
  22. package/dist/cesium-map/entities/graphics/polygon.graphics.d.ts +0 -1
  23. package/dist/cesium-map/entities/graphics/polygon.graphics.js +3 -2
  24. package/dist/cesium-map/entities/graphics/polyline.graphics.d.ts +0 -1
  25. package/dist/cesium-map/entities/graphics/polyline.graphics.js +3 -2
  26. package/dist/cesium-map/entities/graphics/rectangle.graphics.d.ts +0 -1
  27. package/dist/cesium-map/entities/graphics/rectangle.graphics.js +3 -2
  28. package/dist/cesium-map/entities/index.d.ts +0 -1
  29. package/dist/cesium-map/entities/index.js +14 -8
  30. package/dist/cesium-map/index.d.ts +0 -1
  31. package/dist/cesium-map/index.js +17 -11
  32. package/dist/cesium-map/layers/3d.tileset.d.ts +0 -1
  33. package/dist/cesium-map/layers/3d.tileset.js +5 -4
  34. package/dist/cesium-map/layers/3d.tileset.update.d.ts +1 -0
  35. package/dist/cesium-map/layers/3d.tileset.update.js +5 -0
  36. package/dist/cesium-map/layers/geojson.layer.d.ts +0 -1
  37. package/dist/cesium-map/layers/geojson.layer.js +3 -2
  38. package/dist/cesium-map/layers/imagery.layer.d.ts +0 -1
  39. package/dist/cesium-map/layers/imagery.layer.js +22 -9
  40. package/dist/cesium-map/layers/index.d.ts +0 -1
  41. package/dist/cesium-map/layers/index.js +17 -11
  42. package/dist/cesium-map/layers/osm.layer.d.ts +0 -1
  43. package/dist/cesium-map/layers/osm.layer.js +3 -2
  44. package/dist/cesium-map/layers/wms.layer.d.ts +0 -1
  45. package/dist/cesium-map/layers/wms.layer.js +3 -2
  46. package/dist/cesium-map/layers/wmts.layer.d.ts +0 -1
  47. package/dist/cesium-map/layers/wmts.layer.js +3 -2
  48. package/dist/cesium-map/layers/xyz.layer.d.ts +0 -1
  49. package/dist/cesium-map/layers/xyz.layer.js +3 -2
  50. package/dist/cesium-map/layers-manager.d.ts +2 -2
  51. package/dist/cesium-map/layers-manager.js +3 -7
  52. package/dist/cesium-map/map.d.ts +2 -2
  53. package/dist/cesium-map/map.js +59 -37
  54. package/dist/cesium-map/map.types.d.ts +0 -1
  55. package/dist/cesium-map/map.types.js +1 -1
  56. package/dist/cesium-map/proxied.types.d.ts +0 -1
  57. package/dist/cesium-map/proxied.types.js +4 -2
  58. package/dist/cesium-map/settings/base-maps.d.ts +0 -1
  59. package/dist/cesium-map/settings/base-maps.js +22 -12
  60. package/dist/cesium-map/settings/scene-modes.d.ts +0 -1
  61. package/dist/cesium-map/settings/scene-modes.js +17 -4
  62. package/dist/cesium-map/settings/settings.d.ts +0 -1
  63. package/dist/cesium-map/settings/settings.js +20 -7
  64. package/dist/cesium-map/terrain-providers/custom/dummy-quantized-mesh-tile.d.ts +3 -0
  65. package/dist/cesium-map/terrain-providers/custom/dummy-quantized-mesh-tile.js +245 -0
  66. package/dist/cesium-map/terrain-providers/custom/quantized-mesh-decoder.d.ts +9 -0
  67. package/dist/cesium-map/terrain-providers/custom/quantized-mesh-decoder.js +202 -0
  68. package/dist/cesium-map/terrain-providers/custom/quantized-mesh-terrain-provider.d.ts +50 -0
  69. package/dist/cesium-map/terrain-providers/custom/quantized-mesh-terrain-provider.js +136 -0
  70. package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.d.ts +0 -1
  71. package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.js +17 -4
  72. package/dist/cesium-map/tools/coordinates-tracker.tool.d.ts +0 -1
  73. package/dist/cesium-map/tools/coordinates-tracker.tool.js +17 -4
  74. package/dist/cesium-map/tools/draw/drawHelper.d.ts +0 -1
  75. package/dist/cesium-map/tools/draw/drawHelper.js +16 -3
  76. package/dist/cesium-map/tools/geojson/geojson-to-primitive.d.ts +1 -2
  77. package/dist/cesium-map/tools/geojson/geojson-to-primitive.js +3 -2
  78. package/dist/cesium-map/tools/geojson/index.d.ts +0 -1
  79. package/dist/cesium-map/tools/geojson/index.js +12 -6
  80. package/dist/cesium-map/tools/geojson/point.geojson.d.ts +0 -1
  81. package/dist/cesium-map/tools/geojson/point.geojson.js +3 -2
  82. package/dist/cesium-map/tools/geojson/polygon.geojson.d.ts +0 -1
  83. package/dist/cesium-map/tools/geojson/polygon.geojson.js +3 -2
  84. package/dist/cesium-map/tools/geojson/rectangle.geojson.d.ts +0 -1
  85. package/dist/cesium-map/tools/geojson/rectangle.geojson.js +17 -4
  86. package/dist/cesium-map/tools/inspector.tool.d.ts +4 -0
  87. package/dist/cesium-map/tools/inspector.tool.js +33 -0
  88. package/dist/cesium-map/tools/scale-tracker.tool.d.ts +0 -1
  89. package/dist/cesium-map/tools/scale-tracker.tool.js +19 -6
  90. package/dist/cesium-map/tools/terranian-height.tool.d.ts +4 -0
  91. package/dist/cesium-map/tools/terranian-height.tool.js +113 -0
  92. package/dist/cssbaseline/cssbaseline.d.ts +0 -1
  93. package/dist/cssbaseline/cssbaseline.js +5 -3
  94. package/dist/cssbaseline/index.d.ts +0 -1
  95. package/dist/cssbaseline/index.js +3 -3
  96. package/dist/date-picker/date-picker.css +9 -0
  97. package/dist/date-picker/date-picker.d.ts +14 -0
  98. package/dist/date-picker/date-picker.js +78 -0
  99. package/dist/date-picker/index.d.ts +1 -0
  100. package/dist/date-picker/index.js +13 -0
  101. package/dist/date-range-picker/date-range-picker.d.ts +0 -1
  102. package/dist/date-range-picker/date-range-picker.form-control.d.ts +0 -1
  103. package/dist/date-range-picker/date-range-picker.form-control.js +36 -21
  104. package/dist/date-range-picker/date-range-picker.js +29 -16
  105. package/dist/date-range-picker/index.d.ts +0 -1
  106. package/dist/date-range-picker/index.js +12 -6
  107. package/dist/file-picker/file-picker.css +56 -0
  108. package/dist/file-picker/file-picker.d.ts +275 -0
  109. package/dist/file-picker/file-picker.js +146 -0
  110. package/dist/file-picker/fs-map.json +1557 -0
  111. package/dist/file-picker/index.d.ts +1 -0
  112. package/dist/file-picker/index.js +13 -0
  113. package/dist/file-picker/localization.d.ts +6 -0
  114. package/dist/file-picker/localization.js +100 -0
  115. package/dist/index.d.ts +2 -1
  116. package/dist/index.js +23 -15
  117. package/dist/map-filter-container/container-map.d.ts +0 -1
  118. package/dist/map-filter-container/container-map.js +3 -2
  119. package/dist/map-filter-container/index.d.ts +0 -1
  120. package/dist/map-filter-container/index.js +11 -5
  121. package/dist/map-filter-container/map-filter-container.d.ts +0 -1
  122. package/dist/map-filter-container/map-filter-container.js +17 -4
  123. package/dist/map-filter-container/polygon-selection-ui.d.ts +0 -1
  124. package/dist/map-filter-container/polygon-selection-ui.js +3 -2
  125. package/dist/models/defaults.d.ts +11 -1
  126. package/dist/models/defaults.js +12 -1
  127. package/dist/models/enums.d.ts +2 -2
  128. package/dist/models/enums.js +2 -1
  129. package/dist/models/index.d.ts +0 -1
  130. package/dist/models/index.js +11 -5
  131. package/dist/ol-map/feature.d.ts +0 -1
  132. package/dist/ol-map/feature.js +3 -2
  133. package/dist/ol-map/index.d.ts +0 -1
  134. package/dist/ol-map/index.js +16 -10
  135. package/dist/ol-map/interactions/draw.d.ts +0 -1
  136. package/dist/ol-map/interactions/draw.js +4 -4
  137. package/dist/ol-map/interactions/index.d.ts +0 -1
  138. package/dist/ol-map/interactions/index.js +11 -5
  139. package/dist/ol-map/layers/index.d.ts +0 -1
  140. package/dist/ol-map/layers/index.js +13 -7
  141. package/dist/ol-map/layers/tile-layer.d.ts +0 -1
  142. package/dist/ol-map/layers/tile-layer.js +19 -5
  143. package/dist/ol-map/layers/vector-layer.d.ts +0 -1
  144. package/dist/ol-map/layers/vector-layer.js +19 -5
  145. package/dist/ol-map/layers/vector-tile-layer.d.ts +0 -1
  146. package/dist/ol-map/layers/vector-tile-layer.js +19 -5
  147. package/dist/ol-map/map.d.ts +0 -1
  148. package/dist/ol-map/map.js +24 -10
  149. package/dist/ol-map/source/index.d.ts +0 -1
  150. package/dist/ol-map/source/index.js +16 -10
  151. package/dist/ol-map/source/mvt.d.ts +0 -1
  152. package/dist/ol-map/source/mvt.js +7 -4
  153. package/dist/ol-map/source/osm.d.ts +0 -1
  154. package/dist/ol-map/source/osm.js +3 -2
  155. package/dist/ol-map/source/vector-source.d.ts +1 -2
  156. package/dist/ol-map/source/vector-source.js +19 -5
  157. package/dist/ol-map/source/wms.d.ts +0 -1
  158. package/dist/ol-map/source/wms.js +5 -3
  159. package/dist/ol-map/source/wmts.d.ts +0 -1
  160. package/dist/ol-map/source/wmts.js +5 -3
  161. package/dist/ol-map/source/xyz.d.ts +0 -1
  162. package/dist/ol-map/source/xyz.js +5 -3
  163. package/dist/ol-map/style.d.ts +0 -1
  164. package/dist/ol-map/style.js +1 -1
  165. package/dist/popover/index.d.ts +0 -1
  166. package/dist/popover/index.js +2 -2
  167. package/dist/popover/popover.d.ts +0 -1
  168. package/dist/popover/popover.js +3 -2
  169. package/dist/smart-table/__mock-data__/smartTableMocks.d.ts +0 -1
  170. package/dist/smart-table/__mock-data__/smartTableMocks.js +1 -1
  171. package/dist/smart-table/index.d.ts +0 -1
  172. package/dist/smart-table/index.js +12 -6
  173. package/dist/smart-table/smart-table-head.d.ts +0 -1
  174. package/dist/smart-table/smart-table-head.js +1 -1
  175. package/dist/smart-table/smart-table-row.d.ts +0 -2
  176. package/dist/smart-table/smart-table-row.js +18 -8
  177. package/dist/smart-table/smart-table-types.d.ts +0 -2
  178. package/dist/smart-table/smart-table-types.js +0 -1
  179. package/dist/smart-table/smart-table.d.ts +0 -1
  180. package/dist/smart-table/smart-table.js +15 -3
  181. package/dist/theme/index.d.ts +0 -1
  182. package/dist/theme/index.js +11 -5
  183. package/dist/theme/theme.d.ts +0 -1
  184. package/dist/theme/theme.js +1 -1
  185. package/dist/utils/map.d.ts +0 -1
  186. package/dist/utils/map.js +7 -4
  187. package/dist/utils/projections.d.ts +0 -1
  188. package/dist/utils/projections.js +1 -1
  189. package/dist/utils/story.d.ts +0 -1
  190. package/dist/utils/story.js +0 -1
  191. package/package.json +8 -4
  192. package/public/assets/img/map-marker.gif +0 -0
  193. package/src/lib/cesium-map/context-menu.stories.tsx +1 -2
  194. package/src/lib/cesium-map/layers/3d.tileset.stories.tsx +1 -2
  195. package/src/lib/cesium-map/layers/3d.tileset.update.ts +72 -0
  196. package/src/lib/cesium-map/layers/layers.rect.stories.tsx +171 -0
  197. package/src/lib/cesium-map/layers-manager.stories.tsx +2 -3
  198. package/src/lib/cesium-map/layers-manager.ts +3 -1
  199. package/src/lib/cesium-map/map.stories.tsx +3 -3
  200. package/src/lib/cesium-map/map.tsx +22 -11
  201. package/src/lib/cesium-map/terrain-providers/custom/dummy-quantized-mesh-tile.ts +243 -0
  202. package/src/lib/cesium-map/terrain-providers/custom/quantized-mesh-decoder.ts +321 -0
  203. package/src/lib/cesium-map/terrain-providers/custom/quantized-mesh-terrain-provider.ts +237 -0
  204. package/src/lib/cesium-map/terrain-providers/terrain-provider-heights-tool.stories.tsx +155 -0
  205. package/src/lib/cesium-map/terrain-providers/terrain-provider.stories.tsx +185 -0
  206. package/src/lib/cesium-map/tools/inspector.tool.tsx +15 -0
  207. package/src/lib/cesium-map/tools/terranian-height.tool.tsx +167 -0
  208. package/src/lib/date-picker/date-picker.css +9 -0
  209. package/src/lib/date-picker/date-picker.stories.tsx +130 -0
  210. package/src/lib/date-picker/date-picker.tsx +90 -0
  211. package/src/lib/date-picker/index.ts +1 -0
  212. package/src/lib/date-range-picker/date-range-picker.form-control.tsx +9 -7
  213. package/src/lib/date-range-picker/{stories/DateRangePicker.stories.tsx → date-range-picker.stories.tsx} +5 -5
  214. package/src/lib/date-range-picker/date-range-picker.tsx +12 -10
  215. package/src/lib/file-picker/file-picker.css +56 -0
  216. package/src/lib/file-picker/file-picker.stories.tsx +381 -0
  217. package/src/lib/file-picker/file-picker.tsx +163 -0
  218. package/src/lib/file-picker/fs-map.json +1557 -0
  219. package/src/lib/file-picker/index.ts +1 -0
  220. package/src/lib/file-picker/localization.ts +135 -0
  221. package/src/lib/index.ts +2 -0
  222. package/src/lib/models/defaults.ts +12 -0
  223. package/src/lib/models/enums.ts +1 -0
  224. package/src/types/quantized-mesh-decoder.d.ts +1 -0
  225. package/storybook-static/mock/{tileset → tileset_1}/ll.b3dm +0 -0
  226. package/storybook-static/mock/{tileset → tileset_1}/lr.b3dm +0 -0
  227. package/storybook-static/mock/{tileset → tileset_1}/parent.b3dm +0 -0
  228. package/storybook-static/mock/{tileset → tileset_1}/tileset.json +0 -0
  229. package/storybook-static/mock/{tileset → tileset_1}/ul.b3dm +0 -0
  230. package/storybook-static/mock/{tileset → tileset_1}/ur.b3dm +0 -0
  231. package/tsbuildconfig.json +2 -2
  232. package/dist/autocomplete/autocomplete.d.ts.map +0 -1
  233. package/dist/autocomplete/autocomplete.js.map +0 -1
  234. package/dist/autocomplete/index.d.ts.map +0 -1
  235. package/dist/autocomplete/index.js.map +0 -1
  236. package/dist/box/box.d.ts.map +0 -1
  237. package/dist/box/box.js.map +0 -1
  238. package/dist/box/index.d.ts.map +0 -1
  239. package/dist/box/index.js.map +0 -1
  240. package/dist/cesium-map/data-sources/custom.data-source.d.ts.map +0 -1
  241. package/dist/cesium-map/data-sources/custom.data-source.js.map +0 -1
  242. package/dist/cesium-map/data-sources/drawings.data-source.d.ts.map +0 -1
  243. package/dist/cesium-map/data-sources/drawings.data-source.js.map +0 -1
  244. package/dist/cesium-map/data-sources/index.d.ts.map +0 -1
  245. package/dist/cesium-map/data-sources/index.js.map +0 -1
  246. package/dist/cesium-map/entities/entity.d.ts.map +0 -1
  247. package/dist/cesium-map/entities/entity.description.d.ts.map +0 -1
  248. package/dist/cesium-map/entities/entity.description.js.map +0 -1
  249. package/dist/cesium-map/entities/entity.js.map +0 -1
  250. package/dist/cesium-map/entities/graphics/polygon.graphics.d.ts.map +0 -1
  251. package/dist/cesium-map/entities/graphics/polygon.graphics.js.map +0 -1
  252. package/dist/cesium-map/entities/graphics/polyline.graphics.d.ts.map +0 -1
  253. package/dist/cesium-map/entities/graphics/polyline.graphics.js.map +0 -1
  254. package/dist/cesium-map/entities/graphics/rectangle.graphics.d.ts.map +0 -1
  255. package/dist/cesium-map/entities/graphics/rectangle.graphics.js.map +0 -1
  256. package/dist/cesium-map/entities/index.d.ts.map +0 -1
  257. package/dist/cesium-map/entities/index.js.map +0 -1
  258. package/dist/cesium-map/index.d.ts.map +0 -1
  259. package/dist/cesium-map/index.js.map +0 -1
  260. package/dist/cesium-map/layers/3d.tileset.d.ts.map +0 -1
  261. package/dist/cesium-map/layers/3d.tileset.js.map +0 -1
  262. package/dist/cesium-map/layers/geojson.layer.d.ts.map +0 -1
  263. package/dist/cesium-map/layers/geojson.layer.js.map +0 -1
  264. package/dist/cesium-map/layers/imagery.layer.d.ts.map +0 -1
  265. package/dist/cesium-map/layers/imagery.layer.js.map +0 -1
  266. package/dist/cesium-map/layers/index.d.ts.map +0 -1
  267. package/dist/cesium-map/layers/index.js.map +0 -1
  268. package/dist/cesium-map/layers/osm.layer.d.ts.map +0 -1
  269. package/dist/cesium-map/layers/osm.layer.js.map +0 -1
  270. package/dist/cesium-map/layers/wms.layer.d.ts.map +0 -1
  271. package/dist/cesium-map/layers/wms.layer.js.map +0 -1
  272. package/dist/cesium-map/layers/wmts.layer.d.ts.map +0 -1
  273. package/dist/cesium-map/layers/wmts.layer.js.map +0 -1
  274. package/dist/cesium-map/layers/xyz.layer.d.ts.map +0 -1
  275. package/dist/cesium-map/layers/xyz.layer.js.map +0 -1
  276. package/dist/cesium-map/layers-manager.d.ts.map +0 -1
  277. package/dist/cesium-map/layers-manager.js.map +0 -1
  278. package/dist/cesium-map/map.d.ts.map +0 -1
  279. package/dist/cesium-map/map.js.map +0 -1
  280. package/dist/cesium-map/map.types.d.ts.map +0 -1
  281. package/dist/cesium-map/map.types.js.map +0 -1
  282. package/dist/cesium-map/proxied.types.d.ts.map +0 -1
  283. package/dist/cesium-map/proxied.types.js.map +0 -1
  284. package/dist/cesium-map/settings/base-maps.d.ts.map +0 -1
  285. package/dist/cesium-map/settings/base-maps.js.map +0 -1
  286. package/dist/cesium-map/settings/scene-modes.d.ts.map +0 -1
  287. package/dist/cesium-map/settings/scene-modes.js.map +0 -1
  288. package/dist/cesium-map/settings/settings.d.ts.map +0 -1
  289. package/dist/cesium-map/settings/settings.js.map +0 -1
  290. package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.d.ts.map +0 -1
  291. package/dist/cesium-map/tools/cesium/primitives-conversions.cesium.js.map +0 -1
  292. package/dist/cesium-map/tools/coordinates-tracker.tool.d.ts.map +0 -1
  293. package/dist/cesium-map/tools/coordinates-tracker.tool.js.map +0 -1
  294. package/dist/cesium-map/tools/draw/drawHelper.d.ts.map +0 -1
  295. package/dist/cesium-map/tools/draw/drawHelper.js.map +0 -1
  296. package/dist/cesium-map/tools/geojson/geojson-to-primitive.d.ts.map +0 -1
  297. package/dist/cesium-map/tools/geojson/geojson-to-primitive.js.map +0 -1
  298. package/dist/cesium-map/tools/geojson/index.d.ts.map +0 -1
  299. package/dist/cesium-map/tools/geojson/index.js.map +0 -1
  300. package/dist/cesium-map/tools/geojson/point.geojson.d.ts.map +0 -1
  301. package/dist/cesium-map/tools/geojson/point.geojson.js.map +0 -1
  302. package/dist/cesium-map/tools/geojson/polygon.geojson.d.ts.map +0 -1
  303. package/dist/cesium-map/tools/geojson/polygon.geojson.js.map +0 -1
  304. package/dist/cesium-map/tools/geojson/rectangle.geojson.d.ts.map +0 -1
  305. package/dist/cesium-map/tools/geojson/rectangle.geojson.js.map +0 -1
  306. package/dist/cesium-map/tools/scale-tracker.tool.d.ts.map +0 -1
  307. package/dist/cesium-map/tools/scale-tracker.tool.js.map +0 -1
  308. package/dist/cssbaseline/cssbaseline.d.ts.map +0 -1
  309. package/dist/cssbaseline/cssbaseline.js.map +0 -1
  310. package/dist/cssbaseline/index.d.ts.map +0 -1
  311. package/dist/cssbaseline/index.js.map +0 -1
  312. package/dist/date-range-picker/date-range-picker.d.ts.map +0 -1
  313. package/dist/date-range-picker/date-range-picker.form-control.d.ts.map +0 -1
  314. package/dist/date-range-picker/date-range-picker.form-control.js.map +0 -1
  315. package/dist/date-range-picker/date-range-picker.js.map +0 -1
  316. package/dist/date-range-picker/index.d.ts.map +0 -1
  317. package/dist/date-range-picker/index.js.map +0 -1
  318. package/dist/index.d.ts.map +0 -1
  319. package/dist/index.js.map +0 -1
  320. package/dist/map-filter-container/container-map.d.ts.map +0 -1
  321. package/dist/map-filter-container/container-map.js.map +0 -1
  322. package/dist/map-filter-container/index.d.ts.map +0 -1
  323. package/dist/map-filter-container/index.js.map +0 -1
  324. package/dist/map-filter-container/map-filter-container.d.ts.map +0 -1
  325. package/dist/map-filter-container/map-filter-container.js.map +0 -1
  326. package/dist/map-filter-container/polygon-selection-ui.d.ts.map +0 -1
  327. package/dist/map-filter-container/polygon-selection-ui.js.map +0 -1
  328. package/dist/models/defaults.d.ts.map +0 -1
  329. package/dist/models/defaults.js.map +0 -1
  330. package/dist/models/enums.d.ts.map +0 -1
  331. package/dist/models/enums.js.map +0 -1
  332. package/dist/models/index.d.ts.map +0 -1
  333. package/dist/models/index.js.map +0 -1
  334. package/dist/ol-map/feature.d.ts.map +0 -1
  335. package/dist/ol-map/feature.js.map +0 -1
  336. package/dist/ol-map/index.d.ts.map +0 -1
  337. package/dist/ol-map/index.js.map +0 -1
  338. package/dist/ol-map/interactions/draw.d.ts.map +0 -1
  339. package/dist/ol-map/interactions/draw.js.map +0 -1
  340. package/dist/ol-map/interactions/index.d.ts.map +0 -1
  341. package/dist/ol-map/interactions/index.js.map +0 -1
  342. package/dist/ol-map/layers/index.d.ts.map +0 -1
  343. package/dist/ol-map/layers/index.js.map +0 -1
  344. package/dist/ol-map/layers/tile-layer.d.ts.map +0 -1
  345. package/dist/ol-map/layers/tile-layer.js.map +0 -1
  346. package/dist/ol-map/layers/vector-layer.d.ts.map +0 -1
  347. package/dist/ol-map/layers/vector-layer.js.map +0 -1
  348. package/dist/ol-map/layers/vector-tile-layer.d.ts.map +0 -1
  349. package/dist/ol-map/layers/vector-tile-layer.js.map +0 -1
  350. package/dist/ol-map/map.d.ts.map +0 -1
  351. package/dist/ol-map/map.js.map +0 -1
  352. package/dist/ol-map/source/index.d.ts.map +0 -1
  353. package/dist/ol-map/source/index.js.map +0 -1
  354. package/dist/ol-map/source/mvt.d.ts.map +0 -1
  355. package/dist/ol-map/source/mvt.js.map +0 -1
  356. package/dist/ol-map/source/osm.d.ts.map +0 -1
  357. package/dist/ol-map/source/osm.js.map +0 -1
  358. package/dist/ol-map/source/vector-source.d.ts.map +0 -1
  359. package/dist/ol-map/source/vector-source.js.map +0 -1
  360. package/dist/ol-map/source/wms.d.ts.map +0 -1
  361. package/dist/ol-map/source/wms.js.map +0 -1
  362. package/dist/ol-map/source/wmts.d.ts.map +0 -1
  363. package/dist/ol-map/source/wmts.js.map +0 -1
  364. package/dist/ol-map/source/xyz.d.ts.map +0 -1
  365. package/dist/ol-map/source/xyz.js.map +0 -1
  366. package/dist/ol-map/style.d.ts.map +0 -1
  367. package/dist/ol-map/style.js.map +0 -1
  368. package/dist/popover/index.d.ts.map +0 -1
  369. package/dist/popover/index.js.map +0 -1
  370. package/dist/popover/popover.d.ts.map +0 -1
  371. package/dist/popover/popover.js.map +0 -1
  372. package/dist/smart-table/__mock-data__/smartTableMocks.d.ts.map +0 -1
  373. package/dist/smart-table/__mock-data__/smartTableMocks.js.map +0 -1
  374. package/dist/smart-table/index.d.ts.map +0 -1
  375. package/dist/smart-table/index.js.map +0 -1
  376. package/dist/smart-table/smart-table-head.d.ts.map +0 -1
  377. package/dist/smart-table/smart-table-head.js.map +0 -1
  378. package/dist/smart-table/smart-table-row.d.ts.map +0 -1
  379. package/dist/smart-table/smart-table-row.js.map +0 -1
  380. package/dist/smart-table/smart-table-types.d.ts.map +0 -1
  381. package/dist/smart-table/smart-table-types.js.map +0 -1
  382. package/dist/smart-table/smart-table.d.ts.map +0 -1
  383. package/dist/smart-table/smart-table.js.map +0 -1
  384. package/dist/theme/index.d.ts.map +0 -1
  385. package/dist/theme/index.js.map +0 -1
  386. package/dist/theme/theme.d.ts.map +0 -1
  387. package/dist/theme/theme.js.map +0 -1
  388. package/dist/utils/map.d.ts.map +0 -1
  389. package/dist/utils/map.js.map +0 -1
  390. package/dist/utils/projections.d.ts.map +0 -1
  391. package/dist/utils/projections.js.map +0 -1
  392. package/dist/utils/story.d.ts.map +0 -1
  393. package/dist/utils/story.js.map +0 -1
@@ -1,8 +1,5 @@
1
1
  module.exports = {
2
- stories: [
3
- '../src/lib/date-range-picker/stories/DateRangePicker.stories.tsx',
4
- '../src/**/*.stories.tsx',
5
- ],
2
+ stories: ['../src/**/*.stories.tsx'],
6
3
  addons: [
7
4
  '@storybook/preset-create-react-app',
8
5
  '@storybook/addon-storysource',
package/CHANGELOG.md CHANGED
@@ -3,6 +3,42 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.10.0](https://github.com/MapColonies/shared-components/compare/@map-colonies/react-components@3.8.0...@map-colonies/react-components@3.10.0) (2022-02-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * height tool_ pin points from csv ([#114](https://github.com/MapColonies/shared-components/issues/114)) ([3af82b8](https://github.com/MapColonies/shared-components/commit/3af82b88226ea3bd19646e87b9d1add0b13e81e6))
12
+
13
+
14
+ ### Features
15
+
16
+ * file picker ([#113](https://github.com/MapColonies/shared-components/issues/113)) ([829d275](https://github.com/MapColonies/shared-components/commit/829d275e01a3417912fe82036cabae3a5247cc24))
17
+
18
+
19
+
20
+ ## 3.8.1 (2022-01-13)
21
+
22
+
23
+ ### Features
24
+
25
+ * dem quantized mesh ([#112](https://github.com/MapColonies/shared-components/issues/112)) ([3cd2010](https://github.com/MapColonies/shared-components/commit/3cd20105a63f2335a5dd3b178eb9d38f9690022c))
26
+
27
+
28
+
29
+
30
+
31
+ # [3.8.0](https://github.com/MapColonies/shared-components/compare/@map-colonies/react-components@3.7.4...@map-colonies/react-components@3.8.0) (2021-11-01)
32
+
33
+
34
+ ### Features
35
+
36
+ * date time picker component ([#109](https://github.com/MapColonies/shared-components/issues/109)) ([d2d6312](https://github.com/MapColonies/shared-components/commit/d2d631288324c6212301fbecff1088c179614664))
37
+
38
+
39
+
40
+
41
+
6
42
  ## [3.7.4](https://github.com/MapColonies/shared-components/compare/@map-colonies/react-components@3.7.3...@map-colonies/react-components@3.7.4) (2021-10-25)
7
43
 
8
44
  **Note:** Version bump only for package @map-colonies/react-components
Binary file
@@ -31,4 +31,3 @@ interface IAutocompleteOptionalProps extends Partial<IAutocompleteProps> {
31
31
  }
32
32
  export declare const AutocompleteWithDefauls: React.FC<IAutocompleteOptionalProps>;
33
33
  export default AutocompleteWithDefauls;
34
- //# sourceMappingURL=autocomplete.d.ts.map
@@ -10,6 +10,25 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
+ }) : (function(o, m, k, k2) {
17
+ if (k2 === undefined) k2 = k;
18
+ o[k2] = m[k];
19
+ }));
20
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
22
+ }) : function(o, v) {
23
+ o["default"] = v;
24
+ });
25
+ var __importStar = (this && this.__importStar) || function (mod) {
26
+ if (mod && mod.__esModule) return mod;
27
+ var result = {};
28
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
+ __setModuleDefault(result, mod);
30
+ return result;
31
+ };
13
32
  var __rest = (this && this.__rest) || function (s, e) {
14
33
  var t = {};
15
34
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -21,17 +40,11 @@ var __rest = (this && this.__rest) || function (s, e) {
21
40
  }
22
41
  return t;
23
42
  };
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
43
  var __importDefault = (this && this.__importDefault) || function (mod) {
32
44
  return (mod && mod.__esModule) ? mod : { "default": mod };
33
45
  };
34
46
  Object.defineProperty(exports, "__esModule", { value: true });
47
+ exports.AutocompleteWithDefauls = void 0;
35
48
  /* eslint-disable */
36
49
  var react_1 = __importStar(require("react"));
37
50
  var textarea_caret_1 = __importDefault(require("textarea-caret"));
@@ -456,12 +469,12 @@ var defaultProps = {
456
469
  mode: 'assist',
457
470
  direction: 'ltr',
458
471
  };
459
- exports.AutocompleteWithDefauls = function (props) {
472
+ var AutocompleteWithDefauls = function (props) {
460
473
  var compProps = __assign(__assign({}, defaultProps), props);
461
474
  if (props.mode === 'autocomplete') {
462
475
  compProps = __assign(__assign({}, compProps), { trigger: '', regex: '.', spacer: '' });
463
476
  }
464
477
  return react_1.default.createElement(Autocomplete, __assign({}, compProps));
465
478
  };
479
+ exports.AutocompleteWithDefauls = AutocompleteWithDefauls;
466
480
  exports.default = exports.AutocompleteWithDefauls;
467
- //# sourceMappingURL=autocomplete.js.map
@@ -1,2 +1 @@
1
1
  export { AutocompleteWithDefauls as Autocomplete } from './autocomplete';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Autocomplete = void 0;
3
4
  var autocomplete_1 = require("./autocomplete");
4
- exports.Autocomplete = autocomplete_1.AutocompleteWithDefauls;
5
- //# sourceMappingURL=index.js.map
5
+ Object.defineProperty(exports, "Autocomplete", { enumerable: true, get: function () { return autocomplete_1.AutocompleteWithDefauls; } });
package/dist/box/box.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
2
  import { BoxProps } from '@material-ui/core';
3
3
  export declare const McBox: React.FC<BoxProps>;
4
- //# sourceMappingURL=box.d.ts.map
package/dist/box/box.js CHANGED
@@ -25,10 +25,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.McBox = void 0;
28
29
  var react_1 = __importDefault(require("react"));
29
30
  var core_1 = require("@material-ui/core");
30
- exports.McBox = function (props) {
31
+ var McBox = function (props) {
31
32
  var children = props.children, rest = __rest(props, ["children"]);
32
33
  return react_1.default.createElement(core_1.Box, __assign({}, rest), children);
33
34
  };
34
- //# sourceMappingURL=box.js.map
35
+ exports.McBox = McBox;
@@ -1,2 +1 @@
1
1
  export { McBox as Box } from './box';
2
- //# sourceMappingURL=index.d.ts.map
package/dist/box/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Box = void 0;
3
4
  var box_1 = require("./box");
4
- exports.Box = box_1.McBox;
5
- //# sourceMappingURL=index.js.map
5
+ Object.defineProperty(exports, "Box", { enumerable: true, get: function () { return box_1.McBox; } });
@@ -3,4 +3,3 @@ import { CustomDataSourceProps } from 'resium/dist/types/src/CustomDataSource/Cu
3
3
  export interface RCesiumCustomDataSourceProps extends CustomDataSourceProps {
4
4
  }
5
5
  export declare const CesiumCustomDataSource: React.FC<RCesiumCustomDataSourceProps>;
6
- //# sourceMappingURL=custom.data-source.d.ts.map
@@ -14,9 +14,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.CesiumCustomDataSource = void 0;
17
18
  var react_1 = __importDefault(require("react"));
18
19
  var resium_1 = require("resium");
19
- exports.CesiumCustomDataSource = function (props) {
20
+ var CesiumCustomDataSource = function (props) {
20
21
  return react_1.default.createElement(resium_1.CustomDataSource, __assign({}, props));
21
22
  };
22
- //# sourceMappingURL=custom.data-source.js.map
23
+ exports.CesiumCustomDataSource = CesiumCustomDataSource;
@@ -32,4 +32,3 @@ export interface RCesiumDrawingDataSourceProps extends CustomDataSourceProps {
32
32
  outlineWidth?: number;
33
33
  }
34
34
  export declare const CesiumDrawingsDataSource: React.FC<RCesiumDrawingDataSourceProps>;
35
- //# sourceMappingURL=drawings.data-source.d.ts.map
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
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]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -23,21 +25,32 @@ var __assign = (this && this.__assign) || function () {
23
25
  };
24
26
  return __assign.apply(this, arguments);
25
27
  };
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
- };
28
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
29
+ if (k2 === undefined) k2 = k;
30
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
31
+ }) : (function(o, m, k, k2) {
32
+ if (k2 === undefined) k2 = k;
33
+ o[k2] = m[k];
34
+ }));
35
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
36
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
37
+ }) : function(o, v) {
38
+ o["default"] = v;
39
+ });
33
40
  var __importStar = (this && this.__importStar) || function (mod) {
34
41
  if (mod && mod.__esModule) return mod;
35
42
  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;
43
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
44
+ __setModuleDefault(result, mod);
38
45
  return result;
39
46
  };
47
+ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
48
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
49
+ to[j] = from[i];
50
+ return to;
51
+ };
40
52
  Object.defineProperty(exports, "__esModule", { value: true });
53
+ exports.CesiumDrawingsDataSource = exports.CesiumColor = void 0;
41
54
  var react_1 = __importStar(require("react"));
42
55
  var cesium_1 = require("cesium");
43
56
  var models_1 = require("../../models");
@@ -60,7 +73,7 @@ var CesiumColor = /** @class */ (function (_super) {
60
73
  return CesiumColor;
61
74
  }(cesium_1.Color));
62
75
  exports.CesiumColor = CesiumColor;
63
- exports.CesiumDrawingsDataSource = function (props) {
76
+ var CesiumDrawingsDataSource = function (props) {
64
77
  var drawState = props.drawState, drawingMaterial = props.drawingMaterial, drawingVertexColor = props.drawingVertexColor, material = props.material, hollow = props.hollow, outlineWidth = props.outlineWidth;
65
78
  var mapViewer = map_1.useCesiumMap();
66
79
  var _a = react_1.useState(), drawHelper = _a[0], setDrawHelper = _a[1];
@@ -140,9 +153,9 @@ exports.CesiumDrawingsDataSource = function (props) {
140
153
  if (hollow !== true) {
141
154
  switch (drawEntity.type) {
142
155
  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) }));
156
+ return (react_1.default.createElement(rectangle_graphics_1.CesiumRectangleGraphics, { coordinates: coordinates, material: material !== null && material !== void 0 ? material : drawingMaterial }));
144
157
  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) }));
158
+ return (react_1.default.createElement(polygon_graphics_1.CesiumPolygonGraphics, { hierarchy: new cesium_1.PolygonHierarchy(coordinates), material: material !== null && material !== void 0 ? material : drawingMaterial }));
146
159
  default:
147
160
  return react_1.default.createElement(react_1.default.Fragment, null);
148
161
  }
@@ -153,14 +166,14 @@ exports.CesiumDrawingsDataSource = function (props) {
153
166
  coordinates = primitives_conversions_cesium_1.rectangleToPositions(coordinates);
154
167
  break;
155
168
  case models_1.DrawType.POLYGON:
156
- coordinates = __spreadArrays(coordinates, [
169
+ coordinates = __spreadArray(__spreadArray([], coordinates), [
157
170
  coordinates[0],
158
171
  ]);
159
172
  break;
160
173
  default:
161
174
  return react_1.default.createElement(react_1.default.Fragment, null);
162
175
  }
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) }));
176
+ 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
177
  }
165
178
  };
166
179
  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 },
@@ -171,4 +184,4 @@ exports.CesiumDrawingsDataSource = function (props) {
171
184
  react_1.default.createElement("p", null, "This is description of drawed entity")),
172
185
  renderGraphicsComponent(drawEntity))); })));
173
186
  };
174
- //# sourceMappingURL=drawings.data-source.js.map
187
+ exports.CesiumDrawingsDataSource = CesiumDrawingsDataSource;
@@ -1,3 +1,2 @@
1
1
  export * from './custom.data-source';
2
2
  export * from './drawings.data-source';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,14 @@
1
1
  "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
5
12
  Object.defineProperty(exports, "__esModule", { value: true });
6
- __export(require("./custom.data-source"));
7
- __export(require("./drawings.data-source"));
8
- //# sourceMappingURL=index.js.map
13
+ __exportStar(require("./custom.data-source"), exports);
14
+ __exportStar(require("./drawings.data-source"), exports);
@@ -3,4 +3,3 @@ import { EntityProps } from 'resium/dist/types/src/Entity/Entity';
3
3
  export interface RCesiumEntityProps extends EntityProps {
4
4
  }
5
5
  export declare const CesiumEntity: React.FC<RCesiumEntityProps>;
6
- //# sourceMappingURL=entity.d.ts.map
@@ -4,4 +4,3 @@ export interface RCesiumEntityDescriptionProps extends EntityDescriptionProps {
4
4
  }
5
5
  export declare const CesiumEntityDescription: React.FC<RCesiumEntityDescriptionProps>;
6
6
  export declare const CesiumEntityStaticDescription: React.FC;
7
- //# sourceMappingURL=entity.description.d.ts.map
@@ -14,12 +14,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.CesiumEntityStaticDescription = exports.CesiumEntityDescription = void 0;
17
18
  var react_1 = __importDefault(require("react"));
18
19
  var resium_1 = require("resium");
19
- exports.CesiumEntityDescription = function (props) {
20
+ var CesiumEntityDescription = function (props) {
20
21
  return react_1.default.createElement(resium_1.EntityDescription, __assign({}, props));
21
22
  };
22
- exports.CesiumEntityStaticDescription = function (props) {
23
+ exports.CesiumEntityDescription = CesiumEntityDescription;
24
+ var CesiumEntityStaticDescription = function (props) {
23
25
  return react_1.default.createElement(resium_1.EntityStaticDescription, __assign({}, props));
24
26
  };
25
- //# sourceMappingURL=entity.description.js.map
27
+ exports.CesiumEntityStaticDescription = CesiumEntityStaticDescription;
@@ -14,9 +14,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.CesiumEntity = void 0;
17
18
  var react_1 = __importDefault(require("react"));
18
19
  var resium_1 = require("resium");
19
- exports.CesiumEntity = function (props) {
20
+ var CesiumEntity = function (props) {
20
21
  return react_1.default.createElement(resium_1.Entity, __assign({}, props));
21
22
  };
22
- //# sourceMappingURL=entity.js.map
23
+ exports.CesiumEntity = CesiumEntity;
@@ -3,4 +3,3 @@ import { PolygonGraphicsProps } from 'resium/dist/types/src/PolygonGraphics/Poly
3
3
  export interface RCesiumPolygonGraphicsProps extends PolygonGraphicsProps {
4
4
  }
5
5
  export declare const CesiumPolygonGraphics: React.FC<RCesiumPolygonGraphicsProps>;
6
- //# sourceMappingURL=polygon.graphics.d.ts.map
@@ -14,9 +14,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.CesiumPolygonGraphics = void 0;
17
18
  var react_1 = __importDefault(require("react"));
18
19
  var resium_1 = require("resium");
19
- exports.CesiumPolygonGraphics = function (props) {
20
+ var CesiumPolygonGraphics = function (props) {
20
21
  return react_1.default.createElement(resium_1.PolygonGraphics, __assign({}, props));
21
22
  };
22
- //# sourceMappingURL=polygon.graphics.js.map
23
+ exports.CesiumPolygonGraphics = CesiumPolygonGraphics;
@@ -3,4 +3,3 @@ import { PolylineGraphicsProps } from 'resium/dist/types/src/PolylineGraphics/Po
3
3
  export interface RCesiumPolylineGraphicsProps extends PolylineGraphicsProps {
4
4
  }
5
5
  export declare const CesiumPolylineGraphics: React.FC<RCesiumPolylineGraphicsProps>;
6
- //# sourceMappingURL=polyline.graphics.d.ts.map
@@ -14,9 +14,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.CesiumPolylineGraphics = void 0;
17
18
  var react_1 = __importDefault(require("react"));
18
19
  var resium_1 = require("resium");
19
- exports.CesiumPolylineGraphics = function (props) {
20
+ var CesiumPolylineGraphics = function (props) {
20
21
  return react_1.default.createElement(resium_1.PolylineGraphics, __assign({}, props));
21
22
  };
22
- //# sourceMappingURL=polyline.graphics.js.map
23
+ exports.CesiumPolylineGraphics = CesiumPolylineGraphics;
@@ -3,4 +3,3 @@ import { RectangleGraphicsProps } from 'resium/dist/types/src/RectangleGraphics/
3
3
  export interface RCesiumRectangleGraphicsProps extends RectangleGraphicsProps {
4
4
  }
5
5
  export declare const CesiumRectangleGraphics: React.FC<RCesiumRectangleGraphicsProps>;
6
- //# sourceMappingURL=rectangle.graphics.d.ts.map
@@ -14,9 +14,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.CesiumRectangleGraphics = void 0;
17
18
  var react_1 = __importDefault(require("react"));
18
19
  var resium_1 = require("resium");
19
- exports.CesiumRectangleGraphics = function (props) {
20
+ var CesiumRectangleGraphics = function (props) {
20
21
  return react_1.default.createElement(resium_1.RectangleGraphics, __assign({}, props));
21
22
  };
22
- //# sourceMappingURL=rectangle.graphics.js.map
23
+ exports.CesiumRectangleGraphics = CesiumRectangleGraphics;
@@ -2,4 +2,3 @@ export * from './entity';
2
2
  export * from './entity.description';
3
3
  export * from './graphics/polygon.graphics';
4
4
  export * from './graphics/rectangle.graphics';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1,10 +1,16 @@
1
1
  "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
5
12
  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
13
+ __exportStar(require("./entity"), exports);
14
+ __exportStar(require("./entity.description"), exports);
15
+ __exportStar(require("./graphics/polygon.graphics"), exports);
16
+ __exportStar(require("./graphics/rectangle.graphics"), exports);
@@ -5,4 +5,3 @@ export * from '../utils/projections';
5
5
  export * from './entities';
6
6
  export * from './data-sources';
7
7
  export * from './proxied.types';
8
- //# sourceMappingURL=index.d.ts.map
@@ -1,13 +1,19 @@
1
1
  "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
5
12
  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
13
+ __exportStar(require("./map"), exports);
14
+ __exportStar(require("./map.types"), exports);
15
+ __exportStar(require("./layers"), exports);
16
+ __exportStar(require("../utils/projections"), exports);
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./data-sources"), exports);
19
+ __exportStar(require("./proxied.types"), exports);
@@ -5,4 +5,3 @@ export interface RCesium3DTilesetProps extends Cesium3DTilesetProps {
5
5
  heightFromGround?: number;
6
6
  }
7
7
  export declare const Cesium3DTileset: React.FC<RCesium3DTilesetProps>;
8
- //# sourceMappingURL=3d.tileset.d.ts.map
@@ -14,15 +14,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.Cesium3DTileset = void 0;
17
18
  var cesium_1 = require("cesium");
18
19
  var react_1 = __importDefault(require("react"));
19
20
  var resium_1 = require("resium");
20
21
  var map_1 = require("../map");
21
- exports.Cesium3DTileset = function (props) {
22
+ var Cesium3DTileset = function (props) {
22
23
  var mapViewer = map_1.useCesiumMap();
23
24
  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);
25
+ var _a;
26
+ (_a = props.onReady) === null || _a === void 0 ? void 0 : _a.call(props, tileset);
26
27
  if (props.isZoomTo) {
27
28
  void mapViewer.zoomTo(tileset);
28
29
  }
@@ -35,4 +36,4 @@ exports.Cesium3DTileset = function (props) {
35
36
  }
36
37
  } })));
37
38
  };
38
- //# sourceMappingURL=3d.tileset.js.map
39
+ exports.Cesium3DTileset = Cesium3DTileset;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /*
3
+ https://sandcastle.cesium.com/index.html?#c=fVZtTxs5EP4re3xho0YOkOv1jgC6ElIuiAQKKaWQqnJ2nayL187Z3qCk4r/f+GXf8nKWot3YzzOeGT8z6wWWQRdLTRTFvB2cBl14y1JUznXGfMxbreBSYq798tV9gKOIKBVoESxFJgMqeICVIlqNuTfRFxzFZIozpj9a8Ei8EA5b7JPlVTK5jOgNvep/WfUPh7Sv+vzufdTt/9F/mT8+dK/+QgD6N758MSA6GJ3/HB712gN60H66fHq5Ht0l39K+vvnaWw27h/RmFP+8ueitBqvB+8FqRq+7V/MnMDa8+Kz6KUtieB+MPv8+/Am/i8HBoH2AztvdD0NBlu2n28do+uHHp8fz3rdXKiN91J6qLyS64/eHR5+YHv65b3OwgFRFNrQRkRJTfivFgsZEllmLJMGafBWSxR4TNjqOSRijcyVovEnm5DU30NuBsmacoQUlr+u0BzsX7jv3uoJr4BK53wx+jXkAY4IVucZLIm9p9ALs42CKmSJNt6rXXDreHueYv+XRqIhwAj44Z5D9az20b2jGxITA4c91MiJKf5yBFaW9OaBpmZEiIE0ZAeHAtCPPJU2ppguiEI7j0LlYCdY92hcjxwt9iGZkkh0HpfzuiAJtRgRNpUg/GnX247D9oX3UcJQ3ePrEujhWQqQjEXqPPAoJnRD5ShUJpxmPtJF6CKEI2Qgqe0eCK8EIYmLmVzv5LnaLgpvNYxCJ8T6wOxVWTDImIuMx5bMHwbLUZNggUH3W26XTIPSxQpnBecfWHAJHNOH6vMZp1HzdvstWYh5E6aKHrbE6JSAVMWGw7FfQDztRASSEzhJjoO4HSimnaZb+Y5creJCFtpK3htAPqaOunapguJApZoWInAKLokMzAlRNo/tMTnFEhhYdOsNNp66i44WNRsWwmE6dOksASqGn0Tlbni/vI8ywDN3uTR/Z/xuMYF7UO62YSTxPaGSFWvC8e1XuHNZBiCX7NSG2y/oWkevCJWG9rk9PT3f2oZo+zFaSKIjSHKNxsFMuugVUHOJBZc37hwAj2IKEDltUAuwOzv/awJfxKJzOGfG+DYTSFwR6GQNtbw2pGTxb9743EBQpLwrUb6xqUW1E5kHPB987dZRJ4W9rteVD2bDoUqIzyTcyVSmcNaQzVoG+NcpCcy95KrfFVXOiCGeboLQo5VQ/jEJSQlHbl2oKV9lESxxpT2r6MtitbDPWy7NuMmKCkzDfrrmBrvXLtx0t0zR8KUSZAXNUZiLvQ3cEx8tafkqyY+4Uo8kGowqsWNf9VwCZ57XAsfka9RawxbXHlKdSa+NVEZkFW3Y1n6uj4p210tmE5D6Fjd3a2tSPbTUJZbG0ly6XI/+/0lEY4TOdmDL3a8jNeMhUyCA0OGorHR4nntIJ3r2jOxJtTim390y/V3yz7t1jHkdYafh6QE5HYjZj5DzTGjK5n18SehxPoOzhCmMuC82gyHWUELjCxDUBrM+ZsaMFbr/a7NTELiu72uj6KdRzkksq16E9tb3m3onSS0bOHOVvms6F1OYyEyLU0gQ6IthQrUkGQcIhKmVoJ62cdBLTRUDj0/He2v1vvBdEDG7lsDLNGLunKzLeOztpAb5GY6Bu+ArfLIhkeGkgyeHZtZtECJ204O8mSwvBJlhWLP4H
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,4 +3,3 @@ import { GeoJsonDataSourceProps } from 'resium/dist/types/src/GeoJsonDataSource/
3
3
  export interface RCesiumGeojsonLayerProps extends GeoJsonDataSourceProps {
4
4
  }
5
5
  export declare const CesiumGeojsonLayer: React.FC<RCesiumGeojsonLayerProps>;
6
- //# sourceMappingURL=geojson.layer.d.ts.map
@@ -14,9 +14,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.CesiumGeojsonLayer = void 0;
17
18
  var react_1 = __importDefault(require("react"));
18
19
  var resium_1 = require("resium");
19
- exports.CesiumGeojsonLayer = function (props) {
20
+ var CesiumGeojsonLayer = function (props) {
20
21
  return react_1.default.createElement(resium_1.GeoJsonDataSource, __assign({}, props));
21
22
  };
22
- //# sourceMappingURL=geojson.layer.js.map
23
+ exports.CesiumGeojsonLayer = CesiumGeojsonLayer;
@@ -4,4 +4,3 @@ export interface RCesiumImageryLayerProps extends ImageryLayerProps {
4
4
  meta?: any;
5
5
  }
6
6
  export declare const CesiumImageryLayer: React.FC<RCesiumImageryLayerProps>;
7
- //# sourceMappingURL=imagery.layer.d.ts.map
@@ -10,6 +10,25 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
+ }) : (function(o, m, k, k2) {
17
+ if (k2 === undefined) k2 = k;
18
+ o[k2] = m[k];
19
+ }));
20
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
22
+ }) : function(o, v) {
23
+ o["default"] = v;
24
+ });
25
+ var __importStar = (this && this.__importStar) || function (mod) {
26
+ if (mod && mod.__esModule) return mod;
27
+ var result = {};
28
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
+ __setModuleDefault(result, mod);
30
+ return result;
31
+ };
13
32
  var __rest = (this && this.__rest) || function (s, e) {
14
33
  var t = {};
15
34
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -21,18 +40,12 @@ var __rest = (this && this.__rest) || function (s, e) {
21
40
  }
22
41
  return t;
23
42
  };
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
43
  Object.defineProperty(exports, "__esModule", { value: true });
44
+ exports.CesiumImageryLayer = void 0;
32
45
  var react_1 = __importStar(require("react"));
33
46
  var resium_1 = require("resium");
34
47
  var map_1 = require("../map");
35
- exports.CesiumImageryLayer = function (props) {
48
+ var CesiumImageryLayer = function (props) {
36
49
  // eslint-disable-next-line
37
50
  var meta = props.meta, restProps = __rest(props, ["meta"]);
38
51
  var mapViewer = map_1.useCesiumMap();
@@ -48,4 +61,4 @@ exports.CesiumImageryLayer = function (props) {
48
61
  }, [meta, mapViewer]);
49
62
  return react_1.default.createElement(resium_1.ImageryLayer, __assign({}, restProps));
50
63
  };
51
- //# sourceMappingURL=imagery.layer.js.map
64
+ exports.CesiumImageryLayer = CesiumImageryLayer;