@tarojs/plugin-platform-alipay 3.8.0-canary.0 → 4.0.0-alpha.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/types/index.d.ts DELETED
@@ -1,78 +0,0 @@
1
- import { TaroPlatformBase, IPluginContext } from "@tarojs/service";
2
- import { RecursiveTemplate } from "@tarojs/shared/dist/template";
3
- declare class Template extends RecursiveTemplate {
4
- exportExpr: string;
5
- supportXS: boolean;
6
- Adapter: {
7
- if: string;
8
- else: string;
9
- elseif: string;
10
- for: string;
11
- forItem: string;
12
- forIndex: string;
13
- key: string;
14
- xs: string;
15
- type: string;
16
- };
17
- buildXsTemplate(): string;
18
- replacePropName(name: any, value: any, compName: any, componentAlias: any): any;
19
- getEvents(): {
20
- onTap: string;
21
- onTouchMove: string;
22
- onTouchEnd: string;
23
- onTouchCancel: string;
24
- onLongTap: string;
25
- };
26
- buildThirdPartyAttr(attrs: Set<string>): string;
27
- createMiniComponents(components: any): any;
28
- modifyLoopBody: (child: string, nodeName: string) => string;
29
- modifyLoopContainer: (children: string, nodeName: string) => string;
30
- modifyTemplateResult: (res: string, nodeName: string) => string;
31
- modifyThirdPartyLoopBody: () => string;
32
- buildXSTmpExtra(): string;
33
- }
34
- declare class Alipay extends TaroPlatformBase {
35
- platform: string;
36
- globalObject: string;
37
- runtimePath: string;
38
- taroComponentsPath: string;
39
- fileType: {
40
- templ: string;
41
- style: string;
42
- config: string;
43
- script: string;
44
- xs: string;
45
- };
46
- template: Template;
47
- /**
48
- * 1. setupTransaction - init
49
- * 2. setup
50
- * 3. setupTransaction - close
51
- * 4. buildTransaction - init
52
- * 5. build
53
- * 6. buildTransaction - close
54
- */
55
- constructor(ctx: any, config: any);
56
- /**
57
- * 转换用户编写的配置(微信小程序标准)为支付宝小程序标准
58
- */
59
- modifyMiniConfigs(): void;
60
- /**
61
- * 增加组件或修改组件属性
62
- */
63
- modifyComponents(): void;
64
- /**
65
- * 修改 Slider 组件属性
66
- */
67
- modifySlider(slider: any): void;
68
- /**
69
- * 修改 Swiper 组件属性
70
- */
71
- modifySwiper(swiper: any): void;
72
- /**
73
- * 修改 Webpack 配置
74
- */
75
- modifyWebpackConfig(): void;
76
- }
77
- declare const _default: (ctx: IPluginContext) => void;
78
- export { _default as default, Alipay };
File without changes