@shijiu/jsview-vue 2.1.448-test.0 → 2.1.476-test.0

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.
Files changed (62) hide show
  1. package/bin/browser/BrowserApic.vue.mjs +4 -4
  2. package/bin/browser/BrowserApic2.vue.mjs +4 -4
  3. package/bin/browser/BrowserApicLib.mjs +24 -24
  4. package/bin/browser/BrowserAudio.vue.mjs +8 -8
  5. package/bin/browser/BrowserJsvLatex.vue.mjs +27 -15
  6. package/bin/browser/BrowserPreload.vue.mjs +4 -4
  7. package/bin/browser/BrowserQrcode.vue.mjs +4 -4
  8. package/bin/browser/BrowserSpray.vue.mjs +4 -4
  9. package/bin/browser/BrowserTextureAnim.vue.mjs +4 -4
  10. package/bin/export-sfc.mjs +3 -3
  11. package/bin/jsview-vue-common.mjs +3 -3
  12. package/bin/jsview-vue.mjs +12053 -13883
  13. package/bin/types/browser/BrowserApic.vue.d.mts +33 -0
  14. package/bin/types/browser/BrowserApic2.vue.d.mts +16 -0
  15. package/bin/types/browser/BrowserApicLib.d.mts +56 -0
  16. package/bin/types/browser/BrowserAudio.vue.d.mts +2 -0
  17. package/bin/types/browser/BrowserJsvLatex.vue.d.mts +55 -0
  18. package/bin/types/browser/BrowserPreload.vue.d.mts +14 -0
  19. package/bin/types/browser/BrowserQrcode.vue.d.mts +29 -0
  20. package/bin/types/browser/BrowserSpray.vue.d.mts +2 -0
  21. package/bin/types/browser/BrowserTextureAnim.vue.d.mts +2 -0
  22. package/bin/types/export-sfc.d.mts +2 -0
  23. package/bin/types/jsview-vue-common.d.mts +23 -0
  24. package/bin/types/jsview-vue.d.mts +2511 -0
  25. package/index.d.ts +3 -4
  26. package/package.json +1 -1
  27. package/tools/config/tsconfig.json +7 -10
  28. package/tools/jsview-vue-build.mjs +25 -4
  29. package/utils/JsViewEngineWidget/MetroWidget/SlotComponent.vue +0 -1
  30. package/utils/JsViewPlugin/JsvAudio/AudioProxy.js +11 -3
  31. package/utils/JsViewPlugin/JsvAudio/JsvAudio.vue +6 -3
  32. package/utils/JsViewPlugin/JsvAudio/JsvAudioProxy.vue +20 -0
  33. package/utils/JsViewPlugin/JsvAudio/PluginLoader.js +13 -3
  34. package/utils/JsViewPlugin/JsvAudio/index.js +11 -16
  35. package/utils/JsViewPlugin/JsvLatex/BrowserJsvLatex.vue +22 -5
  36. package/utils/JsViewPlugin/JsvLatex/JsvLatex.vue +3 -1
  37. package/utils/JsViewPlugin/JsvLatex/JsvLatexProxy.vue +20 -0
  38. package/utils/JsViewPlugin/JsvLatex/PluginLoader.js +13 -3
  39. package/utils/JsViewPlugin/JsvLatex/index.js +11 -16
  40. package/utils/JsViewPlugin/index.js +1 -1
  41. package/utils/JsViewVueTools/ForgeHandles.ts +14 -0
  42. package/utils/JsViewVueTools/{JsvDynamicKeyFrames.js → JsvDynamicKeyFrames.ts} +2 -2
  43. package/utils/JsViewVueTools/JsvFederationTools.ts +35 -0
  44. package/utils/JsViewVueTools/JsvPreDownloader.ts +36 -37
  45. package/utils/JsViewVueTools/JsvTextureStore/CanvasTexture/CanvasTexture.ts +1 -1
  46. package/utils/JsViewVueTools/index.js +2 -1
  47. package/utils/JsViewVueWidget/JsvFreeMoveActor/JsvEnvBlocker.vue +4 -0
  48. package/utils/JsViewVueWidget/JsvMindMap/JsvMindMap.vue +1 -1
  49. package/utils/JsViewVueWidget/JsvQrcode/JsvQrcode.vue +2 -1
  50. package/utils/JsViewVueWidget/JsvSpriteAnim/FrameBuidler.ts +11 -7
  51. package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteAnim.vue +135 -61
  52. package/utils/JsViewVueWidget/JsvSpriteAnim/JsvSpriteTools.ts +26 -0
  53. package/utils/JsViewVueWidget/JsvSpriteAnim/index.js +8 -1
  54. package/utils/JsViewVueWidget/JsvSwiper/JsvSwiper.vue +6 -0
  55. package/utils/JsViewVueWidget/JsvSwiper3D/JsvSwiper.vue +1 -1
  56. package/bin/browser/BrowserJsvPlayer.vue.mjs +0 -573
  57. package/utils/JsViewEngineWidget/index.d.ts +0 -28
  58. package/utils/JsViewPlugin/JsvLatex/mathjax-tex-svg.txt +0 -1
  59. package/utils/JsViewPlugin/index.d.ts +0 -1
  60. package/utils/JsViewVueTools/ForgeHandles.js +0 -13
  61. package/utils/JsViewVueTools/index.d.ts +0 -13
  62. /package/utils/JsViewVueWidget/JsvSpriteAnim/{sAnimationToken.js → sAnimationToken.ts} +0 -0
@@ -0,0 +1,2511 @@
1
+ export { A as ApicEndState } from "./jsview-vue-common.mjs";
2
+ export class BaseDispatcher {
3
+ _Component: any;
4
+ registerComponent(component: any): void;
5
+ unregisterComponent(): void;
6
+ dispatch(event: any): void;
7
+ }
8
+ export const DECORATE_BORDER_RADIUS: "BroderRaidus";
9
+ export const DECORATE_NINEPATCH_ALPHA_MIX: "NinePatchAlphaMix";
10
+ export namespace DebugObjectRefer {
11
+ const RootRouter: null;
12
+ }
13
+ export namespace DebugTools {
14
+ function printFocusNodes(): void;
15
+ }
16
+ export function DebugWrap81ErrorStack(): void;
17
+ export function DebugWrap81WarnStack(): void;
18
+ export namespace DefaultKeyCodeMap {
19
+ const Left: number;
20
+ const Up: number;
21
+ const Right: number;
22
+ const Down: number;
23
+ const Ok: number;
24
+ const Back: number;
25
+ const Menu: number;
26
+ }
27
+ export namespace EdgeDirection {
28
+ const left: symbol;
29
+ const right: symbol;
30
+ const top: symbol;
31
+ const bottom: symbol;
32
+ function opposite(dir: any): symbol | undefined;
33
+ }
34
+ export class FixPositionSlide extends SlideSetting {
35
+ constructor({ fixPercent, speed, duration, easing, fixFirstPage, boundaryProtect }?: {
36
+ fixPercent?: number | undefined;
37
+ speed?: number | undefined;
38
+ duration?: null | undefined;
39
+ easing?: string | undefined;
40
+ fixFirstPage?: boolean | undefined;
41
+ boundaryProtect?: number | undefined;
42
+ });
43
+ FixPercent: number;
44
+ FixFirstPage: boolean;
45
+ }
46
+ export namespace FocusMoveType {
47
+ const NO_ADJUST: number;
48
+ const COLUMN_LOOP: number;
49
+ const ROW_LOOP: number;
50
+ const COLUMN_FIND_NEAR: number;
51
+ const ROW_FIND_NEAR: number;
52
+ }
53
+ export namespace FreeMoveDef {
54
+ export { ActEventDefine };
55
+ export { KeepFlags };
56
+ }
57
+ export namespace FreeMoveFunc {
58
+ export { newNexus };
59
+ }
60
+ export const HORIZONTAL: unique symbol;
61
+ export namespace InputType {
62
+ const TEXT: any;
63
+ const NUMBER: any;
64
+ const PASSWORD: any;
65
+ }
66
+ declare const instance: BridgeProxy;
67
+ export class JsvAccount {
68
+ /**
69
+ * 构造函数
70
+ * @param {function} callback,插件初始化结果,如果返回的结果为"success",表示成功,否则表示失败。
71
+ *
72
+ */
73
+ constructor(callback: Function);
74
+ /**
75
+ * 注册登陆状态变化通知函数
76
+ * @param {function} callback,通知函数
77
+ *
78
+ */
79
+ registerLoginLogoutCallback(callback: Function): void;
80
+ /**
81
+ * 注销登陆状态变化通知函数
82
+ * @param {function} callback,通知函数
83
+ *
84
+ */
85
+ unRegisterLoginLogoutCallback(callback: Function): void;
86
+ /**
87
+ * 获取账号信息
88
+ * @returns {string} json数据结构,账号信息
89
+ *
90
+ */
91
+ getAccountInfo(): string;
92
+ /**
93
+ * 打开登陆界面
94
+ *
95
+ */
96
+ startLoginPage(): void;
97
+ /**
98
+ * 打开用户信息界面,不可用
99
+ *
100
+ */
101
+ startUserDetailsPage(): void;
102
+ /**
103
+ * 打开用户中心界面,不可用
104
+ *
105
+ */
106
+ startUserCenterPage(): void;
107
+ }
108
+ declare namespace _sfc_main$z {
109
+ const __name: string;
110
+ namespace props {
111
+ namespace control {
112
+ export { JsvActorMoveControl as type };
113
+ export const required: boolean;
114
+ }
115
+ }
116
+ function setup(__props: any, { expose }: {
117
+ expose: any;
118
+ }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
119
+ [key: string]: any;
120
+ }>;
121
+ }
122
+ export class JsvActorMoveControl extends ActorControlBase {
123
+ constructor();
124
+ moveToX(target_x: any, speed: any, end_callback: any): void;
125
+ moveToY(target_y: any, speed: any, end_callback: any): void;
126
+ altStraightSpeed(newSpeedPerSecond: any, time: any): void;
127
+ scrollMoveAlongX(target_x: any, speed: any, repeat_start: any, repeat_callback: any): void;
128
+ scrollMoveAlongY(target_y: any, speed: any, repeat_start: any, repeat_callback: any): void;
129
+ _UniformMove(x_or_y: any, target_x: any, target_y: any, speed: any, repeat_set: any, end_callback: any): void;
130
+ throwAlongX(init_v: any, acc: any, end_condition: any, end_callback: any, pole_callback: any): void;
131
+ throwAlongY(init_v: any, acc: any, end_condition: any, end_callback: any, pole_callback: any): void;
132
+ _Throw(x_or_y: any, init_v: any, acc: any, end_condition: any, end_callback: any, pole_callback: any): void;
133
+ jumpTo(new_x: any, new_y: any): void;
134
+ _CalculateTerminalStatus(x_or_y: any, init_v: any, acc: any, end_condition: any, pole_callback: any): {
135
+ type: number;
136
+ xOrY: any;
137
+ initV: any;
138
+ acc: any;
139
+ hasPole: boolean;
140
+ polePosition: number;
141
+ poleCallback: any;
142
+ isPositiveMove: boolean;
143
+ } | null;
144
+ _BuildAccelAnimation(current_array: any, tos_array: any, start_params: any): any;
145
+ _BuildUniformMoveAnimation(current_array: any, tos_array: any, start_params: any): any;
146
+ _BuildJumpAnimation(current_array: any, tos_array: any): any;
147
+ _ReCalculateAccelCurrent(froms: any, tos: any, progress: any, start_params: any): void;
148
+ _ReCalculateUMoveCurrent(froms: any, tos: any, progress: any, start_params: any): void;
149
+ _ReCalculateJumpCurrent(froms: any, tos: any): void;
150
+ start(): void;
151
+ _WrapBuildAnimation(current_array: any, tos_array: any, start_params: any): any;
152
+ }
153
+ declare const _JsvApic$1: any;
154
+ declare const _JsvApic2$1: any;
155
+ declare namespace _sfc_main$C {
156
+ const __name_1: string;
157
+ export { __name_1 as __name };
158
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
159
+ [key: string]: any;
160
+ }>;
161
+ }
162
+ declare namespace _sfc_main$3 {
163
+ const __name_2: string;
164
+ export { __name_2 as __name };
165
+ export namespace props_1 {
166
+ namespace startPos {
167
+ const type: ObjectConstructor;
168
+ const require: boolean;
169
+ }
170
+ namespace endPos {
171
+ const type_1: ObjectConstructor;
172
+ export { type_1 as type };
173
+ const require_1: boolean;
174
+ export { require_1 as require };
175
+ }
176
+ namespace lineWidth {
177
+ const type_2: NumberConstructor;
178
+ export { type_2 as type };
179
+ const require_2: boolean;
180
+ export { require_2 as require };
181
+ }
182
+ namespace isVertical {
183
+ const type_3: BooleanConstructor;
184
+ export { type_3 as type };
185
+ const require_3: boolean;
186
+ export { require_3 as require };
187
+ }
188
+ namespace percent {
189
+ const type_4: NumberConstructor;
190
+ export { type_4 as type };
191
+ const require_4: boolean;
192
+ export { require_4 as require };
193
+ }
194
+ namespace backgroundColor {
195
+ const type_5: StringConstructor;
196
+ export { type_5 as type };
197
+ }
198
+ namespace radius {
199
+ const type_6: NumberConstructor;
200
+ export { type_6 as type };
201
+ }
202
+ namespace RoundSet {
203
+ const type_7: ObjectConstructor;
204
+ export { type_7 as type };
205
+ namespace _default {
206
+ const start: boolean;
207
+ const end: boolean;
208
+ }
209
+ export { _default as default };
210
+ }
211
+ }
212
+ export { props_1 as props };
213
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
214
+ [key: string]: any;
215
+ }>;
216
+ }
217
+ declare namespace _sfc_main$1 {
218
+ const __name_3: string;
219
+ export { __name_3 as __name };
220
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
221
+ [key: string]: any;
222
+ }>;
223
+ }
224
+ declare namespace _sfc_main$x {
225
+ const __name_4: string;
226
+ export { __name_4 as __name };
227
+ export namespace props_2 {
228
+ export namespace left_1 {
229
+ const type_8: NumberConstructor;
230
+ export { type_8 as type };
231
+ const _default_1: number;
232
+ export { _default_1 as default };
233
+ }
234
+ export { left_1 as left };
235
+ export namespace top_1 {
236
+ const type_9: NumberConstructor;
237
+ export { type_9 as type };
238
+ const _default_2: number;
239
+ export { _default_2 as default };
240
+ }
241
+ export { top_1 as top };
242
+ export namespace width {
243
+ const type_10: NumberConstructor;
244
+ export { type_10 as type };
245
+ const require_5: boolean;
246
+ export { require_5 as require };
247
+ }
248
+ export namespace height {
249
+ const type_11: NumberConstructor;
250
+ export { type_11 as type };
251
+ const require_6: boolean;
252
+ export { require_6 as require };
253
+ }
254
+ export namespace topGID {
255
+ const type_12: NumberConstructor;
256
+ export { type_12 as type };
257
+ }
258
+ export namespace bottomGID {
259
+ const type_13: NumberConstructor;
260
+ export { type_13 as type };
261
+ }
262
+ export namespace leftGID {
263
+ const type_14: NumberConstructor;
264
+ export { type_14 as type };
265
+ }
266
+ export namespace rightGID {
267
+ const type_15: NumberConstructor;
268
+ export { type_15 as type };
269
+ }
270
+ export namespace enable {
271
+ const type_16: BooleanConstructor;
272
+ export { type_16 as type };
273
+ const _default_3: boolean;
274
+ export { _default_3 as default };
275
+ }
276
+ }
277
+ export { props_2 as props };
278
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
279
+ [key: string]: any;
280
+ }>;
281
+ }
282
+ export namespace JsvFederationTools {
283
+ export { alterModuleUrl };
284
+ }
285
+ declare namespace _sfc_main$i {
286
+ const __name_5: string;
287
+ export { __name_5 as __name };
288
+ export namespace props_3 {
289
+ export namespace width_1 {
290
+ const type_17: NumberConstructor;
291
+ export { type_17 as type };
292
+ }
293
+ export { width_1 as width };
294
+ export namespace height_1 {
295
+ const type_18: NumberConstructor;
296
+ export { type_18 as type };
297
+ }
298
+ export { height_1 as height };
299
+ export namespace left_2 {
300
+ const type_19: NumberConstructor;
301
+ export { type_19 as type };
302
+ const _default_4: number;
303
+ export { _default_4 as default };
304
+ }
305
+ export { left_2 as left };
306
+ export namespace top_2 {
307
+ const type_20: NumberConstructor;
308
+ export { type_20 as type };
309
+ const _default_5: number;
310
+ export { _default_5 as default };
311
+ }
312
+ export { top_2 as top };
313
+ export namespace filterType {
314
+ const type_21: StringConstructor;
315
+ export { type_21 as type };
316
+ const _default_6: null;
317
+ export { _default_6 as default };
318
+ }
319
+ }
320
+ export { props_3 as props };
321
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
322
+ [key: string]: any;
323
+ }>;
324
+ }
325
+ declare namespace _sfc_main$w {
326
+ const __name_6: string;
327
+ export { __name_6 as __name };
328
+ export namespace props_4 {
329
+ const style: ObjectConstructor;
330
+ namespace askSize {
331
+ const type_22: BooleanConstructor;
332
+ export { type_22 as type };
333
+ const _default_7: boolean;
334
+ export { _default_7 as default };
335
+ }
336
+ namespace onSized {
337
+ const type_23: FunctionConstructor;
338
+ export { type_23 as type };
339
+ const _default_8: null;
340
+ export { _default_8 as default };
341
+ }
342
+ }
343
+ export { props_4 as props };
344
+ export function setup(__props: any, { expose }: {
345
+ expose: any;
346
+ }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
347
+ [key: string]: any;
348
+ }>;
349
+ }
350
+ declare namespace _sfc_main$E {
351
+ const __name_7: string;
352
+ export { __name_7 as __name };
353
+ export namespace props_5 {
354
+ const name: StringConstructor;
355
+ const namespace: StringConstructor;
356
+ const autoFocus: StringConstructor;
357
+ const onAction: ObjectConstructor;
358
+ const onDispatchKeyUp: FunctionConstructor;
359
+ const onDispatchKeyDown: FunctionConstructor;
360
+ const onKeyUp: FunctionConstructor;
361
+ const onKeyDown: FunctionConstructor;
362
+ const onFocus: FunctionConstructor;
363
+ const onBlur: FunctionConstructor;
364
+ const onCustomEvent: FunctionConstructor;
365
+ }
366
+ export { props_5 as props };
367
+ export function setup(__props: any, { expose }: {
368
+ expose: any;
369
+ }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
370
+ [key: string]: any;
371
+ }>;
372
+ }
373
+ declare namespace _sfc_main$y {
374
+ const __name_8: string;
375
+ export { __name_8 as __name };
376
+ export namespace props_6 {
377
+ export namespace top_3 {
378
+ const _default_9: number;
379
+ export { _default_9 as default };
380
+ const type_24: NumberConstructor;
381
+ export { type_24 as type };
382
+ }
383
+ export { top_3 as top };
384
+ export namespace left_3 {
385
+ const _default_10: number;
386
+ export { _default_10 as default };
387
+ const type_25: NumberConstructor;
388
+ export { type_25 as type };
389
+ }
390
+ export { left_3 as left };
391
+ export namespace width_2 {
392
+ const _default_11: number;
393
+ export { _default_11 as default };
394
+ const type_26: NumberConstructor;
395
+ export { type_26 as type };
396
+ }
397
+ export { width_2 as width };
398
+ export namespace height_2 {
399
+ const _default_12: number;
400
+ export { _default_12 as default };
401
+ const type_27: NumberConstructor;
402
+ export { type_27 as type };
403
+ }
404
+ export { height_2 as height };
405
+ }
406
+ export { props_6 as props };
407
+ export function setup(__props: any, { expose }: {
408
+ expose: any;
409
+ }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
410
+ [key: string]: any;
411
+ }>;
412
+ }
413
+ export const JsvGrid: any;
414
+ export const JsvTransparentDiv: any;
415
+ export const JsvInput: any;
416
+ declare namespace _sfc_main$A {
417
+ const __name_9: string;
418
+ export { __name_9 as __name };
419
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
420
+ [key: string]: any;
421
+ }>;
422
+ }
423
+ export const JsvLine: any;
424
+ declare namespace _sfc_main$f {
425
+ const __name_10: string;
426
+ export { __name_10 as __name };
427
+ export namespace props_7 {
428
+ export namespace text {
429
+ const type_28: StringConstructor;
430
+ export { type_28 as type };
431
+ const _default_13: string;
432
+ export { _default_13 as default };
433
+ }
434
+ export namespace style_1 {
435
+ const type_29: ObjectConstructor;
436
+ export { type_29 as type };
437
+ function _default(): {
438
+ left: number;
439
+ top: number;
440
+ width: number;
441
+ height: number;
442
+ color: string;
443
+ fontSize: number;
444
+ textAlign: string;
445
+ lineHeight: number;
446
+ whiteSpace: string;
447
+ direction: string;
448
+ };
449
+ export { _default as default };
450
+ }
451
+ export { style_1 as style };
452
+ export namespace slideSpeed {
453
+ const type_30: NumberConstructor;
454
+ export { type_30 as type };
455
+ const _default_14: number;
456
+ export { _default_14 as default };
457
+ }
458
+ export namespace slideDirection {
459
+ const type_31: StringConstructor;
460
+ export { type_31 as type };
461
+ export function validator(value: any): boolean;
462
+ const _default_15: string;
463
+ export { _default_15 as default };
464
+ }
465
+ export namespace forceSlide {
466
+ const type_32: BooleanConstructor;
467
+ export { type_32 as type };
468
+ const _default_16: boolean;
469
+ export { _default_16 as default };
470
+ }
471
+ export namespace timeGap {
472
+ const type_33: NumberConstructor;
473
+ export { type_33 as type };
474
+ const _default_17: number;
475
+ export { _default_17 as default };
476
+ }
477
+ export namespace textGap {
478
+ const type_34: NumberConstructor;
479
+ export { type_34 as type };
480
+ }
481
+ }
482
+ export { props_7 as props };
483
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
484
+ [key: string]: any;
485
+ }>;
486
+ }
487
+ export const JsvMaskClipDiv: any;
488
+ declare namespace _sfc_main {
489
+ const __name_11: string;
490
+ export { __name_11 as __name };
491
+ export namespace props_8 {
492
+ export namespace name_1 {
493
+ const type_35: StringConstructor;
494
+ export { type_35 as type };
495
+ const required_1: boolean;
496
+ export { required_1 as required };
497
+ }
498
+ export { name_1 as name };
499
+ export namespace provideData {
500
+ const type_36: FunctionConstructor;
501
+ export { type_36 as type };
502
+ const required_2: boolean;
503
+ export { required_2 as required };
504
+ }
505
+ export namespace width_3 {
506
+ const type_37: NumberConstructor;
507
+ export { type_37 as type };
508
+ const required_3: boolean;
509
+ export { required_3 as required };
510
+ }
511
+ export { width_3 as width };
512
+ export namespace height_3 {
513
+ const type_38: NumberConstructor;
514
+ export { type_38 as type };
515
+ const required_4: boolean;
516
+ export { required_4 as required };
517
+ }
518
+ export { height_3 as height };
519
+ export namespace formatNode {
520
+ const type_39: FunctionConstructor;
521
+ export { type_39 as type };
522
+ const required_5: boolean;
523
+ export { required_5 as required };
524
+ }
525
+ export namespace left_4 {
526
+ const type_40: NumberConstructor;
527
+ export { type_40 as type };
528
+ const _default_18: number;
529
+ export { _default_18 as default };
530
+ }
531
+ export { left_4 as left };
532
+ export namespace top_4 {
533
+ const type_41: NumberConstructor;
534
+ export { type_41 as type };
535
+ const _default_19: number;
536
+ export { _default_19 as default };
537
+ }
538
+ export { top_4 as top };
539
+ export namespace slideAnim {
540
+ const type_42: ObjectConstructor;
541
+ export { type_42 as type };
542
+ }
543
+ export namespace onEdge {
544
+ const type_43: FunctionConstructor;
545
+ export { type_43 as type };
546
+ }
547
+ export namespace focusRectPadding {
548
+ const type_44: NumberConstructor;
549
+ export { type_44 as type };
550
+ const _default_20: number;
551
+ export { _default_20 as default };
552
+ }
553
+ export namespace renderRectMargin {
554
+ const type_45: NumberConstructor;
555
+ export { type_45 as type };
556
+ const _default_21: number;
557
+ export { _default_21 as default };
558
+ }
559
+ }
560
+ export { props_8 as props };
561
+ export function setup(__props: any, { expose }: {
562
+ expose: any;
563
+ }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
564
+ [key: string]: any;
565
+ }>;
566
+ }
567
+ declare namespace _sfc_main$d {
568
+ const __name_12: string;
569
+ export { __name_12 as __name };
570
+ export namespace props_9 {
571
+ export namespace style_2 {
572
+ const type_46: ObjectConstructor;
573
+ export { type_46 as type };
574
+ function _default_22(): {};
575
+ export { _default_22 as default };
576
+ }
577
+ export { style_2 as style };
578
+ export namespace top_5 {
579
+ const type_47: NumberConstructor;
580
+ export { type_47 as type };
581
+ const _default_23: number;
582
+ export { _default_23 as default };
583
+ }
584
+ export { top_5 as top };
585
+ export namespace left_5 {
586
+ const type_48: NumberConstructor;
587
+ export { type_48 as type };
588
+ const _default_24: number;
589
+ export { _default_24 as default };
590
+ }
591
+ export { left_5 as left };
592
+ export namespace waitForInit {
593
+ const type_49: BooleanConstructor;
594
+ export { type_49 as type };
595
+ const _default_25: boolean;
596
+ export { _default_25 as default };
597
+ }
598
+ export namespace imageUrl {
599
+ const type_50: StringConstructor;
600
+ export { type_50 as type };
601
+ const required_6: boolean;
602
+ export { required_6 as required };
603
+ }
604
+ export namespace imageWidth {
605
+ const type_51: NumberConstructor;
606
+ export { type_51 as type };
607
+ const required_7: boolean;
608
+ export { required_7 as required };
609
+ }
610
+ export namespace imageDspWidth {
611
+ const type_52: NumberConstructor;
612
+ export { type_52 as type };
613
+ const _default_26: number;
614
+ export { _default_26 as default };
615
+ }
616
+ export namespace contentWidth {
617
+ const type_53: NumberConstructor;
618
+ export { type_53 as type };
619
+ const _default_27: number;
620
+ export { _default_27 as default };
621
+ }
622
+ export namespace centerWidth {
623
+ const type_54: NumberConstructor;
624
+ export { type_54 as type };
625
+ const _default_28: number;
626
+ export { _default_28 as default };
627
+ const required_8: boolean;
628
+ export { required_8 as required };
629
+ }
630
+ export namespace borderOutset {
631
+ const type_55: NumberConstructor;
632
+ export { type_55 as type };
633
+ const required_9: boolean;
634
+ export { required_9 as required };
635
+ }
636
+ export namespace animTime {
637
+ const type_56: NumberConstructor;
638
+ export { type_56 as type };
639
+ const _default_29: number;
640
+ export { _default_29 as default };
641
+ }
642
+ export namespace onTransitionEnd {
643
+ const type_57: FunctionConstructor;
644
+ export { type_57 as type };
645
+ }
646
+ export namespace animation {
647
+ const type_58: StringConstructor;
648
+ export { type_58 as type };
649
+ }
650
+ }
651
+ export { props_9 as props };
652
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
653
+ [key: string]: any;
654
+ }>;
655
+ }
656
+ export class JsvPerformance {
657
+ static posterSingleThreadDecode: boolean;
658
+ static setPosterSingleThreadDecode(v: any): void;
659
+ static getPosterSingleThreadDecode(): boolean;
660
+ }
661
+ declare namespace _sfc_main$4 {
662
+ const __name_13: string;
663
+ export { __name_13 as __name };
664
+ export namespace props_10 {
665
+ export namespace centerPosition {
666
+ const type_59: ObjectConstructor;
667
+ export { type_59 as type };
668
+ const required_10: boolean;
669
+ export { required_10 as required };
670
+ }
671
+ export namespace data {
672
+ const type_60: ArrayConstructor;
673
+ export { type_60 as type };
674
+ const required_11: boolean;
675
+ export { required_11 as required };
676
+ }
677
+ export namespace radius_1 {
678
+ const type_61: NumberConstructor;
679
+ export { type_61 as type };
680
+ const required_12: boolean;
681
+ export { required_12 as required };
682
+ }
683
+ export { radius_1 as radius };
684
+ export namespace animationTime {
685
+ const type_62: NumberConstructor;
686
+ export { type_62 as type };
687
+ const _default_30: number;
688
+ export { _default_30 as default };
689
+ }
690
+ }
691
+ export { props_10 as props };
692
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
693
+ [key: string]: any;
694
+ }>;
695
+ }
696
+ declare namespace _sfc_main$c {
697
+ const __name_14: string;
698
+ export { __name_14 as __name };
699
+ export namespace props_11 {
700
+ const style_3: ObjectConstructor;
701
+ export { style_3 as style };
702
+ }
703
+ export { props_11 as props };
704
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
705
+ [key: string]: any;
706
+ }>;
707
+ }
708
+ declare namespace _sfc_main$b {
709
+ const __name_15: string;
710
+ export { __name_15 as __name };
711
+ export namespace props_12 {
712
+ export namespace colorSpace {
713
+ const type_63: StringConstructor;
714
+ export { type_63 as type };
715
+ const _default_31: string;
716
+ export { _default_31 as default };
717
+ }
718
+ export namespace imageCompress {
719
+ const type_64: BooleanConstructor;
720
+ export { type_64 as type };
721
+ const _default_32: boolean;
722
+ export { _default_32 as default };
723
+ }
724
+ export namespace isPosterImage {
725
+ const type_65: BooleanConstructor;
726
+ export { type_65 as type };
727
+ const _default_33: boolean;
728
+ export { _default_33 as default };
729
+ }
730
+ export namespace fadeIn {
731
+ const type_66: BooleanConstructor;
732
+ export { type_66 as type };
733
+ const _default_34: boolean;
734
+ export { _default_34 as default };
735
+ }
736
+ export namespace src {
737
+ const type_67: StringConstructor;
738
+ export { type_67 as type };
739
+ const _default_35: null;
740
+ export { _default_35 as default };
741
+ }
742
+ const style_4: ObjectConstructor;
743
+ export { style_4 as style };
744
+ }
745
+ export { props_12 as props };
746
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
747
+ [key: string]: any;
748
+ }>;
749
+ }
750
+ declare const exportObj: typeof JsvPreDownloaderInJsView;
751
+ export const JsvPreload: {
752
+ __name: string;
753
+ props: {
754
+ preloadList: ArrayConstructor;
755
+ downloadList: ArrayConstructor;
756
+ onPreloadDone: FunctionConstructor;
757
+ onDownloadDone: FunctionConstructor;
758
+ onPreloading: FunctionConstructor;
759
+ };
760
+ setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
761
+ [key: string]: any;
762
+ }>;
763
+ } | {
764
+ __name: string;
765
+ props: {
766
+ preloadList: ObjectConstructor;
767
+ downloadList: ObjectConstructor;
768
+ onPreloading: FunctionConstructor;
769
+ onPreloadDone: FunctionConstructor;
770
+ onDownloadDone: FunctionConstructor;
771
+ };
772
+ setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
773
+ [key: string]: any;
774
+ }>;
775
+ };
776
+ declare namespace _sfc_main$2 {
777
+ const __name_16: string;
778
+ export { __name_16 as __name };
779
+ export namespace props_13 {
780
+ export namespace width_4 {
781
+ const type_68: NumberConstructor;
782
+ export { type_68 as type };
783
+ const required_13: boolean;
784
+ export { required_13 as required };
785
+ }
786
+ export { width_4 as width };
787
+ export namespace height_4 {
788
+ const type_69: NumberConstructor;
789
+ export { type_69 as type };
790
+ const required_14: boolean;
791
+ export { required_14 as required };
792
+ }
793
+ export { height_4 as height };
794
+ export namespace bgcBefore {
795
+ const type_70: StringConstructor;
796
+ export { type_70 as type };
797
+ const required_15: boolean;
798
+ export { required_15 as required };
799
+ }
800
+ export namespace bgcBehind {
801
+ const type_71: StringConstructor;
802
+ export { type_71 as type };
803
+ const required_16: boolean;
804
+ export { required_16 as required };
805
+ }
806
+ export namespace aniTime {
807
+ const type_72: NumberConstructor;
808
+ export { type_72 as type };
809
+ const _default_36: number;
810
+ export { _default_36 as default };
811
+ }
812
+ export namespace progress {
813
+ const type_73: NumberConstructor;
814
+ export { type_73 as type };
815
+ const required_17: boolean;
816
+ export { required_17 as required };
817
+ }
818
+ export namespace isCanvas {
819
+ const type_74: BooleanConstructor;
820
+ export { type_74 as type };
821
+ const _default_37: boolean;
822
+ export { _default_37 as default };
823
+ }
824
+ }
825
+ export { props_13 as props };
826
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
827
+ [key: string]: any;
828
+ }>;
829
+ }
830
+ declare const _JsvQrcode$1: any;
831
+ declare namespace _sfc_main$8 {
832
+ const __name_17: string;
833
+ export { __name_17 as __name };
834
+ export namespace props_14 {
835
+ export namespace style_5 {
836
+ const type_75: ObjectConstructor;
837
+ export { type_75 as type };
838
+ function _default_38(): {};
839
+ export { _default_38 as default };
840
+ }
841
+ export { style_5 as style };
842
+ export namespace backgroundUrl {
843
+ const type_76: StringConstructor;
844
+ export { type_76 as type };
845
+ const required_18: boolean;
846
+ export { required_18 as required };
847
+ }
848
+ export namespace foregroundUrl {
849
+ const type_77: StringConstructor;
850
+ export { type_77 as type };
851
+ const required_19: boolean;
852
+ export { required_19 as required };
853
+ }
854
+ export namespace data_1 {
855
+ const type_78: ArrayConstructor;
856
+ export { type_78 as type };
857
+ const required_20: boolean;
858
+ export { required_20 as required };
859
+ function _default_39(): import("vue").Ref<{
860
+ title: string;
861
+ value: number;
862
+ }[]>;
863
+ export { _default_39 as default };
864
+ }
865
+ export { data_1 as data };
866
+ export namespace fontSize {
867
+ const type_79: NumberConstructor;
868
+ export { type_79 as type };
869
+ const required_21: boolean;
870
+ export { required_21 as required };
871
+ const _default_40: number;
872
+ export { _default_40 as default };
873
+ }
874
+ export namespace fontColor {
875
+ const type_80: StringConstructor;
876
+ export { type_80 as type };
877
+ const _default_41: string;
878
+ export { _default_41 as default };
879
+ }
880
+ export namespace radius_2 {
881
+ const type_81: NumberConstructor;
882
+ export { type_81 as type };
883
+ const required_22: boolean;
884
+ export { required_22 as required };
885
+ }
886
+ export { radius_2 as radius };
887
+ export namespace extendOffset {
888
+ const type_82: NumberConstructor;
889
+ export { type_82 as type };
890
+ const required_23: boolean;
891
+ export { required_23 as required };
892
+ }
893
+ }
894
+ export { props_14 as props };
895
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
896
+ [key: string]: any;
897
+ }>;
898
+ }
899
+ declare namespace _sfc_main$7 {
900
+ const __name_18: string;
901
+ export { __name_18 as __name };
902
+ export namespace props_15 {
903
+ export namespace width_5 {
904
+ const type_83: NumberConstructor;
905
+ export { type_83 as type };
906
+ }
907
+ export { width_5 as width };
908
+ export namespace height_5 {
909
+ const type_84: NumberConstructor;
910
+ export { type_84 as type };
911
+ }
912
+ export { height_5 as height };
913
+ export namespace left_6 {
914
+ const type_85: NumberConstructor;
915
+ export { type_85 as type };
916
+ const _default_42: number;
917
+ export { _default_42 as default };
918
+ }
919
+ export { left_6 as left };
920
+ export namespace top_6 {
921
+ const type_86: NumberConstructor;
922
+ export { type_86 as type };
923
+ const _default_43: number;
924
+ export { _default_43 as default };
925
+ }
926
+ export { top_6 as top };
927
+ export namespace enable_1 {
928
+ const type_87: BooleanConstructor;
929
+ export { type_87 as type };
930
+ const _default_44: boolean;
931
+ export { _default_44 as default };
932
+ }
933
+ export { enable_1 as enable };
934
+ }
935
+ export { props_15 as props };
936
+ export function setup(__props: any, { expose }: {
937
+ expose: any;
938
+ }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
939
+ [key: string]: any;
940
+ }>;
941
+ }
942
+ export namespace JsvRippleShape {
943
+ const CIRCLE: any;
944
+ const RECTANGLE: any;
945
+ }
946
+ export const JsvScaleTextBox: any;
947
+ declare namespace _sfc_main$5 {
948
+ const __name_19: string;
949
+ export { __name_19 as __name };
950
+ export namespace props_16 {
951
+ export namespace centerPosition_1 {
952
+ const type_88: ObjectConstructor;
953
+ export { type_88 as type };
954
+ const require_7: boolean;
955
+ export { require_7 as require };
956
+ }
957
+ export { centerPosition_1 as centerPosition };
958
+ export namespace radius_3 {
959
+ const type_89: NumberConstructor;
960
+ export { type_89 as type };
961
+ const require_8: boolean;
962
+ export { require_8 as require };
963
+ }
964
+ export { radius_3 as radius };
965
+ export namespace config {
966
+ const type_90: ObjectConstructor;
967
+ export { type_90 as type };
968
+ const require_9: boolean;
969
+ export { require_9 as require };
970
+ }
971
+ export namespace animationTime_1 {
972
+ const type_91: NumberConstructor;
973
+ export { type_91 as type };
974
+ const _default_45: number;
975
+ export { _default_45 as default };
976
+ }
977
+ export { animationTime_1 as animationTime };
978
+ export namespace extraTime {
979
+ const type_92: NumberConstructor;
980
+ export { type_92 as type };
981
+ const _default_46: number;
982
+ export { _default_46 as default };
983
+ }
984
+ }
985
+ export { props_16 as props };
986
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
987
+ [key: string]: any;
988
+ }>;
989
+ }
990
+ export class JsvSoundPool {
991
+ /**
992
+ * @param {int} max max streams
993
+ */
994
+ constructor(max: int);
995
+ _SoundPool: any;
996
+ _SoundIdMap: {} | undefined;
997
+ _StreamIdMap: Set<any> | undefined;
998
+ /**
999
+ * @description: 准备音频资源
1000
+ * @param {string} url 音频url
1001
+ * @param {string} netSetting http请求配置
1002
+ * @param {int} priority 优先级
1003
+ * @param {function} callback 资源加载完成回调 function(int state, AudioController controller) {}
1004
+ */
1005
+ request(url: string, netSetting: string, priority: int, callback: Function): void;
1006
+ /**
1007
+ * @description: 释放音频资源
1008
+ * @param {AudioController} controller 控制句柄
1009
+ */
1010
+ release(controller: AudioController): void;
1011
+ /**
1012
+ * @description: 销毁SoundPool
1013
+ */
1014
+ destroy(): void;
1015
+ /**
1016
+ * @description: 全部暂停
1017
+ */
1018
+ autoPause(): void;
1019
+ /**
1020
+ * @description: 全部开始
1021
+ */
1022
+ autoResume(): void;
1023
+ }
1024
+ declare const _JsvSpray$1: any;
1025
+ export const JsvSpriteAnim: any;
1026
+ declare namespace _sfc_main$n {
1027
+ const __name_20: string;
1028
+ export { __name_20 as __name };
1029
+ export namespace props_17 {
1030
+ const imageUrl_1: StringConstructor;
1031
+ export { imageUrl_1 as imageUrl };
1032
+ export const configUrl: StringConstructor;
1033
+ export const onConfigReady: FunctionConstructor;
1034
+ export namespace noNeedResource {
1035
+ const type_93: BooleanConstructor;
1036
+ export { type_93 as type };
1037
+ const _default_47: boolean;
1038
+ export { _default_47 as default };
1039
+ }
1040
+ }
1041
+ export { props_17 as props };
1042
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1043
+ [key: string]: any;
1044
+ }>;
1045
+ }
1046
+ export namespace JsvSpriteTools {
1047
+ /**
1048
+ * guessOriginSize
1049
+ * 从spriteInfo中挑出最大的一张,认为其是居中显示来估算精灵图原画布的尺寸,以此可填写imageOriginSize信息
1050
+ *
1051
+ * @param {object} spriteInfo 此Canvas画布的宽度
1052
+ * @return {object} 结构体{w:xxx, h:xxx}, 估算出的宽和高
1053
+ */
1054
+ function guessOriginSize(spriteInfo: object): object;
1055
+ }
1056
+ export class JsvStyleClass {
1057
+ constructor(styles_define: any);
1058
+ _Name: string | null;
1059
+ _Styles: any;
1060
+ _StyleGroup: any;
1061
+ _JsvInnerAttach: any;
1062
+ reset(styles_define: any): void;
1063
+ getName(): string | null;
1064
+ recycle(): void;
1065
+ _UpdateInner(styles_define: any): void;
1066
+ _RecycleInner(): void;
1067
+ classType(): null;
1068
+ getStyles(): any;
1069
+ getAttach(): any;
1070
+ updateAttach(new_attach: any): void;
1071
+ }
1072
+ /*
1073
+ * 【模块 export 内容】
1074
+ * JsvStyleSheetsDeclarer: 动态和删除全局的 CssStyle
1075
+ * 接口:
1076
+ * DeclareClass(className:string, styleProperties:object) 新加全局Class
1077
+ * className: 定义的class的名称, 为了规避全局重名,建议用'-'进行区域区分,例如主界面叫 main-xxxx, 详情页用 detail-xxxx
1078
+ * styleProperties: 具体的style定义的对象,内部的名字采用驼峰规范
1079
+ *
1080
+ * UndeclareClass(className:string) 删除全局Class
1081
+ * className: 通过 DeclareClass 声明的出来的动态className
1082
+ */
1083
+ export class JsvStyleSheetsDeclarer {
1084
+ static DeclareClass(className: any, styleProperties: any): void;
1085
+ static UndeclareClass(className: any): void;
1086
+ }
1087
+ export const JsvSwiper: any;
1088
+ declare namespace _sfc_main$k {
1089
+ const __name_21: string;
1090
+ export { __name_21 as __name };
1091
+ export namespace props_18 {
1092
+ export namespace dispNumber {
1093
+ const type_94: NumberConstructor;
1094
+ export { type_94 as type };
1095
+ const require_10: boolean;
1096
+ export { require_10 as require };
1097
+ }
1098
+ export namespace initIndex {
1099
+ const type_95: NumberConstructor;
1100
+ export { type_95 as type };
1101
+ }
1102
+ export namespace layoutInfo {
1103
+ const type_96: ObjectConstructor;
1104
+ export { type_96 as type };
1105
+ const require_11: boolean;
1106
+ export { require_11 as require };
1107
+ }
1108
+ export namespace duration {
1109
+ const type_97: NumberConstructor;
1110
+ export { type_97 as type };
1111
+ const require_12: boolean;
1112
+ export { require_12 as require };
1113
+ }
1114
+ export namespace sideScale {
1115
+ const type_98: NumberConstructor;
1116
+ export { type_98 as type };
1117
+ const require_13: boolean;
1118
+ export { require_13 as require };
1119
+ }
1120
+ export namespace name_2 {
1121
+ const type_99: StringConstructor;
1122
+ export { type_99 as type };
1123
+ const require_14: boolean;
1124
+ export { require_14 as require };
1125
+ }
1126
+ export { name_2 as name };
1127
+ export namespace ItemArray {
1128
+ const type_100: ArrayConstructor;
1129
+ export { type_100 as type };
1130
+ const require_15: boolean;
1131
+ export { require_15 as require };
1132
+ }
1133
+ export namespace initItemStyle {
1134
+ const type_101: ObjectConstructor;
1135
+ export { type_101 as type };
1136
+ const require_16: boolean;
1137
+ export { require_16 as require };
1138
+ }
1139
+ export namespace onFocus_1 {
1140
+ const type_102: FunctionConstructor;
1141
+ export { type_102 as type };
1142
+ }
1143
+ export { onFocus_1 as onFocus };
1144
+ export namespace onBlur_1 {
1145
+ const type_103: FunctionConstructor;
1146
+ export { type_103 as type };
1147
+ }
1148
+ export { onBlur_1 as onBlur };
1149
+ export namespace onClick {
1150
+ const type_104: FunctionConstructor;
1151
+ export { type_104 as type };
1152
+ }
1153
+ export namespace onChange {
1154
+ const type_105: FunctionConstructor;
1155
+ export { type_105 as type };
1156
+ }
1157
+ }
1158
+ export { props_18 as props };
1159
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1160
+ [key: string]: any;
1161
+ }>;
1162
+ }
1163
+ declare namespace _sfc_main$9 {
1164
+ const __name_22: string;
1165
+ export { __name_22 as __name };
1166
+ export namespace props_19 {
1167
+ const style_6: ObjectConstructor;
1168
+ export { style_6 as style };
1169
+ export namespace verticalAlign {
1170
+ const type_106: StringConstructor;
1171
+ export { type_106 as type };
1172
+ const _default_48: string;
1173
+ export { _default_48 as default };
1174
+ }
1175
+ export namespace lineAlign {
1176
+ const type_107: StringConstructor;
1177
+ export { type_107 as type };
1178
+ const _default_49: string;
1179
+ export { _default_49 as default };
1180
+ }
1181
+ export const enableLatex: BooleanConstructor;
1182
+ export const className: StringConstructor;
1183
+ export namespace textDirection {
1184
+ const type_108: StringConstructor;
1185
+ export { type_108 as type };
1186
+ const _default_50: string;
1187
+ export { _default_50 as default };
1188
+ }
1189
+ }
1190
+ export { props_19 as props };
1191
+ export function setup(__props: any): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1192
+ [key: string]: any;
1193
+ }>;
1194
+ }
1195
+ export class JsvTextStyleClass extends JsvStyleClass {
1196
+ jsvTextAttributes: {
1197
+ jsv_text_line_align: string;
1198
+ jsv_text_vertical_align: string;
1199
+ };
1200
+ setVerticalAlign(new_align: any): void;
1201
+ setLineAlign(new_align: any): void;
1202
+ getVerticalAlign(): string;
1203
+ getLineAlign(): string;
1204
+ classType(): string;
1205
+ }
1206
+ declare const _JsvTextureAnim$1: any;
1207
+ declare namespace sJsvTextureConst {
1208
+ const LEFT: number;
1209
+ const TOP: number;
1210
+ const RIGHT: number;
1211
+ const BOTTOM: number;
1212
+ }
1213
+ declare namespace sTextureStoreApi {
1214
+ function canvasTexture(width: int, height: int, baseName: string | null): CanvasTexture;
1215
+ function deleteTexture(storeName: string): void;
1216
+ }
1217
+ export namespace JsvVisibleSensor {
1218
+ const __name_23: string;
1219
+ export { __name_23 as __name };
1220
+ export namespace props_20 {
1221
+ export const horizonShown: NumberConstructor;
1222
+ export const verticalShown: NumberConstructor;
1223
+ export const container: ObjectConstructor;
1224
+ export const callback: FunctionConstructor;
1225
+ export namespace left_7 {
1226
+ const type_109: NumberConstructor;
1227
+ export { type_109 as type };
1228
+ const _default_51: number;
1229
+ export { _default_51 as default };
1230
+ }
1231
+ export { left_7 as left };
1232
+ export namespace top_7 {
1233
+ const type_110: NumberConstructor;
1234
+ export { type_110 as type };
1235
+ const _default_52: number;
1236
+ export { _default_52 as default };
1237
+ }
1238
+ export { top_7 as top };
1239
+ export namespace width_6 {
1240
+ const type_111: NumberConstructor;
1241
+ export { type_111 as type };
1242
+ const require_17: boolean;
1243
+ export { require_17 as require };
1244
+ }
1245
+ export { width_6 as width };
1246
+ export namespace height_6 {
1247
+ const type_112: NumberConstructor;
1248
+ export { type_112 as type };
1249
+ const require_18: boolean;
1250
+ export { require_18 as require };
1251
+ }
1252
+ export { height_6 as height };
1253
+ export namespace enable_2 {
1254
+ const type_113: BooleanConstructor;
1255
+ export { type_113 as type };
1256
+ const _default_53: boolean;
1257
+ export { _default_53 as default };
1258
+ }
1259
+ export { enable_2 as enable };
1260
+ }
1261
+ export { props_20 as props };
1262
+ export function setup(__props: any, { expose }: {
1263
+ expose: any;
1264
+ }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1265
+ [key: string]: any;
1266
+ }>;
1267
+ }
1268
+ export class LineType extends UpdateType {
1269
+ constructor(start: any, end: any);
1270
+ start: any;
1271
+ end: any;
1272
+ }
1273
+ declare namespace _sfc_main$F {
1274
+ const __name_24: string;
1275
+ export { __name_24 as __name };
1276
+ export namespace props_21 {
1277
+ export namespace padding {
1278
+ const type_114: ObjectConstructor;
1279
+ export { type_114 as type };
1280
+ function _default(): {
1281
+ top: number;
1282
+ left: number;
1283
+ right: number;
1284
+ bottom: number;
1285
+ };
1286
+ export { _default as default };
1287
+ }
1288
+ export namespace direction {
1289
+ const type_115: SymbolConstructor;
1290
+ export { type_115 as type };
1291
+ export { HORIZONTAL as default };
1292
+ }
1293
+ export namespace height_7 {
1294
+ const type_116: NumberConstructor;
1295
+ export { type_116 as type };
1296
+ const required_24: boolean;
1297
+ export { required_24 as required };
1298
+ }
1299
+ export { height_7 as height };
1300
+ export namespace width_7 {
1301
+ const type_117: NumberConstructor;
1302
+ export { type_117 as type };
1303
+ const required_25: boolean;
1304
+ export { required_25 as required };
1305
+ }
1306
+ export { width_7 as width };
1307
+ export namespace onEdge_1 {
1308
+ const type_118: FunctionConstructor;
1309
+ export { type_118 as type };
1310
+ const _default_54: null;
1311
+ export { _default_54 as default };
1312
+ }
1313
+ export { onEdge_1 as onEdge };
1314
+ export namespace onFocus_2 {
1315
+ const type_119: FunctionConstructor;
1316
+ export { type_119 as type };
1317
+ const _default_55: null;
1318
+ export { _default_55 as default };
1319
+ }
1320
+ export { onFocus_2 as onFocus };
1321
+ export namespace onBlur_2 {
1322
+ const type_120: FunctionConstructor;
1323
+ export { type_120 as type };
1324
+ const _default_56: null;
1325
+ export { _default_56 as default };
1326
+ }
1327
+ export { onBlur_2 as onBlur };
1328
+ export namespace loadAll {
1329
+ const type_121: BooleanConstructor;
1330
+ export { type_121 as type };
1331
+ const _default_57: boolean;
1332
+ export { _default_57 as default };
1333
+ }
1334
+ export namespace flingPageWidth {
1335
+ const type_122: NumberConstructor;
1336
+ export { type_122 as type };
1337
+ const _default_58: number;
1338
+ export { _default_58 as default };
1339
+ }
1340
+ export namespace flingPageEdge {
1341
+ const type_123: NumberConstructor;
1342
+ export { type_123 as type };
1343
+ const _default_59: number;
1344
+ export { _default_59 as default };
1345
+ }
1346
+ export namespace measures {
1347
+ const type_124: FunctionConstructor;
1348
+ export { type_124 as type };
1349
+ const required_26: boolean;
1350
+ export { required_26 as required };
1351
+ }
1352
+ export namespace initFocusId {
1353
+ const type_125: NumberConstructor;
1354
+ export { type_125 as type };
1355
+ const _default_60: number;
1356
+ export { _default_60 as default };
1357
+ }
1358
+ export namespace data_2 {
1359
+ const type_126: ArrayConstructor;
1360
+ export { type_126 as type };
1361
+ }
1362
+ export { data_2 as data };
1363
+ export namespace left_8 {
1364
+ const type_127: NumberConstructor;
1365
+ export { type_127 as type };
1366
+ const _default_61: number;
1367
+ export { _default_61 as default };
1368
+ }
1369
+ export { left_8 as left };
1370
+ export namespace top_8 {
1371
+ const type_128: NumberConstructor;
1372
+ export { type_128 as type };
1373
+ const _default_62: number;
1374
+ export { _default_62 as default };
1375
+ }
1376
+ export { top_8 as top };
1377
+ export namespace name_3 {
1378
+ const type_129: StringConstructor;
1379
+ export { type_129 as type };
1380
+ }
1381
+ export { name_3 as name };
1382
+ export namespace supportHistoryPath {
1383
+ const type_130: BooleanConstructor;
1384
+ export { type_130 as type };
1385
+ const _default_63: boolean;
1386
+ export { _default_63 as default };
1387
+ }
1388
+ export namespace itemConfig {
1389
+ const type_131: FunctionConstructor;
1390
+ export { type_131 as type };
1391
+ }
1392
+ export namespace onFocusChange {
1393
+ const type_132: FunctionConstructor;
1394
+ export { type_132 as type };
1395
+ }
1396
+ export namespace slideSetting {
1397
+ export { SlideSetting as type };
1398
+ function _default(): SeamlessSlide;
1399
+ export { _default as default };
1400
+ }
1401
+ export namespace layoutType {
1402
+ const type_133: StringConstructor;
1403
+ export { type_133 as type };
1404
+ const _default_64: string;
1405
+ export { _default_64 as default };
1406
+ }
1407
+ export namespace enableItemRenderBreak {
1408
+ const type_134: BooleanConstructor;
1409
+ export { type_134 as type };
1410
+ const _default_65: boolean;
1411
+ export { _default_65 as default };
1412
+ }
1413
+ export namespace provideData_1 {
1414
+ const type_135: FunctionConstructor;
1415
+ export { type_135 as type };
1416
+ }
1417
+ export { provideData_1 as provideData };
1418
+ export namespace placeHolderSetting {
1419
+ const type_136: ObjectConstructor;
1420
+ export { type_136 as type };
1421
+ function _default(): {
1422
+ backgroundColor: string;
1423
+ };
1424
+ export { _default as default };
1425
+ }
1426
+ export namespace sendFocusRectEvent {
1427
+ const type_137: BooleanConstructor;
1428
+ export { type_137 as type };
1429
+ const _default_66: boolean;
1430
+ export { _default_66 as default };
1431
+ }
1432
+ export namespace keepTraceRange {
1433
+ const type_138: NumberConstructor;
1434
+ export { type_138 as type };
1435
+ const _default_67: number;
1436
+ export { _default_67 as default };
1437
+ }
1438
+ export namespace onScroll {
1439
+ const type_139: FunctionConstructor;
1440
+ export { type_139 as type };
1441
+ }
1442
+ export namespace focusMoveType {
1443
+ const type_140: NumberConstructor;
1444
+ export { type_140 as type };
1445
+ const _default_68: number;
1446
+ export { _default_68 as default };
1447
+ }
1448
+ export namespace disableClip {
1449
+ const type_141: BooleanConstructor;
1450
+ export { type_141 as type };
1451
+ const _default_69: boolean;
1452
+ export { _default_69 as default };
1453
+ }
1454
+ export namespace onFocusRectChange {
1455
+ const type_142: FunctionConstructor;
1456
+ export { type_142 as type };
1457
+ }
1458
+ export namespace onAllItemResizeDone {
1459
+ const type_143: FunctionConstructor;
1460
+ export { type_143 as type };
1461
+ }
1462
+ export namespace touchFlag {
1463
+ const type_144: NumberConstructor;
1464
+ export { type_144 as type };
1465
+ const _default_70: number;
1466
+ export { _default_70 as default };
1467
+ }
1468
+ }
1469
+ export { props_21 as props };
1470
+ export function setup(__props: any, { expose }: {
1471
+ expose: any;
1472
+ }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1473
+ [key: string]: any;
1474
+ }>;
1475
+ }
1476
+ import { L as LoopType } from "./jsview-vue-common.mjs";
1477
+ export namespace METRO_WIDGET {
1478
+ const SLIDE: number;
1479
+ const CHILD_SLIDE_EVENT: number;
1480
+ const ON_KEY_DOWN: number;
1481
+ namespace ITEM_RESIZE {
1482
+ const ANCHOR: number;
1483
+ const WIDGET_SET: number;
1484
+ const CUSTOMER_SET: number;
1485
+ }
1486
+ namespace ITEM_SLIDE {
1487
+ const DISABLE: number;
1488
+ const ACT_ITEM_FOCUS: number;
1489
+ const ACT_FOCUS_RECT_EVENT: number;
1490
+ }
1491
+ }
1492
+ declare namespace _sfc_main$G {
1493
+ const __name_25: string;
1494
+ export { __name_25 as __name };
1495
+ export namespace props_22 {
1496
+ export namespace padding_1 {
1497
+ const type_145: ObjectConstructor;
1498
+ export { type_145 as type };
1499
+ function _default(): {
1500
+ top: number;
1501
+ left: number;
1502
+ right: number;
1503
+ bottom: number;
1504
+ };
1505
+ export { _default as default };
1506
+ }
1507
+ export { padding_1 as padding };
1508
+ export namespace direction_1 {
1509
+ const type_146: SymbolConstructor;
1510
+ export { type_146 as type };
1511
+ export { HORIZONTAL as default };
1512
+ }
1513
+ export { direction_1 as direction };
1514
+ export namespace height_8 {
1515
+ const type_147: NumberConstructor;
1516
+ export { type_147 as type };
1517
+ const required_27: boolean;
1518
+ export { required_27 as required };
1519
+ }
1520
+ export { height_8 as height };
1521
+ export namespace width_8 {
1522
+ const type_148: NumberConstructor;
1523
+ export { type_148 as type };
1524
+ const required_28: boolean;
1525
+ export { required_28 as required };
1526
+ }
1527
+ export { width_8 as width };
1528
+ export namespace onEdge_2 {
1529
+ const type_149: FunctionConstructor;
1530
+ export { type_149 as type };
1531
+ const _default_71: null;
1532
+ export { _default_71 as default };
1533
+ }
1534
+ export { onEdge_2 as onEdge };
1535
+ export namespace onFocus_3 {
1536
+ const type_150: FunctionConstructor;
1537
+ export { type_150 as type };
1538
+ const _default_72: null;
1539
+ export { _default_72 as default };
1540
+ }
1541
+ export { onFocus_3 as onFocus };
1542
+ export namespace onBlur_3 {
1543
+ const type_151: FunctionConstructor;
1544
+ export { type_151 as type };
1545
+ const _default_73: null;
1546
+ export { _default_73 as default };
1547
+ }
1548
+ export { onBlur_3 as onBlur };
1549
+ export namespace loadAll_1 {
1550
+ const type_152: BooleanConstructor;
1551
+ export { type_152 as type };
1552
+ const _default_74: boolean;
1553
+ export { _default_74 as default };
1554
+ }
1555
+ export { loadAll_1 as loadAll };
1556
+ export namespace flingPageWidth_1 {
1557
+ const type_153: NumberConstructor;
1558
+ export { type_153 as type };
1559
+ const _default_75: number;
1560
+ export { _default_75 as default };
1561
+ }
1562
+ export { flingPageWidth_1 as flingPageWidth };
1563
+ export namespace flingPageEdge_1 {
1564
+ const type_154: NumberConstructor;
1565
+ export { type_154 as type };
1566
+ const _default_76: number;
1567
+ export { _default_76 as default };
1568
+ }
1569
+ export { flingPageEdge_1 as flingPageEdge };
1570
+ export namespace measures_1 {
1571
+ const type_155: FunctionConstructor;
1572
+ export { type_155 as type };
1573
+ const required_29: boolean;
1574
+ export { required_29 as required };
1575
+ }
1576
+ export { measures_1 as measures };
1577
+ export namespace initFocusId_1 {
1578
+ const type_156: NumberConstructor;
1579
+ export { type_156 as type };
1580
+ const _default_77: number;
1581
+ export { _default_77 as default };
1582
+ }
1583
+ export { initFocusId_1 as initFocusId };
1584
+ export namespace data_3 {
1585
+ const type_157: ArrayConstructor;
1586
+ export { type_157 as type };
1587
+ }
1588
+ export { data_3 as data };
1589
+ export namespace left_9 {
1590
+ const type_158: NumberConstructor;
1591
+ export { type_158 as type };
1592
+ const _default_78: number;
1593
+ export { _default_78 as default };
1594
+ }
1595
+ export { left_9 as left };
1596
+ export namespace top_9 {
1597
+ const type_159: NumberConstructor;
1598
+ export { type_159 as type };
1599
+ const _default_79: number;
1600
+ export { _default_79 as default };
1601
+ }
1602
+ export { top_9 as top };
1603
+ export namespace name_4 {
1604
+ const type_160: StringConstructor;
1605
+ export { type_160 as type };
1606
+ }
1607
+ export { name_4 as name };
1608
+ export namespace supportHistoryPath_1 {
1609
+ const type_161: BooleanConstructor;
1610
+ export { type_161 as type };
1611
+ const _default_80: boolean;
1612
+ export { _default_80 as default };
1613
+ }
1614
+ export { supportHistoryPath_1 as supportHistoryPath };
1615
+ export namespace itemConfig_1 {
1616
+ const type_162: FunctionConstructor;
1617
+ export { type_162 as type };
1618
+ }
1619
+ export { itemConfig_1 as itemConfig };
1620
+ export namespace onFocusChange_1 {
1621
+ const type_163: FunctionConstructor;
1622
+ export { type_163 as type };
1623
+ }
1624
+ export { onFocusChange_1 as onFocusChange };
1625
+ export namespace slideSetting_1 {
1626
+ export { SlideSetting as type };
1627
+ function _default(): SeamlessSlide;
1628
+ export { _default as default };
1629
+ }
1630
+ export { slideSetting_1 as slideSetting };
1631
+ export namespace layoutType_1 {
1632
+ const type_164: StringConstructor;
1633
+ export { type_164 as type };
1634
+ const _default_81: string;
1635
+ export { _default_81 as default };
1636
+ }
1637
+ export { layoutType_1 as layoutType };
1638
+ export namespace enableItemRenderBreak_1 {
1639
+ const type_165: BooleanConstructor;
1640
+ export { type_165 as type };
1641
+ const _default_82: boolean;
1642
+ export { _default_82 as default };
1643
+ }
1644
+ export { enableItemRenderBreak_1 as enableItemRenderBreak };
1645
+ export namespace provideData_2 {
1646
+ const type_166: FunctionConstructor;
1647
+ export { type_166 as type };
1648
+ }
1649
+ export { provideData_2 as provideData };
1650
+ export namespace placeHolderSetting_1 {
1651
+ const type_167: ObjectConstructor;
1652
+ export { type_167 as type };
1653
+ function _default(): {
1654
+ backgroundColor: string;
1655
+ };
1656
+ export { _default as default };
1657
+ }
1658
+ export { placeHolderSetting_1 as placeHolderSetting };
1659
+ export namespace sendFocusRectEvent_1 {
1660
+ const type_168: BooleanConstructor;
1661
+ export { type_168 as type };
1662
+ const _default_83: boolean;
1663
+ export { _default_83 as default };
1664
+ }
1665
+ export { sendFocusRectEvent_1 as sendFocusRectEvent };
1666
+ export namespace keepTraceRange_1 {
1667
+ const type_169: NumberConstructor;
1668
+ export { type_169 as type };
1669
+ const _default_84: number;
1670
+ export { _default_84 as default };
1671
+ }
1672
+ export { keepTraceRange_1 as keepTraceRange };
1673
+ export namespace onScroll_1 {
1674
+ const type_170: FunctionConstructor;
1675
+ export { type_170 as type };
1676
+ }
1677
+ export { onScroll_1 as onScroll };
1678
+ export namespace focusMoveType_1 {
1679
+ const type_171: NumberConstructor;
1680
+ export { type_171 as type };
1681
+ const _default_85: number;
1682
+ export { _default_85 as default };
1683
+ }
1684
+ export { focusMoveType_1 as focusMoveType };
1685
+ export namespace disableClip_1 {
1686
+ const type_172: BooleanConstructor;
1687
+ export { type_172 as type };
1688
+ const _default_86: boolean;
1689
+ export { _default_86 as default };
1690
+ }
1691
+ export { disableClip_1 as disableClip };
1692
+ export namespace onFocusRectChange_1 {
1693
+ const type_173: FunctionConstructor;
1694
+ export { type_173 as type };
1695
+ }
1696
+ export { onFocusRectChange_1 as onFocusRectChange };
1697
+ export namespace onAllItemResizeDone_1 {
1698
+ const type_174: FunctionConstructor;
1699
+ export { type_174 as type };
1700
+ }
1701
+ export { onAllItemResizeDone_1 as onAllItemResizeDone };
1702
+ export namespace touchFlag_1 {
1703
+ const type_175: NumberConstructor;
1704
+ export { type_175 as type };
1705
+ const _default_87: number;
1706
+ export { _default_87 as default };
1707
+ }
1708
+ export { touchFlag_1 as touchFlag };
1709
+ }
1710
+ export { props_22 as props };
1711
+ export function setup(__props: any, { expose }: {
1712
+ expose: any;
1713
+ }): (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1714
+ [key: string]: any;
1715
+ }>;
1716
+ }
1717
+ export class PageType extends UpdateType {
1718
+ constructor();
1719
+ }
1720
+ export const RENDER_ITEM_BREAK_KEY: "__QcodeJsviewMetroWidgetSlot";
1721
+ declare class Dispatcher extends BaseDispatcher {
1722
+ }
1723
+ declare namespace Dispatcher {
1724
+ namespace Type {
1725
+ const setFocusId: symbol;
1726
+ const updateItem: symbol;
1727
+ const slideToItem: symbol;
1728
+ const setEnterFocusId: symbol;
1729
+ const setEnterFocusRect: symbol;
1730
+ }
1731
+ }
1732
+ export class SeamlessSlide extends SlideSetting {
1733
+ constructor({ startPercent, endPercent, speed, duration, easing, fixFirstPage, boundaryProtect }?: {
1734
+ startPercent?: number | undefined;
1735
+ endPercent?: number | undefined;
1736
+ speed?: number | undefined;
1737
+ duration?: null | undefined;
1738
+ easing?: string | undefined;
1739
+ fixFirstPage?: boolean | undefined;
1740
+ boundaryProtect?: number | undefined;
1741
+ });
1742
+ StartPercent: number;
1743
+ EndPercent: number;
1744
+ FixFirstPage: boolean;
1745
+ }
1746
+ export class SlideSetting {
1747
+ static Type: {
1748
+ WHOLE_PAGE: number;
1749
+ SEAMLESS: number;
1750
+ FIX_POSITION: number;
1751
+ };
1752
+ static START_PROTECT: number;
1753
+ static END_PROTECT: number;
1754
+ constructor(type: any, speed: any, duration: any, easing: any, boundaryProtect: any);
1755
+ Type: any;
1756
+ Speed: null;
1757
+ Easing: any;
1758
+ BoundaryProtect: any;
1759
+ Duration: null;
1760
+ }
1761
+ export namespace SlideStyle {
1762
+ const seamLess: symbol;
1763
+ const wholePage: symbol;
1764
+ const seamlessFixedId: symbol;
1765
+ const startBoundaryProtect: number;
1766
+ const endBoundaryProtect: number;
1767
+ }
1768
+ export class SpriteController {
1769
+ _SpriteImage: any;
1770
+ Used: boolean;
1771
+ _setSpriteImg(sprite: any): void;
1772
+ start(end_frame: any, duration: any): void;
1773
+ stop(end_frame: any): void;
1774
+ /**
1775
+ * blink() 对精灵图做闪烁动画(忽隐忽现)
1776
+ * 参数说明:
1777
+ * alpha {Array} 透明度变化
1778
+ * duration {int} 时长(秒)
1779
+ * delay {int} 时长(秒)
1780
+ * ease {string}
1781
+ * repeat {int} 动画完成后是否应该自动重新启动?如果要使其永久运行,请设置为-1
1782
+ */
1783
+ blink(alpha: any, duration: any, ease: any, delay: any, repeat: any): void;
1784
+ }
1785
+ export namespace TexAlignAnchor {
1786
+ const LEFT_TOP: number;
1787
+ const CENTER_TOP: number;
1788
+ const RIGHT_TOP: number;
1789
+ const LEFT_MIDDLE: number;
1790
+ const CENTER: number;
1791
+ const RIGHT_MIDDLE: number;
1792
+ const LEFT_BOTTOM: number;
1793
+ const CENTER_BOTTOM: number;
1794
+ const RIGHT_BOTTOM: number;
1795
+ }
1796
+ export namespace TextTools {
1797
+ export { getOneLineTextDrawWidth };
1798
+ export { getTextWidth };
1799
+ export { isRtl };
1800
+ }
1801
+ export class TextureInstantType {
1802
+ static Auto: any;
1803
+ static Sync: any;
1804
+ static Async: any;
1805
+ }
1806
+ export const VERTICAL: unique symbol;
1807
+ export class WholePageSlide extends SlideSetting {
1808
+ constructor({ speed, easing, boundaryProtect, duration }?: {
1809
+ speed?: number | undefined;
1810
+ easing?: string | undefined;
1811
+ boundaryProtect?: number | undefined;
1812
+ duration?: null | undefined;
1813
+ });
1814
+ }
1815
+ export function buildDownloadInfo(url: any, net_setting: null | undefined, get_image_size: any): {
1816
+ url: any;
1817
+ netSetting: null;
1818
+ getImageSize: any;
1819
+ magicToken: string;
1820
+ };
1821
+ export function buildPreloadInfo(url: any, width: number | undefined, height: number | undefined, color_type: string | undefined, net_setting: null | undefined, is_poster_img: any): {
1822
+ url: any;
1823
+ width: number;
1824
+ height: number;
1825
+ colorType: string;
1826
+ netSetting: null;
1827
+ magicToken: string;
1828
+ isPosterImage: any;
1829
+ };
1830
+ export function combinedStyles(style_array: any, extract_all: any): {
1831
+ combinedClass: string;
1832
+ combinedStyle: {};
1833
+ };
1834
+ /*
1835
+ * createImpactAutoFroze 参数说明:
1836
+ * element_auto_froze_pre_impact (Array<Element>) 关联运动元素的列表,这些元素碰撞前一帧停止运动
1837
+ * element_auto_froze_on_impact (Array<Element>) 关联运动元素的列表,这些元素碰撞当前帧停止运动
1838
+ * 返回值:
1839
+ * Object 句柄,用于传输给 createImpactTracer,也用于 updateImpactAutoFroze 调整关联元素
1840
+ *
1841
+ * 【注意点】
1842
+ * 多个碰撞对可以共享同一个碰撞管理对象,并且建议共享同一个对象以提升效率
1843
+ * 该管理对象中的view的列表可以通过 updateImpactAutoFrozeHandler进行更新,
1844
+ * 更新后立刻在对所有的共享此管理对象的碰撞对中生效
1845
+ */
1846
+ export function createImpactAutoFroze(element_auto_froze_pre_impact: any, element_auto_froze_on_impact: any): any;
1847
+ /*
1848
+ * createImpactCallback 参数说明:
1849
+ * on_contact (function[]) 接受碰撞事件的回调
1850
+ * on_dis_contact (function[]) 接受物体分离事件的回调
1851
+ * 返回值:
1852
+ * Object 句柄,用于传输给 createImpactTracer
1853
+ */
1854
+ export function createImpactCallback(on_contact: any, on_dis_contact: any): any;
1855
+ /*
1856
+ * createImpactTracer 参数说明:
1857
+ * ele1 (Element) html element句柄,1号碰撞体
1858
+ * ele2 (Element) html element句柄,2号碰撞体
1859
+ * callback (Object) 由 createImpactCallback 创建的回调构造体句柄
1860
+ * auto_froze (Object) 由 createImpactAutoFroze 创建的碰撞即停构造体句柄
1861
+ * 返回值:
1862
+ * Object 句柄,提供 Recycle() 函数用于停止碰撞检测,需要再componentWillUnmount进行调用(清理)
1863
+ */
1864
+ export function createImpactTracer(ele1: any, ele2: any, callback: any, auto_froze: any): any;
1865
+ export function disableNativeViewListener(listenerId: any): void;
1866
+ export function enableNativeViewListener(nativeViewId: any, info: any): number;
1867
+ /*
1868
+ * 【模块 export 内容】
1869
+ * CssStyleSheet:面向对象类,CSS rule的操作器,用于添加和删除CssStyle,服务于JsvStyleClass
1870
+ * 接口:
1871
+ * insertRule {String} 将传入的Css rule对象插入到CSS列表中,
1872
+ * 请保证不要和其他css rule重名,重名场合以最后一个为准
1873
+ * removeRule {String} 从CSS列表中删除指定名字的css rule
1874
+ * removeMultiRules {String[]} 从CSS列表中删除复数个css rule
1875
+ * getCssStyleSheet: 函数,获取 _StyleSheet 实例的函数,可接受一个参数anchor_tag,用来定位CSS rule的群组
1876
+ */
1877
+ export function getCssStyleGroup(): null;
1878
+ /*
1879
+ * 【模块 export 内容】
1880
+ * getKeyFramesGroup: 函数,获取KeyFrame操作类 KeyFrameStyleSheet
1881
+ * KeyFrameStyleSheet:面向对象类,KeyFrames CSS rule的操作类,用于添加和删除KeyFrame
1882
+ * 功能函数:(参数说明见函数本体)
1883
+ * insertRule(key_frame_string) 动态添加keyFrame
1884
+ * removeRule(name) 动态删除keyFrame
1885
+ * removeMultiRules(names_array) 批量动态删除keyFrame
1886
+ * hasRule(name) 查询KeyFrame是否存在
1887
+ */
1888
+ /*
1889
+ * getKeyFramesGroup 参数说明:
1890
+ * anchor_tag (String) keyFrame的名称,可以不设置或者为undefined
1891
+ * 返回值:
1892
+ * KeyFrameStyleSheet 以anchor_tag为锚点,找到对应的cssRule,以此cssRule创建出的KeyFrame管理句柄
1893
+ */
1894
+ export function getKeyFramesGroup(anchor_tag: any): any;
1895
+ export function getMeasureObj(width: any, height: any, focusable: any, hasSub: any): {
1896
+ width: any;
1897
+ height: any;
1898
+ focusable: any;
1899
+ hasSub: any;
1900
+ };
1901
+ export function getPositionRelativeToView(divElement: any, targetElement: any): {
1902
+ left: number;
1903
+ top: number;
1904
+ width: any;
1905
+ height: any;
1906
+ } | null;
1907
+ /*
1908
+ * 获取文字宽度, 一般用于测量文字宽度
1909
+ *
1910
+ * @param {string} text 文字
1911
+ * @param {object} style 文字的css style
1912
+ * @return {int} 文字宽度
1913
+ **/
1914
+ export function getTextWidth(text: any, style: any): any;
1915
+ export function globalLoadJsvAudioPlugin(listener: any): void;
1916
+ export function globalLoadJsvLatexPlugin(listener: any): void;
1917
+ declare namespace bridge {
1918
+ export { getMac };
1919
+ export { getWireMac };
1920
+ export { getWifiMac };
1921
+ export { getDeviceUUID };
1922
+ export { getAndroidId };
1923
+ export { openWindow };
1924
+ export { closePage };
1925
+ export { getStartParams };
1926
+ export { getSystemProperty };
1927
+ export { getInstalledApps };
1928
+ export { startNativeApp };
1929
+ export { sendNativeBroadcast };
1930
+ export { getDeviceInfo };
1931
+ export { getAppInfo };
1932
+ export { notifyPageLoadDone };
1933
+ export { notifyPageLoaded };
1934
+ export { hasFavouriteFunction };
1935
+ export { addFavourite };
1936
+ export { updateFavourite };
1937
+ export { removeFavourite };
1938
+ export { getFavourite };
1939
+ export { getFavouriteAll };
1940
+ export { setPopupInitSize };
1941
+ export { popupResizePosition };
1942
+ export { popupGainFocus };
1943
+ export { popupDiscardFocus };
1944
+ export { warmUpView };
1945
+ export { warmLoadView };
1946
+ export { closeWarmedView };
1947
+ export { preDownloadSdk };
1948
+ }
1949
+ export function jsvCreateFocusManager(): JsvFocusManager;
1950
+ export function jsvCreateHashHistory(base: any): JsvHashHistory;
1951
+ export function numberCheckSet(number: any): number;
1952
+ export function toHtmlBorderSet(): void;
1953
+ /*
1954
+ * imageWidth { int } // (必填)原图信息: 原图的宽度(由于正方形,宽高相同)
1955
+ * centerWidth { int } // (必填)原图信息: .9图的中心区域宽度(repeat区域)
1956
+ * imageDspWidth { int } // (选填)原图缩放后的显示宽度,计算方法:
1957
+ * 四角为90度圆弧时: imageDspWidth = 显示图形的圆弧半径 / 原图中圆弧的半径 * 原图宽度
1958
+ * 原图中圆弧半径 = (原图宽度 - borderOutset * 2) / 2
1959
+ * 四角为其他形状时,原图.9图的四角区域,缩放到要和显示图形重合后的宽度。
1960
+ * borderOutset { int } // (必填)原图信息: 图片边缘到中心内容区域边缘的距离, 快速计算: (原图宽度 - 原图中放内容宽度) / 2
1961
+ */
1962
+ export function toNinePatchForgeViewSet(imageWidth: any, centerWidth: any, imageDspWidth: any, borderOutset: any): {
1963
+ padding: {
1964
+ start: number;
1965
+ width: number;
1966
+ };
1967
+ repeat: {
1968
+ start: number;
1969
+ width: number;
1970
+ }[];
1971
+ imageDspSize: any;
1972
+ };
1973
+ /*
1974
+ * updateImpactAutoFroze 参数说明:
1975
+ * handler (Object) 由 createImpactAutoFroze 创建的句柄
1976
+ * element_auto_froze_pre_impact (Array<Element>) 关联运动元素的列表,这些元素碰撞前一帧停止运动
1977
+ * element_auto_froze_on_impact (Array<Element>) 关联运动元素的列表,这些元素碰撞当前帧停止运动
1978
+ * 返回值:
1979
+ * 无
1980
+ */
1981
+ export function updateImpactAutoFroze(handler: any, element_auto_froze_pre_impact: any, element_auto_froze_on_impact: any): void;
1982
+ export function urlCheckSet(origin_url: any): any;
1983
+ export function useFocusHub(withNameSpace: any): any;
1984
+ declare namespace ActEventDefine {
1985
+ const ActFinish: any;
1986
+ const SpeedRevertX: any;
1987
+ const SpeedRevertY: any;
1988
+ const ActReject: any;
1989
+ }
1990
+ declare namespace KeepFlags {
1991
+ const None: number;
1992
+ const X: number;
1993
+ const Y: number;
1994
+ const XY: number;
1995
+ }
1996
+ declare function newNexus(): NexusNode;
1997
+ declare class BridgeProxy {
1998
+ indicateHomePageLoadDone(): void;
1999
+ _GetBridge(): any;
2000
+ }
2001
+ declare class ActorControlBase {
2002
+ constructor(params_count: any);
2003
+ _Current: any[];
2004
+ _Target: any[];
2005
+ _ParameterCount: any;
2006
+ _StateIndex: number;
2007
+ _StateLocked: boolean;
2008
+ _StartSwitcher: boolean;
2009
+ _StartingParams: any;
2010
+ _PausedCallback: any;
2011
+ _EndCallback: any;
2012
+ _NextEndCallback: any;
2013
+ _Token: number;
2014
+ _SpriteView: any;
2015
+ start(start_params: any, end_callback: any): void;
2016
+ pause(paused_callback: any): void;
2017
+ startFpsTesting(): void;
2018
+ stopFpsTesting(): void;
2019
+ altStraightSpeedInner(newSpeedPerSecond: any, time: any): void;
2020
+ _WrapBuildAnimation(repeat_start_array: any, current_array: any, tos_array: any, start_params: any): void;
2021
+ _WrapAddExtraListener(listener: any, start_params: any): void;
2022
+ _WrapCallback(currents: any, callback: any, start_params: any): void;
2023
+ _WrapReCalculateCurrent(froms: any, tos: any, progress: any, start_params: any): void;
2024
+ _CallbackWithCatch(currents: any, callback: any, start_params: any): void;
2025
+ _StateMachineNext(): void;
2026
+ _StartAnimation(): true | undefined;
2027
+ _StopAnimation(): void;
2028
+ _OnPaused(froms: any, tos: any, progress: any, start_params: any): void;
2029
+ _SetView(jsv_view: any): void;
2030
+ }
2031
+ declare function alterModuleUrl(moduleName: any, newUrl: any): void;
2032
+ declare class JsvPreDownloaderInJsView extends JsvPreDownloaderBase {
2033
+ downloadInner(url: any, netSetting?: string, isImage?: boolean): Promise<any>;
2034
+ }
2035
+ declare class AudioController {
2036
+ constructor(soundPool: any, soundId: any, url: any);
2037
+ _SoundPool: any;
2038
+ _SoundId: any;
2039
+ _Url: any;
2040
+ _StreamId: number;
2041
+ _Rate: number;
2042
+ _Loop: number;
2043
+ _LeftVolume: number;
2044
+ _RightVolume: number;
2045
+ _Priority: number;
2046
+ /**
2047
+ * @description: 播放音频
2048
+ */
2049
+ play(): void;
2050
+ /**
2051
+ * @description: 暂停音频(Android4.0不支持)
2052
+ */
2053
+ pause(): void;
2054
+ /**
2055
+ * @description: 恢复播放音频(Android4.0不支持)
2056
+ */
2057
+ resume(): void;
2058
+ /**
2059
+ * @description: 停止音频(Android4.0不支持)
2060
+ */
2061
+ stop(): void;
2062
+ /**
2063
+ * @description: 设置播放速度
2064
+ * @param {float} rate 播放的倍率
2065
+ */
2066
+ setRate(rate: float): void;
2067
+ /**
2068
+ * @description: 设置音量
2069
+ * @param {float} leftVolume 左声道音量
2070
+ * @param {float} rightVolume 右声道音量
2071
+ */
2072
+ setVolume(leftVolume: float, rightVolume: float): void;
2073
+ /**
2074
+ * @description: 设置循环次数, 注意: 循环一次表示总共播两次
2075
+ * @param {int} loop 循环次数
2076
+ */
2077
+ setLoop(loop: int): void;
2078
+ /**
2079
+ * @description: 设置优先级
2080
+ * @param {int} priority 优先级
2081
+ */
2082
+ setPriority(priority: int): void;
2083
+ }
2084
+ declare class CanvasTexture extends TextureBase {
2085
+ /**
2086
+ * canvasTexture
2087
+ *
2088
+ * @param {int} width 此Canvas画布的宽度
2089
+ * @param {int} height 此Canvas画布的高度
2090
+ * @param {String|null} baseName 可选, 访问名的前缀信息
2091
+ */
2092
+ constructor(width: int, height: int, baseName: string | null);
2093
+ drawCommands: any[];
2094
+ commited: boolean;
2095
+ instantLoad: any;
2096
+ /**
2097
+ * clearCanvas
2098
+ * 清空canvas
2099
+ */
2100
+ clearCanvas(): void;
2101
+ /**
2102
+ * drawColor
2103
+ * 将整个Canvas绘制成指定颜色
2104
+ *
2105
+ * @param {String} color 颜色设定,例如rgba(red:0~255, green:0~255, blue:0~255, alpla:0~1.0), 或则 #AARRGGBB
2106
+ */
2107
+ drawColor(color: string): void;
2108
+ /**
2109
+ * customPath
2110
+ * 获得Path操作对象,
2111
+ * 在自定义绘制指令后,通过 stroke 或者 fill 来完成绘制
2112
+ *
2113
+ * @return {CustomPath}
2114
+ */
2115
+ customPath(): CustomPath;
2116
+ /**
2117
+ * rectPath
2118
+ * 获得RectPath操作对象,通过 stroke 或者 fill 来完成绘制
2119
+ *
2120
+ * @param {Number} left 矩形左上角left
2121
+ * @param {Number} top 矩形左上角top
2122
+ * @param {Number} right 矩形右下角right
2123
+ * @param {Number} bottom 矩形右下角bottom
2124
+ * @return {RectPath}
2125
+ */
2126
+ rectPath(left: number, top: number, right: number, bottom: number): RectPath;
2127
+ /**
2128
+ * circlePath
2129
+ * 获得CirclePath操作对象,通过 stroke 或者 fill 来完成绘制
2130
+ *
2131
+ * @param {Number} centerX 圆心x
2132
+ * @param {Number} centerY 圆心y
2133
+ * @param {Number} radius 圆半径
2134
+ * @return {CirclePath}
2135
+ */
2136
+ circlePath(centerX: number, centerY: number, radius: number): CirclePath;
2137
+ /**
2138
+ * drawLine
2139
+ * 绘制一条带有抗锯齿信息的直线
2140
+ *
2141
+ * @param {Number} fromX 绘制起点X
2142
+ * @param {Number} fromY 绘制起点Y
2143
+ * @param {Number} toX 绘制终点X
2144
+ * @param {Number} toY 绘制终点Y
2145
+ * @param {Number} lineWidth 线宽
2146
+ * @param {String} color 颜色设定,例如rgba(red:0~255, green:0~255, blue:0~255, alpla:0~1.0), 或则 #AARRGGBB
2147
+ */
2148
+ drawLine(fromX: number, fromY: number, toX: number, toY: number, lineWidth: number, color: string): void;
2149
+ /**
2150
+ * drawLinearGradientRect
2151
+ * 用渐变色填充一个整个Canvas区域
2152
+ * TODO: 后续如果有需求填充Canvas中子区域内容时,再加一个参数来指定填充区域
2153
+ *
2154
+ * @param {int} fromX 绘制起点X
2155
+ * @param {int} fromY 绘制起点Y
2156
+ * @param {int} toX 绘制终点X
2157
+ * @param {int} toY 绘制终点Y
2158
+ * @param {Array<String>} colorArray 颜色设定的数组
2159
+ * @param {Array<double>} stopsArray 与color数组个数相同,颜色基准点位置
2160
+ */
2161
+ drawLinearGradientRect(fromX: int, fromY: int, toX: int, toY: int, colorArray: Array<string>, stopsArray: Array<double>): void;
2162
+ /**
2163
+ * setAsyncLoad
2164
+ * texture异步加载,让界面不会卡顿
2165
+ *
2166
+ * @param {int} fromX 绘制起点X
2167
+ * @param {int} fromY 绘制起点Y
2168
+ * @param {int} toX 绘制终点X
2169
+ * @param {int} toY 绘制终点Y
2170
+ * @param {Array<String>} colorArray 颜色设定的数组
2171
+ * @param {Array<double>} stopsArray 与color数组个数相同,颜色基准点位置
2172
+ */
2173
+ setAsyncLoad(): void;
2174
+ textureRef: any;
2175
+ }
2176
+ declare class UpdateType {
2177
+ constructor(type: any);
2178
+ type: any;
2179
+ }
2180
+ /*
2181
+ * @typedef {object} SliceInfo
2182
+ * @property {int} start - 文字起始index
2183
+ * @property {int} end - 文字结束index
2184
+ * @property {int} width - 文字宽度
2185
+ */
2186
+ /*
2187
+ * @typedef {object} TextInfo
2188
+ * @property {int} totalWidth - 文字整体宽度
2189
+ * @property {Array<SliceInfo>} sliceInfo - 每段文字的信息
2190
+ */
2191
+ /*
2192
+ * 单行超长文字会切成多个div拼接, 由于jsview坐标的取整机制, 拼接出的width和文字width会产生误差, 此接口会返回拼接后的width
2193
+ *
2194
+ * @param {string} text 文字
2195
+ * @param {object} style 文字的css style
2196
+ * @return {TextInfo} 文字信息
2197
+ **/
2198
+ declare function getOneLineTextDrawWidth(text: any, style: any): {
2199
+ totalWidth: any;
2200
+ sliceInfo: never[];
2201
+ };
2202
+ declare function isRtl(str: any): boolean;
2203
+ /*
2204
+ * 获取设备mac地址,优先获取有线mac,无则获取wifi mac
2205
+ * @returns {string} mac address
2206
+ *
2207
+ */
2208
+ declare function getMac(): any;
2209
+ /*
2210
+ * 获取设备有线mac地址
2211
+ * @returns {string} mac address
2212
+ *
2213
+ */
2214
+ declare function getWireMac(): any;
2215
+ /*
2216
+ * 获取设备wifi mac地址
2217
+ * @returns {string} mac address
2218
+ *
2219
+ */
2220
+ declare function getWifiMac(): any;
2221
+ /*
2222
+ * 获取设备UUID
2223
+ * @returns {string} UUID
2224
+ *
2225
+ */
2226
+ declare function getDeviceUUID(): any;
2227
+ /*
2228
+ * 获取设备Android ID
2229
+ * @returns {string} Android ID
2230
+ *
2231
+ */
2232
+ declare function getAndroidId(): any;
2233
+ /*
2234
+ * 打开另外一个小程序
2235
+ * @param {string} url 小程序url
2236
+ * @param {string} startup_image 启动图url
2237
+ * @param {string} startup_video 启动视频url
2238
+ * @param {int} startup_duration 启动图时长,默认0
2239
+ * @param {int} add_history 是否添加历史,0不添加,1添加
2240
+ *
2241
+ */
2242
+ declare function openWindow(url: any, startup_image: any, startup_video: any, startup_duration: any, add_history: any): void;
2243
+ /*
2244
+ * 关闭当前小程序
2245
+ *
2246
+ */
2247
+ declare function closePage(): void;
2248
+ /*
2249
+ * 获取启动内核版本和引擎
2250
+ * @returns {Object} 包含
2251
+ * COREVERSIONRANGE: 启动时设定的内核版本范围
2252
+ * ENGINE: 启动时设定的Js引擎的URL
2253
+ */
2254
+ declare function getStartParams(): any;
2255
+ /*
2256
+ * 获取设备UUID
2257
+ * @param {string} key 属性名称
2258
+ * @returns {string} 属性值
2259
+ *
2260
+ */
2261
+ declare function getSystemProperty(key: any): any;
2262
+ /*
2263
+ * 获取已安装应用列表
2264
+ * @returns {string} 应用列表,JSON结构的数组
2265
+ *
2266
+ */
2267
+ declare function getInstalledApps(): any;
2268
+ /*
2269
+ * 启动安卓APP
2270
+ * @param {string} package_name 包名
2271
+ * @param {string} activity Activity方式启动
2272
+ * @param {string} action Action方式启动
2273
+ * @param {string} uri Uri方式启动
2274
+ * @param {Array} flags 数组,用于intent.addFlags
2275
+ * @param {Array} param JSON格式数组,用于intent.putExtra
2276
+ *
2277
+ */
2278
+ declare function startNativeApp(package_name: any, activity: any, action: any, uri: any, flags: any, param: any): void;
2279
+ declare function sendNativeBroadcast(package_name: any, broadcast: any, action: any, uri: any, flags: any, param: any): void;
2280
+ /*
2281
+ * 获取设备信息
2282
+ * @returns {string} 终端设备信息,JSON数据结构
2283
+ *
2284
+ */
2285
+ declare function getDeviceInfo(): any;
2286
+ /*
2287
+ * 获取自己的app信息
2288
+ * @returns
2289
+ */
2290
+ declare function getAppInfo(): any;
2291
+ /*
2292
+ * 页面加载成功后调用去除启动图
2293
+ *
2294
+ */
2295
+ declare function notifyPageLoadDone(): void;
2296
+ declare function notifyPageLoaded(): void;
2297
+ /*
2298
+ * 是否支持收藏功能
2299
+ * @returns {boolean} true支持,false不支持
2300
+ *
2301
+ */
2302
+ declare function hasFavouriteFunction(): boolean;
2303
+ /*
2304
+ * 添加收藏
2305
+ * @param {string} url 收藏的url
2306
+ * @param {function} callback 执行接口回调, 处理可能被用户否决
2307
+ *
2308
+ */
2309
+ declare function addFavourite(url: any, callback: any): void;
2310
+ /*
2311
+ * 更新收藏
2312
+ * @param {string} url 收藏的url
2313
+ * @param {function} callback 执行接口回调, 处理可能被用户否决
2314
+ *
2315
+ */
2316
+ declare function updateFavourite(url: any, callback: any): void;
2317
+ /*
2318
+ * 删除指定收藏
2319
+ * @param {string} app_name app name 唯一标识
2320
+ * @param {function} callback 执行接口回调, 处理可能被用户否决
2321
+ *
2322
+ */
2323
+ declare function removeFavourite(app_name: any, callback: any): void;
2324
+ /*
2325
+ * 获取指定收藏
2326
+ * @param {string} app_name app name 唯一标识
2327
+ */
2328
+ declare function getFavourite(app_name: any): any;
2329
+ /*
2330
+ * 获取所有收藏
2331
+ *
2332
+ */
2333
+ declare function getFavouriteAll(): any;
2334
+ /*
2335
+ * 浮窗控制接口,设置从本浮窗界面进行预热的二级浮窗的启动默认尺寸(若不设置则为全屏)
2336
+ * @param {string} mode 全屏模式还是需要Resize的模式。取值范围: "full" 或者 "mini"
2337
+ * 设置成 "mini" 模式后,启动后的界面内需要调用popupResizePosition来调整尺寸才能可见
2338
+ */
2339
+ declare function setPopupInitSize(mode: any): void;
2340
+ /*
2341
+ * 浮窗控制接口,设置浮窗显示区域,以相对定位的方式调整弹出框的位置(弹出框弹出后先以尺寸1x1的方式展现)
2342
+ * @param {string} align 横纵对齐方式,有left, right, bottom, top, center可选择
2343
+ * 例如: 右下角"right bottom", 居中"center center"
2344
+ * @param {number} max_width 显示区域最大宽度(占屏幕百分比)
2345
+ * @param {number} max_height 显示区域最大高度(占屏幕百分比)
2346
+ * @param {number} aspect 横纵比设定
2347
+ * 显示区域根据 max_width, max_height, aspect 来计算出同时满足3个条件的最大区域
2348
+ */
2349
+ declare function popupResizePosition(align: any, max_width: any, max_height: any, aspect: any): void;
2350
+ /*
2351
+ * 浮窗系统认为自己准备好后,调用此接口,获取设备的焦点。若不调用的话,默认浮窗系统捕获的焦点
2352
+ */
2353
+ declare function popupGainFocus(): void;
2354
+ declare function popupDiscardFocus(): void;
2355
+ /*
2356
+ * 页面预热接口,预热页面将会将以一个新的FrameLayout(内含JsView)的方式加载一个新的应用
2357
+ * 但这个应用在warmLoadView之前,不会创建texture/surface的实际描画资源,也不会加载图片
2358
+ * 仅加载所有JS代码,并正常走完所有启动逻辑(包括描画逻辑),但不会走setTimeout对应的延时逻辑,也不会显示
2359
+ * 预热的界面可以极大加速界面切换的时间,例如应用跳转到购物类界面
2360
+ * mode为1表示全预热,app_url不能为空,mode为2表示只预热engine url,如果app_url不为空,engine url来自于app_ur
2361
+ * 否则来自于当前使用的engine url,app_url表示小程序的链接。
2362
+ * 【特别注意】warmUp起来的view,在warmLoadView调用之前,若启动者JsView关闭的话,此View应该在
2363
+ * View管理模块被清理掉,以防泄露,但在warmLoadView完成后,就不需要进行关联清理,请管理模块务必保证此机制。
2364
+ * [参数]
2365
+ * int mode 预热模式,1:全预热,2:半预热
2366
+ * String app_url 要预热的app_url,当半预热时,可以为null
2367
+ * [返回值]
2368
+ * int: 为view_refer_id值,预热后的View的ID,用于后续的warmLoadView和closeWarmView使用
2369
+ */
2370
+ declare function warmUpView(mode: any, app_url: any): any;
2371
+ /*
2372
+ * 将warmUpView后的View展示出来
2373
+ * 若warmUpView中app_url不为null,进行了全预热,则本调用的app_url可以为null
2374
+ * 当warmUpView中设置了app_url时,仍可以新的app_url调整history hash(#)部分进行子页面切换
2375
+ *
2376
+ * @param {number} view_refer_id warmUpView调用后返回来的View ID
2377
+ * @param {string} app_url 界面的应用地址,支持?(search)和#(hash)字段
2378
+ * @param {boolean} add_history 启动的界面是否进访问历史列表
2379
+ */
2380
+ declare function warmLoadView(view_refer_id: any, app_url: any, add_history: any): void;
2381
+ /*
2382
+ * 关闭warmUp后未进行warmLoad的View,释放资源
2383
+ * @param {number} view_refer_id warmUpView调用后返回来的View ID
2384
+ */
2385
+ declare function closeWarmedView(view_refer_id: any): void;
2386
+ /*
2387
+ * 触发预下载内核
2388
+ * @param {string} core_version 带branch(主分支版本不带此信息)和版本信息的内核版本,
2389
+ * 例如: 1021265_release_build_xxx
2390
+ * @returns promise 对象,用于监听下载完成与下载失败
2391
+ */
2392
+ declare function preDownloadSdk(core_version: any): any;
2393
+ declare class JsvFocusManager {
2394
+ install(app: any, ...options: any[]): void;
2395
+ getCurrentFocusStack(): any;
2396
+ $_hookMount(app: any, rootNodeId: any): (rootContainer: any) => any;
2397
+ $_topFDiv: undefined;
2398
+ $_appMount: undefined;
2399
+ $_doAppMount(rootContainer: any): any;
2400
+ }
2401
+ declare class JsvHashHistory {
2402
+ constructor(base: any);
2403
+ get location(): string;
2404
+ get state(): import("vue-router").HistoryState;
2405
+ get base(): string;
2406
+ createHref(location2: any): string;
2407
+ listen(callback: any): () => void;
2408
+ replace(to: any, data: any): void;
2409
+ push(to: any, data: any): void;
2410
+ go(delta: any, triggerListeners: any): void;
2411
+ destroy(): void;
2412
+ baseURL: string | undefined;
2413
+ #private;
2414
+ }
2415
+ declare class NexusNode {
2416
+ token: number;
2417
+ }
2418
+ declare class JsvPreDownloaderBase {
2419
+ download(url: any, netSetting?: string, isImage?: boolean): Promise<any>;
2420
+ buildDownloadItem(url: any, netSetting?: string, isImage?: boolean): {
2421
+ url: any;
2422
+ netSetting: string;
2423
+ isImage: boolean;
2424
+ };
2425
+ }
2426
+ declare class TextureBase {
2427
+ constructor(baseName: any);
2428
+ baseName: string;
2429
+ textureRef: null;
2430
+ storeName: string;
2431
+ addToStore(): void;
2432
+ /**
2433
+ * commit
2434
+ * 完成绘制设置,出发制作目标texture
2435
+ *
2436
+ * @return {String} BaseName-textureId 格式的名字,用于 jsvtexturestore:// 的访问链接
2437
+ */
2438
+ commit(): string;
2439
+ recycle(): void;
2440
+ }
2441
+ declare class CustomPath extends DrawingPath {
2442
+ pathCommands: any[];
2443
+ /**
2444
+ * moveTo
2445
+ * 将画笔移动到目标位置
2446
+ *
2447
+ * @param {Number} targetX 目标位置x
2448
+ * @param {Number} targetY 目标位置y
2449
+ */
2450
+ moveTo(targetX: number, targetY: number): void;
2451
+ /**
2452
+ * lineTo
2453
+ * 将画笔从当前位置到目标位置之间绘制一条直线
2454
+ *
2455
+ * @param {Number} targetX 目标位置x
2456
+ * @param {Number} targetY 目标位置y
2457
+ */
2458
+ lineTo(targetX: number, targetY: number): void;
2459
+ /**
2460
+ * arcTo
2461
+ * 绘制以(left, top, right, bottom)围城的矩形为横轴比的椭圆圆弧
2462
+ *
2463
+ * @param {Number} left 定义椭圆区域的left
2464
+ * @param {Number} top 定义椭圆区域的top
2465
+ * @param {Number} right 定义椭圆区域的right
2466
+ * @param {Number} bottom 定义椭圆区域的bottom
2467
+ * @param {Number} startAngle 起始角度(例如30 = 30度)
2468
+ * @param {Number} sweepAngle 扫过的角度(例如要绘制半圆,则设置180)
2469
+ */
2470
+ arcTo(left: number, top: number, right: number, bottom: number, startAngle: number, sweepAngle: number): void;
2471
+ /**
2472
+ * close
2473
+ * 到此为止的路径进行闭环
2474
+ */
2475
+ close(): void;
2476
+ }
2477
+ declare class RectPath extends DrawingPath {
2478
+ constructor(drawCmds: any, left: any, top: any, right: any, bottom: any);
2479
+ rectLeft: any;
2480
+ rectTop: any;
2481
+ rectRight: any;
2482
+ rectBottom: any;
2483
+ }
2484
+ declare class CirclePath extends DrawingPath {
2485
+ constructor(drawCmds: any, centerX: any, centerY: any, radius: any);
2486
+ circleCenterX: any;
2487
+ circleCenterY: any;
2488
+ circleRadius: any;
2489
+ }
2490
+ declare class DrawingPath {
2491
+ constructor(drawCmds: any);
2492
+ drawCommandsRefs: any[];
2493
+ finishedDraw: boolean;
2494
+ /**
2495
+ * stroke
2496
+ * 绘制边框
2497
+ *
2498
+ * @param {Number} lineWidth 描边的线宽
2499
+ * @param {String} color 颜色设定,例如rgba(red:0~255, green:0~255, blue:0~255, alpla:0~1.0), 或则 #AARRGGBB
2500
+ */
2501
+ stroke(lineWidth: number, color: string): void;
2502
+ /**
2503
+ * fill
2504
+ * 绘制填充
2505
+ *
2506
+ * @param {String} color 颜色设定,例如rgba(red:0~255, green:0~255, blue:0~255, alpla:0~1.0), 或则 #AARRGGBB
2507
+ */
2508
+ fill(color: string): void;
2509
+ onFinishDraw(): void;
2510
+ }
2511
+ export { instance as JSBridge, _sfc_main$z as JsvActorMove, _JsvApic$1 as JsvApic, _JsvApic2$1 as JsvApic2, _sfc_main$C as JsvAudio, _sfc_main$3 as JsvConnectLine, _sfc_main$1 as JsvEnableRenderBreak, _sfc_main$x as JsvEnvBlocker, _sfc_main$i as JsvFilterView, _sfc_main$w as JsvFlexDiv, _sfc_main$E as JsvFocusBlock, _sfc_main$y as JsvFreeMoveActor, JsvTransparentDiv as JsvHole, _sfc_main$A as JsvLatex, _sfc_main$f as JsvMarquee, _sfc_main as JsvMindMap, JsvTransparentDiv as JsvNativeSharedDiv, _sfc_main$d as JsvNinePatch, _sfc_main$4 as JsvPieChart, _sfc_main$c as JsvPosterDiv, _sfc_main$b as JsvPosterImage, exportObj as JsvPreDownloader, _sfc_main$2 as JsvProgressBar, _JsvQrcode$1 as JsvQrcode, _sfc_main$8 as JsvRadarChart, _sfc_main$7 as JsvRipple, _sfc_main$5 as JsvSector, _JsvSpray$1 as JsvSpray, _sfc_main$n as JsvSpriteLoader, JsvSpriteAnim as JsvSpriteStatic, _sfc_main$k as JsvSwiper3D, _sfc_main$9 as JsvTextBox, _JsvTextureAnim$1 as JsvTextureAnim, sJsvTextureConst as JsvTextureConst, sTextureStoreApi as JsvTextureStoreApi, _sfc_main$F as ListWidget, LoopType, METRO_WIDGET as METRO_WIDGET_CONST, _sfc_main$G as MetroWidget, Dispatcher as SWidgetDispatcher, _sfc_main$G as SimpleWidget, bridge as jJsvRuntimeBridge };