@myrmidon/cadmus-part-general-pg 0.0.13 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/esm2020/lib/bibliography-part-feature/bibliography-part-feature.component.mjs +31 -0
- package/esm2020/lib/bibliography-part-feature/edit-bibliography-part.query.mjs +16 -0
- package/esm2020/lib/bibliography-part-feature/edit-bibliography-part.service.mjs +18 -0
- package/esm2020/lib/bibliography-part-feature/edit-bibliography-part.store.mjs +27 -0
- package/esm2020/lib/cadmus-part-general-pg.module.mjs +225 -0
- package/esm2020/lib/categories-part-feature/categories-part-feature.component.mjs +26 -0
- package/esm2020/lib/categories-part-feature/edit-categories-part.query.mjs +16 -0
- package/esm2020/lib/categories-part-feature/edit-categories-part.service.mjs +18 -0
- package/esm2020/lib/categories-part-feature/edit-categories-part.store.mjs +27 -0
- package/esm2020/lib/chronology-fragment-feature/chronology-fragment-feature.component.mjs +28 -0
- package/esm2020/lib/chronology-fragment-feature/edit-chronology-fragment.query.mjs +17 -0
- package/esm2020/lib/chronology-fragment-feature/edit-chronology-fragment.service.mjs +18 -0
- package/esm2020/lib/chronology-fragment-feature/edit-chronology-fragment.store.mjs +28 -0
- package/esm2020/lib/comment-fragment-feature/comment-fragment-feature.component.mjs +36 -0
- package/esm2020/lib/comment-fragment-feature/edit-comment-fragment.query.mjs +17 -0
- package/esm2020/lib/comment-fragment-feature/edit-comment-fragment.service.mjs +18 -0
- package/esm2020/lib/comment-fragment-feature/edit-comment-fragment.store.mjs +28 -0
- package/esm2020/lib/comment-part-feature/comment-part-feature.component.mjs +33 -0
- package/esm2020/lib/comment-part-feature/edit-comment-part.query.mjs +16 -0
- package/esm2020/lib/comment-part-feature/edit-comment-part.service.mjs +18 -0
- package/esm2020/lib/comment-part-feature/edit-comment-part.store.mjs +27 -0
- package/esm2020/lib/doc-references-part-feature/doc-references-part-feature.component.mjs +26 -0
- package/esm2020/lib/doc-references-part-feature/edit-doc-references-part.query.mjs +16 -0
- package/esm2020/lib/doc-references-part-feature/edit-doc-references-part.service.mjs +18 -0
- package/esm2020/lib/doc-references-part-feature/edit-doc-references-part.store.mjs +27 -0
- package/esm2020/lib/historical-date-part-feature/edit-historical-date-part.query.mjs +16 -0
- package/esm2020/lib/historical-date-part-feature/edit-historical-date-part.service.mjs +18 -0
- package/esm2020/lib/historical-date-part-feature/edit-historical-date-part.store.mjs +27 -0
- package/esm2020/lib/historical-date-part-feature/historical-date-part-feature.component.mjs +26 -0
- package/esm2020/lib/index-keywords-part-feature/edit-index-keywords-part.query.mjs +16 -0
- package/esm2020/lib/index-keywords-part-feature/edit-index-keywords-part.service.mjs +18 -0
- package/esm2020/lib/index-keywords-part-feature/edit-index-keywords-part.store.mjs +27 -0
- package/esm2020/lib/index-keywords-part-feature/index-keywords-part-feature.component.mjs +26 -0
- package/esm2020/lib/keywords-part-feature/edit-keywords-part.query.mjs +16 -0
- package/esm2020/lib/keywords-part-feature/edit-keywords-part.service.mjs +18 -0
- package/esm2020/lib/keywords-part-feature/edit-keywords-part.store.mjs +27 -0
- package/esm2020/lib/keywords-part-feature/keywords-part-feature.component.mjs +26 -0
- package/esm2020/lib/note-part-feature/edit-note-part.query.mjs +16 -0
- package/esm2020/lib/note-part-feature/edit-note-part.service.mjs +18 -0
- package/esm2020/lib/note-part-feature/edit-note-part.store.mjs +27 -0
- package/esm2020/lib/note-part-feature/note-part-feature.component.mjs +26 -0
- package/esm2020/lib/tiled-text-layer-part-feature/tiled-text-layer-part-feature.component.mjs +248 -0
- package/esm2020/lib/tiled-text-layer-part-feature/tiled-text-layer-view.mjs +380 -0
- package/esm2020/lib/tiled-text-part-feature/edit-tiled-text-part.query.mjs +16 -0
- package/esm2020/lib/tiled-text-part-feature/edit-tiled-text-part.service.mjs +36 -0
- package/esm2020/lib/tiled-text-part-feature/edit-tiled-text-part.store.mjs +27 -0
- package/esm2020/lib/tiled-text-part-feature/tiled-text-part-feature.component.mjs +26 -0
- package/esm2020/lib/token-text-layer-part-feature/token-text-layer-part-feature.component.mjs +200 -0
- package/esm2020/lib/token-text-part-feature/edit-token-text-part.query.mjs +16 -0
- package/esm2020/lib/token-text-part-feature/edit-token-text-part.service.mjs +18 -0
- package/esm2020/lib/token-text-part-feature/edit-token-text-part.store.mjs +27 -0
- package/esm2020/lib/token-text-part-feature/token-text-part-feature.component.mjs +26 -0
- package/esm2020/myrmidon-cadmus-part-general-pg.mjs +5 -0
- package/esm2020/public-api.mjs +19 -0
- package/fesm2015/myrmidon-cadmus-part-general-pg.mjs +1804 -0
- package/fesm2015/myrmidon-cadmus-part-general-pg.mjs.map +1 -0
- package/fesm2020/myrmidon-cadmus-part-general-pg.mjs +1798 -0
- package/fesm2020/myrmidon-cadmus-part-general-pg.mjs.map +1 -0
- package/lib/bibliography-part-feature/bibliography-part-feature.component.d.ts +3 -0
- package/lib/bibliography-part-feature/edit-bibliography-part.query.d.ts +3 -0
- package/lib/bibliography-part-feature/edit-bibliography-part.service.d.ts +3 -0
- package/lib/bibliography-part-feature/edit-bibliography-part.store.d.ts +3 -0
- package/lib/cadmus-part-general-pg.module.d.ts +29 -0
- package/lib/categories-part-feature/categories-part-feature.component.d.ts +3 -0
- package/lib/categories-part-feature/edit-categories-part.query.d.ts +3 -0
- package/lib/categories-part-feature/edit-categories-part.service.d.ts +3 -0
- package/lib/categories-part-feature/edit-categories-part.store.d.ts +3 -0
- package/lib/chronology-fragment-feature/chronology-fragment-feature.component.d.ts +6 -3
- package/lib/chronology-fragment-feature/edit-chronology-fragment.query.d.ts +3 -0
- package/lib/chronology-fragment-feature/edit-chronology-fragment.service.d.ts +3 -0
- package/lib/chronology-fragment-feature/edit-chronology-fragment.store.d.ts +3 -0
- package/lib/comment-fragment-feature/comment-fragment-feature.component.d.ts +6 -3
- package/lib/comment-fragment-feature/edit-comment-fragment.query.d.ts +3 -0
- package/lib/comment-fragment-feature/edit-comment-fragment.service.d.ts +3 -0
- package/lib/comment-fragment-feature/edit-comment-fragment.store.d.ts +3 -0
- package/lib/comment-part-feature/comment-part-feature.component.d.ts +4 -1
- package/lib/comment-part-feature/edit-comment-part.query.d.ts +3 -0
- package/lib/comment-part-feature/edit-comment-part.service.d.ts +3 -0
- package/lib/comment-part-feature/edit-comment-part.store.d.ts +3 -0
- package/lib/doc-references-part-feature/doc-references-part-feature.component.d.ts +4 -1
- package/lib/doc-references-part-feature/edit-doc-references-part.query.d.ts +3 -0
- package/lib/doc-references-part-feature/edit-doc-references-part.service.d.ts +3 -0
- package/lib/doc-references-part-feature/edit-doc-references-part.store.d.ts +3 -0
- package/lib/historical-date-part-feature/edit-historical-date-part.query.d.ts +3 -0
- package/lib/historical-date-part-feature/edit-historical-date-part.service.d.ts +3 -0
- package/lib/historical-date-part-feature/edit-historical-date-part.store.d.ts +3 -0
- package/lib/historical-date-part-feature/historical-date-part-feature.component.d.ts +5 -2
- package/lib/index-keywords-part-feature/edit-index-keywords-part.query.d.ts +3 -0
- package/lib/index-keywords-part-feature/edit-index-keywords-part.service.d.ts +3 -0
- package/lib/index-keywords-part-feature/edit-index-keywords-part.store.d.ts +3 -0
- package/lib/index-keywords-part-feature/index-keywords-part-feature.component.d.ts +5 -2
- package/lib/keywords-part-feature/edit-keywords-part.query.d.ts +3 -0
- package/lib/keywords-part-feature/edit-keywords-part.service.d.ts +3 -0
- package/lib/keywords-part-feature/edit-keywords-part.store.d.ts +3 -0
- package/lib/keywords-part-feature/keywords-part-feature.component.d.ts +5 -2
- package/lib/note-part-feature/edit-note-part.query.d.ts +3 -0
- package/lib/note-part-feature/edit-note-part.service.d.ts +3 -0
- package/lib/note-part-feature/edit-note-part.store.d.ts +3 -0
- package/lib/note-part-feature/note-part-feature.component.d.ts +5 -2
- package/lib/tiled-text-layer-part-feature/tiled-text-layer-part-feature.component.d.ts +18 -15
- package/lib/tiled-text-part-feature/edit-tiled-text-part.query.d.ts +3 -0
- package/lib/tiled-text-part-feature/edit-tiled-text-part.service.d.ts +5 -2
- package/lib/tiled-text-part-feature/edit-tiled-text-part.store.d.ts +3 -0
- package/lib/tiled-text-part-feature/tiled-text-part-feature.component.d.ts +5 -2
- package/lib/token-text-layer-part-feature/token-text-layer-part-feature.component.d.ts +15 -12
- package/lib/token-text-part-feature/edit-token-text-part.query.d.ts +3 -0
- package/lib/token-text-part-feature/edit-token-text-part.service.d.ts +3 -0
- package/lib/token-text-part-feature/edit-token-text-part.store.d.ts +3 -0
- package/lib/token-text-part-feature/token-text-part-feature.component.d.ts +4 -1
- package/myrmidon-cadmus-part-general-pg.d.ts +1 -38
- package/package.json +27 -15
- package/public-api.d.ts +2 -0
- package/bundles/myrmidon-cadmus-part-general-pg.umd.js +0 -2342
- package/bundles/myrmidon-cadmus-part-general-pg.umd.js.map +0 -1
- package/esm2015/lib/bibliography-part-feature/bibliography-part-feature.component.js +0 -36
- package/esm2015/lib/bibliography-part-feature/edit-bibliography-part.query.js +0 -18
- package/esm2015/lib/bibliography-part-feature/edit-bibliography-part.service.js +0 -23
- package/esm2015/lib/bibliography-part-feature/edit-bibliography-part.store.js +0 -27
- package/esm2015/lib/cadmus-part-general-pg.module.js +0 -164
- package/esm2015/lib/categories-part-feature/categories-part-feature.component.js +0 -31
- package/esm2015/lib/categories-part-feature/edit-categories-part.query.js +0 -18
- package/esm2015/lib/categories-part-feature/edit-categories-part.service.js +0 -23
- package/esm2015/lib/categories-part-feature/edit-categories-part.store.js +0 -27
- package/esm2015/lib/chronology-fragment-feature/chronology-fragment-feature.component.js +0 -35
- package/esm2015/lib/chronology-fragment-feature/edit-chronology-fragment.query.js +0 -19
- package/esm2015/lib/chronology-fragment-feature/edit-chronology-fragment.service.js +0 -23
- package/esm2015/lib/chronology-fragment-feature/edit-chronology-fragment.store.js +0 -27
- package/esm2015/lib/comment-fragment-feature/comment-fragment-feature.component.js +0 -42
- package/esm2015/lib/comment-fragment-feature/edit-comment-fragment.query.js +0 -19
- package/esm2015/lib/comment-fragment-feature/edit-comment-fragment.service.js +0 -23
- package/esm2015/lib/comment-fragment-feature/edit-comment-fragment.store.js +0 -27
- package/esm2015/lib/comment-part-feature/comment-part-feature.component.js +0 -38
- package/esm2015/lib/comment-part-feature/edit-comment-part.query.js +0 -18
- package/esm2015/lib/comment-part-feature/edit-comment-part.service.js +0 -23
- package/esm2015/lib/comment-part-feature/edit-comment-part.store.js +0 -27
- package/esm2015/lib/doc-references-part-feature/doc-references-part-feature.component.js +0 -31
- package/esm2015/lib/doc-references-part-feature/edit-doc-references-part.query.js +0 -18
- package/esm2015/lib/doc-references-part-feature/edit-doc-references-part.service.js +0 -23
- package/esm2015/lib/doc-references-part-feature/edit-doc-references-part.store.js +0 -27
- package/esm2015/lib/historical-date-part-feature/edit-historical-date-part.query.js +0 -18
- package/esm2015/lib/historical-date-part-feature/edit-historical-date-part.service.js +0 -23
- package/esm2015/lib/historical-date-part-feature/edit-historical-date-part.store.js +0 -27
- package/esm2015/lib/historical-date-part-feature/historical-date-part-feature.component.js +0 -31
- package/esm2015/lib/index-keywords-part-feature/edit-index-keywords-part.query.js +0 -18
- package/esm2015/lib/index-keywords-part-feature/edit-index-keywords-part.service.js +0 -23
- package/esm2015/lib/index-keywords-part-feature/edit-index-keywords-part.store.js +0 -27
- package/esm2015/lib/index-keywords-part-feature/index-keywords-part-feature.component.js +0 -31
- package/esm2015/lib/keywords-part-feature/edit-keywords-part.query.js +0 -18
- package/esm2015/lib/keywords-part-feature/edit-keywords-part.service.js +0 -23
- package/esm2015/lib/keywords-part-feature/edit-keywords-part.store.js +0 -27
- package/esm2015/lib/keywords-part-feature/keywords-part-feature.component.js +0 -31
- package/esm2015/lib/note-part-feature/edit-note-part.query.js +0 -18
- package/esm2015/lib/note-part-feature/edit-note-part.service.js +0 -23
- package/esm2015/lib/note-part-feature/edit-note-part.store.js +0 -27
- package/esm2015/lib/note-part-feature/note-part-feature.component.js +0 -31
- package/esm2015/lib/tiled-text-layer-part-feature/tiled-text-layer-part-feature.component.js +0 -213
- package/esm2015/lib/tiled-text-layer-part-feature/tiled-text-layer-view.js +0 -380
- package/esm2015/lib/tiled-text-part-feature/edit-tiled-text-part.query.js +0 -18
- package/esm2015/lib/tiled-text-part-feature/edit-tiled-text-part.service.js +0 -41
- package/esm2015/lib/tiled-text-part-feature/edit-tiled-text-part.store.js +0 -27
- package/esm2015/lib/tiled-text-part-feature/tiled-text-part-feature.component.js +0 -31
- package/esm2015/lib/token-text-layer-part-feature/token-text-layer-part-feature.component.js +0 -171
- package/esm2015/lib/token-text-part-feature/edit-token-text-part.query.js +0 -18
- package/esm2015/lib/token-text-part-feature/edit-token-text-part.service.js +0 -23
- package/esm2015/lib/token-text-part-feature/edit-token-text-part.store.js +0 -27
- package/esm2015/lib/token-text-part-feature/token-text-part-feature.component.js +0 -31
- package/esm2015/myrmidon-cadmus-part-general-pg.js +0 -43
- package/esm2015/public-api.js +0 -17
- package/fesm2015/myrmidon-cadmus-part-general-pg.js +0 -1849
- package/fesm2015/myrmidon-cadmus-part-general-pg.js.map +0 -1
- package/myrmidon-cadmus-part-general-pg.metadata.json +0 -1
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { EditItemQuery, EditItemService, EditPartFeatureBase } from '@myrmidon/cadmus-state';
|
|
4
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
5
|
import { EditCommentPartService } from './edit-comment-part.service';
|
|
5
6
|
import { EditCommentPartQuery } from './edit-comment-part.query';
|
|
6
|
-
import
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class CommentPartFeatureComponent extends EditPartFeatureBase implements OnInit {
|
|
8
9
|
constructor(router: Router, route: ActivatedRoute, snackbar: MatSnackBar, editPartQuery: EditCommentPartQuery, editPartService: EditCommentPartService, editItemQuery: EditItemQuery, editItemService: EditItemService);
|
|
9
10
|
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommentPartFeatureComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommentPartFeatureComponent, "cadmus-comment-part-feature", never, {}, {}, never, never>;
|
|
10
13
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EditPartQueryBase } from '@myrmidon/cadmus-state';
|
|
2
2
|
import { EditCommentPartStore } from './edit-comment-part.store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditCommentPartQuery extends EditPartQueryBase {
|
|
4
5
|
constructor(store: EditCommentPartStore);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditCommentPartQuery, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditCommentPartQuery>;
|
|
5
8
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ItemService, ThesaurusService } from '@myrmidon/cadmus-api';
|
|
2
2
|
import { EditPartServiceBase } from '@myrmidon/cadmus-state';
|
|
3
3
|
import { EditCommentPartStore } from './edit-comment-part.store';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class EditCommentPartService extends EditPartServiceBase {
|
|
5
6
|
constructor(editPartStore: EditCommentPartStore, itemService: ItemService, thesaurusService: ThesaurusService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditCommentPartService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditCommentPartService>;
|
|
6
9
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Store } from '@datorama/akita';
|
|
2
2
|
import { EditPartState, EditPartStoreApi } from '@myrmidon/cadmus-state';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditCommentPartStore extends Store<EditPartState> implements EditPartStoreApi {
|
|
4
5
|
constructor();
|
|
5
6
|
setDirty(value: boolean): void;
|
|
6
7
|
setSaving(value: boolean): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditCommentPartStore, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditCommentPartStore>;
|
|
7
10
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
4
|
import { EditItemQuery, EditItemService, EditPartFeatureBase } from '@myrmidon/cadmus-state';
|
|
4
5
|
import { EditDocReferencesPartService } from './edit-doc-references-part.service';
|
|
5
6
|
import { EditDocReferencesPartQuery } from './edit-doc-references-part.query';
|
|
6
|
-
import
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class DocReferencesPartFeatureComponent extends EditPartFeatureBase implements OnInit {
|
|
8
9
|
constructor(router: Router, route: ActivatedRoute, snackbar: MatSnackBar, editPartQuery: EditDocReferencesPartQuery, editPartService: EditDocReferencesPartService, editItemQuery: EditItemQuery, editItemService: EditItemService);
|
|
9
10
|
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocReferencesPartFeatureComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocReferencesPartFeatureComponent, "cadmus-doc-references-part-feature", never, {}, {}, never, never>;
|
|
10
13
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EditPartQueryBase } from '@myrmidon/cadmus-state';
|
|
2
2
|
import { EditDocReferencesPartStore } from './edit-doc-references-part.store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditDocReferencesPartQuery extends EditPartQueryBase {
|
|
4
5
|
constructor(store: EditDocReferencesPartStore);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditDocReferencesPartQuery, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditDocReferencesPartQuery>;
|
|
5
8
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ItemService, ThesaurusService } from '@myrmidon/cadmus-api';
|
|
2
2
|
import { EditPartServiceBase } from '@myrmidon/cadmus-state';
|
|
3
3
|
import { EditDocReferencesPartStore } from './edit-doc-references-part.store';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class EditDocReferencesPartService extends EditPartServiceBase {
|
|
5
6
|
constructor(editPartStore: EditDocReferencesPartStore, itemService: ItemService, thesaurusService: ThesaurusService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditDocReferencesPartService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditDocReferencesPartService>;
|
|
6
9
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Store } from '@datorama/akita';
|
|
2
2
|
import { EditPartState, EditPartStoreApi } from '@myrmidon/cadmus-state';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditDocReferencesPartStore extends Store<EditPartState> implements EditPartStoreApi {
|
|
4
5
|
constructor();
|
|
5
6
|
setDirty(value: boolean): void;
|
|
6
7
|
setSaving(value: boolean): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditDocReferencesPartStore, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditDocReferencesPartStore>;
|
|
7
10
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EditPartQueryBase } from '@myrmidon/cadmus-state';
|
|
2
2
|
import { EditHistoricalDatePartStore } from './edit-historical-date-part.store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditHistoricalDatePartQuery extends EditPartQueryBase {
|
|
4
5
|
constructor(store: EditHistoricalDatePartStore);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditHistoricalDatePartQuery, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditHistoricalDatePartQuery>;
|
|
5
8
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ItemService, ThesaurusService } from '@myrmidon/cadmus-api';
|
|
2
2
|
import { EditHistoricalDatePartStore } from './edit-historical-date-part.store';
|
|
3
3
|
import { EditPartServiceBase } from '@myrmidon/cadmus-state';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class EditHistoricalDatePartService extends EditPartServiceBase {
|
|
5
6
|
constructor(editPartStore: EditHistoricalDatePartStore, itemService: ItemService, thesaurusService: ThesaurusService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditHistoricalDatePartService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditHistoricalDatePartService>;
|
|
6
9
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Store } from '@datorama/akita';
|
|
2
2
|
import { EditPartState, EditPartStoreApi } from '@myrmidon/cadmus-state';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditHistoricalDatePartStore extends Store<EditPartState> implements EditPartStoreApi {
|
|
4
5
|
constructor();
|
|
5
6
|
setDirty(value: boolean): void;
|
|
6
7
|
setSaving(value: boolean): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditHistoricalDatePartStore, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditHistoricalDatePartStore>;
|
|
7
10
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { EditPartFeatureBase, EditItemQuery, EditItemService } from '@myrmidon/cadmus-state';
|
|
3
2
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
|
+
import { EditPartFeatureBase, EditItemQuery, EditItemService } from '@myrmidon/cadmus-state';
|
|
4
5
|
import { EditHistoricalDatePartQuery } from './edit-historical-date-part.query';
|
|
5
6
|
import { EditHistoricalDatePartService } from './edit-historical-date-part.service';
|
|
6
|
-
import
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class HistoricalDatePartFeatureComponent extends EditPartFeatureBase implements OnInit {
|
|
8
9
|
constructor(router: Router, route: ActivatedRoute, snackbar: MatSnackBar, editPartQuery: EditHistoricalDatePartQuery, editPartService: EditHistoricalDatePartService, editItemQuery: EditItemQuery, editItemService: EditItemService);
|
|
9
10
|
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HistoricalDatePartFeatureComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HistoricalDatePartFeatureComponent, "cadmus-historical-date-part-feature", never, {}, {}, never, never>;
|
|
10
13
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EditPartQueryBase } from '@myrmidon/cadmus-state';
|
|
2
2
|
import { EditIndexKeywordsPartStore } from './edit-index-keywords-part.store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditIndexKeywordsPartQuery extends EditPartQueryBase {
|
|
4
5
|
constructor(store: EditIndexKeywordsPartStore);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditIndexKeywordsPartQuery, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditIndexKeywordsPartQuery>;
|
|
5
8
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ItemService, ThesaurusService } from '@myrmidon/cadmus-api';
|
|
2
2
|
import { EditIndexKeywordsPartStore } from './edit-index-keywords-part.store';
|
|
3
3
|
import { EditPartServiceBase } from '@myrmidon/cadmus-state';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class EditIndexKeywordsPartService extends EditPartServiceBase {
|
|
5
6
|
constructor(editPartStore: EditIndexKeywordsPartStore, itemService: ItemService, thesaurusService: ThesaurusService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditIndexKeywordsPartService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditIndexKeywordsPartService>;
|
|
6
9
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Store } from '@datorama/akita';
|
|
2
2
|
import { EditPartState, EditPartStoreApi } from '@myrmidon/cadmus-state';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditIndexKeywordsPartStore extends Store<EditPartState> implements EditPartStoreApi {
|
|
4
5
|
constructor();
|
|
5
6
|
setDirty(value: boolean): void;
|
|
6
7
|
setSaving(value: boolean): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditIndexKeywordsPartStore, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditIndexKeywordsPartStore>;
|
|
7
10
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { EditPartFeatureBase, EditItemQuery, EditItemService } from '@myrmidon/cadmus-state';
|
|
3
2
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
|
+
import { EditPartFeatureBase, EditItemQuery, EditItemService } from '@myrmidon/cadmus-state';
|
|
4
5
|
import { EditIndexKeywordsPartQuery } from './edit-index-keywords-part.query';
|
|
5
6
|
import { EditIndexKeywordsPartService } from './edit-index-keywords-part.service';
|
|
6
|
-
import
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class IndexKeywordsPartFeatureComponent extends EditPartFeatureBase implements OnInit {
|
|
8
9
|
constructor(router: Router, route: ActivatedRoute, snackbar: MatSnackBar, editPartQuery: EditIndexKeywordsPartQuery, editPartService: EditIndexKeywordsPartService, editItemQuery: EditItemQuery, editItemService: EditItemService);
|
|
9
10
|
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IndexKeywordsPartFeatureComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IndexKeywordsPartFeatureComponent, "cadmus-index-keywords-part-feature", never, {}, {}, never, never>;
|
|
10
13
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EditPartQueryBase } from '@myrmidon/cadmus-state';
|
|
2
2
|
import { EditKeywordsPartStore } from './edit-keywords-part.store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditKeywordsPartQuery extends EditPartQueryBase {
|
|
4
5
|
constructor(store: EditKeywordsPartStore);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditKeywordsPartQuery, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditKeywordsPartQuery>;
|
|
5
8
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ItemService, ThesaurusService } from '@myrmidon/cadmus-api';
|
|
2
2
|
import { EditPartServiceBase } from '@myrmidon/cadmus-state';
|
|
3
3
|
import { EditKeywordsPartStore } from './edit-keywords-part.store';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class EditKeywordsPartService extends EditPartServiceBase {
|
|
5
6
|
constructor(editPartStore: EditKeywordsPartStore, itemService: ItemService, thesaurusService: ThesaurusService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditKeywordsPartService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditKeywordsPartService>;
|
|
6
9
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Store } from '@datorama/akita';
|
|
2
2
|
import { EditPartState, EditPartStoreApi } from '@myrmidon/cadmus-state';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditKeywordsPartStore extends Store<EditPartState> implements EditPartStoreApi {
|
|
4
5
|
constructor();
|
|
5
6
|
setDirty(value: boolean): void;
|
|
6
7
|
setSaving(value: boolean): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditKeywordsPartStore, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditKeywordsPartStore>;
|
|
7
10
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { EditPartFeatureBase, EditItemQuery, EditItemService } from '@myrmidon/cadmus-state';
|
|
3
2
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
|
+
import { EditPartFeatureBase, EditItemQuery, EditItemService } from '@myrmidon/cadmus-state';
|
|
4
5
|
import { EditKeywordsPartQuery } from './edit-keywords-part.query';
|
|
5
6
|
import { EditKeywordsPartService } from './edit-keywords-part.service';
|
|
6
|
-
import
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class KeywordsPartFeatureComponent extends EditPartFeatureBase implements OnInit {
|
|
8
9
|
constructor(router: Router, route: ActivatedRoute, snackbar: MatSnackBar, editPartQuery: EditKeywordsPartQuery, editPartService: EditKeywordsPartService, editItemQuery: EditItemQuery, editItemService: EditItemService);
|
|
9
10
|
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KeywordsPartFeatureComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KeywordsPartFeatureComponent, "cadmus-keywords-part-feature", never, {}, {}, never, never>;
|
|
10
13
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EditPartQueryBase } from '@myrmidon/cadmus-state';
|
|
2
2
|
import { EditNotePartStore } from './edit-note-part.store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditNotePartQuery extends EditPartQueryBase {
|
|
4
5
|
constructor(store: EditNotePartStore);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditNotePartQuery, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditNotePartQuery>;
|
|
5
8
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ItemService, ThesaurusService } from '@myrmidon/cadmus-api';
|
|
2
2
|
import { EditNotePartStore } from './edit-note-part.store';
|
|
3
3
|
import { EditPartServiceBase } from '@myrmidon/cadmus-state';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class EditNotePartService extends EditPartServiceBase {
|
|
5
6
|
constructor(editPartStore: EditNotePartStore, itemService: ItemService, thesaurusService: ThesaurusService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditNotePartService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditNotePartService>;
|
|
6
9
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Store } from '@datorama/akita';
|
|
2
2
|
import { EditPartState, EditPartStoreApi } from '@myrmidon/cadmus-state';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditNotePartStore extends Store<EditPartState> implements EditPartStoreApi {
|
|
4
5
|
constructor();
|
|
5
6
|
setDirty(value: boolean): void;
|
|
6
7
|
setSaving(value: boolean): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditNotePartStore, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditNotePartStore>;
|
|
7
10
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
|
+
import { EditItemQuery, EditItemService, EditPartFeatureBase } from '@myrmidon/cadmus-state';
|
|
3
5
|
import { EditNotePartService } from './edit-note-part.service';
|
|
4
6
|
import { EditNotePartQuery } from './edit-note-part.query';
|
|
5
|
-
import
|
|
6
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class NotePartFeatureComponent extends EditPartFeatureBase implements OnInit {
|
|
8
9
|
constructor(router: Router, route: ActivatedRoute, snackbar: MatSnackBar, editPartQuery: EditNotePartQuery, editPartService: EditNotePartService, editItemQuery: EditItemQuery, editItemService: EditItemService);
|
|
9
10
|
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotePartFeatureComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotePartFeatureComponent, "cadmus-note-part-feature", never, {}, {}, never, never>;
|
|
10
13
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
import { TokenLocation, LibraryRouteService, ComponentCanDeactivate, LayerHint } from '@myrmidon/cadmus-core';
|
|
4
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
5
|
import { EditLayerPartQuery, EditLayerPartService, EditItemQuery, EditItemService } from '@myrmidon/cadmus-state';
|
|
6
|
-
import { DialogService } from '@myrmidon/cadmus-ui';
|
|
7
6
|
import { TextTileRow } from '@myrmidon/cadmus-part-general-ui';
|
|
8
|
-
import { TiledTextLayerView, TextTileLayerView } from './tiled-text-layer-view';
|
|
9
7
|
import { AuthService } from '@myrmidon/cadmus-api';
|
|
8
|
+
import { DialogService } from '@myrmidon/ng-mat-tools';
|
|
9
|
+
import { TiledTextLayerView, TextTileLayerView } from './tiled-text-layer-view';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* Tiled text layer part editor.
|
|
12
13
|
* This editor allows picking any layer and see all the text tiles included
|
|
@@ -28,22 +29,22 @@ export declare class TiledTextLayerPartFeatureComponent implements OnInit, Compo
|
|
|
28
29
|
private _editItemService;
|
|
29
30
|
private _libraryRouteService;
|
|
30
31
|
private _dialogService;
|
|
31
|
-
view
|
|
32
|
-
selectedTile
|
|
32
|
+
view?: TiledTextLayerView;
|
|
33
|
+
selectedTile?: TextTileLayerView;
|
|
33
34
|
itemId: string;
|
|
34
|
-
partId
|
|
35
|
-
roleId
|
|
36
|
-
loading$: Observable<boolean>;
|
|
37
|
-
error$: Observable<string>;
|
|
38
|
-
baseText$: Observable<string>;
|
|
35
|
+
partId?: string;
|
|
36
|
+
roleId?: string;
|
|
37
|
+
loading$: Observable<boolean | undefined>;
|
|
38
|
+
error$: Observable<string | undefined>;
|
|
39
|
+
baseText$: Observable<string | undefined>;
|
|
39
40
|
locations$: Observable<TokenLocation[]>;
|
|
40
41
|
rows$: Observable<TextTileRow[]>;
|
|
41
|
-
refreshingBreakChance$: Observable<boolean>;
|
|
42
|
-
breakChance$: Observable<number>;
|
|
42
|
+
refreshingBreakChance$: Observable<boolean | undefined>;
|
|
43
|
+
breakChance$: Observable<number | undefined>;
|
|
43
44
|
layerHints$: Observable<LayerHint[]>;
|
|
44
|
-
patchingLayer$: Observable<boolean>;
|
|
45
|
-
deletingFragment$: Observable<boolean>;
|
|
46
|
-
pickedLocation
|
|
45
|
+
patchingLayer$: Observable<boolean | undefined>;
|
|
46
|
+
deletingFragment$: Observable<boolean | undefined>;
|
|
47
|
+
pickedLocation?: string;
|
|
47
48
|
userLevel: number;
|
|
48
49
|
constructor(route: ActivatedRoute, _router: Router, _editQuery: EditLayerPartQuery, _editService: EditLayerPartService, _editItemQuery: EditItemQuery, _editItemService: EditItemService, _libraryRouteService: LibraryRouteService, _dialogService: DialogService, authService: AuthService);
|
|
49
50
|
canDeactivate(): boolean;
|
|
@@ -65,4 +66,6 @@ export declare class TiledTextLayerPartFeatureComponent implements OnInit, Compo
|
|
|
65
66
|
clearTileChecks(): void;
|
|
66
67
|
applyLayerPatches(patches: string[]): void;
|
|
67
68
|
close(): void;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TiledTextLayerPartFeatureComponent, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TiledTextLayerPartFeatureComponent, "cadmus-tiled-text-layer-part-feature", never, {}, {}, never, never>;
|
|
68
71
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EditPartQueryBase } from '@myrmidon/cadmus-state';
|
|
2
2
|
import { EditTiledTextPartStore } from './edit-tiled-text-part.store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditTiledTextPartQuery extends EditPartQueryBase {
|
|
4
5
|
constructor(store: EditTiledTextPartStore);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditTiledTextPartQuery, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditTiledTextPartQuery>;
|
|
5
8
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ItemService, ThesaurusService } from '@myrmidon/cadmus-api';
|
|
2
|
-
import { EditTiledTextPartStore } from './edit-tiled-text-part.store';
|
|
3
2
|
import { EditPartServiceBase } from '@myrmidon/cadmus-state';
|
|
3
|
+
import { EditTiledTextPartStore } from './edit-tiled-text-part.store';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class EditTiledTextPartService extends EditPartServiceBase {
|
|
5
6
|
constructor(editPartStore: EditTiledTextPartStore, itemService: ItemService, thesaurusService: ThesaurusService);
|
|
6
7
|
/**
|
|
@@ -11,5 +12,7 @@ export declare class EditTiledTextPartService extends EditPartServiceBase {
|
|
|
11
12
|
* @param itemId The item's ID.
|
|
12
13
|
* @param thesauriIds The optional thesauri IDs.
|
|
13
14
|
*/
|
|
14
|
-
loadBaseTextPart(itemId: string, thesauriIds?: string[]
|
|
15
|
+
loadBaseTextPart(itemId: string, thesauriIds?: string[]): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditTiledTextPartService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditTiledTextPartService>;
|
|
15
18
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Store } from '@datorama/akita';
|
|
2
2
|
import { EditPartState, EditPartStoreApi } from '@myrmidon/cadmus-state';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditTiledTextPartStore extends Store<EditPartState> implements EditPartStoreApi {
|
|
4
5
|
constructor();
|
|
5
6
|
setDirty(value: boolean): void;
|
|
6
7
|
setSaving(value: boolean): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditTiledTextPartStore, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditTiledTextPartStore>;
|
|
7
10
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
|
+
import { EditItemQuery, EditItemService, EditPartFeatureBase } from '@myrmidon/cadmus-state';
|
|
3
5
|
import { EditTiledTextPartService } from './edit-tiled-text-part.service';
|
|
4
6
|
import { EditTiledTextPartQuery } from './edit-tiled-text-part.query';
|
|
5
|
-
import
|
|
6
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class TiledTextPartFeatureComponent extends EditPartFeatureBase implements OnInit {
|
|
8
9
|
constructor(router: Router, route: ActivatedRoute, snackbar: MatSnackBar, editPartQuery: EditTiledTextPartQuery, editPartService: EditTiledTextPartService, editItemQuery: EditItemQuery, editItemService: EditItemService);
|
|
9
10
|
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TiledTextPartFeatureComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TiledTextPartFeatureComponent, "cadmus-tiled-text-part-feature", never, {}, {}, never, never>;
|
|
10
13
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
import { TokenLocation, LibraryRouteService, TextLayerService, ComponentCanDeactivate, LayerHint } from '@myrmidon/cadmus-core';
|
|
4
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
|
-
import { DialogService } from '@myrmidon/cadmus-ui';
|
|
6
5
|
import { EditLayerPartQuery, EditLayerPartService, EditItemQuery, EditItemService } from '@myrmidon/cadmus-state';
|
|
7
6
|
import { AuthService } from '@myrmidon/cadmus-api';
|
|
7
|
+
import { DialogService } from '@myrmidon/ng-mat-tools';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
/**
|
|
9
10
|
* Token-based text layer part feature editor. This is a special type of editor,
|
|
10
11
|
* rather than being a simple wrapper like the others; it is used for editing
|
|
@@ -22,18 +23,18 @@ export declare class TokenTextLayerPartFeatureComponent implements OnInit, Compo
|
|
|
22
23
|
private _libraryRouteService;
|
|
23
24
|
private _dialogService;
|
|
24
25
|
itemId: string;
|
|
25
|
-
partId
|
|
26
|
-
roleId
|
|
27
|
-
loading$: Observable<boolean>;
|
|
28
|
-
error$: Observable<string>;
|
|
29
|
-
baseText$: Observable<string>;
|
|
30
|
-
locations$: Observable<TokenLocation[]>;
|
|
31
|
-
refreshingBreakChance$: Observable<boolean>;
|
|
26
|
+
partId?: string;
|
|
27
|
+
roleId?: string;
|
|
28
|
+
loading$: Observable<boolean | undefined>;
|
|
29
|
+
error$: Observable<string | undefined>;
|
|
30
|
+
baseText$: Observable<string | undefined>;
|
|
31
|
+
locations$: Observable<TokenLocation[] | undefined>;
|
|
32
|
+
refreshingBreakChance$: Observable<boolean | undefined>;
|
|
32
33
|
breakChance$: Observable<number>;
|
|
33
34
|
layerHints$: Observable<LayerHint[]>;
|
|
34
|
-
patchingLayer$: Observable<boolean>;
|
|
35
|
-
deletingFragment$: Observable<boolean>;
|
|
36
|
-
pickedLocation
|
|
35
|
+
patchingLayer$: Observable<boolean | undefined>;
|
|
36
|
+
deletingFragment$: Observable<boolean | undefined>;
|
|
37
|
+
pickedLocation?: string;
|
|
37
38
|
userLevel: number;
|
|
38
39
|
textSize: number;
|
|
39
40
|
constructor(route: ActivatedRoute, _router: Router, _editQuery: EditLayerPartQuery, _editService: EditLayerPartService, _textLayerService: TextLayerService, _editItemQuery: EditItemQuery, _editItemService: EditItemService, _libraryRouteService: LibraryRouteService, _dialogService: DialogService, authService: AuthService);
|
|
@@ -53,4 +54,6 @@ export declare class TokenTextLayerPartFeatureComponent implements OnInit, Compo
|
|
|
53
54
|
applyLayerPatches(patches: string[]): void;
|
|
54
55
|
pickLocation(): void;
|
|
55
56
|
close(): void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TokenTextLayerPartFeatureComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TokenTextLayerPartFeatureComponent, "cadmus-token-text-layer-part-feature", never, {}, {}, never, never>;
|
|
56
59
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EditPartQueryBase } from '@myrmidon/cadmus-state';
|
|
2
2
|
import { EditTokenTextPartStore } from './edit-token-text-part.store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditTokenTextPartQuery extends EditPartQueryBase {
|
|
4
5
|
constructor(store: EditTokenTextPartStore);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditTokenTextPartQuery, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditTokenTextPartQuery>;
|
|
5
8
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ItemService, ThesaurusService } from '@myrmidon/cadmus-api';
|
|
2
2
|
import { EditPartServiceBase } from '@myrmidon/cadmus-state';
|
|
3
3
|
import { EditTokenTextPartStore } from './edit-token-text-part.store';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class EditTokenTextPartService extends EditPartServiceBase {
|
|
5
6
|
constructor(editPartStore: EditTokenTextPartStore, itemService: ItemService, thesaurusService: ThesaurusService);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditTokenTextPartService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditTokenTextPartService>;
|
|
6
9
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Store } from '@datorama/akita';
|
|
2
2
|
import { EditPartState, EditPartStoreApi } from '@myrmidon/cadmus-state';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class EditTokenTextPartStore extends Store<EditPartState> implements EditPartStoreApi {
|
|
4
5
|
constructor();
|
|
5
6
|
setDirty(value: boolean): void;
|
|
6
7
|
setSaving(value: boolean): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditTokenTextPartStore, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EditTokenTextPartStore>;
|
|
7
10
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
4
|
import { EditItemQuery, EditItemService, EditPartFeatureBase } from '@myrmidon/cadmus-state';
|
|
4
5
|
import { EditTokenTextPartQuery } from './edit-token-text-part.query';
|
|
5
6
|
import { EditTokenTextPartService } from './edit-token-text-part.service';
|
|
6
|
-
import
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class TokenTextPartFeatureComponent extends EditPartFeatureBase implements OnInit {
|
|
8
9
|
constructor(router: Router, route: ActivatedRoute, snackbar: MatSnackBar, editPartQuery: EditTokenTextPartQuery, editPartService: EditTokenTextPartService, editItemQuery: EditItemQuery, editItemService: EditItemService);
|
|
9
10
|
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TokenTextPartFeatureComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TokenTextPartFeatureComponent, "cadmus-token-text-part-feature", never, {}, {}, never, never>;
|
|
10
13
|
}
|
|
@@ -1,42 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
|
+
/// <amd-module name="@myrmidon/cadmus-part-general-pg" />
|
|
4
5
|
export * from './public-api';
|
|
5
|
-
export { BibliographyPartFeatureComponent as ɵbe } from './lib/bibliography-part-feature/bibliography-part-feature.component';
|
|
6
|
-
export { EditBibliographyPartQuery as ɵbf } from './lib/bibliography-part-feature/edit-bibliography-part.query';
|
|
7
|
-
export { EditBibliographyPartService as ɵbh } from './lib/bibliography-part-feature/edit-bibliography-part.service';
|
|
8
|
-
export { EditBibliographyPartStore as ɵbg } from './lib/bibliography-part-feature/edit-bibliography-part.store';
|
|
9
|
-
export { EditCategoriesPartQuery as ɵa } from './lib/categories-part-feature/edit-categories-part.query';
|
|
10
|
-
export { EditCategoriesPartService as ɵc } from './lib/categories-part-feature/edit-categories-part.service';
|
|
11
|
-
export { EditCategoriesPartStore as ɵb } from './lib/categories-part-feature/edit-categories-part.store';
|
|
12
|
-
export { EditChronologyFragmentQuery as ɵd } from './lib/chronology-fragment-feature/edit-chronology-fragment.query';
|
|
13
|
-
export { EditChronologyFragmentService as ɵf } from './lib/chronology-fragment-feature/edit-chronology-fragment.service';
|
|
14
|
-
export { EditChronologyFragmentStore as ɵe } from './lib/chronology-fragment-feature/edit-chronology-fragment.store';
|
|
15
|
-
export { EditCommentFragmentQuery as ɵg } from './lib/comment-fragment-feature/edit-comment-fragment.query';
|
|
16
|
-
export { EditCommentFragmentService as ɵi } from './lib/comment-fragment-feature/edit-comment-fragment.service';
|
|
17
|
-
export { EditCommentFragmentStore as ɵh } from './lib/comment-fragment-feature/edit-comment-fragment.store';
|
|
18
|
-
export { EditCommentPartQuery as ɵj } from './lib/comment-part-feature/edit-comment-part.query';
|
|
19
|
-
export { EditCommentPartService as ɵl } from './lib/comment-part-feature/edit-comment-part.service';
|
|
20
|
-
export { EditCommentPartStore as ɵk } from './lib/comment-part-feature/edit-comment-part.store';
|
|
21
|
-
export { EditDocReferencesPartQuery as ɵm } from './lib/doc-references-part-feature/edit-doc-references-part.query';
|
|
22
|
-
export { EditDocReferencesPartService as ɵo } from './lib/doc-references-part-feature/edit-doc-references-part.service';
|
|
23
|
-
export { EditDocReferencesPartStore as ɵn } from './lib/doc-references-part-feature/edit-doc-references-part.store';
|
|
24
|
-
export { EditHistoricalDatePartQuery as ɵp } from './lib/historical-date-part-feature/edit-historical-date-part.query';
|
|
25
|
-
export { EditHistoricalDatePartService as ɵr } from './lib/historical-date-part-feature/edit-historical-date-part.service';
|
|
26
|
-
export { EditHistoricalDatePartStore as ɵq } from './lib/historical-date-part-feature/edit-historical-date-part.store';
|
|
27
|
-
export { EditIndexKeywordsPartQuery as ɵbj } from './lib/index-keywords-part-feature/edit-index-keywords-part.query';
|
|
28
|
-
export { EditIndexKeywordsPartService as ɵbl } from './lib/index-keywords-part-feature/edit-index-keywords-part.service';
|
|
29
|
-
export { EditIndexKeywordsPartStore as ɵbk } from './lib/index-keywords-part-feature/edit-index-keywords-part.store';
|
|
30
|
-
export { IndexKeywordsPartFeatureComponent as ɵbi } from './lib/index-keywords-part-feature/index-keywords-part-feature.component';
|
|
31
|
-
export { EditKeywordsPartQuery as ɵs } from './lib/keywords-part-feature/edit-keywords-part.query';
|
|
32
|
-
export { EditKeywordsPartService as ɵu } from './lib/keywords-part-feature/edit-keywords-part.service';
|
|
33
|
-
export { EditKeywordsPartStore as ɵt } from './lib/keywords-part-feature/edit-keywords-part.store';
|
|
34
|
-
export { EditNotePartQuery as ɵv } from './lib/note-part-feature/edit-note-part.query';
|
|
35
|
-
export { EditNotePartService as ɵx } from './lib/note-part-feature/edit-note-part.service';
|
|
36
|
-
export { EditNotePartStore as ɵw } from './lib/note-part-feature/edit-note-part.store';
|
|
37
|
-
export { EditTiledTextPartQuery as ɵy } from './lib/tiled-text-part-feature/edit-tiled-text-part.query';
|
|
38
|
-
export { EditTiledTextPartService as ɵba } from './lib/tiled-text-part-feature/edit-tiled-text-part.service';
|
|
39
|
-
export { EditTiledTextPartStore as ɵz } from './lib/tiled-text-part-feature/edit-tiled-text-part.store';
|
|
40
|
-
export { EditTokenTextPartQuery as ɵbb } from './lib/token-text-part-feature/edit-token-text-part.query';
|
|
41
|
-
export { EditTokenTextPartService as ɵbd } from './lib/token-text-part-feature/edit-token-text-part.service';
|
|
42
|
-
export { EditTokenTextPartStore as ɵbc } from './lib/token-text-part-feature/edit-token-text-part.store';
|