@emuanalytics/flow-rdf-core 1.1.0 → 1.1.1

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 (820) 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/types/index.d.ts +7 -1
  690. package/dist/types/index.d.ts.map +1 -1
  691. package/dist/types/lib/errors/flow-core-error.d.ts +4 -0
  692. package/dist/types/lib/errors/flow-core-error.d.ts.map +1 -0
  693. package/dist/types/lib/errors/flow-core-expression-error.d.ts +7 -0
  694. package/dist/types/lib/errors/flow-core-expression-error.d.ts.map +1 -0
  695. package/dist/types/lib/errors/flow-core-map-error.d.ts +5 -0
  696. package/dist/types/lib/errors/flow-core-map-error.d.ts.map +1 -0
  697. package/dist/types/lib/errors/index.d.ts +3 -0
  698. package/dist/types/lib/errors/index.d.ts.map +1 -0
  699. package/dist/types/lib/flow-core-expression/flow-core-expression.d.ts +29 -0
  700. package/dist/types/lib/flow-core-expression/flow-core-expression.d.ts.map +1 -0
  701. package/dist/types/lib/flow-core-expression/flow-core-parser.d.ts +19 -0
  702. package/dist/types/lib/flow-core-expression/flow-core-parser.d.ts.map +1 -0
  703. package/dist/types/lib/flow-core-expression/functions/from-palette.d.ts +12 -0
  704. package/dist/types/lib/flow-core-expression/functions/from-palette.d.ts.map +1 -0
  705. package/dist/types/lib/flow-core-expression/functions/state.d.ts +9 -0
  706. package/dist/types/lib/flow-core-expression/functions/state.d.ts.map +1 -0
  707. package/dist/types/lib/flow-core-expression/index.d.ts +2 -0
  708. package/dist/types/lib/flow-core-expression/index.d.ts.map +1 -0
  709. package/dist/types/lib/flow-core-expression/parser-helpers.d.ts +2 -0
  710. package/dist/types/lib/flow-core-expression/parser-helpers.d.ts.map +1 -0
  711. package/dist/types/lib/flow-core-expression/types.d.ts +27 -0
  712. package/dist/types/lib/flow-core-expression/types.d.ts.map +1 -0
  713. package/dist/types/lib/flow-core-map/flow-core-map.d.ts +106 -0
  714. package/dist/types/lib/flow-core-map/flow-core-map.d.ts.map +1 -0
  715. package/dist/types/lib/flow-core-map/index.d.ts +2 -0
  716. package/dist/types/lib/flow-core-map/index.d.ts.map +1 -0
  717. package/dist/types/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts +4 -0
  718. package/dist/types/lib/flow-core-map/plugins/annotations/annotation-layers.d.ts.map +1 -0
  719. package/dist/types/lib/flow-core-map/plugins/annotations/annotation.events.d.ts +25 -0
  720. package/dist/types/lib/flow-core-map/plugins/annotations/annotation.events.d.ts.map +1 -0
  721. package/dist/types/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts +70 -0
  722. package/dist/types/lib/flow-core-map/plugins/annotations/annotation.plugin.d.ts.map +1 -0
  723. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts +4 -0
  724. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/index.d.ts.map +1 -0
  725. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts +3 -0
  726. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DirectModeOverride.d.ts.map +1 -0
  727. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts +23 -0
  728. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/modes/DragCircleMode.d.ts.map +1 -0
  729. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts +3 -0
  730. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/create_supplementary_points_circle.d.ts.map +1 -0
  731. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts +6 -0
  732. package/dist/types/lib/flow-core-map/plugins/annotations/maplibre-gl-draw-circle/lib/utils/drag_pan.d.ts.map +1 -0
  733. package/dist/types/lib/flow-core-map/plugins/annotations/types.d.ts +34 -0
  734. package/dist/types/lib/flow-core-map/plugins/annotations/types.d.ts.map +1 -0
  735. package/dist/types/lib/flow-core-map/plugins/data-join.plugin.d.ts +47 -0
  736. package/dist/types/lib/flow-core-map/plugins/data-join.plugin.d.ts.map +1 -0
  737. package/dist/types/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts +41 -0
  738. package/dist/types/lib/flow-core-map/plugins/flow-core-map-plugin.d.ts.map +1 -0
  739. package/dist/types/lib/flow-core-map/plugins/hover-effect.plugin.d.ts +14 -0
  740. package/dist/types/lib/flow-core-map/plugins/hover-effect.plugin.d.ts.map +1 -0
  741. package/dist/types/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts +52 -0
  742. package/dist/types/lib/flow-core-map/plugins/keyboard-shortcut-manager.d.ts.map +1 -0
  743. package/dist/types/lib/flow-core-map/plugins/plugin-manager.d.ts +27 -0
  744. package/dist/types/lib/flow-core-map/plugins/plugin-manager.d.ts.map +1 -0
  745. package/dist/types/lib/flow-core-map/plugins/popup.plugin.d.ts +17 -0
  746. package/dist/types/lib/flow-core-map/plugins/popup.plugin.d.ts.map +1 -0
  747. package/dist/types/lib/flow-core-map/plugins/selection/selection.events.d.ts +14 -0
  748. package/dist/types/lib/flow-core-map/plugins/selection/selection.events.d.ts.map +1 -0
  749. package/dist/types/lib/flow-core-map/plugins/selection/selection.plugin.d.ts +31 -0
  750. package/dist/types/lib/flow-core-map/plugins/selection/selection.plugin.d.ts.map +1 -0
  751. package/dist/types/lib/flow-core-map/plugins/selection/source-selection.d.ts +24 -0
  752. package/dist/types/lib/flow-core-map/plugins/selection/source-selection.d.ts.map +1 -0
  753. package/dist/types/lib/flow-core-map/support/flow-core-map-events.d.ts +62 -0
  754. package/dist/types/lib/flow-core-map/support/flow-core-map-events.d.ts.map +1 -0
  755. package/dist/types/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts +29 -0
  756. package/dist/types/lib/flow-core-map/support/flow-core-map-feature-stream.d.ts.map +1 -0
  757. package/dist/types/lib/flow-core-map/support/flow-core-map-popup.d.ts +74 -0
  758. package/dist/types/lib/flow-core-map/support/flow-core-map-popup.d.ts.map +1 -0
  759. package/dist/types/lib/flow-core-map/support/image-registry.d.ts +2 -0
  760. package/dist/types/lib/flow-core-map/support/image-registry.d.ts.map +1 -0
  761. package/dist/types/lib/flow-core-map/types.d.ts +57 -0
  762. package/dist/types/lib/flow-core-map/types.d.ts.map +1 -0
  763. package/dist/types/lib/flow-core-map-style/flow-core-map-data-source.d.ts +33 -0
  764. package/dist/types/lib/flow-core-map-style/flow-core-map-data-source.d.ts.map +1 -0
  765. package/dist/types/lib/flow-core-map-style/flow-core-map-layer.d.ts +71 -0
  766. package/dist/types/lib/flow-core-map-style/flow-core-map-layer.d.ts.map +1 -0
  767. package/dist/types/lib/flow-core-map-style/flow-core-map-style.d.ts +32 -0
  768. package/dist/types/lib/flow-core-map-style/flow-core-map-style.d.ts.map +1 -0
  769. package/dist/types/lib/flow-core-map-style/index.d.ts +5 -0
  770. package/dist/types/lib/flow-core-map-style/index.d.ts.map +1 -0
  771. package/dist/types/lib/flow-core-map-style/types.d.ts +60 -0
  772. package/dist/types/lib/flow-core-map-style/types.d.ts.map +1 -0
  773. package/dist/types/lib/{flow-query.d.ts → flow-core-query/FlowQueryResultFormat.d.ts} +9 -26
  774. package/dist/types/lib/flow-core-query/FlowQueryResultFormat.d.ts.map +1 -0
  775. package/dist/types/lib/flow-core-query/async-committer.d.ts +15 -0
  776. package/dist/types/lib/flow-core-query/async-committer.d.ts.map +1 -0
  777. package/dist/types/lib/flow-core-query/flow-core-query.d.ts +35 -0
  778. package/dist/types/lib/flow-core-query/flow-core-query.d.ts.map +1 -0
  779. package/dist/types/lib/flow-core-query/index.d.ts +2 -0
  780. package/dist/types/lib/flow-core-query/index.d.ts.map +1 -0
  781. package/dist/types/lib/flow-core-state-store/flow-core-state-store.d.ts +25 -0
  782. package/dist/types/lib/flow-core-state-store/flow-core-state-store.d.ts.map +1 -0
  783. package/dist/types/lib/flow-core-state-store/index.d.ts +6 -0
  784. package/dist/types/lib/flow-core-state-store/index.d.ts.map +1 -0
  785. package/dist/types/lib/flow-core-state-store/utils.d.ts +10 -0
  786. package/dist/types/lib/flow-core-state-store/utils.d.ts.map +1 -0
  787. package/dist/types/lib/utils/assert.d.ts +2 -0
  788. package/dist/types/lib/utils/assert.d.ts.map +1 -0
  789. package/dist/types/lib/utils/ensure-array.d.ts +2 -0
  790. package/dist/types/lib/utils/ensure-array.d.ts.map +1 -0
  791. package/dist/types/lib/utils/feature-type-checks.d.ts +5 -0
  792. package/dist/types/lib/utils/feature-type-checks.d.ts.map +1 -0
  793. package/dist/types/lib/utils/functional.d.ts +70 -0
  794. package/dist/types/lib/utils/functional.d.ts.map +1 -0
  795. package/dist/types/lib/utils/index.d.ts +2 -0
  796. package/dist/types/lib/utils/index.d.ts.map +1 -0
  797. package/dist/types/lib/utils/string-utils.d.ts +2 -0
  798. package/dist/types/lib/utils/string-utils.d.ts.map +1 -0
  799. package/dist/types/lib/utils/type-checks.d.ts +25 -0
  800. package/dist/types/lib/utils/type-checks.d.ts.map +1 -0
  801. package/dist/types/lib/utils/typescript-utils.d.ts +2 -0
  802. package/dist/types/lib/utils/typescript-utils.d.ts.map +1 -0
  803. package/package.json +80 -12
  804. package/.turbo/turbo-build.log +0 -17
  805. package/CHANGELOG.md +0 -13
  806. package/dist/cjs/lib/async-committer.js +0 -47
  807. package/dist/cjs/lib/async-committer.js.map +0 -1
  808. package/dist/cjs/lib/flow-query.js +0 -183
  809. package/dist/cjs/lib/flow-query.js.map +0 -1
  810. package/dist/esm/lib/async-committer.js.map +0 -1
  811. package/dist/esm/lib/flow-query.js.map +0 -1
  812. package/dist/types/lib/async-committer.d.ts.map +0 -1
  813. package/dist/types/lib/flow-query.d.ts.map +0 -1
  814. package/jest.config.js +0 -3
  815. package/src/__tests__/test.spec.ts +0 -116
  816. package/src/index.ts +0 -2
  817. package/src/lib/async-committer.ts +0 -23
  818. package/src/lib/flow-query.ts +0 -244
  819. package/tsconfig.build.json +0 -12
  820. package/tsconfig.json +0 -103
@@ -0,0 +1,224 @@
1
+ import { __read, __spreadArray } from "tslib";
2
+ import * as maplibreSpec from '@maplibre/maplibre-gl-style-spec';
3
+ import { FlowCoreParser } from './flow-core-parser';
4
+ import { isString, isUndefined } from '../utils/type-checks';
5
+ import { action, computed, makeObservable, observable } from 'mobx';
6
+ import { toStream } from 'mobx-utils';
7
+ import customStateFn from './functions/state';
8
+ import customFromPaletteFn from './functions/from-palette';
9
+ import { FlowCoreExpressionError } from '../errors/flow-core-expression-error';
10
+ var FlowCoreExpression = (function () {
11
+ function FlowCoreExpression(expression, parsedExpression) {
12
+ Object.defineProperty(this, "_expression", {
13
+ enumerable: true,
14
+ configurable: true,
15
+ writable: true,
16
+ value: ''
17
+ });
18
+ Object.defineProperty(this, "parsedResult", {
19
+ enumerable: true,
20
+ configurable: true,
21
+ writable: true,
22
+ value: void 0
23
+ });
24
+ Object.defineProperty(this, "_store", {
25
+ enumerable: true,
26
+ configurable: true,
27
+ writable: true,
28
+ value: null
29
+ });
30
+ makeObservable(this, {
31
+ _store: observable.ref,
32
+ maplibreExpression: computed,
33
+ value: computed,
34
+ bindState: action
35
+ }, { name: this.formatName(expression) });
36
+ this._expression = expression;
37
+ if (!isUndefined(parsedExpression)) {
38
+ this.parsedResult = {
39
+ status: true,
40
+ value: parsedExpression
41
+ };
42
+ }
43
+ else {
44
+ this.parsedResult = FlowCoreExpression.parser.parseExpression(expression);
45
+ }
46
+ }
47
+ Object.defineProperty(FlowCoreExpression, "hasCustomFunction", {
48
+ enumerable: false,
49
+ configurable: true,
50
+ writable: true,
51
+ value: function (fn) {
52
+ return !!this.customFunctions[fn];
53
+ }
54
+ });
55
+ Object.defineProperty(FlowCoreExpression, "registerCustomFunction", {
56
+ enumerable: false,
57
+ configurable: true,
58
+ writable: true,
59
+ value: function (fn) {
60
+ if (fn.initialize)
61
+ fn.initialize();
62
+ this.customFunctions[fn.name] = fn;
63
+ }
64
+ });
65
+ Object.defineProperty(FlowCoreExpression, "parseProgram", {
66
+ enumerable: false,
67
+ configurable: true,
68
+ writable: true,
69
+ value: function (program) {
70
+ var parsedProgram = this.parser.parseProgram(program);
71
+ if (isString(program) && program.length === 0) {
72
+ return {};
73
+ }
74
+ if (parsedProgram.status) {
75
+ var keys = Object.keys(parsedProgram.value);
76
+ var expressions = keys.reduce(function (accum, key) {
77
+ var expr = parsedProgram.value[key];
78
+ var expressionString = program.slice(expr.start.offset, expr.end.offset);
79
+ accum[key] = new FlowCoreExpression(expressionString, expr.expr);
80
+ return accum;
81
+ }, {});
82
+ return expressions;
83
+ }
84
+ else {
85
+ throw new FlowCoreExpressionError('program', 'parseError', [
86
+ "expected ".concat(parsedProgram.expected.join(' '), " at line ").concat(parsedProgram.index.line, ", column ").concat(parsedProgram.index.column, "]")
87
+ ]);
88
+ }
89
+ }
90
+ });
91
+ Object.defineProperty(FlowCoreExpression.prototype, "maplibreExpression", {
92
+ get: function () {
93
+ if (this.isParseError(this.parsedResult)) {
94
+ throw this.parseError;
95
+ }
96
+ return this.expandCustomFunctions(this.parsedResult.value);
97
+ },
98
+ enumerable: false,
99
+ configurable: true
100
+ });
101
+ Object.defineProperty(FlowCoreExpression.prototype, "value", {
102
+ get: function () {
103
+ return this.evaluateExpression();
104
+ },
105
+ enumerable: false,
106
+ configurable: true
107
+ });
108
+ Object.defineProperty(FlowCoreExpression.prototype, "parseError", {
109
+ get: function () {
110
+ if (this.isParseError(this.parsedResult)) {
111
+ return new FlowCoreExpressionError(this._expression, 'parseError', [
112
+ "index: ".concat(this.parsedResult.index.offset),
113
+ "expected: ".concat(this.parsedResult.expected.join(' '))
114
+ ]);
115
+ }
116
+ return null;
117
+ },
118
+ enumerable: false,
119
+ configurable: true
120
+ });
121
+ Object.defineProperty(FlowCoreExpression.prototype, "expression", {
122
+ get: function () {
123
+ return this._expression;
124
+ },
125
+ enumerable: false,
126
+ configurable: true
127
+ });
128
+ Object.defineProperty(FlowCoreExpression.prototype, "store", {
129
+ get: function () {
130
+ return this._store;
131
+ },
132
+ enumerable: false,
133
+ configurable: true
134
+ });
135
+ Object.defineProperty(FlowCoreExpression.prototype, "bindState", {
136
+ enumerable: false,
137
+ configurable: true,
138
+ writable: true,
139
+ value: function (store) {
140
+ this._store = store;
141
+ return this;
142
+ }
143
+ });
144
+ Object.defineProperty(FlowCoreExpression.prototype, "toStream", {
145
+ enumerable: false,
146
+ configurable: true,
147
+ writable: true,
148
+ value: function (fireImmediately) {
149
+ var _this = this;
150
+ if (fireImmediately === void 0) { fireImmediately = true; }
151
+ return toStream(function () { return _this.value; }, fireImmediately);
152
+ }
153
+ });
154
+ Object.defineProperty(FlowCoreExpression.prototype, "evaluateExpression", {
155
+ enumerable: false,
156
+ configurable: true,
157
+ writable: true,
158
+ value: function () {
159
+ var _a = maplibreSpec.expression.createExpression(this.maplibreExpression), result = _a.result, value = _a.value;
160
+ if (result === 'success') {
161
+ return value.evaluate({ zoom: 0 });
162
+ }
163
+ throw new FlowCoreExpressionError(this.expression, 'evaluationError', value.map(function (value) { return value.message; }));
164
+ }
165
+ });
166
+ Object.defineProperty(FlowCoreExpression.prototype, "expandCustomFunctions", {
167
+ enumerable: false,
168
+ configurable: true,
169
+ writable: true,
170
+ value: function (expr) {
171
+ var _this = this;
172
+ if (this.isFunctionExpression(expr)) {
173
+ var func = expr[0];
174
+ var args = expr.slice(1).map(function (arg) { return _this.expandCustomFunctions(arg); });
175
+ expr = __spreadArray([func], __read(args), false);
176
+ return FlowCoreExpression.hasCustomFunction(func)
177
+ ? FlowCoreExpression.customFunctions[func].fn(expr, this)
178
+ : expr;
179
+ }
180
+ return expr;
181
+ }
182
+ });
183
+ Object.defineProperty(FlowCoreExpression.prototype, "isParseError", {
184
+ enumerable: false,
185
+ configurable: true,
186
+ writable: true,
187
+ value: function (val) {
188
+ return !val.status;
189
+ }
190
+ });
191
+ Object.defineProperty(FlowCoreExpression.prototype, "isFunctionExpression", {
192
+ enumerable: false,
193
+ configurable: true,
194
+ writable: true,
195
+ value: function (expr) {
196
+ return Array.isArray(expr);
197
+ }
198
+ });
199
+ Object.defineProperty(FlowCoreExpression.prototype, "formatName", {
200
+ enumerable: false,
201
+ configurable: true,
202
+ writable: true,
203
+ value: function (expr) {
204
+ return "FlowCoreExpression<".concat(expr, ">}");
205
+ }
206
+ });
207
+ Object.defineProperty(FlowCoreExpression, "parser", {
208
+ enumerable: true,
209
+ configurable: true,
210
+ writable: true,
211
+ value: new FlowCoreParser()
212
+ });
213
+ Object.defineProperty(FlowCoreExpression, "customFunctions", {
214
+ enumerable: true,
215
+ configurable: true,
216
+ writable: true,
217
+ value: {}
218
+ });
219
+ return FlowCoreExpression;
220
+ }());
221
+ export { FlowCoreExpression };
222
+ FlowCoreExpression.registerCustomFunction(customStateFn);
223
+ FlowCoreExpression.registerCustomFunction(customFromPaletteFn);
224
+ //# sourceMappingURL=flow-core-expression.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-core-expression.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-expression/flow-core-expression.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,YAAY,MAAM,kCAAkC,CAAC;AACjE,OAAO,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C,sBAAsB,CAAC,aAAa,CAAC,CAAC;AACzD,kBAAkB,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=flow-core-parser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-core-parser.d.ts","sourceRoot":"","sources":["../../../../src/lib/flow-core-expression/flow-core-parser.ts"],"names":[],"mappings":""}
@@ -0,0 +1,185 @@
1
+ import { __read, __spreadArray } from "tslib";
2
+ import P from 'parsimmon';
3
+ import { PREFIX, BINARY_RIGHT, BINARY_LEFT, TERNARY_RIGHT } from './parser-helpers';
4
+ var FlowCoreParser = (function () {
5
+ function FlowCoreParser() {
6
+ Object.defineProperty(this, "language", {
7
+ enumerable: true,
8
+ configurable: true,
9
+ writable: true,
10
+ value: void 0
11
+ });
12
+ this.language = this.createLanguage();
13
+ }
14
+ Object.defineProperty(FlowCoreParser.prototype, "parseExpression", {
15
+ enumerable: false,
16
+ configurable: true,
17
+ writable: true,
18
+ value: function (expr) {
19
+ return this.language.Expr.parse(expr);
20
+ }
21
+ });
22
+ Object.defineProperty(FlowCoreParser.prototype, "parseProgram", {
23
+ enumerable: false,
24
+ configurable: true,
25
+ writable: true,
26
+ value: function (program) {
27
+ return this.language.ProgramOrEmpty.parse(program);
28
+ }
29
+ });
30
+ Object.defineProperty(FlowCoreParser.prototype, "createLanguage", {
31
+ enumerable: false,
32
+ configurable: true,
33
+ writable: true,
34
+ value: function () {
35
+ var _this = this;
36
+ var operatorTable = [
37
+ { type: PREFIX, ops: this.operators({ '-': '-', '!': '!' }) },
38
+ { type: BINARY_RIGHT, ops: this.operators({ '^': '**' }) },
39
+ { type: BINARY_LEFT, ops: this.operators({ '*': '*', '/': '/', '%': '%' }) },
40
+ { type: BINARY_LEFT, ops: this.operators({ '+': '+', '-': '-' }) },
41
+ { type: BINARY_LEFT, ops: this.operators({ '>=': '>=', '<=': '<=' }) },
42
+ { type: BINARY_LEFT, ops: this.operators({ '<': '<', '>': '>' }) },
43
+ { type: BINARY_LEFT, ops: this.operators({ '==': '==', '!=': '!=' }) },
44
+ { type: BINARY_LEFT, ops: this.operators({ all: '&&' }) },
45
+ { type: BINARY_LEFT, ops: this.operators({ any: '||' }) },
46
+ { type: TERNARY_RIGHT, ops: this.operators({ case: '?' }) }
47
+ ];
48
+ return P.createLanguage({
49
+ Whitespace: function () { return P.regexp(/[ \n]*/).desc('whitespace'); },
50
+ NotNewline: function () { return P.regexp(/[^\n]*/).desc('non-newline'); },
51
+ LineComment: function (r) { return r.NotNewline.wrap(P.string('//'), P.alt(P.string('\n'), P.eof)); },
52
+ BlockComment: function () { return P.regexp(/\/\*[\s\S]*?\*\//); },
53
+ Comment: function (r) { return P.alt(r.LineComment, r.BlockComment).desc('comment'); },
54
+ End: function () { return P.alt(P.string(';'), P.eof); },
55
+ _: function (r) { return r.Comment.sepBy(r.Whitespace).trim(r.Whitespace); },
56
+ Integer: function () {
57
+ return P.regexp(/-?[0-9]+/).map(Number);
58
+ },
59
+ Decimal: function () {
60
+ return P.regexp(/-?[0-9]+\.[0-9]+/).map(Number);
61
+ },
62
+ Number: function (r) {
63
+ return P.alt(r.Decimal, r.Integer).desc('number');
64
+ },
65
+ Boolean: function () {
66
+ return P.alt(P.string('true'), P.string('false'))
67
+ .map(function (val) { return val === 'true'; })
68
+ .desc('boolean');
69
+ },
70
+ Null: function () {
71
+ return P.string('null')
72
+ .result(null)
73
+ .desc('null');
74
+ },
75
+ DoubleQuoteString: function () {
76
+ return P.regexp(/"((?:\\.|.)*?)"/, 1).desc('string');
77
+ },
78
+ SingleQuoteString: function () {
79
+ return P.regexp(/'((?:\\.|.)*?)'/, 1).desc('string');
80
+ },
81
+ UnquotedString: function () {
82
+ return P.regexp(/[a-zA-Z_][a-zA-Z0-9_-]*/).desc('string');
83
+ },
84
+ HexColor: function () {
85
+ return P.regexp(/#(?:[0-9a-f]{3}){1,2}/i).desc('hex color');
86
+ },
87
+ String: function (r) {
88
+ return P.alt(r.SingleQuoteString, r.DoubleQuoteString, r.HexColor, r.UnquotedString).map(function (s) { return s.replace(/\\n/gm, '\n'); });
89
+ },
90
+ Symbol: function () {
91
+ return P.regexp(/[a-zA-Z_][a-zA-Z0-9_-]*/).desc('symbol');
92
+ },
93
+ PartialSymbol: function () {
94
+ return P.regexp(/[a-zA-Z0-9_-]+/).desc('symbol');
95
+ },
96
+ Feature: function (r) {
97
+ return P.seqMap(P.string('@'), r.PartialSymbol.sepBy(P.string('.')), function (_feat, symbols) { return ['get'].concat(symbols); });
98
+ },
99
+ FeatureState: function (r) {
100
+ return P.seqMap(P.string('@@'), r.PartialSymbol.sepBy(P.string('.')), function (_feat, symbols) { return _this.expandFeatureState(symbols); });
101
+ },
102
+ Array: function (r) {
103
+ return P.string('[')
104
+ .trim(r._)
105
+ .then(r.Value.trim(r._).sepBy(P.string(',')))
106
+ .skip(P.string(']'));
107
+ },
108
+ State: function (r) {
109
+ return P.seqMap(P.string('$'), r.PartialSymbol.sepBy(P.string('.')), function (_state, symbols) { return ['state'].concat(symbols); });
110
+ },
111
+ Paren: function (r) {
112
+ return P.seqMap(P.string('('), r.Expr.trim(r._), P.string(')'), function (_lb, expr, _rb) { return expr; });
113
+ },
114
+ Func: function (r) {
115
+ return P.seqMap(r.Symbol.trim(r._), P.string('('), r.Expr.trim(r._).sepBy(P.string(',')), P.string(')'), function (func, _lb, args, _rb) { return __spreadArray([func], __read(args), false); });
116
+ },
117
+ Value: function (r) {
118
+ return P.alt(r.Paren, r.Array, r.Func, r.Boolean, r.Null, r.Number, r.String, r.FeatureState, r.Feature, r.State);
119
+ },
120
+ Expr: function (r) {
121
+ return _this.tableParser(operatorTable, r.Value);
122
+ },
123
+ PropertyName: function () {
124
+ return P.regexp(/[a-zA-Z_-][a-zA-Z0-9_-]*/).desc('symbol');
125
+ },
126
+ Assignment: function (r) {
127
+ return P.seqMap(r.PropertyName, P.string(':').trim(r._), r.Expr.trim(r._).node('expr'), r.End, function (key, _colon, node) { return [key, { expr: node.value, start: node.start, end: node.end }]; });
128
+ },
129
+ Program: function (r) {
130
+ return r.Assignment.trim(r._)
131
+ .many()
132
+ .map(function (statements) {
133
+ return statements
134
+ .filter(function (s) { return s !== ''; })
135
+ .reduce(function (acc, s) {
136
+ acc[s[0]] = s[1];
137
+ return acc;
138
+ }, {});
139
+ });
140
+ },
141
+ EmptyProgram: function (r) {
142
+ return P.seqMap(r._, P.eof, function () { return null; });
143
+ },
144
+ ProgramOrEmpty: function (r) {
145
+ return P.alt(r.EmptyProgram, r.Program);
146
+ }
147
+ });
148
+ }
149
+ });
150
+ Object.defineProperty(FlowCoreParser.prototype, "operators", {
151
+ enumerable: false,
152
+ configurable: true,
153
+ writable: true,
154
+ value: function (ops) {
155
+ var keys = Object.keys(ops).sort();
156
+ var ps = keys.map(function (k) {
157
+ return P.string(ops[k])
158
+ .trim(P.optWhitespace)
159
+ .result(k);
160
+ });
161
+ return P.alt.apply(null, ps);
162
+ }
163
+ });
164
+ Object.defineProperty(FlowCoreParser.prototype, "tableParser", {
165
+ enumerable: false,
166
+ configurable: true,
167
+ writable: true,
168
+ value: function (operatorTable, valueParser) {
169
+ return operatorTable.reduce(function (acc, level) { return level.type(level.ops, acc); }, valueParser);
170
+ }
171
+ });
172
+ Object.defineProperty(FlowCoreParser.prototype, "expandFeatureState", {
173
+ enumerable: false,
174
+ configurable: true,
175
+ writable: true,
176
+ value: function (symbols) {
177
+ var expandedFeatureState = ['feature-state', symbols.shift()];
178
+ symbols.forEach(function (s) { return expandedFeatureState = ['get', s, expandedFeatureState]; });
179
+ return expandedFeatureState;
180
+ }
181
+ });
182
+ return FlowCoreParser;
183
+ }());
184
+ export { FlowCoreParser };
185
+ //# sourceMappingURL=flow-core-parser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow-core-parser.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-expression/flow-core-parser.ts"],"names":[],"mappings":";AAsBA,OAAO,CAAC,MAAM,WA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CAAC,CAAA;gBACzC,CAAC;aACF,CAAC,CAAC;QACL,CAAC;;;;;;eAOD,UAAkB,GAA8B;YAC9C,IAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;YACrC,IAAM,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,UAAA,CAAC;gBACnB,OAAA,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;qBACb,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC;qBACrB,MAAM,CAAC,CAAC,CAAC;YAFZ,CAEY,CACb,CAAC;YAEF,OAAO,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC/B,CAAC;;;;;;eAMD,UAAoB,aAAkB,EAAE,WAA0B;YAChE,OAAO,aAAa,CAAC,MAAM,CAAC,UAAC,GAAQ,EAAE,KAAU,IAAK,OAAA,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,EAA1B,CAA0B,EAAE,WAAW,CAAC,CAAC;QACjG,CAAC;;;;;;eAED,UAA2B,OAAiB;YAC1C,IAAI,oBAAoB,GAAU,CAAC,eAAe,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;YACrE,OAAO,CAAC,OAAO,CAAC,UAAA,CAAC,IAAI,OAAA,oBAAoB,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,oBAAoB,CAAC,EAAvD,CAAuD,CAAC,CAAC;YAC9E,OAAO,oBAAoB,CAAC;QAC9B,CAAC;;IACH,qBAAC;AAAD,CAAC,AAxLD,IAwLC"}
@@ -0,0 +1,12 @@
1
+ import { FlowCoreStateStore } from '../../flow-core-state-store';
2
+ import { ParserExpression, ParserFunctionExpression } from '../types';
3
+ import { FlowCoreExpression } from '../flow-core-expression';
4
+ declare function registerColorBrewerPalettes(): void;
5
+ declare function fromPalette<TState extends FlowCoreStateStore = any>(expr: ParserFunctionExpression, parentExpression: FlowCoreExpression): ParserExpression;
6
+ declare const _default: {
7
+ name: string;
8
+ initialize: typeof registerColorBrewerPalettes;
9
+ fn: typeof fromPalette;
10
+ };
11
+ export default _default;
12
+ //# sourceMappingURL=from-palette.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"from-palette.d.ts","sourceRoot":"","sources":["../../../../../src/lib/flow-core-expression/functions/from-palette.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAe7D,iBAAS,2BAA2B,SAUnC;AAED,iBAAS,WAAW,CAAC,MAAM,SAAS,kBAAkB,GAAG,GAAG,EAC1D,IAAI,EAAE,wBAAwB,EAC9B,gBAAgB,EAAE,kBAAkB,GACnC,gBAAgB,CA8DlB;;;;;;AAED,wBAIE"}
@@ -0,0 +1,75 @@
1
+ import colorbrewer from 'colorbrewer';
2
+ import { isArray, isString } from '../../utils';
3
+ import { FlowCoreExpressionError } from '../../errors';
4
+ var palettes = {};
5
+ function registerColorBrewerPalettes() {
6
+ Object.keys(colorbrewer)
7
+ .filter(function (key) { return key !== 'schemeGroups'; })
8
+ .forEach(function (key) {
9
+ return (palettes[key] = {
10
+ id: key,
11
+ colors: colorbrewer[key][5]
12
+ });
13
+ });
14
+ }
15
+ function fromPalette(expr, parentExpression) {
16
+ var _a;
17
+ var paletteIdOrArray = expr[1];
18
+ var property = expr[2];
19
+ var colorStops = expr.slice(3);
20
+ var paletteId;
21
+ var palette;
22
+ if (isString(paletteIdOrArray)) {
23
+ paletteId = paletteIdOrArray;
24
+ palette = ((_a = palettes[paletteIdOrArray]) === null || _a === void 0 ? void 0 : _a.colors) || palettes['Greys'].colors;
25
+ }
26
+ else if (isArray(paletteIdOrArray) && paletteIdOrArray[0] === 'literal') {
27
+ paletteId = 'custom';
28
+ palette = paletteIdOrArray[1];
29
+ }
30
+ else {
31
+ throw new FlowCoreExpressionError(parentExpression.expression, 'evaluationError', ['from-palette requires palette id as string or custom palette array']);
32
+ }
33
+ var numPaletteEntries = palette.length;
34
+ var reversePalette = false;
35
+ if (numPaletteEntries < 5) {
36
+ throw new FlowCoreExpressionError(parentExpression.expression, 'evaluationError', ['custom palette requires at least 5 color entries']);
37
+ }
38
+ switch (colorStops.length) {
39
+ case 2:
40
+ break;
41
+ case 3:
42
+ reversePalette = !!colorStops[2];
43
+ colorStops = colorStops.slice(0, 2);
44
+ break;
45
+ case numPaletteEntries:
46
+ break;
47
+ case numPaletteEntries + 1:
48
+ reversePalette = !!colorStops[numPaletteEntries];
49
+ colorStops = colorStops.slice(0, numPaletteEntries);
50
+ break;
51
+ default:
52
+ throw new FlowCoreExpressionError(parentExpression.expression, 'evaluationError', ['incorrect color stop arguments']);
53
+ }
54
+ if (colorStops.length === 2) {
55
+ var min = colorStops[0];
56
+ var max = colorStops[1];
57
+ colorStops = [];
58
+ var step = (max - min) / (numPaletteEntries - 1);
59
+ for (var i = 0; i < numPaletteEntries; i++) {
60
+ colorStops.push(min + i * step);
61
+ }
62
+ }
63
+ expr = ['interpolate-lab', ['linear'], property];
64
+ for (var i = 0; i < colorStops.length; i++) {
65
+ expr.push(colorStops[i]);
66
+ expr.push(reversePalette ? palette[colorStops.length - i - 1] : palette[i]);
67
+ }
68
+ return expr;
69
+ }
70
+ export default {
71
+ name: 'from-palette',
72
+ initialize: registerColorBrewerPalettes,
73
+ fn: fromPalette
74
+ };
75
+ //# sourceMappingURL=from-palette.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"from-palette.js","sourceRoot":"","sources":["../../../../../src/lib/flow-core-expression/functions/from-palette.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,aAAa,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAkB,QAAQ,EAAE,MAAM,aAAa,CAAC;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ACjC;KACF;IAED,IAAI,GAAG,CAAC,iBAAiB,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC;IAEjD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QAC1C,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;QACzB,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;KAC7E;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,eAAe;IACb,IAAI,EAAE,cAAc;IACpB,UAAU,EAAE,2BAA2B;IACvC,EAAE,EAAE,WAAW;CAChB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { FlowCoreExpression } from '../flow-core-expression';
2
+ import { ParserExpression, ParserFunctionExpression } from '../types';
3
+ declare function stateCustomFunction(expr: ParserFunctionExpression, parentExpression: FlowCoreExpression<any>): ParserExpression;
4
+ declare const _default: {
5
+ name: string;
6
+ fn: typeof stateCustomFunction;
7
+ };
8
+ export default _default;
9
+ //# sourceMappingURL=state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../src/lib/flow-core-expression/functions/state.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEtE,iBAAS,mBAAmB,CAC1B,IAAI,EAAE,wBAAwB,EAC9B,gBAAgB,EAAE,kBAAkB,CAAC,GAAG,CAAC,GACxC,gBAAgB,CAelB;;;;;AAED,wBAGE"}
@@ -0,0 +1,23 @@
1
+ import { FlowCoreExpressionError } from '../../errors';
2
+ import { isNil } from '../../utils/type-checks';
3
+ function stateCustomFunction(expr, parentExpression) {
4
+ if (!parentExpression.store) {
5
+ throw new FlowCoreExpressionError(parentExpression.expression, 'evaluationError', ['no state store provided']);
6
+ }
7
+ var path = expr.slice(1).join('.');
8
+ var val = parentExpression.store.get(path);
9
+ if (isNil(val)) {
10
+ return null;
11
+ }
12
+ else if (typeof val === 'object') {
13
+ return ['literal', val];
14
+ }
15
+ else {
16
+ return val;
17
+ }
18
+ }
19
+ export default {
20
+ name: 'state',
21
+ fn: stateCustomFunction
22
+ };
23
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/lib/flow-core-expression/functions/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAIhD,SAAS,mBAAmB,CAC1B,IAA8B,EAC9B,gBAAyC;IAEzC,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE;QAC3B,MAAM,IAAI,uBAAuB,CAAC,gBAAgB,CAAC,UAAU,EAAE,iBAAiB,EAAE,CAAC,yBAAyB,CAAC,CAAC,CAAC;KAChH;IAED,IAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACrC,IAAM,GAAG,GAAG,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAE7C,IAAI,KAAK,CAAC,GAAG,CAAC,EAAE;QACd,OAAO,IAAI,CAAC;KACb;SAAM,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;QAClC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;KACzB;SAAM;QACL,OAAO,GAAU,CAAC;KACnB;AACH,CAAC;AAED,eAAe;IACb,IAAI,EAAE,OAAO;IACb,EAAE,EAAE,mBAAmB;CACxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './flow-core-expression';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/flow-core-expression/index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './flow-core-expression';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-expression/index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=parser-helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parser-helpers.d.ts","sourceRoot":"","sources":["../../../../src/lib/flow-core-expression/parser-helpers.ts"],"names":[],"mappings":""}
@@ -0,0 +1,29 @@
1
+ import { __read } from "tslib";
2
+ import P from 'parsimmon';
3
+ export function PREFIX(operatorsParser, nextParser) {
4
+ var parser = P.lazy(function () {
5
+ return P.seq(operatorsParser, parser).or(nextParser);
6
+ });
7
+ return parser;
8
+ }
9
+ export function BINARY_RIGHT(operatorsParser, nextParser) {
10
+ var parser = P.lazy(function () { return nextParser.chain(function (next) { return P.seq(operatorsParser, P.of(next), parser).or(P.of(next)); }); });
11
+ return parser;
12
+ }
13
+ export function TERNARY_RIGHT(operatorsParser, nextParser) {
14
+ var parser = P.lazy(function () {
15
+ return nextParser.chain(function (next) {
16
+ return P.seqMap(operatorsParser, P.of(next), parser, P.string(':').trim(P.optWhitespace), parser, function (op, cond, val1, _colon, val2) { return [op, ['to-boolean', cond], val1, val2]; }).or(P.of(next));
17
+ });
18
+ });
19
+ return parser;
20
+ }
21
+ export function BINARY_LEFT(operatorsParser, nextParser) {
22
+ return P.seqMap(nextParser, P.seq(operatorsParser, nextParser).many(), function (first, rest) {
23
+ return rest.reduce(function (acc, ch) {
24
+ var _a = __read(ch, 2), op = _a[0], another = _a[1];
25
+ return [op, acc, another];
26
+ }, first);
27
+ });
28
+ }
29
+ //# sourceMappingURL=parser-helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parser-helpers.js","sourceRoot":"","sources":["../../../../src/lib/flow-core-expression/parser-helpers.ts"],"names":[],"mappings":";AAAA,OAAO,CAAC,MAAM,WAAW,CAAC;AAS1B,MAAM,UAAU,MAAM,CAAC,eAA8B,EAAE,UAAyB;IAC9E,IAAM,MAAM,GAAmB,CAAC,CAAC,IAAI,CAAC;QACpC,OAAO,CAAC,CAAC,GAAG,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC;AAqCD,MAAM,UAAU,YAAY,CAAC,eAA8B,EAAE,UAAyB;IACpF,IAAM,MAAM,GAAkB,CAAC,CAAC,IAAI,CAAC,cAAM,OAAA,UAAU,CAAC,KAAK,CAAC,UAAA,IAAI,IAAI,OAAA,CAAC,CAAC,GAAG,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAzD,CAAyD,CAAC,EAAnF,CAAmF,CAAC,CAAC;IAChI,OAAO,MAAM,CAAC;AAChB,CAAC;AAKD,MAAM,UAAU,aAAa,CAAC,eAA8B,EAAE,UAAyB;IACrF,IAAM,MAAM,GAAkB,CAAC,CAAC,IAAI,CAAC;QACnC,OAAA,UAAU,CAAC,KAAK,CAAC,UAAA,IAAI;YACnB,OAAA,CAAC,CAAC,MAAM,CACN,eAAe,EACf,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,EACV,MAAM,EACN,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC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