mam 1.11.32 → 1.11.33
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/node.d.ts +1384 -1268
- package/node.deps.json +1 -1
- package/node.esm.js +1368 -790
- package/node.esm.js.map +1 -1
- package/node.js +6563 -5824
- package/node.js.map +1 -1
- package/node.meta.tree +70 -0
- package/node.mjs +6780 -0
- package/node.mjs.map +1 -0
- package/node.test.js +10747 -9897
- package/node.test.js.map +1 -1
- package/package.json +53 -23
- package/readme.md +3 -3
- package/test.html +4 -10
- package/web.d.ts +14 -14
- package/web.deps.json +1 -1
- package/web.js +15 -15
- package/web.js.map +1 -1
- package/web.meta.tree +10 -0
- package/web.mjs +32 -0
- package/web.mjs.map +1 -0
- package/web.test.js.map +1 -1
package/node.d.ts
CHANGED
|
@@ -1,1270 +1,1386 @@
|
|
|
1
|
-
declare let _$_: {
|
|
2
|
-
new (): {};
|
|
3
|
-
} & typeof globalThis;
|
|
4
|
-
declare class $ extends _$_ {
|
|
5
|
-
}
|
|
6
|
-
declare namespace $ {
|
|
7
|
-
export type $ = typeof $$;
|
|
8
|
-
export class $$ extends $ {
|
|
9
|
-
}
|
|
10
|
-
namespace $$ {
|
|
11
|
-
type $$ = $;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
declare namespace $ {
|
|
17
|
-
type $mol_log3_event<Fields> = {
|
|
18
|
-
[key in string]: unknown;
|
|
19
|
-
} & {
|
|
20
|
-
time?: string;
|
|
21
|
-
place: unknown;
|
|
22
|
-
message: string;
|
|
23
|
-
} & Fields;
|
|
24
|
-
type $mol_log3_logger<Fields, Res = void> = (this: $, event: $mol_log3_event<Fields>) => Res;
|
|
25
|
-
let $mol_log3_come: $mol_log3_logger<{}>;
|
|
26
|
-
let $mol_log3_done: $mol_log3_logger<{}>;
|
|
27
|
-
let $mol_log3_fail: $mol_log3_logger<{}>;
|
|
28
|
-
let $mol_log3_warn: $mol_log3_logger<{
|
|
29
|
-
hint: string;
|
|
30
|
-
}>;
|
|
31
|
-
let $mol_log3_rise: $mol_log3_logger<{}>;
|
|
32
|
-
let $mol_log3_area: $mol_log3_logger<{}, () => void>;
|
|
33
|
-
function $mol_log3_area_lazy(this: $, event: $mol_log3_event<{}>): () => void;
|
|
34
|
-
let $mol_log3_stack: (() => void)[];
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
declare namespace $ {
|
|
38
|
-
const $mol_ambient_ref: unique symbol;
|
|
39
|
-
type $mol_ambient_context = $;
|
|
40
|
-
function $mol_ambient(this: $ | void, overrides: Partial<$>): $;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
declare namespace $ {
|
|
44
|
-
function $mol_delegate<Value extends object>(proto: Value, target: () => Value): Value;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
declare namespace $ {
|
|
48
|
-
const $mol_owning_map: WeakMap<any, any>;
|
|
49
|
-
function $mol_owning_allow<Having>(having: Having): having is Having & {
|
|
50
|
-
destructor(): void;
|
|
51
|
-
};
|
|
52
|
-
function $mol_owning_get<Having, Owner extends object>(having: Having, Owner?: {
|
|
53
|
-
new (): Owner;
|
|
54
|
-
}): Owner | null;
|
|
55
|
-
function $mol_owning_check<Owner, Having>(owner: Owner, having: Having): having is Having & {
|
|
56
|
-
destructor(): void;
|
|
57
|
-
};
|
|
58
|
-
function $mol_owning_catch<Owner, Having>(owner: Owner, having: Having): boolean;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
declare namespace $ {
|
|
62
|
-
function $mol_fail(error: any): never;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
declare namespace $ {
|
|
66
|
-
function $mol_fail_hidden(error: any): never;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
declare namespace $ {
|
|
70
|
-
type $mol_type_writable<T> = {
|
|
71
|
-
-readonly [P in keyof T]: T[P];
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
declare namespace $ {
|
|
76
|
-
class $mol_object2 {
|
|
77
|
-
static $: typeof $$;
|
|
78
|
-
[
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
static
|
|
83
|
-
static
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
readonly
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
static
|
|
132
|
-
|
|
133
|
-
static
|
|
134
|
-
|
|
135
|
-
static
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
static
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
track_next(pub?: $mol_wire_pub): $mol_wire_pub | null;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
get
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
declare namespace $ {
|
|
300
|
-
class $
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
declare namespace $ {
|
|
366
|
-
function $
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
declare namespace $ {
|
|
405
|
-
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
declare namespace $ {
|
|
409
|
-
type $
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
static
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
static
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
readonly
|
|
579
|
-
constructor(
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
declare namespace $ {
|
|
677
|
-
type
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
function $
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
declare namespace $ {
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
function $
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
declare namespace $ {
|
|
925
|
-
function $
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
}):
|
|
1148
|
-
|
|
1149
|
-
path: string;
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
path: string;
|
|
1158
|
-
exclude
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
}):
|
|
1175
|
-
|
|
1176
|
-
path: string;
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
}):
|
|
1180
|
-
|
|
1181
|
-
path: string;
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
}):
|
|
1185
|
-
|
|
1186
|
-
path: string;
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
}
|
|
1
|
+
declare let _$_: {
|
|
2
|
+
new (): {};
|
|
3
|
+
} & typeof globalThis;
|
|
4
|
+
declare class $ extends _$_ {
|
|
5
|
+
}
|
|
6
|
+
declare namespace $ {
|
|
7
|
+
export type $ = typeof $$;
|
|
8
|
+
export class $$ extends $ {
|
|
9
|
+
}
|
|
10
|
+
namespace $$ {
|
|
11
|
+
type $$ = $;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare namespace $ {
|
|
17
|
+
type $mol_log3_event<Fields> = {
|
|
18
|
+
[key in string]: unknown;
|
|
19
|
+
} & {
|
|
20
|
+
time?: string;
|
|
21
|
+
place: unknown;
|
|
22
|
+
message: string;
|
|
23
|
+
} & Fields;
|
|
24
|
+
type $mol_log3_logger<Fields, Res = void> = (this: $, event: $mol_log3_event<Fields>) => Res;
|
|
25
|
+
let $mol_log3_come: $mol_log3_logger<{}>;
|
|
26
|
+
let $mol_log3_done: $mol_log3_logger<{}>;
|
|
27
|
+
let $mol_log3_fail: $mol_log3_logger<{}>;
|
|
28
|
+
let $mol_log3_warn: $mol_log3_logger<{
|
|
29
|
+
hint: string;
|
|
30
|
+
}>;
|
|
31
|
+
let $mol_log3_rise: $mol_log3_logger<{}>;
|
|
32
|
+
let $mol_log3_area: $mol_log3_logger<{}, () => void>;
|
|
33
|
+
function $mol_log3_area_lazy(this: $, event: $mol_log3_event<{}>): () => void;
|
|
34
|
+
let $mol_log3_stack: (() => void)[];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare namespace $ {
|
|
38
|
+
const $mol_ambient_ref: unique symbol;
|
|
39
|
+
type $mol_ambient_context = $;
|
|
40
|
+
function $mol_ambient(this: $ | void, overrides: Partial<$>): $;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare namespace $ {
|
|
44
|
+
function $mol_delegate<Value extends object>(proto: Value, target: () => Value): Value;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare namespace $ {
|
|
48
|
+
const $mol_owning_map: WeakMap<any, any>;
|
|
49
|
+
function $mol_owning_allow<Having>(having: Having): having is Having & {
|
|
50
|
+
destructor(): void;
|
|
51
|
+
};
|
|
52
|
+
function $mol_owning_get<Having, Owner extends object>(having: Having, Owner?: {
|
|
53
|
+
new (): Owner;
|
|
54
|
+
}): Owner | null;
|
|
55
|
+
function $mol_owning_check<Owner, Having>(owner: Owner, having: Having): having is Having & {
|
|
56
|
+
destructor(): void;
|
|
57
|
+
};
|
|
58
|
+
function $mol_owning_catch<Owner, Having>(owner: Owner, having: Having): boolean;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare namespace $ {
|
|
62
|
+
function $mol_fail(error: any): never;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
declare namespace $ {
|
|
66
|
+
function $mol_fail_hidden(error: any): never;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
declare namespace $ {
|
|
70
|
+
type $mol_type_writable<T> = {
|
|
71
|
+
-readonly [P in keyof T]: T[P];
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
declare namespace $ {
|
|
76
|
+
class $mol_object2 {
|
|
77
|
+
static $: typeof $$;
|
|
78
|
+
[Symbol.toStringTag]: string;
|
|
79
|
+
[$mol_ambient_ref]: typeof $$;
|
|
80
|
+
get $(): $;
|
|
81
|
+
set $(next: $);
|
|
82
|
+
static create<Instance>(this: new (init?: (instance: any) => void) => Instance, init?: (instance: $mol_type_writable<Instance>) => void): Instance;
|
|
83
|
+
static [Symbol.toPrimitive](): string;
|
|
84
|
+
static toString(): string;
|
|
85
|
+
destructor(): void;
|
|
86
|
+
toString(): string;
|
|
87
|
+
toJSON(): any;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare namespace $ {
|
|
92
|
+
class $mol_span extends $mol_object2 {
|
|
93
|
+
readonly uri: string;
|
|
94
|
+
readonly source: string;
|
|
95
|
+
readonly row: number;
|
|
96
|
+
readonly col: number;
|
|
97
|
+
readonly length: number;
|
|
98
|
+
constructor(uri: string, source: string, row: number, col: number, length: number);
|
|
99
|
+
static unknown: $mol_span;
|
|
100
|
+
static begin(uri: string, source?: string): $mol_span;
|
|
101
|
+
static end(uri: string, source: string): $mol_span;
|
|
102
|
+
static entire(uri: string, source: string): $mol_span;
|
|
103
|
+
toString(): string;
|
|
104
|
+
toJSON(): {
|
|
105
|
+
uri: string;
|
|
106
|
+
row: number;
|
|
107
|
+
col: number;
|
|
108
|
+
length: number;
|
|
109
|
+
};
|
|
110
|
+
error(message: string, Class?: ErrorConstructor): Error;
|
|
111
|
+
span(row: number, col: number, length: number): $mol_span;
|
|
112
|
+
after(length?: number): $mol_span;
|
|
113
|
+
slice(begin: number, end?: number): $mol_span;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare namespace $ {
|
|
118
|
+
function $mol_tree2_to_string(this: $, tree: $mol_tree2): string;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare namespace $ {
|
|
122
|
+
type $mol_tree2_path = Array<string | number | null>;
|
|
123
|
+
type $mol_tree2_hack<Context> = (input: $mol_tree2, belt: $mol_tree2_belt<Context>, context: Context) => readonly $mol_tree2[];
|
|
124
|
+
type $mol_tree2_belt<Context> = Record<string, $mol_tree2_hack<Context>>;
|
|
125
|
+
class $mol_tree2 extends Object {
|
|
126
|
+
readonly type: string;
|
|
127
|
+
readonly value: string;
|
|
128
|
+
readonly kids: readonly $mol_tree2[];
|
|
129
|
+
readonly span: $mol_span;
|
|
130
|
+
constructor(type: string, value: string, kids: readonly $mol_tree2[], span: $mol_span);
|
|
131
|
+
static list(kids: readonly $mol_tree2[], span?: $mol_span): $mol_tree2;
|
|
132
|
+
list(kids: readonly $mol_tree2[]): $mol_tree2;
|
|
133
|
+
static data(value: string, kids?: readonly $mol_tree2[], span?: $mol_span): $mol_tree2;
|
|
134
|
+
data(value: string, kids?: readonly $mol_tree2[]): $mol_tree2;
|
|
135
|
+
static struct(type: string, kids?: readonly $mol_tree2[], span?: $mol_span): $mol_tree2;
|
|
136
|
+
struct(type: string, kids?: readonly $mol_tree2[]): $mol_tree2;
|
|
137
|
+
clone(kids: readonly $mol_tree2[], span?: $mol_span): $mol_tree2;
|
|
138
|
+
text(): string;
|
|
139
|
+
static fromString(str: string, uri?: string): $mol_tree2;
|
|
140
|
+
toString(): string;
|
|
141
|
+
insert(value: $mol_tree2 | null, ...path: $mol_tree2_path): $mol_tree2;
|
|
142
|
+
select(...path: $mol_tree2_path): $mol_tree2;
|
|
143
|
+
filter(path: string[], value?: string): $mol_tree2;
|
|
144
|
+
hack<Context extends {
|
|
145
|
+
span?: $mol_span;
|
|
146
|
+
[key: string]: unknown;
|
|
147
|
+
} = {}>(belt: $mol_tree2_belt<Context>, context?: Context): $mol_tree2[];
|
|
148
|
+
error(message: string, Class?: ErrorConstructor): Error;
|
|
149
|
+
}
|
|
150
|
+
class $mol_tree2_empty extends $mol_tree2 {
|
|
151
|
+
constructor();
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
declare namespace $ {
|
|
156
|
+
class $mol_error_syntax extends SyntaxError {
|
|
157
|
+
reason: string;
|
|
158
|
+
line: string;
|
|
159
|
+
span: $mol_span;
|
|
160
|
+
constructor(reason: string, line: string, span: $mol_span);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
declare namespace $ {
|
|
165
|
+
function $mol_tree2_from_string(this: $, str: string, uri?: string): $mol_tree2;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
declare namespace $ {
|
|
169
|
+
function $mol_tree2_from_json(json: any, span?: $mol_span): $mol_tree2;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
declare namespace $ {
|
|
173
|
+
class $mol_term_color {
|
|
174
|
+
static reset: (str: string) => string;
|
|
175
|
+
static bold: (str: string) => string;
|
|
176
|
+
static italic: (str: string) => string;
|
|
177
|
+
static underline: (str: string) => string;
|
|
178
|
+
static inverse: (str: string) => string;
|
|
179
|
+
static hidden: (str: string) => string;
|
|
180
|
+
static strike: (str: string) => string;
|
|
181
|
+
static gray: (str: string) => string;
|
|
182
|
+
static red: (str: string) => string;
|
|
183
|
+
static green: (str: string) => string;
|
|
184
|
+
static yellow: (str: string) => string;
|
|
185
|
+
static blue: (str: string) => string;
|
|
186
|
+
static magenta: (str: string) => string;
|
|
187
|
+
static cyan: (str: string) => string;
|
|
188
|
+
static Gray: (str: string) => string;
|
|
189
|
+
static Red: (str: string) => string;
|
|
190
|
+
static Green: (str: string) => string;
|
|
191
|
+
static Yellow: (str: string) => string;
|
|
192
|
+
static Blue: (str: string) => string;
|
|
193
|
+
static Magenta: (str: string) => string;
|
|
194
|
+
static Cyan: (str: string) => string;
|
|
195
|
+
static ansi(open: number, close: number): (str: string) => string;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
declare namespace $ {
|
|
200
|
+
function $mol_log3_node_make(level: keyof Console, output: 'stdout' | 'stderr', type: string, color: (str: string) => string): (this: $, event: $mol_log3_event<{}>) => () => void;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
declare namespace $ {
|
|
204
|
+
enum $mol_wire_cursor {
|
|
205
|
+
stale = -1,
|
|
206
|
+
doubt = -2,
|
|
207
|
+
fresh = -3,
|
|
208
|
+
final = -4
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
declare namespace $ {
|
|
213
|
+
class $mol_wire_pub extends Object {
|
|
214
|
+
data: unknown[];
|
|
215
|
+
static get [Symbol.species](): ArrayConstructor;
|
|
216
|
+
protected sub_from: number;
|
|
217
|
+
get sub_list(): readonly $mol_wire_sub[];
|
|
218
|
+
get sub_empty(): boolean;
|
|
219
|
+
sub_on(sub: $mol_wire_pub, pub_pos: number): number;
|
|
220
|
+
sub_off(sub_pos: number): void;
|
|
221
|
+
reap(): void;
|
|
222
|
+
promote(): void;
|
|
223
|
+
fresh(): void;
|
|
224
|
+
complete(): void;
|
|
225
|
+
get incompleted(): boolean;
|
|
226
|
+
emit(quant?: $mol_wire_cursor): void;
|
|
227
|
+
peer_move(from_pos: number, to_pos: number): void;
|
|
228
|
+
peer_repos(peer_pos: number, self_pos: number): void;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
declare namespace $ {
|
|
233
|
+
interface $mol_wire_sub extends $mol_wire_pub {
|
|
234
|
+
temp: boolean;
|
|
235
|
+
track_on(): $mol_wire_sub | null;
|
|
236
|
+
track_next(pub?: $mol_wire_pub): $mol_wire_pub | null;
|
|
237
|
+
pub_off(pub_pos: number): void;
|
|
238
|
+
track_cut(sub: $mol_wire_pub | null): void;
|
|
239
|
+
track_off(sub: $mol_wire_pub | null): void;
|
|
240
|
+
absorb(quant: $mol_wire_cursor): void;
|
|
241
|
+
destructor(): void;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
declare namespace $ {
|
|
246
|
+
let $mol_wire_auto_sub: $mol_wire_sub | null;
|
|
247
|
+
function $mol_wire_auto(next?: $mol_wire_sub | null): $mol_wire_sub | null;
|
|
248
|
+
const $mol_wire_affected: (number | $mol_wire_sub)[];
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
declare namespace $ {
|
|
252
|
+
function $mol_dev_format_register(config: {
|
|
253
|
+
header: (val: any, config: any) => any;
|
|
254
|
+
hasBody: (val: any, config: any) => false;
|
|
255
|
+
} | {
|
|
256
|
+
header: (val: any, config: any) => any;
|
|
257
|
+
hasBody: (val: any, config: any) => boolean;
|
|
258
|
+
body: (val: any, config: any) => any;
|
|
259
|
+
}): void;
|
|
260
|
+
let $mol_dev_format_head: symbol;
|
|
261
|
+
let $mol_dev_format_body: symbol;
|
|
262
|
+
function $mol_dev_format_native(obj: any): any;
|
|
263
|
+
function $mol_dev_format_auto(obj: any): any;
|
|
264
|
+
function $mol_dev_format_element(element: string, style: object, ...content: any[]): any[];
|
|
265
|
+
function $mol_dev_format_span(style: object, ...content: any[]): any[];
|
|
266
|
+
let $mol_dev_format_div: (style: object, ...content: any[]) => any[];
|
|
267
|
+
let $mol_dev_format_ol: (style: object, ...content: any[]) => any[];
|
|
268
|
+
let $mol_dev_format_li: (style: object, ...content: any[]) => any[];
|
|
269
|
+
let $mol_dev_format_table: (style: object, ...content: any[]) => any[];
|
|
270
|
+
let $mol_dev_format_tr: (style: object, ...content: any[]) => any[];
|
|
271
|
+
let $mol_dev_format_td: (style: object, ...content: any[]) => any[];
|
|
272
|
+
let $mol_dev_format_accent: (...args: any[]) => any[];
|
|
273
|
+
let $mol_dev_format_strong: (...args: any[]) => any[];
|
|
274
|
+
let $mol_dev_format_string: (...args: any[]) => any[];
|
|
275
|
+
let $mol_dev_format_shade: (...args: any[]) => any[];
|
|
276
|
+
let $mol_dev_format_indent: (...args: any[]) => any[];
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
declare namespace $ {
|
|
280
|
+
class $mol_wire_pub_sub extends $mol_wire_pub implements $mol_wire_sub {
|
|
281
|
+
protected pub_from: number;
|
|
282
|
+
protected cursor: $mol_wire_cursor;
|
|
283
|
+
get temp(): boolean;
|
|
284
|
+
get pub_list(): $mol_wire_pub[];
|
|
285
|
+
track_on(): $mol_wire_sub | null;
|
|
286
|
+
promote(): void;
|
|
287
|
+
track_next(pub?: $mol_wire_pub): $mol_wire_pub | null;
|
|
288
|
+
track_off(sub: $mol_wire_sub | null): void;
|
|
289
|
+
pub_off(sub_pos: number): void;
|
|
290
|
+
destructor(): void;
|
|
291
|
+
track_cut(): void;
|
|
292
|
+
complete(): void;
|
|
293
|
+
complete_pubs(): void;
|
|
294
|
+
absorb(quant?: $mol_wire_cursor): void;
|
|
295
|
+
get pub_empty(): boolean;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
declare namespace $ {
|
|
300
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
301
|
+
delay: number;
|
|
302
|
+
task: () => void;
|
|
303
|
+
id: any;
|
|
304
|
+
constructor(delay: number, task: () => void);
|
|
305
|
+
destructor(): void;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
declare namespace $ {
|
|
310
|
+
class $mol_after_frame extends $mol_after_timeout {
|
|
311
|
+
task: () => void;
|
|
312
|
+
constructor(task: () => void);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
declare namespace $ {
|
|
317
|
+
function $mol_promise_like(val: any): val is Promise<any>;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
declare namespace $ {
|
|
321
|
+
abstract class $mol_wire_fiber<Host, Args extends readonly unknown[], Result> extends $mol_wire_pub_sub {
|
|
322
|
+
readonly task: (this: Host, ...args: Args) => Result;
|
|
323
|
+
readonly host?: Host | undefined;
|
|
324
|
+
static warm: boolean;
|
|
325
|
+
static planning: Set<$mol_wire_fiber<any, any, any>>;
|
|
326
|
+
static reaping: Set<$mol_wire_fiber<any, any, any>>;
|
|
327
|
+
static plan_task: $mol_after_frame | null;
|
|
328
|
+
static plan(): void;
|
|
329
|
+
static sync(): void;
|
|
330
|
+
[Symbol.toStringTag]: string;
|
|
331
|
+
cache: Result | Error | Promise<Result | Error>;
|
|
332
|
+
get args(): Args;
|
|
333
|
+
result(): Result | undefined;
|
|
334
|
+
get incompleted(): boolean;
|
|
335
|
+
field(): string;
|
|
336
|
+
constructor(id: string, task: (this: Host, ...args: Args) => Result, host?: Host | undefined, args?: Args);
|
|
337
|
+
plan(): void;
|
|
338
|
+
reap(): void;
|
|
339
|
+
toString(): string;
|
|
340
|
+
toJSON(): string;
|
|
341
|
+
get $(): any;
|
|
342
|
+
emit(quant?: $mol_wire_cursor): void;
|
|
343
|
+
fresh(): void;
|
|
344
|
+
refresh(): void;
|
|
345
|
+
abstract put(next: Result | Error | Promise<Result | Error>): Result | Error | Promise<Result | Error>;
|
|
346
|
+
sync(): Awaited<Result>;
|
|
347
|
+
async(): Promise<Result>;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
declare namespace $ {
|
|
352
|
+
let $mol_compare_deep_cache: WeakMap<any, WeakMap<any, boolean>>;
|
|
353
|
+
function $mol_compare_deep<Value>(left: Value, right: Value): boolean;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
declare namespace $ {
|
|
357
|
+
class $mol_wire_task<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
|
|
358
|
+
static getter<Host, Args extends readonly unknown[], Result>(task: (this: Host, ...args: Args) => Result): (host: Host, args: Args) => $mol_wire_task<Host, Args, Result>;
|
|
359
|
+
get temp(): boolean;
|
|
360
|
+
complete(): void;
|
|
361
|
+
put(next: Result | Error | Promise<Result | Error>): Error | Result | Promise<Error | Result>;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
declare namespace $ {
|
|
366
|
+
function $mol_wire_async<Host extends object>(obj: Host): (Host extends (...args: infer Args) => infer Res ? Res extends Promise<any> ? Host : (...args: Args) => Promise<Res> : {}) & { [key in keyof Host]: Host[key] extends (...args: infer Args_1) => infer Res_1 ? Res_1 extends Promise<any> ? Host[key] : (...args: Args_1) => Promise<Res_1> : Host[key]; };
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
declare namespace $ {
|
|
370
|
+
namespace $$ { }
|
|
371
|
+
const $mol_object_field: unique symbol;
|
|
372
|
+
class $mol_object extends $mol_object2 {
|
|
373
|
+
static make<Instance>(this: {
|
|
374
|
+
new (): Instance;
|
|
375
|
+
}, config: Partial<Instance>): Instance;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
declare namespace $ {
|
|
380
|
+
function $mol_func_name(this: $, func: Function): string;
|
|
381
|
+
function $mol_func_name_from<Target extends Function>(target: Target, source: Function): Target;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
declare namespace $ {
|
|
385
|
+
function $mol_guid(length?: number, exists?: (id: string) => boolean): string;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
declare namespace $ {
|
|
389
|
+
const $mol_key_store: WeakMap<object, string>;
|
|
390
|
+
function $mol_key<Value>(value: Value): string;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
declare namespace $ {
|
|
394
|
+
function $mol_wire_method<Host extends object, Args extends readonly any[]>(host: Host, field: PropertyKey, descr?: TypedPropertyDescriptor<(...args: Args) => any>): {
|
|
395
|
+
value: (this: Host, ...args: Args) => any;
|
|
396
|
+
enumerable?: boolean | undefined;
|
|
397
|
+
configurable?: boolean | undefined;
|
|
398
|
+
writable?: boolean | undefined;
|
|
399
|
+
get?: (() => (...args: Args) => any) | undefined;
|
|
400
|
+
set?: ((value: (...args: Args) => any) => void) | undefined;
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
declare namespace $ {
|
|
405
|
+
type $mol_type_tail<Tuple extends readonly any[]> = ((...tail: Tuple) => any) extends ((head: any, ...tail: infer Tail) => any) ? Tail : never;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
declare namespace $ {
|
|
409
|
+
type $mol_type_foot<Tuple extends readonly any[]> = Tuple['length'] extends 0 ? never : Tuple[$mol_type_tail<Tuple>['length']];
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
declare namespace $ {
|
|
413
|
+
function $mol_fail_catch(error: unknown): boolean;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
declare namespace $ {
|
|
417
|
+
function $mol_fail_log(error: unknown): boolean;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
declare namespace $ {
|
|
421
|
+
class $mol_wire_atom<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
|
|
422
|
+
static solo<Host, Args extends readonly unknown[], Result>(host: Host, task: (this: Host, ...args: Args) => Result): $mol_wire_atom<Host, Args, Result>;
|
|
423
|
+
static plex<Host, Args extends readonly unknown[], Result>(host: Host, task: (this: Host, ...args: Args) => Result, key: Args[0]): $mol_wire_atom<Host, Args, Result>;
|
|
424
|
+
static watching: Set<$mol_wire_atom<any, any, any>>;
|
|
425
|
+
static watcher: $mol_after_frame | null;
|
|
426
|
+
static watch(): void;
|
|
427
|
+
watch(): void;
|
|
428
|
+
resync(args: Args): Error | Result | Promise<Error | Result>;
|
|
429
|
+
once(): Awaited<Result>;
|
|
430
|
+
channel(): ((next?: $mol_type_foot<Args>) => Awaited<Result>) & {
|
|
431
|
+
atom: $mol_wire_atom<Host, Args, Result>;
|
|
432
|
+
};
|
|
433
|
+
destructor(): void;
|
|
434
|
+
put(next: Result | Error | Promise<Result | Error>): Error | Result | Promise<Error | Result>;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
declare namespace $ {
|
|
439
|
+
export function $mol_wire_solo<Args extends any[]>(host: object, field: string, descr?: TypedPropertyDescriptor<(...args: Args) => any>): TypedPropertyDescriptor<(...args: First_optional<Args>) => any>;
|
|
440
|
+
type First_optional<Args extends any[]> = Args extends [] ? [] : [Args[0] | undefined, ...$mol_type_tail<Args>];
|
|
441
|
+
export {};
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
declare namespace $ {
|
|
445
|
+
function $mol_wire_plex<Args extends [any, ...any[]]>(host: object, field: string, descr?: TypedPropertyDescriptor<(...args: Args) => any>): {
|
|
446
|
+
value: (this: typeof host, ...args: Args) => any;
|
|
447
|
+
enumerable?: boolean | undefined;
|
|
448
|
+
configurable?: boolean | undefined;
|
|
449
|
+
writable?: boolean | undefined;
|
|
450
|
+
get?: (() => (...args: Args) => any) | undefined;
|
|
451
|
+
set?: ((value: (...args: Args) => any) => void) | undefined;
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
declare namespace $ {
|
|
456
|
+
let $mol_mem: typeof $mol_wire_solo;
|
|
457
|
+
let $mol_mem_key: typeof $mol_wire_plex;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
declare namespace $ {
|
|
461
|
+
type $mol_charset_encoding = 'utf8' | 'utf-16le' | 'utf-16be' | 'ibm866' | 'iso-8859-2' | 'iso-8859-3' | 'iso-8859-4' | 'iso-8859-5' | 'iso-8859-6' | 'iso-8859-7' | 'iso-8859-8' | 'iso-8859-8i' | 'iso-8859-10' | 'iso-8859-13' | 'iso-8859-14' | 'iso-8859-15' | 'iso-8859-16' | 'koi8-r' | 'koi8-u' | 'koi8-r' | 'macintosh' | 'windows-874' | 'windows-1250' | 'windows-1251' | 'windows-1252' | 'windows-1253' | 'windows-1254' | 'windows-1255' | 'windows-1256' | 'windows-1257' | 'windows-1258' | 'x-mac-cyrillic' | 'gbk' | 'gb18030' | 'hz-gb-2312' | 'big5' | 'euc-jp' | 'iso-2022-jp' | 'shift-jis' | 'euc-kr' | 'iso-2022-kr';
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
declare namespace $ {
|
|
465
|
+
function $mol_charset_decode(buffer: BufferSource, encoding?: $mol_charset_encoding): string;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
interface $node {
|
|
469
|
+
[key: string]: any;
|
|
470
|
+
}
|
|
471
|
+
declare var $node: $node;
|
|
472
|
+
|
|
473
|
+
declare namespace $ {
|
|
474
|
+
function $mol_env(): Record<string, string | undefined>;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
declare namespace $ {
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/// <reference types="node" />
|
|
481
|
+
/// <reference types="node" />
|
|
482
|
+
declare namespace $ {
|
|
483
|
+
function $mol_exec(this: $, dir: string, command: string, ...args: string[]): import("child_process").SpawnSyncReturns<Buffer>;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
declare namespace $ {
|
|
487
|
+
function $mol_charset_encode(value: string): Uint8Array;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
declare namespace $ {
|
|
491
|
+
type $mol_file_type = 'file' | 'dir' | 'link';
|
|
492
|
+
interface $mol_file_stat {
|
|
493
|
+
type: $mol_file_type;
|
|
494
|
+
size: number;
|
|
495
|
+
atime: Date;
|
|
496
|
+
mtime: Date;
|
|
497
|
+
ctime: Date;
|
|
498
|
+
}
|
|
499
|
+
class $mol_file_not_found extends Error {
|
|
500
|
+
}
|
|
501
|
+
abstract class $mol_file extends $mol_object {
|
|
502
|
+
static absolute(path: string): $mol_file;
|
|
503
|
+
static relative(path: string): $mol_file;
|
|
504
|
+
static base: string;
|
|
505
|
+
path(): string;
|
|
506
|
+
parent(): $mol_file;
|
|
507
|
+
abstract stat(next?: $mol_file_stat | null, virt?: 'virt'): $mol_file_stat | null;
|
|
508
|
+
reset(): void;
|
|
509
|
+
version(): string;
|
|
510
|
+
abstract ensure(): void;
|
|
511
|
+
watcher(): {
|
|
512
|
+
destructor(): void;
|
|
513
|
+
};
|
|
514
|
+
exists(next?: boolean): boolean;
|
|
515
|
+
type(): "" | $mol_file_type;
|
|
516
|
+
name(): string;
|
|
517
|
+
ext(): string;
|
|
518
|
+
abstract buffer(next?: Uint8Array): Uint8Array;
|
|
519
|
+
text(next?: string, virt?: 'virt'): string;
|
|
520
|
+
abstract sub(): $mol_file[];
|
|
521
|
+
abstract resolve(path: string): $mol_file;
|
|
522
|
+
abstract relate(base?: $mol_file): string;
|
|
523
|
+
abstract append(next: Uint8Array | string): void;
|
|
524
|
+
find(include?: RegExp, exclude?: RegExp): $mol_file[];
|
|
525
|
+
size(): number;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
declare namespace $ {
|
|
530
|
+
function $mol_const<Value>(value: Value): {
|
|
531
|
+
(): Value;
|
|
532
|
+
'()': Value;
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
declare namespace $ {
|
|
537
|
+
function $mol_wire_probe<Value>(task: () => Value, def?: Value): Value | undefined;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
declare namespace $ {
|
|
541
|
+
let $mol_mem_cached: typeof $mol_wire_probe;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
declare namespace $ {
|
|
545
|
+
function $mol_compare_array<Value extends ArrayLike<unknown>>(a: Value, b: Value): boolean;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
declare namespace $ {
|
|
549
|
+
class $mol_file_node extends $mol_file {
|
|
550
|
+
static absolute(path: string): $mol_file_node;
|
|
551
|
+
static relative(path: string): $mol_file_node;
|
|
552
|
+
watcher(): {
|
|
553
|
+
destructor(): void;
|
|
554
|
+
};
|
|
555
|
+
stat(next?: $mol_file_stat | null, virt?: 'virt'): $mol_file_stat | null;
|
|
556
|
+
ensure(): void;
|
|
557
|
+
buffer(next?: Uint8Array): Uint8Array;
|
|
558
|
+
sub(): $mol_file[];
|
|
559
|
+
resolve(path: string): $mol_file;
|
|
560
|
+
relate(base?: $mol_file): string;
|
|
561
|
+
append(next: Uint8Array | string): undefined;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
declare namespace $ {
|
|
566
|
+
const $mol_tree_convert: unique symbol;
|
|
567
|
+
type $mol_tree_path = Array<string | number | null>;
|
|
568
|
+
type $mol_tree_hack = (input: $mol_tree, context: $mol_tree_context) => readonly $mol_tree[];
|
|
569
|
+
type $mol_tree_context = Record<string, $mol_tree_hack>;
|
|
570
|
+
type $mol_tree_library = Record<string, $mol_tree_context>;
|
|
571
|
+
class $mol_tree extends $mol_object2 {
|
|
572
|
+
readonly type: string;
|
|
573
|
+
readonly data: string;
|
|
574
|
+
readonly sub: readonly $mol_tree[];
|
|
575
|
+
readonly baseUri: string;
|
|
576
|
+
readonly row: number;
|
|
577
|
+
readonly col: number;
|
|
578
|
+
readonly length: number;
|
|
579
|
+
constructor(config?: Partial<$mol_tree>);
|
|
580
|
+
static values(str: string, baseUri?: string): $mol_tree[];
|
|
581
|
+
clone(config?: Partial<$mol_tree>): $mol_tree;
|
|
582
|
+
make(config: Partial<$mol_tree>): $mol_tree;
|
|
583
|
+
make_data(value: string, sub?: readonly $mol_tree[]): $mol_tree;
|
|
584
|
+
make_struct(type: string, sub?: readonly $mol_tree[]): $mol_tree;
|
|
585
|
+
static fromString(str: string, baseUri?: string): $mol_tree;
|
|
586
|
+
static fromJSON(json: any, baseUri?: string): $mol_tree;
|
|
587
|
+
get uri(): string;
|
|
588
|
+
toString(prefix?: string): string;
|
|
589
|
+
toJSON(): any;
|
|
590
|
+
get value(): string;
|
|
591
|
+
insert(value: $mol_tree, ...path: $mol_tree_path): $mol_tree;
|
|
592
|
+
select(...path: $mol_tree_path): $mol_tree;
|
|
593
|
+
filter(path: string[], value?: string): $mol_tree;
|
|
594
|
+
transform(visit: (stack: $mol_tree[], sub: () => $mol_tree[]) => $mol_tree | null, stack?: $mol_tree[]): $mol_tree | null;
|
|
595
|
+
hack(context: $mol_tree_context): $mol_tree;
|
|
596
|
+
error(message: string): Error;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
declare namespace $ {
|
|
601
|
+
class $mol_view_tree2_error extends Error {
|
|
602
|
+
readonly spans: readonly $mol_span[];
|
|
603
|
+
constructor(message: string, spans: readonly $mol_span[]);
|
|
604
|
+
toJSON(): {
|
|
605
|
+
message: string;
|
|
606
|
+
spans: readonly $mol_span[];
|
|
607
|
+
};
|
|
608
|
+
}
|
|
609
|
+
class $mol_view_tree2_error_suggestions {
|
|
610
|
+
readonly suggestions: readonly string[];
|
|
611
|
+
constructor(suggestions: readonly string[]);
|
|
612
|
+
toString(): string;
|
|
613
|
+
toJSON(): readonly string[];
|
|
614
|
+
}
|
|
615
|
+
function $mol_view_tree2_error_str(strings: readonly string[], ...parts: readonly ($mol_span | readonly $mol_span[] | string | number | $mol_view_tree2_error_suggestions)[]): $mol_view_tree2_error;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
declare namespace $ {
|
|
619
|
+
function $mol_view_tree2_child(this: $, tree: $mol_tree2): $mol_tree2;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
declare namespace $ {
|
|
623
|
+
function $mol_view_tree2_classes(defs: $mol_tree2): $mol_tree2;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
declare namespace $ {
|
|
627
|
+
type $mol_view_tree2_locales = Record<string, string>;
|
|
628
|
+
class $mol_view_tree2_context extends $mol_object2 {
|
|
629
|
+
protected parents: readonly $mol_view_tree2_prop[];
|
|
630
|
+
protected locales: $mol_view_tree2_locales;
|
|
631
|
+
protected methods: $mol_tree2[];
|
|
632
|
+
readonly types: boolean;
|
|
633
|
+
protected added_nodes: Map<string, {
|
|
634
|
+
src: $mol_tree2;
|
|
635
|
+
name: $mol_tree2;
|
|
636
|
+
key: $mol_tree2 | undefined;
|
|
637
|
+
next: $mol_tree2 | undefined;
|
|
638
|
+
}>;
|
|
639
|
+
protected array?: $mol_tree2 | undefined;
|
|
640
|
+
constructor($: $, parents: readonly $mol_view_tree2_prop[], locales: $mol_view_tree2_locales, methods: $mol_tree2[], types?: boolean, added_nodes?: Map<string, {
|
|
641
|
+
src: $mol_tree2;
|
|
642
|
+
name: $mol_tree2;
|
|
643
|
+
key: $mol_tree2 | undefined;
|
|
644
|
+
next: $mol_tree2 | undefined;
|
|
645
|
+
}>, array?: $mol_tree2 | undefined);
|
|
646
|
+
protected clone(prefixes: readonly $mol_view_tree2_prop[], array?: $mol_tree2): $mol_view_tree2_context;
|
|
647
|
+
parent(prefix: $mol_view_tree2_prop): $mol_view_tree2_context;
|
|
648
|
+
root(): $mol_view_tree2_context;
|
|
649
|
+
locale_disable(array: $mol_tree2): $mol_view_tree2_context;
|
|
650
|
+
get_method({ name, src, key, next }: $mol_view_tree2_prop): {
|
|
651
|
+
src: $mol_tree2;
|
|
652
|
+
name: $mol_tree2;
|
|
653
|
+
key: $mol_tree2 | undefined;
|
|
654
|
+
next: $mol_tree2 | undefined;
|
|
655
|
+
} | undefined;
|
|
656
|
+
check_scope_vars({ name, key, next }: $mol_view_tree2_prop): undefined;
|
|
657
|
+
index(owner: $mol_view_tree2_prop): number;
|
|
658
|
+
method(index: number, method: $mol_tree2[]): void;
|
|
659
|
+
protected locale_nodes: Map<string, $mol_tree2>;
|
|
660
|
+
locale(operator: $mol_tree2): $mol_tree2;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
declare namespace $ {
|
|
665
|
+
function $mol_view_tree2_normalize(this: $, defs: $mol_tree2): $mol_tree2;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
declare namespace $ {
|
|
669
|
+
function $mol_view_tree2_class_super(this: $, klass: $mol_tree2): $mol_tree2;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
declare namespace $ {
|
|
673
|
+
function $mol_view_tree2_class_props(this: $, klass: $mol_tree2): $mol_tree2[];
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
declare namespace $ {
|
|
677
|
+
type $mol_type_equals<A, B> = (<X>() => X extends A ? 1 : 2) extends (<X>() => X extends B ? 1 : 2) ? unknown : never;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
declare namespace $ {
|
|
681
|
+
type $mol_type_merge<Intersection> = Intersection extends (...a: any[]) => any ? Intersection : Intersection extends new (...a: any[]) => any ? Intersection : Intersection extends object ? $mol_type_merge_object<Intersection> extends Intersection ? unknown extends $mol_type_equals<$mol_type_merge_object<Intersection>, Intersection> ? Intersection : {
|
|
682
|
+
[Key in keyof Intersection]: $mol_type_merge<Intersection[Key]>;
|
|
683
|
+
} : Intersection : Intersection;
|
|
684
|
+
type $mol_type_merge_object<Intersection> = {
|
|
685
|
+
[Key in keyof Intersection]: Intersection[Key];
|
|
686
|
+
};
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
declare namespace $ {
|
|
690
|
+
type $mol_type_intersect<Union> = (Union extends any ? (_: Union) => void : never) extends ((_: infer Intersection) => void) ? Intersection : never;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
declare namespace $ {
|
|
694
|
+
type $mol_type_override<Base, Over> = Omit<Base, keyof Over> & Over;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
declare namespace $ {
|
|
698
|
+
type $mol_unicode_category = [$mol_unicode_category_binary] | ['General_Category', $mol_char_category_general] | ['Script', $mol_unicode_category_script] | ['Script_Extensions', $mol_unicode_category_script];
|
|
699
|
+
type $mol_unicode_category_binary = 'ASCII' | 'ASCII_Hex_Digit' | 'Alphabetic' | 'Any' | 'Assigned' | 'Bidi_Control' | 'Bidi_Mirrored' | 'Case_Ignorable' | 'Cased' | 'Changes_When_Casefolded' | 'Changes_When_Casemapped' | 'Changes_When_Lowercased' | 'Changes_When_NFKC_Casefolded' | 'Changes_When_Titlecased' | 'Changes_When_Uppercased' | 'Dash' | 'Default_Ignorable_Code_Point' | 'Deprecated' | 'Diacritic' | 'Emoji' | 'Emoji_Component' | 'Emoji_Modifier' | 'Emoji_Modifier_Base' | 'Emoji_Presentation' | 'Extended_Pictographic' | 'Extender' | 'Grapheme_Base' | 'Grapheme_Extend' | 'Hex_Digit' | 'IDS_Binary_Operator' | 'IDS_Trinary_Operator' | 'ID_Continue' | 'ID_Start' | 'Ideographic' | 'Join_Control' | 'Logical_Order_Exception' | 'Lowercase' | 'Math' | 'Noncharacter_Code_Point' | 'Pattern_Syntax' | 'Pattern_White_Space' | 'Quotation_Mark' | 'Radical' | 'Regional_Indicator' | 'Sentence_Terminal' | 'Soft_Dotted' | 'Terminal_Punctuation' | 'Unified_Ideograph' | 'Uppercase' | 'Variation_Selector' | 'White_Space' | 'XID_Continue' | 'XID_Start';
|
|
700
|
+
type $mol_char_category_general = 'Cased_Letter' | 'Close_Punctuation' | 'Connector_Punctuation' | 'Control' | 'Currency_Symbol' | 'Dash_Punctuation' | 'Decimal_Number' | 'Enclosing_Mark' | 'Final_Punctuation' | 'Format' | 'Initial_Punctuation' | 'Letter' | 'Letter_Number' | 'Line_Separator' | 'Lowercase_Letter' | 'Mark' | 'Math_Symbol' | 'Modifier_Letter' | 'Modifier_Symbol' | 'Nonspacing_Mark' | 'Number' | 'Open_Punctuation' | 'Other' | 'Other_Letter' | 'Other_Number' | 'Other_Punctuation' | 'Other_Symbol' | 'Paragraph_Separator' | 'Private_Use' | 'Punctuation' | 'Separator' | 'Space_Separator' | 'Spacing_Mark' | 'Surrogate' | 'Symbol' | 'Titlecase_Letter' | 'Unassigned' | 'Uppercase_Letter';
|
|
701
|
+
type $mol_unicode_category_script = 'Adlam' | 'Ahom' | 'Anatolian_Hieroglyphs' | 'Arabic' | 'Armenian' | 'Avestan' | 'Balinese' | 'Bamum' | 'Bassa_Vah' | 'Batak' | 'Bengali' | 'Bhaiksuki' | 'Bopomofo' | 'Brahmi' | 'Braille' | 'Buginese' | 'Buhid' | 'Canadian_Aboriginal' | 'Carian' | 'Caucasian_Albanian' | 'Chakma' | 'Cham' | 'Chorasmian' | 'Cherokee' | 'Common' | 'Coptic' | 'Cuneiform' | 'Cypriot' | 'Cyrillic' | 'Deseret' | 'Devanagari' | 'Dives_Akuru' | 'Dogra' | 'Duployan' | 'Egyptian_Hieroglyphs' | 'Elbasan' | 'Elymaic' | 'Ethiopic' | 'Georgian' | 'Glagolitic' | 'Gothic' | 'Grantha' | 'Greek' | 'Gujarati' | 'Gunjala_Gondi' | 'Gurmukhi' | 'Han' | 'Hangul' | 'Hanifi_Rohingya' | 'Hanunoo' | 'Hatran' | 'Hebrew' | 'Hiragana' | 'Imperial_Aramaic' | 'Inherited' | 'Inscriptional_Pahlavi' | 'Inscriptional_Parthian' | 'Javanese' | 'Kaithi' | 'Kannada' | 'Katakana' | 'Kayah_Li' | 'Kharoshthi' | 'Khitan_Small_Script' | 'Khmer' | 'Khojki' | 'Khudawadi' | 'Lao' | 'Latin' | 'Lepcha' | 'Limbu' | 'Linear_A' | 'Linear_B' | 'Lisu' | 'Lycian' | 'Lydian' | 'Mahajani' | 'Makasar' | 'Malayalam' | 'Mandaic' | 'Manichaean' | 'Marchen' | 'Medefaidrin' | 'Masaram_Gondi' | 'Meetei_Mayek' | 'Mende_Kikakui' | 'Meroitic_Cursive' | 'Meroitic_Hieroglyphs' | 'Miao' | 'Modi' | 'Mongolian' | 'Mro' | 'Multani' | 'Myanmar' | 'Nabataean' | 'Nandinagari' | 'New_Tai_Lue' | 'Newa' | 'Nko' | 'Nushu' | 'Nyiakeng_Puachue_Hmong' | 'Ogham' | 'Ol_Chiki' | 'Old_Hungarian' | 'Old_Italic' | 'Old_North_Arabian' | 'Old_Permic' | 'Old_Persian' | 'Old_Sogdian' | 'Old_South_Arabian' | 'Old_Turkic' | 'Oriya' | 'Osage' | 'Osmanya' | 'Pahawh_Hmong' | 'Palmyrene' | 'Pau_Cin_Hau' | 'Phags_Pa' | 'Phoenician' | 'Psalter_Pahlavi' | 'Rejang' | 'Runic' | 'Samaritan' | 'Saurashtra' | 'Sharada' | 'Shavian' | 'Siddham' | 'SignWriting' | 'Sinhala' | 'Sogdian' | 'Sora_Sompeng' | 'Soyombo' | 'Sundanese' | 'Syloti_Nagri' | 'Syriac' | 'Tagalog' | 'Tagbanwa' | 'Tai_Le' | 'Tai_Tham' | 'Tai_Viet' | 'Takri' | 'Tamil' | 'Tangut' | 'Telugu' | 'Thaana' | 'Thai' | 'Tibetan' | 'Tifinagh' | 'Tirhuta' | 'Ugaritic' | 'Vai' | 'Wancho' | 'Warang_Citi' | 'Yezidi' | 'Yi' | 'Zanabazar_Square';
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
interface String {
|
|
705
|
+
match<RE extends RegExp>(regexp: RE): ReturnType<RE[typeof Symbol.match]>;
|
|
706
|
+
matchAll<RE extends RegExp>(regexp: RE): ReturnType<RE[typeof Symbol.matchAll]>;
|
|
707
|
+
}
|
|
708
|
+
declare namespace $ {
|
|
709
|
+
type Groups_to_params<T> = {
|
|
710
|
+
[P in keyof T]?: T[P] | boolean | undefined;
|
|
711
|
+
};
|
|
712
|
+
export type $mol_regexp_source = number | string | RegExp | {
|
|
713
|
+
[key in string]: $mol_regexp_source;
|
|
714
|
+
} | readonly [$mol_regexp_source, ...$mol_regexp_source[]];
|
|
715
|
+
export type $mol_regexp_groups<Source extends $mol_regexp_source> = Source extends number ? {} : Source extends string ? {} : Source extends $mol_regexp_source[] ? $mol_type_merge<$mol_type_intersect<{
|
|
716
|
+
[key in Extract<keyof Source, number>]: $mol_regexp_groups<Source[key]>;
|
|
717
|
+
}[Extract<keyof Source, number>]>> : Source extends RegExp ? Record<string, string> extends NonNullable<NonNullable<ReturnType<Source['exec']>>['groups']> ? {} : NonNullable<NonNullable<ReturnType<Source['exec']>>['groups']> : Source extends {
|
|
718
|
+
readonly [key in string]: $mol_regexp_source;
|
|
719
|
+
} ? $mol_type_merge<$mol_type_intersect<{
|
|
720
|
+
[key in keyof Source]: $mol_type_merge<$mol_type_override<{
|
|
721
|
+
readonly [k in Extract<keyof Source, string>]: string;
|
|
722
|
+
}, {
|
|
723
|
+
readonly [k in key]: Source[key] extends string ? Source[key] : string;
|
|
724
|
+
}> & $mol_regexp_groups<Source[key]>>;
|
|
725
|
+
}[keyof Source]>> : never;
|
|
726
|
+
export class $mol_regexp<Groups extends Record<string, string>> extends RegExp {
|
|
727
|
+
readonly groups: (Extract<keyof Groups, string>)[];
|
|
728
|
+
constructor(source: string, flags?: string, groups?: (Extract<keyof Groups, string>)[]);
|
|
729
|
+
[Symbol.matchAll](str: string): IterableIterator<RegExpMatchArray & $mol_type_override<RegExpMatchArray, {
|
|
730
|
+
groups?: {
|
|
731
|
+
[key in keyof Groups]: string;
|
|
732
|
+
};
|
|
733
|
+
}>>;
|
|
734
|
+
[Symbol.match](str: string): null | RegExpMatchArray;
|
|
735
|
+
[Symbol.split](str: string): string[];
|
|
736
|
+
test(str: string): boolean;
|
|
737
|
+
exec(str: string): RegExpExecArray & $mol_type_override<RegExpExecArray, {
|
|
738
|
+
groups?: {
|
|
739
|
+
[key in keyof Groups]: string;
|
|
740
|
+
};
|
|
741
|
+
}> | null;
|
|
742
|
+
generate(params: Groups_to_params<Groups>): string | null;
|
|
743
|
+
get native(): RegExp;
|
|
744
|
+
static repeat<Source extends $mol_regexp_source>(source: Source, min?: number, max?: number): $mol_regexp<$mol_regexp_groups<Source>>;
|
|
745
|
+
static repeat_greedy<Source extends $mol_regexp_source>(source: Source, min?: number, max?: number): $mol_regexp<$mol_regexp_groups<Source>>;
|
|
746
|
+
static vary<Sources extends readonly $mol_regexp_source[]>(sources: Sources): $mol_regexp<$mol_regexp_groups<Sources[number]>>;
|
|
747
|
+
static optional<Source extends $mol_regexp_source>(source: Source): $mol_regexp<$mol_regexp_groups<Source>>;
|
|
748
|
+
static force_after(source: $mol_regexp_source): $mol_regexp<Record<string, string>>;
|
|
749
|
+
static forbid_after(source: $mol_regexp_source): $mol_regexp<Record<string, string>>;
|
|
750
|
+
static from<Source extends $mol_regexp_source>(source: Source, { ignoreCase, multiline }?: Partial<Pick<RegExp, 'ignoreCase' | 'multiline'>>): $mol_regexp<$mol_regexp_groups<Source>>;
|
|
751
|
+
static unicode_only(...category: $mol_unicode_category): $mol_regexp<Record<string, string>>;
|
|
752
|
+
static unicode_except(...category: $mol_unicode_category): $mol_regexp<Record<string, string>>;
|
|
753
|
+
static char_range(from: number, to: number): $mol_regexp<{}>;
|
|
754
|
+
static char_only(...allowed: readonly [$mol_regexp_source, ...$mol_regexp_source[]]): $mol_regexp<{}>;
|
|
755
|
+
static char_except(...forbidden: readonly [$mol_regexp_source, ...$mol_regexp_source[]]): $mol_regexp<{}>;
|
|
756
|
+
static decimal_only: $mol_regexp<{}>;
|
|
757
|
+
static decimal_except: $mol_regexp<{}>;
|
|
758
|
+
static latin_only: $mol_regexp<{}>;
|
|
759
|
+
static latin_except: $mol_regexp<{}>;
|
|
760
|
+
static space_only: $mol_regexp<{}>;
|
|
761
|
+
static space_except: $mol_regexp<{}>;
|
|
762
|
+
static word_break_only: $mol_regexp<{}>;
|
|
763
|
+
static word_break_except: $mol_regexp<{}>;
|
|
764
|
+
static tab: $mol_regexp<{}>;
|
|
765
|
+
static slash_back: $mol_regexp<{}>;
|
|
766
|
+
static nul: $mol_regexp<{}>;
|
|
767
|
+
static char_any: $mol_regexp<{}>;
|
|
768
|
+
static begin: $mol_regexp<{}>;
|
|
769
|
+
static end: $mol_regexp<{}>;
|
|
770
|
+
static or: $mol_regexp<{}>;
|
|
771
|
+
static line_end: $mol_regexp<{
|
|
772
|
+
readonly win_end: string;
|
|
773
|
+
readonly mac_end: string;
|
|
774
|
+
}>;
|
|
775
|
+
}
|
|
776
|
+
export {};
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
declare namespace $ {
|
|
780
|
+
function $mol_view_tree2_prop_split(this: $, src: $mol_tree2): {
|
|
781
|
+
src: $mol_tree2;
|
|
782
|
+
name: $mol_tree2;
|
|
783
|
+
key: $mol_tree2 | undefined;
|
|
784
|
+
next: $mol_tree2 | undefined;
|
|
785
|
+
};
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
declare namespace $ {
|
|
789
|
+
type $mol_view_tree2_prop = ReturnType<typeof $mol_view_tree2_prop_split>;
|
|
790
|
+
function $mol_view_tree2_prop_name(this: $, prop: $mol_tree2): string;
|
|
791
|
+
function $mol_view_tree2_prop_key(this: $, prop: $mol_tree2): string | undefined;
|
|
792
|
+
function $mol_view_tree2_prop_next(this: $, prop: $mol_tree2): string | undefined;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
declare namespace $ {
|
|
796
|
+
function $mol_view_tree2_prop_quote(name: $mol_tree2): $mol_tree2;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
declare namespace $ {
|
|
800
|
+
let $mol_view_tree2_prop_signature: $mol_regexp<{
|
|
801
|
+
readonly name: string;
|
|
802
|
+
readonly key: string;
|
|
803
|
+
readonly next: string;
|
|
804
|
+
}>;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
declare namespace $ {
|
|
808
|
+
function $mol_view_tree2_value_type(this: $, val: $mol_tree2): "string" | "object" | "number" | "null" | "locale" | "bool" | "dict" | "get" | "bind" | "put" | "list";
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
declare namespace $ {
|
|
812
|
+
function $mol_view_tree2_value(this: $, value: $mol_tree2): $mol_tree2;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
declare namespace $ {
|
|
816
|
+
var $mol_dom_context: typeof globalThis;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
declare namespace $ {
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
declare namespace $ {
|
|
823
|
+
class $mol_state_local<Value> extends $mol_object {
|
|
824
|
+
static 'native()': Pick<Storage, 'getItem' | 'setItem' | 'removeItem'>;
|
|
825
|
+
static native(): Storage | {
|
|
826
|
+
getItem(key: string): any;
|
|
827
|
+
setItem(key: string, value: string): void;
|
|
828
|
+
removeItem(key: string): void;
|
|
829
|
+
};
|
|
830
|
+
static changes(next?: StorageEvent): StorageEvent | undefined;
|
|
831
|
+
static value<Value>(key: string, next?: Value | null): Value | null;
|
|
832
|
+
prefix(): string;
|
|
833
|
+
value(key: string, next?: Value): Value | null;
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
declare namespace $ {
|
|
838
|
+
function $mol_wire_sync<Host extends object>(obj: Host): (Host extends (...args: infer Args) => infer Res ? Res extends Promise<infer Res2> ? (...args: Args) => Res2 : Host : {}) & { [key in keyof Host]: Host[key] extends (...args: infer Args_1) => Promise<infer Res_1> ? (...args: Args_1) => Res_1 : Host[key]; };
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
declare namespace $ {
|
|
842
|
+
let $mol_action: typeof $mol_wire_method;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
declare namespace $ {
|
|
846
|
+
function $mol_dom_parse(text: string, type?: DOMParserSupportedType): Document;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
declare namespace $ {
|
|
850
|
+
class $mol_fetch_response extends $mol_object2 {
|
|
851
|
+
readonly native: Response;
|
|
852
|
+
constructor(native: Response);
|
|
853
|
+
status(): "unknown" | "success" | "inform" | "redirect" | "wrong" | "failed";
|
|
854
|
+
code(): number;
|
|
855
|
+
message(): string;
|
|
856
|
+
headers(): Headers;
|
|
857
|
+
mime(): string | null;
|
|
858
|
+
stream(): ReadableStream<Uint8Array> | null;
|
|
859
|
+
text(): string;
|
|
860
|
+
json(): unknown;
|
|
861
|
+
buffer(): ArrayBuffer;
|
|
862
|
+
xml(): Document;
|
|
863
|
+
xhtml(): Document;
|
|
864
|
+
html(): Document;
|
|
865
|
+
}
|
|
866
|
+
class $mol_fetch extends $mol_object2 {
|
|
867
|
+
static request(input: RequestInfo, init?: RequestInit): Promise<Response> & {
|
|
868
|
+
destructor: () => void;
|
|
869
|
+
};
|
|
870
|
+
static response(input: RequestInfo, init?: RequestInit): $mol_fetch_response;
|
|
871
|
+
static success(input: RequestInfo, init?: RequestInit): $mol_fetch_response;
|
|
872
|
+
static stream(input: RequestInfo, init?: RequestInit): ReadableStream<Uint8Array> | null;
|
|
873
|
+
static text(input: RequestInfo, init?: RequestInit): string;
|
|
874
|
+
static json(input: RequestInfo, init?: RequestInit): unknown;
|
|
875
|
+
static buffer(input: RequestInfo, init?: RequestInit): ArrayBuffer;
|
|
876
|
+
static xml(input: RequestInfo, init?: RequestInit): Document;
|
|
877
|
+
static xhtml(input: RequestInfo, init?: RequestInit): Document;
|
|
878
|
+
static html(input: RequestInfo, init?: RequestInit): Document;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
declare namespace $ {
|
|
883
|
+
function $mol_huggingface_run(this: $, space: string, method: string | number, ...data: readonly any[]): readonly any[];
|
|
884
|
+
function $mol_huggingface_rest(space: string, method: string, ...data: readonly any[]): readonly any[];
|
|
885
|
+
function $mol_huggingface_ws(space: string, fn_index: number, ...data: readonly any[]): Promise<readonly any[]> & {
|
|
886
|
+
destructor: () => void;
|
|
887
|
+
};
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
declare namespace $ {
|
|
891
|
+
function $hyoo_lingua_translate(this: $, lang: string, text: string): string;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
declare namespace $ {
|
|
895
|
+
interface $mol_locale_dict {
|
|
896
|
+
[key: string]: string;
|
|
897
|
+
}
|
|
898
|
+
class $mol_locale extends $mol_object {
|
|
899
|
+
static lang_default(): string;
|
|
900
|
+
static lang(next?: string): string;
|
|
901
|
+
static source(lang: string): any;
|
|
902
|
+
static texts(lang: string, next?: $mol_locale_dict): $mol_locale_dict;
|
|
903
|
+
static text(key: string): string;
|
|
904
|
+
static warn(key: string): null;
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
declare namespace $ {
|
|
909
|
+
function $mol_tree2_text_to_string(this: $, text: $mol_tree2): string;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
declare namespace $ {
|
|
913
|
+
function $mol_view_tree2_bind_both_parts(this: $, operator: $mol_tree2): {
|
|
914
|
+
owner_parts: {
|
|
915
|
+
src: $mol_tree2;
|
|
916
|
+
name: $mol_tree2;
|
|
917
|
+
key: $mol_tree2 | undefined;
|
|
918
|
+
next: $mol_tree2 | undefined;
|
|
919
|
+
};
|
|
920
|
+
default_value: $mol_tree2 | undefined;
|
|
921
|
+
};
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
declare namespace $ {
|
|
925
|
+
function $mol_view_tree2_bind_left_parts(this: $, operator: $mol_tree2, having_parts?: $mol_view_tree2_prop): {
|
|
926
|
+
default_value: $mol_tree2 | undefined;
|
|
927
|
+
owner_call_parts: {
|
|
928
|
+
src: $mol_tree2;
|
|
929
|
+
name: $mol_tree2;
|
|
930
|
+
key: $mol_tree2 | undefined;
|
|
931
|
+
next: $mol_tree2 | undefined;
|
|
932
|
+
};
|
|
933
|
+
owner_parts: {
|
|
934
|
+
src: $mol_tree2;
|
|
935
|
+
name: $mol_tree2;
|
|
936
|
+
key: $mol_tree2 | undefined;
|
|
937
|
+
next: $mol_tree2 | undefined;
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
declare namespace $ {
|
|
943
|
+
function $mol_view_tree2_bind_right_parts(this: $, operator: $mol_tree2, having_parts: $mol_view_tree2_prop, factory: $mol_view_tree2_prop): {
|
|
944
|
+
owner_parts: {
|
|
945
|
+
src: $mol_tree2;
|
|
946
|
+
name: $mol_tree2;
|
|
947
|
+
key: $mol_tree2 | undefined;
|
|
948
|
+
next: $mol_tree2 | undefined;
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
declare namespace $ {
|
|
954
|
+
function $mol_view_tree2_ts_bind_both(this: $, operator: $mol_tree2, context: $mol_view_tree2_context): $mol_tree2[];
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
declare namespace $ {
|
|
958
|
+
function $mol_view_tree2_ts_bind_left(this: $, operator: $mol_tree2, context: $mol_view_tree2_context, having_parts?: $mol_view_tree2_prop): $mol_tree2[];
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
declare namespace $ {
|
|
962
|
+
function $mol_view_tree2_ts_bind_right(this: $, operator: $mol_tree2, having_parts: $mol_view_tree2_prop, factory: $mol_view_tree2_prop, context: $mol_view_tree2_context): undefined;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
declare namespace $ {
|
|
966
|
+
function $mol_view_tree2_ts_class(this: $, klass: $mol_tree2, locales: $mol_view_tree2_locales): $mol_tree2;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
declare namespace $ {
|
|
970
|
+
function $mol_view_tree2_ts_value(this: $, src: $mol_tree2): $mol_tree2[];
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
declare namespace $ {
|
|
974
|
+
function $mol_view_tree2_ts_locale(operator: $mol_tree2, context: $mol_view_tree2_context): $mol_tree2[];
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
declare namespace $ {
|
|
978
|
+
function $mol_view_tree2_ts_module(this: $, tree2_module: $mol_tree2, locales: $mol_view_tree2_locales): $mol_tree2;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
declare namespace $ {
|
|
982
|
+
function $mol_view_tree2_ts_function_declaration({ name, key, next }: Pick<$mol_view_tree2_prop, 'name' | 'key' | 'next'>, types?: boolean): $mol_tree2;
|
|
983
|
+
function $mol_view_tree2_ts_function_call({ name, key, next }: Pick<$mol_view_tree2_prop, 'name' | 'key' | 'next'>): $mol_tree2;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
declare namespace $ {
|
|
987
|
+
function $mol_view_tree2_ts_spread(this: $, spread_prop: $mol_tree2): $mol_tree2;
|
|
988
|
+
class $mol_view_tree2_ts_spread_factory extends $mol_object2 {
|
|
989
|
+
protected prop_parts?: {
|
|
990
|
+
src: $mol_tree2;
|
|
991
|
+
name: $mol_tree2;
|
|
992
|
+
key: $mol_tree2 | undefined;
|
|
993
|
+
next: $mol_tree2 | undefined;
|
|
994
|
+
} | undefined;
|
|
995
|
+
protected super_spread: $mol_tree2 | undefined;
|
|
996
|
+
constructor($: $, prop_parts?: {
|
|
997
|
+
src: $mol_tree2;
|
|
998
|
+
name: $mol_tree2;
|
|
999
|
+
key: $mol_tree2 | undefined;
|
|
1000
|
+
next: $mol_tree2 | undefined;
|
|
1001
|
+
} | undefined);
|
|
1002
|
+
create(prop: $mol_tree2): $mol_tree2;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
declare namespace $ {
|
|
1007
|
+
function $mol_view_tree2_ts_comment(this: $, item: $mol_tree2): $mol_tree2[];
|
|
1008
|
+
function $mol_view_tree2_ts_comment_doc(this: $, item: $mol_tree2): $mol_tree2[];
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
declare namespace $ {
|
|
1012
|
+
function $mol_view_tree2_ts_compile(this: $, tree2_module: $mol_tree2): {
|
|
1013
|
+
script: string;
|
|
1014
|
+
locales: $mol_view_tree2_locales;
|
|
1015
|
+
};
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
declare namespace $ {
|
|
1019
|
+
function $mol_view_tree2_ts_dictionary(this: $, dictionary: $mol_tree2, dictionary_context: $mol_view_tree2_context, super_method?: $mol_view_tree2_prop): $mol_tree2[];
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
declare namespace $ {
|
|
1023
|
+
function $mol_view_tree2_ts_factory(this: $, klass: $mol_tree2, factory: $mol_view_tree2_prop, factory_context: $mol_view_tree2_context): $mol_tree2;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
declare namespace $ {
|
|
1027
|
+
class $mol_graph<Node, Edge> {
|
|
1028
|
+
nodes: Set<Node>;
|
|
1029
|
+
edges_out: Map<Node, Map<Node, Edge>>;
|
|
1030
|
+
edges_in: Map<Node, Map<Node, Edge>>;
|
|
1031
|
+
link_out(from: Node, to: Node, edge: Edge): void;
|
|
1032
|
+
link_in(to: Node, from: Node, edge: Edge): void;
|
|
1033
|
+
edge_out(from: Node, to: Node): NonNullable<Edge> | null;
|
|
1034
|
+
edge_in(to: Node, from: Node): NonNullable<Edge> | null;
|
|
1035
|
+
link(from: Node, to: Node, edge: Edge): void;
|
|
1036
|
+
unlink(from: Node, to: Node): void;
|
|
1037
|
+
acyclic(get_weight: (edge: Edge) => number): void;
|
|
1038
|
+
get sorted(): Set<Node>;
|
|
1039
|
+
get roots(): Node[];
|
|
1040
|
+
depth(select: (left: number, right: number) => number): Map<Node, number>;
|
|
1041
|
+
get depth_min(): Map<Node, number>;
|
|
1042
|
+
get depth_max(): Map<Node, number>;
|
|
1043
|
+
group_depth(select: (left: number, right: number) => number): Node[][];
|
|
1044
|
+
get group_depth_min(): Node[][];
|
|
1045
|
+
get proup_depth_max(): Node[][];
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
declare namespace $ {
|
|
1050
|
+
const sourcemap_codec: typeof import("sourcemap-codec");
|
|
1051
|
+
type SourceMapLine = ReturnType<typeof sourcemap_codec.decode>[0];
|
|
1052
|
+
export interface $mol_sourcemap_raw {
|
|
1053
|
+
version: number;
|
|
1054
|
+
sources: string[];
|
|
1055
|
+
names: string[];
|
|
1056
|
+
sourceRoot?: string;
|
|
1057
|
+
sourcesContent?: (string | null)[];
|
|
1058
|
+
mappings: string | SourceMapLine[];
|
|
1059
|
+
file?: string;
|
|
1060
|
+
}
|
|
1061
|
+
export class $mol_sourcemap_builder {
|
|
1062
|
+
readonly separator: string;
|
|
1063
|
+
readonly file?: string | undefined;
|
|
1064
|
+
version: number;
|
|
1065
|
+
protected sourceRoot: string;
|
|
1066
|
+
protected separator_count: number;
|
|
1067
|
+
constructor(dir: string, separator?: string, file?: string | undefined);
|
|
1068
|
+
protected chunks: string[];
|
|
1069
|
+
protected segment_lines: SourceMapLine[];
|
|
1070
|
+
protected sources: string[];
|
|
1071
|
+
protected source_indexes: Map<string, number>;
|
|
1072
|
+
protected names: string[];
|
|
1073
|
+
protected name_indexes: Map<string, number>;
|
|
1074
|
+
protected sourceContent: (null | string)[];
|
|
1075
|
+
get content(): string;
|
|
1076
|
+
get sourcemap(): $mol_sourcemap_raw;
|
|
1077
|
+
toJSON(): $mol_sourcemap_raw;
|
|
1078
|
+
toString(): string;
|
|
1079
|
+
protected add_chunk(content: string): void;
|
|
1080
|
+
protected add_content(content: string, file?: string): void;
|
|
1081
|
+
add(content: string, file?: string, raw?: $mol_sourcemap_raw | string): void;
|
|
1082
|
+
}
|
|
1083
|
+
export {};
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
declare namespace $ {
|
|
1087
|
+
function $mol_base64_encode(src: string | Uint8Array): string;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
declare namespace $ {
|
|
1091
|
+
function $mol_base64_encode_node(str: string | Uint8Array): string;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
declare namespace $ {
|
|
1095
|
+
function $mol_diff_path<Item>(...paths: Item[][]): {
|
|
1096
|
+
prefix: Item[];
|
|
1097
|
+
suffix: Item[][];
|
|
1098
|
+
};
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
declare namespace $ {
|
|
1102
|
+
class $mol_error_mix extends Error {
|
|
1103
|
+
errors: Error[];
|
|
1104
|
+
constructor(message: string, ...errors: Error[]);
|
|
1105
|
+
toJSON(): string;
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
declare namespace $ {
|
|
1110
|
+
function $mol_html_encode(text: string): string;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
declare namespace $ {
|
|
1114
|
+
function $mol_tree2_xml_to_text(xml: $mol_tree2): $mol_tree2;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
declare namespace $ {
|
|
1118
|
+
function $mol_view_tree2_ts_array_body(this: $, operator: $mol_tree2, parent_context: $mol_view_tree2_context, super_method?: $mol_view_tree2_prop): $mol_tree2;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
declare namespace $ {
|
|
1122
|
+
function $mol_view_tree2_ts_array(this: $, operator: $mol_tree2, context: $mol_view_tree2_context, super_method?: $mol_view_tree2_prop | undefined): $mol_tree2[];
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
declare namespace $ {
|
|
1126
|
+
function $mol_view_tree2_ts_method_body(this: $, having_parts: $mol_view_tree2_prop, parent_context: $mol_view_tree2_context): undefined;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
declare namespace $ {
|
|
1130
|
+
function $mol_view_tree2_ts_method(this: $, owner_parts: $mol_view_tree2_prop, body: $mol_tree2, types?: boolean): $mol_tree2[];
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
declare namespace $ {
|
|
1134
|
+
function $mol_build_start(this: $, paths: string[]): void;
|
|
1135
|
+
class $mol_build extends $mol_object {
|
|
1136
|
+
static root(path: string): $mol_build;
|
|
1137
|
+
static relative(path: string): $mol_build;
|
|
1138
|
+
server(): $mol_build_server;
|
|
1139
|
+
root(): $mol_file;
|
|
1140
|
+
metaTreeTranspile(path: string): $mol_file[];
|
|
1141
|
+
viewTreeTranspile(path: string): $mol_file[];
|
|
1142
|
+
cssTranspile(path: string): $mol_file[];
|
|
1143
|
+
glslTranspile(path: string): $mol_file[];
|
|
1144
|
+
mods({ path, exclude }: {
|
|
1145
|
+
path: string;
|
|
1146
|
+
exclude?: string[];
|
|
1147
|
+
}): $mol_file[];
|
|
1148
|
+
sources({ path, exclude }: {
|
|
1149
|
+
path: string;
|
|
1150
|
+
exclude?: string[];
|
|
1151
|
+
}): $mol_file[];
|
|
1152
|
+
sourcesSorted({ path, exclude }: {
|
|
1153
|
+
path: string;
|
|
1154
|
+
exclude?: string[];
|
|
1155
|
+
}): $mol_file[];
|
|
1156
|
+
sourcesAll({ path, exclude }: {
|
|
1157
|
+
path: string;
|
|
1158
|
+
exclude?: string[];
|
|
1159
|
+
}): $mol_file[];
|
|
1160
|
+
tsOptions(): import("typescript").CompilerOptions;
|
|
1161
|
+
tsSource({ path, target }: {
|
|
1162
|
+
path: string;
|
|
1163
|
+
target: number;
|
|
1164
|
+
}): import("typescript").SourceFile;
|
|
1165
|
+
tsPaths({ path, exclude, bundle }: {
|
|
1166
|
+
path: string;
|
|
1167
|
+
bundle: string;
|
|
1168
|
+
exclude: string[];
|
|
1169
|
+
}): string[];
|
|
1170
|
+
tsHost({ path, exclude, bundle }: {
|
|
1171
|
+
path: string;
|
|
1172
|
+
bundle: string;
|
|
1173
|
+
exclude: string[];
|
|
1174
|
+
}): import("typescript").CompilerHost;
|
|
1175
|
+
tsTranspiler({ path, exclude, bundle }: {
|
|
1176
|
+
path: string;
|
|
1177
|
+
bundle: string;
|
|
1178
|
+
exclude: string[];
|
|
1179
|
+
}): import("typescript").Program;
|
|
1180
|
+
tsTranspile({ path, exclude, bundle }: {
|
|
1181
|
+
path: string;
|
|
1182
|
+
bundle: string;
|
|
1183
|
+
exclude: string[];
|
|
1184
|
+
}): import("typescript").EmitResult;
|
|
1185
|
+
tsService({ path, exclude, bundle }: {
|
|
1186
|
+
path: string;
|
|
1187
|
+
bundle: string;
|
|
1188
|
+
exclude: string[];
|
|
1189
|
+
}): {
|
|
1190
|
+
recheck: () => void;
|
|
1191
|
+
destructor: () => void;
|
|
1192
|
+
} | null;
|
|
1193
|
+
js_error(path: string, next?: string | null): string | null;
|
|
1194
|
+
js_content(path: string): {
|
|
1195
|
+
text: string;
|
|
1196
|
+
map: $mol_sourcemap_raw | undefined;
|
|
1197
|
+
};
|
|
1198
|
+
sources_js({ path, exclude }: {
|
|
1199
|
+
path: string;
|
|
1200
|
+
exclude: string[];
|
|
1201
|
+
}): $mol_file[];
|
|
1202
|
+
sourcesDTS({ path, exclude }: {
|
|
1203
|
+
path: string;
|
|
1204
|
+
exclude?: string[];
|
|
1205
|
+
}): $mol_file[];
|
|
1206
|
+
sourcesCSS({ path, exclude }: {
|
|
1207
|
+
path: string;
|
|
1208
|
+
exclude?: string[];
|
|
1209
|
+
}): $mol_file[];
|
|
1210
|
+
static dependors: {
|
|
1211
|
+
[index: string]: undefined | ((source: $mol_file) => {
|
|
1212
|
+
[index: string]: number;
|
|
1213
|
+
});
|
|
1214
|
+
};
|
|
1215
|
+
srcDeps(path: string): {
|
|
1216
|
+
[index: string]: number;
|
|
1217
|
+
};
|
|
1218
|
+
modDeps({ path, exclude }: {
|
|
1219
|
+
path: string;
|
|
1220
|
+
exclude?: string[];
|
|
1221
|
+
}): {
|
|
1222
|
+
[index: string]: number;
|
|
1223
|
+
};
|
|
1224
|
+
dependencies({ path, exclude }: {
|
|
1225
|
+
path: string;
|
|
1226
|
+
exclude?: string[];
|
|
1227
|
+
}): {
|
|
1228
|
+
[index: string]: number;
|
|
1229
|
+
};
|
|
1230
|
+
modEnsure(path: string): boolean;
|
|
1231
|
+
modMeta(path: string): $mol_tree;
|
|
1232
|
+
graph({ path, exclude }: {
|
|
1233
|
+
path: string;
|
|
1234
|
+
exclude?: string[];
|
|
1235
|
+
}): $mol_graph<string, {
|
|
1236
|
+
priority: number;
|
|
1237
|
+
}>;
|
|
1238
|
+
bundleAllWeb({ path }: {
|
|
1239
|
+
path: string;
|
|
1240
|
+
}): null;
|
|
1241
|
+
bundleAllWebAudit({ path }: {
|
|
1242
|
+
path: string;
|
|
1243
|
+
}): void;
|
|
1244
|
+
bundleAllNode({ path }: {
|
|
1245
|
+
path: string;
|
|
1246
|
+
}): null;
|
|
1247
|
+
bundleAllNodeAudit({ path }: {
|
|
1248
|
+
path: string;
|
|
1249
|
+
}): void;
|
|
1250
|
+
bundleAll({ path }: {
|
|
1251
|
+
path: string;
|
|
1252
|
+
}): null;
|
|
1253
|
+
bundle({ path, bundle }: {
|
|
1254
|
+
path: string;
|
|
1255
|
+
bundle?: string;
|
|
1256
|
+
}): $mol_file[];
|
|
1257
|
+
logBundle(target: $mol_file, duration: number): void;
|
|
1258
|
+
bundleJS({ path, exclude, bundle }: {
|
|
1259
|
+
path: string;
|
|
1260
|
+
exclude: string[];
|
|
1261
|
+
bundle: string;
|
|
1262
|
+
}): $mol_file[];
|
|
1263
|
+
bundleMJS({ path, exclude, bundle }: {
|
|
1264
|
+
path: string;
|
|
1265
|
+
exclude: string[];
|
|
1266
|
+
bundle: string;
|
|
1267
|
+
}): $mol_file[];
|
|
1268
|
+
bundleAuditJS({ path, exclude, bundle }: {
|
|
1269
|
+
path: string;
|
|
1270
|
+
exclude: string[];
|
|
1271
|
+
bundle: string;
|
|
1272
|
+
}): $mol_file[];
|
|
1273
|
+
bundleTestJS({ path, exclude, bundle }: {
|
|
1274
|
+
path: string;
|
|
1275
|
+
exclude: string[];
|
|
1276
|
+
bundle: string;
|
|
1277
|
+
}): $mol_file[];
|
|
1278
|
+
bundleTestHtml({ path }: {
|
|
1279
|
+
path: string;
|
|
1280
|
+
}): $mol_file[];
|
|
1281
|
+
bundleDTS({ path, exclude, bundle }: {
|
|
1282
|
+
path: string;
|
|
1283
|
+
exclude?: string[];
|
|
1284
|
+
bundle: string;
|
|
1285
|
+
}): $mol_file[];
|
|
1286
|
+
bundleViewTree({ path, exclude, bundle }: {
|
|
1287
|
+
path: string;
|
|
1288
|
+
exclude?: string[];
|
|
1289
|
+
bundle: string;
|
|
1290
|
+
}): $mol_file[];
|
|
1291
|
+
bundleMetaTree({ path, exclude, bundle }: {
|
|
1292
|
+
path: string;
|
|
1293
|
+
exclude?: string[];
|
|
1294
|
+
bundle: string;
|
|
1295
|
+
}): $mol_file[];
|
|
1296
|
+
nodeDeps({ path, exclude }: {
|
|
1297
|
+
path: string;
|
|
1298
|
+
exclude: string[];
|
|
1299
|
+
}): string[];
|
|
1300
|
+
bundleReadmeMd({ path, exclude }: {
|
|
1301
|
+
path: string;
|
|
1302
|
+
exclude: string[];
|
|
1303
|
+
}): $mol_file[];
|
|
1304
|
+
bundlePackageJSON({ path, exclude }: {
|
|
1305
|
+
path: string;
|
|
1306
|
+
exclude: string[];
|
|
1307
|
+
}): $mol_file[];
|
|
1308
|
+
bundleIndexHtml({ path, exclude }: {
|
|
1309
|
+
path: string;
|
|
1310
|
+
exclude?: string[];
|
|
1311
|
+
}): $mol_file[];
|
|
1312
|
+
bundleFiles({ path, exclude }: {
|
|
1313
|
+
path: string;
|
|
1314
|
+
exclude?: string[];
|
|
1315
|
+
}): $mol_file[];
|
|
1316
|
+
bundleCordova({ path, exclude }: {
|
|
1317
|
+
path: string;
|
|
1318
|
+
exclude?: string[];
|
|
1319
|
+
}): $mol_file[];
|
|
1320
|
+
bundleCSS({ path, exclude, bundle }: {
|
|
1321
|
+
path: string;
|
|
1322
|
+
exclude?: string[];
|
|
1323
|
+
bundle: string;
|
|
1324
|
+
}): $mol_file[];
|
|
1325
|
+
bundleLocale({ path, exclude, bundle }: {
|
|
1326
|
+
path: string;
|
|
1327
|
+
exclude?: string[];
|
|
1328
|
+
bundle: string;
|
|
1329
|
+
}): $mol_file[];
|
|
1330
|
+
bundleDepsJSON({ path, exclude, bundle }: {
|
|
1331
|
+
path: string;
|
|
1332
|
+
exclude?: string[];
|
|
1333
|
+
bundle: string;
|
|
1334
|
+
}): $mol_file[];
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
/// <reference types="node" />
|
|
1339
|
+
/// <reference types="serve-static" />
|
|
1340
|
+
declare namespace $ {
|
|
1341
|
+
class $mol_server extends $mol_object {
|
|
1342
|
+
express(): import("express-serve-static-core").Express;
|
|
1343
|
+
internal_ip(): string;
|
|
1344
|
+
http(): import("http").Server;
|
|
1345
|
+
connections: Set<import("ws")>;
|
|
1346
|
+
socket(): import("ws").Server<import("ws").WebSocket>;
|
|
1347
|
+
expressHandlers(): any[];
|
|
1348
|
+
expressCompressor(): unknown;
|
|
1349
|
+
expressCors(): unknown;
|
|
1350
|
+
expressBodier(): import("connect").NextHandleFunction;
|
|
1351
|
+
expressFiler(): import("serve-static").RequestHandler<import("express").Response<any, Record<string, any>>>;
|
|
1352
|
+
expressDirector(): unknown;
|
|
1353
|
+
expressIndex(): (req: typeof $node.express.request, res: typeof $node.express.response, next: () => void) => void;
|
|
1354
|
+
expressGenerator(): (req: any, res: any, next: () => void) => void;
|
|
1355
|
+
bodyLimit(): string;
|
|
1356
|
+
cacheTime(): number;
|
|
1357
|
+
port(): number;
|
|
1358
|
+
rootPublic(): string;
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
declare namespace $ {
|
|
1363
|
+
function $mol_wire_solid(): void;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
declare namespace $ {
|
|
1367
|
+
function $mol_compare_text<Item>(item?: (item: Item) => string): (a: Item, b: Item) => number;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
declare namespace $ {
|
|
1371
|
+
class $mol_build_server extends $mol_server {
|
|
1372
|
+
static trace: boolean;
|
|
1373
|
+
expressGenerator(): (...args: any[]) => Promise<unknown> | undefined;
|
|
1374
|
+
handleRequest(req: typeof $node.express.request, res: typeof $node.express.response, next: () => any): Promise<any> | undefined;
|
|
1375
|
+
build(): $mol_build;
|
|
1376
|
+
generate(url: string): $mol_file[];
|
|
1377
|
+
expressIndex(): (req: typeof $node.express.request, res: typeof $node.express.response, next: () => void) => void | import("express").Response<any, Record<string, any>>;
|
|
1378
|
+
port(): number;
|
|
1379
|
+
lines(next?: Map<import("ws"), string>): Map<import("ws"), string>;
|
|
1380
|
+
socket(): import("ws").Server<import("ws").WebSocket>;
|
|
1381
|
+
start(): import("ws").Server<import("ws").WebSocket>;
|
|
1382
|
+
notify([line, path]: [InstanceType<$node['ws']>, string]): boolean;
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1269
1385
|
|
|
1270
1386
|
export = $;
|