@myrmidon/cadmus-preview-pg 18.0.1 → 20.0.1
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.
|
@@ -1,81 +1,181 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { MatCard,
|
|
4
|
-
import { PartPreviewComponent, TextPreviewComponent } from
|
|
5
|
-
import * as i1 from
|
|
6
|
-
import { take } from
|
|
7
|
-
import * as i2 from
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, signal } from "@angular/core";
|
|
3
|
+
import { MatCard, MatCardContent, MatCardHeader } from "@angular/material/card";
|
|
4
|
+
import { PartPreviewComponent, TextPreviewComponent } from "@myrmidon/cadmus-preview-ui";
|
|
5
|
+
import * as i1 from "@angular/router";
|
|
6
|
+
import { take } from "rxjs/operators";
|
|
7
|
+
import * as i2 from "@myrmidon/cadmus-state";
|
|
8
|
+
var PartPreviewFeatureComponent = class PartPreviewFeatureComponent {
|
|
9
|
+
source = signal({
|
|
10
|
+
itemId: "",
|
|
11
|
+
partId: ""
|
|
12
|
+
}, ...ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []);
|
|
13
|
+
constructor(route) {
|
|
14
|
+
console.log("PartPreviewFeatureComponent constructor called");
|
|
15
|
+
const sourceValue = {
|
|
16
|
+
itemId: route.snapshot.params["iid"],
|
|
17
|
+
partId: route.snapshot.params["pid"]
|
|
18
|
+
};
|
|
19
|
+
console.log("Setting source to:", sourceValue);
|
|
20
|
+
this.source.set(sourceValue);
|
|
21
|
+
}
|
|
22
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23
|
+
minVersion: "12.0.0",
|
|
24
|
+
version: "22.3.0",
|
|
25
|
+
ngImport: i0,
|
|
26
|
+
type: PartPreviewFeatureComponent,
|
|
27
|
+
deps: [{ token: i1.ActivatedRoute }],
|
|
28
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
29
|
+
});
|
|
30
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
31
|
+
minVersion: "14.0.0",
|
|
32
|
+
version: "22.3.0",
|
|
33
|
+
type: PartPreviewFeatureComponent,
|
|
34
|
+
isStandalone: true,
|
|
35
|
+
selector: "cadmus-part-preview-feature",
|
|
36
|
+
ngImport: i0,
|
|
37
|
+
template: "<mat-card appearance=\"outlined\">\n <mat-card-header>\n <h3>Part Preview</h3>\n </mat-card-header>\n <mat-card-content>\n <cadmus-part-preview [source]=\"source()\"/>\n </mat-card-content>\n</mat-card>\n",
|
|
38
|
+
styles: [""],
|
|
39
|
+
dependencies: [
|
|
40
|
+
{
|
|
41
|
+
kind: "component",
|
|
42
|
+
type: MatCard,
|
|
43
|
+
selector: "mat-card",
|
|
44
|
+
inputs: ["appearance"],
|
|
45
|
+
exportAs: ["matCard"]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
kind: "component",
|
|
49
|
+
type: MatCardHeader,
|
|
50
|
+
selector: "mat-card-header"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
kind: "directive",
|
|
54
|
+
type: MatCardContent,
|
|
55
|
+
selector: "mat-card-content"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
kind: "component",
|
|
59
|
+
type: PartPreviewComponent,
|
|
60
|
+
selector: "cadmus-part-preview",
|
|
61
|
+
inputs: ["source"]
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
68
|
+
minVersion: "12.0.0",
|
|
69
|
+
version: "22.3.0",
|
|
70
|
+
ngImport: i0,
|
|
71
|
+
type: PartPreviewFeatureComponent,
|
|
72
|
+
decorators: [{
|
|
73
|
+
type: Component,
|
|
74
|
+
args: [{
|
|
75
|
+
selector: "cadmus-part-preview-feature",
|
|
76
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
77
|
+
imports: [
|
|
78
|
+
MatCard,
|
|
79
|
+
MatCardHeader,
|
|
80
|
+
MatCardContent,
|
|
81
|
+
PartPreviewComponent
|
|
82
|
+
],
|
|
83
|
+
template: "<mat-card appearance=\"outlined\">\n <mat-card-header>\n <h3>Part Preview</h3>\n </mat-card-header>\n <mat-card-content>\n <cadmus-part-preview [source]=\"source()\"/>\n </mat-card-content>\n</mat-card>\n"
|
|
84
|
+
}]
|
|
85
|
+
}],
|
|
86
|
+
ctorParameters: () => [{ type: i1.ActivatedRoute }]
|
|
87
|
+
});
|
|
88
|
+
var TextPreviewFeatureComponent = class TextPreviewFeatureComponent {
|
|
89
|
+
source;
|
|
90
|
+
typeEntries = signal(void 0, ...ngDevMode ? [{ debugName: "typeEntries" }] : /* istanbul ignore next */ []);
|
|
91
|
+
constructor(route, appRepository) {
|
|
92
|
+
this.source = {
|
|
93
|
+
itemId: route.snapshot.params["iid"],
|
|
94
|
+
partId: route.snapshot.params["pid"],
|
|
95
|
+
layerId: route.snapshot.queryParams["lid"]
|
|
96
|
+
};
|
|
97
|
+
appRepository.typeThesaurus$.pipe(take(1)).subscribe((t) => {
|
|
98
|
+
this.typeEntries.set(t?.entries);
|
|
99
|
+
});
|
|
100
|
+
appRepository.load().then(() => {
|
|
101
|
+
this.typeEntries.set(appRepository.getTypeThesaurus()?.entries);
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
105
|
+
minVersion: "12.0.0",
|
|
106
|
+
version: "22.3.0",
|
|
107
|
+
ngImport: i0,
|
|
108
|
+
type: TextPreviewFeatureComponent,
|
|
109
|
+
deps: [{ token: i1.ActivatedRoute }, { token: i2.AppRepository }],
|
|
110
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
111
|
+
});
|
|
112
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
113
|
+
minVersion: "14.0.0",
|
|
114
|
+
version: "22.3.0",
|
|
115
|
+
type: TextPreviewFeatureComponent,
|
|
116
|
+
isStandalone: true,
|
|
117
|
+
selector: "cadmus-text-preview-feature",
|
|
118
|
+
ngImport: i0,
|
|
119
|
+
template: "<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <h3>Layered Text Preview</h3>\r\n </mat-card-header>\r\n <mat-card-content>\r\n <cadmus-text-preview [source]=\"source\" [typeEntries]=\"typeEntries()\" />\r\n </mat-card-content>\r\n</mat-card>\r\n",
|
|
120
|
+
styles: [""],
|
|
121
|
+
dependencies: [
|
|
122
|
+
{
|
|
123
|
+
kind: "component",
|
|
124
|
+
type: MatCard,
|
|
125
|
+
selector: "mat-card",
|
|
126
|
+
inputs: ["appearance"],
|
|
127
|
+
exportAs: ["matCard"]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
kind: "component",
|
|
131
|
+
type: MatCardHeader,
|
|
132
|
+
selector: "mat-card-header"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
kind: "directive",
|
|
136
|
+
type: MatCardContent,
|
|
137
|
+
selector: "mat-card-content"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
kind: "component",
|
|
141
|
+
type: TextPreviewComponent,
|
|
142
|
+
selector: "cadmus-text-preview",
|
|
143
|
+
inputs: ["source", "typeEntries"]
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
147
|
+
});
|
|
148
|
+
};
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
150
|
+
minVersion: "12.0.0",
|
|
151
|
+
version: "22.3.0",
|
|
152
|
+
ngImport: i0,
|
|
153
|
+
type: TextPreviewFeatureComponent,
|
|
154
|
+
decorators: [{
|
|
155
|
+
type: Component,
|
|
156
|
+
args: [{
|
|
157
|
+
selector: "cadmus-text-preview-feature",
|
|
158
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
159
|
+
imports: [
|
|
160
|
+
MatCard,
|
|
161
|
+
MatCardHeader,
|
|
162
|
+
MatCardContent,
|
|
163
|
+
TextPreviewComponent
|
|
164
|
+
],
|
|
165
|
+
template: "<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <h3>Layered Text Preview</h3>\r\n </mat-card-header>\r\n <mat-card-content>\r\n <cadmus-text-preview [source]=\"source\" [typeEntries]=\"typeEntries()\" />\r\n </mat-card-content>\r\n</mat-card>\r\n"
|
|
166
|
+
}]
|
|
167
|
+
}],
|
|
168
|
+
ctorParameters: () => [{ type: i1.ActivatedRoute }, { type: i2.AppRepository }]
|
|
169
|
+
});
|
|
170
|
+
const CADMUS_PART_PREVIEW_PG_ROUTES = [{
|
|
171
|
+
path: ":iid/:pid/text",
|
|
172
|
+
pathMatch: "full",
|
|
173
|
+
component: TextPreviewFeatureComponent
|
|
174
|
+
}, {
|
|
175
|
+
path: ":iid/:pid",
|
|
176
|
+
pathMatch: "full",
|
|
177
|
+
component: PartPreviewFeatureComponent
|
|
178
|
+
}];
|
|
80
179
|
export { CADMUS_PART_PREVIEW_PG_ROUTES, PartPreviewFeatureComponent, TextPreviewFeatureComponent };
|
|
81
|
-
|
|
180
|
+
|
|
181
|
+
//# sourceMappingURL=myrmidon-cadmus-preview-pg.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"myrmidon-cadmus-preview-pg.mjs","sources":["../../../../projects/myrmidon/cadmus-preview-pg/src/lib/components/part-preview-feature/part-preview-feature.component.ts","../../../../projects/myrmidon/cadmus-preview-pg/src/lib/components/part-preview-feature/part-preview-feature.component.html","../../../../projects/myrmidon/cadmus-preview-pg/src/lib/components/text-preview-feature/text-preview-feature.component.ts","../../../../projects/myrmidon/cadmus-preview-pg/src/lib/components/text-preview-feature/text-preview-feature.component.html","../../../../projects/myrmidon/cadmus-preview-pg/src/lib/cadmus-preview-pg.routes.ts"
|
|
1
|
+
{"version":3,"file":"myrmidon-cadmus-preview-pg.mjs","names":[],"sources":["../../../../projects/myrmidon/cadmus-preview-pg/src/lib/components/part-preview-feature/part-preview-feature.component.ts","../../../../projects/myrmidon/cadmus-preview-pg/src/lib/components/part-preview-feature/part-preview-feature.component.html","../../../../projects/myrmidon/cadmus-preview-pg/src/lib/components/text-preview-feature/text-preview-feature.component.ts","../../../../projects/myrmidon/cadmus-preview-pg/src/lib/components/text-preview-feature/text-preview-feature.component.html","../../../../projects/myrmidon/cadmus-preview-pg/src/lib/cadmus-preview-pg.routes.ts"],"sourcesContent":["import { Component, signal, ChangeDetectionStrategy, } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\n\nimport { MatCard, MatCardHeader, MatCardContent } from '@angular/material/card';\n\nimport {\n PartPreviewComponent,\n PartPreviewSource,\n} from '@myrmidon/cadmus-preview-ui';\n\n@Component({\n selector: 'cadmus-part-preview-feature',\n templateUrl: './part-preview-feature.component.html',\n styleUrls: ['./part-preview-feature.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [MatCard, MatCardHeader, MatCardContent, PartPreviewComponent],\n})\nexport class PartPreviewFeatureComponent {\n public readonly source = signal<PartPreviewSource>({\n itemId: '',\n partId: '',\n });\n\n constructor(route: ActivatedRoute) {\n console.log('PartPreviewFeatureComponent constructor called');\n const sourceValue = {\n itemId: route.snapshot.params['iid'],\n partId: route.snapshot.params['pid'],\n };\n console.log('Setting source to:', sourceValue);\n this.source.set(sourceValue);\n }\n}\n","<mat-card appearance=\"outlined\">\n <mat-card-header>\n <h3>Part Preview</h3>\n </mat-card-header>\n <mat-card-content>\n <cadmus-part-preview [source]=\"source()\"/>\n </mat-card-content>\n</mat-card>\n","import { ChangeDetectionStrategy, Component, signal } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { take } from 'rxjs/operators';\r\n\r\nimport { MatCard, MatCardHeader, MatCardContent } from '@angular/material/card';\r\n\r\nimport { ThesaurusEntry } from '@myrmidon/cadmus-core';\r\nimport {\r\n PartPreviewSource,\r\n TextPreviewComponent,\r\n} from '@myrmidon/cadmus-preview-ui';\r\nimport { AppRepository } from '@myrmidon/cadmus-state';\r\n\r\n@Component({\r\n selector: 'cadmus-text-preview-feature',\r\n templateUrl: './text-preview-feature.component.html',\r\n styleUrls: ['./text-preview-feature.component.css'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [MatCard, MatCardHeader, MatCardContent, TextPreviewComponent],\r\n})\r\nexport class TextPreviewFeatureComponent {\r\n public source?: PartPreviewSource;\r\n public readonly typeEntries = signal<ThesaurusEntry[] | undefined>(undefined);\r\n\r\n constructor(route: ActivatedRoute, appRepository: AppRepository) {\r\n this.source = {\r\n itemId: route.snapshot.params['iid'],\r\n partId: route.snapshot.params['pid'],\r\n layerId: route.snapshot.queryParams['lid'],\r\n };\r\n appRepository.typeThesaurus$.pipe(take(1)).subscribe((t) => {\r\n this.typeEntries.set(t?.entries);\r\n });\r\n // ensure app data is loaded\r\n appRepository.load().then(() => {\r\n this.typeEntries.set(appRepository.getTypeThesaurus()?.entries);\r\n });\r\n }\r\n}\r\n","<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <h3>Layered Text Preview</h3>\r\n </mat-card-header>\r\n <mat-card-content>\r\n <cadmus-text-preview [source]=\"source\" [typeEntries]=\"typeEntries()\" />\r\n </mat-card-content>\r\n</mat-card>\r\n","import { Routes } from '@angular/router';\r\n\r\nimport { PartPreviewFeatureComponent } from './components/part-preview-feature/part-preview-feature.component';\r\nimport { TextPreviewFeatureComponent } from './components/text-preview-feature/text-preview-feature.component';\r\n\r\n// https://github.com/ng-packagr/ng-packagr/issues/778\r\nexport const CADMUS_PART_PREVIEW_PG_ROUTES: Routes = [\r\n {\r\n path: ':iid/:pid/text',\r\n pathMatch: 'full',\r\n component: TextPreviewFeatureComponent,\r\n },\r\n {\r\n path: ':iid/:pid',\r\n pathMatch: 'full',\r\n component: PartPreviewFeatureComponent,\r\n },\r\n];\r\n"],"mappings":";;;;;;;AAiBA,IAAa,8BAAb,MAAa,4BAA2B;CACtB,SAAS,OAA0B;EACjD,QAAQ;EACR,QAAQ;CACT,GAAC,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;CAEF,YAAY,OAAqB;EAC/B,QAAQ,IAAI,gDAAgD;EAC5D,MAAM,cAAc;GAClB,QAAQ,MAAM,SAAS,OAAO;GAC9B,QAAQ,MAAM,SAAS,OAAO;EAC/B;EACD,QAAQ,IAAI,sBAAsB,WAAW;EAC7C,KAAK,OAAO,IAAI,WAAW;CAC7B;CAdW,OAAA,OAAA,GAAA,mBA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
|
|
4
2
|
"description": "Cadmus - preview wrapper components.",
|
|
5
3
|
"keywords": [
|
|
6
4
|
"Cadmus"
|
|
@@ -14,27 +12,30 @@
|
|
|
14
12
|
"name": "Daniele Fusi"
|
|
15
13
|
},
|
|
16
14
|
"peerDependencies": {
|
|
17
|
-
"@angular/common": "^22.
|
|
18
|
-
"@angular/core": "^22.
|
|
19
|
-
"@myrmidon/ngx-tools": "^3.0.
|
|
15
|
+
"@angular/common": "^22.2.1",
|
|
16
|
+
"@angular/core": "^22.2.1",
|
|
17
|
+
"@myrmidon/ngx-tools": "^3.0.2",
|
|
20
18
|
"@myrmidon/ngx-mat-tools": "^3.0.1",
|
|
21
|
-
"@myrmidon/cadmus-api": "^
|
|
22
|
-
"@myrmidon/cadmus-preview-ui": "^
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"tslib": "^2.3.0"
|
|
19
|
+
"@myrmidon/cadmus-api": "^20.0.0",
|
|
20
|
+
"@myrmidon/cadmus-preview-ui": "^20.0.0",
|
|
21
|
+
"@myrmidon/cadmus-core": "^20.0.0",
|
|
22
|
+
"@myrmidon/cadmus-state": "^20.0.0"
|
|
26
23
|
},
|
|
27
|
-
"
|
|
28
|
-
"
|
|
24
|
+
"name": "@myrmidon/cadmus-preview-pg",
|
|
25
|
+
"type": "module",
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"main": "./fesm2022/myrmidon-cadmus-preview-pg.mjs",
|
|
28
|
+
"module": "./fesm2022/myrmidon-cadmus-preview-pg.mjs",
|
|
29
|
+
"typings": "./types/myrmidon-cadmus-preview-pg.d.ts",
|
|
30
|
+
"types": "./types/myrmidon-cadmus-preview-pg.d.ts",
|
|
29
31
|
"exports": {
|
|
30
|
-
"./package.json": {
|
|
31
|
-
"default": "./package.json"
|
|
32
|
-
},
|
|
33
32
|
".": {
|
|
34
33
|
"types": "./types/myrmidon-cadmus-preview-pg.d.ts",
|
|
35
34
|
"default": "./fesm2022/myrmidon-cadmus-preview-pg.mjs"
|
|
35
|
+
},
|
|
36
|
+
"./package.json": {
|
|
37
|
+
"default": "./package.json"
|
|
36
38
|
}
|
|
37
39
|
},
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
}
|
|
40
|
+
"version": "20.0.1"
|
|
41
|
+
}
|
|
@@ -1,24 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { ThesaurusEntry } from
|
|
5
|
-
import { AppRepository } from
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PartPreviewFeatureComponent, "cadmus-part-preview-feature", never, {}, {}, never, never, true, never>;
|
|
1
|
+
import { ActivatedRoute, Routes } from "@angular/router";
|
|
2
|
+
import { PartPreviewSource } from "@myrmidon/cadmus-preview-ui";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { ThesaurusEntry } from "@myrmidon/cadmus-core";
|
|
5
|
+
import { AppRepository } from "@myrmidon/cadmus-state";
|
|
6
|
+
export declare class PartPreviewFeatureComponent {
|
|
7
|
+
readonly source: import("@angular/core").WritableSignal<PartPreviewSource>;
|
|
8
|
+
constructor(route: ActivatedRoute);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PartPreviewFeatureComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PartPreviewFeatureComponent, "cadmus-part-preview-feature", never, {}, {}, never, never, true, never>;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextPreviewFeatureComponent, "cadmus-text-preview-feature", never, {}, {}, never, never, true, never>;
|
|
12
|
+
export declare class TextPreviewFeatureComponent {
|
|
13
|
+
source?: PartPreviewSource;
|
|
14
|
+
readonly typeEntries: import("@angular/core").WritableSignal<ThesaurusEntry[] | undefined>;
|
|
15
|
+
constructor(route: ActivatedRoute, appRepository: AppRepository);
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextPreviewFeatureComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextPreviewFeatureComponent, "cadmus-text-preview-feature", never, {}, {}, never, never, true, never>;
|
|
20
18
|
}
|
|
21
|
-
|
|
22
|
-
declare const CADMUS_PART_PREVIEW_PG_ROUTES: Routes;
|
|
23
|
-
|
|
24
|
-
export { CADMUS_PART_PREVIEW_PG_ROUTES, PartPreviewFeatureComponent, TextPreviewFeatureComponent };
|
|
19
|
+
export declare const CADMUS_PART_PREVIEW_PG_ROUTES: Routes;
|