@myrmidon/cadmus-part-general-pg 15.0.0 → 15.0.2
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.
|
@@ -40,10 +40,10 @@ class AssertedHistoricalDateFeatureComponent extends EditPartFeatureBase {
|
|
|
40
40
|
'doc-reference-tags',
|
|
41
41
|
];
|
|
42
42
|
}
|
|
43
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
44
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AssertedHistoricalDateFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i3.ItemService }, { token: i3.ThesaurusService }, { token: i4.PartEditorService }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: AssertedHistoricalDateFeatureComponent, isStandalone: true, selector: "cadmus-asserted-historical-date-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar />\r\n<cadmus-asserted-historical-dates-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: AssertedHistoricalDatesPartComponent, selector: "cadmus-asserted-historical-dates-part" }] });
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: AssertedHistoricalDateFeatureComponent, decorators: [{
|
|
47
47
|
type: Component,
|
|
48
48
|
args: [{ selector: 'cadmus-asserted-historical-date-feature', imports: [CurrentItemBarComponent, AssertedHistoricalDatesPartComponent], template: "<cadmus-current-item-bar />\r\n<cadmus-asserted-historical-dates-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
49
49
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -60,10 +60,10 @@ class BibliographyPartFeatureComponent extends EditPartFeatureBase {
|
|
|
60
60
|
'bibliography-author-roles',
|
|
61
61
|
];
|
|
62
62
|
}
|
|
63
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
64
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
63
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
64
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: BibliographyPartFeatureComponent, isStandalone: true, selector: "cadmus-bibliography-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-bibliography-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: BibliographyPartComponent, selector: "cadmus-bibliography-part" }] });
|
|
65
65
|
}
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: BibliographyPartFeatureComponent, decorators: [{
|
|
67
67
|
type: Component,
|
|
68
68
|
args: [{ selector: 'cadmus-bibliography-part-feature', imports: [CurrentItemBarComponent, BibliographyPartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-bibliography-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
69
69
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -76,10 +76,10 @@ class CategoriesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
76
76
|
getReqThesauriIds() {
|
|
77
77
|
return ['categories'];
|
|
78
78
|
}
|
|
79
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
80
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
79
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
80
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: CategoriesPartFeatureComponent, isStandalone: true, selector: "cadmus-categories-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-categories-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: CategoriesPartComponent, selector: "cadmus-categories-part" }] });
|
|
81
81
|
}
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CategoriesPartFeatureComponent, decorators: [{
|
|
83
83
|
type: Component,
|
|
84
84
|
args: [{ selector: 'cadmus-categories-part-feature', imports: [CurrentItemBarComponent, CategoriesPartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-categories-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
85
85
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -91,10 +91,10 @@ class ChronologyFragmentFeatureComponent extends EditFragmentFeatureBase {
|
|
|
91
91
|
getReqThesauriIds() {
|
|
92
92
|
return ['chronology-tags'];
|
|
93
93
|
}
|
|
94
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
95
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
94
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
95
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: ChronologyFragmentFeatureComponent, isStandalone: true, selector: "cadmus-chronology-fragment-feature", usesInheritance: true, ngImport: i0, template: "<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 />\r\n</div>\r\n<cadmus-chronology-fragment\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: DecoratedTokenTextComponent, selector: "cadmus-decorated-token-text", inputs: ["baseText", "locations", "selectedLocation"] }, { kind: "component", type: ChronologyFragmentComponent, selector: "cadmus-chronology-fragment" }] });
|
|
96
96
|
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ChronologyFragmentFeatureComponent, decorators: [{
|
|
98
98
|
type: Component,
|
|
99
99
|
args: [{ selector: 'cadmus-chronology-fragment-feature', imports: [
|
|
100
100
|
CurrentItemBarComponent,
|
|
@@ -115,12 +115,12 @@ class ChronotopesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
115
115
|
'doc-reference-tags',
|
|
116
116
|
];
|
|
117
117
|
}
|
|
118
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
119
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
118
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
119
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: ChronotopesPartFeatureComponent, isStandalone: true, selector: "cadmus-chronotopes-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\n<cadmus-chronotopes-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: ChronotopesPartComponent, selector: "cadmus-chronotopes-part" }] });
|
|
120
120
|
}
|
|
121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ChronotopesPartFeatureComponent, decorators: [{
|
|
122
122
|
type: Component,
|
|
123
|
-
args: [{ selector: 'cadmus-chronotopes-part-feature', imports: [CurrentItemBarComponent, ChronotopesPartComponent], template: "<cadmus-current-item-bar/>\
|
|
123
|
+
args: [{ selector: 'cadmus-chronotopes-part-feature', imports: [CurrentItemBarComponent, ChronotopesPartComponent], template: "<cadmus-current-item-bar/>\n<cadmus-chronotopes-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n" }]
|
|
124
124
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
125
125
|
|
|
126
126
|
class CommentFragmentFeatureComponent extends EditFragmentFeatureBase {
|
|
@@ -139,13 +139,12 @@ class CommentFragmentFeatureComponent extends EditFragmentFeatureBase {
|
|
|
139
139
|
'comment-id-scopes',
|
|
140
140
|
'comment-id-tags',
|
|
141
141
|
'assertion-tags',
|
|
142
|
-
'pin-link-settings',
|
|
143
142
|
];
|
|
144
143
|
}
|
|
145
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
146
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
144
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
145
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: CommentFragmentFeatureComponent, isStandalone: true, selector: "cadmus-comment-fragment-feature", usesInheritance: true, ngImport: i0, template: "<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 />\r\n</div>\r\n<cadmus-comment-editor\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($any($event!.value!))\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: ["div.base-text{margin:12px;border:1px solid #f0f0f0;border-radius:4px;padding:8px}\n"], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: DecoratedTokenTextComponent, selector: "cadmus-decorated-token-text", inputs: ["baseText", "locations", "selectedLocation"] }, { kind: "component", type: CommentEditorComponent, selector: "cadmus-comment-editor" }] });
|
|
147
146
|
}
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CommentFragmentFeatureComponent, decorators: [{
|
|
149
148
|
type: Component,
|
|
150
149
|
args: [{ selector: 'cadmus-comment-fragment-feature', imports: [
|
|
151
150
|
CurrentItemBarComponent,
|
|
@@ -171,13 +170,12 @@ class CommentPartFeatureComponent extends EditPartFeatureBase {
|
|
|
171
170
|
'comment-id-scopes',
|
|
172
171
|
'comment-id-tags',
|
|
173
172
|
'assertion-tags',
|
|
174
|
-
'pin-link-settings',
|
|
175
173
|
];
|
|
176
174
|
}
|
|
177
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
178
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
175
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
176
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: CommentPartFeatureComponent, isStandalone: true, selector: "cadmus-comment-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-comment-editor\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($any($event!.value!))\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: CommentEditorComponent, selector: "cadmus-comment-editor" }] });
|
|
179
177
|
}
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CommentPartFeatureComponent, decorators: [{
|
|
181
179
|
type: Component,
|
|
182
180
|
args: [{ selector: 'cadmus-comment-part-feature', imports: [CurrentItemBarComponent, CommentEditorComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-comment-editor\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($any($event!.value!))\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
183
181
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -190,10 +188,10 @@ class DecoratedCountsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
190
188
|
getReqThesauriIds() {
|
|
191
189
|
return ['decorated-count-ids', 'decorated-count-tags'];
|
|
192
190
|
}
|
|
193
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
194
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
191
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
192
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: DecoratedCountsPartFeatureComponent, isStandalone: true, selector: "cadmus-decorated-counts-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar />\r\n<cadmus-decorated-counts-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: DecoratedCountsPartComponent, selector: "cadmus-decorated-counts-part" }] });
|
|
195
193
|
}
|
|
196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: DecoratedCountsPartFeatureComponent, decorators: [{
|
|
197
195
|
type: Component,
|
|
198
196
|
args: [{ selector: 'cadmus-decorated-counts-part-feature', imports: [CurrentItemBarComponent, DecoratedCountsPartComponent], template: "<cadmus-current-item-bar />\r\n<cadmus-decorated-counts-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\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 DistrictLocationPartFeatureComponent extends EditPartFeatureBase {
|
|
|
205
203
|
getReqThesauriIds() {
|
|
206
204
|
return ['district-name-piece-types', 'district-name-lang-entries'];
|
|
207
205
|
}
|
|
208
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
209
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
206
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
207
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: DistrictLocationPartFeatureComponent, isStandalone: true, selector: "cadmus-district-location-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-district-location-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: DistrictLocationPartComponent, selector: "cadmus-district-location-part" }] });
|
|
210
208
|
}
|
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: DistrictLocationPartFeatureComponent, decorators: [{
|
|
212
210
|
type: Component,
|
|
213
211
|
args: [{ selector: 'cadmus-district-location-part-feature', imports: [CurrentItemBarComponent, DistrictLocationPartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-district-location-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
214
212
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -220,10 +218,10 @@ class DocReferencesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
220
218
|
getReqThesauriIds() {
|
|
221
219
|
return ['doc-reference-tags', 'doc-reference-types'];
|
|
222
220
|
}
|
|
223
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
224
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
221
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
222
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: DocReferencesPartFeatureComponent, isStandalone: true, selector: "cadmus-doc-references-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-doc-references-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: DocReferencesPartComponent, selector: "cadmus-doc-references-part" }] });
|
|
225
223
|
}
|
|
226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: DocReferencesPartFeatureComponent, decorators: [{
|
|
227
225
|
type: Component,
|
|
228
226
|
args: [{ selector: 'cadmus-doc-references-part-feature', imports: [CurrentItemBarComponent, DocReferencesPartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-doc-references-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
229
227
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -242,10 +240,10 @@ class ExternalIdsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
242
240
|
'doc-reference-tags',
|
|
243
241
|
];
|
|
244
242
|
}
|
|
245
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
246
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
243
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
244
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: ExternalIdsPartFeatureComponent, isStandalone: true, selector: "cadmus-refs-external-ids-part-feature", usesInheritance: true, ngImport: i0, template: "<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!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: ExternalIdsPartComponent, selector: "cadmus-refs-external-ids-part" }] });
|
|
247
245
|
}
|
|
248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ExternalIdsPartFeatureComponent, decorators: [{
|
|
249
247
|
type: Component,
|
|
250
248
|
args: [{ selector: 'cadmus-refs-external-ids-part-feature', imports: [CurrentItemBarComponent, ExternalIdsPartComponent], template: "<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!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
251
249
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -257,10 +255,10 @@ class HistoricalDatePartFeatureComponent extends EditPartFeatureBase {
|
|
|
257
255
|
getReqThesauriIds() {
|
|
258
256
|
return ['doc-reference-tags', 'doc-reference-types'];
|
|
259
257
|
}
|
|
260
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
261
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
258
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
259
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: HistoricalDatePartFeatureComponent, isStandalone: true, selector: "cadmus-historical-date-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-historical-date-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: HistoricalDatePartComponent, selector: "cadmus-historical-date-part" }] });
|
|
262
260
|
}
|
|
263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: HistoricalDatePartFeatureComponent, decorators: [{
|
|
264
262
|
type: Component,
|
|
265
263
|
args: [{ selector: 'cadmus-historical-date-part-feature', imports: [CurrentItemBarComponent, HistoricalDatePartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-historical-date-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
266
264
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -281,15 +279,14 @@ class HistoricalEventsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
281
279
|
'doc-reference-types',
|
|
282
280
|
'pin-link-scopes',
|
|
283
281
|
'pin-link-tags',
|
|
284
|
-
'pin-link-settings',
|
|
285
282
|
];
|
|
286
283
|
}
|
|
287
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
288
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
284
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
285
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: HistoricalEventsPartFeatureComponent, isStandalone: true, selector: "cadmus-historical-events-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\n<cadmus-historical-events-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: HistoricalEventsPartComponent, selector: "cadmus-historical-events-part" }] });
|
|
289
286
|
}
|
|
290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: HistoricalEventsPartFeatureComponent, decorators: [{
|
|
291
288
|
type: Component,
|
|
292
|
-
args: [{ selector: 'cadmus-historical-events-part-feature', imports: [CurrentItemBarComponent, HistoricalEventsPartComponent], template: "<cadmus-current-item-bar/>\
|
|
289
|
+
args: [{ selector: 'cadmus-historical-events-part-feature', imports: [CurrentItemBarComponent, HistoricalEventsPartComponent], template: "<cadmus-current-item-bar/>\n<cadmus-historical-events-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n" }]
|
|
293
290
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
294
291
|
|
|
295
292
|
class IndexKeywordsPartFeatureComponent extends EditPartFeatureBase {
|
|
@@ -299,10 +296,10 @@ class IndexKeywordsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
299
296
|
getReqThesauriIds() {
|
|
300
297
|
return ['languages', 'keyword-indexes', 'keyword-tags'];
|
|
301
298
|
}
|
|
302
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
303
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
299
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
300
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: IndexKeywordsPartFeatureComponent, isStandalone: true, selector: "cadmus-index-keywords-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-index-keywords-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: IndexKeywordsPartComponent, selector: "cadmus-index-keywords-part" }] });
|
|
304
301
|
}
|
|
305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: IndexKeywordsPartFeatureComponent, decorators: [{
|
|
306
303
|
type: Component,
|
|
307
304
|
args: [{ selector: 'cadmus-index-keywords-part-feature', imports: [CurrentItemBarComponent, IndexKeywordsPartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-index-keywords-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
308
305
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -314,10 +311,10 @@ class KeywordsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
314
311
|
getReqThesauriIds() {
|
|
315
312
|
return ['languages'];
|
|
316
313
|
}
|
|
317
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
318
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
314
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
315
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: KeywordsPartFeatureComponent, isStandalone: true, selector: "cadmus-keywords-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-keywords-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: KeywordsPartComponent, selector: "cadmus-keywords-part" }] });
|
|
319
316
|
}
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: KeywordsPartFeatureComponent, decorators: [{
|
|
321
318
|
type: Component,
|
|
322
319
|
args: [{ selector: 'cadmus-keywords-part-feature', imports: [CurrentItemBarComponent, KeywordsPartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-keywords-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
323
320
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -329,12 +326,12 @@ class MetadataPartFeatureComponent extends EditPartFeatureBase {
|
|
|
329
326
|
getReqThesauriIds() {
|
|
330
327
|
return ['metadata-types', 'metadata-names'];
|
|
331
328
|
}
|
|
332
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
333
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
329
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
330
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: MetadataPartFeatureComponent, isStandalone: true, selector: "cadmus-metadata-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\n<cadmus-metadata-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: MetadataPartComponent, selector: "cadmus-metadata-part" }] });
|
|
334
331
|
}
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: MetadataPartFeatureComponent, decorators: [{
|
|
336
333
|
type: Component,
|
|
337
|
-
args: [{ selector: 'cadmus-metadata-part-feature', imports: [CurrentItemBarComponent, MetadataPartComponent], template: "<cadmus-current-item-bar/>\
|
|
334
|
+
args: [{ selector: 'cadmus-metadata-part-feature', imports: [CurrentItemBarComponent, MetadataPartComponent], template: "<cadmus-current-item-bar/>\n<cadmus-metadata-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n" }]
|
|
338
335
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
339
336
|
|
|
340
337
|
class NamesPartFeatureComponent extends EditPartFeatureBase {
|
|
@@ -352,12 +349,12 @@ class NamesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
352
349
|
'doc-reference-tags',
|
|
353
350
|
];
|
|
354
351
|
}
|
|
355
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
356
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
352
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
353
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: NamesPartFeatureComponent, isStandalone: true, selector: "cadmus-names-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\n<cadmus-names-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: NamesPartComponent, selector: "cadmus-names-part" }] });
|
|
357
354
|
}
|
|
358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: NamesPartFeatureComponent, decorators: [{
|
|
359
356
|
type: Component,
|
|
360
|
-
args: [{ selector: 'cadmus-names-part-feature', imports: [CurrentItemBarComponent, NamesPartComponent], template: "<cadmus-current-item-bar/>\
|
|
357
|
+
args: [{ selector: 'cadmus-names-part-feature', imports: [CurrentItemBarComponent, NamesPartComponent], template: "<cadmus-current-item-bar/>\n<cadmus-names-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n" }]
|
|
361
358
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
362
359
|
|
|
363
360
|
class NotePartFeatureComponent extends EditPartFeatureBase {
|
|
@@ -368,10 +365,10 @@ class NotePartFeatureComponent extends EditPartFeatureBase {
|
|
|
368
365
|
getReqThesauriIds() {
|
|
369
366
|
return ['note-tags'];
|
|
370
367
|
}
|
|
371
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
372
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
368
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
369
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: NotePartFeatureComponent, isStandalone: true, selector: "cadmus-note-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-note-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: NotePartComponent, selector: "cadmus-note-part" }] });
|
|
373
370
|
}
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: NotePartFeatureComponent, decorators: [{
|
|
375
372
|
type: Component,
|
|
376
373
|
args: [{ selector: 'cadmus-note-part-feature', imports: [CurrentItemBarComponent, NotePartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-note-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
377
374
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -388,10 +385,10 @@ class PhysicalMeasurementsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
388
385
|
'physical-size-set-names',
|
|
389
386
|
];
|
|
390
387
|
}
|
|
391
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
392
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
388
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
389
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: PhysicalMeasurementsPartFeatureComponent, isStandalone: true, selector: "cadmus-physical-measurements-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-physical-measurements-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: PhysicalMeasurementsPartComponent, selector: "cadmus-physical-measurements-part" }] });
|
|
393
390
|
}
|
|
394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PhysicalMeasurementsPartFeatureComponent, decorators: [{
|
|
395
392
|
type: Component,
|
|
396
393
|
args: [{ selector: 'cadmus-physical-measurements-part-feature', imports: [CurrentItemBarComponent, PhysicalMeasurementsPartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-physical-measurements-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
397
394
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -407,10 +404,10 @@ class PhysicalStatesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
407
404
|
'physical-state-reporters',
|
|
408
405
|
];
|
|
409
406
|
}
|
|
410
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
411
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
407
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
408
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: PhysicalStatesPartFeatureComponent, isStandalone: true, selector: "cadmus-physical-states-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-physical-states-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: PhysicalStatesPartComponent, selector: "cadmus-physical-states-part" }] });
|
|
412
409
|
}
|
|
413
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PhysicalStatesPartFeatureComponent, decorators: [{
|
|
414
411
|
type: Component,
|
|
415
412
|
args: [{ selector: 'cadmus-physical-states-part-feature', imports: [CurrentItemBarComponent, PhysicalStatesPartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-physical-states-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
416
413
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -426,19 +423,18 @@ class PinLinksFragmentFeatureComponent extends EditFragmentFeatureBase {
|
|
|
426
423
|
'pin-link-assertion-tags',
|
|
427
424
|
'pin-link-docref-types',
|
|
428
425
|
'pin-link-docref-tags',
|
|
429
|
-
'pin-link-settings',
|
|
430
426
|
];
|
|
431
427
|
}
|
|
432
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
433
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
428
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
429
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: PinLinksFragmentFeatureComponent, isStandalone: true, selector: "cadmus-pin-links-fragment-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\n<div class=\"base-text\">\n <cadmus-decorated-token-text\n [baseText]=\"data?.baseText || ''\"\n [locations]=\"frLoc ? [frLoc] : []\"\n />\n</div>\n<cadmus-pin-links-fragment\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: DecoratedTokenTextComponent, selector: "cadmus-decorated-token-text", inputs: ["baseText", "locations", "selectedLocation"] }, { kind: "component", type: PinLinksFragmentComponent, selector: "cadmus-pin-links-fragment" }] });
|
|
434
430
|
}
|
|
435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PinLinksFragmentFeatureComponent, decorators: [{
|
|
436
432
|
type: Component,
|
|
437
433
|
args: [{ selector: 'cadmus-pin-links-fragment-feature', imports: [
|
|
438
434
|
CurrentItemBarComponent,
|
|
439
435
|
DecoratedTokenTextComponent,
|
|
440
436
|
PinLinksFragmentComponent,
|
|
441
|
-
], template: "<cadmus-current-item-bar/>\
|
|
437
|
+
], template: "<cadmus-current-item-bar/>\n<div class=\"base-text\">\n <cadmus-decorated-token-text\n [baseText]=\"data?.baseText || ''\"\n [locations]=\"frLoc ? [frLoc] : []\"\n />\n</div>\n<cadmus-pin-links-fragment\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n" }]
|
|
442
438
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i4.FragmentEditorService }, { type: i4$1.LibraryRouteService }] });
|
|
443
439
|
|
|
444
440
|
class PinLinksPartFeatureComponent extends EditPartFeatureBase {
|
|
@@ -452,15 +448,14 @@ class PinLinksPartFeatureComponent extends EditPartFeatureBase {
|
|
|
452
448
|
'pin-link-assertion-tags',
|
|
453
449
|
'pin-link-docref-types',
|
|
454
450
|
'pin-link-docref-tags',
|
|
455
|
-
'pin-link-settings',
|
|
456
451
|
];
|
|
457
452
|
}
|
|
458
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
459
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
453
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
454
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: PinLinksPartFeatureComponent, isStandalone: true, selector: "cadmus-pin-links-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\n<cadmus-pin-links-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: PinLinksPartComponent, selector: "cadmus-pin-links-part" }] });
|
|
460
455
|
}
|
|
461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PinLinksPartFeatureComponent, decorators: [{
|
|
462
457
|
type: Component,
|
|
463
|
-
args: [{ selector: 'cadmus-pin-links-part-feature', imports: [CurrentItemBarComponent, PinLinksPartComponent], template: "<cadmus-current-item-bar/>\
|
|
458
|
+
args: [{ selector: 'cadmus-pin-links-part-feature', imports: [CurrentItemBarComponent, PinLinksPartComponent], template: "<cadmus-current-item-bar/>\n<cadmus-pin-links-part\n [identity]=\"identity\"\n [data]=\"$any(data)\"\n (dataChange)=\"save($event!.value!)\"\n (editorClose)=\"close()\"\n (dirtyChange)=\"onDirtyChange($event)\"\n/>\n" }]
|
|
464
459
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
465
460
|
|
|
466
461
|
/**
|
|
@@ -1074,10 +1069,10 @@ class TiledTextLayerPartFeatureComponent {
|
|
|
1074
1069
|
close() {
|
|
1075
1070
|
this._router.navigate(['/items', this.itemId]);
|
|
1076
1071
|
}
|
|
1077
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1078
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
1072
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TiledTextLayerPartFeatureComponent, deps: [{ token: i1.ActivatedRoute }, { token: i1.Router }, { token: i4.EditedLayerRepository }, { token: i4$1.LibraryRouteService }, { token: i4$2.EditedItemRepository }, { token: i5.DialogService }, { token: i3.UserLevelService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1073
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: TiledTextLayerPartFeatureComponent, isStandalone: true, 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\" class=\"mat-warn\"\n >warning</mat-icon\n >\n } @case (2) {\n <mat-icon matTooltip=\"Broken\" class=\"mat-warn\">error</mat-icon>\n } }\n </button>\n </mat-card-title>\n <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 (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 (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 (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\" />\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)\"\n (keydown.control.arrowleft)=\"selectPrevTile()\"\n (keydown.control.arrowright)=\"selectNextTile()\"\n />\n }\n </div>\n }\n </div>\n }\n </mat-card-content>\n\n <div>\n <button\n type=\"button\"\n mat-flat-button\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 />\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: MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "component", type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: MatCardContent, selector: "mat-card-content" }, { kind: "component", type: MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: MatExpansionPanelDescription, selector: "mat-panel-description" }, { kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: CurrentLayerPartBarComponent, selector: "cadmus-current-layer-part-bar" }, { kind: "component", type: LayerHintsComponent, selector: "cadmus-layer-hints", inputs: ["hints", "targetLocation", "disabled", "readonly"], outputs: ["requestEdit", "requestDelete", "requestMove", "requestPatch"] }, { kind: "component", type: TextTileComponent, selector: "cadmus-text-tile", inputs: ["selected", "checkable", "readonly", "color", "checked", "tile"], outputs: ["checkedChange", "tileChange", "editData"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
1079
1074
|
}
|
|
1080
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TiledTextLayerPartFeatureComponent, decorators: [{
|
|
1081
1076
|
type: Component,
|
|
1082
1077
|
args: [{ selector: 'cadmus-tiled-text-layer-part-feature', imports: [
|
|
1083
1078
|
MatCard,
|
|
@@ -1101,17 +1096,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
1101
1096
|
CurrentLayerPartBarComponent,
|
|
1102
1097
|
LayerHintsComponent,
|
|
1103
1098
|
TextTileComponent,
|
|
1104
|
-
], template: "<cadmus-current-item-bar></cadmus-current-item-bar>\
|
|
1099
|
+
], 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\" class=\"mat-warn\"\n >warning</mat-icon\n >\n } @case (2) {\n <mat-icon matTooltip=\"Broken\" class=\"mat-warn\">error</mat-icon>\n } }\n </button>\n </mat-card-title>\n <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 (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 (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 (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\" />\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)\"\n (keydown.control.arrowleft)=\"selectPrevTile()\"\n (keydown.control.arrowright)=\"selectNextTile()\"\n />\n }\n </div>\n }\n </div>\n }\n </mat-card-content>\n\n <div>\n <button\n type=\"button\"\n mat-flat-button\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 />\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"] }]
|
|
1105
1100
|
}], ctorParameters: () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i4.EditedLayerRepository }, { type: i4$1.LibraryRouteService }, { type: i4$2.EditedItemRepository }, { type: i5.DialogService }, { type: i3.UserLevelService }] });
|
|
1106
1101
|
|
|
1107
1102
|
class TiledTextPartFeatureComponent extends EditPartFeatureBase {
|
|
1108
1103
|
constructor(router, route, snackbar, itemService, thesaurusService, editorService) {
|
|
1109
1104
|
super(router, route, snackbar, itemService, thesaurusService, editorService);
|
|
1110
1105
|
}
|
|
1111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1112
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
1106
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
1107
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: TiledTextPartFeatureComponent, isStandalone: true, selector: "cadmus-tiled-text-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-tiled-text-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: TiledTextPartComponent, selector: "cadmus-tiled-text-part" }] });
|
|
1113
1108
|
}
|
|
1114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TiledTextPartFeatureComponent, decorators: [{
|
|
1115
1110
|
type: Component,
|
|
1116
1111
|
args: [{ selector: 'cadmus-tiled-text-part-feature', imports: [CurrentItemBarComponent, TiledTextPartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-tiled-text-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
1117
1112
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -1292,10 +1287,10 @@ class TokenTextLayerPartFeatureComponent {
|
|
|
1292
1287
|
close() {
|
|
1293
1288
|
this._router.navigate(['/items', this.itemId]);
|
|
1294
1289
|
}
|
|
1295
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1296
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
1290
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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.DialogService }, { token: i3.UserLevelService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1291
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: TokenTextLayerPartFeatureComponent, isStandalone: true, 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\" class=\"mat-warn\"\n >warning</mat-icon\n >\n } @case (2) {\n <mat-icon matTooltip=\"Broken\" class=\"mat-warn\">error</mat-icon>\n } }\n </button>\n </mat-card-title>\n <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 (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 (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\"/>\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 />\n }\n </div>\n </mat-card-content>\n <div>\n <button\n type=\"button\"\n mat-flat-button\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 />\n </mat-expansion-panel>\n }\n</mat-card>\n", styles: [""], dependencies: [{ kind: "component", type: MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "component", type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: MatCardContent, selector: "mat-card-content" }, { kind: "component", type: MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: MatExpansionPanelDescription, selector: "mat-panel-description" }, { kind: "component", type: LayerHintsComponent, selector: "cadmus-layer-hints", inputs: ["hints", "targetLocation", "disabled", "readonly"], outputs: ["requestEdit", "requestDelete", "requestMove", "requestPatch"] }, { kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: CurrentLayerPartBarComponent, selector: "cadmus-current-layer-part-bar" }, { kind: "component", type: DecoratedTokenTextComponent, selector: "cadmus-decorated-token-text", inputs: ["baseText", "locations", "selectedLocation"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] });
|
|
1297
1292
|
}
|
|
1298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TokenTextLayerPartFeatureComponent, decorators: [{
|
|
1299
1294
|
type: Component,
|
|
1300
1295
|
args: [{ selector: 'cadmus-token-text-layer-part-feature', imports: [
|
|
1301
1296
|
MatCard,
|
|
@@ -1319,17 +1314,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
|
1319
1314
|
CurrentItemBarComponent,
|
|
1320
1315
|
CurrentLayerPartBarComponent,
|
|
1321
1316
|
DecoratedTokenTextComponent,
|
|
1322
|
-
], template: "<cadmus-current-item-bar></cadmus-current-item-bar>\
|
|
1317
|
+
], 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\" class=\"mat-warn\"\n >warning</mat-icon\n >\n } @case (2) {\n <mat-icon matTooltip=\"Broken\" class=\"mat-warn\">error</mat-icon>\n } }\n </button>\n </mat-card-title>\n <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 (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 (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\"/>\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 />\n }\n </div>\n </mat-card-content>\n <div>\n <button\n type=\"button\"\n mat-flat-button\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 />\n </mat-expansion-panel>\n }\n</mat-card>\n" }]
|
|
1323
1318
|
}], ctorParameters: () => [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i4.EditedLayerRepository }, { type: i4$1.TextLayerService }, { type: i4$1.LibraryRouteService }, { type: i4$2.EditedItemRepository }, { type: i5.DialogService }, { type: i3.UserLevelService }] });
|
|
1324
1319
|
|
|
1325
1320
|
class TokenTextPartFeatureComponent extends EditPartFeatureBase {
|
|
1326
1321
|
constructor(router, route, snackbar, itemService, thesaurusService, editorService) {
|
|
1327
1322
|
super(router, route, snackbar, itemService, thesaurusService, editorService);
|
|
1328
1323
|
}
|
|
1329
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1330
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
1324
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", 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 });
|
|
1325
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: TokenTextPartFeatureComponent, isStandalone: true, selector: "cadmus-token-text-part-feature", usesInheritance: true, ngImport: i0, template: "<cadmus-current-item-bar/>\r\n<cadmus-token-text-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n", styles: [""], dependencies: [{ kind: "component", type: CurrentItemBarComponent, selector: "cadmus-current-item-bar" }, { kind: "component", type: TokenTextPartComponent, selector: "cadmus-token-text-part" }] });
|
|
1331
1326
|
}
|
|
1332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TokenTextPartFeatureComponent, decorators: [{
|
|
1333
1328
|
type: Component,
|
|
1334
1329
|
args: [{ selector: 'cadmus-token-text-part-feature', imports: [CurrentItemBarComponent, TokenTextPartComponent], template: "<cadmus-current-item-bar/>\r\n<cadmus-token-text-part\r\n [identity]=\"identity\"\r\n [data]=\"$any(data)\"\r\n (dataChange)=\"save($event!.value!)\"\r\n (editorClose)=\"close()\"\r\n (dirtyChange)=\"onDirtyChange($event)\"\r\n/>\r\n" }]
|
|
1335
1330
|
}], ctorParameters: () => [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }] });
|
|
@@ -1494,8 +1489,8 @@ const RouterModuleForChild = RouterModule.forChild([
|
|
|
1494
1489
|
},
|
|
1495
1490
|
]);
|
|
1496
1491
|
class CadmusPartGeneralPgModule {
|
|
1497
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1498
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.
|
|
1492
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CadmusPartGeneralPgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1493
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: CadmusPartGeneralPgModule, imports: [CommonModule,
|
|
1499
1494
|
FormsModule,
|
|
1500
1495
|
ReactiveFormsModule, i1.RouterModule,
|
|
1501
1496
|
// material
|
|
@@ -1562,7 +1557,7 @@ class CadmusPartGeneralPgModule {
|
|
|
1562
1557
|
TiledTextPartFeatureComponent,
|
|
1563
1558
|
TokenTextLayerPartFeatureComponent,
|
|
1564
1559
|
TokenTextPartFeatureComponent] });
|
|
1565
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.
|
|
1560
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CadmusPartGeneralPgModule, imports: [CommonModule,
|
|
1566
1561
|
FormsModule,
|
|
1567
1562
|
ReactiveFormsModule,
|
|
1568
1563
|
RouterModuleForChild,
|
|
@@ -1606,7 +1601,7 @@ class CadmusPartGeneralPgModule {
|
|
|
1606
1601
|
TokenTextLayerPartFeatureComponent,
|
|
1607
1602
|
TokenTextPartFeatureComponent] });
|
|
1608
1603
|
}
|
|
1609
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: CadmusPartGeneralPgModule, decorators: [{
|
|
1610
1605
|
type: NgModule,
|
|
1611
1606
|
args: [{
|
|
1612
1607
|
imports: [
|