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