@myrmidon/cadmus-part-general-ui 12.0.2 → 13.0.0

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.
Files changed (60) hide show
  1. package/fesm2022/myrmidon-cadmus-part-general-ui.mjs +118 -118
  2. package/fesm2022/myrmidon-cadmus-part-general-ui.mjs.map +1 -1
  3. package/index.d.ts +4038 -3
  4. package/package.json +14 -14
  5. package/lib/asserted-historical-date/asserted-historical-date.component.d.ts +0 -27
  6. package/lib/asserted-historical-dates-part/asserted-historical-dates-part.component.d.ts +0 -41
  7. package/lib/asserted-historical-dates-part.d.ts +0 -167
  8. package/lib/bib-authors-editor/bib-authors-editor.component.d.ts +0 -23
  9. package/lib/bibliography-entry/bibliography-entry.component.d.ts +0 -59
  10. package/lib/bibliography-part/bibliography-part.component.d.ts +0 -41
  11. package/lib/bibliography-part.d.ts +0 -199
  12. package/lib/categories-part/categories-part.component.d.ts +0 -26
  13. package/lib/categories-part.d.ts +0 -60
  14. package/lib/chronology-fragment/chronology-fragment.component.d.ts +0 -30
  15. package/lib/chronology-fragment.d.ts +0 -105
  16. package/lib/chronotopes-part/chronotopes-part.component.d.ts +0 -41
  17. package/lib/chronotopes-part.d.ts +0 -224
  18. package/lib/comment-editor/comment-editor.component.d.ts +0 -75
  19. package/lib/comment-fragment.d.ts +0 -95
  20. package/lib/comment-part.d.ts +0 -190
  21. package/lib/decorated-counts-part/decorated-counts-part.component.d.ts +0 -27
  22. package/lib/decorated-counts-part.d.ts +0 -78
  23. package/lib/district-location-part/district-location-part.component.d.ts +0 -29
  24. package/lib/district-location-part.d.ts +0 -88
  25. package/lib/doc-references-part/doc-references-part.component.d.ts +0 -27
  26. package/lib/doc-references-part.d.ts +0 -78
  27. package/lib/external-ids-part/external-ids-part.component.d.ts +0 -32
  28. package/lib/external-ids-part.d.ts +0 -78
  29. package/lib/historical-date-part/historical-date-part.component.d.ts +0 -26
  30. package/lib/historical-date-part.d.ts +0 -146
  31. package/lib/historical-event-editor/historical-event-editor.component.d.ts +0 -103
  32. package/lib/historical-events-part/historical-events-part.component.d.ts +0 -75
  33. package/lib/historical-events-part.d.ts +0 -405
  34. package/lib/index-keyword/index-keyword.component.d.ts +0 -24
  35. package/lib/index-keywords-part/index-keywords-part.component.d.ts +0 -34
  36. package/lib/index-keywords-part.d.ts +0 -88
  37. package/lib/keywords-part/keywords-part.component.d.ts +0 -30
  38. package/lib/keywords-part.d.ts +0 -73
  39. package/lib/metadata-part/metadata-part.component.d.ts +0 -40
  40. package/lib/metadata-part.d.ts +0 -82
  41. package/lib/names-part/names-part.component.d.ts +0 -52
  42. package/lib/names-part.d.ts +0 -127
  43. package/lib/note-part/note-part.component.d.ts +0 -34
  44. package/lib/note-part.d.ts +0 -61
  45. package/lib/physical-measurements-part/physical-measurements-part.component.d.ts +0 -28
  46. package/lib/physical-measurements-part.d.ts +0 -78
  47. package/lib/physical-states-part/physical-states-part.component.d.ts +0 -39
  48. package/lib/physical-states-part.d.ts +0 -84
  49. package/lib/pin-links-fragment/pin-links-fragment.component.d.ts +0 -41
  50. package/lib/pin-links-fragment.d.ts +0 -111
  51. package/lib/pin-links-part/pin-links-part.component.d.ts +0 -41
  52. package/lib/pin-links-part.d.ts +0 -139
  53. package/lib/related-entity/related-entity.component.d.ts +0 -44
  54. package/lib/text-tile/text-tile.component.d.ts +0 -34
  55. package/lib/tiled-data/tiled-data.component.d.ts +0 -43
  56. package/lib/tiled-text-part/tiled-text-part.component.d.ts +0 -71
  57. package/lib/tiled-text-part.d.ts +0 -127
  58. package/lib/token-text-part/token-text-part.component.d.ts +0 -35
  59. package/lib/token-text-part.d.ts +0 -85
  60. package/public-api.d.ts +0 -55
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myrmidon/cadmus-part-general-ui",
3
- "version": "12.0.2",
3
+ "version": "13.0.0",
4
4
  "description": "Cadmus - generic parts.",
5
5
  "keywords": [
6
6
  "Cadmus"
@@ -14,19 +14,19 @@
14
14
  "name": "Daniele Fusi"
15
15
  },
16
16
  "peerDependencies": {
17
- "@angular/common": "^19.0.0",
18
- "@angular/core": "^19.0.0",
19
- "@cisstech/nge": "^18.0.4",
20
- "@myrmidon/ngx-tools": "^1.0.2",
21
- "@myrmidon/ngx-mat-tools": "^0.0.1",
22
- "@myrmidon/cadmus-refs-asserted-ids": "^9.0.0",
23
- "@myrmidon/cadmus-refs-doc-references": "^9.0.0",
24
- "@myrmidon/cadmus-refs-historical-date": "8.0.0",
25
- "@myrmidon/cadmus-refs-asserted-chronotope": "9.0.0",
26
- "@myrmidon/cadmus-refs-assertion": "9.0.0",
27
- "@myrmidon/cadmus-refs-proper-name": "9.0.0",
28
- "@myrmidon/cadmus-core": "^11.0.0",
29
- "@myrmidon/cadmus-ui": "^12.0.2"
17
+ "@angular/common": "^20.0.0",
18
+ "@angular/core": "^20.0.0",
19
+ "@cisstech/nge": "^18.2.1",
20
+ "@myrmidon/ngx-tools": "^2.0.0",
21
+ "@myrmidon/ngx-mat-tools": "^1.0.0",
22
+ "@myrmidon/cadmus-refs-asserted-ids": "^10.0.0",
23
+ "@myrmidon/cadmus-refs-doc-references": "^10.0.0",
24
+ "@myrmidon/cadmus-refs-historical-date": "9.0.0",
25
+ "@myrmidon/cadmus-refs-asserted-chronotope": "10.0.0",
26
+ "@myrmidon/cadmus-refs-assertion": "10.0.0",
27
+ "@myrmidon/cadmus-refs-proper-name": "10.0.0",
28
+ "@myrmidon/cadmus-core": "^12.0.0",
29
+ "@myrmidon/cadmus-ui": "^13.0.0"
30
30
  },
31
31
  "dependencies": {
32
32
  "tslib": "^2.3.0"
@@ -1,27 +0,0 @@
1
- import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
2
- import { ThesaurusEntry } from '@myrmidon/cadmus-core';
3
- import { AssertedDate } from '@myrmidon/cadmus-refs-asserted-chronotope';
4
- import { Assertion } from '@myrmidon/cadmus-refs-assertion';
5
- import { HistoricalDateModel } from '@myrmidon/cadmus-refs-historical-date';
6
- import * as i0 from "@angular/core";
7
- export declare class AssertedHistoricalDateComponent {
8
- readonly date: import("@angular/core").ModelSignal<AssertedDate | undefined>;
9
- readonly dateCancel: import("@angular/core").OutputEmitterRef<void>;
10
- tag: FormControl<string | null>;
11
- hd: FormControl<HistoricalDateModel | null>;
12
- assertion: FormControl<Assertion | null>;
13
- form: FormGroup;
14
- tagEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
15
- assertionTagEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
16
- docReferenceTypeEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
17
- docReferenceTagEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
18
- constructor(formBuilder: FormBuilder);
19
- private updateForm;
20
- private getDate;
21
- onAssertionChange(assertion: Assertion | undefined): void;
22
- onDateChange(date?: HistoricalDateModel): void;
23
- cancel(): void;
24
- save(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<AssertedHistoricalDateComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<AssertedHistoricalDateComponent, "cadmus-asserted-historical-date", never, { "date": { "alias": "date"; "required": false; "isSignal": true; }; "tagEntries": { "alias": "tagEntries"; "required": false; "isSignal": true; }; "assertionTagEntries": { "alias": "assertionTagEntries"; "required": false; "isSignal": true; }; "docReferenceTypeEntries": { "alias": "docReferenceTypeEntries"; "required": false; "isSignal": true; }; "docReferenceTagEntries": { "alias": "docReferenceTagEntries"; "required": false; "isSignal": true; }; }, { "date": "dateChange"; "dateCancel": "dateCancel"; }, never, never, true, never>;
27
- }
@@ -1,41 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormControl, FormBuilder, FormGroup, UntypedFormGroup } from '@angular/forms';
3
- import { DialogService } from '@myrmidon/ngx-mat-tools';
4
- import { AuthJwtService } from '@myrmidon/auth-jwt-login';
5
- import { ThesaurusEntry } from '@myrmidon/cadmus-core';
6
- import { EditedObject, ModelEditorComponentBase } from '@myrmidon/cadmus-ui';
7
- import { AssertedDate } from '@myrmidon/cadmus-refs-asserted-chronotope';
8
- import { AssertedHistoricalDatesPart } from '../asserted-historical-dates-part';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Asserted historical parts editor.
12
- * Thesauri: asserted-historical-dates-tags, assertion-tags,
13
- * doc-reference-types, doc-reference-tags.
14
- */
15
- export declare class AssertedHistoricalDatesPartComponent extends ModelEditorComponentBase<AssertedHistoricalDatesPart> implements OnInit {
16
- private _dialogService;
17
- maxDateCount: number;
18
- editedIndex: number;
19
- edited: AssertedDate | undefined;
20
- tagEntries?: ThesaurusEntry[];
21
- assertionTagEntries?: ThesaurusEntry[];
22
- docReferenceTypeEntries?: ThesaurusEntry[];
23
- docReferenceTagEntries?: ThesaurusEntry[];
24
- dates: FormControl<AssertedDate[]>;
25
- constructor(authService: AuthJwtService, formBuilder: FormBuilder, _dialogService: DialogService);
26
- ngOnInit(): void;
27
- protected buildForm(formBuilder: FormBuilder): FormGroup | UntypedFormGroup;
28
- private updateThesauri;
29
- private updateForm;
30
- protected onDataSet(data?: EditedObject<AssertedHistoricalDatesPart>): void;
31
- protected getValue(): AssertedHistoricalDatesPart;
32
- addDate(): void;
33
- editDate(entry: AssertedDate, index: number): void;
34
- closeDate(): void;
35
- saveDate(entry: AssertedDate): void;
36
- deleteDate(index: number): void;
37
- moveDateUp(index: number): void;
38
- moveDateDown(index: number): void;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<AssertedHistoricalDatesPartComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<AssertedHistoricalDatesPartComponent, "cadmus-asserted-historical-dates-part", never, {}, {}, never, never, true, never>;
41
- }
@@ -1,167 +0,0 @@
1
- import { Part } from '@myrmidon/cadmus-core';
2
- import { AssertedDate } from '@myrmidon/cadmus-refs-asserted-chronotope';
3
- /**
4
- * The AssertedHistoricalDates part model.
5
- */
6
- export interface AssertedHistoricalDatesPart extends Part {
7
- dates: AssertedDate[];
8
- }
9
- /**
10
- * The type ID used to identify the AssertedHistoricalDatesPart type.
11
- */
12
- export declare const ASSERTED_HISTORICAL_DATES_PART_TYPEID = "it.vedph.asserted-historical-dates";
13
- /**
14
- * JSON schema for the AssertedHistoricalDates part.
15
- * You can use the JSON schema tool at https://jsonschema.net/.
16
- */
17
- export declare const ASSERTED_HISTORICAL_DATES_PART_SCHEMA: {
18
- $schema: string;
19
- $id: string;
20
- type: string;
21
- title: string;
22
- required: string[];
23
- properties: {
24
- timeCreated: {
25
- type: string;
26
- pattern: string;
27
- };
28
- creatorId: {
29
- type: string;
30
- };
31
- timeModified: {
32
- type: string;
33
- pattern: string;
34
- };
35
- userId: {
36
- type: string;
37
- };
38
- id: {
39
- type: string;
40
- pattern: string;
41
- };
42
- itemId: {
43
- type: string;
44
- pattern: string;
45
- };
46
- typeId: {
47
- type: string;
48
- pattern: string;
49
- };
50
- roleId: {
51
- type: string[];
52
- pattern: string;
53
- };
54
- dates: {
55
- type: string;
56
- items: {
57
- anyOf: {
58
- type: string;
59
- required: string[];
60
- properties: {
61
- tag: {
62
- type: string;
63
- };
64
- a: {
65
- type: string;
66
- required: string[];
67
- properties: {
68
- value: {
69
- type: string;
70
- };
71
- isCentury: {
72
- type: string;
73
- };
74
- isSpan: {
75
- type: string;
76
- };
77
- isApproximate: {
78
- type: string;
79
- };
80
- isDubious: {
81
- type: string;
82
- };
83
- day: {
84
- type: string;
85
- };
86
- month: {
87
- type: string;
88
- };
89
- hint: {
90
- type: string[];
91
- };
92
- };
93
- };
94
- b: {
95
- type: string;
96
- required: string[];
97
- properties: {
98
- value: {
99
- type: string;
100
- };
101
- isCentury: {
102
- type: string;
103
- };
104
- isSpan: {
105
- type: string;
106
- };
107
- isApproximate: {
108
- type: string;
109
- };
110
- isDubious: {
111
- type: string;
112
- };
113
- day: {
114
- type: string;
115
- };
116
- month: {
117
- type: string;
118
- };
119
- hint: {
120
- type: string[];
121
- };
122
- };
123
- };
124
- assertion: {
125
- type: string;
126
- required: string[];
127
- properties: {
128
- tag: {
129
- type: string;
130
- };
131
- rank: {
132
- type: string;
133
- };
134
- note: {
135
- type: string;
136
- };
137
- references: {
138
- type: string;
139
- items: {
140
- anyOf: {
141
- type: string;
142
- required: string[];
143
- properties: {
144
- type: {
145
- type: string;
146
- };
147
- tag: {
148
- type: string;
149
- };
150
- citation: {
151
- type: string;
152
- };
153
- note: {
154
- type: string;
155
- };
156
- };
157
- }[];
158
- };
159
- };
160
- };
161
- };
162
- };
163
- }[];
164
- };
165
- };
166
- };
167
- };
@@ -1,23 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { ThesaurusEntry } from '@myrmidon/cadmus-core';
3
- import { FormGroup, FormArray, FormBuilder } from '@angular/forms';
4
- import { BibAuthor } from '../bibliography-part';
5
- import * as i0 from "@angular/core";
6
- export declare class BibAuthorsEditorComponent implements OnInit {
7
- private _formBuilder;
8
- readonly parentForm: import("@angular/core").InputSignal<FormGroup<any>>;
9
- readonly controlName: import("@angular/core").InputSignal<string>;
10
- readonly roleEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
11
- authors?: FormArray;
12
- constructor(_formBuilder: FormBuilder);
13
- ngOnInit(): void;
14
- private getAuthorGroup;
15
- addAuthor(item?: BibAuthor): void;
16
- addAuthorBelow(index: number): void;
17
- removeAuthor(index: number): void;
18
- moveAuthorUp(index: number): void;
19
- moveAuthorDown(index: number): void;
20
- clearAuthors(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<BibAuthorsEditorComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<BibAuthorsEditorComponent, "cadmus-bib-authors-editor", never, { "parentForm": { "alias": "parentForm"; "required": true; "isSignal": true; }; "controlName": { "alias": "controlName"; "required": false; "isSignal": true; }; "roleEntries": { "alias": "roleEntries"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
23
- }
@@ -1,59 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { ThesaurusEntry } from '@myrmidon/cadmus-core';
3
- import { FormGroup, FormBuilder, FormControl, FormArray } from '@angular/forms';
4
- import { Keyword } from '../keywords-part';
5
- import { BibEntry } from '../bibliography-part';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Bibliography entry editor used by BibliographyPartComponent to edit a single
9
- * entry in the bibliography part.
10
- */
11
- export declare class BibliographyEntryComponent implements OnInit, OnDestroy {
12
- private _formBuilder;
13
- private _sub?;
14
- readonly entry: import("@angular/core").ModelSignal<BibEntry | undefined>;
15
- readonly langEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
16
- readonly typeEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
17
- readonly tagEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
18
- readonly roleEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
19
- readonly editorClose: import("@angular/core").OutputEmitterRef<void>;
20
- key: FormControl<string | null>;
21
- type: FormControl<string | null>;
22
- tag: FormControl<string | null>;
23
- language: FormControl<string | null>;
24
- authors: FormArray;
25
- title: FormControl<string | null>;
26
- note: FormControl<string | null>;
27
- contributors: FormArray;
28
- container: FormControl<string | null>;
29
- edition: FormControl<number | null>;
30
- number: FormControl<string | null>;
31
- publisher: FormControl<string | null>;
32
- placePub: FormControl<string | null>;
33
- yearPub: FormControl<number | null>;
34
- location: FormControl<string | null>;
35
- accessDate: FormControl<Date | null>;
36
- firstPage: FormControl<number | null>;
37
- lastPage: FormControl<number | null>;
38
- keywords: Keyword[];
39
- keyLanguage: FormControl<string | null>;
40
- keyValue: FormControl<string | null>;
41
- keyForm: FormGroup;
42
- form: FormGroup;
43
- constructor(_formBuilder: FormBuilder);
44
- ngOnInit(): void;
45
- ngOnDestroy(): void;
46
- private getAuthorGroup;
47
- private setAuthors;
48
- private updateForm;
49
- private getAuthors;
50
- private getEntry;
51
- addKeyword(): void;
52
- deleteKeyword(index: number): void;
53
- moveKeywordUp(index: number): void;
54
- moveKeywordDown(index: number): void;
55
- cancel(): void;
56
- save(): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<BibliographyEntryComponent, never>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<BibliographyEntryComponent, "cadmus-bibliography-entry", never, { "entry": { "alias": "entry"; "required": false; "isSignal": true; }; "langEntries": { "alias": "langEntries"; "required": false; "isSignal": true; }; "typeEntries": { "alias": "typeEntries"; "required": false; "isSignal": true; }; "tagEntries": { "alias": "tagEntries"; "required": false; "isSignal": true; }; "roleEntries": { "alias": "roleEntries"; "required": false; "isSignal": true; }; }, { "entry": "entryChange"; "editorClose": "editorClose"; }, never, never, true, never>;
59
- }
@@ -1,41 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormBuilder, FormControl, FormGroup, UntypedFormGroup } from '@angular/forms';
3
- import { DialogService } from '@myrmidon/ngx-mat-tools';
4
- import { AuthJwtService } from '@myrmidon/auth-jwt-login';
5
- import { ThesaurusEntry } from '@myrmidon/cadmus-core';
6
- import { EditedObject, ModelEditorComponentBase } from '@myrmidon/cadmus-ui';
7
- import { BibliographyPart, BibEntry, BibAuthor } from '../bibliography-part';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * Bibliography part editor.
11
- * Thesauri: bibliography-languages, bibliography-types (optional),
12
- * bibliography-tags (optional), bibliography-author-roles (optional).
13
- */
14
- export declare class BibliographyPartComponent extends ModelEditorComponentBase<BibliographyPart> implements OnInit {
15
- private _dialogService;
16
- private _editedEntryIndex;
17
- editedEntry?: BibEntry;
18
- langEntries: ThesaurusEntry[] | undefined;
19
- roleEntries: ThesaurusEntry[] | undefined;
20
- tagEntries: ThesaurusEntry[] | undefined;
21
- typeEntries: ThesaurusEntry[] | undefined;
22
- entries: FormControl<BibEntry[]>;
23
- constructor(authService: AuthJwtService, formBuilder: FormBuilder, _dialogService: DialogService);
24
- ngOnInit(): void;
25
- protected buildForm(formBuilder: FormBuilder): FormGroup | UntypedFormGroup;
26
- private updateThesauri;
27
- private updateForm;
28
- protected onDataSet(data?: EditedObject<BibliographyPart>): void;
29
- entryTypeToString(id?: string): string;
30
- protected getValue(): BibliographyPart;
31
- addEntry(): void;
32
- editEntry(entry: BibEntry, index: number): void;
33
- closeEntry(): void;
34
- saveEntry(entry: BibEntry): void;
35
- removeEntry(index: number): void;
36
- moveEntryUp(index: number): void;
37
- moveEntryDown(index: number): void;
38
- getAuthors(authors: BibAuthor[]): string;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<BibliographyPartComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<BibliographyPartComponent, "cadmus-bibliography-part", never, {}, {}, never, never, true, never>;
41
- }
@@ -1,199 +0,0 @@
1
- import { Part } from '@myrmidon/cadmus-core';
2
- import { Keyword } from './keywords-part';
3
- export interface BibAuthor {
4
- firstName?: string;
5
- lastName: string;
6
- roleId?: string;
7
- }
8
- export interface BibEntry {
9
- key?: string;
10
- typeId: string;
11
- tag?: string;
12
- authors?: BibAuthor[];
13
- title: string;
14
- language: string;
15
- container?: string;
16
- contributors?: BibAuthor[];
17
- edition?: number;
18
- number?: string;
19
- publisher?: string;
20
- yearPub?: number;
21
- placePub?: string;
22
- location?: string;
23
- accessDate?: Date;
24
- firstPage?: number;
25
- lastPage?: number;
26
- keywords?: Keyword[];
27
- note?: string;
28
- }
29
- /**
30
- * The bibliography part model.
31
- */
32
- export interface BibliographyPart extends Part {
33
- entries: BibEntry[];
34
- }
35
- /**
36
- * The type ID used to identify the BibliographyPart type.
37
- */
38
- export declare const BIBLIOGRAPHY_PART_TYPEID = "it.vedph.bibliography";
39
- /**
40
- * JSON schema for the Bibliography part. This is used in the editor demo.
41
- * You can use the JSON schema tool at https://jsonschema.net/.
42
- */
43
- export declare const BIBLIOGRAPHY_PART_SCHEMA: {
44
- $schema: string;
45
- $id: string;
46
- type: string;
47
- title: string;
48
- required: string[];
49
- properties: {
50
- timeCreated: {
51
- type: string;
52
- pattern: string;
53
- };
54
- creatorId: {
55
- type: string;
56
- };
57
- timeModified: {
58
- type: string;
59
- pattern: string;
60
- };
61
- userId: {
62
- type: string;
63
- };
64
- id: {
65
- type: string;
66
- pattern: string;
67
- };
68
- itemId: {
69
- type: string;
70
- pattern: string;
71
- };
72
- key: {
73
- type: string;
74
- };
75
- typeId: {
76
- type: string;
77
- pattern: string;
78
- };
79
- tag: {
80
- type: string;
81
- };
82
- roleId: {
83
- type: string[];
84
- pattern: string;
85
- };
86
- entries: {
87
- type: string;
88
- items: {
89
- anyOf: {
90
- type: string;
91
- required: string[];
92
- properties: {
93
- typeId: {
94
- type: string;
95
- pattern: string;
96
- };
97
- authors: {
98
- type: string;
99
- items: {
100
- anyOf: {
101
- type: string;
102
- required: string[];
103
- properties: {
104
- firstName: {
105
- type: string;
106
- };
107
- lastName: {
108
- type: string;
109
- };
110
- roleId: {
111
- type: string;
112
- };
113
- };
114
- }[];
115
- };
116
- };
117
- title: {
118
- type: string;
119
- };
120
- language: {
121
- type: string;
122
- };
123
- container: {
124
- type: string;
125
- };
126
- contributors: {
127
- type: string[];
128
- items: {
129
- anyOf: {
130
- type: string;
131
- required: string[];
132
- properties: {
133
- firstName: {
134
- type: string;
135
- };
136
- lastName: {
137
- type: string;
138
- };
139
- roleId: {
140
- type: string;
141
- };
142
- };
143
- }[];
144
- };
145
- };
146
- edition: {
147
- type: string;
148
- };
149
- number: {
150
- type: string;
151
- };
152
- publisher: {
153
- type: string;
154
- };
155
- yearPub: {
156
- type: string;
157
- };
158
- placePub: {
159
- type: string;
160
- };
161
- location: {
162
- type: string;
163
- };
164
- accessDate: {
165
- type: string;
166
- pattern: string;
167
- };
168
- firstPage: {
169
- title: string;
170
- };
171
- lastPage: {
172
- type: string;
173
- };
174
- keywords: {
175
- type: string[];
176
- items: {
177
- anyOf: {
178
- type: string;
179
- required: string[];
180
- properties: {
181
- language: {
182
- type: string;
183
- };
184
- value: {
185
- type: string;
186
- };
187
- };
188
- }[];
189
- };
190
- };
191
- note: {
192
- type: string;
193
- };
194
- };
195
- }[];
196
- };
197
- };
198
- };
199
- };
@@ -1,26 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormControl, FormBuilder, FormGroup, UntypedFormGroup } from '@angular/forms';
3
- import { AuthJwtService } from '@myrmidon/auth-jwt-login';
4
- import { ThesaurusEntry } from '@myrmidon/cadmus-core';
5
- import { EditedObject, ModelEditorComponentBase } from '@myrmidon/cadmus-ui';
6
- import { CategoriesPart } from '../categories-part';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * Categories component editor.
10
- * Thesaurus: categories (required).
11
- */
12
- export declare class CategoriesPartComponent extends ModelEditorComponentBase<CategoriesPart> implements OnInit {
13
- categories: FormControl<ThesaurusEntry[]>;
14
- entries?: ThesaurusEntry[];
15
- constructor(authService: AuthJwtService, formBuilder: FormBuilder);
16
- ngOnInit(): void;
17
- protected buildForm(formBuilder: FormBuilder): FormGroup | UntypedFormGroup;
18
- private updateForm;
19
- protected getValue(): CategoriesPart;
20
- protected onDataSet(data?: EditedObject<CategoriesPart>): void;
21
- onEntryChange(entry: ThesaurusEntry): void;
22
- removeCategory(index: number): void;
23
- renderLabel(label: string): string;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<CategoriesPartComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<CategoriesPartComponent, "cadmus-categories-part", never, {}, {}, never, never, true, never>;
26
- }