@myrmidon/cadmus-state 1.0.2 → 1.1.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/app.query.mjs +13 -4
- package/esm2020/lib/app.service.mjs +36 -19
- package/esm2020/lib/app.store.mjs +7 -4
- package/esm2020/lib/cadmus-state.module.mjs +9 -11
- package/esm2020/lib/edit-fragment.store.mjs +3 -3
- package/esm2020/lib/edit-item.query.mjs +3 -3
- package/esm2020/lib/edit-item.service.mjs +3 -3
- package/esm2020/lib/edit-item.store.mjs +3 -3
- package/esm2020/lib/edit-layer-part.query.mjs +3 -3
- package/esm2020/lib/edit-layer-part.service.mjs +3 -3
- package/esm2020/lib/edit-layer-part.store.mjs +3 -3
- package/esm2020/lib/edit-part-feature-base.mjs +2 -2
- package/esm2020/lib/edit-part.store.mjs +3 -3
- package/esm2020/lib/edit-thesaurus.query.mjs +3 -3
- package/esm2020/lib/edit-thesaurus.service.mjs +3 -3
- package/esm2020/lib/edit-thesaurus.store.mjs +3 -3
- package/fesm2015/myrmidon-cadmus-state.mjs +95 -68
- package/fesm2015/myrmidon-cadmus-state.mjs.map +1 -1
- package/fesm2020/myrmidon-cadmus-state.mjs +95 -68
- package/fesm2020/myrmidon-cadmus-state.mjs.map +1 -1
- package/{myrmidon-cadmus-state.d.ts → index.d.ts} +0 -0
- package/lib/app.query.d.ts +3 -0
- package/lib/app.service.d.ts +3 -2
- package/lib/app.store.d.ts +12 -0
- package/package.json +5 -5
|
@@ -13,18 +13,21 @@ import { CommonModule } from '@angular/common';
|
|
|
13
13
|
const initialState$2 = {
|
|
14
14
|
facets: [],
|
|
15
15
|
flags: [],
|
|
16
|
+
previewJKeys: [],
|
|
17
|
+
previewFKeys: [],
|
|
18
|
+
previewCKeys: [],
|
|
16
19
|
};
|
|
17
20
|
let AppStore = class AppStore extends Store {
|
|
18
21
|
constructor() {
|
|
19
22
|
super(initialState$2);
|
|
20
23
|
}
|
|
21
24
|
};
|
|
22
|
-
AppStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
AppStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
25
|
+
AppStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
26
|
+
AppStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppStore, providedIn: 'root' });
|
|
24
27
|
AppStore = __decorate([
|
|
25
28
|
StoreConfig({ name: 'app', resettable: false })
|
|
26
29
|
], AppStore);
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppStore, decorators: [{
|
|
28
31
|
type: Injectable,
|
|
29
32
|
args: [{ providedIn: 'root' }]
|
|
30
33
|
}], ctorParameters: function () { return []; } });
|
|
@@ -46,20 +49,30 @@ class AppQuery extends Query {
|
|
|
46
49
|
selectItemBrowserThesaurus() {
|
|
47
50
|
return this.select((state) => state.itemBrowserThesaurus);
|
|
48
51
|
}
|
|
52
|
+
selectPreviewJKeys() {
|
|
53
|
+
return this.select((state) => state.previewJKeys);
|
|
54
|
+
}
|
|
55
|
+
selectPreviewFKeys() {
|
|
56
|
+
return this.select((state) => state.previewFKeys);
|
|
57
|
+
}
|
|
58
|
+
selectPreviewCKeys() {
|
|
59
|
+
return this.select((state) => state.previewCKeys);
|
|
60
|
+
}
|
|
49
61
|
}
|
|
50
|
-
AppQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
51
|
-
AppQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
62
|
+
AppQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppQuery, deps: [{ token: AppStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
63
|
+
AppQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppQuery, providedIn: 'root' });
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppQuery, decorators: [{
|
|
53
65
|
type: Injectable,
|
|
54
66
|
args: [{ providedIn: 'root' }]
|
|
55
67
|
}], ctorParameters: function () { return [{ type: AppStore }]; } });
|
|
56
68
|
|
|
57
69
|
class AppService {
|
|
58
|
-
constructor(_store, _facetService, _flagService, _thesaurusService) {
|
|
70
|
+
constructor(_store, _facetService, _flagService, _thesaurusService, _previewService) {
|
|
59
71
|
this._store = _store;
|
|
60
72
|
this._facetService = _facetService;
|
|
61
73
|
this._flagService = _flagService;
|
|
62
74
|
this._thesaurusService = _thesaurusService;
|
|
75
|
+
this._previewService = _previewService;
|
|
63
76
|
}
|
|
64
77
|
load() {
|
|
65
78
|
this._store.setLoading(true);
|
|
@@ -69,28 +82,44 @@ class AppService {
|
|
|
69
82
|
'model-types@en',
|
|
70
83
|
'item-browsers@en',
|
|
71
84
|
]);
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
+
const jKeys$ = this._previewService.getKeys('J');
|
|
86
|
+
const fKeys$ = this._previewService.getKeys('F');
|
|
87
|
+
const cKeys$ = this._previewService.getKeys('C');
|
|
88
|
+
forkJoin({
|
|
89
|
+
facets: facets$,
|
|
90
|
+
flags: flags$,
|
|
91
|
+
thesauri: thesauri$,
|
|
92
|
+
jKeys: jKeys$,
|
|
93
|
+
fKeys: fKeys$,
|
|
94
|
+
cKeys: cKeys$
|
|
95
|
+
}).subscribe({
|
|
96
|
+
next: (result) => {
|
|
97
|
+
this._store.setLoading(false);
|
|
98
|
+
this._store.setError(null);
|
|
99
|
+
this._store.update({
|
|
100
|
+
facets: result.facets,
|
|
101
|
+
flags: result.flags,
|
|
102
|
+
typeThesaurus: result.thesauri['model-types'],
|
|
103
|
+
itemBrowserThesaurus: result.thesauri['item-browsers'],
|
|
104
|
+
previewJKeys: result.jKeys,
|
|
105
|
+
previewFKeys: result.fKeys,
|
|
106
|
+
previewCKeys: result.cKeys
|
|
107
|
+
});
|
|
108
|
+
},
|
|
109
|
+
error: (error) => {
|
|
110
|
+
console.error(error);
|
|
111
|
+
this._store.setLoading(false);
|
|
112
|
+
this._store.setError('Error loading app state');
|
|
113
|
+
},
|
|
85
114
|
});
|
|
86
115
|
}
|
|
87
116
|
}
|
|
88
|
-
AppService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
89
|
-
AppService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
117
|
+
AppService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppService, deps: [{ token: AppStore }, { token: i2.FacetService }, { token: i2.FlagService }, { token: i2.ThesaurusService }, { token: i2.PreviewService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
118
|
+
AppService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppService, providedIn: 'root' });
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: AppService, decorators: [{
|
|
91
120
|
type: Injectable,
|
|
92
121
|
args: [{ providedIn: 'root' }]
|
|
93
|
-
}], ctorParameters: function () { return [{ type: AppStore }, { type: i2.FacetService }, { type: i2.FlagService }, { type: i2.ThesaurusService }]; } });
|
|
122
|
+
}], ctorParameters: function () { return [{ type: AppStore }, { type: i2.FacetService }, { type: i2.FlagService }, { type: i2.ThesaurusService }, { type: i2.PreviewService }]; } });
|
|
94
123
|
|
|
95
124
|
const initialState$1 = {
|
|
96
125
|
parts: [],
|
|
@@ -117,12 +146,12 @@ let EditItemStore = class EditItemStore extends Store {
|
|
|
117
146
|
});
|
|
118
147
|
}
|
|
119
148
|
};
|
|
120
|
-
EditItemStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
121
|
-
EditItemStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
149
|
+
EditItemStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditItemStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
150
|
+
EditItemStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditItemStore, providedIn: 'root' });
|
|
122
151
|
EditItemStore = __decorate([
|
|
123
152
|
StoreConfig({ name: 'edit-item', resettable: true })
|
|
124
153
|
], EditItemStore);
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditItemStore, decorators: [{
|
|
126
155
|
type: Injectable,
|
|
127
156
|
args: [{ providedIn: 'root' }]
|
|
128
157
|
}], ctorParameters: function () { return []; } });
|
|
@@ -167,9 +196,9 @@ class EditItemQuery extends Query {
|
|
|
167
196
|
.partKey;
|
|
168
197
|
}
|
|
169
198
|
}
|
|
170
|
-
EditItemQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
171
|
-
EditItemQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
199
|
+
EditItemQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditItemQuery, deps: [{ token: EditItemStore }, { token: i2$1.LibraryRouteService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
200
|
+
EditItemQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditItemQuery, providedIn: 'root' });
|
|
201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditItemQuery, decorators: [{
|
|
173
202
|
type: Injectable,
|
|
174
203
|
args: [{ providedIn: 'root' }]
|
|
175
204
|
}], ctorParameters: function () { return [{ type: EditItemStore }, { type: i2$1.LibraryRouteService }]; } });
|
|
@@ -373,9 +402,9 @@ class EditItemService {
|
|
|
373
402
|
});
|
|
374
403
|
}
|
|
375
404
|
}
|
|
376
|
-
EditItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
377
|
-
EditItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
405
|
+
EditItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditItemService, deps: [{ token: EditItemStore }, { token: AppQuery }, { token: i2.ItemService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
406
|
+
EditItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditItemService, providedIn: 'root' });
|
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditItemService, decorators: [{
|
|
379
408
|
type: Injectable,
|
|
380
409
|
args: [{ providedIn: 'root' }]
|
|
381
410
|
}], ctorParameters: function () { return [{ type: EditItemStore }, { type: AppQuery }, { type: i2.ItemService }]; } });
|
|
@@ -537,12 +566,12 @@ let EditFragmentStore = class EditFragmentStore extends Store {
|
|
|
537
566
|
this.update({ saving: value });
|
|
538
567
|
}
|
|
539
568
|
};
|
|
540
|
-
EditFragmentStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
541
|
-
EditFragmentStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
569
|
+
EditFragmentStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditFragmentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
570
|
+
EditFragmentStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditFragmentStore, providedIn: 'root' });
|
|
542
571
|
EditFragmentStore = __decorate([
|
|
543
572
|
StoreConfig({ name: 'edit-fragment' })
|
|
544
573
|
], EditFragmentStore);
|
|
545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditFragmentStore, decorators: [{
|
|
546
575
|
type: Injectable,
|
|
547
576
|
args: [{ providedIn: 'root' }]
|
|
548
577
|
}], ctorParameters: function () { return []; } });
|
|
@@ -711,7 +740,7 @@ class EditPartFeatureBase {
|
|
|
711
740
|
// item ID
|
|
712
741
|
this.itemId = route.snapshot.params['iid'];
|
|
713
742
|
// type ID (from "TYPEID/:pid")
|
|
714
|
-
this.typeId = route.snapshot.routeConfig.path.
|
|
743
|
+
this.typeId = route.snapshot.routeConfig.path.substring(0, route.snapshot.routeConfig.path.indexOf('/'));
|
|
715
744
|
// part ID or null (if "new")
|
|
716
745
|
this.partId = route.snapshot.params['pid'];
|
|
717
746
|
if (this.partId === 'new') {
|
|
@@ -961,12 +990,12 @@ let EditPartStore = class EditPartStore extends Store {
|
|
|
961
990
|
this.update({ saving: value });
|
|
962
991
|
}
|
|
963
992
|
};
|
|
964
|
-
EditPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
965
|
-
EditPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
993
|
+
EditPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
994
|
+
EditPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditPartStore, providedIn: 'root' });
|
|
966
995
|
EditPartStore = __decorate([
|
|
967
996
|
StoreConfig({ name: 'edit-part' })
|
|
968
997
|
], EditPartStore);
|
|
969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditPartStore, decorators: [{
|
|
970
999
|
type: Injectable,
|
|
971
1000
|
args: [{ providedIn: 'root' }]
|
|
972
1001
|
}], ctorParameters: function () { return []; } });
|
|
@@ -1005,12 +1034,12 @@ let EditLayerPartStore = class EditLayerPartStore extends Store {
|
|
|
1005
1034
|
this.update({ locations });
|
|
1006
1035
|
}
|
|
1007
1036
|
};
|
|
1008
|
-
EditLayerPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1009
|
-
EditLayerPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1037
|
+
EditLayerPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1038
|
+
EditLayerPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartStore, providedIn: 'root' });
|
|
1010
1039
|
EditLayerPartStore = __decorate([
|
|
1011
1040
|
StoreConfig({ name: 'edit-layer-part' })
|
|
1012
1041
|
], EditLayerPartStore);
|
|
1013
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartStore, decorators: [{
|
|
1014
1043
|
type: Injectable,
|
|
1015
1044
|
args: [{ providedIn: 'root' }]
|
|
1016
1045
|
}], ctorParameters: function () { return []; } });
|
|
@@ -1039,9 +1068,9 @@ class EditLayerPartQuery extends Query {
|
|
|
1039
1068
|
return this.select((state) => state.patchingLayer);
|
|
1040
1069
|
}
|
|
1041
1070
|
}
|
|
1042
|
-
EditLayerPartQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1043
|
-
EditLayerPartQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1071
|
+
EditLayerPartQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartQuery, deps: [{ token: EditLayerPartStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1072
|
+
EditLayerPartQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartQuery, providedIn: 'root' });
|
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartQuery, decorators: [{
|
|
1045
1074
|
type: Injectable,
|
|
1046
1075
|
args: [{ providedIn: 'root' }]
|
|
1047
1076
|
}], ctorParameters: function () { return [{ type: EditLayerPartStore }]; } });
|
|
@@ -1262,9 +1291,9 @@ class EditLayerPartService {
|
|
|
1262
1291
|
});
|
|
1263
1292
|
}
|
|
1264
1293
|
}
|
|
1265
|
-
EditLayerPartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1266
|
-
EditLayerPartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1294
|
+
EditLayerPartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartService, deps: [{ token: EditLayerPartStore }, { token: i2.ItemService }, { token: i2.FacetService }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1295
|
+
EditLayerPartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartService, providedIn: 'root' });
|
|
1296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartService, decorators: [{
|
|
1268
1297
|
type: Injectable,
|
|
1269
1298
|
args: [{ providedIn: 'root' }]
|
|
1270
1299
|
}], ctorParameters: function () { return [{ type: EditLayerPartStore }, { type: i2.ItemService }, { type: i2.FacetService }, { type: i2.ThesaurusService }]; } });
|
|
@@ -1284,12 +1313,12 @@ let EditThesaurusStore = class EditThesaurusStore extends Store {
|
|
|
1284
1313
|
});
|
|
1285
1314
|
}
|
|
1286
1315
|
};
|
|
1287
|
-
EditThesaurusStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1288
|
-
EditThesaurusStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1316
|
+
EditThesaurusStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1317
|
+
EditThesaurusStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusStore, providedIn: 'root' });
|
|
1289
1318
|
EditThesaurusStore = __decorate([
|
|
1290
1319
|
StoreConfig({ name: 'edit-thesaurus', resettable: true })
|
|
1291
1320
|
], EditThesaurusStore);
|
|
1292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusStore, decorators: [{
|
|
1293
1322
|
type: Injectable,
|
|
1294
1323
|
args: [{ providedIn: 'root' }]
|
|
1295
1324
|
}], ctorParameters: function () { return []; } });
|
|
@@ -1309,9 +1338,9 @@ class EditThesaurusQuery extends Query {
|
|
|
1309
1338
|
return this.select(state => state.saving);
|
|
1310
1339
|
}
|
|
1311
1340
|
}
|
|
1312
|
-
EditThesaurusQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1313
|
-
EditThesaurusQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1341
|
+
EditThesaurusQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusQuery, deps: [{ token: EditThesaurusStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1342
|
+
EditThesaurusQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusQuery, providedIn: 'root' });
|
|
1343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusQuery, decorators: [{
|
|
1315
1344
|
type: Injectable,
|
|
1316
1345
|
args: [{ providedIn: 'root' }]
|
|
1317
1346
|
}], ctorParameters: function () { return [{ type: EditThesaurusStore }]; } });
|
|
@@ -1364,29 +1393,27 @@ class EditThesaurusService {
|
|
|
1364
1393
|
});
|
|
1365
1394
|
}
|
|
1366
1395
|
}
|
|
1367
|
-
EditThesaurusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1368
|
-
EditThesaurusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1396
|
+
EditThesaurusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusService, deps: [{ token: EditThesaurusStore }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1397
|
+
EditThesaurusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusService, providedIn: 'root' });
|
|
1398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusService, decorators: [{
|
|
1370
1399
|
type: Injectable,
|
|
1371
1400
|
args: [{ providedIn: 'root' }]
|
|
1372
1401
|
}], ctorParameters: function () { return [{ type: EditThesaurusStore }, { type: i2.ThesaurusService }]; } });
|
|
1373
1402
|
|
|
1374
1403
|
class CadmusStateModule {
|
|
1375
1404
|
}
|
|
1376
|
-
CadmusStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1377
|
-
CadmusStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
1405
|
+
CadmusStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: CadmusStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1406
|
+
CadmusStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: CadmusStateModule, imports: [CommonModule,
|
|
1407
|
+
// Cadmus
|
|
1408
|
+
CadmusCoreModule,
|
|
1409
|
+
CadmusApiModule,
|
|
1410
|
+
NgToolsModule] });
|
|
1411
|
+
CadmusStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: CadmusStateModule, imports: [CommonModule,
|
|
1378
1412
|
// Cadmus
|
|
1379
1413
|
CadmusCoreModule,
|
|
1380
1414
|
CadmusApiModule,
|
|
1381
1415
|
NgToolsModule] });
|
|
1382
|
-
|
|
1383
|
-
CommonModule,
|
|
1384
|
-
// Cadmus
|
|
1385
|
-
CadmusCoreModule,
|
|
1386
|
-
CadmusApiModule,
|
|
1387
|
-
NgToolsModule,
|
|
1388
|
-
]] });
|
|
1389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CadmusStateModule, decorators: [{
|
|
1416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: CadmusStateModule, decorators: [{
|
|
1390
1417
|
type: NgModule,
|
|
1391
1418
|
args: [{
|
|
1392
1419
|
imports: [
|