@myrmidon/cadmus-part-general-pg 9.0.2 → 10.1.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.
- package/fesm2022/myrmidon-cadmus-part-general-pg.mjs +80 -91
- package/fesm2022/myrmidon-cadmus-part-general-pg.mjs.map +1 -1
- package/lib/cadmus-part-general-pg.module.d.ts +6 -8
- package/lib/tiled-text-layer-part-feature/tiled-text-layer-part-feature.component.d.ts +1 -1
- package/lib/token-text-layer-part-feature/token-text-layer-part-feature.component.d.ts +1 -1
- package/package.json +8 -8
|
@@ -16,8 +16,7 @@ import * as i5$1 from '@myrmidon/cadmus-ui';
|
|
|
16
16
|
import { CadmusUiModule } from '@myrmidon/cadmus-ui';
|
|
17
17
|
import { map } from 'rxjs';
|
|
18
18
|
import * as i4$2 from '@myrmidon/cadmus-item-editor';
|
|
19
|
-
import * as i5$2 from '@myrmidon/
|
|
20
|
-
import { NgMatToolsModule } from '@myrmidon/ng-mat-tools';
|
|
19
|
+
import * as i5$2 from '@myrmidon/ngx-mat-tools';
|
|
21
20
|
import * as i7 from '@angular/material/button';
|
|
22
21
|
import { MatButtonModule } from '@angular/material/button';
|
|
23
22
|
import * as i8 from '@angular/material/card';
|
|
@@ -39,7 +38,6 @@ import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
|
39
38
|
import { MatInputModule } from '@angular/material/input';
|
|
40
39
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
41
40
|
import { MatSelectModule } from '@angular/material/select';
|
|
42
|
-
import { NgToolsModule } from '@myrmidon/ng-tools';
|
|
43
41
|
|
|
44
42
|
class BibliographyPartFeatureComponent extends EditPartFeatureBase {
|
|
45
43
|
constructor(router, route, snackbar, itemService, thesaurusService, editorService) {
|
|
@@ -53,10 +51,10 @@ class BibliographyPartFeatureComponent extends EditPartFeatureBase {
|
|
|
53
51
|
'bibliography-author-roles',
|
|
54
52
|
];
|
|
55
53
|
}
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
57
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: BibliographyPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
55
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: BibliographyPartFeatureComponent, isStandalone: false, selector: "cadmus-bibliography-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-bibliography-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-bibliography-part>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.BibliographyPartComponent, selector: "cadmus-bibliography-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
58
56
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: BibliographyPartFeatureComponent, decorators: [{
|
|
60
58
|
type: Component,
|
|
61
59
|
args: [{ selector: 'cadmus-bibliography-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-bibliography-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-bibliography-part>\r\n" }]
|
|
62
60
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -69,10 +67,10 @@ class CategoriesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
69
67
|
getReqThesauriIds() {
|
|
70
68
|
return ['categories'];
|
|
71
69
|
}
|
|
72
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
73
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CategoriesPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
71
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: CategoriesPartFeatureComponent, isStandalone: false, selector: "cadmus-categories-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-categories-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-categories-part>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.CategoriesPartComponent, selector: "cadmus-categories-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
74
72
|
}
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CategoriesPartFeatureComponent, decorators: [{
|
|
76
74
|
type: Component,
|
|
77
75
|
args: [{ selector: 'cadmus-categories-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-categories-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-categories-part>\r\n" }]
|
|
78
76
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -84,10 +82,10 @@ class ChronologyFragmentFeatureComponent extends EditFragmentFeatureBase {
|
|
|
84
82
|
getReqThesauriIds() {
|
|
85
83
|
return ['chronology-tags'];
|
|
86
84
|
}
|
|
87
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
88
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
85
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: ChronologyFragmentFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i4.FragmentEditorService }, { token: i4$1.LibraryRouteService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
86
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: ChronologyFragmentFeatureComponent, isStandalone: false, selector: "cadmus-chronology-fragment-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<div class=\"base-text\">\r\n <cadmus-decorated-token-text\r\n [baseText]=\"data?.baseText || ''\"\r\n [locations]=\"frLoc ? [frLoc] : []\"\r\n ></cadmus-decorated-token-text>\r\n</div>\r\n<cadmus-chronology-fragment\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-chronology-fragment>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5$1.DecoratedTokenTextComponent, selector: "cadmus-decorated-token-text", inputs: ["baseText", "locations", "selectedLocation"] }, { kind: "component", type: i5.ChronologyFragmentComponent, selector: "cadmus-chronology-fragment" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
89
87
|
}
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: ChronologyFragmentFeatureComponent, decorators: [{
|
|
91
89
|
type: Component,
|
|
92
90
|
args: [{ selector: 'cadmus-chronology-fragment-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<div class=\"base-text\">\r\n <cadmus-decorated-token-text\r\n [baseText]=\"data?.baseText || ''\"\r\n [locations]=\"frLoc ? [frLoc] : []\"\r\n ></cadmus-decorated-token-text>\r\n</div>\r\n<cadmus-chronology-fragment\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-chronology-fragment>\r\n" }]
|
|
93
91
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i4.FragmentEditorService }, { type: i4$1.LibraryRouteService }] });
|
|
@@ -104,10 +102,10 @@ class ChronotopesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
104
102
|
'doc-reference-tags',
|
|
105
103
|
];
|
|
106
104
|
}
|
|
107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
108
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
105
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: ChronotopesPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
106
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: ChronotopesPartFeatureComponent, isStandalone: false, selector: "cadmus-chronotopes-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-chronotopes-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-chronotopes-part>\n", styles: [""], dependencies: [{ kind: "component", type: i5.ChronotopesPartComponent, selector: "cadmus-chronotopes-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
109
107
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: ChronotopesPartFeatureComponent, decorators: [{
|
|
111
109
|
type: Component,
|
|
112
110
|
args: [{ selector: 'cadmus-chronotopes-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-chronotopes-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-chronotopes-part>\n" }]
|
|
113
111
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -131,10 +129,10 @@ class CommentFragmentFeatureComponent extends EditFragmentFeatureBase {
|
|
|
131
129
|
'pin-link-settings',
|
|
132
130
|
];
|
|
133
131
|
}
|
|
134
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
135
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CommentFragmentFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i4.FragmentEditorService }, { token: i4$1.LibraryRouteService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
133
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: CommentFragmentFeatureComponent, isStandalone: false, selector: "cadmus-comment-fragment-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<div class=\"base-text\">\r\n <cadmus-decorated-token-text\r\n [baseText]=\"data?.baseText || ''\"\r\n [locations]=\"frLoc ? [frLoc] : []\"\r\n ></cadmus-decorated-token-text>\r\n</div>\r\n<cadmus-comment-editor\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($any($event))\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-comment-editor>\r\n", styles: ["div.base-text{margin:12px;border:1px solid #f0f0f0;border-radius:4px;padding:8px}\n"], dependencies: [{ kind: "component", type: i5$1.DecoratedTokenTextComponent, selector: "cadmus-decorated-token-text", inputs: ["baseText", "locations", "selectedLocation"] }, { kind: "component", type: i5.CommentEditorComponent, selector: "cadmus-comment-editor" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
136
134
|
}
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CommentFragmentFeatureComponent, decorators: [{
|
|
138
136
|
type: Component,
|
|
139
137
|
args: [{ selector: 'cadmus-comment-fragment-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<div class=\"base-text\">\r\n <cadmus-decorated-token-text\r\n [baseText]=\"data?.baseText || ''\"\r\n [locations]=\"frLoc ? [frLoc] : []\"\r\n ></cadmus-decorated-token-text>\r\n</div>\r\n<cadmus-comment-editor\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($any($event))\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-comment-editor>\r\n", styles: ["div.base-text{margin:12px;border:1px solid #f0f0f0;border-radius:4px;padding:8px}\n"] }]
|
|
140
138
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i4.FragmentEditorService }, { type: i4$1.LibraryRouteService }] });
|
|
@@ -159,10 +157,10 @@ class CommentPartFeatureComponent extends EditPartFeatureBase {
|
|
|
159
157
|
'pin-link-settings',
|
|
160
158
|
];
|
|
161
159
|
}
|
|
162
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
163
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CommentPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
161
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: CommentPartFeatureComponent, isStandalone: false, selector: "cadmus-comment-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-comment-editor\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($any($event))\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-comment-editor>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.CommentEditorComponent, selector: "cadmus-comment-editor" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
164
162
|
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CommentPartFeatureComponent, decorators: [{
|
|
166
164
|
type: Component,
|
|
167
165
|
args: [{ selector: 'cadmus-comment-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-comment-editor\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($any($event))\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-comment-editor>\r\n" }]
|
|
168
166
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -175,10 +173,10 @@ class DecoratedCountsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
175
173
|
getReqThesauriIds() {
|
|
176
174
|
return ['decorated-count-ids', 'decorated-count-tags'];
|
|
177
175
|
}
|
|
178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
179
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
176
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: DecoratedCountsPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
177
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: DecoratedCountsPartFeatureComponent, isStandalone: false, selector: "cadmus-decorated-counts-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-decorated-counts-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.DecoratedCountsPartComponent, selector: "cadmus-decorated-counts-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
180
178
|
}
|
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: DecoratedCountsPartFeatureComponent, decorators: [{
|
|
182
180
|
type: Component,
|
|
183
181
|
args: [{ selector: 'cadmus-decorated-counts-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-decorated-counts-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
184
182
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -190,10 +188,10 @@ class DistrictLocationPartFeatureComponent extends EditPartFeatureBase {
|
|
|
190
188
|
getReqThesauriIds() {
|
|
191
189
|
return ['district-name-piece-types', 'district-name-lang-entries'];
|
|
192
190
|
}
|
|
193
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
194
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
191
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: DistrictLocationPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
192
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: DistrictLocationPartFeatureComponent, isStandalone: false, selector: "cadmus-district-location-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-district-location-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.DistrictLocationPartComponent, selector: "cadmus-district-location-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
195
193
|
}
|
|
196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: DistrictLocationPartFeatureComponent, decorators: [{
|
|
197
195
|
type: Component,
|
|
198
196
|
args: [{ selector: 'cadmus-district-location-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-district-location-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
199
197
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -205,10 +203,10 @@ class DocReferencesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
205
203
|
getReqThesauriIds() {
|
|
206
204
|
return ['doc-reference-tags', 'doc-reference-types'];
|
|
207
205
|
}
|
|
208
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
209
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: DocReferencesPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
207
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: DocReferencesPartFeatureComponent, isStandalone: false, selector: "cadmus-doc-references-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-doc-references-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-doc-references-part>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.DocReferencesPartComponent, selector: "cadmus-doc-references-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
210
208
|
}
|
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: DocReferencesPartFeatureComponent, decorators: [{
|
|
212
210
|
type: Component,
|
|
213
211
|
args: [{ selector: 'cadmus-doc-references-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-doc-references-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-doc-references-part>\r\n" }]
|
|
214
212
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -227,10 +225,10 @@ class ExternalIdsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
227
225
|
'doc-reference-tags',
|
|
228
226
|
];
|
|
229
227
|
}
|
|
230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
231
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
228
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: ExternalIdsPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
229
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: ExternalIdsPartFeatureComponent, isStandalone: false, selector: "cadmus-refs-external-ids-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-refs-external-ids-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-refs-external-ids-part>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.ExternalIdsPartComponent, selector: "cadmus-refs-external-ids-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
232
230
|
}
|
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: ExternalIdsPartFeatureComponent, decorators: [{
|
|
234
232
|
type: Component,
|
|
235
233
|
args: [{ selector: 'cadmus-refs-external-ids-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-refs-external-ids-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-refs-external-ids-part>\r\n" }]
|
|
236
234
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -242,10 +240,10 @@ class HistoricalDatePartFeatureComponent extends EditPartFeatureBase {
|
|
|
242
240
|
getReqThesauriIds() {
|
|
243
241
|
return ['doc-reference-tags', 'doc-reference-types'];
|
|
244
242
|
}
|
|
245
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
246
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
243
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: HistoricalDatePartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
244
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: HistoricalDatePartFeatureComponent, isStandalone: false, selector: "cadmus-historical-date-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-historical-date-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-historical-date-part>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.HistoricalDatePartComponent, selector: "cadmus-historical-date-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
247
245
|
}
|
|
248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: HistoricalDatePartFeatureComponent, decorators: [{
|
|
249
247
|
type: Component,
|
|
250
248
|
args: [{ selector: 'cadmus-historical-date-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-historical-date-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-historical-date-part>\r\n" }]
|
|
251
249
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -269,10 +267,10 @@ class HistoricalEventsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
269
267
|
'pin-link-settings',
|
|
270
268
|
];
|
|
271
269
|
}
|
|
272
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
273
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
270
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: HistoricalEventsPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
271
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: HistoricalEventsPartFeatureComponent, isStandalone: false, selector: "cadmus-historical-events-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-historical-events-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-historical-events-part>\n", styles: [""], dependencies: [{ kind: "component", type: i5.HistoricalEventsPartComponent, selector: "cadmus-historical-events-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
274
272
|
}
|
|
275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: HistoricalEventsPartFeatureComponent, decorators: [{
|
|
276
274
|
type: Component,
|
|
277
275
|
args: [{ selector: 'cadmus-historical-events-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-historical-events-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-historical-events-part>\n" }]
|
|
278
276
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -284,10 +282,10 @@ class IndexKeywordsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
284
282
|
getReqThesauriIds() {
|
|
285
283
|
return ['languages', 'keyword-indexes', 'keyword-tags'];
|
|
286
284
|
}
|
|
287
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
288
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: IndexKeywordsPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
286
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: IndexKeywordsPartFeatureComponent, isStandalone: false, selector: "cadmus-index-keywords-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-index-keywords-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-index-keywords-part>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.IndexKeywordsPartComponent, selector: "cadmus-index-keywords-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
289
287
|
}
|
|
290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: IndexKeywordsPartFeatureComponent, decorators: [{
|
|
291
289
|
type: Component,
|
|
292
290
|
args: [{ selector: 'cadmus-index-keywords-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-index-keywords-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-index-keywords-part>\r\n" }]
|
|
293
291
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -299,10 +297,10 @@ class KeywordsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
299
297
|
getReqThesauriIds() {
|
|
300
298
|
return ['languages'];
|
|
301
299
|
}
|
|
302
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
303
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
300
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: KeywordsPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
301
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: KeywordsPartFeatureComponent, isStandalone: false, selector: "cadmus-keywords-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-keywords-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-keywords-part>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.KeywordsPartComponent, selector: "cadmus-keywords-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
304
302
|
}
|
|
305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: KeywordsPartFeatureComponent, decorators: [{
|
|
306
304
|
type: Component,
|
|
307
305
|
args: [{ selector: 'cadmus-keywords-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-keywords-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-keywords-part>\r\n" }]
|
|
308
306
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -314,10 +312,10 @@ class MetadataPartFeatureComponent extends EditPartFeatureBase {
|
|
|
314
312
|
getReqThesauriIds() {
|
|
315
313
|
return ['metadata-types'];
|
|
316
314
|
}
|
|
317
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
318
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
315
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MetadataPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
316
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: MetadataPartFeatureComponent, isStandalone: false, selector: "cadmus-metadata-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-metadata-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-metadata-part>\n", styles: [""], dependencies: [{ kind: "component", type: i5.MetadataPartComponent, selector: "cadmus-metadata-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
319
317
|
}
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: MetadataPartFeatureComponent, decorators: [{
|
|
321
319
|
type: Component,
|
|
322
320
|
args: [{ selector: 'cadmus-metadata-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-metadata-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-metadata-part>\n" }]
|
|
323
321
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -337,10 +335,10 @@ class NamesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
337
335
|
'doc-reference-tags',
|
|
338
336
|
];
|
|
339
337
|
}
|
|
340
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
341
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
338
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: NamesPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
339
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: NamesPartFeatureComponent, isStandalone: false, selector: "cadmus-names-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-names-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-names-part>\n", styles: [""], dependencies: [{ kind: "component", type: i5.NamesPartComponent, selector: "cadmus-names-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
342
340
|
}
|
|
343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: NamesPartFeatureComponent, decorators: [{
|
|
344
342
|
type: Component,
|
|
345
343
|
args: [{ selector: 'cadmus-names-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-names-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-names-part>\n" }]
|
|
346
344
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -353,10 +351,10 @@ class NotePartFeatureComponent extends EditPartFeatureBase {
|
|
|
353
351
|
getReqThesauriIds() {
|
|
354
352
|
return ['note-tags'];
|
|
355
353
|
}
|
|
356
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
357
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: NotePartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
355
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: NotePartFeatureComponent, isStandalone: false, selector: "cadmus-note-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-note-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-note-part>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.NotePartComponent, selector: "cadmus-note-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
358
356
|
}
|
|
359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: NotePartFeatureComponent, decorators: [{
|
|
360
358
|
type: Component,
|
|
361
359
|
args: [{ selector: 'cadmus-note-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-note-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-note-part>\r\n" }]
|
|
362
360
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -373,10 +371,10 @@ class PhysicalMeasurementsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
373
371
|
'physical-size-set-names',
|
|
374
372
|
];
|
|
375
373
|
}
|
|
376
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
377
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
374
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: PhysicalMeasurementsPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
375
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: PhysicalMeasurementsPartFeatureComponent, isStandalone: false, selector: "cadmus-physical-measurements-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-physical-measurements-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.PhysicalMeasurementsPartComponent, selector: "cadmus-physical-measurements-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
378
376
|
}
|
|
379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: PhysicalMeasurementsPartFeatureComponent, decorators: [{
|
|
380
378
|
type: Component,
|
|
381
379
|
args: [{ selector: 'cadmus-physical-measurements-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-physical-measurements-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
382
380
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -392,10 +390,10 @@ class PhysicalStatesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
392
390
|
'physical-state-reporters',
|
|
393
391
|
];
|
|
394
392
|
}
|
|
395
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
396
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
393
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: PhysicalStatesPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
394
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: PhysicalStatesPartFeatureComponent, isStandalone: false, selector: "cadmus-physical-states-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-physical-states-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.PhysicalStatesPartComponent, selector: "cadmus-physical-states-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
397
395
|
}
|
|
398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: PhysicalStatesPartFeatureComponent, decorators: [{
|
|
399
397
|
type: Component,
|
|
400
398
|
args: [{ selector: 'cadmus-physical-states-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-physical-states-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
401
399
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -414,10 +412,10 @@ class PinLinksFragmentFeatureComponent extends EditFragmentFeatureBase {
|
|
|
414
412
|
'pin-link-settings',
|
|
415
413
|
];
|
|
416
414
|
}
|
|
417
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
418
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
415
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: PinLinksFragmentFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i4.FragmentEditorService }, { token: i4$1.LibraryRouteService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
416
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: PinLinksFragmentFeatureComponent, isStandalone: false, selector: "cadmus-pin-links-fragment-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<div class=\"base-text\">\n <cadmus-decorated-token-text\n [baseText]=\"data?.baseText || ''\"\n [locations]=\"frLoc ? [frLoc] : []\"\n ></cadmus-decorated-token-text>\n</div>\n<cadmus-pin-links-fragment\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($any($event))\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-pin-links-fragment>\n", styles: [""], dependencies: [{ kind: "component", type: i5$1.DecoratedTokenTextComponent, selector: "cadmus-decorated-token-text", inputs: ["baseText", "locations", "selectedLocation"] }, { kind: "component", type: i5.PinLinksFragmentComponent, selector: "cadmus-pin-links-fragment" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
419
417
|
}
|
|
420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: PinLinksFragmentFeatureComponent, decorators: [{
|
|
421
419
|
type: Component,
|
|
422
420
|
args: [{ selector: 'cadmus-pin-links-fragment-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<div class=\"base-text\">\n <cadmus-decorated-token-text\n [baseText]=\"data?.baseText || ''\"\n [locations]=\"frLoc ? [frLoc] : []\"\n ></cadmus-decorated-token-text>\n</div>\n<cadmus-pin-links-fragment\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($any($event))\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-pin-links-fragment>\n" }]
|
|
423
421
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i4.FragmentEditorService }, { type: i4$1.LibraryRouteService }] });
|
|
@@ -436,10 +434,10 @@ class PinLinksPartFeatureComponent extends EditPartFeatureBase {
|
|
|
436
434
|
'pin-link-settings',
|
|
437
435
|
];
|
|
438
436
|
}
|
|
439
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
440
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: PinLinksPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
438
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: PinLinksPartFeatureComponent, isStandalone: false, selector: "cadmus-pin-links-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-pin-links-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-pin-links-part>\n", styles: [""], dependencies: [{ kind: "component", type: i5.PinLinksPartComponent, selector: "cadmus-pin-links-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
441
439
|
}
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: PinLinksPartFeatureComponent, decorators: [{
|
|
443
441
|
type: Component,
|
|
444
442
|
args: [{ selector: 'cadmus-pin-links-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<cadmus-pin-links-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n></cadmus-pin-links-part>\n" }]
|
|
445
443
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -1031,10 +1029,10 @@ class TiledTextLayerPartFeatureComponent {
|
|
|
1031
1029
|
close() {
|
|
1032
1030
|
this._router.navigate(['/items', this.itemId]);
|
|
1033
1031
|
}
|
|
1034
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
1035
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.
|
|
1032
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: TiledTextLayerPartFeatureComponent, deps: [{ token: i1.ActivatedRoute }, { token: i1.Router }, { token: i4.EditedLayerRepository }, { token: i4$1.LibraryRouteService }, { token: i4$2.EditedItemRepository }, { token: i5$2.DialogService }, { token: i3.UserLevelService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1033
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.5", type: TiledTextLayerPartFeatureComponent, isStandalone: false, selector: "cadmus-tiled-text-layer-part-feature", ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<mat-card appearance=\"outlined\">\n <mat-card-header>\n <div mat-card-avatar>\n <mat-icon>view_headline</mat-icon>\n </div>\n <mat-card-title>\n Tiles-Based Text Layers\n <button type=\"button\" mat-icon-button (click)=\"refreshBreakChance()\">\n @switch (breakChance$ | async) { @case (-1) {\n <mat-icon matTooltip=\"Checking...\">refresh</mat-icon>\n } @case (0) {\n <mat-icon matTooltip=\"Valid\">check_circle</mat-icon>\n } @case (1) {\n <mat-icon matTooltip=\"Potentially broken\" color=\"warn\" class=\"mat-warn\"\n >warning</mat-icon\n >\n } @case (2) {\n <mat-icon matTooltip=\"Broken\" color=\"warn\" class=\"mat-warn\"\n >error</mat-icon\n >\n } }\n </button>\n </mat-card-title>\n <cadmus-current-layer-part-bar></cadmus-current-layer-part-bar>\n </mat-card-header>\n @if (!(loading$ | async) && !(saving$ | async)) {\n <mat-card-actions>\n <mat-toolbar>\n <button\n mat-icon-button\n type=\"button\"\n (click)=\"editFragment()\"\n matTooltip=\"Edit the selected fragment\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n color=\"warn\"\n (click)=\"deleteFragment()\"\n matTooltip=\"Delete the selected fragment\"\n >\n <mat-icon class=\"mat-warn\">delete</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n (click)=\"pickLocation()\"\n matTooltip=\"Pick the selection location for a new fragment\"\n >\n <mat-icon>info</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n color=\"warn\"\n (click)=\"clearTileChecks()\"\n matTooltip=\"Clear any selection\"\n >\n <mat-icon class=\"mat-warn\">clear</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n color=\"primary\"\n (click)=\"addFragment()\"\n matTooltip=\"Add a new fragment at selection\"\n >\n <mat-icon class=\"mat-primary\">add_circle</mat-icon>\n </button>\n <span>{{ pickedLocation }}</span>\n </mat-toolbar>\n </mat-card-actions>\n }\n\n <mat-card-content>\n @if (loading$ | async) {\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n }\n\n <!-- rows -->\n @if (view) {\n <div>\n @for (row of view.rows; track row; let iy = $index) {\n <div class=\"tile-row\" style=\"display: flex; flex-flow: row wrap\">\n <span class=\"row-nr\">{{ iy + 1 }}</span>\n <!-- tile -->\n @for (tile of row.tiles || []; track tile; let ix = $index) {\n <cadmus-text-tile\n [tile]=\"tile.model\"\n [readonly]=\"true\"\n [selected]=\"tile === selectedTile\"\n [checkable]=\"true\"\n [checked]=\"tile.checked\"\n [color]=\"tile.frIndex > -1 ? 'yellow' : 'transparent'\"\n style=\"flex: 0 0 auto\"\n (click)=\"selectedTile = tile\"\n (checkedChange)=\"onTileChecked(iy + 1, ix + 1, $event.checked)\"\n (keydown.control.arrowleft)=\"selectPrevTile()\"\n (keydown.control.arrowright)=\"selectNextTile()\"\n >\n </cadmus-text-tile>\n }\n </div>\n }\n </div>\n }\n </mat-card-content>\n\n <div>\n <button\n type=\"button\"\n mat-raised-button\n color=\"warn\"\n class=\"mat-warn\"\n matTooltip=\"Close this editor\"\n (click)=\"close()\"\n >\n <mat-icon>cancel</mat-icon>\n close\n </button>\n </div>\n @if (layerHints$ | async; as layerHints) {\n <mat-expansion-panel>\n <mat-expansion-panel-header>\n <mat-panel-title>Layer hints</mat-panel-title>\n <mat-panel-description>{{ layerHints.length }}</mat-panel-description>\n </mat-expansion-panel-header>\n <cadmus-layer-hints\n [hints]=\"layerHints\"\n [disabled]=\"(loading$ | async) || (saving$ | async) ? true : false\"\n [readonly]=\"userLevel < 2\"\n [targetLocation]=\"pickedLocation\"\n (requestEdit)=\"editFragmentFromHint($event)\"\n (requestDelete)=\"deleteFragmentFromHint($event)\"\n (requestMove)=\"moveFragmentFromHint($event)\"\n (requestPatch)=\"applyLayerPatches($event)\"\n ></cadmus-layer-hints>\n </mat-expansion-panel>\n }\n</mat-card>\n", styles: ["div.tile-row{margin-bottom:6px}span.row-nr{color:silver;font-weight:700}\n"], dependencies: [{ kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i8.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i8.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i8.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i8.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i8.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i8.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i9.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i9.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: i9.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i9.MatExpansionPanelDescription, selector: "mat-panel-description" }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i12.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i13.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i5$1.LayerHintsComponent, selector: "cadmus-layer-hints", inputs: ["hints", "targetLocation", "disabled", "readonly"], outputs: ["requestEdit", "requestDelete", "requestMove", "requestPatch"] }, { kind: "component", type: i5.TextTileComponent, selector: "cadmus-text-tile", inputs: ["selected", "checkable", "readonly", "color", "checked", "tile"], outputs: ["tileChange", "editData", "checkedChange"] }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: i6.CurrentLayerPartBarComponent, selector: "cadmus-current-layer-part-bar" }, { kind: "pipe", type: i17.AsyncPipe, name: "async" }] }); }
|
|
1036
1034
|
}
|
|
1037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
1035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: TiledTextLayerPartFeatureComponent, decorators: [{
|
|
1038
1036
|
type: Component,
|
|
1039
1037
|
args: [{ selector: 'cadmus-tiled-text-layer-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<mat-card appearance=\"outlined\">\n <mat-card-header>\n <div mat-card-avatar>\n <mat-icon>view_headline</mat-icon>\n </div>\n <mat-card-title>\n Tiles-Based Text Layers\n <button type=\"button\" mat-icon-button (click)=\"refreshBreakChance()\">\n @switch (breakChance$ | async) { @case (-1) {\n <mat-icon matTooltip=\"Checking...\">refresh</mat-icon>\n } @case (0) {\n <mat-icon matTooltip=\"Valid\">check_circle</mat-icon>\n } @case (1) {\n <mat-icon matTooltip=\"Potentially broken\" color=\"warn\" class=\"mat-warn\"\n >warning</mat-icon\n >\n } @case (2) {\n <mat-icon matTooltip=\"Broken\" color=\"warn\" class=\"mat-warn\"\n >error</mat-icon\n >\n } }\n </button>\n </mat-card-title>\n <cadmus-current-layer-part-bar></cadmus-current-layer-part-bar>\n </mat-card-header>\n @if (!(loading$ | async) && !(saving$ | async)) {\n <mat-card-actions>\n <mat-toolbar>\n <button\n mat-icon-button\n type=\"button\"\n (click)=\"editFragment()\"\n matTooltip=\"Edit the selected fragment\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n color=\"warn\"\n (click)=\"deleteFragment()\"\n matTooltip=\"Delete the selected fragment\"\n >\n <mat-icon class=\"mat-warn\">delete</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n (click)=\"pickLocation()\"\n matTooltip=\"Pick the selection location for a new fragment\"\n >\n <mat-icon>info</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n color=\"warn\"\n (click)=\"clearTileChecks()\"\n matTooltip=\"Clear any selection\"\n >\n <mat-icon class=\"mat-warn\">clear</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n color=\"primary\"\n (click)=\"addFragment()\"\n matTooltip=\"Add a new fragment at selection\"\n >\n <mat-icon class=\"mat-primary\">add_circle</mat-icon>\n </button>\n <span>{{ pickedLocation }}</span>\n </mat-toolbar>\n </mat-card-actions>\n }\n\n <mat-card-content>\n @if (loading$ | async) {\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n }\n\n <!-- rows -->\n @if (view) {\n <div>\n @for (row of view.rows; track row; let iy = $index) {\n <div class=\"tile-row\" style=\"display: flex; flex-flow: row wrap\">\n <span class=\"row-nr\">{{ iy + 1 }}</span>\n <!-- tile -->\n @for (tile of row.tiles || []; track tile; let ix = $index) {\n <cadmus-text-tile\n [tile]=\"tile.model\"\n [readonly]=\"true\"\n [selected]=\"tile === selectedTile\"\n [checkable]=\"true\"\n [checked]=\"tile.checked\"\n [color]=\"tile.frIndex > -1 ? 'yellow' : 'transparent'\"\n style=\"flex: 0 0 auto\"\n (click)=\"selectedTile = tile\"\n (checkedChange)=\"onTileChecked(iy + 1, ix + 1, $event.checked)\"\n (keydown.control.arrowleft)=\"selectPrevTile()\"\n (keydown.control.arrowright)=\"selectNextTile()\"\n >\n </cadmus-text-tile>\n }\n </div>\n }\n </div>\n }\n </mat-card-content>\n\n <div>\n <button\n type=\"button\"\n mat-raised-button\n color=\"warn\"\n class=\"mat-warn\"\n matTooltip=\"Close this editor\"\n (click)=\"close()\"\n >\n <mat-icon>cancel</mat-icon>\n close\n </button>\n </div>\n @if (layerHints$ | async; as layerHints) {\n <mat-expansion-panel>\n <mat-expansion-panel-header>\n <mat-panel-title>Layer hints</mat-panel-title>\n <mat-panel-description>{{ layerHints.length }}</mat-panel-description>\n </mat-expansion-panel-header>\n <cadmus-layer-hints\n [hints]=\"layerHints\"\n [disabled]=\"(loading$ | async) || (saving$ | async) ? true : false\"\n [readonly]=\"userLevel < 2\"\n [targetLocation]=\"pickedLocation\"\n (requestEdit)=\"editFragmentFromHint($event)\"\n (requestDelete)=\"deleteFragmentFromHint($event)\"\n (requestMove)=\"moveFragmentFromHint($event)\"\n (requestPatch)=\"applyLayerPatches($event)\"\n ></cadmus-layer-hints>\n </mat-expansion-panel>\n }\n</mat-card>\n", styles: ["div.tile-row{margin-bottom:6px}span.row-nr{color:silver;font-weight:700}\n"] }]
|
|
1040
1038
|
}], ctorParameters: () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i4.EditedLayerRepository }, { type: i4$1.LibraryRouteService }, { type: i4$2.EditedItemRepository }, { type: i5$2.DialogService }, { type: i3.UserLevelService }] });
|
|
@@ -1043,10 +1041,10 @@ class TiledTextPartFeatureComponent extends EditPartFeatureBase {
|
|
|
1043
1041
|
constructor(router, route, snackbar, itemService, thesaurusService, editorService) {
|
|
1044
1042
|
super(router, route, snackbar, itemService, thesaurusService, editorService);
|
|
1045
1043
|
}
|
|
1046
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
1047
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
1044
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: TiledTextPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1045
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: TiledTextPartFeatureComponent, isStandalone: false, selector: "cadmus-tiled-text-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-tiled-text-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-tiled-text-part>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.TiledTextPartComponent, selector: "cadmus-tiled-text-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
1048
1046
|
}
|
|
1049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
1047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: TiledTextPartFeatureComponent, decorators: [{
|
|
1050
1048
|
type: Component,
|
|
1051
1049
|
args: [{ selector: 'cadmus-tiled-text-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-tiled-text-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-tiled-text-part>\r\n" }]
|
|
1052
1050
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -1213,10 +1211,10 @@ class TokenTextLayerPartFeatureComponent {
|
|
|
1213
1211
|
close() {
|
|
1214
1212
|
this._router.navigate(['/items', this.itemId]);
|
|
1215
1213
|
}
|
|
1216
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
1217
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.
|
|
1214
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: TokenTextLayerPartFeatureComponent, deps: [{ token: i1.ActivatedRoute }, { token: i1.Router }, { token: i4.EditedLayerRepository }, { token: i4$1.TextLayerService }, { token: i4$1.LibraryRouteService }, { token: i4$2.EditedItemRepository }, { token: i5$2.DialogService }, { token: i3.UserLevelService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1215
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.5", type: TokenTextLayerPartFeatureComponent, isStandalone: false, selector: "cadmus-token-text-layer-part-feature", ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<mat-card appearance=\"outlined\">\n <mat-card-header>\n <div mat-card-avatar>\n <mat-icon>view_headline</mat-icon>\n </div>\n <mat-card-title>\n Token-Based Text Layers\n <button type=\"button\" mat-icon-button (click)=\"refreshBreakChance()\">\n @switch (breakChance$ | async) { @case (-1) {\n <mat-icon matTooltip=\"Checking...\">refresh</mat-icon>\n } @case (0) {\n <mat-icon matTooltip=\"Valid\">check_circle</mat-icon>\n } @case (1) {\n <mat-icon matTooltip=\"Potentially broken\" color=\"warn\" class=\"mat-warn\"\n >warning</mat-icon\n >\n } @case (2) {\n <mat-icon matTooltip=\"Broken\" color=\"warn\" class=\"mat-warn\"\n >error</mat-icon\n >\n } }\n </button>\n </mat-card-title>\n <cadmus-current-layer-part-bar></cadmus-current-layer-part-bar>\n </mat-card-header>\n @if (!(loading$ | async)) {\n <mat-card-actions>\n <mat-toolbar>\n <button\n mat-icon-button\n type=\"button\"\n (click)=\"editFragment()\"\n matTooltip=\"Edit the selected fragment\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n color=\"warn\"\n (click)=\"deleteFragment()\"\n matTooltip=\"Delete the selected fragment\"\n >\n <mat-icon class=\"mat-warn\">delete</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n matTooltip=\"Larger text\"\n (click)=\"makeLarger()\"\n [disabled]=\"textSize >= 24\"\n >\n <mat-icon>format_size</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n matTooltip=\"Smaller text\"\n (click)=\"makeSmaller()\"\n [disabled]=\"textSize <= 12\"\n >\n <mat-icon>text_fields</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n (click)=\"pickLocation()\"\n matTooltip=\"Pick the selection location for a new fragment\"\n >\n <mat-icon>info</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n color=\"primary\"\n (click)=\"addFragment()\"\n matTooltip=\"Add a new fragment at selection\"\n >\n <mat-icon class=\"mat-primary\">add_circle</mat-icon>\n </button>\n <span>{{ pickedLocation }}</span>\n </mat-toolbar>\n </mat-card-actions>\n }\n <mat-card-content fxLayout=\"row\">\n @if (loading$ | async) {\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n }\n\n <div [style.font-size]=\"textSize + 'px'\">\n @if (baseText$ | async; as baseText) {\n <cadmus-decorated-token-text\n [baseText]=\"baseText\"\n [locations]=\"(locations$ | async) || []\"\n ></cadmus-decorated-token-text>\n }\n </div>\n </mat-card-content>\n <div>\n <button\n type=\"button\"\n mat-raised-button\n color=\"warn\"\n class=\"mat-warn\"\n matTooltip=\"Close this editor\"\n (click)=\"close()\"\n >\n <mat-icon>cancel</mat-icon>\n close\n </button>\n </div>\n @if (layerHints$ | async; as layerHints) {\n <mat-expansion-panel>\n <mat-expansion-panel-header>\n <mat-panel-title>Layer hints</mat-panel-title>\n <mat-panel-description>{{ layerHints.length }}</mat-panel-description>\n </mat-expansion-panel-header>\n <cadmus-layer-hints\n [hints]=\"layerHints\"\n [disabled]=\"(loading$ | async) || (saving$ | async) ? true : false\"\n [readonly]=\"userLevel < 2\"\n [targetLocation]=\"pickedLocation\"\n (requestEdit)=\"editFragmentFromHint($event)\"\n (requestDelete)=\"deleteFragmentFromHint($event)\"\n (requestMove)=\"moveFragmentFromHint($event)\"\n (requestPatch)=\"applyLayerPatches($event)\"\n ></cadmus-layer-hints>\n </mat-expansion-panel>\n }\n</mat-card>\n", styles: [""], dependencies: [{ kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i8.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i8.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i8.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i8.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i8.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i8.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i9.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i9.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: i9.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i9.MatExpansionPanelDescription, selector: "mat-panel-description" }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i12.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i13.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i5$1.DecoratedTokenTextComponent, selector: "cadmus-decorated-token-text", inputs: ["baseText", "locations", "selectedLocation"] }, { kind: "component", type: i5$1.LayerHintsComponent, selector: "cadmus-layer-hints", inputs: ["hints", "targetLocation", "disabled", "readonly"], outputs: ["requestEdit", "requestDelete", "requestMove", "requestPatch"] }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: i6.CurrentLayerPartBarComponent, selector: "cadmus-current-layer-part-bar" }, { kind: "pipe", type: i17.AsyncPipe, name: "async" }] }); }
|
|
1218
1216
|
}
|
|
1219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
1217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: TokenTextLayerPartFeatureComponent, decorators: [{
|
|
1220
1218
|
type: Component,
|
|
1221
1219
|
args: [{ selector: 'cadmus-token-text-layer-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\n<mat-card appearance=\"outlined\">\n <mat-card-header>\n <div mat-card-avatar>\n <mat-icon>view_headline</mat-icon>\n </div>\n <mat-card-title>\n Token-Based Text Layers\n <button type=\"button\" mat-icon-button (click)=\"refreshBreakChance()\">\n @switch (breakChance$ | async) { @case (-1) {\n <mat-icon matTooltip=\"Checking...\">refresh</mat-icon>\n } @case (0) {\n <mat-icon matTooltip=\"Valid\">check_circle</mat-icon>\n } @case (1) {\n <mat-icon matTooltip=\"Potentially broken\" color=\"warn\" class=\"mat-warn\"\n >warning</mat-icon\n >\n } @case (2) {\n <mat-icon matTooltip=\"Broken\" color=\"warn\" class=\"mat-warn\"\n >error</mat-icon\n >\n } }\n </button>\n </mat-card-title>\n <cadmus-current-layer-part-bar></cadmus-current-layer-part-bar>\n </mat-card-header>\n @if (!(loading$ | async)) {\n <mat-card-actions>\n <mat-toolbar>\n <button\n mat-icon-button\n type=\"button\"\n (click)=\"editFragment()\"\n matTooltip=\"Edit the selected fragment\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n color=\"warn\"\n (click)=\"deleteFragment()\"\n matTooltip=\"Delete the selected fragment\"\n >\n <mat-icon class=\"mat-warn\">delete</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n matTooltip=\"Larger text\"\n (click)=\"makeLarger()\"\n [disabled]=\"textSize >= 24\"\n >\n <mat-icon>format_size</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n matTooltip=\"Smaller text\"\n (click)=\"makeSmaller()\"\n [disabled]=\"textSize <= 12\"\n >\n <mat-icon>text_fields</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n (click)=\"pickLocation()\"\n matTooltip=\"Pick the selection location for a new fragment\"\n >\n <mat-icon>info</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n color=\"primary\"\n (click)=\"addFragment()\"\n matTooltip=\"Add a new fragment at selection\"\n >\n <mat-icon class=\"mat-primary\">add_circle</mat-icon>\n </button>\n <span>{{ pickedLocation }}</span>\n </mat-toolbar>\n </mat-card-actions>\n }\n <mat-card-content fxLayout=\"row\">\n @if (loading$ | async) {\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\n }\n\n <div [style.font-size]=\"textSize + 'px'\">\n @if (baseText$ | async; as baseText) {\n <cadmus-decorated-token-text\n [baseText]=\"baseText\"\n [locations]=\"(locations$ | async) || []\"\n ></cadmus-decorated-token-text>\n }\n </div>\n </mat-card-content>\n <div>\n <button\n type=\"button\"\n mat-raised-button\n color=\"warn\"\n class=\"mat-warn\"\n matTooltip=\"Close this editor\"\n (click)=\"close()\"\n >\n <mat-icon>cancel</mat-icon>\n close\n </button>\n </div>\n @if (layerHints$ | async; as layerHints) {\n <mat-expansion-panel>\n <mat-expansion-panel-header>\n <mat-panel-title>Layer hints</mat-panel-title>\n <mat-panel-description>{{ layerHints.length }}</mat-panel-description>\n </mat-expansion-panel-header>\n <cadmus-layer-hints\n [hints]=\"layerHints\"\n [disabled]=\"(loading$ | async) || (saving$ | async) ? true : false\"\n [readonly]=\"userLevel < 2\"\n [targetLocation]=\"pickedLocation\"\n (requestEdit)=\"editFragmentFromHint($event)\"\n (requestDelete)=\"deleteFragmentFromHint($event)\"\n (requestMove)=\"moveFragmentFromHint($event)\"\n (requestPatch)=\"applyLayerPatches($event)\"\n ></cadmus-layer-hints>\n </mat-expansion-panel>\n }\n</mat-card>\n" }]
|
|
1222
1220
|
}], ctorParameters: () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i4.EditedLayerRepository }, { type: i4$1.TextLayerService }, { type: i4$1.LibraryRouteService }, { type: i4$2.EditedItemRepository }, { type: i5$2.DialogService }, { type: i3.UserLevelService }] });
|
|
@@ -1225,10 +1223,10 @@ class TokenTextPartFeatureComponent extends EditPartFeatureBase {
|
|
|
1225
1223
|
constructor(router, route, snackbar, itemService, thesaurusService, editorService) {
|
|
1226
1224
|
super(router, route, snackbar, itemService, thesaurusService, editorService);
|
|
1227
1225
|
}
|
|
1228
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
1229
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.
|
|
1226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: TokenTextPartFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1227
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.5", type: TokenTextPartFeatureComponent, isStandalone: false, selector: "cadmus-token-text-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-token-text-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-token-text-part>\r\n", styles: [""], dependencies: [{ kind: "component", type: i5.TokenTextPartComponent, selector: "cadmus-token-text-part" }, { kind: "component", type: i6.CurrentItemBarComponent, selector: "cadmus-current-item-bar" }] }); }
|
|
1230
1228
|
}
|
|
1231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
1229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: TokenTextPartFeatureComponent, decorators: [{
|
|
1232
1230
|
type: Component,
|
|
1233
1231
|
args: [{ selector: 'cadmus-token-text-part-feature', standalone: false, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<cadmus-token-text-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n></cadmus-token-text-part>\r\n" }]
|
|
1234
1232
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -1387,8 +1385,8 @@ const RouterModuleForChild = RouterModule.forChild([
|
|
|
1387
1385
|
},
|
|
1388
1386
|
]);
|
|
1389
1387
|
class CadmusPartGeneralPgModule {
|
|
1390
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.
|
|
1391
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.
|
|
1388
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CadmusPartGeneralPgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1389
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: CadmusPartGeneralPgModule, declarations: [BibliographyPartFeatureComponent,
|
|
1392
1390
|
CategoriesPartFeatureComponent,
|
|
1393
1391
|
ChronologyFragmentFeatureComponent,
|
|
1394
1392
|
ChronotopesPartFeatureComponent,
|
|
@@ -1427,9 +1425,6 @@ class CadmusPartGeneralPgModule {
|
|
|
1427
1425
|
MatSelectModule,
|
|
1428
1426
|
MatTooltipModule,
|
|
1429
1427
|
MatToolbarModule,
|
|
1430
|
-
// vendors
|
|
1431
|
-
NgToolsModule,
|
|
1432
|
-
NgMatToolsModule,
|
|
1433
1428
|
// cadmus
|
|
1434
1429
|
CadmusCoreModule,
|
|
1435
1430
|
CadmusUiModule,
|
|
@@ -1460,7 +1455,7 @@ class CadmusPartGeneralPgModule {
|
|
|
1460
1455
|
TiledTextPartFeatureComponent,
|
|
1461
1456
|
TokenTextLayerPartFeatureComponent,
|
|
1462
1457
|
TokenTextPartFeatureComponent] }); }
|
|
1463
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.
|
|
1458
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CadmusPartGeneralPgModule, imports: [CommonModule,
|
|
1464
1459
|
FormsModule,
|
|
1465
1460
|
ReactiveFormsModule,
|
|
1466
1461
|
RouterModuleForChild,
|
|
@@ -1476,9 +1471,6 @@ class CadmusPartGeneralPgModule {
|
|
|
1476
1471
|
MatSelectModule,
|
|
1477
1472
|
MatTooltipModule,
|
|
1478
1473
|
MatToolbarModule,
|
|
1479
|
-
// vendors
|
|
1480
|
-
NgToolsModule,
|
|
1481
|
-
NgMatToolsModule,
|
|
1482
1474
|
// cadmus
|
|
1483
1475
|
CadmusCoreModule,
|
|
1484
1476
|
CadmusUiModule,
|
|
@@ -1486,7 +1478,7 @@ class CadmusPartGeneralPgModule {
|
|
|
1486
1478
|
CadmusStateModule,
|
|
1487
1479
|
CadmusUiPgModule] }); }
|
|
1488
1480
|
}
|
|
1489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.
|
|
1481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: CadmusPartGeneralPgModule, decorators: [{
|
|
1490
1482
|
type: NgModule,
|
|
1491
1483
|
args: [{
|
|
1492
1484
|
imports: [
|
|
@@ -1506,9 +1498,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImpor
|
|
|
1506
1498
|
MatSelectModule,
|
|
1507
1499
|
MatTooltipModule,
|
|
1508
1500
|
MatToolbarModule,
|
|
1509
|
-
// vendors
|
|
1510
|
-
NgToolsModule,
|
|
1511
|
-
NgMatToolsModule,
|
|
1512
1501
|
// cadmus
|
|
1513
1502
|
CadmusCoreModule,
|
|
1514
1503
|
CadmusUiModule,
|