geonetwork-ui 2.6.0-dev.186d57931 → 2.6.0-dev.3e7617888

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 (102) hide show
  1. package/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +17 -15
  3. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  4. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +12 -5
  5. package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +41 -0
  6. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +70 -1
  7. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
  8. package/esm2022/libs/ui/elements/src/index.mjs +2 -1
  9. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +51 -0
  10. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -4
  11. package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
  12. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +3 -3
  13. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +42 -0
  14. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
  15. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +7 -2
  16. package/esm2022/libs/ui/search/src/index.mjs +2 -1
  17. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
  18. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
  19. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +11 -3
  20. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
  21. package/esm2022/translations/de.json +5 -1
  22. package/esm2022/translations/en.json +5 -1
  23. package/esm2022/translations/es.json +5 -1
  24. package/esm2022/translations/fr.json +5 -1
  25. package/esm2022/translations/it.json +5 -1
  26. package/esm2022/translations/nl.json +5 -1
  27. package/esm2022/translations/pt.json +5 -1
  28. package/fesm2022/geonetwork-ui.mjs +337 -74
  29. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  30. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  31. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  32. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +21 -0
  33. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -1
  34. package/libs/feature/search/src/index.d.ts +1 -1
  35. package/libs/feature/search/src/index.d.ts.map +1 -1
  36. package/libs/feature/search/src/lib/feature-search.module.d.ts +4 -2
  37. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  38. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +21 -0
  39. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
  40. package/libs/feature/search/src/lib/utils/service/fields.d.ts +21 -0
  41. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  42. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  43. package/libs/ui/elements/src/index.d.ts +1 -0
  44. package/libs/ui/elements/src/index.d.ts.map +1 -1
  45. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +11 -0
  46. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
  47. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +2 -1
  48. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  49. package/libs/ui/inputs/src/index.d.ts +1 -0
  50. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  51. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +14 -0
  52. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
  53. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
  54. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
  55. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +25 -24
  56. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  57. package/libs/ui/search/src/index.d.ts +1 -0
  58. package/libs/ui/search/src/index.d.ts.map +1 -1
  59. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
  60. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
  61. package/libs/ui/search/src/lib/ui-search.module.d.ts +21 -19
  62. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  63. package/package.json +1 -1
  64. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  65. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
  66. package/src/libs/feature/search/src/index.ts +1 -1
  67. package/src/libs/feature/search/src/lib/feature-search.module.ts +9 -2
  68. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.css +0 -0
  69. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +16 -0
  70. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +59 -0
  71. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +4 -5
  72. package/src/libs/feature/search/src/lib/utils/service/fields.ts +99 -0
  73. package/src/libs/ui/elements/src/index.ts +1 -0
  74. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.css +6 -0
  75. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +9 -0
  76. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +51 -0
  77. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +3 -0
  78. package/src/libs/ui/inputs/src/index.ts +1 -0
  79. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
  80. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.html +23 -0
  81. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +44 -0
  82. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
  83. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -0
  84. package/src/libs/ui/search/src/index.ts +1 -0
  85. package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.html +1 -1
  86. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +24 -0
  87. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -0
  88. package/src/libs/ui/search/src/lib/ui-search.module.ts +5 -0
  89. package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +1 -1
  90. package/translations/de.json +5 -1
  91. package/translations/en.json +5 -1
  92. package/translations/es.json +5 -1
  93. package/translations/fr.json +5 -1
  94. package/translations/it.json +5 -1
  95. package/translations/nl.json +5 -1
  96. package/translations/pt.json +5 -1
  97. package/translations/sk.json +5 -1
  98. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
  99. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
  100. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts.map +0 -1
  101. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
  102. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
@@ -5,4 +5,5 @@ export * from './lib/gn4';
5
5
  export * from './lib/dcat-ap';
6
6
  export * from './lib/xml-utils';
7
7
  export * from './lib/base.converter';
8
+ export * from './lib/common/resource-types';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/api/metadata-converter/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/api/metadata-converter/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,6BAA6B,CAAA"}
@@ -1,5 +1,26 @@
1
1
  import { CatalogRecord, RecordKind, ReuseType } from '../../../../../../libs/common/domain/src/lib/model/record';
2
+ export declare const PossibleResourceTypes: {
3
+ readonly application: "reuse";
4
+ readonly dataset: "dataset";
5
+ readonly interactiveMap: "reuse";
6
+ readonly map: "reuse";
7
+ readonly 'map/static': "reuse";
8
+ readonly 'map/interactive': "reuse";
9
+ readonly 'map-interactive': "reuse";
10
+ readonly 'map-static': "reuse";
11
+ readonly mapDigital: "reuse";
12
+ readonly series: "dataset";
13
+ readonly service: "service";
14
+ readonly staticMap: "reuse";
15
+ };
16
+ type KindType = keyof typeof PossibleResourceTypes;
17
+ type ResourceType = 'reuse' | 'dataset' | 'service';
18
+ type PossibleResourceTypesGrouped = {
19
+ [K in ResourceType]: KindType[];
20
+ };
21
+ export declare const PossibleResourceTypesDefinition: PossibleResourceTypesGrouped;
2
22
  export declare function getResourceType(type: string): RecordKind;
3
23
  export declare function getReuseType(type: string): ReuseType;
4
24
  export declare function kindToCodeListValue(record: CatalogRecord): "dataset" | "service" | ReuseType;
25
+ export {};
5
26
  //# sourceMappingURL=resource-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resource-types.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/common/resource-types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,SAAS,EACV,MAAM,2DAA2D,CAAA;AAElE,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAmBxD;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAkBpD;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,aAAa,qCAExD"}
1
+ {"version":3,"file":"resource-types.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/common/resource-types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,UAAU,EACV,SAAS,EACV,MAAM,2DAA2D,CAAA;AAElE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;CAaxB,CAAA;AAEV,KAAK,QAAQ,GAAG,MAAM,OAAO,qBAAqB,CAAA;AAClD,KAAK,YAAY,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;AACnD,KAAK,4BAA4B,GAAG;KACjC,CAAC,IAAI,YAAY,GAAG,QAAQ,EAAE;CAChC,CAAA;AAED,eAAO,MAAM,+BAA+B,EAKvC,4BAA4B,CAAA;AAEjC,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAKxD;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAkBpD;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,aAAa,qCAExD"}
@@ -17,7 +17,7 @@ export * from './lib/facets/facets.module';
17
17
  export * from './lib/facets/facets-container/facets-container.component';
18
18
  export * from './lib/records-metrics/records-metrics.component';
19
19
  export * from './lib/favorites/favorite-star/favorite-star.component';
20
- export * from './lib/results-hits-number/results-hits.container.component';
20
+ export * from './lib/results-hits/results-hits.container.component';
21
21
  export * from './lib/results-layout/results-layout.component';
22
22
  export * from './lib/sort-by/sort-by.component';
23
23
  export * from './lib/state/container/search-state.container.directive';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/search/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oCAAoC,CAAA;AAClD,cAAc,oCAAoC,CAAA;AAClD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2CAA2C,CAAA;AACzD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0DAA0D,CAAA;AACxE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,uDAAuD,CAAA;AACrE,cAAc,4DAA4D,CAAA;AAC1E,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wDAAwD,CAAA;AACtE,cAAc,uDAAuD,CAAA;AACrE,cAAc,+DAA+D,CAAA;AAC7E,cAAc,yEAAyE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/search/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oCAAoC,CAAA;AAClD,cAAc,oCAAoC,CAAA;AAClD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2CAA2C,CAAA;AACzD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0DAA0D,CAAA;AACxE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,uDAAuD,CAAA;AACrE,cAAc,qDAAqD,CAAA;AACnE,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wDAAwD,CAAA;AACtE,cAAc,uDAAuD,CAAA;AACrE,cAAc,+DAA+D,CAAA;AAC7E,cAAc,yEAAyE,CAAA"}
@@ -4,7 +4,7 @@ import * as i2 from "./results-layout/results-layout.component";
4
4
  import * as i3 from "./fuzzy-search/fuzzy-search.component";
5
5
  import * as i4 from "./records-metrics/records-metrics.component";
6
6
  import * as i5 from "./results-list/results-list.container.component";
7
- import * as i6 from "./results-hits-number/results-hits.container.component";
7
+ import * as i6 from "./results-hits/results-hits.container.component";
8
8
  import * as i7 from "./state/container/search-state.container.directive";
9
9
  import * as i8 from "./filter-dropdown/filter-dropdown.component";
10
10
  import * as i9 from "@angular/common";
@@ -22,9 +22,11 @@ import * as i20 from "../../../../ui/widgets/src/lib/spinning-loader/spinning-lo
22
22
  import * as i21 from "../../../../ui/elements/src/lib/error/error.component";
23
23
  import * as i22 from "./favorites/favorite-star/favorite-star.component";
24
24
  import * as i23 from "../../../../ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component";
25
+ import * as i24 from "@ng-icons/core";
26
+ import * as i25 from "../../../../ui/elements/src/lib/kind-badge/kind-badge.component";
25
27
  export declare class FeatureSearchModule {
26
28
  static ɵfac: i0.ɵɵFactoryDeclaration<FeatureSearchModule, never>;
27
- static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureSearchModule, [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i7.SearchStateContainerDirective, typeof i8.FilterDropdownComponent], [typeof i9.CommonModule, typeof i10.TranslateModule, typeof i11.StoreFeatureModule, typeof i12.EffectsFeatureModule, typeof i13.HttpClientModule, typeof i13.HttpClientXsrfModule, typeof i14.UiSearchModule, typeof i15.UiInputsModule, typeof i16.UiElementsModule, typeof i17.FacetsModule, typeof i18.UiWidgetsModule, typeof i19.AutocompleteComponent, typeof i20.SpinningLoaderComponent, typeof i21.ErrorComponent, typeof i22.FavoriteStarComponent, typeof i23.DateRangeDropdownComponent], [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i17.FacetsModule, typeof i7.SearchStateContainerDirective, typeof i8.FilterDropdownComponent]>;
29
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureSearchModule, [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i7.SearchStateContainerDirective, typeof i8.FilterDropdownComponent], [typeof i9.CommonModule, typeof i10.TranslateModule, typeof i11.StoreFeatureModule, typeof i12.EffectsFeatureModule, typeof i13.HttpClientModule, typeof i13.HttpClientXsrfModule, typeof i14.UiSearchModule, typeof i15.UiInputsModule, typeof i16.UiElementsModule, typeof i17.FacetsModule, typeof i18.UiWidgetsModule, typeof i19.AutocompleteComponent, typeof i20.SpinningLoaderComponent, typeof i21.ErrorComponent, typeof i22.FavoriteStarComponent, typeof i23.DateRangeDropdownComponent, typeof i24.NgIconsModule, typeof i25.KindBadgeComponent], [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i17.FacetsModule, typeof i7.SearchStateContainerDirective, typeof i8.FilterDropdownComponent]>;
28
30
  static ɵinj: i0.ɵɵInjectorDeclaration<FeatureSearchModule>;
29
31
  }
30
32
  //# sourceMappingURL=feature-search.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/search/src/lib/feature-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA8BA,qBA2Ca,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
1
+ {"version":3,"file":"feature-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/search/src/lib/feature-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,qBA6Ca,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
@@ -0,0 +1,21 @@
1
+ import { Observable } from 'rxjs';
2
+ import { OnInit } from '@angular/core';
3
+ import { SearchFacade } from '../state/search.facade';
4
+ import { FieldAvailableValue, FieldValue } from '../utils/service/fields';
5
+ import { SearchService } from '../utils/service/search.service';
6
+ import { FieldsService } from '../utils/service/fields.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ResultsHitsContainerComponent implements OnInit {
9
+ protected searchFacade: SearchFacade;
10
+ private searchService;
11
+ private fieldsService;
12
+ fieldName: string;
13
+ filterChoices$: Observable<FieldAvailableValue[]>;
14
+ selected$: Observable<FieldValue[]>;
15
+ constructor(searchFacade: SearchFacade, searchService: SearchService, fieldsService: FieldsService);
16
+ ngOnInit(): void;
17
+ onSelectionChanged(values: string[]): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResultsHitsContainerComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResultsHitsContainerComponent, "gn-ui-results-hits", never, {}, {}, never, never, false, never>;
20
+ }
21
+ //# sourceMappingURL=results-hits.container.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"results-hits.container.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,UAAU,EAIX,MAAM,MAAM,CAAA;AACb,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;;AAO/D,qBAKa,6BAA8B,YAAW,MAAM;IAMxD,SAAS,CAAC,YAAY,EAAE,YAAY;IACpC,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,aAAa;IAPvB,SAAS,SAAe;IACxB,cAAc,EAAE,UAAU,CAAC,mBAAmB,EAAE,CAAC,CAAA;IACjD,SAAS,EAAE,UAAU,CAAC,UAAU,EAAE,CAAC,CAAA;gBAGvB,YAAY,EAAE,YAAY,EAC5B,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa;IAGtC,QAAQ;IAgBR,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE;yCA3BxB,6BAA6B;2CAA7B,6BAA6B;CAgCzC"}
@@ -9,6 +9,7 @@ export type FieldValue = string | number;
9
9
  export interface FieldAvailableValue {
10
10
  value: FieldValue;
11
11
  label: string;
12
+ count?: number;
12
13
  }
13
14
  export declare abstract class AbstractSearchField {
14
15
  abstract getAvailableValues(): Observable<FieldAvailableValue[] | DateRange[]>;
@@ -112,4 +113,24 @@ export declare class AvailableServicesField extends SimpleSearchField {
112
113
  getFiltersForValues(values: FieldValue[]): Observable<FieldFilters>;
113
114
  getValuesForFilter(filters: FieldFilters): Observable<FieldValue[]>;
114
115
  }
116
+ /**
117
+ * This class is meant to be used with the legacy filter on `resourceType` (now deprecated, the use of `recordKind` field is recommended).
118
+ * Since creating filters on the same ES field is not possible, in order to make the resource type filter still working,
119
+ * we create an ES on the fly: `resourceTypeLegacy` that references the `resourceType` under the hood.
120
+ * @deprecated Use `recordKind` field instead.
121
+ */
122
+ export declare class ResourceTypeLegacyField extends TranslatedSearchField {
123
+ constructor(injector: Injector);
124
+ }
125
+ export declare class RecordKindField extends SimpleSearchField {
126
+ TYPE_MAPPING: {
127
+ dataset: string[];
128
+ service: string[];
129
+ reuse: string[];
130
+ };
131
+ constructor(injector: Injector);
132
+ getAvailableValues(): Observable<FieldAvailableValue[]>;
133
+ getFiltersForValues(values: FieldValue[]): Observable<FieldFilters>;
134
+ getValuesForFilter(filters: FieldFilters): Observable<FieldValue[]>;
135
+ }
115
136
  //# sourceMappingURL=fields.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/search/src/lib/utils/service/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,UAAU,EAAiB,MAAM,MAAM,CAAA;AAEhE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAIxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,yFAAyF,CAAA;AACpI,OAAO,EAAE,wBAAwB,EAAE,MAAM,4EAA4E,CAAA;AACrH,OAAO,EAEL,kBAAkB,EAGlB,YAAY,EACZ,UAAU,EACX,MAAM,8DAA8D,CAAA;AACrE,OAAO,EACL,SAAS,EACT,oBAAoB,EAGrB,MAAM,8CAA8C,CAAA;AAIrD,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAA;AAE9C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAA;AACxC,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,UAAU,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,8BAAsB,mBAAmB;IACvC,QAAQ,CAAC,kBAAkB,IAAI,UAAU,CAAC,mBAAmB,EAAE,GAAG,SAAS,EAAE,CAAC;IAC9E,QAAQ,C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EA8CX,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAA;IAExC,IAAI,eAAe,aAElB;gBAEqB,QAAQ,EAAE,QAAQ;IAExC,kBAAkB,CAAC,SAAS,EAAE,MAAM;IAMpC,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAI3B,YAAY,CAAC,SAAS,EAAE,MAAM;IAI9B,2BAA2B,CACzB,WAAW,EAAE,WAAW,GACvB,UAAU,CAAC,YAAY,CAAC;IAqB3B,0BAA0B,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,WAAW,CAAC;yCAlG/D,aAAa;6CAAb,aAAa;CA8GzB"}
@@ -7,6 +7,7 @@ export * from './lib/downloads-list/downloads-list.component';
7
7
  export * from './lib/error/error.component';
8
8
  export * from './lib/image-input/image-input.component';
9
9
  export * from './lib/image-overlay-preview/image-overlay-preview.component';
10
+ export * from './lib/kind-badge/kind-badge.component';
10
11
  export * from './lib/link-card/link-card.component';
11
12
  export * from './lib/markdown-editor/markdown-editor.component';
12
13
  export * from './lib/markdown-parser/markdown-parser.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,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yCAAyC,CAAA;AACvD,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,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,uDAAuD,CAAA;AACrE,cAAc,2CAA2C,CAAA;AACzD,cAAc,uDAAuD,CAAA;AACrE,cAAc,uDAAuD,CAAA;AACrE,cAAc,2DAA2D,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,yCAAyC,CAAA;AACvD,cAAc,6DAA6D,CAAA;AAC3E,cAAc,uCAAuC,CAAA;AACrD,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,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,uDAAuD,CAAA;AACrE,cAAc,2CAA2C,CAAA;AACzD,cAAc,uDAAuD,CAAA;AACrE,cAAc,uDAAuD,CAAA;AACrE,cAAc,2DAA2D,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class KindBadgeComponent {
4
+ contentTemplate: TemplateRef<unknown>;
5
+ kind: string;
6
+ hasProjectedContent: boolean;
7
+ get iconKind(): any;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<KindBadgeComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<KindBadgeComponent, "gn-ui-kind-badge", never, { "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "kind": { "alias": "kind"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
11
+ //# sourceMappingURL=kind-badge.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kind-badge.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,WAAW,EACZ,MAAM,eAAe,CAAA;;AAmBtB,qBAgBa,kBAAkB;IACpB,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IACrC,IAAI,EAAE,MAAM,CAAA;IAErB,mBAAmB,UAAQ;IAE3B,IAAI,QAAQ,QAEX;yCARU,kBAAkB;2CAAlB,kBAAkB;CAS9B"}
@@ -21,9 +21,10 @@ import * as i19 from "./image-input/image-input.component";
21
21
  import * as i20 from "./application-banner/application-banner.component";
22
22
  import * as i21 from "./internal-link-card/internal-link-card.component";
23
23
  import * as i22 from "./service-capabilities/service-capabilities.component";
24
+ import * as i23 from "./kind-badge/kind-badge.component";
24
25
  export declare class UiElementsModule {
25
26
  static ɵfac: i0.ɵɵFactoryDeclaration<UiElementsModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.AvatarComponent, typeof i2.UserPreviewComponent], [typeof i3.CommonModule, typeof i4.MatTooltipModule, typeof i5.UiWidgetsModule, typeof i6.UiLayoutModule, typeof i7.TranslateModule, typeof i8.UtilSharedModule, typeof i9.RouterModule, typeof i10.UiInputsModule, typeof i11.FormsModule, typeof i3.NgOptimizedImage, typeof i12.PopoverComponent, typeof i13.MarkdownParserComponent, typeof i14.ThumbnailComponent, typeof i15.TimeSincePipe, typeof i16.BadgeComponent, typeof i17.MaxLinesComponent, typeof i18.TextInputComponent, typeof i19.ImageInputComponent, typeof i20.ApplicationBannerComponent, typeof i21.InternalLinkCardComponent, typeof i22.ServiceCapabilitiesComponent], [typeof i14.ThumbnailComponent, typeof i1.AvatarComponent, typeof i2.UserPreviewComponent, typeof i13.MarkdownParserComponent, typeof i19.ImageInputComponent, typeof i20.ApplicationBannerComponent, typeof i21.InternalLinkCardComponent, typeof i22.ServiceCapabilitiesComponent]>;
27
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.AvatarComponent, typeof i2.UserPreviewComponent], [typeof i3.CommonModule, typeof i4.MatTooltipModule, typeof i5.UiWidgetsModule, typeof i6.UiLayoutModule, typeof i7.TranslateModule, typeof i8.UtilSharedModule, typeof i9.RouterModule, typeof i10.UiInputsModule, typeof i11.FormsModule, typeof i3.NgOptimizedImage, typeof i12.PopoverComponent, typeof i13.MarkdownParserComponent, typeof i14.ThumbnailComponent, typeof i15.TimeSincePipe, typeof i16.BadgeComponent, typeof i17.MaxLinesComponent, typeof i18.TextInputComponent, typeof i19.ImageInputComponent, typeof i20.ApplicationBannerComponent, typeof i21.InternalLinkCardComponent, typeof i22.ServiceCapabilitiesComponent, typeof i23.KindBadgeComponent], [typeof i14.ThumbnailComponent, typeof i1.AvatarComponent, typeof i2.UserPreviewComponent, typeof i13.MarkdownParserComponent, typeof i19.ImageInputComponent, typeof i20.ApplicationBannerComponent, typeof i21.InternalLinkCardComponent, typeof i22.ServiceCapabilitiesComponent, typeof i23.KindBadgeComponent]>;
27
28
  static ɵinj: i0.ɵɵInjectorDeclaration<UiElementsModule>;
28
29
  }
29
30
  //# 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":";;;;;;;;;;;;;;;;;;;;;;;AAyBA,qBAyCa,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":";;;;;;;;;;;;;;;;;;;;;;;;AA0BA,qBA2Ca,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
@@ -15,6 +15,7 @@ export * from './lib/dropdown-selector/dropdown-selector.model';
15
15
  export * from './lib/editable-label/editable-label.directive';
16
16
  export * from './lib/file-input/file-input.component';
17
17
  export * from './lib/files-drop/files-drop.directive';
18
+ export * from './lib/inline-filter/inline-filter.component';
18
19
  export * from './lib/search-input/search-input.component';
19
20
  export * from './lib/star-toggle/star-toggle.component';
20
21
  export * from './lib/switch-toggle/switch-toggle.component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/inputs/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAA;AACzD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2CAA2C,CAAA;AACzD,cAAc,mCAAmC,CAAA;AACjD,cAAc,mDAAmD,CAAA;AACjE,cAAc,yCAAyC,CAAA;AACvD,cAAc,yDAAyD,CAAA;AACvE,cAAc,qDAAqD,CAAA;AACnE,cAAc,mEAAmE,CAAA;AACjF,cAAc,2DAA2D,CAAA;AACzE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,uCAAuC,CAAA;AACrD,cAAc,uCAAuC,CAAA;AACrD,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,wBAAwB,CAAA;AACtC,cAAc,qCAAqC,CAAA;AACnD,cAAc,2DAA2D,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/inputs/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAA;AACzD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2CAA2C,CAAA;AACzD,cAAc,mCAAmC,CAAA;AACjD,cAAc,mDAAmD,CAAA;AACjE,cAAc,yCAAyC,CAAA;AACvD,cAAc,yDAAyD,CAAA;AACvE,cAAc,qDAAqD,CAAA;AACnE,cAAc,mEAAmE,CAAA;AACjF,cAAc,2DAA2D,CAAA;AACzE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,uCAAuC,CAAA;AACrD,cAAc,uCAAuC,CAAA;AACrD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,wBAAwB,CAAA;AACtC,cAAc,qCAAqC,CAAA;AACnD,cAAc,2DAA2D,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { Choice } from './inline-filter.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class InlineFilterComponent {
5
+ choices: Choice[];
6
+ selected: unknown[];
7
+ selectValues: EventEmitter<unknown[]>;
8
+ itemTemplate: TemplateRef<any>;
9
+ isSelected(choice: Choice): boolean;
10
+ select(choice: Choice, selected: boolean): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<InlineFilterComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<InlineFilterComponent, "gn-ui-inline-filter", never, { "choices": { "alias": "choices"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectValues": "selectValues"; }, ["itemTemplate"], never, false, never>;
13
+ }
14
+ //# sourceMappingURL=inline-filter.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline-filter.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGZ,WAAW,EACZ,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;;AAE9C,qBAIa,qBAAqB;IACvB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,QAAQ,EAAE,OAAO,EAAE,CAAK;IAEvB,YAAY,0BAAgC;IAE3B,YAAY,EAAE,WAAW,CAAC,GAAG,CAAC,CAAA;IAEzD,UAAU,CAAC,MAAM,EAAE,MAAM;IAOzB,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO;yCAf7B,qBAAqB;2CAArB,qBAAqB;CA6BjC"}
@@ -0,0 +1,6 @@
1
+ export interface Choice {
2
+ value: unknown;
3
+ label: string;
4
+ icon?: string;
5
+ }
6
+ //# sourceMappingURL=inline-filter.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline-filter.model.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,OAAO,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd"}
@@ -3,32 +3,33 @@ import * as i1 from "./drag-and-drop-file-input/drag-and-drop-file-input.compone
3
3
  import * as i2 from "./dropdown-multiselect/dropdown-multiselect.component";
4
4
  import * as i3 from "./viewport-intersector/viewport-intersector.component";
5
5
  import * as i4 from "./checkbox/checkbox.component";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "@ngx-translate/core";
8
- import * as i7 from "ngx-dropzone";
9
- import * as i8 from "@angular/forms";
10
- import * as i9 from "ngx-chips";
11
- import * as i10 from "../../../../util/shared/src/lib/util-shared.module";
12
- import * as i11 from "@angular/material/autocomplete";
13
- import * as i12 from "../../../widgets/src/lib/ui-widgets.module";
14
- import * as i13 from "@angular/cdk/overlay";
15
- import * as i14 from "@angular/material/checkbox";
16
- import * as i15 from "@angular/material/tooltip";
17
- import * as i16 from "@angular/material/form-field";
18
- import * as i17 from "@angular/material/input";
19
- import * as i18 from "@angular/material/datepicker";
20
- import * as i19 from "@angular/material/core";
21
- import * as i20 from "./editable-label/editable-label.directive";
22
- import * as i21 from "./text-area/text-area.component";
23
- import * as i22 from "./button/button.component";
24
- import * as i23 from "./dropdown-selector/dropdown-selector.component";
25
- import * as i24 from "./date-range-picker/date-range-picker.component";
26
- import * as i25 from "./check-toggle/check-toggle.component";
27
- import * as i26 from "./badge/badge.component";
28
- import * as i27 from "@ng-icons/core";
6
+ import * as i5 from "./inline-filter/inline-filter.component";
7
+ import * as i6 from "@angular/common";
8
+ import * as i7 from "@ngx-translate/core";
9
+ import * as i8 from "ngx-dropzone";
10
+ import * as i9 from "@angular/forms";
11
+ import * as i10 from "ngx-chips";
12
+ import * as i11 from "../../../../util/shared/src/lib/util-shared.module";
13
+ import * as i12 from "@angular/material/autocomplete";
14
+ import * as i13 from "../../../widgets/src/lib/ui-widgets.module";
15
+ import * as i14 from "@angular/cdk/overlay";
16
+ import * as i15 from "@angular/material/checkbox";
17
+ import * as i16 from "@angular/material/tooltip";
18
+ import * as i17 from "@angular/material/form-field";
19
+ import * as i18 from "@angular/material/input";
20
+ import * as i19 from "@angular/material/datepicker";
21
+ import * as i20 from "@angular/material/core";
22
+ import * as i21 from "./editable-label/editable-label.directive";
23
+ import * as i22 from "./text-area/text-area.component";
24
+ import * as i23 from "./button/button.component";
25
+ import * as i24 from "./dropdown-selector/dropdown-selector.component";
26
+ import * as i25 from "./date-range-picker/date-range-picker.component";
27
+ import * as i26 from "./check-toggle/check-toggle.component";
28
+ import * as i27 from "./badge/badge.component";
29
+ import * as i28 from "@ng-icons/core";
29
30
  export declare class UiInputsModule {
30
31
  static ɵfac: i0.ɵɵFactoryDeclaration<UiInputsModule, never>;
31
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DragAndDropFileInputComponent, typeof i2.DropdownMultiselectComponent, typeof i3.ViewportIntersectorComponent, typeof i4.CheckboxComponent], [typeof i5.CommonModule, typeof i6.TranslateModule, typeof i7.NgxDropzoneModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule, typeof i9.TagInputModule, typeof i10.UtilSharedModule, typeof i11.MatAutocompleteModule, typeof i12.UiWidgetsModule, typeof i13.OverlayModule, typeof i14.MatCheckboxModule, typeof i15.MatTooltipModule, typeof i16.MatFormFieldModule, typeof i17.MatInputModule, typeof i18.MatDatepickerModule, typeof i19.MatNativeDateModule, typeof i20.EditableLabelDirective, typeof i21.TextAreaComponent, typeof i22.ButtonComponent, typeof i23.DropdownSelectorComponent, typeof i24.DateRangePickerComponent, typeof i25.CheckToggleComponent, typeof i26.BadgeComponent, typeof i27.NgIcon], [typeof i23.DropdownSelectorComponent, typeof i22.ButtonComponent, typeof i1.DragAndDropFileInputComponent, typeof i21.TextAreaComponent, typeof i2.DropdownMultiselectComponent, typeof i3.ViewportIntersectorComponent, typeof i25.CheckToggleComponent, typeof i4.CheckboxComponent, typeof i24.DateRangePickerComponent, typeof i20.EditableLabelDirective, typeof i26.BadgeComponent]>;
32
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DragAndDropFileInputComponent, typeof i2.DropdownMultiselectComponent, typeof i3.ViewportIntersectorComponent, typeof i4.CheckboxComponent, typeof i5.InlineFilterComponent], [typeof i6.CommonModule, typeof i7.TranslateModule, typeof i8.NgxDropzoneModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.TagInputModule, typeof i11.UtilSharedModule, typeof i12.MatAutocompleteModule, typeof i13.UiWidgetsModule, typeof i14.OverlayModule, typeof i15.MatCheckboxModule, typeof i16.MatTooltipModule, typeof i17.MatFormFieldModule, typeof i18.MatInputModule, typeof i19.MatDatepickerModule, typeof i20.MatNativeDateModule, typeof i21.EditableLabelDirective, typeof i22.TextAreaComponent, typeof i23.ButtonComponent, typeof i24.DropdownSelectorComponent, typeof i25.DateRangePickerComponent, typeof i26.CheckToggleComponent, typeof i27.BadgeComponent, typeof i28.NgIcon], [typeof i24.DropdownSelectorComponent, typeof i23.ButtonComponent, typeof i1.DragAndDropFileInputComponent, typeof i22.TextAreaComponent, typeof i2.DropdownMultiselectComponent, typeof i3.ViewportIntersectorComponent, typeof i26.CheckToggleComponent, typeof i4.CheckboxComponent, typeof i25.DateRangePickerComponent, typeof i21.EditableLabelDirective, typeof i5.InlineFilterComponent, typeof i27.BadgeComponent]>;
32
33
  static ɵinj: i0.ɵɵInjectorDeclaration<UiInputsModule>;
33
34
  }
34
35
  //# sourceMappingURL=ui-inputs.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,qBAyDa,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,qBA2Da,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -16,6 +16,7 @@ export * from './lib/record-preview-text/record-preview-text.component';
16
16
  export * from './lib/record-preview-title/record-preview-title.component';
17
17
  export * from './lib/record-metric/record-metric.component';
18
18
  export * from './lib/results-list-item/results-list-item.component';
19
+ export * from './lib/results-hits-search-kind/results-hits-search-kind.component';
19
20
  export * from './lib/results-hits-number/results-hits-number.component';
20
21
  export * from './lib/results-table/results-table.component';
21
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/search/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3E,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gDAAgD,CAAA;AAC9D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,wBAAwB,CAAA;AACtC,cAAc,0CAA0C,CAAA;AACxD,cAAc,2CAA2C,CAAA;AACzD,cAAc,+CAA+C,CAAA;AAC7D,cAAc,yDAAyD,CAAA;AACvE,cAAc,uDAAuD,CAAA;AACrE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qDAAqD,CAAA;AACnE,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/search/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3E,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gDAAgD,CAAA;AAC9D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,wBAAwB,CAAA;AACtC,cAAc,0CAA0C,CAAA;AACxD,cAAc,2CAA2C,CAAA;AACzD,cAAc,+CAA+C,CAAA;AAC7D,cAAc,yDAAyD,CAAA;AACvE,cAAc,uDAAuD,CAAA;AACrE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qDAAqD,CAAA;AACnE,cAAc,mEAAmE,CAAA;AACjF,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { Choice } from '../../../../../../libs/ui/inputs/src';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ResultsHitsSearchKindComponent implements OnChanges {
5
+ selected: string[];
6
+ choices: Choice[];
7
+ selectionChanged: EventEmitter<string[]>;
8
+ availableChoices: Choice[];
9
+ ngOnChanges(changes: SimpleChanges): void;
10
+ buildFilterChoices(availableValues: Choice[]): Choice[];
11
+ onSelectedValues(values: string[]): void;
12
+ isSelectedChoice(choiceValue: string): boolean;
13
+ isAllChoice(choiceValue: string): boolean;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResultsHitsSearchKindComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResultsHitsSearchKindComponent, "gn-ui-results-hits-search-kind", never, { "selected": { "alias": "selected"; "required": false; }; "choices": { "alias": "choices"; "required": false; }; }, { "selectionChanged": "selectionChanged"; }, never, never, false, never>;
16
+ }
17
+ //# sourceMappingURL=results-hits-search-kind.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"results-hits-search-kind.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAEZ,SAAS,EACT,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAA;;AAE7D,qBAIa,8BAA+B,YAAW,SAAS;IACrD,QAAQ,EAAE,MAAM,EAAE,CAAK;IACvB,OAAO,EAAE,MAAM,EAAE,CAAK;IACrB,gBAAgB,yBAA+B;IAEzD,gBAAgB,EAAE,MAAM,EAAE,CAAK;IAE/B,WAAW,CAAC,OAAO,EAAE,aAAa;IAMlC,kBAAkB,CAAC,eAAe,EAAE,MAAM,EAAE;IAY5C,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE;IAMjC,gBAAgB,CAAC,WAAW,EAAE,MAAM;IAIpC,WAAW,CAAC,WAAW,EAAE,MAAM;yCAnCpB,8BAA8B;2CAA9B,8BAA8B;CAsC1C"}
@@ -7,27 +7,29 @@ import * as i5 from "./record-preview-title/record-preview-title.component";
7
7
  import * as i6 from "./record-metric/record-metric.component";
8
8
  import * as i7 from "./results-list/results-list.component";
9
9
  import * as i8 from "./results-hits-number/results-hits-number.component";
10
- import * as i9 from "./results-list-item/results-list-item.component";
11
- import * as i10 from "./record-preview-feed/record-preview-feed.component";
12
- import * as i11 from "./record-preview-row/record-preview-row.component";
13
- import * as i12 from "@angular/common";
14
- import * as i13 from "@ngx-translate/core";
15
- import * as i14 from "ngx-dropzone";
16
- import * as i15 from "./facets/facets.module";
17
- import * as i16 from "@angular/forms";
18
- import * as i17 from "ngx-chips";
19
- import * as i18 from "../../../../util/shared/src/lib/util-shared.module";
20
- import * as i19 from "../../../widgets/src/lib/ui-widgets.module";
21
- import * as i20 from "../../../inputs/src/lib/ui-inputs.module";
22
- import * as i21 from "../../../elements/src/lib/ui-elements.module";
23
- import * as i22 from "@angular/material/checkbox";
24
- import * as i23 from "@angular/router";
25
- import * as i24 from "../../../layout/src/lib/interactive-table/interactive-table.component";
26
- import * as i25 from "@ng-icons/core";
27
- import * as i26 from "../../../elements/src/lib/metadata-quality/metadata-quality.component";
10
+ import * as i9 from "./results-hits-search-kind/results-hits-search-kind.component";
11
+ import * as i10 from "./results-list-item/results-list-item.component";
12
+ import * as i11 from "./record-preview-feed/record-preview-feed.component";
13
+ import * as i12 from "./record-preview-row/record-preview-row.component";
14
+ import * as i13 from "@angular/common";
15
+ import * as i14 from "@ngx-translate/core";
16
+ import * as i15 from "ngx-dropzone";
17
+ import * as i16 from "./facets/facets.module";
18
+ import * as i17 from "@angular/forms";
19
+ import * as i18 from "ngx-chips";
20
+ import * as i19 from "../../../../util/shared/src/lib/util-shared.module";
21
+ import * as i20 from "../../../widgets/src/lib/ui-widgets.module";
22
+ import * as i21 from "../../../inputs/src/lib/ui-inputs.module";
23
+ import * as i22 from "../../../elements/src/lib/ui-elements.module";
24
+ import * as i23 from "@angular/material/checkbox";
25
+ import * as i24 from "@angular/router";
26
+ import * as i25 from "../../../layout/src/lib/interactive-table/interactive-table.component";
27
+ import * as i26 from "@ng-icons/core";
28
+ import * as i27 from "../../../elements/src/lib/kind-badge/kind-badge.component";
29
+ import * as i28 from "../../../elements/src/lib/metadata-quality/metadata-quality.component";
28
30
  export declare class UiSearchModule {
29
31
  static ɵfac: i0.ɵɵFactoryDeclaration<UiSearchModule, never>;
30
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiSearchModule, [typeof i1.RecordPreviewComponent, typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i8.ResultsHitsNumberComponent, typeof i9.ResultsListItemComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent], [typeof i12.CommonModule, typeof i13.TranslateModule, typeof i14.NgxDropzoneModule, typeof i15.FacetsModule, typeof i16.FormsModule, typeof i16.ReactiveFormsModule, typeof i17.TagInputModule, typeof i18.UtilSharedModule, typeof i19.UiWidgetsModule, typeof i20.UiInputsModule, typeof i21.UiElementsModule, typeof i22.MatCheckboxModule, typeof i23.RouterLink, typeof i24.InteractiveTableComponent, typeof i25.NgIconsModule, typeof i26.MetadataQualityComponent], [typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i15.FacetsModule, typeof i1.RecordPreviewComponent, typeof i8.ResultsHitsNumberComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent]>;
32
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiSearchModule, [typeof i1.RecordPreviewComponent, typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i8.ResultsHitsNumberComponent, typeof i9.ResultsHitsSearchKindComponent, typeof i10.ResultsListItemComponent, typeof i11.RecordPreviewFeedComponent, typeof i12.RecordPreviewRowComponent], [typeof i13.CommonModule, typeof i14.TranslateModule, typeof i15.NgxDropzoneModule, typeof i16.FacetsModule, typeof i17.FormsModule, typeof i17.ReactiveFormsModule, typeof i18.TagInputModule, typeof i19.UtilSharedModule, typeof i20.UiWidgetsModule, typeof i21.UiInputsModule, typeof i22.UiElementsModule, typeof i23.MatCheckboxModule, typeof i24.RouterLink, typeof i25.InteractiveTableComponent, typeof i26.NgIconsModule, typeof i27.KindBadgeComponent, typeof i28.MetadataQualityComponent], [typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i16.FacetsModule, typeof i1.RecordPreviewComponent, typeof i8.ResultsHitsNumberComponent, typeof i9.ResultsHitsSearchKindComponent, typeof i11.RecordPreviewFeedComponent, typeof i12.RecordPreviewRowComponent]>;
31
33
  static ɵinj: i0.ɵɵInjectorDeclaration<UiSearchModule>;
32
34
  }
33
35
  //# sourceMappingURL=ui-search.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/search/src/lib/ui-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA,qBA0Da,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
1
+ {"version":3,"file":"ui-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/search/src/lib/ui-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,qBA6Da,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.6.0-dev.186d57931",
3
+ "version": "2.6.0-dev.3e7617888",
4
4
  "engines": {
5
5
  "node": ">=20"
6
6
  },
@@ -5,3 +5,4 @@ export * from './lib/gn4'
5
5
  export * from './lib/dcat-ap'
6
6
  export * from './lib/xml-utils'
7
7
  export * from './lib/base.converter'
8
+ export * from './lib/common/resource-types'
@@ -4,23 +4,37 @@ import {
4
4
  ReuseType,
5
5
  } from '../../../../../../libs/common/domain/src/lib/model/record'
6
6
 
7
- export function getResourceType(type: string): RecordKind {
8
- const possibleResourceTypes = {
9
- application: 'reuse',
10
- dataset: 'dataset',
11
- map: 'reuse',
12
- 'map/static': 'reuse', // old index field
13
- 'map/interactive': 'reuse', // old index field
14
- 'map-interactive': 'reuse', // new index field since Oct 10, 2024
15
- 'map-static': 'reuse', // new index field
16
- mapDigital: 'reuse',
17
- interactiveMap: 'reuse',
18
- staticMap: 'reuse',
19
- service: 'service',
20
- } as const
7
+ export const PossibleResourceTypes = {
8
+ application: 'reuse',
9
+ dataset: 'dataset',
10
+ interactiveMap: 'reuse',
11
+ map: 'reuse',
12
+ 'map/static': 'reuse', // old index field
13
+ 'map/interactive': 'reuse', // old index field
14
+ 'map-interactive': 'reuse', // new index field since Oct 10, 2024
15
+ 'map-static': 'reuse', // new index field
16
+ mapDigital: 'reuse',
17
+ series: 'dataset',
18
+ service: 'service',
19
+ staticMap: 'reuse',
20
+ } as const
21
+
22
+ type KindType = keyof typeof PossibleResourceTypes
23
+ type ResourceType = 'reuse' | 'dataset' | 'service'
24
+ type PossibleResourceTypesGrouped = {
25
+ [K in ResourceType]: KindType[]
26
+ }
27
+
28
+ export const PossibleResourceTypesDefinition = Object.entries(
29
+ PossibleResourceTypes
30
+ ).reduce(
31
+ (acc, [key, val]) => ((acc[val] ??= []).push(key), acc),
32
+ {}
33
+ ) as PossibleResourceTypesGrouped
21
34
 
35
+ export function getResourceType(type: string): RecordKind {
22
36
  return (
23
- possibleResourceTypes[type as keyof typeof possibleResourceTypes] ||
37
+ PossibleResourceTypes[type as keyof typeof PossibleResourceTypes] ||
24
38
  'dataset'
25
39
  )
26
40
  }
@@ -17,7 +17,7 @@ export * from './lib/facets/facets.module'
17
17
  export * from './lib/facets/facets-container/facets-container.component'
18
18
  export * from './lib/records-metrics/records-metrics.component'
19
19
  export * from './lib/favorites/favorite-star/favorite-star.component'
20
- export * from './lib/results-hits-number/results-hits.container.component'
20
+ export * from './lib/results-hits/results-hits.container.component'
21
21
  export * from './lib/results-layout/results-layout.component'
22
22
  export * from './lib/sort-by/sort-by.component'
23
23
  export * from './lib/state/container/search-state.container.directive'
@@ -4,6 +4,7 @@ import { UiSearchModule } from '../../../../../libs/ui/search/src'
4
4
  import { EffectsModule } from '@ngrx/effects'
5
5
  import { StoreModule } from '@ngrx/store'
6
6
  import { TranslateModule } from '@ngx-translate/core'
7
+ import { NgIconsModule } from '@ng-icons/core'
7
8
  import { FacetsModule } from './facets/facets.module'
8
9
  import { FuzzySearchComponent } from './fuzzy-search/fuzzy-search.component'
9
10
  import { RecordsMetricsComponent } from './records-metrics/records-metrics.component'
@@ -12,7 +13,7 @@ import { ResultsListContainerComponent } from './results-list/results-list.conta
12
13
  import { SortByComponent } from './sort-by/sort-by.component'
13
14
  import { SearchEffects } from './state/effects'
14
15
  import { initialState, reducer, SEARCH_FEATURE_KEY } from './state/reducer'
15
- import { ResultsHitsContainerComponent } from './results-hits-number/results-hits.container.component'
16
+ import { ResultsHitsContainerComponent } from './results-hits/results-hits.container.component'
16
17
  import { SearchStateContainerDirective } from './state/container/search-state.container.directive'
17
18
  import {
18
19
  AutocompleteComponent,
@@ -20,7 +21,11 @@ import {
20
21
  UiInputsModule,
21
22
  } from '../../../../../libs/ui/inputs/src'
22
23
  import { NgModule } from '@angular/core'
23
- import { ErrorComponent, UiElementsModule } from '../../../../../libs/ui/elements/src'
24
+ import {
25
+ ErrorComponent,
26
+ KindBadgeComponent,
27
+ UiElementsModule,
28
+ } from '../../../../../libs/ui/elements/src'
24
29
  import { FilterDropdownComponent } from './filter-dropdown/filter-dropdown.component'
25
30
  import {
26
31
  SpinningLoaderComponent,
@@ -58,6 +63,8 @@ import { FavoriteStarComponent } from './favorites/favorite-star/favorite-star.c
58
63
  ErrorComponent,
59
64
  FavoriteStarComponent,
60
65
  DateRangeDropdownComponent,
66
+ NgIconsModule,
67
+ KindBadgeComponent,
61
68
  ],
62
69
  exports: [
63
70
  SortByComponent,