axj-ab_ 1.0.8 → 1.0.9
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/dtsmake.sh +6 -1
- package/index.d.ts +82 -715
- package/index.js +1139 -1322
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -1,716 +1,83 @@
|
|
1
|
-
// Type definitions for index.js
|
2
|
-
// Project: [LIBRARY_URL_HERE]
|
3
|
-
// Definitions by: [YOUR_NAME_HERE] <[YOUR_URL_HERE]>
|
4
|
-
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
5
1
|
declare namespace ab_{
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
(inited : any): void;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
declare namespace ab_{
|
92
|
-
// ab_.cssSetRest.!1
|
93
|
-
type CssSetRest1 = Array<string>;
|
94
|
-
}
|
95
|
-
declare namespace ab_{
|
96
|
-
// ab_.cssSetRest.!ret
|
97
|
-
|
98
|
-
/**
|
99
|
-
*
|
100
|
-
*/
|
101
|
-
interface CssSetRestRet {
|
102
|
-
|
103
|
-
/**
|
104
|
-
*
|
105
|
-
* @param vals
|
106
|
-
*/
|
107
|
-
set(vals : ab_.CssSetRestRet.Set0): void;
|
108
|
-
|
109
|
-
/**
|
110
|
-
*
|
111
|
-
*/
|
112
|
-
reset(): void;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
declare namespace ab_.CssSetRestRet{
|
116
|
-
// ab_.cssSetRest.!ret.set.!0
|
117
|
-
type Set0 = Array<string>;
|
118
|
-
}
|
119
|
-
declare namespace ab_{
|
120
|
-
// ab_.setPaths.!0
|
121
|
-
|
122
|
-
/**
|
123
|
-
*
|
124
|
-
*/
|
125
|
-
interface SetPaths0 {
|
126
|
-
}
|
127
|
-
}
|
128
|
-
declare namespace ab_{
|
129
|
-
// ab_.fullScreen.!ret
|
130
|
-
type FullScreenRet = (() => void);
|
131
|
-
}
|
132
|
-
declare namespace ab_{
|
133
|
-
// ab_.funTimer.!ret
|
134
|
-
|
135
|
-
/**
|
136
|
-
*
|
137
|
-
*/
|
138
|
-
interface FunTimerRet {
|
139
|
-
|
140
|
-
/**
|
141
|
-
*
|
142
|
-
* @param interval
|
143
|
-
*/
|
144
|
-
start(interval : any): void;
|
145
|
-
|
146
|
-
/**
|
147
|
-
*
|
148
|
-
*/
|
149
|
-
stop(): void;
|
150
|
-
}
|
151
|
-
}
|
152
|
-
declare namespace ab_{
|
153
|
-
// ab_.loadState.!2
|
154
|
-
|
155
|
-
/**
|
156
|
-
*
|
157
|
-
*/
|
158
|
-
interface LoadState2 {
|
159
|
-
}
|
160
|
-
}
|
161
|
-
declare namespace ab_{
|
162
|
-
// ab_.saveState.!0
|
163
|
-
|
164
|
-
/**
|
165
|
-
*
|
166
|
-
*/
|
167
|
-
interface SaveState0 {
|
168
|
-
}
|
169
|
-
}
|
170
|
-
|
171
|
-
/**
|
172
|
-
*
|
173
|
-
*/
|
174
|
-
export declare var _nextT : number;
|
175
|
-
|
176
|
-
/**
|
177
|
-
*
|
178
|
-
*/
|
179
|
-
declare namespace ab_{
|
180
|
-
|
181
|
-
/**
|
182
|
-
*
|
183
|
-
*/
|
184
|
-
export var _ver : boolean;
|
185
|
-
|
186
|
-
/**
|
187
|
-
*
|
188
|
-
*/
|
189
|
-
export var local : boolean;
|
190
|
-
|
191
|
-
/**
|
192
|
-
*
|
193
|
-
*/
|
194
|
-
export var https : boolean;
|
195
|
-
|
196
|
-
/**
|
197
|
-
*
|
198
|
-
* @param fn
|
199
|
-
*/
|
200
|
-
function fn(fn : any): void;
|
201
|
-
|
202
|
-
/**
|
203
|
-
*
|
204
|
-
*/
|
205
|
-
function header(): void;
|
206
|
-
|
207
|
-
/**
|
208
|
-
*
|
209
|
-
*/
|
210
|
-
function back(): void;
|
211
|
-
|
212
|
-
/**
|
213
|
-
*
|
214
|
-
* @param uri
|
215
|
-
* @param title
|
216
|
-
*/
|
217
|
-
function push(uri : any, title : any): void;
|
218
|
-
|
219
|
-
/**
|
220
|
-
*
|
221
|
-
* @param uri
|
222
|
-
* @param title
|
223
|
-
*/
|
224
|
-
function replace(uri : any, title : any): void;
|
225
|
-
|
226
|
-
/**
|
227
|
-
*
|
228
|
-
* @param uri
|
229
|
-
* @param title
|
230
|
-
* @param alone
|
231
|
-
*/
|
232
|
-
function open(uri : any, title : any, alone : any): void;
|
233
|
-
|
234
|
-
/**
|
235
|
-
*
|
236
|
-
* @param name
|
237
|
-
*/
|
238
|
-
function get(name : any): void;
|
239
|
-
|
240
|
-
/**
|
241
|
-
*
|
242
|
-
* @param o
|
243
|
-
* @return
|
244
|
-
*/
|
245
|
-
function empty(o : any): boolean;
|
246
|
-
|
247
|
-
/**
|
248
|
-
*
|
249
|
-
* @param url
|
250
|
-
* @param para
|
251
|
-
* @return
|
252
|
-
*/
|
253
|
-
function urlRm(url : any, para : any): any;
|
254
|
-
|
255
|
-
/**
|
256
|
-
*
|
257
|
-
* @param url
|
258
|
-
* @param paras
|
259
|
-
* @param force
|
260
|
-
* @return
|
261
|
-
*/
|
262
|
-
function urlParas(url : any, paras : string, force : any): string;
|
263
|
-
|
264
|
-
/**
|
265
|
-
*
|
266
|
-
* @return
|
267
|
-
*/
|
268
|
-
function urlPath(): string;
|
269
|
-
|
270
|
-
/**
|
271
|
-
*
|
272
|
-
* @param path
|
273
|
-
* @return
|
274
|
-
*/
|
275
|
-
function pathDir(path : any): string;
|
276
|
-
|
277
|
-
/**
|
278
|
-
*
|
279
|
-
* @param anch
|
280
|
-
* @param url
|
281
|
-
* @param set
|
282
|
-
* @return
|
283
|
-
*/
|
284
|
-
function route(anch : any, url : any, set : any): ab_.RouteRet;
|
285
|
-
|
286
|
-
/**
|
287
|
-
*
|
288
|
-
* @param el
|
289
|
-
* @return
|
290
|
-
*/
|
291
|
-
function el(el : number): number;
|
292
|
-
|
293
|
-
/**
|
294
|
-
*
|
295
|
-
* @param url
|
296
|
-
* @return
|
297
|
-
*/
|
298
|
-
function ver(url : string): string;
|
299
|
-
|
300
|
-
/**
|
301
|
-
*
|
302
|
-
* @param href
|
303
|
-
* @param el
|
304
|
-
* @param media
|
305
|
-
*/
|
306
|
-
function reqCss(href : any, el : any, media : any): void;
|
307
|
-
|
308
|
-
/**
|
309
|
-
*
|
310
|
-
*/
|
311
|
-
function call(): void;
|
312
|
-
|
313
|
-
/**
|
314
|
-
*
|
315
|
-
* @param requires
|
316
|
-
* @param fun
|
317
|
-
*/
|
318
|
-
function requires(requires : any, fun : any): void;
|
319
|
-
|
320
|
-
/**
|
321
|
-
*
|
322
|
-
* @return
|
323
|
-
*/
|
324
|
-
function nextT(): number;
|
325
|
-
|
326
|
-
/**
|
327
|
-
*
|
328
|
-
* @param js
|
329
|
-
* @param el
|
330
|
-
* @param onload
|
331
|
-
* @param onerror
|
332
|
-
*/
|
333
|
-
function reqJs(js : string, el : number, onload : ab_.ReqJs2, onerror : any): void;
|
334
|
-
|
335
|
-
/**
|
336
|
-
*
|
337
|
-
* @param name
|
338
|
-
* @param jses
|
339
|
-
* @param csses
|
340
|
-
* @return
|
341
|
-
*/
|
342
|
-
function reqModule(name : any, jses : any, csses : any): ab_.ReqModuleRet;
|
343
|
-
|
344
|
-
/**
|
345
|
-
*
|
346
|
-
* @param exp
|
347
|
-
* @param $page
|
348
|
-
* @param $this
|
349
|
-
* @param res
|
350
|
-
*/
|
351
|
-
function eval(exp : any, $page : any, $this : any, res : any): void;
|
352
|
-
|
353
|
-
/**
|
354
|
-
*
|
355
|
-
*/
|
356
|
-
export var $center : /*no type*/{};
|
357
|
-
|
358
|
-
/**
|
359
|
-
*
|
360
|
-
* @param args
|
361
|
-
* @param off
|
362
|
-
* @param len
|
363
|
-
* @return
|
364
|
-
*/
|
365
|
-
function args(args : ab_.Args0, off : number, len : number): Array</*!0.<i>*/ any>;
|
366
|
-
|
367
|
-
/**
|
368
|
-
*
|
369
|
-
* @param ary
|
370
|
-
* @param from
|
371
|
-
* @param to
|
372
|
-
* @return
|
373
|
-
*/
|
374
|
-
function swap(ary : ab_.Swap0, from : any, to : any): ab_.Swap0;
|
375
|
-
|
376
|
-
/**
|
377
|
-
*
|
378
|
-
* @param ary
|
379
|
-
* @param from
|
380
|
-
* @param to
|
381
|
-
* @return
|
382
|
-
*/
|
383
|
-
function reSort(ary : any, from : any, to : any): any;
|
384
|
-
|
385
|
-
/**
|
386
|
-
*
|
387
|
-
* @param children
|
388
|
-
* @param fromI
|
389
|
-
* @param toI
|
390
|
-
*/
|
391
|
-
function resetEl(children : any, fromI : any, toI : any): void;
|
392
|
-
|
393
|
-
/**
|
394
|
-
*
|
395
|
-
* @param from
|
396
|
-
* @param to
|
397
|
-
*/
|
398
|
-
function swapEl(from : any, to : any): void;
|
399
|
-
|
400
|
-
/**
|
401
|
-
*
|
402
|
-
* @param name
|
403
|
-
*/
|
404
|
-
function post(name : any): void;
|
405
|
-
|
406
|
-
/**
|
407
|
-
*
|
408
|
-
* @param data
|
409
|
-
* @param i
|
410
|
-
* @param from
|
411
|
-
*/
|
412
|
-
function posts(data : any, i : number, from : any): void;
|
413
|
-
|
414
|
-
/**
|
415
|
-
*
|
416
|
-
*/
|
417
|
-
export var langs : /*no type*/{};
|
418
|
-
|
419
|
-
/**
|
420
|
-
*
|
421
|
-
* @param lang
|
422
|
-
* @param call
|
423
|
-
*/
|
424
|
-
function langChange(lang : any, call : any): void;
|
425
|
-
|
426
|
-
/**
|
427
|
-
*
|
428
|
-
* @param key
|
429
|
-
* @param lang
|
430
|
-
*/
|
431
|
-
function lang(key : any, lang : any): void;
|
432
|
-
|
433
|
-
/**
|
434
|
-
*
|
435
|
-
* @param key
|
436
|
-
* @param par
|
437
|
-
* @return
|
438
|
-
*/
|
439
|
-
function i18n(key : any, par : any): any;
|
440
|
-
|
441
|
-
/**
|
442
|
-
*
|
443
|
-
* @return
|
444
|
-
*/
|
445
|
-
function time(): number;
|
446
|
-
|
447
|
-
/**
|
448
|
-
*
|
449
|
-
* @param time
|
450
|
-
* @param max
|
451
|
-
* @return
|
452
|
-
*/
|
453
|
-
function humTime(time : any, max : any): string;
|
454
|
-
|
455
|
-
/**
|
456
|
-
*
|
457
|
-
* @param size
|
458
|
-
* @return
|
459
|
-
*/
|
460
|
-
function humSize(size : any): string;
|
461
|
-
|
462
|
-
/**
|
463
|
-
*
|
464
|
-
* @param json
|
465
|
-
* @return
|
466
|
-
*/
|
467
|
-
function parseJson(json : any): any;
|
468
|
-
|
469
|
-
/**
|
470
|
-
*
|
471
|
-
* @param obj
|
472
|
-
* @return
|
473
|
-
*/
|
474
|
-
function toJson(obj : any): string;
|
475
|
-
|
476
|
-
/**
|
477
|
-
*
|
478
|
-
* @param tpl
|
479
|
-
* @param render
|
480
|
-
*/
|
481
|
-
function tplRender(tpl : any, render : any): void;
|
482
|
-
|
483
|
-
/**
|
484
|
-
* 支持formData file var form = new FormData();form.append("file", fileObj);
|
485
|
-
* @param loading
|
486
|
-
* @param headers
|
487
|
-
* @param url
|
488
|
-
* @param posts
|
489
|
-
* @param callback
|
490
|
-
* @param init
|
491
|
-
*/
|
492
|
-
function xhrReq(loading : any, headers : any, url : any, posts : any, callback : any, init : any): void;
|
493
|
-
|
494
|
-
/**
|
495
|
-
*
|
496
|
-
* @param loading
|
497
|
-
* @param headers
|
498
|
-
* @param url
|
499
|
-
* @param posts
|
500
|
-
* @param files
|
501
|
-
* @param callback
|
502
|
-
* @param init
|
503
|
-
*/
|
504
|
-
function uniReq(loading : any, headers : any, url : any, posts : any, files : any, callback : any, init : any): void;
|
505
|
-
|
506
|
-
/**
|
507
|
-
*
|
508
|
-
* @param last
|
509
|
-
* @return
|
510
|
-
*/
|
511
|
-
function newReady(last : any): ab_.NewReadyRet;
|
512
|
-
|
513
|
-
/**
|
514
|
-
*
|
515
|
-
* @param run
|
516
|
-
* @return
|
517
|
-
*/
|
518
|
-
function newStart(run : any): ab_.NewStartRet;
|
519
|
-
|
520
|
-
/**
|
521
|
-
*
|
522
|
-
*/
|
523
|
-
function vConsole(): void;
|
524
|
-
|
525
|
-
/**
|
526
|
-
*
|
527
|
-
* @param $el
|
528
|
-
* @param name
|
529
|
-
*/
|
530
|
-
function getStyle($el : any, name : string): void;
|
531
|
-
|
532
|
-
/**
|
533
|
-
*
|
534
|
-
* @param $el
|
535
|
-
* @param names
|
536
|
-
* @return
|
537
|
-
*/
|
538
|
-
function cssSetRest($el : any, names : ab_.CssSetRest1): ab_.CssSetRestRet;
|
539
|
-
|
540
|
-
/**
|
541
|
-
*
|
542
|
-
* @param el
|
543
|
-
* @param tag
|
544
|
-
*/
|
545
|
-
function cloneElement(el : any, tag : any): void;
|
546
|
-
|
547
|
-
/**
|
548
|
-
*
|
549
|
-
* @param to
|
550
|
-
* @param from
|
551
|
-
* @param depth
|
552
|
-
* @return
|
553
|
-
*/
|
554
|
-
function objectMerge(to : any, from : any, depth : number): any;
|
555
|
-
|
556
|
-
/**
|
557
|
-
*
|
558
|
-
* @param inst
|
559
|
-
* @return
|
560
|
-
*/
|
561
|
-
function keepAlive(inst : any): any;
|
562
|
-
|
563
|
-
/**
|
564
|
-
*
|
565
|
-
* @param key
|
566
|
-
*/
|
567
|
-
function keepAliveClose(key : any): void;
|
568
|
-
|
569
|
-
/**
|
570
|
-
*
|
571
|
-
* @param $keepAlive
|
572
|
-
* @param key
|
573
|
-
* @param cKey
|
574
|
-
*/
|
575
|
-
function keepAliveDel($keepAlive : any, key : any, cKey : any): void;
|
576
|
-
|
577
|
-
/**
|
578
|
-
*
|
579
|
-
* @param model
|
580
|
-
* @param paths
|
581
|
-
* @param fromI
|
582
|
-
* @return
|
583
|
-
*/
|
584
|
-
function getPaths(model : any, paths : any, fromI : number): /* error */ any;
|
585
|
-
|
586
|
-
/**
|
587
|
-
*
|
588
|
-
* @param model
|
589
|
-
* @param val
|
590
|
-
* @param paths
|
591
|
-
* @param fromI
|
592
|
-
*/
|
593
|
-
function setPaths(model : ab_.SetPaths0, val : any, paths : any, fromI : number): void;
|
594
|
-
|
595
|
-
/**
|
596
|
-
*
|
597
|
-
* @param time
|
598
|
-
* @return
|
599
|
-
*/
|
600
|
-
function date(time : any): Date;
|
601
|
-
|
602
|
-
/**
|
603
|
-
*
|
604
|
-
* @param time
|
605
|
-
* @param fmt
|
606
|
-
*/
|
607
|
-
function formatTime(time : any, fmt : any): void;
|
608
|
-
|
609
|
-
/**
|
610
|
-
*
|
611
|
-
* @param date
|
612
|
-
* @param fmt
|
613
|
-
* @return
|
614
|
-
*/
|
615
|
-
function formatDate(date : Date, fmt : string): string;
|
616
|
-
|
617
|
-
/**
|
618
|
-
*
|
619
|
-
* @param name
|
620
|
-
* @return
|
621
|
-
*/
|
622
|
-
function aName(name : any): string;
|
623
|
-
|
624
|
-
/**
|
625
|
-
*
|
626
|
-
* @param a
|
627
|
-
* @param name
|
628
|
-
* @param underline
|
629
|
-
* @return
|
630
|
-
*/
|
631
|
-
function aNameC(a : any, name : any, underline : any): any;
|
632
|
-
|
633
|
-
/**
|
634
|
-
*
|
635
|
-
* @param $this
|
636
|
-
* @param $el
|
637
|
-
* @param fun
|
638
|
-
* @return
|
639
|
-
*/
|
640
|
-
function fullScreen($this : any, $el : any, fun : any): ab_.FullScreenRet;
|
641
|
-
|
642
|
-
/**
|
643
|
-
*
|
644
|
-
* @param val
|
645
|
-
* @param cHead
|
646
|
-
* @param cEnd
|
647
|
-
* @return
|
648
|
-
*/
|
649
|
-
function cvsVal(val : string, cHead : any, cEnd : any): string;
|
650
|
-
|
651
|
-
/**
|
652
|
-
*
|
653
|
-
* @param txt
|
654
|
-
* @param name
|
655
|
-
* @param bom
|
656
|
-
*/
|
657
|
-
function downloadTxt(txt : string, name : any, bom : any): void;
|
658
|
-
|
659
|
-
/**
|
660
|
-
*
|
661
|
-
* @param fun
|
662
|
-
* @return
|
663
|
-
*/
|
664
|
-
function funTimer(fun : any): ab_.FunTimerRet;
|
665
|
-
|
666
|
-
/**
|
667
|
-
*
|
668
|
-
* @param bind
|
669
|
-
* @param path
|
670
|
-
* @param target
|
671
|
-
* @param props
|
672
|
-
* @return
|
673
|
-
*/
|
674
|
-
function loadState(bind : any, path : any, target : ab_.LoadState2, props : any): boolean;
|
675
|
-
|
676
|
-
/**
|
677
|
-
*
|
678
|
-
* @param bind
|
679
|
-
* @param path
|
680
|
-
* @param target
|
681
|
-
* @param props
|
682
|
-
*/
|
683
|
-
function saveState(bind : ab_.SaveState0, path : any, target : any, props : any): void;
|
684
|
-
|
685
|
-
/**
|
686
|
-
*
|
687
|
-
*/
|
688
|
-
namespace $route{
|
689
|
-
|
690
|
-
/**
|
691
|
-
*
|
692
|
-
*/
|
693
|
-
export var hash : string;
|
694
|
-
|
695
|
-
/**
|
696
|
-
*
|
697
|
-
*/
|
698
|
-
export var path : Array</* [? */ any> | /* string] */ any;
|
699
|
-
|
700
|
-
/**
|
701
|
-
*
|
702
|
-
*/
|
703
|
-
var search : {
|
704
|
-
}
|
705
|
-
}
|
706
|
-
|
707
|
-
/**
|
708
|
-
*
|
709
|
-
*/
|
710
|
-
export var vconsoled : boolean;
|
711
|
-
|
712
|
-
/**
|
713
|
-
*
|
714
|
-
*/
|
715
|
-
export var ab_ : /* ab_ */ any;
|
716
|
-
}
|
2
|
+
export const _ver: boolean;
|
3
|
+
export const local: boolean;
|
4
|
+
export const https: boolean;
|
5
|
+
export function fn(fn: any): void;
|
6
|
+
export function header(): void;
|
7
|
+
export function back(): void;
|
8
|
+
export function push(uri: any, title: any): void;
|
9
|
+
export function replace(uri: any, title: any): void;
|
10
|
+
export function open(uri: any, title: any, alone: any): void;
|
11
|
+
export function get(name: any): string;
|
12
|
+
export function empty(o: any): boolean;
|
13
|
+
export function urlRm(url: any, para: any): any;
|
14
|
+
export function urlParas(url: any, paras: any, force: any): any;
|
15
|
+
export function urlPath(): string;
|
16
|
+
export function pathDir(path: any): any;
|
17
|
+
export function route(anch: any, url: any, set: any): any;
|
18
|
+
export function el(el: any): any;
|
19
|
+
export function ver(url: any): any;
|
20
|
+
export function reqCss(href: any, el: any, media: any): void;
|
21
|
+
export function call(...args: any[]): void;
|
22
|
+
export function requires(requires: any, fun: any): void;
|
23
|
+
export function nextT(): number;
|
24
|
+
export function reqJs(js: any, el: any, onload: any, onerror: any): void;
|
25
|
+
export function reqModule(name: any, jses: any, csses: any): (call: any) => void;
|
26
|
+
export function eval(exp: any, $page: any, $this: any, res: any): void;
|
27
|
+
export const $center: {};
|
28
|
+
export function args(args: any, off: any, len: any): any;
|
29
|
+
export function swap(ary: any, from: any, to: any): any;
|
30
|
+
export function reSort(ary: any, from: any, to: any): any;
|
31
|
+
export function resetEl(children: any, fromI: any, toI: any): void;
|
32
|
+
export function swapEl(from: any, to: any): void;
|
33
|
+
export function post(name: any, ...args: any[]): void;
|
34
|
+
export function posts(data: any, i: any, from: any): void;
|
35
|
+
export const langs: {};
|
36
|
+
export function langChange(lang: any, call: any): void;
|
37
|
+
export function lang(key: any, lang: any): void;
|
38
|
+
export function i18n(key: any, par: any): any;
|
39
|
+
export function time(): number;
|
40
|
+
export function humTime(time: any, max: any): string;
|
41
|
+
export function humSize(size: any): string;
|
42
|
+
export function parseJson(json: any): any;
|
43
|
+
export function toJson(obj: any): string;
|
44
|
+
export function tplRender(tpl: any, render: any): any;
|
45
|
+
export function xhrReq(loading: any, headers: any, url: any, posts: any, callback: any, init: any): void;
|
46
|
+
export function uniReq(loading: any, headers: any, url: any, posts: any, files: any, callback: any, init: any): void;
|
47
|
+
export function newReady(last: any): {
|
48
|
+
(back: any): void;
|
49
|
+
start(): void;
|
50
|
+
};
|
51
|
+
export function newStart(run: any): {
|
52
|
+
(inited: any): void;
|
53
|
+
waite(): void;
|
54
|
+
};
|
55
|
+
export function vConsole(): void;
|
56
|
+
export function getStyle($el: any, name: any): any;
|
57
|
+
export function cssSetRest($el: any, names: any): {
|
58
|
+
set: (vals: any) => void;
|
59
|
+
reset: () => void;
|
60
|
+
};
|
61
|
+
export function cloneElement(el: any, tag: any): any;
|
62
|
+
export function objectMerge(to: any, from: any, depth: any): any;
|
63
|
+
export function keepAlive(inst: any): any;
|
64
|
+
export function keepAliveClose(key: any): void;
|
65
|
+
export function keepAliveDel($keepAlive: any, key: any, cKey: any): void;
|
66
|
+
export function getPaths(model: any, paths: any, fromI: any): any;
|
67
|
+
export function setPaths(model: any, val: any, paths: any, fromI: any): any;
|
68
|
+
export function date(time: any): Date;
|
69
|
+
export function formatTime(time: any, fmt: any): any;
|
70
|
+
export function formatDate(date: any, fmt: any): any;
|
71
|
+
export function aName(name: any): string;
|
72
|
+
export function aNameC(a: any, name: any, underline: any): any;
|
73
|
+
export function fullScreen($this: any, $el: any, fun: any): () => void;
|
74
|
+
export function cvsVal(val: any, cHead: any, cEnd: any): any;
|
75
|
+
export function downloadTxt(txt: any, name: any, bom: any): void;
|
76
|
+
export function funTimer(fun: any): {
|
77
|
+
start: (interval: any) => void;
|
78
|
+
stop: () => void;
|
79
|
+
};
|
80
|
+
export function loadState(bind: any, path: any, target: any, props: any): boolean;
|
81
|
+
export function saveState(bind: any, path: any, target: any, props: any): void;
|
82
|
+
}
|
83
|
+
export default ab_
|