@myrmidon/cadmus-state 0.3.0 → 1.0.0

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.
@@ -9,7 +9,6 @@ import * as i2$1 from '@myrmidon/cadmus-core';
9
9
  import { TokenLocation, CadmusCoreModule } from '@myrmidon/cadmus-core';
10
10
  import { deepCopy, NgToolsModule } from '@myrmidon/ng-tools';
11
11
  import { CommonModule } from '@angular/common';
12
- import { CadmusMaterialModule } from '@myrmidon/cadmus-material';
13
12
 
14
13
  const initialState$2 = {
15
14
  facets: [],
@@ -20,12 +19,12 @@ let AppStore = class AppStore extends Store {
20
19
  super(initialState$2);
21
20
  }
22
21
  };
23
- AppStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AppStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
24
- AppStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AppStore, providedIn: 'root' });
22
+ AppStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AppStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
23
+ AppStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AppStore, providedIn: 'root' });
25
24
  AppStore = __decorate([
26
25
  StoreConfig({ name: 'app', resettable: false })
27
26
  ], AppStore);
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AppStore, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AppStore, decorators: [{
29
28
  type: Injectable,
30
29
  args: [{ providedIn: 'root' }]
31
30
  }], ctorParameters: function () { return []; } });
@@ -48,9 +47,9 @@ class AppQuery extends Query {
48
47
  return this.select((state) => state.itemBrowserThesaurus);
49
48
  }
50
49
  }
51
- AppQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AppQuery, deps: [{ token: AppStore }], target: i0.ɵɵFactoryTarget.Injectable });
52
- AppQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AppQuery, providedIn: 'root' });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AppQuery, decorators: [{
50
+ AppQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AppQuery, deps: [{ token: AppStore }], target: i0.ɵɵFactoryTarget.Injectable });
51
+ AppQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AppQuery, providedIn: 'root' });
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AppQuery, decorators: [{
54
53
  type: Injectable,
55
54
  args: [{ providedIn: 'root' }]
56
55
  }], ctorParameters: function () { return [{ type: AppStore }]; } });
@@ -86,9 +85,9 @@ class AppService {
86
85
  });
87
86
  }
88
87
  }
89
- AppService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AppService, deps: [{ token: AppStore }, { token: i2.FacetService }, { token: i2.FlagService }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
90
- AppService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AppService, providedIn: 'root' });
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: AppService, decorators: [{
88
+ AppService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", 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.0.3", ngImport: i0, type: AppService, providedIn: 'root' });
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AppService, decorators: [{
92
91
  type: Injectable,
93
92
  args: [{ providedIn: 'root' }]
94
93
  }], ctorParameters: function () { return [{ type: AppStore }, { type: i2.FacetService }, { type: i2.FlagService }, { type: i2.ThesaurusService }]; } });
@@ -118,12 +117,12 @@ let EditItemStore = class EditItemStore extends Store {
118
117
  });
119
118
  }
120
119
  };
121
- EditItemStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditItemStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
122
- EditItemStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditItemStore, providedIn: 'root' });
120
+ EditItemStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditItemStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
121
+ EditItemStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditItemStore, providedIn: 'root' });
123
122
  EditItemStore = __decorate([
124
123
  StoreConfig({ name: 'edit-item', resettable: true })
125
124
  ], EditItemStore);
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditItemStore, decorators: [{
125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditItemStore, decorators: [{
127
126
  type: Injectable,
128
127
  args: [{ providedIn: 'root' }]
129
128
  }], ctorParameters: function () { return []; } });
@@ -147,10 +146,10 @@ class EditItemQuery extends Query {
147
146
  return this.select((state) => state.facet);
148
147
  }
149
148
  selectSaving() {
150
- return this.select((state) => state.saving);
149
+ return this.select((state) => (state.saving ? true : false));
151
150
  }
152
151
  selectDeletingPart() {
153
- return this.select((state) => state.deletingPart);
152
+ return this.select((state) => (state.deletingPart ? true : false));
154
153
  }
155
154
  hasItem(id) {
156
155
  const item = this.getValue().item;
@@ -168,9 +167,9 @@ class EditItemQuery extends Query {
168
167
  .partKey;
169
168
  }
170
169
  }
171
- EditItemQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditItemQuery, deps: [{ token: EditItemStore }, { token: i2$1.LibraryRouteService }], target: i0.ɵɵFactoryTarget.Injectable });
172
- EditItemQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditItemQuery, providedIn: 'root' });
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditItemQuery, decorators: [{
170
+ EditItemQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", 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.0.3", ngImport: i0, type: EditItemQuery, providedIn: 'root' });
172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditItemQuery, decorators: [{
174
173
  type: Injectable,
175
174
  args: [{ providedIn: 'root' }]
176
175
  }], ctorParameters: function () { return [{ type: EditItemStore }, { type: i2$1.LibraryRouteService }]; } });
@@ -344,9 +343,9 @@ class EditItemService {
344
343
  });
345
344
  }
346
345
  }
347
- EditItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditItemService, deps: [{ token: EditItemStore }, { token: AppQuery }, { token: i2.ItemService }], target: i0.ɵɵFactoryTarget.Injectable });
348
- EditItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditItemService, providedIn: 'root' });
349
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditItemService, decorators: [{
346
+ EditItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditItemService, deps: [{ token: EditItemStore }, { token: AppQuery }, { token: i2.ItemService }], target: i0.ɵɵFactoryTarget.Injectable });
347
+ EditItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditItemService, providedIn: 'root' });
348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditItemService, decorators: [{
350
349
  type: Injectable,
351
350
  args: [{ providedIn: 'root' }]
352
351
  }], ctorParameters: function () { return [{ type: EditItemStore }, { type: AppQuery }, { type: i2.ItemService }]; } });
@@ -369,11 +368,11 @@ class EditFragmentFeatureBase {
369
368
  this.fragment$ = this._editFrQuery.selectFragment();
370
369
  this.thesauri$ = this._editFrQuery.selectThesauri();
371
370
  this.baseText$ = this._editLayersQuery.select((state) => state.baseText);
372
- this.itemId = route.snapshot.params.iid;
373
- this.partId = route.snapshot.params.pid;
371
+ this.itemId = route.snapshot.params['iid'];
372
+ this.partId = route.snapshot.params['pid'];
374
373
  this.frTypeId = route.snapshot.url[2]?.path;
375
- this.loc = route.snapshot.params.loc;
376
- this.frRoleId = route.snapshot.queryParams.frrid;
374
+ this.loc = route.snapshot.params['loc'];
375
+ this.frRoleId = route.snapshot.queryParams['frrid'];
377
376
  // connect _stateDirty to the value of the edit state
378
377
  this._editFrQuery.selectDirty().subscribe((d) => {
379
378
  console.log('fr dirty change (from state): ' + d);
@@ -482,18 +481,6 @@ class EditFragmentQueryBase extends Query {
482
481
  selectFragment() {
483
482
  return this.select((state) => state.fragment);
484
483
  }
485
- // public selectJson(): Observable<string> {
486
- // return this.select((state) => state.fragment).pipe(
487
- // map((fr: Fragment) => {
488
- // // supply IDs
489
- // if (fr) {
490
- // return JSON.stringify(fr);
491
- // } else {
492
- // return '{}';
493
- // }
494
- // })
495
- // );
496
- // }
497
484
  selectThesauri() {
498
485
  return this.select((state) => state.thesauri);
499
486
  }
@@ -520,12 +507,12 @@ let EditFragmentStore = class EditFragmentStore extends Store {
520
507
  this.update({ saving: value });
521
508
  }
522
509
  };
523
- EditFragmentStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditFragmentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
524
- EditFragmentStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditFragmentStore, providedIn: 'root' });
510
+ EditFragmentStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditFragmentStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
511
+ EditFragmentStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditFragmentStore, providedIn: 'root' });
525
512
  EditFragmentStore = __decorate([
526
513
  StoreConfig({ name: 'edit-fragment' })
527
514
  ], EditFragmentStore);
528
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditFragmentStore, decorators: [{
515
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditFragmentStore, decorators: [{
529
516
  type: Injectable,
530
517
  args: [{ providedIn: 'root' }]
531
518
  }], ctorParameters: function () { return []; } });
@@ -692,16 +679,16 @@ class EditPartFeatureBase {
692
679
  this._editItemQuery = _editItemQuery;
693
680
  this._editItemService = _editItemService;
694
681
  // item ID
695
- this.itemId = route.snapshot.params.iid;
682
+ this.itemId = route.snapshot.params['iid'];
696
683
  // type ID (from "TYPEID/:pid")
697
684
  this.typeId = route.snapshot.routeConfig.path.substr(0, route.snapshot.routeConfig.path.indexOf('/'));
698
685
  // part ID or null (if "new")
699
- this.partId = route.snapshot.params.pid;
686
+ this.partId = route.snapshot.params['pid'];
700
687
  if (this.partId === 'new') {
701
688
  this.partId = undefined;
702
689
  }
703
690
  // role ID or null (if "default")
704
- this.roleId = route.snapshot.queryParams.rid;
691
+ this.roleId = route.snapshot.queryParams['rid'];
705
692
  if (this.roleId === 'default') {
706
693
  this.roleId = undefined;
707
694
  }
@@ -944,12 +931,12 @@ let EditPartStore = class EditPartStore extends Store {
944
931
  this.update({ saving: value });
945
932
  }
946
933
  };
947
- EditPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
948
- EditPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditPartStore, providedIn: 'root' });
934
+ EditPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
935
+ EditPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditPartStore, providedIn: 'root' });
949
936
  EditPartStore = __decorate([
950
937
  StoreConfig({ name: 'edit-part' })
951
938
  ], EditPartStore);
952
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditPartStore, decorators: [{
939
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditPartStore, decorators: [{
953
940
  type: Injectable,
954
941
  args: [{ providedIn: 'root' }]
955
942
  }], ctorParameters: function () { return []; } });
@@ -988,12 +975,12 @@ let EditLayerPartStore = class EditLayerPartStore extends Store {
988
975
  this.update({ locations });
989
976
  }
990
977
  };
991
- EditLayerPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditLayerPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
992
- EditLayerPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditLayerPartStore, providedIn: 'root' });
978
+ EditLayerPartStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditLayerPartStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
979
+ EditLayerPartStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditLayerPartStore, providedIn: 'root' });
993
980
  EditLayerPartStore = __decorate([
994
981
  StoreConfig({ name: 'edit-layer-part' })
995
982
  ], EditLayerPartStore);
996
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditLayerPartStore, decorators: [{
983
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditLayerPartStore, decorators: [{
997
984
  type: Injectable,
998
985
  args: [{ providedIn: 'root' }]
999
986
  }], ctorParameters: function () { return []; } });
@@ -1022,9 +1009,9 @@ class EditLayerPartQuery extends Query {
1022
1009
  return this.select((state) => state.patchingLayer);
1023
1010
  }
1024
1011
  }
1025
- EditLayerPartQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditLayerPartQuery, deps: [{ token: EditLayerPartStore }], target: i0.ɵɵFactoryTarget.Injectable });
1026
- EditLayerPartQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditLayerPartQuery, providedIn: 'root' });
1027
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditLayerPartQuery, decorators: [{
1012
+ EditLayerPartQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditLayerPartQuery, deps: [{ token: EditLayerPartStore }], target: i0.ɵɵFactoryTarget.Injectable });
1013
+ EditLayerPartQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditLayerPartQuery, providedIn: 'root' });
1014
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditLayerPartQuery, decorators: [{
1028
1015
  type: Injectable,
1029
1016
  args: [{ providedIn: 'root' }]
1030
1017
  }], ctorParameters: function () { return [{ type: EditLayerPartStore }]; } });
@@ -1245,9 +1232,9 @@ class EditLayerPartService {
1245
1232
  });
1246
1233
  }
1247
1234
  }
1248
- EditLayerPartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditLayerPartService, deps: [{ token: EditLayerPartStore }, { token: i2.ItemService }, { token: i2.FacetService }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
1249
- EditLayerPartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditLayerPartService, providedIn: 'root' });
1250
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditLayerPartService, decorators: [{
1235
+ EditLayerPartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditLayerPartService, deps: [{ token: EditLayerPartStore }, { token: i2.ItemService }, { token: i2.FacetService }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
1236
+ EditLayerPartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditLayerPartService, providedIn: 'root' });
1237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditLayerPartService, decorators: [{
1251
1238
  type: Injectable,
1252
1239
  args: [{ providedIn: 'root' }]
1253
1240
  }], ctorParameters: function () { return [{ type: EditLayerPartStore }, { type: i2.ItemService }, { type: i2.FacetService }, { type: i2.ThesaurusService }]; } });
@@ -1267,12 +1254,12 @@ let EditThesaurusStore = class EditThesaurusStore extends Store {
1267
1254
  });
1268
1255
  }
1269
1256
  };
1270
- EditThesaurusStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditThesaurusStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1271
- EditThesaurusStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditThesaurusStore, providedIn: 'root' });
1257
+ EditThesaurusStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditThesaurusStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1258
+ EditThesaurusStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditThesaurusStore, providedIn: 'root' });
1272
1259
  EditThesaurusStore = __decorate([
1273
1260
  StoreConfig({ name: 'edit-thesaurus', resettable: true })
1274
1261
  ], EditThesaurusStore);
1275
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditThesaurusStore, decorators: [{
1262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditThesaurusStore, decorators: [{
1276
1263
  type: Injectable,
1277
1264
  args: [{ providedIn: 'root' }]
1278
1265
  }], ctorParameters: function () { return []; } });
@@ -1292,9 +1279,9 @@ class EditThesaurusQuery extends Query {
1292
1279
  return this.select(state => state.saving);
1293
1280
  }
1294
1281
  }
1295
- EditThesaurusQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditThesaurusQuery, deps: [{ token: EditThesaurusStore }], target: i0.ɵɵFactoryTarget.Injectable });
1296
- EditThesaurusQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditThesaurusQuery, providedIn: 'root' });
1297
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditThesaurusQuery, decorators: [{
1282
+ EditThesaurusQuery.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditThesaurusQuery, deps: [{ token: EditThesaurusStore }], target: i0.ɵɵFactoryTarget.Injectable });
1283
+ EditThesaurusQuery.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditThesaurusQuery, providedIn: 'root' });
1284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditThesaurusQuery, decorators: [{
1298
1285
  type: Injectable,
1299
1286
  args: [{ providedIn: 'root' }]
1300
1287
  }], ctorParameters: function () { return [{ type: EditThesaurusStore }]; } });
@@ -1347,31 +1334,29 @@ class EditThesaurusService {
1347
1334
  });
1348
1335
  }
1349
1336
  }
1350
- EditThesaurusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditThesaurusService, deps: [{ token: EditThesaurusStore }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
1351
- EditThesaurusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditThesaurusService, providedIn: 'root' });
1352
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: EditThesaurusService, decorators: [{
1337
+ EditThesaurusService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditThesaurusService, deps: [{ token: EditThesaurusStore }, { token: i2.ThesaurusService }], target: i0.ɵɵFactoryTarget.Injectable });
1338
+ EditThesaurusService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditThesaurusService, providedIn: 'root' });
1339
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: EditThesaurusService, decorators: [{
1353
1340
  type: Injectable,
1354
1341
  args: [{ providedIn: 'root' }]
1355
1342
  }], ctorParameters: function () { return [{ type: EditThesaurusStore }, { type: i2.ThesaurusService }]; } });
1356
1343
 
1357
1344
  class CadmusStateModule {
1358
1345
  }
1359
- CadmusStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CadmusStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1360
- CadmusStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CadmusStateModule, imports: [CommonModule,
1346
+ CadmusStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CadmusStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1347
+ CadmusStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CadmusStateModule, imports: [CommonModule,
1361
1348
  // Cadmus
1362
1349
  CadmusCoreModule,
1363
1350
  CadmusApiModule,
1364
- CadmusMaterialModule,
1365
1351
  NgToolsModule] });
1366
- CadmusStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CadmusStateModule, imports: [[
1352
+ CadmusStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CadmusStateModule, imports: [[
1367
1353
  CommonModule,
1368
1354
  // Cadmus
1369
1355
  CadmusCoreModule,
1370
1356
  CadmusApiModule,
1371
- CadmusMaterialModule,
1372
- NgToolsModule
1357
+ NgToolsModule,
1373
1358
  ]] });
1374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: CadmusStateModule, decorators: [{
1359
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: CadmusStateModule, decorators: [{
1375
1360
  type: NgModule,
1376
1361
  args: [{
1377
1362
  imports: [
@@ -1379,8 +1364,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImpor
1379
1364
  // Cadmus
1380
1365
  CadmusCoreModule,
1381
1366
  CadmusApiModule,
1382
- CadmusMaterialModule,
1383
- NgToolsModule
1367
+ NgToolsModule,
1384
1368
  ],
1385
1369
  }]
1386
1370
  }] });