geonetwork-ui 2.5.0-dev.e060bf76e → 2.5.0-dev.e122921ef
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +2 -2
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +4 -8
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +14 -13
- package/esm2022/libs/feature/editor/src/index.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +5 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +9 -12
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +12 -3
- package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +32 -31
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +23 -3
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +53 -7
- package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +2 -2
- package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +6 -4
- package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +3 -3
- package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +10 -3
- package/esm2022/libs/util/data-fetcher/src/lib/utils.mjs +5 -3
- package/esm2022/translations/de.json +1 -1
- package/esm2022/translations/en.json +1 -1
- package/esm2022/translations/fr.json +1 -1
- package/esm2022/translations/it.json +1 -1
- package/fesm2022/geonetwork-ui.mjs +181 -103
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/feature/editor/src/index.d.ts +1 -0
- package/libs/feature/editor/src/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +1 -0
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +4 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/image-input/image-input.component.d.ts +6 -6
- package/libs/ui/elements/src/lib/image-input/image-input.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +8 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +2 -1
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts +1 -1
- package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/utils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +1 -1
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +3 -11
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +24 -26
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +90 -0
- package/src/libs/feature/editor/src/index.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +3 -3
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.html +1 -0
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +2 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +1 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +10 -11
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -0
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +2 -0
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +6 -0
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +3 -1
- package/src/libs/ui/elements/src/lib/image-input/image-input.component.html +20 -15
- package/src/libs/ui/elements/src/lib/image-input/image-input.component.ts +30 -33
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +21 -9
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +13 -0
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +36 -19
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +43 -2
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +3 -2
- package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +1 -1
- package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +36 -11
- package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.ts +9 -1
- package/src/libs/util/data-fetcher/src/lib/utils.ts +4 -2
- package/translations/de.json +1 -1
- package/translations/en.json +1 -1
- package/translations/fr.json +1 -1
- package/translations/it.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4-repository.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAGX,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAGL,YAAY,EAGb,MAAM,mDAAmD,CAAA;AAE1D,OAAO,EACL,aAAa,EACb,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACb,MAAM,2DAA2D,CAAA;AAClE,OAAO,EACL,YAAY,EACZ,aAAa,EACd,MAAM,wEAAwE,CAAA;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,yEAAyE,CAAA;AAClH,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AACjI,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAEjB,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAKL,UAAU,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AAa,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC;IAQ5D,oBAAoB,CAClB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAkBtD,wBAAwB,CACtB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC;IAmCnD,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,EAC9B,YAAY,UAAO,GAClB,UAAU,CAAC,MAAM,CAAC;IAkCrB,uBAAuB,CAAC,iBAAiB,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"gn4-repository.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4-repository.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAGX,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAGL,YAAY,EAGb,MAAM,mDAAmD,CAAA;AAE1D,OAAO,EACL,aAAa,EACb,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACb,MAAM,2DAA2D,CAAA;AAClE,OAAO,EACL,YAAY,EACZ,aAAa,EACd,MAAM,wEAAwE,CAAA;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,yEAAyE,CAAA;AAClH,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AACjI,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAEjB,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAKL,UAAU,EAEV,OAAO,EAGR,MAAM,MAAM,CAAA;AAGb,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;;AAMtD,MAAM,MAAM,WAAW,GAAG,MAA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AC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAkBtD,wBAAwB,CACtB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC;IAmCnD,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,EAC9B,YAAY,UAAO,GAClB,UAAU,CAAC,MAAM,CAAC;IAkCrB,uBAAuB,CAAC,iBAAiB,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAkBtE,YAAY,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAIxD,mBAAmB,IAAI,MAAM;IAI7B,iBAAiB,CACf,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IASrB,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI;IAKhD,cAAc,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAKjD,YAAY,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;IAe3C,cAAc,IAAI,UAAU,CAAC,MAAM,CAAC;IASpC,0BAA0B,CAAC,WAAW,EAAE,aAAa;;;;IAsCrD,OAAO,CAAC,cAAc;IAsBtB,OAAO,CAAC,oBAAoB;IAW5B,OAAO,CAAC,sBAAsB;IAsB9B,OAAO,CAAC,2BAA2B;IAInC,OAAO,CAAC,wBAAwB;IAOhC,OAAO,CAAC,yBAAyB;IAMjC,OAAO,CAAC,4BAA4B;yCA3dzB,aAAa;6CAAb,aAAa;CA8dzB"}
|
|
@@ -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":"AASA,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,oB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EAAE,IAAI,EAAE,IAAI,GAAG,UAAU,CAAC,WAAW,CAAC;yCAxShE,kBAAkB;6CAAlB,kBAAkB;CA6V9B"}
|
|
@@ -10,4 +10,5 @@ export * from './lib/components/record-form/record-form.component';
|
|
|
10
10
|
export * from './lib/components/wizard/wizard.component';
|
|
11
11
|
export * from './lib/components/wizard-field/wizard-field.component';
|
|
12
12
|
export * from './lib/components/wizard-summarize/wizard-summarize.component';
|
|
13
|
+
export * from './lib/components/record-form/form-field';
|
|
13
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/editor/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,wDAAwD,CAAA;AACtE,cAAc,oDAAoD,CAAA;AAClE,cAAc,0CAA0C,CAAA;AACxD,cAAc,sDAAsD,CAAA;AACpE,cAAc,8DAA8D,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/editor/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,wDAAwD,CAAA;AACtE,cAAc,oDAAoD,CAAA;AAClE,cAAc,0CAA0C,CAAA;AACxD,cAAc,sDAAsD,CAAA;AACpE,cAAc,8DAA8D,CAAA;AAC5E,cAAc,yCAAyC,CAAA"}
|
|
@@ -11,6 +11,7 @@ export declare class OnlineServiceResourceInputComponent {
|
|
|
11
11
|
modifyMode?: boolean;
|
|
12
12
|
serviceChange: EventEmitter<DatasetServiceDistribution>;
|
|
13
13
|
errorMessage: boolean;
|
|
14
|
+
resetUrlOnChange: number;
|
|
14
15
|
layersSubject: BehaviorSubject<{
|
|
15
16
|
name: string;
|
|
16
17
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"online-service-resource-input.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;AAKtB,OAAO,EACL,0BAA0B,EAC1B,eAAe,EAChB,MAAM,8DAA8D,CAAA;AAerE,OAAO,EACL,eAAe,EAGf,UAAU,EAEX,MAAM,MAAM,CAAA;;AAOb,qBAyBa,mCAAmC;
|
|
1
|
+
{"version":3,"file":"online-service-resource-input.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;AAKtB,OAAO,EACL,0BAA0B,EAC1B,eAAe,EAChB,MAAM,8DAA8D,CAAA;AAerE,OAAO,EACL,eAAe,EAGf,UAAU,EAEX,MAAM,MAAM,CAAA;;AAOb,qBAyBa,mCAAmC;IAoDlC,OAAO,CAAC,GAAG;IAnDvB,QAAQ,EAAE,0BAA0B,CAAA;IACpC,IAAa,OAAO,CAAC,OAAO,EAAE,0BAA0B,EAEvD;IACQ,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,UAAQ;IACjB,UAAU,CAAC,UAAQ;IAClB,aAAa,EAAE,YAAY,CAAC,0BAA0B,CAAC,CAC7C;IAEpB,YAAY,UAAQ;IACpB,gBAAgB,SAAgB;IAEhC,aAAa;cAA+B,MAAM;eAAS,MAAM;SAAS;IAC1E,OAAO,EAAE,UAAU,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC,CACnB;IAEnC,eAAe,EAAE;QACf,KAAK,EAAE,MAAM,CAAA;QACb,KAAK,EAAE,eAAe,CAAA;KACvB,EAAE,CA6BF;gBAEmB,GAAG,EAAE,iBAAiB;IAE1C,IAAI,qBAAqB,YAIxB;IAED,oBAAoB,CAAC,GAAG,EAAE,MAAM;IAK1B,iBAAiB,CAAC,GAAG,EAAE,MAAM;IAiBnC,kBAAkB;IAMlB,qBAAqB;IAMrB,MAAM;IASN,wBAAwB,IAAI,MAAM;IAQlC;;OAEG;IACH,aAAa,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;IAMnD;;OAEG;IACH,kBAAkB,UAAW,MAAM;cA5GP,MAAM;eAAS,MAAM;SAqHhD;IAED;;OAEG;IACH,iBAAiB,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;yCAzI3C,mCAAmC;2CAAnC,mCAAmC;CA6I/C"}
|
|
@@ -10,6 +10,7 @@ export declare class FormFieldContactsForResourceComponent implements OnChanges,
|
|
|
10
10
|
value: Individual[];
|
|
11
11
|
valueChange: EventEmitter<Individual[]>;
|
|
12
12
|
contactsForRessourceByRole: Map<Role, Individual[]>;
|
|
13
|
+
roleValues: string[];
|
|
13
14
|
rolesToPick: Role[];
|
|
14
15
|
roleSectionsToDisplay: Role[];
|
|
15
16
|
allOrganizations: Map<string, Organization>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-contacts-for-resource.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAEZ,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,UAAU,EACV,YAAY,EACZ,IAAI,EAEL,MAAM,oEAAoE,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,kEAAkE,CAAA;AAC5F,OAAO,EAAE,6BAA6B,EAAE,MAAM,uFAAuF,CAAA;AACrI,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;;
|
|
1
|
+
{"version":3,"file":"form-field-contacts-for-resource.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAEZ,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,UAAU,EACV,YAAY,EACZ,IAAI,EAEL,MAAM,oEAAoE,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,kEAAkE,CAAA;AAC5F,OAAO,EAAE,6BAA6B,EAAE,MAAM,uFAAuF,CAAA;AACrI,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;;AA0B3H,qBAwBa,qCACX,YAAW,SAAS,EAAE,MAAM;IAiB1B,OAAO,CAAC,wBAAwB;IAChC,OAAO,CAAC,6BAA6B;IAhB9B,KAAK,EAAE,UAAU,EAAE,CAAA;IAClB,WAAW,EAAE,YAAY,CAAC,UAAU,EAAE,CAAC,CAAqB;IAEtE,0BAA0B,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,CAAC,CAAY;IAC/D,UAAU,WAAa;IAEvB,WAAW,EAAE,IAAI,EAAE,CAElB;IAED,qBAAqB,EAAE,IAAI,EAAE,CAAK;IAElC,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAY;gBAG7C,wBAAwB,EAAE,wBAAwB,EAClD,6BAA6B,EAAE,6BAA6B;IAGtE,WAAW;IAML,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAW/B,gBAAgB,CAAC,SAAS,EAAE,MAAM;IAKlC,iBAAiB;IAMjB,0BAA0B;IAsB1B,2BAA2B,CAAC,mBAAmB,EAAE,UAAU,EAAE;IAY7D,aAAa,CAAC,KAAK,EAAE,MAAM;IAK3B,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI;IAYlD,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAI3C;;OAEG;IACH,aAAa,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAKlC;IAER;;OAEG;IACH,kBAAkB,UAAW,MAAM,4CAUlC;IAED;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM;yCArI9B,qCAAqC;2CAArC,qCAAqC;CAwJjD"}
|
|
@@ -9,4 +9,5 @@ export * from './form-field-object/form-field-object.component';
|
|
|
9
9
|
export * from './form-field-array/form-field-array.component';
|
|
10
10
|
export * from './form-field-spatial-extent/form-field-spatial-extent.component';
|
|
11
11
|
export * from './form-field.component';
|
|
12
|
+
export * from './form-field-constraints-shortcuts/constraints.utils';
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qEAAqE,CAAA;AACnF,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qEAAqE,CAAA;AACnF,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,wBAAwB,CAAA;AACtC,cAAc,sDAAsD,CAAA"}
|
|
@@ -13,8 +13,10 @@ export declare class FuzzySearchComponent implements OnInit {
|
|
|
13
13
|
autocomplete: AutocompleteComponent;
|
|
14
14
|
autoFocus: boolean;
|
|
15
15
|
forceTrackPosition: boolean;
|
|
16
|
+
enterButton: boolean;
|
|
16
17
|
itemSelected: EventEmitter<CatalogRecord>;
|
|
17
18
|
inputSubmitted: EventEmitter<string>;
|
|
19
|
+
isSearchActive: EventEmitter<boolean>;
|
|
18
20
|
searchInputValue$: Observable<{
|
|
19
21
|
title: string;
|
|
20
22
|
}>;
|
|
@@ -31,7 +33,8 @@ export declare class FuzzySearchComponent implements OnInit {
|
|
|
31
33
|
handleItemSelection(item: AutocompleteItem): void;
|
|
32
34
|
handleInputSubmission(any: string): void;
|
|
33
35
|
handleInputCleared(): Promise<void>;
|
|
36
|
+
handleSearchActive(event: boolean): void;
|
|
34
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<FuzzySearchComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FuzzySearchComponent, "gn-ui-fuzzy-search", never, { "autoFocus": { "alias": "autoFocus"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; }, never, never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FuzzySearchComponent, "gn-ui-fuzzy-search", never, { "autoFocus": { "alias": "autoFocus"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; "enterButton": { "alias": "enterButton"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "isSearchActive": "isSearchActive"; }, never, never, false, never>;
|
|
36
39
|
}
|
|
37
40
|
//# sourceMappingURL=fuzzy-search.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fuzzy-search.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAGP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAkB,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAGjI,qBAMa,oBAAqB,YAAW,MAAM;
|
|
1
|
+
{"version":3,"file":"fuzzy-search.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAGP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAkB,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAGjI,qBAMa,oBAAqB,YAAW,MAAM;IAkB/C,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,iBAAiB;IAnBO,YAAY,EAAE,qBAAqB,CAAA;IAC5D,SAAS,UAAQ;IACjB,kBAAkB,UAAQ;IAC1B,WAAW,UAAQ;IAClB,YAAY,8BAAoC;IAChD,cAAc,uBAA6B;IAC3C,cAAc,wBAA8B;IACtD,iBAAiB,EAAE,UAAU,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAEhD,aAAa,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,MAAM,CAA2B;IAE3E,kBAAkB,UAAW,MAAM,iCAGO;gBAGhC,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,0BAA0B;IAGvD,QAAQ,IAAI,IAAI;IAQhB;;;;;OAKG;IACH,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAS1C,qBAAqB,CAAC,GAAG,EAAE,MAAM;IAQ3B,kBAAkB;IASxB,kBAAkB,CAAC,KAAK,EAAE,OAAO;yCA/DtB,oBAAoB;2CAApB,oBAAoB;CAkEhC"}
|
|
@@ -17,23 +17,23 @@ export declare class ImageInputComponent {
|
|
|
17
17
|
altTextChange: EventEmitter<string>;
|
|
18
18
|
dragFilesOver: boolean;
|
|
19
19
|
showUrlInput: boolean;
|
|
20
|
-
|
|
20
|
+
imageFileError: boolean;
|
|
21
21
|
showAltTextInput: boolean;
|
|
22
|
-
|
|
23
|
-
lastUploadContent?: string | File;
|
|
22
|
+
pendingAltText: string;
|
|
24
23
|
get isUploadInProgress(): boolean;
|
|
25
24
|
constructor(http: HttpClient, cd: ChangeDetectorRef);
|
|
25
|
+
getIsActionBlocked(): boolean;
|
|
26
26
|
getPrimaryText(): "input.image.uploadErrorLabel" | "input.image.uploadProgressLabel" | "input.image.selectFileLabel";
|
|
27
|
-
getSecondaryText(): "
|
|
27
|
+
getSecondaryText(): " " | "input.image.uploadProgressCancel" | "input.image.dropFileLabel";
|
|
28
28
|
handleDragFilesOver(dragFilesOver: boolean): void;
|
|
29
29
|
handleDropFiles(files: File[]): void;
|
|
30
30
|
handleFileInput(event: Event): void;
|
|
31
31
|
displayUrlInput(): void;
|
|
32
32
|
downloadUrl(url: string): Promise<void>;
|
|
33
33
|
handleSecondaryTextClick(event: Event): void;
|
|
34
|
-
|
|
35
|
-
handleRetry(): void;
|
|
34
|
+
handleCancelUpload(): void;
|
|
36
35
|
handleDelete(): void;
|
|
36
|
+
resetErrors(): void;
|
|
37
37
|
toggleAltTextInput(): void;
|
|
38
38
|
handleAltTextChange(altText: string): void;
|
|
39
39
|
private filterTypeImage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/image-input/image-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;;AA2BtB,qBA+Ba,mBAAmB;
|
|
1
|
+
{"version":3,"file":"image-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/image-input/image-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;;AA2BtB,qBA+Ba,mBAAmB;IAwB5B,OAAO,CAAC,IAAI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ality/metadata-quality.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,aAAa,EACd,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0DAA0D,CAAA;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;
|
|
1
|
+
{"version":3,"file":"metadata-quality.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,aAAa,EACd,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0DAA0D,CAAA;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAWzF,qBAwBa,wBAAyB,YAAW,SAAS;IAC/C,QAAQ,EAAE,OAAO,CAAC,aAAa,CAAC,CAAA;IAChC,OAAO,UAAQ;IACf,sBAAsB,EAAE,OAAO,CAAA;IAExC,KAAK,EAAE,mBAAmB,EAAE,CAAK;IAEjC,IAAI,YAAY,WAKf;IAED,IAAI,sBAAsB,IAAI,MAAM,CAInC;IAED,OAAO,CAAC,GAAG;IAMX,UAAU;IAaV,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;yCAvC9B,wBAAwB;2CAAxB,wBAAwB;CA4CpC"}
|
|
@@ -7,6 +7,7 @@ export type AutocompleteItem = unknown;
|
|
|
7
7
|
export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnDestroy, OnChanges {
|
|
8
8
|
private cdRef;
|
|
9
9
|
placeholder: string;
|
|
10
|
+
enterButton: boolean;
|
|
10
11
|
action: (value: string) => Observable<AutocompleteItem[]>;
|
|
11
12
|
value?: AutocompleteItem;
|
|
12
13
|
clearOnSelection: boolean;
|
|
@@ -18,6 +19,7 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
|
|
|
18
19
|
itemSelected: EventEmitter<unknown>;
|
|
19
20
|
inputSubmitted: EventEmitter<string>;
|
|
20
21
|
inputCleared: EventEmitter<void>;
|
|
22
|
+
isSearchActive: EventEmitter<boolean>;
|
|
21
23
|
triggerRef: MatAutocompleteTrigger;
|
|
22
24
|
autocomplete: MatAutocomplete;
|
|
23
25
|
inputRef: ElementRef<HTMLInputElement>;
|
|
@@ -31,8 +33,12 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
|
|
|
31
33
|
subscription: Subscription;
|
|
32
34
|
private lastPosition;
|
|
33
35
|
private intervalIdPosition;
|
|
36
|
+
enterBtnPosition: number;
|
|
37
|
+
searchActive: boolean;
|
|
34
38
|
displayWithFn: (item: AutocompleteItem) => string;
|
|
39
|
+
get displayEnterBtn(): boolean;
|
|
35
40
|
displayWithFnInternal: (item?: AutocompleteItem) => string;
|
|
41
|
+
getExtraClass(): string;
|
|
36
42
|
constructor(cdRef: ChangeDetectorRef);
|
|
37
43
|
ngOnChanges(changes: SimpleChanges): void;
|
|
38
44
|
ngOnInit(): void;
|
|
@@ -62,7 +68,8 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
|
|
|
62
68
|
* @param event
|
|
63
69
|
*/
|
|
64
70
|
handleSelection(event: MatAutocompleteSelectedEvent): void;
|
|
71
|
+
handleInput(event: InputEvent): void;
|
|
65
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "preventCompleteOnSelection": { "alias": "preventCompleteOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; }, never, never, true, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "enterButton": { "alias": "enterButton"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "preventCompleteOnSelection": { "alias": "preventCompleteOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "forceTrackPosition": { "alias": "forceTrackPosition"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; "isSearchActive": "isSearchActive"; }, never, never, true, never>;
|
|
67
74
|
}
|
|
68
75
|
//# sourceMappingURL=autocomplete.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAgB,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAwBhF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEtC,
|
|
1
|
+
{"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAgB,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAwBhF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEtC,qBA0Ba,qBACX,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;IA6D1C,OAAO,CAAC,KAAK;IA3DhB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,UAAQ;IACnB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IACzD,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,gBAAgB,UAAQ;IACxB,0BAA0B,UAAQ;IAClC,SAAS,UAAQ;IACjB,iBAAiB,CAAC,SAAI;IAEtB,WAAW,UAAQ;IACnB,kBAAkB,UAAQ;IACzB,YAAY,wBAAuC;IACnD,cAAc,uBAA6B;IAC3C,YAAY,qBAA2B;IACvC,cAAc,wBAA8B;IACnB,UAAU,EAAE,sBAAsB,CAAA;IACzC,YAAY,EAAE,eAAe,CAAA;IAC/B,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAA;IAEhE,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,qBAA2B;IAClC,WAAW,UAAO;IAClB,gBAAgB,8CAAqD;IACrE,eAAe,wBAA+B;IAC9C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAO;IAC3B,YAAY,EAAE,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAC5C,YAAY,eAAqB;IACjC,OAAO,CAAC,YAAY,CAAuB;IAC3C,OAAO,CAAC,kBAAkB,CAAoB;IAC9C,gBAAgB,SAAI;IACpB,YAAY,UAAQ;IAEX,aAAa,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,MAAM,CACzC;IAEjB,IAAI,eAAe,YAElB;IAED,qBAAqB,UAAW,gBAAgB,YAG/C;IAED,aAAa,IAAI,MAAM;gBAeH,KAAK,EAAE,iBAAiB;IAC5C,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAkBzC,QAAQ,IAAI,IAAI;IAwEhB,eAAe,IAAI,IAAI;IAUvB;;;;OAIG;IACH,OAAO,CAAC,aAAa,CAepB;IAED;;;;OAIG;IACH,qBAAqB;IAMrB,WAAW,IAAI,IAAI;IAQnB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB;IASxC,KAAK,IAAI,IAAI;IAWb,WAAW,CAAC,GAAG,EAAE,MAAM;IAQvB,iBAAiB;IAIjB;;;;;;OAMG;IACH,eAAe,CAAC,KAAK,EAAE,4BAA4B;IAenD,WAAW,CAAC,KAAK,EAAE,UAAU;yCAlQlB,qBAAqB;2CAArB,qBAAqB;CAuQjC"}
|
|
@@ -7,6 +7,7 @@ export declare class UrlInputComponent implements OnChanges {
|
|
|
7
7
|
placeholder: string;
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
showValidateButton: boolean;
|
|
10
|
+
resetUrlOnChange: number;
|
|
10
11
|
/**
|
|
11
12
|
* This will emit null if the field is emptied
|
|
12
13
|
*/
|
|
@@ -19,6 +20,6 @@ export declare class UrlInputComponent implements OnChanges {
|
|
|
19
20
|
handleUpload(element: HTMLInputElement): void;
|
|
20
21
|
isValidUrl(url: string): boolean;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<UrlInputComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UrlInputComponent, "gn-ui-url-input", never, { "value": { "alias": "value"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showValidateButton": { "alias": "showValidateButton"; "required": false; }; }, { "valueChange": "valueChange"; "uploadClick": "uploadClick"; }, never, ["*"], true, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UrlInputComponent, "gn-ui-url-input", never, { "value": { "alias": "value"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showValidateButton": { "alias": "showValidateButton"; "required": false; }; "resetUrlOnChange": { "alias": "resetUrlOnChange"; "required": false; }; }, { "valueChange": "valueChange"; "uploadClick": "uploadClick"; }, never, ["*"], true, never>;
|
|
23
24
|
}
|
|
24
25
|
//# sourceMappingURL=url-input.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/url-input/url-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAEZ,SAAS,EAET,aAAa,EACd,MAAM,eAAe,CAAA;;AAUtB,qBAca,iBAAkB,YAAW,SAAS;
|
|
1
|
+
{"version":3,"file":"url-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/url-input/url-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAEZ,SAAS,EAET,aAAa,EACd,MAAM,eAAe,CAAA;;AAUtB,qBAca,iBAAkB,YAAW,SAAS;IA2BrC,OAAO,CAAC,EAAE;IA1BtB,IAAa,KAAK,CAAC,CAAC,EAAE,MAAM,EAW3B;IACQ,UAAU,SAAK;IACf,WAAW,SAAa;IACxB,QAAQ,EAAE,OAAO,CAAA;IACjB,kBAAkB,UAAO;IACzB,gBAAgB,EAAE,MAAM,CAAA;IAEjC;;OAEG;IACO,WAAW,uBAAoC;IAC/C,WAAW,uBAA6B;IAElD,UAAU,SAAK;gBAEK,EAAE,EAAE,iBAAiB;IAEzC,WAAW,CAAC,OAAO,EAAE,aAAa;IAMlC,WAAW,CAAC,KAAK,EAAE,KAAK;IAWxB,YAAY,CAAC,OAAO,EAAE,gBAAgB;IAMtC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;yCApDrB,iBAAiB;2CAAjB,iBAAiB;CA4D7B"}
|
|
@@ -6,7 +6,7 @@ interface ColorScheme {
|
|
|
6
6
|
}
|
|
7
7
|
export declare class ProgressBarComponent {
|
|
8
8
|
value: number;
|
|
9
|
-
type: 'primary' | 'secondary' | 'default';
|
|
9
|
+
type: 'primary' | 'secondary' | 'default' | 'light';
|
|
10
10
|
get progress(): number;
|
|
11
11
|
get color(): ColorScheme;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-bar.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"progress-bar.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.ts"],"names":[],"mappings":";AAGA,UAAU,WAAW;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,qBAOa,oBAAoB;IACtB,KAAK,SAAI;IACT,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAY;IAExE,IAAI,QAAQ,WAEX;IAED,IAAI,KAAK,IAAI,WAAW,CA2BvB;yCAnCU,oBAAoB;2CAApB,oBAAoB;CAoChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/data-fetcher/src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,cAAc,EAEd,YAAY,EACZ,aAAa,EAEd,MAAM,SAAS,CAAA;AAMhB,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,MAAM,EACX,QAAQ,CAAC,EAAE,aAAa,GACvB,OAAO,CAAC,aAAa,CAAC,CAsBxB;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAWjE;AAED,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,OAAO,GACnB,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/data-fetcher/src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,cAAc,EAEd,YAAY,EACZ,aAAa,EAEd,MAAM,SAAS,CAAA;AAMhB,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,MAAM,EACX,QAAQ,CAAC,EAAE,aAAa,GACvB,OAAO,CAAC,aAAa,CAAC,CAsBxB;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAWjE;AAED,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,OAAO,GACnB,OAAO,CAAC,MAAM,CAAC,CAgBjB;AACD,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,OAAO,GACnB,OAAO,CAAC,WAAW,CAAC,CAmBtB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,CAkBxD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAI3D;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,QAAQ,CAsB7E;AAqBD;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,QAAQ,EAAE,EACjB,UAAU,UAAQ,GACjB;IACD,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,UAAU,EAAE,YAAY,EAAE,CAAA;CAC3B,CA0DA;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,QAAQ,EAAE,GAChB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAgB3B"}
|
package/package.json
CHANGED
|
@@ -352,21 +352,13 @@ export class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
352
352
|
exhaustMap(async (fetchedRecordAsXml: string) => {
|
|
353
353
|
const converter = findConverterForDocument(fetchedRecordAsXml)
|
|
354
354
|
const record = await converter.readRecord(fetchedRecordAsXml)
|
|
355
|
-
const tempId = this.generateTemporaryId()
|
|
356
355
|
|
|
357
356
|
record.title = `${record.title} (Copy)`
|
|
358
|
-
record
|
|
357
|
+
await converter.writeRecord(record, fetchedRecordAsXml)
|
|
359
358
|
|
|
360
|
-
|
|
361
|
-
record,
|
|
362
|
-
fetchedRecordAsXml
|
|
363
|
-
)
|
|
364
|
-
|
|
365
|
-
this.saveRecordToLocalStorage(recordAsXml, record.uniqueIdentifier)
|
|
366
|
-
this._draftsChanged.next()
|
|
367
|
-
|
|
368
|
-
return tempId
|
|
359
|
+
return this.saveRecord(record, '', false)
|
|
369
360
|
}),
|
|
361
|
+
exhaustMap((uuidObservable: Observable<string>) => uuidObservable),
|
|
370
362
|
catchError((error: HttpErrorResponse) => {
|
|
371
363
|
return throwError(() => error)
|
|
372
364
|
})
|
|
@@ -312,33 +312,31 @@ export class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
312
312
|
this.recordsApiService.getAssociatedResources(record.uniqueIdentifier),
|
|
313
313
|
this.recordsApiService.getAllResources(record.uniqueIdentifier),
|
|
314
314
|
]).pipe(
|
|
315
|
-
map(([
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
const
|
|
319
|
-
...((
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
)
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
.map((r) => r.filename)
|
|
329
|
-
.filter((resourceId) => !resourceIdsToKeep.includes(resourceId))
|
|
330
|
-
|
|
331
|
-
return resourceIdsToRemove
|
|
315
|
+
map(([associated, attachments]) => {
|
|
316
|
+
const { onlines = [], thumbnails = [] } = associated
|
|
317
|
+
|
|
318
|
+
const urlsToKeep = [
|
|
319
|
+
...(Array.isArray(onlines) ? onlines : []),
|
|
320
|
+
...(Array.isArray(thumbnails) ? thumbnails : []),
|
|
321
|
+
].map((resource) => Object.values(resource.url)[0])
|
|
322
|
+
|
|
323
|
+
const fileToDelete = attachments
|
|
324
|
+
.filter((attachment) => !urlsToKeep.includes(attachment.url))
|
|
325
|
+
.map((attachment) => attachment.filename)
|
|
326
|
+
|
|
327
|
+
return fileToDelete
|
|
332
328
|
}),
|
|
333
|
-
mergeMap((
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
329
|
+
mergeMap((filesToDelete) =>
|
|
330
|
+
filesToDelete.length
|
|
331
|
+
? forkJoin(
|
|
332
|
+
filesToDelete.map((filename) =>
|
|
333
|
+
this.recordsApiService.delResource(
|
|
334
|
+
record.uniqueIdentifier,
|
|
335
|
+
filename
|
|
336
|
+
)
|
|
337
|
+
)
|
|
338
|
+
).pipe(map(() => undefined))
|
|
339
|
+
: of(undefined)
|
|
342
340
|
),
|
|
343
341
|
catchError((error) => {
|
|
344
342
|
console.error('Error while cleaning attachments:', error)
|
|
@@ -705,6 +705,96 @@ export const duplicateDatasetRecordAsXmlFixture =
|
|
|
705
705
|
</mdb:resourceLineage>
|
|
706
706
|
</mdb:MD_Metadata>`
|
|
707
707
|
|
|
708
|
+
export const importDatasetRecordAsXmlFixture = (): string => `
|
|
709
|
+
<gmd:MD_Metadata
|
|
710
|
+
xmlns:gmd="http://www.isotc211.org/2005/gmd"
|
|
711
|
+
xmlns:gco="http://www.isotc211.org/2005/gco"
|
|
712
|
+
xmlns:srv="http://www.isotc211.org/2005/srv"
|
|
713
|
+
xmlns:gmx="http://www.isotc211.org/2005/gmx"
|
|
714
|
+
xmlns:gts="http://www.isotc211.org/2005/gts"
|
|
715
|
+
xmlns:gsr="http://www.isotc211.org/2005/gsr"
|
|
716
|
+
xmlns:gmi="http://www.isotc211.org/2005/gmi"
|
|
717
|
+
xmlns:gml="http://www.opengis.net/gml/3.2"
|
|
718
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
719
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd">
|
|
720
|
+
<gmd:language>
|
|
721
|
+
<gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng"/>
|
|
722
|
+
</gmd:language>
|
|
723
|
+
<gmd:characterSet>
|
|
724
|
+
<gmd:MD_CharacterSetCode codeListValue="utf8" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode"/>
|
|
725
|
+
</gmd:characterSet>
|
|
726
|
+
<gmd:contact>
|
|
727
|
+
<gmd:CI_ResponsibleParty>
|
|
728
|
+
<gmd:individualName gco:nilReason="missing">
|
|
729
|
+
<gco:CharacterString/>
|
|
730
|
+
</gmd:individualName>
|
|
731
|
+
<gmd:organisationName gco:nilReason="missing">
|
|
732
|
+
<gco:CharacterString/>
|
|
733
|
+
</gmd:organisationName>
|
|
734
|
+
<gmd:positionName gco:nilReason="missing">
|
|
735
|
+
<gco:CharacterString/>
|
|
736
|
+
</gmd:positionName>
|
|
737
|
+
<gmd:role>
|
|
738
|
+
<gmd:CI_RoleCode codeListValue="pointOfContact" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode"/>
|
|
739
|
+
</gmd:role>
|
|
740
|
+
</gmd:CI_ResponsibleParty>
|
|
741
|
+
</gmd:contact>
|
|
742
|
+
<gmd:dateStamp>
|
|
743
|
+
<gco:DateTime>2024-05-31T10:18:45.429Z</gco:DateTime>
|
|
744
|
+
</gmd:dateStamp>
|
|
745
|
+
<gmd:metadataStandardName>
|
|
746
|
+
<gco:CharacterString>ISO 19115:2003/19139</gco:CharacterString>
|
|
747
|
+
</gmd:metadataStandardName>
|
|
748
|
+
<gmd:metadataStandardVersion>
|
|
749
|
+
<gco:CharacterString>1.0</gco:CharacterString>
|
|
750
|
+
</gmd:metadataStandardVersion>
|
|
751
|
+
<gmd:identificationInfo>
|
|
752
|
+
<gmd:MD_DataIdentification>
|
|
753
|
+
<gmd:citation>
|
|
754
|
+
<gmd:CI_Citation>
|
|
755
|
+
<gmd:title>
|
|
756
|
+
<gco:CharacterString>Record with no link</gco:CharacterString>
|
|
757
|
+
</gmd:title>
|
|
758
|
+
<gmd:date>
|
|
759
|
+
<gmd:CI_Date>
|
|
760
|
+
<gmd:date>
|
|
761
|
+
<gco:DateTime>2024-05-31T11:00:00+00:00</gco:DateTime>
|
|
762
|
+
</gmd:date>
|
|
763
|
+
<gmd:dateType>
|
|
764
|
+
<gmd:CI_DateTypeCode codeListValue="publication" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode"/>
|
|
765
|
+
</gmd:dateType>
|
|
766
|
+
</gmd:CI_Date>
|
|
767
|
+
</gmd:date>
|
|
768
|
+
<gmd:edition gco:nilReason="missing">
|
|
769
|
+
<gco:CharacterString/>
|
|
770
|
+
</gmd:edition>
|
|
771
|
+
</gmd:CI_Citation>
|
|
772
|
+
</gmd:citation>
|
|
773
|
+
<gmd:abstract>
|
|
774
|
+
<gco:CharacterString>Read the abstract and supplemental information provided in the Vector template for more details.</gco:CharacterString>
|
|
775
|
+
</gmd:abstract>
|
|
776
|
+
<gmd:purpose gco:nilReason="missing">
|
|
777
|
+
<gco:CharacterString/>
|
|
778
|
+
</gmd:purpose>
|
|
779
|
+
<gmd:status>
|
|
780
|
+
<gmd:MD_ProgressCode codeListValue="onGoing" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ProgressCode"/>
|
|
781
|
+
</gmd:status>
|
|
782
|
+
<gmd:language>
|
|
783
|
+
<gco:CharacterString>eng</gco:CharacterString>
|
|
784
|
+
</gmd:language>
|
|
785
|
+
<gmd:characterSet>
|
|
786
|
+
<gmd:MD_CharacterSetCode codeListValue="utf8" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode"/>
|
|
787
|
+
</gmd:characterSet>
|
|
788
|
+
<gmd:topicCategory>
|
|
789
|
+
<gmd:MD_TopicCategoryCode>boundaries</gmd:MD_TopicCategoryCode>
|
|
790
|
+
</gmd:topicCategory>
|
|
791
|
+
<gmd:supplementalInformation gco:nilReason="missing">
|
|
792
|
+
<gco:CharacterString/>
|
|
793
|
+
</gmd:supplementalInformation>
|
|
794
|
+
</gmd:MD_DataIdentification>
|
|
795
|
+
</gmd:identificationInfo>
|
|
796
|
+
</gmd:MD_Metadata>`
|
|
797
|
+
|
|
708
798
|
export const NATIONAL_KEYWORD = {
|
|
709
799
|
key: 'http://inspire.ec.europa.eu/metadata-codelist/SpatialScope/national',
|
|
710
800
|
label: 'National',
|
|
@@ -10,3 +10,4 @@ export * from './lib/components/record-form/record-form.component'
|
|
|
10
10
|
export * from './lib/components/wizard/wizard.component'
|
|
11
11
|
export * from './lib/components/wizard-field/wizard-field.component'
|
|
12
12
|
export * from './lib/components/wizard-summarize/wizard-summarize.component'
|
|
13
|
+
export * from './lib/components/record-form/form-field'
|
|
@@ -106,8 +106,8 @@ export class ImportRecordComponent {
|
|
|
106
106
|
this.isRecordImportInProgress = true
|
|
107
107
|
|
|
108
108
|
this.recordsRepository.duplicateExternalRecord(url).subscribe({
|
|
109
|
-
next: (
|
|
110
|
-
if (
|
|
109
|
+
next: (uuid) => {
|
|
110
|
+
if (uuid) {
|
|
111
111
|
this.notificationsService.showNotification(
|
|
112
112
|
{
|
|
113
113
|
type: 'success',
|
|
@@ -122,7 +122,7 @@ export class ImportRecordComponent {
|
|
|
122
122
|
)
|
|
123
123
|
|
|
124
124
|
this.router
|
|
125
|
-
.navigate(['/edit',
|
|
125
|
+
.navigate(['/edit', uuid])
|
|
126
126
|
.catch((err) => console.error(err))
|
|
127
127
|
}
|
|
128
128
|
this.closeImportMenu.next()
|
|
@@ -79,6 +79,7 @@ export class OnlineServiceResourceInputComponent {
|
|
|
79
79
|
new EventEmitter()
|
|
80
80
|
|
|
81
81
|
errorMessage = false
|
|
82
|
+
resetUrlOnChange = Math.random()
|
|
82
83
|
|
|
83
84
|
layersSubject = new BehaviorSubject<{ name: string; title: string }[]>([])
|
|
84
85
|
layers$: Observable<{ name: string; title: string }[]> =
|
|
@@ -149,6 +150,7 @@ export class OnlineServiceResourceInputComponent {
|
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
resetAllFormFields() {
|
|
153
|
+
this.resetUrlOnChange = Math.random()
|
|
152
154
|
this._service.url = null
|
|
153
155
|
this.resetLayersSuggestion()
|
|
154
156
|
}
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
provideNgIconsConfig,
|
|
41
41
|
} from '@ng-icons/core'
|
|
42
42
|
import { iconoirPlus } from '@ng-icons/iconoir'
|
|
43
|
+
import { RoleValues } from '../../../../../../../../../libs/common/domain/src/lib/model/record'
|
|
43
44
|
|
|
44
45
|
@Component({
|
|
45
46
|
selector: 'gn-ui-form-field-contacts-for-resource',
|
|
@@ -72,15 +73,11 @@ export class FormFieldContactsForResourceComponent
|
|
|
72
73
|
@Output() valueChange: EventEmitter<Individual[]> = new EventEmitter()
|
|
73
74
|
|
|
74
75
|
contactsForRessourceByRole: Map<Role, Individual[]> = new Map()
|
|
76
|
+
roleValues = RoleValues
|
|
75
77
|
|
|
76
|
-
rolesToPick: Role[] =
|
|
77
|
-
'
|
|
78
|
-
|
|
79
|
-
'owner',
|
|
80
|
-
'point_of_contact',
|
|
81
|
-
'author',
|
|
82
|
-
'publisher',
|
|
83
|
-
]
|
|
78
|
+
rolesToPick: Role[] = this.roleValues.filter(
|
|
79
|
+
(role) => role !== 'other' && role !== 'unspecified'
|
|
80
|
+
)
|
|
84
81
|
|
|
85
82
|
roleSectionsToDisplay: Role[] = []
|
|
86
83
|
|
|
@@ -178,9 +175,11 @@ export class FormFieldContactsForResourceComponent
|
|
|
178
175
|
* gn-ui-autocomplete
|
|
179
176
|
*/
|
|
180
177
|
displayWithFn: (user: UserModel) => string = (user) =>
|
|
181
|
-
|
|
182
|
-
user.
|
|
183
|
-
|
|
178
|
+
user.name
|
|
179
|
+
? `${user.name} ${user.surname} ${
|
|
180
|
+
user.organisation ? `(${user.organisation})` : ''
|
|
181
|
+
}`
|
|
182
|
+
: ``
|
|
184
183
|
|
|
185
184
|
/**
|
|
186
185
|
* gn-ui-autocomplete
|
|
@@ -9,3 +9,4 @@ export * from './form-field-object/form-field-object.component'
|
|
|
9
9
|
export * from './form-field-array/form-field-array.component'
|
|
10
10
|
export * from './form-field-spatial-extent/form-field-spatial-extent.component'
|
|
11
11
|
export * from './form-field.component'
|
|
12
|
+
export * from './form-field-constraints-shortcuts/constraints.utils'
|