@carto/kepler.gl 0.1.0-alpha.0 → 0.1.0-next.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 (872) hide show
  1. package/dist/actions/action-wrapper.d.ts +115 -115
  2. package/dist/actions/action-wrapper.js +190 -0
  3. package/dist/actions/actions.d.ts +195 -195
  4. package/dist/actions/actions.js +194 -0
  5. package/dist/actions/identity-actions.d.ts +61 -61
  6. package/dist/actions/identity-actions.js +101 -0
  7. package/dist/actions/index.d.ts +9 -9
  8. package/dist/actions/index.js +144 -0
  9. package/dist/actions/map-state-actions.d.ts +69 -69
  10. package/dist/actions/map-state-actions.js +106 -0
  11. package/dist/actions/map-style-actions.d.ts +146 -146
  12. package/dist/actions/map-style-actions.js +176 -0
  13. package/dist/actions/provider-actions.d.ts +153 -153
  14. package/dist/actions/provider-actions.js +144 -0
  15. package/dist/actions/ui-state-actions.d.ts +300 -300
  16. package/dist/actions/ui-state-actions.js +356 -0
  17. package/dist/actions/vis-state-actions.d.ts +821 -821
  18. package/dist/actions/vis-state-actions.js +900 -0
  19. package/dist/cloud-providers/index.d.ts +2 -2
  20. package/dist/cloud-providers/index.js +22 -0
  21. package/dist/cloud-providers/provider.d.ts +176 -176
  22. package/dist/cloud-providers/provider.js +346 -0
  23. package/dist/components/bottom-widget.d.ts +47 -47
  24. package/dist/components/bottom-widget.js +217 -0
  25. package/dist/components/common/action-panel.d.ts +27 -27
  26. package/dist/components/common/action-panel.js +133 -0
  27. package/dist/components/common/animation-control/animation-control.d.ts +24 -24
  28. package/dist/components/common/animation-control/animation-control.js +129 -0
  29. package/dist/components/common/animation-control/animation-controller.d.ts +16 -16
  30. package/dist/components/common/animation-control/animation-controller.js +270 -0
  31. package/dist/components/common/animation-control/animation-speed-slider.d.ts +12 -12
  32. package/dist/components/common/animation-control/animation-speed-slider.js +88 -0
  33. package/dist/components/common/animation-control/floating-time-display.d.ts +9 -9
  34. package/dist/components/common/animation-control/floating-time-display.js +149 -0
  35. package/dist/components/common/animation-control/playback-controls.d.ts +72 -72
  36. package/dist/components/common/animation-control/playback-controls.js +261 -0
  37. package/dist/components/common/animation-control/speed-control.d.ts +13 -13
  38. package/dist/components/common/animation-control/speed-control.js +70 -0
  39. package/dist/components/common/checkbox.d.ts +35 -35
  40. package/dist/components/common/checkbox.js +117 -0
  41. package/dist/components/common/color-legend.d.ts +43 -43
  42. package/dist/components/common/color-legend.js +205 -0
  43. package/dist/components/common/data-table/button.d.ts +8 -8
  44. package/dist/components/common/data-table/button.js +53 -0
  45. package/dist/components/common/data-table/canvas.d.ts +2 -2
  46. package/dist/components/common/data-table/canvas.js +43 -0
  47. package/dist/components/common/data-table/cell-size.d.ts +36 -36
  48. package/dist/components/common/data-table/cell-size.js +170 -0
  49. package/dist/components/common/data-table/grid.d.ts +7 -7
  50. package/dist/components/common/data-table/grid.js +90 -0
  51. package/dist/components/common/data-table/index.d.ts +143 -143
  52. package/dist/components/common/data-table/index.js +469 -0
  53. package/dist/components/common/data-table/option-dropdown.d.ts +14 -14
  54. package/dist/components/common/data-table/option-dropdown.js +99 -0
  55. package/dist/components/common/dataset-label.d.ts +10 -10
  56. package/dist/components/common/dataset-label.js +44 -0
  57. package/dist/components/common/error-boundary.d.ts +16 -16
  58. package/dist/components/common/error-boundary.js +76 -0
  59. package/dist/components/common/field-selector.d.ts +47 -47
  60. package/dist/components/common/field-selector.js +214 -0
  61. package/dist/components/common/field-token.d.ts +45 -45
  62. package/dist/components/common/field-token.js +47 -0
  63. package/dist/components/common/file-uploader/file-drop.d.ts +54 -54
  64. package/dist/components/common/file-uploader/file-drop.js +213 -0
  65. package/dist/components/common/file-uploader/file-upload-progress.d.ts +8 -8
  66. package/dist/components/common/file-uploader/file-upload-progress.js +103 -0
  67. package/dist/components/common/file-uploader/file-upload.d.ts +27 -27
  68. package/dist/components/common/file-uploader/file-upload.js +263 -0
  69. package/dist/components/common/file-uploader/upload-button.d.ts +8 -8
  70. package/dist/components/common/file-uploader/upload-button.js +76 -0
  71. package/dist/components/common/histogram-plot.d.ts +3 -3
  72. package/dist/components/common/histogram-plot.js +112 -0
  73. package/dist/components/common/icons/add.d.ts +9 -9
  74. package/dist/components/common/icons/add.js +58 -0
  75. package/dist/components/common/icons/anchor_window.d.ts +11 -11
  76. package/dist/components/common/icons/anchor_window.js +51 -0
  77. package/dist/components/common/icons/arrow-down-alt.d.ts +9 -9
  78. package/dist/components/common/icons/arrow-down-alt.js +58 -0
  79. package/dist/components/common/icons/arrow-down-solid.d.ts +9 -9
  80. package/dist/components/common/icons/arrow-down-solid.js +58 -0
  81. package/dist/components/common/icons/arrow-down.d.ts +9 -9
  82. package/dist/components/common/icons/arrow-down.js +58 -0
  83. package/dist/components/common/icons/arrow-left.d.ts +9 -9
  84. package/dist/components/common/icons/arrow-left.js +61 -0
  85. package/dist/components/common/icons/arrow-right.d.ts +9 -9
  86. package/dist/components/common/icons/arrow-right.js +58 -0
  87. package/dist/components/common/icons/arrow-up-alt.d.ts +9 -9
  88. package/dist/components/common/icons/arrow-up-alt.js +59 -0
  89. package/dist/components/common/icons/arrow-up-solid.d.ts +9 -9
  90. package/dist/components/common/icons/arrow-up-solid.js +58 -0
  91. package/dist/components/common/icons/arrow-up.d.ts +9 -9
  92. package/dist/components/common/icons/arrow-up.js +58 -0
  93. package/dist/components/common/icons/base.d.ts +29 -29
  94. package/dist/components/common/icons/base.js +94 -0
  95. package/dist/components/common/icons/bug.d.ts +9 -9
  96. package/dist/components/common/icons/bug.js +60 -0
  97. package/dist/components/common/icons/cancel.d.ts +9 -9
  98. package/dist/components/common/icons/cancel.js +58 -0
  99. package/dist/components/common/icons/checkmark.d.ts +10 -10
  100. package/dist/components/common/icons/checkmark.js +64 -0
  101. package/dist/components/common/icons/chevron-right.js +68 -0
  102. package/dist/components/common/icons/clipboard.d.ts +9 -9
  103. package/dist/components/common/icons/clipboard.js +59 -0
  104. package/dist/components/common/icons/clock.d.ts +9 -9
  105. package/dist/components/common/icons/clock.js +60 -0
  106. package/dist/components/common/icons/close.d.ts +9 -9
  107. package/dist/components/common/icons/close.js +63 -0
  108. package/dist/components/common/icons/code-alt.d.ts +9 -9
  109. package/dist/components/common/icons/code-alt.js +61 -0
  110. package/dist/components/common/icons/copy.d.ts +9 -9
  111. package/dist/components/common/icons/copy.js +63 -0
  112. package/dist/components/common/icons/crosshairs.d.ts +9 -9
  113. package/dist/components/common/icons/crosshairs.js +61 -0
  114. package/dist/components/common/icons/cube-3d.d.ts +9 -9
  115. package/dist/components/common/icons/cube-3d.js +62 -0
  116. package/dist/components/common/icons/cursor-click.d.ts +9 -9
  117. package/dist/components/common/icons/cursor-click.js +62 -0
  118. package/dist/components/common/icons/data-table.d.ts +10 -10
  119. package/dist/components/common/icons/data-table.js +59 -0
  120. package/dist/components/common/icons/db.d.ts +10 -10
  121. package/dist/components/common/icons/db.js +59 -0
  122. package/dist/components/common/icons/delete.d.ts +9 -9
  123. package/dist/components/common/icons/delete.js +60 -0
  124. package/dist/components/common/icons/docs.d.ts +9 -9
  125. package/dist/components/common/icons/docs.js +74 -0
  126. package/dist/components/common/icons/drag-n-drop.d.ts +9 -9
  127. package/dist/components/common/icons/drag-n-drop.js +60 -0
  128. package/dist/components/common/icons/draw-polygon.d.ts +10 -10
  129. package/dist/components/common/icons/draw-polygon.js +78 -0
  130. package/dist/components/common/icons/email.d.ts +9 -9
  131. package/dist/components/common/icons/email.js +62 -0
  132. package/dist/components/common/icons/expand.d.ts +9 -9
  133. package/dist/components/common/icons/expand.js +60 -0
  134. package/dist/components/common/icons/eye-seen.d.ts +9 -9
  135. package/dist/components/common/icons/eye-seen.js +60 -0
  136. package/dist/components/common/icons/eye-unseen.d.ts +9 -9
  137. package/dist/components/common/icons/eye-unseen.js +60 -0
  138. package/dist/components/common/icons/file-type.d.ts +8 -8
  139. package/dist/components/common/icons/file-type.js +52 -0
  140. package/dist/components/common/icons/file.d.ts +9 -9
  141. package/dist/components/common/icons/file.js +58 -0
  142. package/dist/components/common/icons/files.d.ts +9 -9
  143. package/dist/components/common/icons/files.js +58 -0
  144. package/dist/components/common/icons/filter-funnel.d.ts +9 -9
  145. package/dist/components/common/icons/filter-funnel.js +58 -0
  146. package/dist/components/common/icons/free-window.d.ts +11 -11
  147. package/dist/components/common/icons/free-window.js +51 -0
  148. package/dist/components/common/icons/gear.d.ts +9 -9
  149. package/dist/components/common/icons/gear.js +60 -0
  150. package/dist/components/common/icons/hash.d.ts +9 -9
  151. package/dist/components/common/icons/hash.js +58 -0
  152. package/dist/components/common/icons/histogram.d.ts +9 -9
  153. package/dist/components/common/icons/histogram.js +58 -0
  154. package/dist/components/common/icons/index.d.ts +78 -78
  155. package/dist/components/common/icons/index.js +551 -0
  156. package/dist/components/common/icons/info.d.ts +12 -12
  157. package/dist/components/common/icons/info.js +71 -0
  158. package/dist/components/common/icons/layers.d.ts +9 -9
  159. package/dist/components/common/icons/layers.js +58 -0
  160. package/dist/components/common/icons/left-arrow.d.ts +9 -9
  161. package/dist/components/common/icons/left-arrow.js +61 -0
  162. package/dist/components/common/icons/legend.d.ts +9 -9
  163. package/dist/components/common/icons/legend.js +58 -0
  164. package/dist/components/common/icons/line-chart.d.ts +9 -9
  165. package/dist/components/common/icons/line-chart.js +58 -0
  166. package/dist/components/common/icons/login.d.ts +9 -9
  167. package/dist/components/common/icons/login.js +61 -0
  168. package/dist/components/common/icons/logout.d.ts +9 -9
  169. package/dist/components/common/icons/logout.js +60 -0
  170. package/dist/components/common/icons/map-icon.d.ts +11 -11
  171. package/dist/components/common/icons/map-icon.js +65 -0
  172. package/dist/components/common/icons/map.d.ts +11 -11
  173. package/dist/components/common/icons/map.js +65 -0
  174. package/dist/components/common/icons/messages.d.ts +9 -9
  175. package/dist/components/common/icons/messages.js +58 -0
  176. package/dist/components/common/icons/minus.d.ts +9 -9
  177. package/dist/components/common/icons/minus.js +58 -0
  178. package/dist/components/common/icons/order-by-dataset.d.ts +12 -12
  179. package/dist/components/common/icons/order-by-dataset.js +51 -0
  180. package/dist/components/common/icons/order-by-list.d.ts +12 -12
  181. package/dist/components/common/icons/order-by-list.js +43 -0
  182. package/dist/components/common/icons/pause.d.ts +9 -9
  183. package/dist/components/common/icons/pause.js +58 -0
  184. package/dist/components/common/icons/picture.d.ts +9 -9
  185. package/dist/components/common/icons/picture.js +58 -0
  186. package/dist/components/common/icons/pin.d.ts +9 -9
  187. package/dist/components/common/icons/pin.js +62 -0
  188. package/dist/components/common/icons/play.d.ts +9 -9
  189. package/dist/components/common/icons/play.js +58 -0
  190. package/dist/components/common/icons/polygon.d.ts +10 -10
  191. package/dist/components/common/icons/polygon.js +80 -0
  192. package/dist/components/common/icons/rectangle.d.ts +10 -10
  193. package/dist/components/common/icons/rectangle.js +81 -0
  194. package/dist/components/common/icons/reduce.d.ts +9 -9
  195. package/dist/components/common/icons/reduce.js +61 -0
  196. package/dist/components/common/icons/reset.d.ts +9 -9
  197. package/dist/components/common/icons/reset.js +58 -0
  198. package/dist/components/common/icons/rocket.d.ts +9 -9
  199. package/dist/components/common/icons/rocket.js +58 -0
  200. package/dist/components/common/icons/save.d.ts +9 -9
  201. package/dist/components/common/icons/save.js +60 -0
  202. package/dist/components/common/icons/save2.d.ts +9 -9
  203. package/dist/components/common/icons/save2.js +64 -0
  204. package/dist/components/common/icons/search.d.ts +9 -9
  205. package/dist/components/common/icons/search.js +60 -0
  206. package/dist/components/common/icons/settings.d.ts +9 -9
  207. package/dist/components/common/icons/settings.js +60 -0
  208. package/dist/components/common/icons/share.d.ts +9 -9
  209. package/dist/components/common/icons/share.js +58 -0
  210. package/dist/components/common/icons/split.d.ts +9 -9
  211. package/dist/components/common/icons/split.js +86 -0
  212. package/dist/components/common/icons/square-select.d.ts +9 -9
  213. package/dist/components/common/icons/square-select.js +60 -0
  214. package/dist/components/common/icons/swap-horizontal.js +66 -0
  215. package/dist/components/common/icons/table.d.ts +9 -9
  216. package/dist/components/common/icons/table.js +58 -0
  217. package/dist/components/common/icons/trash.d.ts +9 -9
  218. package/dist/components/common/icons/trash.js +60 -0
  219. package/dist/components/common/icons/upload.d.ts +9 -9
  220. package/dist/components/common/icons/upload.js +58 -0
  221. package/dist/components/common/icons/vert-dots.d.ts +9 -9
  222. package/dist/components/common/icons/vert-dots.js +96 -0
  223. package/dist/components/common/icons/vert-three-dots.d.ts +9 -9
  224. package/dist/components/common/icons/vert-three-dots.js +71 -0
  225. package/dist/components/common/icons/warning.d.ts +10 -10
  226. package/dist/components/common/icons/warning.js +72 -0
  227. package/dist/components/common/image-preview.d.ts +15 -15
  228. package/dist/components/common/image-preview.js +79 -0
  229. package/dist/components/common/info-helper.d.ts +11 -11
  230. package/dist/components/common/info-helper.js +79 -0
  231. package/dist/components/common/item-selector/accessor.d.ts +7 -7
  232. package/dist/components/common/item-selector/accessor.js +54 -0
  233. package/dist/components/common/item-selector/chickleted-input.d.ts +21 -21
  234. package/dist/components/common/item-selector/chickleted-input.js +96 -0
  235. package/dist/components/common/item-selector/dropdown-list.d.ts +68 -68
  236. package/dist/components/common/item-selector/dropdown-list.js +279 -0
  237. package/dist/components/common/item-selector/item-selector-submenu.js +88 -0
  238. package/dist/components/common/item-selector/item-selector.d.ts +91 -91
  239. package/dist/components/common/item-selector/item-selector.js +282 -0
  240. package/dist/components/common/item-selector/typeahead.d.ts +115 -115
  241. package/dist/components/common/item-selector/typeahead.js +425 -0
  242. package/dist/components/common/line-chart.d.ts +34 -34
  243. package/dist/components/common/line-chart.js +127 -0
  244. package/dist/components/common/loading-spinner.d.ts +9 -9
  245. package/dist/components/common/loading-spinner.js +64 -0
  246. package/dist/components/common/logo.d.ts +8 -8
  247. package/dist/components/common/logo.js +85 -0
  248. package/dist/components/common/map-layer-selector.d.ts +13 -13
  249. package/dist/components/common/map-layer-selector.js +56 -0
  250. package/dist/components/common/modal.d.ts +49 -49
  251. package/dist/components/common/modal.js +165 -0
  252. package/dist/components/common/portaled.d.ts +527 -527
  253. package/dist/components/common/portaled.js +277 -0
  254. package/dist/components/common/progress-bar.d.ts +12 -12
  255. package/dist/components/common/progress-bar.js +64 -0
  256. package/dist/components/common/range-brush.d.ts +19 -19
  257. package/dist/components/common/range-brush.js +277 -0
  258. package/dist/components/common/range-plot.d.ts +35 -35
  259. package/dist/components/common/range-plot.js +130 -0
  260. package/dist/components/common/range-slider.d.ts +32 -32
  261. package/dist/components/common/range-slider.js +305 -0
  262. package/dist/components/common/slider/mouse-event.d.ts +27 -27
  263. package/dist/components/common/slider/mouse-event.js +115 -0
  264. package/dist/components/common/slider/slider-bar-handle.d.ts +29 -29
  265. package/dist/components/common/slider/slider-bar-handle.js +105 -0
  266. package/dist/components/common/slider/slider-handle.d.ts +33 -33
  267. package/dist/components/common/slider/slider-handle.js +151 -0
  268. package/dist/components/common/slider/slider.d.ts +70 -70
  269. package/dist/components/common/slider/slider.js +221 -0
  270. package/dist/components/common/styled-components.d.ts +119 -119
  271. package/dist/components/common/styled-components.js +300 -0
  272. package/dist/components/common/switch.d.ts +16 -16
  273. package/dist/components/common/switch.js +38 -0
  274. package/dist/components/common/time-range-slider-time-title.d.ts +9 -9
  275. package/dist/components/common/time-range-slider-time-title.js +79 -0
  276. package/dist/components/common/time-range-slider.d.ts +32 -32
  277. package/dist/components/common/time-range-slider.js +116 -0
  278. package/dist/components/common/time-slider-marker.d.ts +21 -21
  279. package/dist/components/common/time-slider-marker.js +136 -0
  280. package/dist/components/common/tippy-tooltip.d.ts +4 -4
  281. package/dist/components/common/tippy-tooltip.js +115 -0
  282. package/dist/components/common/toolbar-item.d.ts +14 -14
  283. package/dist/components/common/toolbar-item.js +75 -0
  284. package/dist/components/common/toolbar.d.ts +5 -5
  285. package/dist/components/common/toolbar.js +44 -0
  286. package/dist/components/common/vertical-toolbar.d.ts +3 -3
  287. package/dist/components/common/vertical-toolbar.js +33 -0
  288. package/dist/components/container.d.ts +39 -39
  289. package/dist/components/container.js +203 -0
  290. package/dist/components/context.d.ts +7 -7
  291. package/dist/components/context.js +38 -0
  292. package/dist/components/editor/constants.d.ts +17 -17
  293. package/dist/components/editor/constants.js +45 -0
  294. package/dist/components/editor/editor.d.ts +29 -29
  295. package/dist/components/editor/editor.js +226 -0
  296. package/dist/components/editor/feature-action-panel.d.ts +27 -27
  297. package/dist/components/editor/feature-action-panel.js +141 -0
  298. package/dist/components/editor/feature-styles.d.ts +24 -24
  299. package/dist/components/editor/feature-styles.js +67 -0
  300. package/dist/components/editor/handle-style.d.ts +38 -38
  301. package/dist/components/editor/handle-style.js +78 -0
  302. package/dist/components/filters/components.d.ts +1 -3
  303. package/dist/components/filters/components.js +31 -0
  304. package/dist/components/filters/filter-panels/filter-panel-with-field-select.d.ts +10 -10
  305. package/dist/components/filters/filter-panels/filter-panel-with-field-select.js +96 -0
  306. package/dist/components/filters/filter-panels/multi-select-filter-panel.d.ts +9 -9
  307. package/dist/components/filters/filter-panels/multi-select-filter-panel.js +66 -0
  308. package/dist/components/filters/filter-panels/new-filter-panel.d.ts +12 -12
  309. package/dist/components/filters/filter-panels/new-filter-panel.js +85 -0
  310. package/dist/components/filters/filter-panels/polygon-filter-panel.d.ts +9 -9
  311. package/dist/components/filters/filter-panels/polygon-filter-panel.js +85 -0
  312. package/dist/components/filters/filter-panels/range-filter-panel.d.ts +9 -9
  313. package/dist/components/filters/filter-panels/range-filter-panel.js +66 -0
  314. package/dist/components/filters/filter-panels/single-select-filter-panel.d.ts +9 -9
  315. package/dist/components/filters/filter-panels/single-select-filter-panel.js +66 -0
  316. package/dist/components/filters/filter-panels/time-range-filter-panel.d.ts +8 -8
  317. package/dist/components/filters/filter-panels/time-range-filter-panel.js +80 -0
  318. package/dist/components/filters/filter-panels/types.d.ts +36 -36
  319. package/dist/components/filters/filter-panels/types.js +6 -0
  320. package/dist/components/filters/index.d.ts +5 -5
  321. package/dist/components/filters/index.js +42 -0
  322. package/dist/components/filters/multi-select-filter.d.ts +3 -3
  323. package/dist/components/filters/multi-select-filter.js +48 -0
  324. package/dist/components/filters/polygon-filter.d.ts +4 -4
  325. package/dist/components/filters/polygon-filter.js +85 -0
  326. package/dist/components/filters/range-filter.d.ts +8 -8
  327. package/dist/components/filters/range-filter.js +48 -0
  328. package/dist/components/filters/single-select-filter.d.ts +3 -3
  329. package/dist/components/filters/single-select-filter.js +57 -0
  330. package/dist/components/filters/time-range-filter.d.ts +28 -28
  331. package/dist/components/filters/time-range-filter.js +75 -0
  332. package/dist/components/filters/time-widget.d.ts +14 -14
  333. package/dist/components/filters/time-widget.js +162 -0
  334. package/dist/components/filters/types.d.ts +53 -53
  335. package/dist/components/filters/types.js +6 -0
  336. package/dist/components/geocoder/geocoder.d.ts +33 -33
  337. package/dist/components/geocoder/geocoder.js +282 -0
  338. package/dist/components/geocoder-panel.d.ts +28 -28
  339. package/dist/components/geocoder-panel.js +192 -0
  340. package/dist/components/index.d.ts +165 -165
  341. package/dist/components/index.js +1474 -0
  342. package/dist/components/injector.d.ts +25 -25
  343. package/dist/components/injector.js +162 -0
  344. package/dist/components/kepler-gl.d.ts +302 -302
  345. package/dist/components/kepler-gl.js +487 -0
  346. package/dist/components/map/coordinate-info.d.ts +7 -7
  347. package/dist/components/map/coordinate-info.js +59 -0
  348. package/dist/components/map/layer-hover-info.d.ts +13 -13
  349. package/dist/components/map/layer-hover-info.js +167 -0
  350. package/dist/components/map/layer-selector-panel.d.ts +22 -22
  351. package/dist/components/map/layer-selector-panel.js +103 -0
  352. package/dist/components/map/locale-panel.d.ts +16 -16
  353. package/dist/components/map/locale-panel.js +103 -0
  354. package/dist/components/map/map-control-panel.d.ts +14 -14
  355. package/dist/components/map/map-control-panel.js +97 -0
  356. package/dist/components/map/map-control-toolbar.d.ts +2 -2
  357. package/dist/components/map/map-control-toolbar.js +35 -0
  358. package/dist/components/map/map-control-tooltip.d.ts +7 -7
  359. package/dist/components/map/map-control-tooltip.js +48 -0
  360. package/dist/components/map/map-control.d.ts +44 -44
  361. package/dist/components/map/map-control.js +79 -0
  362. package/dist/components/map/map-draw-panel.d.ts +21 -21
  363. package/dist/components/map/map-draw-panel.js +131 -0
  364. package/dist/components/map/map-legend-panel.d.ts +23 -23
  365. package/dist/components/map/map-legend-panel.js +152 -0
  366. package/dist/components/map/map-legend.d.ts +55 -55
  367. package/dist/components/map/map-legend.js +234 -0
  368. package/dist/components/map/map-popover.d.ts +37 -37
  369. package/dist/components/map/map-popover.js +191 -0
  370. package/dist/components/map/split-map-button.d.ts +19 -19
  371. package/dist/components/map/split-map-button.js +89 -0
  372. package/dist/components/map/toggle-3d-button.d.ts +16 -16
  373. package/dist/components/map/toggle-3d-button.js +79 -0
  374. package/dist/components/map-container.d.ts +58 -58
  375. package/dist/components/map-container.js +502 -0
  376. package/dist/components/maps-layout.d.ts +10 -10
  377. package/dist/components/maps-layout.js +57 -0
  378. package/dist/components/modal-container.d.ts +65 -65
  379. package/dist/components/modal-container.js +459 -0
  380. package/dist/components/modals/add-map-style-modal.d.ts +17 -17
  381. package/dist/components/modals/add-map-style-modal.js +250 -0
  382. package/dist/components/modals/cloud-tile.d.ts +15 -15
  383. package/dist/components/modals/cloud-tile.js +124 -0
  384. package/dist/components/modals/data-table-modal.d.ts +29 -29
  385. package/dist/components/modals/data-table-modal.js +223 -0
  386. package/dist/components/modals/delete-data-modal.d.ts +10 -10
  387. package/dist/components/modals/delete-data-modal.js +58 -0
  388. package/dist/components/modals/error-display.d.ts +6 -6
  389. package/dist/components/modals/error-display.js +44 -0
  390. package/dist/components/modals/export-data-modal.d.ts +25 -25
  391. package/dist/components/modals/export-data-modal.js +194 -0
  392. package/dist/components/modals/export-image-modal.d.ts +18 -18
  393. package/dist/components/modals/export-image-modal.js +139 -0
  394. package/dist/components/modals/export-map-modal/components.d.ts +8 -8
  395. package/dist/components/modals/export-map-modal/components.js +51 -0
  396. package/dist/components/modals/export-map-modal/export-html-map.d.ts +12 -12
  397. package/dist/components/modals/export-map-modal/export-html-map.js +140 -0
  398. package/dist/components/modals/export-map-modal/export-json-map.d.ts +9 -9
  399. package/dist/components/modals/export-map-modal/export-json-map.js +98 -0
  400. package/dist/components/modals/export-map-modal/export-map-modal.d.ts +27 -27
  401. package/dist/components/modals/export-map-modal/export-map-modal.js +101 -0
  402. package/dist/components/modals/image-modal-container.d.ts +18 -18
  403. package/dist/components/modals/image-modal-container.js +83 -0
  404. package/dist/components/modals/load-data-modal.d.ts +33 -33
  405. package/dist/components/modals/load-data-modal.js +93 -0
  406. package/dist/components/modals/load-storage-map.d.ts +26 -26
  407. package/dist/components/modals/load-storage-map.js +251 -0
  408. package/dist/components/modals/loading-dialog.d.ts +7 -7
  409. package/dist/components/modals/loading-dialog.js +54 -0
  410. package/dist/components/modals/modal-dialog.d.ts +2 -2
  411. package/dist/components/modals/modal-dialog.js +33 -0
  412. package/dist/components/modals/modal-tabs.d.ts +27 -27
  413. package/dist/components/modals/modal-tabs.js +99 -0
  414. package/dist/components/modals/overwrite-map-modal.d.ts +16 -16
  415. package/dist/components/modals/overwrite-map-modal.js +81 -0
  416. package/dist/components/modals/provider-modal-container.d.ts +23 -23
  417. package/dist/components/modals/provider-modal-container.js +79 -0
  418. package/dist/components/modals/save-map-modal.d.ts +29 -29
  419. package/dist/components/modals/save-map-modal.js +201 -0
  420. package/dist/components/modals/share-map-modal.d.ts +30 -30
  421. package/dist/components/modals/share-map-modal.js +188 -0
  422. package/dist/components/modals/status-panel.d.ts +13 -13
  423. package/dist/components/modals/status-panel.js +82 -0
  424. package/dist/components/modals/storage-map-viewer.d.ts +21 -21
  425. package/dist/components/modals/storage-map-viewer.js +115 -0
  426. package/dist/components/notification-panel/notification-item.d.ts +66 -66
  427. package/dist/components/notification-panel/notification-item.js +139 -0
  428. package/dist/components/notification-panel.d.ts +61 -61
  429. package/dist/components/notification-panel.js +74 -0
  430. package/dist/components/performance.d.ts +4 -4
  431. package/dist/components/performance.js +110 -0
  432. package/dist/components/plot-container.d.ts +24 -24
  433. package/dist/components/plot-container.js +240 -0
  434. package/dist/components/side-panel/cloud-storage-dropdown.d.ts +6 -6
  435. package/dist/components/side-panel/cloud-storage-dropdown.js +57 -0
  436. package/dist/components/side-panel/common/dataset-info.d.ts +3 -3
  437. package/dist/components/side-panel/common/dataset-info.js +50 -0
  438. package/dist/components/side-panel/common/dataset-tag.d.ts +3 -3
  439. package/dist/components/side-panel/common/dataset-tag.js +75 -0
  440. package/dist/components/side-panel/common/dataset-title.d.ts +8 -8
  441. package/dist/components/side-panel/common/dataset-title.js +185 -0
  442. package/dist/components/side-panel/common/source-data-catalog.d.ts +9 -9
  443. package/dist/components/side-panel/common/source-data-catalog.js +66 -0
  444. package/dist/components/side-panel/common/source-data-selector.d.ts +8 -8
  445. package/dist/components/side-panel/common/source-data-selector.js +119 -0
  446. package/dist/components/side-panel/common/types.d.ts +58 -58
  447. package/dist/components/side-panel/common/types.js +6 -0
  448. package/dist/components/side-panel/custom-panel.d.ts +9 -9
  449. package/dist/components/side-panel/custom-panel.js +56 -0
  450. package/dist/components/side-panel/filter-manager.d.ts +20 -20
  451. package/dist/components/side-panel/filter-manager.js +113 -0
  452. package/dist/components/side-panel/filter-panel/filter-panel-header.d.ts +21 -21
  453. package/dist/components/side-panel/filter-panel/filter-panel-header.js +67 -0
  454. package/dist/components/side-panel/filter-panel/filter-panel.d.ts +23 -23
  455. package/dist/components/side-panel/filter-panel/filter-panel.js +110 -0
  456. package/dist/components/side-panel/interaction-manager.d.ts +14 -14
  457. package/dist/components/side-panel/interaction-manager.js +51 -0
  458. package/dist/components/side-panel/interaction-panel/brush-config.d.ts +15 -15
  459. package/dist/components/side-panel/interaction-panel/brush-config.js +58 -0
  460. package/dist/components/side-panel/interaction-panel/interaction-panel.d.ts +19 -19
  461. package/dist/components/side-panel/interaction-panel/interaction-panel.js +137 -0
  462. package/dist/components/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.d.ts +28 -28
  463. package/dist/components/side-panel/interaction-panel/tooltip-config/tooltip-chicklet.js +204 -0
  464. package/dist/components/side-panel/interaction-panel/tooltip-config.d.ts +38 -38
  465. package/dist/components/side-panel/interaction-panel/tooltip-config.js +155 -0
  466. package/dist/components/side-panel/layer-manager.d.ts +46 -46
  467. package/dist/components/side-panel/layer-manager.js +185 -0
  468. package/dist/components/side-panel/layer-panel/add-layer-button.d.ts +10 -10
  469. package/dist/components/side-panel/layer-panel/add-layer-button.js +147 -0
  470. package/dist/components/side-panel/layer-panel/color-dimension-scale-selector.d.ts +8 -8
  471. package/dist/components/side-panel/layer-panel/color-dimension-scale-selector.js +38 -0
  472. package/dist/components/side-panel/layer-panel/color-palette.d.ts +13 -13
  473. package/dist/components/side-panel/layer-panel/color-palette.js +79 -0
  474. package/dist/components/side-panel/layer-panel/color-range-selector.d.ts +129 -129
  475. package/dist/components/side-panel/layer-panel/color-range-selector.js +329 -0
  476. package/dist/components/side-panel/layer-panel/color-selector.d.ts +101 -101
  477. package/dist/components/side-panel/layer-panel/color-selector.js +177 -0
  478. package/dist/components/side-panel/layer-panel/column-selector.d.ts +22 -22
  479. package/dist/components/side-panel/layer-panel/column-selector.js +66 -0
  480. package/dist/components/side-panel/layer-panel/custom-markers-config-group.d.ts +6 -6
  481. package/dist/components/side-panel/layer-panel/custom-markers-config-group.js +36 -0
  482. package/dist/components/side-panel/layer-panel/custom-palette.d.ts +38 -38
  483. package/dist/components/side-panel/layer-panel/custom-palette.js +278 -0
  484. package/dist/components/side-panel/layer-panel/custom-picker.d.ts +67 -67
  485. package/dist/components/side-panel/layer-panel/custom-picker.js +106 -0
  486. package/dist/components/side-panel/layer-panel/dataset-layer-group.d.ts +24 -24
  487. package/dist/components/side-panel/layer-panel/dataset-layer-group.js +81 -0
  488. package/dist/components/side-panel/layer-panel/dataset-layer-section.d.ts +25 -25
  489. package/dist/components/side-panel/layer-panel/dataset-layer-section.js +74 -0
  490. package/dist/components/side-panel/layer-panel/dataset-section.d.ts +26 -26
  491. package/dist/components/side-panel/layer-panel/dataset-section.js +91 -0
  492. package/dist/components/side-panel/layer-panel/dimension-scale-selector.d.ts +10 -10
  493. package/dist/components/side-panel/layer-panel/dimension-scale-selector.js +53 -0
  494. package/dist/components/side-panel/layer-panel/hex-column-config.d.ts +62 -62
  495. package/dist/components/side-panel/layer-panel/hex-column-config.js +74 -0
  496. package/dist/components/side-panel/layer-panel/layer-aggregation-resolution.d.ts +8 -8
  497. package/dist/components/side-panel/layer-panel/layer-aggregation-resolution.js +18 -0
  498. package/dist/components/side-panel/layer-panel/layer-column-config.d.ts +20 -20
  499. package/dist/components/side-panel/layer-panel/layer-column-config.js +86 -0
  500. package/dist/components/side-panel/layer-panel/layer-config-group.d.ts +37 -37
  501. package/dist/components/side-panel/layer-panel/layer-config-group.js +209 -0
  502. package/dist/components/side-panel/layer-panel/layer-configurator.d.ts +415 -415
  503. package/dist/components/side-panel/layer-panel/layer-configurator.js +977 -0
  504. package/dist/components/side-panel/layer-panel/layer-list.d.ts +20 -20
  505. package/dist/components/side-panel/layer-panel/layer-list.js +168 -0
  506. package/dist/components/side-panel/layer-panel/layer-panel-header.d.ts +43 -43
  507. package/dist/components/side-panel/layer-panel/layer-panel-header.js +194 -0
  508. package/dist/components/side-panel/layer-panel/layer-panel.d.ts +40 -40
  509. package/dist/components/side-panel/layer-panel/layer-panel.js +161 -0
  510. package/dist/components/side-panel/layer-panel/layer-type-dropdown-list.d.ts +17 -17
  511. package/dist/components/side-panel/layer-panel/layer-type-dropdown-list.js +95 -0
  512. package/dist/components/side-panel/layer-panel/layer-type-list-item.d.ts +11 -11
  513. package/dist/components/side-panel/layer-panel/layer-type-list-item.js +75 -0
  514. package/dist/components/side-panel/layer-panel/layer-type-selector.d.ts +23 -23
  515. package/dist/components/side-panel/layer-panel/layer-type-selector.js +87 -0
  516. package/dist/components/side-panel/layer-panel/layer-visibility-by-zoom.d.ts +23 -23
  517. package/dist/components/side-panel/layer-panel/layer-visibility-by-zoom.js +106 -0
  518. package/dist/components/side-panel/layer-panel/panel-view-list-toggle.d.ts +36 -36
  519. package/dist/components/side-panel/layer-panel/panel-view-list-toggle.js +116 -0
  520. package/dist/components/side-panel/layer-panel/single-color-palette.d.ts +12 -12
  521. package/dist/components/side-panel/layer-panel/single-color-palette.js +68 -0
  522. package/dist/components/side-panel/layer-panel/text-label-panel.d.ts +18 -18
  523. package/dist/components/side-panel/layer-panel/text-label-panel.js +157 -0
  524. package/dist/components/side-panel/layer-panel/vis-config-by-field-selector.d.ts +35 -35
  525. package/dist/components/side-panel/layer-panel/vis-config-by-field-selector.js +148 -0
  526. package/dist/components/side-panel/layer-panel/vis-config-slider.d.ts +20 -20
  527. package/dist/components/side-panel/layer-panel/vis-config-slider.js +177 -0
  528. package/dist/components/side-panel/layer-panel/vis-config-switch.d.ts +16 -16
  529. package/dist/components/side-panel/layer-panel/vis-config-switch.js +73 -0
  530. package/dist/components/side-panel/map-manager.d.ts +21 -21
  531. package/dist/components/side-panel/map-manager.js +133 -0
  532. package/dist/components/side-panel/map-style-panel/map-layer-selector.d.ts +19 -19
  533. package/dist/components/side-panel/map-style-panel/map-layer-selector.js +103 -0
  534. package/dist/components/side-panel/map-style-panel/map-style-selector.d.ts +16 -16
  535. package/dist/components/side-panel/map-style-panel/map-style-selector.js +80 -0
  536. package/dist/components/side-panel/panel-dropdown.d.ts +18 -18
  537. package/dist/components/side-panel/panel-dropdown.js +71 -0
  538. package/dist/components/side-panel/panel-header-action.d.ts +20 -20
  539. package/dist/components/side-panel/panel-header-action.js +103 -0
  540. package/dist/components/side-panel/panel-header.d.ts +78 -78
  541. package/dist/components/side-panel/panel-header.js +301 -0
  542. package/dist/components/side-panel/panel-tab.d.ts +20 -20
  543. package/dist/components/side-panel/panel-tab.js +72 -0
  544. package/dist/components/side-panel/panel-title.d.ts +4 -4
  545. package/dist/components/side-panel/panel-title.js +44 -0
  546. package/dist/components/side-panel/panel-toggle.d.ts +14 -14
  547. package/dist/components/side-panel/panel-toggle.js +65 -0
  548. package/dist/components/side-panel/side-bar.d.ts +76 -76
  549. package/dist/components/side-panel/side-bar.js +140 -0
  550. package/dist/components/side-panel.d.ts +134 -134
  551. package/dist/components/side-panel.js +235 -0
  552. package/dist/components/types.d.ts +44 -44
  553. package/dist/components/types.js +6 -0
  554. package/dist/connect/keplergl-connect.d.ts +5 -5
  555. package/dist/connect/keplergl-connect.js +59 -0
  556. package/dist/connect/with-local-selector.d.ts +6 -6
  557. package/dist/connect/with-local-selector.js +102 -0
  558. package/dist/constants/action-types.d.ts +111 -111
  559. package/dist/constants/action-types.js +184 -0
  560. package/dist/constants/color-palette.d.ts +491 -491
  561. package/dist/constants/color-palette.js +536 -0
  562. package/dist/constants/color-ranges.d.ts +24 -24
  563. package/dist/constants/color-ranges.js +83 -0
  564. package/dist/constants/custom-color-ranges.d.ts +37 -37
  565. package/dist/constants/custom-color-ranges.js +410 -0
  566. package/dist/constants/default-settings.d.ts +773 -773
  567. package/dist/constants/default-settings.js +832 -0
  568. package/dist/constants/index.d.ts +9 -9
  569. package/dist/constants/index.js +387 -0
  570. package/dist/constants/keyevent.d.ts +2 -2
  571. package/dist/constants/keyevent.js +43 -0
  572. package/dist/constants/tooltip.d.ts +165 -165
  573. package/dist/constants/tooltip.js +202 -0
  574. package/dist/constants/user-feedbacks.d.ts +5 -5
  575. package/dist/constants/user-feedbacks.js +32 -0
  576. package/dist/constants/user-guides.d.ts +9 -9
  577. package/dist/constants/user-guides.js +36 -0
  578. package/dist/deckgl-layers/3d-building-layer/3d-building-layer.d.ts +13 -13
  579. package/dist/deckgl-layers/3d-building-layer/3d-building-layer.js +92 -0
  580. package/dist/deckgl-layers/3d-building-layer/3d-building-utils.d.ts +7 -7
  581. package/dist/deckgl-layers/3d-building-layer/3d-building-utils.js +181 -0
  582. package/dist/deckgl-layers/3d-building-layer/types.d.ts +37 -0
  583. package/dist/deckgl-layers/3d-building-layer/types.js +6 -0
  584. package/dist/deckgl-layers/cluster-layer/cluster-layer.js +312 -0
  585. package/dist/deckgl-layers/column-layer/enhanced-column-layer.d.ts +6 -6
  586. package/dist/deckgl-layers/column-layer/enhanced-column-layer.js +75 -0
  587. package/dist/deckgl-layers/grid-layer/enhanced-cpu-grid-layer.d.ts +13 -13
  588. package/dist/deckgl-layers/grid-layer/enhanced-cpu-grid-layer.js +96 -0
  589. package/dist/deckgl-layers/hexagon-layer/enhanced-hexagon-layer.d.ts +13 -13
  590. package/dist/deckgl-layers/hexagon-layer/enhanced-hexagon-layer.js +96 -0
  591. package/dist/deckgl-layers/layer-utils/cluster-utils.js +107 -0
  592. package/dist/deckgl-layers/layer-utils/cpu-aggregator.d.ts +91 -91
  593. package/dist/deckgl-layers/layer-utils/cpu-aggregator.js +585 -0
  594. package/dist/deckgl-layers/layer-utils/shader-utils.d.ts +1 -1
  595. package/dist/deckgl-layers/layer-utils/shader-utils.js +46 -0
  596. package/dist/deckgl-layers/line-layer/line-layer.d.ts +12 -12
  597. package/dist/deckgl-layers/line-layer/line-layer.js +106 -0
  598. package/dist/deckgl-layers/svg-icon-layer/scatterplot-icon-layer.d.ts +8 -8
  599. package/dist/deckgl-layers/svg-icon-layer/scatterplot-icon-layer.js +80 -0
  600. package/dist/deckgl-layers/svg-icon-layer/svg-icon-layer.d.ts +18 -18
  601. package/dist/deckgl-layers/svg-icon-layer/svg-icon-layer.js +123 -0
  602. package/dist/index.d.ts +11 -11
  603. package/dist/index.js +179 -0
  604. package/dist/layers/aggregation-layer.d.ts +70 -70
  605. package/dist/layers/aggregation-layer.js +392 -0
  606. package/dist/layers/arc-layer/arc-layer-icon.d.ts +16 -16
  607. package/dist/layers/arc-layer/arc-layer-icon.js +76 -0
  608. package/dist/layers/arc-layer/arc-layer.d.ts +143 -143
  609. package/dist/layers/arc-layer/arc-layer.js +252 -0
  610. package/dist/layers/base-layer.d.ts +436 -436
  611. package/dist/layers/base-layer.js +1703 -0
  612. package/dist/layers/cluster-layer/cluster-layer-icon.d.ts +16 -16
  613. package/dist/layers/cluster-layer/cluster-layer-icon.js +79 -0
  614. package/dist/layers/cluster-layer/cluster-layer.d.ts +39 -39
  615. package/dist/layers/cluster-layer/cluster-layer.js +139 -0
  616. package/dist/layers/default-layer-icon.d.ts +14 -14
  617. package/dist/layers/default-layer-icon.js +86 -0
  618. package/dist/layers/geojson-layer/geojson-layer-icon.d.ts +15 -15
  619. package/dist/layers/geojson-layer/geojson-layer-icon.js +90 -0
  620. package/dist/layers/geojson-layer/geojson-layer.d.ts +227 -230
  621. package/dist/layers/geojson-layer/geojson-layer.js +423 -0
  622. package/dist/layers/geojson-layer/geojson-utils.d.ts +44 -44
  623. package/dist/layers/geojson-layer/geojson-utils.js +184 -0
  624. package/dist/layers/grid-layer/grid-layer-icon.d.ts +15 -15
  625. package/dist/layers/grid-layer/grid-layer-icon.js +135 -0
  626. package/dist/layers/grid-layer/grid-layer.d.ts +74 -74
  627. package/dist/layers/grid-layer/grid-layer.js +104 -0
  628. package/dist/layers/grid-layer/grid-utils.d.ts +24 -24
  629. package/dist/layers/grid-layer/grid-utils.js +59 -0
  630. package/dist/layers/h3-hexagon-layer/h3-hexagon-layer-icon.d.ts +16 -16
  631. package/dist/layers/h3-hexagon-layer/h3-hexagon-layer-icon.js +70 -0
  632. package/dist/layers/h3-hexagon-layer/h3-hexagon-layer.d.ts +170 -170
  633. package/dist/layers/h3-hexagon-layer/h3-hexagon-layer.js +321 -0
  634. package/dist/layers/h3-hexagon-layer/h3-utils.d.ts +20 -20
  635. package/dist/layers/h3-hexagon-layer/h3-utils.js +86 -0
  636. package/dist/layers/heatmap-layer/heatmap-layer-icon.d.ts +15 -15
  637. package/dist/layers/heatmap-layer/heatmap-layer-icon.js +87 -0
  638. package/dist/layers/heatmap-layer/heatmap-layer.d.ts +144 -144
  639. package/dist/layers/heatmap-layer/heatmap-layer.js +236 -0
  640. package/dist/layers/hexagon-layer/hexagon-layer-icon.d.ts +15 -15
  641. package/dist/layers/hexagon-layer/hexagon-layer-icon.js +99 -0
  642. package/dist/layers/hexagon-layer/hexagon-layer.d.ts +78 -78
  643. package/dist/layers/hexagon-layer/hexagon-layer.js +108 -0
  644. package/dist/layers/hexagon-layer/hexagon-utils.d.ts +7 -7
  645. package/dist/layers/hexagon-layer/hexagon-utils.js +62 -0
  646. package/dist/layers/icon-layer/icon-info-modal.d.ts +3 -3
  647. package/dist/layers/icon-layer/icon-info-modal.js +115 -0
  648. package/dist/layers/icon-layer/icon-layer-icon.d.ts +15 -15
  649. package/dist/layers/icon-layer/icon-layer-icon.js +72 -0
  650. package/dist/layers/icon-layer/icon-layer.d.ts +119 -119
  651. package/dist/layers/icon-layer/icon-layer.js +366 -0
  652. package/dist/layers/index.d.ts +53 -53
  653. package/dist/layers/index.js +105 -0
  654. package/dist/layers/layer-factory.d.ts +150 -150
  655. package/dist/layers/layer-factory.js +517 -0
  656. package/dist/layers/layer-text-label.d.ts +7 -7
  657. package/dist/layers/layer-text-label.js +60 -0
  658. package/dist/layers/layer-update.d.ts +9 -9
  659. package/dist/layers/layer-update.js +73 -0
  660. package/dist/layers/line-layer/line-layer-icon.d.ts +15 -15
  661. package/dist/layers/line-layer/line-layer-icon.js +78 -0
  662. package/dist/layers/line-layer/line-layer.d.ts +136 -136
  663. package/dist/layers/line-layer/line-layer.js +191 -0
  664. package/dist/layers/mapbox-utils.d.ts +57 -57
  665. package/dist/layers/mapbox-utils.js +186 -0
  666. package/dist/layers/mapboxgl-layer.d.ts +87 -87
  667. package/dist/layers/mapboxgl-layer.js +201 -0
  668. package/dist/layers/point-layer/point-layer-icon.d.ts +15 -15
  669. package/dist/layers/point-layer/point-layer-icon.js +93 -0
  670. package/dist/layers/point-layer/point-layer.d.ts +272 -272
  671. package/dist/layers/point-layer/point-layer.js +457 -0
  672. package/dist/layers/s2-geometry-layer/s2-geometry-layer.d.ts +189 -189
  673. package/dist/layers/s2-geometry-layer/s2-geometry-layer.js +306 -0
  674. package/dist/layers/s2-geometry-layer/s2-layer-icon.d.ts +15 -15
  675. package/dist/layers/s2-geometry-layer/s2-layer-icon.js +69 -0
  676. package/dist/layers/s2-geometry-layer/s2-utils.d.ts +7 -7
  677. package/dist/layers/s2-geometry-layer/s2-utils.js +51 -0
  678. package/dist/layers/scenegraph-layer/scenegraph-info-modal.d.ts +3 -3
  679. package/dist/layers/scenegraph-layer/scenegraph-info-modal.js +54 -0
  680. package/dist/layers/scenegraph-layer/scenegraph-layer-icon.d.ts +15 -15
  681. package/dist/layers/scenegraph-layer/scenegraph-layer-icon.js +150 -0
  682. package/dist/layers/scenegraph-layer/scenegraph-layer.d.ts +80 -80
  683. package/dist/layers/scenegraph-layer/scenegraph-layer.js +230 -0
  684. package/dist/layers/trip-layer/trip-info-modal.d.ts +3 -3
  685. package/dist/layers/trip-layer/trip-info-modal.js +59 -0
  686. package/dist/layers/trip-layer/trip-layer-icon.d.ts +15 -15
  687. package/dist/layers/trip-layer/trip-layer-icon.js +88 -0
  688. package/dist/layers/trip-layer/trip-layer.d.ts +157 -157
  689. package/dist/layers/trip-layer/trip-layer.js +369 -0
  690. package/dist/layers/trip-layer/trip-utils.d.ts +31 -31
  691. package/dist/layers/trip-layer/trip-utils.js +180 -0
  692. package/dist/layers/types.d.ts +15 -15
  693. package/dist/layers/types.js +44 -0
  694. package/dist/localization/formatted-message.d.ts +12 -12
  695. package/dist/localization/formatted-message.js +39 -0
  696. package/dist/localization/index.d.ts +5 -5
  697. package/dist/localization/index.js +54 -0
  698. package/dist/localization/locales.d.ts +27 -27
  699. package/dist/localization/locales.js +59 -0
  700. package/dist/localization/messages.d.ts +4 -4
  701. package/dist/localization/messages.js +37 -0
  702. package/dist/localization/translations/ca.d.ts +438 -438
  703. package/dist/localization/translations/ca.js +466 -0
  704. package/dist/localization/translations/cn.d.ts +441 -441
  705. package/dist/localization/translations/cn.js +469 -0
  706. package/dist/localization/translations/en.d.ts +466 -466
  707. package/dist/localization/translations/en.js +494 -0
  708. package/dist/localization/translations/es.d.ts +438 -438
  709. package/dist/localization/translations/es.js +466 -0
  710. package/dist/localization/translations/fi.d.ts +410 -410
  711. package/dist/localization/translations/fi.js +438 -0
  712. package/dist/localization/translations/ja.d.ts +439 -439
  713. package/dist/localization/translations/ja.js +467 -0
  714. package/dist/localization/translations/pt.d.ts +410 -410
  715. package/dist/localization/translations/pt.js +438 -0
  716. package/dist/localization/translations/ru.d.ts +447 -447
  717. package/dist/localization/translations/ru.js +475 -0
  718. package/dist/middleware/index.d.ts +8 -8
  719. package/dist/middleware/index.js +44 -0
  720. package/dist/processors/data-processor.d.ts +242 -242
  721. package/dist/processors/data-processor.js +721 -0
  722. package/dist/processors/file-handler.d.ts +28 -28
  723. package/dist/processors/file-handler.js +357 -0
  724. package/dist/processors/index.d.ts +3 -3
  725. package/dist/processors/index.js +39 -0
  726. package/dist/processors/types.d.ts +21 -21
  727. package/dist/processors/types.js +6 -0
  728. package/dist/reducers/combined-updaters.d.ts +52 -52
  729. package/dist/reducers/combined-updaters.js +180 -0
  730. package/dist/reducers/composer-helpers.d.ts +21 -21
  731. package/dist/reducers/composer-helpers.js +111 -0
  732. package/dist/reducers/composers.d.ts +12 -12
  733. package/dist/reducers/composers.js +40 -0
  734. package/dist/reducers/core.d.ts +65 -65
  735. package/dist/reducers/core.js +119 -0
  736. package/dist/reducers/index.d.ts +19 -19
  737. package/dist/reducers/index.js +137 -0
  738. package/dist/reducers/map-state-updaters.d.ts +96 -96
  739. package/dist/reducers/map-state-updaters.js +220 -0
  740. package/dist/reducers/map-state.d.ts +4 -4
  741. package/dist/reducers/map-state.js +52 -0
  742. package/dist/reducers/map-style-updaters.d.ts +204 -204
  743. package/dist/reducers/map-style-updaters.js +473 -0
  744. package/dist/reducers/map-style.d.ts +16 -16
  745. package/dist/reducers/map-style.js +51 -0
  746. package/dist/reducers/provider-state-updaters.d.ts +41 -41
  747. package/dist/reducers/provider-state-updaters.js +421 -0
  748. package/dist/reducers/provider-state.d.ts +4 -4
  749. package/dist/reducers/provider-state.js +53 -0
  750. package/dist/reducers/root.d.ts +24 -24
  751. package/dist/reducers/root.js +212 -0
  752. package/dist/reducers/types.d.ts +16 -16
  753. package/dist/reducers/types.js +6 -0
  754. package/dist/reducers/ui-state-updaters.d.ts +433 -433
  755. package/dist/reducers/ui-state-updaters.js +744 -0
  756. package/dist/reducers/ui-state.d.ts +3 -3
  757. package/dist/reducers/ui-state.js +54 -0
  758. package/dist/reducers/vis-state-merger.d.ts +110 -110
  759. package/dist/reducers/vis-state-merger.js +569 -0
  760. package/dist/reducers/vis-state-selectors.d.ts +10 -10
  761. package/dist/reducers/vis-state-selectors.js +47 -0
  762. package/dist/reducers/vis-state-updaters.d.ts +645 -645
  763. package/dist/reducers/vis-state-updaters.js +2102 -0
  764. package/dist/reducers/vis-state.d.ts +4 -4
  765. package/dist/reducers/vis-state.js +53 -0
  766. package/dist/schemas/dataset-schema.d.ts +17 -17
  767. package/dist/schemas/dataset-schema.js +166 -0
  768. package/dist/schemas/index.d.ts +8 -8
  769. package/dist/schemas/index.js +125 -0
  770. package/dist/schemas/map-state-schema.d.ts +23 -23
  771. package/dist/schemas/map-state-schema.js +53 -0
  772. package/dist/schemas/map-style-schema.d.ts +38 -38
  773. package/dist/schemas/map-style-schema.js +106 -0
  774. package/dist/schemas/schema-manager.d.ts +271 -271
  775. package/dist/schemas/schema-manager.js +246 -0
  776. package/dist/schemas/schema-utils.d.ts +11 -11
  777. package/dist/schemas/schema-utils.js +58 -0
  778. package/dist/schemas/schema.d.ts +37 -37
  779. package/dist/schemas/schema.js +119 -0
  780. package/dist/schemas/versions.d.ts +5 -5
  781. package/dist/schemas/versions.js +34 -0
  782. package/dist/schemas/vis-state-schema.d.ts +214 -214
  783. package/dist/schemas/vis-state-schema.js +886 -0
  784. package/dist/styles/base.d.ts +1530 -1530
  785. package/dist/styles/base.js +1301 -0
  786. package/dist/styles/index.d.ts +2 -2
  787. package/dist/styles/index.js +28 -0
  788. package/dist/styles/media-breakpoints.d.ts +13 -13
  789. package/dist/styles/media-breakpoints.js +70 -0
  790. package/dist/tasks/tasks.d.ts +15 -15
  791. package/dist/tasks/tasks.js +94 -0
  792. package/dist/templates/export-map-html.d.ts +9 -9
  793. package/dist/templates/export-map-html.js +42 -0
  794. package/dist/utils/aggregate-utils.d.ts +3 -3
  795. package/dist/utils/aggregate-utils.js +71 -0
  796. package/dist/utils/color-utils.d.ts +44 -44
  797. package/dist/utils/color-utils.js +144 -0
  798. package/dist/utils/custom-scales.js +22 -0
  799. package/dist/utils/data-scale-utils.d.ts +23 -23
  800. package/dist/utils/data-scale-utils.js +70 -0
  801. package/dist/utils/data-utils.d.ts +115 -115
  802. package/dist/utils/data-utils.js +441 -0
  803. package/dist/utils/dataset-utils.d.ts +38 -38
  804. package/dist/utils/dataset-utils.js +236 -0
  805. package/dist/utils/dom-to-image.d.ts +73 -73
  806. package/dist/utils/dom-to-image.js +479 -0
  807. package/dist/utils/dom-utils.d.ts +20 -20
  808. package/dist/utils/dom-utils.js +343 -0
  809. package/dist/utils/export-utils.d.ts +56 -56
  810. package/dist/utils/export-utils.js +266 -0
  811. package/dist/utils/filter-utils.d.ts +267 -267
  812. package/dist/utils/filter-utils.js +1081 -0
  813. package/dist/utils/gl-utils.d.ts +1 -1
  814. package/dist/utils/gl-utils.js +43 -0
  815. package/dist/utils/gpu-filter-utils.d.ts +28 -28
  816. package/dist/utils/gpu-filter-utils.js +241 -0
  817. package/dist/utils/index.d.ts +22 -22
  818. package/dist/utils/index.js +361 -0
  819. package/dist/utils/interaction-utils.d.ts +36 -36
  820. package/dist/utils/interaction-utils.js +170 -0
  821. package/dist/utils/layer-utils.d.ts +54 -54
  822. package/dist/utils/layer-utils.js +200 -0
  823. package/dist/utils/locale-utils.d.ts +2 -2
  824. package/dist/utils/locale-utils.js +56 -0
  825. package/dist/utils/map-info-utils.d.ts +1 -1
  826. package/dist/utils/map-info-utils.js +31 -0
  827. package/dist/utils/map-style-utils/mapbox-gl-style-editor.d.ts +64 -64
  828. package/dist/utils/map-style-utils/mapbox-gl-style-editor.js +213 -0
  829. package/dist/utils/map-style-utils/mapbox-utils.d.ts +3 -3
  830. package/dist/utils/map-style-utils/mapbox-utils.js +33 -0
  831. package/dist/utils/mapbox-utils.d.ts +7 -7
  832. package/dist/utils/mapbox-utils.js +36 -0
  833. package/dist/utils/notifications-utils.d.ts +54 -54
  834. package/dist/utils/notifications-utils.js +90 -0
  835. package/dist/utils/observe-dimensions.d.ts +15 -15
  836. package/dist/utils/observe-dimensions.js +142 -0
  837. package/dist/utils/projection-utils.d.ts +12 -12
  838. package/dist/utils/projection-utils.js +72 -0
  839. package/dist/utils/searcher-utils.d.ts +1 -1
  840. package/dist/utils/searcher-utils.js +42 -0
  841. package/dist/utils/split-map-utils.d.ts +29 -29
  842. package/dist/utils/split-map-utils.js +112 -0
  843. package/dist/utils/table-utils/data-container-interface.d.ts +115 -115
  844. package/dist/utils/table-utils/data-container-interface.js +6 -0
  845. package/dist/utils/table-utils/data-container-utils.d.ts +29 -29
  846. package/dist/utils/table-utils/data-container-utils.js +84 -0
  847. package/dist/utils/table-utils/data-row.d.ts +59 -59
  848. package/dist/utils/table-utils/data-row.js +124 -0
  849. package/dist/utils/table-utils/index.d.ts +1 -1
  850. package/dist/utils/table-utils/index.js +19 -0
  851. package/dist/utils/table-utils/indexed-data-container.d.ts +34 -34
  852. package/dist/utils/table-utils/indexed-data-container.js +228 -0
  853. package/dist/utils/table-utils/kepler-table.d.ts +168 -168
  854. package/dist/utils/table-utils/kepler-table.js +554 -0
  855. package/dist/utils/table-utils/row-data-container.d.ts +31 -31
  856. package/dist/utils/table-utils/row-data-container.js +220 -0
  857. package/dist/utils/utils.d.ts +98 -98
  858. package/dist/utils/utils.js +240 -0
  859. package/package.json +51 -33
  860. package/src/components/common/portaled.tsx +5 -9
  861. package/src/constants/action-types.ts +1 -1
  862. package/src/index.ts +1 -1
  863. package/src/middleware/index.ts +1 -1
  864. package/src/reducers/map-style-updaters.ts +1 -1
  865. package/src/reducers/provider-state-updaters.ts +1 -1
  866. package/src/reducers/root.ts +1 -1
  867. package/src/reducers/vis-state-updaters.ts +1 -1
  868. package/src/schemas/schema.ts +1 -1
  869. package/src/tasks/tasks.ts +1 -1
  870. package/dist/bundle.js +0 -54227
  871. package/dist/bundle.js.map +0 -1
  872. package/dist/deckgl-layers/layer-utils/cluster-utils.d.ts +0 -12
@@ -1,773 +1,773 @@
1
- import { Color } from '@deck.gl/core';
2
- import { scaleLinear, scaleQuantize, scaleQuantile, scaleOrdinal, scaleSqrt, scaleLog, scalePoint, scaleThreshold } from 'd3-scale';
3
- import { Layers, Pin, ArrowDown, ArrowUp, Clipboard, Cancel } from 'components/common/icons';
4
- import { RGBAColor } from 'reducers';
5
- export declare const ACTION_PREFIX = "@@kepler.gl/";
6
- export declare const CLOUDFRONT = "https://d1a3f4spazzrp4.cloudfront.net/kepler.gl";
7
- export declare const ICON_PREFIX: string;
8
- export declare const DEFAULT_MAPBOX_API_URL = "https://api.mapbox.com";
9
- /**
10
- * Modal id: data table
11
- * @constant
12
- * @type {string}
13
- * @public
14
- */
15
- export declare const DATA_TABLE_ID = "dataTable";
16
- /**
17
- * Modal id: delete dataset confirm dialog
18
- * @constant
19
- * @type {string}
20
- * @public
21
- */
22
- export declare const DELETE_DATA_ID = "deleteData";
23
- /**
24
- * Modal id: add data modal
25
- * @constant
26
- * @type {string}
27
- * @public
28
- */
29
- export declare const ADD_DATA_ID = "addData";
30
- /**
31
- * Modal id: export image modal
32
- * @constant
33
- * @type {string}
34
- * @public
35
- */
36
- export declare const EXPORT_IMAGE_ID = "exportImage";
37
- /**
38
- * Modal id: export data modal
39
- * @constant
40
- * @type {string}
41
- * @public
42
- */
43
- export declare const EXPORT_DATA_ID = "exportData";
44
- /**
45
- * Modal id: add custom map style modal
46
- * @constant
47
- * @type {string}
48
- * @public
49
- */
50
- export declare const ADD_MAP_STYLE_ID = "addMapStyle";
51
- /**
52
- * Modal id: export map modal
53
- * @constant
54
- * @type {string}
55
- * @public
56
- */
57
- export declare const EXPORT_MAP_ID = "exportMap";
58
- /**
59
- * Modal id: save map modal
60
- * @constant
61
- * @type {string}
62
- * @public
63
- */
64
- export declare const SAVE_MAP_ID = "saveMap";
65
- /**
66
- * Modal id: confirm to overwrite saved map
67
- * @constant
68
- * @type {string}
69
- * @public
70
- */
71
- export declare const OVERWRITE_MAP_ID = "overwriteMap";
72
- /**
73
- * Modal id: share map url modal
74
- * @constant
75
- * @type {string}
76
- * @public
77
- */
78
- export declare const SHARE_MAP_ID = "shareMap";
79
- export declare const KEPLER_GL_NAME = "kepler.gl";
80
- export declare const KEPLER_GL_VERSION = "__PACKAGE_VERSION__";
81
- export declare const KEPLER_GL_WEBSITE = "http://kepler.gl/";
82
- export declare const DIMENSIONS: {
83
- sidePanel: {
84
- width: number;
85
- margin: {
86
- top: number;
87
- left: number;
88
- bottom: number;
89
- right: number;
90
- };
91
- headerHeight: number;
92
- };
93
- mapControl: {
94
- width: number;
95
- padding: number;
96
- mapLegend: {
97
- pinned: {
98
- bottom: number;
99
- right: number;
100
- };
101
- };
102
- };
103
- };
104
- /**
105
- * Theme name that can be passed to `KeplerGl` `prop.theme`.
106
- * Available themes are `THEME.light` and `THEME.dark`. Default theme is `THEME.dark`
107
- * @constant
108
- * @type {object}
109
- * @public
110
- * @example
111
- * ```js
112
- * const Map = () => <KeplerGl theme={THEME.light} id="map"/>
113
- * ```
114
- */
115
- export declare const THEME: {
116
- light: "light";
117
- dark: "dark";
118
- base: "base";
119
- };
120
- export declare const SIDEBAR_PANELS: {
121
- id: string;
122
- label: string;
123
- iconComponent: typeof Layers;
124
- onClick: any;
125
- }[];
126
- export declare const PANELS: {
127
- id: string;
128
- label: string;
129
- iconComponent: typeof Layers;
130
- onClick: any;
131
- }[];
132
- type DEFAULT_LAYER_GROUP = {
133
- slug: string;
134
- filter: (value: any) => boolean;
135
- defaultVisibility: boolean;
136
- };
137
- export declare const DEFAULT_LAYER_GROUPS: DEFAULT_LAYER_GROUP[];
138
- export declare const DEFAULT_MAP_STYLES: ({
139
- id: string;
140
- label: string;
141
- url: string;
142
- icon: string;
143
- layerGroups: DEFAULT_LAYER_GROUP[];
144
- } | {
145
- id: string;
146
- label: string;
147
- url: string;
148
- icon: string;
149
- layerGroups?: undefined;
150
- })[];
151
- export declare const GEOJSON_FIELDS: {
152
- geojson: string[];
153
- };
154
- export declare const ICON_FIELDS: {
155
- icon: string[];
156
- };
157
- export declare const TRIP_POINT_FIELDS: [string, string][];
158
- export declare const TRIP_ARC_FIELDS: {
159
- lat0: string;
160
- lng0: string;
161
- lat1: string;
162
- lng1: string;
163
- };
164
- export declare const FILTER_TYPES: {
165
- range: "range";
166
- select: "select";
167
- input: "input";
168
- timeRange: "timeRange";
169
- multiSelect: "multiSelect";
170
- polygon: "polygon";
171
- };
172
- export declare const SCALE_TYPES: {
173
- ordinal: "ordinal";
174
- quantile: "quantile";
175
- quantize: "quantize";
176
- linear: "linear";
177
- sqrt: "sqrt";
178
- log: "log";
179
- point: "point";
180
- custom: "custom";
181
- logarithmic: "logarithmic";
182
- identity: "identity";
183
- };
184
- export declare const SCALE_FUNC: {
185
- linear: typeof scaleLinear;
186
- quantize: typeof scaleQuantize;
187
- quantile: typeof scaleQuantile;
188
- ordinal: typeof scaleOrdinal;
189
- sqrt: typeof scaleSqrt;
190
- log: typeof scaleLog;
191
- point: typeof scalePoint;
192
- custom: typeof scaleThreshold;
193
- identity: any;
194
- };
195
- export declare const ALL_FIELD_TYPES: {
196
- boolean: "boolean";
197
- date: "date";
198
- geojson: "geojson";
199
- integer: "integer";
200
- real: "real";
201
- string: "string";
202
- timestamp: "timestamp";
203
- point: "point";
204
- };
205
- export declare const SORT_ORDER: {
206
- ASCENDING: "ASCENDING";
207
- DESCENDING: "DESCENDING";
208
- UNSORT: "UNSORT";
209
- };
210
- export declare const TABLE_OPTION: {
211
- SORT_ASC: "SORT_ASC";
212
- SORT_DES: "SORT_DES";
213
- UNSORT: "UNSORT";
214
- PIN: "PIN";
215
- UNPIN: "UNPIN";
216
- COPY: "COPY";
217
- };
218
- export declare const TABLE_OPTION_LIST: ({
219
- value: "SORT_ASC";
220
- display: string;
221
- icon: typeof ArrowUp;
222
- condition: (props: any) => boolean;
223
- } | {
224
- value: "SORT_DES";
225
- display: string;
226
- icon: typeof ArrowDown;
227
- condition: (props: any) => boolean;
228
- } | {
229
- value: "UNSORT";
230
- display: string;
231
- icon: typeof Cancel;
232
- condition: (props: any) => any;
233
- } | {
234
- value: "PIN";
235
- display: string;
236
- icon: typeof Pin;
237
- condition: (props: any) => boolean;
238
- } | {
239
- value: "UNPIN";
240
- display: string;
241
- icon: typeof Cancel;
242
- condition: (props: any) => any;
243
- } | {
244
- value: "COPY";
245
- display: string;
246
- icon: typeof Clipboard;
247
- condition?: undefined;
248
- })[];
249
- export declare const FILED_TYPE_DISPLAY: {
250
- boolean: {
251
- label: string;
252
- color: string;
253
- };
254
- date: {
255
- label: string;
256
- color: string;
257
- };
258
- geojson: {
259
- label: string;
260
- color: string;
261
- };
262
- integer: {
263
- label: string;
264
- color: string;
265
- };
266
- real: {
267
- label: string;
268
- color: string;
269
- };
270
- string: {
271
- label: string;
272
- color: string;
273
- };
274
- timestamp: {
275
- label: string;
276
- color: string;
277
- };
278
- point: {
279
- label: string;
280
- color: string;
281
- };
282
- };
283
- export declare const FIELD_COLORS: {
284
- default: string;
285
- };
286
- export declare const HIGHLIGH_COLOR_3D: RGBAColor;
287
- export declare const CHANNEL_SCALES: {
288
- color: "color";
289
- radius: "radius";
290
- size: "size";
291
- customMarker: "customMarker";
292
- colorAggr: "colorAggr";
293
- sizeAggr: "sizeAggr";
294
- identity: "identity";
295
- };
296
- export declare const AGGREGATION_TYPES: {
297
- count: 'count';
298
- average: 'average';
299
- maximum: 'maximum';
300
- minimum: 'minimum';
301
- median: 'median';
302
- stdev: 'stdev';
303
- sum: 'sum';
304
- variance: 'variance';
305
- mode: 'mode';
306
- countUnique: 'count unique';
307
- anyValue: 'any_value';
308
- };
309
- export declare const FIELD_TYPES_AGGREGATORS: {
310
- date: any;
311
- geojson: any;
312
- integer: ("count" | "average" | "maximum" | "minimum" | "stdev" | "sum" | "variance")[];
313
- real: ("count" | "average" | "maximum" | "minimum" | "stdev" | "sum" | "variance")[];
314
- string: ("mode" | "any_value")[];
315
- timestamp: any;
316
- point: any;
317
- };
318
- export declare const FIELD_AGGREGATORS: ({
319
- id: "count";
320
- displayName: string;
321
- } | {
322
- id: "average";
323
- displayName: string;
324
- } | {
325
- id: "maximum";
326
- displayName: string;
327
- } | {
328
- id: "minimum";
329
- displayName: string;
330
- } | {
331
- id: "stdev";
332
- displayName: string;
333
- } | {
334
- id: "sum";
335
- displayName: string;
336
- } | {
337
- id: "variance";
338
- displayName: string;
339
- } | {
340
- id: "mode";
341
- displayName: string;
342
- } | {
343
- id: "any_value";
344
- displayName: string;
345
- })[];
346
- export declare const linearFieldScaleFunctions: {
347
- color: ("quantile" | "quantize" | "custom")[];
348
- radius: "sqrt"[];
349
- size: ("linear" | "sqrt" | "log")[];
350
- customMarker: "ordinal"[];
351
- identity: any[];
352
- };
353
- export declare const linearFieldAggrScaleFunctions: {
354
- colorAggr: {
355
- count: "custom"[];
356
- average: ("quantile" | "quantize" | "custom")[];
357
- maximum: ("quantile" | "quantize" | "custom")[];
358
- minimum: ("quantile" | "quantize" | "custom")[];
359
- median: ("quantile" | "quantize" | "custom")[];
360
- stdev: ("quantile" | "quantize" | "custom")[];
361
- sum: ("quantile" | "quantize" | "custom")[];
362
- variance: ("quantile" | "quantize" | "custom")[];
363
- };
364
- sizeAggr: {
365
- count: ("linear" | "sqrt" | "log")[];
366
- average: ("linear" | "sqrt" | "log")[];
367
- maximum: ("linear" | "sqrt" | "log")[];
368
- minimum: ("linear" | "sqrt" | "log")[];
369
- median: ("linear" | "sqrt" | "log")[];
370
- stdev: ("linear" | "sqrt" | "log")[];
371
- sum: ("linear" | "sqrt" | "log")[];
372
- variance: ("linear" | "sqrt" | "log")[];
373
- };
374
- };
375
- export declare const ordinalFieldScaleFunctions: {
376
- color: "ordinal"[];
377
- radius: "point"[];
378
- size: "point"[];
379
- customMarker: "ordinal"[];
380
- identity: any[];
381
- };
382
- export declare const ordinalFieldAggrScaleFunctions: {
383
- colorAggr: {
384
- mode: "ordinal"[];
385
- any_value: "ordinal"[];
386
- "count unique": ("quantile" | "quantize" | "custom")[];
387
- };
388
- sizeAggr: {
389
- mode: "ordinal"[];
390
- any_value: "ordinal"[];
391
- };
392
- };
393
- export declare const notSupportedScaleOpts: {
394
- color: any[];
395
- radius: any[];
396
- size: any[];
397
- customMarker: any[];
398
- identity: any[];
399
- };
400
- export declare const notSupportAggrOpts: {
401
- colorAggr: {};
402
- sizeAggr: {};
403
- };
404
- /**
405
- * Default aggregation are based on ocunt
406
- */
407
- export declare const DEFAULT_AGGREGATION: {
408
- colorAggr: {
409
- count: ("quantile" | "quantize" | "custom")[];
410
- };
411
- sizeAggr: {
412
- count: ("linear" | "sqrt" | "log")[];
413
- };
414
- };
415
- /**
416
- * Define what type of scale operation is allowed on each type of fields
417
- */
418
- export declare const FIELD_OPTS: {
419
- string: {
420
- type: string;
421
- scale: {
422
- colorAggr: {
423
- mode: "ordinal"[];
424
- any_value: "ordinal"[];
425
- "count unique": ("quantile" | "quantize" | "custom")[];
426
- };
427
- sizeAggr: {
428
- mode: "ordinal"[];
429
- any_value: "ordinal"[];
430
- };
431
- color: "ordinal"[];
432
- radius: "point"[];
433
- size: "point"[];
434
- customMarker: "ordinal"[];
435
- identity: any[];
436
- };
437
- format: {
438
- legend: (d: any) => any;
439
- tooltip: any[];
440
- };
441
- };
442
- real: {
443
- type: string;
444
- scale: {
445
- colorAggr: {
446
- count: "custom"[];
447
- average: ("quantile" | "quantize" | "custom")[];
448
- maximum: ("quantile" | "quantize" | "custom")[];
449
- minimum: ("quantile" | "quantize" | "custom")[];
450
- median: ("quantile" | "quantize" | "custom")[];
451
- stdev: ("quantile" | "quantize" | "custom")[];
452
- sum: ("quantile" | "quantize" | "custom")[];
453
- variance: ("quantile" | "quantize" | "custom")[];
454
- };
455
- sizeAggr: {
456
- count: ("linear" | "sqrt" | "log")[];
457
- average: ("linear" | "sqrt" | "log")[];
458
- maximum: ("linear" | "sqrt" | "log")[];
459
- minimum: ("linear" | "sqrt" | "log")[];
460
- median: ("linear" | "sqrt" | "log")[];
461
- stdev: ("linear" | "sqrt" | "log")[];
462
- sum: ("linear" | "sqrt" | "log")[];
463
- variance: ("linear" | "sqrt" | "log")[];
464
- };
465
- color: ("quantile" | "quantize" | "custom")[];
466
- radius: "sqrt"[];
467
- size: ("linear" | "sqrt" | "log")[];
468
- customMarker: "ordinal"[];
469
- identity: any[];
470
- };
471
- format: {
472
- legend: (d: any) => any;
473
- tooltip: string[];
474
- };
475
- };
476
- timestamp: {
477
- type: string;
478
- scale: {
479
- colorAggr: {};
480
- sizeAggr: {};
481
- color: ("quantile" | "quantize" | "custom")[];
482
- radius: "sqrt"[];
483
- size: ("linear" | "sqrt" | "log")[];
484
- customMarker: "ordinal"[];
485
- identity: any[];
486
- };
487
- format: {
488
- legend: (d: any) => any;
489
- tooltip: string[];
490
- };
491
- };
492
- integer: {
493
- type: string;
494
- scale: {
495
- colorAggr: {
496
- count: "custom"[];
497
- average: ("quantile" | "quantize" | "custom")[];
498
- maximum: ("quantile" | "quantize" | "custom")[];
499
- minimum: ("quantile" | "quantize" | "custom")[];
500
- median: ("quantile" | "quantize" | "custom")[];
501
- stdev: ("quantile" | "quantize" | "custom")[];
502
- sum: ("quantile" | "quantize" | "custom")[];
503
- variance: ("quantile" | "quantize" | "custom")[];
504
- };
505
- sizeAggr: {
506
- count: ("linear" | "sqrt" | "log")[];
507
- average: ("linear" | "sqrt" | "log")[];
508
- maximum: ("linear" | "sqrt" | "log")[];
509
- minimum: ("linear" | "sqrt" | "log")[];
510
- median: ("linear" | "sqrt" | "log")[];
511
- stdev: ("linear" | "sqrt" | "log")[];
512
- sum: ("linear" | "sqrt" | "log")[];
513
- variance: ("linear" | "sqrt" | "log")[];
514
- };
515
- color: ("quantile" | "quantize" | "custom")[];
516
- radius: "sqrt"[];
517
- size: ("linear" | "sqrt" | "log")[];
518
- customMarker: "ordinal"[];
519
- identity: any[];
520
- };
521
- format: {
522
- legend: (d: any) => any;
523
- tooltip: string[];
524
- };
525
- };
526
- boolean: {
527
- type: string;
528
- scale: {
529
- colorAggr: {
530
- mode: "ordinal"[];
531
- any_value: "ordinal"[];
532
- "count unique": ("quantile" | "quantize" | "custom")[];
533
- };
534
- sizeAggr: {
535
- mode: "ordinal"[];
536
- any_value: "ordinal"[];
537
- };
538
- color: "ordinal"[];
539
- radius: "point"[];
540
- size: "point"[];
541
- customMarker: "ordinal"[];
542
- identity: any[];
543
- };
544
- format: {
545
- legend: (d: any) => any;
546
- tooltip: string[];
547
- };
548
- };
549
- date: {
550
- scale: {
551
- colorAggr: {
552
- mode: "ordinal"[];
553
- any_value: "ordinal"[];
554
- "count unique": ("quantile" | "quantize" | "custom")[];
555
- };
556
- sizeAggr: {
557
- mode: "ordinal"[];
558
- any_value: "ordinal"[];
559
- };
560
- color: "ordinal"[];
561
- radius: "point"[];
562
- size: "point"[];
563
- customMarker: "ordinal"[];
564
- identity: any[];
565
- };
566
- format: {
567
- legend: (d: any) => any;
568
- tooltip: string[];
569
- };
570
- };
571
- geojson: {
572
- type: string;
573
- scale: {
574
- colorAggr: {};
575
- sizeAggr: {};
576
- color: any[];
577
- radius: any[];
578
- size: any[];
579
- customMarker: any[];
580
- identity: any[];
581
- };
582
- format: {
583
- legend: (d: any) => string;
584
- tooltip: any[];
585
- };
586
- };
587
- };
588
- export declare const CHANNEL_SCALE_SUPPORTED_FIELDS: {};
589
- export declare const DEFAULT_LAYER_COLOR: {
590
- tripArc: string;
591
- begintrip_lat: string;
592
- dropoff_lat: string;
593
- request_lat: string;
594
- };
595
- export declare const DEFAULT_TOOLTIP_FIELDS: any[];
596
- export declare const NO_VALUE_COLOR: Color;
597
- export declare const UNKNOWN_COLOR: Color;
598
- export declare const LAYER_BLENDINGS: {
599
- additive: {
600
- label: string;
601
- blendFunc: string[];
602
- blendEquation: string;
603
- };
604
- normal: {
605
- label: string;
606
- blendFunc: string[];
607
- blendEquation: string[];
608
- };
609
- subtractive: {
610
- label: string;
611
- blendFunc: string[];
612
- blendEquation: string[];
613
- };
614
- };
615
- export declare const MAX_DEFAULT_TOOLTIPS = 5;
616
- export declare const RESOLUTIONS: {
617
- ONE_X: "ONE_X";
618
- TWO_X: "TWO_X";
619
- };
620
- export declare const EXPORT_IMG_RATIOS: {
621
- SCREEN: "SCREEN";
622
- FOUR_BY_THREE: "FOUR_BY_THREE";
623
- SIXTEEN_BY_NINE: "SIXTEEN_BY_NINE";
624
- CUSTOM: "CUSTOM";
625
- };
626
- export type ImageRatioOption = {
627
- id: keyof typeof EXPORT_IMG_RATIOS;
628
- label: string;
629
- hidden?: boolean;
630
- getSize: (screenW: number, screenH: number) => {
631
- width: number;
632
- height: number;
633
- };
634
- };
635
- export declare const ScreenRatioOption: ImageRatioOption;
636
- export declare const CustomRatioOption: ImageRatioOption;
637
- export declare const FourByThreeRatioOption: ImageRatioOption;
638
- export declare const SixteenByNineRatioOption: ImageRatioOption;
639
- export declare const EXPORT_IMG_RATIO_OPTIONS: ReadonlyArray<ImageRatioOption>;
640
- export type ImageResolutionOption = {
641
- id: keyof typeof RESOLUTIONS;
642
- label: string;
643
- available: boolean;
644
- scale: number;
645
- getSize: (screenW: number, screenH: number) => {
646
- width: number;
647
- height: number;
648
- };
649
- };
650
- export declare const OneXResolutionOption: ImageResolutionOption;
651
- export declare const TwoXResolutionOption: ImageResolutionOption;
652
- export declare const EXPORT_IMG_RESOLUTION_OPTIONS: ReadonlyArray<ImageResolutionOption>;
653
- export declare const EXPORT_DATA_TYPE: {
654
- CSV: "CSV";
655
- };
656
- export declare const EXPORT_DATA_TYPE_OPTIONS: {
657
- id: "CSV";
658
- label: string;
659
- available: boolean;
660
- }[];
661
- export declare const EXPORT_MAP_FORMATS: {
662
- HTML: "HTML";
663
- JSON: "JSON";
664
- };
665
- export declare const EXPORT_HTML_MAP_MODES: {
666
- READ: "READ";
667
- EDIT: "EDIT";
668
- };
669
- export declare const EXPORT_MAP_FORMAT_OPTIONS: {
670
- id: string;
671
- label: any;
672
- available: boolean;
673
- }[];
674
- export declare const EXPORT_HTML_MAP_MODE_OPTIONS: {
675
- id: string;
676
- label: string;
677
- available: boolean;
678
- url: string;
679
- }[];
680
- export declare const DEFAULT_UUID_COUNT = 6;
681
- export declare const DEFAULT_NOTIFICATION_MESSAGE = "MESSAGE_NOT_PROVIDED";
682
- export declare const DEFAULT_NOTIFICATION_TYPES: {
683
- info: "info";
684
- error: "error";
685
- warning: "warning";
686
- success: "success";
687
- };
688
- export declare const DEFAULT_NOTIFICATION_TOPICS: {
689
- global: "global";
690
- file: "file";
691
- };
692
- export declare const THROTTLE_NOTIFICATION_TIME = 2500;
693
- export declare const BASE_SPEED = 600;
694
- export declare const FPS = 60;
695
- /**
696
- * 4 Animation Window Types
697
- * 1. free
698
- * |-> |->
699
- * Current time is a fixed range, animation controller calls next animation frames continuously to animation a moving window
700
- * The increment id based on domain / BASE_SPEED * SPEED
701
- *
702
- * 2. incremental
703
- * | |->
704
- * Same as free, current time is a growing range, only the max value of range increment during animation.
705
- * The increment is also based on domain / BASE_SPEED * SPEED
706
- *
707
- * 3. point
708
- * o -> o
709
- * Current time is a point, animation controller calls next animation frame continuously to animation a moving point
710
- * The increment is based on domain / BASE_SPEED * SPEED
711
- *
712
- * 4. interval
713
- * o ~> o
714
- * Current time is a point. An array of sorted time steps need to be provided.
715
- * animation controller calls next animation at a interval when the point jumps to the next step
716
- */
717
- export declare const ANIMATION_WINDOW: {
718
- free: "free";
719
- incremental: "incremental";
720
- point: "point";
721
- interval: "interval";
722
- };
723
- export declare const DEFAULT_TIME_FORMAT = "MM/DD/YY HH:mm:ssa";
724
- export declare const SPEED_CONTROL_RANGE: [number, number];
725
- export declare const SPEED_CONTROL_STEP = 0.001;
726
- export declare const GEOCODER_DATASET_NAME = "geocoder_dataset";
727
- export declare const GEOCODER_LAYER_ID = "geocoder_layer";
728
- export declare const GEOCODER_GEO_OFFSET = 0.05;
729
- export declare const GEOCODER_ICON_COLOR: [number, number, number];
730
- export declare const GEOCODER_ICON_SIZE = 80;
731
- export declare const EDITOR_MODES: {
732
- READ_ONLY: any;
733
- DRAW_POLYGON: any;
734
- DRAW_RECTANGLE: any;
735
- EDIT: any;
736
- };
737
- export declare const EDITOR_AVAILABLE_LAYERS: string[];
738
- /**
739
- * Max number of filter value buffers that deck.gl provides
740
- */
741
- export declare const MAX_GPU_FILTERS = 4;
742
- export declare const MAP_THUMBNAIL_DIMENSION: {
743
- width: number;
744
- height: number;
745
- };
746
- export declare const MAP_INFO_CHARACTER: {
747
- title: number;
748
- description: number;
749
- };
750
- export declare const LOADING_METHODS: {
751
- upload: "upload";
752
- storage: "storage";
753
- };
754
- export declare const DATASET_FORMATS: {
755
- row: "row";
756
- geojson: "geojson";
757
- csv: "csv";
758
- keplergl: "keplergl";
759
- };
760
- export declare const MAP_CONTROLS: {
761
- visibleLayers: "visibleLayers";
762
- mapLegend: "mapLegend";
763
- toggle3d: "toggle3d";
764
- splitMap: "splitMap";
765
- mapDraw: "mapDraw";
766
- mapLocale: "mapLocale";
767
- };
768
- export declare const MASK_LAYER_ID = "mask_layer";
769
- export declare const ZOOM_LEVEL_LIMITS: {
770
- min: number;
771
- max: number;
772
- };
773
- export {};
1
+ import { Color } from '@deck.gl/core';
2
+ import { scaleLinear, scaleQuantize, scaleQuantile, scaleOrdinal, scaleSqrt, scaleLog, scalePoint, scaleThreshold } from 'd3-scale';
3
+ import { Layers, Pin, ArrowDown, ArrowUp, Clipboard, Cancel } from 'components/common/icons';
4
+ import { RGBAColor } from 'reducers';
5
+ export declare const ACTION_PREFIX = "@@kepler.gl/";
6
+ export declare const CLOUDFRONT = "https://d1a3f4spazzrp4.cloudfront.net/kepler.gl";
7
+ export declare const ICON_PREFIX: string;
8
+ export declare const DEFAULT_MAPBOX_API_URL = "https://api.mapbox.com";
9
+ /**
10
+ * Modal id: data table
11
+ * @constant
12
+ * @type {string}
13
+ * @public
14
+ */
15
+ export declare const DATA_TABLE_ID = "dataTable";
16
+ /**
17
+ * Modal id: delete dataset confirm dialog
18
+ * @constant
19
+ * @type {string}
20
+ * @public
21
+ */
22
+ export declare const DELETE_DATA_ID = "deleteData";
23
+ /**
24
+ * Modal id: add data modal
25
+ * @constant
26
+ * @type {string}
27
+ * @public
28
+ */
29
+ export declare const ADD_DATA_ID = "addData";
30
+ /**
31
+ * Modal id: export image modal
32
+ * @constant
33
+ * @type {string}
34
+ * @public
35
+ */
36
+ export declare const EXPORT_IMAGE_ID = "exportImage";
37
+ /**
38
+ * Modal id: export data modal
39
+ * @constant
40
+ * @type {string}
41
+ * @public
42
+ */
43
+ export declare const EXPORT_DATA_ID = "exportData";
44
+ /**
45
+ * Modal id: add custom map style modal
46
+ * @constant
47
+ * @type {string}
48
+ * @public
49
+ */
50
+ export declare const ADD_MAP_STYLE_ID = "addMapStyle";
51
+ /**
52
+ * Modal id: export map modal
53
+ * @constant
54
+ * @type {string}
55
+ * @public
56
+ */
57
+ export declare const EXPORT_MAP_ID = "exportMap";
58
+ /**
59
+ * Modal id: save map modal
60
+ * @constant
61
+ * @type {string}
62
+ * @public
63
+ */
64
+ export declare const SAVE_MAP_ID = "saveMap";
65
+ /**
66
+ * Modal id: confirm to overwrite saved map
67
+ * @constant
68
+ * @type {string}
69
+ * @public
70
+ */
71
+ export declare const OVERWRITE_MAP_ID = "overwriteMap";
72
+ /**
73
+ * Modal id: share map url modal
74
+ * @constant
75
+ * @type {string}
76
+ * @public
77
+ */
78
+ export declare const SHARE_MAP_ID = "shareMap";
79
+ export declare const KEPLER_GL_NAME = "kepler.gl";
80
+ export declare const KEPLER_GL_VERSION = "__PACKAGE_VERSION__";
81
+ export declare const KEPLER_GL_WEBSITE = "http://kepler.gl/";
82
+ export declare const DIMENSIONS: {
83
+ sidePanel: {
84
+ width: number;
85
+ margin: {
86
+ top: number;
87
+ left: number;
88
+ bottom: number;
89
+ right: number;
90
+ };
91
+ headerHeight: number;
92
+ };
93
+ mapControl: {
94
+ width: number;
95
+ padding: number;
96
+ mapLegend: {
97
+ pinned: {
98
+ bottom: number;
99
+ right: number;
100
+ };
101
+ };
102
+ };
103
+ };
104
+ /**
105
+ * Theme name that can be passed to `KeplerGl` `prop.theme`.
106
+ * Available themes are `THEME.light` and `THEME.dark`. Default theme is `THEME.dark`
107
+ * @constant
108
+ * @type {object}
109
+ * @public
110
+ * @example
111
+ * ```js
112
+ * const Map = () => <KeplerGl theme={THEME.light} id="map"/>
113
+ * ```
114
+ */
115
+ export declare const THEME: {
116
+ light: "light";
117
+ dark: "dark";
118
+ base: "base";
119
+ };
120
+ export declare const SIDEBAR_PANELS: {
121
+ id: string;
122
+ label: string;
123
+ iconComponent: typeof Layers;
124
+ onClick: any;
125
+ }[];
126
+ export declare const PANELS: {
127
+ id: string;
128
+ label: string;
129
+ iconComponent: typeof Layers;
130
+ onClick: any;
131
+ }[];
132
+ type DEFAULT_LAYER_GROUP = {
133
+ slug: string;
134
+ filter: (value: any) => boolean;
135
+ defaultVisibility: boolean;
136
+ };
137
+ export declare const DEFAULT_LAYER_GROUPS: DEFAULT_LAYER_GROUP[];
138
+ export declare const DEFAULT_MAP_STYLES: ({
139
+ id: string;
140
+ label: string;
141
+ url: string;
142
+ icon: string;
143
+ layerGroups: DEFAULT_LAYER_GROUP[];
144
+ } | {
145
+ id: string;
146
+ label: string;
147
+ url: string;
148
+ icon: string;
149
+ layerGroups?: undefined;
150
+ })[];
151
+ export declare const GEOJSON_FIELDS: {
152
+ geojson: string[];
153
+ };
154
+ export declare const ICON_FIELDS: {
155
+ icon: string[];
156
+ };
157
+ export declare const TRIP_POINT_FIELDS: [string, string][];
158
+ export declare const TRIP_ARC_FIELDS: {
159
+ lat0: string;
160
+ lng0: string;
161
+ lat1: string;
162
+ lng1: string;
163
+ };
164
+ export declare const FILTER_TYPES: {
165
+ range: "range";
166
+ select: "select";
167
+ input: "input";
168
+ timeRange: "timeRange";
169
+ multiSelect: "multiSelect";
170
+ polygon: "polygon";
171
+ };
172
+ export declare const SCALE_TYPES: {
173
+ ordinal: "ordinal";
174
+ quantile: "quantile";
175
+ quantize: "quantize";
176
+ linear: "linear";
177
+ sqrt: "sqrt";
178
+ log: "log";
179
+ point: "point";
180
+ custom: "custom";
181
+ logarithmic: "logarithmic";
182
+ identity: "identity";
183
+ };
184
+ export declare const SCALE_FUNC: {
185
+ linear: typeof scaleLinear;
186
+ quantize: typeof scaleQuantize;
187
+ quantile: typeof scaleQuantile;
188
+ ordinal: typeof scaleOrdinal;
189
+ sqrt: typeof scaleSqrt;
190
+ log: typeof scaleLog;
191
+ point: typeof scalePoint;
192
+ custom: typeof scaleThreshold;
193
+ identity: any;
194
+ };
195
+ export declare const ALL_FIELD_TYPES: {
196
+ boolean: "boolean";
197
+ date: "date";
198
+ geojson: "geojson";
199
+ integer: "integer";
200
+ real: "real";
201
+ string: "string";
202
+ timestamp: "timestamp";
203
+ point: "point";
204
+ };
205
+ export declare const SORT_ORDER: {
206
+ ASCENDING: "ASCENDING";
207
+ DESCENDING: "DESCENDING";
208
+ UNSORT: "UNSORT";
209
+ };
210
+ export declare const TABLE_OPTION: {
211
+ SORT_ASC: "SORT_ASC";
212
+ SORT_DES: "SORT_DES";
213
+ UNSORT: "UNSORT";
214
+ PIN: "PIN";
215
+ UNPIN: "UNPIN";
216
+ COPY: "COPY";
217
+ };
218
+ export declare const TABLE_OPTION_LIST: ({
219
+ value: "SORT_ASC";
220
+ display: string;
221
+ icon: typeof ArrowUp;
222
+ condition: (props: any) => boolean;
223
+ } | {
224
+ value: "SORT_DES";
225
+ display: string;
226
+ icon: typeof ArrowDown;
227
+ condition: (props: any) => boolean;
228
+ } | {
229
+ value: "UNSORT";
230
+ display: string;
231
+ icon: typeof Cancel;
232
+ condition: (props: any) => any;
233
+ } | {
234
+ value: "PIN";
235
+ display: string;
236
+ icon: typeof Pin;
237
+ condition: (props: any) => boolean;
238
+ } | {
239
+ value: "UNPIN";
240
+ display: string;
241
+ icon: typeof Cancel;
242
+ condition: (props: any) => any;
243
+ } | {
244
+ value: "COPY";
245
+ display: string;
246
+ icon: typeof Clipboard;
247
+ condition?: undefined;
248
+ })[];
249
+ export declare const FILED_TYPE_DISPLAY: {
250
+ boolean: {
251
+ label: string;
252
+ color: string;
253
+ };
254
+ date: {
255
+ label: string;
256
+ color: string;
257
+ };
258
+ geojson: {
259
+ label: string;
260
+ color: string;
261
+ };
262
+ integer: {
263
+ label: string;
264
+ color: string;
265
+ };
266
+ real: {
267
+ label: string;
268
+ color: string;
269
+ };
270
+ string: {
271
+ label: string;
272
+ color: string;
273
+ };
274
+ timestamp: {
275
+ label: string;
276
+ color: string;
277
+ };
278
+ point: {
279
+ label: string;
280
+ color: string;
281
+ };
282
+ };
283
+ export declare const FIELD_COLORS: {
284
+ default: string;
285
+ };
286
+ export declare const HIGHLIGH_COLOR_3D: RGBAColor;
287
+ export declare const CHANNEL_SCALES: {
288
+ color: "color";
289
+ radius: "radius";
290
+ size: "size";
291
+ customMarker: "customMarker";
292
+ colorAggr: "colorAggr";
293
+ sizeAggr: "sizeAggr";
294
+ identity: "identity";
295
+ };
296
+ export declare const AGGREGATION_TYPES: {
297
+ count: 'count';
298
+ average: 'average';
299
+ maximum: 'maximum';
300
+ minimum: 'minimum';
301
+ median: 'median';
302
+ stdev: 'stdev';
303
+ sum: 'sum';
304
+ variance: 'variance';
305
+ mode: 'mode';
306
+ countUnique: 'count unique';
307
+ anyValue: 'any_value';
308
+ };
309
+ export declare const FIELD_TYPES_AGGREGATORS: {
310
+ date: any;
311
+ geojson: any;
312
+ integer: ("sum" | "count" | "average" | "maximum" | "minimum" | "stdev" | "variance")[];
313
+ real: ("sum" | "count" | "average" | "maximum" | "minimum" | "stdev" | "variance")[];
314
+ string: ("mode" | "any_value")[];
315
+ timestamp: any;
316
+ point: any;
317
+ };
318
+ export declare const FIELD_AGGREGATORS: ({
319
+ id: "count";
320
+ displayName: string;
321
+ } | {
322
+ id: "average";
323
+ displayName: string;
324
+ } | {
325
+ id: "maximum";
326
+ displayName: string;
327
+ } | {
328
+ id: "minimum";
329
+ displayName: string;
330
+ } | {
331
+ id: "stdev";
332
+ displayName: string;
333
+ } | {
334
+ id: "sum";
335
+ displayName: string;
336
+ } | {
337
+ id: "variance";
338
+ displayName: string;
339
+ } | {
340
+ id: "mode";
341
+ displayName: string;
342
+ } | {
343
+ id: "any_value";
344
+ displayName: string;
345
+ })[];
346
+ export declare const linearFieldScaleFunctions: {
347
+ color: ("quantile" | "quantize" | "custom")[];
348
+ radius: "sqrt"[];
349
+ size: ("log" | "linear" | "sqrt")[];
350
+ customMarker: "ordinal"[];
351
+ identity: any[];
352
+ };
353
+ export declare const linearFieldAggrScaleFunctions: {
354
+ colorAggr: {
355
+ count: "custom"[];
356
+ average: ("quantile" | "quantize" | "custom")[];
357
+ maximum: ("quantile" | "quantize" | "custom")[];
358
+ minimum: ("quantile" | "quantize" | "custom")[];
359
+ median: ("quantile" | "quantize" | "custom")[];
360
+ stdev: ("quantile" | "quantize" | "custom")[];
361
+ sum: ("quantile" | "quantize" | "custom")[];
362
+ variance: ("quantile" | "quantize" | "custom")[];
363
+ };
364
+ sizeAggr: {
365
+ count: ("log" | "linear" | "sqrt")[];
366
+ average: ("log" | "linear" | "sqrt")[];
367
+ maximum: ("log" | "linear" | "sqrt")[];
368
+ minimum: ("log" | "linear" | "sqrt")[];
369
+ median: ("log" | "linear" | "sqrt")[];
370
+ stdev: ("log" | "linear" | "sqrt")[];
371
+ sum: ("log" | "linear" | "sqrt")[];
372
+ variance: ("log" | "linear" | "sqrt")[];
373
+ };
374
+ };
375
+ export declare const ordinalFieldScaleFunctions: {
376
+ color: "ordinal"[];
377
+ radius: "point"[];
378
+ size: "point"[];
379
+ customMarker: "ordinal"[];
380
+ identity: any[];
381
+ };
382
+ export declare const ordinalFieldAggrScaleFunctions: {
383
+ colorAggr: {
384
+ mode: "ordinal"[];
385
+ any_value: "ordinal"[];
386
+ "count unique": ("quantile" | "quantize" | "custom")[];
387
+ };
388
+ sizeAggr: {
389
+ mode: "ordinal"[];
390
+ any_value: "ordinal"[];
391
+ };
392
+ };
393
+ export declare const notSupportedScaleOpts: {
394
+ color: any[];
395
+ radius: any[];
396
+ size: any[];
397
+ customMarker: any[];
398
+ identity: any[];
399
+ };
400
+ export declare const notSupportAggrOpts: {
401
+ colorAggr: {};
402
+ sizeAggr: {};
403
+ };
404
+ /**
405
+ * Default aggregation are based on ocunt
406
+ */
407
+ export declare const DEFAULT_AGGREGATION: {
408
+ colorAggr: {
409
+ count: ("quantile" | "quantize" | "custom")[];
410
+ };
411
+ sizeAggr: {
412
+ count: ("log" | "linear" | "sqrt")[];
413
+ };
414
+ };
415
+ /**
416
+ * Define what type of scale operation is allowed on each type of fields
417
+ */
418
+ export declare const FIELD_OPTS: {
419
+ string: {
420
+ type: string;
421
+ scale: {
422
+ colorAggr: {
423
+ mode: "ordinal"[];
424
+ any_value: "ordinal"[];
425
+ "count unique": ("quantile" | "quantize" | "custom")[];
426
+ };
427
+ sizeAggr: {
428
+ mode: "ordinal"[];
429
+ any_value: "ordinal"[];
430
+ };
431
+ color: "ordinal"[];
432
+ radius: "point"[];
433
+ size: "point"[];
434
+ customMarker: "ordinal"[];
435
+ identity: any[];
436
+ };
437
+ format: {
438
+ legend: (d: any) => any;
439
+ tooltip: any[];
440
+ };
441
+ };
442
+ real: {
443
+ type: string;
444
+ scale: {
445
+ colorAggr: {
446
+ count: "custom"[];
447
+ average: ("quantile" | "quantize" | "custom")[];
448
+ maximum: ("quantile" | "quantize" | "custom")[];
449
+ minimum: ("quantile" | "quantize" | "custom")[];
450
+ median: ("quantile" | "quantize" | "custom")[];
451
+ stdev: ("quantile" | "quantize" | "custom")[];
452
+ sum: ("quantile" | "quantize" | "custom")[];
453
+ variance: ("quantile" | "quantize" | "custom")[];
454
+ };
455
+ sizeAggr: {
456
+ count: ("log" | "linear" | "sqrt")[];
457
+ average: ("log" | "linear" | "sqrt")[];
458
+ maximum: ("log" | "linear" | "sqrt")[];
459
+ minimum: ("log" | "linear" | "sqrt")[];
460
+ median: ("log" | "linear" | "sqrt")[];
461
+ stdev: ("log" | "linear" | "sqrt")[];
462
+ sum: ("log" | "linear" | "sqrt")[];
463
+ variance: ("log" | "linear" | "sqrt")[];
464
+ };
465
+ color: ("quantile" | "quantize" | "custom")[];
466
+ radius: "sqrt"[];
467
+ size: ("log" | "linear" | "sqrt")[];
468
+ customMarker: "ordinal"[];
469
+ identity: any[];
470
+ };
471
+ format: {
472
+ legend: (d: any) => any;
473
+ tooltip: string[];
474
+ };
475
+ };
476
+ timestamp: {
477
+ type: string;
478
+ scale: {
479
+ colorAggr: {};
480
+ sizeAggr: {};
481
+ color: ("quantile" | "quantize" | "custom")[];
482
+ radius: "sqrt"[];
483
+ size: ("log" | "linear" | "sqrt")[];
484
+ customMarker: "ordinal"[];
485
+ identity: any[];
486
+ };
487
+ format: {
488
+ legend: (d: any) => any;
489
+ tooltip: string[];
490
+ };
491
+ };
492
+ integer: {
493
+ type: string;
494
+ scale: {
495
+ colorAggr: {
496
+ count: "custom"[];
497
+ average: ("quantile" | "quantize" | "custom")[];
498
+ maximum: ("quantile" | "quantize" | "custom")[];
499
+ minimum: ("quantile" | "quantize" | "custom")[];
500
+ median: ("quantile" | "quantize" | "custom")[];
501
+ stdev: ("quantile" | "quantize" | "custom")[];
502
+ sum: ("quantile" | "quantize" | "custom")[];
503
+ variance: ("quantile" | "quantize" | "custom")[];
504
+ };
505
+ sizeAggr: {
506
+ count: ("log" | "linear" | "sqrt")[];
507
+ average: ("log" | "linear" | "sqrt")[];
508
+ maximum: ("log" | "linear" | "sqrt")[];
509
+ minimum: ("log" | "linear" | "sqrt")[];
510
+ median: ("log" | "linear" | "sqrt")[];
511
+ stdev: ("log" | "linear" | "sqrt")[];
512
+ sum: ("log" | "linear" | "sqrt")[];
513
+ variance: ("log" | "linear" | "sqrt")[];
514
+ };
515
+ color: ("quantile" | "quantize" | "custom")[];
516
+ radius: "sqrt"[];
517
+ size: ("log" | "linear" | "sqrt")[];
518
+ customMarker: "ordinal"[];
519
+ identity: any[];
520
+ };
521
+ format: {
522
+ legend: (d: any) => any;
523
+ tooltip: string[];
524
+ };
525
+ };
526
+ boolean: {
527
+ type: string;
528
+ scale: {
529
+ colorAggr: {
530
+ mode: "ordinal"[];
531
+ any_value: "ordinal"[];
532
+ "count unique": ("quantile" | "quantize" | "custom")[];
533
+ };
534
+ sizeAggr: {
535
+ mode: "ordinal"[];
536
+ any_value: "ordinal"[];
537
+ };
538
+ color: "ordinal"[];
539
+ radius: "point"[];
540
+ size: "point"[];
541
+ customMarker: "ordinal"[];
542
+ identity: any[];
543
+ };
544
+ format: {
545
+ legend: (d: any) => any;
546
+ tooltip: string[];
547
+ };
548
+ };
549
+ date: {
550
+ scale: {
551
+ colorAggr: {
552
+ mode: "ordinal"[];
553
+ any_value: "ordinal"[];
554
+ "count unique": ("quantile" | "quantize" | "custom")[];
555
+ };
556
+ sizeAggr: {
557
+ mode: "ordinal"[];
558
+ any_value: "ordinal"[];
559
+ };
560
+ color: "ordinal"[];
561
+ radius: "point"[];
562
+ size: "point"[];
563
+ customMarker: "ordinal"[];
564
+ identity: any[];
565
+ };
566
+ format: {
567
+ legend: (d: any) => any;
568
+ tooltip: string[];
569
+ };
570
+ };
571
+ geojson: {
572
+ type: string;
573
+ scale: {
574
+ colorAggr: {};
575
+ sizeAggr: {};
576
+ color: any[];
577
+ radius: any[];
578
+ size: any[];
579
+ customMarker: any[];
580
+ identity: any[];
581
+ };
582
+ format: {
583
+ legend: (d: any) => string;
584
+ tooltip: any[];
585
+ };
586
+ };
587
+ };
588
+ export declare const CHANNEL_SCALE_SUPPORTED_FIELDS: {};
589
+ export declare const DEFAULT_LAYER_COLOR: {
590
+ tripArc: string;
591
+ begintrip_lat: string;
592
+ dropoff_lat: string;
593
+ request_lat: string;
594
+ };
595
+ export declare const DEFAULT_TOOLTIP_FIELDS: any[];
596
+ export declare const NO_VALUE_COLOR: Color;
597
+ export declare const UNKNOWN_COLOR: Color;
598
+ export declare const LAYER_BLENDINGS: {
599
+ additive: {
600
+ label: string;
601
+ blendFunc: string[];
602
+ blendEquation: string;
603
+ };
604
+ normal: {
605
+ label: string;
606
+ blendFunc: string[];
607
+ blendEquation: string[];
608
+ };
609
+ subtractive: {
610
+ label: string;
611
+ blendFunc: string[];
612
+ blendEquation: string[];
613
+ };
614
+ };
615
+ export declare const MAX_DEFAULT_TOOLTIPS = 5;
616
+ export declare const RESOLUTIONS: {
617
+ ONE_X: "ONE_X";
618
+ TWO_X: "TWO_X";
619
+ };
620
+ export declare const EXPORT_IMG_RATIOS: {
621
+ SCREEN: "SCREEN";
622
+ FOUR_BY_THREE: "FOUR_BY_THREE";
623
+ SIXTEEN_BY_NINE: "SIXTEEN_BY_NINE";
624
+ CUSTOM: "CUSTOM";
625
+ };
626
+ export type ImageRatioOption = {
627
+ id: keyof typeof EXPORT_IMG_RATIOS;
628
+ label: string;
629
+ hidden?: boolean;
630
+ getSize: (screenW: number, screenH: number) => {
631
+ width: number;
632
+ height: number;
633
+ };
634
+ };
635
+ export declare const ScreenRatioOption: ImageRatioOption;
636
+ export declare const CustomRatioOption: ImageRatioOption;
637
+ export declare const FourByThreeRatioOption: ImageRatioOption;
638
+ export declare const SixteenByNineRatioOption: ImageRatioOption;
639
+ export declare const EXPORT_IMG_RATIO_OPTIONS: ReadonlyArray<ImageRatioOption>;
640
+ export type ImageResolutionOption = {
641
+ id: keyof typeof RESOLUTIONS;
642
+ label: string;
643
+ available: boolean;
644
+ scale: number;
645
+ getSize: (screenW: number, screenH: number) => {
646
+ width: number;
647
+ height: number;
648
+ };
649
+ };
650
+ export declare const OneXResolutionOption: ImageResolutionOption;
651
+ export declare const TwoXResolutionOption: ImageResolutionOption;
652
+ export declare const EXPORT_IMG_RESOLUTION_OPTIONS: ReadonlyArray<ImageResolutionOption>;
653
+ export declare const EXPORT_DATA_TYPE: {
654
+ CSV: "CSV";
655
+ };
656
+ export declare const EXPORT_DATA_TYPE_OPTIONS: {
657
+ id: "CSV";
658
+ label: string;
659
+ available: boolean;
660
+ }[];
661
+ export declare const EXPORT_MAP_FORMATS: {
662
+ HTML: "HTML";
663
+ JSON: "JSON";
664
+ };
665
+ export declare const EXPORT_HTML_MAP_MODES: {
666
+ READ: "READ";
667
+ EDIT: "EDIT";
668
+ };
669
+ export declare const EXPORT_MAP_FORMAT_OPTIONS: {
670
+ id: string;
671
+ label: any;
672
+ available: boolean;
673
+ }[];
674
+ export declare const EXPORT_HTML_MAP_MODE_OPTIONS: {
675
+ id: string;
676
+ label: string;
677
+ available: boolean;
678
+ url: string;
679
+ }[];
680
+ export declare const DEFAULT_UUID_COUNT = 6;
681
+ export declare const DEFAULT_NOTIFICATION_MESSAGE = "MESSAGE_NOT_PROVIDED";
682
+ export declare const DEFAULT_NOTIFICATION_TYPES: {
683
+ info: "info";
684
+ error: "error";
685
+ warning: "warning";
686
+ success: "success";
687
+ };
688
+ export declare const DEFAULT_NOTIFICATION_TOPICS: {
689
+ global: "global";
690
+ file: "file";
691
+ };
692
+ export declare const THROTTLE_NOTIFICATION_TIME = 2500;
693
+ export declare const BASE_SPEED = 600;
694
+ export declare const FPS = 60;
695
+ /**
696
+ * 4 Animation Window Types
697
+ * 1. free
698
+ * |-> |->
699
+ * Current time is a fixed range, animation controller calls next animation frames continuously to animation a moving window
700
+ * The increment id based on domain / BASE_SPEED * SPEED
701
+ *
702
+ * 2. incremental
703
+ * | |->
704
+ * Same as free, current time is a growing range, only the max value of range increment during animation.
705
+ * The increment is also based on domain / BASE_SPEED * SPEED
706
+ *
707
+ * 3. point
708
+ * o -> o
709
+ * Current time is a point, animation controller calls next animation frame continuously to animation a moving point
710
+ * The increment is based on domain / BASE_SPEED * SPEED
711
+ *
712
+ * 4. interval
713
+ * o ~> o
714
+ * Current time is a point. An array of sorted time steps need to be provided.
715
+ * animation controller calls next animation at a interval when the point jumps to the next step
716
+ */
717
+ export declare const ANIMATION_WINDOW: {
718
+ free: "free";
719
+ incremental: "incremental";
720
+ point: "point";
721
+ interval: "interval";
722
+ };
723
+ export declare const DEFAULT_TIME_FORMAT = "MM/DD/YY HH:mm:ssa";
724
+ export declare const SPEED_CONTROL_RANGE: [number, number];
725
+ export declare const SPEED_CONTROL_STEP = 0.001;
726
+ export declare const GEOCODER_DATASET_NAME = "geocoder_dataset";
727
+ export declare const GEOCODER_LAYER_ID = "geocoder_layer";
728
+ export declare const GEOCODER_GEO_OFFSET = 0.05;
729
+ export declare const GEOCODER_ICON_COLOR: [number, number, number];
730
+ export declare const GEOCODER_ICON_SIZE = 80;
731
+ export declare const EDITOR_MODES: {
732
+ READ_ONLY: any;
733
+ DRAW_POLYGON: any;
734
+ DRAW_RECTANGLE: any;
735
+ EDIT: any;
736
+ };
737
+ export declare const EDITOR_AVAILABLE_LAYERS: string[];
738
+ /**
739
+ * Max number of filter value buffers that deck.gl provides
740
+ */
741
+ export declare const MAX_GPU_FILTERS = 4;
742
+ export declare const MAP_THUMBNAIL_DIMENSION: {
743
+ width: number;
744
+ height: number;
745
+ };
746
+ export declare const MAP_INFO_CHARACTER: {
747
+ title: number;
748
+ description: number;
749
+ };
750
+ export declare const LOADING_METHODS: {
751
+ upload: "upload";
752
+ storage: "storage";
753
+ };
754
+ export declare const DATASET_FORMATS: {
755
+ row: "row";
756
+ geojson: "geojson";
757
+ csv: "csv";
758
+ keplergl: "keplergl";
759
+ };
760
+ export declare const MAP_CONTROLS: {
761
+ visibleLayers: "visibleLayers";
762
+ mapLegend: "mapLegend";
763
+ toggle3d: "toggle3d";
764
+ splitMap: "splitMap";
765
+ mapDraw: "mapDraw";
766
+ mapLocale: "mapLocale";
767
+ };
768
+ export declare const MASK_LAYER_ID = "mask_layer";
769
+ export declare const ZOOM_LEVEL_LIMITS: {
770
+ min: number;
771
+ max: number;
772
+ };
773
+ export {};