@angular-helpers/browser-web-apis 21.12.0 → 21.12.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/README.md
CHANGED
|
@@ -67,21 +67,9 @@ Angular services package for a structured and secure access layer over browser W
|
|
|
67
67
|
|
|
68
68
|
- `WebWorkerService` - Web Worker management
|
|
69
69
|
|
|
70
|
-
### Device APIs
|
|
71
|
-
|
|
72
|
-
- `WebBluetoothService` - Bluetooth Low Energy device communication
|
|
73
|
-
- `WebUsbService` - USB device I/O from the browser
|
|
74
|
-
- `WebNfcService` - NFC tag reading and writing
|
|
75
|
-
|
|
76
70
|
### Detection APIs
|
|
77
71
|
|
|
78
72
|
- `EyeDropperService` - Screen color picker
|
|
79
|
-
- `BarcodeDetectorService` - QR code and barcode scanning
|
|
80
|
-
|
|
81
|
-
### Commerce & Identity APIs
|
|
82
|
-
|
|
83
|
-
- `PaymentRequestService` - Native payment flows
|
|
84
|
-
- `CredentialManagementService` - Passwords, passkeys (WebAuthn)
|
|
85
73
|
|
|
86
74
|
### Security & Capabilities
|
|
87
75
|
|
|
@@ -95,7 +83,7 @@ Angular services package for a structured and secure access layer over browser W
|
|
|
95
83
|
## Installation
|
|
96
84
|
|
|
97
85
|
```bash
|
|
98
|
-
|
|
86
|
+
pnpm add @angular-helpers/browser-web-apis
|
|
99
87
|
```
|
|
100
88
|
|
|
101
89
|
## Quick Setup
|
|
@@ -157,28 +145,49 @@ Every service has a matching `provideX()` function:
|
|
|
157
145
|
| `provideWebSocket()` | `WebSocketService` |
|
|
158
146
|
| `provideWebWorker()` | `WebWorkerService` |
|
|
159
147
|
| `provideBattery()` | `BatteryService` |
|
|
148
|
+
| `provideWebShare()` | `WebShareService` |
|
|
160
149
|
| `provideIntersectionObserver()` | `IntersectionObserverService` |
|
|
161
150
|
| `provideResizeObserver()` | `ResizeObserverService` |
|
|
162
151
|
| `provideMutationObserver()` | `MutationObserverService` |
|
|
163
152
|
| `providePerformanceObserver()` | `PerformanceObserverService` |
|
|
164
153
|
| `providePageVisibility()` | `PageVisibilityService` |
|
|
165
154
|
| `provideNetworkInformation()` | `NetworkInformationService` |
|
|
155
|
+
| `provideScreenWakeLock()` | `ScreenWakeLockService` |
|
|
156
|
+
| `provideScreenOrientation()` | `ScreenOrientationService` |
|
|
157
|
+
| `provideFullscreen()` | `FullscreenService` |
|
|
158
|
+
| `provideFileSystemAccess()` | `FileSystemAccessService` |
|
|
159
|
+
| `provideMediaRecorder()` | `MediaRecorderService` |
|
|
160
|
+
| `provideBroadcastChannel()` | `BroadcastChannelService` |
|
|
161
|
+
| `provideServerSentEvents()` | `ServerSentEventsService` |
|
|
162
|
+
| `provideVibration()` | `VibrationService` |
|
|
163
|
+
| `provideSpeechSynthesis()` | `SpeechSynthesisService` |
|
|
164
|
+
| `provideWebAudio()` | `WebAudioService` |
|
|
165
|
+
| `provideGamepad()` | `GamepadService` |
|
|
166
166
|
| `provideWebLocks()` | `WebLocksService` |
|
|
167
167
|
| `provideStorageManager()` | `StorageManagerService` |
|
|
168
168
|
| `provideCompression()` | `CompressionService` |
|
|
169
|
-
|
|
|
169
|
+
| `provideEyeDropper()` | `EyeDropperService` |
|
|
170
|
+
| `provideIdleDetector()` | `IdleDetectorService` |
|
|
171
|
+
| `providePermissions()` | `PermissionsService` |
|
|
170
172
|
|
|
171
173
|
### Combo providers
|
|
172
174
|
|
|
173
175
|
Convenience functions that bundle related services:
|
|
174
176
|
|
|
175
177
|
```typescript
|
|
176
|
-
import {
|
|
178
|
+
import {
|
|
179
|
+
provideMediaApis,
|
|
180
|
+
provideLocationApis,
|
|
181
|
+
provideStorageApis,
|
|
182
|
+
provideCommunicationApis,
|
|
183
|
+
} from '@angular-helpers/browser-web-apis';
|
|
177
184
|
|
|
178
185
|
bootstrapApplication(AppComponent, {
|
|
179
186
|
providers: [
|
|
180
187
|
provideMediaApis(), // Camera + MediaDevices + Permissions
|
|
188
|
+
provideLocationApis(), // Geolocation + Permissions
|
|
181
189
|
provideStorageApis(), // Clipboard + WebStorage + Permissions
|
|
190
|
+
provideCommunicationApis(), // Notification + WebShare + WebSocket + Permissions
|
|
182
191
|
],
|
|
183
192
|
});
|
|
184
193
|
```
|
|
@@ -851,6 +860,29 @@ export class MyComponent {
|
|
|
851
860
|
}
|
|
852
861
|
```
|
|
853
862
|
|
|
863
|
+
### injectEyeDropper
|
|
864
|
+
|
|
865
|
+
```typescript
|
|
866
|
+
import { injectEyeDropper } from '@angular-helpers/browser-web-apis';
|
|
867
|
+
|
|
868
|
+
@Component({...})
|
|
869
|
+
export class MyComponent {
|
|
870
|
+
readonly dropper = injectEyeDropper();
|
|
871
|
+
|
|
872
|
+
// dropper.color() → Signal<string | null> (sRGBHex)
|
|
873
|
+
// dropper.isOpening() → Signal<boolean>
|
|
874
|
+
// dropper.error() → Signal<Error | null>
|
|
875
|
+
// dropper.isSupported() → Signal<boolean>
|
|
876
|
+
|
|
877
|
+
async pickColor() {
|
|
878
|
+
const result = await this.dropper.open();
|
|
879
|
+
if (result) {
|
|
880
|
+
console.log('Selected color:', result.sRGBHex);
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
```
|
|
885
|
+
|
|
854
886
|
### ElementInput type
|
|
855
887
|
|
|
856
888
|
Both `injectResizeObserver` and `injectIntersectionObserver` accept the `ElementInput` type:
|
|
@@ -42,10 +42,10 @@ class IdleDetectorService extends BrowserApiBaseService {
|
|
|
42
42
|
return () => abortController.abort();
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
46
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
45
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: IdleDetectorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
46
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: IdleDetectorService });
|
|
47
47
|
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: IdleDetectorService, decorators: [{
|
|
49
49
|
type: Injectable
|
|
50
50
|
}] });
|
|
51
51
|
|
|
@@ -66,10 +66,10 @@ class EyeDropperService extends BrowserApiBaseService {
|
|
|
66
66
|
const eyeDropper = new (getEyeDropperClass())();
|
|
67
67
|
return eyeDropper.open();
|
|
68
68
|
}
|
|
69
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
70
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
69
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: EyeDropperService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
70
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: EyeDropperService });
|
|
71
71
|
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: EyeDropperService, decorators: [{
|
|
73
73
|
type: Injectable
|
|
74
74
|
}] });
|
|
75
75
|
|
|
@@ -128,10 +128,10 @@ class BarcodeDetectorService extends BrowserApiBaseService {
|
|
|
128
128
|
};
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
132
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
131
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BarcodeDetectorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
132
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BarcodeDetectorService });
|
|
133
133
|
}
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BarcodeDetectorService, decorators: [{
|
|
135
135
|
type: Injectable
|
|
136
136
|
}] });
|
|
137
137
|
|
|
@@ -164,10 +164,10 @@ class WebBluetoothService extends BrowserApiBaseService {
|
|
|
164
164
|
subscriber.complete();
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
168
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
167
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebBluetoothService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
168
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebBluetoothService });
|
|
169
169
|
}
|
|
170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebBluetoothService, decorators: [{
|
|
171
171
|
type: Injectable
|
|
172
172
|
}] });
|
|
173
173
|
|
|
@@ -220,10 +220,10 @@ class WebUsbService extends BrowserApiBaseService {
|
|
|
220
220
|
opened: device.opened,
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
224
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
223
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebUsbService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
224
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebUsbService });
|
|
225
225
|
}
|
|
226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebUsbService, decorators: [{
|
|
227
227
|
type: Injectable
|
|
228
228
|
}] });
|
|
229
229
|
|
|
@@ -269,10 +269,10 @@ class WebNfcService extends BrowserApiBaseService {
|
|
|
269
269
|
const reader = new (getNdefReaderClass())();
|
|
270
270
|
await reader.write(message, options);
|
|
271
271
|
}
|
|
272
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
273
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
272
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebNfcService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
273
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebNfcService });
|
|
274
274
|
}
|
|
275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebNfcService, decorators: [{
|
|
276
276
|
type: Injectable
|
|
277
277
|
}] });
|
|
278
278
|
|
|
@@ -311,10 +311,10 @@ class PaymentRequestService extends BrowserApiBaseService {
|
|
|
311
311
|
const request = new PaymentRequest(methods, details);
|
|
312
312
|
await request.abort();
|
|
313
313
|
}
|
|
314
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
315
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
314
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PaymentRequestService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
315
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PaymentRequestService });
|
|
316
316
|
}
|
|
317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PaymentRequestService, decorators: [{
|
|
318
318
|
type: Injectable
|
|
319
319
|
}] });
|
|
320
320
|
|
|
@@ -369,10 +369,10 @@ class CredentialManagementService extends BrowserApiBaseService {
|
|
|
369
369
|
}
|
|
370
370
|
return false;
|
|
371
371
|
}
|
|
372
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
373
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
372
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: CredentialManagementService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
373
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: CredentialManagementService });
|
|
374
374
|
}
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: CredentialManagementService, decorators: [{
|
|
376
376
|
type: Injectable
|
|
377
377
|
}] });
|
|
378
378
|
|
|
@@ -221,10 +221,10 @@ class BrowserCapabilityService {
|
|
|
221
221
|
return 'unknown';
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
225
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
224
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BrowserCapabilityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
225
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BrowserCapabilityService, providedIn: 'root' });
|
|
226
226
|
}
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BrowserCapabilityService, decorators: [{
|
|
228
228
|
type: Injectable,
|
|
229
229
|
args: [{ providedIn: 'root' }]
|
|
230
230
|
}] });
|
|
@@ -314,10 +314,10 @@ class BrowserApiBaseService {
|
|
|
314
314
|
logDebug(message) {
|
|
315
315
|
this.logger.debug?.(`[${this.getApiName()}] ${message}`);
|
|
316
316
|
}
|
|
317
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
318
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
317
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BrowserApiBaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
318
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BrowserApiBaseService });
|
|
319
319
|
}
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BrowserApiBaseService, decorators: [{
|
|
321
321
|
type: Injectable
|
|
322
322
|
}] });
|
|
323
323
|
|
|
@@ -346,10 +346,10 @@ class PermissionsService extends BrowserApiBaseService {
|
|
|
346
346
|
getCapabilityId() {
|
|
347
347
|
return 'permissions';
|
|
348
348
|
}
|
|
349
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
350
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
349
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PermissionsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
350
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PermissionsService });
|
|
351
351
|
}
|
|
352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PermissionsService, decorators: [{
|
|
353
353
|
type: Injectable
|
|
354
354
|
}] });
|
|
355
355
|
|
|
@@ -469,10 +469,10 @@ class CameraService extends BrowserApiBaseService {
|
|
|
469
469
|
this.ensureSupported();
|
|
470
470
|
return navigator.mediaDevices;
|
|
471
471
|
}
|
|
472
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
473
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
472
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: CameraService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
473
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: CameraService });
|
|
474
474
|
}
|
|
475
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: CameraService, decorators: [{
|
|
476
476
|
type: Injectable
|
|
477
477
|
}] });
|
|
478
478
|
|
|
@@ -512,10 +512,10 @@ class GeolocationService extends BrowserApiBaseService {
|
|
|
512
512
|
this.ensureSupported();
|
|
513
513
|
return navigator.geolocation;
|
|
514
514
|
}
|
|
515
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
516
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
515
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: GeolocationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
516
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: GeolocationService });
|
|
517
517
|
}
|
|
518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: GeolocationService, decorators: [{
|
|
519
519
|
type: Injectable
|
|
520
520
|
}] });
|
|
521
521
|
|
|
@@ -643,10 +643,10 @@ class MediaDevicesService extends BrowserApiBaseService {
|
|
|
643
643
|
this.ensureSupported();
|
|
644
644
|
return navigator.mediaDevices;
|
|
645
645
|
}
|
|
646
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
647
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
646
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: MediaDevicesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
647
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: MediaDevicesService });
|
|
648
648
|
}
|
|
649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: MediaDevicesService, decorators: [{
|
|
650
650
|
type: Injectable
|
|
651
651
|
}] });
|
|
652
652
|
|
|
@@ -680,10 +680,10 @@ class NotificationService extends BrowserApiBaseService {
|
|
|
680
680
|
throw error;
|
|
681
681
|
}
|
|
682
682
|
}
|
|
683
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
684
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
683
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: NotificationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
684
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: NotificationService });
|
|
685
685
|
}
|
|
686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: NotificationService, decorators: [{
|
|
687
687
|
type: Injectable
|
|
688
688
|
}] });
|
|
689
689
|
|
|
@@ -720,10 +720,10 @@ class ClipboardService extends BrowserApiBaseService {
|
|
|
720
720
|
throw error;
|
|
721
721
|
}
|
|
722
722
|
}
|
|
723
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
724
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
723
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ClipboardService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
724
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ClipboardService });
|
|
725
725
|
}
|
|
726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ClipboardService, decorators: [{
|
|
727
727
|
type: Injectable
|
|
728
728
|
}] });
|
|
729
729
|
|
|
@@ -802,10 +802,10 @@ class BatteryService extends BrowserApiBaseService {
|
|
|
802
802
|
getDischargingTime() {
|
|
803
803
|
return this.getBatteryInfo().dischargingTime;
|
|
804
804
|
}
|
|
805
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
806
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
805
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BatteryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
806
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BatteryService });
|
|
807
807
|
}
|
|
808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
808
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BatteryService, decorators: [{
|
|
809
809
|
type: Injectable
|
|
810
810
|
}] });
|
|
811
811
|
|
|
@@ -843,10 +843,10 @@ class WebShareService extends BrowserApiBaseService {
|
|
|
843
843
|
this.ensureSupported();
|
|
844
844
|
return navigator.share;
|
|
845
845
|
}
|
|
846
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
847
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
846
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebShareService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
847
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebShareService });
|
|
848
848
|
}
|
|
849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebShareService, decorators: [{
|
|
850
850
|
type: Injectable
|
|
851
851
|
}] });
|
|
852
852
|
|
|
@@ -1185,10 +1185,10 @@ class WebStorageService extends BrowserApiBaseService {
|
|
|
1185
1185
|
'deprecated. Use storage.local and storage.session namespaces. Legacy methods will be ' +
|
|
1186
1186
|
'removed in v22.');
|
|
1187
1187
|
}
|
|
1188
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1189
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1188
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1189
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebStorageService });
|
|
1190
1190
|
}
|
|
1191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebStorageService, decorators: [{
|
|
1192
1192
|
type: Injectable
|
|
1193
1193
|
}], ctorParameters: () => [] });
|
|
1194
1194
|
|
|
@@ -1608,10 +1608,10 @@ class WebSocketService extends BrowserApiBaseService {
|
|
|
1608
1608
|
'which returns a WebSocketClient with a status signal, request/response, and proper reconnect. ' +
|
|
1609
1609
|
'The legacy API will be removed in v22.');
|
|
1610
1610
|
}
|
|
1611
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1612
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1611
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebSocketService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
1612
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebSocketService });
|
|
1613
1613
|
}
|
|
1614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebSocketService, decorators: [{
|
|
1615
1615
|
type: Injectable
|
|
1616
1616
|
}] });
|
|
1617
1617
|
/**
|
|
@@ -1892,10 +1892,10 @@ class WebWorkerService extends BrowserApiBaseService {
|
|
|
1892
1892
|
}
|
|
1893
1893
|
return `msg-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;
|
|
1894
1894
|
}
|
|
1895
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1896
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1895
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebWorkerService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
1896
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebWorkerService });
|
|
1897
1897
|
}
|
|
1898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebWorkerService, decorators: [{
|
|
1899
1899
|
type: Injectable
|
|
1900
1900
|
}] });
|
|
1901
1901
|
|
|
@@ -1945,10 +1945,10 @@ class IntersectionObserverService extends BrowserApiBaseService {
|
|
|
1945
1945
|
}
|
|
1946
1946
|
return intersectionObserverStream(element, options);
|
|
1947
1947
|
}
|
|
1948
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1949
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1948
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: IntersectionObserverService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
1949
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: IntersectionObserverService });
|
|
1950
1950
|
}
|
|
1951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: IntersectionObserverService, decorators: [{
|
|
1952
1952
|
type: Injectable
|
|
1953
1953
|
}] });
|
|
1954
1954
|
|
|
@@ -2005,10 +2005,10 @@ class ResizeObserverService extends BrowserApiBaseService {
|
|
|
2005
2005
|
}
|
|
2006
2006
|
return resizeObserverStream(element, options);
|
|
2007
2007
|
}
|
|
2008
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2009
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2008
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ResizeObserverService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2009
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ResizeObserverService });
|
|
2010
2010
|
}
|
|
2011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ResizeObserverService, decorators: [{
|
|
2012
2012
|
type: Injectable
|
|
2013
2013
|
}] });
|
|
2014
2014
|
|
|
@@ -2050,10 +2050,10 @@ class PageVisibilityService extends BrowserApiBaseService {
|
|
|
2050
2050
|
watchVisibility() {
|
|
2051
2051
|
return pageVisibilityStream().pipe(map$1((s) => s === 'visible'));
|
|
2052
2052
|
}
|
|
2053
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2054
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2053
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PageVisibilityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2054
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PageVisibilityService });
|
|
2055
2055
|
}
|
|
2056
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PageVisibilityService, decorators: [{
|
|
2057
2057
|
type: Injectable
|
|
2058
2058
|
}] });
|
|
2059
2059
|
|
|
@@ -2094,10 +2094,10 @@ class ConnectionRegistryBaseService extends BrowserApiBaseService {
|
|
|
2094
2094
|
getConnectionKeys() {
|
|
2095
2095
|
return Array.from(this.connections.keys());
|
|
2096
2096
|
}
|
|
2097
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2098
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2097
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ConnectionRegistryBaseService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2098
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ConnectionRegistryBaseService });
|
|
2099
2099
|
}
|
|
2100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ConnectionRegistryBaseService, decorators: [{
|
|
2101
2101
|
type: Injectable
|
|
2102
2102
|
}] });
|
|
2103
2103
|
|
|
@@ -2154,10 +2154,10 @@ class BroadcastChannelService extends ConnectionRegistryBaseService {
|
|
|
2154
2154
|
getOpenChannels() {
|
|
2155
2155
|
return this.getConnectionKeys();
|
|
2156
2156
|
}
|
|
2157
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2158
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BroadcastChannelService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2158
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BroadcastChannelService });
|
|
2159
2159
|
}
|
|
2160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: BroadcastChannelService, decorators: [{
|
|
2161
2161
|
type: Injectable
|
|
2162
2162
|
}] });
|
|
2163
2163
|
|
|
@@ -2222,10 +2222,10 @@ class NetworkInformationService extends BrowserApiBaseService {
|
|
|
2222
2222
|
get isOnline() {
|
|
2223
2223
|
return this.isBrowserEnvironment() ? navigator.onLine : true;
|
|
2224
2224
|
}
|
|
2225
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2226
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2225
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: NetworkInformationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2226
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: NetworkInformationService });
|
|
2227
2227
|
}
|
|
2228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: NetworkInformationService, decorators: [{
|
|
2229
2229
|
type: Injectable
|
|
2230
2230
|
}] });
|
|
2231
2231
|
|
|
@@ -2297,10 +2297,10 @@ class ScreenWakeLockService extends BrowserApiBaseService {
|
|
|
2297
2297
|
return () => document.removeEventListener('visibilitychange', handleVisibilityChange);
|
|
2298
2298
|
});
|
|
2299
2299
|
}
|
|
2300
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2301
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2300
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ScreenWakeLockService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2301
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ScreenWakeLockService });
|
|
2302
2302
|
}
|
|
2303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ScreenWakeLockService, decorators: [{
|
|
2304
2304
|
type: Injectable
|
|
2305
2305
|
}] });
|
|
2306
2306
|
|
|
@@ -2366,10 +2366,10 @@ class ScreenOrientationService extends BrowserApiBaseService {
|
|
|
2366
2366
|
screen.orientation.unlock();
|
|
2367
2367
|
}
|
|
2368
2368
|
}
|
|
2369
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2370
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2369
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ScreenOrientationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2370
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ScreenOrientationService });
|
|
2371
2371
|
}
|
|
2372
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ScreenOrientationService, decorators: [{
|
|
2373
2373
|
type: Injectable
|
|
2374
2374
|
}] });
|
|
2375
2375
|
|
|
@@ -2460,10 +2460,10 @@ class FullscreenService extends BrowserApiBaseService {
|
|
|
2460
2460
|
};
|
|
2461
2461
|
});
|
|
2462
2462
|
}
|
|
2463
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2464
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2463
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: FullscreenService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2464
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: FullscreenService });
|
|
2465
2465
|
}
|
|
2466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: FullscreenService, decorators: [{
|
|
2467
2467
|
type: Injectable
|
|
2468
2468
|
}] });
|
|
2469
2469
|
|
|
@@ -2542,10 +2542,10 @@ class FileSystemAccessService extends BrowserApiBaseService {
|
|
|
2542
2542
|
async readFileAsArrayBuffer(file) {
|
|
2543
2543
|
return file.arrayBuffer();
|
|
2544
2544
|
}
|
|
2545
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2546
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2545
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: FileSystemAccessService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2546
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: FileSystemAccessService });
|
|
2547
2547
|
}
|
|
2548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: FileSystemAccessService, decorators: [{
|
|
2549
2549
|
type: Injectable
|
|
2550
2550
|
}] });
|
|
2551
2551
|
|
|
@@ -2635,10 +2635,10 @@ class MediaRecorderService extends BrowserApiBaseService {
|
|
|
2635
2635
|
const duration = Date.now() - this.startTime;
|
|
2636
2636
|
return { blob, url, mimeType, duration };
|
|
2637
2637
|
}
|
|
2638
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2639
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2638
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: MediaRecorderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2639
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: MediaRecorderService });
|
|
2640
2640
|
}
|
|
2641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: MediaRecorderService, decorators: [{
|
|
2642
2642
|
type: Injectable
|
|
2643
2643
|
}] });
|
|
2644
2644
|
|
|
@@ -2714,10 +2714,10 @@ class ServerSentEventsService extends ConnectionRegistryBaseService {
|
|
|
2714
2714
|
getActiveConnections() {
|
|
2715
2715
|
return this.getConnectionKeys();
|
|
2716
2716
|
}
|
|
2717
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2718
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2717
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ServerSentEventsService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2718
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ServerSentEventsService });
|
|
2719
2719
|
}
|
|
2720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: ServerSentEventsService, decorators: [{
|
|
2721
2721
|
type: Injectable
|
|
2722
2722
|
}] });
|
|
2723
2723
|
|
|
@@ -2754,10 +2754,10 @@ class VibrationService extends BrowserApiBaseService {
|
|
|
2754
2754
|
stop() {
|
|
2755
2755
|
return this.vibrate(0);
|
|
2756
2756
|
}
|
|
2757
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2758
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2757
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: VibrationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2758
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: VibrationService });
|
|
2759
2759
|
}
|
|
2760
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: VibrationService, decorators: [{
|
|
2761
2761
|
type: Injectable
|
|
2762
2762
|
}] });
|
|
2763
2763
|
|
|
@@ -2854,10 +2854,10 @@ class SpeechSynthesisService extends BrowserApiBaseService {
|
|
|
2854
2854
|
if (this.isSupported())
|
|
2855
2855
|
speechSynthesis.cancel();
|
|
2856
2856
|
}
|
|
2857
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2858
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2857
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: SpeechSynthesisService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2858
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: SpeechSynthesisService });
|
|
2859
2859
|
}
|
|
2860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2860
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: SpeechSynthesisService, decorators: [{
|
|
2861
2861
|
type: Injectable
|
|
2862
2862
|
}] });
|
|
2863
2863
|
|
|
@@ -2893,10 +2893,10 @@ class MutationObserverService extends BrowserApiBaseService {
|
|
|
2893
2893
|
}
|
|
2894
2894
|
return mutationObserverStream(target, options);
|
|
2895
2895
|
}
|
|
2896
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2897
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2896
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: MutationObserverService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2897
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: MutationObserverService });
|
|
2898
2898
|
}
|
|
2899
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: MutationObserverService, decorators: [{
|
|
2900
2900
|
type: Injectable
|
|
2901
2901
|
}] });
|
|
2902
2902
|
|
|
@@ -2939,10 +2939,10 @@ class PerformanceObserverService extends BrowserApiBaseService {
|
|
|
2939
2939
|
return [];
|
|
2940
2940
|
return (PerformanceObserver.supportedEntryTypes ?? []);
|
|
2941
2941
|
}
|
|
2942
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2943
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2942
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PerformanceObserverService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2943
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PerformanceObserverService });
|
|
2944
2944
|
}
|
|
2945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: PerformanceObserverService, decorators: [{
|
|
2946
2946
|
type: Injectable
|
|
2947
2947
|
}] });
|
|
2948
2948
|
|
|
@@ -3030,10 +3030,10 @@ class WebAudioService extends BrowserApiBaseService {
|
|
|
3030
3030
|
source.start(0);
|
|
3031
3031
|
return source;
|
|
3032
3032
|
}
|
|
3033
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3034
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3033
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebAudioService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3034
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebAudioService });
|
|
3035
3035
|
}
|
|
3036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebAudioService, decorators: [{
|
|
3037
3037
|
type: Injectable
|
|
3038
3038
|
}] });
|
|
3039
3039
|
|
|
@@ -3152,10 +3152,10 @@ class GamepadService extends BrowserApiBaseService {
|
|
|
3152
3152
|
}
|
|
3153
3153
|
return gamepadPollStream(index, intervalMs);
|
|
3154
3154
|
}
|
|
3155
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3156
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3155
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: GamepadService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3156
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: GamepadService });
|
|
3157
3157
|
}
|
|
3158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: GamepadService, decorators: [{
|
|
3159
3159
|
type: Injectable
|
|
3160
3160
|
}] });
|
|
3161
3161
|
|
|
@@ -3195,11 +3195,14 @@ class EyeDropperService extends BrowserApiBaseService {
|
|
|
3195
3195
|
const eyeDropper = new EyeDropperClass();
|
|
3196
3196
|
return eyeDropper.open(options);
|
|
3197
3197
|
}
|
|
3198
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3199
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3198
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: EyeDropperService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3199
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: EyeDropperService, providedIn: 'root' });
|
|
3200
3200
|
}
|
|
3201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3202
|
-
type: Injectable
|
|
3201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: EyeDropperService, decorators: [{
|
|
3202
|
+
type: Injectable,
|
|
3203
|
+
args: [{
|
|
3204
|
+
providedIn: 'root',
|
|
3205
|
+
}]
|
|
3203
3206
|
}] });
|
|
3204
3207
|
|
|
3205
3208
|
class IdleDetectorService extends BrowserApiBaseService {
|
|
@@ -3267,10 +3270,10 @@ class IdleDetectorService extends BrowserApiBaseService {
|
|
|
3267
3270
|
};
|
|
3268
3271
|
});
|
|
3269
3272
|
}
|
|
3270
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3271
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3273
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: IdleDetectorService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3274
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: IdleDetectorService });
|
|
3272
3275
|
}
|
|
3273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: IdleDetectorService, decorators: [{
|
|
3274
3277
|
type: Injectable
|
|
3275
3278
|
}] });
|
|
3276
3279
|
|
|
@@ -3320,10 +3323,10 @@ class WebLocksService extends BrowserApiBaseService {
|
|
|
3320
3323
|
throw new Error('Web Locks API not supported in this browser');
|
|
3321
3324
|
}
|
|
3322
3325
|
}
|
|
3323
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3324
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3326
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebLocksService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3327
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebLocksService });
|
|
3325
3328
|
}
|
|
3326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WebLocksService, decorators: [{
|
|
3327
3330
|
type: Injectable
|
|
3328
3331
|
}] });
|
|
3329
3332
|
|
|
@@ -3374,10 +3377,10 @@ class StorageManagerService extends BrowserApiBaseService {
|
|
|
3374
3377
|
throw new Error('StorageManager API not supported in this browser');
|
|
3375
3378
|
}
|
|
3376
3379
|
}
|
|
3377
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3378
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3380
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: StorageManagerService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3381
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: StorageManagerService });
|
|
3379
3382
|
}
|
|
3380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: StorageManagerService, decorators: [{
|
|
3381
3384
|
type: Injectable
|
|
3382
3385
|
}] });
|
|
3383
3386
|
|
|
@@ -3454,10 +3457,10 @@ class CompressionService extends BrowserApiBaseService {
|
|
|
3454
3457
|
}
|
|
3455
3458
|
return result;
|
|
3456
3459
|
}
|
|
3457
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3458
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3460
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: CompressionService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3461
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: CompressionService });
|
|
3459
3462
|
}
|
|
3460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: CompressionService, decorators: [{
|
|
3461
3464
|
type: Injectable
|
|
3462
3465
|
}] });
|
|
3463
3466
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-helpers/browser-web-apis",
|
|
3
|
-
"version": "21.12.
|
|
3
|
+
"version": "21.12.1",
|
|
4
4
|
"description": "Sistema de servicios Angular para acceso formalizado a Browser Web APIs (cámara, permisos, geolocalización, etc.)",
|
|
5
5
|
"homepage": "https://gaspar1992.github.io/angular-helpers/docs/browser-web-apis",
|
|
6
6
|
"repository": {
|
|
@@ -53,4 +53,4 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"tslib": "^2.3.0"
|
|
55
55
|
}
|
|
56
|
-
}
|
|
56
|
+
}
|