@solidev/data 0.0.1-beta.0 → 0.0.1-beta.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/esm2020/lib/updates/update/update.component.mjs +17 -0
- package/esm2020/lib/updates/update.service.mjs +58 -0
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/solidev-data.mjs +70 -3
- package/fesm2015/solidev-data.mjs.map +1 -1
- package/fesm2020/solidev-data.mjs +70 -3
- package/fesm2020/solidev-data.mjs.map +1 -1
- package/lib/updates/update/update.component.d.ts +8 -0
- package/lib/updates/update.service.d.ts +16 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UpdateService } from '../update.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UpdateComponent {
|
|
4
|
+
update: UpdateService;
|
|
5
|
+
constructor(update: UpdateService);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpdateComponent, "data-update", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ApplicationRef } from '@angular/core';
|
|
2
|
+
import { SwUpdate } from '@angular/service-worker';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class UpdateService {
|
|
6
|
+
private appRef;
|
|
7
|
+
private swUpdate;
|
|
8
|
+
private stable;
|
|
9
|
+
constructor(appRef: ApplicationRef, swUpdate: SwUpdate);
|
|
10
|
+
private _available$;
|
|
11
|
+
get available$(): Observable<boolean>;
|
|
12
|
+
activate(): void;
|
|
13
|
+
dismiss(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdateService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UpdateService>;
|
|
16
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -45,3 +45,5 @@ export * from './lib/routing/routing';
|
|
|
45
45
|
export * from './lib/routing/breadcrumb/breadcrumb.component';
|
|
46
46
|
export * from './lib/utils/tab-memory.service';
|
|
47
47
|
export * from './lib/utils/slugify';
|
|
48
|
+
export * from './lib/updates/update.service';
|
|
49
|
+
export * from './lib/updates/update/update.component';
|