@rsmax/one 1.3.14 → 1.3.15-alpha.29
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/cjs/api/index.ali.d.ts +5 -1
- package/cjs/api/index.ali.js +6 -6
- package/cjs/api/index.toutiao.d.ts +5 -1
- package/cjs/api/index.toutiao.js +6 -6
- package/esm/api/index.ali.d.ts +5 -1
- package/esm/api/index.ali.js +6 -1
- package/esm/api/index.toutiao.d.ts +5 -1
- package/esm/api/index.toutiao.js +6 -1
- package/package.json +9 -10
package/cjs/api/index.ali.d.ts
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const navigateTo: (arg?: any) => Promise<any>;
|
|
2
|
+
export declare const navigateBack: (arg?: any) => Promise<any>;
|
|
3
|
+
export declare const redirectTo: (arg?: any) => Promise<any>;
|
|
4
|
+
export declare const reLaunch: (arg?: any) => Promise<any>;
|
|
5
|
+
export declare const switchTab: (arg?: any) => Promise<any>;
|
package/cjs/api/index.ali.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.switchTab = exports.reLaunch = exports.redirectTo = exports.navigateBack = exports.navigateTo = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
const framework_shared_1 = require("@rsmax/framework-shared");
|
|
5
|
+
exports.navigateTo = (0, framework_shared_1.promisify)(my.navigateTo);
|
|
6
|
+
exports.navigateBack = (0, framework_shared_1.promisify)(my.navigateBack);
|
|
7
|
+
exports.redirectTo = (0, framework_shared_1.promisify)(my.redirectTo);
|
|
8
|
+
exports.reLaunch = (0, framework_shared_1.promisify)(my.reLaunch);
|
|
9
|
+
exports.switchTab = (0, framework_shared_1.promisify)(my.switchTab);
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const navigateTo: (arg?: any) => Promise<any>;
|
|
2
|
+
export declare const navigateBack: (arg?: any) => Promise<any>;
|
|
3
|
+
export declare const redirectTo: (arg?: any) => Promise<any>;
|
|
4
|
+
export declare const reLaunch: (arg?: any) => Promise<any>;
|
|
5
|
+
export declare const switchTab: (arg?: any) => Promise<any>;
|
package/cjs/api/index.toutiao.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.switchTab = exports.reLaunch = exports.redirectTo = exports.navigateBack = exports.navigateTo = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
const framework_shared_1 = require("@rsmax/framework-shared");
|
|
5
|
+
exports.navigateTo = (0, framework_shared_1.promisify)(tt.navigateTo);
|
|
6
|
+
exports.navigateBack = (0, framework_shared_1.promisify)(tt.navigateBack);
|
|
7
|
+
exports.redirectTo = (0, framework_shared_1.promisify)(tt.redirectTo);
|
|
8
|
+
exports.reLaunch = (0, framework_shared_1.promisify)(tt.reLaunch);
|
|
9
|
+
exports.switchTab = (0, framework_shared_1.promisify)(tt.switchTab);
|
package/esm/api/index.ali.d.ts
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const navigateTo: (arg?: any) => Promise<any>;
|
|
2
|
+
export declare const navigateBack: (arg?: any) => Promise<any>;
|
|
3
|
+
export declare const redirectTo: (arg?: any) => Promise<any>;
|
|
4
|
+
export declare const reLaunch: (arg?: any) => Promise<any>;
|
|
5
|
+
export declare const switchTab: (arg?: any) => Promise<any>;
|
package/esm/api/index.ali.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { promisify } from '@rsmax/framework-shared';
|
|
2
|
+
export const navigateTo = promisify(my.navigateTo);
|
|
3
|
+
export const navigateBack = promisify(my.navigateBack);
|
|
4
|
+
export const redirectTo = promisify(my.redirectTo);
|
|
5
|
+
export const reLaunch = promisify(my.reLaunch);
|
|
6
|
+
export const switchTab = promisify(my.switchTab);
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const navigateTo: (arg?: any) => Promise<any>;
|
|
2
|
+
export declare const navigateBack: (arg?: any) => Promise<any>;
|
|
3
|
+
export declare const redirectTo: (arg?: any) => Promise<any>;
|
|
4
|
+
export declare const reLaunch: (arg?: any) => Promise<any>;
|
|
5
|
+
export declare const switchTab: (arg?: any) => Promise<any>;
|
package/esm/api/index.toutiao.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { promisify } from '@rsmax/framework-shared';
|
|
2
|
+
export const navigateTo = promisify(tt.navigateTo);
|
|
3
|
+
export const navigateBack = promisify(tt.navigateBack);
|
|
4
|
+
export const redirectTo = promisify(tt.redirectTo);
|
|
5
|
+
export const reLaunch = promisify(tt.reLaunch);
|
|
6
|
+
export const switchTab = promisify(tt.switchTab);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsmax/one",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15-alpha.29+42a6372",
|
|
4
4
|
"description": "Rsmax 小程序多端方案",
|
|
5
5
|
"repository": "git+https://github.com/remaxjs/remax.git",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,19 +16,18 @@
|
|
|
16
16
|
"test": "rstest run"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@rsmax/ali": "1.3.
|
|
20
|
-
"@rsmax/framework-shared": "1.3.
|
|
21
|
-
"@rsmax/
|
|
22
|
-
"@rsmax/
|
|
23
|
-
"@rsmax/
|
|
24
|
-
"@rsmax/
|
|
25
|
-
"@rsmax/wechat": "1.3.14",
|
|
19
|
+
"@rsmax/ali": "1.3.15-alpha.29+42a6372",
|
|
20
|
+
"@rsmax/framework-shared": "1.3.15-alpha.29+42a6372",
|
|
21
|
+
"@rsmax/runtime": "1.3.15-alpha.29+42a6372",
|
|
22
|
+
"@rsmax/toutiao": "1.3.15-alpha.29+42a6372",
|
|
23
|
+
"@rsmax/web": "1.3.15-alpha.29+42a6372",
|
|
24
|
+
"@rsmax/wechat": "1.3.15-alpha.29+42a6372",
|
|
26
25
|
"clsx": "^2.1.1",
|
|
27
26
|
"memoize-one": "^5.1.1",
|
|
28
27
|
"react-autosize-textarea": "^7.0.0"
|
|
29
28
|
},
|
|
30
29
|
"devDependencies": {
|
|
31
|
-
"@rsmax/types": "1.3.
|
|
30
|
+
"@rsmax/types": "1.3.15-alpha.29+42a6372",
|
|
32
31
|
"@types/react": "^18.3.0",
|
|
33
32
|
"@types/react-dom": "^18.3.0",
|
|
34
33
|
"@types/react-test-renderer": "^18.3.0",
|
|
@@ -40,5 +39,5 @@
|
|
|
40
39
|
"access": "public"
|
|
41
40
|
},
|
|
42
41
|
"esnext": "./esm/index.js",
|
|
43
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "42a6372a437e9f43f5bf03de5a4e15302caaccee"
|
|
44
43
|
}
|