@myrmidon/cadmus-core 12.0.4 → 13.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.
@@ -268,10 +268,10 @@ class PendingChangesGuard {
268
268
  .confirm('Warning', 'There are unsaved changes. Do you want to leave?')
269
269
  .pipe(take(1), map((yes) => (yes ? true : false)));
270
270
  }
271
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: PendingChangesGuard, deps: [{ token: i1.DialogService }], target: i0.ɵɵFactoryTarget.Injectable });
272
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: PendingChangesGuard, providedIn: 'root' });
271
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: PendingChangesGuard, deps: [{ token: i1.DialogService }], target: i0.ɵɵFactoryTarget.Injectable });
272
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: PendingChangesGuard, providedIn: 'root' });
273
273
  }
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: PendingChangesGuard, decorators: [{
274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: PendingChangesGuard, decorators: [{
275
275
  type: Injectable,
276
276
  args: [{
277
277
  providedIn: 'root',
@@ -308,10 +308,10 @@ class SortPipe {
308
308
  return 0;
309
309
  });
310
310
  }
311
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
312
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.5", ngImport: i0, type: SortPipe, isStandalone: true, name: "sort" });
311
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
312
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: SortPipe, isStandalone: true, name: "sort" });
313
313
  }
314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: SortPipe, decorators: [{
314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: SortPipe, decorators: [{
315
315
  type: Pipe,
316
316
  args: [{ name: 'sort' }]
317
317
  }] });
@@ -513,10 +513,10 @@ class LibraryRouteService {
513
513
  rid: frRoleId,
514
514
  };
515
515
  }
516
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: LibraryRouteService, deps: [{ token: 'partEditorKeys' }], target: i0.ɵɵFactoryTarget.Injectable });
517
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: LibraryRouteService, providedIn: 'root' });
516
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: LibraryRouteService, deps: [{ token: 'partEditorKeys' }], target: i0.ɵɵFactoryTarget.Injectable });
517
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: LibraryRouteService, providedIn: 'root' });
518
518
  }
519
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: LibraryRouteService, decorators: [{
519
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: LibraryRouteService, decorators: [{
520
520
  type: Injectable,
521
521
  args: [{
522
522
  providedIn: 'root',
@@ -1245,10 +1245,10 @@ class TextLayerService {
1245
1245
  }
1246
1246
  return sel.getRangeAt(0);
1247
1247
  }
1248
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: TextLayerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1249
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: TextLayerService, providedIn: 'root' });
1248
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: TextLayerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1249
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: TextLayerService, providedIn: 'root' });
1250
1250
  }
1251
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: TextLayerService, decorators: [{
1251
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: TextLayerService, decorators: [{
1252
1252
  type: Injectable,
1253
1253
  args: [{ providedIn: 'root' }]
1254
1254
  }], ctorParameters: () => [] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myrmidon/cadmus-core",
3
- "version": "12.0.4",
3
+ "version": "13.0.0",
4
4
  "description": "Cadmus - core.",
5
5
  "keywords": [
6
6
  "Cadmus"
@@ -14,9 +14,9 @@
14
14
  "name": "Daniele Fusi"
15
15
  },
16
16
  "peerDependencies": {
17
- "@angular/common": "^20.0.0 || ^21.0.0",
18
- "@angular/core": "^20.0.0 || ^21.0.0",
19
- "@myrmidon/ngx-tools": "^2.0.2"
17
+ "@angular/common": "^22.0.0",
18
+ "@angular/core": "^22.0.0",
19
+ "@myrmidon/ngx-tools": "^3.0.0"
20
20
  },
21
21
  "dependencies": {
22
22
  "tslib": "^2.3.0"
@@ -32,5 +32,6 @@
32
32
  "default": "./fesm2022/myrmidon-cadmus-core.mjs"
33
33
  }
34
34
  },
35
- "sideEffects": false
35
+ "sideEffects": false,
36
+ "type": "module"
36
37
  }