geonetwork-ui 2.6.0-dev.d216c4dea → 2.6.0-dev.e61ca542f
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.
- package/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +17 -15
- package/esm2022/libs/feature/editor/src/index.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +18 -0
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +3 -3
- package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +3 -3
- package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +6 -3
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +3 -3
- package/esm2022/libs/feature/search/src/index.mjs +2 -2
- package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +12 -5
- package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +41 -0
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +70 -1
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
- package/esm2022/libs/ui/elements/src/index.mjs +2 -1
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +18 -7
- package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +51 -0
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -4
- package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
- package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
- package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +42 -0
- package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
- package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +8 -9
- package/esm2022/libs/ui/layout/src/index.mjs +2 -1
- package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +48 -11
- package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
- package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +56 -0
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +4 -12
- package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +2 -1
- package/esm2022/libs/ui/search/src/index.mjs +2 -1
- package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
- package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +11 -3
- package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2022/translations/de.json +8 -1
- package/esm2022/translations/en.json +10 -1
- package/esm2022/translations/es.json +8 -1
- package/esm2022/translations/fr.json +11 -2
- package/esm2022/translations/it.json +8 -1
- package/esm2022/translations/nl.json +8 -1
- package/esm2022/translations/pt.json +8 -1
- package/fesm2022/geonetwork-ui.mjs +527 -145
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/index.d.ts +1 -0
- package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +21 -0
- package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -1
- package/libs/feature/editor/src/index.d.ts +1 -0
- package/libs/feature/editor/src/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +7 -0
- package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -0
- package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -1
- package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
- package/libs/feature/search/src/index.d.ts +1 -1
- package/libs/feature/search/src/index.d.ts.map +1 -1
- package/libs/feature/search/src/lib/feature-search.module.d.ts +4 -2
- package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +21 -0
- package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
- package/libs/feature/search/src/lib/utils/service/fields.d.ts +21 -0
- package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +1 -0
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +11 -0
- package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +2 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/index.d.ts +1 -0
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +14 -0
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +25 -24
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/layout/src/index.d.ts +1 -0
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +9 -2
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +18 -0
- package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
- package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -1
- package/libs/ui/search/src/index.d.ts +1 -0
- package/libs/ui/search/src/index.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
- package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
- package/libs/ui/search/src/lib/ui-search.module.d.ts +21 -19
- package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/index.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
- package/src/libs/feature/editor/src/index.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +14 -0
- package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +15 -0
- package/src/libs/feature/record/src/lib/data-view/data-view.component.html +14 -10
- package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +2 -2
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +1 -0
- package/src/libs/feature/record/src/lib/map-view/map-view.component.html +21 -15
- package/src/libs/feature/search/src/index.ts +1 -1
- package/src/libs/feature/search/src/lib/feature-search.module.ts +9 -2
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.css +0 -0
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +16 -0
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +59 -0
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +4 -5
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +99 -0
- package/src/libs/ui/elements/src/index.ts +1 -0
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +4 -4
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +8 -5
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +38 -7
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +29 -2
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.css +6 -0
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +9 -0
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +51 -0
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +5 -2
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -7
- package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +3 -5
- package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +9 -9
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +1 -1
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +7 -3
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +2 -3
- package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +1 -1
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +3 -0
- package/src/libs/ui/inputs/src/index.ts +1 -0
- package/src/libs/ui/inputs/src/lib/button/button.component.ts +2 -2
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.html +23 -0
- package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +44 -0
- package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
- package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +0 -0
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +2 -2
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -3
- package/src/libs/ui/layout/src/index.ts +1 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +22 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -2
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +43 -5
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -1
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
- package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -1
- package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +17 -5
- package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
- package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +46 -0
- package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +62 -0
- package/src/libs/ui/layout/src/lib/ui-layout.module.ts +1 -5
- package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts +1 -0
- package/src/libs/ui/search/src/index.ts +1 -0
- package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.html +1 -1
- package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +24 -0
- package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -0
- package/src/libs/ui/search/src/lib/ui-search.module.ts +5 -0
- package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +2 -1
- package/tailwind.base.config.js +3 -0
- package/tailwind.base.css +1 -13
- package/translations/de.json +8 -1
- package/translations/en.json +10 -1
- package/translations/es.json +8 -1
- package/translations/fr.json +11 -2
- package/translations/it.json +8 -1
- package/translations/nl.json +8 -1
- package/translations/pt.json +8 -1
- package/translations/sk.json +8 -1
- package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
- package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
- package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts.map +0 -1
- package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
- package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
<a
|
|
2
2
|
href="{{ link.url }}"
|
|
3
3
|
target="_blank"
|
|
4
|
-
class="group flex flex-row justify-between card-shadow cursor-pointer rounded overflow-hidden"
|
|
4
|
+
class="group flex flex-row justify-between card-shadow cursor-pointer rounded overflow-hidden w-full"
|
|
5
5
|
rel="noopener"
|
|
6
6
|
[ngClass]="cardClass"
|
|
7
7
|
>
|
|
8
|
-
<div class="flex flex-col justify-between">
|
|
8
|
+
<div class="flex flex-col flex-1 justify-between min-w-0">
|
|
9
9
|
<div class="gn-ui-card-title" [title]="link.description || link.name">
|
|
10
10
|
{{ link.description || link.name }}
|
|
11
11
|
</div>
|
|
12
12
|
<div class="gn-ui-card-detail">
|
|
13
13
|
{{ link.name }}
|
|
14
14
|
</div>
|
|
15
|
-
<div class="flex flex-row gap-2 items-center pt-1">
|
|
15
|
+
<div class="flex flex-row gap-2 items-center pt-1 min-w-0">
|
|
16
16
|
<span
|
|
17
|
-
class="inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded transition-opacity opacity-70 group-hover:opacity-100"
|
|
17
|
+
class="inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded transition-opacity opacity-70 group-hover:opacity-100 whitespace-nowrap"
|
|
18
18
|
[style.background-color]="color"
|
|
19
19
|
data-cy="download-format"
|
|
20
20
|
>{{ format || ('downloads.format.unknown' | translate) }}</span
|
|
@@ -24,7 +24,10 @@
|
|
|
24
24
|
>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
|
-
<div
|
|
27
|
+
<div
|
|
28
|
+
class="flex min-w-[32px] flex-shrink-0"
|
|
29
|
+
[ngClass]="size === 'S' ? 'items-end' : 'items-center'"
|
|
30
|
+
>
|
|
28
31
|
<div class="gn-ui-card-icon">
|
|
29
32
|
<ng-icon
|
|
30
33
|
class="inline-block card-icon align-middle"
|
|
@@ -27,7 +27,7 @@ type CardSize = 'L' | 'M' | 'S' | 'XS'
|
|
|
27
27
|
],
|
|
28
28
|
})
|
|
29
29
|
export class DownloadItemComponent {
|
|
30
|
-
private _size:
|
|
30
|
+
private _size: CardSize
|
|
31
31
|
@Input() link: DatasetOnlineResource
|
|
32
32
|
@Input() color: string
|
|
33
33
|
@Input() format: string
|
|
@@ -43,7 +43,7 @@ export class DownloadItemComponent {
|
|
|
43
43
|
this._size = value
|
|
44
44
|
this.cardClass = this.sizeClassMap[value]
|
|
45
45
|
}
|
|
46
|
-
get size():
|
|
46
|
+
get size(): CardSize {
|
|
47
47
|
return this._size
|
|
48
48
|
}
|
|
49
49
|
cardClass = ''
|
|
@@ -2,12 +2,23 @@
|
|
|
2
2
|
class="flex flex-wrap justify-between items-center pb-4"
|
|
3
3
|
*ngIf="links && links.length > 0"
|
|
4
4
|
>
|
|
5
|
-
<div
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
<div class="flex flex-row items-center gap-x-4">
|
|
6
|
+
<div>
|
|
7
|
+
<h3
|
|
8
|
+
class="inline-block font-title text-xl text-title font-medium mr-4"
|
|
9
|
+
translate
|
|
10
|
+
>
|
|
11
|
+
record.metadata.download
|
|
12
|
+
</h3>
|
|
13
|
+
<span class="px-3">({{ linksCount }})</span>
|
|
14
|
+
</div>
|
|
15
|
+
<gn-ui-previous-next-buttons
|
|
16
|
+
class="md:block hidden"
|
|
17
|
+
*ngIf="_list?.pagesCount > 1"
|
|
18
|
+
[listComponent]="_list"
|
|
19
|
+
></gn-ui-previous-next-buttons>
|
|
10
20
|
</div>
|
|
21
|
+
|
|
11
22
|
<div
|
|
12
23
|
class="flex flex-wrap justify-start sm:justify-end"
|
|
13
24
|
data-cy="download-format-filters"
|
|
@@ -26,9 +37,29 @@
|
|
|
26
37
|
</gn-ui-button>
|
|
27
38
|
</div>
|
|
28
39
|
</div>
|
|
29
|
-
|
|
40
|
+
|
|
41
|
+
<ng-container>
|
|
42
|
+
<gn-ui-block-list
|
|
43
|
+
class="md:block hidden"
|
|
44
|
+
#blockList
|
|
45
|
+
(listChanges)="updateList($event)"
|
|
46
|
+
containerClass="gap-4 pt-5 pb-7"
|
|
47
|
+
>
|
|
48
|
+
<gn-ui-download-item
|
|
49
|
+
#block
|
|
50
|
+
*ngFor="let link of filteredLinks"
|
|
51
|
+
[link]="link"
|
|
52
|
+
[color]="getLinkColor(link)"
|
|
53
|
+
[format]="getLinkFormat(link)"
|
|
54
|
+
[isFromApi]="isFromApi(link)"
|
|
55
|
+
[size]="blockList.subComponentSize"
|
|
56
|
+
></gn-ui-download-item>
|
|
57
|
+
</gn-ui-block-list>
|
|
58
|
+
</ng-container>
|
|
59
|
+
|
|
60
|
+
<div class="mb-5 md:hidden block" *ngFor="let link of filteredLinks">
|
|
30
61
|
<gn-ui-download-item
|
|
31
|
-
size="
|
|
62
|
+
size="M"
|
|
32
63
|
[link]="link"
|
|
33
64
|
[color]="getLinkColor(link)"
|
|
34
65
|
[format]="getLinkFormat(link)"
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
AfterViewInit,
|
|
3
|
+
ChangeDetectionStrategy,
|
|
4
|
+
ChangeDetectorRef,
|
|
5
|
+
Component,
|
|
6
|
+
Input,
|
|
7
|
+
ViewChild,
|
|
8
|
+
} from '@angular/core'
|
|
2
9
|
import { TranslateModule, TranslateService } from '@ngx-translate/core'
|
|
3
10
|
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
4
11
|
import { getBadgeColor, getFileFormat } from '../../../../../../libs/util/shared/src'
|
|
@@ -6,6 +13,11 @@ import { DatasetDownloadDistribution } from '../../../../../../libs/common/domai
|
|
|
6
13
|
import { CommonModule } from '@angular/common'
|
|
7
14
|
import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
|
|
8
15
|
import { DownloadItemComponent } from '../download-item/download-item.component'
|
|
16
|
+
import {
|
|
17
|
+
BlockListComponent,
|
|
18
|
+
Paginable,
|
|
19
|
+
PreviousNextButtonsComponent,
|
|
20
|
+
} from '../../../../../../libs/ui/layout/src'
|
|
9
21
|
|
|
10
22
|
marker('datahub.search.filter.all')
|
|
11
23
|
marker('datahub.search.filter.others')
|
|
@@ -22,17 +34,32 @@ type FilterFormat = (typeof FILTER_FORMATS)[number]
|
|
|
22
34
|
imports: [
|
|
23
35
|
CommonModule,
|
|
24
36
|
ButtonComponent,
|
|
37
|
+
BlockListComponent,
|
|
25
38
|
DownloadItemComponent,
|
|
26
39
|
TranslateModule,
|
|
40
|
+
PreviousNextButtonsComponent,
|
|
27
41
|
],
|
|
28
42
|
})
|
|
29
43
|
export class DownloadsListComponent {
|
|
30
|
-
constructor(
|
|
44
|
+
constructor(
|
|
45
|
+
private translateService: TranslateService,
|
|
46
|
+
private changeDetector: ChangeDetectorRef
|
|
47
|
+
) {}
|
|
31
48
|
|
|
49
|
+
_list: BlockListComponent
|
|
32
50
|
@Input() links: DatasetDownloadDistribution[]
|
|
33
51
|
|
|
52
|
+
get linksCount(): number {
|
|
53
|
+
return this.filteredLinks?.length || 0
|
|
54
|
+
}
|
|
55
|
+
|
|
34
56
|
activeFilterFormats: FilterFormat[] = ['all']
|
|
35
57
|
|
|
58
|
+
updateList($event: BlockListComponent) {
|
|
59
|
+
this._list = $event
|
|
60
|
+
this.changeDetector.detectChanges()
|
|
61
|
+
}
|
|
62
|
+
|
|
36
63
|
private removeDuplicateFormats(
|
|
37
64
|
links: DatasetDownloadDistribution[]
|
|
38
65
|
): DatasetDownloadDistribution[] {
|
package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div
|
|
6
6
|
*ngIf="imageUrl"
|
|
7
7
|
data-cy="record-thumbnail"
|
|
8
|
-
class="shrink-0
|
|
8
|
+
class="shrink-0 rounded-lg overflow-hidden group-hover:shadow-xl group-hover:border-0 h-full w-full"
|
|
9
9
|
>
|
|
10
10
|
<gn-ui-thumbnail
|
|
11
11
|
class="relative h-full w-full"
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<ng-icon [name]="iconKind" class="mr-1"></ng-icon>
|
|
2
|
+
|
|
3
|
+
<ng-container *ngIf="contentTemplate; else defaultContent">
|
|
4
|
+
<ng-container *ngTemplateOutlet="contentTemplate"></ng-container>
|
|
5
|
+
</ng-container>
|
|
6
|
+
|
|
7
|
+
<ng-template #defaultContent>
|
|
8
|
+
{{ kind | translate }}
|
|
9
|
+
</ng-template>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common'
|
|
2
|
+
import {
|
|
3
|
+
ChangeDetectionStrategy,
|
|
4
|
+
Component,
|
|
5
|
+
Input,
|
|
6
|
+
TemplateRef,
|
|
7
|
+
} from '@angular/core'
|
|
8
|
+
import { provideIcons } from '@ng-icons/core'
|
|
9
|
+
import {
|
|
10
|
+
iconoirAppleWallet,
|
|
11
|
+
iconoirAppleShortcuts,
|
|
12
|
+
iconoirCode,
|
|
13
|
+
iconoirCreditCard,
|
|
14
|
+
} from '@ng-icons/iconoir'
|
|
15
|
+
import { NgIconsModule } from '@ng-icons/core'
|
|
16
|
+
import { BadgeComponent } from '../../../../../../libs/ui/inputs/src'
|
|
17
|
+
import { TranslateModule } from '@ngx-translate/core'
|
|
18
|
+
|
|
19
|
+
enum KindConfig {
|
|
20
|
+
all = 'iconoirAppleWallet', // (this one is for filter)
|
|
21
|
+
dataset = 'iconoirAppleShortcuts',
|
|
22
|
+
service = 'iconoirCode',
|
|
23
|
+
reuse = 'iconoirCreditCard',
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@Component({
|
|
27
|
+
selector: 'gn-ui-kind-badge',
|
|
28
|
+
templateUrl: './kind-badge.component.html',
|
|
29
|
+
styleUrls: ['./kind-badge.component.css'],
|
|
30
|
+
viewProviders: [
|
|
31
|
+
provideIcons({
|
|
32
|
+
iconoirAppleWallet,
|
|
33
|
+
iconoirAppleShortcuts,
|
|
34
|
+
iconoirCode,
|
|
35
|
+
iconoirCreditCard,
|
|
36
|
+
}),
|
|
37
|
+
],
|
|
38
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
39
|
+
standalone: true,
|
|
40
|
+
imports: [NgIconsModule, CommonModule, BadgeComponent, TranslateModule],
|
|
41
|
+
})
|
|
42
|
+
export class KindBadgeComponent {
|
|
43
|
+
@Input() contentTemplate: TemplateRef<unknown>
|
|
44
|
+
@Input() kind: string
|
|
45
|
+
|
|
46
|
+
hasProjectedContent = false
|
|
47
|
+
|
|
48
|
+
get iconKind() {
|
|
49
|
+
return KindConfig[this.kind] || KindConfig.dataset
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[ngClass]="cardClass"
|
|
6
6
|
[title]="title"
|
|
7
7
|
>
|
|
8
|
-
<div class="flex flex-col justify-between">
|
|
8
|
+
<div class="flex flex-col justify-between flex-1 min-w-0">
|
|
9
9
|
<div class="gn-ui-card-title">
|
|
10
10
|
{{ link.description || link.name }}
|
|
11
11
|
</div>
|
|
@@ -26,7 +26,10 @@
|
|
|
26
26
|
>
|
|
27
27
|
</div>
|
|
28
28
|
</div>
|
|
29
|
-
<div
|
|
29
|
+
<div
|
|
30
|
+
class="flex min-w-[32px]"
|
|
31
|
+
[ngClass]="size === 'S' ? 'items-end' : 'items-center'"
|
|
32
|
+
>
|
|
30
33
|
<div class="gn-ui-card-icon">
|
|
31
34
|
<ng-icon
|
|
32
35
|
class="inline-block card-icon align-middle"
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
|
|
2
|
-
import {
|
|
3
|
-
DatasetDownloadDistribution,
|
|
4
|
-
DatasetOnlineResource,
|
|
5
|
-
DatasetServiceDistribution,
|
|
6
|
-
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
2
|
+
import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
7
3
|
import { CommonModule } from '@angular/common'
|
|
8
4
|
import {
|
|
9
5
|
NgIconComponent,
|
|
@@ -30,7 +26,7 @@ type CardSize = 'L' | 'M' | 'S' | 'XS'
|
|
|
30
26
|
],
|
|
31
27
|
})
|
|
32
28
|
export class LinkCardComponent {
|
|
33
|
-
private _size:
|
|
29
|
+
private _size: CardSize
|
|
34
30
|
@Input() link: DatasetOnlineResource
|
|
35
31
|
private readonly sizeClassMap: Record<CardSize, string> = {
|
|
36
32
|
L: 'gn-ui-card-l py-2 px-5',
|
|
@@ -43,7 +39,7 @@ export class LinkCardComponent {
|
|
|
43
39
|
this._size = value
|
|
44
40
|
this.cardClass = this.sizeClassMap[value]
|
|
45
41
|
}
|
|
46
|
-
get size():
|
|
42
|
+
get size(): CardSize {
|
|
47
43
|
return this._size
|
|
48
44
|
}
|
|
49
45
|
cardClass = ''
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
<div>
|
|
2
|
-
<p class="text-
|
|
3
|
-
|
|
4
|
-
</p>
|
|
5
|
-
<p class="text-primary font-title text-21 mb-1">
|
|
1
|
+
<div class="text-black">
|
|
2
|
+
<p class="text-base mb-3" translate>record.metadata.catalog</p>
|
|
3
|
+
<p class="font-title text-21 mb-1">
|
|
6
4
|
{{ sourceLabel }}
|
|
7
5
|
</p>
|
|
8
6
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<div class="py-5 px-5 rounded bg-gray-100 text-black">
|
|
2
|
-
<div class="grid gap-3 overflow-hidden">
|
|
1
|
+
<div class="py-5 px-5 rounded-lg bg-gray-100 text-black">
|
|
2
|
+
<div class="grid grid-cols-1 gap-3 overflow-hidden">
|
|
3
3
|
<div>
|
|
4
|
-
<p class="text-
|
|
4
|
+
<p class="text-base font-medium" translate>record.metadata.contact</p>
|
|
5
5
|
</div>
|
|
6
6
|
<div
|
|
7
7
|
*ngIf="shownOrganization?.logoUrl?.href"
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
fit="contain"
|
|
14
14
|
></gn-ui-thumbnail>
|
|
15
15
|
</div>
|
|
16
|
-
<div class="grid gap-1">
|
|
16
|
+
<div class="grid grid-cols-1 gap-1">
|
|
17
17
|
<div class="flex">
|
|
18
18
|
<div
|
|
19
|
-
class="
|
|
19
|
+
class="font-title text-21 mr-2 cursor-pointer hover:underline"
|
|
20
20
|
(click)="onOrganizationClick()"
|
|
21
21
|
data-cy="organization-name"
|
|
22
22
|
>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<a
|
|
28
28
|
[href]="shownOrganization.website"
|
|
29
29
|
target="_blank"
|
|
30
|
-
class="contact-website text-
|
|
30
|
+
class="contact-website text-sm cursor-pointer hover:underline transition-all"
|
|
31
31
|
>{{ shownOrganization.website }}
|
|
32
32
|
<ng-icon
|
|
33
33
|
class="!w-[12px] !h-[12px] opacity-75 shrink-0"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
</a>
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
|
-
<div class="grid gap-5 py-3 overflow-hidden">
|
|
39
|
+
<div class="grid grid-cols-1 gap-5 py-3 overflow-hidden">
|
|
40
40
|
<div *ngIf="contacts[0]?.phone">
|
|
41
41
|
<div class="flex">
|
|
42
42
|
<ng-icon
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
</div>
|
|
51
51
|
<div *ngIf="contacts[0]?.email">
|
|
52
|
-
<div class="flex">
|
|
52
|
+
<div class="flex gap-2">
|
|
53
53
|
<ng-icon
|
|
54
54
|
class="!w-5 !h-5 !text-[20px] opacity-75 shrink-0"
|
|
55
55
|
name="matMailOutline"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<a
|
|
58
58
|
*ngIf="contacts.length"
|
|
59
59
|
[href]="'mailto:' + contacts[0].email"
|
|
60
|
-
class="text-sm hover:underline
|
|
60
|
+
class="break-all text-sm hover:underline"
|
|
61
61
|
target="_blank"
|
|
62
62
|
data-cy="contact-email"
|
|
63
63
|
>{{ contacts[0].email }}</a
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
[showContent]="fieldReady('keywords')"
|
|
26
26
|
>
|
|
27
27
|
<div *ngIf="metadata.keywords?.length">
|
|
28
|
-
<div class="sm:pb-4 flex flex-wrap gap-2">
|
|
28
|
+
<div class="metadata-info-keywords sm:pb-4 flex flex-wrap gap-2">
|
|
29
29
|
<gn-ui-badge
|
|
30
30
|
class="inline-block lowercase"
|
|
31
31
|
(click)="onKeywordClick(keyword)"
|
|
@@ -79,9 +79,12 @@
|
|
|
79
79
|
</ng-container>
|
|
80
80
|
<ng-container *ngIf="otherConstraints.length">
|
|
81
81
|
<div gnUiLinkify *ngFor="let constraint of otherConstraints">
|
|
82
|
-
<
|
|
82
|
+
<span
|
|
83
|
+
translate
|
|
84
|
+
class="font-medium text-black text-sm mb-[2px] mt-[16px]"
|
|
85
|
+
>
|
|
83
86
|
record.metadata.otherConstraints
|
|
84
|
-
</
|
|
87
|
+
</span>
|
|
85
88
|
<div class="mb-6">
|
|
86
89
|
<gn-ui-markdown-parser [textContent]="constraint">
|
|
87
90
|
</gn-ui-markdown-parser>
|
|
@@ -276,6 +279,7 @@
|
|
|
276
279
|
<p class="text-sm mb-1" translate>record.metadata.topics</p>
|
|
277
280
|
<div class="sm:pb-4 sm:pr-16">
|
|
278
281
|
<gn-ui-badge
|
|
282
|
+
[clickable]="false"
|
|
279
283
|
class="inline-block mr-2 mb-2 lowercase"
|
|
280
284
|
*ngFor="let topic of metadata.topics"
|
|
281
285
|
>{{ topic }}</gn-ui-badge
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
<div *ngIf="metadataQualityDisplay" class="metadata-quality">
|
|
2
2
|
<div
|
|
3
3
|
class="flex items-center"
|
|
4
|
-
[class]="
|
|
5
|
-
|
|
6
|
-
"
|
|
4
|
+
[class]="min - w - 0"
|
|
5
|
+
[ngClass]="{ 'leading-[8px] m-h-[120px]': smaller }"
|
|
7
6
|
>
|
|
8
7
|
<gn-ui-progress-bar
|
|
9
8
|
tabindex="0"
|
package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div style="height: 652px" id="preview" *ngIf="apiLinks.length > 0">
|
|
2
|
-
<div class="bg-primary-opacity-10 overflow-visible" style="height:
|
|
2
|
+
<div class="bg-primary-opacity-10 overflow-visible" style="height: 420px">
|
|
3
3
|
<div class="container-lg px-4 lg:mx-auto">
|
|
4
4
|
<div>
|
|
5
5
|
<div class="gn-ui-section-title mb-6" translate>
|
|
@@ -16,6 +16,7 @@ import { TranslateModule } from '@ngx-translate/core'
|
|
|
16
16
|
import { AvatarComponent } from './avatar/avatar.component'
|
|
17
17
|
import { ImageInputComponent } from './image-input/image-input.component'
|
|
18
18
|
import { MarkdownParserComponent } from './markdown-parser/markdown-parser.component'
|
|
19
|
+
import { KindBadgeComponent } from './kind-badge/kind-badge.component'
|
|
19
20
|
import { ThumbnailComponent } from './thumbnail/thumbnail.component'
|
|
20
21
|
import { TimeSincePipe } from './user-feedback-item/time-since.pipe'
|
|
21
22
|
import { UserPreviewComponent } from './user-preview/user-preview.component'
|
|
@@ -46,6 +47,7 @@ import { ServiceCapabilitiesComponent } from './service-capabilities/service-cap
|
|
|
46
47
|
ApplicationBannerComponent,
|
|
47
48
|
InternalLinkCardComponent,
|
|
48
49
|
ServiceCapabilitiesComponent,
|
|
50
|
+
KindBadgeComponent,
|
|
49
51
|
],
|
|
50
52
|
providers: [
|
|
51
53
|
provideNgIconsConfig({
|
|
@@ -62,6 +64,7 @@ import { ServiceCapabilitiesComponent } from './service-capabilities/service-cap
|
|
|
62
64
|
ApplicationBannerComponent,
|
|
63
65
|
InternalLinkCardComponent,
|
|
64
66
|
ServiceCapabilitiesComponent,
|
|
67
|
+
KindBadgeComponent,
|
|
65
68
|
],
|
|
66
69
|
})
|
|
67
70
|
export class UiElementsModule {}
|
|
@@ -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'
|
|
@@ -56,14 +56,14 @@ export class ButtonComponent {
|
|
|
56
56
|
|
|
57
57
|
@Input() disabled = false
|
|
58
58
|
@Input() extraClass = ''
|
|
59
|
-
@Output() buttonClick = new EventEmitter<
|
|
59
|
+
@Output() buttonClick = new EventEmitter<Event>()
|
|
60
60
|
|
|
61
61
|
get classList() {
|
|
62
62
|
return `${this.btnClass} ${this.extraClass}`
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
handleClick(event: MouseEvent) {
|
|
66
|
-
this.buttonClick.emit()
|
|
66
|
+
this.buttonClick.emit(event)
|
|
67
67
|
event.preventDefault()
|
|
68
68
|
;(event.currentTarget as HTMLElement).blur()
|
|
69
69
|
propagateToDocumentOnly(event)
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
#overlayContainer
|
|
60
60
|
>
|
|
61
61
|
<div
|
|
62
|
-
class="border border-gray-300 rounded mb-2 mx-2 min-h-[44px] flex flex-row flex-wrap p-2 focus-within:rounded focus-within:border-2 focus-within:border-primary"
|
|
62
|
+
class="border border-gray-300 rounded mb-2 mx-2 min-h-[44px] flex flex-row gap-[2px] flex-wrap p-2 focus-within:rounded focus-within:border-2 focus-within:border-primary"
|
|
63
63
|
>
|
|
64
64
|
<button
|
|
65
65
|
type="button"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<ul class="flex flex-wrap list-none gap-2">
|
|
2
|
+
<li *ngFor="let choice of choices">
|
|
3
|
+
<label
|
|
4
|
+
class=""
|
|
5
|
+
[ngClass]="{
|
|
6
|
+
selected: isSelected(choice),
|
|
7
|
+
}"
|
|
8
|
+
>
|
|
9
|
+
<input
|
|
10
|
+
class="hidden"
|
|
11
|
+
type="checkbox"
|
|
12
|
+
#checkBox
|
|
13
|
+
[checked]="isSelected(choice)"
|
|
14
|
+
(change)="select(choice, checkBox.checked)"
|
|
15
|
+
[attr.data-cy]="'inlineFilter-' + choice.value"
|
|
16
|
+
/>
|
|
17
|
+
<ng-container
|
|
18
|
+
*ngTemplateOutlet="itemTemplate; context: { $implicit: choice }"
|
|
19
|
+
>
|
|
20
|
+
</ng-container>
|
|
21
|
+
</label>
|
|
22
|
+
</li>
|
|
23
|
+
</ul>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Component,
|
|
3
|
+
ContentChild,
|
|
4
|
+
EventEmitter,
|
|
5
|
+
Input,
|
|
6
|
+
Output,
|
|
7
|
+
TemplateRef,
|
|
8
|
+
} from '@angular/core'
|
|
9
|
+
import { Choice } from './inline-filter.model'
|
|
10
|
+
|
|
11
|
+
@Component({
|
|
12
|
+
selector: 'gn-ui-inline-filter',
|
|
13
|
+
templateUrl: './inline-filter.component.html',
|
|
14
|
+
})
|
|
15
|
+
export class InlineFilterComponent {
|
|
16
|
+
@Input() choices: Choice[]
|
|
17
|
+
@Input() selected: unknown[] = []
|
|
18
|
+
|
|
19
|
+
@Output() selectValues = new EventEmitter<unknown[]>()
|
|
20
|
+
|
|
21
|
+
@ContentChild(TemplateRef) itemTemplate: TemplateRef<any>
|
|
22
|
+
|
|
23
|
+
isSelected(choice: Choice) {
|
|
24
|
+
return (
|
|
25
|
+
this.selected.indexOf(choice.value) > -1 ||
|
|
26
|
+
(this.selected.length === 0 && choice.value === 'all')
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
select(choice: Choice, selected: boolean) {
|
|
31
|
+
if (choice.value === 'all' && selected) {
|
|
32
|
+
this.selected = [choice.value]
|
|
33
|
+
} else {
|
|
34
|
+
this.selected = selected
|
|
35
|
+
? [...this.selected.filter((v) => v !== choice.value), choice.value]
|
|
36
|
+
: this.selected.filter((v) => v !== choice.value)
|
|
37
|
+
|
|
38
|
+
// If any value selected, unselect all
|
|
39
|
+
this.selected = this.selected.filter((v) => v !== 'all')
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
this.selectValues.emit(this.selected)
|
|
43
|
+
}
|
|
44
|
+
}
|
|
File without changes
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<div class="inline-block relative align-middle" style="line-height: 0.7em">
|
|
2
2
|
<gn-ui-button
|
|
3
3
|
[type]="'outline'"
|
|
4
|
+
[disabled]="disabled"
|
|
4
5
|
class="-m-[8px] p-[8px]"
|
|
5
6
|
(buttonClick)="toggle($event)"
|
|
6
7
|
[ngClass]="{
|
|
7
8
|
enabled: toggled,
|
|
8
|
-
disabled: !toggled,
|
|
9
|
+
disabled: !toggled || disabled,
|
|
9
10
|
'transition hover:scale-125 will-change-transform': !disabled,
|
|
10
|
-
'cursor-default': disabled,
|
|
11
11
|
}"
|
|
12
12
|
>
|
|
13
13
|
<ng-icon [name]="toggled ? 'matStar' : 'matStarBorder'"></ng-icon>
|
|
@@ -33,6 +33,7 @@ import { DragAndDropFileInputComponent } from './drag-and-drop-file-input/drag-a
|
|
|
33
33
|
import { DropdownMultiselectComponent } from './dropdown-multiselect/dropdown-multiselect.component'
|
|
34
34
|
import { DropdownSelectorComponent } from './dropdown-selector/dropdown-selector.component'
|
|
35
35
|
import { EditableLabelDirective } from './editable-label/editable-label.directive'
|
|
36
|
+
import { InlineFilterComponent } from './inline-filter/inline-filter.component'
|
|
36
37
|
import { TextAreaComponent } from './text-area/text-area.component'
|
|
37
38
|
import { ViewportIntersectorComponent } from './viewport-intersector/viewport-intersector.component'
|
|
38
39
|
|
|
@@ -42,6 +43,7 @@ import { ViewportIntersectorComponent } from './viewport-intersector/viewport-in
|
|
|
42
43
|
DropdownMultiselectComponent,
|
|
43
44
|
ViewportIntersectorComponent,
|
|
44
45
|
CheckboxComponent,
|
|
46
|
+
InlineFilterComponent,
|
|
45
47
|
],
|
|
46
48
|
imports: [
|
|
47
49
|
CommonModule,
|
|
@@ -75,9 +77,6 @@ import { ViewportIntersectorComponent } from './viewport-intersector/viewport-in
|
|
|
75
77
|
matExpandMore,
|
|
76
78
|
matExpandLess,
|
|
77
79
|
}),
|
|
78
|
-
provideNgIconsConfig({
|
|
79
|
-
size: '0.9em',
|
|
80
|
-
}),
|
|
81
80
|
],
|
|
82
81
|
exports: [
|
|
83
82
|
DropdownSelectorComponent,
|
|
@@ -90,6 +89,7 @@ import { ViewportIntersectorComponent } from './viewport-intersector/viewport-in
|
|
|
90
89
|
CheckboxComponent,
|
|
91
90
|
DateRangePickerComponent,
|
|
92
91
|
EditableLabelDirective,
|
|
92
|
+
InlineFilterComponent,
|
|
93
93
|
BadgeComponent,
|
|
94
94
|
],
|
|
95
95
|
})
|
|
@@ -16,3 +16,4 @@ export * from './lib/pagination-dots/pagination-dots.component'
|
|
|
16
16
|
export * from './lib/previous-next-buttons/previous-next-buttons.component'
|
|
17
17
|
export * from './lib/paginable.interface'
|
|
18
18
|
export * from './lib/ui-layout.module'
|
|
19
|
+
export * from './lib/truncated-text/truncated-text.component'
|