@absolutejs/absolute 0.20.0-beta.18 → 0.20.0-beta.19
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 +14 -1
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/cli/index.js +260 -93
- package/dist/mobile/index.js +140 -2
- package/dist/mobile/index.js.map +6 -5
- package/dist/src/mobile/deviceCapabilities.d.ts +13 -0
- package/dist/src/mobile/index.d.ts +1 -0
- package/dist/src/mobile/nativeDeviceCapabilities.d.ts +6 -0
- package/package.json +11 -10
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
export type AbsoluteDeviceCapabilityProvider = {
|
|
2
2
|
factory: string;
|
|
3
3
|
module: string;
|
|
4
|
+
native?: {
|
|
5
|
+
android?: {
|
|
6
|
+
permissions: string[];
|
|
7
|
+
};
|
|
8
|
+
ios?: {
|
|
9
|
+
usageDescriptions: AbsoluteIosUsageDescription[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
4
12
|
packages: string[];
|
|
5
13
|
};
|
|
14
|
+
export type AbsoluteIosUsageDescription = 'camera' | 'photo-library' | 'photo-library-add';
|
|
6
15
|
export type AbsoluteDeviceCapabilityPlan = {
|
|
7
16
|
capabilities: string[];
|
|
8
17
|
providers: Record<string, AbsoluteDeviceCapabilityProvider>;
|
|
9
18
|
requiredPackages: string[];
|
|
10
19
|
};
|
|
20
|
+
export declare const absoluteDeviceNativeRequirements: (plan: AbsoluteDeviceCapabilityPlan) => {
|
|
21
|
+
androidPermissions: string[];
|
|
22
|
+
iosUsageDescriptions: AbsoluteIosUsageDescription[];
|
|
23
|
+
};
|
|
11
24
|
export declare const loadAbsoluteDeviceCapabilityProviders: (projectRoot: string) => {
|
|
12
25
|
[k: string]: AbsoluteDeviceCapabilityProvider;
|
|
13
26
|
};
|
|
@@ -19,6 +19,7 @@ export * from './client';
|
|
|
19
19
|
export * from './compatibilityDispatcher';
|
|
20
20
|
export * from './materializedBundle';
|
|
21
21
|
export * from './nativeDeepLinks';
|
|
22
|
+
export * from './nativeDeviceCapabilities';
|
|
22
23
|
export * from './nativeAuth';
|
|
23
24
|
export * from './pageProtocol';
|
|
24
25
|
export * from './producerContext';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MobilePlatform } from '../../types/build';
|
|
2
|
+
import type { NormalizedAbsoluteMobileConfig } from './config';
|
|
3
|
+
import { type AbsoluteDeviceCapabilityPlan } from './deviceCapabilities';
|
|
4
|
+
export declare const applyAbsoluteNativeDeviceCapabilities: (projectRoot: string, config: NormalizedAbsoluteMobileConfig, platforms?: readonly MobilePlatform[], plan?: AbsoluteDeviceCapabilityPlan) => Promise<{
|
|
5
|
+
changed: MobilePlatform[];
|
|
6
|
+
}>;
|
package/package.json
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@absolutejs/auth": "0.72.0",
|
|
11
|
-
"@absolutejs/devices": "0.
|
|
12
|
-
"@absolutejs/devices-capacitor": "0.
|
|
11
|
+
"@absolutejs/devices": "0.2.0",
|
|
12
|
+
"@absolutejs/devices-capacitor": "0.3.1",
|
|
13
13
|
"@absolutejs/pwa": "0.13.0",
|
|
14
14
|
"@capacitor/browser": "8.0.4",
|
|
15
15
|
"@capacitor/network": "8.0.1",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@absolutejs/manifest": "0.9.0",
|
|
28
28
|
"@absolutejs/scoped-state": "0.2.2",
|
|
29
29
|
"@absolutejs/sync": "2.29.0",
|
|
30
|
-
"@absolutejs/sync-capacitor": "0.
|
|
30
|
+
"@absolutejs/sync-capacitor": "0.9.0",
|
|
31
31
|
"@angular/animations": "21.2.6",
|
|
32
32
|
"@angular/cdk": "21.2.6",
|
|
33
33
|
"@angular/common": "21.2.6",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"@capacitor-community/sqlite": "8.1.1",
|
|
45
45
|
"@capacitor/android": "8.5.0",
|
|
46
46
|
"@capacitor/app": "8.1.1",
|
|
47
|
+
"@capacitor/camera": "8.2.3",
|
|
47
48
|
"@capacitor/cli": "8.5.0",
|
|
48
49
|
"@capacitor/clipboard": "8.0.1",
|
|
49
50
|
"@capacitor/core": "8.5.0",
|
|
@@ -278,12 +279,12 @@
|
|
|
278
279
|
"main": "./dist/index.js",
|
|
279
280
|
"name": "@absolutejs/absolute",
|
|
280
281
|
"optionalDependencies": {
|
|
281
|
-
"@absolutejs/native-darwin-arm64": "0.20.0-beta.
|
|
282
|
-
"@absolutejs/native-darwin-x64": "0.20.0-beta.
|
|
283
|
-
"@absolutejs/native-linux-arm64": "0.20.0-beta.
|
|
284
|
-
"@absolutejs/native-linux-x64": "0.20.0-beta.
|
|
285
|
-
"@absolutejs/native-windows-arm64": "0.20.0-beta.
|
|
286
|
-
"@absolutejs/native-windows-x64": "0.20.0-beta.
|
|
282
|
+
"@absolutejs/native-darwin-arm64": "0.20.0-beta.19",
|
|
283
|
+
"@absolutejs/native-darwin-x64": "0.20.0-beta.19",
|
|
284
|
+
"@absolutejs/native-linux-arm64": "0.20.0-beta.19",
|
|
285
|
+
"@absolutejs/native-linux-x64": "0.20.0-beta.19",
|
|
286
|
+
"@absolutejs/native-windows-arm64": "0.20.0-beta.19",
|
|
287
|
+
"@absolutejs/native-windows-x64": "0.20.0-beta.19"
|
|
287
288
|
},
|
|
288
289
|
"overrides": {
|
|
289
290
|
"@sinclair/typebox": "0.34.52",
|
|
@@ -494,7 +495,7 @@
|
|
|
494
495
|
]
|
|
495
496
|
}
|
|
496
497
|
},
|
|
497
|
-
"version": "0.20.0-beta.
|
|
498
|
+
"version": "0.20.0-beta.19",
|
|
498
499
|
"workspaces": [
|
|
499
500
|
"tests/fixtures/*",
|
|
500
501
|
"tests/fixtures/_packages/*"
|