@myrmidon/cadmus-part-general-ui 12.0.2 → 14.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 +177 -181
  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
@@ -1,111 +0,0 @@
1
- import { Fragment } from '@myrmidon/cadmus-core';
2
- import { AssertedCompositeId } from '@myrmidon/cadmus-refs-asserted-ids';
3
- /**
4
- * The pin-based links layer fragment server model.
5
- */
6
- export interface PinLinksFragment extends Fragment {
7
- links: AssertedCompositeId[];
8
- }
9
- export declare const PIN_LINKS_FRAGMENT_TYPEID = "fr.it.vedph.pin-links";
10
- export declare const PIN_LINKS_FRAGMENT_SCHEMA: {
11
- definitions: {};
12
- $schema: string;
13
- $id: string;
14
- type: string;
15
- title: string;
16
- required: string[];
17
- properties: {
18
- location: {
19
- $id: string;
20
- type: string;
21
- };
22
- baseText: {
23
- $id: string;
24
- type: string;
25
- };
26
- links: {
27
- type: string;
28
- items: {
29
- type: string;
30
- default: {};
31
- required: string[];
32
- properties: {
33
- target: {
34
- type: string;
35
- required: string[];
36
- properties: {
37
- gid: {
38
- type: string;
39
- };
40
- label: {
41
- type: string;
42
- };
43
- itemId: {
44
- type: string;
45
- };
46
- partId: {
47
- type: string;
48
- };
49
- partTypeId: {
50
- type: string;
51
- };
52
- roleId: {
53
- type: string;
54
- };
55
- name: {
56
- type: string;
57
- };
58
- value: {
59
- type: string;
60
- };
61
- };
62
- };
63
- scope: {
64
- type: string;
65
- };
66
- tag: {
67
- type: string;
68
- };
69
- assertion: {
70
- type: string;
71
- required: string[];
72
- properties: {
73
- tag: {
74
- type: string;
75
- };
76
- rank: {
77
- type: string;
78
- };
79
- note: {
80
- type: string;
81
- };
82
- references: {
83
- type: string;
84
- items: {
85
- anyOf: {
86
- type: string;
87
- required: string[];
88
- properties: {
89
- type: {
90
- type: string;
91
- };
92
- tag: {
93
- type: string;
94
- };
95
- citation: {
96
- type: string;
97
- };
98
- note: {
99
- type: string;
100
- };
101
- };
102
- }[];
103
- };
104
- };
105
- };
106
- };
107
- };
108
- };
109
- };
110
- };
111
- };
@@ -1,41 +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 { AssertedCompositeId } from '@myrmidon/cadmus-refs-asserted-ids';
5
- import { ThesaurusEntry } from '@myrmidon/cadmus-core';
6
- import { EditedObject, ModelEditorComponentBase } from '@myrmidon/cadmus-ui';
7
- import { PinLinksPart } from '../pin-links-part';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * PinLinksPart editor component.
11
- * Thesauri: pin-link-scopes, pin-link-tags, pin-link-assertion-tags,
12
- * pin-link-docref-types, pin-link-docref-tags, pin-link-settings.
13
- */
14
- export declare class PinLinksPartComponent extends ModelEditorComponentBase<PinLinksPart> implements OnInit {
15
- links: FormControl<AssertedCompositeId[]>;
16
- pinByTypeMode?: boolean;
17
- canSwitchMode?: boolean;
18
- canEditTarget?: boolean;
19
- idScopeEntries?: ThesaurusEntry[];
20
- idTagEntries?: ThesaurusEntry[];
21
- assTagEntries?: ThesaurusEntry[];
22
- refTypeEntries?: ThesaurusEntry[];
23
- refTagEntries?: ThesaurusEntry[];
24
- setTagEntries?: ThesaurusEntry[];
25
- constructor(authService: AuthJwtService, formBuilder: FormBuilder);
26
- ngOnInit(): void;
27
- protected buildForm(formBuilder: FormBuilder): FormGroup | UntypedFormGroup;
28
- /**
29
- * Load settings from thesaurus entries.
30
- *
31
- * @param entries The thesaurus entries if any.
32
- */
33
- private loadSettings;
34
- private updateThesauri;
35
- private updateForm;
36
- protected onDataSet(data?: EditedObject<PinLinksPart>): void;
37
- protected getValue(): PinLinksPart;
38
- onIdsChange(ids: AssertedCompositeId[]): void;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<PinLinksPartComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<PinLinksPartComponent, "cadmus-pin-links-part", never, {}, {}, never, never, true, never>;
41
- }
@@ -1,139 +0,0 @@
1
- import { Part } from '@myrmidon/cadmus-core';
2
- import { AssertedCompositeId } from '@myrmidon/cadmus-refs-asserted-ids';
3
- /**
4
- * The PinLinks part model.
5
- */
6
- export interface PinLinksPart extends Part {
7
- links: AssertedCompositeId[];
8
- }
9
- /**
10
- * The type ID used to identify the PinLinksPart type.
11
- */
12
- export declare const PIN_LINKS_PART_TYPEID = "it.vedph.pin-links";
13
- /**
14
- * JSON schema for the PinLinks part.
15
- * You can use the JSON schema tool at https://jsonschema.net/.
16
- */
17
- export declare const PIN_LINKS_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
- links: {
55
- type: string;
56
- items: {
57
- type: string;
58
- default: {};
59
- required: string[];
60
- properties: {
61
- target: {
62
- type: string;
63
- required: string[];
64
- properties: {
65
- gid: {
66
- type: string;
67
- };
68
- label: {
69
- type: string;
70
- };
71
- itemId: {
72
- type: string;
73
- };
74
- partId: {
75
- type: string;
76
- };
77
- partTypeId: {
78
- type: string;
79
- };
80
- roleId: {
81
- type: string;
82
- };
83
- name: {
84
- type: string;
85
- };
86
- value: {
87
- type: string;
88
- };
89
- };
90
- };
91
- scope: {
92
- type: string;
93
- };
94
- tag: {
95
- type: string;
96
- };
97
- assertion: {
98
- type: string;
99
- required: string[];
100
- properties: {
101
- tag: {
102
- type: string;
103
- };
104
- rank: {
105
- type: string;
106
- };
107
- note: {
108
- type: string;
109
- };
110
- references: {
111
- type: string;
112
- items: {
113
- anyOf: {
114
- type: string;
115
- required: string[];
116
- properties: {
117
- type: {
118
- type: string;
119
- };
120
- tag: {
121
- type: string;
122
- };
123
- citation: {
124
- type: string;
125
- };
126
- note: {
127
- type: string;
128
- };
129
- };
130
- }[];
131
- };
132
- };
133
- };
134
- };
135
- };
136
- };
137
- };
138
- };
139
- };
@@ -1,44 +0,0 @@
1
- import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
2
- import { AssertedCompositeId } from '@myrmidon/cadmus-refs-asserted-ids';
3
- import { ThesaurusEntry } from '@myrmidon/cadmus-core';
4
- import { RelatedEntity } from '../historical-events-part';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Related entity component to edit the entity related to a historical event.
8
- */
9
- export declare class RelatedEntityComponent {
10
- readonly entity: import("@angular/core").ModelSignal<RelatedEntity | undefined>;
11
- readonly relationEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
12
- readonly idScopeEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
13
- /**
14
- * Thesaurus asserted-id-tags.
15
- */
16
- readonly idTagEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
17
- /**
18
- * Thesaurus assertion-tags.
19
- */
20
- readonly assTagEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
21
- /**
22
- * Thesaurus doc-reference-tags.
23
- */
24
- readonly refTagEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
25
- /**
26
- * Thesaurus doc-reference-types.
27
- */
28
- readonly refTypeEntries: import("@angular/core").InputSignal<ThesaurusEntry[] | undefined>;
29
- readonly pinByTypeMode: import("@angular/core").InputSignal<boolean | undefined>;
30
- readonly canSwitchMode: import("@angular/core").InputSignal<boolean | undefined>;
31
- readonly canEditTarget: import("@angular/core").InputSignal<boolean | undefined>;
32
- readonly editorClose: import("@angular/core").OutputEmitterRef<void>;
33
- relation: FormControl<string | null>;
34
- id: FormControl<AssertedCompositeId | null>;
35
- form: FormGroup;
36
- constructor(formBuilder: FormBuilder);
37
- private updateForm;
38
- private getEntity;
39
- onIdChange(id: AssertedCompositeId): void;
40
- cancel(): void;
41
- save(): void;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<RelatedEntityComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<RelatedEntityComponent, "cadmus-related-entity", never, { "entity": { "alias": "entity"; "required": false; "isSignal": true; }; "relationEntries": { "alias": "relationEntries"; "required": false; "isSignal": true; }; "idScopeEntries": { "alias": "idScopeEntries"; "required": false; "isSignal": true; }; "idTagEntries": { "alias": "idTagEntries"; "required": false; "isSignal": true; }; "assTagEntries": { "alias": "assTagEntries"; "required": false; "isSignal": true; }; "refTagEntries": { "alias": "refTagEntries"; "required": false; "isSignal": true; }; "refTypeEntries": { "alias": "refTypeEntries"; "required": false; "isSignal": true; }; "pinByTypeMode": { "alias": "pinByTypeMode"; "required": false; "isSignal": true; }; "canSwitchMode": { "alias": "canSwitchMode"; "required": false; "isSignal": true; }; "canEditTarget": { "alias": "canEditTarget"; "required": false; "isSignal": true; }; }, { "entity": "entityChange"; "editorClose": "editorClose"; }, never, never, true, never>;
44
- }
@@ -1,34 +0,0 @@
1
- import { OnInit, ElementRef, OnDestroy } from '@angular/core';
2
- import { FormControl, FormGroup, FormBuilder } from '@angular/forms';
3
- import { TextTile } from '../tiled-text-part';
4
- import * as i0 from "@angular/core";
5
- export declare class TextTileComponent implements OnInit, OnDestroy {
6
- private _sub?;
7
- private _checkedChangeFrozen?;
8
- textElement?: ElementRef;
9
- readonly selected: import("@angular/core").InputSignal<boolean | undefined>;
10
- readonly checkable: import("@angular/core").InputSignal<boolean | undefined>;
11
- readonly readonly: import("@angular/core").InputSignal<boolean | undefined>;
12
- readonly color: import("@angular/core").InputSignal<string | undefined>;
13
- readonly checked: import("@angular/core").ModelSignal<boolean>;
14
- readonly tile: import("@angular/core").ModelSignal<TextTile | undefined>;
15
- readonly editData: import("@angular/core").OutputEmitterRef<TextTile>;
16
- editedText: FormControl<string | null>;
17
- checker: FormControl<boolean>;
18
- form: FormGroup;
19
- text?: string;
20
- editing?: boolean;
21
- constructor(formBuilder: FormBuilder);
22
- ngOnInit(): void;
23
- ngOnDestroy(): void;
24
- private updateForm;
25
- requestDataEdit(): void;
26
- toggleCheckedNonEdit(): void;
27
- edit(): void;
28
- requestEditData(): void;
29
- cancel(): void;
30
- private getTile;
31
- save(): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<TextTileComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<TextTileComponent, "cadmus-text-tile", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "checkable": { "alias": "checkable"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "tile": { "alias": "tile"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "tile": "tileChange"; "editData": "editData"; }, never, never, true, never>;
34
- }
@@ -1,43 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { FormControl, FormBuilder, FormGroup } from '@angular/forms';
3
- import { DialogService } from '@myrmidon/ngx-mat-tools';
4
- import * as i0 from "@angular/core";
5
- interface Data {
6
- [key: string]: any;
7
- }
8
- interface DataKey {
9
- value: string;
10
- visible: boolean;
11
- }
12
- export declare class TiledDataComponent implements OnInit, OnDestroy {
13
- private _formBuilder;
14
- private _dialogService;
15
- private _sub?;
16
- private _hiddenData;
17
- keys: DataKey[];
18
- readonly title: import("@angular/core").InputSignal<string | undefined>;
19
- readonly data: import("@angular/core").ModelSignal<Data>;
20
- readonly hiddenKeys: import("@angular/core").InputSignal<string[]>;
21
- readonly cancel: import("@angular/core").OutputEmitterRef<void>;
22
- keyFilter: FormControl<string | null>;
23
- filterForm: FormGroup;
24
- newKey: FormControl<string | null>;
25
- newValue: FormControl<string | null>;
26
- newForm: FormGroup;
27
- form: FormGroup;
28
- constructor(_formBuilder: FormBuilder, _dialogService: DialogService);
29
- ngOnInit(): void;
30
- ngOnDestroy(): void;
31
- private matchesFilter;
32
- isVisibleKey(key: string): boolean;
33
- private updateForm;
34
- private updateDataVisibility;
35
- private getData;
36
- deleteDatum(key: DataKey): void;
37
- addDatum(): void;
38
- close(): void;
39
- save(): void;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<TiledDataComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<TiledDataComponent, "cadmus-tiled-data", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "hiddenKeys": { "alias": "hiddenKeys"; "required": false; "isSignal": true; }; }, { "data": "dataChange"; "cancel": "cancel"; }, never, never, true, never>;
42
- }
43
- export {};
@@ -1,71 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { EditedObject, ModelEditorComponentBase } from '@myrmidon/cadmus-ui';
3
- import { FormControl, FormBuilder, FormGroup, UntypedFormGroup } from '@angular/forms';
4
- import { CdkDragDrop } from '@angular/cdk/drag-drop';
5
- import { DialogService } from '@myrmidon/ngx-mat-tools';
6
- import { AuthJwtService } from '@myrmidon/auth-jwt-login';
7
- import { TiledTextPart, TextTileRow, TextTile } from '../tiled-text-part';
8
- import * as i0 from "@angular/core";
9
- interface Data {
10
- [key: string]: any;
11
- }
12
- export declare class TiledTextPartComponent extends ModelEditorComponentBase<TiledTextPart> implements OnInit {
13
- private _dialogService;
14
- private _editedDataTile?;
15
- private _editedDataRow?;
16
- selectedTile?: TextTile;
17
- citation: FormControl<string | null>;
18
- rows: FormControl<TextTileRow[]>;
19
- editedData?: Data;
20
- editedDataTitle?: string;
21
- currentTabIndex: number;
22
- constructor(authService: AuthJwtService, formBuilder: FormBuilder, _dialogService: DialogService);
23
- ngOnInit(): void;
24
- protected buildForm(formBuilder: FormBuilder): FormGroup | UntypedFormGroup;
25
- private updateForm;
26
- protected onDataSet(data?: EditedObject<TiledTextPart>): void;
27
- /**
28
- * Recalculate the coordinates of all the tiles in this set,
29
- * according to the tiles position.
30
- */
31
- private adjustCoords;
32
- protected getValue(): TiledTextPart;
33
- /**
34
- * Append a new row at the bottom.
35
- */
36
- addRow(): void;
37
- /**
38
- * Append a new tile at the end of the specified row.
39
- * @param row The row to add the tile to.
40
- */
41
- addTile(row: TextTileRow): void;
42
- /**
43
- * Delete the selected tile, if any.
44
- */
45
- deleteSelectedTile(): void;
46
- /**
47
- * Delete the row at the specified index.
48
- * @param rowIndex The row's index.
49
- */
50
- deleteRow(rowIndex: number): void;
51
- /**
52
- * Move the row at the specified index up.
53
- * @param rowIndex The row index.
54
- */
55
- moveRowUp(rowIndex: number): void;
56
- /**
57
- * Move the row at the specified index down.
58
- * @param rowIndex The row index.
59
- */
60
- moveRowDown(rowIndex: number): void;
61
- drop(event: CdkDragDrop<TextTile[]>, row: TextTileRow): void;
62
- onTileChange(tile: TextTile): void;
63
- editRowData(row: TextTileRow): void;
64
- editTileData(tile: TextTile): void;
65
- closeDataEditor(): void;
66
- saveEditedData(data: Data): void;
67
- getTileCoords(tile?: TextTile): string;
68
- static ɵfac: i0.ɵɵFactoryDeclaration<TiledTextPartComponent, never>;
69
- static ɵcmp: i0.ɵɵComponentDeclaration<TiledTextPartComponent, "cadmus-tiled-text-part", never, {}, {}, never, never, true, never>;
70
- }
71
- export {};
@@ -1,127 +0,0 @@
1
- import { Part } from '@myrmidon/cadmus-core';
2
- /**
3
- * The name of the text tile part data representing its text.
4
- */
5
- export declare const TEXT_TILE_TEXT_DATA_NAME = "text";
6
- /**
7
- * A tile in a tiled text row.
8
- */
9
- export interface TextTile {
10
- x: number;
11
- data?: {
12
- [key: string]: any;
13
- };
14
- }
15
- /**
16
- * A row in the tiled text part.
17
- */
18
- export interface TextTileRow {
19
- y: number;
20
- tiles: TextTile[];
21
- data?: {
22
- [key: string]: any;
23
- };
24
- }
25
- /**
26
- * The tiled text part model.
27
- */
28
- export interface TiledTextPart extends Part {
29
- citation?: string;
30
- rows: TextTileRow[];
31
- }
32
- /**
33
- * The type ID used to identify the TiledTextPart type.
34
- */
35
- export declare const TILED_TEXT_PART_TYPEID = "it.vedph.tiled-text";
36
- /**
37
- * JSON schema for the tiled text part. This is used in the editor demo.
38
- * You can use the JSON schema tool at https://jsonschema.net/.
39
- */
40
- export declare const TILEDTEXTPART_SCHEMA: {
41
- $schema: string;
42
- $id: string;
43
- type: string;
44
- title: string;
45
- required: string[];
46
- properties: {
47
- timeCreated: {
48
- type: string;
49
- pattern: string;
50
- };
51
- creatorId: {
52
- type: string;
53
- };
54
- timeModified: {
55
- type: string;
56
- pattern: string;
57
- };
58
- userId: {
59
- type: string;
60
- };
61
- id: {
62
- type: string;
63
- pattern: string;
64
- };
65
- itemId: {
66
- type: string;
67
- pattern: string;
68
- };
69
- typeId: {
70
- type: string;
71
- pattern: string;
72
- };
73
- roleId: {
74
- type: string[];
75
- pattern: string;
76
- };
77
- citation: {
78
- type: string[];
79
- };
80
- rows: {
81
- type: string;
82
- items: {
83
- type: string;
84
- required: string[];
85
- properties: {
86
- y: {
87
- type: string;
88
- minimum: number;
89
- };
90
- tiles: {
91
- type: string;
92
- items: {
93
- type: string;
94
- required: string[];
95
- properties: {
96
- x: {
97
- type: string;
98
- minimum: number;
99
- };
100
- data: {
101
- type: string;
102
- patternProperties: {
103
- '^.*$': {
104
- anyOf: {
105
- type: string;
106
- }[];
107
- };
108
- };
109
- };
110
- };
111
- };
112
- };
113
- };
114
- data: {
115
- type: string;
116
- patternProperties: {
117
- '^.*$': {
118
- anyOf: {
119
- type: string;
120
- }[];
121
- };
122
- };
123
- };
124
- };
125
- };
126
- };
127
- };
@@ -1,35 +0,0 @@
1
- import { OnDestroy, 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 { EditedObject, ModelEditorComponentBase } from '@myrmidon/cadmus-ui';
6
- import { TokenTextPart } from '../token-text-part';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * Editor component for base text, as referenced by token-based layers.
10
- * Thesauri: none.
11
- */
12
- export declare class TokenTextPartComponent extends ModelEditorComponentBase<TokenTextPart> implements OnInit, OnDestroy {
13
- private _dialogService;
14
- private readonly _disposables;
15
- private _editorModel?;
16
- private _editor?;
17
- citation: FormControl<string | null>;
18
- text: FormControl<string | null>;
19
- transform: FormControl<string | null>;
20
- constructor(authService: AuthJwtService, formBuilder: FormBuilder, _dialogService: DialogService);
21
- ngOnInit(): void;
22
- ngOnDestroy(): void;
23
- onCreateEditor(editor: monaco.editor.IEditor): void;
24
- protected buildForm(formBuilder: FormBuilder): FormGroup | UntypedFormGroup;
25
- private getTextFromModel;
26
- private getLinesFromText;
27
- private updateForm;
28
- protected onDataSet(data?: EditedObject<TokenTextPart>): void;
29
- protected getValue(): TokenTextPart;
30
- private normalizeWs;
31
- private splitAtStops;
32
- applyTransform(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<TokenTextPartComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<TokenTextPartComponent, "cadmus-token-text-part", never, {}, {}, never, never, true, never>;
35
- }