@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,701 @@
1
+ import { __assign, __extends } from "tslib";
2
+ import MapboxDraw from '@emuanalytics/mapbox-gl-draw';
3
+ import { area as turfArea, booleanEqual as turfBooleanEqual, length as turfLength, bbox as turfBBox, buffer as turfBuffer } from '@turf/turf';
4
+ import Debug from 'debug';
5
+ import hat from 'hat';
6
+ import { FlowCoreError } from '../../../errors';
7
+ import { isLineString, isPoint, isPolygon } from '../../../utils/feature-type-checks';
8
+ import { FlowCoreMapPlugin } from '../flow-core-map-plugin';
9
+ import { SelectionPlugin } from '../selection/selection.plugin';
10
+ import { addMapAnnotationLayers } from './annotation-layers';
11
+ import { FlowCoreMapAnnotationEvent } from './annotation.events';
12
+ import { DirectMode, DragCircleMode } from './maplibre-gl-draw-circle';
13
+ var debug = Debug('flow:annotation-plugin');
14
+ var AnnotationPlugin = (function (_super) {
15
+ __extends(AnnotationPlugin, _super);
16
+ function AnnotationPlugin(pluginManager, options) {
17
+ var _this = _super.call(this, pluginManager, options) || this;
18
+ Object.defineProperty(_this, "name", {
19
+ enumerable: true,
20
+ configurable: true,
21
+ writable: true,
22
+ value: 'AnnotationPlugin'
23
+ });
24
+ Object.defineProperty(_this, "_features", {
25
+ enumerable: true,
26
+ configurable: true,
27
+ writable: true,
28
+ value: new Map()
29
+ });
30
+ Object.defineProperty(_this, "_featureIds", {
31
+ enumerable: true,
32
+ configurable: true,
33
+ writable: true,
34
+ value: []
35
+ });
36
+ Object.defineProperty(_this, "_undoStack", {
37
+ enumerable: true,
38
+ configurable: true,
39
+ writable: true,
40
+ value: []
41
+ });
42
+ Object.defineProperty(_this, "_redoStack", {
43
+ enumerable: true,
44
+ configurable: true,
45
+ writable: true,
46
+ value: []
47
+ });
48
+ Object.defineProperty(_this, "_mode", {
49
+ enumerable: true,
50
+ configurable: true,
51
+ writable: true,
52
+ value: 'idle'
53
+ });
54
+ Object.defineProperty(_this, "_activeFeatureId", {
55
+ enumerable: true,
56
+ configurable: true,
57
+ writable: true,
58
+ value: null
59
+ });
60
+ Object.defineProperty(_this, "_activeFeatureType", {
61
+ enumerable: true,
62
+ configurable: true,
63
+ writable: true,
64
+ value: null
65
+ });
66
+ Object.defineProperty(_this, "_onCommitCleanup", {
67
+ enumerable: true,
68
+ configurable: true,
69
+ writable: true,
70
+ value: []
71
+ });
72
+ Object.defineProperty(_this, "_annotationDataSource", {
73
+ enumerable: true,
74
+ configurable: true,
75
+ writable: true,
76
+ value: void 0
77
+ });
78
+ Object.defineProperty(_this, "_drawControl", {
79
+ enumerable: true,
80
+ configurable: true,
81
+ writable: true,
82
+ value: null
83
+ });
84
+ Object.defineProperty(_this, "_removeKeyboardShortcuts", {
85
+ enumerable: true,
86
+ configurable: true,
87
+ writable: true,
88
+ value: null
89
+ });
90
+ _this.options = __assign(__assign({}, AnnotationPlugin._defaultOptions), options);
91
+ _this.options.defaultStyle = __assign(__assign({}, AnnotationPlugin._defaultOptions.defaultStyle), options === null || options === void 0 ? void 0 : options.defaultStyle);
92
+ return _this;
93
+ }
94
+ Object.defineProperty(AnnotationPlugin.prototype, "initialize", {
95
+ enumerable: false,
96
+ configurable: true,
97
+ writable: true,
98
+ value: function () {
99
+ var _this = this;
100
+ this._annotationDataSource = addMapAnnotationLayers(this.map);
101
+ if (this.options.selectionOptions) {
102
+ this.map.getPlugin(SelectionPlugin).enableSelection(this._annotationDataSource.id, this.options.selectionOptions);
103
+ }
104
+ if (this.options.interactive) {
105
+ this._removeKeyboardShortcuts = this.pluginManager.addKeyboardShortcuts({
106
+ 'Enter,Escape': function () {
107
+ _this.commit();
108
+ },
109
+ 'Delete,Backspace': function () { return _this.deleteSelectedFeature(); },
110
+ 'Ctrl+KeyZ': function () {
111
+ _this.undo();
112
+ },
113
+ 'Ctrl+Shift+KeyZ': function () {
114
+ _this.redo();
115
+ },
116
+ KeyP: function () { return _this.createFeature('Polygon'); },
117
+ KeyL: function () { return _this.createFeature('LineString'); },
118
+ KeyM: function () { return _this.createFeature('Point'); },
119
+ KeyC: function () { return _this.createFeature('Circle'); }
120
+ });
121
+ }
122
+ }
123
+ });
124
+ Object.defineProperty(AnnotationPlugin.prototype, "destroy", {
125
+ enumerable: false,
126
+ configurable: true,
127
+ writable: true,
128
+ value: function () {
129
+ if (this._removeKeyboardShortcuts)
130
+ this._removeKeyboardShortcuts();
131
+ }
132
+ });
133
+ Object.defineProperty(AnnotationPlugin.prototype, "clear", {
134
+ enumerable: false,
135
+ configurable: true,
136
+ writable: true,
137
+ value: function () {
138
+ this.commit();
139
+ this._featureIds = [];
140
+ this._features = new Map();
141
+ this._undoStack = [];
142
+ this._redoStack = [];
143
+ this._mode = 'idle';
144
+ this._activeFeatureId = null;
145
+ this._activeFeatureType = null;
146
+ this.render();
147
+ return this;
148
+ }
149
+ });
150
+ Object.defineProperty(AnnotationPlugin.prototype, "undo", {
151
+ enumerable: false,
152
+ configurable: true,
153
+ writable: true,
154
+ value: function () {
155
+ var operation = this._undoStack.pop();
156
+ if (operation) {
157
+ operation.undo();
158
+ this._redoStack.push(operation);
159
+ this.render();
160
+ }
161
+ return this;
162
+ }
163
+ });
164
+ Object.defineProperty(AnnotationPlugin.prototype, "redo", {
165
+ enumerable: false,
166
+ configurable: true,
167
+ writable: true,
168
+ value: function () {
169
+ var operation = this._redoStack.pop();
170
+ if (operation) {
171
+ operation.do();
172
+ this._undoStack.push(operation);
173
+ this.render();
174
+ }
175
+ return this;
176
+ }
177
+ });
178
+ Object.defineProperty(AnnotationPlugin.prototype, "getFeature", {
179
+ enumerable: false,
180
+ configurable: true,
181
+ writable: true,
182
+ value: function (featureId) {
183
+ var feature = this._features.get(featureId);
184
+ if (!feature) {
185
+ throw new FlowCoreError("<AnnotationPlugin>: No feature with id '".concat(featureId, "'"));
186
+ }
187
+ return feature;
188
+ }
189
+ });
190
+ Object.defineProperty(AnnotationPlugin.prototype, "getFeatures", {
191
+ enumerable: false,
192
+ configurable: true,
193
+ writable: true,
194
+ value: function () {
195
+ var _this = this;
196
+ return this._featureIds.map(function (id) { return _this._features.get(id); });
197
+ }
198
+ });
199
+ Object.defineProperty(AnnotationPlugin.prototype, "setFeatures", {
200
+ enumerable: false,
201
+ configurable: true,
202
+ writable: true,
203
+ value: function (features) {
204
+ var _this = this;
205
+ this.commit();
206
+ var normalizedFeatures = features.map(function (f) { return _this.applyDefaults(f); });
207
+ var oldFeatures = this._features;
208
+ var oldFeatureIds = this._featureIds;
209
+ var operation = {
210
+ do: function () {
211
+ _this._featureIds = normalizedFeatures.map(function (f) { return f.id; });
212
+ _this._features = new Map(normalizedFeatures.map(function (f) { return [f.id, f]; }));
213
+ },
214
+ undo: function () {
215
+ _this._featureIds = oldFeatureIds;
216
+ _this._features = oldFeatures;
217
+ }
218
+ };
219
+ this.performOperation(operation);
220
+ return this;
221
+ }
222
+ });
223
+ Object.defineProperty(AnnotationPlugin.prototype, "addFeature", {
224
+ enumerable: false,
225
+ configurable: true,
226
+ writable: true,
227
+ value: function (feature) {
228
+ var _this = this;
229
+ this.commit();
230
+ var fullFeature = this.applyDefaults(feature);
231
+ var operation = {
232
+ do: function () {
233
+ _this._features.set(fullFeature.id, fullFeature);
234
+ _this._featureIds.push(fullFeature.id);
235
+ },
236
+ undo: function () {
237
+ _this._features.delete(fullFeature.id);
238
+ var index = _this._featureIds.indexOf(fullFeature.id);
239
+ if (index !== -1) {
240
+ _this._featureIds.splice(index, 1);
241
+ }
242
+ }
243
+ };
244
+ this.performOperation(operation);
245
+ return fullFeature;
246
+ }
247
+ });
248
+ Object.defineProperty(AnnotationPlugin.prototype, "deleteFeature", {
249
+ enumerable: false,
250
+ configurable: true,
251
+ writable: true,
252
+ value: function (featureId) {
253
+ var _this = this;
254
+ this.commit();
255
+ if (!featureId) {
256
+ return this;
257
+ }
258
+ this.deselectFeature(featureId);
259
+ var feature = this.getFeature(featureId);
260
+ var operation = {
261
+ do: function () {
262
+ _this._features.delete(featureId);
263
+ var index = _this._featureIds.indexOf(featureId);
264
+ if (index !== -1) {
265
+ _this._featureIds.splice(index, 1);
266
+ }
267
+ },
268
+ undo: function () {
269
+ _this._features.set(featureId, feature);
270
+ _this._featureIds.push(featureId);
271
+ }
272
+ };
273
+ this.performOperation(operation);
274
+ return this;
275
+ }
276
+ });
277
+ Object.defineProperty(AnnotationPlugin.prototype, "createFeature", {
278
+ enumerable: false,
279
+ configurable: true,
280
+ writable: true,
281
+ value: function (featureType) {
282
+ var _this = this;
283
+ this.commit();
284
+ this.startDrawing();
285
+ this._drawControl.changeMode(this.drawModeForFeatureType(featureType));
286
+ this._mode = 'creating';
287
+ this._activeFeatureId = null;
288
+ this._activeFeatureType = featureType;
289
+ this.emitStateChange();
290
+ var commitChanges = function () {
291
+ setTimeout(function () { return _this.commit(); }, 0);
292
+ };
293
+ this.map.maplibreMap.once('draw.create', commitChanges);
294
+ this.map.maplibreMap.once('draw.modechange', commitChanges);
295
+ this._onCommitCleanup.push(function () {
296
+ _this.map.maplibreMap.off('draw.create', commitChanges);
297
+ _this.map.maplibreMap.off('draw.modechange', commitChanges);
298
+ });
299
+ }
300
+ });
301
+ Object.defineProperty(AnnotationPlugin.prototype, "editFeature", {
302
+ enumerable: false,
303
+ configurable: true,
304
+ writable: true,
305
+ value: function (featureId) {
306
+ var _this = this;
307
+ var feature = this.getFeature(featureId);
308
+ this._mode = 'editing';
309
+ this._activeFeatureId = featureId;
310
+ this._activeFeatureType = feature.properties.type;
311
+ var commitChanges = function () {
312
+ setTimeout(function () { return _this.commit(); }, 0);
313
+ };
314
+ this.startDrawing();
315
+ this._drawControl.add(feature);
316
+ this.setFeatureProperty(featureId, 'visible', false);
317
+ this.render();
318
+ switch (this.editModeForFeature(feature)) {
319
+ case 'direct_select':
320
+ this._drawControl.changeMode('direct_select', {
321
+ featureId: featureId
322
+ });
323
+ this.map.maplibreMap.once('draw.modechange', commitChanges);
324
+ this._onCommitCleanup.push(function () { return _this.map.maplibreMap.off('draw.modechange', commitChanges); });
325
+ break;
326
+ case 'simple_select':
327
+ this._drawControl.changeMode('simple_select', {
328
+ featureIds: [featureId]
329
+ });
330
+ this.map.maplibreMap.once('draw.selectionchange', commitChanges);
331
+ this._onCommitCleanup.push(function () { return _this.map.maplibreMap.off('draw.selectionchange', commitChanges); });
332
+ break;
333
+ }
334
+ }
335
+ });
336
+ Object.defineProperty(AnnotationPlugin.prototype, "zoomToFeature", {
337
+ enumerable: false,
338
+ configurable: true,
339
+ writable: true,
340
+ value: function (featureId, animationOptions) {
341
+ var feature = this.getFeature(featureId);
342
+ if (!feature)
343
+ return this;
344
+ var bbox = (feature.properties.type === 'Point' ? turfBBox(turfBuffer(feature, 50)) : turfBBox(feature));
345
+ this.map.setBounds(bbox, animationOptions);
346
+ return this;
347
+ }
348
+ });
349
+ Object.defineProperty(AnnotationPlugin.prototype, "setFeatureProperty", {
350
+ enumerable: false,
351
+ configurable: true,
352
+ writable: true,
353
+ value: function (featureId, property, value) {
354
+ var _a;
355
+ var feature = this.getFeature(featureId);
356
+ var featureCopy = __assign(__assign({}, feature), { properties: __assign(__assign({}, feature.properties), (_a = {}, _a[property] = value, _a)) });
357
+ this._features.set(featureId, featureCopy);
358
+ return this;
359
+ }
360
+ });
361
+ Object.defineProperty(AnnotationPlugin.prototype, "commit", {
362
+ enumerable: false,
363
+ configurable: true,
364
+ writable: true,
365
+ value: function () {
366
+ var _this = this;
367
+ this._onCommitCleanup.forEach(function (f) { return f(); });
368
+ this._onCommitCleanup = [];
369
+ if (this._mode === 'idle')
370
+ return this;
371
+ var drawControlFeature = this._drawControl.getAll().features[0];
372
+ var operation = null;
373
+ if (this._mode === 'editing') {
374
+ var mapFeature_1 = this.getFeature(this._activeFeatureId);
375
+ this.setFeatureProperty(mapFeature_1.id, 'visible', true);
376
+ if (!turfBooleanEqual(mapFeature_1.geometry, drawControlFeature.geometry)) {
377
+ operation = {
378
+ do: function () {
379
+ _this.setFeatureGeometry(mapFeature_1.id, drawControlFeature.geometry);
380
+ if (drawControlFeature.properties.type === 'Circle') {
381
+ _this.setFeatureProperty(mapFeature_1.id, 'center', drawControlFeature.properties.circleCenter);
382
+ _this.setFeatureProperty(mapFeature_1.id, 'radiusInKm', drawControlFeature.properties.circleRadius);
383
+ }
384
+ },
385
+ undo: function () {
386
+ _this.setFeatureGeometry(mapFeature_1.id, mapFeature_1.geometry);
387
+ if (mapFeature_1.properties.type === 'Circle') {
388
+ _this.setFeatureProperty(mapFeature_1.id, 'center', mapFeature_1.properties.circleCenter);
389
+ _this.setFeatureProperty(mapFeature_1.id, 'radiusInKm', mapFeature_1.properties.circleRadius);
390
+ }
391
+ }
392
+ };
393
+ }
394
+ }
395
+ else if (this._mode === 'creating') {
396
+ if (this.isValidGeometry(drawControlFeature)) {
397
+ var createdFeature_1 = drawControlFeature;
398
+ this.applyDefaults(createdFeature_1);
399
+ operation = {
400
+ do: function () {
401
+ var _a, _b;
402
+ _this._features.set(drawControlFeature.id, drawControlFeature);
403
+ _this._featureIds.push(drawControlFeature.id);
404
+ if (((_a = _this.options.selectionOptions) === null || _a === void 0 ? void 0 : _a.mode) === 'single' || ((_b = _this.options.selectionOptions) === null || _b === void 0 ? void 0 : _b.mode) === 'multi') {
405
+ _this.map.getPlugin(SelectionPlugin).selectFeatures(_this._annotationDataSource.id, drawControlFeature.id);
406
+ }
407
+ },
408
+ undo: function () {
409
+ createdFeature_1 = _this._features.get(createdFeature_1.id);
410
+ _this._features.delete(createdFeature_1.id);
411
+ var index = _this._featureIds.indexOf(createdFeature_1.id);
412
+ if (index !== -1) {
413
+ _this._featureIds.splice(index, 1);
414
+ }
415
+ }
416
+ };
417
+ }
418
+ }
419
+ if (operation) {
420
+ this.performOperation(operation);
421
+ }
422
+ this._mode = 'idle';
423
+ this._activeFeatureId = null;
424
+ this._activeFeatureType = null;
425
+ this.endDrawing();
426
+ this.render();
427
+ return this;
428
+ }
429
+ });
430
+ Object.defineProperty(AnnotationPlugin.prototype, "cancel", {
431
+ enumerable: false,
432
+ configurable: true,
433
+ writable: true,
434
+ value: function () {
435
+ this._onCommitCleanup.forEach(function (f) { return f(); });
436
+ this._onCommitCleanup = [];
437
+ if (this._mode === 'idle')
438
+ return this;
439
+ if (this._mode === 'editing') {
440
+ this.setFeatureProperty(this._activeFeatureId, 'visible', true);
441
+ }
442
+ this._activeFeatureId = null;
443
+ this._activeFeatureType = null;
444
+ this._mode = 'idle';
445
+ this.endDrawing();
446
+ this.render();
447
+ return this;
448
+ }
449
+ });
450
+ Object.defineProperty(AnnotationPlugin.prototype, "render", {
451
+ enumerable: false,
452
+ configurable: true,
453
+ writable: true,
454
+ value: function () {
455
+ var _this = this;
456
+ var renderedFeatures = {
457
+ type: 'FeatureCollection',
458
+ features: this._featureIds.map(function (id) { return _this._features.get(id); })
459
+ };
460
+ this._annotationDataSource.setSrc(renderedFeatures);
461
+ this.emitStateChange();
462
+ return this;
463
+ }
464
+ });
465
+ Object.defineProperty(AnnotationPlugin.prototype, "handleDblClick", {
466
+ enumerable: false,
467
+ configurable: true,
468
+ writable: true,
469
+ value: function (event) {
470
+ if (!this.options.interactive) {
471
+ return;
472
+ }
473
+ var clickedFeature = event.features[0];
474
+ if (clickedFeature && clickedFeature.source === this._annotationDataSource.id) {
475
+ this.editFeature(clickedFeature.id.toString());
476
+ }
477
+ }
478
+ });
479
+ Object.defineProperty(AnnotationPlugin.prototype, "handleBeforeStyleChanged", {
480
+ enumerable: false,
481
+ configurable: true,
482
+ writable: true,
483
+ value: function (event) {
484
+ var oldStyle = event.oldStyle, newStyle = event.newStyle;
485
+ if (this._drawControl) {
486
+ if (oldStyle.sources['mapbox-gl-draw']) {
487
+ newStyle.sources['mapbox-gl-draw'] = oldStyle.sources['mapbox-gl-draw'];
488
+ }
489
+ oldStyle.layers.filter(function (l) { return l.id.startsWith('gl-draw'); }).forEach(function (l) { return newStyle.layers.push(l); });
490
+ }
491
+ return newStyle;
492
+ }
493
+ });
494
+ Object.defineProperty(AnnotationPlugin.prototype, "startDrawing", {
495
+ enumerable: false,
496
+ configurable: true,
497
+ writable: true,
498
+ value: function () {
499
+ if (this._drawControl) {
500
+ return this._drawControl;
501
+ }
502
+ this.pluginManager.setExclusivePlugin(this);
503
+ this._drawControl = new MapboxDraw({
504
+ displayControlsDefault: false,
505
+ keybindings: false,
506
+ modes: __assign(__assign({}, MapboxDraw.modes), { drag_circle: DragCircleMode, direct_select: DirectMode }),
507
+ userProperties: true
508
+ });
509
+ this.map.maplibreMap.addControl(this._drawControl);
510
+ return this._drawControl;
511
+ }
512
+ });
513
+ Object.defineProperty(AnnotationPlugin.prototype, "endDrawing", {
514
+ enumerable: false,
515
+ configurable: true,
516
+ writable: true,
517
+ value: function () {
518
+ this.pluginManager.removeExclusivePlugin(this);
519
+ if (this._drawControl) {
520
+ this.map.maplibreMap.removeControl(this._drawControl);
521
+ this._drawControl = null;
522
+ }
523
+ }
524
+ });
525
+ Object.defineProperty(AnnotationPlugin.prototype, "applyDefaults", {
526
+ enumerable: false,
527
+ configurable: true,
528
+ writable: true,
529
+ value: function (feature) {
530
+ var _a;
531
+ feature.id = feature.properties.id = this.generateFeatureId(feature);
532
+ feature.properties = __assign(__assign({ id: this.generateFeatureId(feature), name: this.generateFeatureName(feature), type: (_a = feature.properties.type) !== null && _a !== void 0 ? _a : feature.geometry.type, selected: false }, this.options.defaultStyle), feature.properties);
533
+ feature.id = feature.properties.id;
534
+ return feature;
535
+ }
536
+ });
537
+ Object.defineProperty(AnnotationPlugin.prototype, "generateFeatureId", {
538
+ enumerable: false,
539
+ configurable: true,
540
+ writable: true,
541
+ value: function (feature) {
542
+ if (feature.id) {
543
+ return feature.id.toString();
544
+ }
545
+ else {
546
+ return hat();
547
+ }
548
+ }
549
+ });
550
+ Object.defineProperty(AnnotationPlugin.prototype, "generateFeatureName", {
551
+ enumerable: false,
552
+ configurable: true,
553
+ writable: true,
554
+ value: function (feature) {
555
+ var _a;
556
+ var type = (_a = feature.properties.type) !== null && _a !== void 0 ? _a : feature.geometry.type;
557
+ return "".concat(type, " ").concat(this._featureIds.length);
558
+ }
559
+ });
560
+ Object.defineProperty(AnnotationPlugin.prototype, "performOperation", {
561
+ enumerable: false,
562
+ configurable: true,
563
+ writable: true,
564
+ value: function (operation) {
565
+ this._undoStack.push(operation);
566
+ this._redoStack.length = 0;
567
+ operation.do();
568
+ }
569
+ });
570
+ Object.defineProperty(AnnotationPlugin.prototype, "deselectFeature", {
571
+ enumerable: false,
572
+ configurable: true,
573
+ writable: true,
574
+ value: function (featureId) {
575
+ var _a, _b;
576
+ if (((_a = this.options.selectionOptions) === null || _a === void 0 ? void 0 : _a.mode) === 'single' || ((_b = this.options.selectionOptions) === null || _b === void 0 ? void 0 : _b.mode) === 'multi') {
577
+ this.map.getPlugin(SelectionPlugin).deselectFeatures(this._annotationDataSource.id, featureId);
578
+ }
579
+ }
580
+ });
581
+ Object.defineProperty(AnnotationPlugin.prototype, "deleteSelectedFeature", {
582
+ enumerable: false,
583
+ configurable: true,
584
+ writable: true,
585
+ value: function () {
586
+ var _this = this;
587
+ var _a, _b;
588
+ if (((_a = this.options.selectionOptions) === null || _a === void 0 ? void 0 : _a.mode) === 'single' || ((_b = this.options.selectionOptions) === null || _b === void 0 ? void 0 : _b.mode) === 'multi') {
589
+ var selected = this.map.getPlugin(SelectionPlugin).selectedFeatureIds(this._annotationDataSource.id);
590
+ selected.forEach(function (id) { return _this.deleteFeature(id); });
591
+ this.render();
592
+ }
593
+ }
594
+ });
595
+ Object.defineProperty(AnnotationPlugin.prototype, "editModeForFeature", {
596
+ enumerable: false,
597
+ configurable: true,
598
+ writable: true,
599
+ value: function (feature) {
600
+ switch (feature.geometry.type) {
601
+ case 'Point':
602
+ return 'simple_select';
603
+ default:
604
+ return 'direct_select';
605
+ }
606
+ }
607
+ });
608
+ Object.defineProperty(AnnotationPlugin.prototype, "drawModeForFeatureType", {
609
+ enumerable: false,
610
+ configurable: true,
611
+ writable: true,
612
+ value: function (featureType) {
613
+ switch (featureType) {
614
+ case 'Polygon':
615
+ return 'draw_polygon';
616
+ case 'LineString':
617
+ return 'draw_line_string';
618
+ case 'Point':
619
+ return 'draw_point';
620
+ case 'Circle':
621
+ return 'drag_circle';
622
+ default:
623
+ throw new Error("Unrecognized feature type: ".concat(featureType));
624
+ }
625
+ }
626
+ });
627
+ Object.defineProperty(AnnotationPlugin.prototype, "setFeatureGeometry", {
628
+ enumerable: false,
629
+ configurable: true,
630
+ writable: true,
631
+ value: function (featureId, geometry) {
632
+ var feature = this.getFeature(featureId);
633
+ var featureCopy = __assign(__assign({}, feature), { geometry: geometry });
634
+ this._features.set(featureId, featureCopy);
635
+ return featureCopy;
636
+ }
637
+ });
638
+ Object.defineProperty(AnnotationPlugin.prototype, "isValidGeometry", {
639
+ enumerable: false,
640
+ configurable: true,
641
+ writable: true,
642
+ value: function (feature) {
643
+ if (isPolygon(feature)) {
644
+ return (feature.geometry.coordinates[0][0] !== null &&
645
+ feature.geometry.coordinates[0].length > 3 &&
646
+ turfArea(feature) > 0);
647
+ }
648
+ else if (isLineString(feature)) {
649
+ return feature.geometry.coordinates.length > 1 && turfLength(feature) > 0;
650
+ }
651
+ else if (isPoint(feature)) {
652
+ return feature.geometry.coordinates.length > 0;
653
+ }
654
+ return false;
655
+ }
656
+ });
657
+ Object.defineProperty(AnnotationPlugin.prototype, "emitStateChange", {
658
+ enumerable: false,
659
+ configurable: true,
660
+ writable: true,
661
+ value: function () {
662
+ var _this = this;
663
+ var eventData = {
664
+ mode: this._mode,
665
+ canUndo: this._undoStack.length > 0,
666
+ canRedo: this._redoStack.length > 0,
667
+ activeFeatureId: this._activeFeatureId,
668
+ activeFeatureType: this._activeFeatureType,
669
+ features: this._featureIds.map(function (id) { return _this._features.get(id); })
670
+ };
671
+ this.emit('annotationStateChanged', new FlowCoreMapAnnotationEvent('annotationStateChanged', this.map, eventData));
672
+ }
673
+ });
674
+ Object.defineProperty(AnnotationPlugin, "_defaultOptions", {
675
+ enumerable: true,
676
+ configurable: true,
677
+ writable: true,
678
+ value: {
679
+ interactive: true,
680
+ defaultStyle: {
681
+ labelSize: 10,
682
+ labelColor: '#ffffff',
683
+ labelMaxWidth: 10,
684
+ labelOffset: [0, 0.5],
685
+ labelJustify: 'auto',
686
+ labelAnchor: 'top',
687
+ polygonLabelAnchor: 'center',
688
+ radius: 5,
689
+ fillColor: 'rgba(204,204,204,0.65)',
690
+ strokeWidth: 1,
691
+ strokeColor: '#ffffff',
692
+ selectionStrokeColor: 'orange',
693
+ selectionStrokeOpacity: 0.5,
694
+ selectionWidth: 3
695
+ }
696
+ }
697
+ });
698
+ return AnnotationPlugin;
699
+ }(FlowCoreMapPlugin));
700
+ export { AnnotationPlugin };
701
+ //# sourceMappingURL=annotation.plugin.js.map