@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.
@@ -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: "13.3.0", ngImport: i0, type: AppStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
23
- AppStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppStore, providedIn: 'root' });
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: "13.3.0", ngImport: i0, type: AppStore, decorators: [{
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: "13.3.0", ngImport: i0, type: AppQuery, deps: [{ token: AppStore }], target: i0.ɵɵFactoryTarget.Injectable });
51
- AppQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppQuery, providedIn: 'root' });
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppQuery, decorators: [{
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
- forkJoin([facets$, flags$, thesauri$]).subscribe(([facets, flags, thesauri]) => {
73
- this._store.setLoading(false);
74
- this._store.setError(null);
75
- this._store.update({
76
- facets,
77
- flags,
78
- typeThesaurus: thesauri['model-types'],
79
- itemBrowserThesaurus: thesauri['item-browsers'],
80
- });
81
- }, (error) => {
82
- console.error(error);
83
- this._store.setLoading(false);
84
- this._store.setError('Error loading app state');
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: "13.3.0", ngImport: i0, type: AppService, deps: [{ token: AppStore }, { token: i2.FacetService }, { token: i2.FlagService }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
89
- AppService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppService, providedIn: 'root' });
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AppService, decorators: [{
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: "13.3.0", ngImport: i0, type: EditItemStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
121
- EditItemStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditItemStore, providedIn: 'root' });
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: "13.3.0", ngImport: i0, type: EditItemStore, decorators: [{
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: "13.3.0", ngImport: i0, type: EditItemQuery, deps: [{ token: EditItemStore }, { token: i2$1.LibraryRouteService }], target: i0.ɵɵFactoryTarget.Injectable });
171
- EditItemQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditItemQuery, providedIn: 'root' });
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditItemQuery, decorators: [{
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: "13.3.0", ngImport: i0, type: EditItemService, deps: [{ token: EditItemStore }, { token: AppQuery }, { token: i2.ItemService }], target: i0.ɵɵFactoryTarget.Injectable });
380
- EditItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditItemService, providedIn: 'root' });
381
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditItemService, decorators: [{
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: "13.3.0", ngImport: i0, type: EditFragmentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
546
- EditFragmentStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditFragmentStore, providedIn: 'root' });
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: "13.3.0", ngImport: i0, type: EditFragmentStore, decorators: [{
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.substr(0, route.snapshot.routeConfig.path.indexOf('/'));
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: "13.3.0", ngImport: i0, type: EditPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
974
- EditPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditPartStore, providedIn: 'root' });
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: "13.3.0", ngImport: i0, type: EditPartStore, decorators: [{
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: "13.3.0", ngImport: i0, type: EditLayerPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1018
- EditLayerPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditLayerPartStore, providedIn: 'root' });
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: "13.3.0", ngImport: i0, type: EditLayerPartStore, decorators: [{
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: "13.3.0", ngImport: i0, type: EditLayerPartQuery, deps: [{ token: EditLayerPartStore }], target: i0.ɵɵFactoryTarget.Injectable });
1052
- EditLayerPartQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditLayerPartQuery, providedIn: 'root' });
1053
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditLayerPartQuery, decorators: [{
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: "13.3.0", ngImport: i0, type: EditLayerPartService, deps: [{ token: EditLayerPartStore }, { token: i2.ItemService }, { token: i2.FacetService }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
1277
- EditLayerPartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditLayerPartService, providedIn: 'root' });
1278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditLayerPartService, decorators: [{
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: "13.3.0", ngImport: i0, type: EditThesaurusStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1299
- EditThesaurusStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditThesaurusStore, providedIn: 'root' });
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: "13.3.0", ngImport: i0, type: EditThesaurusStore, decorators: [{
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: "13.3.0", ngImport: i0, type: EditThesaurusQuery, deps: [{ token: EditThesaurusStore }], target: i0.ɵɵFactoryTarget.Injectable });
1324
- EditThesaurusQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditThesaurusQuery, providedIn: 'root' });
1325
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditThesaurusQuery, decorators: [{
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: "13.3.0", ngImport: i0, type: EditThesaurusService, deps: [{ token: EditThesaurusStore }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
1379
- EditThesaurusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditThesaurusService, providedIn: 'root' });
1380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: EditThesaurusService, decorators: [{
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: "13.3.0", ngImport: i0, type: CadmusStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1388
- CadmusStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CadmusStateModule, imports: [CommonModule,
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
- CadmusStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CadmusStateModule, imports: [[
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: [