@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 }]; } });
|
|
@@ -376,9 +405,9 @@ class EditItemService {
|
|
|
376
405
|
});
|
|
377
406
|
}
|
|
378
407
|
}
|
|
379
|
-
EditItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
380
|
-
EditItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
408
|
+
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 });
|
|
409
|
+
EditItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditItemService, providedIn: 'root' });
|
|
410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditItemService, decorators: [{
|
|
382
411
|
type: Injectable,
|
|
383
412
|
args: [{ providedIn: 'root' }]
|
|
384
413
|
}], ctorParameters: function () { return [{ type: EditItemStore }, { type: AppQuery }, { type: i2.ItemService }]; } });
|
|
@@ -542,12 +571,12 @@ let EditFragmentStore = class EditFragmentStore extends Store {
|
|
|
542
571
|
this.update({ saving: value });
|
|
543
572
|
}
|
|
544
573
|
};
|
|
545
|
-
EditFragmentStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
546
|
-
EditFragmentStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
574
|
+
EditFragmentStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditFragmentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
575
|
+
EditFragmentStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditFragmentStore, providedIn: 'root' });
|
|
547
576
|
EditFragmentStore = __decorate([
|
|
548
577
|
StoreConfig({ name: 'edit-fragment' })
|
|
549
578
|
], EditFragmentStore);
|
|
550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditFragmentStore, decorators: [{
|
|
551
580
|
type: Injectable,
|
|
552
581
|
args: [{ providedIn: 'root' }]
|
|
553
582
|
}], ctorParameters: function () { return []; } });
|
|
@@ -718,7 +747,7 @@ class EditPartFeatureBase {
|
|
|
718
747
|
// item ID
|
|
719
748
|
this.itemId = route.snapshot.params['iid'];
|
|
720
749
|
// type ID (from "TYPEID/:pid")
|
|
721
|
-
this.typeId = route.snapshot.routeConfig.path.
|
|
750
|
+
this.typeId = route.snapshot.routeConfig.path.substring(0, route.snapshot.routeConfig.path.indexOf('/'));
|
|
722
751
|
// part ID or null (if "new")
|
|
723
752
|
this.partId = route.snapshot.params['pid'];
|
|
724
753
|
if (this.partId === 'new') {
|
|
@@ -970,12 +999,12 @@ let EditPartStore = class EditPartStore extends Store {
|
|
|
970
999
|
this.update({ saving: value });
|
|
971
1000
|
}
|
|
972
1001
|
};
|
|
973
|
-
EditPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
974
|
-
EditPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1002
|
+
EditPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1003
|
+
EditPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditPartStore, providedIn: 'root' });
|
|
975
1004
|
EditPartStore = __decorate([
|
|
976
1005
|
StoreConfig({ name: 'edit-part' })
|
|
977
1006
|
], EditPartStore);
|
|
978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1007
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditPartStore, decorators: [{
|
|
979
1008
|
type: Injectable,
|
|
980
1009
|
args: [{ providedIn: 'root' }]
|
|
981
1010
|
}], ctorParameters: function () { return []; } });
|
|
@@ -1014,12 +1043,12 @@ let EditLayerPartStore = class EditLayerPartStore extends Store {
|
|
|
1014
1043
|
this.update({ locations });
|
|
1015
1044
|
}
|
|
1016
1045
|
};
|
|
1017
|
-
EditLayerPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1018
|
-
EditLayerPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1046
|
+
EditLayerPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1047
|
+
EditLayerPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartStore, providedIn: 'root' });
|
|
1019
1048
|
EditLayerPartStore = __decorate([
|
|
1020
1049
|
StoreConfig({ name: 'edit-layer-part' })
|
|
1021
1050
|
], EditLayerPartStore);
|
|
1022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartStore, decorators: [{
|
|
1023
1052
|
type: Injectable,
|
|
1024
1053
|
args: [{ providedIn: 'root' }]
|
|
1025
1054
|
}], ctorParameters: function () { return []; } });
|
|
@@ -1048,9 +1077,9 @@ class EditLayerPartQuery extends Query {
|
|
|
1048
1077
|
return this.select((state) => state.patchingLayer);
|
|
1049
1078
|
}
|
|
1050
1079
|
}
|
|
1051
|
-
EditLayerPartQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1052
|
-
EditLayerPartQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1053
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1080
|
+
EditLayerPartQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartQuery, deps: [{ token: EditLayerPartStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1081
|
+
EditLayerPartQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartQuery, providedIn: 'root' });
|
|
1082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartQuery, decorators: [{
|
|
1054
1083
|
type: Injectable,
|
|
1055
1084
|
args: [{ providedIn: 'root' }]
|
|
1056
1085
|
}], ctorParameters: function () { return [{ type: EditLayerPartStore }]; } });
|
|
@@ -1273,9 +1302,9 @@ class EditLayerPartService {
|
|
|
1273
1302
|
});
|
|
1274
1303
|
}
|
|
1275
1304
|
}
|
|
1276
|
-
EditLayerPartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1277
|
-
EditLayerPartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1305
|
+
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 });
|
|
1306
|
+
EditLayerPartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartService, providedIn: 'root' });
|
|
1307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditLayerPartService, decorators: [{
|
|
1279
1308
|
type: Injectable,
|
|
1280
1309
|
args: [{ providedIn: 'root' }]
|
|
1281
1310
|
}], ctorParameters: function () { return [{ type: EditLayerPartStore }, { type: i2.ItemService }, { type: i2.FacetService }, { type: i2.ThesaurusService }]; } });
|
|
@@ -1295,12 +1324,12 @@ let EditThesaurusStore = class EditThesaurusStore extends Store {
|
|
|
1295
1324
|
});
|
|
1296
1325
|
}
|
|
1297
1326
|
};
|
|
1298
|
-
EditThesaurusStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1299
|
-
EditThesaurusStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1327
|
+
EditThesaurusStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1328
|
+
EditThesaurusStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusStore, providedIn: 'root' });
|
|
1300
1329
|
EditThesaurusStore = __decorate([
|
|
1301
1330
|
StoreConfig({ name: 'edit-thesaurus', resettable: true })
|
|
1302
1331
|
], EditThesaurusStore);
|
|
1303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusStore, decorators: [{
|
|
1304
1333
|
type: Injectable,
|
|
1305
1334
|
args: [{ providedIn: 'root' }]
|
|
1306
1335
|
}], ctorParameters: function () { return []; } });
|
|
@@ -1320,9 +1349,9 @@ class EditThesaurusQuery extends Query {
|
|
|
1320
1349
|
return this.select(state => state.saving);
|
|
1321
1350
|
}
|
|
1322
1351
|
}
|
|
1323
|
-
EditThesaurusQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1324
|
-
EditThesaurusQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1352
|
+
EditThesaurusQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusQuery, deps: [{ token: EditThesaurusStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1353
|
+
EditThesaurusQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusQuery, providedIn: 'root' });
|
|
1354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusQuery, decorators: [{
|
|
1326
1355
|
type: Injectable,
|
|
1327
1356
|
args: [{ providedIn: 'root' }]
|
|
1328
1357
|
}], ctorParameters: function () { return [{ type: EditThesaurusStore }]; } });
|
|
@@ -1375,29 +1404,27 @@ class EditThesaurusService {
|
|
|
1375
1404
|
});
|
|
1376
1405
|
}
|
|
1377
1406
|
}
|
|
1378
|
-
EditThesaurusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1379
|
-
EditThesaurusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1407
|
+
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 });
|
|
1408
|
+
EditThesaurusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusService, providedIn: 'root' });
|
|
1409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: EditThesaurusService, decorators: [{
|
|
1381
1410
|
type: Injectable,
|
|
1382
1411
|
args: [{ providedIn: 'root' }]
|
|
1383
1412
|
}], ctorParameters: function () { return [{ type: EditThesaurusStore }, { type: i2.ThesaurusService }]; } });
|
|
1384
1413
|
|
|
1385
1414
|
class CadmusStateModule {
|
|
1386
1415
|
}
|
|
1387
|
-
CadmusStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1388
|
-
CadmusStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
1416
|
+
CadmusStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: CadmusStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1417
|
+
CadmusStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: CadmusStateModule, imports: [CommonModule,
|
|
1418
|
+
// Cadmus
|
|
1419
|
+
CadmusCoreModule,
|
|
1420
|
+
CadmusApiModule,
|
|
1421
|
+
NgToolsModule] });
|
|
1422
|
+
CadmusStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: CadmusStateModule, imports: [CommonModule,
|
|
1389
1423
|
// Cadmus
|
|
1390
1424
|
CadmusCoreModule,
|
|
1391
1425
|
CadmusApiModule,
|
|
1392
1426
|
NgToolsModule] });
|
|
1393
|
-
|
|
1394
|
-
CommonModule,
|
|
1395
|
-
// Cadmus
|
|
1396
|
-
CadmusCoreModule,
|
|
1397
|
-
CadmusApiModule,
|
|
1398
|
-
NgToolsModule,
|
|
1399
|
-
]] });
|
|
1400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CadmusStateModule, decorators: [{
|
|
1427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: CadmusStateModule, decorators: [{
|
|
1401
1428
|
type: NgModule,
|
|
1402
1429
|
args: [{
|
|
1403
1430
|
imports: [
|