geonetwork-ui 2.3.0-dev.e03215d1 → 2.3.0-dev.e43863db
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/lib/iso19115-3/iso19115-3.converter.mjs +2 -2
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +9 -7
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +23 -8
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +15 -4
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +9 -7
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +47 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +104 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +8 -3
- package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +8 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +73 -20
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +58 -17
- package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +7 -3
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +1 -1
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +17 -9
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +34 -5
- package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +1 -3
- package/esm2022/libs/feature/search/src/index.mjs +2 -1
- package/esm2022/libs/feature/search/src/lib/results-layout/results-layout.component.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +4 -4
- package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +1 -1
- package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +1 -1
- package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +1 -1
- package/esm2022/libs/ui/elements/src/index.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -2
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +30 -0
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +16 -3
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +89 -54
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +6 -11
- package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +3 -5
- package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
- package/esm2022/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.mjs +4 -3
- package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +5 -3
- package/esm2022/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +29 -0
- package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +5 -3
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +6 -5
- package/esm2022/libs/ui/layout/src/index.mjs +2 -1
- package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +76 -0
- package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +42 -18
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +3 -8
- package/esm2022/libs/util/app-config/src/lib/app-config.mjs +3 -1
- package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
- package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +2 -2
- package/esm2022/translations/de.json +12 -14
- package/esm2022/translations/en.json +12 -14
- package/esm2022/translations/es.json +12 -14
- package/esm2022/translations/fr.json +12 -14
- package/esm2022/translations/it.json +12 -14
- package/esm2022/translations/nl.json +12 -14
- package/esm2022/translations/pt.json +12 -14
- package/fesm2022/geonetwork-ui.mjs +997 -536
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts +2 -2
- package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +4 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +2 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +3 -3
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +4 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +21 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +10 -5
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +7 -0
- package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +1 -1
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +1 -1
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +2 -2
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts +5 -2
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
- package/libs/feature/search/src/index.d.ts +1 -0
- package/libs/feature/search/src/index.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts +3 -3
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +1 -1
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/error/error.component.d.ts +16 -0
- package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +3 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +22 -4
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +29 -30
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts +1 -2
- package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.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/check-toggle/check-toggle.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts +2 -1
- package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts +12 -0
- package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -1
- package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +27 -27
- 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 +25 -0
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts +13 -6
- package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts +4 -5
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/model.d.ts +1 -0
- package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +9 -1
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +3 -3
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +35 -31
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +68 -16
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +72 -17
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +16 -10
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +3 -3
- package/src/libs/common/fixtures/src/lib/link.fixtures.ts +8 -0
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +8 -0
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +65 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +14 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +143 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +5 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +5 -0
- package/src/libs/feature/editor/src/lib/fields.config.ts +7 -0
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.css +7 -0
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +32 -18
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +72 -17
- package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +7 -0
- package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +57 -17
- package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +6 -2
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +17 -9
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +40 -4
- package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +0 -2
- package/src/libs/feature/search/src/index.ts +1 -0
- package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +4 -4
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +2 -2
- package/src/libs/ui/elements/src/index.ts +1 -1
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +2 -1
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +1 -1
- package/src/libs/ui/elements/src/lib/{search-results-error/search-results-error.component.html → error/error.component.html} +18 -3
- package/src/libs/ui/elements/src/lib/{search-results-error/search-results-error.component.ts → error/error.component.ts} +5 -4
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +38 -20
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +12 -0
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +25 -9
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +116 -57
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +3 -6
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.html +1 -1
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +0 -1
- package/src/libs/ui/inputs/src/index.ts +1 -0
- package/src/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.ts +3 -0
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -0
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +1 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.css +6 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.html +26 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.ts +32 -0
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +1 -0
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +1 -0
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +1 -1
- package/src/libs/ui/layout/src/index.ts +1 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +23 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +20 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +84 -0
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +8 -4
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +4 -4
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.ts +45 -15
- package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -2
- package/src/libs/util/app-config/src/lib/app-config.ts +2 -0
- package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
- package/src/libs/util/app-config/src/lib/model.ts +1 -0
- package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +1 -1
- package/translations/de.json +12 -14
- package/translations/en.json +12 -14
- package/translations/es.json +12 -14
- package/translations/fr.json +12 -14
- package/translations/it.json +12 -14
- package/translations/nl.json +12 -14
- package/translations/pt.json +12 -14
- package/translations/sk.json +12 -14
- package/esm2022/libs/ui/elements/src/lib/search-results-error/search-results-error.component.mjs +0 -29
- package/libs/ui/elements/src/lib/search-results-error/search-results-error.component.d.ts +0 -15
- package/libs/ui/elements/src/lib/search-results-error/search-results-error.component.d.ts.map +0 -1
- /package/src/libs/ui/elements/src/lib/{search-results-error/search-results-error.component.css → error/error.component.css} +0 -0
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<div
|
|
2
2
|
class="p-[1.7em] bg-red-50 text-red-800 text-[1.5em] text-center rounded-lg"
|
|
3
3
|
>
|
|
4
|
-
<div
|
|
4
|
+
<div
|
|
5
|
+
*ngIf="type === types.COULD_NOT_REACH_API"
|
|
6
|
+
data-test="could-not-reach-api-error"
|
|
7
|
+
>
|
|
5
8
|
<div class="relative opacity-40">
|
|
6
9
|
<mat-icon class="material-symbols-outlined face">face</mat-icon>
|
|
7
10
|
<mat-icon class="material-symbols-outlined question-mark1"
|
|
@@ -13,14 +16,26 @@
|
|
|
13
16
|
</div>
|
|
14
17
|
<div translate>search.error.couldNotReachApi</div>
|
|
15
18
|
</div>
|
|
16
|
-
<div
|
|
19
|
+
<div
|
|
20
|
+
*ngIf="type === types.DATASET_HAS_NO_LINK"
|
|
21
|
+
data-test="dataset-has-no-link-error"
|
|
22
|
+
>
|
|
23
|
+
<div class="relative opacity-40">
|
|
24
|
+
<mat-icon class="material-symbols-outlined face">computer</mat-icon>
|
|
25
|
+
</div>
|
|
26
|
+
<div translate>search.error.recordHasnolink</div>
|
|
27
|
+
</div>
|
|
28
|
+
<div *ngIf="type === types.RECEIVED_ERROR" data-test="received-error-error">
|
|
17
29
|
<div class="relative opacity-40">
|
|
18
30
|
<mat-icon class="material-symbols-outlined face">mood_bad</mat-icon>
|
|
19
31
|
</div>
|
|
20
32
|
<div translate>search.error.receivedError</div>
|
|
21
33
|
<div *ngIf="error">{{ error }}</div>
|
|
22
34
|
</div>
|
|
23
|
-
<div
|
|
35
|
+
<div
|
|
36
|
+
*ngIf="type === types.RECORD_NOT_FOUND"
|
|
37
|
+
data-test="record-not-found-error"
|
|
38
|
+
>
|
|
24
39
|
<div class="relative opacity-40">
|
|
25
40
|
<mat-icon class="material-symbols-outlined computer">computer</mat-icon>
|
|
26
41
|
<mat-icon class="material-symbols-outlined computer-question-mark"
|
|
@@ -4,15 +4,16 @@ export enum ErrorType {
|
|
|
4
4
|
COULD_NOT_REACH_API,
|
|
5
5
|
RECEIVED_ERROR,
|
|
6
6
|
RECORD_NOT_FOUND,
|
|
7
|
+
DATASET_HAS_NO_LINK,
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
@Component({
|
|
10
|
-
selector: 'gn-ui-
|
|
11
|
-
templateUrl: './
|
|
12
|
-
styleUrls: ['./
|
|
11
|
+
selector: 'gn-ui-error',
|
|
12
|
+
templateUrl: './error.component.html',
|
|
13
|
+
styleUrls: ['./error.component.css'],
|
|
13
14
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
15
|
})
|
|
15
|
-
export class
|
|
16
|
+
export class ErrorComponent {
|
|
16
17
|
@Input() type!: ErrorType
|
|
17
18
|
@Input() error?: string
|
|
18
19
|
@Input() recordId?: string
|
|
@@ -1,25 +1,43 @@
|
|
|
1
1
|
<a
|
|
2
2
|
[href]="link.url"
|
|
3
3
|
target="_blank"
|
|
4
|
-
class="flex flex-col justify-between group
|
|
4
|
+
class="flex flex-col justify-between group grow py-5 px-5 bg-white rounded border-gray-300 filter card-shadow overflow-hidden"
|
|
5
|
+
[ngClass]="{ 'h-40': !compact }"
|
|
6
|
+
[title]="title"
|
|
5
7
|
>
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<
|
|
24
|
-
|
|
8
|
+
<ng-container *ngIf="!compact; else compactTpl">
|
|
9
|
+
<div class="max-h-24 overflow-hidden text-ellipsis">
|
|
10
|
+
<p
|
|
11
|
+
class="font-title font-medium text-21 text-black break-words mb-1 line-clamp-2"
|
|
12
|
+
>
|
|
13
|
+
{{ link.name }}
|
|
14
|
+
</p>
|
|
15
|
+
<p class="font-medium text-sm break-words">
|
|
16
|
+
{{ link.description }}
|
|
17
|
+
</p>
|
|
18
|
+
<p
|
|
19
|
+
*ngIf="!link.name && !link.description"
|
|
20
|
+
class="font-medium text-sm break-words truncate"
|
|
21
|
+
>
|
|
22
|
+
{{ link.url }}
|
|
23
|
+
</p>
|
|
24
|
+
</div>
|
|
25
|
+
<div>
|
|
26
|
+
<mat-icon class="material-symbols-outlined card-icon"
|
|
27
|
+
>open_in_new</mat-icon
|
|
28
|
+
>
|
|
29
|
+
</div>
|
|
30
|
+
</ng-container>
|
|
31
|
+
<ng-template #compactTpl>
|
|
32
|
+
<div class="flex items-center justify-between gap-4">
|
|
33
|
+
<p
|
|
34
|
+
class="overflow-hidden font-title font-medium text-21 text-black text-ellipsis whitespace-nowrap"
|
|
35
|
+
>
|
|
36
|
+
{{ link.name || link.description }}
|
|
37
|
+
</p>
|
|
38
|
+
<mat-icon class="material-symbols-outlined card-icon flex-shrink-0"
|
|
39
|
+
>open_in_new</mat-icon
|
|
40
|
+
>
|
|
41
|
+
</div>
|
|
42
|
+
</ng-template>
|
|
25
43
|
</a>
|
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
import { Component, ChangeDetectionStrategy, Input } from '@angular/core'
|
|
2
2
|
import { DatasetDistribution } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
3
|
+
import { MatIconModule } from '@angular/material/icon'
|
|
4
|
+
import { CommonModule } from '@angular/common'
|
|
3
5
|
|
|
4
6
|
@Component({
|
|
5
7
|
selector: 'gn-ui-link-card',
|
|
6
8
|
templateUrl: './link-card.component.html',
|
|
7
9
|
styleUrls: ['./link-card.component.css'],
|
|
8
10
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11
|
+
standalone: true,
|
|
12
|
+
imports: [CommonModule, MatIconModule],
|
|
9
13
|
})
|
|
10
14
|
export class LinkCardComponent {
|
|
11
15
|
@Input() link: DatasetDistribution
|
|
16
|
+
@Input() compact = false
|
|
17
|
+
|
|
18
|
+
get title() {
|
|
19
|
+
if (this.link.name && this.link.description) {
|
|
20
|
+
return `${this.link.name} | ${this.link.description}`
|
|
21
|
+
}
|
|
22
|
+
return this.link.name || this.link.description || ''
|
|
23
|
+
}
|
|
12
24
|
}
|
|
@@ -37,15 +37,31 @@
|
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
40
|
-
<div class="flex flex-col gap-3">
|
|
41
|
-
<p class="text-sm" translate>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
40
|
+
<div class="flex flex-col gap-3 relative">
|
|
41
|
+
<p class="text-sm" [class.text-gray-600]="!supportOffset" translate>
|
|
42
|
+
record.metadata.api.form.offset
|
|
43
|
+
</p>
|
|
44
|
+
<div class="flex items-center">
|
|
45
|
+
<gn-ui-text-input
|
|
46
|
+
class="w-20"
|
|
47
|
+
[value]="offset$ | async"
|
|
48
|
+
[disabled]="!supportOffset"
|
|
49
|
+
(valueChange)="supportOffset ? setOffset($event) : null"
|
|
50
|
+
hint=""
|
|
51
|
+
>
|
|
52
|
+
</gn-ui-text-input>
|
|
53
|
+
<div
|
|
54
|
+
*ngIf="!supportOffset"
|
|
55
|
+
class="flex items-center gap-2 text-orange-500 z-10 ml-3"
|
|
56
|
+
>
|
|
57
|
+
<span
|
|
58
|
+
class="material-symbols-outlined"
|
|
59
|
+
matTooltip="Not supported on this service"
|
|
60
|
+
>
|
|
61
|
+
warning
|
|
62
|
+
</span>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
49
65
|
</div>
|
|
50
66
|
<div class="flex flex-col gap-3">
|
|
51
67
|
<p class="text-sm" translate>record.metadata.api.form.type</p>
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
|
|
2
|
-
import { OgcApiEndpoint } from '@camptocamp/ogc-client'
|
|
3
|
-
import {
|
|
2
|
+
import { OgcApiEndpoint, WfsEndpoint } from '@camptocamp/ogc-client'
|
|
3
|
+
import {
|
|
4
|
+
DatasetServiceDistribution,
|
|
5
|
+
ServiceProtocol,
|
|
6
|
+
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
4
7
|
import { mimeTypeToFormat } from '../../../../../../libs/util/shared/src'
|
|
5
|
-
import { BehaviorSubject, combineLatest, map } from 'rxjs'
|
|
8
|
+
import { BehaviorSubject, combineLatest, filter, map, switchMap } from 'rxjs'
|
|
6
9
|
|
|
7
10
|
const DEFAULT_PARAMS = {
|
|
8
11
|
OFFSET: '',
|
|
9
12
|
LIMIT: '-1',
|
|
10
13
|
FORMAT: 'json',
|
|
11
14
|
}
|
|
15
|
+
|
|
16
|
+
interface OutputFormats {
|
|
17
|
+
itemFormats?: any[]
|
|
18
|
+
outputFormats?: any[]
|
|
19
|
+
}
|
|
20
|
+
|
|
12
21
|
@Component({
|
|
13
22
|
selector: 'gn-ui-record-api-form',
|
|
14
23
|
templateUrl: './record-api-form.component.html',
|
|
@@ -17,38 +26,45 @@ const DEFAULT_PARAMS = {
|
|
|
17
26
|
})
|
|
18
27
|
export class RecordApiFormComponent {
|
|
19
28
|
@Input() set apiLink(value: DatasetServiceDistribution) {
|
|
20
|
-
this.apiBaseUrl = value ? value.url.href : undefined
|
|
21
29
|
this.outputFormats = [{ value: 'json', label: 'JSON' }]
|
|
22
|
-
this.
|
|
30
|
+
this.accessServiceProtocol = value ? value.accessServiceProtocol : undefined
|
|
31
|
+
this.apiFeatureType = value ? value.name : undefined
|
|
32
|
+
if (value) {
|
|
33
|
+
this.apiBaseUrl = value.url.href
|
|
34
|
+
this.createEndpoint().then(() => this.parseOutputFormats())
|
|
35
|
+
}
|
|
23
36
|
this.resetUrl()
|
|
24
37
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
38
|
+
|
|
39
|
+
offset$ = new BehaviorSubject(DEFAULT_PARAMS.OFFSET)
|
|
40
|
+
limit$ = new BehaviorSubject(DEFAULT_PARAMS.LIMIT)
|
|
41
|
+
format$ = new BehaviorSubject(DEFAULT_PARAMS.FORMAT)
|
|
42
|
+
endpoint$ = new BehaviorSubject<WfsEndpoint | OgcApiEndpoint | undefined>(
|
|
43
|
+
undefined
|
|
44
|
+
)
|
|
28
45
|
apiBaseUrl: string
|
|
46
|
+
apiFeatureType: string
|
|
47
|
+
supportOffset = true
|
|
48
|
+
accessServiceProtocol: ServiceProtocol | undefined
|
|
29
49
|
outputFormats = [{ value: 'json', label: 'JSON' }]
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
outputUrl = url.toString()
|
|
44
|
-
}
|
|
45
|
-
return outputUrl
|
|
46
|
-
})
|
|
50
|
+
endpoint: WfsEndpoint | OgcApiEndpoint | undefined
|
|
51
|
+
firstCollection: string | undefined
|
|
52
|
+
|
|
53
|
+
apiQueryUrl$ = combineLatest([
|
|
54
|
+
this.offset$,
|
|
55
|
+
this.limit$,
|
|
56
|
+
this.format$,
|
|
57
|
+
// only compute the url if the endpoint was created
|
|
58
|
+
this.endpoint$.pipe(filter((endpoint) => !!endpoint)),
|
|
59
|
+
]).pipe(
|
|
60
|
+
switchMap(([offset, limit, format]) =>
|
|
61
|
+
this.generateApiQueryUrl(offset, limit, format)
|
|
62
|
+
)
|
|
47
63
|
)
|
|
64
|
+
|
|
48
65
|
noLimitChecked$ = this.limit$.pipe(
|
|
49
66
|
map((limit) => limit === '-1' || limit === '')
|
|
50
67
|
)
|
|
51
|
-
|
|
52
68
|
displayLimit$ = this.limit$.pipe(
|
|
53
69
|
map((limit) => (limit !== '-1' ? limit : ''))
|
|
54
70
|
)
|
|
@@ -58,8 +74,7 @@ export class RecordApiFormComponent {
|
|
|
58
74
|
}
|
|
59
75
|
|
|
60
76
|
setLimit(value: string) {
|
|
61
|
-
|
|
62
|
-
this.limit$.next(newLimit)
|
|
77
|
+
this.limit$.next(value === '' ? '-1' : value)
|
|
63
78
|
}
|
|
64
79
|
|
|
65
80
|
setFormat(value: string | unknown) {
|
|
@@ -72,38 +87,82 @@ export class RecordApiFormComponent {
|
|
|
72
87
|
this.format$.next(DEFAULT_PARAMS.FORMAT)
|
|
73
88
|
}
|
|
74
89
|
|
|
75
|
-
parseOutputFormats() {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
})
|
|
92
|
-
this.outputFormats = this.outputFormats.concat(
|
|
93
|
-
formatsList.filter(Boolean)
|
|
90
|
+
async parseOutputFormats() {
|
|
91
|
+
if (!this.endpoint) return
|
|
92
|
+
const apiUrl = this.apiBaseUrl.endsWith('?')
|
|
93
|
+
? this.apiBaseUrl.slice(0, -1)
|
|
94
|
+
: this.apiBaseUrl
|
|
95
|
+
const outputFormats = await this.getOutputFormats(apiUrl)
|
|
96
|
+
|
|
97
|
+
const formatsList = outputFormats.itemFormats
|
|
98
|
+
? this.mapFormats(outputFormats.itemFormats)
|
|
99
|
+
: this.mapFormats(outputFormats.outputFormats || [])
|
|
100
|
+
|
|
101
|
+
this.outputFormats = this.outputFormats
|
|
102
|
+
.concat(formatsList.filter(Boolean))
|
|
103
|
+
.filter(
|
|
104
|
+
(format, index, self) =>
|
|
105
|
+
index === self.findIndex((t) => t.value === format.value)
|
|
94
106
|
)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
107
|
+
.sort((a, b) => a.label.localeCompare(b.label))
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
mapFormats(formats: any[]) {
|
|
111
|
+
return formats.map((format) => {
|
|
112
|
+
const normalizedFormat = mimeTypeToFormat(format)
|
|
113
|
+
return normalizedFormat
|
|
114
|
+
? { label: normalizedFormat.toUpperCase(), value: normalizedFormat }
|
|
115
|
+
: null
|
|
101
116
|
})
|
|
102
117
|
}
|
|
103
118
|
|
|
104
|
-
async getOutputFormats(url) {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
119
|
+
async getOutputFormats(url: string): Promise<OutputFormats> {
|
|
120
|
+
if (!this.endpoint) return {}
|
|
121
|
+
if (this.endpoint instanceof WfsEndpoint) {
|
|
122
|
+
this.supportOffset = this.endpoint.supportsStartIndex()
|
|
123
|
+
return this.endpoint.getServiceInfo() as OutputFormats
|
|
124
|
+
} else {
|
|
125
|
+
return (await this.endpoint.getCollectionInfo(
|
|
126
|
+
this.firstCollection
|
|
127
|
+
)) as OutputFormats
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
async createEndpoint() {
|
|
132
|
+
if (!this.apiBaseUrl || !this.accessServiceProtocol) return
|
|
133
|
+
if (this.accessServiceProtocol === 'wfs') {
|
|
134
|
+
this.endpoint = new WfsEndpoint(this.apiBaseUrl)
|
|
135
|
+
await (this.endpoint as WfsEndpoint).isReady()
|
|
136
|
+
} else {
|
|
137
|
+
this.endpoint = new OgcApiEndpoint(this.apiBaseUrl)
|
|
138
|
+
this.firstCollection = (await this.endpoint.allCollections)[0].name
|
|
139
|
+
}
|
|
140
|
+
this.endpoint$.next(this.endpoint)
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
async generateApiQueryUrl(
|
|
144
|
+
offset: string,
|
|
145
|
+
limit: string,
|
|
146
|
+
format: string
|
|
147
|
+
): Promise<string> {
|
|
148
|
+
if (!this.apiBaseUrl || !this.endpoint || !this.apiFeatureType) return ''
|
|
149
|
+
|
|
150
|
+
const options = {
|
|
151
|
+
outputFormat: format,
|
|
152
|
+
startIndex: offset ? Number(offset) : undefined,
|
|
153
|
+
maxFeatures: limit !== '-1' ? Number(limit) : undefined,
|
|
154
|
+
limit: limit !== '-1' ? Number(limit) : limit === '-1' ? -1 : undefined,
|
|
155
|
+
offset: offset !== '' ? Number(offset) : undefined,
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
if (this.endpoint instanceof WfsEndpoint) {
|
|
159
|
+
options.maxFeatures = limit !== '-1' ? Number(limit) : undefined
|
|
160
|
+
return this.endpoint.getFeatureUrl(this.apiFeatureType, options)
|
|
161
|
+
} else {
|
|
162
|
+
return await this.endpoint.getCollectionItemsUrl(
|
|
163
|
+
this.firstCollection,
|
|
164
|
+
options
|
|
165
|
+
)
|
|
166
|
+
}
|
|
108
167
|
}
|
|
109
168
|
}
|
|
@@ -12,13 +12,12 @@ import { ApiCardComponent } from './api-card/api-card.component'
|
|
|
12
12
|
import { UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
|
|
13
13
|
import { UiLayoutModule } from '../../../../../libs/ui/layout/src'
|
|
14
14
|
import { TranslateModule } from '@ngx-translate/core'
|
|
15
|
-
import { LinkCardComponent } from './link-card/link-card.component'
|
|
16
15
|
import { RelatedRecordCardComponent } from './related-record-card/related-record-card.component'
|
|
17
16
|
import { MetadataContactComponent } from './metadata-contact/metadata-contact.component'
|
|
18
17
|
import { MetadataCatalogComponent } from './metadata-catalog/metadata-catalog.component'
|
|
19
18
|
import { MetadataQualityComponent } from './metadata-quality/metadata-quality.component'
|
|
20
19
|
import { MetadataQualityItemComponent } from './metadata-quality-item/metadata-quality-item.component'
|
|
21
|
-
import {
|
|
20
|
+
import { ErrorComponent } from './error/error.component'
|
|
22
21
|
import { PaginationComponent } from './pagination/pagination.component'
|
|
23
22
|
import { ThumbnailComponent } from './thumbnail/thumbnail.component'
|
|
24
23
|
import { UiInputsModule } from '../../../../../libs/ui/inputs/src'
|
|
@@ -57,13 +56,12 @@ import { TimeSincePipe } from './user-feedback-item/time-since.pipe'
|
|
|
57
56
|
DownloadItemComponent,
|
|
58
57
|
DownloadsListComponent,
|
|
59
58
|
ApiCardComponent,
|
|
60
|
-
LinkCardComponent,
|
|
61
59
|
RelatedRecordCardComponent,
|
|
62
60
|
MetadataContactComponent,
|
|
63
61
|
MetadataCatalogComponent,
|
|
64
62
|
MetadataQualityComponent,
|
|
65
63
|
MetadataQualityItemComponent,
|
|
66
|
-
|
|
64
|
+
ErrorComponent,
|
|
67
65
|
PaginationComponent,
|
|
68
66
|
AvatarComponent,
|
|
69
67
|
UserPreviewComponent,
|
|
@@ -80,13 +78,12 @@ import { TimeSincePipe } from './user-feedback-item/time-since.pipe'
|
|
|
80
78
|
DownloadItemComponent,
|
|
81
79
|
DownloadsListComponent,
|
|
82
80
|
ApiCardComponent,
|
|
83
|
-
LinkCardComponent,
|
|
84
81
|
RelatedRecordCardComponent,
|
|
85
82
|
MetadataContactComponent,
|
|
86
83
|
MetadataCatalogComponent,
|
|
87
84
|
MetadataQualityComponent,
|
|
88
85
|
MetadataQualityItemComponent,
|
|
89
|
-
|
|
86
|
+
ErrorComponent,
|
|
90
87
|
PaginationComponent,
|
|
91
88
|
ThumbnailComponent,
|
|
92
89
|
AvatarComponent,
|
|
@@ -21,7 +21,6 @@ import { UserModel } from '../../../../../../libs/common/domain/src/lib/model/us
|
|
|
21
21
|
export class UserFeedbackItemComponent implements OnInit {
|
|
22
22
|
@Input() userFeedbackParent: UserFeedbackViewModel
|
|
23
23
|
@Input() userFeedBacksAnswers: UserFeedbackViewModel[]
|
|
24
|
-
@Input() isActiveUserEditor: boolean
|
|
25
24
|
@Input() activeUser: UserModel
|
|
26
25
|
@Input() isLastComment: boolean
|
|
27
26
|
@Input() isAddUserFeedbackLoading: boolean
|
|
@@ -19,3 +19,4 @@ export * from './lib/text-area/text-area.component'
|
|
|
19
19
|
export * from './lib/text-input/text-input.component'
|
|
20
20
|
export * from './lib/ui-inputs.module'
|
|
21
21
|
export * from './lib/viewport-intersector/viewport-intersector.component'
|
|
22
|
+
export * from './lib/previous-next-buttons/previous-next-buttons.component'
|
|
@@ -5,12 +5,15 @@ import {
|
|
|
5
5
|
Input,
|
|
6
6
|
Output,
|
|
7
7
|
} from '@angular/core'
|
|
8
|
+
import { FormsModule } from '@angular/forms'
|
|
8
9
|
|
|
9
10
|
@Component({
|
|
10
11
|
selector: 'gn-ui-check-toggle',
|
|
11
12
|
templateUrl: './check-toggle.component.html',
|
|
12
13
|
styleUrls: ['./check-toggle.component.css'],
|
|
13
14
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
15
|
+
standalone: true,
|
|
16
|
+
imports: [FormsModule],
|
|
14
17
|
})
|
|
15
18
|
export class CheckToggleComponent {
|
|
16
19
|
@Input() title: string
|
|
@@ -48,6 +48,7 @@ export class DropdownSelectorComponent implements OnInit {
|
|
|
48
48
|
@Input() maxRows: number
|
|
49
49
|
@Input() extraBtnClass = ''
|
|
50
50
|
@Input() minWidth = ''
|
|
51
|
+
@Input() disabled: boolean
|
|
51
52
|
@Output() selectValue = new EventEmitter<DropdownChoice['value']>()
|
|
52
53
|
@ViewChild('overlayOrigin') overlayOrigin: CdkOverlayOrigin
|
|
53
54
|
@ViewChild(CdkConnectedOverlay) overlay: CdkConnectedOverlay
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<div class="flex flex-row gap-x-4 items-center">
|
|
2
|
+
<gn-ui-button
|
|
3
|
+
data-test="previousButton"
|
|
4
|
+
[type]="isFirst ? 'default' : 'outline'"
|
|
5
|
+
[disabled]="isFirst"
|
|
6
|
+
(buttonClick)="previousButtonClicked()"
|
|
7
|
+
>
|
|
8
|
+
<mat-icon
|
|
9
|
+
class="material-symbols-outlined text-[14px] text-center pt-[5px]"
|
|
10
|
+
>
|
|
11
|
+
arrow_back
|
|
12
|
+
</mat-icon>
|
|
13
|
+
</gn-ui-button>
|
|
14
|
+
<gn-ui-button
|
|
15
|
+
data-test="nextButton"
|
|
16
|
+
[type]="isLast ? 'default' : 'outline'"
|
|
17
|
+
[disabled]="isLast"
|
|
18
|
+
(buttonClick)="nextButtonClicked()"
|
|
19
|
+
>
|
|
20
|
+
<mat-icon
|
|
21
|
+
class="material-symbols-outlined text-[14px] text-center pt-[5px]"
|
|
22
|
+
>
|
|
23
|
+
arrow_forward
|
|
24
|
+
</mat-icon>
|
|
25
|
+
</gn-ui-button>
|
|
26
|
+
</div>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectionStrategy,
|
|
3
|
+
Component,
|
|
4
|
+
EventEmitter,
|
|
5
|
+
Input,
|
|
6
|
+
Output,
|
|
7
|
+
} from '@angular/core'
|
|
8
|
+
import { ButtonComponent } from '../button/button.component'
|
|
9
|
+
import { MatIconModule } from '@angular/material/icon'
|
|
10
|
+
|
|
11
|
+
@Component({
|
|
12
|
+
selector: 'gn-ui-previous-next-buttons',
|
|
13
|
+
templateUrl: './previous-next-buttons.component.html',
|
|
14
|
+
styleUrls: ['./previous-next-buttons.component.css'],
|
|
15
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
|
+
standalone: true,
|
|
17
|
+
imports: [ButtonComponent, MatIconModule],
|
|
18
|
+
})
|
|
19
|
+
export class PreviousNextButtonsComponent {
|
|
20
|
+
@Input() isFirst: boolean
|
|
21
|
+
@Input() isLast: boolean
|
|
22
|
+
|
|
23
|
+
@Output() directionButtonClicked: EventEmitter<string> = new EventEmitter()
|
|
24
|
+
|
|
25
|
+
previousButtonClicked() {
|
|
26
|
+
this.directionButtonClicked.next('previous')
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
nextButtonClicked() {
|
|
30
|
+
this.directionButtonClicked.next('next')
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -29,6 +29,7 @@ export class TextInputComponent implements AfterViewInit {
|
|
|
29
29
|
@Input() extraClass = ''
|
|
30
30
|
@Input() hint: string
|
|
31
31
|
@Input() required = false
|
|
32
|
+
@Input() disabled: boolean
|
|
32
33
|
rawChange = new Subject<string>()
|
|
33
34
|
@Output() valueChange = this.rawChange.pipe(distinctUntilChanged())
|
|
34
35
|
@ViewChild('input') input
|
|
@@ -44,7 +44,6 @@ import { ImageInputComponent } from './image-input/image-input.component'
|
|
|
44
44
|
StarToggleComponent,
|
|
45
45
|
DropdownMultiselectComponent,
|
|
46
46
|
ViewportIntersectorComponent,
|
|
47
|
-
CheckToggleComponent,
|
|
48
47
|
CopyTextButtonComponent,
|
|
49
48
|
CheckboxComponent,
|
|
50
49
|
SearchInputComponent,
|
|
@@ -73,6 +72,7 @@ import { ImageInputComponent } from './image-input/image-input.component'
|
|
|
73
72
|
ImageInputComponent,
|
|
74
73
|
DropdownSelectorComponent,
|
|
75
74
|
DateRangePickerComponent,
|
|
75
|
+
CheckToggleComponent,
|
|
76
76
|
],
|
|
77
77
|
exports: [
|
|
78
78
|
DropdownSelectorComponent,
|
|
@@ -6,4 +6,5 @@ export * from './lib/form-field-wrapper/form-field-wrapper.component'
|
|
|
6
6
|
export * from './lib/interactive-table/interactive-table-column/interactive-table-column.component'
|
|
7
7
|
export * from './lib/interactive-table/interactive-table.component'
|
|
8
8
|
export * from './lib/sticky-header/sticky-header.component'
|
|
9
|
+
export * from './lib/block-list/block-list.component'
|
|
9
10
|
export * from './lib/ui-layout.module'
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
:host .block-list-container ::ng-deep > * {
|
|
2
|
+
flex-shrink: 0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:host {
|
|
6
|
+
position: relative;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.list-page-dot {
|
|
10
|
+
width: 6px;
|
|
11
|
+
height: 6px;
|
|
12
|
+
border-radius: 6px;
|
|
13
|
+
position: relative;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.list-page-dot:after {
|
|
17
|
+
content: '';
|
|
18
|
+
position: absolute;
|
|
19
|
+
left: -7px;
|
|
20
|
+
top: -7px;
|
|
21
|
+
width: 20px;
|
|
22
|
+
height: 20px;
|
|
23
|
+
}
|