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,55 +0,0 @@
1
- import { ChangeDetectorRef, Component, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- export class StepBarComponent {
5
- constructor(cdr) {
6
- this.cdr = cdr;
7
- this.currentStep = 1;
8
- this.type = 'default';
9
- }
10
- get stepCounter() {
11
- return new Array(this.steps);
12
- }
13
- get color() {
14
- switch (this.type) {
15
- case 'default':
16
- return {
17
- outerBar: 'bg-gray-200',
18
- innerBar: 'bg-gray-100',
19
- };
20
- case 'primary':
21
- return {
22
- outerBar: 'bg-primary',
23
- innerBar: 'bg-primary-lighter',
24
- };
25
- case 'secondary':
26
- return {
27
- outerBar: 'bg-secondary',
28
- innerBar: 'bg-secondary-lighter',
29
- };
30
- }
31
- }
32
- getCircleColor(index) {
33
- return index === this.currentStep
34
- ? 'bg-black'
35
- : index < this.currentStep
36
- ? 'bg-white'
37
- : this.color.innerBar;
38
- }
39
- getChecked(index) {
40
- return index + 1 < this.currentStep;
41
- }
42
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StepBarComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
43
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: StepBarComponent, selector: "gn-ui-step-bar", inputs: { steps: "steps", currentStep: "currentStep", type: "type" }, ngImport: i0, template: "<div class=\"relative flex flex-col justify-center\">\n <div class=\"flex justify-between ml-16 mr-16 z-10 circle-steps\">\n <div\n *ngFor=\"let step of stepCounter; let i = index\"\n class=\"shadow-md rounded-full h-6 w-6 {{ getCircleColor(i + 1) }}\"\n >\n <span class=\"icon-check pl-1\" *ngIf=\"getChecked(i)\"></span>\n </div>\n </div>\n <div\n class=\"absolute rounded-lg right-0 w-full {{ color.outerBar }} h-2 z-0\"\n ></div>\n</div>\n", styles: [".icon-check{color:var(--color-primary)}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
44
- }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StepBarComponent, decorators: [{
46
- type: Component,
47
- args: [{ selector: 'gn-ui-step-bar', template: "<div class=\"relative flex flex-col justify-center\">\n <div class=\"flex justify-between ml-16 mr-16 z-10 circle-steps\">\n <div\n *ngFor=\"let step of stepCounter; let i = index\"\n class=\"shadow-md rounded-full h-6 w-6 {{ getCircleColor(i + 1) }}\"\n >\n <span class=\"icon-check pl-1\" *ngIf=\"getChecked(i)\"></span>\n </div>\n </div>\n <div\n class=\"absolute rounded-lg right-0 w-full {{ color.outerBar }} h-2 z-0\"\n ></div>\n</div>\n", styles: [".icon-check{color:var(--color-primary)}\n"] }]
48
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { steps: [{
49
- type: Input
50
- }], currentStep: [{
51
- type: Input
52
- }], type: [{
53
- type: Input
54
- }] } });
55
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RlcC1iYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy91aS93aWRnZXRzL3NyYy9saWIvc3RlcC1iYXIvc3RlcC1iYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy91aS93aWRnZXRzL3NyYy9saWIvc3RlcC1iYXIvc3RlcC1iYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUE7OztBQVluRSxNQUFNLE9BQU8sZ0JBQWdCO0lBSzNCL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IlxuICAgICAgY2xhc3M9XCJzaGFkb3ctbWQgcm91bmRlZC1mdWxsIGgtNiB3LTYge3sgZ2V0Q2lyY2xlQ29sb3IoaSArIDEpIH19XCJcbiAgICA+XG4gICAgICA8c3BhbiBjbGFzcz1cImljb24tY2hlY2sgcGwtMVwiICpuZ0lmPVwiZ2V0Q2hlY2tlZChpKVwiPjwvc3Bhbj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIDxkaXZcbiAgICBjbGFzcz1cImFic29sdXRlIHJvdW5kZWQtbGcgcmlnaHQtMCB3LWZ1bGwge3sgY29sb3Iub3V0ZXJCYXIgfX0gaC0yIHotMFwiXG4gID48L2Rpdj5cbjwvZGl2PlxuIl19
@@ -1,29 +0,0 @@
1
- import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
2
- import { MatSort } from '@angular/material/sort';
3
- import { TableVirtualScrollDataSource } from 'ng-table-virtual-scroll';
4
- import * as i0 from "@angular/core";
5
- export type TableItemId = string | number;
6
- type TableItemType = string | number | Date;
7
- export interface TableItemModel {
8
- id: TableItemId;
9
- [key: string]: TableItemType;
10
- }
11
- export declare class TableComponent implements AfterViewInit {
12
- private eltRef;
13
- set data(value: TableItemModel[]);
14
- activeId: TableItemId;
15
- selected: EventEmitter<any>;
16
- sort: MatSort;
17
- properties: string[];
18
- dataSource: TableVirtualScrollDataSource<any>;
19
- headerHeight: number;
20
- count: number;
21
- constructor(eltRef: ElementRef);
22
- ngAfterViewInit(): void;
23
- scrollToItem(itemId: TableItemId): void;
24
- getRowEltId(id: TableItemId): string;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "gn-ui-table", never, { "data": { "alias": "data"; "required": false; }; "activeId": { "alias": "activeId"; "required": false; }; }, { "selected": "selected"; }, never, never, true, never>;
27
- }
28
- export {};
29
- //# sourceMappingURL=table.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/dataviz/src/lib/table/table.component.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EAGb,UAAU,EACV,YAAY,EAIb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,OAAO,EAAiB,MAAM,wBAAwB,CAAA;AAE/D,OAAO,EACL,4BAA4B,EAE7B,MAAM,yBAAyB,CAAA;;AAKhC,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,CAAA;AACzC,KAAK,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;AAE3C,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,WAAW,CAAA;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;CAC7B;AAED,qBAea,cAAe,YAAW,aAAa;IAiBtC,OAAO,CAAC,MAAM;IAhB1B,IAAa,IAAI,CAAC,KAAK,EAAE,cAAc,EAAE,EAMxC;IACQ,QAAQ,EAAE,WAAW,CAAA;IACpB,QAAQ,oBAA0B;IAEN,IAAI,EAAE,OAAO,CAAA;IACnD,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,UAAU,EAAE,4BAA4B,CAAC,GAAG,CAAC,CAAA;IAC7C,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;gBAEO,MAAM,EAAE,UAAU;IAEtC,eAAe;IAKf,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;IAOhC,WAAW,CAAC,EAAE,EAAE,WAAW,GAAG,MAAM;yCA/BhC,cAAc;2CAAd,cAAc;CAkC1B"}
@@ -1,11 +0,0 @@
1
- export declare const tableItemFixture: () => {
2
- name: string;
3
- id: string;
4
- age: number;
5
- }[];
6
- export declare const someHabTableItemFixture: () => {
7
- name: string;
8
- id: string;
9
- pop: number;
10
- }[];
11
- //# sourceMappingURL=table.fixtures.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table.fixtures.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/dataviz/src/lib/table/table.fixtures.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;GAgB5B,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;GAqBnC,CAAA"}
@@ -1,33 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { OnDestroy, OnInit } from '@angular/core';
3
- import { TranslateService } from '@ngx-translate/core';
4
- import { Observable, Subject } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export interface Items {
7
- display: string;
8
- value: string;
9
- }
10
- export declare class ChipsInputComponent implements OnInit, OnDestroy {
11
- private http;
12
- private translate;
13
- url: (text: any) => string;
14
- placeholder: string;
15
- selectedItems: Items[];
16
- required: boolean;
17
- loadOnce: boolean;
18
- autocompleteItems: Items[];
19
- itemsChange: Observable<Items[]>;
20
- private subscription;
21
- invalid: boolean;
22
- rawChange: Subject<Items[]>;
23
- items: Items[];
24
- loadedItems: Observable<Items[]>;
25
- onChange(event: any): void;
26
- requestAutocompleteItems: (text: string) => Observable<any>;
27
- constructor(http: HttpClient, translate: TranslateService);
28
- ngOnInit(): void;
29
- ngOnDestroy(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<ChipsInputComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<ChipsInputComponent, "gn-ui-chips-input", never, { "url": { "alias": "url"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "required": { "alias": "required"; "required": false; }; "loadOnce": { "alias": "loadOnce"; "required": false; }; "autocompleteItems": { "alias": "autocompleteItems"; "required": false; }; }, { "itemsChange": "itemsChange"; }, never, never, false, never>;
32
- }
33
- //# sourceMappingURL=chips-input.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chips-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/chips-input/chips-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAA;AAE3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,UAAU,EAAM,OAAO,EAAgB,MAAM,MAAM,CAAA;;AAG5D,MAAM,WAAW,KAAK;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd;AAED,qBAKa,mBAAoB,YAAW,MAAM,EAAE,SAAS;IAwCzD,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,SAAS;IAxCV,GAAG,EAAE,CAAC,IAAI,KAAA,KAAK,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,KAAK,EAAE,CAAA;IACtB,QAAQ,UAAQ;IAChB,QAAQ,UAAQ;IAChB,iBAAiB,EAAE,KAAK,EAAE,CAAK;IAC9B,WAAW,EAAE,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA;IAE1C,OAAO,CAAC,YAAY,CAAc;IAElC,OAAO,UAAQ;IAEf,SAAS,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAA;IAE3B,KAAK,EAAE,KAAK,EAAE,CAAK;IAEnB,WAAW,EAAE,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA;IAEhC,QAAQ,CAAC,KAAK,KAAA;IAId,wBAAwB,SAAU,MAAM,KAAG,UAAU,CAAC,GAAG,CAAC,CAczD;gBAGS,IAAI,EAAE,UAAU,EAChB,SAAS,EAAE,gBAAgB;IAOrC,QAAQ,IAAI,IAAI;IAYhB,WAAW;yCA5DA,mBAAmB;2CAAnB,mBAAmB;CA+D/B"}
@@ -1,21 +0,0 @@
1
- import { ChangeDetectorRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- interface ColorScheme {
4
- outerBar: string;
5
- innerBar: string;
6
- }
7
- export declare class StepBarComponent {
8
- private cdr;
9
- steps: any;
10
- currentStep: number;
11
- type: 'primary' | 'secondary' | 'default';
12
- constructor(cdr: ChangeDetectorRef);
13
- get stepCounter(): any[];
14
- get color(): ColorScheme;
15
- getCircleColor(index: number): string;
16
- getChecked(index: number): boolean;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<StepBarComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<StepBarComponent, "gn-ui-step-bar", never, { "steps": { "alias": "steps"; "required": false; }; "currentStep": { "alias": "currentStep"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
19
- }
20
- export {};
21
- //# sourceMappingURL=step-bar.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"step-bar.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/step-bar/step-bar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAoB,MAAM,eAAe,CAAA;;AAEnE,UAAU,WAAW;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,qBAKa,gBAAgB;IAKf,OAAO,CAAC,GAAG;IAJd,KAAK,MAAA;IACL,WAAW,SAAI;IACf,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAY;gBAE1C,GAAG,EAAE,iBAAiB;IAE1C,IAAI,WAAW,UAEd;IAED,IAAI,KAAK,IAAI,WAAW,CAkBvB;IAED,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAQrC,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;yCAvCvB,gBAAgB;2CAAhB,gBAAgB;CA0C5B"}
@@ -1 +0,0 @@
1
- export * from './openapi/'
@@ -1,11 +0,0 @@
1
- export * from './config.api.service'
2
- import { ConfigApiService } from './config.api.service'
3
- export * from './dataPublishing.api.service'
4
- import { DataPublishingApiService } from './dataPublishing.api.service'
5
- export * from './fileUpload.api.service'
6
- import { FileUploadApiService } from './fileUpload.api.service'
7
- export const APIS = [
8
- ConfigApiService,
9
- DataPublishingApiService,
10
- FileUploadApiService,
11
- ]
@@ -1,168 +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
- /* tslint:disable:no-unused-variable member-ordering */
13
-
14
- import { Inject, Injectable, Optional } from '@angular/core'
15
- import {
16
- HttpClient,
17
- HttpHeaders,
18
- HttpParams,
19
- HttpResponse,
20
- HttpEvent,
21
- HttpParameterCodec,
22
- } from '@angular/common/http'
23
- import { CustomHttpParameterCodec } from '../encoder'
24
- import { Observable } from 'rxjs'
25
-
26
- import { BASE_PATH, COLLECTION_FORMATS } from '../variables'
27
- import { Configuration } from '../configuration'
28
-
29
- @Injectable({
30
- providedIn: 'root',
31
- })
32
- export class ConfigApiService {
33
- protected basePath = 'https://localhost:8080'
34
- public defaultHeaders = new HttpHeaders()
35
- public configuration = new Configuration()
36
- public encoder: HttpParameterCodec
37
-
38
- constructor(
39
- protected httpClient: HttpClient,
40
- @Optional() @Inject(BASE_PATH) basePath: string,
41
- @Optional() configuration: Configuration
42
- ) {
43
- if (configuration) {
44
- this.configuration = configuration
45
- }
46
- if (typeof this.configuration.basePath !== 'string') {
47
- if (typeof basePath !== 'string') {
48
- basePath = this.basePath
49
- }
50
- this.configuration.basePath = basePath
51
- }
52
- this.encoder = this.configuration.encoder || new CustomHttpParameterCodec()
53
- }
54
-
55
- private addToHttpParams(
56
- httpParams: HttpParams,
57
- value: any,
58
- key?: string
59
- ): HttpParams {
60
- if (typeof value === 'object' && value instanceof Date === false) {
61
- httpParams = this.addToHttpParamsRecursive(httpParams, value)
62
- } else {
63
- httpParams = this.addToHttpParamsRecursive(httpParams, value, key)
64
- }
65
- return httpParams
66
- }
67
-
68
- private addToHttpParamsRecursive(
69
- httpParams: HttpParams,
70
- value?: any,
71
- key?: string
72
- ): HttpParams {
73
- if (value == null) {
74
- return httpParams
75
- }
76
-
77
- if (typeof value === 'object') {
78
- if (Array.isArray(value)) {
79
- ;(value as any[]).forEach(
80
- (elem) =>
81
- (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key))
82
- )
83
- } else if (value instanceof Date) {
84
- if (key != null) {
85
- httpParams = httpParams.append(
86
- key,
87
- (value as Date).toISOString().substr(0, 10)
88
- )
89
- } else {
90
- throw Error('key may not be null if value is Date')
91
- }
92
- } else {
93
- Object.keys(value).forEach(
94
- (k) =>
95
- (httpParams = this.addToHttpParamsRecursive(
96
- httpParams,
97
- value[k],
98
- key != null ? `${key}.${k}` : k
99
- ))
100
- )
101
- }
102
- } else if (key != null) {
103
- httpParams = httpParams.append(key, value)
104
- } else {
105
- throw Error('key may not be null if value is not object or array')
106
- }
107
- return httpParams
108
- }
109
-
110
- /**
111
- * Get the front-end application configuration object
112
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
113
- * @param reportProgress flag to report request and response progress.
114
- */
115
- public getFrontendConfig(
116
- observe?: 'body',
117
- reportProgress?: boolean,
118
- options?: { httpHeaderAccept?: 'application/json' }
119
- ): Observable<object>
120
- public getFrontendConfig(
121
- observe?: 'response',
122
- reportProgress?: boolean,
123
- options?: { httpHeaderAccept?: 'application/json' }
124
- ): Observable<HttpResponse<object>>
125
- public getFrontendConfig(
126
- observe?: 'events',
127
- reportProgress?: boolean,
128
- options?: { httpHeaderAccept?: 'application/json' }
129
- ): Observable<HttpEvent<object>>
130
- public getFrontendConfig(
131
- observe: any = 'body',
132
- reportProgress: boolean = false,
133
- options?: { httpHeaderAccept?: 'application/json' }
134
- ): Observable<any> {
135
- let headers = this.defaultHeaders
136
-
137
- let httpHeaderAcceptSelected: string | undefined =
138
- options && options.httpHeaderAccept
139
- if (httpHeaderAcceptSelected === undefined) {
140
- // to determine the Accept header
141
- const httpHeaderAccepts: string[] = ['application/json']
142
- httpHeaderAcceptSelected =
143
- this.configuration.selectHeaderAccept(httpHeaderAccepts)
144
- }
145
- if (httpHeaderAcceptSelected !== undefined) {
146
- headers = headers.set('Accept', httpHeaderAcceptSelected)
147
- }
148
-
149
- let responseType_: 'text' | 'json' = 'json'
150
- if (
151
- httpHeaderAcceptSelected &&
152
- httpHeaderAcceptSelected.startsWith('text')
153
- ) {
154
- responseType_ = 'text'
155
- }
156
-
157
- return this.httpClient.get<object>(
158
- `${this.configuration.basePath}/config/frontend`,
159
- {
160
- responseType: <any>responseType_,
161
- withCredentials: this.configuration.withCredentials,
162
- headers: headers,
163
- observe: observe,
164
- reportProgress: reportProgress,
165
- }
166
- )
167
- }
168
- }
@@ -1,270 +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
- /* tslint:disable:no-unused-variable member-ordering */
13
-
14
- import { Inject, Injectable, Optional } from '@angular/core'
15
- import {
16
- HttpClient,
17
- HttpHeaders,
18
- HttpParams,
19
- HttpResponse,
20
- HttpEvent,
21
- HttpParameterCodec,
22
- } from '@angular/common/http'
23
- import { CustomHttpParameterCodec } from '../encoder'
24
- import { Observable } from 'rxjs'
25
-
26
- import { PublishJobStatusApiModel } from '../model/models'
27
- import { PublishRequestApiModel } from '../model/models'
28
-
29
- import { BASE_PATH, COLLECTION_FORMATS } from '../variables'
30
- import { Configuration } from '../configuration'
31
-
32
- @Injectable({
33
- providedIn: 'root',
34
- })
35
- export class DataPublishingApiService {
36
- protected basePath = 'https://localhost:8080'
37
- public defaultHeaders = new HttpHeaders()
38
- public configuration = new Configuration()
39
- public encoder: HttpParameterCodec
40
-
41
- constructor(
42
- protected httpClient: HttpClient,
43
- @Optional() @Inject(BASE_PATH) basePath: string,
44
- @Optional() configuration: Configuration
45
- ) {
46
- if (configuration) {
47
- this.configuration = configuration
48
- }
49
- if (typeof this.configuration.basePath !== 'string') {
50
- if (typeof basePath !== 'string') {
51
- basePath = this.basePath
52
- }
53
- this.configuration.basePath = basePath
54
- }
55
- this.encoder = this.configuration.encoder || new CustomHttpParameterCodec()
56
- }
57
-
58
- private addToHttpParams(
59
- httpParams: HttpParams,
60
- value: any,
61
- key?: string
62
- ): HttpParams {
63
- if (typeof value === 'object' && value instanceof Date === false) {
64
- httpParams = this.addToHttpParamsRecursive(httpParams, value)
65
- } else {
66
- httpParams = this.addToHttpParamsRecursive(httpParams, value, key)
67
- }
68
- return httpParams
69
- }
70
-
71
- private addToHttpParamsRecursive(
72
- httpParams: HttpParams,
73
- value?: any,
74
- key?: string
75
- ): HttpParams {
76
- if (value == null) {
77
- return httpParams
78
- }
79
-
80
- if (typeof value === 'object') {
81
- if (Array.isArray(value)) {
82
- ;(value as any[]).forEach(
83
- (elem) =>
84
- (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key))
85
- )
86
- } else if (value instanceof Date) {
87
- if (key != null) {
88
- httpParams = httpParams.append(
89
- key,
90
- (value as Date).toISOString().substr(0, 10)
91
- )
92
- } else {
93
- throw Error('key may not be null if value is Date')
94
- }
95
- } else {
96
- Object.keys(value).forEach(
97
- (k) =>
98
- (httpParams = this.addToHttpParamsRecursive(
99
- httpParams,
100
- value[k],
101
- key != null ? `${key}.${k}` : k
102
- ))
103
- )
104
- }
105
- } else if (key != null) {
106
- httpParams = httpParams.append(key, value)
107
- } else {
108
- throw Error('key may not be null if value is not object or array')
109
- }
110
- return httpParams
111
- }
112
-
113
- /**
114
- * Poll the publishing staus of the given job
115
- * @param jobId Unique job identifier
116
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
117
- * @param reportProgress flag to report request and response progress.
118
- */
119
- public getPublishingStatus(
120
- jobId: string,
121
- observe?: 'body',
122
- reportProgress?: boolean,
123
- options?: { httpHeaderAccept?: 'application/json' }
124
- ): Observable<PublishJobStatusApiModel>
125
- public getPublishingStatus(
126
- jobId: string,
127
- observe?: 'response',
128
- reportProgress?: boolean,
129
- options?: { httpHeaderAccept?: 'application/json' }
130
- ): Observable<HttpResponse<PublishJobStatusApiModel>>
131
- public getPublishingStatus(
132
- jobId: string,
133
- observe?: 'events',
134
- reportProgress?: boolean,
135
- options?: { httpHeaderAccept?: 'application/json' }
136
- ): Observable<HttpEvent<PublishJobStatusApiModel>>
137
- public getPublishingStatus(
138
- jobId: string,
139
- observe: any = 'body',
140
- reportProgress: boolean = false,
141
- options?: { httpHeaderAccept?: 'application/json' }
142
- ): Observable<any> {
143
- if (jobId === null || jobId === undefined) {
144
- throw new Error(
145
- 'Required parameter jobId was null or undefined when calling getPublishingStatus.'
146
- )
147
- }
148
-
149
- let headers = this.defaultHeaders
150
-
151
- let httpHeaderAcceptSelected: string | undefined =
152
- options && options.httpHeaderAccept
153
- if (httpHeaderAcceptSelected === undefined) {
154
- // to determine the Accept header
155
- const httpHeaderAccepts: string[] = ['application/json']
156
- httpHeaderAcceptSelected =
157
- this.configuration.selectHeaderAccept(httpHeaderAccepts)
158
- }
159
- if (httpHeaderAcceptSelected !== undefined) {
160
- headers = headers.set('Accept', httpHeaderAcceptSelected)
161
- }
162
-
163
- let responseType_: 'text' | 'json' = 'json'
164
- if (
165
- httpHeaderAcceptSelected &&
166
- httpHeaderAcceptSelected.startsWith('text')
167
- ) {
168
- responseType_ = 'text'
169
- }
170
-
171
- return this.httpClient.get<PublishJobStatusApiModel>(
172
- `${this.configuration.basePath}/upload/${encodeURIComponent(
173
- String(jobId)
174
- )}/publish`,
175
- {
176
- responseType: <any>responseType_,
177
- withCredentials: this.configuration.withCredentials,
178
- headers: headers,
179
- observe: observe,
180
- reportProgress: reportProgress,
181
- }
182
- )
183
- }
184
-
185
- /**
186
- * Publish the dataset(s) from the given upload
187
- * @param jobId Unique job identifier
188
- * @param publishRequestApiModel
189
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
190
- * @param reportProgress flag to report request and response progress.
191
- */
192
- public publish(
193
- jobId: string,
194
- publishRequestApiModel?: PublishRequestApiModel,
195
- observe?: 'body',
196
- reportProgress?: boolean,
197
- options?: { httpHeaderAccept?: 'application/json' }
198
- ): Observable<PublishJobStatusApiModel>
199
- public publish(
200
- jobId: string,
201
- publishRequestApiModel?: PublishRequestApiModel,
202
- observe?: 'response',
203
- reportProgress?: boolean,
204
- options?: { httpHeaderAccept?: 'application/json' }
205
- ): Observable<HttpResponse<PublishJobStatusApiModel>>
206
- public publish(
207
- jobId: string,
208
- publishRequestApiModel?: PublishRequestApiModel,
209
- observe?: 'events',
210
- reportProgress?: boolean,
211
- options?: { httpHeaderAccept?: 'application/json' }
212
- ): Observable<HttpEvent<PublishJobStatusApiModel>>
213
- public publish(
214
- jobId: string,
215
- publishRequestApiModel?: PublishRequestApiModel,
216
- observe: any = 'body',
217
- reportProgress: boolean = false,
218
- options?: { httpHeaderAccept?: 'application/json' }
219
- ): Observable<any> {
220
- if (jobId === null || jobId === undefined) {
221
- throw new Error(
222
- 'Required parameter jobId was null or undefined when calling publish.'
223
- )
224
- }
225
-
226
- let headers = this.defaultHeaders
227
-
228
- let httpHeaderAcceptSelected: string | undefined =
229
- options && options.httpHeaderAccept
230
- if (httpHeaderAcceptSelected === undefined) {
231
- // to determine the Accept header
232
- const httpHeaderAccepts: string[] = ['application/json']
233
- httpHeaderAcceptSelected =
234
- this.configuration.selectHeaderAccept(httpHeaderAccepts)
235
- }
236
- if (httpHeaderAcceptSelected !== undefined) {
237
- headers = headers.set('Accept', httpHeaderAcceptSelected)
238
- }
239
-
240
- // to determine the Content-Type header
241
- const consumes: string[] = ['application/json']
242
- const httpContentTypeSelected: string | undefined =
243
- this.configuration.selectHeaderContentType(consumes)
244
- if (httpContentTypeSelected !== undefined) {
245
- headers = headers.set('Content-Type', httpContentTypeSelected)
246
- }
247
-
248
- let responseType_: 'text' | 'json' = 'json'
249
- if (
250
- httpHeaderAcceptSelected &&
251
- httpHeaderAcceptSelected.startsWith('text')
252
- ) {
253
- responseType_ = 'text'
254
- }
255
-
256
- return this.httpClient.post<PublishJobStatusApiModel>(
257
- `${this.configuration.basePath}/upload/${encodeURIComponent(
258
- String(jobId)
259
- )}/publish`,
260
- publishRequestApiModel,
261
- {
262
- responseType: <any>responseType_,
263
- withCredentials: this.configuration.withCredentials,
264
- headers: headers,
265
- observe: observe,
266
- reportProgress: reportProgress,
267
- }
268
- )
269
- }
270
- }