geonetwork-ui 2.4.2 → 2.5.0-dev.0a41b52e9

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 (326) hide show
  1. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +11 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  3. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +50 -32
  4. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +26 -10
  5. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  6. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  7. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +7 -4
  8. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +18 -16
  9. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +24 -14
  10. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +16 -18
  11. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  12. package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +3 -3
  13. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +2 -2
  14. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +4 -4
  15. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +2 -2
  16. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +2 -2
  17. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +3 -2
  18. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +2 -2
  19. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -1
  20. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +7 -23
  21. package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +11 -11
  22. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +2 -2
  23. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +3 -4
  24. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +1 -1
  25. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +25 -5
  26. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +6 -7
  27. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +10 -7
  28. package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +4 -1
  29. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +7 -2
  30. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +9 -1
  31. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +19 -1
  32. package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +6 -1
  33. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +6 -3
  34. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +1 -1
  35. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +46 -1
  36. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +3 -2
  37. package/esm2022/libs/ui/dataviz/src/index.mjs +3 -3
  38. package/esm2022/libs/ui/dataviz/src/lib/data-table/custom.mat.paginator.intl.mjs +51 -0
  39. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +133 -0
  40. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.data.source.mjs +24 -0
  41. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.mjs +82 -0
  42. package/esm2022/libs/ui/elements/src/index.mjs +2 -1
  43. package/esm2022/libs/ui/elements/src/lib/application-banner/application-banner.component.mjs +78 -0
  44. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +3 -3
  45. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +18 -10
  46. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +2 -1
  47. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -4
  48. package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
  49. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +43 -3
  50. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +1 -6
  51. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +2 -7
  52. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +14 -4
  53. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +22 -13
  54. package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
  55. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +5 -6
  56. package/esm2022/libs/util/data-fetcher/src/index.mjs +3 -1
  57. package/esm2022/libs/util/data-fetcher/src/lib/data-fetcher.mjs +5 -4
  58. package/esm2022/libs/util/data-fetcher/src/lib/model.mjs +7 -3
  59. package/esm2022/libs/util/data-fetcher/src/lib/readers/base-cache.mjs +12 -0
  60. package/esm2022/libs/util/data-fetcher/src/lib/readers/base-file.mjs +3 -3
  61. package/esm2022/libs/util/data-fetcher/src/lib/readers/base.mjs +1 -1
  62. package/esm2022/libs/util/data-fetcher/src/lib/readers/csv.mjs +2 -2
  63. package/esm2022/libs/util/data-fetcher/src/lib/readers/excel.mjs +2 -2
  64. package/esm2022/libs/util/data-fetcher/src/lib/readers/geojson.mjs +2 -2
  65. package/esm2022/libs/util/data-fetcher/src/lib/readers/gml.mjs +5 -3
  66. package/esm2022/libs/util/data-fetcher/src/lib/readers/json.mjs +2 -2
  67. package/esm2022/libs/util/data-fetcher/src/lib/readers/wfs.mjs +35 -9
  68. package/esm2022/libs/util/data-fetcher/src/lib/utils.mjs +14 -10
  69. package/esm2022/libs/util/shared/src/lib/services/date.service.mjs +41 -0
  70. package/esm2022/libs/util/shared/src/lib/services/index.mjs +2 -1
  71. package/esm2022/libs/util/shared/src/lib/utils/temporal-extent-union.mjs +4 -4
  72. package/esm2022/translations/de.json +10 -75
  73. package/esm2022/translations/en.json +10 -75
  74. package/esm2022/translations/es.json +9 -74
  75. package/esm2022/translations/fr.json +22 -87
  76. package/esm2022/translations/it.json +27 -91
  77. package/esm2022/translations/nl.json +9 -74
  78. package/esm2022/translations/pt.json +9 -74
  79. package/fesm2022/geonetwork-ui.mjs +1194 -1223
  80. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  81. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  82. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +3 -0
  83. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  84. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +3 -1
  85. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
  86. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +2 -1
  87. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  88. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +6 -0
  89. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  90. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +2 -1
  91. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  92. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -1
  93. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  94. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts +7 -9
  95. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts.map +1 -1
  96. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +2 -2
  97. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  98. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +5 -7
  99. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  100. package/libs/feature/editor/src/index.d.ts +1 -0
  101. package/libs/feature/editor/src/index.d.ts.map +1 -1
  102. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
  103. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
  104. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -0
  105. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  106. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts +1 -3
  107. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts.map +1 -1
  108. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts +3 -3
  109. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts.map +1 -1
  110. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts +2 -3
  111. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts.map +1 -1
  112. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +5 -1
  113. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  114. package/libs/feature/record/src/lib/feature-record.module.d.ts +2 -2
  115. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  116. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +3 -2
  117. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  118. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +16 -1
  119. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  120. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +5 -0
  121. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  122. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +2 -0
  123. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  124. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +4 -1
  125. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  126. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +2 -0
  127. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
  128. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
  129. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  130. package/libs/feature/search/src/lib/utils/service/fields.d.ts +10 -0
  131. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  132. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  133. package/libs/ui/dataviz/src/index.d.ts +2 -2
  134. package/libs/ui/dataviz/src/index.d.ts.map +1 -1
  135. package/libs/ui/dataviz/src/lib/data-table/custom.mat.paginator.intl.d.ts +14 -0
  136. package/libs/ui/dataviz/src/lib/data-table/custom.mat.paginator.intl.d.ts.map +1 -0
  137. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +45 -0
  138. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -0
  139. package/libs/ui/dataviz/src/lib/data-table/data-table.data.source.d.ts +12 -0
  140. package/libs/ui/dataviz/src/lib/data-table/data-table.data.source.d.ts.map +1 -0
  141. package/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.d.ts +10 -0
  142. package/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.d.ts.map +1 -0
  143. package/libs/ui/elements/src/index.d.ts +1 -0
  144. package/libs/ui/elements/src/index.d.ts.map +1 -1
  145. package/libs/ui/elements/src/lib/application-banner/application-banner.component.d.ts +16 -0
  146. package/libs/ui/elements/src/lib/application-banner/application-banner.component.d.ts.map +1 -0
  147. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +5 -0
  148. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  149. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  150. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +2 -1
  151. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  152. package/libs/ui/inputs/src/index.d.ts +0 -1
  153. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  154. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +16 -1
  155. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  156. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +27 -28
  157. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  158. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +2 -3
  159. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -1
  160. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -2
  161. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
  162. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +6 -3
  163. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  164. package/libs/ui/widgets/src/index.d.ts +0 -1
  165. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  166. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +8 -9
  167. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
  168. package/libs/util/data-fetcher/src/index.d.ts +3 -1
  169. package/libs/util/data-fetcher/src/index.d.ts.map +1 -1
  170. package/libs/util/data-fetcher/src/lib/data-fetcher.d.ts +2 -2
  171. package/libs/util/data-fetcher/src/lib/data-fetcher.d.ts.map +1 -1
  172. package/libs/util/data-fetcher/src/lib/model.d.ts +1 -1
  173. package/libs/util/data-fetcher/src/lib/model.d.ts.map +1 -1
  174. package/libs/util/data-fetcher/src/lib/readers/base-cache.d.ts +8 -0
  175. package/libs/util/data-fetcher/src/lib/readers/base-cache.d.ts.map +1 -0
  176. package/libs/util/data-fetcher/src/lib/readers/base-file.d.ts +2 -2
  177. package/libs/util/data-fetcher/src/lib/readers/base-file.d.ts.map +1 -1
  178. package/libs/util/data-fetcher/src/lib/readers/base.d.ts +2 -2
  179. package/libs/util/data-fetcher/src/lib/readers/base.d.ts.map +1 -1
  180. package/libs/util/data-fetcher/src/lib/readers/gml.d.ts +5 -3
  181. package/libs/util/data-fetcher/src/lib/readers/gml.d.ts.map +1 -1
  182. package/libs/util/data-fetcher/src/lib/readers/wfs.d.ts +7 -4
  183. package/libs/util/data-fetcher/src/lib/readers/wfs.d.ts.map +1 -1
  184. package/libs/util/data-fetcher/src/lib/utils.d.ts +2 -2
  185. package/libs/util/data-fetcher/src/lib/utils.d.ts.map +1 -1
  186. package/libs/util/shared/src/lib/services/date.service.d.ts +13 -0
  187. package/libs/util/shared/src/lib/services/date.service.d.ts.map +1 -0
  188. package/libs/util/shared/src/lib/services/index.d.ts +1 -0
  189. package/libs/util/shared/src/lib/services/index.d.ts.map +1 -1
  190. package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts +2 -1
  191. package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts.map +1 -1
  192. package/package.json +1 -1
  193. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +25 -0
  194. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +4 -0
  195. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +55 -32
  196. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +45 -18
  197. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +3 -1
  198. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +4 -1
  199. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +165 -0
  200. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +4 -1
  201. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.html +3 -3
  202. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +17 -15
  203. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +43 -20
  204. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +4 -3
  205. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +10 -18
  206. package/src/libs/feature/editor/src/index.ts +1 -0
  207. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.html +1 -1
  208. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +3 -3
  209. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +1 -0
  210. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +1 -1
  211. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -0
  212. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +0 -13
  213. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.ts +0 -20
  214. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.ts +3 -4
  215. package/src/libs/feature/editor/src/lib/fields.config.ts +1 -1
  216. package/src/libs/feature/editor/src/lib/models/wizard-field.type.ts +0 -1
  217. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +24 -11
  218. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +26 -4
  219. package/src/libs/feature/record/src/lib/feature-record.module.ts +6 -4
  220. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +71 -60
  221. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +6 -3
  222. package/src/libs/feature/record/src/lib/state/mdview.actions.ts +16 -0
  223. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +21 -2
  224. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +15 -0
  225. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +30 -1
  226. package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +12 -0
  227. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -0
  228. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +1 -0
  229. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +2 -0
  230. package/src/libs/feature/search/src/lib/utils/service/fields.ts +55 -0
  231. package/src/libs/ui/dataviz/src/index.ts +2 -2
  232. package/src/libs/ui/dataviz/src/lib/data-table/custom.mat.paginator.intl.ts +52 -0
  233. package/src/libs/ui/dataviz/src/lib/{table/table.component.css → data-table/data-table.component.css} +4 -0
  234. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +67 -0
  235. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +173 -0
  236. package/src/libs/ui/dataviz/src/lib/data-table/data-table.data.source.ts +33 -0
  237. package/src/libs/ui/dataviz/src/lib/data-table/data-table.fixtures.ts +84 -0
  238. package/src/libs/ui/elements/src/index.ts +1 -0
  239. package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.css +0 -0
  240. package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.html +25 -0
  241. package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.ts +70 -0
  242. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +2 -2
  243. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +3 -3
  244. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +12 -2
  245. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +2 -0
  246. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +3 -0
  247. package/src/libs/ui/inputs/src/index.ts +0 -1
  248. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +48 -0
  249. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
  250. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +1 -7
  251. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +37 -1
  252. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +8 -2
  253. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +2 -0
  254. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +10 -2
  255. package/src/libs/ui/widgets/src/index.ts +0 -1
  256. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +2 -3
  257. package/src/libs/util/data-fetcher/src/index.ts +3 -0
  258. package/src/libs/util/data-fetcher/src/lib/data-fetcher.ts +13 -4
  259. package/src/libs/util/data-fetcher/src/lib/model.ts +6 -2
  260. package/src/libs/util/data-fetcher/src/lib/readers/base-cache.ts +14 -0
  261. package/src/libs/util/data-fetcher/src/lib/readers/base-file.ts +2 -1
  262. package/src/libs/util/data-fetcher/src/lib/readers/base.ts +2 -2
  263. package/src/libs/util/data-fetcher/src/lib/readers/csv.ts +1 -1
  264. package/src/libs/util/data-fetcher/src/lib/readers/excel.ts +1 -1
  265. package/src/libs/util/data-fetcher/src/lib/readers/geojson.ts +1 -1
  266. package/src/libs/util/data-fetcher/src/lib/readers/gml.ts +7 -7
  267. package/src/libs/util/data-fetcher/src/lib/readers/json.ts +1 -1
  268. package/src/libs/util/data-fetcher/src/lib/readers/wfs.ts +53 -8
  269. package/src/libs/util/data-fetcher/src/lib/utils.ts +38 -32
  270. package/src/libs/util/shared/src/lib/services/date.service.ts +45 -0
  271. package/src/libs/util/shared/src/lib/services/index.ts +1 -0
  272. package/src/libs/util/shared/src/lib/utils/temporal-extent-union.ts +6 -3
  273. package/translations/de.json +10 -75
  274. package/translations/en.json +10 -75
  275. package/translations/es.json +9 -74
  276. package/translations/fr.json +22 -87
  277. package/translations/it.json +27 -91
  278. package/translations/nl.json +9 -74
  279. package/translations/pt.json +9 -74
  280. package/translations/sk.json +9 -74
  281. package/esm2022/libs/ui/dataviz/src/lib/table/table.component.mjs +0 -61
  282. package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +0 -40
  283. package/esm2022/libs/ui/inputs/src/lib/chips-input/chips-input.component.mjs +0 -78
  284. package/esm2022/libs/ui/widgets/src/lib/step-bar/step-bar.component.mjs +0 -55
  285. package/libs/ui/dataviz/src/lib/table/table.component.d.ts +0 -29
  286. package/libs/ui/dataviz/src/lib/table/table.component.d.ts.map +0 -1
  287. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +0 -11
  288. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +0 -1
  289. package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts +0 -33
  290. package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts.map +0 -1
  291. package/libs/ui/widgets/src/lib/step-bar/step-bar.component.d.ts +0 -21
  292. package/libs/ui/widgets/src/lib/step-bar/step-bar.component.d.ts.map +0 -1
  293. package/src/libs/data-access/datafeeder/src/index.ts +0 -1
  294. package/src/libs/data-access/datafeeder/src/openapi/api/api.ts +0 -11
  295. package/src/libs/data-access/datafeeder/src/openapi/api/config.api.service.ts +0 -168
  296. package/src/libs/data-access/datafeeder/src/openapi/api/dataPublishing.api.service.ts +0 -270
  297. package/src/libs/data-access/datafeeder/src/openapi/api/fileUpload.api.service.ts +0 -734
  298. package/src/libs/data-access/datafeeder/src/openapi/api.module.ts +0 -46
  299. package/src/libs/data-access/datafeeder/src/openapi/configuration.ts +0 -125
  300. package/src/libs/data-access/datafeeder/src/openapi/encoder.ts +0 -20
  301. package/src/libs/data-access/datafeeder/src/openapi/index.ts +0 -5
  302. package/src/libs/data-access/datafeeder/src/openapi/model/analysisStatusEnum.api.model.ts +0 -24
  303. package/src/libs/data-access/datafeeder/src/openapi/model/boundingBox.api.model.ts +0 -20
  304. package/src/libs/data-access/datafeeder/src/openapi/model/cRS.api.model.ts +0 -25
  305. package/src/libs/data-access/datafeeder/src/openapi/model/datasetMetadata.api.model.ts +0 -45
  306. package/src/libs/data-access/datafeeder/src/openapi/model/datasetPublishRequest.api.model.ts +0 -39
  307. package/src/libs/data-access/datafeeder/src/openapi/model/datasetPublishingStatus.api.model.ts +0 -50
  308. package/src/libs/data-access/datafeeder/src/openapi/model/datasetUploadStatus.api.model.ts +0 -39
  309. package/src/libs/data-access/datafeeder/src/openapi/model/models.ts +0 -13
  310. package/src/libs/data-access/datafeeder/src/openapi/model/property.api.model.ts +0 -17
  311. package/src/libs/data-access/datafeeder/src/openapi/model/publishJobStatus.api.model.ts +0 -33
  312. package/src/libs/data-access/datafeeder/src/openapi/model/publishRequest.api.model.ts +0 -16
  313. package/src/libs/data-access/datafeeder/src/openapi/model/publishStatusEnum.api.model.ts +0 -20
  314. package/src/libs/data-access/datafeeder/src/openapi/model/publishStepEnum.api.model.ts +0 -42
  315. package/src/libs/data-access/datafeeder/src/openapi/model/uploadJobStatus.api.model.ts +0 -33
  316. package/src/libs/data-access/datafeeder/src/openapi/variables.ts +0 -9
  317. package/src/libs/data-access/datafeeder/src/spec.yaml +0 -537
  318. package/src/libs/ui/dataviz/src/lib/table/table.component.html +0 -40
  319. package/src/libs/ui/dataviz/src/lib/table/table.component.ts +0 -80
  320. package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +0 -40
  321. package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.css +0 -36
  322. package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.html +0 -23
  323. package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.ts +0 -81
  324. package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.css +0 -3
  325. package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.html +0 -13
  326. package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.ts +0 -55
@@ -1,46 +0,0 @@
1
- import {
2
- NgModule,
3
- ModuleWithProviders,
4
- SkipSelf,
5
- Optional,
6
- } from '@angular/core'
7
- import { Configuration } from './configuration'
8
- import { HttpClient } from '@angular/common/http'
9
-
10
- import { ConfigApiService } from './api/config.api.service'
11
- import { DataPublishingApiService } from './api/dataPublishing.api.service'
12
- import { FileUploadApiService } from './api/fileUpload.api.service'
13
-
14
- @NgModule({
15
- imports: [],
16
- declarations: [],
17
- exports: [],
18
- providers: [],
19
- })
20
- export class ApiModule {
21
- public static forRoot(
22
- configurationFactory: () => Configuration
23
- ): ModuleWithProviders<ApiModule> {
24
- return {
25
- ngModule: ApiModule,
26
- providers: [{ provide: Configuration, useFactory: configurationFactory }],
27
- }
28
- }
29
-
30
- constructor(
31
- @Optional() @SkipSelf() parentModule: ApiModule,
32
- @Optional() http: HttpClient
33
- ) {
34
- if (parentModule) {
35
- throw new Error(
36
- 'ApiModule is already loaded. Import in your base AppModule only.'
37
- )
38
- }
39
- if (!http) {
40
- throw new Error(
41
- 'You need to import the HttpClientModule in your AppModule! \n' +
42
- 'See also https://github.com/angular/angular/issues/20575'
43
- )
44
- }
45
- }
46
- }
@@ -1,125 +0,0 @@
1
- import { HttpParameterCodec } from '@angular/common/http'
2
-
3
- export interface ConfigurationParameters {
4
- /**
5
- * @deprecated Since 5.0. Use credentials instead
6
- */
7
- apiKeys?: { [key: string]: string }
8
- username?: string
9
- password?: string
10
- /**
11
- * @deprecated Since 5.0. Use credentials instead
12
- */
13
- accessToken?: string | (() => string)
14
- basePath?: string
15
- withCredentials?: boolean
16
- encoder?: HttpParameterCodec
17
- /**
18
- * The keys are the names in the securitySchemes section of the OpenAPI
19
- * document. They should map to the value used for authentication
20
- * minus any standard prefixes such as 'Basic' or 'Bearer'.
21
- */
22
- credentials?: { [key: string]: string | (() => string | undefined) }
23
- }
24
-
25
- export class Configuration {
26
- /**
27
- * @deprecated Since 5.0. Use credentials instead
28
- */
29
- apiKeys?: { [key: string]: string }
30
- username?: string
31
- password?: string
32
- /**
33
- * @deprecated Since 5.0. Use credentials instead
34
- */
35
- accessToken?: string | (() => string)
36
- basePath?: string
37
- withCredentials?: boolean
38
- encoder?: HttpParameterCodec
39
- /**
40
- * The keys are the names in the securitySchemes section of the OpenAPI
41
- * document. They should map to the value used for authentication
42
- * minus any standard prefixes such as 'Basic' or 'Bearer'.
43
- */
44
- credentials: { [key: string]: string | (() => string | undefined) }
45
-
46
- constructor(configurationParameters: ConfigurationParameters = {}) {
47
- this.apiKeys = configurationParameters.apiKeys
48
- this.username = configurationParameters.username
49
- this.password = configurationParameters.password
50
- this.accessToken = configurationParameters.accessToken
51
- this.basePath = configurationParameters.basePath
52
- this.withCredentials = configurationParameters.withCredentials
53
- this.encoder = configurationParameters.encoder
54
- if (configurationParameters.credentials) {
55
- this.credentials = configurationParameters.credentials
56
- } else {
57
- this.credentials = {}
58
- }
59
- }
60
-
61
- /**
62
- * Select the correct content-type to use for a request.
63
- * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
64
- * If no content type is found return the first found type if the contentTypes is not empty
65
- * @param contentTypes - the array of content types that are available for selection
66
- * @returns the selected content-type or <code>undefined</code> if no selection could be made.
67
- */
68
- public selectHeaderContentType(contentTypes: string[]): string | undefined {
69
- if (contentTypes.length === 0) {
70
- return undefined
71
- }
72
-
73
- const type = contentTypes.find((x: string) => this.isJsonMime(x))
74
- if (type === undefined) {
75
- return contentTypes[0]
76
- }
77
- return type
78
- }
79
-
80
- /**
81
- * Select the correct accept content-type to use for a request.
82
- * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
83
- * If no content type is found return the first found type if the contentTypes is not empty
84
- * @param accepts - the array of content types that are available for selection.
85
- * @returns the selected content-type or <code>undefined</code> if no selection could be made.
86
- */
87
- public selectHeaderAccept(accepts: string[]): string | undefined {
88
- if (accepts.length === 0) {
89
- return undefined
90
- }
91
-
92
- const type = accepts.find((x: string) => this.isJsonMime(x))
93
- if (type === undefined) {
94
- return accepts[0]
95
- }
96
- return type
97
- }
98
-
99
- /**
100
- * Check if the given MIME is a JSON MIME.
101
- * JSON MIME examples:
102
- * application/json
103
- * application/json; charset=UTF8
104
- * APPLICATION/JSON
105
- * application/vnd.company+json
106
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
107
- * @return True if the given MIME is JSON, false otherwise.
108
- */
109
- public isJsonMime(mime: string): boolean {
110
- const jsonMime: RegExp = new RegExp(
111
- '^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$',
112
- 'i'
113
- )
114
- return (
115
- mime !== null &&
116
- (jsonMime.test(mime) ||
117
- mime.toLowerCase() === 'application/json-patch+json')
118
- )
119
- }
120
-
121
- public lookupCredential(key: string): string | undefined {
122
- const value = this.credentials[key]
123
- return typeof value === 'function' ? value() : value
124
- }
125
- }
@@ -1,20 +0,0 @@
1
- import { HttpParameterCodec } from '@angular/common/http'
2
-
3
- /**
4
- * Custom HttpParameterCodec
5
- * Workaround for https://github.com/angular/angular/issues/18261
6
- */
7
- export class CustomHttpParameterCodec implements HttpParameterCodec {
8
- encodeKey(k: string): string {
9
- return encodeURIComponent(k)
10
- }
11
- encodeValue(v: string): string {
12
- return encodeURIComponent(v)
13
- }
14
- decodeKey(k: string): string {
15
- return decodeURIComponent(k)
16
- }
17
- decodeValue(v: string): string {
18
- return decodeURIComponent(v)
19
- }
20
- }
@@ -1,5 +0,0 @@
1
- export * from './api/api'
2
- export * from './model/models'
3
- export * from './variables'
4
- export * from './configuration'
5
- export * from './api.module'
@@ -1,24 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- export type AnalysisStatusEnumApiModel =
14
- | 'PENDING'
15
- | 'ANALYZING'
16
- | 'DONE'
17
- | 'ERROR'
18
-
19
- export const AnalysisStatusEnumApiModel = {
20
- Pending: 'PENDING' as AnalysisStatusEnumApiModel,
21
- Analyzing: 'ANALYZING' as AnalysisStatusEnumApiModel,
22
- Done: 'DONE' as AnalysisStatusEnumApiModel,
23
- Error: 'ERROR' as AnalysisStatusEnumApiModel,
24
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { CRSApiModel } from './cRS.api.model'
13
-
14
- export interface BoundingBoxApiModel {
15
- crs?: CRSApiModel
16
- minx?: number
17
- maxx?: number
18
- miny?: number
19
- maxy?: number
20
- }
@@ -1,25 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- /**
14
- * Coordinate Reference System
15
- */
16
- export interface CRSApiModel {
17
- /**
18
- * Coordinate Reference System\'s EPSG identifier. Can be null if a matching reference system couldn\'t be found in the EPSG database.
19
- */
20
- srs?: string
21
- /**
22
- * Coordinate Reference System\'s Well Known Text representation. Despite the \'srs\' identifier being found or not, the WKT representation is still available.
23
- */
24
- wkt?: string
25
- }
@@ -1,45 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- /**
14
- * User supplied dataset metadata information
15
- */
16
- export interface DatasetMetadataApiModel {
17
- /**
18
- * Metadata title for the dataset
19
- */
20
- title: string
21
- /**
22
- * Metadata abtract text for the dataset
23
- */
24
- abstract: string
25
- /**
26
- * metadata keyworkds for the dataset
27
- */
28
- tags?: Array<string>
29
- /**
30
- * Dataset creation date, in RFC3339 format
31
- */
32
- creationDate?: string
33
- /**
34
- * Optional, scale the data was created for (e.g. 500000 for a 1:500000 scale)
35
- */
36
- scale?: number
37
- /**
38
- * textual description of dataset lineage
39
- */
40
- creationProcessDescription?: string
41
- /**
42
- * Optional, additional options for the dataset
43
- */
44
- options: any
45
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { DatasetMetadataApiModel } from './datasetMetadata.api.model'
13
-
14
- /**
15
- * Name of the dataset in the uploaded package, necessary to identify which dataset to publish from the UploadJobStatus
16
- */
17
- export interface DatasetPublishRequestApiModel {
18
- /**
19
- * Name of the dataset in the uploaded package, necessary to identify which dataset to publish from the UploadJobStatus
20
- */
21
- nativeName: string
22
- /**
23
- * Name under which the dataset is published to GeoServer, defaults to nativeName. It can be modified by the system to avoid duplicated layer names.
24
- */
25
- publishedName?: string
26
- /**
27
- * Specify which charset (e.g. ISO-8859-1, UTF-8, etc.) to interpret the dataset alphanumeric properties with. Takes effect only for uploaded shapefiles.
28
- */
29
- encoding?: string
30
- /**
31
- * Optional, Coordinate Reference System identifier to publish the dataset in. If not provided, the dataset is published using the CRS inferred during the upload analysis process. If no CRS identifier was determined, the job will fail.
32
- */
33
- srs?: string
34
- /**
35
- * Optional, whether to reproject from the native CRS to the one provided in the srs parameter. If false or not provided, the srs parameter overrides the native CRS without reprojection.
36
- */
37
- srs_reproject?: boolean
38
- metadata: DatasetMetadataApiModel
39
- }
@@ -1,50 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { PublishStepEnumApiModel } from './publishStepEnum.api.model'
13
- import { PublishStatusEnumApiModel } from './publishStatusEnum.api.model'
14
-
15
- /**
16
- * Describes the status of publishing a given dataset
17
- */
18
- export interface DatasetPublishingStatusApiModel {
19
- /**
20
- * Name of the dataset in the uploaded package, necessary to identify which dataset to publish from the UploadJobStatus
21
- */
22
- nativeName?: string
23
- /**
24
- * Name of the GeoServer workspace under which the dataset has been published.
25
- */
26
- publishedWorkspace?: string
27
- /**
28
- * Final name under which the layer was published to GeoServer. It may have been modified from the requested layer name in order to avoid duplication if a layer with such name already exists in the target GeoServer workspace.
29
- */
30
- publishedName?: string
31
- /**
32
- * Identifier for the metadta record created while publishing the dataset\'s metadata to GeoNetwork.
33
- */
34
- metadataRecordId?: string
35
- title?: string
36
- status?: PublishStatusEnumApiModel
37
- /**
38
- * short description of the error that prevents the dataset to be published
39
- */
40
- error?: string
41
- /**
42
- * true if this dataset is scheduled to be published (as requested through a PublishRequest)
43
- */
44
- publish?: boolean
45
- /**
46
- * Estimated completion progress, from 0 to 1.
47
- */
48
- progress?: number
49
- progressStep?: PublishStepEnumApiModel
50
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { BoundingBoxApiModel } from './boundingBox.api.model'
13
- import { AnalysisStatusEnumApiModel } from './analysisStatusEnum.api.model'
14
-
15
- /**
16
- * Describes a recognized uploaded dataset
17
- */
18
- export interface DatasetUploadStatusApiModel {
19
- /**
20
- * Name of the dataset in the uploaded package
21
- */
22
- name?: string
23
- status?: AnalysisStatusEnumApiModel
24
- /**
25
- * short description of the error that prevents the dataset to be analysed
26
- */
27
- error?: string
28
- /**
29
- * Number of features in the dataset
30
- */
31
- featureCount?: number
32
- nativeBounds?: BoundingBoxApiModel
33
- /**
34
- * detected charset
35
- */
36
- encoding?: string
37
- format?: 'CSV' | 'SHAPEFILE'
38
- options?: any
39
- }
@@ -1,13 +0,0 @@
1
- export * from './analysisStatusEnum.api.model'
2
- export * from './boundingBox.api.model'
3
- export * from './cRS.api.model'
4
- export * from './datasetMetadata.api.model'
5
- export * from './datasetPublishRequest.api.model'
6
- export * from './datasetPublishingStatus.api.model'
7
- export * from './datasetUploadStatus.api.model'
8
- export * from './property.api.model'
9
- export * from './publishJobStatus.api.model'
10
- export * from './publishRequest.api.model'
11
- export * from './publishStatusEnum.api.model'
12
- export * from './publishStepEnum.api.model'
13
- export * from './uploadJobStatus.api.model'
@@ -1,17 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- export interface PropertyApiModel {
14
- name?: string
15
- value?: string
16
- type?: string
17
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { PublishStatusEnumApiModel } from './publishStatusEnum.api.model'
13
- import { DatasetPublishingStatusApiModel } from './datasetPublishingStatus.api.model'
14
-
15
- /**
16
- * Describes the processing status of a publishing job for a given upload
17
- */
18
- export interface PublishJobStatusApiModel {
19
- /**
20
- * Identifier for the upload processing job
21
- */
22
- jobId?: string
23
- /**
24
- * Estimated completion progress, from 0 to 1.
25
- */
26
- progress?: number
27
- status?: PublishStatusEnumApiModel
28
- /**
29
- * short description of the error that prevents the job to complete successfully
30
- */
31
- error?: string
32
- datasets?: Array<DatasetPublishingStatusApiModel>
33
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { DatasetPublishRequestApiModel } from './datasetPublishRequest.api.model'
13
-
14
- export interface PublishRequestApiModel {
15
- datasets?: Array<DatasetPublishRequestApiModel>
16
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- export type PublishStatusEnumApiModel = 'PENDING' | 'RUNNING' | 'DONE' | 'ERROR'
14
-
15
- export const PublishStatusEnumApiModel = {
16
- Pending: 'PENDING' as PublishStatusEnumApiModel,
17
- Running: 'RUNNING' as PublishStatusEnumApiModel,
18
- Done: 'DONE' as PublishStatusEnumApiModel,
19
- Error: 'ERROR' as PublishStatusEnumApiModel,
20
- }
@@ -1,42 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- export type PublishStepEnumApiModel =
14
- | 'SKIPPED'
15
- | 'SCHEDULED'
16
- | 'DATA_IMPORT_STARTED'
17
- | 'DATA_IMPORT_FINISHED'
18
- | 'OWS_PUBLISHING_STARTED'
19
- | 'OWS_PUBLISHING_FINISHED'
20
- | 'METADATA_PUBLISHING_STARTED'
21
- | 'METADATA_PUBLISHING_FINISHED'
22
- | 'OWS_METADATA_UPDATE_STARTED'
23
- | 'OWS_METADATA_UPDATE_FINISHED'
24
- | 'COMPLETED'
25
-
26
- export const PublishStepEnumApiModel = {
27
- Skipped: 'SKIPPED' as PublishStepEnumApiModel,
28
- Scheduled: 'SCHEDULED' as PublishStepEnumApiModel,
29
- DataImportStarted: 'DATA_IMPORT_STARTED' as PublishStepEnumApiModel,
30
- DataImportFinished: 'DATA_IMPORT_FINISHED' as PublishStepEnumApiModel,
31
- OwsPublishingStarted: 'OWS_PUBLISHING_STARTED' as PublishStepEnumApiModel,
32
- OwsPublishingFinished: 'OWS_PUBLISHING_FINISHED' as PublishStepEnumApiModel,
33
- MetadataPublishingStarted:
34
- 'METADATA_PUBLISHING_STARTED' as PublishStepEnumApiModel,
35
- MetadataPublishingFinished:
36
- 'METADATA_PUBLISHING_FINISHED' as PublishStepEnumApiModel,
37
- OwsMetadataUpdateStarted:
38
- 'OWS_METADATA_UPDATE_STARTED' as PublishStepEnumApiModel,
39
- OwsMetadataUpdateFinished:
40
- 'OWS_METADATA_UPDATE_FINISHED' as PublishStepEnumApiModel,
41
- Completed: 'COMPLETED' as PublishStepEnumApiModel,
42
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * DataFeeder API
3
- * This API covers dataset upload and publishing features of the application
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: psc@georchestra.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { AnalysisStatusEnumApiModel } from './analysisStatusEnum.api.model'
13
- import { DatasetUploadStatusApiModel } from './datasetUploadStatus.api.model'
14
-
15
- /**
16
- * Describes the status of processing a dataset upload
17
- */
18
- export interface UploadJobStatusApiModel {
19
- /**
20
- * Identifier for the upload processing job
21
- */
22
- jobId?: string
23
- /**
24
- * Estimated completion progress, from 0 to 1.
25
- */
26
- progress?: number
27
- status?: AnalysisStatusEnumApiModel
28
- /**
29
- * short description of the error that prevents the job to complete successfully
30
- */
31
- error?: string
32
- datasets?: Array<DatasetUploadStatusApiModel>
33
- }
@@ -1,9 +0,0 @@
1
- import { InjectionToken } from '@angular/core'
2
-
3
- export const BASE_PATH = new InjectionToken<string>('basePath')
4
- export const COLLECTION_FORMATS = {
5
- csv: ',',
6
- tsv: ' ',
7
- ssv: ' ',
8
- pipes: '|',
9
- }