geonetwork-ui 2.4.0-dev.8118addf → 2.4.0-dev.825a487d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/libs/api/metadata-converter/src/index.mjs +1 -2
- package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +5 -3
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +21 -4
- package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +28 -1
- package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +29 -0
- package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +131 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +170 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +21 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +7 -6
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +24 -9
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +19 -3
- package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +10 -4
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +40 -7
- package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +6 -2
- package/esm2022/libs/ui/elements/src/index.mjs +2 -1
- package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +27 -0
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -3
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +7 -3
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +19 -5
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +49 -11
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +18 -6
- package/esm2022/translations/de.json +40 -16
- package/esm2022/translations/en.json +33 -9
- package/esm2022/translations/es.json +33 -9
- package/esm2022/translations/fr.json +43 -19
- package/esm2022/translations/it.json +33 -9
- package/esm2022/translations/nl.json +33 -9
- package/esm2022/translations/pt.json +33 -9
- package/fesm2022/geonetwork-ui.mjs +984 -259
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/index.d.ts +0 -1
- package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +6 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -0
- package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +8 -0
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +12 -0
- package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts +27 -0
- package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map +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 +47 -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 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +11 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +3 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +6 -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/fields.config.d.ts +2 -0
- package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +11 -3
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
- package/libs/feature/search/src/lib/state/search.facade.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/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
- package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +4 -4
- package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +9 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +10 -1
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +6 -2
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/index.ts +0 -1
- package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +5 -5
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +24 -4
- package/src/libs/common/domain/src/lib/model/record/contact.model.ts +28 -0
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +10 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +25 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +30 -0
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +2 -1
- package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +110 -19
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +0 -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 +76 -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 +271 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +5 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +22 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +8 -7
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +11 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +18 -1
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +1 -1
- package/src/libs/feature/editor/src/lib/fields.config.ts +20 -2
- package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +8 -3
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +2 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +52 -3
- package/src/libs/feature/search/src/lib/state/search.facade.ts +6 -0
- package/src/libs/ui/elements/src/index.ts +1 -0
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +4 -1
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +2 -1
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +12 -8
- package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +3 -1
- package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +8 -4
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +15 -3
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +1 -1
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +1 -0
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +10 -1
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +55 -3
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +7 -2
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +9 -9
- package/translations/de.json +40 -16
- package/translations/en.json +33 -9
- package/translations/es.json +33 -9
- package/translations/fr.json +43 -19
- package/translations/it.json +33 -9
- package/translations/nl.json +33 -9
- package/translations/pt.json +33 -9
- package/translations/sk.json +33 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/api/metadata-converter/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/api/metadata-converter/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,WAAW,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RecordsApiService, SearchApiService } from '../../../../../../libs/data-access/gn4/src';
|
|
2
2
|
import { ElasticsearchService } from './elasticsearch';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
3
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
4
|
import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
|
|
5
5
|
import { SearchParams, SearchResults } from '../../../../../../libs/common/domain/src/lib/model/search/search.model';
|
|
6
6
|
import { Aggregations, AggregationsParams, FieldFilters } from '../../../../../../libs/common/domain/src/lib/model/search';
|
|
@@ -12,6 +12,8 @@ export declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
12
12
|
private gn4SearchHelper;
|
|
13
13
|
private gn4Mapper;
|
|
14
14
|
private gn4RecordsApi;
|
|
15
|
+
_draftsChanged: Subject<void>;
|
|
16
|
+
draftsChanged$: Observable<void>;
|
|
15
17
|
constructor(gn4SearchApi: SearchApiService, gn4SearchHelper: ElasticsearchService, gn4Mapper: Gn4Converter, gn4RecordsApi: RecordsApiService);
|
|
16
18
|
search({ filters, fields, offset, limit, sort, filterIds, filterGeometry, }: SearchParams): Observable<SearchResults>;
|
|
17
19
|
getMatchesCount(filters: FieldFilters): Observable<number>;
|
|
@@ -28,9 +30,12 @@ export declare class Gn4Repository implements RecordsRepositoryInterface {
|
|
|
28
30
|
openRecordForDuplication(uniqueIdentifier: string): Observable<[CatalogRecord, string, false] | null>;
|
|
29
31
|
private serializeRecordToXml;
|
|
30
32
|
saveRecord(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
|
|
33
|
+
deleteRecord(uniqueIdentifier: string): Observable<void>;
|
|
34
|
+
generateTemporaryId(): string;
|
|
31
35
|
saveRecordAsDraft(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
|
|
32
36
|
clearRecordDraft(uniqueIdentifier: string): void;
|
|
33
37
|
recordHasDraft(uniqueIdentifier: string): boolean;
|
|
38
|
+
isRecordNotYetSaved(uniqueIdentifier: string): boolean;
|
|
34
39
|
getAllDrafts(): Observable<CatalogRecord[]>;
|
|
35
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<Gn4Repository, never>;
|
|
36
41
|
static ɵprov: i0.ɵɵInjectableDeclaration<Gn4Repository>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4-repository.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4-repository.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAGL,UAAU,
|
|
1
|
+
{"version":3,"file":"gn4-repository.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/gn4-repository.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,4CAA4C,CAAA;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAGL,UAAU,EAEV,OAAO,EAGR,MA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AAa,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAqBtD,wBAAwB,CACtB,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC;IAkBpD,OAAO,CAAC,oBAAoB;IAW5B,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IA+BrB,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;IAYrB,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI;IAOhD,cAAc,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAQjD,mBAAmB,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAKtD,YAAY,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;yCApThC,aAAa;6CAAb,aAAa;CAgUzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/contact.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"contact.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/contact.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,eAAO,MAAM,UAAU,UAsBtB,CAAA;AAED,eAAO,MAAM,UAAU,qBAyBrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAA;AAE5C,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
|
|
@@ -32,6 +32,12 @@ export declare abstract class RecordsRepositoryInterface {
|
|
|
32
32
|
* @returns Observable<string> Returns the unique identifier of the record as it was when saved
|
|
33
33
|
*/
|
|
34
34
|
abstract saveRecord(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
|
|
35
|
+
/**
|
|
36
|
+
* @param uniqueIdentifier
|
|
37
|
+
* @returns Observable<void> Returns when record is deleted
|
|
38
|
+
*/
|
|
39
|
+
abstract deleteRecord(uniqueIdentifier: string): Observable<void>;
|
|
40
|
+
abstract generateTemporaryId(): string;
|
|
35
41
|
/**
|
|
36
42
|
* @param record
|
|
37
43
|
* @param referenceRecordSource
|
|
@@ -40,7 +46,9 @@ export declare abstract class RecordsRepositoryInterface {
|
|
|
40
46
|
abstract saveRecordAsDraft(record: CatalogRecord, referenceRecordSource?: string): Observable<string>;
|
|
41
47
|
abstract clearRecordDraft(uniqueIdentifier: string): void;
|
|
42
48
|
abstract recordHasDraft(uniqueIdentifier: string): boolean;
|
|
49
|
+
abstract isRecordNotYetSaved(uniqueIdentifier: string): boolean;
|
|
43
50
|
/** will return all pending drafts, both published and not published */
|
|
44
51
|
abstract getAllDrafts(): Observable<CatalogRecord[]>;
|
|
52
|
+
abstract draftsChanged$: Observable<void>;
|
|
45
53
|
}
|
|
46
54
|
//# sourceMappingURL=records-repository.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"records-repository.interface.d.ts","sourceRoot":"","sources":["../../../../../../src/libs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,CAAC,iBAAiB,CACxB,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IAErB,QAAQ,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI;IACzD,QAAQ,CAAC,cAAc,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;
|
|
1
|
+
{"version":3,"file":"records-repository.interface.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/common/domain/src/lib/repository/records-repository.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,aAAa,EACd,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,8BAAsB,0BAA0B;IAC9C,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,UAAU,CAAC,aAAa,CAAC;IAChE,QAAQ,CAAC,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC;IACnE,QAAQ,CAAC,SAAS,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,aAAa,GAAG,IAAI,CAAC;IAC9E,QAAQ,CAAC,SAAS,CAAC,MAAM,EAAE,kBAAkB,GAAG,UAAU,CAAC,YAAY,CAAC;IACxE,QAAQ,CAAC,iBAAiB,CACxB,SAAS,EAAE,aAAa,GACvB,UAAU,CAAC,aAAa,EAAE,CAAC;IAC9B,QAAQ,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC;IAE9D;;;;;;;OAOG;IACH,QAAQ,CAAC,oBAAoB,CAC3B,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAEtD;;;;;;;OAOG;IACH,QAAQ,CAAC,wBAAwB,CAC/B,gBAAgB,EAAE,MAAM,GACvB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC;IAEpD;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CACjB,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAEjE,QAAQ,CAAC,mBAAmB,IAAI,MAAM;IAEtC;;;;OAIG;IACH,QAAQ,CAAC,iBAAiB,CACxB,MAAM,EAAE,aAAa,EACrB,qBAAqB,CAAC,EAAE,MAAM,GAC7B,UAAU,CAAC,MAAM,CAAC;IAErB,QAAQ,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI;IACzD,QAAQ,CAAC,cAAc,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAC1D,QAAQ,CAAC,mBAAmB,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO;IAE/D,uEAAuE;IACvE,QAAQ,CAAC,YAAY,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;IACpD,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC,IAAI,CAAC,CAAA;CAC1C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Individual } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContactCardComponent {
|
|
5
|
+
contact: Individual;
|
|
6
|
+
removable: boolean;
|
|
7
|
+
contactRemoved: EventEmitter<Individual>;
|
|
8
|
+
removeContact(contact: Individual): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContactCardComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContactCardComponent, "gn-ui-contact-card", never, { "contact": { "alias": "contact"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; }, { "contactRemoved": "contactRemoved"; }, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=contact-card.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact-card.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;;AAMzF,qBAQa,oBAAoB;IACtB,OAAO,EAAE,UAAU,CAAA;IACnB,SAAS,UAAO;IACf,cAAc,2BAAiC;IAEzD,aAAa,CAAC,OAAO,EAAE,UAAU;yCALtB,oBAAoB;2CAApB,oBAAoB;CAQhC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { RecordsApiService } from '../../../../../../../libs/data-access/gn4/src';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
4
|
+
import { GraphicOverview } from '../../../../../../../libs/common/domain/src/lib/model/record';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class OverviewUploadComponent implements OnInit, OnChanges {
|
|
7
|
+
private recordsApiService;
|
|
8
|
+
private cd;
|
|
9
|
+
metadataUuid: string;
|
|
10
|
+
formControl: FormControl;
|
|
11
|
+
overviewChange: EventEmitter<GraphicOverview>;
|
|
12
|
+
altTextChange: EventEmitter<string>;
|
|
13
|
+
resourceAltText: string;
|
|
14
|
+
resourceFileName: string;
|
|
15
|
+
resourceUrl: string;
|
|
16
|
+
constructor(recordsApiService: RecordsApiService, cd: ChangeDetectorRef);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
handleFileChange(file: File): void;
|
|
19
|
+
handleUrlChange(url: string): void;
|
|
20
|
+
handleAltTextChange(newAltText: string): void;
|
|
21
|
+
handleDelete(): void;
|
|
22
|
+
private errorHandle;
|
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverviewUploadComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OverviewUploadComponent, "gn-ui-overview-upload", never, { "metadataUuid": { "alias": "metadataUuid"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; }, { "overviewChange": "overviewChange"; "altTextChange": "altTextChange"; }, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=overview-upload.component.d.ts.map
|
package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overview-upload.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAEZ,SAAS,EACT,MAAM,EAEN,aAAa,EACd,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAA;AAEjF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,8DAA8D,CAAA;;AAE9F,qBAQa,uBAAwB,YAAW,MAAM,EAAE,SAAS;IAW7D,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,EAAE;IAXH,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAG,WAAW,CAAA;IACxB,cAAc,gCAA6C;IAC3D,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IAElE,eAAe,EAAE,MAAM,CAAA;IACvB,gBAAgB,EAAE,MAAM,CAAA;IACxB,WAAW,EAAE,MAAM,CAAA;gBAGT,iBAAiB,EAAE,iBAAiB,EACpC,EAAE,EAAE,iBAAiB;IAG/B,QAAQ,IAAI,IAAI;IAqBhB,gBAAgB,CAAC,IAAI,EAAE,IAAI;IAmB3B,eAAe,CAAC,GAAG,EAAE,MAAM;IAmB3B,mBAAmB,CAAC,UAAU,EAAE,MAAM;IAWtC,YAAY;IAiBZ,OAAO,CAAC,WAAW,CAUlB;IAED,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;yCAlH9B,uBAAuB;2CAAvB,uBAAuB;CAuInC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { Individual, Organization, Role } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
4
|
+
import { Observable, Subscription } from 'rxjs';
|
|
5
|
+
import { UserModel } from '../../../../../../../../../libs/common/domain/src/lib/model/user';
|
|
6
|
+
import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
|
|
7
|
+
import { OrganizationsServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/organizations.service.interface';
|
|
8
|
+
import { DynamicElement } from '../../../../../../../../../libs/ui/elements/src';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FormFieldContactsForResourceComponent implements OnInit, OnDestroy {
|
|
11
|
+
private platformServiceInterface;
|
|
12
|
+
private organizationsServiceInterface;
|
|
13
|
+
private changeDetectorRef;
|
|
14
|
+
control: FormControl<Individual[]>;
|
|
15
|
+
subscription: Subscription;
|
|
16
|
+
allUsers$: Observable<UserModel[]>;
|
|
17
|
+
contactsForRessourceByRole: Map<Role, Individual[]>;
|
|
18
|
+
contactsAsDynElemByRole: Map<Role, DynamicElement[]>;
|
|
19
|
+
rolesToPick: Role[];
|
|
20
|
+
roleSectionsToDisplay: Role[];
|
|
21
|
+
allOrganizations: Map<string, Organization>;
|
|
22
|
+
constructor(platformServiceInterface: PlatformServiceInterface, organizationsServiceInterface: OrganizationsServiceInterface, changeDetectorRef: ChangeDetectorRef);
|
|
23
|
+
ngOnInit(): Promise<void>;
|
|
24
|
+
addRoleToDisplay(roleToAdd: string): void;
|
|
25
|
+
filterRolesToPick(): void;
|
|
26
|
+
updateContactsForRessource(): void;
|
|
27
|
+
manageRoleSectionsToDisplay(contactsForResource: Individual[]): void;
|
|
28
|
+
removeContact(index: number): void;
|
|
29
|
+
handleContactsChanged(event: DynamicElement[]): void;
|
|
30
|
+
protected roleToLabel(role: string): string;
|
|
31
|
+
/**
|
|
32
|
+
* gn-ui-autocomplete
|
|
33
|
+
*/
|
|
34
|
+
displayWithFn: (user: UserModel) => string;
|
|
35
|
+
/**
|
|
36
|
+
* gn-ui-autocomplete
|
|
37
|
+
*/
|
|
38
|
+
autoCompleteAction: (query: string) => Observable<UserModel[]>;
|
|
39
|
+
/**
|
|
40
|
+
* gn-ui-autocomplete
|
|
41
|
+
*/
|
|
42
|
+
addContact(contact: UserModel, role: string): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldContactsForResourceComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldContactsForResourceComponent, "gn-ui-form-field-contacts-for-resource", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=form-field-contacts-for-resource.component.d.ts.map
|
|
@@ -0,0 +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,EAEL,iBAAiB,EAGjB,SAAS,EACT,MAAM,EACP,MA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KAAK,EAAE,MAAM;IAO3B,qBAAqB,CAAC,KAAK,EAAE,cAAc,EAAE;IAgB7C,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAI3C;;OAEG;IACH,aAAa,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAGtC;IAEJ;;OAEG;IACH,kBAAkB,UAAW,MAAM,6BAUlC;IAED;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM;IAmB3C,WAAW,IAAI,IAAI;yCAhNR,qCAAqC;2CAArC,qCAAqC;CAmNjD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { GraphicOverview } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FormFieldOverviewsComponent {
|
|
5
|
+
metadataUuid: string;
|
|
6
|
+
control: FormControl;
|
|
7
|
+
handleOverviewChange(overView: GraphicOverview | null): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldOverviewsComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldOverviewsComponent, "gn-ui-form-field-overviews", never, { "metadataUuid": { "alias": "metadataUuid"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=form-field-overviews.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-field-overviews.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,oEAAoE,CAAA;;AAEpG,qBAQa,2BAA2B;IAC7B,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAG,WAAW,CAAA;IAE9B,oBAAoB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;yCAJ1C,2BAA2B;2CAA3B,2BAA2B;CAOvC"}
|
|
@@ -21,7 +21,9 @@ export declare class FormFieldTemporalExtentsComponent implements OnInit, OnDest
|
|
|
21
21
|
}]>;
|
|
22
22
|
constructor(translateService: TranslateService);
|
|
23
23
|
ngOnInit(): void;
|
|
24
|
-
onElementsChange(elements:
|
|
24
|
+
onElementsChange(elements: {
|
|
25
|
+
inputs: Record<string, unknown>;
|
|
26
|
+
}[]): void;
|
|
25
27
|
onAdd(eventName: string): void;
|
|
26
28
|
ngOnDestroy(): void;
|
|
27
29
|
private resetValueFromInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-field-temporal-extents.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,MAAM,EACN,IAAI,EACL,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEvD,OAAO,EAAE,YAAY,EAAsB,MAAM,MAAM,CAAA;AAGvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAGtD,qBAQa,iCAAkC,YAAW,MAAM,EAAE,SAAS;IAoB7D,OAAO,CAAC,gBAAgB;IAnB3B,OAAO,EAAG,WAAW,CAAA;IAE9B,YAAY,EAAE,YAAY,CAAA;IAE1B,KAAK,EAAE,SAAS,CAAoB;IACpC,QAAQ,EAAE,KAAK,CAAC;QACd,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAC5B,CAAC,CAAA;IAEF,WAAW;;;;;;QAOT;gBAEkB,gBAAgB,EAAE,gBAAgB;IAEtD,QAAQ;IAkBR,gBAAgB,CAAC,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"form-field-temporal-extents.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,MAAM,EACN,IAAI,EACL,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEvD,OAAO,EAAE,YAAY,EAAsB,MAAM,MAAM,CAAA;AAGvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAGtD,qBAQa,iCAAkC,YAAW,MAAM,EAAE,SAAS;IAoB7D,OAAO,CAAC,gBAAgB;IAnB3B,OAAO,EAAG,WAAW,CAAA;IAE9B,YAAY,EAAE,YAAY,CAAA;IAE1B,KAAK,EAAE,SAAS,CAAoB;IACpC,QAAQ,EAAE,KAAK,CAAC;QACd,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAC5B,CAAC,CAAA;IAEF,WAAW;;;;;;QAOT;gBAEkB,gBAAgB,EAAE,gBAAgB;IAEtD,QAAQ;IAkBR,gBAAgB,CAAC,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,EAAE;IAShE,KAAK,CAAC,SAAS,EAAE,MAAM;IAkBvB,WAAW,IAAI,IAAI;IAInB,OAAO,CAAC,mBAAmB;yCAvEhB,iCAAiC;2CAAjC,iCAAiC;CA0G7C"}
|
package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts
CHANGED
|
@@ -2,16 +2,19 @@ import { ElementRef } from '@angular/core';
|
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { CatalogRecordKeys } from '../../../../../../../../libs/common/domain/src/lib/model/record';
|
|
5
|
+
import { EditorFacade } from '../../../+state/editor.facade';
|
|
5
6
|
import { FormFieldConfig } from '../../../models';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class FormFieldComponent {
|
|
9
|
+
private facade;
|
|
8
10
|
model: CatalogRecordKeys;
|
|
9
11
|
config: FormFieldConfig;
|
|
10
12
|
set value(v: unknown);
|
|
11
13
|
valueChange: Observable<unknown>;
|
|
12
14
|
titleInput: ElementRef;
|
|
15
|
+
metadataUuid$: Observable<string>;
|
|
13
16
|
formControl: FormControl<any>;
|
|
14
|
-
constructor();
|
|
17
|
+
constructor(facade: EditorFacade);
|
|
15
18
|
focusTitleInput(): void;
|
|
16
19
|
get isTitle(): boolean;
|
|
17
20
|
get isAbstract(): boolean;
|
|
@@ -20,9 +23,11 @@ export declare class FormFieldComponent {
|
|
|
20
23
|
get isUpdateFrequency(): boolean;
|
|
21
24
|
get isTemporalExtents(): boolean;
|
|
22
25
|
get isSpatialExtentField(): boolean;
|
|
26
|
+
get isGraphicOverview(): boolean;
|
|
23
27
|
get isSimpleField(): boolean;
|
|
24
28
|
get isReadOnly(): boolean;
|
|
25
29
|
get isKeywords(): boolean;
|
|
30
|
+
get isContactsForResource(): boolean;
|
|
26
31
|
get withoutWrapper(): boolean;
|
|
27
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
28
33
|
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>;
|
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":"AACA,OAAO,EAGL,UAAU,EAIX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAajC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAA;
|
|
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;AAajC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAA;AAInG,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;;AAGjD,qBA6Ba,kBAAkB;IAoBjB,OAAO,CAAC,MAAM;IAnBjB,KAAK,EAAE,iBAAiB,CAAA;IACxB,MAAM,EAAE,eAAe,CAAA;IAChC,IAAa,KAAK,CAAC,CAAC,EAAE,OAAO,EAI5B;IAES,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAEjB,UAAU,EAAE,UAAU,CAAA;IAE/C,aAAa,qBAGZ;IAED,WAAW,mBAAoB;gBAEX,MAAM,EAAE,YAAY;IAIxC,eAAe;IAIf,IAAI,OAAO,YAEV;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,oBAAoB,YAEvB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IACD,IAAI,qBAAqB,YAExB;IAED,IAAI,cAAc,YAEjB;yCAnEU,kBAAkB;2CAAlB,kBAAkB;CAoE9B"}
|
|
@@ -18,6 +18,8 @@ export declare const RECORD_UPDATE_FREQUENCY_FIELD: EditorField;
|
|
|
18
18
|
export declare const RECORD_TEMPORAL_EXTENTS_FIELD: EditorField;
|
|
19
19
|
export declare const RECORD_TITLE_FIELD: EditorField;
|
|
20
20
|
export declare const RECORD_ABSTRACT_FIELD: EditorField;
|
|
21
|
+
export declare const CONTACTS_FOR_RESOURCE_FIELD: EditorField;
|
|
22
|
+
export declare const RECORD_GRAPHICAL_OVERVIEW_FIELD: EditorField;
|
|
21
23
|
/************************************************************
|
|
22
24
|
*************** SECTIONS *****************
|
|
23
25
|
************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACd,MAAM,8BAA8B,CAAA;AAErC;;;;;GAKG;AAEH;;;GAGG;AAEH,eAAO,MAAM,oBAAoB,EAAE,WAKlC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,WAM5C,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,WAOlC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,WAKhC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED;;;GAGG;AAEH,eAAO,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACd,MAAM,8BAA8B,CAAA;AAErC;;;;;GAKG;AAEH;;;GAGG;AAEH,eAAO,MAAM,oBAAoB,EAAE,WAKlC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,WAM5C,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,WAOlC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,WAKhC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,WAKzC,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAE,WAK7C,CAAA;AAED;;;GAGG;AAEH,eAAO,MAAM,aAAa,EAAE,aAO3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,aAW3B,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,aAI3C,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,aAO1C,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,aAI7B,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,aAOpC,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,aAI/C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,aAKnC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,aAO3C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAoBnC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-utils.service.d.ts","sourceRo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C,EAAE;IAe7D,kCAAkC,CAChC,KAAK,EAAE,GAAG,EACV,KAAK,EAAE,eAAe,CAAC,YAAY,CAAC,GACnC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE;IAoBpC;;OAEG;IACG,cAAc,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAuCnE,iBAAiB,CACrB,KAAK,EAAE,uBAAuB,GAC7B,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAyBzB,oBAAoB,CAAC,YAAY,EAAE,UAAU,CAAC,WAAW,CAAC;IAuB1D,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,MAAM;yCA7K5C,eAAe;6CAAf,eAAe;
|
|
1
|
+
{"version":3,"file":"map-utils.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/utils/map-utils.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,EAAU,MAAM,EAAW,MAAM,WAAW,CAAA;AACnD,OAAO,OAAO,MAAM,YAAY,CAAA;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,KAAK,MAAM,gBAAgB,CAAA;AAClC,OAAO,GAAG,MAAM,QAAQ,CAAA;AAExB,OAAO,MAAM,MAAM,kBAAkB,CAAA;AAIrC,OAAO,EAAY,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAO/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjC,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,kCAAkC,CAAA;AACzC,OAAO,UAAU,MAAM,eAAe,CAAA;AACtC,OAAO,eAAe,MAAM,oBAAoB,CAAA;AAChD,OA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-1,26 +1,34 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
3
3
|
import { SearchFacade } from '../state/search.facade';
|
|
4
4
|
import { SelectionService } from '../../../../../../libs/api/repository/src';
|
|
5
5
|
import { SearchService } from '../utils/service/search.service';
|
|
6
6
|
import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
|
|
7
|
+
import { Subscription } from 'rxjs';
|
|
8
|
+
import { NotificationsService } from '../../../../../../libs/feature/notifications/src';
|
|
9
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
7
10
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ResultsTableContainerComponent {
|
|
11
|
+
export declare class ResultsTableContainerComponent implements OnDestroy {
|
|
9
12
|
private searchFacade;
|
|
10
13
|
private searchService;
|
|
11
14
|
private selectionService;
|
|
12
15
|
private recordsRepository;
|
|
16
|
+
private notificationsService;
|
|
17
|
+
private translateService;
|
|
13
18
|
recordClick: EventEmitter<CatalogRecord>;
|
|
14
19
|
duplicateRecord: EventEmitter<CatalogRecord>;
|
|
20
|
+
subscription: Subscription;
|
|
15
21
|
records$: import("rxjs").Observable<CatalogRecord[]>;
|
|
16
22
|
selectedRecords$: import("rxjs").BehaviorSubject<string[]>;
|
|
17
23
|
sortBy$: import("rxjs").Observable<import("../../../../../common/domain/src/lib/model/search").SortByField>;
|
|
18
24
|
hasDraft: (record: CatalogRecord) => boolean;
|
|
19
|
-
constructor(searchFacade: SearchFacade, searchService: SearchService, selectionService: SelectionService, recordsRepository: RecordsRepositoryInterface);
|
|
25
|
+
constructor(searchFacade: SearchFacade, searchService: SearchService, selectionService: SelectionService, recordsRepository: RecordsRepositoryInterface, notificationsService: NotificationsService, translateService: TranslateService);
|
|
20
26
|
handleRecordClick(item: unknown): void;
|
|
21
27
|
handleDuplicateRecord(item: unknown): void;
|
|
28
|
+
handleDeleteRecord(item: unknown): Promise<void>;
|
|
22
29
|
handleSortByChange(col: string, order: 'asc' | 'desc'): void;
|
|
23
30
|
handleRecordsSelectedChange(records: CatalogRecord[], selected: boolean): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
24
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableContainerComponent, never>;
|
|
25
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableContainerComponent, "gn-ui-results-table-container", never, {}, { "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; }, never, never, true, never>;
|
|
26
34
|
}
|
package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"results-table-container.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/results-table/results-table-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAU,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"results-table-container.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/results-table/results-table-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,SAAS,EAAU,MAAM,eAAe,CAAA;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AAGjI,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAA;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEtD,qBAOa,8BAA+B,YAAW,SAAS;IAc5D,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IAlBhB,WAAW,8BAAoC;IAC/C,eAAe,8BAAoC;IAE7D,YAAY,eAAqB;IAEjC,QAAQ,6CAA6B;IACrC,gBAAgB,2CAAoD;IACpE,OAAO,qGAA4B;IAEnC,QAAQ,WAAY,aAAa,KAAG,OAAO,CACqB;gBAGtD,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,0BAA0B,EAC7C,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB;IAG5C,iBAAiB,CAAC,IAAI,EAAE,OAAO;IAI/B,qBAAqB,CAAC,IAAI,EAAE,OAAO;IAI7B,kBAAkB,CAAC,IAAI,EAAE,OAAO;IAsCtC,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAIrD,2BAA2B,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,QAAQ,EAAE,OAAO;IAQvE,WAAW;yCAhFA,8BAA8B;2CAA9B,8BAA8B;CAmF1C"}
|
|
@@ -34,6 +34,7 @@ export declare class SearchFacade {
|
|
|
34
34
|
setConfigRequestFields(fields: FieldName[]): SearchFacade;
|
|
35
35
|
setConfigFilters(filters: FieldFilters): SearchFacade;
|
|
36
36
|
requestMoreResults(): SearchFacade;
|
|
37
|
+
requestNewResults(): SearchFacade;
|
|
37
38
|
requestMoreOnAggregation(key: string, increment: number): SearchFacade;
|
|
38
39
|
setResultsLayout(layout: string): SearchFacade;
|
|
39
40
|
setFilters(filters: FieldFilters): SearchFacade;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/search.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAQ,UAAU,EAAM,MAAM,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"search.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/search.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAQ,UAAU,EAAM,MAAM,MAAM,CAAA;AAuB3C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAoBvE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,SAAS,EACT,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBACa,YAAY;IA0BrB,OAAO,CAAC,KAAK;IAGb,OAAO,CAAC,cAAc;IA5BxB,QAAQ,EAAE,UAAU,CAAC,aAAa,EAAE,CAAC,CAAA;IACrC,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC3B,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAChC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAC/B,qBAAqB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAC1C,eAAe,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IACpC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC/B,YAAY,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC7B,cAAc,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;IACxC,mBAAmB,EAAE,UAAU,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CAAC,UAAU,EAAE,MAAM,GAAG,YAAY;IAK1C,MAAM,IAAI,YAAY;IAKtB,SAAS,CAAC,MAAM,EAAE,WAAW;IAK7B,uBAAuB,CAAC,OAAO,EAAE,OAAO;IAKxC,WAAW;yCAtKA,YAAY;6CAAZ,YAAY;CA6KxB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './lib/api-card/api-card.component';
|
|
2
2
|
export * from './lib/avatar/avatar.component';
|
|
3
|
+
export * from './lib/confirmation-dialog/confirmation-dialog.component';
|
|
3
4
|
export * from './lib/content-ghost/content-ghost.component';
|
|
4
5
|
export * from './lib/download-item/download-item.component';
|
|
5
6
|
export * from './lib/downloads-list/downloads-list.component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,2CAA2C,CAAA;AACzD,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,2CAA2C,CAAA;AACzD,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface ConfirmationDialogData {
|
|
4
|
+
title: string;
|
|
5
|
+
message: string;
|
|
6
|
+
confirmText: string;
|
|
7
|
+
cancelText: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class ConfirmationDialogComponent {
|
|
10
|
+
dialogRef: MatDialogRef<ConfirmationDialogComponent>;
|
|
11
|
+
data: ConfirmationDialogData;
|
|
12
|
+
constructor(dialogRef: MatDialogRef<ConfirmationDialogComponent>, data: ConfirmationDialogData);
|
|
13
|
+
onConfirm(): void;
|
|
14
|
+
onCancel(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "gn-ui-confirmation-dialog", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=confirmation-dialog.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confirmation-dialog.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EACb,MAAM,0BAA0B,CAAA;;AAGjC,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,qBAQa,2BAA2B;IAE7B,SAAS,EAAE,YAAY,CAAC,2BAA2B,CAAC;IAC3B,IAAI,EAAE,sBAAsB;gBADrD,SAAS,EAAE,YAAY,CAAC,2BAA2B,CAAC,EAC3B,IAAI,EAAE,sBAAsB;IAG9D,SAAS;IAIT,QAAQ;yCAVG,2BAA2B;2CAA3B,2BAA2B;CAavC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
2
|
import { EventEmitter, Type } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
type DynamicElement = {
|
|
5
|
-
component: Type<
|
|
6
|
-
inputs: Record<string,
|
|
4
|
+
export type DynamicElement = {
|
|
5
|
+
component: Type<unknown>;
|
|
6
|
+
inputs: Record<string, unknown>;
|
|
7
7
|
};
|
|
8
8
|
export declare class SortableListComponent {
|
|
9
9
|
elements: Array<DynamicElement>;
|
|
@@ -15,8 +15,8 @@ export declare class SortableListComponent {
|
|
|
15
15
|
add: EventEmitter<string>;
|
|
16
16
|
drop(event: CdkDragDrop<string[]>): void;
|
|
17
17
|
removeElement(index: number): void;
|
|
18
|
+
trackByFn(index: number): number;
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SortableListComponent, never>;
|
|
19
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<SortableListComponent, "gn-ui-sortable-list", never, { "elements": { "alias": "elements"; "required": false; }; "addOptions": { "alias": "addOptions"; "required": false; }; }, { "elementsChange": "elementsChange"; "add": "add"; }, never, never, true, never>;
|
|
20
21
|
}
|
|
21
|
-
export {};
|
|
22
22
|
//# sourceMappingURL=sortable-list.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sortable-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EAIZ,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAGL,YAAY,EAGZ,IAAI,EACL,MAAM,eAAe,CAAA;;AAItB,
|
|
1
|
+
{"version":3,"file":"sortable-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EAIZ,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAGL,YAAY,EAGZ,IAAI,EACL,MAAM,eAAe,CAAA;;AAItB,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,CAAA;IACxB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAChC,CAAA;AAED,qBAgBa,qBAAqB;IACvB,QAAQ,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;IAC/B,UAAU,EAAE,KAAK,CAAC;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAK;IACjE,cAAc,iCAA4C;IAC1D,GAAG,uBAA6B;IAE1C,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC;IAKjC,aAAa,CAAC,KAAK,EAAE,MAAM;IAK3B,SAAS,CAAC,KAAK,EAAE,MAAM;yCAhBZ,qBAAqB;2CAArB,qBAAqB;CAmBjC"}
|
|
@@ -10,6 +10,7 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
|
|
|
10
10
|
action: (value: string) => Observable<AutocompleteItem[]>;
|
|
11
11
|
value?: AutocompleteItem;
|
|
12
12
|
clearOnSelection: boolean;
|
|
13
|
+
preventCompleteOnSelection: boolean;
|
|
13
14
|
autoFocus: boolean;
|
|
14
15
|
minCharacterCount?: number;
|
|
15
16
|
allowSubmit: boolean;
|
|
@@ -38,8 +39,15 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
|
|
|
38
39
|
clear(): void;
|
|
39
40
|
handleEnter(any: string): void;
|
|
40
41
|
handleClickSearch(): void;
|
|
42
|
+
/**
|
|
43
|
+
* This function is triggered when an item is selected in the list of displayed items.
|
|
44
|
+
* If preventCompleteOnSelection is true then the input will be left as entered by the user.
|
|
45
|
+
* If preventCompleteOnSelection is false (by default) then the input will be completed with the item selected by the user.
|
|
46
|
+
* If clearOnSelection is true then the input will be cleared upon selection.
|
|
47
|
+
* @param event
|
|
48
|
+
*/
|
|
41
49
|
handleSelection(event: MatAutocompleteSelectedEvent): void;
|
|
42
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
|
|
43
|
-
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; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; }, never, never, true, never>;
|
|
51
|
+
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; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; }, never, never, true, never>;
|
|
44
52
|
}
|
|
45
53
|
//# 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;;AAiBhF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEtC,qBAea,qBACX,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"autocomplete.component.d.ts","s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;IAExB,aAAa,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,MAAM,CACzC;IAEjB,qBAAqB,UAAW,gBAAgB,YAG/C;gBAEmB,KAAK,EAAE,iBAAiB;IAC5C,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAWzC,QAAQ,IAAI,IAAI;IAkEhB,eAAe,IAAI,IAAI;IAQvB,WAAW,IAAI,IAAI;IAInB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB;IASxC,KAAK,IAAI,IAAI;IASb,WAAW,CAAC,GAAG,EAAE,MAAM;IAMvB,iBAAiB;IAIjB;;;;;;OAMG;IACH,eAAe,CAAC,KAAK,EAAE,4BAA4B;yCAhKxC,qBAAqB;2CAArB,qBAAqB;CA6KjC"}
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
3
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
export declare class ActionMenuComponent {
|
|
7
|
+
dialog: MatDialog;
|
|
8
|
+
private translateService;
|
|
9
|
+
canDuplicate: boolean;
|
|
10
|
+
canDelete: boolean;
|
|
5
11
|
duplicate: EventEmitter<void>;
|
|
12
|
+
delete: EventEmitter<void>;
|
|
6
13
|
trigger: MatMenuTrigger;
|
|
14
|
+
constructor(dialog: MatDialog, translateService: TranslateService);
|
|
7
15
|
openMenu(): void;
|
|
16
|
+
openDeleteConfirmationDialog(): void;
|
|
8
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionMenuComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionMenuComponent, "gn-ui-action-menu", never, {}, { "duplicate": "duplicate"; }, never, never, true, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionMenuComponent, "gn-ui-action-menu", never, { "canDuplicate": { "alias": "canDuplicate"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; }, { "duplicate": "duplicate"; "delete": "delete"; }, never, never, true, never>;
|
|
10
19
|
}
|
|
11
20
|
//# sourceMappingURL=action-menu.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-menu.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"action-menu.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAIb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAmB,MAAM,0BAA0B,CAAA;AAErE,OAAO,EAAiB,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAGtE,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEvE,qBAca,mBAAmB;IASrB,MAAM,EAAE,SAAS;IACxB,OAAO,CAAC,gBAAgB;IATjB,YAAY,EAAE,OAAO,CAAA;IACrB,SAAS,EAAE,OAAO,CAAA;IACjB,SAAS,qBAA2B;IACpC,MAAM,qBAA2B;IAEhB,OAAO,EAAE,cAAc,CAAA;gBAGzC,MAAM,EAAE,SAAS,EAChB,gBAAgB,EAAE,gBAAgB;IAG5C,QAAQ;IAIR,4BAA4B;yCAjBjB,mBAAmB;2CAAnB,mBAAmB;CA6C/B"}
|
|
@@ -7,10 +7,13 @@ export declare class ResultsTableComponent {
|
|
|
7
7
|
records: CatalogRecord[];
|
|
8
8
|
selectedRecordsIdentifiers: string[];
|
|
9
9
|
sortOrder: SortByField;
|
|
10
|
-
|
|
10
|
+
hasDraft: (record: CatalogRecord) => boolean;
|
|
11
|
+
canDuplicate: (record: CatalogRecord) => boolean;
|
|
12
|
+
canDelete: (record: CatalogRecord) => boolean;
|
|
11
13
|
sortByChange: EventEmitter<[string, "asc" | "desc"]>;
|
|
12
14
|
recordClick: EventEmitter<CatalogRecord>;
|
|
13
15
|
duplicateRecord: EventEmitter<CatalogRecord>;
|
|
16
|
+
deleteRecord: EventEmitter<CatalogRecord>;
|
|
14
17
|
recordsSelectedChange: EventEmitter<[CatalogRecord[], boolean]>;
|
|
15
18
|
dateToString(date: Date): string;
|
|
16
19
|
getStatus(isPublishedToAll: boolean | unknown): "published" | "not published";
|
|
@@ -19,6 +22,7 @@ export declare class ResultsTableComponent {
|
|
|
19
22
|
getBadgeColor(format: FileFormat): string;
|
|
20
23
|
handleRecordClick(item: unknown): void;
|
|
21
24
|
handleDuplicate(item: unknown): void;
|
|
25
|
+
handleDelete(item: unknown): void;
|
|
22
26
|
setSortBy(col: string, order: 'asc' | 'desc'): void;
|
|
23
27
|
isSortedBy(col: string): 'desc' | 'asc' | null;
|
|
24
28
|
isChecked(record: CatalogRecord): boolean;
|
|
@@ -27,6 +31,6 @@ export declare class ResultsTableComponent {
|
|
|
27
31
|
isAllSelected(): boolean;
|
|
28
32
|
isSomeSelected(): boolean;
|
|
29
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, { "records": { "alias": "records"; "required": false; }; "selectedRecordsIdentifiers": { "alias": "selectedRecordsIdentifiers"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, { "records": { "alias": "records"; "required": false; }; "selectedRecordsIdentifiers": { "alias": "selectedRecordsIdentifiers"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "hasDraft": { "alias": "hasDraft"; "required": false; }; "canDuplicate": { "alias": "canDuplicate"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; }, { "sortByChange": "sortByChange"; "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; "deleteRecord": "deleteRecord"; "recordsSelectedChange": "recordsSelectedChange"; }, never, never, true, never>;
|
|
31
35
|
}
|
|
32
36
|
//# sourceMappingURL=results-table.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAA;AAEtE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAMlE,OAAO,EACL,UAAU,EAIX,MAAM,wCAAwC,CAAA;;AAI/C,qBAgBa,qBAAqB;IACvB,OAAO,EAAE,aAAa,EAAE,CAAK;IAC7B,0BAA0B,EAAE,MAAM,EAAE,CAAK;IACzC,SAAS,EAAE,WAAW,CAAO;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAc;IAC1D,YAAY,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAC7D,SAAS,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAGzD,YAAY,yCAA+C;IAC3D,WAAW,8BAAoC;IAC/C,eAAe,8BAAoC;IACnD,YAAY,8BAAoC;IAChD,qBAAqB,2CAE5B;IAEH,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAShC,SAAS,CAAC,gBAAgB,EAAE,OAAO,GAAG,OAAO;IAI7C,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,EAAE;IAarD,cAAc,CAAC,QAAQ,EAAE,M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