@myrmidon/cadmus-state 1.1.0 → 1.1.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.
@@ -13,18 +13,20 @@ import { CommonModule } from '@angular/common';
13
13
  const initialState$2 = {
14
14
  facets: [],
15
15
  flags: [],
16
+ previewRKeys: [],
17
+ previewFKeys: [],
16
18
  };
17
19
  let AppStore = class AppStore extends Store {
18
20
  constructor() {
19
21
  super(initialState$2);
20
22
  }
21
23
  };
22
- AppStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: AppStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
23
- AppStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: AppStore, providedIn: 'root' });
24
+ AppStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: AppStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
25
+ AppStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: AppStore, providedIn: 'root' });
24
26
  AppStore = __decorate([
25
27
  StoreConfig({ name: 'app', resettable: false })
26
28
  ], AppStore);
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: AppStore, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: AppStore, decorators: [{
28
30
  type: Injectable,
29
31
  args: [{ providedIn: 'root' }]
30
32
  }], ctorParameters: function () { return []; } });
@@ -46,20 +48,27 @@ class AppQuery extends Query {
46
48
  selectItemBrowserThesaurus() {
47
49
  return this.select((state) => state.itemBrowserThesaurus);
48
50
  }
51
+ selectPreviewRKeys() {
52
+ return this.select((state) => state.previewRKeys);
53
+ }
54
+ selectPreviewFKeys() {
55
+ return this.select((state) => state.previewFKeys);
56
+ }
49
57
  }
50
- AppQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: AppQuery, deps: [{ token: AppStore }], target: i0.ɵɵFactoryTarget.Injectable });
51
- AppQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: AppQuery, providedIn: 'root' });
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: AppQuery, decorators: [{
58
+ AppQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: AppQuery, deps: [{ token: AppStore }], target: i0.ɵɵFactoryTarget.Injectable });
59
+ AppQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: AppQuery, providedIn: 'root' });
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: AppQuery, decorators: [{
53
61
  type: Injectable,
54
62
  args: [{ providedIn: 'root' }]
55
63
  }], ctorParameters: function () { return [{ type: AppStore }]; } });
56
64
 
57
65
  class AppService {
58
- constructor(_store, _facetService, _flagService, _thesaurusService) {
66
+ constructor(_store, _facetService, _flagService, _thesaurusService, _previewService) {
59
67
  this._store = _store;
60
68
  this._facetService = _facetService;
61
69
  this._flagService = _flagService;
62
70
  this._thesaurusService = _thesaurusService;
71
+ this._previewService = _previewService;
63
72
  }
64
73
  load() {
65
74
  this._store.setLoading(true);
@@ -69,28 +78,41 @@ class AppService {
69
78
  'model-types@en',
70
79
  'item-browsers@en',
71
80
  ]);
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');
81
+ const rKeys$ = this._previewService.getKeys(false);
82
+ const fKeys$ = this._previewService.getKeys(true);
83
+ forkJoin({
84
+ facets: facets$,
85
+ flags: flags$,
86
+ thesauri: thesauri$,
87
+ rKeys: rKeys$,
88
+ fKeys: fKeys$,
89
+ }).subscribe({
90
+ next: (result) => {
91
+ this._store.setLoading(false);
92
+ this._store.setError(null);
93
+ this._store.update({
94
+ facets: result.facets,
95
+ flags: result.flags,
96
+ typeThesaurus: result.thesauri['model-types'],
97
+ itemBrowserThesaurus: result.thesauri['item-browsers'],
98
+ previewRKeys: result.rKeys,
99
+ previewFKeys: result.fKeys
100
+ });
101
+ },
102
+ error: (error) => {
103
+ console.error(error);
104
+ this._store.setLoading(false);
105
+ this._store.setError('Error loading app state');
106
+ },
85
107
  });
86
108
  }
87
109
  }
88
- AppService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", 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: "14.0.1", ngImport: i0, type: AppService, providedIn: 'root' });
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: AppService, decorators: [{
110
+ AppService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: AppService, deps: [{ token: AppStore }, { token: i2.FacetService }, { token: i2.FlagService }, { token: i2.ThesaurusService }, { token: i2.PreviewService }], target: i0.ɵɵFactoryTarget.Injectable });
111
+ AppService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: AppService, providedIn: 'root' });
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: AppService, decorators: [{
91
113
  type: Injectable,
92
114
  args: [{ providedIn: 'root' }]
93
- }], ctorParameters: function () { return [{ type: AppStore }, { type: i2.FacetService }, { type: i2.FlagService }, { type: i2.ThesaurusService }]; } });
115
+ }], ctorParameters: function () { return [{ type: AppStore }, { type: i2.FacetService }, { type: i2.FlagService }, { type: i2.ThesaurusService }, { type: i2.PreviewService }]; } });
94
116
 
95
117
  const initialState$1 = {
96
118
  parts: [],
@@ -117,12 +139,12 @@ let EditItemStore = class EditItemStore extends Store {
117
139
  });
118
140
  }
119
141
  };
120
- EditItemStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditItemStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
121
- EditItemStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditItemStore, providedIn: 'root' });
142
+ EditItemStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditItemStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
143
+ EditItemStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditItemStore, providedIn: 'root' });
122
144
  EditItemStore = __decorate([
123
145
  StoreConfig({ name: 'edit-item', resettable: true })
124
146
  ], EditItemStore);
125
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditItemStore, decorators: [{
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditItemStore, decorators: [{
126
148
  type: Injectable,
127
149
  args: [{ providedIn: 'root' }]
128
150
  }], ctorParameters: function () { return []; } });
@@ -167,9 +189,9 @@ class EditItemQuery extends Query {
167
189
  .partKey;
168
190
  }
169
191
  }
170
- EditItemQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", 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: "14.0.1", ngImport: i0, type: EditItemQuery, providedIn: 'root' });
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditItemQuery, decorators: [{
192
+ EditItemQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditItemQuery, deps: [{ token: EditItemStore }, { token: i2$1.LibraryRouteService }], target: i0.ɵɵFactoryTarget.Injectable });
193
+ EditItemQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditItemQuery, providedIn: 'root' });
194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditItemQuery, decorators: [{
173
195
  type: Injectable,
174
196
  args: [{ providedIn: 'root' }]
175
197
  }], ctorParameters: function () { return [{ type: EditItemStore }, { type: i2$1.LibraryRouteService }]; } });
@@ -376,9 +398,9 @@ class EditItemService {
376
398
  });
377
399
  }
378
400
  }
379
- EditItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", 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: "14.0.1", ngImport: i0, type: EditItemService, providedIn: 'root' });
381
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditItemService, decorators: [{
401
+ EditItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditItemService, deps: [{ token: EditItemStore }, { token: AppQuery }, { token: i2.ItemService }], target: i0.ɵɵFactoryTarget.Injectable });
402
+ EditItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditItemService, providedIn: 'root' });
403
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditItemService, decorators: [{
382
404
  type: Injectable,
383
405
  args: [{ providedIn: 'root' }]
384
406
  }], ctorParameters: function () { return [{ type: EditItemStore }, { type: AppQuery }, { type: i2.ItemService }]; } });
@@ -542,12 +564,12 @@ let EditFragmentStore = class EditFragmentStore extends Store {
542
564
  this.update({ saving: value });
543
565
  }
544
566
  };
545
- EditFragmentStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditFragmentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
546
- EditFragmentStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditFragmentStore, providedIn: 'root' });
567
+ EditFragmentStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditFragmentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
568
+ EditFragmentStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditFragmentStore, providedIn: 'root' });
547
569
  EditFragmentStore = __decorate([
548
570
  StoreConfig({ name: 'edit-fragment' })
549
571
  ], EditFragmentStore);
550
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditFragmentStore, decorators: [{
572
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditFragmentStore, decorators: [{
551
573
  type: Injectable,
552
574
  args: [{ providedIn: 'root' }]
553
575
  }], ctorParameters: function () { return []; } });
@@ -718,7 +740,7 @@ class EditPartFeatureBase {
718
740
  // item ID
719
741
  this.itemId = route.snapshot.params['iid'];
720
742
  // type ID (from "TYPEID/:pid")
721
- this.typeId = route.snapshot.routeConfig.path.substr(0, route.snapshot.routeConfig.path.indexOf('/'));
743
+ this.typeId = route.snapshot.routeConfig.path.substring(0, route.snapshot.routeConfig.path.indexOf('/'));
722
744
  // part ID or null (if "new")
723
745
  this.partId = route.snapshot.params['pid'];
724
746
  if (this.partId === 'new') {
@@ -970,12 +992,12 @@ let EditPartStore = class EditPartStore extends Store {
970
992
  this.update({ saving: value });
971
993
  }
972
994
  };
973
- EditPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
974
- EditPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditPartStore, providedIn: 'root' });
995
+ EditPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
996
+ EditPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditPartStore, providedIn: 'root' });
975
997
  EditPartStore = __decorate([
976
998
  StoreConfig({ name: 'edit-part' })
977
999
  ], EditPartStore);
978
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditPartStore, decorators: [{
1000
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditPartStore, decorators: [{
979
1001
  type: Injectable,
980
1002
  args: [{ providedIn: 'root' }]
981
1003
  }], ctorParameters: function () { return []; } });
@@ -1014,12 +1036,12 @@ let EditLayerPartStore = class EditLayerPartStore extends Store {
1014
1036
  this.update({ locations });
1015
1037
  }
1016
1038
  };
1017
- EditLayerPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditLayerPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1018
- EditLayerPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditLayerPartStore, providedIn: 'root' });
1039
+ EditLayerPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditLayerPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1040
+ EditLayerPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditLayerPartStore, providedIn: 'root' });
1019
1041
  EditLayerPartStore = __decorate([
1020
1042
  StoreConfig({ name: 'edit-layer-part' })
1021
1043
  ], EditLayerPartStore);
1022
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditLayerPartStore, decorators: [{
1044
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditLayerPartStore, decorators: [{
1023
1045
  type: Injectable,
1024
1046
  args: [{ providedIn: 'root' }]
1025
1047
  }], ctorParameters: function () { return []; } });
@@ -1048,9 +1070,9 @@ class EditLayerPartQuery extends Query {
1048
1070
  return this.select((state) => state.patchingLayer);
1049
1071
  }
1050
1072
  }
1051
- EditLayerPartQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditLayerPartQuery, deps: [{ token: EditLayerPartStore }], target: i0.ɵɵFactoryTarget.Injectable });
1052
- EditLayerPartQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditLayerPartQuery, providedIn: 'root' });
1053
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditLayerPartQuery, decorators: [{
1073
+ EditLayerPartQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditLayerPartQuery, deps: [{ token: EditLayerPartStore }], target: i0.ɵɵFactoryTarget.Injectable });
1074
+ EditLayerPartQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditLayerPartQuery, providedIn: 'root' });
1075
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditLayerPartQuery, decorators: [{
1054
1076
  type: Injectable,
1055
1077
  args: [{ providedIn: 'root' }]
1056
1078
  }], ctorParameters: function () { return [{ type: EditLayerPartStore }]; } });
@@ -1273,9 +1295,9 @@ class EditLayerPartService {
1273
1295
  });
1274
1296
  }
1275
1297
  }
1276
- EditLayerPartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", 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: "14.0.1", ngImport: i0, type: EditLayerPartService, providedIn: 'root' });
1278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditLayerPartService, decorators: [{
1298
+ EditLayerPartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditLayerPartService, deps: [{ token: EditLayerPartStore }, { token: i2.ItemService }, { token: i2.FacetService }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
1299
+ EditLayerPartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditLayerPartService, providedIn: 'root' });
1300
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditLayerPartService, decorators: [{
1279
1301
  type: Injectable,
1280
1302
  args: [{ providedIn: 'root' }]
1281
1303
  }], ctorParameters: function () { return [{ type: EditLayerPartStore }, { type: i2.ItemService }, { type: i2.FacetService }, { type: i2.ThesaurusService }]; } });
@@ -1295,12 +1317,12 @@ let EditThesaurusStore = class EditThesaurusStore extends Store {
1295
1317
  });
1296
1318
  }
1297
1319
  };
1298
- EditThesaurusStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditThesaurusStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1299
- EditThesaurusStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditThesaurusStore, providedIn: 'root' });
1320
+ EditThesaurusStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditThesaurusStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1321
+ EditThesaurusStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditThesaurusStore, providedIn: 'root' });
1300
1322
  EditThesaurusStore = __decorate([
1301
1323
  StoreConfig({ name: 'edit-thesaurus', resettable: true })
1302
1324
  ], EditThesaurusStore);
1303
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditThesaurusStore, decorators: [{
1325
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditThesaurusStore, decorators: [{
1304
1326
  type: Injectable,
1305
1327
  args: [{ providedIn: 'root' }]
1306
1328
  }], ctorParameters: function () { return []; } });
@@ -1320,9 +1342,9 @@ class EditThesaurusQuery extends Query {
1320
1342
  return this.select(state => state.saving);
1321
1343
  }
1322
1344
  }
1323
- EditThesaurusQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditThesaurusQuery, deps: [{ token: EditThesaurusStore }], target: i0.ɵɵFactoryTarget.Injectable });
1324
- EditThesaurusQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditThesaurusQuery, providedIn: 'root' });
1325
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditThesaurusQuery, decorators: [{
1345
+ EditThesaurusQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditThesaurusQuery, deps: [{ token: EditThesaurusStore }], target: i0.ɵɵFactoryTarget.Injectable });
1346
+ EditThesaurusQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditThesaurusQuery, providedIn: 'root' });
1347
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditThesaurusQuery, decorators: [{
1326
1348
  type: Injectable,
1327
1349
  args: [{ providedIn: 'root' }]
1328
1350
  }], ctorParameters: function () { return [{ type: EditThesaurusStore }]; } });
@@ -1375,27 +1397,27 @@ class EditThesaurusService {
1375
1397
  });
1376
1398
  }
1377
1399
  }
1378
- EditThesaurusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditThesaurusService, deps: [{ token: EditThesaurusStore }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
1379
- EditThesaurusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditThesaurusService, providedIn: 'root' });
1380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: EditThesaurusService, decorators: [{
1400
+ EditThesaurusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditThesaurusService, deps: [{ token: EditThesaurusStore }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
1401
+ EditThesaurusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditThesaurusService, providedIn: 'root' });
1402
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: EditThesaurusService, decorators: [{
1381
1403
  type: Injectable,
1382
1404
  args: [{ providedIn: 'root' }]
1383
1405
  }], ctorParameters: function () { return [{ type: EditThesaurusStore }, { type: i2.ThesaurusService }]; } });
1384
1406
 
1385
1407
  class CadmusStateModule {
1386
1408
  }
1387
- CadmusStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CadmusStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1388
- CadmusStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: CadmusStateModule, imports: [CommonModule,
1409
+ CadmusStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: CadmusStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1410
+ CadmusStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.1", ngImport: i0, type: CadmusStateModule, imports: [CommonModule,
1389
1411
  // Cadmus
1390
1412
  CadmusCoreModule,
1391
1413
  CadmusApiModule,
1392
1414
  NgToolsModule] });
1393
- CadmusStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CadmusStateModule, imports: [CommonModule,
1415
+ CadmusStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: CadmusStateModule, imports: [CommonModule,
1394
1416
  // Cadmus
1395
1417
  CadmusCoreModule,
1396
1418
  CadmusApiModule,
1397
1419
  NgToolsModule] });
1398
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CadmusStateModule, decorators: [{
1420
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: CadmusStateModule, decorators: [{
1399
1421
  type: NgModule,
1400
1422
  args: [{
1401
1423
  imports: [