geonetwork-ui 2.6.0-dev.3e7617888 → 2.6.0-dev.492bf4497

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 (196) hide show
  1. package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +2 -1
  3. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +5 -2
  4. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  5. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +45 -9
  6. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +2 -2
  7. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +32 -2
  8. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +25 -6
  9. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  10. package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +18 -0
  11. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +3 -3
  12. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +3 -3
  13. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +6 -3
  14. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +33 -7
  15. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +11 -13
  16. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +5 -3
  17. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +11 -6
  18. package/esm2022/libs/ui/elements/src/index.mjs +2 -1
  19. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
  20. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +3 -3
  21. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +18 -7
  22. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  23. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +3 -3
  24. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +3 -3
  25. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +3 -3
  26. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
  27. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +3 -3
  28. package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +51 -0
  29. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +3 -3
  30. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +1 -1
  31. package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
  32. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
  33. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +3 -3
  34. package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +68 -0
  35. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +3 -3
  36. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +2 -8
  37. package/esm2022/libs/ui/layout/src/index.mjs +2 -1
  38. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +48 -11
  39. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
  40. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +34 -13
  41. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +3 -3
  42. package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
  43. package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +107 -0
  44. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +4 -12
  45. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +29 -4
  46. package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +2 -1
  47. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
  48. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +4 -1
  49. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +4 -1
  50. package/esm2022/translations/de.json +15 -4
  51. package/esm2022/translations/en.json +17 -4
  52. package/esm2022/translations/es.json +15 -4
  53. package/esm2022/translations/fr.json +18 -5
  54. package/esm2022/translations/it.json +15 -4
  55. package/esm2022/translations/nl.json +15 -4
  56. package/esm2022/translations/pt.json +15 -4
  57. package/fesm2022/geonetwork-ui.mjs +655 -155
  58. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  59. package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
  60. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  61. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  62. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +4 -1
  63. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  64. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +12 -8
  65. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  66. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -0
  67. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  68. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +5 -2
  69. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  70. package/libs/feature/editor/src/index.d.ts +1 -0
  71. package/libs/feature/editor/src/index.d.ts.map +1 -1
  72. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +7 -0
  73. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -0
  74. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -1
  75. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  76. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  77. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +26 -21
  78. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  79. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +2 -1
  80. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts.map +1 -1
  81. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +6 -1
  82. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
  83. package/libs/ui/elements/src/index.d.ts +1 -0
  84. package/libs/ui/elements/src/index.d.ts.map +1 -1
  85. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +1 -1
  86. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  87. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
  88. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  89. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +1 -1
  90. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  91. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +16 -0
  92. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -0
  93. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  94. package/libs/ui/inputs/src/index.d.ts +1 -0
  95. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  96. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  97. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  98. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts +17 -0
  99. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -0
  100. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  101. package/libs/ui/layout/src/index.d.ts +1 -0
  102. package/libs/ui/layout/src/index.d.ts.map +1 -1
  103. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +9 -2
  104. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
  105. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +15 -8
  106. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
  107. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +27 -0
  108. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -0
  109. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  110. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +6 -2
  111. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  112. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -1
  113. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  114. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  115. package/package.json +2 -2
  116. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  117. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +1 -0
  118. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +4 -1
  119. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +9 -2
  120. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +10 -0
  121. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +14 -0
  122. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +12 -9
  123. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +54 -10
  124. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +37 -0
  125. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -0
  126. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +27 -1
  127. package/src/libs/feature/editor/src/index.ts +1 -0
  128. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.css +0 -0
  129. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +14 -0
  130. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +15 -0
  131. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +16 -10
  132. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
  133. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +2 -2
  134. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +1 -0
  135. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +25 -16
  136. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +35 -4
  137. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +18 -15
  138. package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +2 -1
  139. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -3
  140. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +5 -4
  141. package/src/libs/ui/elements/src/index.ts +1 -0
  142. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +4 -4
  143. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +8 -5
  144. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +2 -2
  145. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +38 -7
  146. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +29 -2
  147. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  148. package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +5 -2
  149. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -7
  150. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +3 -5
  151. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +12 -9
  152. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +1 -1
  153. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +11 -3
  154. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +2 -3
  155. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +48 -0
  156. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +52 -0
  157. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +1 -1
  158. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -1
  159. package/src/libs/ui/inputs/src/index.ts +1 -0
  160. package/src/libs/ui/inputs/src/lib/button/button.component.ts +2 -2
  161. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -1
  162. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.css +0 -0
  163. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.html +43 -0
  164. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +77 -0
  165. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +2 -2
  166. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
  167. package/src/libs/ui/layout/src/index.ts +1 -0
  168. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +22 -0
  169. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -2
  170. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +43 -5
  171. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -1
  172. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
  173. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +24 -8
  174. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +36 -10
  175. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -1
  176. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +17 -5
  177. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
  178. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +44 -0
  179. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +130 -0
  180. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +1 -5
  181. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +3 -3
  182. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +27 -3
  183. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts +1 -0
  184. package/src/libs/ui/search/src/lib/results-list/results-list.component.html +1 -0
  185. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +3 -0
  186. package/src/libs/util/shared/src/lib/links/link-utils.ts +3 -0
  187. package/tailwind.base.config.js +3 -0
  188. package/tailwind.base.css +1 -13
  189. package/translations/de.json +15 -4
  190. package/translations/en.json +17 -4
  191. package/translations/es.json +15 -4
  192. package/translations/fr.json +18 -5
  193. package/translations/it.json +15 -4
  194. package/translations/nl.json +15 -4
  195. package/translations/pt.json +15 -4
  196. package/translations/sk.json +15 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-feature-catalog.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,eAAe,CAAA;AAItE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2DAA2D,CAAA;;AAOjG,qBAaa,6BAA6B;IACxC,OAAO,CAAC,eAAe,CAAuB;IAC9C,UAAU,EAAE,GAAG,CAAA;IACf,IAAa,cAAc,CAAC,KAAK,EAAE,qBAAqB,EAGvD;IACD,IAAI,cAAc,IAAI,qBAAqB,CAE1C;IAES,4BAA4B,sCACK;IAC3C,sBAAsB,EAAE,qBAAqB,CAAA;IAE7C,YAAY,eAAgB,MAAM,KAAG,IAAI,CAuBxC;IAED,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,IAAI,eAAe,IAAI,MAAM,CAO5B;yCAnDU,6BAA6B;2CAA7B,6BAA6B;CAoDzC"}
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,qBA2Da,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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,qBAwDa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -16,4 +16,5 @@ export * from './lib/pagination-dots/pagination-dots.component';
16
16
  export * from './lib/previous-next-buttons/previous-next-buttons.component';
17
17
  export * from './lib/paginable.interface';
18
18
  export * from './lib/ui-layout.module';
19
+ export * from './lib/truncated-text/truncated-text.component';
19
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,iEAAiE,CAAA;AAC/E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qCAAqC,CAAA;AACnD,cAAc,qFAAqF,CAAA;AACnG,cAAc,qDAAqD,CAAA;AACnE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uCAAuC,CAAA;AACrD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,2CAA2C,CAAA;AACzD,cAAc,uCAAuC,CAAA;AACrD,cAAc,uDAAuD,CAAA;AACrE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,2BAA2B,CAAA;AACzC,cAAc,wBAAwB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,iEAAiE,CAAA;AAC/E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qCAAqC,CAAA;AACnD,cAAc,qFAAqF,CAAA;AACnG,cAAc,qDAAqD,CAAA;AACnE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uCAAuC,CAAA;AACrD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,2CAA2C,CAAA;AACzD,cAAc,uCAAuC,CAAA;AACrD,cAAc,uDAAuD,CAAA;AACrE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,2BAA2B,CAAA;AACzC,cAAc,wBAAwB,CAAA;AACtC,cAAc,+CAA+C,CAAA"}
@@ -1,6 +1,7 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, QueryList } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, QueryList } from '@angular/core';
2
2
  import { Paginable } from '../paginable.interface';
3
3
  import * as i0 from "@angular/core";
4
+ type ComponentSize = 'L' | 'M' | 'S' | 'XS';
4
5
  export declare class BlockListComponent implements AfterViewInit, Paginable {
5
6
  private changeDetector;
6
7
  pageSize: number;
@@ -9,6 +10,8 @@ export declare class BlockListComponent implements AfterViewInit, Paginable {
9
10
  blocks: QueryList<ElementRef<HTMLElement>>;
10
11
  blockContainer: ElementRef<HTMLElement>;
11
12
  protected minHeight: number;
13
+ listChanges: EventEmitter<BlockListComponent>;
14
+ subComponentSize: ComponentSize;
12
15
  protected currentPage_: number;
13
16
  protected get pages(): number[];
14
17
  get isFirstPage(): boolean;
@@ -18,10 +21,14 @@ export declare class BlockListComponent implements AfterViewInit, Paginable {
18
21
  constructor(changeDetector: ChangeDetectorRef);
19
22
  ngAfterViewInit(): void;
20
23
  protected refreshBlocksVisibility: () => void;
24
+ protected updateSizes(): void;
25
+ protected computeSubComponentSize(): ComponentSize;
26
+ protected computePageSize(): number;
21
27
  goToPage(pageIndex: number): void;
22
28
  goToPrevPage(): void;
23
29
  goToNextPage(): void;
24
30
  static ɵfac: i0.ɵɵFactoryDeclaration<BlockListComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<BlockListComponent, "gn-ui-block-list", never, { "pageSize": { "alias": "pageSize"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "paginationContainerClass": { "alias": "paginationContainerClass"; "required": false; }; }, {}, ["blocks"], ["*"], true, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlockListComponent, "gn-ui-block-list", never, { "containerClass": { "alias": "containerClass"; "required": false; }; "paginationContainerClass": { "alias": "paginationContainerClass"; "required": false; }; }, { "listChanges": "listChanges"; }, ["blocks"], ["*"], true, never>;
26
32
  }
33
+ export {};
27
34
  //# sourceMappingURL=block-list.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"block-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/block-list/block-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAGjB,UAAU,EAEV,SAAS,EAEV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;;AAGlD,qBAQa,kBAAmB,YAAW,aAAa,EAAE,SAAS;IA6BrD,OAAO,CAAC,cAAc;IA5BzB,QAAQ,SAAI;IACZ,cAAc,SAAK;IACnB,wBAAwB,SAA6B;IACd,MAAM,EAAE,SAAS,CAC/D,UAAU,CAAC,WAAW,CAAC,CACxB,CAAA;IAC4B,cAAc,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAEpE,SAAS,CAAC,SAAS,SAAI;IAEvB,SAAS,CAAC,YAAY,SAAI;IAC1B,SAAS,KAAK,KAAK,aAElB;IAED,IAAI,WAAW,YAEd;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,WAEb;IACD,IAAI,WAAW,WAEd;gBAEmB,cAAc,EAAE,iBAAiB;IAErD,eAAe;IASf,SAAS,CAAC,uBAAuB,aAQhC;IAGM,QAAQ,CAAC,SAAS,EAAE,MAAM;IAS1B,YAAY;IAKZ,YAAY;yCAjER,kBAAkB;2CAAlB,kBAAkB;CAqE9B"}
1
+ {"version":3,"file":"block-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/block-list/block-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAGjB,UAAU,EACV,YAAY,EAGZ,SAAS,EAEV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;;AAGlD,KAAK,aAAa,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAA;AAC3C,qBAQa,kBAAmB,YAAW,aAAa,EAAE,SAAS;IA8BrD,OAAO,CAAC,cAAc;IA7BlC,QAAQ,SAAI;IACH,cAAc,SAAK;IACnB,wBAAwB,SAA6B;IACd,MAAM,EAAE,SAAS,CAC/D,UAAU,CAAC,WAAW,CAAC,CACxB,CAAA;IAC4B,cAAc,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IACpE,SAAS,CAAC,SAAS,SAAI;IACb,WAAW,mCAAyC;IAC9D,gBAAgB,EAAE,aAAa,CAAM;IAErC,SAAS,CAAC,YAAY,SAAI;IAC1B,SAAS,KAAK,KAAK,aAElB;IAED,IAAI,WAAW,YAEd;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,WAEb;IACD,IAAI,WAAW,WAEd;gBAEmB,cAAc,EAAE,iBAAiB;IAErD,eAAe;IAiBf,SAAS,CAAC,uBAAuB,aAQhC;IAED,SAAS,CAAC,WAAW;IAKrB,SAAS,CAAC,uBAAuB,IAAI,aAAa;IASlD,SAAS,CAAC,eAAe,IAAI,MAAM;IAa5B,QAAQ,CAAC,SAAS,EAAE,MAAM;IAS1B,YAAY;IAKZ,YAAY;yCApGR,kBAAkB;2CAAlB,kBAAkB;CAwG9B"}
@@ -1,13 +1,20 @@
1
- import { ElementRef } from '@angular/core';
1
+ import { ElementRef, TemplateRef, OnDestroy, ChangeDetectorRef, AfterViewInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class ExpandablePanelComponent {
4
- title: string;
5
- collapsed: boolean;
6
- contentDiv: ElementRef;
7
- maxHeight: string;
3
+ export declare class ExpandablePanelComponent implements AfterViewInit, OnDestroy {
4
+ private readonly changeDetector;
5
+ title?: string;
6
+ iconColor?: string;
7
+ titleTemplate?: TemplateRef<HTMLElement>;
8
+ contentDiv?: ElementRef;
9
+ private _collapsed;
10
+ private contentObserver?;
11
+ constructor(changeDetector: ChangeDetectorRef);
12
+ ngAfterViewInit(): void;
13
+ set collapsed(value: boolean);
14
+ get collapsed(): boolean;
8
15
  toggle(): void;
9
- setMaxHeight(): string;
16
+ ngOnDestroy(): void;
10
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ExpandablePanelComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<ExpandablePanelComponent, "gn-ui-expandable-panel", never, { "title": { "alias": "title"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, {}, never, ["*"], true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExpandablePanelComponent, "gn-ui-expandable-panel", never, { "title": { "alias": "title"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, {}, ["titleTemplate"], ["*"], true, never>;
12
19
  }
13
20
  //# sourceMappingURL=expandable-panel.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expandable-panel.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EAGX,MAAM,eAAe,CAAA;;AAKtB,qBASa,wBAAwB;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,UAAO;IACA,UAAU,EAAE,UAAU,CAAA;IAC/C,SAAS,SAAsB;IAE/B,MAAM,IAAI,IAAI;IAKd,YAAY;yCAXD,wBAAwB;2CAAxB,wBAAwB;CAgBpC"}
1
+ {"version":3,"file":"expandable-panel.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,UAAU,EAEV,WAAW,EAEX,SAAS,EACT,iBAAiB,EACjB,aAAa,EACd,MAAM,eAAe,CAAA;;AAKtB,qBASa,wBAAyB,YAAW,aAAa,EAAE,SAAS;IAS3D,OAAO,CAAC,QAAQ,CAAC,cAAc;IARlC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,SAAK;IACO,aAAa,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAA;IAC9C,UAAU,CAAC,EAAE,UAAU,CAAA;IAEhD,OAAO,CAAC,UAAU,CAAO;IACzB,OAAO,CAAC,eAAe,CAAC,CAAgB;gBAEX,cAAc,EAAE,iBAAiB;IAE9D,eAAe;IASf,IAAa,SAAS,CAAC,KAAK,EAAE,OAAO,EAEpC;IAED,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,MAAM,IAAI,IAAI;IAId,WAAW;yCAhCA,wBAAwB;2CAAxB,wBAAwB;CAqCpC"}
@@ -0,0 +1,27 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, NgZone } from '@angular/core';
2
+ import { ViewportRuler, ConnectedPosition } from '@angular/cdk/overlay';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TruncatedTextComponent implements AfterViewInit, OnDestroy {
5
+ private readonly cd;
6
+ private readonly ngZone;
7
+ private readonly viewportRuler;
8
+ text: string;
9
+ extraClass: string;
10
+ textElement: ElementRef<HTMLElement>;
11
+ isTextTruncated: boolean;
12
+ isOpen: boolean;
13
+ overlayPosition: ConnectedPosition;
14
+ private readonly resizeObserver;
15
+ private readonly mutationObserver;
16
+ private readonly viewportSubscription;
17
+ constructor(cd: ChangeDetectorRef, ngZone: NgZone, viewportRuler: ViewportRuler);
18
+ ngAfterViewInit(): void;
19
+ ngOnDestroy(): void;
20
+ toggleOverlay(): void;
21
+ private updateOverlayPosition;
22
+ close(): void;
23
+ private checkTextTruncation;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruncatedTextComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<TruncatedTextComponent, "gn-ui-truncated-text", never, { "text": { "alias": "text"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; }, {}, never, never, true, never>;
26
+ }
27
+ //# sourceMappingURL=truncated-text.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"truncated-text.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,iBAAiB,EAEjB,UAAU,EAEV,SAAS,EAET,MAAM,EACP,MAAM,eAAe,CAAA;AAMtB,OAAO,EAEL,aAAa,EACb,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;;AAI7B,qBAea,sBAAuB,YAAW,aAAa,EAAE,SAAS;IAkBnE,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAnBvB,IAAI,SAAK;IACT,UAAU,SAAK;IAEE,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAC9D,eAAe,UAAQ;IACvB,MAAM,UAAQ;IACd,eAAe,EAAE,iBAAiB,CAKjC;IACD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgB;IAC/C,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAkB;IACnD,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAc;gBAGhC,EAAE,EAAE,iBAAiB,EACrB,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa;IAoB/C,eAAe;IAWf,WAAW;IAOX,aAAa;IAOb,OAAO,CAAC,qBAAqB;IAgB7B,KAAK;IAIL,OAAO,CAAC,mBAAmB;yCArFhB,sBAAsB;2CAAtB,sBAAsB;CA2FlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ui-layout.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/layout/src/lib/ui-layout.module.ts"],"names":[],"mappings":";;;;;;AAOA,qBAUa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
1
+ {"version":3,"file":"ui-layout.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/layout/src/lib/ui-layout.module.ts"],"names":[],"mappings":";;;;;;AAOA,qBAMa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -1,9 +1,13 @@
1
1
  import type { Feature } from 'geojson';
2
+ import { DatasetFeatureCatalog } from '../../../../../../../libs/common/domain/src/lib/model/record';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class FeatureDetailComponent {
4
5
  feature: Feature;
5
- get properties(): string[];
6
+ _featureAttributes: any[];
7
+ set featureCatalog(value: DatasetFeatureCatalog);
8
+ get properties(): {};
9
+ setProperties(): {};
6
10
  static ɵfac: i0.ɵɵFactoryDeclaration<FeatureDetailComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<FeatureDetailComponent, "gn-ui-feature-detail", never, { "feature": { "alias": "feature"; "required": false; }; }, {}, never, never, true, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<FeatureDetailComponent, "gn-ui-feature-detail", never, { "feature": { "alias": "feature"; "required": false; }; "featureCatalog": { "alias": "featureCatalog"; "required": false; }; }, {}, never, never, true, never>;
8
12
  }
9
13
  //# sourceMappingURL=feature-detail.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-detail.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;;AAItC,qBAQa,sBAAsB;IACxB,OAAO,EAAE,OAAO,CAAA;IAEzB,IAAI,UAAU,aAKb;yCARU,sBAAsB;2CAAtB,sBAAsB;CASlC"}
1
+ {"version":3,"file":"feature-detail.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8DAA8D,CAAA;;AAIpG,qBAQa,sBAAsB;IACxB,OAAO,EAAE,OAAO,CAAA;IACzB,kBAAkB,QAAK;IACvB,IAAa,cAAc,CAAC,KAAK,EAAE,qBAAqB,EAEvD;IAED,IAAI,UAAU,OAGb;IAED,aAAa;yCAZF,sBAAsB;2CAAtB,sBAAsB;CAgClC"}
@@ -1 +1 @@
1
- {"version":3,"file":"spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAGlC,OAAO,EAEL,UAAU,EAEX,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAElD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8DAA8D,CAAA;;AAEnG,qBAOa,sBAAsB;IACjC,IAAa,cAAc,CAAC,KAAK,EAAE,oBAAoB,EAAE,EAExD;IACD,eAAe,0CAAkD;IACjE,WAAW,EAAE,UAAU,CAAC,UAAU,CAAC,CAwClC;IAED,KAAK,SAAK;IAEV,oBAAoB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,QAAQ;yCAjD3D,sBAAsB;2CAAtB,sBAAsB;CA8DlC"}
1
+ {"version":3,"file":"spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAGlC,OAAO,EAEL,UAAU,EAEX,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAElD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8DAA8D,CAAA;;AAEnG,qBAOa,sBAAsB;IACjC,IAAa,cAAc,CAAC,KAAK,EAAE,oBAAoB,EAAE,EAExD;IACD,eAAe,0CAAkD;IACjE,WAAW,EAAE,UAAU,CAAC,UAAU,CAAC,CAyClC;IAED,KAAK,SAAK;IAEV,oBAAoB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,QAAQ;yCAlD3D,sBAAsB;2CAAtB,sBAAsB;CA+DlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"link-classifier.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-classifier.service.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;;AAGlE,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,OAAO,WAAW;IAClB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,YAAY,gBAAgB;IAC5B,OAAO,YAAY;CACpB;AAED,qBAGa,qBAAqB;IAChC,gBAAgB,CACd,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,SAAS,EAAE;IAuCd,QAAQ,CACN,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,EACnD,KAAK,EAAE,SAAS;yCA5CP,qBAAqB;6CAArB,qBAAqB;CAgDjC"}
1
+ {"version":3,"file":"link-classifier.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-classifier.service.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;;AAGlE,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,OAAO,WAAW;IAClB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,YAAY,gBAAgB;IAC5B,OAAO,YAAY;CACpB;AAED,qBAGa,qBAAqB;IAChC,gBAAgB,CACd,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,SAAS,EAAE;IA0Cd,QAAQ,CACN,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,EACnD,KAAK,EAAE,SAAS;yCA/CP,qBAAqB;6CAArB,qBAAqB;CAmDjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"link-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EAChB,MAAM,2DAA2D,CAAA;AAUlE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHV,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAA;AAE7C,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAUhE;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,MAAM,CAER;AAED,wBAAgB,8BAA8B,CAC5C,aAAa,EAAE,MAAM,GACpB,UAAU,GAAG,IAAI,CAgBnB;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,UAAU,CAcZ;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,EACnD,KAAK,EAAE,MAAM,GACZ,OAAO,CAQT;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAO7D;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,EACnD,MAAM,EAAE,UAAU,GACjB,OAAO,CAQT;AAED,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAQ5D;AAED,wBAAgB,YAAY,CAC1B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,MAAM,CA0BR;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe;;;;;;8JAmC5E;AAED,wBAAgB,eAAe,CAAC,SAAS,KAAA,SAUxC;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAEtE"}
1
+ {"version":3,"file":"link-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EAChB,MAAM,2DAA2D,CAAA;AAUlE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHV,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAA;AAE7C,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAUhE;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,MAAM,CAER;AAED,wBAAgB,8BAA8B,CAC5C,aAAa,EAAE,MAAM,GACpB,UAAU,GAAG,IAAI,CAgBnB;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,UAAU,CAcZ;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,EACnD,KAAK,EAAE,MAAM,GACZ,OAAO,CAQT;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAO7D;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,EACnD,MAAM,EAAE,UAAU,GACjB,OAAO,CAQT;AAED,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAQ5D;AAED,wBAAgB,YAAY,CAC1B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,MAAM,CA6BR;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe;;;;;;8JAmC5E;AAED,wBAAgB,eAAe,CAAC,SAAS,KAAA,SAUxC;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAEtE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.6.0-dev.3e7617888",
3
+ "version": "2.6.0-dev.492bf4497",
4
4
  "engines": {
5
5
  "node": ">=20"
6
6
  },
@@ -62,7 +62,7 @@
62
62
  "@nx/angular": "20.2.2",
63
63
  "@rgrove/parse-xml": "4.2.0",
64
64
  "alasql": "4.6.0",
65
- "axios": "1.7.9",
65
+ "axios": "1.8.2",
66
66
  "basiclightbox": "^5.0.4",
67
67
  "chart.js": "4.4.7",
68
68
  "chroma-js": "3.1.2",
@@ -4,6 +4,7 @@ export function matchProtocol(protocol: string): ServiceProtocol {
4
4
  if (/wms/i.test(protocol)) return 'wms'
5
5
  if (/wfs/i.test(protocol)) return 'wfs'
6
6
  if (/wmts/i.test(protocol)) return 'wmts'
7
+ if (/tms/i.test(protocol)) return 'tms'
7
8
  if (/wps/i.test(protocol)) return 'wps'
8
9
  if (/ogc\W*api\W*features/i.test(protocol)) return 'ogcFeatures'
9
10
  if (/esri/i.test(protocol)) return 'esriRest'
@@ -430,6 +430,7 @@ export class Gn4FieldMapper {
430
430
  /^OGC:WMS/.test(protocol) ||
431
431
  /^OGC:WFS/.test(protocol) ||
432
432
  /^OGC:WMTS/.test(protocol) ||
433
+ /TMS/i.test(protocol) ||
433
434
  /ogc\W*api\W*features/i.test(protocol) ||
434
435
  (/^WWW:DOWNLOAD-/.test(protocol) && /data.geopf.fr/.test(url)) // TO DO : change with the good protocol when decided
435
436
  ) {
@@ -152,7 +152,9 @@ export class Gn4Repository implements RecordsRepositoryInterface {
152
152
  attributes: Array.isArray(featureType.attributeTable)
153
153
  ? featureType.attributeTable.map((attr) => ({
154
154
  name: attr.name,
155
+ code: attr.code,
155
156
  title: attr.definition,
157
+ type: attr.type,
156
158
  }))
157
159
  : [],
158
160
  })),
@@ -164,7 +166,8 @@ export class Gn4Repository implements RecordsRepositoryInterface {
164
166
  ): Observable<DatasetFeatureCatalog | null> {
165
167
  if (
166
168
  record.extras?.['featureTypes'] &&
167
- Array.isArray(record.extras['featureTypes'])
169
+ Array.isArray(record.extras['featureTypes']) &&
170
+ record.extras['featureTypes'].length > 0
168
171
  ) {
169
172
  return of(this.mapEmbeddedFeatureCatalog(record.extras['featureTypes']))
170
173
  }
@@ -152,6 +152,8 @@ export type ServiceProtocol =
152
152
  | 'esriRest'
153
153
  | 'ogcFeatures'
154
154
  | 'GPFDL'
155
+ | 'tms'
156
+ | 'maplibre-style'
155
157
  | 'other'
156
158
 
157
159
  export type OnlineResourceType = 'service' | 'download' | 'link' | 'endpoint'
@@ -235,7 +237,7 @@ export type DatasetFeatureCatalog = {
235
237
  featureTypes: Array<{
236
238
  name: string
237
239
  definition: string
238
- attributes: Array<{ name: string; title: string }>
240
+ attributes: Array<{ name: string; title: string; code: string }>
239
241
  }>
240
242
  }
241
243
 
@@ -272,7 +274,12 @@ export interface DatasetFeatureType {
272
274
  isAbstract: string
273
275
  typeName: string
274
276
  definition: string
275
- attributeTable: Array<{ name: string; definition: string }>
277
+ attributeTable: Array<{
278
+ name: string
279
+ definition: string
280
+ type: string
281
+ code: string
282
+ }>
276
283
  }
277
284
 
278
285
  export type ReuseType = 'application' | 'map' | 'other'
@@ -144,4 +144,14 @@ export const elasticLinkFixture = (): Record<string, unknown> => ({
144
144
  name: 'ogcapi features layer',
145
145
  url: 'https://mel.integration.apps.gs-fr-prod.camptocamp.com/data/ogcapi/collections/comptages_velo/items?',
146
146
  },
147
+ maplayerTms: {
148
+ accessServiceProtocol: 'TMS',
149
+ name: 'mytmslayer',
150
+ url: 'https://my.tms.server/MapServer',
151
+ },
152
+ maplayerTms2: {
153
+ accessServiceProtocol: 'OSGeo:TMS',
154
+ name: 'myothertmslayer',
155
+ url: 'https://my.tms.server/MapServer',
156
+ },
147
157
  })
@@ -185,6 +185,20 @@ export const aSetOfLinksFixture = () => ({
185
185
  url: new URL('https://my.ogc.server/wms'),
186
186
  accessServiceProtocol: 'wms',
187
187
  }) as DatasetServiceDistribution,
188
+ geodataTms: () =>
189
+ ({
190
+ name: 'mytmslayer',
191
+ type: 'service',
192
+ url: new URL('https://my.ogc.server/tms'),
193
+ accessServiceProtocol: 'tms',
194
+ }) as DatasetServiceDistribution,
195
+ geodataAsMaplibreStyle: () =>
196
+ ({
197
+ name: 'mytmslayerAsMaplibreJson',
198
+ type: 'service',
199
+ url: new URL('https://my.ogc.server/tms/layer/style.json'),
200
+ accessServiceProtocol: 'maplibre-style',
201
+ }) as DatasetServiceDistribution,
188
202
  geodataWfs2: () =>
189
203
  ({
190
204
  name: 'myotherlayer',
@@ -18,15 +18,17 @@
18
18
  [selected]="xProperty$.value"
19
19
  [title]="'chart.dropdown.xProperty' | translate"
20
20
  ></gn-ui-dropdown-selector>
21
- <gn-ui-dropdown-selector
22
- class="basis-1/4"
23
- *ngIf="!isCountAggregation"
24
- [choices]="yChoices$ | async"
25
- (selectValue)="yProperty$.next($event)"
26
- [selected]="yProperty$.value"
27
- [title]="'chart.dropdown.yProperty' | translate"
28
- class="select-y-prop"
29
- ></gn-ui-dropdown-selector>
21
+ <ng-container *ngIf="yChoices$ | async as yChoices">
22
+ <gn-ui-dropdown-selector
23
+ class="basis-1/4"
24
+ *ngIf="!isCountAggregation"
25
+ [choices]="yChoices"
26
+ (selectValue)="yProperty$.next($event)"
27
+ [selected]="yProperty$.value"
28
+ [title]="'chart.dropdown.yProperty' | translate"
29
+ class="select-y-prop"
30
+ ></gn-ui-dropdown-selector>
31
+ </ng-container>
30
32
  <gn-ui-dropdown-selector
31
33
  class="basis-1/4"
32
34
  [choices]="aggregationChoices"
@@ -43,6 +45,7 @@
43
45
  *ngIf="!error"
44
46
  [data]="chartData$ | async"
45
47
  [type]="chartType$.value"
48
+ [prettyLabel]="prettyLabel$ | async"
46
49
  [labelProperty]="labelProperty"
47
50
  [valueProperty]="valueProperty"
48
51
  ></gn-ui-chart>
@@ -2,9 +2,7 @@ import {
2
2
  ChangeDetectionStrategy,
3
3
  ChangeDetectorRef,
4
4
  Component,
5
- Inject,
6
5
  Input,
7
- Optional,
8
6
  Output,
9
7
  } from '@angular/core'
10
8
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
@@ -13,6 +11,7 @@ import {
13
11
  FetchError,
14
12
  FieldAggregation,
15
13
  getJsonDataItemsProxy,
14
+ PropertyInfo,
16
15
  } from '../../../../../../libs/util/data-fetcher/src'
17
16
  import {
18
17
  DropdownChoice,
@@ -30,7 +29,10 @@ import {
30
29
  } from 'rxjs/operators'
31
30
  import { DataService } from '../service/data.service'
32
31
  import { InputChartType } from '../../../../../../libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model'
33
- import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
32
+ import {
33
+ DatasetFeatureCatalog,
34
+ DatasetOnlineResource,
35
+ } from '../../../../../../libs/common/domain/src/lib/model/record'
34
36
  import { TranslateModule, TranslateService } from '@ngx-translate/core'
35
37
  import { CommonModule } from '@angular/common'
36
38
  import { ChartComponent } from '../../../../../../libs/ui/dataviz/src'
@@ -67,9 +69,18 @@ marker('chart.aggregation.count')
67
69
  standalone: true,
68
70
  })
69
71
  export class ChartViewComponent {
72
+ public featureCatalog$ = new BehaviorSubject<DatasetFeatureCatalog | null>(
73
+ null
74
+ )
75
+ @Input() set featureCatalog(value: DatasetFeatureCatalog) {
76
+ this.featureCatalog$.next(value)
77
+ }
70
78
  @Input() cacheActive = true
71
79
  @Input() set link(value: DatasetOnlineResource) {
72
80
  this.currentLink$.next(value)
81
+ if (value) {
82
+ this.aggregation$.next('sum')
83
+ }
73
84
  }
74
85
  private currentLink$ = new BehaviorSubject<DatasetOnlineResource>(null)
75
86
 
@@ -150,13 +161,8 @@ export class ChartViewComponent {
150
161
  }),
151
162
  shareReplay(1)
152
163
  )
153
- properties$ = this.dataset$.pipe(
154
- switchMap((dataset) =>
155
- dataset.properties.catch((error) => {
156
- this.handleError(error)
157
- return []
158
- })
159
- ),
164
+ properties$ = combineLatest([this.dataset$, this.featureCatalog$]).pipe(
165
+ switchMap(([dataset, catalog]) => this.setProperties(dataset, catalog)),
160
166
  shareReplay(1)
161
167
  )
162
168
  yChoices$ = this.properties$.pipe(
@@ -197,6 +203,7 @@ export class ChartViewComponent {
197
203
  this.yProperty$.pipe(filter((value) => value !== undefined)),
198
204
  this.aggregation$,
199
205
  ]).pipe(
206
+ filter(([_, x, y]) => !!x || !!y),
200
207
  switchMap(([dataset, xProp, yProp, aggregation]) => {
201
208
  const fieldAgg: FieldAggregation =
202
209
  aggregation === 'count' ? ['count'] : [aggregation, yProp]
@@ -217,6 +224,18 @@ export class ChartViewComponent {
217
224
  shareReplay(1)
218
225
  )
219
226
 
227
+ prettyLabel$ = combineLatest([
228
+ this.aggregation$,
229
+ this.properties$,
230
+ this.yProperty$,
231
+ ]).pipe(
232
+ map(([aggregation, properties, yProperty]) => {
233
+ if (aggregation === 'count') return 'count()'
234
+ const prop = properties.find((p) => p.name === yProperty)
235
+ return prop ? `${aggregation}(${prop.label})` : ''
236
+ })
237
+ )
238
+
220
239
  get labelProperty() {
221
240
  if (!this.xProperty$.value) return ''
222
241
  return `distinct(${this.xProperty$.value})`
@@ -235,6 +254,31 @@ export class ChartViewComponent {
235
254
  private translateService: TranslateService
236
255
  ) {}
237
256
 
257
+ setProperties(
258
+ dataset: BaseReader,
259
+ catalog: DatasetFeatureCatalog
260
+ ): Promise<PropertyInfo[]> {
261
+ return dataset.properties
262
+ .then((properties) => {
263
+ return properties.map((p) => {
264
+ if (catalog) {
265
+ const featureAttributes = catalog?.featureTypes[0]?.attributes ?? []
266
+ const matchingAttribute = featureAttributes.find(
267
+ (attr) => attr.name === p.label
268
+ )
269
+ if (matchingAttribute?.code) {
270
+ return { ...p, label: matchingAttribute.code }
271
+ }
272
+ return p
273
+ }
274
+ return p
275
+ })
276
+ })
277
+ .catch((error) => {
278
+ this.handleError(error)
279
+ return []
280
+ })
281
+ }
238
282
  handleError(error: FetchError | Error | string) {
239
283
  if (error instanceof FetchError) {
240
284
  this.error = this.translateService.instant(
@@ -6,6 +6,7 @@ import {
6
6
  OgcApiRecord,
7
7
  WfsEndpoint,
8
8
  WfsVersion,
9
+ TmsEndpoint,
9
10
  } from '@camptocamp/ogc-client'
10
11
  import {
11
12
  BaseReader,
@@ -231,6 +232,42 @@ export class DataService {
231
232
  })
232
233
  }
233
234
 
235
+ async getGeodataLinksFromTms(
236
+ tmsLink: DatasetServiceDistribution,
237
+ keepOriginalLink = false
238
+ ): Promise<DatasetServiceDistribution[]> {
239
+ const endpoint = new TmsEndpoint(tmsLink.url.toString())
240
+ const tileMaps = await endpoint.allTileMaps
241
+ if (!tileMaps?.length) return null
242
+
243
+ // TODO: at some point use the identifierInService field if more that one layers in the TMS service
244
+ const tileMapInfo = await endpoint.getTileMapInfo(tileMaps[0].href)
245
+
246
+ // case 1: no styles; return a plain TMS link
247
+ if (!tileMapInfo?.metadata?.length) return [tmsLink]
248
+
249
+ // case 2: styles present; return each as a separate link
250
+ const styleLinks = tileMapInfo.metadata
251
+ .filter((meta) => meta.href)
252
+ .map((meta) => {
253
+ const fileName = meta.href.split('/').pop() || ''
254
+ const linkName =
255
+ tmsLink.description || ('name' in tmsLink ? tmsLink.name : '')
256
+ const styleName = fileName.split('.')[0]
257
+ const name = `${linkName} - ${styleName}`
258
+ return {
259
+ type: 'service',
260
+ url: new URL(meta.href),
261
+ name,
262
+ accessServiceProtocol: 'maplibre-style',
263
+ } as DatasetServiceDistribution
264
+ })
265
+ if (keepOriginalLink) {
266
+ styleLinks.unshift(tmsLink)
267
+ }
268
+ return styleLinks
269
+ }
270
+
234
271
  getDownloadLinksFromEsriRest(
235
272
  esriRestLink: DatasetServiceDistribution
236
273
  ): DatasetOnlineResource[] {
@@ -4,6 +4,7 @@
4
4
  *ngIf="tableData$ | async as dataset"
5
5
  class="overflow-auto grow"
6
6
  [dataset]="dataset"
7
+ [featureAttributes]="featureAttributes"
7
8
  (selected)="onTableSelect($event)"
8
9
  ></gn-ui-data-table>
9
10
  <gn-ui-loading-mask
@@ -6,11 +6,15 @@ import {
6
6
  shareReplay,
7
7
  startWith,
8
8
  switchMap,
9
+ tap,
9
10
  } from 'rxjs/operators'
10
11
  import { BaseReader, FetchError } from '../../../../../../libs/util/data-fetcher/src'
11
12
  import { DataService } from '../service/data.service'
12
13
  import { DataTableComponent } from '../../../../../../libs/ui/dataviz/src'
13
- import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
14
+ import {
15
+ DatasetFeatureCatalog,
16
+ DatasetOnlineResource,
17
+ } from '../../../../../../libs/common/domain/src/lib/model/record'
14
18
  import { TranslateModule, TranslateService } from '@ngx-translate/core'
15
19
  import {
16
20
  LoadingMaskComponent,
@@ -33,6 +37,8 @@ import { CommonModule } from '@angular/common'
33
37
  standalone: true,
34
38
  })
35
39
  export class TableViewComponent {
40
+ featureAttributes = []
41
+ @Input() featureCatalog: DatasetFeatureCatalog
36
42
  @Input() cacheActive = true
37
43
  @Input() set link(value: DatasetOnlineResource) {
38
44
  this.currentLink$.next(value)
@@ -52,6 +58,7 @@ export class TableViewComponent {
52
58
  }
53
59
  this.loading = true
54
60
  return this.getDatasetReader(link).pipe(
61
+ tap((dataset: BaseReader) => this.setProperties(dataset)),
55
62
  catchError((error) => {
56
63
  this.handleError(error)
57
64
  return of(undefined)
@@ -96,4 +103,23 @@ export class TableViewComponent {
96
103
  }
97
104
  this.loading = false
98
105
  }
106
+
107
+ setProperties(dataset: BaseReader) {
108
+ dataset.properties.then((properties) => {
109
+ const updatedProperties = properties.map((p) => {
110
+ let label = p.name
111
+ if (this.featureCatalog) {
112
+ const attributes = this.featureCatalog.featureTypes[0].attributes
113
+ const matchingAttribute = attributes.find(
114
+ (attr) => attr.name === p.name
115
+ )
116
+ if (matchingAttribute && matchingAttribute.code) {
117
+ label = matchingAttribute.code
118
+ }
119
+ }
120
+ return { value: p.name, label }
121
+ })
122
+ this.featureAttributes = updatedProperties
123
+ })
124
+ }
99
125
  }
@@ -11,3 +11,4 @@ export * from './lib/components/wizard/wizard.component'
11
11
  export * from './lib/components/wizard-field/wizard-field.component'
12
12
  export * from './lib/components/wizard-summarize/wizard-summarize.component'
13
13
  export * from './lib/components/record-form/form-field'
14
+ export * from './lib/components/multilingual-panel/multilingual-panel.component'
@@ -0,0 +1,14 @@
1
+ <div
2
+ class="flex flex-col h-full w-[302px] bg-neutral-100 border-l border-gray-300 py-9 px-3 gap-8"
3
+ >
4
+ <span class="text-3xl font-title text-black/80 px-2" translate
5
+ >editor.record.form.multilingual.title</span
6
+ >
7
+ <gn-ui-check-toggle
8
+ class="p-2"
9
+ [label]="'editor.record.form.multilingual.enable' | translate"
10
+ [color]="'primary'"
11
+ [value]="translationsEnabled"
12
+ (toggled)="translationsEnabled = $event"
13
+ ></gn-ui-check-toggle>
14
+ </div>
@@ -0,0 +1,15 @@
1
+ import { Component } from '@angular/core'
2
+ import { CommonModule } from '@angular/common'
3
+ import { CheckToggleComponent } from '../../../../../../../libs/ui/inputs/src'
4
+ import { TranslateModule } from '@ngx-translate/core'
5
+
6
+ @Component({
7
+ selector: 'gn-ui-multilingual-panel',
8
+ standalone: true,
9
+ imports: [CommonModule, CheckToggleComponent, TranslateModule],
10
+ templateUrl: './multilingual-panel.component.html',
11
+ styleUrl: './multilingual-panel.component.css',
12
+ })
13
+ export class MultilingualPanelComponent {
14
+ translationsEnabled = false
15
+ }