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
package/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './libs/api/metadata-converter/src';
|
|
|
2
2
|
export * from './libs/api/repository/src';
|
|
3
3
|
export * from './libs/feature/auth/src';
|
|
4
4
|
export * from './libs/feature/map/src';
|
|
5
|
+
export * from './libs/feature/notifications/src';
|
|
5
6
|
export * from './libs/feature/search/src';
|
|
6
7
|
export * from './libs/feature/record/src';
|
|
7
8
|
export * from './libs/feature/dataviz/src';
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,mCAAmC,CAAA;AACjD,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,8BAA8B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,mCAAmC,CAAA;AACjD,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,kCAAkC,CAAA;AAChD,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,8BAA8B,CAAA"}
|
package/index.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './libs/api/metadata-converter/src'
|
|
|
3
3
|
export * from './libs/api/repository/src'
|
|
4
4
|
export * from './libs/feature/auth/src'
|
|
5
5
|
export * from './libs/feature/map/src'
|
|
6
|
+
export * from './libs/feature/notifications/src'
|
|
6
7
|
export * from './libs/feature/search/src'
|
|
7
8
|
export * from './libs/feature/record/src'
|
|
8
9
|
export * from './libs/feature/dataviz/src'
|
|
@@ -2,5 +2,6 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
export declare abstract class AvatarServiceInterface {
|
|
3
3
|
abstract getPlaceholder(): Observable<string>;
|
|
4
4
|
abstract getProfileIcon(...args: any[]): Observable<string>;
|
|
5
|
+
abstract getProfileIconUrl(userId: string): Promise<string>;
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=avatar.service.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.service.interface.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjC,8BAAsB,sBAAsB;aAC1B,cAAc,IAAI,UAAU,CAAC,MAAM,CAAC;aACpC,cAAc,CAAC,GAAG,IAAI,OAAA,GAAG,UAAU,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"avatar.service.interface.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjC,8BAAsB,sBAAsB;aAC1B,cAAc,IAAI,UAAU,CAAC,MAAM,CAAC;aACpC,cAAc,CAAC,GAAG,IAAI,OAAA,GAAG,UAAU,CAAC,MAAM,CAAC;aAC3C,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CACnE"}
|
|
@@ -10,6 +10,7 @@ export declare class GravatarService implements AvatarServiceInterface {
|
|
|
10
10
|
constructor(gn4SettingsService: Gn4SettingsService);
|
|
11
11
|
getPlaceholder(): Observable<string>;
|
|
12
12
|
getProfileIcon(hash: string): Observable<string>;
|
|
13
|
+
getProfileIconUrl(userId: string): Promise<string>;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<GravatarService, never>;
|
|
14
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<GravatarService>;
|
|
15
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gravatar.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/auth/gravatar.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAErE,OAAO,
|
|
1
|
+
{"version":3,"file":"gravatar.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/auth/gravatar.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAA;AAErE,OAAO,EAAkB,UAAU,EAAE,MAAM,MAAM,CAAA;;AAEjD,qBAGa,eAAgB,YAAW,sBAAsB;IAQhD,OAAO,CAAC,kBAAkB;IAPtC,OAAO,CAAC,YAAY,CAAqC;IACzD,OAAO,CAAC,kBAAkB,CAAO;IAEjC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAE1B;gBAEmB,kBAAkB,EAAE,kBAAkB;IAE1D,cAAc,IAAI,UAAU,CAAC,MAAM,CAAC;IAIpC,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAO1C,iBAAiB,CAAC,MAAM,EAAE,MAAM;yCArB3B,eAAe;6CAAf,eAAe;CA8B3B"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { MeResponseApiModel, UserApiModel } from '../../../../../../../libs/data-access/gn4/src';
|
|
1
|
+
import { MeResponseApiModel, UserApiModel, UserFeedbackDTOApiModel } from '../../../../../../../libs/data-access/gn4/src';
|
|
2
2
|
import { UserModel } from '../../../../../../../libs/common/domain/src/lib/model/user/user.model';
|
|
3
|
-
import { AvatarServiceInterface } from '../auth
|
|
3
|
+
import { AvatarServiceInterface } from '../auth';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { ThesaurusModel } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus/thesaurus.model';
|
|
6
|
+
import { UserFeedback, UserFeedbackViewModel } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class Gn4PlatformMapper {
|
|
8
9
|
private avatarService;
|
|
@@ -10,6 +11,9 @@ export declare class Gn4PlatformMapper {
|
|
|
10
11
|
userFromMeApi(apiUser: MeResponseApiModel): Observable<UserModel | null>;
|
|
11
12
|
userFromApi(apiUser: UserApiModel): UserModel;
|
|
12
13
|
thesaurusFromApi(thesaurus: any[], lang3?: string): ThesaurusModel;
|
|
14
|
+
userFeedbacksFromApi(userFeedback: any): UserFeedback;
|
|
15
|
+
userFeedbacksToApi(userFeedback: UserFeedback): Partial<UserFeedbackDTOApiModel>;
|
|
16
|
+
createUserFeedbackViewModel(baseUserFeedback: UserFeedback): Promise<UserFeedbackViewModel>;
|
|
13
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4PlatformMapper, never>;
|
|
14
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<Gn4PlatformMapper>;
|
|
15
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4-platform.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,YAAY,
|
|
1
|
+
{"version":3,"file":"gn4-platform.mapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,YAAY,EACZ,uBAAuB,EACxB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uEAAuE,CAAA;AAEjG,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAEhD,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,iFAAiF,CAAA;AAChH,OAAO,EACL,YAAY,EACZ,qBAAqB,EACtB,MAAM,8DAA8D,CAAA;;AAErE,qBACa,iBAAiB;IAChB,OAAO,CAAC,aAAa;gBAAb,aAAa,EAAE,sBAAsB;IAEzD,aAAa,CAAC,OAAO,EAAE,kBAAkB,GAAG,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC;IAiBxE,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,SAAS;IAiB7C,gBAAgB,CAAC,SAAS,EAAE,GAAG,EAAE,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,cAAc;IAqBlE,oBAAoB,CAAC,YAAY,EAAE,GAAG,GAAG,YAAY;IAcrD,kBAAkB,CAChB,YAAY,EAAE,YAAY,GACzB,OAAO,CAAC,uBAAuB,CAAC;IAc7B,2BAA2B,CAC/B,gBAAgB,EAAE,YAAY,GAC7B,OAAO,CAAC,qBAAqB,CAAC;yCA1FtB,iBAAiB;6CAAjB,iBAAiB;CAoG7B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { MeApiService, RegistriesApiService, SiteApiService, ToolsApiService, UsersApiService } from '../../../../../../../libs/data-access/gn4/src';
|
|
2
|
+
import { MeApiService, RegistriesApiService, SiteApiService, ToolsApiService, UserfeedbackApiService, UsersApiService } from '../../../../../../../libs/data-access/gn4/src';
|
|
3
3
|
import { PlatformServiceInterface } from '../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
4
4
|
import { UserModel } from '../../../../../../../libs/common/domain/src/lib/model/user/user.model';
|
|
5
|
-
import { Organization } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
5
|
+
import { Organization, UserFeedback } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
6
6
|
import { Gn4PlatformMapper } from './gn4-platform.mapper';
|
|
7
7
|
import { ThesaurusModel } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus/thesaurus.model';
|
|
8
8
|
import { LangService } from '../../../../../../../libs/util/i18n/src';
|
|
@@ -15,10 +15,11 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
15
15
|
private toolsApiService;
|
|
16
16
|
private registriesApiService;
|
|
17
17
|
private langService;
|
|
18
|
+
private userfeedbackApiService;
|
|
18
19
|
private readonly type;
|
|
19
|
-
private me$;
|
|
20
|
-
private users$;
|
|
21
|
-
private
|
|
20
|
+
private readonly me$;
|
|
21
|
+
private readonly users$;
|
|
22
|
+
private readonly isUserAnonymous$;
|
|
22
23
|
private keyTranslations$;
|
|
23
24
|
private settings$;
|
|
24
25
|
private readonly apiVersion$;
|
|
@@ -27,7 +28,7 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
27
28
|
* @private
|
|
28
29
|
*/
|
|
29
30
|
private thesauri;
|
|
30
|
-
constructor(siteApiService: SiteApiService, meApi: MeApiService, usersApi: UsersApiService, mapper: Gn4PlatformMapper, toolsApiService: ToolsApiService, registriesApiService: RegistriesApiService, langService: LangService);
|
|
31
|
+
constructor(siteApiService: SiteApiService, meApi: MeApiService, usersApi: UsersApiService, mapper: Gn4PlatformMapper, toolsApiService: ToolsApiService, registriesApiService: RegistriesApiService, langService: LangService, userfeedbackApiService: UserfeedbackApiService);
|
|
31
32
|
getType(): string;
|
|
32
33
|
getApiVersion(): Observable<string>;
|
|
33
34
|
getMe(): Observable<UserModel>;
|
|
@@ -37,6 +38,8 @@ export declare class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
37
38
|
getUsers(): Observable<UserModel[]>;
|
|
38
39
|
translateKey(key: string): Observable<string>;
|
|
39
40
|
getThesaurusByUri(uri: string): Observable<ThesaurusModel>;
|
|
41
|
+
getUserFeedbacks(uuid: string): Observable<UserFeedback[]>;
|
|
42
|
+
postUserFeedbacks(userFeedback: UserFeedback): Observable<void>;
|
|
40
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4PlatformService, never>;
|
|
41
44
|
static ɵprov: i0.ɵɵInjectableDeclaration<Gn4PlatformService>;
|
|
42
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4-platform.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAiB,MAAM,MAAM,CAAA;AAEhD,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,eAAe,EAChB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4EAA4E,CAAA;AACrH,OAAO,EAAE,SAAS,EAAE,MAAM,uEAAuE,CAAA;AACjG,OAAO,
|
|
1
|
+
{"version":3,"file":"gn4-platform.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAiB,MAAM,MAAM,CAAA;AAEhD,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,eAAe,EAChB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4EAA4E,CAAA;AACrH,OAAO,EAAE,SAAS,EAAE,MAAM,uEAAuE,CAAA;AACjG,OAAO,EACL,YAAY,EACZ,YAAY,EACb,MAAM,8DAA8D,CAAA;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,EAAE,cAAc,EAAE,MAAM,iFAAiF,CAAA;AAChH,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAA;;AAIrE,qBACa,kBAAmB,YAAW,wBAAwB;IAwC/D,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,sBAAsB;IA9ChC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAe;IACpC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAuB;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAChD,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAqB;IAEtD,OAAO,CAAC,gBAAgB,CAQrB;IAEH,OAAO,CAAC,SAAS,CAGhB;IAED,OAAO,CAAC,QAAQ,CAAC,WAAW,CAU3B;IAED;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAiD;gBAGvD,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,eAAe,EACzB,MAAM,EAAE,iBAAiB,EACzB,eAAe,EAAE,eAAe,EAChC,oBAAoB,EAAE,oBAAoB,EAC1C,WAAW,EAAE,WAAW,EACxB,sBAAsB,EAAE,sBAAsB;IAiBxD,OAAO,IAAI,MAAM;IAIjB,aAAa,IAAI,UAAU,CAAC,MAAM,CAAC;IAInC,KAAK,IAAI,UAAU,CAAC,SAAS,CAAC;IAI9B,WAAW,IAAI,UAAU,CAAC,OAAO,CAAC;IAIlC,gBAAgB,IAAI,UAAU,CAAC,YAAY,EAAE,CAAC;IAI9C,sBAAsB,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;IAI3E,QAAQ,IAAI,UAAU,CAAC,SAAS,EAAE,CAAC;IAInC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAkB7C,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,cAAc,CAAC;IA4B1D,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,YAAY,EAAE,CAAC;IAU1D,iBAAiB,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,IAAI,CAAC;yCApJpD,kBAAkB;6CAAlB,kBAAkB;CA0J9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,kBAAkB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface UserFeedback {
|
|
2
|
+
uuid: string;
|
|
3
|
+
comment: string;
|
|
4
|
+
metadataUUID: string;
|
|
5
|
+
authorUserId: string;
|
|
6
|
+
authorName: string;
|
|
7
|
+
authorEmail: string;
|
|
8
|
+
published: boolean;
|
|
9
|
+
parentUuid?: string;
|
|
10
|
+
date: Date;
|
|
11
|
+
}
|
|
12
|
+
export interface UserFeedbackViewModel extends UserFeedback {
|
|
13
|
+
avatarUrl: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=user-feedbacks.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-feedbacks.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/user-feedbacks.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,IAAI,CAAA;CACX;AAED,MAAM,WAAW,qBAAsB,SAAQ,YAAY;IACzD,SAAS,EAAE,MAAM,CAAA;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -2,6 +2,7 @@ import type { Observable } from 'rxjs';
|
|
|
2
2
|
import type { UserModel } from './model/user/user.model';
|
|
3
3
|
import type { Organization } from './model/record/organization.model';
|
|
4
4
|
import type { ThesaurusModel } from './model/thesaurus/';
|
|
5
|
+
import { UserFeedback } from './model/record';
|
|
5
6
|
export declare abstract class PlatformServiceInterface {
|
|
6
7
|
abstract getType(): string;
|
|
7
8
|
abstract getApiVersion(): Observable<string>;
|
|
@@ -12,5 +13,7 @@ export declare abstract class PlatformServiceInterface {
|
|
|
12
13
|
abstract getOrganizations(): Observable<Organization[]>;
|
|
13
14
|
abstract translateKey(key: string): Observable<string>;
|
|
14
15
|
abstract getThesaurusByUri(uri: string): Observable<ThesaurusModel>;
|
|
16
|
+
abstract getUserFeedbacks(recordUuid: string): Observable<UserFeedback[]>;
|
|
17
|
+
abstract postUserFeedbacks(recordUuid: UserFeedback): Observable<void>;
|
|
15
18
|
}
|
|
16
19
|
//# sourceMappingURL=platform.service.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.service.interface.d.ts","sourceRoot":"","sources":["../../../../../src/libs/common/domain/src/lib/platform.service.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"platform.service.interface.d.ts","sourceRoot":"","sources":["../../../../../src/libs/common/domain/src/lib/platform.service.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,8BAAsB,wBAAwB;IAC5C,QAAQ,CAAC,OAAO,IAAI,MAAM;IAC1B,QAAQ,CAAC,aAAa,IAAI,UAAU,CAAC,MAAM,CAAC;IAE5C,QAAQ,CAAC,KAAK,IAAI,UAAU,CAAC,SAAS,CAAC;IACvC,QAAQ,CAAC,WAAW,IAAI,UAAU,CAAC,OAAO,CAAC;IAC3C,QAAQ,CAAC,QAAQ,IAAI,UAAU,CAAC,SAAS,EAAE,CAAC;IAC5C,QAAQ,CAAC,sBAAsB,CAC7B,YAAY,EAAE,YAAY,GACzB,UAAU,CAAC,SAAS,EAAE,CAAC;IAC1B,QAAQ,CAAC,gBAAgB,IAAI,UAAU,CAAC,YAAY,EAAE,CAAC;IACvD,QAAQ,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IACtD,QAAQ,CAAC,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,cAAc,CAAC;IACnE,QAAQ,CAAC,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,CAAC,YAAY,EAAE,CAAC;IACzE,QAAQ,CAAC,iBAAiB,CAAC,UAAU,EAAE,YAAY,GAAG,UAAU,CAAC,IAAI,CAAC;CACvE"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditorFacade {
|
|
4
5
|
private readonly store;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
private actions$;
|
|
7
|
+
record$: Observable<CatalogRecord>;
|
|
8
|
+
saving$: Observable<boolean>;
|
|
9
|
+
saveError$: Observable<string>;
|
|
10
|
+
saveSuccess$: Observable<import("@ngrx/store/src/models").TypedAction<"[Editor] Save record success">>;
|
|
11
|
+
changedSinceSave$: Observable<boolean>;
|
|
12
|
+
recordFields$: Observable<{
|
|
10
13
|
config: import("../models/fields.model").EditorFieldConfig;
|
|
11
14
|
value: any;
|
|
12
15
|
}[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.facade.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;
|
|
1
|
+
{"version":3,"file":"editor.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.facade.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAU,UAAU,EAAE,MAAM,MAAM,CAAA;;AAGzC,qBACa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IACtC,OAAO,CAAC,QAAQ,CAAkB;IAElC,OAAO,4BAAwD;IAC/D,OAAO,sBAA8D;IACrE,UAAU,qBAGT;IACD,YAAY,2FAA8D;IAC1E,iBAAiB,sBAEhB;IACD,aAAa;;;SAA8D;IAE3E,UAAU,CAAC,MAAM,EAAE,aAAa;IAIhC,UAAU;IAIV,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;yCAxBpC,YAAY;6CAAZ,YAAY;CA2BxB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormFieldLicenseComponent {
|
|
4
|
+
control: FormControl;
|
|
5
|
+
label: string;
|
|
6
|
+
get selected(): any;
|
|
7
|
+
onSelectValue(value: unknown): void;
|
|
8
|
+
choices: ({
|
|
9
|
+
value: string;
|
|
10
|
+
label: "editor.record.form.license.cc-by";
|
|
11
|
+
} | {
|
|
12
|
+
value: string;
|
|
13
|
+
label: "editor.record.form.license.cc-by-sa";
|
|
14
|
+
} | {
|
|
15
|
+
value: string;
|
|
16
|
+
label: "editor.record.form.license.cc-zero";
|
|
17
|
+
} | {
|
|
18
|
+
value: string;
|
|
19
|
+
label: "editor.record.form.license.etalab";
|
|
20
|
+
} | {
|
|
21
|
+
value: string;
|
|
22
|
+
label: "editor.record.form.license.etalab-v2";
|
|
23
|
+
} | {
|
|
24
|
+
value: string;
|
|
25
|
+
label: "editor.record.form.license.odbl";
|
|
26
|
+
} | {
|
|
27
|
+
value: string;
|
|
28
|
+
label: "editor.record.form.license.odc-by";
|
|
29
|
+
} | {
|
|
30
|
+
value: string;
|
|
31
|
+
label: "editor.record.form.license.pddl";
|
|
32
|
+
} | {
|
|
33
|
+
value: string;
|
|
34
|
+
label: "editor.record.form.license.unknown";
|
|
35
|
+
})[];
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldLicenseComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldLicenseComponent, "gn-ui-form-field-license", never, { "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=form-field-license.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-license.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;;AAI5C,qBAQa,yBAAyB;IAC3B,OAAO,EAAG,WAAW,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IAEtB,IAAI,QAAQ,QAEX;IAED,aAAa,CAAC,KAAK,EAAE,OAAO;IAI5B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;SAqCN;yCAjDU,yBAAyB;2CAAzB,yBAAyB;CAkDrC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormFieldResourceUpdatedComponent {
|
|
4
|
+
control: FormControl;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldResourceUpdatedComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldResourceUpdatedComponent, "gn-ui-form-field-resource-updated", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=form-field-resource-updated.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-resource-updated.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;;AAG5C,qBAQa,iCAAiC;IACnC,OAAO,EAAG,WAAW,CAAA;yCADnB,iCAAiC;2CAAjC,iCAAiC;CAE7C"}
|
package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import { FormControl } from '@angular/forms';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
import { FormFieldConfig } from './form-field.model';
|
|
@@ -7,9 +8,11 @@ export declare class FormFieldComponent {
|
|
|
7
8
|
config: FormFieldConfig;
|
|
8
9
|
set value(v: unknown);
|
|
9
10
|
valueChange: Observable<unknown>;
|
|
11
|
+
titleInput: ElementRef;
|
|
10
12
|
formControl: FormControl<any>;
|
|
11
13
|
constructor();
|
|
12
|
-
|
|
14
|
+
focusTitleInput(): void;
|
|
15
|
+
get simpleType(): "number" | "text" | "url" | "date" | "toggle" | "list";
|
|
13
16
|
get isSimpleField(): boolean;
|
|
14
17
|
get isFileField(): boolean;
|
|
15
18
|
get isSpatialExtentField(): boolean;
|
|
@@ -19,7 +22,11 @@ export declare class FormFieldComponent {
|
|
|
19
22
|
get isFieldOk(): boolean;
|
|
20
23
|
get isFieldLocked(): boolean;
|
|
21
24
|
get isFieldInvalid(): boolean;
|
|
25
|
+
get isTitle(): boolean;
|
|
22
26
|
get isAbstract(): boolean;
|
|
27
|
+
get isLicenses(): boolean;
|
|
28
|
+
get isResourceUpdated(): boolean;
|
|
29
|
+
get withoutWrapper(): boolean;
|
|
23
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
24
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "gn-ui-form-field", never, { "model": { "alias": "model"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
25
32
|
}
|
package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAIX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAUjC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;;AAEpD,qBAyBa,kBAAkB;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,eAAe,CAAA;IAChC,IAAa,KAAK,CAAC,CAAC,EAAE,OAAO,EAI5B;IACS,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAEjB,UAAU,EAAE,UAAU,CAAA;IAE/C,WAAW,mBAAoB;;IAM/B,eAAe;IAIf,IAAI,UAAU,2DAQb;IAED,IAAI,aAAa,YAShB;IACD,IAAI,WAAW,YAEd;IACD,IAAI,oBAAoB,YAEvB;IACD,IAAI,qBAAqB,YAExB;IACD,IAAI,YAAY,YAEf;IACD,IAAI,aAAa,YAEhB;IAED,IAAI,SAAS,YAEZ;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,cAAc,YAEjB;IAED,IAAI,OAAO,YAEV;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IACD,IAAI,iBAAiB,YAEpB;IAED,IAAI,cAAc,YAEjB;yCAnFU,kBAAkB;2CAAlB,kBAAkB;CAoF9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-form.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;;
|
|
1
|
+
{"version":3,"file":"record-form.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;;AAG9E,qBAQa,mBAAmB;IAGX,MAAM,EAAE,YAAY;IAFvC,OAAO;;;SAA4B;gBAEhB,MAAM,EAAE,YAAY;IAEvC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,gBAAgB;IAO1E,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB;yCAZxC,mBAAmB;2CAAnB,mBAAmB;CAe/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1D,eAAO,MAAM,cAAc,EAAE,kBA8C5B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/notifications/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAA;AAClD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,iEAAiE,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FeatureNotificationsModule {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureNotificationsModule, never>;
|
|
4
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureNotificationsModule, never, never, never>;
|
|
5
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FeatureNotificationsModule>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=feature-notifications.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature-notifications.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/notifications/src/lib/feature-notifications.module.ts"],"names":[],"mappings":";AAGA,qBAMa,0BAA0B;yCAA1B,0BAA0B;0CAA1B,0BAA0B;0CAA1B,0BAA0B;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification.model.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/notifications/src/lib/notification.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAA;IAC9C,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NotificationsService } from '../notifications.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NotificationsContainerComponent {
|
|
4
|
+
protected notificationsService: NotificationsService;
|
|
5
|
+
constructor(notificationsService: NotificationsService);
|
|
6
|
+
trackById(index: number, notification: {
|
|
7
|
+
id: number;
|
|
8
|
+
}): number;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsContainerComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsContainerComponent, "gn-ui-notifications-container", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=notifications-container.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications-container.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;;AAU/D,qBAyBa,+BAA+B;IAC9B,SAAS,CAAC,oBAAoB,EAAE,oBAAoB;gBAA1C,oBAAoB,EAAE,oBAAoB;IAEhE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE;yCAH1C,+BAA+B;2CAA/B,+BAA+B;CAM3C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NotificationContent } from './notification.model';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
type NotificationWithIdentity = NotificationContent & {
|
|
5
|
+
id: number;
|
|
6
|
+
};
|
|
7
|
+
export declare class NotificationsService {
|
|
8
|
+
notifications$: BehaviorSubject<NotificationWithIdentity[]>;
|
|
9
|
+
showNotification(content: NotificationContent, timeoutMs?: number): void;
|
|
10
|
+
removeNotificationById(id: number): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=notifications.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications.service.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/notifications/src/lib/notifications.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;;AAEtC,KAAK,wBAAwB,GAAG,mBAAmB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAA;AAEpE,qBAGa,oBAAoB;IAC/B,cAAc,8CAAsD;IAEpE,gBAAgB,CAAC,OAAO,EAAE,mBAAmB,EAAE,SAAS,CAAC,EAAE,MAAM;IASjE,sBAAsB,CAAC,EAAE,EAAE,MAAM;yCAZtB,oBAAoB;6CAApB,oBAAoB;CAiBhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-record.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/record/src/lib/feature-record.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"feature-record.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/record/src/lib/feature-record.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA6BA,qBAmCa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DatavizConfigurationModel } from '../../../../../../libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model';
|
|
2
|
-
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
2
|
+
import { CatalogRecord, UserFeedback } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
3
|
export declare const loadFullMetadata: import("@ngrx/store").ActionCreator<"[Metadata view] Load full metadata", (props: {
|
|
4
4
|
uuid: string;
|
|
5
5
|
}) => {
|
|
@@ -10,18 +10,19 @@ export declare const setIncompleteMetadata: import("@ngrx/store").ActionCreator<
|
|
|
10
10
|
}) => {
|
|
11
11
|
incomplete: Partial<CatalogRecord>;
|
|
12
12
|
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Set incomplete metadata">>;
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const loadFullMetadataSuccess: import("@ngrx/store").ActionCreator<"[Metadata view] Load full metadata success", (props: {
|
|
14
14
|
full: CatalogRecord;
|
|
15
15
|
}) => {
|
|
16
16
|
full: CatalogRecord;
|
|
17
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load full success">>;
|
|
18
|
-
export declare const
|
|
17
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load full metadata success">>;
|
|
18
|
+
export declare const loadFullMetadataFailure: import("@ngrx/store").ActionCreator<"[Metadata view] Load full metadata failure", (props: {
|
|
19
19
|
otherError?: string;
|
|
20
20
|
notFound?: boolean;
|
|
21
21
|
}) => {
|
|
22
22
|
otherError?: string;
|
|
23
23
|
notFound?: boolean;
|
|
24
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load full failure">>;
|
|
24
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load full metadata failure">>;
|
|
25
|
+
export declare const closeMetadata: import("@ngrx/store").ActionCreator<"[Metadata view] close", () => import("@ngrx/store/src/models").TypedAction<"[Metadata view] close">>;
|
|
25
26
|
export declare const setRelated: import("@ngrx/store").ActionCreator<"[Metadata view] Set related records", (props: {
|
|
26
27
|
related: CatalogRecord[];
|
|
27
28
|
}) => {
|
|
@@ -32,5 +33,38 @@ export declare const setChartConfig: import("@ngrx/store").ActionCreator<"[Metad
|
|
|
32
33
|
}) => {
|
|
33
34
|
chartConfig: DatavizConfigurationModel;
|
|
34
35
|
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Set chart config">>;
|
|
35
|
-
export declare const
|
|
36
|
+
export declare const addUserFeedback: import("@ngrx/store").ActionCreator<"[Metadata view] Add UserFeedback", (props: {
|
|
37
|
+
userFeedback: UserFeedback;
|
|
38
|
+
}) => {
|
|
39
|
+
userFeedback: UserFeedback;
|
|
40
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Add UserFeedback">>;
|
|
41
|
+
export declare const addUserFeedbackSuccess: import("@ngrx/store").ActionCreator<"[Metadata view] Add UserFeedback Success", (props: {
|
|
42
|
+
datasetUuid: string;
|
|
43
|
+
}) => {
|
|
44
|
+
datasetUuid: string;
|
|
45
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Add UserFeedback Success">>;
|
|
46
|
+
export declare const addUserFeedbackFailure: import("@ngrx/store").ActionCreator<"[Metadata view] Add UserFeedback Failure", (props: {
|
|
47
|
+
otherError?: string;
|
|
48
|
+
notFound?: boolean;
|
|
49
|
+
}) => {
|
|
50
|
+
otherError?: string;
|
|
51
|
+
notFound?: boolean;
|
|
52
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Add UserFeedback Failure">>;
|
|
53
|
+
export declare const loadUserFeedbacks: import("@ngrx/store").ActionCreator<"[Metadata view] Load UserFeedbacks", (props: {
|
|
54
|
+
datasetUuid: string;
|
|
55
|
+
}) => {
|
|
56
|
+
datasetUuid: string;
|
|
57
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load UserFeedbacks">>;
|
|
58
|
+
export declare const loadUserFeedbacksSuccess: import("@ngrx/store").ActionCreator<"[Metadata view] Load UserFeedbacks Success", (props: {
|
|
59
|
+
userFeedbacks: UserFeedback[];
|
|
60
|
+
}) => {
|
|
61
|
+
userFeedbacks: UserFeedback[];
|
|
62
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load UserFeedbacks Success">>;
|
|
63
|
+
export declare const loadUserFeedbacksFailure: import("@ngrx/store").ActionCreator<"[Metadata view] Load UserFeedbacks Failure", (props: {
|
|
64
|
+
otherError?: string;
|
|
65
|
+
notFound?: boolean;
|
|
66
|
+
}) => {
|
|
67
|
+
otherError?: string;
|
|
68
|
+
notFound?: boolean;
|
|
69
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load UserFeedbacks Failure">>;
|
|
36
70
|
//# sourceMappingURL=mdview.actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mdview.actions.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAElI,OAAO,
|
|
1
|
+
{"version":3,"file":"mdview.actions.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAElI,OAAO,EACL,aAAa,EACb,YAAY,EACb,MAAM,2DAA2D,CAAA;AAKlE,eAAO,MAAM,gBAAgB;UAEb,MAAM;;UAAN,MAAM;uFACrB,CAAA;AAED,eAAO,MAAM,qBAAqB;gBAEZ,QAAQ,aAAa,CAAC;;gBAAtB,QAAQ,aAAa,CAAC;4FAC3C,CAAA;AAED,eAAO,MAAM,uBAAuB;UAEpB,aAAa;;UAAb,aAAa;+FAC5B,CAAA;AAED,eAAO,MAAM,uBAAuB;iBAEb,MAAM;eAAa,OAAO;;iBAA1B,MAAM;eAAa,OAAO;+FAChD,CAAA;AAED,eAAO,MAAM,aAAa,2IAAwC,CAAA;AAKlE,eAAO,MAAM,UAAU;aAEJ,aAAa,EAAE;;aAAf,aAAa,EAAE;wFACjC,CAAA;AAKD,eAAO,MAAM,cAAc;iBAEJ,yBAAyB;;iBAAzB,yBAAyB;qFAC/C,CAAA;AAKD,eAAO,MAAM,eAAe;kBAEJ,YAAY;;kBAAZ,YAAY;qFACnC,CAAA;AAED,eAAO,MAAM,sBAAsB;iBAEZ,MAAM;;iBAAN,MAAM;6FAC5B,CAAA;AAED,eAAO,MAAM,sBAAsB;iBAEZ,MAAM;eAAa,OAAO;;iBAA1B,MAAM;eAAa,OAAO;6FAChD,CAAA;AAED,eAAO,MAAM,iBAAiB;iBAEP,MAAM;;iBAAN,MAAM;uFAC5B,CAAA;AAED,eAAO,MAAM,wBAAwB;mBAEZ,YAAY,EAAE;;mBAAd,YAAY,EAAE;+FACtC,CAAA;AAED,eAAO,MAAM,wBAAwB;iBAEd,MAAM;eAAa,OAAO;;iBAA1B,MAAM;eAAa,OAAO;+FAChD,CAAA"}
|
|
@@ -1,19 +1,39 @@
|
|
|
1
1
|
import { Actions } from '@ngrx/effects';
|
|
2
2
|
import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
|
|
3
|
+
import { PlatformServiceInterface } from '../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class MdViewEffects {
|
|
5
6
|
private actions$;
|
|
6
7
|
private recordsRepository;
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
private platformServiceInterface;
|
|
9
|
+
constructor(actions$: Actions, recordsRepository: RecordsRepositoryInterface, platformServiceInterface: PlatformServiceInterface);
|
|
10
|
+
loadFullMetadata$: import("rxjs").Observable<({
|
|
9
11
|
full: import("../../../../../common/domain/src/lib/model/record").CatalogRecord;
|
|
10
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load full success">) | ({
|
|
12
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load full metadata success">) | ({
|
|
11
13
|
otherError?: string;
|
|
12
14
|
notFound?: boolean;
|
|
13
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load full failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
15
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load full metadata failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
14
16
|
loadRelatedRecords$: import("rxjs").Observable<{
|
|
15
17
|
related: import("../../../../../common/domain/src/lib/model/record").CatalogRecord[];
|
|
16
18
|
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Set related records">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
19
|
+
loadUserFeedbacks$: import("rxjs").Observable<({
|
|
20
|
+
userFeedbacks: import("../../../../../common/domain/src/lib/model/record").UserFeedback[];
|
|
21
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load UserFeedbacks Success">) | ({
|
|
22
|
+
otherError?: string;
|
|
23
|
+
notFound?: boolean;
|
|
24
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load UserFeedbacks Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
25
|
+
reloadUserFeedbacks$: import("rxjs").Observable<({
|
|
26
|
+
userFeedbacks: import("../../../../../common/domain/src/lib/model/record").UserFeedback[];
|
|
27
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load UserFeedbacks Success">) | ({
|
|
28
|
+
otherError?: string;
|
|
29
|
+
notFound?: boolean;
|
|
30
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Load UserFeedbacks Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
31
|
+
addUserFeedback$: import("rxjs").Observable<({
|
|
32
|
+
datasetUuid: string;
|
|
33
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Add UserFeedback Success">) | ({
|
|
34
|
+
otherError?: string;
|
|
35
|
+
notFound?: boolean;
|
|
36
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Metadata view] Add UserFeedback Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
17
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MdViewEffects, never>;
|
|
18
38
|
static ɵprov: i0.ɵɵInjectableDeclaration<MdViewEffects>;
|
|
19
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mdview.effects.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.effects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAwB,MAAM,eAAe,CAAA;AAI7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;
|
|
1
|
+
{"version":3,"file":"mdview.effects.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.effects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAwB,MAAM,eAAe,CAAA;AAI7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AACjI,OAAO,EAAE,wBAAwB,EAAE,MAAM,yEAAyE,CAAA;;AAElH,qBACa,aAAa;IAEtB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,wBAAwB;gBAFxB,QAAQ,EAAE,OAAO,EACjB,iBAAiB,EAAE,0BAA0B,EAC7C,wBAAwB,EAAE,wBAAwB;IAM5D,iBAAiB;;;;;oJAgBhB;IAKD,mBAAmB;;4IASlB;IAKD,kBAAkB;;;;;oJAkBjB;IAED,oBAAoB;;;;;oJAkBnB;IAED,gBAAgB;;;;;kJAsBf;yCA3GU,aAAa;6CAAb,aAAa;CA4GzB"}
|