@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,26 @@
1
+ import { FlowCoreStateStore } from '../flow-core-state-store';
2
+ import { FlowCoreMapDataSourceOptions, FlowCoreMapDataSourceSpecification, FlowCoreMapDataSourceType, FlowCoreMapGeojsonData } from './types';
3
+ export interface FlowCoreMapEndpoint {
4
+ host: string;
5
+ apiKey?: string;
6
+ }
7
+ export declare class FlowCoreMapDataSource {
8
+ private static defaultOptions;
9
+ private options;
10
+ private srcExpression;
11
+ private parameters;
12
+ private state;
13
+ get id(): string;
14
+ get type(): FlowCoreMapDataSourceType;
15
+ get featureId(): string | undefined;
16
+ get dataSourceSpecification(): FlowCoreMapDataSourceSpecification;
17
+ constructor(options: FlowCoreMapDataSourceOptions);
18
+ bindState(state: FlowCoreStateStore | null): this;
19
+ setSrc(val: FlowCoreMapGeojsonData): void;
20
+ setParameter(name: string, expression: string | null): void;
21
+ setFlowEndpoint(endpoint: FlowCoreMapEndpoint): void;
22
+ private formattedName;
23
+ private setSrcExpression;
24
+ private expandSrc;
25
+ }
26
+ //# sourceMappingURL=flow-core-map-data-source.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-core-map-data-source.d.ts","sourceRoot":"","sources":["../../../../src/lib/flow-core-map-style/flow-core-map-data-source.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAAE,4BAA4B,EAAE,kCAAkC,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAG9I,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,qBAAqB;IAChC,OAAO,CAAC,MAAM,CAAC,cAAc,CAO3B;IAEF,OAAO,CAAC,OAAO,CAA+B;IAC9C,OAAO,CAAC,aAAa,CAAgE;IACrF,OAAO,CAAC,UAAU,CAA0C;IAC5D,OAAO,CAAC,KAAK,CAAmC;IAEhD,IAAI,EAAE,IAAI,MAAM,CAEf;IAED,IAAI,IAAI,IAAI,yBAAyB,CAEpC;IAED,IAAI,SAAS,IAAI,MAAM,GAAG,SAAS,CAElC;IAED,IAAI,uBAAuB,IAAI,kCAAkC,CA+DhE;gBAEW,OAAO,EAAE,4BAA4B;IA+BjD,SAAS,CAAC,KAAK,EAAE,kBAAkB,GAAG,IAAI,GAAG,IAAI;IAcjD,MAAM,CAAC,GAAG,EAAE,sBAAsB;IAKlC,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;IASpD,eAAe,CAAC,QAAQ,EAAE,mBAAmB;IAK7C,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,gBAAgB;IAkBxB,OAAO,CAAC,SAAS;CAgDlB"}
@@ -0,0 +1,257 @@
1
+ import { __assign, __read } from "tslib";
2
+ import { action, computed, observable } from '../flow-core-state-store';
3
+ import { FlowCoreError } from '../errors';
4
+ import { FlowCoreExpression } from '../flow-core-expression';
5
+ import { isIn, isNil, isString, isStringFull, isURL } from '../utils';
6
+ import { makeObservable, toJS } from 'mobx';
7
+ var FlowCoreMapDataSource = (function () {
8
+ function FlowCoreMapDataSource(options) {
9
+ Object.defineProperty(this, "options", {
10
+ enumerable: true,
11
+ configurable: true,
12
+ writable: true,
13
+ value: void 0
14
+ });
15
+ Object.defineProperty(this, "srcExpression", {
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true,
19
+ value: null
20
+ });
21
+ Object.defineProperty(this, "parameters", {
22
+ enumerable: true,
23
+ configurable: true,
24
+ writable: true,
25
+ value: {}
26
+ });
27
+ Object.defineProperty(this, "state", {
28
+ enumerable: true,
29
+ configurable: true,
30
+ writable: true,
31
+ value: null
32
+ });
33
+ this.options = __assign(__assign({}, FlowCoreMapDataSource.defaultOptions), options);
34
+ if (!isIn(options.type, ['vector', 'geojson', 'raster'])) {
35
+ throw new FlowCoreError("".concat(this.formattedName(), ": unrecognized type '").concat(options.type, "'"));
36
+ }
37
+ this.setSrcExpression(options.src);
38
+ makeObservable(this, {
39
+ options: observable,
40
+ srcExpression: observable,
41
+ parameters: observable,
42
+ dataSourceSpecification: computed,
43
+ bindState: action,
44
+ setSrc: action,
45
+ setParameter: action,
46
+ }, { name: this.formattedName(options.id) });
47
+ }
48
+ Object.defineProperty(FlowCoreMapDataSource.prototype, "id", {
49
+ get: function () {
50
+ return this.options.id;
51
+ },
52
+ enumerable: false,
53
+ configurable: true
54
+ });
55
+ Object.defineProperty(FlowCoreMapDataSource.prototype, "type", {
56
+ get: function () {
57
+ return this.options.type;
58
+ },
59
+ enumerable: false,
60
+ configurable: true
61
+ });
62
+ Object.defineProperty(FlowCoreMapDataSource.prototype, "featureId", {
63
+ get: function () {
64
+ return this.options.featureId;
65
+ },
66
+ enumerable: false,
67
+ configurable: true
68
+ });
69
+ Object.defineProperty(FlowCoreMapDataSource.prototype, "dataSourceSpecification", {
70
+ get: function () {
71
+ var src = this.srcExpression ? toJS(this.srcExpression.value) : this.options.src;
72
+ if (isString(src)) {
73
+ src = this.expandSrc(src, this.options.type);
74
+ }
75
+ var ds;
76
+ switch (this.options.type) {
77
+ case 'vector':
78
+ ds = isStringFull(src)
79
+ ? {
80
+ type: 'vector',
81
+ url: src
82
+ }
83
+ :
84
+ {
85
+ type: 'geojson',
86
+ data: { type: 'FeatureCollection', features: [] }
87
+ };
88
+ if (this.options.featureId) {
89
+ ds.promoteId = this.options.featureId;
90
+ }
91
+ return ds;
92
+ case 'raster':
93
+ ds = isStringFull(src)
94
+ ? {
95
+ type: 'raster',
96
+ url: src
97
+ }
98
+ :
99
+ {
100
+ type: 'geojson',
101
+ data: { type: 'FeatureCollection', features: [] }
102
+ };
103
+ return ds;
104
+ case 'geojson':
105
+ ds = {
106
+ type: 'geojson',
107
+ data: src || { type: 'FeatureCollection', features: [] }
108
+ };
109
+ if (this.options.cluster) {
110
+ ds.cluster = true;
111
+ ds.clusterMaxZoom = this.options.clusterMaxZoom;
112
+ ds.clusterMinPoints = this.options.clusterMinPoints;
113
+ ds.clusterRadius = this.options.clusterRadius;
114
+ }
115
+ if (this.options.featureId) {
116
+ ds.promoteId = this.options.featureId;
117
+ }
118
+ return ds;
119
+ default:
120
+ throw new FlowCoreError("".concat(this.formattedName(), ": unrecognized type '").concat(this.options.type, "'"));
121
+ }
122
+ },
123
+ enumerable: false,
124
+ configurable: true
125
+ });
126
+ Object.defineProperty(FlowCoreMapDataSource.prototype, "bindState", {
127
+ enumerable: false,
128
+ configurable: true,
129
+ writable: true,
130
+ value: function (state) {
131
+ var _a;
132
+ this.state = state;
133
+ if (this.srcExpression) {
134
+ (_a = this.srcExpression) === null || _a === void 0 ? void 0 : _a.bindState(state);
135
+ }
136
+ Object.values(this.parameters).forEach(function (expr) { return expr.bindState(state); });
137
+ return this;
138
+ }
139
+ });
140
+ Object.defineProperty(FlowCoreMapDataSource.prototype, "setSrc", {
141
+ enumerable: false,
142
+ configurable: true,
143
+ writable: true,
144
+ value: function (val) {
145
+ this.options.src = val;
146
+ this.setSrcExpression(val);
147
+ }
148
+ });
149
+ Object.defineProperty(FlowCoreMapDataSource.prototype, "setParameter", {
150
+ enumerable: false,
151
+ configurable: true,
152
+ writable: true,
153
+ value: function (name, expression) {
154
+ if (isNil(expression)) {
155
+ delete this.parameters[name];
156
+ }
157
+ else {
158
+ var expr = new FlowCoreExpression(expression);
159
+ this.parameters[name] = expr.bindState(this.state);
160
+ }
161
+ }
162
+ });
163
+ Object.defineProperty(FlowCoreMapDataSource.prototype, "setFlowEndpoint", {
164
+ enumerable: false,
165
+ configurable: true,
166
+ writable: true,
167
+ value: function (endpoint) {
168
+ this.options.flowHost = endpoint.host;
169
+ this.options.flowApiKey = endpoint.apiKey;
170
+ }
171
+ });
172
+ Object.defineProperty(FlowCoreMapDataSource.prototype, "formattedName", {
173
+ enumerable: false,
174
+ configurable: true,
175
+ writable: true,
176
+ value: function (id) {
177
+ return "FlowCoreMapDataSource<".concat(id || this.options.id, ">");
178
+ }
179
+ });
180
+ Object.defineProperty(FlowCoreMapDataSource.prototype, "setSrcExpression", {
181
+ enumerable: false,
182
+ configurable: true,
183
+ writable: true,
184
+ value: function (src) {
185
+ if (isString(src)) {
186
+ if (isURL(src))
187
+ src = "'".concat(src, "'");
188
+ this.srcExpression = new FlowCoreExpression(src);
189
+ this.srcExpression.bindState(this.state);
190
+ }
191
+ else {
192
+ this.srcExpression = null;
193
+ }
194
+ }
195
+ });
196
+ Object.defineProperty(FlowCoreMapDataSource.prototype, "expandSrc", {
197
+ enumerable: false,
198
+ configurable: true,
199
+ writable: true,
200
+ value: function (src, type) {
201
+ var host = this.options.flowHost;
202
+ var isGeoJSON = false;
203
+ if (!isURL(src)) {
204
+ switch (type) {
205
+ case 'vector':
206
+ case 'raster':
207
+ src = "".concat(host, "/tiles/").concat(src, "/index.json");
208
+ break;
209
+ case 'geojson':
210
+ src = "".concat(host, "/api/v1/datasets/").concat(src, "/query");
211
+ isGeoJSON = true;
212
+ break;
213
+ default:
214
+ throw new FlowCoreError("".concat(this.formattedName(), ": unrecognized type '").concat(this.options.type, "'"));
215
+ }
216
+ }
217
+ var urlObj = new URL(src);
218
+ var combinedParams = new URLSearchParams(urlObj.searchParams);
219
+ Object.entries(this.parameters)
220
+ .filter(function (_a) {
221
+ var _b = __read(_a, 2), _ = _b[0], expr = _b[1];
222
+ return !isNil(expr.value);
223
+ })
224
+ .forEach(function (_a) {
225
+ var _b = __read(_a, 2), key = _b[0], expr = _b[1];
226
+ return combinedParams.append(key, expr.value);
227
+ });
228
+ if (!combinedParams.has('apikey') && this.options.flowApiKey) {
229
+ combinedParams.append('apikey', this.options.flowApiKey);
230
+ }
231
+ if (this.options.limit) {
232
+ combinedParams.append('limit', this.options.limit.toString(10));
233
+ }
234
+ if (isGeoJSON) {
235
+ combinedParams.append('format', 'geojson');
236
+ }
237
+ urlObj.search = combinedParams.toString();
238
+ return urlObj.toString();
239
+ }
240
+ });
241
+ Object.defineProperty(FlowCoreMapDataSource, "defaultOptions", {
242
+ enumerable: true,
243
+ configurable: true,
244
+ writable: true,
245
+ value: {
246
+ type: 'vector',
247
+ cluster: false,
248
+ clusterRadius: 50,
249
+ clusterMaxZoom: 20,
250
+ clusterMinPoints: 2,
251
+ flowHost: 'https://flow.emu-analytics.net'
252
+ }
253
+ });
254
+ return FlowCoreMapDataSource;
255
+ }());
256
+ export { FlowCoreMapDataSource };
257
+ //# sourceMappingURL=flow-core-map-data-source.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-core-map-data-source.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-map-style/flow-core-map-data-source.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,M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AC,MAAM,GAAG,cAAc,CAAC,QAAQ,EAAE,CAAC;YAC1C,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAC;QAC3B,CAAC;;IAhOD;;;;eAAuE;YACrE,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,EAAE;YACjB,cAAc,EAAE,EAAE;YAClB,gBAAgB,EAAE,CAAC;YACnB,QAAQ,EAAE,gCAAgC;SAC3C;OAAC;IA0NJ,4BAAC;CAAA,AAlOD,IAkOC;SAlOY,qBAAqB"}
@@ -0,0 +1,58 @@
1
+ import { ParserExpression } from '../flow-core-expression/types';
2
+ import { FlowCoreStateStore } from '../flow-core-state-store';
3
+ export declare type FlowCoreMapLayerType = 'fill' | 'fill-extrusion' | 'circle' | 'line' | 'symbol' | 'raster';
4
+ export interface FlowCoreMapLayerOptions {
5
+ id: string;
6
+ type: FlowCoreMapLayerType;
7
+ source: string;
8
+ sourceLayer?: string;
9
+ interactive?: boolean;
10
+ minZoom?: number;
11
+ maxZoom?: number;
12
+ above?: string;
13
+ below?: string;
14
+ filter?: string;
15
+ }
16
+ export declare type FlowCoreMapLayerExpression = ParserExpression;
17
+ export interface FlowCoreMapLayerSpecification {
18
+ id: string;
19
+ type: FlowCoreMapLayerType;
20
+ metadata?: any;
21
+ source: string;
22
+ 'source-layer'?: string;
23
+ minzoom?: number;
24
+ maxzoom?: number;
25
+ filter?: FlowCoreMapLayerExpression;
26
+ layout?: Record<string, FlowCoreMapLayerExpression>;
27
+ paint?: Record<string, FlowCoreMapLayerExpression>;
28
+ }
29
+ export declare class FlowCoreMapLayer {
30
+ private static propertyMetadataIndex;
31
+ private static defaultOptions;
32
+ private options;
33
+ private state;
34
+ private filter;
35
+ private paintProps;
36
+ private layoutProps;
37
+ get layerSpecification(): FlowCoreMapLayerSpecification;
38
+ get id(): string;
39
+ get type(): string;
40
+ get source(): string;
41
+ get interactive(): boolean;
42
+ get above(): string | undefined;
43
+ get below(): string | undefined;
44
+ constructor(options: FlowCoreMapLayerOptions, style?: string);
45
+ bindState(state: FlowCoreStateStore | null): this;
46
+ setMinZoom(zoom: number): this;
47
+ setMaxZoom(zoom: number): this;
48
+ setInteractive(interactive: boolean): this;
49
+ setAbove(layerId: string | undefined): this;
50
+ setBelow(layerId: string | undefined): this;
51
+ setStyle(styleProgram: string): void;
52
+ setStyleProperty(property: string, expression: string | null): void;
53
+ setFilter(expression: string | null): void;
54
+ private formattedName;
55
+ private getPropertyMetadata;
56
+ private static initializePropertyMetadataIndex;
57
+ }
58
+ //# sourceMappingURL=flow-core-map-layer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-core-map-layer.d.ts","sourceRoot":"","sources":["../../../../src/lib/flow-core-map-style/flow-core-map-layer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAG9D,oBAAY,oBAAoB,GAAG,MAAM,GAAG,gBAAgB,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEvG,MAAM,WAAW,uBAAuB;IAEtC,EAAE,EAAE,MAAM,CAAC;IAEX,IAAI,EAAE,oBAAoB,CAAC;IAE3B,MAAM,EAAE,MAAM,CAAC;IAEf,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,oBAAY,0BAA0B,GAAG,gBAAgB,CAAC;AAE1D,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,oBAAoB,CAAC;IAC3B,QAAQ,C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C,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAK3C,QAAQ,CAAC,YAAY,EAAE,MAAM;IAkB7B,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAiBnE,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAmB1C,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,mBAAmB;IAoB3B,OAAO,CAAC,MAAM,CAAC,+BAA+B;CAkB/C"}
@@ -0,0 +1,321 @@
1
+ import { __assign } from "tslib";
2
+ import * as maplibreSpec from '@maplibre/maplibre-gl-style-spec';
3
+ import { observable, action, computed, makeObservable } from 'mobx';
4
+ import { FlowCoreError } from '../errors';
5
+ import { FlowCoreExpression } from '../flow-core-expression';
6
+ import { isDefined, isNil, isObjectFull } from '../utils/type-checks';
7
+ var FlowCoreMapLayer = (function () {
8
+ function FlowCoreMapLayer(options, style) {
9
+ Object.defineProperty(this, "options", {
10
+ enumerable: true,
11
+ configurable: true,
12
+ writable: true,
13
+ value: void 0
14
+ });
15
+ Object.defineProperty(this, "state", {
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true,
19
+ value: null
20
+ });
21
+ Object.defineProperty(this, "filter", {
22
+ enumerable: true,
23
+ configurable: true,
24
+ writable: true,
25
+ value: null
26
+ });
27
+ Object.defineProperty(this, "paintProps", {
28
+ enumerable: true,
29
+ configurable: true,
30
+ writable: true,
31
+ value: {}
32
+ });
33
+ Object.defineProperty(this, "layoutProps", {
34
+ enumerable: true,
35
+ configurable: true,
36
+ writable: true,
37
+ value: {}
38
+ });
39
+ this.options = __assign(__assign({}, FlowCoreMapLayer.defaultOptions), options);
40
+ this.getPropertyMetadata('visibility', options.type);
41
+ makeObservable(this, {
42
+ paintProps: observable,
43
+ layoutProps: observable,
44
+ filter: observable,
45
+ options: observable,
46
+ layerSpecification: computed,
47
+ bindState: action,
48
+ setMinZoom: action,
49
+ setMaxZoom: action,
50
+ setInteractive: action,
51
+ setAbove: action,
52
+ setBelow: action,
53
+ setStyle: action,
54
+ setStyleProperty: action,
55
+ setFilter: action
56
+ }, { name: this.formattedName(options.id) });
57
+ if (options.filter) {
58
+ this.setFilter(options.filter);
59
+ }
60
+ if (style) {
61
+ this.setStyle(style);
62
+ }
63
+ }
64
+ Object.defineProperty(FlowCoreMapLayer.prototype, "layerSpecification", {
65
+ get: function () {
66
+ var _this = this;
67
+ this.options.above;
68
+ this.options.below;
69
+ var layer = {
70
+ id: this.options.id,
71
+ type: this.options.type,
72
+ source: this.options.source
73
+ };
74
+ if (isDefined(this.options.minZoom)) {
75
+ layer.minzoom = this.options.minZoom;
76
+ }
77
+ if (isDefined(this.options.maxZoom)) {
78
+ layer.maxzoom = this.options.maxZoom;
79
+ }
80
+ if (isDefined(this.options.sourceLayer)) {
81
+ layer['source-layer'] = this.options.sourceLayer;
82
+ }
83
+ if (isDefined(this.filter)) {
84
+ layer.filter = this.filter.maplibreExpression;
85
+ }
86
+ if (isObjectFull(this.paintProps)) {
87
+ layer.paint = Object.keys(this.paintProps).reduce(function (accum, key) {
88
+ accum[key] = _this.paintProps[key].maplibreExpression;
89
+ return accum;
90
+ }, {});
91
+ }
92
+ if (isObjectFull(this.layoutProps)) {
93
+ layer.layout = Object.keys(this.layoutProps).reduce(function (accum, key) {
94
+ var expr = _this.layoutProps[key].maplibreExpression;
95
+ if (key === 'visibility') {
96
+ expr = _this.layoutProps[key].value ? 'visible' : 'none';
97
+ }
98
+ accum[key] = expr;
99
+ return accum;
100
+ }, {});
101
+ }
102
+ return layer;
103
+ },
104
+ enumerable: false,
105
+ configurable: true
106
+ });
107
+ Object.defineProperty(FlowCoreMapLayer.prototype, "id", {
108
+ get: function () {
109
+ return this.options.id;
110
+ },
111
+ enumerable: false,
112
+ configurable: true
113
+ });
114
+ Object.defineProperty(FlowCoreMapLayer.prototype, "type", {
115
+ get: function () {
116
+ return this.options.type;
117
+ },
118
+ enumerable: false,
119
+ configurable: true
120
+ });
121
+ Object.defineProperty(FlowCoreMapLayer.prototype, "source", {
122
+ get: function () {
123
+ return this.options.source;
124
+ },
125
+ enumerable: false,
126
+ configurable: true
127
+ });
128
+ Object.defineProperty(FlowCoreMapLayer.prototype, "interactive", {
129
+ get: function () {
130
+ return !!this.options.interactive;
131
+ },
132
+ enumerable: false,
133
+ configurable: true
134
+ });
135
+ Object.defineProperty(FlowCoreMapLayer.prototype, "above", {
136
+ get: function () {
137
+ return this.options.above;
138
+ },
139
+ enumerable: false,
140
+ configurable: true
141
+ });
142
+ Object.defineProperty(FlowCoreMapLayer.prototype, "below", {
143
+ get: function () {
144
+ return this.options.below;
145
+ },
146
+ enumerable: false,
147
+ configurable: true
148
+ });
149
+ Object.defineProperty(FlowCoreMapLayer.prototype, "bindState", {
150
+ enumerable: false,
151
+ configurable: true,
152
+ writable: true,
153
+ value: function (state) {
154
+ this.state = state;
155
+ if (this.filter) {
156
+ this.filter.bindState(state);
157
+ }
158
+ Object.values(this.paintProps).forEach(function (prop) { return prop.bindState(state); });
159
+ Object.values(this.layoutProps).forEach(function (prop) { return prop.bindState(state); });
160
+ return this;
161
+ }
162
+ });
163
+ Object.defineProperty(FlowCoreMapLayer.prototype, "setMinZoom", {
164
+ enumerable: false,
165
+ configurable: true,
166
+ writable: true,
167
+ value: function (zoom) {
168
+ this.options.minZoom = zoom;
169
+ return this;
170
+ }
171
+ });
172
+ Object.defineProperty(FlowCoreMapLayer.prototype, "setMaxZoom", {
173
+ enumerable: false,
174
+ configurable: true,
175
+ writable: true,
176
+ value: function (zoom) {
177
+ this.options.maxZoom = zoom;
178
+ return this;
179
+ }
180
+ });
181
+ Object.defineProperty(FlowCoreMapLayer.prototype, "setInteractive", {
182
+ enumerable: false,
183
+ configurable: true,
184
+ writable: true,
185
+ value: function (interactive) {
186
+ this.options.interactive = interactive;
187
+ return this;
188
+ }
189
+ });
190
+ Object.defineProperty(FlowCoreMapLayer.prototype, "setAbove", {
191
+ enumerable: false,
192
+ configurable: true,
193
+ writable: true,
194
+ value: function (layerId) {
195
+ this.options.above = layerId;
196
+ return this;
197
+ }
198
+ });
199
+ Object.defineProperty(FlowCoreMapLayer.prototype, "setBelow", {
200
+ enumerable: false,
201
+ configurable: true,
202
+ writable: true,
203
+ value: function (layerId) {
204
+ this.options.below = layerId;
205
+ return this;
206
+ }
207
+ });
208
+ Object.defineProperty(FlowCoreMapLayer.prototype, "setStyle", {
209
+ enumerable: false,
210
+ configurable: true,
211
+ writable: true,
212
+ value: function (styleProgram) {
213
+ var _this = this;
214
+ var parsedProgram = FlowCoreExpression.parseProgram(styleProgram);
215
+ var props = Object.keys(parsedProgram);
216
+ props.forEach(function (prop) {
217
+ var metadata = _this.getPropertyMetadata(prop, _this.options.type);
218
+ var layerProps = metadata.type === 'paint' ? _this.paintProps : _this.layoutProps;
219
+ layerProps[prop] = parsedProgram[prop].bindState(_this.state);
220
+ });
221
+ }
222
+ });
223
+ Object.defineProperty(FlowCoreMapLayer.prototype, "setStyleProperty", {
224
+ enumerable: false,
225
+ configurable: true,
226
+ writable: true,
227
+ value: function (property, expression) {
228
+ var metadata = this.getPropertyMetadata(property, this.options.type);
229
+ var props = metadata.type === 'paint' ? this.paintProps : this.layoutProps;
230
+ if (isNil(expression)) {
231
+ delete props[property];
232
+ }
233
+ else {
234
+ var expr = new FlowCoreExpression(expression).bindState(this.state);
235
+ if (expr.parseError) {
236
+ throw expr.parseError;
237
+ }
238
+ props[property] = expr;
239
+ }
240
+ }
241
+ });
242
+ Object.defineProperty(FlowCoreMapLayer.prototype, "setFilter", {
243
+ enumerable: false,
244
+ configurable: true,
245
+ writable: true,
246
+ value: function (expression) {
247
+ this.filter = null;
248
+ if (isDefined(expression)) {
249
+ var expr = new FlowCoreExpression(expression).bindState(this.state);
250
+ if (expr.parseError) {
251
+ throw expr.parseError;
252
+ }
253
+ if (!maplibreSpec.expression.isExpressionFilter(expr.maplibreExpression)) {
254
+ expr = new FlowCoreExpression(expr.expression, ['to-boolean', expr.maplibreExpression]);
255
+ }
256
+ this.filter = expr;
257
+ }
258
+ }
259
+ });
260
+ Object.defineProperty(FlowCoreMapLayer.prototype, "formattedName", {
261
+ enumerable: false,
262
+ configurable: true,
263
+ writable: true,
264
+ value: function (id) {
265
+ return "FlowCoreMapLayer<".concat(id || this.options.id, ">");
266
+ }
267
+ });
268
+ Object.defineProperty(FlowCoreMapLayer.prototype, "getPropertyMetadata", {
269
+ enumerable: false,
270
+ configurable: true,
271
+ writable: true,
272
+ value: function (property, layerType) {
273
+ if (!FlowCoreMapLayer.propertyMetadataIndex) {
274
+ FlowCoreMapLayer.initializePropertyMetadataIndex();
275
+ }
276
+ var layerMetadata = FlowCoreMapLayer.propertyMetadataIndex[layerType];
277
+ if (!layerMetadata) {
278
+ throw new FlowCoreError("".concat(this.formattedName(), ": unknown layer type '").concat(layerType, "'"));
279
+ }
280
+ var propertyMetadata = layerMetadata[property];
281
+ if (!propertyMetadata) {
282
+ throw new FlowCoreError("".concat(this.formattedName(), ": unknown layer property '").concat(property, "'"));
283
+ }
284
+ return propertyMetadata;
285
+ }
286
+ });
287
+ Object.defineProperty(FlowCoreMapLayer, "initializePropertyMetadataIndex", {
288
+ enumerable: false,
289
+ configurable: true,
290
+ writable: true,
291
+ value: function () {
292
+ var layerTypes = Object.keys(maplibreSpec.latest.layer.type.values);
293
+ this.propertyMetadataIndex = layerTypes.reduce(function (acc, layerType) {
294
+ acc[layerType] = {};
295
+ ['layout', 'paint'].forEach(function (propType) {
296
+ Object.keys(maplibreSpec.latest["".concat(propType, "_").concat(layerType)]).forEach(function (prop) {
297
+ acc[layerType][prop] = {
298
+ property: prop,
299
+ type: propType,
300
+ definition: maplibreSpec.latest["".concat(propType, "_").concat(layerType)][prop]
301
+ };
302
+ });
303
+ });
304
+ return acc;
305
+ }, {});
306
+ }
307
+ });
308
+ Object.defineProperty(FlowCoreMapLayer, "defaultOptions", {
309
+ enumerable: true,
310
+ configurable: true,
311
+ writable: true,
312
+ value: {
313
+ interactive: true,
314
+ minZoom: 0,
315
+ maxZoom: 18
316
+ }
317
+ });
318
+ return FlowCoreMapLayer;
319
+ }());
320
+ export { FlowCoreMapLayer };
321
+ //# sourceMappingURL=flow-core-map-layer.js.map