@rdlabo/ionic-angular-kit 21.5.19 → 21.5.21
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/fesm2022/rdlabo-ionic-angular-kit-app-update.mjs +56 -0
- package/fesm2022/rdlabo-ionic-angular-kit-app-update.mjs.map +1 -0
- package/fesm2022/rdlabo-ionic-angular-kit-offline.mjs +5 -0
- package/fesm2022/rdlabo-ionic-angular-kit-offline.mjs.map +1 -1
- package/package.json +9 -1
- package/types/rdlabo-ionic-angular-kit-app-update.d.ts +15 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdlabo/ionic-angular-kit",
|
|
3
|
-
"version": "21.5.
|
|
3
|
+
"version": "21.5.21",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/rdlabo-team/ionic-angular-library.git"
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"@angular/core": "^21.0.0",
|
|
11
11
|
"@angular/forms": "^21.0.0",
|
|
12
12
|
"@angular/router": "^21.0.0",
|
|
13
|
+
"@angular/service-worker": "^21.0.0",
|
|
13
14
|
"@ionic/angular": "^8.0.0",
|
|
14
15
|
"@ionic/storage-angular": "^4.0.0",
|
|
15
16
|
"@capacitor/core": ">=6.0.0 <9.0.0",
|
|
@@ -30,6 +31,9 @@
|
|
|
30
31
|
"rxjs": "^7.8.0"
|
|
31
32
|
},
|
|
32
33
|
"peerDependenciesMeta": {
|
|
34
|
+
"@angular/service-worker": {
|
|
35
|
+
"optional": true
|
|
36
|
+
},
|
|
33
37
|
"firebase": {
|
|
34
38
|
"optional": true
|
|
35
39
|
},
|
|
@@ -75,6 +79,10 @@
|
|
|
75
79
|
"types": "./types/rdlabo-ionic-angular-kit.d.ts",
|
|
76
80
|
"default": "./fesm2022/rdlabo-ionic-angular-kit.mjs"
|
|
77
81
|
},
|
|
82
|
+
"./app-update": {
|
|
83
|
+
"types": "./types/rdlabo-ionic-angular-kit-app-update.d.ts",
|
|
84
|
+
"default": "./fesm2022/rdlabo-ionic-angular-kit-app-update.mjs"
|
|
85
|
+
},
|
|
78
86
|
"./auth-firebase": {
|
|
79
87
|
"types": "./types/rdlabo-ionic-angular-kit-auth-firebase.d.ts",
|
|
80
88
|
"default": "./fesm2022/rdlabo-ionic-angular-kit-auth-firebase.mjs"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EnvironmentProviders } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/** Checks for and activates a complete Angular service-worker update when the application starts. */
|
|
5
|
+
declare class KitAppUpdateService {
|
|
6
|
+
#private;
|
|
7
|
+
/** Starts one non-blocking update check after Angular reports the application as stable. */
|
|
8
|
+
start(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitAppUpdateService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitAppUpdateService>;
|
|
11
|
+
}
|
|
12
|
+
/** Provides a startup check that activates and reloads into the latest complete web application version. */
|
|
13
|
+
declare function provideKitAppUpdate(): EnvironmentProviders;
|
|
14
|
+
|
|
15
|
+
export { KitAppUpdateService, provideKitAppUpdate };
|