@tplc/wot 0.1.25 → 0.1.27
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/CHANGELOG.md +9 -0
- package/components/wd-qr-code/common/types/queue.d.ts +3 -3
- package/components/wd-qr-code/js_sdk/uqrcode/uqrcode.js +1959 -13
- package/components/wd-qr-code/types.ts +6 -5
- package/components/wd-qr-code/wd-qr-code.vue +766 -866
- package/global.d.ts +1 -0
- package/package.json +1 -1
- package/types/components/wd-qr-code/types.d.ts +83 -0
- package/types/components/wd-qr-code/wd-qr-code.vue.d.ts +146 -274
- package/types/components/wd-text/wd-text.vue.d.ts +1 -1
package/global.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ declare module 'vue' {
|
|
|
91
91
|
'wd-index-anchor': (typeof import('./types/components/wd-index-anchor/wd-index-anchor.vue'))['default']
|
|
92
92
|
'wd-text': (typeof import('./types/components/wd-text/wd-text.vue'))['default']
|
|
93
93
|
'wd-count-to': (typeof import('./types/components/wd-count-to/wd-count-to.vue'))['default']
|
|
94
|
+
'wd-qr-code': (typeof import('./types/components/wd-qr-code/wd-qr-code.vue'))['default']
|
|
94
95
|
}
|
|
95
96
|
}
|
|
96
97
|
|
package/package.json
CHANGED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export declare const qrCodeProps: {
|
|
2
|
+
/** canvas组件id */
|
|
3
|
+
canvasId: {
|
|
4
|
+
type: import('vue').PropType<string>
|
|
5
|
+
default: string
|
|
6
|
+
}
|
|
7
|
+
/** 二维码内容 */
|
|
8
|
+
value: {
|
|
9
|
+
type: import('vue').PropType<string>
|
|
10
|
+
default: string
|
|
11
|
+
}
|
|
12
|
+
options: {
|
|
13
|
+
type: ObjectConstructor
|
|
14
|
+
}
|
|
15
|
+
/** 二维码大小 */
|
|
16
|
+
size: {
|
|
17
|
+
type: NumberConstructor
|
|
18
|
+
default: number
|
|
19
|
+
}
|
|
20
|
+
/** 二维码尺寸单位 */
|
|
21
|
+
sizeUnit: {
|
|
22
|
+
type: import('vue').PropType<string>
|
|
23
|
+
default: string
|
|
24
|
+
}
|
|
25
|
+
/** 导出的文件类型 */
|
|
26
|
+
fileType: {
|
|
27
|
+
type: import('vue').PropType<string>
|
|
28
|
+
default: string
|
|
29
|
+
}
|
|
30
|
+
/** 是否初始化组件后就开始生成 */
|
|
31
|
+
start: {
|
|
32
|
+
type: BooleanConstructor
|
|
33
|
+
default: boolean
|
|
34
|
+
}
|
|
35
|
+
/** 是否数据发生改变自动重绘 */
|
|
36
|
+
auto: {
|
|
37
|
+
type: BooleanConstructor
|
|
38
|
+
default: boolean
|
|
39
|
+
}
|
|
40
|
+
/** 隐藏组件 */
|
|
41
|
+
hide: {
|
|
42
|
+
type: BooleanConstructor
|
|
43
|
+
default: boolean
|
|
44
|
+
}
|
|
45
|
+
/** canvas 类型,微信小程序默认使用2d,非2d微信官方已放弃维护,问题比较多 */
|
|
46
|
+
type: {
|
|
47
|
+
type: import('vue').PropType<string>
|
|
48
|
+
default: string
|
|
49
|
+
}
|
|
50
|
+
/** 队列绘制,主要针对NVue端 */
|
|
51
|
+
queue: {
|
|
52
|
+
type: BooleanConstructor
|
|
53
|
+
default: boolean
|
|
54
|
+
}
|
|
55
|
+
/** 是否队列加载图片,可减少canvas发起的网络资源请求,节省服务器资源 */
|
|
56
|
+
isQueueLoadImage: {
|
|
57
|
+
type: BooleanConstructor
|
|
58
|
+
default: boolean
|
|
59
|
+
}
|
|
60
|
+
/** loading态 */
|
|
61
|
+
loading: {
|
|
62
|
+
type: BooleanConstructor
|
|
63
|
+
default: undefined
|
|
64
|
+
}
|
|
65
|
+
/** H5保存即自动下载(在支持的环境下),默认false为仅弹层提示用户需要长按图片保存,不会自动下载 */
|
|
66
|
+
h5SaveIsDownload: {
|
|
67
|
+
type: BooleanConstructor
|
|
68
|
+
default: boolean
|
|
69
|
+
}
|
|
70
|
+
/** H5下载名称 */
|
|
71
|
+
h5DownloadName: {
|
|
72
|
+
type: import('vue').PropType<string>
|
|
73
|
+
default: string
|
|
74
|
+
}
|
|
75
|
+
customClass: {
|
|
76
|
+
type: import('vue').PropType<string>
|
|
77
|
+
default: string
|
|
78
|
+
}
|
|
79
|
+
customStyle: {
|
|
80
|
+
type: import('vue').PropType<string>
|
|
81
|
+
default: string
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -1,327 +1,199 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* canvas组件id
|
|
5
|
-
*/
|
|
6
|
-
canvasId: {
|
|
7
|
-
type: StringConstructor
|
|
8
|
-
required: true
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* 二维码内容
|
|
12
|
-
*/
|
|
13
|
-
value: {
|
|
14
|
-
type: (NumberConstructor | StringConstructor)[]
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 选项
|
|
18
|
-
*/
|
|
19
|
-
options: {
|
|
20
|
-
type: ObjectConstructor
|
|
21
|
-
default: () => {}
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* 二维码大小
|
|
25
|
-
*/
|
|
26
|
-
size: {
|
|
27
|
-
type: (NumberConstructor | StringConstructor)[]
|
|
28
|
-
default: number
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* 二维码尺寸单位
|
|
32
|
-
*/
|
|
33
|
-
sizeUnit: {
|
|
34
|
-
type: StringConstructor
|
|
35
|
-
default: string
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* 导出的文件类型
|
|
39
|
-
*/
|
|
40
|
-
fileType: {
|
|
41
|
-
type: StringConstructor
|
|
42
|
-
default: string
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* 是否初始化组件后就开始生成
|
|
46
|
-
*/
|
|
47
|
-
start: {
|
|
48
|
-
type: BooleanConstructor
|
|
49
|
-
default: boolean
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* 是否数据发生改变自动重绘
|
|
53
|
-
*/
|
|
54
|
-
auto: {
|
|
55
|
-
type: BooleanConstructor
|
|
56
|
-
default: boolean
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* 隐藏组件
|
|
60
|
-
*/
|
|
61
|
-
hide: {
|
|
62
|
-
type: BooleanConstructor
|
|
63
|
-
default: boolean
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* canvas 类型,微信小程序默认使用2d,非2d微信官方已放弃维护,问题比较多
|
|
67
|
-
* 注意:微信小程序type2d手机上正常,PC上微信内打开小程序toDataURL报错,看后期微信官方团队会不会做兼容,不兼容的话只能在自行判断在PC使用非2d,或者直接提示用户请在手机上操作,微信团队的海报中心小程序就是这么做的
|
|
68
|
-
*/
|
|
69
|
-
type: {
|
|
70
|
-
type: StringConstructor
|
|
71
|
-
default: () => '2d' | 'normal'
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* 队列绘制,主要针对NVue端
|
|
75
|
-
*/
|
|
76
|
-
queue: {
|
|
77
|
-
type: BooleanConstructor
|
|
78
|
-
default: boolean
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* 是否队列加载图片,可减少canvas发起的网络资源请求,节省服务器资源
|
|
82
|
-
*/
|
|
83
|
-
isQueueLoadImage: {
|
|
84
|
-
type: BooleanConstructor
|
|
85
|
-
default: boolean
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* loading态
|
|
89
|
-
*/
|
|
90
|
-
loading: {
|
|
91
|
-
type: BooleanConstructor
|
|
92
|
-
default: undefined
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* H5保存即自动下载(在支持的环境下),默认false为仅弹层提示用户需要长按图片保存,不会自动下载
|
|
96
|
-
*/
|
|
97
|
-
h5SaveIsDownload: {
|
|
98
|
-
type: BooleanConstructor
|
|
99
|
-
default: boolean
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* H5下载名称
|
|
103
|
-
*/
|
|
104
|
-
h5DownloadName: {
|
|
105
|
-
type: StringConstructor
|
|
106
|
-
default: string
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
any,
|
|
110
|
-
{
|
|
111
|
-
canvas: undefined
|
|
112
|
-
canvasType: undefined
|
|
113
|
-
canvasContext: undefined
|
|
114
|
-
makeDelegate: undefined
|
|
115
|
-
drawDelegate: undefined
|
|
116
|
-
toTempFilePathDelegate: undefined
|
|
117
|
-
makeExecuted: boolean
|
|
118
|
-
makeing: boolean
|
|
119
|
-
drawing: boolean
|
|
120
|
-
isError: boolean
|
|
121
|
-
error: undefined
|
|
122
|
-
isH5Save: boolean
|
|
123
|
-
tempFilePath: string
|
|
124
|
-
templateOptions: {
|
|
125
|
-
size: number
|
|
126
|
-
width: number
|
|
127
|
-
height: number
|
|
128
|
-
canvasWidth: number
|
|
129
|
-
canvasHeight: number
|
|
130
|
-
canvasTransform: string
|
|
131
|
-
canvasDisplay: boolean
|
|
132
|
-
}
|
|
133
|
-
uqrcodeOptions: {
|
|
134
|
-
data: string
|
|
135
|
-
}
|
|
136
|
-
plugins: never[]
|
|
137
|
-
makeingPattern: boolean[][][]
|
|
138
|
-
},
|
|
139
|
-
{},
|
|
140
|
-
{
|
|
141
|
-
/**
|
|
142
|
-
* 获取模板选项
|
|
143
|
-
*/
|
|
144
|
-
getTemplateOptions(): any
|
|
145
|
-
/**
|
|
146
|
-
* 获取插件选项
|
|
147
|
-
*/
|
|
148
|
-
getUqrcodeOptions(): any
|
|
149
|
-
/**
|
|
150
|
-
* 重置画布
|
|
151
|
-
*/
|
|
152
|
-
resetCanvas(callback: any): void
|
|
153
|
-
/**
|
|
154
|
-
* 绘制二维码
|
|
155
|
-
*/
|
|
156
|
-
draw(callback?: {}, isDrawDelegate?: boolean): Promise<void>
|
|
157
|
-
/**
|
|
158
|
-
* 生成二维码
|
|
159
|
-
*/
|
|
160
|
-
make(callback?: {}): void
|
|
161
|
-
/**
|
|
162
|
-
* 重新生成
|
|
163
|
-
*/
|
|
164
|
-
remake(callback: any): void
|
|
165
|
-
/**
|
|
166
|
-
* 生成完成
|
|
167
|
-
*/
|
|
168
|
-
complete(success?: boolean, errMsg?: string): void
|
|
169
|
-
/**
|
|
170
|
-
* 导出临时路径
|
|
171
|
-
*/
|
|
172
|
-
toTempFilePath(callback?: {}): void
|
|
173
|
-
/**
|
|
174
|
-
* 保存
|
|
175
|
-
*/
|
|
176
|
-
save(callback?: {}): void
|
|
177
|
-
/**
|
|
178
|
-
* 注册click事件
|
|
179
|
-
*/
|
|
180
|
-
onClick(e: any): void
|
|
181
|
-
/**
|
|
182
|
-
* 获取实例
|
|
183
|
-
*/
|
|
184
|
-
getInstance(): any
|
|
185
|
-
/**
|
|
186
|
-
* 注册扩展,组件仅支持注册type为style的drawCanvas扩展
|
|
187
|
-
* @param {Object} plugin
|
|
188
|
-
*/
|
|
189
|
-
registerStyle(plugin: any):
|
|
190
|
-
| {
|
|
191
|
-
errMsg: string
|
|
192
|
-
}
|
|
193
|
-
| undefined
|
|
194
|
-
getLoadImage(loadImage: any): (src: any) => any
|
|
195
|
-
},
|
|
196
|
-
import('vue').ComponentOptionsMixin,
|
|
197
|
-
import('vue').ComponentOptionsMixin,
|
|
198
|
-
{},
|
|
199
|
-
string,
|
|
200
|
-
import('vue').PublicProps,
|
|
201
|
-
Readonly<
|
|
202
|
-
import('vue').ExtractPropTypes<{
|
|
203
|
-
/**
|
|
204
|
-
* canvas组件id
|
|
205
|
-
*/
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<
|
|
2
|
+
import('vue').DefineComponent<
|
|
3
|
+
{
|
|
206
4
|
canvasId: {
|
|
207
|
-
type:
|
|
208
|
-
|
|
5
|
+
type: import('vue').PropType<string>
|
|
6
|
+
default: string
|
|
209
7
|
}
|
|
210
|
-
/**
|
|
211
|
-
* 二维码内容
|
|
212
|
-
*/
|
|
213
8
|
value: {
|
|
214
|
-
type: (
|
|
9
|
+
type: import('vue').PropType<string>
|
|
10
|
+
default: string
|
|
215
11
|
}
|
|
216
|
-
/**
|
|
217
|
-
* 选项
|
|
218
|
-
*/
|
|
219
12
|
options: {
|
|
220
13
|
type: ObjectConstructor
|
|
221
|
-
default: () => {}
|
|
222
14
|
}
|
|
223
|
-
/**
|
|
224
|
-
* 二维码大小
|
|
225
|
-
*/
|
|
226
15
|
size: {
|
|
227
|
-
type:
|
|
16
|
+
type: NumberConstructor
|
|
228
17
|
default: number
|
|
229
18
|
}
|
|
230
|
-
/**
|
|
231
|
-
* 二维码尺寸单位
|
|
232
|
-
*/
|
|
233
19
|
sizeUnit: {
|
|
234
|
-
type:
|
|
20
|
+
type: import('vue').PropType<string>
|
|
235
21
|
default: string
|
|
236
22
|
}
|
|
237
|
-
/**
|
|
238
|
-
* 导出的文件类型
|
|
239
|
-
*/
|
|
240
23
|
fileType: {
|
|
241
|
-
type:
|
|
24
|
+
type: import('vue').PropType<string>
|
|
242
25
|
default: string
|
|
243
26
|
}
|
|
244
|
-
/**
|
|
245
|
-
* 是否初始化组件后就开始生成
|
|
246
|
-
*/
|
|
247
27
|
start: {
|
|
248
28
|
type: BooleanConstructor
|
|
249
29
|
default: boolean
|
|
250
30
|
}
|
|
251
|
-
/**
|
|
252
|
-
* 是否数据发生改变自动重绘
|
|
253
|
-
*/
|
|
254
31
|
auto: {
|
|
255
32
|
type: BooleanConstructor
|
|
256
33
|
default: boolean
|
|
257
34
|
}
|
|
258
|
-
/**
|
|
259
|
-
* 隐藏组件
|
|
260
|
-
*/
|
|
261
35
|
hide: {
|
|
262
36
|
type: BooleanConstructor
|
|
263
37
|
default: boolean
|
|
264
38
|
}
|
|
265
|
-
/**
|
|
266
|
-
* canvas 类型,微信小程序默认使用2d,非2d微信官方已放弃维护,问题比较多
|
|
267
|
-
* 注意:微信小程序type2d手机上正常,PC上微信内打开小程序toDataURL报错,看后期微信官方团队会不会做兼容,不兼容的话只能在自行判断在PC使用非2d,或者直接提示用户请在手机上操作,微信团队的海报中心小程序就是这么做的
|
|
268
|
-
*/
|
|
269
39
|
type: {
|
|
270
|
-
type:
|
|
271
|
-
default:
|
|
40
|
+
type: import('vue').PropType<string>
|
|
41
|
+
default: string
|
|
272
42
|
}
|
|
273
|
-
/**
|
|
274
|
-
* 队列绘制,主要针对NVue端
|
|
275
|
-
*/
|
|
276
43
|
queue: {
|
|
277
44
|
type: BooleanConstructor
|
|
278
45
|
default: boolean
|
|
279
46
|
}
|
|
280
|
-
/**
|
|
281
|
-
* 是否队列加载图片,可减少canvas发起的网络资源请求,节省服务器资源
|
|
282
|
-
*/
|
|
283
47
|
isQueueLoadImage: {
|
|
284
48
|
type: BooleanConstructor
|
|
285
49
|
default: boolean
|
|
286
50
|
}
|
|
287
|
-
/**
|
|
288
|
-
* loading态
|
|
289
|
-
*/
|
|
290
51
|
loading: {
|
|
291
52
|
type: BooleanConstructor
|
|
292
53
|
default: undefined
|
|
293
54
|
}
|
|
294
|
-
/**
|
|
295
|
-
* H5保存即自动下载(在支持的环境下),默认false为仅弹层提示用户需要长按图片保存,不会自动下载
|
|
296
|
-
*/
|
|
297
55
|
h5SaveIsDownload: {
|
|
298
56
|
type: BooleanConstructor
|
|
299
57
|
default: boolean
|
|
300
58
|
}
|
|
301
|
-
/**
|
|
302
|
-
* H5下载名称
|
|
303
|
-
*/
|
|
304
59
|
h5DownloadName: {
|
|
305
|
-
type:
|
|
60
|
+
type: import('vue').PropType<string>
|
|
306
61
|
default: string
|
|
307
62
|
}
|
|
308
|
-
|
|
63
|
+
customClass: {
|
|
64
|
+
type: import('vue').PropType<string>
|
|
65
|
+
default: string
|
|
66
|
+
}
|
|
67
|
+
customStyle: {
|
|
68
|
+
type: import('vue').PropType<string>
|
|
69
|
+
default: string
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{},
|
|
73
|
+
unknown,
|
|
74
|
+
{},
|
|
75
|
+
{},
|
|
76
|
+
import('vue').ComponentOptionsMixin,
|
|
77
|
+
import('vue').ComponentOptionsMixin,
|
|
78
|
+
{
|
|
79
|
+
click: (...args: any[]) => void
|
|
80
|
+
error: (...args: any[]) => void
|
|
81
|
+
change: (...args: any[]) => void
|
|
82
|
+
save: (...args: any[]) => void
|
|
83
|
+
draw: (...args: any[]) => void
|
|
84
|
+
make: (...args: any[]) => void
|
|
85
|
+
complete: (...args: any[]) => void
|
|
86
|
+
},
|
|
87
|
+
string,
|
|
88
|
+
import('vue').PublicProps,
|
|
89
|
+
Readonly<
|
|
90
|
+
import('vue').ExtractPropTypes<{
|
|
91
|
+
canvasId: {
|
|
92
|
+
type: import('vue').PropType<string>
|
|
93
|
+
default: string
|
|
94
|
+
}
|
|
95
|
+
value: {
|
|
96
|
+
type: import('vue').PropType<string>
|
|
97
|
+
default: string
|
|
98
|
+
}
|
|
99
|
+
options: {
|
|
100
|
+
type: ObjectConstructor
|
|
101
|
+
}
|
|
102
|
+
size: {
|
|
103
|
+
type: NumberConstructor
|
|
104
|
+
default: number
|
|
105
|
+
}
|
|
106
|
+
sizeUnit: {
|
|
107
|
+
type: import('vue').PropType<string>
|
|
108
|
+
default: string
|
|
109
|
+
}
|
|
110
|
+
fileType: {
|
|
111
|
+
type: import('vue').PropType<string>
|
|
112
|
+
default: string
|
|
113
|
+
}
|
|
114
|
+
start: {
|
|
115
|
+
type: BooleanConstructor
|
|
116
|
+
default: boolean
|
|
117
|
+
}
|
|
118
|
+
auto: {
|
|
119
|
+
type: BooleanConstructor
|
|
120
|
+
default: boolean
|
|
121
|
+
}
|
|
122
|
+
hide: {
|
|
123
|
+
type: BooleanConstructor
|
|
124
|
+
default: boolean
|
|
125
|
+
}
|
|
126
|
+
type: {
|
|
127
|
+
type: import('vue').PropType<string>
|
|
128
|
+
default: string
|
|
129
|
+
}
|
|
130
|
+
queue: {
|
|
131
|
+
type: BooleanConstructor
|
|
132
|
+
default: boolean
|
|
133
|
+
}
|
|
134
|
+
isQueueLoadImage: {
|
|
135
|
+
type: BooleanConstructor
|
|
136
|
+
default: boolean
|
|
137
|
+
}
|
|
138
|
+
loading: {
|
|
139
|
+
type: BooleanConstructor
|
|
140
|
+
default: undefined
|
|
141
|
+
}
|
|
142
|
+
h5SaveIsDownload: {
|
|
143
|
+
type: BooleanConstructor
|
|
144
|
+
default: boolean
|
|
145
|
+
}
|
|
146
|
+
h5DownloadName: {
|
|
147
|
+
type: import('vue').PropType<string>
|
|
148
|
+
default: string
|
|
149
|
+
}
|
|
150
|
+
customClass: {
|
|
151
|
+
type: import('vue').PropType<string>
|
|
152
|
+
default: string
|
|
153
|
+
}
|
|
154
|
+
customStyle: {
|
|
155
|
+
type: import('vue').PropType<string>
|
|
156
|
+
default: string
|
|
157
|
+
}
|
|
158
|
+
}>
|
|
159
|
+
> & {
|
|
160
|
+
onChange?: ((...args: any[]) => any) | undefined
|
|
161
|
+
onError?: ((...args: any[]) => any) | undefined
|
|
162
|
+
onClick?: ((...args: any[]) => any) | undefined
|
|
163
|
+
onSave?: ((...args: any[]) => any) | undefined
|
|
164
|
+
onDraw?: ((...args: any[]) => any) | undefined
|
|
165
|
+
onMake?: ((...args: any[]) => any) | undefined
|
|
166
|
+
onComplete?: ((...args: any[]) => any) | undefined
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
customStyle: string
|
|
170
|
+
customClass: string
|
|
171
|
+
value: string
|
|
172
|
+
type: string
|
|
173
|
+
size: number
|
|
174
|
+
loading: boolean
|
|
175
|
+
start: boolean
|
|
176
|
+
canvasId: string
|
|
177
|
+
auto: boolean
|
|
178
|
+
fileType: string
|
|
179
|
+
sizeUnit: string
|
|
180
|
+
hide: boolean
|
|
181
|
+
queue: boolean
|
|
182
|
+
isQueueLoadImage: boolean
|
|
183
|
+
h5SaveIsDownload: boolean
|
|
184
|
+
h5DownloadName: string
|
|
185
|
+
},
|
|
186
|
+
{}
|
|
309
187
|
>,
|
|
310
188
|
{
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
start: boolean
|
|
316
|
-
auto: boolean
|
|
317
|
-
fileType: string
|
|
318
|
-
sizeUnit: string
|
|
319
|
-
hide: boolean
|
|
320
|
-
queue: boolean
|
|
321
|
-
isQueueLoadImage: boolean
|
|
322
|
-
h5SaveIsDownload: boolean
|
|
323
|
-
h5DownloadName: string
|
|
324
|
-
},
|
|
325
|
-
{}
|
|
189
|
+
loading?(_: {}): any
|
|
190
|
+
error?(_: { error: any }): any
|
|
191
|
+
h5save?(_: { tempFilePath: string }): any
|
|
192
|
+
}
|
|
326
193
|
>
|
|
327
194
|
export default _default
|
|
195
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
196
|
+
new (): {
|
|
197
|
+
$slots: S
|
|
198
|
+
}
|
|
199
|
+
}
|