wevu 6.15.5 → 6.15.7
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/dist/{index-SDxsBVMY.d.mts → index-51F79u-U.d.mts} +1 -1
- package/dist/{index-DWouSxpz.d.mts → index-B2-lsPjZ.d.mts} +44 -44
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +2 -2
- package/dist/jsx-runtime.d.mts +2 -2
- package/dist/{router-BR3hx21a.mjs → router-B43fz4cM.mjs} +100 -42
- package/dist/router.d.mts +1 -1
- package/dist/router.mjs +1 -1
- package/dist/{src-_P44BAOw.mjs → src-CXeO96dW.mjs} +99 -81
- package/dist/store.d.mts +1 -1
- package/dist/vue-demi.d.mts +5 -5
- package/dist/vue-demi.mjs +2 -2
- package/dist/{vue-types-BUOuHH4O.d.mts → vue-types-Ir1bT6Gp.d.mts} +274 -95
- package/dist/{weappIntrinsicElements-CwA7kB31.d.mts → weappIntrinsicElements-Cdfh6BlL.d.mts} +345 -339
- package/package.json +4 -3
package/dist/{weappIntrinsicElements-CwA7kB31.d.mts → weappIntrinsicElements-Cdfh6BlL.d.mts}
RENAMED
|
@@ -1,31 +1,35 @@
|
|
|
1
1
|
//#region src/weappIntrinsicElements/base.d.ts
|
|
2
|
-
type
|
|
3
|
-
type
|
|
4
|
-
type
|
|
5
|
-
type
|
|
6
|
-
|
|
2
|
+
type MiniProgramIntrinsicEventHandler<TReturn = void> = (...args: unknown[]) => TReturn;
|
|
3
|
+
type WeappIntrinsicEventHandler<TReturn = void> = MiniProgramIntrinsicEventHandler<TReturn>;
|
|
4
|
+
type MiniProgramClassValue = string | Record<string, unknown> | MiniProgramClassValue[] | null | undefined | false;
|
|
5
|
+
type MiniProgramStyleValue = false | null | undefined | string | MiniProgramCSSProperties | MiniProgramStyleValue[];
|
|
6
|
+
type MiniProgramDatasetValue = unknown;
|
|
7
|
+
interface MiniProgramCSSProperties {
|
|
7
8
|
[key: string]: string | number | undefined;
|
|
8
9
|
[v: `--${string}`]: string | number | undefined;
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
-
type
|
|
11
|
+
interface WeappCSSProperties extends MiniProgramCSSProperties {}
|
|
12
|
+
type MiniProgramDatasetAttributes = { [key in `data-${string}`]?: MiniProgramDatasetValue };
|
|
13
|
+
type WeappDatasetAttributes = MiniProgramDatasetAttributes;
|
|
14
|
+
type MiniProgramIntrinsicElementBaseAttributes = {
|
|
12
15
|
id?: string | number;
|
|
13
|
-
class?:
|
|
14
|
-
style?:
|
|
16
|
+
class?: MiniProgramClassValue;
|
|
17
|
+
style?: MiniProgramStyleValue;
|
|
15
18
|
hidden?: boolean;
|
|
16
|
-
} &
|
|
19
|
+
} & MiniProgramDatasetAttributes & Record<string, unknown>;
|
|
20
|
+
type WeappIntrinsicElementBaseAttributes = MiniProgramIntrinsicElementBaseAttributes;
|
|
17
21
|
//#endregion
|
|
18
22
|
//#region src/weappIntrinsicElements/elements/ad.d.ts
|
|
19
23
|
/**
|
|
20
24
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/ad.html
|
|
21
25
|
*/
|
|
22
|
-
type
|
|
26
|
+
type MiniProgramIntrinsicElementAd = MiniProgramIntrinsicElementBaseAttributes & {
|
|
23
27
|
'ad-intervals'?: number;
|
|
24
28
|
'ad-theme'?: string;
|
|
25
29
|
'ad-type'?: string;
|
|
26
|
-
bindclose?:
|
|
27
|
-
binderror?:
|
|
28
|
-
bindload?:
|
|
30
|
+
bindclose?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
31
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
32
|
+
bindload?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
29
33
|
'unit-id'?: string;
|
|
30
34
|
};
|
|
31
35
|
//#endregion
|
|
@@ -33,10 +37,10 @@ type WeappIntrinsicElementAd = WeappIntrinsicElementBaseAttributes & {
|
|
|
33
37
|
/**
|
|
34
38
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/ad-custom.html
|
|
35
39
|
*/
|
|
36
|
-
type
|
|
40
|
+
type MiniProgramIntrinsicElementAdCustom = MiniProgramIntrinsicElementBaseAttributes & {
|
|
37
41
|
'ad-intervals'?: number;
|
|
38
|
-
binderror?:
|
|
39
|
-
bindload?:
|
|
42
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
43
|
+
bindload?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
40
44
|
'unit-id'?: string;
|
|
41
45
|
};
|
|
42
46
|
//#endregion
|
|
@@ -44,13 +48,13 @@ type WeappIntrinsicElementAdCustom = WeappIntrinsicElementBaseAttributes & {
|
|
|
44
48
|
/**
|
|
45
49
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/audio.html
|
|
46
50
|
*/
|
|
47
|
-
type
|
|
51
|
+
type MiniProgramIntrinsicElementAudio = MiniProgramIntrinsicElementBaseAttributes & {
|
|
48
52
|
author?: string;
|
|
49
|
-
bindended?:
|
|
50
|
-
binderror?:
|
|
51
|
-
bindpause?:
|
|
52
|
-
bindplay?:
|
|
53
|
-
bindtimeupdate?:
|
|
53
|
+
bindended?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
54
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
55
|
+
bindpause?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
56
|
+
bindplay?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
57
|
+
bindtimeupdate?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
54
58
|
controls?: boolean;
|
|
55
59
|
loop?: boolean;
|
|
56
60
|
name?: string;
|
|
@@ -62,24 +66,24 @@ type WeappIntrinsicElementAudio = WeappIntrinsicElementBaseAttributes & {
|
|
|
62
66
|
/**
|
|
63
67
|
* @see https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/conditional.html#block-wx-if
|
|
64
68
|
*/
|
|
65
|
-
type
|
|
69
|
+
type MiniProgramIntrinsicElementBlock = MiniProgramIntrinsicElementBaseAttributes;
|
|
66
70
|
//#endregion
|
|
67
71
|
//#region src/weappIntrinsicElements/elements/button.d.ts
|
|
68
72
|
/**
|
|
69
73
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/button.html
|
|
70
74
|
*/
|
|
71
|
-
type
|
|
75
|
+
type MiniProgramIntrinsicElementButton = MiniProgramIntrinsicElementBaseAttributes & {
|
|
72
76
|
'app-parameter'?: string;
|
|
73
|
-
bindagreeprivacyauthorization?:
|
|
74
|
-
bindchooseavatar?:
|
|
75
|
-
bindcontact?:
|
|
76
|
-
binderror?:
|
|
77
|
-
bindgetphonenumber?:
|
|
78
|
-
bindgetrealtimephonenumber?:
|
|
79
|
-
bindgetuserinfo?:
|
|
80
|
-
bindlaunchapp?:
|
|
81
|
-
bindopensetting?:
|
|
82
|
-
createliveactivity?:
|
|
77
|
+
bindagreeprivacyauthorization?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
78
|
+
bindchooseavatar?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
79
|
+
bindcontact?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
80
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
81
|
+
bindgetphonenumber?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
82
|
+
bindgetrealtimephonenumber?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
83
|
+
bindgetuserinfo?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
84
|
+
bindlaunchapp?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
85
|
+
bindopensetting?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
86
|
+
createliveactivity?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
83
87
|
disabled?: boolean;
|
|
84
88
|
'entrance-path'?: string;
|
|
85
89
|
'form-type'?: 'submit' | 'reset' | 'submitToGroup';
|
|
@@ -106,11 +110,11 @@ type WeappIntrinsicElementButton = WeappIntrinsicElementBaseAttributes & {
|
|
|
106
110
|
/**
|
|
107
111
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/camera.html
|
|
108
112
|
*/
|
|
109
|
-
type
|
|
110
|
-
binderror?:
|
|
111
|
-
bindinitdone?:
|
|
112
|
-
bindscancode?:
|
|
113
|
-
bindstop?:
|
|
113
|
+
type MiniProgramIntrinsicElementCamera = MiniProgramIntrinsicElementBaseAttributes & {
|
|
114
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
115
|
+
bindinitdone?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
116
|
+
bindscancode?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
117
|
+
bindstop?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
114
118
|
'device-position'?: 'front' | 'back';
|
|
115
119
|
flash?: 'auto' | 'on' | 'off' | 'torch';
|
|
116
120
|
'frame-size'?: 'small' | 'medium' | 'large';
|
|
@@ -122,13 +126,13 @@ type WeappIntrinsicElementCamera = WeappIntrinsicElementBaseAttributes & {
|
|
|
122
126
|
/**
|
|
123
127
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/canvas.html
|
|
124
128
|
*/
|
|
125
|
-
type
|
|
126
|
-
binderror?:
|
|
127
|
-
bindlongtap?:
|
|
128
|
-
bindtouchcancel?:
|
|
129
|
-
bindtouchend?:
|
|
130
|
-
bindtouchmove?:
|
|
131
|
-
bindtouchstart?:
|
|
129
|
+
type MiniProgramIntrinsicElementCanvas = MiniProgramIntrinsicElementBaseAttributes & {
|
|
130
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
131
|
+
bindlongtap?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
132
|
+
bindtouchcancel?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
133
|
+
bindtouchend?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
134
|
+
bindtouchmove?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
135
|
+
bindtouchstart?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
132
136
|
'canvas-id'?: string;
|
|
133
137
|
'disable-scroll'?: boolean;
|
|
134
138
|
type?: string;
|
|
@@ -138,7 +142,7 @@ type WeappIntrinsicElementCanvas = WeappIntrinsicElementBaseAttributes & {
|
|
|
138
142
|
/**
|
|
139
143
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/checkbox.html
|
|
140
144
|
*/
|
|
141
|
-
type
|
|
145
|
+
type MiniProgramIntrinsicElementCheckbox = MiniProgramIntrinsicElementBaseAttributes & {
|
|
142
146
|
checked?: boolean;
|
|
143
147
|
color?: string;
|
|
144
148
|
disabled?: boolean;
|
|
@@ -149,7 +153,7 @@ type WeappIntrinsicElementCheckbox = WeappIntrinsicElementBaseAttributes & {
|
|
|
149
153
|
/**
|
|
150
154
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/checkbox.html
|
|
151
155
|
*/
|
|
152
|
-
type
|
|
156
|
+
type MiniProgramIntrinsicElementCheckboxGroup = MiniProgramIntrinsicElementBaseAttributes & {
|
|
153
157
|
checked?: boolean;
|
|
154
158
|
color?: string;
|
|
155
159
|
disabled?: boolean;
|
|
@@ -160,7 +164,7 @@ type WeappIntrinsicElementCheckboxGroup = WeappIntrinsicElementBaseAttributes &
|
|
|
160
164
|
/**
|
|
161
165
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/cover-view.html
|
|
162
166
|
*/
|
|
163
|
-
type
|
|
167
|
+
type MiniProgramIntrinsicElementCoverImage = MiniProgramIntrinsicElementBaseAttributes & {
|
|
164
168
|
'scroll-top'?: number | string;
|
|
165
169
|
};
|
|
166
170
|
//#endregion
|
|
@@ -168,7 +172,7 @@ type WeappIntrinsicElementCoverImage = WeappIntrinsicElementBaseAttributes & {
|
|
|
168
172
|
/**
|
|
169
173
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/cover-view.html
|
|
170
174
|
*/
|
|
171
|
-
type
|
|
175
|
+
type MiniProgramIntrinsicElementCoverView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
172
176
|
'scroll-top'?: number | string;
|
|
173
177
|
};
|
|
174
178
|
//#endregion
|
|
@@ -176,12 +180,12 @@ type WeappIntrinsicElementCoverView = WeappIntrinsicElementBaseAttributes & {
|
|
|
176
180
|
/**
|
|
177
181
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/editor.html
|
|
178
182
|
*/
|
|
179
|
-
type
|
|
180
|
-
bindblur?:
|
|
181
|
-
bindfocus?:
|
|
182
|
-
bindinput?:
|
|
183
|
-
bindready?:
|
|
184
|
-
bindstatuschange?:
|
|
183
|
+
type MiniProgramIntrinsicElementEditor = MiniProgramIntrinsicElementBaseAttributes & {
|
|
184
|
+
bindblur?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
185
|
+
bindfocus?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
186
|
+
bindinput?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
187
|
+
bindready?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
188
|
+
bindstatuschange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
185
189
|
'confirm-hold'?: boolean;
|
|
186
190
|
'enable-formats'?: string[];
|
|
187
191
|
enterkeyhint?: string;
|
|
@@ -196,10 +200,10 @@ type WeappIntrinsicElementEditor = WeappIntrinsicElementBaseAttributes & {
|
|
|
196
200
|
/**
|
|
197
201
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/form.html
|
|
198
202
|
*/
|
|
199
|
-
type
|
|
200
|
-
bindreset?:
|
|
201
|
-
bindsubmit?:
|
|
202
|
-
bindsubmitToGroup?:
|
|
203
|
+
type MiniProgramIntrinsicElementForm = MiniProgramIntrinsicElementBaseAttributes & {
|
|
204
|
+
bindreset?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
205
|
+
bindsubmit?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
206
|
+
bindsubmitToGroup?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
203
207
|
name?: string;
|
|
204
208
|
'report-submit'?: boolean;
|
|
205
209
|
'report-submit-timeout'?: number;
|
|
@@ -210,11 +214,11 @@ type WeappIntrinsicElementForm = WeappIntrinsicElementBaseAttributes & {
|
|
|
210
214
|
/**
|
|
211
215
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/functional-page-navigator.html
|
|
212
216
|
*/
|
|
213
|
-
type
|
|
217
|
+
type MiniProgramIntrinsicElementFunctionalPageNavigator = MiniProgramIntrinsicElementBaseAttributes & {
|
|
214
218
|
args?: Record<string, unknown>;
|
|
215
|
-
bindcancel?:
|
|
216
|
-
bindfail?:
|
|
217
|
-
bindsuccess?:
|
|
219
|
+
bindcancel?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
220
|
+
bindfail?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
221
|
+
bindsuccess?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
218
222
|
name?: 'loginAndGetUserInfo' | 'requestPayment' | 'chooseAddress' | 'chooseInvoice' | 'chooseInvoiceTitle';
|
|
219
223
|
version?: 'develop' | 'trial' | 'release';
|
|
220
224
|
};
|
|
@@ -223,7 +227,7 @@ type WeappIntrinsicElementFunctionalPageNavigator = WeappIntrinsicElementBaseAtt
|
|
|
223
227
|
/**
|
|
224
228
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/icon.html
|
|
225
229
|
*/
|
|
226
|
-
type
|
|
230
|
+
type MiniProgramIntrinsicElementIcon = MiniProgramIntrinsicElementBaseAttributes & {
|
|
227
231
|
color?: string;
|
|
228
232
|
size?: number | string;
|
|
229
233
|
type?: string;
|
|
@@ -233,9 +237,9 @@ type WeappIntrinsicElementIcon = WeappIntrinsicElementBaseAttributes & {
|
|
|
233
237
|
/**
|
|
234
238
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/image.html
|
|
235
239
|
*/
|
|
236
|
-
type
|
|
237
|
-
binderror?:
|
|
238
|
-
bindload?:
|
|
240
|
+
type MiniProgramIntrinsicElementImage = MiniProgramIntrinsicElementBaseAttributes & {
|
|
241
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
242
|
+
bindload?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
239
243
|
'fade-in'?: boolean;
|
|
240
244
|
forceHttps?: boolean;
|
|
241
245
|
'lazy-load'?: boolean;
|
|
@@ -249,7 +253,7 @@ type WeappIntrinsicElementImage = WeappIntrinsicElementBaseAttributes & {
|
|
|
249
253
|
/**
|
|
250
254
|
* @see https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/import.html
|
|
251
255
|
*/
|
|
252
|
-
type
|
|
256
|
+
type MiniProgramIntrinsicElementImport = MiniProgramIntrinsicElementBaseAttributes & {
|
|
253
257
|
src?: string;
|
|
254
258
|
};
|
|
255
259
|
//#endregion
|
|
@@ -257,7 +261,7 @@ type WeappIntrinsicElementImport = WeappIntrinsicElementBaseAttributes & {
|
|
|
257
261
|
/**
|
|
258
262
|
* @see https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/import.html#include
|
|
259
263
|
*/
|
|
260
|
-
type
|
|
264
|
+
type MiniProgramIntrinsicElementInclude = MiniProgramIntrinsicElementBaseAttributes & {
|
|
261
265
|
src?: string;
|
|
262
266
|
};
|
|
263
267
|
//#endregion
|
|
@@ -265,21 +269,21 @@ type WeappIntrinsicElementInclude = WeappIntrinsicElementBaseAttributes & {
|
|
|
265
269
|
/**
|
|
266
270
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/input.html
|
|
267
271
|
*/
|
|
268
|
-
type
|
|
272
|
+
type MiniProgramIntrinsicElementInput = MiniProgramIntrinsicElementBaseAttributes & {
|
|
269
273
|
'adjust-position'?: boolean;
|
|
270
274
|
'always-embed'?: boolean;
|
|
271
275
|
'auto-focus'?: boolean;
|
|
272
|
-
'bind:keyboardcompositionend'?:
|
|
273
|
-
'bind:keyboardcompositionstart'?:
|
|
274
|
-
'bind:keyboardcompositionupdate'?:
|
|
275
|
-
'bind:selectionchange'?:
|
|
276
|
-
bindblur?:
|
|
277
|
-
bindchange?:
|
|
278
|
-
bindconfirm?:
|
|
279
|
-
bindfocus?:
|
|
280
|
-
bindinput?:
|
|
281
|
-
bindkeyboardheightchange?:
|
|
282
|
-
bindnicknamereview?:
|
|
276
|
+
'bind:keyboardcompositionend'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
277
|
+
'bind:keyboardcompositionstart'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
278
|
+
'bind:keyboardcompositionupdate'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
279
|
+
'bind:selectionchange'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
280
|
+
bindblur?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
281
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
282
|
+
bindconfirm?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
283
|
+
bindfocus?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
284
|
+
bindinput?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
285
|
+
bindkeyboardheightchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
286
|
+
bindnicknamereview?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
283
287
|
'confirm-hold'?: boolean;
|
|
284
288
|
'confirm-type'?: 'send' | 'search' | 'next' | 'go' | 'done';
|
|
285
289
|
cursor?: number;
|
|
@@ -303,20 +307,20 @@ type WeappIntrinsicElementInput = WeappIntrinsicElementBaseAttributes & {
|
|
|
303
307
|
'selection-start'?: number;
|
|
304
308
|
type?: 'text' | 'number' | 'idcard' | 'digit' | 'safe-password' | 'nickname';
|
|
305
309
|
value?: string;
|
|
306
|
-
'worklet:onkeyboardheightchange'?:
|
|
310
|
+
'worklet:onkeyboardheightchange'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
307
311
|
};
|
|
308
312
|
//#endregion
|
|
309
313
|
//#region src/weappIntrinsicElements/elements/keyboard-accessory.d.ts
|
|
310
314
|
/**
|
|
311
315
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/keyboard-accessory.html
|
|
312
316
|
*/
|
|
313
|
-
type
|
|
317
|
+
type MiniProgramIntrinsicElementKeyboardAccessory = MiniProgramIntrinsicElementBaseAttributes;
|
|
314
318
|
//#endregion
|
|
315
319
|
//#region src/weappIntrinsicElements/elements/label.d.ts
|
|
316
320
|
/**
|
|
317
321
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/label.html
|
|
318
322
|
*/
|
|
319
|
-
type
|
|
323
|
+
type MiniProgramIntrinsicElementLabel = MiniProgramIntrinsicElementBaseAttributes & {
|
|
320
324
|
for?: string;
|
|
321
325
|
};
|
|
322
326
|
//#endregion
|
|
@@ -324,20 +328,20 @@ type WeappIntrinsicElementLabel = WeappIntrinsicElementBaseAttributes & {
|
|
|
324
328
|
/**
|
|
325
329
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/live-player.html
|
|
326
330
|
*/
|
|
327
|
-
type
|
|
331
|
+
type MiniProgramIntrinsicElementLivePlayer = MiniProgramIntrinsicElementBaseAttributes & {
|
|
328
332
|
'auto-pause-if-navigate'?: boolean;
|
|
329
333
|
'auto-pause-if-open-native'?: boolean;
|
|
330
334
|
autoplay?: boolean;
|
|
331
335
|
'background-mute'?: boolean;
|
|
332
|
-
bindaudiovolumenotify?:
|
|
333
|
-
bindcastinginterrupt?:
|
|
334
|
-
bindcastingstatechange?:
|
|
335
|
-
bindcastinguserselect?:
|
|
336
|
-
bindenterpictureinpicture?:
|
|
337
|
-
bindfullscreenchange?:
|
|
338
|
-
bindleavepictureinpicture?:
|
|
339
|
-
bindnetstatus?:
|
|
340
|
-
bindstatechange?:
|
|
336
|
+
bindaudiovolumenotify?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
337
|
+
bindcastinginterrupt?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
338
|
+
bindcastingstatechange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
339
|
+
bindcastinguserselect?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
340
|
+
bindenterpictureinpicture?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
341
|
+
bindfullscreenchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
342
|
+
bindleavepictureinpicture?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
343
|
+
bindnetstatus?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
344
|
+
bindstatechange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
341
345
|
'enable-auto-rotation'?: boolean;
|
|
342
346
|
'enable-casting'?: boolean;
|
|
343
347
|
'max-cache'?: number;
|
|
@@ -357,7 +361,7 @@ type WeappIntrinsicElementLivePlayer = WeappIntrinsicElementBaseAttributes & {
|
|
|
357
361
|
/**
|
|
358
362
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/live-pusher.html
|
|
359
363
|
*/
|
|
360
|
-
type
|
|
364
|
+
type MiniProgramIntrinsicElementLivePusher = MiniProgramIntrinsicElementBaseAttributes & {
|
|
361
365
|
aspect?: string;
|
|
362
366
|
'audio-quality'?: string;
|
|
363
367
|
'audio-reverb-type'?: '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7';
|
|
@@ -367,15 +371,15 @@ type WeappIntrinsicElementLivePusher = WeappIntrinsicElementBaseAttributes & {
|
|
|
367
371
|
'background-mute'?: boolean;
|
|
368
372
|
beauty?: number;
|
|
369
373
|
'beauty-style'?: 'smooth' | 'nature';
|
|
370
|
-
bindaudiovolumenotify?:
|
|
371
|
-
bindbgmcomplete?:
|
|
372
|
-
bindbgmprogress?:
|
|
373
|
-
bindbgmstart?:
|
|
374
|
-
bindenterpictureinpicture?:
|
|
375
|
-
binderror?:
|
|
376
|
-
bindleavepictureinpicture?:
|
|
377
|
-
bindnetstatus?:
|
|
378
|
-
bindstatechange?:
|
|
374
|
+
bindaudiovolumenotify?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
375
|
+
bindbgmcomplete?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
376
|
+
bindbgmprogress?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
377
|
+
bindbgmstart?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
378
|
+
bindenterpictureinpicture?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
379
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
380
|
+
bindleavepictureinpicture?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
381
|
+
bindnetstatus?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
382
|
+
bindstatechange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
379
383
|
'custom-effect'?: boolean;
|
|
380
384
|
'device-position'?: string;
|
|
381
385
|
'enable-agc'?: boolean;
|
|
@@ -412,7 +416,7 @@ type WeappIntrinsicElementLivePusher = WeappIntrinsicElementBaseAttributes & {
|
|
|
412
416
|
/**
|
|
413
417
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/map.html
|
|
414
418
|
*/
|
|
415
|
-
type
|
|
419
|
+
type MiniProgramIntrinsicElementMap = MiniProgramIntrinsicElementBaseAttributes & {
|
|
416
420
|
alpha?: number;
|
|
417
421
|
anchor?: Record<string, unknown>;
|
|
418
422
|
anchorX?: number;
|
|
@@ -421,20 +425,20 @@ type WeappIntrinsicElementMap = WeappIntrinsicElementBaseAttributes & {
|
|
|
421
425
|
arrowIconPath?: string;
|
|
422
426
|
arrowLine?: boolean;
|
|
423
427
|
bgColor?: string;
|
|
424
|
-
bindabilityfail?:
|
|
425
|
-
bindabilitysuccess?:
|
|
426
|
-
bindauthsuccess?:
|
|
427
|
-
bindcallouttap?:
|
|
428
|
-
bindcontroltap?:
|
|
429
|
-
binderror?:
|
|
430
|
-
bindinterpolatepoint?:
|
|
431
|
-
bindlabeltap?:
|
|
432
|
-
bindmarkertap?:
|
|
433
|
-
bindpoitap?:
|
|
434
|
-
bindpolylinetap?:
|
|
435
|
-
bindregionchange?:
|
|
436
|
-
bindtap?:
|
|
437
|
-
bindupdated?:
|
|
428
|
+
bindabilityfail?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
429
|
+
bindabilitysuccess?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
430
|
+
bindauthsuccess?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
431
|
+
bindcallouttap?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
432
|
+
bindcontroltap?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
433
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
434
|
+
bindinterpolatepoint?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
435
|
+
bindlabeltap?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
436
|
+
bindmarkertap?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
437
|
+
bindpoitap?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
438
|
+
bindpolylinetap?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
439
|
+
bindregionchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
440
|
+
bindtap?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
441
|
+
bindupdated?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
438
442
|
borderColor?: string;
|
|
439
443
|
borderRadius?: number;
|
|
440
444
|
borderWidth?: number;
|
|
@@ -515,7 +519,7 @@ type WeappIntrinsicElementMap = WeappIntrinsicElementBaseAttributes & {
|
|
|
515
519
|
/**
|
|
516
520
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/match-media.html
|
|
517
521
|
*/
|
|
518
|
-
type
|
|
522
|
+
type MiniProgramIntrinsicElementMatchMedia = MiniProgramIntrinsicElementBaseAttributes & {
|
|
519
523
|
height?: number;
|
|
520
524
|
'max-height'?: number;
|
|
521
525
|
'max-width'?: number;
|
|
@@ -529,22 +533,22 @@ type WeappIntrinsicElementMatchMedia = WeappIntrinsicElementBaseAttributes & {
|
|
|
529
533
|
/**
|
|
530
534
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/movable-view.html
|
|
531
535
|
*/
|
|
532
|
-
type
|
|
536
|
+
type MiniProgramIntrinsicElementMovableArea = MiniProgramIntrinsicElementBaseAttributes & {
|
|
533
537
|
animation?: boolean;
|
|
534
|
-
bindchange?:
|
|
535
|
-
bindscale?:
|
|
538
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
539
|
+
bindscale?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
536
540
|
damping?: number;
|
|
537
541
|
direction?: string;
|
|
538
542
|
disabled?: boolean;
|
|
539
543
|
friction?: number;
|
|
540
|
-
htouchmove?:
|
|
544
|
+
htouchmove?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
541
545
|
inertia?: boolean;
|
|
542
546
|
'out-of-bounds'?: boolean;
|
|
543
547
|
scale?: boolean;
|
|
544
548
|
'scale-max'?: number;
|
|
545
549
|
'scale-min'?: number;
|
|
546
550
|
'scale-value'?: number;
|
|
547
|
-
vtouchmove?:
|
|
551
|
+
vtouchmove?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
548
552
|
x?: number | string;
|
|
549
553
|
y?: number | string;
|
|
550
554
|
};
|
|
@@ -553,22 +557,22 @@ type WeappIntrinsicElementMovableArea = WeappIntrinsicElementBaseAttributes & {
|
|
|
553
557
|
/**
|
|
554
558
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/movable-view.html
|
|
555
559
|
*/
|
|
556
|
-
type
|
|
560
|
+
type MiniProgramIntrinsicElementMovableView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
557
561
|
animation?: boolean;
|
|
558
|
-
bindchange?:
|
|
559
|
-
bindscale?:
|
|
562
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
563
|
+
bindscale?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
560
564
|
damping?: number;
|
|
561
565
|
direction?: string;
|
|
562
566
|
disabled?: boolean;
|
|
563
567
|
friction?: number;
|
|
564
|
-
htouchmove?:
|
|
568
|
+
htouchmove?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
565
569
|
inertia?: boolean;
|
|
566
570
|
'out-of-bounds'?: boolean;
|
|
567
571
|
scale?: boolean;
|
|
568
572
|
'scale-max'?: number;
|
|
569
573
|
'scale-min'?: number;
|
|
570
574
|
'scale-value'?: number;
|
|
571
|
-
vtouchmove?:
|
|
575
|
+
vtouchmove?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
572
576
|
x?: number | string;
|
|
573
577
|
y?: number | string;
|
|
574
578
|
};
|
|
@@ -577,7 +581,7 @@ type WeappIntrinsicElementMovableView = WeappIntrinsicElementBaseAttributes & {
|
|
|
577
581
|
/**
|
|
578
582
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/navigation-bar.html
|
|
579
583
|
*/
|
|
580
|
-
type
|
|
584
|
+
type MiniProgramIntrinsicElementNavigationBar = MiniProgramIntrinsicElementBaseAttributes & {
|
|
581
585
|
'background-color'?: string;
|
|
582
586
|
'color-animation-duration'?: number;
|
|
583
587
|
'color-animation-timing-func'?: string;
|
|
@@ -590,7 +594,7 @@ type WeappIntrinsicElementNavigationBar = WeappIntrinsicElementBaseAttributes &
|
|
|
590
594
|
/**
|
|
591
595
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html
|
|
592
596
|
*/
|
|
593
|
-
type
|
|
597
|
+
type MiniProgramIntrinsicElementNavigator = MiniProgramIntrinsicElementBaseAttributes & {
|
|
594
598
|
'app-id'?: string;
|
|
595
599
|
bindcomplete?: string;
|
|
596
600
|
bindfail?: string;
|
|
@@ -613,9 +617,9 @@ type WeappIntrinsicElementNavigator = WeappIntrinsicElementBaseAttributes & {
|
|
|
613
617
|
/**
|
|
614
618
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/official-account.html
|
|
615
619
|
*/
|
|
616
|
-
type
|
|
617
|
-
binderror?:
|
|
618
|
-
bindload?:
|
|
620
|
+
type MiniProgramIntrinsicElementOfficialAccount = MiniProgramIntrinsicElementBaseAttributes & {
|
|
621
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
622
|
+
bindload?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
619
623
|
errMsg?: string;
|
|
620
624
|
status?: number;
|
|
621
625
|
};
|
|
@@ -624,8 +628,8 @@ type WeappIntrinsicElementOfficialAccount = WeappIntrinsicElementBaseAttributes
|
|
|
624
628
|
/**
|
|
625
629
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/open-data.html
|
|
626
630
|
*/
|
|
627
|
-
type
|
|
628
|
-
binderror?:
|
|
631
|
+
type MiniProgramIntrinsicElementOpenData = MiniProgramIntrinsicElementBaseAttributes & {
|
|
632
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
629
633
|
'default-avatar'?: string;
|
|
630
634
|
'default-text'?: string;
|
|
631
635
|
lang?: 'en' | 'zh_CN' | 'zh_TW';
|
|
@@ -637,14 +641,14 @@ type WeappIntrinsicElementOpenData = WeappIntrinsicElementBaseAttributes & {
|
|
|
637
641
|
/**
|
|
638
642
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/page-container.html
|
|
639
643
|
*/
|
|
640
|
-
type
|
|
641
|
-
'bind:afterenter'?:
|
|
642
|
-
'bind:afterleave'?:
|
|
643
|
-
'bind:beforeenter'?:
|
|
644
|
-
'bind:beforeleave'?:
|
|
645
|
-
'bind:clickoverlay'?:
|
|
646
|
-
'bind:enter'?:
|
|
647
|
-
'bind:leave'?:
|
|
644
|
+
type MiniProgramIntrinsicElementPageContainer = MiniProgramIntrinsicElementBaseAttributes & {
|
|
645
|
+
'bind:afterenter'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
646
|
+
'bind:afterleave'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
647
|
+
'bind:beforeenter'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
648
|
+
'bind:beforeleave'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
649
|
+
'bind:clickoverlay'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
650
|
+
'bind:enter'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
651
|
+
'bind:leave'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
648
652
|
'close-on-slide-down'?: boolean;
|
|
649
653
|
'custom-style'?: string;
|
|
650
654
|
duration?: number;
|
|
@@ -660,14 +664,14 @@ type WeappIntrinsicElementPageContainer = WeappIntrinsicElementBaseAttributes &
|
|
|
660
664
|
/**
|
|
661
665
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/page-meta.html
|
|
662
666
|
*/
|
|
663
|
-
type
|
|
667
|
+
type MiniProgramIntrinsicElementPageMeta = MiniProgramIntrinsicElementBaseAttributes & {
|
|
664
668
|
'background-color'?: string;
|
|
665
669
|
'background-color-bottom'?: string;
|
|
666
670
|
'background-color-top'?: string;
|
|
667
671
|
'background-text-style'?: string;
|
|
668
|
-
bindresize?:
|
|
669
|
-
bindscroll?:
|
|
670
|
-
bindscrolldone?:
|
|
672
|
+
bindresize?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
673
|
+
bindscroll?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
674
|
+
bindscrolldone?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
671
675
|
'page-font-size'?: string;
|
|
672
676
|
'page-orientation'?: string;
|
|
673
677
|
'page-style'?: string;
|
|
@@ -681,10 +685,10 @@ type WeappIntrinsicElementPageMeta = WeappIntrinsicElementBaseAttributes & {
|
|
|
681
685
|
/**
|
|
682
686
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/picker.html
|
|
683
687
|
*/
|
|
684
|
-
type
|
|
685
|
-
bindcancel?:
|
|
686
|
-
bindchange?:
|
|
687
|
-
bindcolumnchange?:
|
|
688
|
+
type MiniProgramIntrinsicElementPicker = MiniProgramIntrinsicElementBaseAttributes & {
|
|
689
|
+
bindcancel?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
690
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
691
|
+
bindcolumnchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
688
692
|
'custom-item'?: string;
|
|
689
693
|
disabled?: boolean;
|
|
690
694
|
end?: string;
|
|
@@ -702,10 +706,10 @@ type WeappIntrinsicElementPicker = WeappIntrinsicElementBaseAttributes & {
|
|
|
702
706
|
/**
|
|
703
707
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/picker-view.html
|
|
704
708
|
*/
|
|
705
|
-
type
|
|
706
|
-
bindchange?:
|
|
707
|
-
bindpickend?:
|
|
708
|
-
bindpickstart?:
|
|
709
|
+
type MiniProgramIntrinsicElementPickerView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
710
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
711
|
+
bindpickend?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
712
|
+
bindpickstart?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
709
713
|
'immediate-change'?: boolean;
|
|
710
714
|
'indicator-class'?: string;
|
|
711
715
|
'indicator-style'?: string;
|
|
@@ -718,10 +722,10 @@ type WeappIntrinsicElementPickerView = WeappIntrinsicElementBaseAttributes & {
|
|
|
718
722
|
/**
|
|
719
723
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/picker-view.html
|
|
720
724
|
*/
|
|
721
|
-
type
|
|
722
|
-
bindchange?:
|
|
723
|
-
bindpickend?:
|
|
724
|
-
bindpickstart?:
|
|
725
|
+
type MiniProgramIntrinsicElementPickerViewColumn = MiniProgramIntrinsicElementBaseAttributes & {
|
|
726
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
727
|
+
bindpickend?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
728
|
+
bindpickstart?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
725
729
|
'immediate-change'?: boolean;
|
|
726
730
|
'indicator-class'?: string;
|
|
727
731
|
'indicator-style'?: string;
|
|
@@ -734,12 +738,12 @@ type WeappIntrinsicElementPickerViewColumn = WeappIntrinsicElementBaseAttributes
|
|
|
734
738
|
/**
|
|
735
739
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/progress.html
|
|
736
740
|
*/
|
|
737
|
-
type
|
|
741
|
+
type MiniProgramIntrinsicElementProgress = MiniProgramIntrinsicElementBaseAttributes & {
|
|
738
742
|
active?: boolean;
|
|
739
743
|
'active-mode'?: string;
|
|
740
744
|
activeColor?: string;
|
|
741
745
|
backgroundColor?: string;
|
|
742
|
-
bindactiveend?:
|
|
746
|
+
bindactiveend?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
743
747
|
'border-radius'?: number | string;
|
|
744
748
|
color?: string;
|
|
745
749
|
duration?: number;
|
|
@@ -753,7 +757,7 @@ type WeappIntrinsicElementProgress = WeappIntrinsicElementBaseAttributes & {
|
|
|
753
757
|
/**
|
|
754
758
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/radio.html
|
|
755
759
|
*/
|
|
756
|
-
type
|
|
760
|
+
type MiniProgramIntrinsicElementRadio = MiniProgramIntrinsicElementBaseAttributes & {
|
|
757
761
|
checked?: boolean;
|
|
758
762
|
color?: string;
|
|
759
763
|
disabled?: boolean;
|
|
@@ -764,7 +768,7 @@ type WeappIntrinsicElementRadio = WeappIntrinsicElementBaseAttributes & {
|
|
|
764
768
|
/**
|
|
765
769
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/radio.html
|
|
766
770
|
*/
|
|
767
|
-
type
|
|
771
|
+
type MiniProgramIntrinsicElementRadioGroup = MiniProgramIntrinsicElementBaseAttributes & {
|
|
768
772
|
checked?: boolean;
|
|
769
773
|
color?: string;
|
|
770
774
|
disabled?: boolean;
|
|
@@ -775,7 +779,7 @@ type WeappIntrinsicElementRadioGroup = WeappIntrinsicElementBaseAttributes & {
|
|
|
775
779
|
/**
|
|
776
780
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/rich-text.html
|
|
777
781
|
*/
|
|
778
|
-
type
|
|
782
|
+
type MiniProgramIntrinsicElementRichText = MiniProgramIntrinsicElementBaseAttributes & {
|
|
779
783
|
attrs?: Record<string, unknown>;
|
|
780
784
|
children?: unknown[];
|
|
781
785
|
mode?: 'default' | 'compat' | 'aggressive' | 'inline-block' | 'web' | 'web-static';
|
|
@@ -790,23 +794,23 @@ type WeappIntrinsicElementRichText = WeappIntrinsicElementBaseAttributes & {
|
|
|
790
794
|
/**
|
|
791
795
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/scroll-view.html
|
|
792
796
|
*/
|
|
793
|
-
type
|
|
797
|
+
type MiniProgramIntrinsicElementScrollView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
794
798
|
'associative-container'?: 'draggable-sheet' | 'nested-scroll-view' | 'pop-gesture';
|
|
795
|
-
'bind:refresherstatuschange'?:
|
|
796
|
-
'bind:refresherwillrefresh'?:
|
|
797
|
-
'bind:scroll'?:
|
|
798
|
-
'bind:scrollend'?:
|
|
799
|
-
'bind:scrollstart'?:
|
|
800
|
-
binddragend?:
|
|
801
|
-
binddragging?:
|
|
802
|
-
binddragstart?:
|
|
803
|
-
bindrefresherabort?:
|
|
804
|
-
bindrefresherpulling?:
|
|
805
|
-
bindrefresherrefresh?:
|
|
806
|
-
bindrefresherrestore?:
|
|
807
|
-
bindscroll?:
|
|
808
|
-
bindscrolltolower?:
|
|
809
|
-
bindscrolltoupper?:
|
|
799
|
+
'bind:refresherstatuschange'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
800
|
+
'bind:refresherwillrefresh'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
801
|
+
'bind:scroll'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
802
|
+
'bind:scrollend'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
803
|
+
'bind:scrollstart'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
804
|
+
binddragend?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
805
|
+
binddragging?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
806
|
+
binddragstart?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
807
|
+
bindrefresherabort?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
808
|
+
bindrefresherpulling?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
809
|
+
bindrefresherrefresh?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
810
|
+
bindrefresherrestore?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
811
|
+
bindscroll?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
812
|
+
bindscrolltolower?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
813
|
+
bindscrolltoupper?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
810
814
|
bounces?: boolean;
|
|
811
815
|
'cache-extent'?: number;
|
|
812
816
|
clip?: boolean;
|
|
@@ -846,17 +850,17 @@ type WeappIntrinsicElementScrollView = WeappIntrinsicElementBaseAttributes & {
|
|
|
846
850
|
type?: 'list' | 'custom' | 'nested';
|
|
847
851
|
'upper-threshold'?: number | string;
|
|
848
852
|
'using-sticky'?: boolean;
|
|
849
|
-
'worklet:adjust-deceleration-velocity'?:
|
|
850
|
-
'worklet:onscrollend'?:
|
|
851
|
-
'worklet:onscrollstart'?:
|
|
852
|
-
'worklet:onscrollupdate'?:
|
|
853
|
+
'worklet:adjust-deceleration-velocity'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
854
|
+
'worklet:onscrollend'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
855
|
+
'worklet:onscrollstart'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
856
|
+
'worklet:onscrollupdate'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
853
857
|
};
|
|
854
858
|
//#endregion
|
|
855
859
|
//#region src/weappIntrinsicElements/elements/share-element.d.ts
|
|
856
860
|
/**
|
|
857
861
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/share-element.html
|
|
858
862
|
*/
|
|
859
|
-
type
|
|
863
|
+
type MiniProgramIntrinsicElementShareElement = MiniProgramIntrinsicElementBaseAttributes & {
|
|
860
864
|
duration?: number;
|
|
861
865
|
'easing-function'?: string;
|
|
862
866
|
key?: string;
|
|
@@ -865,18 +869,18 @@ type WeappIntrinsicElementShareElement = WeappIntrinsicElementBaseAttributes & {
|
|
|
865
869
|
'shuttle-on-push'?: 'from' | 'to';
|
|
866
870
|
transform?: boolean;
|
|
867
871
|
'transition-on-gesture'?: boolean;
|
|
868
|
-
'worklet:onframe'?:
|
|
872
|
+
'worklet:onframe'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
869
873
|
};
|
|
870
874
|
//#endregion
|
|
871
875
|
//#region src/weappIntrinsicElements/elements/slider.d.ts
|
|
872
876
|
/**
|
|
873
877
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/slider.html
|
|
874
878
|
*/
|
|
875
|
-
type
|
|
879
|
+
type MiniProgramIntrinsicElementSlider = MiniProgramIntrinsicElementBaseAttributes & {
|
|
876
880
|
activeColor?: string;
|
|
877
881
|
backgroundColor?: string;
|
|
878
|
-
bindchange?:
|
|
879
|
-
bindchanging?:
|
|
882
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
883
|
+
bindchanging?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
880
884
|
'block-color'?: string;
|
|
881
885
|
'block-size'?: number;
|
|
882
886
|
color?: string;
|
|
@@ -893,7 +897,7 @@ type WeappIntrinsicElementSlider = WeappIntrinsicElementBaseAttributes & {
|
|
|
893
897
|
/**
|
|
894
898
|
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/wxml-wxss.html#%E7%BB%84%E4%BB%B6-wxml-%E7%9A%84-slot
|
|
895
899
|
*/
|
|
896
|
-
type
|
|
900
|
+
type MiniProgramIntrinsicElementSlot = MiniProgramIntrinsicElementBaseAttributes & {
|
|
897
901
|
name?: string;
|
|
898
902
|
};
|
|
899
903
|
//#endregion
|
|
@@ -901,11 +905,11 @@ type WeappIntrinsicElementSlot = WeappIntrinsicElementBaseAttributes & {
|
|
|
901
905
|
/**
|
|
902
906
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/swiper.html
|
|
903
907
|
*/
|
|
904
|
-
type
|
|
908
|
+
type MiniProgramIntrinsicElementSwiper = MiniProgramIntrinsicElementBaseAttributes & {
|
|
905
909
|
autoplay?: boolean;
|
|
906
|
-
bindanimationfinish?:
|
|
907
|
-
bindchange?:
|
|
908
|
-
bindtransition?:
|
|
910
|
+
bindanimationfinish?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
911
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
912
|
+
bindtransition?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
909
913
|
'cache-extent'?: number;
|
|
910
914
|
circular?: boolean;
|
|
911
915
|
current?: number;
|
|
@@ -932,20 +936,20 @@ type WeappIntrinsicElementSwiper = WeappIntrinsicElementBaseAttributes & {
|
|
|
932
936
|
'snap-to-edge'?: boolean;
|
|
933
937
|
'transformer-type'?: 'scaleAndFade' | 'accordion' | 'threeD' | 'zoomIn' | 'zoomOut' | 'deepthPage';
|
|
934
938
|
vertical?: boolean;
|
|
935
|
-
'worklet:onscrollend'?:
|
|
936
|
-
'worklet:onscrollstart'?:
|
|
937
|
-
'worklet:onscrollupdate'?:
|
|
939
|
+
'worklet:onscrollend'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
940
|
+
'worklet:onscrollstart'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
941
|
+
'worklet:onscrollupdate'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
938
942
|
};
|
|
939
943
|
//#endregion
|
|
940
944
|
//#region src/weappIntrinsicElements/elements/swiper-item.d.ts
|
|
941
945
|
/**
|
|
942
946
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/swiper.html
|
|
943
947
|
*/
|
|
944
|
-
type
|
|
948
|
+
type MiniProgramIntrinsicElementSwiperItem = MiniProgramIntrinsicElementBaseAttributes & {
|
|
945
949
|
autoplay?: boolean;
|
|
946
|
-
bindanimationfinish?:
|
|
947
|
-
bindchange?:
|
|
948
|
-
bindtransition?:
|
|
950
|
+
bindanimationfinish?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
951
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
952
|
+
bindtransition?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
949
953
|
'cache-extent'?: number;
|
|
950
954
|
circular?: boolean;
|
|
951
955
|
current?: number;
|
|
@@ -972,17 +976,17 @@ type WeappIntrinsicElementSwiperItem = WeappIntrinsicElementBaseAttributes & {
|
|
|
972
976
|
'snap-to-edge'?: boolean;
|
|
973
977
|
'transformer-type'?: 'scaleAndFade' | 'accordion' | 'threeD' | 'zoomIn' | 'zoomOut' | 'deepthPage';
|
|
974
978
|
vertical?: boolean;
|
|
975
|
-
'worklet:onscrollend'?:
|
|
976
|
-
'worklet:onscrollstart'?:
|
|
977
|
-
'worklet:onscrollupdate'?:
|
|
979
|
+
'worklet:onscrollend'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
980
|
+
'worklet:onscrollstart'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
981
|
+
'worklet:onscrollupdate'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
978
982
|
};
|
|
979
983
|
//#endregion
|
|
980
984
|
//#region src/weappIntrinsicElements/elements/switch.d.ts
|
|
981
985
|
/**
|
|
982
986
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/switch.html
|
|
983
987
|
*/
|
|
984
|
-
type
|
|
985
|
-
bindchange?:
|
|
988
|
+
type MiniProgramIntrinsicElementSwitch = MiniProgramIntrinsicElementBaseAttributes & {
|
|
989
|
+
bindchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
986
990
|
checked?: boolean;
|
|
987
991
|
color?: string;
|
|
988
992
|
disabled?: boolean;
|
|
@@ -993,7 +997,7 @@ type WeappIntrinsicElementSwitch = WeappIntrinsicElementBaseAttributes & {
|
|
|
993
997
|
/**
|
|
994
998
|
* @see https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/template.html
|
|
995
999
|
*/
|
|
996
|
-
type
|
|
1000
|
+
type MiniProgramIntrinsicElementTemplate = MiniProgramIntrinsicElementBaseAttributes & {
|
|
997
1001
|
data?: unknown;
|
|
998
1002
|
is?: string;
|
|
999
1003
|
name?: string;
|
|
@@ -1003,7 +1007,7 @@ type WeappIntrinsicElementTemplate = WeappIntrinsicElementBaseAttributes & {
|
|
|
1003
1007
|
/**
|
|
1004
1008
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/text.html
|
|
1005
1009
|
*/
|
|
1006
|
-
type
|
|
1010
|
+
type MiniProgramIntrinsicElementText = MiniProgramIntrinsicElementBaseAttributes & {
|
|
1007
1011
|
decode?: boolean;
|
|
1008
1012
|
'max-lines'?: number;
|
|
1009
1013
|
overflow?: 'clip' | 'fade' | 'ellipsis' | 'visible';
|
|
@@ -1016,21 +1020,21 @@ type WeappIntrinsicElementText = WeappIntrinsicElementBaseAttributes & {
|
|
|
1016
1020
|
/**
|
|
1017
1021
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/textarea.html
|
|
1018
1022
|
*/
|
|
1019
|
-
type
|
|
1023
|
+
type MiniProgramIntrinsicElementTextarea = MiniProgramIntrinsicElementBaseAttributes & {
|
|
1020
1024
|
'adjust-keyboard-to'?: 'cursor' | 'bottom';
|
|
1021
1025
|
'adjust-position'?: boolean;
|
|
1022
1026
|
'auto-focus'?: boolean;
|
|
1023
1027
|
'auto-height'?: boolean;
|
|
1024
|
-
'bind:keyboardcompositionend'?:
|
|
1025
|
-
'bind:keyboardcompositionstart'?:
|
|
1026
|
-
'bind:keyboardcompositionupdate'?:
|
|
1027
|
-
'bind:selectionchange'?:
|
|
1028
|
-
bindblur?:
|
|
1029
|
-
bindconfirm?:
|
|
1030
|
-
bindfocus?:
|
|
1031
|
-
bindinput?:
|
|
1032
|
-
bindkeyboardheightchange?:
|
|
1033
|
-
bindlinechange?:
|
|
1028
|
+
'bind:keyboardcompositionend'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1029
|
+
'bind:keyboardcompositionstart'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1030
|
+
'bind:keyboardcompositionupdate'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1031
|
+
'bind:selectionchange'?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1032
|
+
bindblur?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1033
|
+
bindconfirm?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1034
|
+
bindfocus?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1035
|
+
bindinput?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1036
|
+
bindkeyboardheightchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1037
|
+
bindlinechange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1034
1038
|
'confirm-hold'?: boolean;
|
|
1035
1039
|
'confirm-type'?: 'send' | 'search' | 'next' | 'go' | 'done' | 'return';
|
|
1036
1040
|
cursor?: number;
|
|
@@ -1054,28 +1058,28 @@ type WeappIntrinsicElementTextarea = WeappIntrinsicElementBaseAttributes & {
|
|
|
1054
1058
|
/**
|
|
1055
1059
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/video.html
|
|
1056
1060
|
*/
|
|
1057
|
-
type
|
|
1061
|
+
type MiniProgramIntrinsicElementVideo = MiniProgramIntrinsicElementBaseAttributes & {
|
|
1058
1062
|
'ad-unit-id'?: string;
|
|
1059
1063
|
'auto-pause-if-navigate'?: boolean;
|
|
1060
1064
|
'auto-pause-if-open-native'?: boolean;
|
|
1061
1065
|
autoplay?: boolean;
|
|
1062
1066
|
'background-poster'?: string;
|
|
1063
|
-
bindcastinginterrupt?:
|
|
1064
|
-
bindcastingstatechange?:
|
|
1065
|
-
bindcastinguserselect?:
|
|
1066
|
-
bindcontrolstoggle?:
|
|
1067
|
-
bindended?:
|
|
1068
|
-
bindenterpictureinpicture?:
|
|
1069
|
-
binderror?:
|
|
1070
|
-
bindfullscreenchange?:
|
|
1071
|
-
bindleavepictureinpicture?:
|
|
1072
|
-
bindloadedmetadata?:
|
|
1073
|
-
bindpause?:
|
|
1074
|
-
bindplay?:
|
|
1075
|
-
bindprogress?:
|
|
1076
|
-
bindseekcomplete?:
|
|
1077
|
-
bindtimeupdate?:
|
|
1078
|
-
bindwaiting?:
|
|
1067
|
+
bindcastinginterrupt?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1068
|
+
bindcastingstatechange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1069
|
+
bindcastinguserselect?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1070
|
+
bindcontrolstoggle?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1071
|
+
bindended?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1072
|
+
bindenterpictureinpicture?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1073
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1074
|
+
bindfullscreenchange?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1075
|
+
bindleavepictureinpicture?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1076
|
+
bindloadedmetadata?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1077
|
+
bindpause?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1078
|
+
bindplay?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1079
|
+
bindprogress?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1080
|
+
bindseekcomplete?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1081
|
+
bindtimeupdate?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1082
|
+
bindwaiting?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1079
1083
|
'certificate-url'?: string;
|
|
1080
1084
|
controls?: boolean;
|
|
1081
1085
|
'danmu-btn'?: boolean;
|
|
@@ -1123,7 +1127,7 @@ type WeappIntrinsicElementVideo = WeappIntrinsicElementBaseAttributes & {
|
|
|
1123
1127
|
/**
|
|
1124
1128
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/view.html
|
|
1125
1129
|
*/
|
|
1126
|
-
type
|
|
1130
|
+
type MiniProgramIntrinsicElementView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
1127
1131
|
'hover-class'?: string;
|
|
1128
1132
|
'hover-start-time'?: number;
|
|
1129
1133
|
'hover-stay-time'?: number;
|
|
@@ -1134,8 +1138,8 @@ type WeappIntrinsicElementView = WeappIntrinsicElementBaseAttributes & {
|
|
|
1134
1138
|
/**
|
|
1135
1139
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/voip-room.html
|
|
1136
1140
|
*/
|
|
1137
|
-
type
|
|
1138
|
-
binderror?:
|
|
1141
|
+
type MiniProgramIntrinsicElementVoipRoom = MiniProgramIntrinsicElementBaseAttributes & {
|
|
1142
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1139
1143
|
'device-position'?: 'front' | 'back';
|
|
1140
1144
|
mode?: 'camera' | 'video';
|
|
1141
1145
|
'object-fit'?: 'fill' | 'contain' | 'cover';
|
|
@@ -1146,106 +1150,108 @@ type WeappIntrinsicElementVoipRoom = WeappIntrinsicElementBaseAttributes & {
|
|
|
1146
1150
|
/**
|
|
1147
1151
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
|
|
1148
1152
|
*/
|
|
1149
|
-
type
|
|
1150
|
-
binderror?:
|
|
1151
|
-
bindload?:
|
|
1152
|
-
bindmessage?:
|
|
1153
|
+
type MiniProgramIntrinsicElementWebView = MiniProgramIntrinsicElementBaseAttributes & {
|
|
1154
|
+
binderror?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1155
|
+
bindload?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1156
|
+
bindmessage?: MiniProgramIntrinsicEventHandler<unknown>;
|
|
1153
1157
|
src?: string;
|
|
1154
1158
|
};
|
|
1155
1159
|
//#endregion
|
|
1156
1160
|
//#region src/weappIntrinsicElements.d.ts
|
|
1157
|
-
interface
|
|
1158
|
-
a:
|
|
1159
|
-
article:
|
|
1160
|
-
aside:
|
|
1161
|
-
b:
|
|
1162
|
-
blockquote:
|
|
1163
|
-
code:
|
|
1164
|
-
dd:
|
|
1165
|
-
div:
|
|
1166
|
-
dl:
|
|
1167
|
-
dt:
|
|
1168
|
-
em:
|
|
1169
|
-
figcaption:
|
|
1170
|
-
figure:
|
|
1171
|
-
footer:
|
|
1172
|
-
h1:
|
|
1173
|
-
h2:
|
|
1174
|
-
h3:
|
|
1175
|
-
h4:
|
|
1176
|
-
h5:
|
|
1177
|
-
h6:
|
|
1178
|
-
header:
|
|
1179
|
-
i:
|
|
1180
|
-
img:
|
|
1181
|
-
li:
|
|
1182
|
-
main:
|
|
1183
|
-
nav:
|
|
1184
|
-
ol:
|
|
1185
|
-
p:
|
|
1186
|
-
pre:
|
|
1187
|
-
section:
|
|
1188
|
-
small:
|
|
1189
|
-
span:
|
|
1190
|
-
strong:
|
|
1191
|
-
u:
|
|
1192
|
-
ul:
|
|
1161
|
+
interface MiniProgramHtmlAliasIntrinsicElements {
|
|
1162
|
+
a: MiniProgramIntrinsicElementNavigator;
|
|
1163
|
+
article: MiniProgramIntrinsicElementView;
|
|
1164
|
+
aside: MiniProgramIntrinsicElementView;
|
|
1165
|
+
b: MiniProgramIntrinsicElementText;
|
|
1166
|
+
blockquote: MiniProgramIntrinsicElementView;
|
|
1167
|
+
code: MiniProgramIntrinsicElementText;
|
|
1168
|
+
dd: MiniProgramIntrinsicElementView;
|
|
1169
|
+
div: MiniProgramIntrinsicElementView;
|
|
1170
|
+
dl: MiniProgramIntrinsicElementView;
|
|
1171
|
+
dt: MiniProgramIntrinsicElementView;
|
|
1172
|
+
em: MiniProgramIntrinsicElementText;
|
|
1173
|
+
figcaption: MiniProgramIntrinsicElementView;
|
|
1174
|
+
figure: MiniProgramIntrinsicElementView;
|
|
1175
|
+
footer: MiniProgramIntrinsicElementView;
|
|
1176
|
+
h1: MiniProgramIntrinsicElementView;
|
|
1177
|
+
h2: MiniProgramIntrinsicElementView;
|
|
1178
|
+
h3: MiniProgramIntrinsicElementView;
|
|
1179
|
+
h4: MiniProgramIntrinsicElementView;
|
|
1180
|
+
h5: MiniProgramIntrinsicElementView;
|
|
1181
|
+
h6: MiniProgramIntrinsicElementView;
|
|
1182
|
+
header: MiniProgramIntrinsicElementView;
|
|
1183
|
+
i: MiniProgramIntrinsicElementText;
|
|
1184
|
+
img: MiniProgramIntrinsicElementImage;
|
|
1185
|
+
li: MiniProgramIntrinsicElementView;
|
|
1186
|
+
main: MiniProgramIntrinsicElementView;
|
|
1187
|
+
nav: MiniProgramIntrinsicElementView;
|
|
1188
|
+
ol: MiniProgramIntrinsicElementView;
|
|
1189
|
+
p: MiniProgramIntrinsicElementView;
|
|
1190
|
+
pre: MiniProgramIntrinsicElementView;
|
|
1191
|
+
section: MiniProgramIntrinsicElementView;
|
|
1192
|
+
small: MiniProgramIntrinsicElementText;
|
|
1193
|
+
span: MiniProgramIntrinsicElementText;
|
|
1194
|
+
strong: MiniProgramIntrinsicElementText;
|
|
1195
|
+
u: MiniProgramIntrinsicElementText;
|
|
1196
|
+
ul: MiniProgramIntrinsicElementView;
|
|
1193
1197
|
}
|
|
1194
|
-
interface
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
'
|
|
1205
|
-
'cover-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
'live-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
'
|
|
1221
|
-
'movable-
|
|
1222
|
-
'
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
'
|
|
1226
|
-
'
|
|
1227
|
-
'page-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
'picker-view
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
'
|
|
1235
|
-
'
|
|
1236
|
-
'
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
'
|
|
1198
|
+
interface WeappHtmlAliasIntrinsicElements extends MiniProgramHtmlAliasIntrinsicElements {}
|
|
1199
|
+
interface MiniProgramIntrinsicElements extends MiniProgramHtmlAliasIntrinsicElements {
|
|
1200
|
+
ad: MiniProgramIntrinsicElementAd;
|
|
1201
|
+
'ad-custom': MiniProgramIntrinsicElementAdCustom;
|
|
1202
|
+
audio: MiniProgramIntrinsicElementAudio;
|
|
1203
|
+
block: MiniProgramIntrinsicElementBlock;
|
|
1204
|
+
button: MiniProgramIntrinsicElementButton;
|
|
1205
|
+
camera: MiniProgramIntrinsicElementCamera;
|
|
1206
|
+
canvas: MiniProgramIntrinsicElementCanvas;
|
|
1207
|
+
checkbox: MiniProgramIntrinsicElementCheckbox;
|
|
1208
|
+
'checkbox-group': MiniProgramIntrinsicElementCheckboxGroup;
|
|
1209
|
+
'cover-image': MiniProgramIntrinsicElementCoverImage;
|
|
1210
|
+
'cover-view': MiniProgramIntrinsicElementCoverView;
|
|
1211
|
+
editor: MiniProgramIntrinsicElementEditor;
|
|
1212
|
+
form: MiniProgramIntrinsicElementForm;
|
|
1213
|
+
'functional-page-navigator': MiniProgramIntrinsicElementFunctionalPageNavigator;
|
|
1214
|
+
icon: MiniProgramIntrinsicElementIcon;
|
|
1215
|
+
image: MiniProgramIntrinsicElementImage;
|
|
1216
|
+
import: MiniProgramIntrinsicElementImport;
|
|
1217
|
+
include: MiniProgramIntrinsicElementInclude;
|
|
1218
|
+
input: MiniProgramIntrinsicElementInput;
|
|
1219
|
+
'keyboard-accessory': MiniProgramIntrinsicElementKeyboardAccessory;
|
|
1220
|
+
label: MiniProgramIntrinsicElementLabel;
|
|
1221
|
+
'live-player': MiniProgramIntrinsicElementLivePlayer;
|
|
1222
|
+
'live-pusher': MiniProgramIntrinsicElementLivePusher;
|
|
1223
|
+
map: MiniProgramIntrinsicElementMap;
|
|
1224
|
+
'match-media': MiniProgramIntrinsicElementMatchMedia;
|
|
1225
|
+
'movable-area': MiniProgramIntrinsicElementMovableArea;
|
|
1226
|
+
'movable-view': MiniProgramIntrinsicElementMovableView;
|
|
1227
|
+
'navigation-bar': MiniProgramIntrinsicElementNavigationBar;
|
|
1228
|
+
navigator: MiniProgramIntrinsicElementNavigator;
|
|
1229
|
+
'official-account': MiniProgramIntrinsicElementOfficialAccount;
|
|
1230
|
+
'open-data': MiniProgramIntrinsicElementOpenData;
|
|
1231
|
+
'page-container': MiniProgramIntrinsicElementPageContainer;
|
|
1232
|
+
'page-meta': MiniProgramIntrinsicElementPageMeta;
|
|
1233
|
+
picker: MiniProgramIntrinsicElementPicker;
|
|
1234
|
+
'picker-view': MiniProgramIntrinsicElementPickerView;
|
|
1235
|
+
'picker-view-column': MiniProgramIntrinsicElementPickerViewColumn;
|
|
1236
|
+
progress: MiniProgramIntrinsicElementProgress;
|
|
1237
|
+
radio: MiniProgramIntrinsicElementRadio;
|
|
1238
|
+
'radio-group': MiniProgramIntrinsicElementRadioGroup;
|
|
1239
|
+
'rich-text': MiniProgramIntrinsicElementRichText;
|
|
1240
|
+
'scroll-view': MiniProgramIntrinsicElementScrollView;
|
|
1241
|
+
'share-element': MiniProgramIntrinsicElementShareElement;
|
|
1242
|
+
slider: MiniProgramIntrinsicElementSlider;
|
|
1243
|
+
slot: MiniProgramIntrinsicElementSlot;
|
|
1244
|
+
swiper: MiniProgramIntrinsicElementSwiper;
|
|
1245
|
+
'swiper-item': MiniProgramIntrinsicElementSwiperItem;
|
|
1246
|
+
switch: MiniProgramIntrinsicElementSwitch;
|
|
1247
|
+
template: MiniProgramIntrinsicElementTemplate;
|
|
1248
|
+
text: MiniProgramIntrinsicElementText;
|
|
1249
|
+
textarea: MiniProgramIntrinsicElementTextarea;
|
|
1250
|
+
video: MiniProgramIntrinsicElementVideo;
|
|
1251
|
+
view: MiniProgramIntrinsicElementView;
|
|
1252
|
+
'voip-room': MiniProgramIntrinsicElementVoipRoom;
|
|
1253
|
+
'web-view': MiniProgramIntrinsicElementWebView;
|
|
1249
1254
|
}
|
|
1255
|
+
interface WeappIntrinsicElements extends MiniProgramIntrinsicElements {}
|
|
1250
1256
|
//#endregion
|
|
1251
|
-
export { WeappIntrinsicElementBaseAttributes as
|
|
1257
|
+
export { MiniProgramCSSProperties as a, MiniProgramIntrinsicEventHandler as c, WeappIntrinsicElementBaseAttributes as d, WeappIntrinsicEventHandler as f, WeappIntrinsicElements as i, WeappCSSProperties as l, MiniProgramIntrinsicElements as n, MiniProgramDatasetAttributes as o, WeappHtmlAliasIntrinsicElements as r, MiniProgramIntrinsicElementBaseAttributes as s, MiniProgramHtmlAliasIntrinsicElements as t, WeappDatasetAttributes as u };
|