geonetwork-ui 2.3.0-dev.b46332e6 → 2.3.0-dev.bc5d77f0
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/index.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +3 -3
- package/esm2022/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.mjs +1 -1
- package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +12 -1
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +36 -3
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +19 -7
- package/esm2022/libs/common/domain/src/lib/model/record/index.mjs +2 -1
- package/esm2022/libs/common/domain/src/lib/model/record/user-feedbacks.model.mjs +2 -0
- package/esm2022/libs/common/domain/src/lib/model/user/index.mjs +2 -0
- package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +6 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +64 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +15 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +38 -10
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +3 -13
- 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 +16 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +3 -3
- package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +1 -1
- 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/notifications/src/index.mjs +4 -0
- package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +18 -0
- package/esm2022/libs/feature/notifications/src/lib/notification.model.mjs +2 -0
- package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +49 -0
- package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +29 -0
- package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +4 -4
- package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +22 -4
- package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +37 -10
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +22 -7
- package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +52 -17
- package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +18 -3
- package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +2 -2
- package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +3 -3
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/index.mjs +2 -1
- package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +34 -0
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -2
- package/esm2022/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.mjs +59 -0
- package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +62 -0
- package/esm2022/libs/ui/inputs/src/index.mjs +15 -15
- package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +22 -0
- package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +7 -5
- package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +17 -8
- package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +27 -4
- package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +19 -3
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +11 -9
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +3 -3
- package/esm2022/translations/de.json +34 -0
- package/esm2022/translations/en.json +34 -0
- package/esm2022/translations/es.json +34 -0
- package/esm2022/translations/fr.json +34 -0
- package/esm2022/translations/it.json +34 -0
- package/esm2022/translations/nl.json +34 -0
- package/esm2022/translations/pt.json +34 -0
- package/fesm2022/geonetwork-ui.mjs +1529 -739
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.ts +1 -0
- package/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/auth/gravatar.service.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/auth/gravatar.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts +6 -2
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +9 -6
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/index.d.ts +1 -0
- package/libs/common/domain/src/lib/model/record/index.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/user-feedbacks.model.d.ts +15 -0
- package/libs/common/domain/src/lib/model/record/user-feedbacks.model.d.ts.map +1 -0
- package/libs/common/domain/src/lib/model/user/index.d.ts +2 -0
- package/libs/common/domain/src/lib/model/user/index.d.ts.map +1 -0
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +3 -0
- package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +8 -5
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +39 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +8 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +8 -1
- 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/components/record-form/record-form.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
- package/libs/feature/notifications/src/index.d.ts +4 -0
- package/libs/feature/notifications/src/index.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts +7 -0
- package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/notification.model.d.ts +7 -0
- package/libs/feature/notifications/src/lib/notification.model.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts +12 -0
- package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts.map +1 -0
- package/libs/feature/notifications/src/lib/notifications.service.d.ts +15 -0
- package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +1 -0
- package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts +40 -6
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts +24 -4
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts +14 -4
- 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 +8 -5
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +12 -9
- package/libs/feature/record/src/lib/state/mdview.selectors.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/notification/notification.component.d.ts +13 -0
- package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +16 -14
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.d.ts +11 -0
- package/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts +22 -0
- package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/index.d.ts +14 -14
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts +9 -0
- package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +7 -1
- package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +4 -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 +35 -35
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +2 -2
- package/src/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.ts +1 -0
- package/src/libs/api/repository/src/lib/gn4/auth/gravatar.service.ts +12 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +51 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +34 -7
- package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
- package/src/libs/common/domain/src/lib/model/record/user-feedbacks.model.ts +15 -0
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +3 -0
- package/src/libs/common/fixtures/src/index.ts +8 -6
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +3 -3
- package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +83 -0
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +8 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.html +8 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +64 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +15 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.css +0 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +57 -33
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +35 -4
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -21
- package/src/libs/feature/editor/src/lib/fields.config.ts +15 -0
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -1
- package/src/libs/feature/notifications/src/index.ts +3 -0
- package/src/libs/feature/notifications/src/lib/feature-notifications.module.ts +10 -0
- package/src/libs/feature/notifications/src/lib/notification.model.ts +6 -0
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.css +0 -0
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.html +17 -0
- package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.ts +44 -0
- package/src/libs/feature/notifications/src/lib/notifications.service.ts +27 -0
- package/src/libs/feature/record/src/lib/feature-record.module.ts +5 -2
- package/src/libs/feature/record/src/lib/state/mdview.actions.ts +51 -6
- package/src/libs/feature/record/src/lib/state/mdview.effects.ts +82 -7
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +49 -8
- package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +81 -24
- package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +40 -10
- package/src/libs/feature/router/src/lib/default/state/router.effects.ts +2 -2
- package/src/libs/feature/search/src/lib/results-table/results-table.component.html +3 -3
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +5 -5
- package/src/libs/ui/elements/src/index.ts +1 -0
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
- package/src/libs/ui/elements/src/lib/notification/notification.component.css +0 -0
- package/src/libs/ui/elements/src/lib/notification/notification.component.html +52 -0
- package/src/libs/ui/elements/src/lib/notification/notification.component.ts +31 -0
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +1 -1
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +5 -0
- package/src/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.ts +54 -0
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.css +0 -0
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.html +75 -0
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +63 -0
- package/src/libs/ui/inputs/src/index.ts +14 -14
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +3 -0
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +11 -0
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +16 -0
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +8 -1
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +13 -0
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +2 -1
- package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +29 -0
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +16 -1
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +2 -2
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.css +0 -5
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +1 -1
- package/tailwind.base.css +36 -0
- package/translations/de.json +34 -0
- package/translations/en.json +34 -0
- package/translations/es.json +34 -0
- package/translations/fr.json +34 -0
- package/translations/it.json +34 -0
- package/translations/nl.json +34 -0
- package/translations/pt.json +34 -0
- package/translations/sk.json +34 -0
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { LinkClassifierService } from '../../../../../../libs/util/shared/src';
|
|
3
3
|
import { DatavizConfigurationModel } from '../../../../../../libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model';
|
|
4
|
-
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
|
+
import { CatalogRecord, UserFeedback } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
5
|
+
import { AvatarServiceInterface } from '../../../../../../libs/api/repository/src';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class MdViewFacade {
|
|
7
8
|
private store;
|
|
8
9
|
private linkClassifier;
|
|
10
|
+
private avatarService;
|
|
11
|
+
constructor(store: Store, linkClassifier: LinkClassifierService, avatarService: AvatarServiceInterface);
|
|
9
12
|
isPresent$: import("rxjs").Observable<boolean>;
|
|
10
|
-
|
|
13
|
+
isMetadataLoading$: import("rxjs").Observable<boolean>;
|
|
11
14
|
metadata$: import("rxjs").Observable<Partial<CatalogRecord>>;
|
|
12
15
|
isIncomplete$: import("rxjs").Observable<boolean>;
|
|
13
16
|
error$: import("rxjs").Observable<{
|
|
@@ -24,7 +27,9 @@ export declare class MdViewFacade {
|
|
|
24
27
|
geoDataLinks$: import("rxjs").Observable<import("../../../../../common/domain/src/lib/model/record/metadata.model").DatasetDistribution[]>;
|
|
25
28
|
landingPageLinks$: import("rxjs").Observable<URL[]>;
|
|
26
29
|
otherLinks$: import("rxjs").Observable<import("../../../../../common/domain/src/lib/model/record/metadata.model").DatasetDistribution[]>;
|
|
27
|
-
|
|
30
|
+
userFeedbacks$: import("rxjs").Observable<UserFeedback[]>;
|
|
31
|
+
isAllUserFeedbackLoading$: import("rxjs").Observable<boolean>;
|
|
32
|
+
isAddUserFeedbackLoading$: import("rxjs").Observable<boolean>;
|
|
28
33
|
/**
|
|
29
34
|
* This will show an incomplete record (e.g. from a search result) as a preview
|
|
30
35
|
* Note: the full record will not be loaded automatically; use the `loadFull` method for that
|
|
@@ -34,8 +39,13 @@ export declare class MdViewFacade {
|
|
|
34
39
|
* This will trigger the load of a full metadata record
|
|
35
40
|
*/
|
|
36
41
|
loadFull(uuid: string): void;
|
|
37
|
-
|
|
42
|
+
closeMetadata(): void;
|
|
38
43
|
setChartConfig(chartConfig: DatavizConfigurationModel): void;
|
|
44
|
+
/**
|
|
45
|
+
* UserFeedbacks
|
|
46
|
+
*/
|
|
47
|
+
addUserFeedback(userFeedback: UserFeedback): void;
|
|
48
|
+
loadUserFeedbacks(datasetUuid: string): void;
|
|
39
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<MdViewFacade, never>;
|
|
40
50
|
static ɵprov: i0.ɵɵInjectableDeclaration<MdViewFacade>;
|
|
41
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mdview.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAI3C,OAAO,EAAE,qBAAqB,EAAa,MAAM,wCAAwC,CAAA;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAClI,OAAO,
|
|
1
|
+
{"version":3,"file":"mdview.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAI3C,OAAO,EAAE,qBAAqB,EAAa,MAAM,wCAAwC,CAAA;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAClI,OAAO,EACL,aAAa,EACb,YAAY,EAEb,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAA;;AAElF,qBAOa,YAAY;IAErB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,aAAa;gBAFb,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,qBAAqB,EACrC,aAAa,EAAE,sBAAsB;IAG/C,UAAU,qCAGT;IAED,kBAAkB,qCAEjB;IAED,SAAS,oDAGR;IAED,aAAa,qCAGZ;IAED,MAAM;;;OAA4D;IAElE,QAAQ,6CAAsD;IAE9D,YAAY,uDAA0D;IAEtE,SAAS,8HAER;IAED,SAAS,8HAIR;IAED,YAAY,8HAMX;IAED,cAAc,8HAMb;IAED,UAAU,8HAIT;IAED,aAAa,8HAMZ;IAED,iBAAiB,mCAEhB;IAED,WAAW,8HAMV;IAED,cAAc,4CAA4D;IAC1E,yBAAyB,qCAExB;IACD,yBAAyB,qCAExB;IAED;;;OAGG;IACH,qBAAqB,CAAC,UAAU,EAAE,aAAa;IAI/C;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM;IAIrB,aAAa;IAIb,cAAc,CAAC,WAAW,EAAE,yBAAyB;IAIrD;;OAEG;IACH,eAAe,CAAC,YAAY,EAAE,YAAY;IAI1C,iBAAiB,CAAC,WAAW,EAAE,MAAM;yCA1H1B,YAAY;6CAAZ,YAAY;CA6HxB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Action } from '@ngrx/store';
|
|
2
2
|
import { DatavizConfigurationModel } from '../../../../../../libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model';
|
|
3
|
-
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
|
-
export declare const
|
|
5
|
-
export interface
|
|
3
|
+
import { CatalogRecord, UserFeedback } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
|
+
export declare const METADATA_VIEW_FEATURE_STATE_KEY = "metadataView";
|
|
5
|
+
export interface MetadataViewState {
|
|
6
6
|
loadingFull: boolean;
|
|
7
7
|
error: {
|
|
8
8
|
notFound?: boolean;
|
|
@@ -10,8 +10,11 @@ export interface MdViewState {
|
|
|
10
10
|
} | null;
|
|
11
11
|
metadata?: Partial<CatalogRecord>;
|
|
12
12
|
related?: CatalogRecord[];
|
|
13
|
+
userFeedbacks?: UserFeedback[];
|
|
14
|
+
allUserFeedbacksLoading: boolean;
|
|
15
|
+
addUserFeedbackLoading: boolean;
|
|
13
16
|
chartConfig?: DatavizConfigurationModel;
|
|
14
17
|
}
|
|
15
|
-
export declare const
|
|
16
|
-
export declare function reducer(
|
|
18
|
+
export declare const initialMetadataViewState: MetadataViewState;
|
|
19
|
+
export declare function reducer(metadataViewState: MetadataViewState | undefined, action: Action): MetadataViewState;
|
|
17
20
|
//# sourceMappingURL=mdview.reducer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mdview.reducer.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.reducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAqB,MAAM,aAAa,CAAA;AAEvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAClI,OAAO,
|
|
1
|
+
{"version":3,"file":"mdview.reducer.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.reducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAqB,MAAM,aAAa,CAAA;AAEvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAClI,OAAO,EACL,aAAa,EACb,YAAY,EACb,MAAM,2DAA2D,CAAA;AAElE,eAAO,MAAM,+BAA+B,iBAAiB,CAAA;AAE7D,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,OAAO,CAAA;IACpB,KAAK,EAAE;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAA;IACjC,OAAO,CAAC,EAAE,aAAa,EAAE,CAAA;IACzB,aAAa,CAAC,EAAE,YAAY,EAAE,CAAA;IAC9B,uBAAuB,EAAE,OAAO,CAAA;IAChC,sBAAsB,EAAE,OAAO,CAAA;IAC/B,WAAW,CAAC,EAAE,yBAAyB,CAAA;CACxC;AAED,eAAO,MAAM,wBAAwB,EAAE,iBAKtC,CAAA;AAsFD,wBAAgB,OAAO,CACrB,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,EAChD,MAAM,EAAE,MAAM,qBAGf"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const getMdViewState: import("@ngrx/store").MemoizedSelector<object,
|
|
3
|
-
export declare const getMetadataUuid: import("@ngrx/store").MemoizedSelector<object, string, (s1:
|
|
4
|
-
export declare const getMetadata: import("@ngrx/store").MemoizedSelector<object, Partial<import("../../../../../common/domain/src/lib/model/record").CatalogRecord>, (s1:
|
|
5
|
-
export declare const getMetadataIsIncomplete: import("@ngrx/store").MemoizedSelector<object, boolean, (s1:
|
|
6
|
-
export declare const getMetadataIsLoading: import("@ngrx/store").MemoizedSelector<object, boolean, (s1:
|
|
1
|
+
import { MetadataViewState } from './mdview.reducer';
|
|
2
|
+
export declare const getMdViewState: import("@ngrx/store").MemoizedSelector<object, MetadataViewState, import("@ngrx/store").DefaultProjectorFn<MetadataViewState>>;
|
|
3
|
+
export declare const getMetadataUuid: import("@ngrx/store").MemoizedSelector<object, string, (s1: MetadataViewState) => string>;
|
|
4
|
+
export declare const getMetadata: import("@ngrx/store").MemoizedSelector<object, Partial<import("../../../../../common/domain/src/lib/model/record").CatalogRecord>, (s1: MetadataViewState) => Partial<import("../../../../../common/domain/src/lib/model/record").CatalogRecord>>;
|
|
5
|
+
export declare const getMetadataIsIncomplete: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: MetadataViewState) => boolean>;
|
|
6
|
+
export declare const getMetadataIsLoading: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: MetadataViewState) => boolean>;
|
|
7
7
|
export declare const getMetadataError: import("@ngrx/store").MemoizedSelector<object, {
|
|
8
8
|
notFound?: boolean;
|
|
9
9
|
otherError?: string;
|
|
10
|
-
}, (s1:
|
|
10
|
+
}, (s1: MetadataViewState) => {
|
|
11
11
|
notFound?: boolean;
|
|
12
12
|
otherError?: string;
|
|
13
13
|
}>;
|
|
14
|
-
export declare const getRelated: import("@ngrx/store").MemoizedSelector<object, import("../../../../../common/domain/src/lib/model/record").CatalogRecord[], (s1:
|
|
15
|
-
export declare const getChartConfig: import("@ngrx/store").MemoizedSelector<object, import("../../../../../common/domain/src/lib/model/dataviz/dataviz-configuration.model").DatavizConfigurationModel, (s1:
|
|
14
|
+
export declare const getRelated: import("@ngrx/store").MemoizedSelector<object, import("../../../../../common/domain/src/lib/model/record").CatalogRecord[], (s1: MetadataViewState) => import("../../../../../common/domain/src/lib/model/record").CatalogRecord[]>;
|
|
15
|
+
export declare const getChartConfig: import("@ngrx/store").MemoizedSelector<object, import("../../../../../common/domain/src/lib/model/dataviz/dataviz-configuration.model").DatavizConfigurationModel, (s1: MetadataViewState) => import("../../../../../common/domain/src/lib/model/dataviz/dataviz-configuration.model").DatavizConfigurationModel>;
|
|
16
|
+
export declare const getUserFeedbacks: import("@ngrx/store").MemoizedSelector<object, import("../../../../../common/domain/src/lib/model/record").UserFeedback[], (s1: MetadataViewState) => import("../../../../../common/domain/src/lib/model/record").UserFeedback[]>;
|
|
17
|
+
export declare const getAllUserFeedbacksLoading: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: MetadataViewState) => boolean>;
|
|
18
|
+
export declare const getAddUserFeedbacksLoading: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: MetadataViewState) => boolean>;
|
|
16
19
|
//# sourceMappingURL=mdview.selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mdview.selectors.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.selectors.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"mdview.selectors.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.selectors.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAClB,MAAM,kBAAkB,CAAA;AAEzB,eAAO,MAAM,cAAc,gIAE1B,CAAA;AAKD,eAAO,MAAM,eAAe,2FAI3B,CAAA;AACD,eAAO,MAAM,WAAW,mPAGvB,CAAA;AACD,eAAO,MAAM,uBAAuB,6FAGnC,CAAA;AACD,eAAO,MAAM,oBAAoB,6FAGhC,CAAA;AACD,eAAO,MAAM,gBAAgB;;;;;;EAG5B,CAAA;AAKD,eAAO,MAAM,UAAU,qOAGtB,CAAA;AAKD,eAAO,MAAM,cAAc,mTAG1B,CAAA;AAKD,eAAO,MAAM,gBAAgB,mOAG5B,CAAA;AACD,eAAO,MAAM,0BAA0B,6FAGtC,CAAA;AACD,eAAO,MAAM,0BAA0B,6FAGtC,CAAA"}
|
|
@@ -21,4 +21,5 @@ export * from './lib/search-results-error/search-results-error.component';
|
|
|
21
21
|
export * from './lib/thumbnail/thumbnail.component';
|
|
22
22
|
export * from './lib/ui-elements.module';
|
|
23
23
|
export * from './lib/user-preview/user-preview.component';
|
|
24
|
+
export * from './lib/notification/notification.component';
|
|
24
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,qCAAqC,CAAA;AACnD,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,qCAAqC,CAAA;AACnD,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA;AACzD,cAAc,2CAA2C,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NotificationComponent {
|
|
4
|
+
type: 'info' | 'warning' | 'error' | 'success';
|
|
5
|
+
title: string;
|
|
6
|
+
text: string;
|
|
7
|
+
closeMessage?: string;
|
|
8
|
+
notificationClose: EventEmitter<void>;
|
|
9
|
+
handleClose(event?: Event): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "gn-ui-notification", never, { "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "text": { "alias": "text"; "required": false; }; "closeMessage": { "alias": "closeMessage"; "required": false; }; }, { "notificationClose": "notificationClose"; }, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=notification.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/notification/notification.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;;AAKtB,qBAQa,qBAAqB;IACvB,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAS;IACvD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,MAAM,CAAA;IACpB,iBAAiB,qBAA2B;IAEtD,WAAW,CAAC,KAAK,CAAC,EAAE,KAAK;yCAPd,qBAAqB;2CAArB,qBAAqB;CAWjC"}
|
|
@@ -18,22 +18,24 @@ import * as i16 from "./metadata-info/linkify.directive";
|
|
|
18
18
|
import * as i17 from "./pagination-buttons/pagination-buttons.component";
|
|
19
19
|
import * as i18 from "./max-lines/max-lines.component";
|
|
20
20
|
import * as i19 from "./record-api-form/record-api-form.component";
|
|
21
|
-
import * as i20 from "./
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "@angular/
|
|
24
|
-
import * as i23 from "@angular/material/
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "../../../
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "
|
|
32
|
-
import * as i31 from "
|
|
33
|
-
import * as i32 from "./
|
|
21
|
+
import * as i20 from "./user-feedback-item/user-feedback-item.component";
|
|
22
|
+
import * as i21 from "./image-overlay-preview/image-overlay-preview.component";
|
|
23
|
+
import * as i22 from "@angular/common";
|
|
24
|
+
import * as i23 from "@angular/material/icon";
|
|
25
|
+
import * as i24 from "@angular/material/tooltip";
|
|
26
|
+
import * as i25 from "../../../widgets/src/lib/ui-widgets.module";
|
|
27
|
+
import * as i26 from "../../../layout/src/lib/ui-layout.module";
|
|
28
|
+
import * as i27 from "@ngx-translate/core";
|
|
29
|
+
import * as i28 from "../../../../util/shared/src/lib/util-shared.module";
|
|
30
|
+
import * as i29 from "@angular/router";
|
|
31
|
+
import * as i30 from "../../../inputs/src/lib/ui-inputs.module";
|
|
32
|
+
import * as i31 from "@angular/forms";
|
|
33
|
+
import * as i32 from "./markdown-parser/markdown-parser.component";
|
|
34
|
+
import * as i33 from "./thumbnail/thumbnail.component";
|
|
35
|
+
import * as i34 from "./user-feedback-item/time-since.pipe";
|
|
34
36
|
export declare class UiElementsModule {
|
|
35
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiElementsModule, never>;
|
|
36
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.AvatarComponent, typeof i15.UserPreviewComponent, typeof i16.GnUiLinkifyDirective, typeof i17.PaginationButtonsComponent, typeof i18.MaxLinesComponent, typeof i19.RecordApiFormComponent, typeof i20.ImageOverlayPreviewComponent], [typeof
|
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.AvatarComponent, typeof i15.UserPreviewComponent, typeof i16.GnUiLinkifyDirective, typeof i17.PaginationButtonsComponent, typeof i18.MaxLinesComponent, typeof i19.RecordApiFormComponent, typeof i20.UserFeedbackItemComponent, typeof i21.ImageOverlayPreviewComponent], [typeof i22.CommonModule, typeof i23.MatIconModule, typeof i24.MatTooltipModule, typeof i25.UiWidgetsModule, typeof i26.UiLayoutModule, typeof i27.TranslateModule, typeof i28.UtilSharedModule, typeof i29.RouterModule, typeof i30.UiInputsModule, typeof i31.FormsModule, typeof i22.NgOptimizedImage, typeof i32.MarkdownParserComponent, typeof i33.ThumbnailComponent, typeof i34.TimeSincePipe], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i33.ThumbnailComponent, typeof i14.AvatarComponent, typeof i15.UserPreviewComponent, typeof i17.PaginationButtonsComponent, typeof i18.MaxLinesComponent, typeof i19.RecordApiFormComponent, typeof i32.MarkdownParserComponent, typeof i20.UserFeedbackItemComponent, typeof i21.ImageOverlayPreviewComponent]>;
|
|
37
39
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiElementsModule>;
|
|
38
40
|
}
|
|
39
41
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,qBAiEa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TimeSincePipe implements PipeTransform {
|
|
5
|
+
private translate;
|
|
6
|
+
constructor(translate: TranslateService);
|
|
7
|
+
transform(value: Date): string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeSincePipe, never>;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimeSincePipe, "timeSince", true>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=time-since.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time-since.pipe.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAItD,qBAIa,aAAc,YAAW,aAAa;IACrC,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,gBAAgB;IAE/C,SAAS,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM;yCAHnB,aAAa;uCAAb,aAAa;CA4CzB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { UserFeedback, UserFeedbackViewModel } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import { UserModel } from '../../../../../../libs/common/domain/src/lib/model/user';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class UserFeedbackItemComponent implements OnInit {
|
|
6
|
+
userFeedbackParent: UserFeedbackViewModel;
|
|
7
|
+
userFeedBacksAnswers: UserFeedbackViewModel[];
|
|
8
|
+
isActiveUserEditor: boolean;
|
|
9
|
+
activeUser: UserModel;
|
|
10
|
+
isLastComment: boolean;
|
|
11
|
+
isAddUserFeedbackLoading: boolean;
|
|
12
|
+
newUserFeedbackAnswer: EventEmitter<UserFeedback>;
|
|
13
|
+
isAnAnswer: boolean;
|
|
14
|
+
newAnswer: string;
|
|
15
|
+
isAnswerEmpty: boolean;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
onNewAnswerValueChange(): void;
|
|
18
|
+
publishNewAnswer(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserFeedbackItemComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserFeedbackItemComponent, "gn-ui-user-feedback-item", never, { "userFeedbackParent": { "alias": "userFeedbackParent"; "required": false; }; "userFeedBacksAnswers": { "alias": "userFeedBacksAnswers"; "required": false; }; "isActiveUserEditor": { "alias": "isActiveUserEditor"; "required": false; }; "activeUser": { "alias": "activeUser"; "required": false; }; "isLastComment": { "alias": "isLastComment"; "required": false; }; "isAddUserFeedbackLoading": { "alias": "isAddUserFeedbackLoading"; "required": false; }; }, { "newUserFeedbackAnswer": "newUserFeedbackAnswer"; }, never, never, false, never>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=user-feedback-item.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-feedback-item.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAEP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,YAAY,EACZ,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,yDAAyD,CAAA;;AAEnF,qBAMa,yBAA0B,YAAW,MAAM;IAC7C,kBAAkB,EAAE,qBAAqB,CAAA;IACzC,oBAAoB,EAAE,qBAAqB,EAAE,CAAA;IAC7C,kBAAkB,EAAE,OAAO,CAAA;IAC3B,UAAU,EAAE,SAAS,CAAA;IACrB,aAAa,EAAE,OAAO,CAAA;IACtB,wBAAwB,EAAE,OAAO,CAAA;IAEhC,qBAAqB,6BAAmC;IAElE,UAAU,UAAQ;IAClB,SAAS,SAAK;IACd,aAAa,UAAO;IAEpB,QAAQ,IAAI,IAAI;IAIhB,sBAAsB;IAItB,gBAAgB;yCAtBL,yBAAyB;2CAAzB,yBAAyB;CA0CrC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export * from './lib/dropdown-selector/dropdown-selector.component';
|
|
2
|
-
export * from './lib/dropdown-selector/dropdown-selector.model';
|
|
3
|
-
export * from './lib/dropdown-multiselect/dropdown-multiselect.component';
|
|
4
|
-
export * from './lib/dropdown-multiselect/dropdown-multiselect.model';
|
|
5
|
-
export * from './lib/text-input/text-input.component';
|
|
6
|
-
export * from './lib/chips-input/chips-input.component';
|
|
7
|
-
export * from './lib/text-area/text-area.component';
|
|
8
1
|
export * from './lib/autocomplete/autocomplete.component';
|
|
9
|
-
export * from './lib/star-toggle/star-toggle.component';
|
|
10
2
|
export * from './lib/button/button.component';
|
|
11
|
-
export * from './lib/viewport-intersector/viewport-intersector.component';
|
|
12
3
|
export * from './lib/check-toggle/check-toggle.component';
|
|
13
|
-
export * from './lib/
|
|
4
|
+
export * from './lib/checkbox/checkbox.component';
|
|
5
|
+
export * from './lib/chips-input/chips-input.component';
|
|
14
6
|
export * from './lib/copy-text-button/copy-text-button.component';
|
|
7
|
+
export * from './lib/date-picker/date-picker.component';
|
|
8
|
+
export * from './lib/date-range-picker/date-range-picker.component';
|
|
15
9
|
export * from './lib/drag-and-drop-file-input/drag-and-drop-file-input.component';
|
|
10
|
+
export * from './lib/dropdown-multiselect/dropdown-multiselect.component';
|
|
11
|
+
export * from './lib/dropdown-multiselect/dropdown-multiselect.model';
|
|
12
|
+
export * from './lib/dropdown-selector/dropdown-selector.component';
|
|
13
|
+
export * from './lib/dropdown-selector/dropdown-selector.model';
|
|
14
|
+
export * from './lib/editable-label/editable-label.directive';
|
|
16
15
|
export * from './lib/navigation-button/navigation-button.component';
|
|
17
|
-
export * from './lib/viewport-intersector/viewport-intersector.component';
|
|
18
|
-
export * from './lib/checkbox/checkbox.component';
|
|
19
16
|
export * from './lib/search-input/search-input.component';
|
|
20
|
-
export * from './lib/
|
|
21
|
-
export * from './lib/
|
|
17
|
+
export * from './lib/star-toggle/star-toggle.component';
|
|
18
|
+
export * from './lib/text-area/text-area.component';
|
|
19
|
+
export * from './lib/text-input/text-input.component';
|
|
20
|
+
export * from './lib/ui-inputs.module';
|
|
21
|
+
export * from './lib/viewport-intersector/viewport-intersector.component';
|
|
22
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/inputs/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/inputs/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAA;AACzD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2CAA2C,CAAA;AACzD,cAAc,mCAAmC,CAAA;AACjD,cAAc,yCAAyC,CAAA;AACvD,cAAc,mDAAmD,CAAA;AACjE,cAAc,yCAAyC,CAAA;AACvD,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,qDAAqD,CAAA;AACnE,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,wBAAwB,CAAA;AACtC,cAAc,2DAA2D,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DatePickerComponent {
|
|
4
|
+
date: Date;
|
|
5
|
+
dateChange: EventEmitter<Date>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "gn-ui-date-picker", never, { "date": { "alias": "date"; "required": false; }; }, { "dateChange": "dateChange"; }, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=date-picker.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-picker.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAA;;AAKtE,qBAOa,mBAAmB;IACrB,IAAI,EAAE,IAAI,CAAA;IACT,UAAU,qBAA2B;yCAFpC,mBAAmB;2CAAnB,mBAAmB;CAG/B"}
|
|
@@ -6,6 +6,6 @@ export declare class DateRangePickerComponent {
|
|
|
6
6
|
startDateSelected(event: MatDatepickerInputEvent<Date>): void;
|
|
7
7
|
endDateSelected(event: MatDatepickerInputEvent<Date>): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "gn-ui-date-range-picker", never, {}, {}, never, never,
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "gn-ui-date-range-picker", never, {}, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=date-range-picker.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-range-picker.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"date-range-picker.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,uBAAuB,EAExB,MAAM,8BAA8B,CAAA;;AAGrC,qBAOa,wBAAwB;IACnC,SAAS,EAAE,IAAI,CAAA;IACf,OAAO,EAAE,IAAI,CAAA;IAEb,iBAAiB,CAAC,KAAK,EAAE,uBAAuB,CAAC,IAAI,CAAC;IAItD,eAAe,CAAC,KAAK,EAAE,uBAAuB,CAAC,IAAI,CAAC;yCARzC,wBAAwB;2CAAxB,wBAAwB;CAWpC"}
|
|
@@ -35,6 +35,6 @@ export declare class DropdownSelectorComponent implements OnInit {
|
|
|
35
35
|
get focusedIndex(): number | -1;
|
|
36
36
|
selectIfEnter(event: KeyboardEvent, choice: DropdownChoice): void;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownSelectorComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownSelectorComponent, "gn-ui-dropdown-selector", never, { "title": { "alias": "title"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "ariaName": { "alias": "ariaName"; "required": false; }; "choices": { "alias": "choices"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "extraBtnClass": { "alias": "extraBtnClass"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; }, { "selectValue": "selectValue"; }, never, never,
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownSelectorComponent, "gn-ui-dropdown-selector", never, { "title": { "alias": "title"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "ariaName": { "alias": "ariaName"; "required": false; }; "choices": { "alias": "choices"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "extraBtnClass": { "alias": "extraBtnClass"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; }, { "selectValue": "selectValue"; }, never, never, true, never>;
|
|
39
39
|
}
|
|
40
40
|
//# sourceMappingURL=dropdown-selector.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-selector.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"dropdown-selector.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EAElB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAGL,UAAU,EACV,YAAY,EAEZ,MAAM,EAEN,SAAS,EAGV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;;AAQ1D,qBAca,yBAA0B,YAAW,MAAM;IAC7C,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,UAAO;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;IAC9B,QAAQ,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,SAAK;IAClB,QAAQ,SAAK;IACZ,WAAW,wBAA8C;IACvC,aAAa,EAAE,gBAAgB,CAAA;IAC3B,OAAO,EAAE,mBAAmB,CAAA;IAC5D,WAAW,UAAQ;IACnB,YAAY,SAAS;IACrB,gBAAgB,SAAS;IACzB,gBAAgB,EAAE,iBAAiB,EAAE,CAepC;IAED,YAAY,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;IAEnC,IAAI,cAAc,IAAI,cAAc,CAKnC;IAED,IAAI,EAAE,WAEL;IAED,cAAc,IAAI,MAAM;IAIxB,QAAQ,IAAI,IAAI;IAOhB,UAAU,CAAC,MAAM,EAAE,cAAc;IAIjC,aAAa,CAAC,MAAM,EAAE,cAAc;IAMpC,WAAW;IAcX,YAAY;IAIZ,cAAc;IAId,aAAa;IAIP,oBAAoB,CAAC,KAAK,EAAE,aAAa;IAuB/C,oBAAoB,CAAC,KAAK,EAAE,aAAa;IAczC,cAAc,CAAC,KAAK,EAAE,MAAM;IAS5B,IAAI,YAAY,IAAI,MAAM,GAAG,CAAC,CAAC,CAM9B;IAED,aAAa,CAAC,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc;yCAlJ/C,yBAAyB;2CAAzB,yBAAyB;CAwJrC"}
|
|
@@ -2,16 +2,22 @@ import { AfterViewInit } from '@angular/core';
|
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TextAreaComponent implements AfterViewInit {
|
|
5
|
+
private readonly baseClasses;
|
|
6
|
+
private readonly disabledClasses;
|
|
5
7
|
value: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
extraClass: string;
|
|
6
10
|
placeholder: string;
|
|
7
11
|
required: boolean;
|
|
8
12
|
rawChange: Subject<string>;
|
|
9
13
|
valueChange: import("rxjs").Observable<string>;
|
|
10
14
|
input: any;
|
|
15
|
+
constructor();
|
|
16
|
+
get classList(): string;
|
|
11
17
|
ngAfterViewInit(): void;
|
|
12
18
|
checkRequired(value: any): void;
|
|
13
19
|
handleChange($event: any): void;
|
|
14
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "gn-ui-text-area", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "gn-ui-text-area", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
16
22
|
}
|
|
17
23
|
//# sourceMappingURL=text-area.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-area.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/text-area/text-area.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAKd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;;AAG9B,qBAMa,iBAAkB,YAAW,aAAa;
|
|
1
|
+
{"version":3,"file":"text-area.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/text-area/text-area.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAKd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;;AAG9B,qBAMa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAQ;IACpC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAQ;IAE/B,KAAK,SAAK;IACV,QAAQ,UAAQ;IAChB,UAAU,SAAK;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,UAAQ;IAEzB,SAAS,kBAAwB;IACvB,WAAW,oCAA8C;IAE/C,KAAK,MAAA;;IAoBzB,IAAI,SAAS,WAIZ;IAED,eAAe;IAIf,aAAa,CAAC,KAAK,KAAA;IAOnB,YAAY,CAAC,MAAM,KAAA;yCAlDR,iBAAiB;2CAAjB,iBAAiB;CAuD7B"}
|
|
@@ -2,16 +2,19 @@ import { AfterViewInit } from '@angular/core';
|
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TextInputComponent implements AfterViewInit {
|
|
5
|
+
private readonly baseClass;
|
|
5
6
|
value: string;
|
|
7
|
+
extraClass: string;
|
|
6
8
|
hint: string;
|
|
7
9
|
required: boolean;
|
|
8
10
|
rawChange: Subject<string>;
|
|
9
11
|
valueChange: import("rxjs").Observable<string>;
|
|
10
12
|
input: any;
|
|
13
|
+
get classList(): string;
|
|
11
14
|
ngAfterViewInit(): void;
|
|
12
15
|
checkRequired(value: any): void;
|
|
13
16
|
handleChange($event: any): void;
|
|
14
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "gn-ui-text-input", never, { "value": { "alias": "value"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "gn-ui-text-input", never, { "value": { "alias": "value"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
16
19
|
}
|
|
17
20
|
//# sourceMappingURL=text-input.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/text-input/text-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAKd,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;;AAE9B,qBAKa,kBAAmB,YAAW,aAAa;
|
|
1
|
+
{"version":3,"file":"text-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/text-input/text-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAKd,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;;AAE9B,qBAKa,kBAAmB,YAAW,aAAa;IACtD,OAAO,CAAC,QAAQ,CAAC,SAAS,CASf;IAEF,KAAK,SAAK;IACV,UAAU,SAAK;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,UAAQ;IACzB,SAAS,kBAAwB;IACvB,WAAW,oCAA8C;IAC/C,KAAK,MAAA;IAEzB,IAAI,SAAS,WAEZ;IAED,eAAe;IAIf,aAAa,CAAC,KAAK,KAAA;IAOnB,YAAY,CAAC,MAAM,KAAA;yCAnCR,kBAAkB;2CAAlB,kBAAkB;CAwC9B"}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./
|
|
10
|
-
import * as i9 from "./
|
|
11
|
-
import * as i10 from "./
|
|
12
|
-
import * as i11 from "./
|
|
13
|
-
import * as i12 from "./
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "@
|
|
18
|
-
import * as i17 from "ngx-
|
|
19
|
-
import * as i18 from "
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "@angular/
|
|
24
|
-
import * as i23 from "
|
|
25
|
-
import * as i24 from "@angular/
|
|
26
|
-
import * as i25 from "@angular/material/
|
|
27
|
-
import * as i26 from "@angular/material/
|
|
28
|
-
import * as i27 from "@angular/material/
|
|
29
|
-
import * as i28 from "@angular/material/
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "
|
|
32
|
-
import * as i31 from "./
|
|
33
|
-
import * as i32 from "./
|
|
34
|
-
import * as i33 from "./
|
|
35
|
-
import * as i34 from "./
|
|
2
|
+
import * as i1 from "./autocomplete/autocomplete.component";
|
|
3
|
+
import * as i2 from "./text-input/text-input.component";
|
|
4
|
+
import * as i3 from "./drag-and-drop-file-input/drag-and-drop-file-input.component";
|
|
5
|
+
import * as i4 from "./chips-input/chips-input.component";
|
|
6
|
+
import * as i5 from "./navigation-button/navigation-button.component";
|
|
7
|
+
import * as i6 from "./star-toggle/star-toggle.component";
|
|
8
|
+
import * as i7 from "./dropdown-multiselect/dropdown-multiselect.component";
|
|
9
|
+
import * as i8 from "./viewport-intersector/viewport-intersector.component";
|
|
10
|
+
import * as i9 from "./check-toggle/check-toggle.component";
|
|
11
|
+
import * as i10 from "./copy-text-button/copy-text-button.component";
|
|
12
|
+
import * as i11 from "./checkbox/checkbox.component";
|
|
13
|
+
import * as i12 from "./search-input/search-input.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 "@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 "@angular/material/autocomplete";
|
|
21
|
+
import * as i20 from "@angular/material/icon";
|
|
22
|
+
import * as i21 from "../../../widgets/src/lib/ui-widgets.module";
|
|
23
|
+
import * as i22 from "@angular/cdk/overlay";
|
|
24
|
+
import * as i23 from "@angular/material/checkbox";
|
|
25
|
+
import * as i24 from "@angular/material/tooltip";
|
|
26
|
+
import * as i25 from "@angular/material/form-field";
|
|
27
|
+
import * as i26 from "@angular/material/input";
|
|
28
|
+
import * as i27 from "@angular/material/datepicker";
|
|
29
|
+
import * as i28 from "@angular/material/core";
|
|
30
|
+
import * as i29 from "./editable-label/editable-label.directive";
|
|
31
|
+
import * as i30 from "./text-area/text-area.component";
|
|
32
|
+
import * as i31 from "./button/button.component";
|
|
33
|
+
import * as i32 from "./image-input/image-input.component";
|
|
34
|
+
import * as i33 from "./dropdown-selector/dropdown-selector.component";
|
|
35
|
+
import * as i34 from "./date-range-picker/date-range-picker.component";
|
|
36
36
|
export declare class UiInputsModule {
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputsModule, never>;
|
|
38
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.
|
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.AutocompleteComponent, typeof i2.TextInputComponent, typeof i3.DragAndDropFileInputComponent, typeof i4.ChipsInputComponent, typeof i5.NavigationButtonComponent, typeof i6.StarToggleComponent, typeof i7.DropdownMultiselectComponent, typeof i8.ViewportIntersectorComponent, typeof i9.CheckToggleComponent, typeof i10.CopyTextButtonComponent, typeof i11.CheckboxComponent, typeof i12.SearchInputComponent], [typeof i13.CommonModule, typeof i14.TranslateModule, typeof i15.NgxDropzoneModule, typeof i16.FormsModule, typeof i16.ReactiveFormsModule, typeof i17.TagInputModule, typeof i18.UtilSharedModule, typeof i19.MatAutocompleteModule, typeof i20.MatIconModule, typeof i21.UiWidgetsModule, typeof i22.OverlayModule, typeof i23.MatCheckboxModule, typeof i24.MatTooltipModule, typeof i25.MatFormFieldModule, typeof i26.MatInputModule, typeof i27.MatDatepickerModule, typeof i28.MatNativeDateModule, typeof i29.EditableLabelDirective, typeof i30.TextAreaComponent, typeof i31.ButtonComponent, typeof i32.ImageInputComponent, typeof i33.DropdownSelectorComponent, typeof i34.DateRangePickerComponent], [typeof i33.DropdownSelectorComponent, typeof i1.AutocompleteComponent, typeof i31.ButtonComponent, typeof i2.TextInputComponent, typeof i3.DragAndDropFileInputComponent, typeof i30.TextAreaComponent, typeof i4.ChipsInputComponent, typeof i5.NavigationButtonComponent, typeof i6.StarToggleComponent, typeof i7.DropdownMultiselectComponent, typeof i8.ViewportIntersectorComponent, typeof i9.CheckToggleComponent, typeof i10.CopyTextButtonComponent, typeof i11.CheckboxComponent, typeof i12.SearchInputComponent, typeof i34.DateRangePickerComponent, typeof i29.EditableLabelDirective, typeof i32.ImageInputComponent]>;
|
|
39
39
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiInputsModule>;
|
|
40
40
|
}
|
|
41
41
|
//# sourceMappingURL=ui-inputs.module.d.ts.map
|
package/package.json
CHANGED
|
@@ -120,13 +120,13 @@ export class Gn4FieldMapper {
|
|
|
120
120
|
}),
|
|
121
121
|
creationDateForResource: (output, source) => ({
|
|
122
122
|
...output,
|
|
123
|
-
|
|
123
|
+
resourceCreated: toDate(
|
|
124
124
|
getFirstValue(selectField<string>(source, 'creationDateForResource'))
|
|
125
125
|
),
|
|
126
126
|
}),
|
|
127
127
|
revisionDateForResource: (output, source) => ({
|
|
128
128
|
...output,
|
|
129
|
-
|
|
129
|
+
resourceUpdated: toDate(
|
|
130
130
|
getFirstValue(selectField<string>(source, 'revisionDateForResource'))
|
|
131
131
|
),
|
|
132
132
|
}),
|
|
@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core'
|
|
|
2
2
|
import { AvatarServiceInterface } from './avatar.service.interface'
|
|
3
3
|
import { Gn4SettingsService } from '../settings/gn4-settings.service'
|
|
4
4
|
import { map } from 'rxjs/operators'
|
|
5
|
-
import { Observable } from 'rxjs'
|
|
5
|
+
import { firstValueFrom, Observable } from 'rxjs'
|
|
6
6
|
|
|
7
7
|
@Injectable({
|
|
8
8
|
providedIn: 'root',
|
|
@@ -14,6 +14,7 @@ export class GravatarService implements AvatarServiceInterface {
|
|
|
14
14
|
private readonly identicon$ = this.gn4SettingsService.identicon$.pipe(
|
|
15
15
|
map((identicon) => identicon?.replace('gravatar:', ''))
|
|
16
16
|
)
|
|
17
|
+
|
|
17
18
|
constructor(private gn4SettingsService: Gn4SettingsService) {}
|
|
18
19
|
|
|
19
20
|
getPlaceholder(): Observable<string> {
|
|
@@ -26,4 +27,14 @@ export class GravatarService implements AvatarServiceInterface {
|
|
|
26
27
|
map((identicon) => `${this.GRAVATAR_URL}${hash}?d=${identicon}`)
|
|
27
28
|
)
|
|
28
29
|
}
|
|
30
|
+
|
|
31
|
+
async getProfileIconUrl(userId: string) {
|
|
32
|
+
let iconUrl = ''
|
|
33
|
+
try {
|
|
34
|
+
iconUrl = await firstValueFrom(this.getProfileIcon(userId))
|
|
35
|
+
} catch (error) {
|
|
36
|
+
return ''
|
|
37
|
+
}
|
|
38
|
+
return iconUrl
|
|
39
|
+
}
|
|
29
40
|
}
|