@emuanalytics/flow-rdf-core 1.1.0 → 1.1.2

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 (821) hide show
  1. package/dist/bundle/flow-rdf-core.js +42592 -0
  2. package/dist/bundle/flow-rdf-core.js.map +7 -0
  3. package/dist/bundle/flow-rdf-core.min.js +635 -0
  4. package/dist/bundle/flow-rdf-core.min.js.map +7 -0
  5. package/dist/cjs/index.d.ts +8 -0
  6. package/dist/cjs/index.d.ts.map +1 -0
  7. package/dist/cjs/index.js +7 -1
  8. package/dist/cjs/index.js.map +1 -1
  9. package/dist/cjs/lib/errors/flow-core-error.d.ts +4 -0
  10. package/dist/cjs/lib/errors/flow-core-error.d.ts.map +1 -0
  11. package/dist/cjs/lib/errors/flow-core-error.js +30 -0
  12. package/dist/cjs/lib/errors/flow-core-error.js.map +1 -0
  13. package/dist/cjs/lib/errors/flow-core-expression-error.d.ts +7 -0
  14. package/dist/cjs/lib/errors/flow-core-expression-error.d.ts.map +1 -0
  15. package/dist/cjs/lib/errors/flow-core-expression-error.js +41 -0
  16. package/dist/cjs/lib/errors/flow-core-expression-error.js.map +1 -0
  17. package/dist/cjs/lib/errors/flow-core-map-error.d.ts +5 -0
  18. package/dist/cjs/lib/errors/flow-core-map-error.d.ts.map +1 -0
  19. package/dist/cjs/lib/errors/flow-core-map-error.js +28 -0
  20. package/dist/cjs/lib/errors/flow-core-map-error.js.map +1 -0
  21. package/dist/cjs/lib/errors/index.d.ts +3 -0
  22. package/dist/cjs/lib/errors/index.d.ts.map +1 -0
  23. package/dist/cjs/lib/errors/index.js +8 -0
  24. package/dist/cjs/lib/errors/index.js.map +1 -0
  25. package/dist/cjs/lib/flow-core-expression/flow-core-expression.d.ts +29 -0
  26. package/dist/cjs/lib/flow-core-expression/flow-core-expression.d.ts.map +1 -0
  27. package/dist/cjs/lib/flow-core-expression/flow-core-expression.js +277 -0
  28. package/dist/cjs/lib/flow-core-expression/flow-core-expression.js.map +1 -0
  29. package/dist/cjs/lib/flow-core-expression/flow-core-parser.d.ts +2 -0
  30. package/dist/cjs/lib/flow-core-expression/flow-core-parser.d.ts.map +1 -0
  31. package/dist/cjs/lib/flow-core-expression/flow-core-parser.js +215 -0
  32. package/dist/cjs/lib/flow-core-expression/flow-core-parser.js.map +1 -0
  33. package/dist/cjs/lib/flow-core-expression/functions/from-palette.d.ts +12 -0
  34. package/dist/cjs/lib/flow-core-expression/functions/from-palette.d.ts.map +1 -0
  35. package/dist/cjs/lib/flow-core-expression/functions/from-palette.js +80 -0
  36. package/dist/cjs/lib/flow-core-expression/functions/from-palette.js.map +1 -0
  37. package/dist/cjs/lib/flow-core-expression/functions/state.d.ts +9 -0
  38. package/dist/cjs/lib/flow-core-expression/functions/state.d.ts.map +1 -0
  39. package/dist/cjs/lib/flow-core-expression/functions/state.js +25 -0
  40. package/dist/cjs/lib/flow-core-expression/functions/state.js.map +1 -0
  41. package/dist/cjs/lib/flow-core-expression/index.d.ts +2 -0
  42. package/dist/cjs/lib/flow-core-expression/index.d.ts.map +1 -0
  43. package/dist/cjs/lib/flow-core-expression/index.js +18 -0
  44. package/dist/cjs/lib/flow-core-expression/index.js.map +1 -0
  45. package/dist/cjs/lib/flow-core-expression/parser-helpers.d.ts +2 -0
  46. package/dist/cjs/lib/flow-core-expression/parser-helpers.d.ts.map +1 -0
  47. package/dist/cjs/lib/flow-core-expression/parser-helpers.js +54 -0
  48. package/dist/cjs/lib/flow-core-expression/parser-helpers.js.map +1 -0
  49. package/dist/cjs/lib/flow-core-expression/types.d.ts +27 -0
  50. package/dist/cjs/lib/flow-core-expression/types.d.ts.map +1 -0
  51. package/dist/cjs/lib/flow-core-expression/types.js +3 -0
  52. package/dist/cjs/lib/flow-core-expression/types.js.map +1 -0
  53. package/dist/cjs/lib/flow-core-map/flow-core-map.d.ts +84 -0
  54. package/dist/cjs/lib/flow-core-map/flow-core-map.d.ts.map +1 -0
  55. package/dist/cjs/lib/flow-core-map/flow-core-map.js +836 -0
  56. package/dist/cjs/lib/flow-core-map/flow-core-map.js.map +1 -0
  57. package/dist/cjs/lib/flow-core-map/index.d.ts +2 -0
  58. package/dist/cjs/lib/flow-core-map/index.d.ts.map +1 -0
  59. package/dist/cjs/lib/flow-core-map/index.js +18 -0
  60. package/dist/cjs/lib/flow-core-map/index.js.map +1 -0
  61. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts +4 -0
  62. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts.map +1 -0
  63. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation-layers.js +94 -0
  64. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation-layers.js.map +1 -0
  65. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.events.d.ts +25 -0
  66. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.events.d.ts.map +1 -0
  67. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.events.js +71 -0
  68. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.events.js.map +1 -0
  69. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts +67 -0
  70. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts.map +1 -0
  71. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.plugin.js +732 -0
  72. package/dist/cjs/lib/flow-core-map/plugins/annotations/annotation.plugin.js.map +1 -0
  73. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts +4 -0
  74. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts.map +1 -0
  75. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js +11 -0
  76. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js.map +1 -0
  77. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts +3 -0
  78. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts.map +1 -0
  79. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js +70 -0
  80. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js.map +1 -0
  81. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts +23 -0
  82. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts.map +1 -0
  83. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js +75 -0
  84. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js.map +1 -0
  85. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts +3 -0
  86. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts.map +1 -0
  87. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js +19 -0
  88. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js.map +1 -0
  89. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts +6 -0
  90. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts.map +1 -0
  91. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js +21 -0
  92. package/dist/cjs/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js.map +1 -0
  93. package/dist/cjs/lib/flow-core-map/plugins/annotations/types.d.ts +34 -0
  94. package/dist/cjs/lib/flow-core-map/plugins/annotations/types.d.ts.map +1 -0
  95. package/dist/cjs/lib/flow-core-map/plugins/annotations/types.js +3 -0
  96. package/dist/cjs/lib/flow-core-map/plugins/annotations/types.js.map +1 -0
  97. package/dist/cjs/lib/flow-core-map/plugins/data-join.plugin.d.ts +45 -0
  98. package/dist/cjs/lib/flow-core-map/plugins/data-join.plugin.d.ts.map +1 -0
  99. package/dist/cjs/lib/flow-core-map/plugins/data-join.plugin.js +344 -0
  100. package/dist/cjs/lib/flow-core-map/plugins/data-join.plugin.js.map +1 -0
  101. package/dist/cjs/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts +41 -0
  102. package/dist/cjs/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts.map +1 -0
  103. package/dist/cjs/lib/flow-core-map/plugins/flow-core-map-plugin.js +58 -0
  104. package/dist/cjs/lib/flow-core-map/plugins/flow-core-map-plugin.js.map +1 -0
  105. package/dist/cjs/lib/flow-core-map/plugins/hover-effect.plugin.d.ts +14 -0
  106. package/dist/cjs/lib/flow-core-map/plugins/hover-effect.plugin.d.ts.map +1 -0
  107. package/dist/cjs/lib/flow-core-map/plugins/hover-effect.plugin.js +109 -0
  108. package/dist/cjs/lib/flow-core-map/plugins/hover-effect.plugin.js.map +1 -0
  109. package/dist/cjs/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts +26 -0
  110. package/dist/cjs/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts.map +1 -0
  111. package/dist/cjs/lib/flow-core-map/plugins/keyboard-shortcut-manager.js +166 -0
  112. package/dist/cjs/lib/flow-core-map/plugins/keyboard-shortcut-manager.js.map +1 -0
  113. package/dist/cjs/lib/flow-core-map/plugins/plugin-manager.d.ts +27 -0
  114. package/dist/cjs/lib/flow-core-map/plugins/plugin-manager.d.ts.map +1 -0
  115. package/dist/cjs/lib/flow-core-map/plugins/plugin-manager.js +242 -0
  116. package/dist/cjs/lib/flow-core-map/plugins/plugin-manager.js.map +1 -0
  117. package/dist/cjs/lib/flow-core-map/plugins/popup.plugin.d.ts +17 -0
  118. package/dist/cjs/lib/flow-core-map/plugins/popup.plugin.d.ts.map +1 -0
  119. package/dist/cjs/lib/flow-core-map/plugins/popup.plugin.js +108 -0
  120. package/dist/cjs/lib/flow-core-map/plugins/popup.plugin.js.map +1 -0
  121. package/dist/cjs/lib/flow-core-map/plugins/selection/selection.events.d.ts +14 -0
  122. package/dist/cjs/lib/flow-core-map/plugins/selection/selection.events.d.ts.map +1 -0
  123. package/dist/cjs/lib/flow-core-map/plugins/selection/selection.events.js +50 -0
  124. package/dist/cjs/lib/flow-core-map/plugins/selection/selection.events.js.map +1 -0
  125. package/dist/cjs/lib/flow-core-map/plugins/selection/selection.plugin.d.ts +31 -0
  126. package/dist/cjs/lib/flow-core-map/plugins/selection/selection.plugin.d.ts.map +1 -0
  127. package/dist/cjs/lib/flow-core-map/plugins/selection/selection.plugin.js +195 -0
  128. package/dist/cjs/lib/flow-core-map/plugins/selection/selection.plugin.js.map +1 -0
  129. package/dist/cjs/lib/flow-core-map/plugins/selection/source-selection.d.ts +24 -0
  130. package/dist/cjs/lib/flow-core-map/plugins/selection/source-selection.d.ts.map +1 -0
  131. package/dist/cjs/lib/flow-core-map/plugins/selection/source-selection.js +276 -0
  132. package/dist/cjs/lib/flow-core-map/plugins/selection/source-selection.js.map +1 -0
  133. package/dist/cjs/lib/flow-core-map/support/flow-core-map-events.d.ts +56 -0
  134. package/dist/cjs/lib/flow-core-map/support/flow-core-map-events.d.ts.map +1 -0
  135. package/dist/cjs/lib/flow-core-map/support/flow-core-map-events.js +147 -0
  136. package/dist/cjs/lib/flow-core-map/support/flow-core-map-events.js.map +1 -0
  137. package/dist/cjs/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts +29 -0
  138. package/dist/cjs/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts.map +1 -0
  139. package/dist/cjs/lib/flow-core-map/support/flow-core-map-feature-stream.js +207 -0
  140. package/dist/cjs/lib/flow-core-map/support/flow-core-map-feature-stream.js.map +1 -0
  141. package/dist/cjs/lib/flow-core-map/support/flow-core-map-popup.d.ts +39 -0
  142. package/dist/cjs/lib/flow-core-map/support/flow-core-map-popup.d.ts.map +1 -0
  143. package/dist/cjs/lib/flow-core-map/support/flow-core-map-popup.js +259 -0
  144. package/dist/cjs/lib/flow-core-map/support/flow-core-map-popup.js.map +1 -0
  145. package/dist/cjs/lib/flow-core-map/support/image-registry.d.ts +2 -0
  146. package/dist/cjs/lib/flow-core-map/support/image-registry.d.ts.map +1 -0
  147. package/dist/cjs/lib/flow-core-map/support/image-registry.js +86 -0
  148. package/dist/cjs/lib/flow-core-map/support/image-registry.js.map +1 -0
  149. package/dist/cjs/lib/flow-core-map/types.d.ts +45 -0
  150. package/dist/cjs/lib/flow-core-map/types.d.ts.map +1 -0
  151. package/dist/cjs/lib/flow-core-map/types.js +10 -0
  152. package/dist/cjs/lib/flow-core-map/types.js.map +1 -0
  153. package/dist/cjs/lib/flow-core-map-style/flow-core-map-data-source.d.ts +26 -0
  154. package/dist/cjs/lib/flow-core-map-style/flow-core-map-data-source.d.ts.map +1 -0
  155. package/dist/cjs/lib/flow-core-map-style/flow-core-map-data-source.js +286 -0
  156. package/dist/cjs/lib/flow-core-map-style/flow-core-map-data-source.js.map +1 -0
  157. package/dist/cjs/lib/flow-core-map-style/flow-core-map-layer.d.ts +58 -0
  158. package/dist/cjs/lib/flow-core-map-style/flow-core-map-layer.d.ts.map +1 -0
  159. package/dist/cjs/lib/flow-core-map-style/flow-core-map-layer.js +357 -0
  160. package/dist/cjs/lib/flow-core-map-style/flow-core-map-layer.js.map +1 -0
  161. package/dist/cjs/lib/flow-core-map-style/flow-core-map-style.d.ts +32 -0
  162. package/dist/cjs/lib/flow-core-map-style/flow-core-map-style.d.ts.map +1 -0
  163. package/dist/cjs/lib/flow-core-map-style/flow-core-map-style.js +314 -0
  164. package/dist/cjs/lib/flow-core-map-style/flow-core-map-style.js.map +1 -0
  165. package/dist/cjs/lib/flow-core-map-style/index.d.ts +5 -0
  166. package/dist/cjs/lib/flow-core-map-style/index.d.ts.map +1 -0
  167. package/dist/cjs/lib/flow-core-map-style/index.js +21 -0
  168. package/dist/cjs/lib/flow-core-map-style/index.js.map +1 -0
  169. package/dist/cjs/lib/flow-core-map-style/types.d.ts +49 -0
  170. package/dist/cjs/lib/flow-core-map-style/types.d.ts.map +1 -0
  171. package/dist/cjs/lib/flow-core-map-style/types.js +3 -0
  172. package/dist/cjs/lib/flow-core-map-style/types.js.map +1 -0
  173. package/dist/cjs/lib/flow-core-query/FlowQueryResultFormat.d.ts +36 -0
  174. package/dist/cjs/lib/flow-core-query/FlowQueryResultFormat.d.ts.map +1 -0
  175. package/dist/cjs/lib/flow-core-query/FlowQueryResultFormat.js +3 -0
  176. package/dist/cjs/lib/flow-core-query/FlowQueryResultFormat.js.map +1 -0
  177. package/dist/{types/lib → cjs/lib/flow-core-query}/async-committer.d.ts +0 -0
  178. package/dist/cjs/lib/flow-core-query/async-committer.d.ts.map +1 -0
  179. package/dist/cjs/lib/flow-core-query/async-committer.js +95 -0
  180. package/dist/cjs/lib/flow-core-query/async-committer.js.map +1 -0
  181. package/dist/cjs/lib/flow-core-query/flow-core-query.d.ts +35 -0
  182. package/dist/cjs/lib/flow-core-query/flow-core-query.d.ts.map +1 -0
  183. package/dist/cjs/lib/flow-core-query/flow-core-query.js +371 -0
  184. package/dist/cjs/lib/flow-core-query/flow-core-query.js.map +1 -0
  185. package/dist/cjs/lib/flow-core-query/index.d.ts +2 -0
  186. package/dist/cjs/lib/flow-core-query/index.d.ts.map +1 -0
  187. package/dist/cjs/lib/flow-core-query/index.js +18 -0
  188. package/dist/cjs/lib/flow-core-query/index.js.map +1 -0
  189. package/dist/cjs/lib/flow-core-state-store/flow-core-state-store.d.ts +25 -0
  190. package/dist/cjs/lib/flow-core-state-store/flow-core-state-store.d.ts.map +1 -0
  191. package/dist/cjs/lib/flow-core-state-store/flow-core-state-store.js +203 -0
  192. package/dist/cjs/lib/flow-core-state-store/flow-core-state-store.js.map +1 -0
  193. package/dist/cjs/lib/flow-core-state-store/index.d.ts +6 -0
  194. package/dist/cjs/lib/flow-core-state-store/index.d.ts.map +1 -0
  195. package/dist/cjs/lib/flow-core-state-store/index.js +25 -0
  196. package/dist/cjs/lib/flow-core-state-store/index.js.map +1 -0
  197. package/dist/cjs/lib/flow-core-state-store/utils.d.ts +10 -0
  198. package/dist/cjs/lib/flow-core-state-store/utils.d.ts.map +1 -0
  199. package/dist/cjs/lib/flow-core-state-store/utils.js +9 -0
  200. package/dist/cjs/lib/flow-core-state-store/utils.js.map +1 -0
  201. package/dist/cjs/lib/utils/assert.d.ts +2 -0
  202. package/dist/cjs/lib/utils/assert.d.ts.map +1 -0
  203. package/dist/cjs/lib/utils/assert.js +11 -0
  204. package/dist/cjs/lib/utils/assert.js.map +1 -0
  205. package/dist/cjs/lib/utils/ensure-array.d.ts +2 -0
  206. package/dist/cjs/lib/utils/ensure-array.d.ts.map +1 -0
  207. package/dist/cjs/lib/utils/ensure-array.js +23 -0
  208. package/dist/cjs/lib/utils/ensure-array.js.map +1 -0
  209. package/dist/cjs/lib/utils/feature-type-checks.d.ts +5 -0
  210. package/dist/cjs/lib/utils/feature-type-checks.d.ts.map +1 -0
  211. package/dist/cjs/lib/utils/feature-type-checks.js +30 -0
  212. package/dist/cjs/lib/utils/feature-type-checks.js.map +1 -0
  213. package/dist/cjs/lib/utils/functional.d.ts +34 -0
  214. package/dist/cjs/lib/utils/functional.d.ts.map +1 -0
  215. package/dist/cjs/lib/utils/functional.js +144 -0
  216. package/dist/cjs/lib/utils/functional.js.map +1 -0
  217. package/dist/cjs/lib/utils/index.d.ts +2 -0
  218. package/dist/cjs/lib/utils/index.d.ts.map +1 -0
  219. package/dist/cjs/lib/utils/index.js +18 -0
  220. package/dist/cjs/lib/utils/index.js.map +1 -0
  221. package/dist/cjs/lib/utils/string-utils.d.ts +2 -0
  222. package/dist/cjs/lib/utils/string-utils.d.ts.map +1 -0
  223. package/dist/cjs/lib/utils/string-utils.js +11 -0
  224. package/dist/cjs/lib/utils/string-utils.js.map +1 -0
  225. package/dist/cjs/lib/utils/type-checks.d.ts +25 -0
  226. package/dist/cjs/lib/utils/type-checks.d.ts.map +1 -0
  227. package/dist/cjs/lib/utils/type-checks.js +80 -0
  228. package/dist/cjs/lib/utils/type-checks.js.map +1 -0
  229. package/dist/cjs/lib/utils/typescript-utils.d.ts +2 -0
  230. package/dist/cjs/lib/utils/typescript-utils.d.ts.map +1 -0
  231. package/dist/cjs/lib/utils/typescript-utils.js +3 -0
  232. package/dist/cjs/lib/utils/typescript-utils.js.map +1 -0
  233. package/dist/esm/index.d.ts +8 -0
  234. package/dist/esm/index.d.ts.map +1 -0
  235. package/dist/esm/index.js +7 -1
  236. package/dist/esm/index.js.map +1 -1
  237. package/dist/esm/lib/errors/flow-core-error.d.ts +4 -0
  238. package/dist/esm/lib/errors/flow-core-error.d.ts.map +1 -0
  239. package/dist/esm/lib/errors/flow-core-error.js +8 -0
  240. package/dist/esm/lib/errors/flow-core-error.js.map +1 -0
  241. package/dist/esm/lib/errors/flow-core-expression-error.d.ts +7 -0
  242. package/dist/esm/lib/errors/flow-core-expression-error.d.ts.map +1 -0
  243. package/dist/esm/lib/errors/flow-core-expression-error.js +19 -0
  244. package/dist/esm/lib/errors/flow-core-expression-error.js.map +1 -0
  245. package/dist/esm/lib/errors/flow-core-map-error.d.ts +5 -0
  246. package/dist/esm/lib/errors/flow-core-map-error.d.ts.map +1 -0
  247. package/dist/esm/lib/errors/flow-core-map-error.js +7 -0
  248. package/dist/esm/lib/errors/flow-core-map-error.js.map +1 -0
  249. package/dist/esm/lib/errors/index.d.ts +3 -0
  250. package/dist/esm/lib/errors/index.d.ts.map +1 -0
  251. package/dist/esm/lib/errors/index.js +3 -0
  252. package/dist/esm/lib/errors/index.js.map +1 -0
  253. package/dist/esm/lib/flow-core-expression/flow-core-expression.d.ts +29 -0
  254. package/dist/esm/lib/flow-core-expression/flow-core-expression.d.ts.map +1 -0
  255. package/dist/esm/lib/flow-core-expression/flow-core-expression.js +148 -0
  256. package/dist/esm/lib/flow-core-expression/flow-core-expression.js.map +1 -0
  257. package/dist/esm/lib/flow-core-expression/flow-core-parser.d.ts +2 -0
  258. package/dist/esm/lib/flow-core-expression/flow-core-parser.d.ts.map +1 -0
  259. package/dist/esm/lib/flow-core-expression/flow-core-parser.js +147 -0
  260. package/dist/esm/lib/flow-core-expression/flow-core-parser.js.map +1 -0
  261. package/dist/esm/lib/flow-core-expression/functions/from-palette.d.ts +12 -0
  262. package/dist/esm/lib/flow-core-expression/functions/from-palette.d.ts.map +1 -0
  263. package/dist/esm/lib/flow-core-expression/functions/from-palette.js +73 -0
  264. package/dist/esm/lib/flow-core-expression/functions/from-palette.js.map +1 -0
  265. package/dist/esm/lib/flow-core-expression/functions/state.d.ts +9 -0
  266. package/dist/esm/lib/flow-core-expression/functions/state.d.ts.map +1 -0
  267. package/dist/esm/lib/flow-core-expression/functions/state.js +23 -0
  268. package/dist/esm/lib/flow-core-expression/functions/state.js.map +1 -0
  269. package/dist/esm/lib/flow-core-expression/index.d.ts +2 -0
  270. package/dist/esm/lib/flow-core-expression/index.d.ts.map +1 -0
  271. package/dist/esm/lib/flow-core-expression/index.js +2 -0
  272. package/dist/esm/lib/flow-core-expression/index.js.map +1 -0
  273. package/dist/esm/lib/flow-core-expression/parser-helpers.d.ts +2 -0
  274. package/dist/esm/lib/flow-core-expression/parser-helpers.d.ts.map +1 -0
  275. package/dist/esm/lib/flow-core-expression/parser-helpers.js +24 -0
  276. package/dist/esm/lib/flow-core-expression/parser-helpers.js.map +1 -0
  277. package/dist/esm/lib/flow-core-expression/types.d.ts +27 -0
  278. package/dist/esm/lib/flow-core-expression/types.d.ts.map +1 -0
  279. package/dist/esm/lib/flow-core-expression/types.js +2 -0
  280. package/dist/esm/lib/flow-core-expression/types.js.map +1 -0
  281. package/dist/esm/lib/flow-core-map/flow-core-map.d.ts +84 -0
  282. package/dist/esm/lib/flow-core-map/flow-core-map.d.ts.map +1 -0
  283. package/dist/esm/lib/flow-core-map/flow-core-map.js +491 -0
  284. package/dist/esm/lib/flow-core-map/flow-core-map.js.map +1 -0
  285. package/dist/esm/lib/flow-core-map/index.d.ts +2 -0
  286. package/dist/esm/lib/flow-core-map/index.d.ts.map +1 -0
  287. package/dist/esm/lib/flow-core-map/index.js +2 -0
  288. package/dist/esm/lib/flow-core-map/index.js.map +1 -0
  289. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts +4 -0
  290. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts.map +1 -0
  291. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation-layers.js +150 -0
  292. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation-layers.js.map +1 -0
  293. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.events.d.ts +25 -0
  294. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.events.d.ts.map +1 -0
  295. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.events.js +49 -0
  296. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.events.js.map +1 -0
  297. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts +67 -0
  298. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts.map +1 -0
  299. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.plugin.js +524 -0
  300. package/dist/esm/lib/flow-core-map/plugins/annotations/annotation.plugin.js.map +1 -0
  301. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts +4 -0
  302. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts.map +1 -0
  303. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js +4 -0
  304. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js.map +1 -0
  305. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts +3 -0
  306. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts.map +1 -0
  307. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js +65 -0
  308. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js.map +1 -0
  309. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts +23 -0
  310. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts.map +1 -0
  311. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js +59 -0
  312. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js.map +1 -0
  313. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts +3 -0
  314. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts.map +1 -0
  315. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js +14 -0
  316. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js.map +1 -0
  317. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts +6 -0
  318. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts.map +1 -0
  319. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js +19 -0
  320. package/dist/esm/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js.map +1 -0
  321. package/dist/esm/lib/flow-core-map/plugins/annotations/types.d.ts +34 -0
  322. package/dist/esm/lib/flow-core-map/plugins/annotations/types.d.ts.map +1 -0
  323. package/dist/esm/lib/flow-core-map/plugins/annotations/types.js +2 -0
  324. package/dist/esm/lib/flow-core-map/plugins/annotations/types.js.map +1 -0
  325. package/dist/esm/lib/flow-core-map/plugins/data-join.plugin.d.ts +45 -0
  326. package/dist/esm/lib/flow-core-map/plugins/data-join.plugin.d.ts.map +1 -0
  327. package/dist/esm/lib/flow-core-map/plugins/data-join.plugin.js +204 -0
  328. package/dist/esm/lib/flow-core-map/plugins/data-join.plugin.js.map +1 -0
  329. package/dist/esm/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts +41 -0
  330. package/dist/esm/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts.map +1 -0
  331. package/dist/esm/lib/flow-core-map/plugins/flow-core-map-plugin.js +28 -0
  332. package/dist/esm/lib/flow-core-map/plugins/flow-core-map-plugin.js.map +1 -0
  333. package/dist/esm/lib/flow-core-map/plugins/hover-effect.plugin.d.ts +14 -0
  334. package/dist/esm/lib/flow-core-map/plugins/hover-effect.plugin.d.ts.map +1 -0
  335. package/dist/esm/lib/flow-core-map/plugins/hover-effect.plugin.js +62 -0
  336. package/dist/esm/lib/flow-core-map/plugins/hover-effect.plugin.js.map +1 -0
  337. package/dist/esm/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts +26 -0
  338. package/dist/esm/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts.map +1 -0
  339. package/dist/esm/lib/flow-core-map/plugins/keyboard-shortcut-manager.js +98 -0
  340. package/dist/esm/lib/flow-core-map/plugins/keyboard-shortcut-manager.js.map +1 -0
  341. package/dist/esm/lib/flow-core-map/plugins/plugin-manager.d.ts +27 -0
  342. package/dist/esm/lib/flow-core-map/plugins/plugin-manager.d.ts.map +1 -0
  343. package/dist/esm/lib/flow-core-map/plugins/plugin-manager.js +144 -0
  344. package/dist/esm/lib/flow-core-map/plugins/plugin-manager.js.map +1 -0
  345. package/dist/esm/lib/flow-core-map/plugins/popup.plugin.d.ts +17 -0
  346. package/dist/esm/lib/flow-core-map/plugins/popup.plugin.d.ts.map +1 -0
  347. package/dist/esm/lib/flow-core-map/plugins/popup.plugin.js +64 -0
  348. package/dist/esm/lib/flow-core-map/plugins/popup.plugin.js.map +1 -0
  349. package/dist/esm/lib/flow-core-map/plugins/selection/selection.events.d.ts +14 -0
  350. package/dist/esm/lib/flow-core-map/plugins/selection/selection.events.d.ts.map +1 -0
  351. package/dist/esm/lib/flow-core-map/plugins/selection/selection.events.js +28 -0
  352. package/dist/esm/lib/flow-core-map/plugins/selection/selection.events.js.map +1 -0
  353. package/dist/esm/lib/flow-core-map/plugins/selection/selection.plugin.d.ts +31 -0
  354. package/dist/esm/lib/flow-core-map/plugins/selection/selection.plugin.d.ts.map +1 -0
  355. package/dist/esm/lib/flow-core-map/plugins/selection/selection.plugin.js +123 -0
  356. package/dist/esm/lib/flow-core-map/plugins/selection/selection.plugin.js.map +1 -0
  357. package/dist/esm/lib/flow-core-map/plugins/selection/source-selection.d.ts +24 -0
  358. package/dist/esm/lib/flow-core-map/plugins/selection/source-selection.d.ts.map +1 -0
  359. package/dist/esm/lib/flow-core-map/plugins/selection/source-selection.js +188 -0
  360. package/dist/esm/lib/flow-core-map/plugins/selection/source-selection.js.map +1 -0
  361. package/dist/esm/lib/flow-core-map/support/flow-core-map-events.d.ts +56 -0
  362. package/dist/esm/lib/flow-core-map/support/flow-core-map-events.d.ts.map +1 -0
  363. package/dist/esm/lib/flow-core-map/support/flow-core-map-events.js +101 -0
  364. package/dist/esm/lib/flow-core-map/support/flow-core-map-events.js.map +1 -0
  365. package/dist/esm/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts +29 -0
  366. package/dist/esm/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts.map +1 -0
  367. package/dist/esm/lib/flow-core-map/support/flow-core-map-feature-stream.js +140 -0
  368. package/dist/esm/lib/flow-core-map/support/flow-core-map-feature-stream.js.map +1 -0
  369. package/dist/esm/lib/flow-core-map/support/flow-core-map-popup.d.ts +39 -0
  370. package/dist/esm/lib/flow-core-map/support/flow-core-map-popup.d.ts.map +1 -0
  371. package/dist/esm/lib/flow-core-map/support/flow-core-map-popup.js +158 -0
  372. package/dist/esm/lib/flow-core-map/support/flow-core-map-popup.js.map +1 -0
  373. package/dist/esm/lib/flow-core-map/support/image-registry.d.ts +2 -0
  374. package/dist/esm/lib/flow-core-map/support/image-registry.d.ts.map +1 -0
  375. package/dist/esm/lib/flow-core-map/support/image-registry.js +56 -0
  376. package/dist/esm/lib/flow-core-map/support/image-registry.js.map +1 -0
  377. package/dist/esm/lib/flow-core-map/types.d.ts +45 -0
  378. package/dist/esm/lib/flow-core-map/types.d.ts.map +1 -0
  379. package/dist/esm/lib/flow-core-map/types.js +6 -0
  380. package/dist/esm/lib/flow-core-map/types.js.map +1 -0
  381. package/dist/esm/lib/flow-core-map-style/flow-core-map-data-source.d.ts +26 -0
  382. package/dist/esm/lib/flow-core-map-style/flow-core-map-data-source.d.ts.map +1 -0
  383. package/dist/esm/lib/flow-core-map-style/flow-core-map-data-source.js +197 -0
  384. package/dist/esm/lib/flow-core-map-style/flow-core-map-data-source.js.map +1 -0
  385. package/dist/esm/lib/flow-core-map-style/flow-core-map-layer.d.ts +58 -0
  386. package/dist/esm/lib/flow-core-map-style/flow-core-map-layer.d.ts.map +1 -0
  387. package/dist/esm/lib/flow-core-map-style/flow-core-map-layer.js +228 -0
  388. package/dist/esm/lib/flow-core-map-style/flow-core-map-layer.js.map +1 -0
  389. package/dist/esm/lib/flow-core-map-style/flow-core-map-style.d.ts +32 -0
  390. package/dist/esm/lib/flow-core-map-style/flow-core-map-style.d.ts.map +1 -0
  391. package/dist/esm/lib/flow-core-map-style/flow-core-map-style.js +200 -0
  392. package/dist/esm/lib/flow-core-map-style/flow-core-map-style.js.map +1 -0
  393. package/dist/esm/lib/flow-core-map-style/index.d.ts +5 -0
  394. package/dist/esm/lib/flow-core-map-style/index.d.ts.map +1 -0
  395. package/dist/esm/lib/flow-core-map-style/index.js +5 -0
  396. package/dist/esm/lib/flow-core-map-style/index.js.map +1 -0
  397. package/dist/esm/lib/flow-core-map-style/types.d.ts +49 -0
  398. package/dist/esm/lib/flow-core-map-style/types.d.ts.map +1 -0
  399. package/dist/esm/lib/flow-core-map-style/types.js +2 -0
  400. package/dist/esm/lib/flow-core-map-style/types.js.map +1 -0
  401. package/dist/esm/lib/flow-core-query/FlowQueryResultFormat.d.ts +36 -0
  402. package/dist/esm/lib/flow-core-query/FlowQueryResultFormat.d.ts.map +1 -0
  403. package/dist/esm/lib/flow-core-query/FlowQueryResultFormat.js +2 -0
  404. package/dist/esm/lib/flow-core-query/FlowQueryResultFormat.js.map +1 -0
  405. package/dist/esm/lib/flow-core-query/async-committer.d.ts +15 -0
  406. package/dist/esm/lib/flow-core-query/async-committer.d.ts.map +1 -0
  407. package/dist/esm/lib/{async-committer.js → flow-core-query/async-committer.js} +1 -9
  408. package/dist/esm/lib/flow-core-query/async-committer.js.map +1 -0
  409. package/dist/esm/lib/flow-core-query/flow-core-query.d.ts +35 -0
  410. package/dist/esm/lib/flow-core-query/flow-core-query.d.ts.map +1 -0
  411. package/dist/esm/lib/{flow-query.js → flow-core-query/flow-core-query.js} +100 -35
  412. package/dist/esm/lib/flow-core-query/flow-core-query.js.map +1 -0
  413. package/dist/esm/lib/flow-core-query/index.d.ts +2 -0
  414. package/dist/esm/lib/flow-core-query/index.d.ts.map +1 -0
  415. package/dist/esm/lib/flow-core-query/index.js +2 -0
  416. package/dist/esm/lib/flow-core-query/index.js.map +1 -0
  417. package/dist/esm/lib/flow-core-state-store/flow-core-state-store.d.ts +25 -0
  418. package/dist/esm/lib/flow-core-state-store/flow-core-state-store.d.ts.map +1 -0
  419. package/dist/esm/lib/flow-core-state-store/flow-core-state-store.js +121 -0
  420. package/dist/esm/lib/flow-core-state-store/flow-core-state-store.js.map +1 -0
  421. package/dist/esm/lib/flow-core-state-store/index.d.ts +6 -0
  422. package/dist/esm/lib/flow-core-state-store/index.d.ts.map +1 -0
  423. package/dist/esm/lib/flow-core-state-store/index.js +4 -0
  424. package/dist/esm/lib/flow-core-state-store/index.js.map +1 -0
  425. package/dist/esm/lib/flow-core-state-store/utils.d.ts +10 -0
  426. package/dist/esm/lib/flow-core-state-store/utils.d.ts.map +1 -0
  427. package/dist/esm/lib/flow-core-state-store/utils.js +5 -0
  428. package/dist/esm/lib/flow-core-state-store/utils.js.map +1 -0
  429. package/dist/esm/lib/utils/assert.d.ts +2 -0
  430. package/dist/esm/lib/utils/assert.d.ts.map +1 -0
  431. package/dist/esm/lib/utils/assert.js +7 -0
  432. package/dist/esm/lib/utils/assert.js.map +1 -0
  433. package/dist/esm/lib/utils/ensure-array.d.ts +2 -0
  434. package/dist/esm/lib/utils/ensure-array.d.ts.map +1 -0
  435. package/dist/esm/lib/utils/ensure-array.js +15 -0
  436. package/dist/esm/lib/utils/ensure-array.js.map +1 -0
  437. package/dist/esm/lib/utils/feature-type-checks.d.ts +5 -0
  438. package/dist/esm/lib/utils/feature-type-checks.d.ts.map +1 -0
  439. package/dist/esm/lib/utils/feature-type-checks.js +23 -0
  440. package/dist/esm/lib/utils/feature-type-checks.js.map +1 -0
  441. package/dist/esm/lib/utils/functional.d.ts +34 -0
  442. package/dist/esm/lib/utils/functional.d.ts.map +1 -0
  443. package/dist/esm/lib/utils/functional.js +89 -0
  444. package/dist/esm/lib/utils/functional.js.map +1 -0
  445. package/dist/esm/lib/utils/index.d.ts +2 -0
  446. package/dist/esm/lib/utils/index.d.ts.map +1 -0
  447. package/dist/esm/lib/utils/index.js +2 -0
  448. package/dist/esm/lib/utils/index.js.map +1 -0
  449. package/dist/esm/lib/utils/string-utils.d.ts +2 -0
  450. package/dist/esm/lib/utils/string-utils.d.ts.map +1 -0
  451. package/dist/esm/lib/utils/string-utils.js +3 -0
  452. package/dist/esm/lib/utils/string-utils.js.map +1 -0
  453. package/dist/esm/lib/utils/type-checks.d.ts +25 -0
  454. package/dist/esm/lib/utils/type-checks.d.ts.map +1 -0
  455. package/dist/esm/lib/utils/type-checks.js +51 -0
  456. package/dist/esm/lib/utils/type-checks.js.map +1 -0
  457. package/dist/esm/lib/utils/typescript-utils.d.ts +2 -0
  458. package/dist/esm/lib/utils/typescript-utils.d.ts.map +1 -0
  459. package/dist/esm/lib/utils/typescript-utils.js +2 -0
  460. package/dist/esm/lib/utils/typescript-utils.js.map +1 -0
  461. package/dist/esm5/index.d.ts +8 -0
  462. package/dist/esm5/index.d.ts.map +1 -0
  463. package/dist/esm5/index.js +8 -0
  464. package/dist/esm5/index.js.map +1 -0
  465. package/dist/esm5/lib/errors/flow-core-error.d.ts +4 -0
  466. package/dist/esm5/lib/errors/flow-core-error.d.ts.map +1 -0
  467. package/dist/esm5/lib/errors/flow-core-error.js +13 -0
  468. package/dist/esm5/lib/errors/flow-core-error.js.map +1 -0
  469. package/dist/esm5/lib/errors/flow-core-expression-error.d.ts +7 -0
  470. package/dist/esm5/lib/errors/flow-core-expression-error.d.ts.map +1 -0
  471. package/dist/esm5/lib/errors/flow-core-expression-error.js +24 -0
  472. package/dist/esm5/lib/errors/flow-core-expression-error.js.map +1 -0
  473. package/dist/esm5/lib/errors/flow-core-map-error.d.ts +5 -0
  474. package/dist/esm5/lib/errors/flow-core-map-error.d.ts.map +1 -0
  475. package/dist/esm5/lib/errors/flow-core-map-error.js +11 -0
  476. package/dist/esm5/lib/errors/flow-core-map-error.js.map +1 -0
  477. package/dist/esm5/lib/errors/index.d.ts +3 -0
  478. package/dist/esm5/lib/errors/index.d.ts.map +1 -0
  479. package/dist/esm5/lib/errors/index.js +3 -0
  480. package/dist/esm5/lib/errors/index.js.map +1 -0
  481. package/dist/esm5/lib/flow-core-expression/flow-core-expression.d.ts +29 -0
  482. package/dist/esm5/lib/flow-core-expression/flow-core-expression.d.ts.map +1 -0
  483. package/dist/esm5/lib/flow-core-expression/flow-core-expression.js +224 -0
  484. package/dist/esm5/lib/flow-core-expression/flow-core-expression.js.map +1 -0
  485. package/dist/esm5/lib/flow-core-expression/flow-core-parser.d.ts +2 -0
  486. package/dist/esm5/lib/flow-core-expression/flow-core-parser.d.ts.map +1 -0
  487. package/dist/esm5/lib/flow-core-expression/flow-core-parser.js +185 -0
  488. package/dist/esm5/lib/flow-core-expression/flow-core-parser.js.map +1 -0
  489. package/dist/esm5/lib/flow-core-expression/functions/from-palette.d.ts +12 -0
  490. package/dist/esm5/lib/flow-core-expression/functions/from-palette.d.ts.map +1 -0
  491. package/dist/esm5/lib/flow-core-expression/functions/from-palette.js +75 -0
  492. package/dist/esm5/lib/flow-core-expression/functions/from-palette.js.map +1 -0
  493. package/dist/esm5/lib/flow-core-expression/functions/state.d.ts +9 -0
  494. package/dist/esm5/lib/flow-core-expression/functions/state.d.ts.map +1 -0
  495. package/dist/esm5/lib/flow-core-expression/functions/state.js +23 -0
  496. package/dist/esm5/lib/flow-core-expression/functions/state.js.map +1 -0
  497. package/dist/esm5/lib/flow-core-expression/index.d.ts +2 -0
  498. package/dist/esm5/lib/flow-core-expression/index.d.ts.map +1 -0
  499. package/dist/esm5/lib/flow-core-expression/index.js +2 -0
  500. package/dist/esm5/lib/flow-core-expression/index.js.map +1 -0
  501. package/dist/esm5/lib/flow-core-expression/parser-helpers.d.ts +2 -0
  502. package/dist/esm5/lib/flow-core-expression/parser-helpers.d.ts.map +1 -0
  503. package/dist/esm5/lib/flow-core-expression/parser-helpers.js +29 -0
  504. package/dist/esm5/lib/flow-core-expression/parser-helpers.js.map +1 -0
  505. package/dist/esm5/lib/flow-core-expression/types.d.ts +27 -0
  506. package/dist/esm5/lib/flow-core-expression/types.d.ts.map +1 -0
  507. package/dist/esm5/lib/flow-core-expression/types.js +2 -0
  508. package/dist/esm5/lib/flow-core-expression/types.js.map +1 -0
  509. package/dist/esm5/lib/flow-core-map/flow-core-map.d.ts +84 -0
  510. package/dist/esm5/lib/flow-core-map/flow-core-map.d.ts.map +1 -0
  511. package/dist/esm5/lib/flow-core-map/flow-core-map.js +746 -0
  512. package/dist/esm5/lib/flow-core-map/flow-core-map.js.map +1 -0
  513. package/dist/esm5/lib/flow-core-map/index.d.ts +2 -0
  514. package/dist/esm5/lib/flow-core-map/index.d.ts.map +1 -0
  515. package/dist/esm5/lib/flow-core-map/index.js +2 -0
  516. package/dist/esm5/lib/flow-core-map/index.js.map +1 -0
  517. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts +4 -0
  518. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts.map +1 -0
  519. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation-layers.js +90 -0
  520. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation-layers.js.map +1 -0
  521. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.events.d.ts +25 -0
  522. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.events.d.ts.map +1 -0
  523. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.events.js +54 -0
  524. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.events.js.map +1 -0
  525. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts +67 -0
  526. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts.map +1 -0
  527. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.plugin.js +701 -0
  528. package/dist/esm5/lib/flow-core-map/plugins/annotations/annotation.plugin.js.map +1 -0
  529. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts +4 -0
  530. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts.map +1 -0
  531. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js +4 -0
  532. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.js.map +1 -0
  533. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts +3 -0
  534. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts.map +1 -0
  535. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js +65 -0
  536. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.js.map +1 -0
  537. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts +23 -0
  538. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts.map +1 -0
  539. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js +60 -0
  540. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.js.map +1 -0
  541. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts +3 -0
  542. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts.map +1 -0
  543. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js +14 -0
  544. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.js.map +1 -0
  545. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts +6 -0
  546. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts.map +1 -0
  547. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js +19 -0
  548. package/dist/esm5/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.js.map +1 -0
  549. package/dist/esm5/lib/flow-core-map/plugins/annotations/types.d.ts +34 -0
  550. package/dist/esm5/lib/flow-core-map/plugins/annotations/types.d.ts.map +1 -0
  551. package/dist/esm5/lib/flow-core-map/plugins/annotations/types.js +2 -0
  552. package/dist/esm5/lib/flow-core-map/plugins/annotations/types.js.map +1 -0
  553. package/dist/esm5/lib/flow-core-map/plugins/data-join.plugin.d.ts +45 -0
  554. package/dist/esm5/lib/flow-core-map/plugins/data-join.plugin.d.ts.map +1 -0
  555. package/dist/esm5/lib/flow-core-map/plugins/data-join.plugin.js +277 -0
  556. package/dist/esm5/lib/flow-core-map/plugins/data-join.plugin.js.map +1 -0
  557. package/dist/esm5/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts +41 -0
  558. package/dist/esm5/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts.map +1 -0
  559. package/dist/esm5/lib/flow-core-map/plugins/flow-core-map-plugin.js +41 -0
  560. package/dist/esm5/lib/flow-core-map/plugins/flow-core-map-plugin.js.map +1 -0
  561. package/dist/esm5/lib/flow-core-map/plugins/hover-effect.plugin.d.ts +14 -0
  562. package/dist/esm5/lib/flow-core-map/plugins/hover-effect.plugin.d.ts.map +1 -0
  563. package/dist/esm5/lib/flow-core-map/plugins/hover-effect.plugin.js +92 -0
  564. package/dist/esm5/lib/flow-core-map/plugins/hover-effect.plugin.js.map +1 -0
  565. package/dist/esm5/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts +26 -0
  566. package/dist/esm5/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts.map +1 -0
  567. package/dist/esm5/lib/flow-core-map/plugins/keyboard-shortcut-manager.js +153 -0
  568. package/dist/esm5/lib/flow-core-map/plugins/keyboard-shortcut-manager.js.map +1 -0
  569. package/dist/esm5/lib/flow-core-map/plugins/plugin-manager.d.ts +27 -0
  570. package/dist/esm5/lib/flow-core-map/plugins/plugin-manager.d.ts.map +1 -0
  571. package/dist/esm5/lib/flow-core-map/plugins/plugin-manager.js +226 -0
  572. package/dist/esm5/lib/flow-core-map/plugins/plugin-manager.js.map +1 -0
  573. package/dist/esm5/lib/flow-core-map/plugins/popup.plugin.d.ts +17 -0
  574. package/dist/esm5/lib/flow-core-map/plugins/popup.plugin.d.ts.map +1 -0
  575. package/dist/esm5/lib/flow-core-map/plugins/popup.plugin.js +91 -0
  576. package/dist/esm5/lib/flow-core-map/plugins/popup.plugin.js.map +1 -0
  577. package/dist/esm5/lib/flow-core-map/plugins/selection/selection.events.d.ts +14 -0
  578. package/dist/esm5/lib/flow-core-map/plugins/selection/selection.events.d.ts.map +1 -0
  579. package/dist/esm5/lib/flow-core-map/plugins/selection/selection.events.js +33 -0
  580. package/dist/esm5/lib/flow-core-map/plugins/selection/selection.events.js.map +1 -0
  581. package/dist/esm5/lib/flow-core-map/plugins/selection/selection.plugin.d.ts +31 -0
  582. package/dist/esm5/lib/flow-core-map/plugins/selection/selection.plugin.d.ts.map +1 -0
  583. package/dist/esm5/lib/flow-core-map/plugins/selection/selection.plugin.js +178 -0
  584. package/dist/esm5/lib/flow-core-map/plugins/selection/selection.plugin.js.map +1 -0
  585. package/dist/esm5/lib/flow-core-map/plugins/selection/source-selection.d.ts +24 -0
  586. package/dist/esm5/lib/flow-core-map/plugins/selection/source-selection.d.ts.map +1 -0
  587. package/dist/esm5/lib/flow-core-map/plugins/selection/source-selection.js +238 -0
  588. package/dist/esm5/lib/flow-core-map/plugins/selection/source-selection.js.map +1 -0
  589. package/dist/esm5/lib/flow-core-map/support/flow-core-map-events.d.ts +56 -0
  590. package/dist/esm5/lib/flow-core-map/support/flow-core-map-events.d.ts.map +1 -0
  591. package/dist/esm5/lib/flow-core-map/support/flow-core-map-events.js +130 -0
  592. package/dist/esm5/lib/flow-core-map/support/flow-core-map-events.js.map +1 -0
  593. package/dist/esm5/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts +29 -0
  594. package/dist/esm5/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts.map +1 -0
  595. package/dist/esm5/lib/flow-core-map/support/flow-core-map-feature-stream.js +191 -0
  596. package/dist/esm5/lib/flow-core-map/support/flow-core-map-feature-stream.js.map +1 -0
  597. package/dist/esm5/lib/flow-core-map/support/flow-core-map-popup.d.ts +39 -0
  598. package/dist/esm5/lib/flow-core-map/support/flow-core-map-popup.d.ts.map +1 -0
  599. package/dist/esm5/lib/flow-core-map/support/flow-core-map-popup.js +205 -0
  600. package/dist/esm5/lib/flow-core-map/support/flow-core-map-popup.js.map +1 -0
  601. package/dist/esm5/lib/flow-core-map/support/image-registry.d.ts +2 -0
  602. package/dist/esm5/lib/flow-core-map/support/image-registry.d.ts.map +1 -0
  603. package/dist/esm5/lib/flow-core-map/support/image-registry.js +80 -0
  604. package/dist/esm5/lib/flow-core-map/support/image-registry.js.map +1 -0
  605. package/dist/esm5/lib/flow-core-map/types.d.ts +45 -0
  606. package/dist/esm5/lib/flow-core-map/types.d.ts.map +1 -0
  607. package/dist/esm5/lib/flow-core-map/types.js +6 -0
  608. package/dist/esm5/lib/flow-core-map/types.js.map +1 -0
  609. package/dist/esm5/lib/flow-core-map-style/flow-core-map-data-source.d.ts +26 -0
  610. package/dist/esm5/lib/flow-core-map-style/flow-core-map-data-source.d.ts.map +1 -0
  611. package/dist/esm5/lib/flow-core-map-style/flow-core-map-data-source.js +257 -0
  612. package/dist/esm5/lib/flow-core-map-style/flow-core-map-data-source.js.map +1 -0
  613. package/dist/esm5/lib/flow-core-map-style/flow-core-map-layer.d.ts +58 -0
  614. package/dist/esm5/lib/flow-core-map-style/flow-core-map-layer.d.ts.map +1 -0
  615. package/dist/esm5/lib/flow-core-map-style/flow-core-map-layer.js +321 -0
  616. package/dist/esm5/lib/flow-core-map-style/flow-core-map-layer.js.map +1 -0
  617. package/dist/esm5/lib/flow-core-map-style/flow-core-map-style.d.ts +32 -0
  618. package/dist/esm5/lib/flow-core-map-style/flow-core-map-style.d.ts.map +1 -0
  619. package/dist/esm5/lib/flow-core-map-style/flow-core-map-style.js +276 -0
  620. package/dist/esm5/lib/flow-core-map-style/flow-core-map-style.js.map +1 -0
  621. package/dist/esm5/lib/flow-core-map-style/index.d.ts +5 -0
  622. package/dist/esm5/lib/flow-core-map-style/index.d.ts.map +1 -0
  623. package/dist/esm5/lib/flow-core-map-style/index.js +5 -0
  624. package/dist/esm5/lib/flow-core-map-style/index.js.map +1 -0
  625. package/dist/esm5/lib/flow-core-map-style/types.d.ts +49 -0
  626. package/dist/esm5/lib/flow-core-map-style/types.d.ts.map +1 -0
  627. package/dist/esm5/lib/flow-core-map-style/types.js +2 -0
  628. package/dist/esm5/lib/flow-core-map-style/types.js.map +1 -0
  629. package/dist/esm5/lib/flow-core-query/FlowQueryResultFormat.d.ts +36 -0
  630. package/dist/esm5/lib/flow-core-query/FlowQueryResultFormat.d.ts.map +1 -0
  631. package/dist/esm5/lib/flow-core-query/FlowQueryResultFormat.js +2 -0
  632. package/dist/esm5/lib/flow-core-query/FlowQueryResultFormat.js.map +1 -0
  633. package/dist/esm5/lib/flow-core-query/async-committer.d.ts +15 -0
  634. package/dist/esm5/lib/flow-core-query/async-committer.d.ts.map +1 -0
  635. package/dist/esm5/lib/flow-core-query/async-committer.js +57 -0
  636. package/dist/esm5/lib/flow-core-query/async-committer.js.map +1 -0
  637. package/dist/esm5/lib/flow-core-query/flow-core-query.d.ts +35 -0
  638. package/dist/esm5/lib/flow-core-query/flow-core-query.d.ts.map +1 -0
  639. package/dist/esm5/lib/flow-core-query/flow-core-query.js +316 -0
  640. package/dist/esm5/lib/flow-core-query/flow-core-query.js.map +1 -0
  641. package/dist/esm5/lib/flow-core-query/index.d.ts +2 -0
  642. package/dist/esm5/lib/flow-core-query/index.d.ts.map +1 -0
  643. package/dist/esm5/lib/flow-core-query/index.js +2 -0
  644. package/dist/esm5/lib/flow-core-query/index.js.map +1 -0
  645. package/dist/esm5/lib/flow-core-state-store/flow-core-state-store.d.ts +25 -0
  646. package/dist/esm5/lib/flow-core-state-store/flow-core-state-store.d.ts.map +1 -0
  647. package/dist/esm5/lib/flow-core-state-store/flow-core-state-store.js +190 -0
  648. package/dist/esm5/lib/flow-core-state-store/flow-core-state-store.js.map +1 -0
  649. package/dist/esm5/lib/flow-core-state-store/index.d.ts +6 -0
  650. package/dist/esm5/lib/flow-core-state-store/index.d.ts.map +1 -0
  651. package/dist/esm5/lib/flow-core-state-store/index.js +4 -0
  652. package/dist/esm5/lib/flow-core-state-store/index.js.map +1 -0
  653. package/dist/esm5/lib/flow-core-state-store/utils.d.ts +10 -0
  654. package/dist/esm5/lib/flow-core-state-store/utils.d.ts.map +1 -0
  655. package/dist/esm5/lib/flow-core-state-store/utils.js +5 -0
  656. package/dist/esm5/lib/flow-core-state-store/utils.js.map +1 -0
  657. package/dist/esm5/lib/utils/assert.d.ts +2 -0
  658. package/dist/esm5/lib/utils/assert.d.ts.map +1 -0
  659. package/dist/esm5/lib/utils/assert.js +7 -0
  660. package/dist/esm5/lib/utils/assert.js.map +1 -0
  661. package/dist/esm5/lib/utils/ensure-array.d.ts +2 -0
  662. package/dist/esm5/lib/utils/ensure-array.d.ts.map +1 -0
  663. package/dist/esm5/lib/utils/ensure-array.js +19 -0
  664. package/dist/esm5/lib/utils/ensure-array.js.map +1 -0
  665. package/dist/esm5/lib/utils/feature-type-checks.d.ts +5 -0
  666. package/dist/esm5/lib/utils/feature-type-checks.d.ts.map +1 -0
  667. package/dist/esm5/lib/utils/feature-type-checks.js +23 -0
  668. package/dist/esm5/lib/utils/feature-type-checks.js.map +1 -0
  669. package/dist/esm5/lib/utils/functional.d.ts +34 -0
  670. package/dist/esm5/lib/utils/functional.d.ts.map +1 -0
  671. package/dist/esm5/lib/utils/functional.js +112 -0
  672. package/dist/esm5/lib/utils/functional.js.map +1 -0
  673. package/dist/esm5/lib/utils/index.d.ts +2 -0
  674. package/dist/esm5/lib/utils/index.d.ts.map +1 -0
  675. package/dist/esm5/lib/utils/index.js +2 -0
  676. package/dist/esm5/lib/utils/index.js.map +1 -0
  677. package/dist/esm5/lib/utils/string-utils.d.ts +2 -0
  678. package/dist/esm5/lib/utils/string-utils.d.ts.map +1 -0
  679. package/dist/esm5/lib/utils/string-utils.js +7 -0
  680. package/dist/esm5/lib/utils/string-utils.js.map +1 -0
  681. package/dist/esm5/lib/utils/type-checks.d.ts +25 -0
  682. package/dist/esm5/lib/utils/type-checks.d.ts.map +1 -0
  683. package/dist/esm5/lib/utils/type-checks.js +53 -0
  684. package/dist/esm5/lib/utils/type-checks.js.map +1 -0
  685. package/dist/esm5/lib/utils/typescript-utils.d.ts +2 -0
  686. package/dist/esm5/lib/utils/typescript-utils.d.ts.map +1 -0
  687. package/dist/esm5/lib/utils/typescript-utils.js +2 -0
  688. package/dist/esm5/lib/utils/typescript-utils.js.map +1 -0
  689. package/dist/flow-rdf-core.css +1 -0
  690. package/dist/types/index.d.ts +7 -1
  691. package/dist/types/index.d.ts.map +1 -1
  692. package/dist/types/lib/errors/flow-core-error.d.ts +4 -0
  693. package/dist/types/lib/errors/flow-core-error.d.ts.map +1 -0
  694. package/dist/types/lib/errors/flow-core-expression-error.d.ts +7 -0
  695. package/dist/types/lib/errors/flow-core-expression-error.d.ts.map +1 -0
  696. package/dist/types/lib/errors/flow-core-map-error.d.ts +5 -0
  697. package/dist/types/lib/errors/flow-core-map-error.d.ts.map +1 -0
  698. package/dist/types/lib/errors/index.d.ts +3 -0
  699. package/dist/types/lib/errors/index.d.ts.map +1 -0
  700. package/dist/types/lib/flow-core-expression/flow-core-expression.d.ts +29 -0
  701. package/dist/types/lib/flow-core-expression/flow-core-expression.d.ts.map +1 -0
  702. package/dist/types/lib/flow-core-expression/flow-core-parser.d.ts +19 -0
  703. package/dist/types/lib/flow-core-expression/flow-core-parser.d.ts.map +1 -0
  704. package/dist/types/lib/flow-core-expression/functions/from-palette.d.ts +12 -0
  705. package/dist/types/lib/flow-core-expression/functions/from-palette.d.ts.map +1 -0
  706. package/dist/types/lib/flow-core-expression/functions/state.d.ts +9 -0
  707. package/dist/types/lib/flow-core-expression/functions/state.d.ts.map +1 -0
  708. package/dist/types/lib/flow-core-expression/index.d.ts +2 -0
  709. package/dist/types/lib/flow-core-expression/index.d.ts.map +1 -0
  710. package/dist/types/lib/flow-core-expression/parser-helpers.d.ts +2 -0
  711. package/dist/types/lib/flow-core-expression/parser-helpers.d.ts.map +1 -0
  712. package/dist/types/lib/flow-core-expression/types.d.ts +27 -0
  713. package/dist/types/lib/flow-core-expression/types.d.ts.map +1 -0
  714. package/dist/types/lib/flow-core-map/flow-core-map.d.ts +106 -0
  715. package/dist/types/lib/flow-core-map/flow-core-map.d.ts.map +1 -0
  716. package/dist/types/lib/flow-core-map/index.d.ts +2 -0
  717. package/dist/types/lib/flow-core-map/index.d.ts.map +1 -0
  718. package/dist/types/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts +4 -0
  719. package/dist/types/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts.map +1 -0
  720. package/dist/types/lib/flow-core-map/plugins/annotations/annotation.events.d.ts +25 -0
  721. package/dist/types/lib/flow-core-map/plugins/annotations/annotation.events.d.ts.map +1 -0
  722. package/dist/types/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts +70 -0
  723. package/dist/types/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts.map +1 -0
  724. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts +4 -0
  725. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts.map +1 -0
  726. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts +3 -0
  727. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts.map +1 -0
  728. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts +23 -0
  729. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts.map +1 -0
  730. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts +3 -0
  731. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts.map +1 -0
  732. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts +6 -0
  733. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts.map +1 -0
  734. package/dist/types/lib/flow-core-map/plugins/annotations/types.d.ts +34 -0
  735. package/dist/types/lib/flow-core-map/plugins/annotations/types.d.ts.map +1 -0
  736. package/dist/types/lib/flow-core-map/plugins/data-join.plugin.d.ts +47 -0
  737. package/dist/types/lib/flow-core-map/plugins/data-join.plugin.d.ts.map +1 -0
  738. package/dist/types/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts +41 -0
  739. package/dist/types/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts.map +1 -0
  740. package/dist/types/lib/flow-core-map/plugins/hover-effect.plugin.d.ts +14 -0
  741. package/dist/types/lib/flow-core-map/plugins/hover-effect.plugin.d.ts.map +1 -0
  742. package/dist/types/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts +52 -0
  743. package/dist/types/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts.map +1 -0
  744. package/dist/types/lib/flow-core-map/plugins/plugin-manager.d.ts +27 -0
  745. package/dist/types/lib/flow-core-map/plugins/plugin-manager.d.ts.map +1 -0
  746. package/dist/types/lib/flow-core-map/plugins/popup.plugin.d.ts +17 -0
  747. package/dist/types/lib/flow-core-map/plugins/popup.plugin.d.ts.map +1 -0
  748. package/dist/types/lib/flow-core-map/plugins/selection/selection.events.d.ts +14 -0
  749. package/dist/types/lib/flow-core-map/plugins/selection/selection.events.d.ts.map +1 -0
  750. package/dist/types/lib/flow-core-map/plugins/selection/selection.plugin.d.ts +31 -0
  751. package/dist/types/lib/flow-core-map/plugins/selection/selection.plugin.d.ts.map +1 -0
  752. package/dist/types/lib/flow-core-map/plugins/selection/source-selection.d.ts +24 -0
  753. package/dist/types/lib/flow-core-map/plugins/selection/source-selection.d.ts.map +1 -0
  754. package/dist/types/lib/flow-core-map/support/flow-core-map-events.d.ts +62 -0
  755. package/dist/types/lib/flow-core-map/support/flow-core-map-events.d.ts.map +1 -0
  756. package/dist/types/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts +29 -0
  757. package/dist/types/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts.map +1 -0
  758. package/dist/types/lib/flow-core-map/support/flow-core-map-popup.d.ts +74 -0
  759. package/dist/types/lib/flow-core-map/support/flow-core-map-popup.d.ts.map +1 -0
  760. package/dist/types/lib/flow-core-map/support/image-registry.d.ts +2 -0
  761. package/dist/types/lib/flow-core-map/support/image-registry.d.ts.map +1 -0
  762. package/dist/types/lib/flow-core-map/types.d.ts +57 -0
  763. package/dist/types/lib/flow-core-map/types.d.ts.map +1 -0
  764. package/dist/types/lib/flow-core-map-style/flow-core-map-data-source.d.ts +33 -0
  765. package/dist/types/lib/flow-core-map-style/flow-core-map-data-source.d.ts.map +1 -0
  766. package/dist/types/lib/flow-core-map-style/flow-core-map-layer.d.ts +71 -0
  767. package/dist/types/lib/flow-core-map-style/flow-core-map-layer.d.ts.map +1 -0
  768. package/dist/types/lib/flow-core-map-style/flow-core-map-style.d.ts +32 -0
  769. package/dist/types/lib/flow-core-map-style/flow-core-map-style.d.ts.map +1 -0
  770. package/dist/types/lib/flow-core-map-style/index.d.ts +5 -0
  771. package/dist/types/lib/flow-core-map-style/index.d.ts.map +1 -0
  772. package/dist/types/lib/flow-core-map-style/types.d.ts +60 -0
  773. package/dist/types/lib/flow-core-map-style/types.d.ts.map +1 -0
  774. package/dist/types/lib/{flow-query.d.ts → flow-core-query/FlowQueryResultFormat.d.ts} +9 -26
  775. package/dist/types/lib/flow-core-query/FlowQueryResultFormat.d.ts.map +1 -0
  776. package/dist/types/lib/flow-core-query/async-committer.d.ts +15 -0
  777. package/dist/types/lib/flow-core-query/async-committer.d.ts.map +1 -0
  778. package/dist/types/lib/flow-core-query/flow-core-query.d.ts +35 -0
  779. package/dist/types/lib/flow-core-query/flow-core-query.d.ts.map +1 -0
  780. package/dist/types/lib/flow-core-query/index.d.ts +2 -0
  781. package/dist/types/lib/flow-core-query/index.d.ts.map +1 -0
  782. package/dist/types/lib/flow-core-state-store/flow-core-state-store.d.ts +25 -0
  783. package/dist/types/lib/flow-core-state-store/flow-core-state-store.d.ts.map +1 -0
  784. package/dist/types/lib/flow-core-state-store/index.d.ts +6 -0
  785. package/dist/types/lib/flow-core-state-store/index.d.ts.map +1 -0
  786. package/dist/types/lib/flow-core-state-store/utils.d.ts +10 -0
  787. package/dist/types/lib/flow-core-state-store/utils.d.ts.map +1 -0
  788. package/dist/types/lib/utils/assert.d.ts +2 -0
  789. package/dist/types/lib/utils/assert.d.ts.map +1 -0
  790. package/dist/types/lib/utils/ensure-array.d.ts +2 -0
  791. package/dist/types/lib/utils/ensure-array.d.ts.map +1 -0
  792. package/dist/types/lib/utils/feature-type-checks.d.ts +5 -0
  793. package/dist/types/lib/utils/feature-type-checks.d.ts.map +1 -0
  794. package/dist/types/lib/utils/functional.d.ts +70 -0
  795. package/dist/types/lib/utils/functional.d.ts.map +1 -0
  796. package/dist/types/lib/utils/index.d.ts +2 -0
  797. package/dist/types/lib/utils/index.d.ts.map +1 -0
  798. package/dist/types/lib/utils/string-utils.d.ts +2 -0
  799. package/dist/types/lib/utils/string-utils.d.ts.map +1 -0
  800. package/dist/types/lib/utils/type-checks.d.ts +25 -0
  801. package/dist/types/lib/utils/type-checks.d.ts.map +1 -0
  802. package/dist/types/lib/utils/typescript-utils.d.ts +2 -0
  803. package/dist/types/lib/utils/typescript-utils.d.ts.map +1 -0
  804. package/package.json +81 -12
  805. package/.turbo/turbo-build.log +0 -17
  806. package/CHANGELOG.md +0 -13
  807. package/dist/cjs/lib/async-committer.js +0 -47
  808. package/dist/cjs/lib/async-committer.js.map +0 -1
  809. package/dist/cjs/lib/flow-query.js +0 -183
  810. package/dist/cjs/lib/flow-query.js.map +0 -1
  811. package/dist/esm/lib/async-committer.js.map +0 -1
  812. package/dist/esm/lib/flow-query.js.map +0 -1
  813. package/dist/types/lib/async-committer.d.ts.map +0 -1
  814. package/dist/types/lib/flow-query.d.ts.map +0 -1
  815. package/jest.config.js +0 -3
  816. package/src/__tests__/test.spec.ts +0 -116
  817. package/src/index.ts +0 -2
  818. package/src/lib/async-committer.ts +0 -23
  819. package/src/lib/flow-query.ts +0 -244
  820. package/tsconfig.build.json +0 -12
  821. package/tsconfig.json +0 -103
@@ -0,0 +1,746 @@
1
+ import { __assign, __awaiter, __extends, __generator } from "tslib";
2
+ import Debug from 'debug';
3
+ import EventEmitter from 'eventemitter3';
4
+ import * as maplibre from 'maplibre-gl';
5
+ import { runInAction } from 'mobx';
6
+ import { toStream } from 'mobx-utils';
7
+ import { FlowCoreError } from '../errors';
8
+ import { FlowCoreMapError } from '../errors/flow-core-map-error';
9
+ import { FlowCoreMapStyle } from '../flow-core-map-style';
10
+ import { isDefined, isNil, isString, isStringFull, isUndefined, isURL } from '../utils';
11
+ import { assert } from '../utils/assert';
12
+ import { debounceWithArgs, throttle } from '../utils/functional';
13
+ import { PluginManager } from './plugins/plugin-manager';
14
+ import { FlowCoreMapEvent, FlowCoreMapLoadingEvent, FlowCoreMapMouseEvent, FlowCoreMapSourceEvent, FlowCoreMapStyleChangeEvent } from './support/flow-core-map-events';
15
+ import { FlowCoreMapFeatureStream } from './support/flow-core-map-feature-stream';
16
+ import { ImageRegistry } from './support/image-registry';
17
+ var debug = Debug('flow:flow-core-map');
18
+ var MOUSE_MOVE_THROTTLE_DURATION = 200;
19
+ var FlowCoreMap = (function (_super) {
20
+ __extends(FlowCoreMap, _super);
21
+ function FlowCoreMap(options) {
22
+ var _this = _super.call(this) || this;
23
+ Object.defineProperty(_this, "_initialized", {
24
+ enumerable: true,
25
+ configurable: true,
26
+ writable: true,
27
+ value: void 0
28
+ });
29
+ Object.defineProperty(_this, "_loading", {
30
+ enumerable: true,
31
+ configurable: true,
32
+ writable: true,
33
+ value: true
34
+ });
35
+ Object.defineProperty(_this, "_state", {
36
+ enumerable: true,
37
+ configurable: true,
38
+ writable: true,
39
+ value: null
40
+ });
41
+ Object.defineProperty(_this, "debouncedEmitSourceEvent", {
42
+ enumerable: true,
43
+ configurable: true,
44
+ writable: true,
45
+ value: void 0
46
+ });
47
+ Object.defineProperty(_this, "imageRegistry", {
48
+ enumerable: true,
49
+ configurable: true,
50
+ writable: true,
51
+ value: new ImageRegistry()
52
+ });
53
+ Object.defineProperty(_this, "options", {
54
+ enumerable: true,
55
+ configurable: true,
56
+ writable: true,
57
+ value: void 0
58
+ });
59
+ Object.defineProperty(_this, "pluginManager", {
60
+ enumerable: true,
61
+ configurable: true,
62
+ writable: true,
63
+ value: void 0
64
+ });
65
+ Object.defineProperty(_this, "resolveInitialized", {
66
+ enumerable: true,
67
+ configurable: true,
68
+ writable: true,
69
+ value: function () { }
70
+ });
71
+ Object.defineProperty(_this, "style", {
72
+ enumerable: true,
73
+ configurable: true,
74
+ writable: true,
75
+ value: void 0
76
+ });
77
+ Object.defineProperty(_this, "styleUpdateSubscription", {
78
+ enumerable: true,
79
+ configurable: true,
80
+ writable: true,
81
+ value: null
82
+ });
83
+ Object.defineProperty(_this, "throttledMouseMove", {
84
+ enumerable: true,
85
+ configurable: true,
86
+ writable: true,
87
+ value: throttle(_this.handleMouseMove, {
88
+ delay: MOUSE_MOVE_THROTTLE_DURATION,
89
+ noLeading: true,
90
+ context: _this
91
+ })
92
+ });
93
+ Object.defineProperty(_this, "updateMapStyle", {
94
+ enumerable: true,
95
+ configurable: true,
96
+ writable: true,
97
+ value: function (style) {
98
+ var oldStyle = _this.maplibreMap.getStyle();
99
+ var beforeEvent = new FlowCoreMapStyleChangeEvent('beforeStyleChanged', _this, oldStyle, style);
100
+ style = _this.pluginManager.forwardStyleChangeEvent(new FlowCoreMapStyleChangeEvent('beforeStyleChanged', _this, oldStyle, style));
101
+ _this.emit(beforeEvent.type, beforeEvent);
102
+ debug("".concat(_this.formattedName(), ": Updating style"), style);
103
+ _this.maplibreMap.setStyle(style);
104
+ _this.emitEvent(new FlowCoreMapStyleChangeEvent('styleChanged', _this, oldStyle, style));
105
+ }
106
+ });
107
+ Object.defineProperty(_this, "maplibreMap", {
108
+ enumerable: true,
109
+ configurable: true,
110
+ writable: true,
111
+ value: void 0
112
+ });
113
+ _this.options = __assign(__assign({}, FlowCoreMap.defaultOptions), options);
114
+ _this.style = new FlowCoreMapStyle({
115
+ id: 'style'
116
+ });
117
+ _this.debouncedEmitSourceEvent = debounceWithArgs(_this.emitEvent, {
118
+ delay: 20,
119
+ hash: function (event) { return event.source; },
120
+ context: _this
121
+ });
122
+ _this._initialized = new Promise(function (resolve) {
123
+ _this.resolveInitialized = resolve;
124
+ });
125
+ _this.pluginManager = new PluginManager(_this);
126
+ _this.initialize();
127
+ return _this;
128
+ }
129
+ Object.defineProperty(FlowCoreMap.prototype, "client", {
130
+ get: function () {
131
+ return this.options.flowClient;
132
+ },
133
+ enumerable: false,
134
+ configurable: true
135
+ });
136
+ Object.defineProperty(FlowCoreMap.prototype, "container", {
137
+ get: function () {
138
+ return this.maplibreMap.getContainer();
139
+ },
140
+ enumerable: false,
141
+ configurable: true
142
+ });
143
+ Object.defineProperty(FlowCoreMap.prototype, "id", {
144
+ get: function () {
145
+ return this.options.id;
146
+ },
147
+ enumerable: false,
148
+ configurable: true
149
+ });
150
+ Object.defineProperty(FlowCoreMap.prototype, "initialized", {
151
+ get: function () {
152
+ return this._initialized;
153
+ },
154
+ enumerable: false,
155
+ configurable: true
156
+ });
157
+ Object.defineProperty(FlowCoreMap.prototype, "state", {
158
+ get: function () {
159
+ return this._state;
160
+ },
161
+ enumerable: false,
162
+ configurable: true
163
+ });
164
+ Object.defineProperty(FlowCoreMap.prototype, "styleSpecification", {
165
+ get: function () {
166
+ return this.style.styleSpecification;
167
+ },
168
+ enumerable: false,
169
+ configurable: true
170
+ });
171
+ Object.defineProperty(FlowCoreMap.prototype, "addLayer", {
172
+ enumerable: false,
173
+ configurable: true,
174
+ writable: true,
175
+ value: function (layer) {
176
+ this.style.addLayer(layer);
177
+ return this;
178
+ }
179
+ });
180
+ Object.defineProperty(FlowCoreMap.prototype, "addSource", {
181
+ enumerable: false,
182
+ configurable: true,
183
+ writable: true,
184
+ value: function (source) {
185
+ this.emitEvent(new FlowCoreMapSourceEvent('beforeSourceAdded', this, source.id));
186
+ source.setFlowEndpoint({
187
+ host: this.options.flowClient.baseUrl,
188
+ apiKey: this.options.flowClient.apiKey || undefined
189
+ });
190
+ this.style.addSource(source);
191
+ this.emitEvent(new FlowCoreMapSourceEvent('sourceAdded', this, source.id));
192
+ return this;
193
+ }
194
+ });
195
+ Object.defineProperty(FlowCoreMap.prototype, "bindState", {
196
+ enumerable: false,
197
+ configurable: true,
198
+ writable: true,
199
+ value: function (state) {
200
+ this._state = state;
201
+ this.style.bindState(state);
202
+ this.pluginManager.bindState(state);
203
+ return this;
204
+ }
205
+ });
206
+ Object.defineProperty(FlowCoreMap.prototype, "destroy", {
207
+ enumerable: false,
208
+ configurable: true,
209
+ writable: true,
210
+ value: function () {
211
+ var _a, _b;
212
+ this.pluginManager.removeAllPlugins();
213
+ (_a = this.styleUpdateSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
214
+ (_b = this.maplibreMap) === null || _b === void 0 ? void 0 : _b.remove();
215
+ this.emit('destroyed', new FlowCoreMapEvent('destroyed', this));
216
+ }
217
+ });
218
+ Object.defineProperty(FlowCoreMap.prototype, "emitError", {
219
+ enumerable: false,
220
+ configurable: true,
221
+ writable: true,
222
+ value: function (message, originalError) {
223
+ var error = new FlowCoreMapError("".concat(this.formattedName(), ": ").concat(message), originalError);
224
+ this.pluginManager.forwardEvent('error', error);
225
+ if (this.listenerCount('error')) {
226
+ this.emit('error', error);
227
+ }
228
+ else {
229
+ console.error(error);
230
+ }
231
+ }
232
+ });
233
+ Object.defineProperty(FlowCoreMap.prototype, "emitEvent", {
234
+ enumerable: false,
235
+ configurable: true,
236
+ writable: true,
237
+ value: function (event) {
238
+ this.pluginManager.forwardEvent(event.type, event);
239
+ this.emit(event.type, event);
240
+ }
241
+ });
242
+ Object.defineProperty(FlowCoreMap.prototype, "featureStream", {
243
+ enumerable: false,
244
+ configurable: true,
245
+ writable: true,
246
+ value: function (options) {
247
+ return new FlowCoreMapFeatureStream(__assign({ map: this }, options));
248
+ }
249
+ });
250
+ Object.defineProperty(FlowCoreMap.prototype, "formattedName", {
251
+ enumerable: false,
252
+ configurable: true,
253
+ writable: true,
254
+ value: function () {
255
+ return "FlowCoreMap<".concat(this.options.id, ">");
256
+ }
257
+ });
258
+ Object.defineProperty(FlowCoreMap.prototype, "getFeatureState", {
259
+ enumerable: false,
260
+ configurable: true,
261
+ writable: true,
262
+ value: function (feature) {
263
+ return this.maplibreMap.getFeatureState(feature);
264
+ }
265
+ });
266
+ Object.defineProperty(FlowCoreMap.prototype, "getLayer", {
267
+ enumerable: false,
268
+ configurable: true,
269
+ writable: true,
270
+ value: function (id) {
271
+ return this.style.getLayer(id);
272
+ }
273
+ });
274
+ Object.defineProperty(FlowCoreMap.prototype, "getLayers", {
275
+ enumerable: false,
276
+ configurable: true,
277
+ writable: true,
278
+ value: function (filter) {
279
+ return this.style.getLayers(filter);
280
+ }
281
+ });
282
+ Object.defineProperty(FlowCoreMap.prototype, "getPlugin", {
283
+ enumerable: false,
284
+ configurable: true,
285
+ writable: true,
286
+ value: function (pluginOrName) {
287
+ return this.pluginManager.getPlugin(pluginOrName);
288
+ }
289
+ });
290
+ Object.defineProperty(FlowCoreMap.prototype, "getSource", {
291
+ enumerable: false,
292
+ configurable: true,
293
+ writable: true,
294
+ value: function (id) {
295
+ return this.style.getSource(id);
296
+ }
297
+ });
298
+ Object.defineProperty(FlowCoreMap.prototype, "getSources", {
299
+ enumerable: false,
300
+ configurable: true,
301
+ writable: true,
302
+ value: function (filter) {
303
+ return this.style.getSources(filter);
304
+ }
305
+ });
306
+ Object.defineProperty(FlowCoreMap.prototype, "registerImage", {
307
+ enumerable: false,
308
+ configurable: true,
309
+ writable: true,
310
+ value: function (id, src, width, height, pixelDensity, recolor) {
311
+ if (pixelDensity === void 0) { pixelDensity = 2; }
312
+ if (recolor === void 0) { recolor = false; }
313
+ debug("".concat(this.formattedName(), ": Registering image '").concat(id, "'"));
314
+ this.imageRegistry.registerImage(id, src, width, height, pixelDensity, recolor);
315
+ }
316
+ });
317
+ Object.defineProperty(FlowCoreMap.prototype, "removeFeatureState", {
318
+ enumerable: false,
319
+ configurable: true,
320
+ writable: true,
321
+ value: function (feature, key, fireEvent) {
322
+ var _a;
323
+ if (fireEvent === void 0) { fireEvent = true; }
324
+ if (isNil(feature.id) && isDefined(key)) {
325
+ var style = this.maplibreMap.style;
326
+ style._checkLoaded();
327
+ var sourceId = feature.source;
328
+ var sourceCache = style.sourceCaches[sourceId];
329
+ if (sourceCache === undefined) {
330
+ throw new FlowCoreError("The source '".concat(sourceId, "' does not exist in the map's style."));
331
+ }
332
+ var sourceState_1 = sourceCache._state;
333
+ var sourceType = sourceCache.getSource().type;
334
+ var sourceLayer_1 = sourceType === 'vector' ? (_a = feature.sourceLayer) !== null && _a !== void 0 ? _a : 'geometry' : '_geojsonTileLayer';
335
+ sourceState_1.deletedStates[sourceLayer_1] = sourceState_1.deletedStates[sourceLayer_1] || {};
336
+ var sourceLayerDeleted = sourceState_1.deletedStates[sourceLayer_1] === null;
337
+ if (sourceLayerDeleted) {
338
+ return;
339
+ }
340
+ if (sourceState_1.state[sourceLayer_1]) {
341
+ Object.keys(sourceState_1.state[sourceLayer_1]).forEach(function (feature) {
342
+ if (sourceState_1.deletedStates[sourceLayer_1][feature] !== null) {
343
+ sourceState_1.deletedStates[sourceLayer_1][feature] = sourceState_1.deletedStates[sourceLayer_1][feature] || {};
344
+ sourceState_1.deletedStates[sourceLayer_1][feature][key] = null;
345
+ }
346
+ });
347
+ }
348
+ this.maplibreMap._update();
349
+ }
350
+ else {
351
+ this.maplibreMap.removeFeatureState(feature, key);
352
+ }
353
+ if (fireEvent) {
354
+ var sourceEvent = new FlowCoreMapSourceEvent('sourceFeatureState', this, feature.source);
355
+ this.debouncedEmitSourceEvent(sourceEvent);
356
+ }
357
+ }
358
+ });
359
+ Object.defineProperty(FlowCoreMap.prototype, "removeLayer", {
360
+ enumerable: false,
361
+ configurable: true,
362
+ writable: true,
363
+ value: function (id) {
364
+ this.style.removeLayer(id);
365
+ return this;
366
+ }
367
+ });
368
+ Object.defineProperty(FlowCoreMap.prototype, "removeSource", {
369
+ enumerable: false,
370
+ configurable: true,
371
+ writable: true,
372
+ value: function (id, removeLayers) {
373
+ if (removeLayers === void 0) { removeLayers = false; }
374
+ this.emitEvent(new FlowCoreMapSourceEvent('beforeSourceRemoved', this, id));
375
+ this.style.removeSource(id, removeLayers);
376
+ this.emitEvent(new FlowCoreMapSourceEvent('sourceRemoved', this, id));
377
+ return this;
378
+ }
379
+ });
380
+ Object.defineProperty(FlowCoreMap.prototype, "setBaseStyle", {
381
+ enumerable: false,
382
+ configurable: true,
383
+ writable: true,
384
+ value: function (style) {
385
+ return __awaiter(this, void 0, void 0, function () {
386
+ var baseStyle;
387
+ return __generator(this, function (_a) {
388
+ switch (_a.label) {
389
+ case 0: return [4, this.loadBaseStyle(style)];
390
+ case 1:
391
+ baseStyle = _a.sent();
392
+ this.style.setBaseStyle(baseStyle);
393
+ return [2];
394
+ }
395
+ });
396
+ });
397
+ }
398
+ });
399
+ Object.defineProperty(FlowCoreMap.prototype, "getCenter", {
400
+ enumerable: false,
401
+ configurable: true,
402
+ writable: true,
403
+ value: function () {
404
+ var lngLat = this.maplibreMap.getCenter();
405
+ var zoom = this.maplibreMap.getZoom();
406
+ var bearing = this.maplibreMap.getBearing();
407
+ var pitch = this.maplibreMap.getPitch();
408
+ return {
409
+ lng: lngLat.lng,
410
+ lat: lngLat.lat,
411
+ zoom: zoom,
412
+ bearing: bearing,
413
+ pitch: pitch
414
+ };
415
+ }
416
+ });
417
+ Object.defineProperty(FlowCoreMap.prototype, "setCenter", {
418
+ enumerable: false,
419
+ configurable: true,
420
+ writable: true,
421
+ value: function (center, animationOptions) {
422
+ var lngLat = isDefined(center.lng) && isDefined(center.lat) ? new maplibre.LngLat(center.lng, center.lat) : undefined;
423
+ var method = this.maplibreMap.jumpTo;
424
+ if (animationOptions) {
425
+ switch (animationOptions.mode) {
426
+ case 'ease':
427
+ method = this.maplibreMap.easeTo;
428
+ break;
429
+ case 'fly':
430
+ method = this.maplibreMap.flyTo;
431
+ break;
432
+ default:
433
+ method = this.maplibreMap.jumpTo;
434
+ }
435
+ }
436
+ var options = __assign(__assign({ center: lngLat }, center), animationOptions);
437
+ method.call(this.maplibreMap, options);
438
+ return this;
439
+ }
440
+ });
441
+ Object.defineProperty(FlowCoreMap.prototype, "getBounds", {
442
+ enumerable: false,
443
+ configurable: true,
444
+ writable: true,
445
+ value: function () {
446
+ var bounds = this.maplibreMap.getBounds();
447
+ return [bounds.getWest(), bounds.getSouth(), bounds.getEast(), bounds.getNorth()];
448
+ }
449
+ });
450
+ Object.defineProperty(FlowCoreMap.prototype, "setBounds", {
451
+ enumerable: false,
452
+ configurable: true,
453
+ writable: true,
454
+ value: function (bounds, options) {
455
+ var fitBoundsOptions = __assign({ linear: !options || options.mode === 'ease' || options.mode === 'jump', animate: !!options && options.mode !== 'jump' }, options);
456
+ this.maplibreMap.fitBounds(bounds, fitBoundsOptions);
457
+ }
458
+ });
459
+ Object.defineProperty(FlowCoreMap.prototype, "setFeatureState", {
460
+ enumerable: false,
461
+ configurable: true,
462
+ writable: true,
463
+ value: function (feature, state, fireEvent) {
464
+ if (fireEvent === void 0) { fireEvent = true; }
465
+ var source = this.getSource(feature.source);
466
+ assert(isStringFull(source.featureId));
467
+ if ((source === null || source === void 0 ? void 0 : source.type) === 'vector') {
468
+ feature.sourceLayer = feature.sourceLayer || 'geometry';
469
+ }
470
+ this.maplibreMap.setFeatureState(feature, state);
471
+ if (fireEvent) {
472
+ var sourceEvent = new FlowCoreMapSourceEvent('sourceFeatureState', this, feature.source);
473
+ this.debouncedEmitSourceEvent(sourceEvent);
474
+ }
475
+ }
476
+ });
477
+ Object.defineProperty(FlowCoreMap.prototype, "setFeatureStateBulk", {
478
+ enumerable: false,
479
+ configurable: true,
480
+ writable: true,
481
+ value: function (sourceId, featureState) {
482
+ var _a;
483
+ var source = this.getSource(sourceId.source);
484
+ assert(isStringFull(source.featureId));
485
+ this.maplibreMap.style._checkLoaded();
486
+ var sourceCache = this.maplibreMap.style.sourceCaches[sourceId.source];
487
+ if (isUndefined(sourceCache)) {
488
+ throw new FlowCoreError("".concat(this.formattedName(), ": the source '").concat(sourceId.source, "' does not exist in the map's style."));
489
+ }
490
+ var sourceLayer = sourceCache.getSource().type === 'vector' ? (_a = sourceId.sourceLayer) !== null && _a !== void 0 ? _a : 'geometry' : '';
491
+ Object.keys(featureState).forEach(function (featureId) {
492
+ sourceCache.setFeatureState(sourceLayer, featureId, featureState[featureId]);
493
+ });
494
+ this.maplibreMap._update();
495
+ var sourceEvent = new FlowCoreMapSourceEvent('sourceFeatureState', this, sourceId.source);
496
+ this.debouncedEmitSourceEvent(sourceEvent);
497
+ }
498
+ });
499
+ Object.defineProperty(FlowCoreMap.prototype, "transaction", {
500
+ enumerable: false,
501
+ configurable: true,
502
+ writable: true,
503
+ value: function (fn) {
504
+ runInAction(function () { return fn(); });
505
+ }
506
+ });
507
+ Object.defineProperty(FlowCoreMap.prototype, "usePlugin", {
508
+ enumerable: false,
509
+ configurable: true,
510
+ writable: true,
511
+ value: function (plugin, options) {
512
+ this.pluginManager.usePlugin(plugin, options);
513
+ return this;
514
+ }
515
+ });
516
+ Object.defineProperty(FlowCoreMap.prototype, "usePlugins", {
517
+ enumerable: false,
518
+ configurable: true,
519
+ writable: true,
520
+ value: function (plugins) {
521
+ var _this = this;
522
+ plugins.forEach(function (plugin) { return _this.usePlugin(plugin); });
523
+ return this;
524
+ }
525
+ });
526
+ Object.defineProperty(FlowCoreMap.prototype, "bindMapEvents", {
527
+ enumerable: false,
528
+ configurable: true,
529
+ writable: true,
530
+ value: function () {
531
+ var _this = this;
532
+ this.maplibreMap.on('error', function (e) { return _this.emitError(e.error.message, e.error); });
533
+ this.maplibreMap.on('mousemove', this.throttledMouseMove);
534
+ this.maplibreMap.on('mouseout', this.throttledMouseMove);
535
+ this.maplibreMap.on('click', this.handleMouseClick('click').bind(this));
536
+ this.maplibreMap.on('dblclick', this.handleMouseClick('dblClick').bind(this));
537
+ this.maplibreMap.on('styleimagemissing', this.handleMissingImage.bind(this));
538
+ this.maplibreMap.on('sourcedata', this.handleLoading.bind(this));
539
+ this.maplibreMap.on('idle', this.handleLoading.bind(this));
540
+ var eventsToForward = ['moveEnd'];
541
+ eventsToForward.forEach(function (eventName) {
542
+ _this.maplibreMap.on(eventName.toLowerCase(), function (event) {
543
+ var flowEvent = FlowCoreMapEvent.fromMaplibreEvent(eventName, _this, event);
544
+ _this.emitEvent(flowEvent);
545
+ });
546
+ });
547
+ }
548
+ });
549
+ Object.defineProperty(FlowCoreMap.prototype, "featureFromMaplibreFeature", {
550
+ enumerable: false,
551
+ configurable: true,
552
+ writable: true,
553
+ value: function (feature) {
554
+ return {
555
+ id: feature.id,
556
+ geometry: feature.geometry,
557
+ source: feature.source,
558
+ sourceLayer: feature.sourceLayer,
559
+ layer: feature.layer.id,
560
+ properties: feature.properties,
561
+ state: feature.state
562
+ };
563
+ }
564
+ });
565
+ Object.defineProperty(FlowCoreMap.prototype, "featureQueryBox", {
566
+ enumerable: false,
567
+ configurable: true,
568
+ writable: true,
569
+ value: function (event) {
570
+ var queryBox = this.options.featureClickTolerance
571
+ ? [
572
+ [event.point.x - this.options.featureClickTolerance, event.point.y - this.options.featureClickTolerance],
573
+ [event.point.x + this.options.featureClickTolerance, event.point.y + this.options.featureClickTolerance]
574
+ ]
575
+ : event.point;
576
+ return queryBox;
577
+ }
578
+ });
579
+ Object.defineProperty(FlowCoreMap.prototype, "handleLoading", {
580
+ enumerable: false,
581
+ configurable: true,
582
+ writable: true,
583
+ value: function (event) {
584
+ return __awaiter(this, void 0, void 0, function () {
585
+ var loading, loadingEvent;
586
+ return __generator(this, function (_a) {
587
+ loading = false;
588
+ if (event.type === 'sourcedata' && event.isSourceLoaded === false) {
589
+ loading = true;
590
+ }
591
+ else if (event.type === 'idle') {
592
+ loading = false;
593
+ }
594
+ else {
595
+ loading = !!Object.values(this.maplibreMap.style.sourceCaches).find(function (cache) { return !cache.loaded(); });
596
+ }
597
+ if (this._loading !== loading) {
598
+ loadingEvent = new FlowCoreMapLoadingEvent(this, loading);
599
+ this.emitEvent(loadingEvent);
600
+ this._loading = loading;
601
+ }
602
+ return [2];
603
+ });
604
+ });
605
+ }
606
+ });
607
+ Object.defineProperty(FlowCoreMap.prototype, "handleMissingImage", {
608
+ enumerable: false,
609
+ configurable: true,
610
+ writable: true,
611
+ value: function (event) {
612
+ return __awaiter(this, void 0, void 0, function () {
613
+ var imageInfo;
614
+ var _this = this;
615
+ return __generator(this, function (_a) {
616
+ imageInfo = this.imageRegistry.getImage(event.id);
617
+ if (imageInfo === this.imageRegistry.unknownImage) {
618
+ console.error("".concat(this.formattedName(), ": Image '").concat(event.id, "' not registered"));
619
+ }
620
+ if (!imageInfo.image.complete) {
621
+ imageInfo.image.onload = function () {
622
+ _this.maplibreMap.updateImage(event.id, imageInfo.image);
623
+ _this.maplibreMap.redraw();
624
+ };
625
+ }
626
+ this.maplibreMap.addImage(event.id, imageInfo.image, {
627
+ pixelRatio: imageInfo.pixelDensity,
628
+ sdf: imageInfo.recolor
629
+ });
630
+ return [2];
631
+ });
632
+ });
633
+ }
634
+ });
635
+ Object.defineProperty(FlowCoreMap.prototype, "handleMouseClick", {
636
+ enumerable: false,
637
+ configurable: true,
638
+ writable: true,
639
+ value: function (type) {
640
+ var _this = this;
641
+ return function (event) {
642
+ var layerIds = _this.style.getLayers(function (layer) { return layer.interactive; }).map(function (layer) { return layer.id; });
643
+ var features = _this.maplibreMap
644
+ .queryRenderedFeatures(_this.featureQueryBox(event), { layers: layerIds })
645
+ .map(_this.featureFromMaplibreFeature.bind(_this));
646
+ if (features.length) {
647
+ debug("".concat(_this.formattedName(), " Feature ").concat(type, "ed"), features[0]);
648
+ }
649
+ var flowEvent = FlowCoreMapMouseEvent.fromMaplibreMouseEvent(type, event, _this, features);
650
+ _this.emitEvent(flowEvent);
651
+ };
652
+ }
653
+ });
654
+ Object.defineProperty(FlowCoreMap.prototype, "handleMouseMove", {
655
+ enumerable: false,
656
+ configurable: true,
657
+ writable: true,
658
+ value: function (event) {
659
+ if (event.type === 'mousemove') {
660
+ var layerIds = this.style.getLayers(function (layer) { return layer.interactive; }).map(function (layer) { return layer.id; });
661
+ var features = this.maplibreMap
662
+ .queryRenderedFeatures(this.featureQueryBox(event), { layers: layerIds })
663
+ .map(this.featureFromMaplibreFeature.bind(this));
664
+ var flowEvent = FlowCoreMapMouseEvent.fromMaplibreMouseEvent('mouseMove', event, this, features);
665
+ this.emitEvent(flowEvent);
666
+ }
667
+ else if (event.type === 'mouseout') {
668
+ var flowEvent = FlowCoreMapMouseEvent.fromMaplibreMouseEvent('mouseOut', event, this, []);
669
+ this.emitEvent(flowEvent);
670
+ }
671
+ }
672
+ });
673
+ Object.defineProperty(FlowCoreMap.prototype, "initialize", {
674
+ enumerable: false,
675
+ configurable: true,
676
+ writable: true,
677
+ value: function () {
678
+ return __awaiter(this, void 0, void 0, function () {
679
+ var baseStyle;
680
+ var _this = this;
681
+ return __generator(this, function (_a) {
682
+ switch (_a.label) {
683
+ case 0: return [4, this.loadBaseStyle(this.options.baseStyle)];
684
+ case 1:
685
+ baseStyle = _a.sent();
686
+ this.style.setBaseStyle(baseStyle);
687
+ this.maplibreMap = new maplibre.Map(__assign(__assign({}, this.options), { transformRequest: this.transformMapRequest.bind(this), style: baseStyle }));
688
+ this.maplibreMap.once('load', function () {
689
+ _this.styleUpdateSubscription = toStream(function () { return _this.style.styleSpecification; }, false).subscribe(_this.updateMapStyle);
690
+ _this.bindMapEvents();
691
+ _this.resolveInitialized();
692
+ debug("".concat(_this.formattedName(), ": initialized with options"), _this.options);
693
+ });
694
+ return [2];
695
+ }
696
+ });
697
+ });
698
+ }
699
+ });
700
+ Object.defineProperty(FlowCoreMap.prototype, "loadBaseStyle", {
701
+ enumerable: false,
702
+ configurable: true,
703
+ writable: true,
704
+ value: function (style) {
705
+ return __awaiter(this, void 0, void 0, function () {
706
+ return __generator(this, function (_a) {
707
+ if (isURL(style)) {
708
+ return [2, fetch(style).then(function (resp) { return resp.json(); })];
709
+ }
710
+ else if (isString(style)) {
711
+ return [2, this.options.flowClient.maps.get(style)];
712
+ }
713
+ else {
714
+ return [2, style];
715
+ }
716
+ return [2];
717
+ });
718
+ });
719
+ }
720
+ });
721
+ Object.defineProperty(FlowCoreMap.prototype, "transformMapRequest", {
722
+ enumerable: false,
723
+ configurable: true,
724
+ writable: true,
725
+ value: function (url, resourceType) {
726
+ var requestParameters = { url: url };
727
+ if (this.client.accessToken && url.startsWith(this.client.baseUrl)) {
728
+ requestParameters.headers = { Authorization: "Bearer ".concat(this.client.accessToken) };
729
+ }
730
+ return requestParameters;
731
+ }
732
+ });
733
+ Object.defineProperty(FlowCoreMap, "defaultOptions", {
734
+ enumerable: true,
735
+ configurable: true,
736
+ writable: true,
737
+ value: {
738
+ boxZoom: false,
739
+ doubleClickZoom: false,
740
+ featureClickTolerance: 0
741
+ }
742
+ });
743
+ return FlowCoreMap;
744
+ }(EventEmitter));
745
+ export { FlowCoreMap };
746
+ //# sourceMappingURL=flow-core-map.js.map