@apps-in-toss/web-framework 0.0.8 → 0.0.10
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/LICENSE +674 -0
- package/README.md +20 -0
- package/bin.js +2 -1
- package/dist/chunk-CH3CIAIW.js +7688 -0
- package/dist/chunk-DI2VGQ6M.js +53 -0
- package/dist/chunk-HL7M3JLX.js +53 -0
- package/dist/chunk-I3ZDGLIW.js +19 -0
- package/dist/chunk-LJBVSTWE.js +7687 -0
- package/dist/chunk-TZCMTMV7.js +38 -0
- package/dist/{chunk-MHAJE5QI.js → cli/chunk-HDRFXOPA.js} +30 -1
- package/dist/cli/chunk-RUDG2MMT.js +173587 -0
- package/dist/cli/index.cjs +644 -0
- package/dist/cli/index.d.cts +2 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +96448 -0
- package/dist/{lib-EUN4APCZ.js → cli/lib-NMFBQRQ2.js} +1 -1
- package/dist/cli/typescript-THSIDFIK.js +6 -0
- package/dist/cli.cjs +480 -4518
- package/dist/cli.d.cts +1 -2
- package/dist/cli.d.ts +1 -2
- package/dist/cli.js +446 -3492
- package/dist/closeView.d.ts +24 -0
- package/dist/config/index.d.ts +47 -60
- package/dist/config/index.js +6 -7974
- package/dist/fetchAlbumPhotos.d.ts +75 -0
- package/dist/fetchContacts.d.ts +92 -0
- package/dist/generateHapticFeedback.d.ts +52 -0
- package/dist/getClipboardText.d.ts +42 -0
- package/dist/getCurrentLocation.d.ts +109 -0
- package/dist/getDeviceId.d.ts +32 -0
- package/dist/getLocale.d.ts +31 -0
- package/dist/getNetworkStatus.d.ts +55 -0
- package/dist/getSchemeUri.d.ts +26 -0
- package/dist/index.cjs +18 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1 -0
- package/dist/openCamera.d.ts +75 -0
- package/dist/plugins/index.cjs +7682 -0
- package/dist/plugins/index.d.cts +15 -0
- package/dist/plugins/index.d.ts +15 -0
- package/dist/plugins/index.js +11 -0
- package/dist/prebuilt/dev.android.js +155792 -0
- package/dist/prebuilt/dev.ios.js +155733 -0
- package/dist/prebuilt/prod.android.js +20 -0
- package/dist/prebuilt/prod.ios.js +20 -0
- package/dist/prebuilt/prod.json +14 -0
- package/dist/setClipboardText.d.ts +34 -0
- package/dist/setScreenAwakeMode.d.ts +69 -0
- package/dist/setSecureScreen.d.ts +34 -0
- package/dist/share.d.ts +37 -0
- package/dist/startUpdateLocation.d.ts +151 -0
- package/hermesc/0_72_6/linux64-bin/hermesc +0 -0
- package/hermesc/0_72_6/osx-bin/hermesc +0 -0
- package/hermesc/0_72_6/win64-bin/hermesc.exe +0 -0
- package/hermesc/0_72_6/win64-bin/icudt64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/icuin64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/icuio64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/icutest64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/icutu64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/icuuc64.dll +0 -0
- package/hermesc/0_72_6/win64-bin/msvcp140.dll +0 -0
- package/hermesc/0_72_6/win64-bin/vcruntime140.dll +0 -0
- package/hermesc/0_72_6/win64-bin/vcruntime140_1.dll +0 -0
- package/package.json +52 -29
- package/src-web/appLogin.d.ts +30 -0
- package/src-web/closeView.d.ts +1 -2
- package/src-web/fetchAlbumPhotos.d.ts +2 -4
- package/src-web/fetchContacts.d.ts +1 -3
- package/src-web/generateHapticFeedback.d.ts +24 -27
- package/src-web/getClipboardText.d.ts +1 -3
- package/src-web/getCurrentLocation.d.ts +48 -13
- package/src-web/getDeviceId.d.ts +1 -2
- package/src-web/getLocale.d.ts +1 -2
- package/src-web/getNetworkStatus.d.ts +1 -2
- package/src-web/getOperationalEnvironment.d.ts +35 -0
- package/src-web/getPlatformOS.d.ts +28 -0
- package/src-web/getSchemeUri.d.ts +1 -2
- package/src-web/index.d.ts +3 -0
- package/src-web/index.js +1 -1
- package/src-web/openCamera.d.ts +1 -3
- package/src-web/setClipboardText.d.ts +1 -3
- package/src-web/setScreenAwakeMode.d.ts +1 -2
- package/src-web/setSecureScreen.d.ts +1 -2
- package/src-web/share.d.ts +1 -2
- package/src-web/startUpdateLocation.d.ts +45 -13
- package/dist/chunk-5AYTRYXW.js +0 -27
- package/dist/lib-OD73GAMK.js +0 -1007
- package/react-native/.babelrc +0 -41
- package/react-native/ait.d.ts +0 -8
- package/react-native/context.ts +0 -10
- package/react-native/index.ts +0 -4
- package/react-native/pages/_404.tsx +0 -1
- package/react-native/pages/index.tsx +0 -10
- package/react-native/react-native.config.cjs +0 -3
- package/react-native/src/_app.tsx +0 -12
package/react-native/.babelrc
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"presets": [
|
|
3
|
-
[
|
|
4
|
-
"@babel/preset-env",
|
|
5
|
-
{
|
|
6
|
-
"targets": {
|
|
7
|
-
"ie": 11
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
["@babel/preset-typescript"],
|
|
12
|
-
[
|
|
13
|
-
"@babel/preset-react",
|
|
14
|
-
{
|
|
15
|
-
"runtime": "automatic"
|
|
16
|
-
}
|
|
17
|
-
]
|
|
18
|
-
],
|
|
19
|
-
"plugins": [
|
|
20
|
-
["@apps-in-toss/babel-plugin-json", { "jsonPath": "./.bedrock/metadata.json", "identifierName": "Ait" }],
|
|
21
|
-
["@babel/plugin-transform-flow-strip-types"],
|
|
22
|
-
[
|
|
23
|
-
"@babel/plugin-proposal-class-properties",
|
|
24
|
-
{
|
|
25
|
-
"loose": true
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
[
|
|
29
|
-
"@babel/plugin-proposal-private-property-in-object",
|
|
30
|
-
{
|
|
31
|
-
"loose": true
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
[
|
|
35
|
-
"@babel/plugin-proposal-private-methods",
|
|
36
|
-
{
|
|
37
|
-
"loose": true
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
]
|
|
41
|
-
}
|
package/react-native/ait.d.ts
DELETED
package/react-native/context.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
const files = new Map();
|
|
2
|
-
|
|
3
|
-
files.set('./index.tsx', require('./pages/index.tsx'));
|
|
4
|
-
files.set('./_404.tsx', require('./pages/_404.tsx'));
|
|
5
|
-
|
|
6
|
-
export function context(id: string) {
|
|
7
|
-
return files.get(id);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
context.keys = () => Array.from(files.keys());
|
package/react-native/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './index';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
2
|
-
import { Bedrock, type InitialProps } from 'react-native-bedrock';
|
|
3
|
-
import { context } from '../context';
|
|
4
|
-
|
|
5
|
-
function AppContainer({ children }: PropsWithChildren<InitialProps>) {
|
|
6
|
-
return <>{children}</>;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export default Bedrock.registerApp(AppContainer, {
|
|
10
|
-
appName: Ait.appName, // this auto replace appName to Ait.appName
|
|
11
|
-
context,
|
|
12
|
-
});
|