@myrmidon/cadmus-part-general-pg 2.0.1 → 2.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.
- package/esm2020/lib/bibliography-part-feature/bibliography-part-feature.component.mjs +3 -3
- package/esm2020/lib/cadmus-part-general-pg.module.mjs +9 -9
- package/esm2020/lib/categories-part-feature/categories-part-feature.component.mjs +3 -3
- package/esm2020/lib/chronology-fragment-feature/chronology-fragment-feature.component.mjs +3 -3
- package/esm2020/lib/chronotopes-part-feature/chronotopes-part-feature.component.mjs +3 -3
- package/esm2020/lib/comment-fragment-feature/comment-fragment-feature.component.mjs +5 -5
- package/esm2020/lib/comment-part-feature/comment-part-feature.component.mjs +5 -5
- package/esm2020/lib/doc-references-part-feature/doc-references-part-feature.component.mjs +3 -3
- package/esm2020/lib/external-ids-part-feature/external-ids-part-feature.component.mjs +3 -3
- package/esm2020/lib/historical-date-part-feature/historical-date-part-feature.component.mjs +3 -3
- package/esm2020/lib/historical-events-part-feature/historical-events-part-feature.component.mjs +3 -3
- package/esm2020/lib/index-keywords-part-feature/index-keywords-part-feature.component.mjs +3 -3
- package/esm2020/lib/keywords-part-feature/keywords-part-feature.component.mjs +3 -3
- package/esm2020/lib/metadata-part-feature/metadata-part-feature.component.mjs +3 -3
- package/esm2020/lib/names-part-feature/names-part-feature.component.mjs +3 -3
- package/esm2020/lib/note-part-feature/note-part-feature.component.mjs +3 -3
- package/esm2020/lib/pin-links-part-feature/pin-links-part-feature.component.mjs +3 -3
- package/esm2020/lib/tiled-text-layer-part-feature/tiled-text-layer-part-feature.component.mjs +9 -10
- package/esm2020/lib/tiled-text-part-feature/tiled-text-part-feature.component.mjs +3 -3
- package/esm2020/lib/token-text-layer-part-feature/token-text-layer-part-feature.component.mjs +8 -9
- package/esm2020/lib/token-text-part-feature/token-text-part-feature.component.mjs +3 -3
- package/fesm2015/myrmidon-cadmus-part-general-pg.mjs +75 -77
- package/fesm2015/myrmidon-cadmus-part-general-pg.mjs.map +1 -1
- package/fesm2020/myrmidon-cadmus-part-general-pg.mjs +75 -77
- package/fesm2020/myrmidon-cadmus-part-general-pg.mjs.map +1 -1
- package/lib/cadmus-part-general-pg.module.d.ts +6 -6
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import * as i6 from '@myrmidon/cadmus-ui-pg';
|
|
|
12
12
|
import { CadmusUiPgModule } from '@myrmidon/cadmus-ui-pg';
|
|
13
13
|
import * as i3$1 from '@myrmidon/cadmus-core';
|
|
14
14
|
import { TokenLocation, TokenPoint, PendingChangesGuard, CadmusCoreModule } from '@myrmidon/cadmus-core';
|
|
15
|
-
import * as
|
|
15
|
+
import * as i15 from '@myrmidon/cadmus-ui';
|
|
16
16
|
import { CadmusUiModule } from '@myrmidon/cadmus-ui';
|
|
17
17
|
import { map } from 'rxjs';
|
|
18
18
|
import * as i4$1 from '@myrmidon/cadmus-item-editor';
|
|
@@ -28,18 +28,17 @@ import * as i10 from '@angular/material/expansion';
|
|
|
28
28
|
import { MatExpansionModule } from '@angular/material/expansion';
|
|
29
29
|
import * as i11 from '@angular/material/icon';
|
|
30
30
|
import { MatIconModule } from '@angular/material/icon';
|
|
31
|
-
import * as i12 from '@angular/material/progress-
|
|
32
|
-
import {
|
|
31
|
+
import * as i12 from '@angular/material/progress-bar';
|
|
32
|
+
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
33
33
|
import * as i13 from '@angular/material/tooltip';
|
|
34
34
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
35
35
|
import * as i14 from '@angular/material/toolbar';
|
|
36
36
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
37
|
-
import * as i15 from '@angular/flex-layout/flex';
|
|
38
37
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
39
38
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
40
39
|
import { MatInputModule } from '@angular/material/input';
|
|
40
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
41
41
|
import { MatSelectModule } from '@angular/material/select';
|
|
42
|
-
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
43
42
|
import { NgToolsModule } from '@myrmidon/ng-tools';
|
|
44
43
|
|
|
45
44
|
class BibliographyPartFeatureComponent extends EditPartFeatureBase {
|
|
@@ -55,9 +54,9 @@ class BibliographyPartFeatureComponent extends EditPartFeatureBase {
|
|
|
55
54
|
];
|
|
56
55
|
}
|
|
57
56
|
}
|
|
58
|
-
BibliographyPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
59
|
-
BibliographyPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
57
|
+
BibliographyPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
58
|
+
BibliographyPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: BibliographyPartFeatureComponent, 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" }] });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: BibliographyPartFeatureComponent, decorators: [{
|
|
61
60
|
type: Component,
|
|
62
61
|
args: [{ selector: 'cadmus-bibliography-part-feature', 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" }]
|
|
63
62
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -70,9 +69,9 @@ class CategoriesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
70
69
|
return ['categories'];
|
|
71
70
|
}
|
|
72
71
|
}
|
|
73
|
-
CategoriesPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
74
|
-
CategoriesPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
72
|
+
CategoriesPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
73
|
+
CategoriesPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: CategoriesPartFeatureComponent, 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
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CategoriesPartFeatureComponent, decorators: [{
|
|
76
75
|
type: Component,
|
|
77
76
|
args: [{ selector: 'cadmus-categories-part-feature', 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
77
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -85,9 +84,9 @@ class ChronologyFragmentFeatureComponent extends EditFragmentFeatureBase {
|
|
|
85
84
|
return ['chronology-tags'];
|
|
86
85
|
}
|
|
87
86
|
}
|
|
88
|
-
ChronologyFragmentFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
89
|
-
ChronologyFragmentFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
87
|
+
ChronologyFragmentFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ChronologyFragmentFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i4.FragmentEditorService }, { token: i3$1.LibraryRouteService }], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
+
ChronologyFragmentFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: ChronologyFragmentFeatureComponent, 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: i15.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
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ChronologyFragmentFeatureComponent, decorators: [{
|
|
91
90
|
type: Component,
|
|
92
91
|
args: [{ selector: 'cadmus-chronology-fragment-feature', 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
92
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i4.FragmentEditorService }, { type: i3$1.LibraryRouteService }]; } });
|
|
@@ -105,9 +104,9 @@ class ChronotopesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
105
104
|
];
|
|
106
105
|
}
|
|
107
106
|
}
|
|
108
|
-
ChronotopesPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
109
|
-
ChronotopesPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
107
|
+
ChronotopesPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
108
|
+
ChronotopesPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: ChronotopesPartFeatureComponent, 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
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ChronotopesPartFeatureComponent, decorators: [{
|
|
111
110
|
type: Component,
|
|
112
111
|
args: [{ selector: 'cadmus-chronotopes-part-feature', 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
112
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -121,7 +120,7 @@ class CommentFragmentFeatureComponent extends EditFragmentFeatureBase {
|
|
|
121
120
|
'comment-tags',
|
|
122
121
|
'doc-reference-tags',
|
|
123
122
|
'doc-reference-types',
|
|
124
|
-
'categories',
|
|
123
|
+
'comment-categories',
|
|
125
124
|
'languages',
|
|
126
125
|
'keyword-indexes',
|
|
127
126
|
'keyword-tags',
|
|
@@ -130,9 +129,9 @@ class CommentFragmentFeatureComponent extends EditFragmentFeatureBase {
|
|
|
130
129
|
];
|
|
131
130
|
}
|
|
132
131
|
}
|
|
133
|
-
CommentFragmentFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
134
|
-
CommentFragmentFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
132
|
+
CommentFragmentFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CommentFragmentFeatureComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.MatSnackBar }, { token: i4.FragmentEditorService }, { token: i3$1.LibraryRouteService }], target: i0.ɵɵFactoryTarget.Component });
|
|
133
|
+
CommentFragmentFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: CommentFragmentFeatureComponent, 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: i15.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" }] });
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CommentFragmentFeatureComponent, decorators: [{
|
|
136
135
|
type: Component,
|
|
137
136
|
args: [{ selector: 'cadmus-comment-fragment-feature', 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"] }]
|
|
138
137
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i4.FragmentEditorService }, { type: i3$1.LibraryRouteService }]; } });
|
|
@@ -146,7 +145,7 @@ class CommentPartFeatureComponent extends EditPartFeatureBase {
|
|
|
146
145
|
'comment-tags',
|
|
147
146
|
'doc-reference-tags',
|
|
148
147
|
'doc-reference-types',
|
|
149
|
-
'categories',
|
|
148
|
+
'comment-categories',
|
|
150
149
|
'languages',
|
|
151
150
|
'keyword-indexes',
|
|
152
151
|
'keyword-tags',
|
|
@@ -155,9 +154,9 @@ class CommentPartFeatureComponent extends EditPartFeatureBase {
|
|
|
155
154
|
];
|
|
156
155
|
}
|
|
157
156
|
}
|
|
158
|
-
CommentPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
159
|
-
CommentPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
157
|
+
CommentPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
158
|
+
CommentPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: CommentPartFeatureComponent, 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" }] });
|
|
159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CommentPartFeatureComponent, decorators: [{
|
|
161
160
|
type: Component,
|
|
162
161
|
args: [{ selector: 'cadmus-comment-part-feature', 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" }]
|
|
163
162
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -170,9 +169,9 @@ class DocReferencesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
170
169
|
return ['doc-reference-tags', 'doc-reference-types'];
|
|
171
170
|
}
|
|
172
171
|
}
|
|
173
|
-
DocReferencesPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
174
|
-
DocReferencesPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
172
|
+
DocReferencesPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
173
|
+
DocReferencesPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: DocReferencesPartFeatureComponent, 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" }] });
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: DocReferencesPartFeatureComponent, decorators: [{
|
|
176
175
|
type: Component,
|
|
177
176
|
args: [{ selector: 'cadmus-doc-references-part-feature', 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" }]
|
|
178
177
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -191,9 +190,9 @@ class ExternalIdsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
191
190
|
];
|
|
192
191
|
}
|
|
193
192
|
}
|
|
194
|
-
ExternalIdsPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
195
|
-
ExternalIdsPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
193
|
+
ExternalIdsPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
194
|
+
ExternalIdsPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: ExternalIdsPartFeatureComponent, 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" }] });
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ExternalIdsPartFeatureComponent, decorators: [{
|
|
197
196
|
type: Component,
|
|
198
197
|
args: [{ selector: 'cadmus-refs-external-ids-part-feature', 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" }]
|
|
199
198
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -206,9 +205,9 @@ class HistoricalDatePartFeatureComponent extends EditPartFeatureBase {
|
|
|
206
205
|
return ['doc-reference-tags', 'doc-reference-types'];
|
|
207
206
|
}
|
|
208
207
|
}
|
|
209
|
-
HistoricalDatePartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
210
|
-
HistoricalDatePartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
208
|
+
HistoricalDatePartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
209
|
+
HistoricalDatePartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: HistoricalDatePartFeatureComponent, 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" }] });
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: HistoricalDatePartFeatureComponent, decorators: [{
|
|
212
211
|
type: Component,
|
|
213
212
|
args: [{ selector: 'cadmus-historical-date-part-feature', 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" }]
|
|
214
213
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -228,9 +227,9 @@ class HistoricalEventsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
228
227
|
];
|
|
229
228
|
}
|
|
230
229
|
}
|
|
231
|
-
HistoricalEventsPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
232
|
-
HistoricalEventsPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
230
|
+
HistoricalEventsPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
231
|
+
HistoricalEventsPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: HistoricalEventsPartFeatureComponent, 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" }] });
|
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: HistoricalEventsPartFeatureComponent, decorators: [{
|
|
234
233
|
type: Component,
|
|
235
234
|
args: [{ selector: 'cadmus-historical-events-part-feature', 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" }]
|
|
236
235
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -243,9 +242,9 @@ class IndexKeywordsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
243
242
|
return ['languages', 'keyword-indexes', 'keyword-tags'];
|
|
244
243
|
}
|
|
245
244
|
}
|
|
246
|
-
IndexKeywordsPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
247
|
-
IndexKeywordsPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
245
|
+
IndexKeywordsPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
246
|
+
IndexKeywordsPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: IndexKeywordsPartFeatureComponent, 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" }] });
|
|
247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: IndexKeywordsPartFeatureComponent, decorators: [{
|
|
249
248
|
type: Component,
|
|
250
249
|
args: [{ selector: 'cadmus-index-keywords-part-feature', 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" }]
|
|
251
250
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -258,9 +257,9 @@ class KeywordsPartFeatureComponent extends EditPartFeatureBase {
|
|
|
258
257
|
return ['languages'];
|
|
259
258
|
}
|
|
260
259
|
}
|
|
261
|
-
KeywordsPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
262
|
-
KeywordsPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
260
|
+
KeywordsPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
261
|
+
KeywordsPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: KeywordsPartFeatureComponent, 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" }] });
|
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: KeywordsPartFeatureComponent, decorators: [{
|
|
264
263
|
type: Component,
|
|
265
264
|
args: [{ selector: 'cadmus-keywords-part-feature', 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" }]
|
|
266
265
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -273,9 +272,9 @@ class MetadataPartFeatureComponent extends EditPartFeatureBase {
|
|
|
273
272
|
return ['metadata-types'];
|
|
274
273
|
}
|
|
275
274
|
}
|
|
276
|
-
MetadataPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
277
|
-
MetadataPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
275
|
+
MetadataPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
276
|
+
MetadataPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: MetadataPartFeatureComponent, 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" }] });
|
|
277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: MetadataPartFeatureComponent, decorators: [{
|
|
279
278
|
type: Component,
|
|
280
279
|
args: [{ selector: 'cadmus-metadata-part-feature', 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" }]
|
|
281
280
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -295,9 +294,9 @@ class NamesPartFeatureComponent extends EditPartFeatureBase {
|
|
|
295
294
|
];
|
|
296
295
|
}
|
|
297
296
|
}
|
|
298
|
-
NamesPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
299
|
-
NamesPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
297
|
+
NamesPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
298
|
+
NamesPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: NamesPartFeatureComponent, 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" }] });
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: NamesPartFeatureComponent, decorators: [{
|
|
301
300
|
type: Component,
|
|
302
301
|
args: [{ selector: 'cadmus-names-part-feature', 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" }]
|
|
303
302
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -310,9 +309,9 @@ class NotePartFeatureComponent extends EditPartFeatureBase {
|
|
|
310
309
|
return ['note-tags'];
|
|
311
310
|
}
|
|
312
311
|
}
|
|
313
|
-
NotePartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
314
|
-
NotePartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
315
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
312
|
+
NotePartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
313
|
+
NotePartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: NotePartFeatureComponent, 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" }] });
|
|
314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: NotePartFeatureComponent, decorators: [{
|
|
316
315
|
type: Component,
|
|
317
316
|
args: [{ selector: 'cadmus-note-part-feature', 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" }]
|
|
318
317
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -322,9 +321,9 @@ class PinLinksPartFeatureComponent extends EditPartFeatureBase {
|
|
|
322
321
|
super(router, route, snackbar, itemService, thesaurusService, editorService);
|
|
323
322
|
}
|
|
324
323
|
}
|
|
325
|
-
PinLinksPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
326
|
-
PinLinksPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
324
|
+
PinLinksPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
325
|
+
PinLinksPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: PinLinksPartFeatureComponent, 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" }] });
|
|
326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PinLinksPartFeatureComponent, decorators: [{
|
|
328
327
|
type: Component,
|
|
329
328
|
args: [{ selector: 'cadmus-pin-links-part-feature', 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" }]
|
|
330
329
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -916,11 +915,11 @@ class TiledTextLayerPartFeatureComponent {
|
|
|
916
915
|
this._router.navigate(['/items', this.itemId]);
|
|
917
916
|
}
|
|
918
917
|
}
|
|
919
|
-
TiledTextLayerPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
920
|
-
TiledTextLayerPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: TiledTextLayerPartFeatureComponent, selector: "cadmus-tiled-text-layer-part-feature", ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <div mat-card-avatar>\r\n <mat-icon>view_headline</mat-icon>\r\n </div>\r\n <mat-card-title>\r\n Tiles-Based Text Layers\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n [ngSwitch]=\"breakChance$ | async\"\r\n (click)=\"refreshBreakChance()\"\r\n >\r\n <mat-icon *ngSwitchCase=\"-1\" matTooltip=\"Checking...\">refresh</mat-icon>\r\n <mat-icon *ngSwitchCase=\"0\" matTooltip=\"Valid\">check_circle</mat-icon>\r\n <mat-icon *ngSwitchCase=\"1\" matTooltip=\"Potentially broken\" color=\"warn\"\r\n >warning</mat-icon\r\n >\r\n <mat-icon *ngSwitchCase=\"2\" matTooltip=\"Broken\" color=\"warn\"\r\n >error</mat-icon\r\n >\r\n </button>\r\n </mat-card-title>\r\n <cadmus-current-layer-part-bar></cadmus-current-layer-part-bar>\r\n </mat-card-header>\r\n <mat-card-actions *ngIf=\"!(loading$ | async) && !(saving$ | async)\">\r\n <mat-toolbar>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"editFragment()\"\r\n matTooltip=\"Edit the selected fragment\"\r\n >\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"deleteFragment()\"\r\n matTooltip=\"Delete the selected fragment\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"pickLocation()\"\r\n matTooltip=\"Pick the selection location for a new fragment\"\r\n >\r\n <mat-icon>info</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"clearTileChecks()\"\r\n matTooltip=\"Clear any selection\"\r\n >\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"addFragment()\"\r\n matTooltip=\"Add a new fragment at selection\"\r\n >\r\n <mat-icon>add_circle</mat-icon>\r\n </button>\r\n <span>{{ pickedLocation }}</span>\r\n </mat-toolbar>\r\n </mat-card-actions>\r\n\r\n <mat-card-content fxLayout=\"row\">\r\n <div *ngIf=\"loading$ | async\" fxFlex fxLayoutAlign=\"center center\">\r\n <mat-spinner [diameter]=\"48\" [strokeWidth]=\"4\"></mat-spinner>\r\n </div>\r\n\r\n <!-- rows -->\r\n <div *ngIf=\"view\">\r\n <div\r\n *ngFor=\"let row of view.rows; let iy = index\"\r\n class=\"tile-row\"\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n >\r\n <span class=\"row-nr\">{{ iy + 1 }}</span>\r\n <!-- tile -->\r\n <cadmus-text-tile\r\n *ngFor=\"let tile of row.tiles || []; let ix = index\"\r\n [tile]=\"tile.model\"\r\n [readonly]=\"true\"\r\n [selected]=\"tile === selectedTile\"\r\n [checkable]=\"true\"\r\n [checked]=\"tile.checked\"\r\n [color]=\"tile.frIndex > -1 ? 'yellow' : 'transparent'\"\r\n fxFlex=\"none\"\r\n (click)=\"selectedTile = tile\"\r\n (checkedChange)=\"onTileChecked(iy + 1, ix + 1, $event.checked)\"\r\n (keydown.control.arrowleft)=\"selectPrevTile()\"\r\n (keydown.control.arrowright)=\"selectNextTile()\"\r\n >\r\n </cadmus-text-tile>\r\n </div>\r\n </div>\r\n </mat-card-content>\r\n\r\n <div>\r\n <button\r\n type=\"button\"\r\n mat-raised-button\r\n color=\"warn\"\r\n matTooltip=\"Close this editor\"\r\n (click)=\"close()\"\r\n >\r\n <mat-icon>cancel</mat-icon>\r\n close\r\n </button>\r\n </div>\r\n <mat-expansion-panel *ngIf=\"layerHints$ | async as layerHints\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>Layer hints</mat-panel-title>\r\n <mat-panel-description>{{ layerHints.length }}</mat-panel-description>\r\n </mat-expansion-panel-header>\r\n <cadmus-layer-hints\r\n [hints]=\"layerHints\"\r\n [disabled]=\"(loading$ | async) || (saving$ | async) ? true : false\"\r\n [readonly]=\"userLevel < 2\"\r\n [targetLocation]=\"pickedLocation\"\r\n (requestEdit)=\"editFragmentFromHint($event)\"\r\n (requestDelete)=\"deleteFragmentFromHint($event)\"\r\n (requestMove)=\"moveFragmentFromHint($event)\"\r\n (requestPatch)=\"applyLayerPatches($event)\"\r\n ></cadmus-layer-hints>\r\n </mat-expansion-panel>\r\n</mat-card>\r\n", styles: ["div.tile-row{margin-bottom:6px}span.row-nr{color:silver;font-weight:700}\n"], dependencies: [{ kind: "directive", type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i7.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i7.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i8.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i9.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i9.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i9.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i9.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i9.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i9.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i10.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i10.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i10.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i10.MatExpansionPanelDescription, selector: "mat-panel-description" }, { kind: "component", type: i11.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i12.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i13.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i14.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i15.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i15.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i15.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: i16.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: i7.AsyncPipe, name: "async" }] });
|
|
921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
918
|
+
TiledTextLayerPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: TiledTextLayerPartFeatureComponent, deps: [{ token: i1.ActivatedRoute }, { token: i1.Router }, { token: i4.EditedLayerRepository }, { token: i3$1.LibraryRouteService }, { token: i4$1.EditedItemRepository }, { token: i5$1.DialogService }, { token: i3.UserLevelService }], target: i0.ɵɵFactoryTarget.Component });
|
|
919
|
+
TiledTextLayerPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: TiledTextLayerPartFeatureComponent, selector: "cadmus-tiled-text-layer-part-feature", ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <div mat-card-avatar>\r\n <mat-icon>view_headline</mat-icon>\r\n </div>\r\n <mat-card-title>\r\n Tiles-Based Text Layers\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n [ngSwitch]=\"breakChance$ | async\"\r\n (click)=\"refreshBreakChance()\"\r\n >\r\n <mat-icon *ngSwitchCase=\"-1\" matTooltip=\"Checking...\">refresh</mat-icon>\r\n <mat-icon *ngSwitchCase=\"0\" matTooltip=\"Valid\">check_circle</mat-icon>\r\n <mat-icon *ngSwitchCase=\"1\" matTooltip=\"Potentially broken\" color=\"warn\"\r\n >warning</mat-icon\r\n >\r\n <mat-icon *ngSwitchCase=\"2\" matTooltip=\"Broken\" color=\"warn\"\r\n >error</mat-icon\r\n >\r\n </button>\r\n </mat-card-title>\r\n <cadmus-current-layer-part-bar></cadmus-current-layer-part-bar>\r\n </mat-card-header>\r\n <mat-card-actions *ngIf=\"!(loading$ | async) && !(saving$ | async)\">\r\n <mat-toolbar>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"editFragment()\"\r\n matTooltip=\"Edit the selected fragment\"\r\n >\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"deleteFragment()\"\r\n matTooltip=\"Delete the selected fragment\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"pickLocation()\"\r\n matTooltip=\"Pick the selection location for a new fragment\"\r\n >\r\n <mat-icon>info</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"clearTileChecks()\"\r\n matTooltip=\"Clear any selection\"\r\n >\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"addFragment()\"\r\n matTooltip=\"Add a new fragment at selection\"\r\n >\r\n <mat-icon>add_circle</mat-icon>\r\n </button>\r\n <span>{{ pickedLocation }}</span>\r\n </mat-toolbar>\r\n </mat-card-actions>\r\n\r\n <mat-card-content>\r\n <mat-progress-bar\r\n mode=\"indeterminate\"\r\n *ngIf=\"loading$ | async\"\r\n ></mat-progress-bar>\r\n\r\n <!-- rows -->\r\n <div *ngIf=\"view\">\r\n <div\r\n *ngFor=\"let row of view.rows; let iy = index\"\r\n class=\"tile-row\"\r\n style=\"display: flex; flex-flow: row wrap\"\r\n >\r\n <span class=\"row-nr\">{{ iy + 1 }}</span>\r\n <!-- tile -->\r\n <cadmus-text-tile\r\n *ngFor=\"let tile of row.tiles || []; let ix = index\"\r\n [tile]=\"tile.model\"\r\n [readonly]=\"true\"\r\n [selected]=\"tile === selectedTile\"\r\n [checkable]=\"true\"\r\n [checked]=\"tile.checked\"\r\n [color]=\"tile.frIndex > -1 ? 'yellow' : 'transparent'\"\r\n style=\"flex: 0 0 auto\"\r\n (click)=\"selectedTile = tile\"\r\n (checkedChange)=\"onTileChecked(iy + 1, ix + 1, $event.checked)\"\r\n (keydown.control.arrowleft)=\"selectPrevTile()\"\r\n (keydown.control.arrowright)=\"selectNextTile()\"\r\n >\r\n </cadmus-text-tile>\r\n </div>\r\n </div>\r\n </mat-card-content>\r\n\r\n <div>\r\n <button\r\n type=\"button\"\r\n mat-raised-button\r\n color=\"warn\"\r\n matTooltip=\"Close this editor\"\r\n (click)=\"close()\"\r\n >\r\n <mat-icon>cancel</mat-icon>\r\n close\r\n </button>\r\n </div>\r\n <mat-expansion-panel *ngIf=\"layerHints$ | async as layerHints\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>Layer hints</mat-panel-title>\r\n <mat-panel-description>{{ layerHints.length }}</mat-panel-description>\r\n </mat-expansion-panel-header>\r\n <cadmus-layer-hints\r\n [hints]=\"layerHints\"\r\n [disabled]=\"(loading$ | async) || (saving$ | async) ? true : false\"\r\n [readonly]=\"userLevel < 2\"\r\n [targetLocation]=\"pickedLocation\"\r\n (requestEdit)=\"editFragmentFromHint($event)\"\r\n (requestDelete)=\"deleteFragmentFromHint($event)\"\r\n (requestMove)=\"moveFragmentFromHint($event)\"\r\n (requestPatch)=\"applyLayerPatches($event)\"\r\n ></cadmus-layer-hints>\r\n </mat-expansion-panel>\r\n</mat-card>\r\n", styles: ["div.tile-row{margin-bottom:6px}span.row-nr{color:silver;font-weight:700}\n"], dependencies: [{ kind: "directive", type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i7.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i7.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i8.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i9.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i9.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i9.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i9.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i9.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i9.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i10.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i10.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i10.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i10.MatExpansionPanelDescription, selector: "mat-panel-description" }, { kind: "component", type: i11.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i12.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i13.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i14.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i15.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: i7.AsyncPipe, name: "async" }] });
|
|
920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: TiledTextLayerPartFeatureComponent, decorators: [{
|
|
922
921
|
type: Component,
|
|
923
|
-
args: [{ selector: 'cadmus-tiled-text-layer-part-feature', template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <div mat-card-avatar>\r\n <mat-icon>view_headline</mat-icon>\r\n </div>\r\n <mat-card-title>\r\n Tiles-Based Text Layers\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n [ngSwitch]=\"breakChance$ | async\"\r\n (click)=\"refreshBreakChance()\"\r\n >\r\n <mat-icon *ngSwitchCase=\"-1\" matTooltip=\"Checking...\">refresh</mat-icon>\r\n <mat-icon *ngSwitchCase=\"0\" matTooltip=\"Valid\">check_circle</mat-icon>\r\n <mat-icon *ngSwitchCase=\"1\" matTooltip=\"Potentially broken\" color=\"warn\"\r\n >warning</mat-icon\r\n >\r\n <mat-icon *ngSwitchCase=\"2\" matTooltip=\"Broken\" color=\"warn\"\r\n >error</mat-icon\r\n >\r\n </button>\r\n </mat-card-title>\r\n <cadmus-current-layer-part-bar></cadmus-current-layer-part-bar>\r\n </mat-card-header>\r\n <mat-card-actions *ngIf=\"!(loading$ | async) && !(saving$ | async)\">\r\n <mat-toolbar>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"editFragment()\"\r\n matTooltip=\"Edit the selected fragment\"\r\n >\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"deleteFragment()\"\r\n matTooltip=\"Delete the selected fragment\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"pickLocation()\"\r\n matTooltip=\"Pick the selection location for a new fragment\"\r\n >\r\n <mat-icon>info</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"clearTileChecks()\"\r\n matTooltip=\"Clear any selection\"\r\n >\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"addFragment()\"\r\n matTooltip=\"Add a new fragment at selection\"\r\n >\r\n <mat-icon>add_circle</mat-icon>\r\n </button>\r\n <span>{{ pickedLocation }}</span>\r\n </mat-toolbar>\r\n </mat-card-actions>\r\n\r\n <mat-card-content
|
|
922
|
+
args: [{ selector: 'cadmus-tiled-text-layer-part-feature', template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <div mat-card-avatar>\r\n <mat-icon>view_headline</mat-icon>\r\n </div>\r\n <mat-card-title>\r\n Tiles-Based Text Layers\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n [ngSwitch]=\"breakChance$ | async\"\r\n (click)=\"refreshBreakChance()\"\r\n >\r\n <mat-icon *ngSwitchCase=\"-1\" matTooltip=\"Checking...\">refresh</mat-icon>\r\n <mat-icon *ngSwitchCase=\"0\" matTooltip=\"Valid\">check_circle</mat-icon>\r\n <mat-icon *ngSwitchCase=\"1\" matTooltip=\"Potentially broken\" color=\"warn\"\r\n >warning</mat-icon\r\n >\r\n <mat-icon *ngSwitchCase=\"2\" matTooltip=\"Broken\" color=\"warn\"\r\n >error</mat-icon\r\n >\r\n </button>\r\n </mat-card-title>\r\n <cadmus-current-layer-part-bar></cadmus-current-layer-part-bar>\r\n </mat-card-header>\r\n <mat-card-actions *ngIf=\"!(loading$ | async) && !(saving$ | async)\">\r\n <mat-toolbar>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"editFragment()\"\r\n matTooltip=\"Edit the selected fragment\"\r\n >\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"deleteFragment()\"\r\n matTooltip=\"Delete the selected fragment\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"pickLocation()\"\r\n matTooltip=\"Pick the selection location for a new fragment\"\r\n >\r\n <mat-icon>info</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"clearTileChecks()\"\r\n matTooltip=\"Clear any selection\"\r\n >\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"addFragment()\"\r\n matTooltip=\"Add a new fragment at selection\"\r\n >\r\n <mat-icon>add_circle</mat-icon>\r\n </button>\r\n <span>{{ pickedLocation }}</span>\r\n </mat-toolbar>\r\n </mat-card-actions>\r\n\r\n <mat-card-content>\r\n <mat-progress-bar\r\n mode=\"indeterminate\"\r\n *ngIf=\"loading$ | async\"\r\n ></mat-progress-bar>\r\n\r\n <!-- rows -->\r\n <div *ngIf=\"view\">\r\n <div\r\n *ngFor=\"let row of view.rows; let iy = index\"\r\n class=\"tile-row\"\r\n style=\"display: flex; flex-flow: row wrap\"\r\n >\r\n <span class=\"row-nr\">{{ iy + 1 }}</span>\r\n <!-- tile -->\r\n <cadmus-text-tile\r\n *ngFor=\"let tile of row.tiles || []; let ix = index\"\r\n [tile]=\"tile.model\"\r\n [readonly]=\"true\"\r\n [selected]=\"tile === selectedTile\"\r\n [checkable]=\"true\"\r\n [checked]=\"tile.checked\"\r\n [color]=\"tile.frIndex > -1 ? 'yellow' : 'transparent'\"\r\n style=\"flex: 0 0 auto\"\r\n (click)=\"selectedTile = tile\"\r\n (checkedChange)=\"onTileChecked(iy + 1, ix + 1, $event.checked)\"\r\n (keydown.control.arrowleft)=\"selectPrevTile()\"\r\n (keydown.control.arrowright)=\"selectNextTile()\"\r\n >\r\n </cadmus-text-tile>\r\n </div>\r\n </div>\r\n </mat-card-content>\r\n\r\n <div>\r\n <button\r\n type=\"button\"\r\n mat-raised-button\r\n color=\"warn\"\r\n matTooltip=\"Close this editor\"\r\n (click)=\"close()\"\r\n >\r\n <mat-icon>cancel</mat-icon>\r\n close\r\n </button>\r\n </div>\r\n <mat-expansion-panel *ngIf=\"layerHints$ | async as layerHints\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>Layer hints</mat-panel-title>\r\n <mat-panel-description>{{ layerHints.length }}</mat-panel-description>\r\n </mat-expansion-panel-header>\r\n <cadmus-layer-hints\r\n [hints]=\"layerHints\"\r\n [disabled]=\"(loading$ | async) || (saving$ | async) ? true : false\"\r\n [readonly]=\"userLevel < 2\"\r\n [targetLocation]=\"pickedLocation\"\r\n (requestEdit)=\"editFragmentFromHint($event)\"\r\n (requestDelete)=\"deleteFragmentFromHint($event)\"\r\n (requestMove)=\"moveFragmentFromHint($event)\"\r\n (requestPatch)=\"applyLayerPatches($event)\"\r\n ></cadmus-layer-hints>\r\n </mat-expansion-panel>\r\n</mat-card>\r\n", styles: ["div.tile-row{margin-bottom:6px}span.row-nr{color:silver;font-weight:700}\n"] }]
|
|
924
923
|
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i4.EditedLayerRepository }, { type: i3$1.LibraryRouteService }, { type: i4$1.EditedItemRepository }, { type: i5$1.DialogService }, { type: i3.UserLevelService }]; } });
|
|
925
924
|
|
|
926
925
|
class TiledTextPartFeatureComponent extends EditPartFeatureBase {
|
|
@@ -928,9 +927,9 @@ class TiledTextPartFeatureComponent extends EditPartFeatureBase {
|
|
|
928
927
|
super(router, route, snackbar, itemService, thesaurusService, editorService);
|
|
929
928
|
}
|
|
930
929
|
}
|
|
931
|
-
TiledTextPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
932
|
-
TiledTextPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
930
|
+
TiledTextPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
931
|
+
TiledTextPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: TiledTextPartFeatureComponent, 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" }] });
|
|
932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: TiledTextPartFeatureComponent, decorators: [{
|
|
934
933
|
type: Component,
|
|
935
934
|
args: [{ selector: 'cadmus-tiled-text-part-feature', 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" }]
|
|
936
935
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -1097,11 +1096,11 @@ class TokenTextLayerPartFeatureComponent {
|
|
|
1097
1096
|
this._router.navigate(['/items', this.itemId]);
|
|
1098
1097
|
}
|
|
1099
1098
|
}
|
|
1100
|
-
TokenTextLayerPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1101
|
-
TokenTextLayerPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1099
|
+
TokenTextLayerPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: TokenTextLayerPartFeatureComponent, deps: [{ token: i1.ActivatedRoute }, { token: i1.Router }, { token: i4.EditedLayerRepository }, { token: i3$1.TextLayerService }, { token: i3$1.LibraryRouteService }, { token: i4$1.EditedItemRepository }, { token: i5$1.DialogService }, { token: i3.UserLevelService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1100
|
+
TokenTextLayerPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: TokenTextLayerPartFeatureComponent, selector: "cadmus-token-text-layer-part-feature", ngImport: i0, template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <div mat-card-avatar>\r\n <mat-icon>view_headline</mat-icon>\r\n </div>\r\n <mat-card-title>\r\n Token-Based Text Layers\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n [ngSwitch]=\"breakChance$ | async\"\r\n (click)=\"refreshBreakChance()\"\r\n >\r\n <mat-icon *ngSwitchCase=\"-1\" matTooltip=\"Checking...\">refresh</mat-icon>\r\n <mat-icon *ngSwitchCase=\"0\" matTooltip=\"Valid\">check_circle</mat-icon>\r\n <mat-icon *ngSwitchCase=\"1\" matTooltip=\"Potentially broken\" color=\"warn\"\r\n >warning</mat-icon\r\n >\r\n <mat-icon *ngSwitchCase=\"2\" matTooltip=\"Broken\" color=\"warn\"\r\n >error</mat-icon\r\n >\r\n </button>\r\n </mat-card-title>\r\n <cadmus-current-layer-part-bar></cadmus-current-layer-part-bar>\r\n </mat-card-header>\r\n <mat-card-actions *ngIf=\"!(loading$ | async)\">\r\n <mat-toolbar>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"editFragment()\"\r\n matTooltip=\"Edit the selected fragment\"\r\n >\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"deleteFragment()\"\r\n matTooltip=\"Delete the selected fragment\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n matTooltip=\"Larger text\"\r\n (click)=\"makeLarger()\"\r\n [disabled]=\"textSize >= 24\"\r\n >\r\n <mat-icon>format_size</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n matTooltip=\"Smaller text\"\r\n (click)=\"makeSmaller()\"\r\n [disabled]=\"textSize <= 12\"\r\n >\r\n <mat-icon>text_fields</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"pickLocation()\"\r\n matTooltip=\"Pick the selection location for a new fragment\"\r\n >\r\n <mat-icon>info</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"addFragment()\"\r\n matTooltip=\"Add a new fragment at selection\"\r\n >\r\n <mat-icon>add_circle</mat-icon>\r\n </button>\r\n <span>{{ pickedLocation }}</span>\r\n </mat-toolbar>\r\n </mat-card-actions>\r\n <mat-card-content fxLayout=\"row\">\r\n <mat-progress-bar\r\n mode=\"indeterminate\"\r\n *ngIf=\"loading$ | async\"\r\n ></mat-progress-bar>\r\n\r\n <div [style.font-size]=\"textSize + 'px'\">\r\n <cadmus-decorated-token-text\r\n *ngIf=\"baseText$ | async as baseText\"\r\n [baseText]=\"baseText\"\r\n [locations]=\"(locations$ | async) || []\"\r\n ></cadmus-decorated-token-text>\r\n </div>\r\n </mat-card-content>\r\n <div>\r\n <button\r\n type=\"button\"\r\n mat-raised-button\r\n color=\"warn\"\r\n matTooltip=\"Close this editor\"\r\n (click)=\"close()\"\r\n >\r\n <mat-icon>cancel</mat-icon>\r\n close\r\n </button>\r\n </div>\r\n <mat-expansion-panel *ngIf=\"layerHints$ | async as layerHints\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>Layer hints</mat-panel-title>\r\n <mat-panel-description>{{ layerHints.length }}</mat-panel-description>\r\n </mat-expansion-panel-header>\r\n <cadmus-layer-hints\r\n [hints]=\"layerHints\"\r\n [disabled]=\"(loading$ | async) || (saving$ | async) ? true : false\"\r\n [readonly]=\"userLevel < 2\"\r\n [targetLocation]=\"pickedLocation\"\r\n (requestEdit)=\"editFragmentFromHint($event)\"\r\n (requestDelete)=\"deleteFragmentFromHint($event)\"\r\n (requestMove)=\"moveFragmentFromHint($event)\"\r\n (requestPatch)=\"applyLayerPatches($event)\"\r\n ></cadmus-layer-hints>\r\n </mat-expansion-panel>\r\n</mat-card>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i7.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i7.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i8.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i9.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i9.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i9.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i9.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i9.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i9.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i10.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i10.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i10.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i10.MatExpansionPanelDescription, selector: "mat-panel-description" }, { kind: "component", type: i11.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i12.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i13.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i14.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i15.DecoratedTokenTextComponent, selector: "cadmus-decorated-token-text", inputs: ["baseText", "locations", "selectedLocation"] }, { kind: "component", type: i15.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: i7.AsyncPipe, name: "async" }] });
|
|
1101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: TokenTextLayerPartFeatureComponent, decorators: [{
|
|
1103
1102
|
type: Component,
|
|
1104
|
-
args: [{ selector: 'cadmus-token-text-layer-part-feature', template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <div mat-card-avatar>\r\n <mat-icon>view_headline</mat-icon>\r\n </div>\r\n <mat-card-title>\r\n Token-Based Text Layers\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n [ngSwitch]=\"breakChance$ | async\"\r\n (click)=\"refreshBreakChance()\"\r\n >\r\n <mat-icon *ngSwitchCase=\"-1\" matTooltip=\"Checking...\">refresh</mat-icon>\r\n <mat-icon *ngSwitchCase=\"0\" matTooltip=\"Valid\">check_circle</mat-icon>\r\n <mat-icon *ngSwitchCase=\"1\" matTooltip=\"Potentially broken\" color=\"warn\"\r\n >warning</mat-icon\r\n >\r\n <mat-icon *ngSwitchCase=\"2\" matTooltip=\"Broken\" color=\"warn\"\r\n >error</mat-icon\r\n >\r\n </button>\r\n </mat-card-title>\r\n <cadmus-current-layer-part-bar></cadmus-current-layer-part-bar>\r\n </mat-card-header>\r\n <mat-card-actions *ngIf=\"!(loading$ | async)\">\r\n <mat-toolbar>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"editFragment()\"\r\n matTooltip=\"Edit the selected fragment\"\r\n >\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"deleteFragment()\"\r\n matTooltip=\"Delete the selected fragment\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n matTooltip=\"Larger text\"\r\n (click)=\"makeLarger()\"\r\n [disabled]=\"textSize >= 24\"\r\n >\r\n <mat-icon>format_size</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n matTooltip=\"Smaller text\"\r\n (click)=\"makeSmaller()\"\r\n [disabled]=\"textSize <= 12\"\r\n >\r\n <mat-icon>text_fields</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"pickLocation()\"\r\n matTooltip=\"Pick the selection location for a new fragment\"\r\n >\r\n <mat-icon>info</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"addFragment()\"\r\n matTooltip=\"Add a new fragment at selection\"\r\n >\r\n <mat-icon>add_circle</mat-icon>\r\n </button>\r\n <span>{{ pickedLocation }}</span>\r\n </mat-toolbar>\r\n </mat-card-actions>\r\n <mat-card-content fxLayout=\"row\">\r\n <
|
|
1103
|
+
args: [{ selector: 'cadmus-token-text-layer-part-feature', template: "<cadmus-current-item-bar></cadmus-current-item-bar>\r\n<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <div mat-card-avatar>\r\n <mat-icon>view_headline</mat-icon>\r\n </div>\r\n <mat-card-title>\r\n Token-Based Text Layers\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n [ngSwitch]=\"breakChance$ | async\"\r\n (click)=\"refreshBreakChance()\"\r\n >\r\n <mat-icon *ngSwitchCase=\"-1\" matTooltip=\"Checking...\">refresh</mat-icon>\r\n <mat-icon *ngSwitchCase=\"0\" matTooltip=\"Valid\">check_circle</mat-icon>\r\n <mat-icon *ngSwitchCase=\"1\" matTooltip=\"Potentially broken\" color=\"warn\"\r\n >warning</mat-icon\r\n >\r\n <mat-icon *ngSwitchCase=\"2\" matTooltip=\"Broken\" color=\"warn\"\r\n >error</mat-icon\r\n >\r\n </button>\r\n </mat-card-title>\r\n <cadmus-current-layer-part-bar></cadmus-current-layer-part-bar>\r\n </mat-card-header>\r\n <mat-card-actions *ngIf=\"!(loading$ | async)\">\r\n <mat-toolbar>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"editFragment()\"\r\n matTooltip=\"Edit the selected fragment\"\r\n >\r\n <mat-icon>edit</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"deleteFragment()\"\r\n matTooltip=\"Delete the selected fragment\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n matTooltip=\"Larger text\"\r\n (click)=\"makeLarger()\"\r\n [disabled]=\"textSize >= 24\"\r\n >\r\n <mat-icon>format_size</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n matTooltip=\"Smaller text\"\r\n (click)=\"makeSmaller()\"\r\n [disabled]=\"textSize <= 12\"\r\n >\r\n <mat-icon>text_fields</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n (click)=\"pickLocation()\"\r\n matTooltip=\"Pick the selection location for a new fragment\"\r\n >\r\n <mat-icon>info</mat-icon>\r\n </button>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"addFragment()\"\r\n matTooltip=\"Add a new fragment at selection\"\r\n >\r\n <mat-icon>add_circle</mat-icon>\r\n </button>\r\n <span>{{ pickedLocation }}</span>\r\n </mat-toolbar>\r\n </mat-card-actions>\r\n <mat-card-content fxLayout=\"row\">\r\n <mat-progress-bar\r\n mode=\"indeterminate\"\r\n *ngIf=\"loading$ | async\"\r\n ></mat-progress-bar>\r\n\r\n <div [style.font-size]=\"textSize + 'px'\">\r\n <cadmus-decorated-token-text\r\n *ngIf=\"baseText$ | async as baseText\"\r\n [baseText]=\"baseText\"\r\n [locations]=\"(locations$ | async) || []\"\r\n ></cadmus-decorated-token-text>\r\n </div>\r\n </mat-card-content>\r\n <div>\r\n <button\r\n type=\"button\"\r\n mat-raised-button\r\n color=\"warn\"\r\n matTooltip=\"Close this editor\"\r\n (click)=\"close()\"\r\n >\r\n <mat-icon>cancel</mat-icon>\r\n close\r\n </button>\r\n </div>\r\n <mat-expansion-panel *ngIf=\"layerHints$ | async as layerHints\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>Layer hints</mat-panel-title>\r\n <mat-panel-description>{{ layerHints.length }}</mat-panel-description>\r\n </mat-expansion-panel-header>\r\n <cadmus-layer-hints\r\n [hints]=\"layerHints\"\r\n [disabled]=\"(loading$ | async) || (saving$ | async) ? true : false\"\r\n [readonly]=\"userLevel < 2\"\r\n [targetLocation]=\"pickedLocation\"\r\n (requestEdit)=\"editFragmentFromHint($event)\"\r\n (requestDelete)=\"deleteFragmentFromHint($event)\"\r\n (requestMove)=\"moveFragmentFromHint($event)\"\r\n (requestPatch)=\"applyLayerPatches($event)\"\r\n ></cadmus-layer-hints>\r\n </mat-expansion-panel>\r\n</mat-card>\r\n" }]
|
|
1105
1104
|
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i4.EditedLayerRepository }, { type: i3$1.TextLayerService }, { type: i3$1.LibraryRouteService }, { type: i4$1.EditedItemRepository }, { type: i5$1.DialogService }, { type: i3.UserLevelService }]; } });
|
|
1106
1105
|
|
|
1107
1106
|
class TokenTextPartFeatureComponent extends EditPartFeatureBase {
|
|
@@ -1109,9 +1108,9 @@ class TokenTextPartFeatureComponent extends EditPartFeatureBase {
|
|
|
1109
1108
|
super(router, route, snackbar, itemService, thesaurusService, editorService);
|
|
1110
1109
|
}
|
|
1111
1110
|
}
|
|
1112
|
-
TokenTextPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1113
|
-
TokenTextPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1111
|
+
TokenTextPartFeatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", 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 });
|
|
1112
|
+
TokenTextPartFeatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: TokenTextPartFeatureComponent, 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" }] });
|
|
1113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: TokenTextPartFeatureComponent, decorators: [{
|
|
1115
1114
|
type: Component,
|
|
1116
1115
|
args: [{ selector: 'cadmus-token-text-part-feature', 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" }]
|
|
1117
1116
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.MatSnackBar }, { type: i3.ItemService }, { type: i3.ThesaurusService }, { type: i4.PartEditorService }]; } });
|
|
@@ -1241,8 +1240,8 @@ const RouterModuleForChild = RouterModule.forChild([
|
|
|
1241
1240
|
]);
|
|
1242
1241
|
class CadmusPartGeneralPgModule {
|
|
1243
1242
|
}
|
|
1244
|
-
CadmusPartGeneralPgModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1245
|
-
CadmusPartGeneralPgModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.
|
|
1243
|
+
CadmusPartGeneralPgModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CadmusPartGeneralPgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1244
|
+
CadmusPartGeneralPgModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.1", ngImport: i0, type: CadmusPartGeneralPgModule, declarations: [BibliographyPartFeatureComponent,
|
|
1246
1245
|
CategoriesPartFeatureComponent,
|
|
1247
1246
|
ChronologyFragmentFeatureComponent,
|
|
1248
1247
|
ChronotopesPartFeatureComponent,
|
|
@@ -1271,11 +1270,11 @@ CadmusPartGeneralPgModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0
|
|
|
1271
1270
|
MatExpansionModule,
|
|
1272
1271
|
MatIconModule,
|
|
1273
1272
|
MatInputModule,
|
|
1273
|
+
MatProgressBarModule,
|
|
1274
1274
|
MatProgressSpinnerModule,
|
|
1275
1275
|
MatSelectModule,
|
|
1276
1276
|
MatTooltipModule,
|
|
1277
1277
|
MatToolbarModule,
|
|
1278
|
-
FlexLayoutModule,
|
|
1279
1278
|
// vendors
|
|
1280
1279
|
NgToolsModule,
|
|
1281
1280
|
NgMatToolsModule,
|
|
@@ -1304,7 +1303,7 @@ CadmusPartGeneralPgModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0
|
|
|
1304
1303
|
TiledTextPartFeatureComponent,
|
|
1305
1304
|
TokenTextLayerPartFeatureComponent,
|
|
1306
1305
|
TokenTextPartFeatureComponent] });
|
|
1307
|
-
CadmusPartGeneralPgModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.
|
|
1306
|
+
CadmusPartGeneralPgModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CadmusPartGeneralPgModule, imports: [CommonModule,
|
|
1308
1307
|
FormsModule,
|
|
1309
1308
|
ReactiveFormsModule,
|
|
1310
1309
|
RouterModuleForChild,
|
|
@@ -1315,11 +1314,11 @@ CadmusPartGeneralPgModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0
|
|
|
1315
1314
|
MatExpansionModule,
|
|
1316
1315
|
MatIconModule,
|
|
1317
1316
|
MatInputModule,
|
|
1317
|
+
MatProgressBarModule,
|
|
1318
1318
|
MatProgressSpinnerModule,
|
|
1319
1319
|
MatSelectModule,
|
|
1320
1320
|
MatTooltipModule,
|
|
1321
1321
|
MatToolbarModule,
|
|
1322
|
-
FlexLayoutModule,
|
|
1323
1322
|
// vendors
|
|
1324
1323
|
NgToolsModule,
|
|
1325
1324
|
NgMatToolsModule,
|
|
@@ -1329,7 +1328,7 @@ CadmusPartGeneralPgModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0
|
|
|
1329
1328
|
CadmusPartGeneralUiModule,
|
|
1330
1329
|
CadmusStateModule,
|
|
1331
1330
|
CadmusUiPgModule] });
|
|
1332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CadmusPartGeneralPgModule, decorators: [{
|
|
1333
1332
|
type: NgModule,
|
|
1334
1333
|
args: [{
|
|
1335
1334
|
imports: [
|
|
@@ -1344,11 +1343,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
|
|
|
1344
1343
|
MatExpansionModule,
|
|
1345
1344
|
MatIconModule,
|
|
1346
1345
|
MatInputModule,
|
|
1346
|
+
MatProgressBarModule,
|
|
1347
1347
|
MatProgressSpinnerModule,
|
|
1348
1348
|
MatSelectModule,
|
|
1349
1349
|
MatTooltipModule,
|
|
1350
1350
|
MatToolbarModule,
|
|
1351
|
-
FlexLayoutModule,
|
|
1352
1351
|
// vendors
|
|
1353
1352
|
NgToolsModule,
|
|
1354
1353
|
NgMatToolsModule,
|
|
@@ -1416,4 +1415,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
|
|
|
1416
1415
|
|
|
1417
1416
|
export { BibliographyPartFeatureComponent, CadmusPartGeneralPgModule, CategoriesPartFeatureComponent, ChronologyFragmentFeatureComponent, ChronotopesPartFeatureComponent, CommentFragmentFeatureComponent, CommentPartFeatureComponent, DocReferencesPartFeatureComponent, ExternalIdsPartFeatureComponent, HistoricalDatePartFeatureComponent, HistoricalEventsPartFeatureComponent, IndexKeywordsPartFeatureComponent, KeywordsPartFeatureComponent, MetadataPartFeatureComponent, NamesPartFeatureComponent, NotePartFeatureComponent, PinLinksPartFeatureComponent, RouterModuleForChild, TiledTextLayerPartFeatureComponent, TiledTextPartFeatureComponent, TokenTextLayerPartFeatureComponent, TokenTextPartFeatureComponent };
|
|
1418
1417
|
//# sourceMappingURL=myrmidon-cadmus-part-general-pg.mjs.map
|
|
1419
|
-
//# sourceMappingURL=myrmidon-cadmus-part-general-pg.mjs.map
|