geonetwork-ui 2.2.0 → 2.3.0-dev.179fba83

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 (218) hide show
  1. package/esm2022/libs/api/metadata-converter/src/index.mjs +5 -5
  2. package/esm2022/libs/api/metadata-converter/src/lib/base.converter.mjs +14 -0
  3. package/esm2022/libs/api/metadata-converter/src/lib/find-converter.mjs +15 -0
  4. package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +3 -3
  5. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.converter.mjs +52 -0
  6. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +7 -3
  7. package/esm2022/libs/api/metadata-converter/src/lib/gn4/index.mjs +4 -0
  8. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/index.mjs +2 -0
  9. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +123 -0
  10. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +116 -0
  11. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +138 -0
  12. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/index.mjs +2 -0
  13. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +242 -0
  14. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +58 -62
  15. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.mjs +18 -0
  16. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.mjs +14 -0
  17. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/role.mapper.mjs +48 -0
  18. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.mjs +18 -0
  19. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.mjs +64 -0
  20. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +75 -58
  21. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +76 -14
  22. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +4 -4
  23. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  24. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +35 -7
  25. package/esm2022/libs/data-access/gn4/src/openapi/model/models.mjs +1 -2
  26. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +2 -2
  27. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +8 -8
  28. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +6 -2
  29. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +72 -0
  30. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -3
  31. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +12 -7
  32. package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +2 -1
  33. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +52 -25
  34. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +12 -49
  35. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +6 -2
  36. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  37. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
  38. package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +4 -3
  39. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +6 -5
  40. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -1
  41. package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +59 -0
  42. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +183 -0
  43. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +10 -4
  44. package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -0
  45. package/esm2022/libs/util/shared/src/lib/utils/image-resize.mjs +60 -0
  46. package/esm2022/libs/util/shared/src/lib/utils/index.mjs +8 -6
  47. package/esm2022/translations/de.json +12 -0
  48. package/esm2022/translations/en.json +12 -0
  49. package/esm2022/translations/es.json +12 -0
  50. package/esm2022/translations/fr.json +12 -0
  51. package/esm2022/translations/it.json +12 -0
  52. package/esm2022/translations/nl.json +12 -0
  53. package/esm2022/translations/pt.json +12 -0
  54. package/fesm2022/geonetwork-ui.mjs +3910 -2866
  55. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  56. package/libs/api/metadata-converter/src/index.d.ts +4 -4
  57. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  58. package/libs/api/metadata-converter/src/lib/{metadata-base.mapper.d.ts → base.converter.d.ts} +3 -3
  59. package/libs/api/metadata-converter/src/lib/base.converter.d.ts.map +1 -0
  60. package/libs/api/metadata-converter/src/lib/find-converter.d.ts +3 -0
  61. package/libs/api/metadata-converter/src/lib/find-converter.d.ts.map +1 -0
  62. package/libs/api/metadata-converter/src/lib/gn4/{gn4.metadata.mapper.d.ts → gn4.converter.d.ts} +5 -5
  63. package/libs/api/metadata-converter/src/lib/gn4/gn4.converter.d.ts.map +1 -0
  64. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  65. package/libs/api/metadata-converter/src/lib/gn4/index.d.ts +4 -0
  66. package/libs/api/metadata-converter/src/lib/gn4/index.d.ts.map +1 -0
  67. package/libs/api/metadata-converter/src/lib/iso19115-3/index.d.ts +2 -0
  68. package/libs/api/metadata-converter/src/lib/iso19115-3/index.d.ts.map +1 -0
  69. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts +9 -0
  70. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -0
  71. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +20 -0
  72. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -0
  73. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +21 -0
  74. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -0
  75. package/libs/api/metadata-converter/src/lib/iso19139/index.d.ts +2 -0
  76. package/libs/api/metadata-converter/src/lib/iso19139/index.d.ts.map +1 -0
  77. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts +11 -0
  78. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -0
  79. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +34 -6
  80. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  81. package/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.d.ts +8 -0
  82. package/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.d.ts.map +1 -0
  83. package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts.map +1 -0
  84. package/libs/api/metadata-converter/src/lib/iso19139/utils/role.mapper.d.ts.map +1 -0
  85. package/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.d.ts.map +1 -0
  86. package/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.d.ts.map +1 -0
  87. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +39 -3
  88. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  89. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +14 -1
  90. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  91. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +2 -2
  92. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  93. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +6 -4
  94. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  95. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts +9 -5
  96. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  97. package/libs/data-access/gn4/src/openapi/model/models.d.ts +0 -1
  98. package/libs/data-access/gn4/src/openapi/model/models.d.ts.map +1 -1
  99. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  100. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  101. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +23 -0
  102. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -0
  103. package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -1
  104. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  105. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +2 -0
  106. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  107. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +10 -5
  108. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +1 -1
  109. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
  110. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +2 -3
  111. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  112. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  113. package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts +1 -1
  114. package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts.map +1 -1
  115. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +20 -20
  116. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  117. package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts +14 -0
  118. package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts.map +1 -0
  119. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +44 -0
  120. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -0
  121. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +2 -1
  122. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  123. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -0
  124. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -0
  125. package/libs/util/shared/src/lib/utils/image-resize.d.ts +3 -0
  126. package/libs/util/shared/src/lib/utils/image-resize.d.ts.map +1 -0
  127. package/libs/util/shared/src/lib/utils/index.d.ts +7 -5
  128. package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
  129. package/package.json +2 -2
  130. package/src/libs/api/metadata-converter/src/index.ts +4 -4
  131. package/src/libs/api/metadata-converter/src/lib/{metadata-base.mapper.ts → base.converter.ts} +2 -2
  132. package/src/libs/api/metadata-converter/src/lib/find-converter.ts +16 -0
  133. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +32 -5
  134. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +11 -4
  135. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +33 -7
  136. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +580 -0
  137. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +2 -2
  138. package/src/libs/api/metadata-converter/src/lib/gn4/{gn4.metadata.mapper.ts → gn4.converter.ts} +2 -2
  139. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +8 -2
  140. package/src/libs/api/metadata-converter/src/lib/gn4/index.ts +3 -0
  141. package/src/libs/api/metadata-converter/src/lib/iso19115-3/index.ts +1 -0
  142. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +176 -0
  143. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +329 -0
  144. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +513 -0
  145. package/src/libs/api/metadata-converter/src/lib/iso19139/index.ts +1 -0
  146. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +327 -0
  147. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +121 -82
  148. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.ts +20 -0
  149. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +175 -95
  150. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +84 -16
  151. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +2 -2
  152. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +9 -4
  153. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +43 -12
  154. package/src/libs/data-access/gn4/src/openapi/model/models.ts +0 -1
  155. package/src/libs/data-access/gn4/src/spec.yaml +1 -1
  156. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +1 -1
  157. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.css +0 -0
  158. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +8 -0
  159. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +70 -0
  160. package/src/libs/feature/editor/src/lib/services/editor.service.ts +27 -16
  161. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +5 -1
  162. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.css +0 -0
  163. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +36 -0
  164. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +80 -0
  165. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -0
  166. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +8 -0
  167. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +5 -0
  168. package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +10 -3
  169. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +60 -32
  170. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +17 -61
  171. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +5 -1
  172. package/src/libs/ui/elements/src/lib/thumbnail/thumbnail.component.ts +5 -3
  173. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +1 -1
  174. package/src/libs/ui/inputs/src/lib/button/button.component.ts +1 -1
  175. package/src/libs/ui/inputs/src/lib/files-drop/files-drop.directive.ts +45 -0
  176. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +0 -0
  177. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +146 -0
  178. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +193 -0
  179. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -0
  180. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +3 -0
  181. package/src/libs/util/shared/src/lib/utils/image-resize.ts +72 -0
  182. package/src/libs/util/shared/src/lib/utils/index.ts +7 -5
  183. package/translations/de.json +12 -0
  184. package/translations/en.json +12 -0
  185. package/translations/es.json +12 -0
  186. package/translations/fr.json +12 -0
  187. package/translations/it.json +12 -0
  188. package/translations/nl.json +12 -0
  189. package/translations/pt.json +12 -0
  190. package/translations/sk.json +12 -0
  191. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.mjs +0 -52
  192. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/keyword.mapper.mjs +0 -14
  193. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/role.mapper.mjs +0 -48
  194. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/status.mapper.mjs +0 -18
  195. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/update-frequency.mapper.mjs +0 -64
  196. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/converter.mjs +0 -130
  197. package/esm2022/libs/api/metadata-converter/src/lib/metadata-base.mapper.mjs +0 -14
  198. package/esm2022/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.mjs +0 -13
  199. package/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.d.ts.map +0 -1
  200. package/libs/api/metadata-converter/src/lib/iso19139/codelists/keyword.mapper.d.ts.map +0 -1
  201. package/libs/api/metadata-converter/src/lib/iso19139/codelists/role.mapper.d.ts.map +0 -1
  202. package/libs/api/metadata-converter/src/lib/iso19139/codelists/status.mapper.d.ts.map +0 -1
  203. package/libs/api/metadata-converter/src/lib/iso19139/codelists/update-frequency.mapper.d.ts.map +0 -1
  204. package/libs/api/metadata-converter/src/lib/iso19139/converter.d.ts +0 -4
  205. package/libs/api/metadata-converter/src/lib/iso19139/converter.d.ts.map +0 -1
  206. package/libs/api/metadata-converter/src/lib/metadata-base.mapper.d.ts.map +0 -1
  207. package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts +0 -18
  208. package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts.map +0 -1
  209. package/src/libs/api/metadata-converter/src/lib/iso19139/converter.ts +0 -196
  210. package/src/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.ts +0 -18
  211. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/keyword.mapper.d.ts +0 -0
  212. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/role.mapper.d.ts +0 -0
  213. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/status.mapper.d.ts +0 -0
  214. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/update-frequency.mapper.d.ts +0 -0
  215. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/keyword.mapper.ts +0 -0
  216. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/role.mapper.ts +0 -0
  217. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/status.mapper.ts +0 -0
  218. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/update-frequency.mapper.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"map-utils.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/utils/map-utils.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,EAAU,MAAM,EAAW,MAAM,WAAW,CAAA;AACnD,OAAO,OAAO,MAAM,YAAY,CAAA;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,KAAK,MAAM,gBAAgB,CAAA;AAClC,OAAO,GAAG,MAAM,QAAQ,CAAA;AAExB,OAAO,MAAM,MAAM,kBAAkB,CAAA;AAKrC,OAAO,EAAY,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAQ/E,OAAO,EAAQ,UAAU,EAAE,MAAM,MAAM,CAAA;AAEvC,OAAO,EACL,oBAAoB,EAEpB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,kCAAkC,CAAA;AACzC,OAAO,UAAU,MAAM,eAAe,CAAA;AACtC,OAAO,eAAe,MAAM,oBAAoB,CAAA;AAChD,OAAO,EACL,aAAa,EACb,mBAAmB,EACpB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;;AAWrE,qBAGa,eAAe;IACd,OAAO,CAAC,IAAI;IAAc,OAAO,CAAC,KAAK;gBAA/B,IAAI,EAAE,UAAU,EAAU,KAAK,EAAE,YAAY;IAEjE,cAAc,IAAI,GAAG;IAOrB,qBAAqB,sBACA,iBAAiB,0DAGnC,QAAQ,QAAQ,CAAC,EAAE,CAKrB;IAED,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,OAAO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,KAAK,EAAE,uBAAuB,GAC7B,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAyBzB,oBAAoB,CAAC,YAAY,EAAE,UAAU,CAAC,WAAW,CAAC;IAuB1D,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,MAAM;yCA1K5C,eAAe;6CAAf,eAAe;CAwL3B;AAED,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,EACb,KAAK,EAAE,eAAe,CAAC,YAAY,CAAC,WAQrC;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,cAAc,EACpB,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,WAMhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"map-view.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/map-view/map-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,SAAS,EACT,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EAEpB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EAChB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EAAwB,SAAS,EAAE,MAAM,4CAA4C,CAAA;AAE5F,OAAO,OAAO,MAAM,YAAY,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EACL,eAAe,EAIf,UAAU,EAMX,MAAM,MAAM,CAAA;AASb,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAA;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAA;;AAE/F,qBAMa,gBAAiB,YAAW,MAAM,EAAE,SAAS;IAsFtD,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,YAAY;IA3FtB,SAAS,EAAE,SAAS,CAAyB;IAC7C,SAAS,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;IAC5B,OAAO,CAAC,YAAY,CAAqB;IACzC,OAAO,CAAC,cAAc,CAAW;IAEjC,mBAAmB,oCAKlB;IAED,gBAAgB;;;SASf;IACD,kBAAkB,0BAAyB;IAE3C,OAAO,UAAQ;IACf,KAAK,MAAO;IAEZ,aAAa,kCAGiC;IAE9C,cAAc,oBAiBb;IAED,WAAW,8BA+BV;gBAGS,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,kBAAkB,EAC/B,SAAS,EAAE,iBAAiB,EAC5B,YAAY,EAAE,eAAe;IAGvC,WAAW,IAAI,IAAI;IAInB,QAAQ,IAAI,IAAI;IAWhB,kBAAkB,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,GAAG,IAAI;IASvD,cAAc,IAAI,IAAI;IAOtB,gBAAgB,CACd,IAAI,EAAE,mBAAmB,GACxB,UAAU,CAAC,oBAAoB,CAAC;IA4BnC,mBAAmB,CAAC,IAAI,EAAE,MAAM;yCA5JrB,gBAAgB;2CAAhB,gBAAgB;CA+J5B"}
1
+ {"version":3,"file":"map-view.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/map-view/map-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,SAAS,EACT,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EAEpB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EAChB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EAAwB,SAAS,EAAE,MAAM,4CAA4C,CAAA;AAE5F,OAAO,OA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,mBAAmB,CAAC,IAAI,EAAE,MAAM;yCAhKrB,gBAAgB;2CAAhB,gBAAgB;CAmK5B"}
@@ -23,7 +23,7 @@ export declare class ThumbnailComponent implements OnInit, OnChanges {
23
23
  useFallback(): void;
24
24
  setObjectFit(): void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ThumbnailComponent, [{ optional: true; }]>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<ThumbnailComponent, "gn-ui-thumbnail", never, { "thumbnailUrl": { "alias": "thumbnailUrl"; "required": false; }; "fit": { "alias": "fit"; "required": false; }; }, { "placeholderShown": "placeholderShown"; }, never, never, false, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThumbnailComponent, "gn-ui-thumbnail", never, { "thumbnailUrl": { "alias": "thumbnailUrl"; "required": false; }; "fit": { "alias": "fit"; "required": false; }; }, { "placeholderShown": "placeholderShown"; }, never, never, true, never>;
27
27
  }
28
28
  export {};
29
29
  //# sourceMappingURL=thumbnail.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"thumbnail.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/thumbnail/thumbnail.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EAEV,cAAc,EAEd,SAAS,EACT,MAAM,EAEN,aAAa,EAGb,YAAY,EACb,MAAM,eAAe,CAAA;;AAEtB,eAAO,MAAM,qBAAqB,wBAEjC,CAAA;AAUD,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,YAAY,CAAA;AAEpD,qBAKa,kBAAmB,YAAW,MAAM,EAAE,SAAS;IAiBxD,OAAO,CAAC,sBAAsB;IAhBvB,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,GAAG,EAAE,UAAU,GAAG,UAAU,EAAE,CAAU;IACtB,UAAU,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAA;IACpC,gBAAgB,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;IACjE,gBAAgB,wBAA8B;IACxD,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,UAAU,CAAA;IAClB,cAAc,SAAqD;IACnE,IAAI,aAAa,YAEhB;IACD,OAAO,CAAC,MAAM,CAA6B;gBAKjC,sBAAsB,EAAE,MAAM;IAGxC,QAAQ;IAIR,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAOzC,OAAO,CAAC,eAAe;IAqBvB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,cAAc;IAItB,WAAW;IASX,YAAY;yCAvED,kBAAkB;2CAAlB,kBAAkB;CAiF9B"}
1
+ {"version":3,"file":"thumbnail.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/thumbnail/thumbnail.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAEV,cAAc,EAEd,SAAS,EACT,MAAM,EAEN,aAAa,EAGb,YAAY,EACb,MAAM,eAAe,CAAA;;AAEtB,eAAO,MAAM,qBAAqB,wBAEjC,CAAA;AAED,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,YAAY,CAAA;AASpD,qBAOa,kBAAmB,YAAW,MAAM,EAAE,SAAS;IAiBxD,OAAO,CAAC,sBAAsB;IAhBvB,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,GAAG,EAAE,UAAU,GAAG,UAAU,EAAE,CAAU;IACtB,UAAU,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAA;IACpC,gBAAgB,EAAE,UAAU,CAAC,cAAc,CAAC,CAAA;IACjE,gBAAgB,wBAA8B;IACxD,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,UAAU,CAAA;IAClB,cAAc,SAAqD;IACnE,IAAI,aAAa,YAEhB;IACD,OAAO,CAAC,MAAM,CAA6B;gBAKjC,sBAAsB,EAAE,MAAM;IAGxC,QAAQ;IAIR,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAOzC,OAAO,CAAC,eAAe;IAqBvB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,cAAc;IAItB,WAAW;IASX,YAAY;yCAvED,kBAAkB;2CAAlB,kBAAkB;CAiF9B"}
@@ -12,28 +12,28 @@ import * as i10 from "./metadata-quality/metadata-quality.component";
12
12
  import * as i11 from "./metadata-quality-item/metadata-quality-item.component";
13
13
  import * as i12 from "./search-results-error/search-results-error.component";
14
14
  import * as i13 from "./pagination/pagination.component";
15
- import * as i14 from "./thumbnail/thumbnail.component";
16
- import * as i15 from "./avatar/avatar.component";
17
- import * as i16 from "./user-preview/user-preview.component";
18
- import * as i17 from "./metadata-info/linkify.directive";
19
- import * as i18 from "./pagination-buttons/pagination-buttons.component";
20
- import * as i19 from "./max-lines/max-lines.component";
21
- import * as i20 from "./record-api-form/record-api-form.component";
22
- import * as i21 from "./image-overlay-preview/image-overlay-preview.component";
23
- import * as i22 from "@angular/common";
24
- import * as i23 from "@angular/material/icon";
25
- import * as i24 from "@angular/material/tooltip";
26
- import * as i25 from "../../../widgets/src/lib/ui-widgets.module";
27
- import * as i26 from "../../../layout/src/lib/ui-layout.module";
28
- import * as i27 from "@ngx-translate/core";
29
- import * as i28 from "../../../../util/shared/src/lib/util-shared.module";
30
- import * as i29 from "@angular/router";
31
- import * as i30 from "../../../inputs/src/lib/ui-inputs.module";
32
- import * as i31 from "@angular/forms";
33
- import * as i32 from "./markdown-parser/markdown-parser.component";
15
+ import * as i14 from "./avatar/avatar.component";
16
+ import * as i15 from "./user-preview/user-preview.component";
17
+ import * as i16 from "./metadata-info/linkify.directive";
18
+ import * as i17 from "./pagination-buttons/pagination-buttons.component";
19
+ import * as i18 from "./max-lines/max-lines.component";
20
+ import * as i19 from "./record-api-form/record-api-form.component";
21
+ import * as i20 from "./image-overlay-preview/image-overlay-preview.component";
22
+ import * as i21 from "@angular/common";
23
+ import * as i22 from "@angular/material/icon";
24
+ import * as i23 from "@angular/material/tooltip";
25
+ import * as i24 from "../../../widgets/src/lib/ui-widgets.module";
26
+ import * as i25 from "../../../layout/src/lib/ui-layout.module";
27
+ import * as i26 from "@ngx-translate/core";
28
+ import * as i27 from "../../../../util/shared/src/lib/util-shared.module";
29
+ import * as i28 from "@angular/router";
30
+ import * as i29 from "../../../inputs/src/lib/ui-inputs.module";
31
+ import * as i30 from "@angular/forms";
32
+ import * as i31 from "./markdown-parser/markdown-parser.component";
33
+ import * as i32 from "./thumbnail/thumbnail.component";
34
34
  export declare class UiElementsModule {
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<UiElementsModule, never>;
36
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.ThumbnailComponent, typeof i15.AvatarComponent, typeof i16.UserPreviewComponent, typeof i17.GnUiLinkifyDirective, typeof i18.PaginationButtonsComponent, typeof i19.MaxLinesComponent, typeof i20.RecordApiFormComponent, typeof i21.ImageOverlayPreviewComponent], [typeof i22.CommonModule, typeof i23.MatIconModule, typeof i24.MatTooltipModule, typeof i25.UiWidgetsModule, typeof i26.UiLayoutModule, typeof i27.TranslateModule, typeof i28.UtilSharedModule, typeof i29.RouterModule, typeof i30.UiInputsModule, typeof i31.FormsModule, typeof i22.NgOptimizedImage, typeof i32.MarkdownParserComponent], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.ThumbnailComponent, typeof i15.AvatarComponent, typeof i16.UserPreviewComponent, typeof i18.PaginationButtonsComponent, typeof i19.MaxLinesComponent, typeof i20.RecordApiFormComponent, typeof i32.MarkdownParserComponent, typeof i21.ImageOverlayPreviewComponent]>;
36
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.AvatarComponent, typeof i15.UserPreviewComponent, typeof i16.GnUiLinkifyDirective, typeof i17.PaginationButtonsComponent, typeof i18.MaxLinesComponent, typeof i19.RecordApiFormComponent, typeof i20.ImageOverlayPreviewComponent], [typeof i21.CommonModule, typeof i22.MatIconModule, typeof i23.MatTooltipModule, typeof i24.UiWidgetsModule, typeof i25.UiLayoutModule, typeof i26.TranslateModule, typeof i27.UtilSharedModule, typeof i28.RouterModule, typeof i29.UiInputsModule, typeof i30.FormsModule, typeof i21.NgOptimizedImage, typeof i31.MarkdownParserComponent, typeof i32.ThumbnailComponent], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i32.ThumbnailComponent, typeof i14.AvatarComponent, typeof i15.UserPreviewComponent, typeof i17.PaginationButtonsComponent, typeof i18.MaxLinesComponent, typeof i19.RecordApiFormComponent, typeof i31.MarkdownParserComponent, typeof i20.ImageOverlayPreviewComponent]>;
37
37
  static ɵinj: i0.ɵɵInjectorDeclaration<UiElementsModule>;
38
38
  }
39
39
  //# sourceMappingURL=ui-elements.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/button/button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;;AAGtB,qBAOa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAQ;IAExB,IAAa,IAAI,CACf,KAAK,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,EAoBjE;IAEQ,QAAQ,UAAQ;IAChB,UAAU,SAAK;IACd,WAAW,qBAA2B;IAEhD,IAAI,SAAS,WAEZ;IAED,WAAW,CAAC,KAAK,EAAE,KAAK;yCAlCb,eAAe;2CAAf,eAAe;CAuC3B"}
1
+ {"version":3,"file":"button.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/button/button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;;AAGtB,qBAOa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAsB;IAEtC,IAAa,IAAI,CACf,KAAK,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,EAoBjE;IAEQ,QAAQ,UAAQ;IAChB,UAAU,SAAK;IACd,WAAW,qBAA2B;IAEhD,IAAI,SAAS,WAEZ;IAED,WAAW,CAAC,KAAK,EAAE,KAAK;yCAlCb,eAAe;2CAAf,eAAe;CAuC3B"}
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FilesDropDirective {
4
+ dragFilesOver: EventEmitter<boolean>;
5
+ dropFiles: EventEmitter<File[]>;
6
+ dragEnterCounter: number;
7
+ _onDragEnter(event: DragEvent): void;
8
+ _onDragOver(event: DragEvent): void;
9
+ _onDragLeave(event: DragEvent): void;
10
+ _onDrop(event: DragEvent): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilesDropDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FilesDropDirective, "[gnUiFilesDrop]", never, {}, { "dragFilesOver": "dragFilesOver"; "dropFiles": "dropFiles"; }, never, never, true, never>;
13
+ }
14
+ //# sourceMappingURL=files-drop.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files-drop.directive.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/files-drop/files-drop.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,YAAY,EAAE,MAAM,eAAe,CAAA;;AAE7E,qBAIa,kBAAkB;IACnB,aAAa,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IACzD,SAAS,EAAE,YAAY,CAAC,IAAI,EAAE,CAAC,CAAqB;IAE9D,gBAAgB,SAAI;IAGpB,YAAY,CAAC,KAAK,EAAE,SAAS;IAO7B,WAAW,CAAC,KAAK,EAAE,SAAS;IAK5B,YAAY,CAAC,KAAK,EAAE,SAAS;IAS7B,OAAO,CAAC,KAAK,EAAE,SAAS;yCA5Bb,kBAAkB;2CAAlB,kBAAkB;CAsC9B"}
@@ -0,0 +1,44 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ImageInputComponent {
5
+ private http;
6
+ private cd;
7
+ maxSizeMB: number;
8
+ previewUrl?: string;
9
+ altText?: string;
10
+ uploadProgress?: number;
11
+ uploadError?: boolean;
12
+ fileChange: EventEmitter<File>;
13
+ urlChange: EventEmitter<string>;
14
+ uploadCancel: EventEmitter<void>;
15
+ delete: EventEmitter<void>;
16
+ altTextChange: EventEmitter<string>;
17
+ dragFilesOver: boolean;
18
+ showUrlInput: boolean;
19
+ downloadError: boolean;
20
+ showAltTextInput: boolean;
21
+ urlInputValue?: string;
22
+ lastUploadType?: 'file' | 'url';
23
+ lastUploadContent?: string | File;
24
+ constructor(http: HttpClient, cd: ChangeDetectorRef);
25
+ getPrimaryText(): "input.image.uploadErrorLabel" | "input.image.uploadProgressLabel" | "input.image.selectFileLabel";
26
+ getSecondaryText(): "input.image.uploadErrorRetry" | "input.image.uploadProgressCancel" | "input.image.dropFileLabel";
27
+ handleDragFilesOver(dragFilesOver: boolean): void;
28
+ handleDropFiles(files: File[]): void;
29
+ handleFileInput(event: Event): void;
30
+ displayUrlInput(): void;
31
+ handleUrlChange(event: Event): void;
32
+ downloadUrl(): Promise<void>;
33
+ handleSecondaryTextClick(): void;
34
+ handleCancel(): void;
35
+ handleRetry(): void;
36
+ handleDelete(): void;
37
+ toggleAltTextInput(): void;
38
+ handleAltTextChange(event: Event): void;
39
+ private filterTypeImage;
40
+ private resizeAndEmit;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageInputComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageInputComponent, "gn-ui-image-input", never, { "maxSizeMB": { "alias": "maxSizeMB"; "required": false; }; "previewUrl": { "alias": "previewUrl"; "required": false; }; "altText": { "alias": "altText"; "required": false; }; "uploadProgress": { "alias": "uploadProgress"; "required": false; }; "uploadError": { "alias": "uploadError"; "required": false; }; }, { "fileChange": "fileChange"; "urlChange": "urlChange"; "uploadCancel": "uploadCancel"; "delete": "delete"; "altTextChange": "altTextChange"; }, never, never, true, never>;
43
+ }
44
+ //# sourceMappingURL=image-input.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/image-input/image-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MA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mB;2CAAnB,mBAAmB;CA8J/B"}
@@ -40,9 +40,10 @@ import * as i38 from "@angular/material/core";
40
40
  import * as i39 from "./editable-label/editable-label.directive";
41
41
  import * as i40 from "./text-area/text-area.component";
42
42
  import * as i41 from "./button/button.component";
43
+ import * as i42 from "./image-input/image-input.component";
43
44
  export declare class UiInputsModule {
44
45
  static ɵfac: i0.ɵɵFactoryDeclaration<UiInputsModule, never>;
45
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.TextInputComponent, typeof i4.DragAndDropFileInputComponent, typeof i5.ChipsInputComponent, typeof i6.NavigationButtonComponent, typeof i7.StarToggleComponent, typeof i8.DropdownMultiselectComponent, typeof i9.ViewportIntersectorComponent, typeof i10.FormFieldComponent, typeof i11.FormFieldSimpleComponent, typeof i12.FormFieldArrayComponent, typeof i13.FormFieldObjectComponent, typeof i14.FormFieldRichComponent, typeof i15.FormFieldFileComponent, typeof i16.FormFieldSpatialExtentComponent, typeof i17.FormFieldTemporalExtentComponent, typeof i18.CheckToggleComponent, typeof i19.CopyTextButtonComponent, typeof i20.CheckboxComponent, typeof i21.SearchInputComponent, typeof i22.DateRangePickerComponent], [typeof i23.CommonModule, typeof i24.TranslateModule, typeof i25.NgxDropzoneModule, typeof i26.FormsModule, typeof i26.ReactiveFormsModule, typeof i27.TagInputModule, typeof i28.UtilSharedModule, typeof i29.MatAutocompleteModule, typeof i30.MatIconModule, typeof i31.UiWidgetsModule, typeof i32.OverlayModule, typeof i33.MatCheckboxModule, typeof i34.MatTooltipModule, typeof i35.MatFormFieldModule, typeof i36.MatInputModule, typeof i37.MatDatepickerModule, typeof i38.MatNativeDateModule, typeof i39.EditableLabelDirective, typeof i40.TextAreaComponent, typeof i41.ButtonComponent], [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i41.ButtonComponent, typeof i3.TextInputComponent, typeof i4.DragAndDropFileInputComponent, typeof i40.TextAreaComponent, typeof i5.ChipsInputComponent, typeof i6.NavigationButtonComponent, typeof i7.StarToggleComponent, typeof i8.DropdownMultiselectComponent, typeof i9.ViewportIntersectorComponent, typeof i10.FormFieldComponent, typeof i18.CheckToggleComponent, typeof i19.CopyTextButtonComponent, typeof i20.CheckboxComponent, typeof i21.SearchInputComponent, typeof i22.DateRangePickerComponent, typeof i39.EditableLabelDirective]>;
46
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.TextInputComponent, typeof i4.DragAndDropFileInputComponent, typeof i5.ChipsInputComponent, typeof i6.NavigationButtonComponent, typeof i7.StarToggleComponent, typeof i8.DropdownMultiselectComponent, typeof i9.ViewportIntersectorComponent, typeof i10.FormFieldComponent, typeof i11.FormFieldSimpleComponent, typeof i12.FormFieldArrayComponent, typeof i13.FormFieldObjectComponent, typeof i14.FormFieldRichComponent, typeof i15.FormFieldFileComponent, typeof i16.FormFieldSpatialExtentComponent, typeof i17.FormFieldTemporalExtentComponent, typeof i18.CheckToggleComponent, typeof i19.CopyTextButtonComponent, typeof i20.CheckboxComponent, typeof i21.SearchInputComponent, typeof i22.DateRangePickerComponent], [typeof i23.CommonModule, typeof i24.TranslateModule, typeof i25.NgxDropzoneModule, typeof i26.FormsModule, typeof i26.ReactiveFormsModule, typeof i27.TagInputModule, typeof i28.UtilSharedModule, typeof i29.MatAutocompleteModule, typeof i30.MatIconModule, typeof i31.UiWidgetsModule, typeof i32.OverlayModule, typeof i33.MatCheckboxModule, typeof i34.MatTooltipModule, typeof i35.MatFormFieldModule, typeof i36.MatInputModule, typeof i37.MatDatepickerModule, typeof i38.MatNativeDateModule, typeof i39.EditableLabelDirective, typeof i40.TextAreaComponent, typeof i41.ButtonComponent, typeof i42.ImageInputComponent], [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i41.ButtonComponent, typeof i3.TextInputComponent, typeof i4.DragAndDropFileInputComponent, typeof i40.TextAreaComponent, typeof i5.ChipsInputComponent, typeof i6.NavigationButtonComponent, typeof i7.StarToggleComponent, typeof i8.DropdownMultiselectComponent, typeof i9.ViewportIntersectorComponent, typeof i10.FormFieldComponent, typeof i18.CheckToggleComponent, typeof i19.CopyTextButtonComponent, typeof i20.CheckboxComponent, typeof i21.SearchInputComponent, typeof i22.DateRangePickerComponent, typeof i39.EditableLabelDirective, typeof i42.ImageInputComponent]>;
46
47
  static ɵinj: i0.ɵɵInjectorDeclaration<UiInputsModule>;
47
48
  }
48
49
  //# sourceMappingURL=ui-inputs.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,qBAoEa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
1
+ {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CA,qBAsEa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -0,0 +1,2 @@
1
+ export declare function megabytesToBytes(megabytes: any): number;
2
+ //# sourceMappingURL=bytes-convert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bytes-convert.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/bytes-convert.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,SAAS,KAAA,UAEzC"}
@@ -0,0 +1,3 @@
1
+ export declare function downsizeImage(blob: Blob, maxWidth: number, maxHeight: number): Promise<Blob>;
2
+ export declare function downgradeImage(blob: Blob, maxSizeBytes: number): Promise<Blob>;
3
+ //# sourceMappingURL=image-resize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-resize.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/image-resize.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAC3B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CA6Bf;AAED,wBAAgB,cAAc,CAC5B,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CAiCf"}
@@ -1,10 +1,12 @@
1
+ export * from './bytes-convert';
2
+ export * from './event';
3
+ export * from './fuzzy-filter';
4
+ export * from './geojson';
5
+ export * from './image-resize';
1
6
  export * from './parse';
2
- export * from './strip-html';
3
7
  export * from './remove-whitespace';
4
- export * from './geojson';
5
8
  export * from './sort-by';
6
- export * from './url';
7
- export * from './event';
8
- export * from './fuzzy-filter';
9
+ export * from './strip-html';
9
10
  export * from './temporal-extent-union';
11
+ export * from './url';
10
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA;AACvC,cAAc,OAAO,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.2.0",
3
+ "version": "2.3.0-dev.179fba83",
4
4
  "engines": {
5
5
  "node": ">=14.17.0"
6
6
  },
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
50
- "@camptocamp/ogc-client": "^0.4.0",
50
+ "@camptocamp/ogc-client": "^1.1.0-RC.3",
51
51
  "@geospatial-sdk/geocoding": "^0.0.5-alpha.2",
52
52
  "@ltd/j-toml": "~1.35.2",
53
53
  "@messageformat/core": "^3.0.1",
@@ -1,4 +1,4 @@
1
- export * from './lib/iso19139/converter'
2
- export * from './lib/gn4/gn4.metadata.mapper'
3
- export * from './lib/gn4/atomic-operations'
4
- export * from './lib/gn4/types'
1
+ export * from './lib/iso19139'
2
+ export * from './lib/iso19115-3'
3
+ export * from './lib/find-converter'
4
+ export * from './lib/gn4'
@@ -7,13 +7,13 @@ export class MetadataMapperContext {
7
7
  readonly location?
8
8
  }
9
9
 
10
- export abstract class MetadataBaseMapper<F> {
10
+ export abstract class BaseConverter<F> {
11
11
  constructor(
12
12
  protected ctx: MetadataMapperContext = new MetadataMapperContext()
13
13
  ) {}
14
14
 
15
15
  abstract readRecord(document: F): Promise<CatalogRecord>
16
- abstract writeRecord(record: CatalogRecord): Promise<F>
16
+ abstract writeRecord(record: CatalogRecord, reference?: F): Promise<F>
17
17
  readRecords(documents: F[]): Promise<CatalogRecord[]> {
18
18
  return Promise.all(documents.map((doc) => this.readRecord(doc)))
19
19
  }
@@ -0,0 +1,16 @@
1
+ import { Iso19139Converter } from './iso19139'
2
+ import { BaseConverter } from './base.converter'
3
+ import { Iso191153Converter } from './iso19115-3'
4
+
5
+ export function findConverterForDocument(
6
+ document: string
7
+ ): BaseConverter<string> {
8
+ if (document.indexOf('mdb:MD_Metadata') > 0) {
9
+ return new Iso191153Converter()
10
+ } else if (document.indexOf('gmd:MD_Metadata') > 0) {
11
+ return new Iso19139Converter()
12
+ } else {
13
+ throw new Error(`No suitable converter found for the following document:
14
+ ${document.substring(0, 400)}...`)
15
+ }
16
+ }
@@ -10,6 +10,21 @@ export const GENERIC_DATASET_RECORD: DatasetRecord = {
10
10
  description: 'A generic organization',
11
11
  },
12
12
  contacts: [
13
+ {
14
+ email: 'bob@org.net',
15
+ role: 'point_of_contact',
16
+ organization: {
17
+ name: 'MyOrganization',
18
+ website: new URL('https://www.my.org/info'),
19
+ logoUrl: new URL('https://www.my.org/logo.png'),
20
+ description: 'A generic organization',
21
+ },
22
+ firstName: 'Bob',
23
+ lastName: 'TheGreat',
24
+ position: 'developer',
25
+ },
26
+ ],
27
+ contactsForResource: [
13
28
  {
14
29
  email: 'bob@org.net',
15
30
  role: 'author',
@@ -32,14 +47,26 @@ export const GENERIC_DATASET_RECORD: DatasetRecord = {
32
47
  },
33
48
  position: 'manager',
34
49
  },
50
+ {
51
+ email: 'bill@org2.com',
52
+ role: 'distributor',
53
+ organization: {
54
+ name: 'Another Organization',
55
+ website: new URL('https://www.another.org/docs'),
56
+ },
57
+ position: 'randomWorker',
58
+ address: '123 rue des moulins, 10808 Montargis, FR',
59
+ phone: '+11234567890',
60
+ lastName: 'TheDistributor',
61
+ firstName: 'Bill',
62
+ },
35
63
  ],
36
- contactsForResource: [],
37
64
  status: 'ongoing',
38
- recordCreated: new Date('2022-02-01T15:12:00'),
39
- recordPublished: new Date('2022-02-01T15:12:00'),
65
+ recordCreated: new Date('2021-11-15T09:00:00'),
66
+ recordPublished: new Date('2022-01-01T10:00:00'),
40
67
  recordUpdated: new Date('2022-02-01T15:12:00'),
41
- datasetCreated: new Date('2022-09-01T14:18:19'),
42
- datasetUpdated: new Date('2022-12-04T15:12:00'),
68
+ resourceCreated: new Date('2022-09-01T14:18:19'),
69
+ resourceUpdated: new Date('2022-12-04T15:12:00'),
43
70
  title: 'A very interesting dataset (un jeu de données très intéressant)',
44
71
  abstract: `# Introduction
45
72
  This dataset has been established for testing purposes.
@@ -16,11 +16,18 @@ export const GEO2FRANCE_PLU_DATASET_RECORD: DatasetRecord = {
16
16
  },
17
17
  },
18
18
  ],
19
- contactsForResource: [],
20
- recordCreated: new Date('2022-04-15T14:18:19'),
21
- recordPublished: new Date('2022-04-15T14:18:19'),
19
+ contactsForResource: [
20
+ {
21
+ email: 'sig@agglo-compiegne.fr',
22
+ role: 'point_of_contact',
23
+ organization: {
24
+ name: 'GeoCompiegnois',
25
+ },
26
+ },
27
+ ],
22
28
  recordUpdated: new Date('2022-04-15T14:18:19'),
23
- datasetUpdated: new Date('2022-03-29'),
29
+ resourcePublished: new Date('2022-05-01'),
30
+ resourceUpdated: new Date('2022-03-29'),
24
31
  title:
25
32
  "Plan local d'urbanisme (PLU) dématérialisé - commune d'Avrigny - approbation du 29/03/2022",
26
33
  // data revision: 2022-03-29 ???
@@ -13,6 +13,17 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
13
13
  {
14
14
  email: 'rolf.giezendanner@are.admin.ch',
15
15
  role: 'point_of_contact',
16
+ address: 'Ittigen, 3063, CH',
17
+ organization: {
18
+ name: 'Bundesamt für Raumentwicklung',
19
+ },
20
+ },
21
+ ],
22
+ contactsForResource: [
23
+ {
24
+ email: 'rolf.giezendanner@are.admin.ch',
25
+ role: 'point_of_contact',
26
+ address: 'Ittigen, 3063, CH',
16
27
  organization: {
17
28
  name: 'Bundesamt für Raumentwicklung',
18
29
  },
@@ -25,12 +36,9 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
25
36
  },
26
37
  },
27
38
  ],
28
- contactsForResource: [],
29
- recordCreated: new Date('2022-02-22T19:40:06'),
30
- recordPublished: new Date('2022-02-22T19:40:06'),
31
39
  recordUpdated: new Date('2022-02-22T19:40:06'),
32
- datasetCreated: new Date('1999-01-01T00:00:00'),
33
- datasetUpdated: new Date('2009-01-01'),
40
+ resourceCreated: new Date('1999-01-01T00:00:00'),
41
+ resourceUpdated: new Date('2009-01-01'),
34
42
  title: 'Alpenkonvention',
35
43
  abstract: `Perimeter der Alpenkonvention in der Schweiz. Die Alpenkonvention ist ein völkerrechtlicher Vertrag zwischen den acht Alpenländern Deutschland, Frankreich, Italien, Liechtenstein, Monaco, Österreich, Schweiz, Slowenien sowie der Europäischen Union. Das Ziel des Übereinkommens ist der Schutz der Alpen durch eine sektorübergreifende, ganzheitliche und nachhaltige Politik.`,
36
44
  overviews: [],
@@ -339,9 +347,25 @@ export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
339
347
  website: new URL('https://www.sg.ch/bauen/geoinformation/datenbezug.html'),
340
348
  },
341
349
  contacts: [
350
+ {
351
+ email: 'geodaten@sg.ch',
352
+ role: 'resource_provider',
353
+ phone: '+41(0)58 229 31 47',
354
+ address: 'St. Gallen, 9001, CH',
355
+ organization: {
356
+ name: 'Amt für Raumentwicklung und Geoinformation (SG)',
357
+ website: new URL(
358
+ 'https://www.sg.ch/bauen/geoinformation/datenbezug.html'
359
+ ),
360
+ },
361
+ },
362
+ ],
363
+ contactsForResource: [
342
364
  {
343
365
  email: 'geodaten@sg.ch',
344
366
  role: 'other',
367
+ phone: '+41(0)58 229 31 47',
368
+ address: 'St. Gallen, 9001, CH',
345
369
  organization: {
346
370
  name: 'Amt für Raumentwicklung und Geoinformation (SG)',
347
371
  website: new URL(
@@ -352,6 +376,8 @@ export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
352
376
  {
353
377
  email: 'geodaten@sg.ch',
354
378
  role: 'publisher',
379
+ phone: '+41(0)58 229 31 47',
380
+ address: 'St. Gallen, 9001, CH',
355
381
  organization: {
356
382
  name: 'Amt für Raumentwicklung und Geoinformation (SG)',
357
383
  website: new URL(
@@ -360,9 +386,9 @@ export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
360
386
  },
361
387
  },
362
388
  ],
363
- recordCreated: new Date('2022-03-07T01:15:51+01:00'),
364
- recordPublished: new Date('2022-03-07T01:15:51+01:00'),
365
389
  recordUpdated: new Date('2022-03-07T01:15:51+01:00'),
390
+ resourceCreated: new Date('2021-09-15'),
391
+ resourceUpdated: new Date('2021-09-17'),
366
392
  title: 'Verkehrsregelungsanlagen (WMS)',
367
393
  abstract: `Diese Karte beinhaltet die Verkehrsregelungsanlagen des Kantons St.Gallen.`,
368
394
  overviews: [