geonetwork-ui 2.4.0-dev.00c93bef → 2.4.0-dev.2cc6f5b1

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 (178) hide show
  1. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +5 -5
  2. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +30 -2
  3. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.mjs +31 -0
  4. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +23 -1
  5. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +6 -1
  6. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +31 -3
  7. package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +28 -1
  8. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  9. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  10. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +2 -6
  11. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +29 -0
  12. package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +131 -0
  13. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +170 -0
  14. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +3 -3
  15. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +21 -0
  16. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +7 -6
  17. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +24 -9
  18. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +3 -3
  19. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +19 -3
  20. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +10 -5
  21. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
  22. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +46 -7
  23. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +6 -2
  24. package/esm2022/libs/ui/elements/src/index.mjs +2 -1
  25. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +27 -0
  26. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -3
  27. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
  28. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
  29. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +5 -11
  30. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +3 -3
  31. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +7 -3
  32. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +5 -2
  33. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +19 -5
  34. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +3 -3
  35. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
  36. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +67 -0
  37. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +28 -8
  38. package/esm2022/libs/ui/widgets/src/index.mjs +2 -1
  39. package/esm2022/libs/ui/widgets/src/lib/popover/popover.component.mjs +68 -0
  40. package/esm2022/translations/de.json +42 -17
  41. package/esm2022/translations/en.json +35 -10
  42. package/esm2022/translations/es.json +34 -9
  43. package/esm2022/translations/fr.json +45 -20
  44. package/esm2022/translations/it.json +35 -10
  45. package/esm2022/translations/nl.json +34 -9
  46. package/esm2022/translations/pt.json +34 -9
  47. package/fesm2022/geonetwork-ui.mjs +1189 -276
  48. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  49. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  50. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +8 -1
  51. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  52. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts +5 -0
  53. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts.map +1 -0
  54. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +3 -1
  55. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  56. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +1 -0
  57. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  58. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +7 -1
  59. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  60. package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -0
  61. package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
  62. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +2 -1
  63. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  64. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +17 -0
  65. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  66. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  67. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +12 -0
  68. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
  69. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts +27 -0
  70. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map +1 -0
  71. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +47 -0
  72. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -0
  73. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +11 -0
  74. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
  75. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +3 -1
  76. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
  77. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +6 -1
  78. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  79. package/libs/feature/editor/src/lib/fields.config.d.ts +2 -0
  80. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  81. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  82. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +14 -4
  83. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  84. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
  85. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  86. package/libs/ui/elements/src/index.d.ts +1 -0
  87. package/libs/ui/elements/src/index.d.ts.map +1 -1
  88. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
  89. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
  90. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
  91. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +0 -3
  92. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  93. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
  94. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +4 -4
  95. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -1
  96. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +7 -6
  97. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  98. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +9 -1
  99. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  100. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +20 -0
  101. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
  102. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +9 -3
  103. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  104. package/libs/ui/widgets/src/index.d.ts +1 -0
  105. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  106. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts +19 -0
  107. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts.map +1 -0
  108. package/package.json +1 -1
  109. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +5 -1
  110. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +37 -12
  111. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +5 -1
  112. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +4 -2
  113. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +72 -2
  114. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts +39 -0
  115. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +70 -1
  116. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +8 -0
  117. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +42 -2
  118. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +28 -0
  119. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +2 -1
  120. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +22 -0
  121. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +1 -5
  122. package/src/libs/data-access/gn4/src/spec.yaml +0 -8
  123. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.css +0 -0
  124. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +25 -0
  125. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +30 -0
  126. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +2 -1
  127. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +110 -19
  128. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +0 -0
  129. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +76 -0
  130. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +271 -0
  131. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +1 -1
  132. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
  133. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +5 -0
  134. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +22 -0
  135. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +8 -7
  136. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +11 -0
  137. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +18 -1
  138. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +1 -1
  139. package/src/libs/feature/editor/src/lib/fields.config.ts +20 -2
  140. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +8 -4
  141. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  142. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +3 -1
  143. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +57 -3
  144. package/src/libs/feature/search/src/lib/state/search.facade.ts +6 -0
  145. package/src/libs/ui/elements/src/index.ts +1 -0
  146. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
  147. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
  148. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
  149. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +4 -1
  150. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +2 -1
  151. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +12 -8
  152. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +14 -20
  153. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +0 -10
  154. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.html +1 -1
  155. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +3 -1
  156. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +8 -4
  157. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +2 -1
  158. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +15 -3
  159. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +1 -1
  160. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +1 -0
  161. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
  162. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +26 -0
  163. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +74 -0
  164. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +15 -1
  165. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +26 -12
  166. package/src/libs/ui/widgets/src/index.ts +1 -0
  167. package/src/libs/ui/widgets/src/lib/popover/popover.component.css +0 -0
  168. package/src/libs/ui/widgets/src/lib/popover/popover.component.html +3 -0
  169. package/src/libs/ui/widgets/src/lib/popover/popover.component.ts +85 -0
  170. package/tailwind.base.css +2 -1
  171. package/translations/de.json +42 -17
  172. package/translations/en.json +35 -10
  173. package/translations/es.json +34 -9
  174. package/translations/fr.json +45 -20
  175. package/translations/it.json +35 -10
  176. package/translations/nl.json +34 -9
  177. package/translations/pt.json +34 -9
  178. package/translations/sk.json +35 -10
@@ -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;AAIrC,OAAO,EAAY,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAO/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjC,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,kCAAkC,CAAA;AACzC,OAAO,UAAU,MAAM,eAAe,CAAA;AACtC,OAAO,eAAe,MAAM,oBAAoB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AE,KAAK,KAAA,GAAG,OAAO,CAAC,QAAQ,CAAC,EAAE;IAe7D,kCAAkC,CAChC,KAAK,EAAE,GAAG,EACV,KAAK,EAAE,eAAe,CAAC,YAAY,CAAC,GACnC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE;IAoBpC;;OAEG;IACG,cAAc,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAuCnE,iBAAiB,CACrB,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;yCA7K5C,eAAe;6CAAf,eAAe;CA+L3B;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,25 +1,35 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
3
3
  import { SearchFacade } from '../state/search.facade';
4
4
  import { SelectionService } from '../../../../../../libs/api/repository/src';
5
5
  import { SearchService } from '../utils/service/search.service';
6
6
  import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
7
+ import { Subscription } from 'rxjs';
8
+ import { NotificationsService } from '../../../../../../libs/feature/notifications/src';
9
+ import { TranslateService } from '@ngx-translate/core';
7
10
  import * as i0 from "@angular/core";
8
- export declare class ResultsTableContainerComponent {
11
+ export declare class ResultsTableContainerComponent implements OnDestroy {
9
12
  private searchFacade;
10
13
  private searchService;
11
14
  private selectionService;
12
15
  private recordsRepository;
16
+ private notificationsService;
17
+ private translateService;
13
18
  recordClick: EventEmitter<CatalogRecord>;
19
+ duplicateRecord: EventEmitter<CatalogRecord>;
20
+ subscription: Subscription;
14
21
  records$: import("rxjs").Observable<CatalogRecord[]>;
15
22
  selectedRecords$: import("rxjs").BehaviorSubject<string[]>;
16
23
  sortBy$: import("rxjs").Observable<import("../../../../../common/domain/src/lib/model/search").SortByField>;
17
24
  hasDraft: (record: CatalogRecord) => boolean;
18
- constructor(searchFacade: SearchFacade, searchService: SearchService, selectionService: SelectionService, recordsRepository: RecordsRepositoryInterface);
25
+ constructor(searchFacade: SearchFacade, searchService: SearchService, selectionService: SelectionService, recordsRepository: RecordsRepositoryInterface, notificationsService: NotificationsService, translateService: TranslateService);
19
26
  handleRecordClick(item: unknown): void;
27
+ handleDuplicateRecord(item: unknown): void;
28
+ handleDeleteRecord(item: unknown): Promise<void>;
20
29
  handleSortByChange(col: string, order: 'asc' | 'desc'): void;
21
30
  handleRecordsSelectedChange(records: CatalogRecord[], selected: boolean): void;
31
+ ngOnDestroy(): void;
22
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableContainerComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableContainerComponent, "gn-ui-results-table-container", never, {}, { "recordClick": "recordClick"; }, never, never, true, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableContainerComponent, "gn-ui-results-table-container", never, {}, { "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; }, never, never, true, never>;
24
34
  }
25
35
  //# sourceMappingURL=results-table-container.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"results-table-container.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/results-table/results-table-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAU,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAIjI,qBAOa,8BAA8B;IAWvC,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,iBAAiB;IAbjB,WAAW,8BAAoC;IAEzD,QAAQ,6CAA6B;IACrC,gBAAgB,2CAAoD;IACpE,OAAO,qGAA4B;IAEnC,QAAQ,WAAY,aAAa,KAAG,OAAO,CACqB;gBAGtD,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,0BAA0B;IAGvD,iBAAiB,CAAC,IAAI,EAAE,OAAO;IAI/B,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAIrD,2BAA2B,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,QAAQ,EAAE,OAAO;yCAzB5D,8BAA8B;2CAA9B,8BAA8B;CAgC1C"}
1
+ {"version":3,"file":"results-table-container.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/results-table/results-table-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,SAAS,EAAU,MAAM,eAAe,CAAA;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AAGjI,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAA;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEtD,qBAOa,8BAA+B,YAAW,SAAS;IAc5D,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IAlBhB,WAAW,8BAAoC;IAC/C,eAAe,8BAAoC;IAE7D,YAAY,eAAqB;IAEjC,QAAQ,6CAA6B;IACrC,gBAAgB,2CAAoD;IACpE,OAAO,qGAA4B;IAEnC,QAAQ,WAAY,aAAa,KAAG,OAAO,CACqB;gBAGtD,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,0BAA0B,EAC7C,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB;IAG5C,iBAAiB,CAAC,IAAI,EAAE,OAAO;IAI/B,qBAAqB,CAAC,IAAI,EAAE,OAAO;IAI7B,kBAAkB,CAAC,IAAI,EAAE,OAAO;IAsCtC,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAIrD,2BAA2B,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,QAAQ,EAAE,OAAO;IAQvE,WAAW;yCAhFA,8BAA8B;2CAA9B,8BAA8B;CAmF1C"}
@@ -34,6 +34,7 @@ export declare class SearchFacade {
34
34
  setConfigRequestFields(fields: FieldName[]): SearchFacade;
35
35
  setConfigFilters(filters: FieldFilters): SearchFacade;
36
36
  requestMoreResults(): SearchFacade;
37
+ requestNewResults(): SearchFacade;
37
38
  requestMoreOnAggregation(key: string, increment: number): SearchFacade;
38
39
  setResultsLayout(layout: string): SearchFacade;
39
40
  setFilters(filters: FieldFilters): SearchFacade;
@@ -1 +1 @@
1
- {"version":3,"file":"search.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/search.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAQ,UAAU,EAAM,MAAM,MAAM,CAAA;AAsB3C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAoBvE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,SAAS,EACT,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBACa,YAAY;IA0BrB,OAAO,CAAC,KAAK;IAGb,OAAO,CAAC,cAAc;IA5BxB,QAAQ,EAAE,UAAU,CAAC,aAAa,EAAE,CAAC,CAAA;IACrC,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC3B,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAChC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAC/B,qBAAqB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAC1C,eAAe,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IACpC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC/B,YAAY,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC7B,cAAc,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;IACxC,mBAAmB,EAAE,UAAU,CAAC,kBAAkB,CAAC,CAAA;IACnD,oBAAoB,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;IAC9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AAM,EAAE,WAAW;IAK7B,uBAAuB,CAAC,OAAO,EAAE,OAAO;IAKxC,WAAW;yCAtKA,YAAY;6CAAZ,YAAY;CA6KxB"}
@@ -1,5 +1,6 @@
1
1
  export * from './lib/api-card/api-card.component';
2
2
  export * from './lib/avatar/avatar.component';
3
+ export * from './lib/confirmation-dialog/confirmation-dialog.component';
3
4
  export * from './lib/content-ghost/content-ghost.component';
4
5
  export * from './lib/download-item/download-item.component';
5
6
  export * from './lib/downloads-list/downloads-list.component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,2CAA2C,CAAA;AACzD,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,2CAA2C,CAAA;AACzD,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA"}
@@ -0,0 +1,18 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import * as i0 from "@angular/core";
3
+ export interface ConfirmationDialogData {
4
+ title: string;
5
+ message: string;
6
+ confirmText: string;
7
+ cancelText: string;
8
+ }
9
+ export declare class ConfirmationDialogComponent {
10
+ dialogRef: MatDialogRef<ConfirmationDialogComponent>;
11
+ data: ConfirmationDialogData;
12
+ constructor(dialogRef: MatDialogRef<ConfirmationDialogComponent>, data: ConfirmationDialogData);
13
+ onConfirm(): void;
14
+ onCancel(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "gn-ui-confirmation-dialog", never, {}, {}, never, never, true, never>;
17
+ }
18
+ //# sourceMappingURL=confirmation-dialog.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"confirmation-dialog.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EACb,MAAM,0BAA0B,CAAA;;AAGjC,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,qBAQa,2BAA2B;IAE7B,SAAS,EAAE,YAAY,CAAC,2BAA2B,CAAC;IAC3B,IAAI,EAAE,sBAAsB;gBADrD,SAAS,EAAE,YAAY,CAAC,2BAA2B,CAAC,EAC3B,IAAI,EAAE,sBAAsB;IAG9D,SAAS;IAIT,QAAQ;yCAVG,2BAA2B;2CAA3B,2BAA2B;CAavC"}
@@ -14,7 +14,7 @@ export declare class DownloadsListComponent {
14
14
  isFilterActive(filter: FilterFormat): boolean;
15
15
  getFilterFormatTitle(format: FilterFormat): any;
16
16
  isLinkOfFormat(link: DatasetDistribution, format: FilterFormat): boolean;
17
- getLinkFormat(link: DatasetDistribution): "json" | "html" | "pdf" | "geojson" | "svg" | "csv" | "excel" | "shp" | "gml" | "kml" | "gpkg" | "zip" | "jpg" | "dxf" | "fgb" | "jsonfg";
17
+ getLinkFormat(link: DatasetDistribution): "html" | "json" | "pdf" | "geojson" | "svg" | "csv" | "excel" | "shp" | "gml" | "kml" | "gpkg" | "zip" | "jpg" | "dxf" | "fgb" | "jsonfg";
18
18
  getLinkColor(link: DatasetDistribution): string;
19
19
  isFromWfs(link: DatasetDistribution): boolean;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<DownloadsListComponent, never>;
@@ -7,11 +7,8 @@ export declare class MetadataQualityComponent implements OnChanges {
7
7
  smaller: boolean;
8
8
  metadataQualityDisplay: boolean;
9
9
  items: MetadataQualityItem[];
10
- isMenuShown: boolean;
11
10
  get qualityScore(): number;
12
11
  get calculatedQualityScore(): number;
13
- showMenu(): void;
14
- hideMenu(): void;
15
12
  private add;
16
13
  initialize(): void;
17
14
  ngOnChanges(changes: SimpleChanges): void;
@@ -1 +1 @@
1
- {"version":3,"file":"metadata-quality.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,aAAa,EACd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAA;AAC9F,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBAMa,wBAAyB,YAAW,SAAS;IAC/C,QAAQ,EAAE,OAAO,CAAC,aAAa,CAAC,CAAA;IAChC,OAAO,UAAQ;IACf,sBAAsB,EAAE,OAAO,CAAA;IAExC,KAAK,EAAE,mBAAmB,EAAE,CAAK;IAEjC,WAAW,UAAQ;IAEnB,IAAI,YAAY,WAKf;IAED,IAAI,sBAAsB,IAAI,MAAM,CAInC;IAED,QAAQ;IAIR,QAAQ;IAIR,OAAO,CAAC,GAAG;IAMX,UAAU;IAaV,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;yCAjD9B,wBAAwB;2CAAxB,wBAAwB;CAsDpC"}
1
+ {"version":3,"file":"metadata-quality.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,aAAa,EACd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAA;AAC9F,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBAMa,wBAAyB,YAAW,SAAS;IAC/C,QAAQ,EAAE,OAAO,CAAC,aAAa,CAAC,CAAA;IAChC,OAAO,UAAQ;IACf,sBAAsB,EAAE,OAAO,CAAA;IAExC,KAAK,EAAE,mBAAmB,EAAE,CAAK;IAEjC,IAAI,YAAY,WAKf;IAED,IAAI,sBAAsB,IAAI,MAAM,CAInC;IAED,OAAO,CAAC,GAAG;IAMX,UAAU;IAaV,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;yCAvC9B,wBAAwB;2CAAxB,wBAAwB;CA4CpC"}
@@ -32,7 +32,7 @@ export declare class RecordApiFormComponent {
32
32
  parseOutputFormats(): Promise<void>;
33
33
  mapFormats(formats: any[]): {
34
34
  label: string;
35
- value: "json" | "html" | "pdf" | "geojson" | "svg" | "csv" | "excel" | "shp" | "gml" | "kml" | "gpkg" | "zip" | "jpg" | "dxf" | "fgb" | "jsonfg";
35
+ value: "html" | "json" | "pdf" | "geojson" | "svg" | "csv" | "excel" | "shp" | "gml" | "kml" | "gpkg" | "zip" | "jpg" | "dxf" | "fgb" | "jsonfg";
36
36
  }[];
37
37
  getOutputFormats(url: string): Promise<OutputFormats>;
38
38
  createEndpoint(): Promise<void>;
@@ -1,9 +1,9 @@
1
1
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
2
  import { EventEmitter, Type } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
- type DynamicElement = {
5
- component: Type<any>;
6
- inputs: Record<string, any>;
4
+ export type DynamicElement = {
5
+ component: Type<unknown>;
6
+ inputs: Record<string, unknown>;
7
7
  };
8
8
  export declare class SortableListComponent {
9
9
  elements: Array<DynamicElement>;
@@ -15,8 +15,8 @@ export declare class SortableListComponent {
15
15
  add: EventEmitter<string>;
16
16
  drop(event: CdkDragDrop<string[]>): void;
17
17
  removeElement(index: number): void;
18
+ trackByFn(index: number): number;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<SortableListComponent, never>;
19
20
  static ɵcmp: i0.ɵɵComponentDeclaration<SortableListComponent, "gn-ui-sortable-list", never, { "elements": { "alias": "elements"; "required": false; }; "addOptions": { "alias": "addOptions"; "required": false; }; }, { "elementsChange": "elementsChange"; "add": "add"; }, never, never, true, never>;
20
21
  }
21
- export {};
22
22
  //# sourceMappingURL=sortable-list.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sortable-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EAIZ,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAGL,YAAY,EAGZ,IAAI,EACL,MAAM,eAAe,CAAA;;AAItB,KAAK,cAAc,GAAG;IACpB,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;IACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC5B,CAAA;AAED,qBAgBa,qBAAqB;IACvB,QAAQ,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;IAC/B,UAAU,EAAE,KAAK,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAC5D,cAAc,iCAA4C;IAC1D,GAAG,uBAA6B;IAE1C,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC;IAKjC,aAAa,CAAC,KAAK,EAAE,MAAM;yCAXhB,qBAAqB;2CAArB,qBAAqB;CAejC"}
1
+ {"version":3,"file":"sortable-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EAIZ,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAGL,YAAY,EAGZ,IAAI,EACL,MAAM,eAAe,CAAA;;AAItB,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,CAAA;IACxB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAChC,CAAA;AAED,qBAgBa,qBAAqB;IACvB,QAAQ,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;IAC/B,UAAU,EAAE,KAAK,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAK;IACjE,cAAc,iCAA4C;IAC1D,GAAG,uBAA6B;IAE1C,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC;IAKjC,aAAa,CAAC,KAAK,EAAE,MAAM;IAK3B,SAAS,CAAC,KAAK,EAAE,MAAM;yCAhBZ,qBAAqB;2CAArB,qBAAqB;CAmBjC"}
@@ -28,14 +28,15 @@ import * as i26 from "../../../../util/shared/src/lib/util-shared.module";
28
28
  import * as i27 from "@angular/router";
29
29
  import * as i28 from "../../../inputs/src/lib/ui-inputs.module";
30
30
  import * as i29 from "@angular/forms";
31
- import * as i30 from "./markdown-parser/markdown-parser.component";
32
- import * as i31 from "./thumbnail/thumbnail.component";
33
- import * as i32 from "./user-feedback-item/time-since.pipe";
34
- import * as i33 from "../../../inputs/src/lib/badge/badge.component";
35
- import * as i34 from "../../../layout/src/lib/max-lines/max-lines.component";
31
+ import * as i30 from "../../../widgets/src/lib/popover/popover.component";
32
+ import * as i31 from "./markdown-parser/markdown-parser.component";
33
+ import * as i32 from "./thumbnail/thumbnail.component";
34
+ import * as i33 from "./user-feedback-item/time-since.pipe";
35
+ import * as i34 from "../../../inputs/src/lib/badge/badge.component";
36
+ import * as i35 from "../../../layout/src/lib/max-lines/max-lines.component";
36
37
  export declare class UiElementsModule {
37
38
  static ɵfac: i0.ɵɵFactoryDeclaration<UiElementsModule, never>;
38
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i15.GnUiLinkifyDirective, typeof i16.PaginationButtonsComponent, typeof i17.RecordApiFormComponent, typeof i18.UserFeedbackItemComponent, typeof i19.ImageOverlayPreviewComponent], [typeof i20.CommonModule, typeof i21.MatIconModule, typeof i22.MatTooltipModule, typeof i23.UiWidgetsModule, typeof i24.UiLayoutModule, typeof i25.TranslateModule, typeof i26.UtilSharedModule, typeof i27.RouterModule, typeof i28.UiInputsModule, typeof i29.FormsModule, typeof i20.NgOptimizedImage, typeof i30.MarkdownParserComponent, typeof i31.ThumbnailComponent, typeof i32.TimeSincePipe, typeof i33.BadgeComponent, typeof i34.MaxLinesComponent], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i31.ThumbnailComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i16.PaginationButtonsComponent, typeof i17.RecordApiFormComponent, typeof i30.MarkdownParserComponent, typeof i18.UserFeedbackItemComponent, typeof i19.ImageOverlayPreviewComponent]>;
39
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i15.GnUiLinkifyDirective, typeof i16.PaginationButtonsComponent, typeof i17.RecordApiFormComponent, typeof i18.UserFeedbackItemComponent, typeof i19.ImageOverlayPreviewComponent], [typeof i20.CommonModule, typeof i21.MatIconModule, typeof i22.MatTooltipModule, typeof i23.UiWidgetsModule, typeof i24.UiLayoutModule, typeof i25.TranslateModule, typeof i26.UtilSharedModule, typeof i27.RouterModule, typeof i28.UiInputsModule, typeof i29.FormsModule, typeof i20.NgOptimizedImage, typeof i30.PopoverComponent, typeof i31.MarkdownParserComponent, typeof i32.ThumbnailComponent, typeof i33.TimeSincePipe, typeof i34.BadgeComponent, typeof i35.MaxLinesComponent], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i32.ThumbnailComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i16.PaginationButtonsComponent, typeof i17.RecordApiFormComponent, typeof i31.MarkdownParserComponent, typeof i18.UserFeedbackItemComponent, typeof i19.ImageOverlayPreviewComponent]>;
39
40
  static ɵinj: i0.ɵɵInjectorDeclaration<UiElementsModule>;
40
41
  }
41
42
  //# sourceMappingURL=ui-elements.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,qBA+Da,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
1
+ {"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,qBAgEa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
@@ -10,6 +10,7 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
10
10
  action: (value: string) => Observable<AutocompleteItem[]>;
11
11
  value?: AutocompleteItem;
12
12
  clearOnSelection: boolean;
13
+ preventCompleteOnSelection: boolean;
13
14
  autoFocus: boolean;
14
15
  minCharacterCount?: number;
15
16
  allowSubmit: boolean;
@@ -38,8 +39,15 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
38
39
  clear(): void;
39
40
  handleEnter(any: string): void;
40
41
  handleClickSearch(): void;
42
+ /**
43
+ * This function is triggered when an item is selected in the list of displayed items.
44
+ * If preventCompleteOnSelection is true then the input will be left as entered by the user.
45
+ * If preventCompleteOnSelection is false (by default) then the input will be completed with the item selected by the user.
46
+ * If clearOnSelection is true then the input will be cleared upon selection.
47
+ * @param event
48
+ */
41
49
  handleSelection(event: MatAutocompleteSelectedEvent): void;
42
50
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; }, never, never, true, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "preventCompleteOnSelection": { "alias": "preventCompleteOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; }, never, never, true, never>;
44
52
  }
45
53
  //# sourceMappingURL=autocomplete.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAgB,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAiBhF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEtC,qBAea,qBACX,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;IAiC1C,OAAO,CAAC,KAAK;IA/BhB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IACzD,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,gBAAgB,UAAQ;IACxB,SAAS,UAAQ;IACjB,iBAAiB,CAAC,SAAI;IACtB,WAAW,UAAO;IACjB,YAAY,wBAAuC;IACnD,cAAc,uBAA6B;IAC3C,YAAY,qBAA2B;IACd,UAAU,EAAE,sBAAsB,CAAA;IACzC,YAAY,EAAE,eAAe,CAAA;IAC/B,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAA;IAEhE,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,qBAA2B;IAClC,WAAW,UAAO;IAClB,gBAAgB,8CAAqD;IACrE,eAAe,wBAA+B;IAC9C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAO;IAC3B,YAAY,EAAE,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAC5C,YAAY,eAAqB;IAExB,aAAa,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,MAAM,CACzC;IAEjB,qBAAqB,UAAW,gBAAgB,YAG/C;gBAEmB,KAAK,EAAE,iBAAiB;IAC5C,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAWzC,QAAQ,IAAI,IAAI;IAkEhB,eAAe,IAAI,IAAI;IAQvB,WAAW,IAAI,IAAI;IAInB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB;IASxC,KAAK,IAAI,IAAI;IASb,WAAW,CAAC,GAAG,EAAE,MAAM;IAMvB,iBAAiB;IAIjB,eAAe,CAAC,KAAK,EAAE,4BAA4B;yCAxJxC,qBAAqB;2CAArB,qBAAqB;CAiKjC"}
1
+ {"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAgB,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAiBhF,MAA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yCAhKxC,qBAAqB;2CAArB,qBAAqB;CA6KjC"}
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { MatMenuTrigger } from '@angular/material/menu';
4
+ import { TranslateService } from '@ngx-translate/core';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ActionMenuComponent {
7
+ dialog: MatDialog;
8
+ private translateService;
9
+ canDuplicate: boolean;
10
+ canDelete: boolean;
11
+ duplicate: EventEmitter<void>;
12
+ delete: EventEmitter<void>;
13
+ trigger: MatMenuTrigger;
14
+ constructor(dialog: MatDialog, translateService: TranslateService);
15
+ openMenu(): void;
16
+ openDeleteConfirmationDialog(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionMenuComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionMenuComponent, "gn-ui-action-menu", never, { "canDuplicate": { "alias": "canDuplicate"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; }, { "duplicate": "duplicate"; "delete": "delete"; }, never, never, true, never>;
19
+ }
20
+ //# sourceMappingURL=action-menu.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-menu.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAIb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAmB,MAAM,0BAA0B,CAAA;AAErE,OAAO,EAAiB,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAGtE,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEvE,qBAca,mBAAmB;IASrB,MAAM,EAAE,SAAS;IACxB,OAAO,CAAC,gBAAgB;IATjB,YAAY,EAAE,OAAO,CAAA;IACrB,SAAS,EAAE,OAAO,CAAA;IACjB,SAAS,qBAA2B;IACpC,MAAM,qBAA2B;IAEhB,OAAO,EAAE,cAAc,CAAA;gBAGzC,MAAM,EAAE,SAAS,EAChB,gBAAgB,EAAE,gBAAgB;IAG5C,QAAQ;IAIR,4BAA4B;yCAjBjB,mBAAmB;2CAAnB,mBAAmB;CA6C/B"}
@@ -1,15 +1,19 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
3
- import { FileFormat } from '../../../../../../libs/util/shared/src';
4
3
  import { SortByField } from '../../../../../../libs/common/domain/src/lib/model/search';
4
+ import { FileFormat } from '../../../../../../libs/util/shared/src';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ResultsTableComponent {
7
7
  records: CatalogRecord[];
8
8
  selectedRecordsIdentifiers: string[];
9
9
  sortOrder: SortByField;
10
- recordHasDraft: (record: CatalogRecord) => boolean;
10
+ hasDraft: (record: CatalogRecord) => boolean;
11
+ canDuplicate: (record: CatalogRecord) => boolean;
12
+ canDelete: (record: CatalogRecord) => boolean;
11
13
  sortByChange: EventEmitter<[string, "asc" | "desc"]>;
12
14
  recordClick: EventEmitter<CatalogRecord>;
15
+ duplicateRecord: EventEmitter<CatalogRecord>;
16
+ deleteRecord: EventEmitter<CatalogRecord>;
13
17
  recordsSelectedChange: EventEmitter<[CatalogRecord[], boolean]>;
14
18
  dateToString(date: Date): string;
15
19
  getStatus(isPublishedToAll: boolean | unknown): "published" | "not published";
@@ -17,6 +21,8 @@ export declare class ResultsTableComponent {
17
21
  formatUserInfo(userInfo: string | unknown): string;
18
22
  getBadgeColor(format: FileFormat): string;
19
23
  handleRecordClick(item: unknown): void;
24
+ handleDuplicate(item: unknown): void;
25
+ handleDelete(item: unknown): void;
20
26
  setSortBy(col: string, order: 'asc' | 'desc'): void;
21
27
  isSortedBy(col: string): 'desc' | 'asc' | null;
22
28
  isChecked(record: CatalogRecord): boolean;
@@ -25,6 +31,6 @@ export declare class ResultsTableComponent {
25
31
  isAllSelected(): boolean;
26
32
  isSomeSelected(): boolean;
27
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, { "records": { "alias": "records"; "required": false; }; "selectedRecordsIdentifiers": { "alias": "selectedRecordsIdentifiers"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "recordHasDraft": { "alias": "recordHasDraft"; "required": false; }; }, { "sortByChange": "sortByChange"; "recordClick": "recordClick"; "recordsSelectedChange": "recordsSelectedChange"; }, never, never, true, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, { "records": { "alias": "records"; "required": false; }; "selectedRecordsIdentifiers": { "alias": "selectedRecordsIdentifiers"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "hasDraft": { "alias": "hasDraft"; "required": false; }; "canDuplicate": { "alias": "canDuplicate"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; }, { "sortByChange": "sortByChange"; "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; "deleteRecord": "deleteRecord"; "recordsSelectedChange": "recordsSelectedChange"; }, never, never, true, never>;
29
35
  }
30
36
  //# sourceMappingURL=results-table.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAA;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EACL,UAAU,EAIX,MAAM,wCAAwC,CAAA;AAS/C,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;;AAElE,qBAea,qBAAqB;IACvB,OAAO,EAAE,aAAa,EAAE,CAAK;IAC7B,0BAA0B,EAAE,MAAM,EAAE,CAAK;IACzC,SAAS,EAAE,WAAW,CAAO;IAC7B,cAAc,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAc;IAG/D,YAAY,yCAA+C;IAC3D,WAAW,8BAAoC;IAC/C,qBAAqB,2CAE5B;IAEH,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAShC,SAAS,CAAC,gBAAgB,EAAE,OAAO,GAAG,OAAO;IAI7C,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,EAAE;IAarD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM;IAQlD,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAIzC,iBAAiB,CAAC,IAAI,EAAE,OAAO;IAI/B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAI5C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI;IAe9C,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAIzC,0BAA0B,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa;IAI7D,eAAe;IAIrB,aAAa,IAAI,OAAO;IAMxB,cAAc,IAAI,OAAO;yCA5Fd,qBAAqB;2CAArB,qBAAqB;CAqGjC"}
1
+ {"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAA;AAEtE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAMlE,OAAO,EACL,UAAU,EAIX,MAAM,wCAAwC,CAAA;;AAI/C,qBAgBa,qBAAqB;IACvB,OAAO,EAAE,aAAa,EAAE,CAAK;IAC7B,0BAA0B,EAAE,MAAM,EAAE,CAAK;IACzC,SAAS,EAAE,WAAW,CAAO;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAc;IAC1D,YAAY,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAC7D,SAAS,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAGzD,YAAY,yCAA+C;IAC3D,WAAW,8BAAoC;IAC/C,eAAe,8BAAoC;IACnD,YAAY,8BAAoC;IAChD,qBAAqB,2CAE5B;IAEH,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAShC,SAAS,CAAC,gBAAgB,EAAE,OAAO,GAAG,OAAO;IAI7C,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,EAAE;IAarD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM;IAQlD,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAIzC,iBAAiB,CAAC,IAAI,EAAE,OAAO;IAI/B,eAAe,CAAC,IAAI,EAAE,OAAO;IAI7B,YAAY,CAAC,IAAI,EAAE,OAAO;IAI1B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAI5C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI;IAe9C,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAIzC,0BAA0B,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa;IAI7D,eAAe;IAIrB,aAAa,IAAI,OAAO;IAMxB,cAAc,IAAI,OAAO;yCAxGd,qBAAqB;2CAArB,qBAAqB;CAiHjC"}
@@ -1,5 +1,6 @@
1
1
  export * from './lib/ui-widgets.module';
2
2
  export * from './lib/progress-bar/progress-bar.component';
3
+ export * from './lib/popover/popover.component';
3
4
  export * from './lib/loading-mask/loading-mask.component';
4
5
  export * from './lib/color-scale/color-scale.component';
5
6
  export * from './lib/popup-alert/popup-alert.component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/widgets/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,2CAA2C,CAAA;AACzD,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,yCAAyC,CAAA;AACvD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mCAAmC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/widgets/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,2CAA2C,CAAA;AACzD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,yCAAyC,CAAA;AACvD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mCAAmC,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { AfterViewInit, ElementRef, OnDestroy, OnChanges, SimpleChanges, TemplateRef, Renderer2, ViewContainerRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PopoverComponent implements AfterViewInit, OnChanges, OnDestroy {
4
+ private viewContainerRef;
5
+ private renderer;
6
+ popoverContent: ElementRef;
7
+ content: string | TemplateRef<any>;
8
+ theme: 'light' | 'light-border' | 'translucent' | 'material' | '';
9
+ private tippyInstance;
10
+ private view;
11
+ constructor(viewContainerRef: ViewContainerRef, renderer: Renderer2);
12
+ private getContent;
13
+ ngAfterViewInit(): void;
14
+ ngOnChanges(changes: SimpleChanges): void;
15
+ ngOnDestroy(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "gn-ui-popover", never, { "content": { "alias": "content"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, ["*"], true, never>;
18
+ }
19
+ //# sourceMappingURL=popover.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/popover/popover.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,aAAa,EACb,UAAU,EAGV,SAAS,EACT,SAAS,EACT,aAAa,EACb,WAAW,EACX,SAAS,EACT,gBAAgB,EAEjB,MAAM,eAAe,CAAA;;AAGtB,qBAOa,gBAAiB,YAAW,aAAa,EAAE,SAAS,EAAE,SAAS;IASxE,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,QAAQ;IAT8B,cAAc,EAAE,UAAU,CAAA;IACjE,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,GAAG,CAAC,CAAA;IAClC,KAAK,EAAE,OAAO,GAAG,cAAc,GAAG,aAAa,GAAG,UAAU,GAAG,EAAE,CAAA;IAE1E,OAAO,CAAC,aAAa,CAAU;IAC/B,OAAO,CAAC,IAAI,CAAsB;gBAGxB,gBAAgB,EAAE,gBAAgB,EAClC,QAAQ,EAAE,SAAS;IAG7B,OAAO,CAAC,UAAU;IAgBlB,eAAe,IAAI,IAAI;IAQvB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAezC,WAAW,IAAI,IAAI;yCApDR,gBAAgB;2CAAhB,gBAAgB;CA4D5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.4.0-dev.00c93bef",
3
+ "version": "2.4.0-dev.2cc6f5b1",
4
4
  "engines": {
5
5
  "node": ">=14.17.0"
6
6
  },
@@ -122,7 +122,11 @@ Ce lot de données produit en 2019, a été numérisé à partir du PCI Vecteur
122
122
  securityConstraints: [],
123
123
  otherConstraints: [],
124
124
  // data quality?
125
- spatialExtents: [],
125
+ spatialExtents: [
126
+ {
127
+ bbox: [2.5587, 49.3677, 2.5934, 49.4051],
128
+ },
129
+ ],
126
130
  temporalExtents: [],
127
131
  status: 'completed',
128
132
  updateFrequency: 'unknown',
@@ -94,7 +94,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
94
94
  id: 'geonetwork.thesaurus.external.theme.gemet',
95
95
  name: 'GEMET',
96
96
  url: new URL(
97
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
97
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
98
98
  ),
99
99
  },
100
100
  type: 'theme',
@@ -105,7 +105,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
105
105
  id: 'geonetwork.thesaurus.external.theme.gemet',
106
106
  name: 'GEMET',
107
107
  url: new URL(
108
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
108
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
109
109
  ),
110
110
  },
111
111
  type: 'theme',
@@ -116,7 +116,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
116
116
  id: 'geonetwork.thesaurus.external.theme.gemet',
117
117
  name: 'GEMET',
118
118
  url: new URL(
119
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
119
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
120
120
  ),
121
121
  },
122
122
  type: 'theme',
@@ -127,7 +127,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
127
127
  id: 'geonetwork.thesaurus.external.theme.gemet',
128
128
  name: 'GEMET',
129
129
  url: new URL(
130
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
130
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
131
131
  ),
132
132
  },
133
133
  type: 'theme',
@@ -138,7 +138,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
138
138
  id: 'geonetwork.thesaurus.external.theme.gemet',
139
139
  name: 'GEMET',
140
140
  url: new URL(
141
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
141
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
142
142
  ),
143
143
  },
144
144
  type: 'theme',
@@ -149,7 +149,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
149
149
  id: 'geonetwork.thesaurus.external.theme.gemet',
150
150
  name: 'GEMET',
151
151
  url: new URL(
152
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
152
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
153
153
  ),
154
154
  },
155
155
  type: 'theme',
@@ -160,7 +160,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
160
160
  id: 'geonetwork.thesaurus.external.theme.gemet',
161
161
  name: 'GEMET',
162
162
  url: new URL(
163
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
163
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
164
164
  ),
165
165
  },
166
166
  type: 'theme',
@@ -171,7 +171,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
171
171
  id: 'geonetwork.thesaurus.external.theme.gemet',
172
172
  name: 'GEMET',
173
173
  url: new URL(
174
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
174
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
175
175
  ),
176
176
  },
177
177
  type: 'theme',
@@ -182,7 +182,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
182
182
  id: 'geonetwork.thesaurus.external.theme.gemet',
183
183
  name: 'GEMET',
184
184
  url: new URL(
185
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
185
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
186
186
  ),
187
187
  },
188
188
  type: 'theme',
@@ -193,7 +193,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
193
193
  id: 'geonetwork.thesaurus.external.theme.inspire-theme',
194
194
  name: 'GEMET - INSPIRE themes, version 1.0',
195
195
  url: new URL(
196
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
196
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.inspire-theme'
197
197
  ),
198
198
  },
199
199
  type: 'theme',
@@ -204,7 +204,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
204
204
  id: 'geonetwork.thesaurus.external.theme.inspire-theme',
205
205
  name: 'GEMET - INSPIRE themes, version 1.0',
206
206
  url: new URL(
207
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
207
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.inspire-theme'
208
208
  ),
209
209
  },
210
210
  type: 'theme',
@@ -332,7 +332,32 @@ Die Quelle ist zu bezeichnen: „Quelle: Stadt Zürich“.`,
332
332
  securityConstraints: [],
333
333
  otherConstraints: [],
334
334
  // data quality?
335
- spatialExtents: [],
335
+ spatialExtents: [
336
+ {
337
+ description: 'AK',
338
+ },
339
+ {
340
+ bbox: [
341
+ 6.75599105586694, 45.7887442565203, 10.5418236945627, 47.5175655551557,
342
+ ],
343
+ },
344
+ {
345
+ geometry: {
346
+ type: 'MultiPolygon',
347
+ coordinates: [
348
+ [
349
+ [
350
+ [6.777075, 45.827119, 0],
351
+ [6.755991, 47.517566, 0],
352
+ [10.541824, 47.477984, 0],
353
+ [10.446252, 45.788744, 0],
354
+ [6.777075, 45.827119, 0],
355
+ ],
356
+ ],
357
+ ],
358
+ },
359
+ },
360
+ ],
336
361
  temporalExtents: [],
337
362
  status: 'completed',
338
363
  updateFrequency: 'asNeeded',
@@ -388,7 +388,11 @@ Depuis, ce sont les Districts routiers qui assurent la tenue à jour de ces info
388
388
  name: 'Direction Asset Management (SPW - Mobilité et Infrastructures - Direction Asset Management)',
389
389
  },
390
390
  securityConstraints: [],
391
- spatialExtents: [],
391
+ spatialExtents: [
392
+ {
393
+ bbox: [2.75, 49.45, 6.5, 50.85],
394
+ },
395
+ ],
392
396
  spatialRepresentation: 'vector',
393
397
  status: 'ongoing',
394
398
  temporalExtents: [],
@@ -34,6 +34,7 @@ import {
34
34
  readResourcePublished,
35
35
  readResourceUpdated,
36
36
  readSecurityConstraints,
37
+ readSpatialExtents,
37
38
  readSpatialRepresentation,
38
39
  readStatus,
39
40
  readTemporalExtents,
@@ -60,6 +61,7 @@ import {
60
61
  writeResourcePublished,
61
62
  writeResourceUpdated,
62
63
  writeSecurityConstraints,
64
+ writeSpatialExtents,
63
65
  writeSpatialRepresentation,
64
66
  writeStatus,
65
67
  writeTemporalExtents,
@@ -101,8 +103,8 @@ export class Iso19139Converter extends BaseConverter<string> {
101
103
  distributions: readDistributions,
102
104
  onlineResources: readOnlineResources,
103
105
  temporalExtents: readTemporalExtents,
106
+ spatialExtents: readSpatialExtents,
104
107
  // TODO
105
- spatialExtents: () => [],
106
108
  extras: () => undefined,
107
109
  landingPage: () => undefined,
108
110
  languages: () => [],
@@ -139,8 +141,8 @@ export class Iso19139Converter extends BaseConverter<string> {
139
141
  distributions: writeDistributions,
140
142
  onlineResources: writeOnlineResources,
141
143
  temporalExtents: writeTemporalExtents,
144
+ spatialExtents: () => writeSpatialExtents,
142
145
  // TODO
143
- spatialExtents: () => undefined,
144
146
  extras: () => undefined,
145
147
  landingPage: () => undefined,
146
148
  languages: () => undefined,