@rxap/service-worker 19.2.0 → 21.0.1-dev.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.
- package/CHANGELOG.md +32 -0
- package/compodoc/changelog.html +30 -0
- package/compodoc/components/ServiceWorkerUpdateDialogComponent.html +123 -93
- package/compodoc/dependencies.html +7 -7
- package/compodoc/injectables/AutoUpdateService.html +4 -59
- package/compodoc/injectables/CheckForUpdateService.html +6 -72
- package/compodoc/injectables/DialogUpdateService.html +15 -78
- package/compodoc/injectables/LogUpdateService.html +4 -53
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +212 -472
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/AutoUpdateService.html +2 -2
- package/docs/html/classes/CheckForUpdateService.html +2 -2
- package/docs/html/classes/DialogUpdateService.html +2 -2
- package/docs/html/classes/LogUpdateService.html +2 -2
- package/docs/html/classes/ServiceWorkerUpdateDialogComponent.html +2 -6
- package/docs/html/classes/SnackbarUpdateService.html +2 -2
- package/docs/html/functions/ProvideServiceWorkerUpdater.html +1 -1
- package/docs/html/functions/UnregisterServiceWorker.html +1 -1
- package/docs/html/functions/withAutoUpdater.html +1 -1
- package/docs/html/functions/withDialogUpdater.html +1 -1
- package/docs/html/functions/withLogUpdater.html +1 -1
- package/docs/html/functions/withSnackbarUpdater.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/UPDATE_AVAILABLE_EVENT.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AutoUpdateService.md +4 -12
- package/docs/markdown/classes/CheckForUpdateService.md +4 -16
- package/docs/markdown/classes/DialogUpdateService.md +4 -16
- package/docs/markdown/classes/LogUpdateService.md +4 -12
- package/docs/markdown/classes/ServiceWorkerUpdateDialogComponent.md +10 -32
- package/docs/markdown/classes/SnackbarUpdateService.md +3 -3
- package/docs/markdown/functions/ProvideServiceWorkerUpdater.md +2 -2
- package/docs/markdown/functions/UnregisterServiceWorker.md +2 -2
- package/docs/markdown/functions/withAutoUpdater.md +2 -2
- package/docs/markdown/functions/withDialogUpdater.md +2 -2
- package/docs/markdown/functions/withLogUpdater.md +2 -2
- package/docs/markdown/functions/withSnackbarUpdater.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/variables/UPDATE_AVAILABLE_EVENT.md +2 -2
- package/docs/wiki/Class.AutoUpdateService.md +3 -11
- package/docs/wiki/Class.CheckForUpdateService.md +3 -15
- package/docs/wiki/Class.DialogUpdateService.md +3 -15
- package/docs/wiki/Class.LogUpdateService.md +3 -11
- package/docs/wiki/Class.ServiceWorkerUpdateDialogComponent.md +9 -31
- package/docs/wiki/Class.SnackbarUpdateService.md +2 -2
- package/docs/wiki/Function.ProvideServiceWorkerUpdater.md +1 -1
- package/docs/wiki/Function.UnregisterServiceWorker.md +1 -1
- package/docs/wiki/Function.withAutoUpdater.md +1 -1
- package/docs/wiki/Function.withDialogUpdater.md +1 -1
- package/docs/wiki/Function.withLogUpdater.md +1 -1
- package/docs/wiki/Function.withSnackbarUpdater.md +1 -1
- package/docs/wiki/Variable.UPDATE_AVAILABLE_EVENT.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-service-worker.mjs +51 -82
- package/fesm2022/rxap-service-worker.mjs.map +1 -1
- package/package.json +20 -19
- package/types/rxap-service-worker.d.ts +66 -0
- package/index.d.ts +0 -8
- package/lib/auto-update.service.d.ts +0 -9
- package/lib/check-for-update.service.d.ts +0 -12
- package/lib/dialog-update.service.d.ts +0 -12
- package/lib/log-update.service.d.ts +0 -9
- package/lib/provide-service-worker-updater.d.ts +0 -6
- package/lib/service-worker-update-dialog/service-worker-update-dialog.component.d.ts +0 -13
- package/lib/snackbar-update.service.d.ts +0 -9
- package/lib/unregister-service-worker.d.ts +0 -2
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SwUpdate } from '@angular/service-worker';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LogUpdateService {
|
|
4
|
-
private readonly updates;
|
|
5
|
-
constructor(updates: SwUpdate);
|
|
6
|
-
start(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LogUpdateService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LogUpdateService>;
|
|
9
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Provider, EnvironmentProviders } from '@angular/core';
|
|
2
|
-
export declare function ProvideServiceWorkerUpdater(...providers: Array<Provider | EnvironmentProviders>): Array<Provider | EnvironmentProviders>;
|
|
3
|
-
export declare function withLogUpdater(): EnvironmentProviders;
|
|
4
|
-
export declare function withDialogUpdater(): EnvironmentProviders;
|
|
5
|
-
export declare function withAutoUpdater(): EnvironmentProviders;
|
|
6
|
-
export declare function withSnackbarUpdater(): EnvironmentProviders;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, InjectionToken } from '@angular/core';
|
|
2
|
-
import { VersionEvent } from '@angular/service-worker';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const UPDATE_AVAILABLE_EVENT: InjectionToken<VersionEvent>;
|
|
5
|
-
export declare class ServiceWorkerUpdateDialogComponent implements AfterViewInit {
|
|
6
|
-
dialog: ElementRef<HTMLDialogElement>;
|
|
7
|
-
closeDialog: EventEmitter<void>;
|
|
8
|
-
readonly updateAvailableEvent: VersionEvent;
|
|
9
|
-
ngAfterViewInit(): void;
|
|
10
|
-
close(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceWorkerUpdateDialogComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ServiceWorkerUpdateDialogComponent, "rxap-service-worker-update-dialog", never, {}, { "closeDialog": "closeDialog"; }, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SnackbarUpdateService {
|
|
3
|
-
private readonly snackBar;
|
|
4
|
-
private readonly updates;
|
|
5
|
-
start(): void;
|
|
6
|
-
private openUpdateSnackBar;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarUpdateService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SnackbarUpdateService>;
|
|
9
|
-
}
|