@igo2/geo 17.0.0-next.6 → 17.0.0-next.7

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 (302) hide show
  1. package/assets/icons/cross_black_18px.svg +88 -88
  2. package/assets/icons/place_blue_36px.svg +55 -55
  3. package/assets/icons/place_green_36px.svg +55 -55
  4. package/assets/icons/place_red_36px.svg +55 -55
  5. package/assets/icons/place_yellow_36px.svg +55 -55
  6. package/esm2022/lib/catalog/catalog-browser/catalog-browser-group.component.mjs +7 -5
  7. package/esm2022/lib/catalog/catalog-browser/catalog-browser-layer.component.mjs +6 -5
  8. package/esm2022/lib/catalog/catalog-browser/catalog-browser.component.mjs +3 -2
  9. package/esm2022/lib/catalog/catalog-library/add-catalog-dialog.component.mjs +4 -4
  10. package/esm2022/lib/catalog/catalog-library/catalog-library-item.component.mjs +5 -5
  11. package/esm2022/lib/catalog/catalog-library/catalog-library.component.mjs +36 -14
  12. package/esm2022/lib/catalog/catalog-library/catalog-library.module.mjs +5 -1
  13. package/esm2022/lib/catalog/catalog-library/index.mjs +2 -7
  14. package/esm2022/lib/catalog/catalog.module.mjs +13 -6
  15. package/esm2022/lib/catalog/index.mjs +2 -7
  16. package/esm2022/lib/catalog/shared/catalog.interface.mjs +1 -1
  17. package/esm2022/lib/catalog/shared/index.mjs +1 -1
  18. package/esm2022/lib/datasource/index.mjs +1 -1
  19. package/esm2022/lib/datasource/shared/datasources/index.mjs +1 -1
  20. package/esm2022/lib/directions/directions-buttons/directions-buttons.component.mjs +4 -4
  21. package/esm2022/lib/directions/directions-buttons/index.mjs +1 -1
  22. package/esm2022/lib/directions/directions-inputs/directions-inputs.component.mjs +4 -4
  23. package/esm2022/lib/directions/directions-inputs/index.mjs +1 -1
  24. package/esm2022/lib/directions/directions-results/directions-results.component.mjs +4 -4
  25. package/esm2022/lib/directions/directions-results/index.mjs +1 -1
  26. package/esm2022/lib/directions/directions-sources/directions-source.interface.mjs +5 -2
  27. package/esm2022/lib/directions/directions-sources/directions-source.mjs +1 -1
  28. package/esm2022/lib/directions/directions-sources/directions-source.provider.mjs +8 -1
  29. package/esm2022/lib/directions/directions-sources/index.mjs +1 -1
  30. package/esm2022/lib/directions/directions-sources/osrm-directions-source.mjs +67 -36
  31. package/esm2022/lib/directions/directions.component.mjs +72 -18
  32. package/esm2022/lib/directions/directions.module.mjs +4 -10
  33. package/esm2022/lib/directions/directions.provider.mjs +16 -0
  34. package/esm2022/lib/directions/index.mjs +2 -1
  35. package/esm2022/lib/directions/shared/directions-source.service.mjs +1 -1
  36. package/esm2022/lib/directions/shared/directions.enum.mjs +1 -1
  37. package/esm2022/lib/directions/shared/directions.service.mjs +11 -19
  38. package/esm2022/lib/directions/shared/directions.utils.mjs +2 -2
  39. package/esm2022/lib/directions/shared/index.mjs +1 -1
  40. package/esm2022/lib/directions/shared/store.mjs +2 -2
  41. package/esm2022/lib/download/download-button/download-button.component.mjs +4 -4
  42. package/esm2022/lib/download/download-button/index.mjs +1 -1
  43. package/esm2022/lib/download/index.mjs +1 -1
  44. package/esm2022/lib/download/shared/download.interface.mjs +1 -1
  45. package/esm2022/lib/download/shared/index.mjs +1 -1
  46. package/esm2022/lib/draw/draw/draw-layer-popup.component.mjs +4 -4
  47. package/esm2022/lib/draw/draw/draw-popup.component.mjs +4 -4
  48. package/esm2022/lib/draw/draw/draw-shorcuts.component.mjs +5 -5
  49. package/esm2022/lib/draw/draw/draw.component.mjs +5 -5
  50. package/esm2022/lib/draw/index.mjs +1 -1
  51. package/esm2022/lib/environment/environment.interface.mjs +1 -1
  52. package/esm2022/lib/feature/feature-details/feature-details.component.mjs +6 -5
  53. package/esm2022/lib/feature/feature-details/feature-details.module.mjs +10 -4
  54. package/esm2022/lib/feature/feature-details/index.mjs +2 -7
  55. package/esm2022/lib/feature/feature-form/feature-form.component.mjs +3 -3
  56. package/esm2022/lib/feature/feature.module.mjs +13 -6
  57. package/esm2022/lib/feature/index.mjs +2 -7
  58. package/esm2022/lib/feature/shared/feature.enums.mjs +1 -1
  59. package/esm2022/lib/feature/shared/feature.interfaces.mjs +1 -1
  60. package/esm2022/lib/feature/shared/feature.utils.mjs +2 -2
  61. package/esm2022/lib/feature/shared/store.mjs +2 -2
  62. package/esm2022/lib/feature/shared/strategies/geo-properties.mjs +2 -2
  63. package/esm2022/lib/feature/shared/strategies/in-map-extent.mjs +2 -2
  64. package/esm2022/lib/feature/shared/strategies/in-map-resolution.mjs +2 -2
  65. package/esm2022/lib/feature/shared/strategies/loading-layer.mjs +2 -2
  66. package/esm2022/lib/feature/shared/strategies/loading.mjs +2 -2
  67. package/esm2022/lib/feature/shared/strategies/search.mjs +2 -2
  68. package/esm2022/lib/feature/shared/strategies/selection.mjs +2 -2
  69. package/esm2022/lib/filter/filter.module.mjs +4 -4
  70. package/esm2022/lib/filter/index.mjs +2 -36
  71. package/esm2022/lib/filter/ogc-filter-button/ogc-filter-button.component.mjs +5 -5
  72. package/esm2022/lib/filter/ogc-filter-form/ogc-filter-form.component.mjs +4 -4
  73. package/esm2022/lib/filter/ogc-filter-selection/ogc-filter-selection.component.mjs +6 -6
  74. package/esm2022/lib/filter/ogc-filter-time/ogc-filter-time.component.mjs +18 -20
  75. package/esm2022/lib/filter/ogc-filterable-form/ogc-filterable-form.component.mjs +2 -2
  76. package/esm2022/lib/filter/ogc-filterable-item/ogc-filterable-item.component.mjs +5 -5
  77. package/esm2022/lib/filter/ogc-filterable-list/ogc-filterable-list.component.mjs +5 -5
  78. package/esm2022/lib/filter/shared/ogc-filter.interface.mjs +1 -1
  79. package/esm2022/lib/filter/shared/ogc-filter.mjs +46 -3
  80. package/esm2022/lib/filter/spatial-filter/spatial-filter-item/spatial-filter-item.component.mjs +5 -5
  81. package/esm2022/lib/filter/spatial-filter/spatial-filter-list/spatial-filter-list.component.mjs +5 -5
  82. package/esm2022/lib/filter/spatial-filter/spatial-filter-type/spatial-filter-type.component.mjs +5 -5
  83. package/esm2022/lib/filter/time-filter-button/time-filter-button.component.mjs +5 -5
  84. package/esm2022/lib/filter/time-filter-form/time-filter-form.component.mjs +4 -4
  85. package/esm2022/lib/filter/time-filter-item/time-filter-item.component.mjs +5 -5
  86. package/esm2022/lib/filter/time-filter-list/time-filter-list.component.mjs +2 -2
  87. package/esm2022/lib/geometry/geometry-form-field/geometry-form-field.component.mjs +5 -5
  88. package/esm2022/lib/geometry/geometry-form-field/geometry-form-field.module.mjs +5 -1
  89. package/esm2022/lib/geometry/geometry-form-field/index.mjs +3 -8
  90. package/esm2022/lib/geometry/shared/controls/index.mjs +1 -1
  91. package/esm2022/lib/geometry/shared/geometry.interfaces.mjs +1 -1
  92. package/esm2022/lib/geometry/shared/index.mjs +1 -1
  93. package/esm2022/lib/import-export/export-button/export-button.component.mjs +4 -4
  94. package/esm2022/lib/import-export/export-button/index.mjs +1 -1
  95. package/esm2022/lib/import-export/import-export/import-export.component.mjs +8 -6
  96. package/esm2022/lib/import-export/import-export/index.mjs +1 -1
  97. package/esm2022/lib/import-export/import-export.module.mjs +6 -1
  98. package/esm2022/lib/import-export/index.mjs +2 -9
  99. package/esm2022/lib/import-export/shared/drop-geo-file.directive.mjs +4 -3
  100. package/esm2022/lib/import-export/shared/export.errors.mjs +1 -1
  101. package/esm2022/lib/import-export/shared/export.service.mjs +8 -2
  102. package/esm2022/lib/import-export/shared/export.utils.mjs +2 -2
  103. package/esm2022/lib/import-export/shared/import.utils.mjs +1 -1
  104. package/esm2022/lib/import-export/shared/index.mjs +1 -1
  105. package/esm2022/lib/layer/index.mjs +2 -19
  106. package/esm2022/lib/layer/layer-item/layer-item.component.mjs +4 -4
  107. package/esm2022/lib/layer/layer-legend/layer-legend.component.mjs +7 -5
  108. package/esm2022/lib/layer/layer-legend-list/layer-legend-list.component.mjs +5 -5
  109. package/esm2022/lib/layer/layer-list/layer-list.component.mjs +26 -20
  110. package/esm2022/lib/layer/layer-list-tool/layer-list-tool.component.mjs +5 -5
  111. package/esm2022/lib/layer/layer.module.mjs +12 -1
  112. package/esm2022/lib/layer/shared/layers/index.mjs +1 -1
  113. package/esm2022/lib/layer/track-feature-button/track-feature-button.component.mjs +4 -4
  114. package/esm2022/lib/map/baselayers-switcher/baselayers-switcher.component.mjs +4 -4
  115. package/esm2022/lib/map/geolocate-button/geolocate-button.component.mjs +4 -4
  116. package/esm2022/lib/map/home-extent-button/home-extent-button.component.mjs +4 -4
  117. package/esm2022/lib/map/index.mjs +1 -32
  118. package/esm2022/lib/map/map.module.mjs +34 -34
  119. package/esm2022/lib/map/menu-button/menu-button.component.mjs +4 -4
  120. package/esm2022/lib/map/offline-button/offline-button.component.mjs +4 -4
  121. package/esm2022/lib/map/rotation-button/rotation-button.component.mjs +4 -4
  122. package/esm2022/lib/map/shared/hover-feature.directive.mjs +2 -2
  123. package/esm2022/lib/map/wake-lock-button/wake-lock-button.component.mjs +4 -4
  124. package/esm2022/lib/map/zoom-button/zoom-button.component.mjs +4 -4
  125. package/esm2022/lib/measure/measurer/measurer-dialog.component.mjs +4 -4
  126. package/esm2022/lib/measure/measurer/measurer-item.component.mjs +4 -4
  127. package/esm2022/lib/measure/measurer/measurer.component.mjs +5 -5
  128. package/esm2022/lib/measure/shared/index.mjs +1 -1
  129. package/esm2022/lib/metadata/index.mjs +2 -6
  130. package/esm2022/lib/metadata/metadata-button/index.mjs +1 -1
  131. package/esm2022/lib/metadata/metadata-button/metadata-button.component.mjs +6 -6
  132. package/esm2022/lib/metadata/metadata.module.mjs +5 -1
  133. package/esm2022/lib/metadata/shared/index.mjs +1 -1
  134. package/esm2022/lib/metadata/shared/metadata.service.mjs +1 -1
  135. package/esm2022/lib/offline/geoDB/index.mjs +1 -1
  136. package/esm2022/lib/offline/shared/index.mjs +1 -1
  137. package/esm2022/lib/overlay/index.mjs +1 -1
  138. package/esm2022/lib/print/index.mjs +1 -1
  139. package/esm2022/lib/print/print-form/index.mjs +1 -1
  140. package/esm2022/lib/print/print-form/print-form.component.mjs +4 -4
  141. package/esm2022/lib/print/shared/index.mjs +1 -1
  142. package/esm2022/lib/print/shared/print.service.mjs +85 -76
  143. package/esm2022/lib/query/index.mjs +1 -1
  144. package/esm2022/lib/query/shared/index.mjs +2 -1
  145. package/esm2022/lib/query/shared/query.enums.mjs +1 -1
  146. package/esm2022/lib/search/index.mjs +2 -13
  147. package/esm2022/lib/search/search-bar/search-bar.component.mjs +9 -6
  148. package/esm2022/lib/search/search-results/index.mjs +2 -7
  149. package/esm2022/lib/search/search-results/save-feature-dialog.component.mjs +5 -5
  150. package/esm2022/lib/search/search-results/search-results-add-button.component.mjs +7 -5
  151. package/esm2022/lib/search/search-results/search-results-item.component.mjs +3 -2
  152. package/esm2022/lib/search/search-results/search-results.component.mjs +7 -5
  153. package/esm2022/lib/search/search-results/search-results.directive.mjs +7 -0
  154. package/esm2022/lib/search/search-selector/search-selector.component.mjs +4 -4
  155. package/esm2022/lib/search/search-settings/search-settings.component.mjs +4 -4
  156. package/esm2022/lib/search/search.module.mjs +15 -1
  157. package/esm2022/lib/search/shared/index.mjs +2 -1
  158. package/esm2022/lib/search/shared/search-pointer-summary.directive.mjs +2 -2
  159. package/esm2022/lib/search/shared/search-source.service.mjs +1 -1
  160. package/esm2022/lib/search/shared/search.interfaces.mjs +1 -1
  161. package/esm2022/lib/search/shared/search.provider.mjs +20 -0
  162. package/esm2022/lib/search/shared/search.service.mjs +29 -10
  163. package/esm2022/lib/search/shared/sources/cadastre.providers.mjs +8 -1
  164. package/esm2022/lib/search/shared/sources/coordinates.providers.mjs +11 -1
  165. package/esm2022/lib/search/shared/sources/icherche-icons.mjs +2 -2
  166. package/esm2022/lib/search/shared/sources/icherche.mjs +2 -2
  167. package/esm2022/lib/search/shared/sources/icherche.providers.mjs +20 -1
  168. package/esm2022/lib/search/shared/sources/ilayer.providers.mjs +11 -1
  169. package/esm2022/lib/search/shared/sources/nominatim.interfaces.mjs +1 -1
  170. package/esm2022/lib/search/shared/sources/nominatim.providers.mjs +8 -1
  171. package/esm2022/lib/search/shared/sources/source.interfaces.mjs +13 -2
  172. package/esm2022/lib/search/shared/sources/source.mjs +1 -1
  173. package/esm2022/lib/search/shared/sources/storedqueries.providers.mjs +14 -1
  174. package/esm2022/lib/search/shared/sources/workspace.providers.mjs +8 -1
  175. package/esm2022/lib/style/shared/feature/feature-style.mjs +3 -2
  176. package/esm2022/lib/style/style-modal/drawing/style-modal-drawing.component.mjs +5 -5
  177. package/esm2022/lib/style/style-modal/layer/style-modal-layer.component.mjs +5 -5
  178. package/esm2022/lib/style/style-modal/layer-button/style-modal-layer-button.component.mjs +4 -4
  179. package/esm2022/lib/toast/index.mjs +1 -1
  180. package/esm2022/lib/toast/toast.component.mjs +4 -2
  181. package/esm2022/lib/wkt/index.mjs +1 -1
  182. package/esm2022/lib/wkt/shared/index.mjs +1 -1
  183. package/esm2022/lib/workspace/index.mjs +1 -1
  184. package/esm2022/lib/workspace/shared/edition-workspace.mjs +2 -2
  185. package/esm2022/lib/workspace/shared/edition-workspace.service.mjs +3 -2
  186. package/esm2022/lib/workspace/shared/feature-workspace.mjs +2 -2
  187. package/esm2022/lib/workspace/shared/feature-workspace.service.mjs +3 -2
  188. package/esm2022/lib/workspace/shared/index.mjs +1 -1
  189. package/esm2022/lib/workspace/shared/wfs-workspace.mjs +2 -2
  190. package/esm2022/lib/workspace/shared/wfs-workspace.service.mjs +3 -2
  191. package/esm2022/lib/workspace/shared/wms-workspace.service.mjs +3 -2
  192. package/esm2022/lib/workspace/shared/workspace.utils.mjs +2 -2
  193. package/esm2022/lib/workspace/widgets/index.mjs +1 -1
  194. package/esm2022/lib/workspace/widgets/ogc-filter/ogc-filter.component.mjs +1 -1
  195. package/esm2022/lib/workspace/widgets/widgets.mjs +2 -2
  196. package/esm2022/lib/workspace/workspace-selector/workspace-selector.directive.mjs +3 -3
  197. package/esm2022/lib/workspace/workspace-updator/workspace-updator.directive.mjs +1 -1
  198. package/esm2022/lib/workspace/workspace.module.mjs +2 -2
  199. package/fesm2022/igo2-geo.mjs +30361 -30092
  200. package/fesm2022/igo2-geo.mjs.map +1 -1
  201. package/lib/catalog/catalog-browser/catalog-browser-group.component.d.ts +2 -2
  202. package/lib/catalog/catalog-browser/catalog-browser.component.d.ts +1 -1
  203. package/lib/catalog/catalog-library/add-catalog-dialog.component.d.ts +1 -1
  204. package/lib/catalog/catalog-library/catalog-library.component.d.ts +7 -2
  205. package/lib/catalog/catalog-library/catalog-library.module.d.ts +3 -0
  206. package/lib/catalog/catalog-library/index.d.ts +1 -3
  207. package/lib/catalog/catalog.module.d.ts +6 -3
  208. package/lib/catalog/index.d.ts +1 -2
  209. package/lib/catalog/shared/catalog.interface.d.ts +1 -1
  210. package/lib/directions/directions-sources/directions-source.d.ts +7 -3
  211. package/lib/directions/directions-sources/directions-source.interface.d.ts +19 -6
  212. package/lib/directions/directions-sources/directions-source.provider.d.ts +2 -0
  213. package/lib/directions/directions-sources/osrm-directions-source.d.ts +19 -10
  214. package/lib/directions/directions.component.d.ts +15 -3
  215. package/lib/directions/directions.module.d.ts +5 -6
  216. package/lib/directions/directions.provider.d.ts +3 -0
  217. package/lib/directions/index.d.ts +1 -0
  218. package/lib/directions/shared/directions.service.d.ts +3 -2
  219. package/lib/directions/shared/directions.utils.d.ts +1 -1
  220. package/lib/directions/shared/store.d.ts +1 -1
  221. package/lib/draw/draw/draw-shorcuts.component.d.ts +1 -1
  222. package/lib/draw/draw/draw.component.d.ts +1 -1
  223. package/lib/environment/environment.interface.d.ts +2 -1
  224. package/lib/feature/feature-details/feature-details.component.d.ts +1 -1
  225. package/lib/feature/feature-details/feature-details.module.d.ts +3 -0
  226. package/lib/feature/feature-details/index.d.ts +1 -3
  227. package/lib/feature/feature-form/feature-form.component.d.ts +1 -2
  228. package/lib/feature/feature.module.d.ts +6 -3
  229. package/lib/feature/index.d.ts +1 -2
  230. package/lib/feature/shared/feature.interfaces.d.ts +1 -1
  231. package/lib/feature/shared/feature.utils.d.ts +1 -1
  232. package/lib/feature/shared/store.d.ts +1 -1
  233. package/lib/feature/shared/strategies/geo-properties.d.ts +1 -1
  234. package/lib/feature/shared/strategies/in-map-extent.d.ts +1 -1
  235. package/lib/feature/shared/strategies/in-map-resolution.d.ts +1 -1
  236. package/lib/feature/shared/strategies/loading-layer.d.ts +1 -1
  237. package/lib/feature/shared/strategies/loading.d.ts +1 -1
  238. package/lib/feature/shared/strategies/search.d.ts +1 -1
  239. package/lib/feature/shared/strategies/selection.d.ts +1 -1
  240. package/lib/filter/filter.module.d.ts +19 -0
  241. package/lib/filter/index.d.ts +1 -16
  242. package/lib/filter/ogc-filter-selection/ogc-filter-selection.component.d.ts +1 -1
  243. package/lib/filter/ogc-filter-time/ogc-filter-time.component.d.ts +3 -3
  244. package/lib/filter/shared/ogc-filter.d.ts +7 -0
  245. package/lib/filter/shared/ogc-filter.interface.d.ts +1 -1
  246. package/lib/filter/spatial-filter/spatial-filter-item/spatial-filter-item.component.d.ts +1 -1
  247. package/lib/filter/spatial-filter/spatial-filter-list/spatial-filter-list.component.d.ts +1 -1
  248. package/lib/filter/spatial-filter/spatial-filter-type/spatial-filter-type.component.d.ts +1 -1
  249. package/lib/geometry/geometry-form-field/geometry-form-field.module.d.ts +3 -0
  250. package/lib/geometry/geometry-form-field/index.d.ts +2 -4
  251. package/lib/geometry/shared/geometry.interfaces.d.ts +1 -1
  252. package/lib/import-export/import-export/import-export.component.d.ts +2 -2
  253. package/lib/import-export/import-export.module.d.ts +4 -0
  254. package/lib/import-export/index.d.ts +1 -4
  255. package/lib/import-export/shared/drop-geo-file.directive.d.ts +2 -1
  256. package/lib/import-export/shared/export.utils.d.ts +1 -1
  257. package/lib/import-export/shared/import.utils.d.ts +1 -1
  258. package/lib/layer/index.d.ts +1 -8
  259. package/lib/layer/layer-list/layer-list.component.d.ts +4 -3
  260. package/lib/layer/layer.module.d.ts +10 -0
  261. package/lib/map/index.d.ts +0 -14
  262. package/lib/map/map.module.d.ts +32 -15
  263. package/lib/measure/measurer/measurer.component.d.ts +1 -1
  264. package/lib/metadata/index.d.ts +1 -2
  265. package/lib/metadata/metadata.module.d.ts +2 -0
  266. package/lib/print/shared/print.service.d.ts +11 -7
  267. package/lib/query/shared/index.d.ts +1 -0
  268. package/lib/search/index.d.ts +1 -5
  269. package/lib/search/search-bar/search-bar.component.d.ts +2 -1
  270. package/lib/search/search-results/index.d.ts +1 -3
  271. package/lib/search/search-results/search-results-add-button.component.d.ts +1 -1
  272. package/lib/search/search-results/search-results.component.d.ts +1 -1
  273. package/lib/search/search-results/search-results.directive.d.ts +3 -0
  274. package/lib/search/search.module.d.ts +8 -0
  275. package/lib/search/shared/index.d.ts +1 -0
  276. package/lib/search/shared/search-source.service.d.ts +1 -1
  277. package/lib/search/shared/search.interfaces.d.ts +1 -1
  278. package/lib/search/shared/search.provider.d.ts +8 -0
  279. package/lib/search/shared/search.service.d.ts +7 -2
  280. package/lib/search/shared/sources/cadastre.providers.d.ts +2 -0
  281. package/lib/search/shared/sources/coordinates.providers.d.ts +2 -0
  282. package/lib/search/shared/sources/icherche-icons.d.ts +1 -1
  283. package/lib/search/shared/sources/icherche.providers.d.ts +6 -12
  284. package/lib/search/shared/sources/ilayer.providers.d.ts +2 -0
  285. package/lib/search/shared/sources/nominatim.providers.d.ts +2 -0
  286. package/lib/search/shared/sources/source.d.ts +1 -1
  287. package/lib/search/shared/sources/source.interfaces.d.ts +16 -0
  288. package/lib/search/shared/sources/storedqueries.providers.d.ts +3 -0
  289. package/lib/search/shared/sources/workspace.providers.d.ts +2 -0
  290. package/lib/toast/toast.component.d.ts +1 -1
  291. package/lib/workspace/shared/edition-workspace.d.ts +1 -1
  292. package/lib/workspace/shared/feature-workspace.d.ts +1 -1
  293. package/lib/workspace/shared/wfs-workspace.d.ts +1 -1
  294. package/lib/workspace/shared/workspace.utils.d.ts +2 -1
  295. package/lib/workspace/widgets/ogc-filter/ogc-filter.component.d.ts +2 -1
  296. package/lib/workspace/widgets/widgets.d.ts +1 -1
  297. package/lib/workspace/workspace-selector/workspace-selector.directive.d.ts +1 -1
  298. package/lib/workspace/workspace-updator/workspace-updator.directive.d.ts +1 -1
  299. package/lib/workspace/workspace.module.d.ts +1 -1
  300. package/locale/en.geo.json +6 -1
  301. package/locale/fr.geo.json +6 -1
  302. package/package.json +5 -5
@@ -40,6 +40,7 @@ export declare class OgcFilterTimeComponent implements OnInit {
40
40
  beginDatepickerTime: ElementRef;
41
41
  beginTime: HTMLInputElement;
42
42
  endTime: HTMLInputElement;
43
+ private filterOriginConfig;
43
44
  get step(): string;
44
45
  get stepMilliseconds(): number;
45
46
  set beginValue(begin: Date);
@@ -54,9 +55,9 @@ export declare class OgcFilterTimeComponent implements OnInit {
54
55
  constructor(ogcFilterTimeService: OGCFilterTimeService);
55
56
  ngOnInit(): void;
56
57
  parseFilter(filter: any): Date;
57
- changeTemporalProperty(value: any, position?: any, refreshFilter?: boolean): void;
58
+ changeTemporalProperty(value: string | Date, position?: any, refreshFilter?: boolean): void;
58
59
  handleDate(value: any): Date;
59
- calendarType(): "date" | "datetime" | "year";
60
+ calendarType(): "year" | "date" | "datetime";
60
61
  isCalendarYearMode(): boolean;
61
62
  yearOnlyInputChange(changeEvent: any, datePicker?: any, property?: string): void;
62
63
  yearSelected(year: any, datePicker?: any, property?: string, refreshFilter?: boolean): void;
@@ -81,7 +82,6 @@ export declare class OgcFilterTimeComponent implements OnInit {
81
82
  getDateFromStringWithoutTime(stringDate: string): Date;
82
83
  resetFilter(): void;
83
84
  toggleFilterState(): void;
84
- private isValidDate;
85
85
  static ɵfac: i0.ɵɵFactoryDeclaration<OgcFilterTimeComponent, never>;
86
86
  static ɵcmp: i0.ɵɵComponentDeclaration<OgcFilterTimeComponent, "igo-ogc-filter-time", never, { "datasource": { "alias": "datasource"; "required": false; }; "currentFilter": { "alias": "currentFilter"; "required": false; }; }, { "changeProperty": "changeProperty"; }, never, never, true, never>;
87
87
  }
@@ -27,4 +27,11 @@ export declare class OgcFilterWriter {
27
27
  formatGroupAndFilter(ogcFilters: OgcFiltersOptions, selectors: any): any[];
28
28
  formatProcessedOgcFilter(processedFilter: string, layersOrTypenames: string): string;
29
29
  parseFilterOptionDate(value: string, defaultValue?: string): string;
30
+ /**
31
+ * this function to parse date with specific format
32
+ * exemple 'today + 1 days' or 'now + 1 years'
33
+ * @param value string date
34
+ * @returns date
35
+ */
36
+ private parseDateOperation;
30
37
  }
@@ -1,4 +1,4 @@
1
- import { DOMValue } from '@igo2/common';
1
+ import { DOMValue } from '@igo2/common/dom';
2
2
  import olFormatFilter from 'ol/format/filter/Filter';
3
3
  import olGeometry from 'ol/geom/Geometry';
4
4
  import olSource from 'ol/source/Source';
@@ -3,7 +3,7 @@ import { NestedTreeControl } from '@angular/cdk/tree';
3
3
  import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
4
4
  import { UntypedFormControl } from '@angular/forms';
5
5
  import { MatTreeNestedDataSource } from '@angular/material/tree';
6
- import { EntityStore, EntityTableTemplate } from '@igo2/common';
6
+ import { EntityStore, EntityTableTemplate } from '@igo2/common/entity';
7
7
  import { LanguageService } from '@igo2/core/language';
8
8
  import { MessageService } from '@igo2/core/message';
9
9
  import * as olStyle from 'ol/style';
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { UntypedFormControl } from '@angular/forms';
3
- import { EntityStore } from '@igo2/common';
3
+ import { EntityStore } from '@igo2/common/entity';
4
4
  import { MessageService } from '@igo2/core/message';
5
5
  import { Subscription } from 'rxjs';
6
6
  import { Feature } from '../../../feature';
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { UntypedFormControl } from '@angular/forms';
3
- import { EntityStore } from '@igo2/common';
3
+ import { EntityStore } from '@igo2/common/entity';
4
4
  import { Feature } from '../../../feature';
5
5
  import { Layer } from '../../../layer';
6
6
  import { MeasureLengthUnit } from '../../../measure';
@@ -1,6 +1,9 @@
1
+ import { GeometryFormFieldInputComponent } from './geometry-form-field-input.component';
2
+ import { GeometryFormFieldComponent } from './geometry-form-field.component';
1
3
  import * as i0 from "@angular/core";
2
4
  import * as i1 from "./geometry-form-field.component";
3
5
  import * as i2 from "./geometry-form-field-input.component";
6
+ export declare const GEOMETRY_FORM_FIELD_DIRECTIVES: readonly [typeof GeometryFormFieldComponent, typeof GeometryFormFieldInputComponent];
4
7
  /**
5
8
  * @deprecated import the components directly or the GEOMETRY_FORM_FIELD_DIRECTIVES for the set
6
9
  */
@@ -1,5 +1,3 @@
1
- import { GeometryFormFieldInputComponent } from './geometry-form-field-input.component';
2
- import { GeometryFormFieldComponent } from './geometry-form-field.component';
3
- export * from './geometry-form-field-input.component';
1
+ export * from './geometry-form-field.module';
4
2
  export * from './geometry-form-field.component';
5
- export declare const GEOMETRY_FORM_FIELD_DIRECTIVES: readonly [typeof GeometryFormFieldComponent, typeof GeometryFormFieldInputComponent];
3
+ export * from './geometry-form-field-input.component';
@@ -1,4 +1,4 @@
1
- import { FormFieldInputs } from '@igo2/common';
1
+ import { FormFieldInputs } from '@igo2/common/form';
2
2
  import type { Type } from 'ol/geom/Geometry';
3
3
  import { GeoJsonGeometryTypes } from 'geojson';
4
4
  import { IgoMap } from '../../map/shared/map';
@@ -1,8 +1,8 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
3
  import { MatSlideToggleChange } from '@angular/material/slide-toggle';
4
- import { ConfirmDialogService } from '@igo2/common';
5
- import type { WorkspaceStore } from '@igo2/common';
4
+ import { ConfirmDialogService } from '@igo2/common/confirm-dialog';
5
+ import type { WorkspaceStore } from '@igo2/common/workspace';
6
6
  import { ConfigService } from '@igo2/core/config';
7
7
  import { LanguageService } from '@igo2/core/language';
8
8
  import { MessageService } from '@igo2/core/message';
@@ -1,8 +1,12 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
+ import { ExportButtonComponent } from './export-button/export-button.component';
3
+ import { ImportExportComponent } from './import-export/import-export.component';
4
+ import { DropGeoFileDirective } from './shared/drop-geo-file.directive';
2
5
  import * as i0 from "@angular/core";
3
6
  import * as i1 from "./import-export/import-export.component";
4
7
  import * as i2 from "./shared/drop-geo-file.directive";
5
8
  import * as i3 from "./export-button/export-button.component";
9
+ export declare const IMPORT_EXPORT_DIRECTIVES: readonly [typeof ImportExportComponent, typeof DropGeoFileDirective, typeof ExportButtonComponent];
6
10
  /**
7
11
  * @deprecated import the components directly or IMPORT_EXPORT_DIRECTIVES for the set
8
12
  */
@@ -1,7 +1,4 @@
1
- import { ExportButtonComponent } from './export-button';
2
- import { ImportExportComponent } from './import-export';
3
- import { DropGeoFileDirective } from './shared';
4
1
  export * from './shared';
2
+ export * from './import-export.module';
5
3
  export * from './import-export';
6
4
  export * from './export-button';
7
- export declare const IMPORT_EXPORT_DIRECTIVES: readonly [typeof ImportExportComponent, typeof DropGeoFileDirective, typeof ExportButtonComponent];
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import { ConfirmDialogService, DragAndDropDirective } from '@igo2/common';
2
+ import { ConfirmDialogService } from '@igo2/common/confirm-dialog';
3
+ import { DragAndDropDirective } from '@igo2/common/drag-drop';
3
4
  import { ConfigService } from '@igo2/core/config';
4
5
  import { MessageService } from '@igo2/core/message';
5
6
  import { LayerService } from '../../layer/shared/layer.service';
@@ -1,4 +1,4 @@
1
- import { EntityTableColumn } from '@igo2/common';
1
+ import { EntityTableColumn } from '@igo2/common/entity';
2
2
  import { MessageService } from '@igo2/core/message';
3
3
  export declare function handleFileExportError(error: Error, messageService: MessageService): void;
4
4
  export declare function handleFileExportSuccess(messageService: MessageService): void;
@@ -1,4 +1,4 @@
1
- import { ConfirmDialogService } from '@igo2/common';
1
+ import { ConfirmDialogService } from '@igo2/common/confirm-dialog';
2
2
  import { MessageService } from '@igo2/core/message';
3
3
  import { Feature } from '../../feature/shared/feature.interfaces';
4
4
  import { LayerService } from '../../layer/shared/layer.service';
@@ -1,11 +1,5 @@
1
- import { LayerItemComponent } from './layer-item';
2
- import { LayerLegendComponent } from './layer-legend';
3
- import { LayerLegendItemComponent } from './layer-legend-item';
4
- import { LayerLegendListBindingDirective, LayerLegendListComponent } from './layer-legend-list';
5
- import { LayerListBindingDirective, LayerListComponent } from './layer-list';
6
- import { LayerListToolComponent } from './layer-list-tool';
7
- import { TrackFeatureButtonComponent } from './track-feature-button';
8
1
  export * from './shared';
2
+ export * from './layer.module';
9
3
  export * from './layer-item';
10
4
  export * from './layer-legend';
11
5
  export * from './layer-legend-item';
@@ -14,4 +8,3 @@ export * from './layer-list';
14
8
  export * from './layer-list-tool';
15
9
  export * from './track-feature-button';
16
10
  export * from './utils';
17
- export declare const LAYER_DIRECTIVES: readonly [typeof LayerItemComponent, typeof LayerLegendItemComponent, typeof LayerLegendComponent, typeof LayerListComponent, typeof LayerListToolComponent, typeof LayerLegendListComponent, typeof LayerListBindingDirective, typeof LayerLegendListBindingDirective, typeof TrackFeatureButtonComponent];
@@ -2,7 +2,7 @@ import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import type { TemplateRef } from '@angular/core';
3
3
  import { FloatLabelType } from '@angular/material/form-field';
4
4
  import { MatSliderChange } from '@angular/material/slider';
5
- import { IconSvg } from '@igo2/common';
5
+ import { IconService, IconSvg } from '@igo2/common/icon';
6
6
  import { BehaviorSubject, ReplaySubject } from 'rxjs';
7
7
  import { IgoMap } from '../../map/shared/map';
8
8
  import { LayerListControlsOptions } from '../layer-list-tool/layer-list-tool.interface';
@@ -12,6 +12,7 @@ import { LayerListSelectVisibleEnum } from './layer-list.enum';
12
12
  import * as i0 from "@angular/core";
13
13
  export declare class LayerListComponent implements OnInit, OnDestroy {
14
14
  private elRef;
15
+ private iconService;
15
16
  orderable: boolean;
16
17
  thresholdToFilterAndSort: number;
17
18
  layers$: BehaviorSubject<Layer[]>;
@@ -69,8 +70,8 @@ export declare class LayerListComponent implements OnInit, OnDestroy {
69
70
  selectAllCheck: boolean;
70
71
  selectAllCheck$: BehaviorSubject<boolean>;
71
72
  private selectAllCheck$$;
72
- svgIcon: IconSvg;
73
- constructor(elRef: ElementRef);
73
+ magnifyIcon: IconSvg;
74
+ constructor(elRef: ElementRef, iconService: IconService);
74
75
  /**
75
76
  * Subscribe to the search term stream and trigger researches
76
77
  * @internal
@@ -1,4 +1,13 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
+ import { LayerItemComponent } from './layer-item/layer-item.component';
3
+ import { LayerLegendItemComponent } from './layer-legend-item/layer-legend-item.component';
4
+ import { LayerLegendListBindingDirective } from './layer-legend-list/layer-legend-list-binding.directive';
5
+ import { LayerLegendListComponent } from './layer-legend-list/layer-legend-list.component';
6
+ import { LayerLegendComponent } from './layer-legend/layer-legend.component';
7
+ import { LayerListToolComponent } from './layer-list-tool/layer-list-tool.component';
8
+ import { LayerListBindingDirective } from './layer-list/layer-list-binding.directive';
9
+ import { LayerListComponent } from './layer-list/layer-list.component';
10
+ import { TrackFeatureButtonComponent } from './track-feature-button/track-feature-button.component';
2
11
  import * as i0 from "@angular/core";
3
12
  import * as i1 from "./layer-item/layer-item.component";
4
13
  import * as i2 from "./layer-legend-item/layer-legend-item.component";
@@ -9,6 +18,7 @@ import * as i6 from "./layer-legend-list/layer-legend-list.component";
9
18
  import * as i7 from "./layer-list/layer-list-binding.directive";
10
19
  import * as i8 from "./layer-legend-list/layer-legend-list-binding.directive";
11
20
  import * as i9 from "./track-feature-button/track-feature-button.component";
21
+ export declare const LAYER_DIRECTIVES: readonly [typeof LayerItemComponent, typeof LayerLegendItemComponent, typeof LayerLegendComponent, typeof LayerListComponent, typeof LayerListToolComponent, typeof LayerLegendListComponent, typeof LayerListBindingDirective, typeof LayerLegendListBindingDirective, typeof TrackFeatureButtonComponent];
12
22
  /**
13
23
  * @deprecated import the components/directives directly or LAYER_DIRECTIVES for the set
14
24
  */
@@ -1,16 +1,3 @@
1
- import { BaseLayersSwitcherComponent, MiniBaseMapComponent } from './baselayers-switcher';
2
- import { GeolocateButtonComponent } from './geolocate-button';
3
- import { HomeExtentButtonComponent } from './home-extent-button';
4
- import { InfoSectionComponent } from './info-section';
5
- import { MapBrowserComponent } from './map-browser';
6
- import { MapCenterComponent } from './map-center';
7
- import { MenuButtonComponent } from './menu-button';
8
- import { OfflineButtonComponent } from './offline-button';
9
- import { RotationButtonComponent } from './rotation-button';
10
- import { HoverFeatureDirective, MapOfflineDirective, PointerPositionDirective } from './shared';
11
- import { SwipeControlComponent } from './swipe-control';
12
- import { WakeLockButtonComponent } from './wake-lock-button';
13
- import { ZoomButtonComponent } from './zoom-button';
14
1
  export * from './shared';
15
2
  export * from './map-browser';
16
3
  export * from './zoom-button';
@@ -24,4 +11,3 @@ export * from './rotation-button';
24
11
  export * from './swipe-control';
25
12
  export * from './map-center';
26
13
  export * from './info-section';
27
- export declare const MAP_DIRECTIVES: readonly [typeof BaseLayersSwitcherComponent, typeof GeolocateButtonComponent, typeof HomeExtentButtonComponent, typeof HoverFeatureDirective, typeof InfoSectionComponent, typeof MapBrowserComponent, typeof MapCenterComponent, typeof MapOfflineDirective, typeof MenuButtonComponent, typeof MiniBaseMapComponent, typeof OfflineButtonComponent, typeof PointerPositionDirective, typeof RotationButtonComponent, typeof SwipeControlComponent, typeof WakeLockButtonComponent, typeof ZoomButtonComponent];
@@ -1,25 +1,42 @@
1
+ import { BaseLayersSwitcherComponent } from './baselayers-switcher/baselayers-switcher.component';
2
+ import { MiniBaseMapComponent } from './baselayers-switcher/mini-basemap.component';
3
+ import { GeolocateButtonComponent } from './geolocate-button/geolocate-button.component';
4
+ import { HomeExtentButtonComponent } from './home-extent-button/home-extent-button.component';
5
+ import { InfoSectionComponent } from './info-section/info-section.component';
6
+ import { MapBrowserComponent } from './map-browser/map-browser.component';
7
+ import { MapCenterComponent } from './map-center/map-center.component';
8
+ import { MenuButtonComponent } from './menu-button/menu-button.component';
9
+ import { OfflineButtonComponent } from './offline-button/offline-button.component';
10
+ import { RotationButtonComponent } from './rotation-button/rotation-button.component';
11
+ import { HoverFeatureDirective } from './shared/hover-feature.directive';
12
+ import { PointerPositionDirective } from './shared/map-pointer-position.directive';
13
+ import { MapOfflineDirective } from './shared/mapOffline.directive';
14
+ import { SwipeControlComponent } from './swipe-control/swipe-control.component';
15
+ import { WakeLockButtonComponent } from './wake-lock-button/wake-lock-button.component';
16
+ import { ZoomButtonComponent } from './zoom-button/zoom-button.component';
1
17
  import * as i0 from "@angular/core";
2
- import * as i1 from "./map-browser/map-browser.component";
3
- import * as i2 from "./zoom-button/zoom-button.component";
4
- import * as i3 from "./geolocate-button/geolocate-button.component";
5
- import * as i4 from "./home-extent-button/home-extent-button.component";
6
- import * as i5 from "./rotation-button/rotation-button.component";
7
- import * as i6 from "./info-section/info-section.component";
8
- import * as i7 from "./baselayers-switcher/baselayers-switcher.component";
9
- import * as i8 from "./baselayers-switcher/mini-basemap.component";
10
- import * as i9 from "./shared/mapOffline.directive";
11
- import * as i10 from "./offline-button/offline-button.component";
12
- import * as i11 from "./wake-lock-button/wake-lock-button.component";
18
+ import * as i1 from "./baselayers-switcher/baselayers-switcher.component";
19
+ import * as i2 from "./geolocate-button/geolocate-button.component";
20
+ import * as i3 from "./home-extent-button/home-extent-button.component";
21
+ import * as i4 from "./shared/hover-feature.directive";
22
+ import * as i5 from "./info-section/info-section.component";
23
+ import * as i6 from "./map-browser/map-browser.component";
24
+ import * as i7 from "./map-center/map-center.component";
25
+ import * as i8 from "./shared/mapOffline.directive";
26
+ import * as i9 from "./menu-button/menu-button.component";
27
+ import * as i10 from "./baselayers-switcher/mini-basemap.component";
28
+ import * as i11 from "./offline-button/offline-button.component";
13
29
  import * as i12 from "./shared/map-pointer-position.directive";
14
- import * as i13 from "./shared/hover-feature.directive";
30
+ import * as i13 from "./rotation-button/rotation-button.component";
15
31
  import * as i14 from "./swipe-control/swipe-control.component";
16
- import * as i15 from "./map-center/map-center.component";
17
- import * as i16 from "./menu-button/menu-button.component";
32
+ import * as i15 from "./wake-lock-button/wake-lock-button.component";
33
+ import * as i16 from "./zoom-button/zoom-button.component";
34
+ export declare const MAP_DIRECTIVES: readonly [typeof BaseLayersSwitcherComponent, typeof GeolocateButtonComponent, typeof HomeExtentButtonComponent, typeof HoverFeatureDirective, typeof InfoSectionComponent, typeof MapBrowserComponent, typeof MapCenterComponent, typeof MapOfflineDirective, typeof MenuButtonComponent, typeof MiniBaseMapComponent, typeof OfflineButtonComponent, typeof PointerPositionDirective, typeof RotationButtonComponent, typeof SwipeControlComponent, typeof WakeLockButtonComponent, typeof ZoomButtonComponent];
18
35
  /**
19
36
  * @deprecated import the components directly or the MAP_DIRECTIVES for the set
20
37
  */
21
38
  export declare class IgoMapModule {
22
39
  static ɵfac: i0.ɵɵFactoryDeclaration<IgoMapModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoMapModule, never, [typeof i1.MapBrowserComponent, typeof i2.ZoomButtonComponent, typeof i3.GeolocateButtonComponent, typeof i4.HomeExtentButtonComponent, typeof i5.RotationButtonComponent, typeof i6.InfoSectionComponent, typeof i7.BaseLayersSwitcherComponent, typeof i8.MiniBaseMapComponent, typeof i9.MapOfflineDirective, typeof i10.OfflineButtonComponent, typeof i11.WakeLockButtonComponent, typeof i12.PointerPositionDirective, typeof i13.HoverFeatureDirective, typeof i14.SwipeControlComponent, typeof i15.MapCenterComponent, typeof i16.MenuButtonComponent], [typeof i1.MapBrowserComponent, typeof i2.ZoomButtonComponent, typeof i3.GeolocateButtonComponent, typeof i4.HomeExtentButtonComponent, typeof i5.RotationButtonComponent, typeof i6.InfoSectionComponent, typeof i7.BaseLayersSwitcherComponent, typeof i8.MiniBaseMapComponent, typeof i9.MapOfflineDirective, typeof i10.OfflineButtonComponent, typeof i11.WakeLockButtonComponent, typeof i12.PointerPositionDirective, typeof i13.HoverFeatureDirective, typeof i14.SwipeControlComponent, typeof i15.MapCenterComponent, typeof i16.MenuButtonComponent]>;
40
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoMapModule, never, [typeof i1.BaseLayersSwitcherComponent, typeof i2.GeolocateButtonComponent, typeof i3.HomeExtentButtonComponent, typeof i4.HoverFeatureDirective, typeof i5.InfoSectionComponent, typeof i6.MapBrowserComponent, typeof i7.MapCenterComponent, typeof i8.MapOfflineDirective, typeof i9.MenuButtonComponent, typeof i10.MiniBaseMapComponent, typeof i11.OfflineButtonComponent, typeof i12.PointerPositionDirective, typeof i13.RotationButtonComponent, typeof i14.SwipeControlComponent, typeof i15.WakeLockButtonComponent, typeof i16.ZoomButtonComponent], [typeof i1.BaseLayersSwitcherComponent, typeof i2.GeolocateButtonComponent, typeof i3.HomeExtentButtonComponent, typeof i4.HoverFeatureDirective, typeof i5.InfoSectionComponent, typeof i6.MapBrowserComponent, typeof i7.MapCenterComponent, typeof i8.MapOfflineDirective, typeof i9.MenuButtonComponent, typeof i10.MiniBaseMapComponent, typeof i11.OfflineButtonComponent, typeof i12.PointerPositionDirective, typeof i13.RotationButtonComponent, typeof i14.SwipeControlComponent, typeof i15.WakeLockButtonComponent, typeof i16.ZoomButtonComponent]>;
24
41
  static ɵinj: i0.ɵɵInjectorDeclaration<IgoMapModule>;
25
42
  }
@@ -1,6 +1,6 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { MatDialog } from '@angular/material/dialog';
3
- import { EntityTableComponent, EntityTableTemplate } from '@igo2/common';
3
+ import { EntityTableComponent, EntityTableTemplate } from '@igo2/common/entity';
4
4
  import { LanguageService } from '@igo2/core/language';
5
5
  import { StorageService } from '@igo2/core/storage';
6
6
  import { BehaviorSubject } from 'rxjs';
@@ -1,4 +1,3 @@
1
- import { MetadataAbstractComponent, MetadataButtonComponent } from './metadata-button';
2
1
  export * from './shared';
2
+ export * from './metadata.module';
3
3
  export * from './metadata-button';
4
- export declare const METADATA_DIRECTIVES: readonly [typeof MetadataButtonComponent, typeof MetadataAbstractComponent];
@@ -1,6 +1,8 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
+ import { MetadataAbstractComponent, MetadataButtonComponent } from './metadata-button/metadata-button.component';
2
3
  import * as i0 from "@angular/core";
3
4
  import * as i1 from "./metadata-button/metadata-button.component";
5
+ export declare const METADATA_DIRECTIVES: readonly [typeof MetadataButtonComponent, typeof MetadataAbstractComponent];
4
6
  /**
5
7
  * @deprecated import the components/directives directly or METADATA_DIRECTIVES for the set
6
8
  */
@@ -24,8 +24,8 @@ export declare class PrintService {
24
24
  zipFile: JSZip;
25
25
  nbFileToProcess: number;
26
26
  activityId: string;
27
- imgSizeAdded: Array<number>;
28
27
  mapPrintExtent: Array<number>;
28
+ imgSizeAdded: Array<number>;
29
29
  TEXTPDFFONT: {
30
30
  titleFont: string;
31
31
  titleFontStyle: string;
@@ -37,12 +37,12 @@ export declare class PrintService {
37
37
  };
38
38
  constructor(http: HttpClient, messageService: MessageService, activityService: ActivityService, languageService: LanguageService, configService: ConfigService);
39
39
  print(map: IgoMap, options: PrintOptions): Subject<any>;
40
- addGeoRef(doc: any, width: any, height: any, margins: any): void;
40
+ addGeoRef(doc: any, map: IgoMap, width: number, height: number, baseMargins: [number, number, number, number]): void;
41
41
  /**
42
42
  * Add measure overlay on the map on the document when the measure layer is present
43
43
  * @param doc - Pdf document where measure tooltip will be added
44
44
  * @param map - Map of the app
45
- * @param margins - Page margins
45
+ * @param baseMargins - Page margins
46
46
  */
47
47
  private handleMeasureLayer;
48
48
  /**
@@ -63,8 +63,10 @@ export declare class PrintService {
63
63
  getTextPdfObjectSizeAndMarg(text: string, margins: any, font: string, fontSizeInPt: number, fontStyle: string, doc: jsPDF): TextPdfSizeAndMargin;
64
64
  /**
65
65
  * Add comment to the document
66
- * * @param doc - pdf document
67
- * * @param comment - Comment to add in the document
66
+ * @param doc - pdf document
67
+ * @param comment - Comment to add in the document
68
+ * @param baseMargins - top | right | bottom | left
69
+ * @param verticalSpacing - calculate text position and map height
68
70
  */
69
71
  private addComment;
70
72
  private addTextInPdfDoc;
@@ -75,6 +77,8 @@ export declare class PrintService {
75
77
  * @param dpi - DPI resolution of the document
76
78
  * @param projection - Bool to indicate if projection need to be added
77
79
  * @param scale - Bool to indicate if scale need to be added
80
+ * @param baseMargins - top | right | bottom | left
81
+ * @param verticalSpacing - calculate text position and map height
78
82
  */
79
83
  private addProjScale;
80
84
  /**
@@ -88,13 +92,13 @@ export declare class PrintService {
88
92
  * Add the legend to the document
89
93
  * @param doc - Pdf document where legend will be added
90
94
  * @param map - Map of the app
91
- * @param margins - Page margins
95
+ * @param baseMargins - Page margins
92
96
  */
93
97
  private addLegendSamePage;
94
98
  defineNbFileToProcess(nbFileToProcess: any): void;
95
99
  private timeout;
96
100
  private addCanvas;
97
- addMap(doc: jsPDF, map: IgoMap, resolution: number, docSize: [number, number], margins: Array<number>, legendPostion: PrintLegendPosition): Subject<unknown>;
101
+ addMap(doc: jsPDF, map: IgoMap, resolution: number, imageDimensions: [number, number], baseMargins: [number, number, number, number], legendPostion: PrintLegendPosition): Subject<unknown>;
98
102
  private setMapResolution;
99
103
  private resetOriginalMapSize;
100
104
  drawMap(size: Array<number>, mapCanvas: HTMLCollectionOf<HTMLCanvasElement>): Promise<HTMLCanvasElement>;
@@ -4,3 +4,4 @@ export * from './query.enums';
4
4
  export * from './query.interfaces';
5
5
  export * from './query.utils';
6
6
  export * from './query-search-source';
7
+ export * from './query-search-source.providers';
@@ -1,8 +1,5 @@
1
- import { SearchBarComponent } from './search-bar/search-bar.component';
2
- import { SearchSelectorComponent } from './search-selector/search-selector.component';
3
- import { SearchSettingsComponent } from './search-settings/search-settings.component';
4
- import { SearchPointerSummaryDirective } from './shared';
5
1
  export * from './shared';
2
+ export * from './search.module';
6
3
  export * from './search-selector/search-selector.component';
7
4
  export * from './search-selector/search-selector.module';
8
5
  export * from './search-settings/search-settings.component';
@@ -10,4 +7,3 @@ export * from './search-settings/search-settings.module';
10
7
  export * from './search-bar/search-bar.component';
11
8
  export * from './search-bar/search-bar.module';
12
9
  export * from './search-results';
13
- export declare const SEARCH_DIRECTIVES: readonly [typeof SearchBarComponent, typeof SearchSelectorComponent, typeof import("./search-results").SearchResultsComponent, typeof import("./search-results").SearchResultAddButtonComponent, typeof SearchSettingsComponent, typeof SearchPointerSummaryDirective];
@@ -1,6 +1,6 @@
1
1
  import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
3
- import { EntityStore } from '@igo2/common';
3
+ import { EntityStore } from '@igo2/common/entity';
4
4
  import { ConfigService } from '@igo2/core/config';
5
5
  import { BehaviorSubject } from 'rxjs';
6
6
  import { SearchSourceService } from '../shared/search-source.service';
@@ -198,6 +198,7 @@ export declare class SearchBarComponent implements OnInit, OnDestroy {
198
198
  * @param term Search term
199
199
  */
200
200
  setTerm(term: string, reverseCoordEvent?: boolean): void;
201
+ handleSearch(): void;
201
202
  /**
202
203
  * Clear the stream and the input
203
204
  */
@@ -1,6 +1,4 @@
1
- import { SearchResultAddButtonComponent } from './search-results-add-button.component';
2
- import { SearchResultsComponent } from './search-results.component';
3
1
  export * from './search-results-add-button.component';
4
2
  export * from './search-results.component';
5
3
  export * from './search-results.module';
6
- export declare const SEARCH_RESULTS_DIRECTIVES: readonly [typeof SearchResultsComponent, typeof SearchResultAddButtonComponent];
4
+ export * from './search-results.directive';
@@ -1,6 +1,6 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { MatDialog } from '@angular/material/dialog';
3
- import { EntityStore } from '@igo2/common';
3
+ import { EntityStore } from '@igo2/common/entity';
4
4
  import { MediaService } from '@igo2/core/media';
5
5
  import { BehaviorSubject } from 'rxjs';
6
6
  import { DataSourceService } from '../../datasource/shared/datasource.service';
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import type { TemplateRef } from '@angular/core';
3
- import { EntityStore } from '@igo2/common';
3
+ import { EntityStore } from '@igo2/common/entity';
4
4
  import { ConfigService } from '@igo2/core/config';
5
5
  import { BehaviorSubject, Observable } from 'rxjs';
6
6
  import { IgoMap } from '../../map/shared/map';
@@ -0,0 +1,3 @@
1
+ import { SearchResultAddButtonComponent } from './search-results-add-button.component';
2
+ import { SearchResultsComponent } from './search-results.component';
3
+ export declare const SEARCH_RESULTS_DIRECTIVES: readonly [typeof SearchResultsComponent, typeof SearchResultAddButtonComponent];
@@ -1,11 +1,19 @@
1
1
  import { ModuleWithProviders } from '@angular/core';
2
+ import { SearchBarComponent } from './search-bar/search-bar.component';
3
+ import { SearchSelectorComponent } from './search-selector/search-selector.component';
4
+ import { SearchSettingsComponent } from './search-settings/search-settings.component';
5
+ import { SearchPointerSummaryDirective } from './shared/search-pointer-summary.directive';
2
6
  import * as i0 from "@angular/core";
3
7
  import * as i1 from "./search-bar/search-bar.module";
4
8
  import * as i2 from "./search-selector/search-selector.module";
5
9
  import * as i3 from "./search-results/search-results.module";
6
10
  import * as i4 from "./search-settings/search-settings.module";
7
11
  import * as i5 from "./shared/search-pointer-summary.directive";
12
+ export declare const SEARCH_DIRECTIVES: readonly [typeof SearchBarComponent, typeof SearchSelectorComponent, typeof import("./search-results").SearchResultsComponent, typeof import("./search-results").SearchResultAddButtonComponent, typeof SearchSettingsComponent, typeof SearchPointerSummaryDirective];
8
13
  export declare class IgoSearchModule {
14
+ /**
15
+ * @deprecated import the provideSearch() directly and add the source in the provider property
16
+ */
9
17
  static forRoot(): ModuleWithProviders<IgoSearchModule>;
10
18
  static ɵfac: i0.ɵɵFactoryDeclaration<IgoSearchModule, never>;
11
19
  static ɵmod: i0.ɵɵNgModuleDeclaration<IgoSearchModule, never, [typeof i1.IgoSearchBarModule, typeof i2.IgoSearchSelectorModule, typeof i3.IgoSearchResultsModule, typeof i4.IgoSearchSettingsModule, typeof i5.SearchPointerSummaryDirective], [typeof i1.IgoSearchBarModule, typeof i2.IgoSearchSelectorModule, typeof i3.IgoSearchResultsModule, typeof i4.IgoSearchSettingsModule, typeof i5.SearchPointerSummaryDirective]>;
@@ -1,4 +1,5 @@
1
1
  export * from './search.enums';
2
+ export * from './search.provider';
2
3
  export * from './search.interfaces';
3
4
  export * from './search-pointer-summary.directive';
4
5
  export * from './search.service';
@@ -1,4 +1,4 @@
1
- import { Workspace } from '@igo2/common';
1
+ import { Workspace } from '@igo2/common/workspace';
2
2
  import { SearchSource } from './sources/source';
3
3
  import { SearchSourceSettings } from './sources/source.interfaces';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { IconSvg } from '@igo2/common';
1
+ import { IconSvg } from '@igo2/common/icon';
2
2
  import { Observable } from 'rxjs';
3
3
  import { CommonVectorStyleOptions } from '../../style/shared/vector/vector-style.interface';
4
4
  import { SearchSource } from './sources/source';
@@ -0,0 +1,8 @@
1
+ import { Provider } from '@angular/core';
2
+ import { SearchSourceFeature, SearchSourceKind } from './sources/source.interfaces';
3
+ interface ISearchProviderOptions {
4
+ /** Share the search term with analytics tracking */
5
+ analytics?: boolean;
6
+ }
7
+ export declare function provideSearch(sources: SearchSourceFeature<SearchSourceKind>[], options?: ISearchProviderOptions): Provider[];
8
+ export {};
@@ -1,3 +1,5 @@
1
+ import { WritableSignal } from '@angular/core';
2
+ import { AnalyticsService } from '@igo2/core/analytics';
1
3
  import { StorageService } from '@igo2/core/storage';
2
4
  import { MapService } from '../../map/shared/map.service';
3
5
  import { SearchSourceService } from './search-source.service';
@@ -15,7 +17,10 @@ export declare class SearchService {
15
17
  private searchSourceService;
16
18
  private mapService;
17
19
  private storageService;
18
- constructor(searchSourceService: SearchSourceService, mapService: MapService, storageService: StorageService);
20
+ private analyticsService;
21
+ searchTerm: WritableSignal<string>;
22
+ constructor(searchSourceService: SearchSourceService, mapService: MapService, storageService: StorageService, analyticsService: AnalyticsService, analytics: boolean);
23
+ private handleAnalytics;
19
24
  /**
20
25
  * Perform a research by text
21
26
  * @param term Any text
@@ -48,6 +53,6 @@ export declare class SearchService {
48
53
  * @returns True if the search term is valid
49
54
  */
50
55
  private termIsValid;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchService, never>;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchService, [null, null, null, null, { optional: true; }]>;
52
57
  static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
53
58
  }
@@ -4,6 +4,7 @@ import { LanguageService } from '@igo2/core/language';
4
4
  import { StorageService } from '@igo2/core/storage';
5
5
  import { CadastreSearchSource } from './cadastre';
6
6
  import { SearchSource } from './source';
7
+ import { SearchSourceFeature, SearchSourceKind } from './source.interfaces';
7
8
  /**
8
9
  * Cadastre search source factory
9
10
  * @ignore
@@ -18,3 +19,4 @@ export declare function provideCadastreSearchSource(): {
18
19
  multi: boolean;
19
20
  deps: (typeof HttpClient | typeof LanguageService | typeof StorageService | typeof ConfigService)[];
20
21
  };
22
+ export declare function withCadastreSource(): SearchSourceFeature<SearchSourceKind.Cadastre>;
@@ -4,6 +4,7 @@ import { StorageService } from '@igo2/core/storage';
4
4
  import { ProjectionService } from '../../../map/shared/projection.service';
5
5
  import { CoordinatesReverseSearchSource, CoordinatesSearchResultFormatter } from './coordinates';
6
6
  import { SearchSource } from './source';
7
+ import { SearchSourceFeature, SearchSourceKind } from './source.interfaces';
7
8
  /**
8
9
  * Coordinate search result formatter factory
9
10
  * @ignore
@@ -31,3 +32,4 @@ export declare function provideCoordinatesReverseSearchSource(): {
31
32
  multi: boolean;
32
33
  deps: (typeof ProjectionService | typeof LanguageService | typeof StorageService | typeof ConfigService)[];
33
34
  };
35
+ export declare function withCoordinatesReverseSource(): SearchSourceFeature<SearchSourceKind.CoordinatesReverse>;
@@ -1,4 +1,4 @@
1
- import { IconSvg } from '@igo2/common';
1
+ import { IconSvg } from '@igo2/common/icon';
2
2
  /**
3
3
  * Icons mappings to be retrocompatible with iCherche
4
4
  */