mol_dump_lib 0.0.297 → 0.0.299
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 +52 -52
- package/node.js +11 -11
- package/node.js.map +1 -1
- package/node.mjs +11 -11
- package/node.test.js +11 -11
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +52 -52
- package/web.js +11 -11
- package/web.js.map +1 -1
- package/web.mjs +11 -11
package/node.d.ts
CHANGED
|
@@ -1420,12 +1420,12 @@ declare namespace $ {
|
|
|
1420
1420
|
|
|
1421
1421
|
declare namespace $ {
|
|
1422
1422
|
|
|
1423
|
-
type $
|
|
1423
|
+
type $mol_paragraph__sub__S0R3U88X = $mol_type_enforce<
|
|
1424
1424
|
readonly(any)[]
|
|
1425
1425
|
,
|
|
1426
1426
|
ReturnType< $mol_paragraph['sub'] >
|
|
1427
1427
|
>
|
|
1428
|
-
type $
|
|
1428
|
+
type $mol_paragraph__sub__MLCUCEVY = $mol_type_enforce<
|
|
1429
1429
|
readonly(any)[]
|
|
1430
1430
|
,
|
|
1431
1431
|
ReturnType< $mol_paragraph['sub'] >
|
|
@@ -1589,37 +1589,37 @@ declare namespace $ {
|
|
|
1589
1589
|
|
|
1590
1590
|
declare namespace $ {
|
|
1591
1591
|
|
|
1592
|
-
type $
|
|
1592
|
+
type $mol_view__sub__NXAEGFCB = $mol_type_enforce<
|
|
1593
1593
|
readonly(any)[]
|
|
1594
1594
|
,
|
|
1595
1595
|
ReturnType< $mol_view['sub'] >
|
|
1596
1596
|
>
|
|
1597
|
-
type $
|
|
1597
|
+
type $mol_text_code_token__type__5FK80UHQ = $mol_type_enforce<
|
|
1598
1598
|
ReturnType< $mol_text_code_row['token_type'] >
|
|
1599
1599
|
,
|
|
1600
1600
|
ReturnType< $mol_text_code_token['type'] >
|
|
1601
1601
|
>
|
|
1602
|
-
type $
|
|
1602
|
+
type $mol_text_code_token__haystack__UK2T2YMI = $mol_type_enforce<
|
|
1603
1603
|
ReturnType< $mol_text_code_row['token_text'] >
|
|
1604
1604
|
,
|
|
1605
1605
|
ReturnType< $mol_text_code_token['haystack'] >
|
|
1606
1606
|
>
|
|
1607
|
-
type $
|
|
1607
|
+
type $mol_text_code_token__needle__XZ8G1Q47 = $mol_type_enforce<
|
|
1608
1608
|
ReturnType< $mol_text_code_row['highlight'] >
|
|
1609
1609
|
,
|
|
1610
1610
|
ReturnType< $mol_text_code_token['needle'] >
|
|
1611
1611
|
>
|
|
1612
|
-
type $
|
|
1612
|
+
type $mol_text_code_token_link__haystack__T9IGQSJM = $mol_type_enforce<
|
|
1613
1613
|
ReturnType< $mol_text_code_row['token_text'] >
|
|
1614
1614
|
,
|
|
1615
1615
|
ReturnType< $mol_text_code_token_link['haystack'] >
|
|
1616
1616
|
>
|
|
1617
|
-
type $
|
|
1617
|
+
type $mol_text_code_token_link__needle__0TT8LT13 = $mol_type_enforce<
|
|
1618
1618
|
ReturnType< $mol_text_code_row['highlight'] >
|
|
1619
1619
|
,
|
|
1620
1620
|
ReturnType< $mol_text_code_token_link['needle'] >
|
|
1621
1621
|
>
|
|
1622
|
-
type $
|
|
1622
|
+
type $mol_text_code_token_link__uri__C9F6C9FK = $mol_type_enforce<
|
|
1623
1623
|
ReturnType< $mol_text_code_row['token_uri'] >
|
|
1624
1624
|
,
|
|
1625
1625
|
ReturnType< $mol_text_code_token_link['uri'] >
|
|
@@ -1725,14 +1725,14 @@ declare namespace $ {
|
|
|
1725
1725
|
|
|
1726
1726
|
declare namespace $ {
|
|
1727
1727
|
|
|
1728
|
-
type $
|
|
1728
|
+
type $mol_view__style__IJT0XGNV = $mol_type_enforce<
|
|
1729
1729
|
({
|
|
1730
1730
|
'paddingTop': ReturnType< $mol_list['gap_before'] >,
|
|
1731
1731
|
})
|
|
1732
1732
|
,
|
|
1733
1733
|
ReturnType< $mol_view['style'] >
|
|
1734
1734
|
>
|
|
1735
|
-
type $
|
|
1735
|
+
type $mol_view__style__F7AVO39I = $mol_type_enforce<
|
|
1736
1736
|
({
|
|
1737
1737
|
'paddingTop': ReturnType< $mol_list['gap_after'] >,
|
|
1738
1738
|
})
|
|
@@ -1905,7 +1905,7 @@ declare namespace $ {
|
|
|
1905
1905
|
|
|
1906
1906
|
declare namespace $ {
|
|
1907
1907
|
|
|
1908
|
-
type $
|
|
1908
|
+
type $mol_speck__value__99D4RQMP = $mol_type_enforce<
|
|
1909
1909
|
ReturnType< $mol_button['error'] >
|
|
1910
1910
|
,
|
|
1911
1911
|
ReturnType< $mol_speck['value'] >
|
|
@@ -2052,7 +2052,7 @@ declare namespace $ {
|
|
|
2052
2052
|
|
|
2053
2053
|
declare namespace $ {
|
|
2054
2054
|
|
|
2055
|
-
type $
|
|
2055
|
+
type $mol_svg_path__geometry__LJFP9H9K = $mol_type_enforce<
|
|
2056
2056
|
ReturnType< $mol_icon['path'] >
|
|
2057
2057
|
,
|
|
2058
2058
|
ReturnType< $mol_svg_path['geometry'] >
|
|
@@ -2103,14 +2103,14 @@ declare namespace $ {
|
|
|
2103
2103
|
|
|
2104
2104
|
declare namespace $ {
|
|
2105
2105
|
|
|
2106
|
-
type $
|
|
2106
|
+
type $mol_blob__4HK0XSXC = $mol_type_enforce<
|
|
2107
2107
|
[ readonly(BlobPart)[], ({
|
|
2108
2108
|
'type': string,
|
|
2109
2109
|
}) ]
|
|
2110
2110
|
,
|
|
2111
2111
|
ConstructorParameters< typeof $mol_blob >
|
|
2112
2112
|
>
|
|
2113
|
-
type $
|
|
2113
|
+
type $mol_blob__7OEI2VTQ = $mol_type_enforce<
|
|
2114
2114
|
[ readonly(BlobPart)[], ({
|
|
2115
2115
|
'type': string,
|
|
2116
2116
|
}) ]
|
|
@@ -2284,52 +2284,52 @@ declare namespace $ {
|
|
|
2284
2284
|
|
|
2285
2285
|
declare namespace $ {
|
|
2286
2286
|
|
|
2287
|
-
type $
|
|
2287
|
+
type $mol_text_code_row__numb_showed__G64ASOU8 = $mol_type_enforce<
|
|
2288
2288
|
ReturnType< $mol_text_code['sidebar_showed'] >
|
|
2289
2289
|
,
|
|
2290
2290
|
ReturnType< $mol_text_code_row['numb_showed'] >
|
|
2291
2291
|
>
|
|
2292
|
-
type $
|
|
2292
|
+
type $mol_text_code_row__numb__AI92P5JM = $mol_type_enforce<
|
|
2293
2293
|
ReturnType< $mol_text_code['row_numb'] >
|
|
2294
2294
|
,
|
|
2295
2295
|
ReturnType< $mol_text_code_row['numb'] >
|
|
2296
2296
|
>
|
|
2297
|
-
type $
|
|
2297
|
+
type $mol_text_code_row__text__QR8ZWX7G = $mol_type_enforce<
|
|
2298
2298
|
ReturnType< $mol_text_code['row_text'] >
|
|
2299
2299
|
,
|
|
2300
2300
|
ReturnType< $mol_text_code_row['text'] >
|
|
2301
2301
|
>
|
|
2302
|
-
type $
|
|
2302
|
+
type $mol_text_code_row__syntax__VFIILMDF = $mol_type_enforce<
|
|
2303
2303
|
ReturnType< $mol_text_code['syntax'] >
|
|
2304
2304
|
,
|
|
2305
2305
|
ReturnType< $mol_text_code_row['syntax'] >
|
|
2306
2306
|
>
|
|
2307
|
-
type $
|
|
2307
|
+
type $mol_text_code_row__uri_resolve__ZVM3PO00 = $mol_type_enforce<
|
|
2308
2308
|
ReturnType< $mol_text_code['uri_resolve'] >
|
|
2309
2309
|
,
|
|
2310
2310
|
ReturnType< $mol_text_code_row['uri_resolve'] >
|
|
2311
2311
|
>
|
|
2312
|
-
type $
|
|
2312
|
+
type $mol_text_code_row__highlight__A6WU7HFD = $mol_type_enforce<
|
|
2313
2313
|
ReturnType< $mol_text_code['highlight'] >
|
|
2314
2314
|
,
|
|
2315
2315
|
ReturnType< $mol_text_code_row['highlight'] >
|
|
2316
2316
|
>
|
|
2317
|
-
type $
|
|
2317
|
+
type $mol_list__render_visible_only__YH6O4LHZ = $mol_type_enforce<
|
|
2318
2318
|
ReturnType< $mol_text_code['render_visible_only'] >
|
|
2319
2319
|
,
|
|
2320
2320
|
ReturnType< $mol_list['render_visible_only'] >
|
|
2321
2321
|
>
|
|
2322
|
-
type $
|
|
2322
|
+
type $mol_list__rows__6QHQ67RR = $mol_type_enforce<
|
|
2323
2323
|
ReturnType< $mol_text_code['rows'] >
|
|
2324
2324
|
,
|
|
2325
2325
|
ReturnType< $mol_list['rows'] >
|
|
2326
2326
|
>
|
|
2327
|
-
type $
|
|
2327
|
+
type $mol_button_copy__hint__LHVJ1Q1R = $mol_type_enforce<
|
|
2328
2328
|
string
|
|
2329
2329
|
,
|
|
2330
2330
|
ReturnType< $mol_button_copy['hint'] >
|
|
2331
2331
|
>
|
|
2332
|
-
type $
|
|
2332
|
+
type $mol_button_copy__text__DDTD9JMJ = $mol_type_enforce<
|
|
2333
2333
|
ReturnType< $mol_text_code['text_export'] >
|
|
2334
2334
|
,
|
|
2335
2335
|
ReturnType< $mol_button_copy['text'] >
|
|
@@ -2405,7 +2405,7 @@ declare namespace $ {
|
|
|
2405
2405
|
|
|
2406
2406
|
declare namespace $ {
|
|
2407
2407
|
|
|
2408
|
-
type $
|
|
2408
|
+
type $mol_view__sub__329OQRZ4 = $mol_type_enforce<
|
|
2409
2409
|
readonly(any)[]
|
|
2410
2410
|
,
|
|
2411
2411
|
ReturnType< $mol_view['sub'] >
|
|
@@ -2477,22 +2477,22 @@ declare namespace $ {
|
|
|
2477
2477
|
|
|
2478
2478
|
declare namespace $ {
|
|
2479
2479
|
|
|
2480
|
-
type $
|
|
2480
|
+
type $mol_dump_value__value__XHUVBA3X = $mol_type_enforce<
|
|
2481
2481
|
ReturnType< $mol_dump_list['dump_value'] >
|
|
2482
2482
|
,
|
|
2483
2483
|
ReturnType< $mol_dump_value['value'] >
|
|
2484
2484
|
>
|
|
2485
|
-
type $
|
|
2485
|
+
type $mol_dump_value__expanded__BT2B2565 = $mol_type_enforce<
|
|
2486
2486
|
ReturnType< $mol_dump_list['dump_expanded'] >
|
|
2487
2487
|
,
|
|
2488
2488
|
ReturnType< $mol_dump_value['expanded'] >
|
|
2489
2489
|
>
|
|
2490
|
-
type $
|
|
2490
|
+
type $mol_dump_value__prototypes__CEZP5QYY = $mol_type_enforce<
|
|
2491
2491
|
ReturnType< $mol_dump_list['prototypes'] >
|
|
2492
2492
|
,
|
|
2493
2493
|
ReturnType< $mol_dump_value['prototypes'] >
|
|
2494
2494
|
>
|
|
2495
|
-
type $
|
|
2495
|
+
type $mol_dump_value__preview_show__P9ZOAXP7 = $mol_type_enforce<
|
|
2496
2496
|
ReturnType< $mol_dump_list['preview_show'] >
|
|
2497
2497
|
,
|
|
2498
2498
|
ReturnType< $mol_dump_value['preview_show'] >
|
|
@@ -2523,27 +2523,27 @@ declare namespace $ {
|
|
|
2523
2523
|
|
|
2524
2524
|
declare namespace $ {
|
|
2525
2525
|
|
|
2526
|
-
type $
|
|
2526
|
+
type $mol_check_expand__checked__0UUWOXED = $mol_type_enforce<
|
|
2527
2527
|
ReturnType< $mol_expander['expanded'] >
|
|
2528
2528
|
,
|
|
2529
2529
|
ReturnType< $mol_check_expand['checked'] >
|
|
2530
2530
|
>
|
|
2531
|
-
type $
|
|
2531
|
+
type $mol_check_expand__expandable__74UBJF0J = $mol_type_enforce<
|
|
2532
2532
|
ReturnType< $mol_expander['expandable'] >
|
|
2533
2533
|
,
|
|
2534
2534
|
ReturnType< $mol_check_expand['expandable'] >
|
|
2535
2535
|
>
|
|
2536
|
-
type $
|
|
2536
|
+
type $mol_check_expand__label__2B5XE56V = $mol_type_enforce<
|
|
2537
2537
|
ReturnType< $mol_expander['label'] >
|
|
2538
2538
|
,
|
|
2539
2539
|
ReturnType< $mol_check_expand['label'] >
|
|
2540
2540
|
>
|
|
2541
|
-
type $
|
|
2541
|
+
type $mol_view__sub__L9TH5SKN = $mol_type_enforce<
|
|
2542
2542
|
readonly(any)[]
|
|
2543
2543
|
,
|
|
2544
2544
|
ReturnType< $mol_view['sub'] >
|
|
2545
2545
|
>
|
|
2546
|
-
type $
|
|
2546
|
+
type $mol_list__rows__Z873NOXW = $mol_type_enforce<
|
|
2547
2547
|
ReturnType< $mol_expander['content'] >
|
|
2548
2548
|
,
|
|
2549
2549
|
ReturnType< $mol_list['rows'] >
|
|
@@ -2579,87 +2579,87 @@ declare namespace $ {
|
|
|
2579
2579
|
|
|
2580
2580
|
declare namespace $ {
|
|
2581
2581
|
|
|
2582
|
-
type $
|
|
2582
|
+
type $mol_text_code__text__5WFJGOA6 = $mol_type_enforce<
|
|
2583
2583
|
ReturnType< $mol_dump_value['simple'] >
|
|
2584
2584
|
,
|
|
2585
2585
|
ReturnType< $mol_text_code['text'] >
|
|
2586
2586
|
>
|
|
2587
|
-
type $
|
|
2587
|
+
type $mol_text_code__text__E1N4I3KO = $mol_type_enforce<
|
|
2588
2588
|
ReturnType< $mol_dump_value['expand_title'] >
|
|
2589
2589
|
,
|
|
2590
2590
|
ReturnType< $mol_text_code['text'] >
|
|
2591
2591
|
>
|
|
2592
|
-
type $
|
|
2592
|
+
type $mol_check_expand__minimal_height__VRM7ZPV1 = $mol_type_enforce<
|
|
2593
2593
|
number
|
|
2594
2594
|
,
|
|
2595
2595
|
ReturnType< $mol_check_expand['minimal_height'] >
|
|
2596
2596
|
>
|
|
2597
|
-
type $
|
|
2597
|
+
type $mol_check_expand__minimal_width__QEE5V1C4 = $mol_type_enforce<
|
|
2598
2598
|
number
|
|
2599
2599
|
,
|
|
2600
2600
|
ReturnType< $mol_check_expand['minimal_width'] >
|
|
2601
2601
|
>
|
|
2602
|
-
type $
|
|
2602
|
+
type $mol_check_expand__expanded__5JMYWX33 = $mol_type_enforce<
|
|
2603
2603
|
ReturnType< $mol_dump_value['expanded'] >
|
|
2604
2604
|
,
|
|
2605
2605
|
ReturnType< $mol_check_expand['expanded'] >
|
|
2606
2606
|
>
|
|
2607
|
-
type $
|
|
2607
|
+
type $mol_check_expand__expandable__ARBS4OI5 = $mol_type_enforce<
|
|
2608
2608
|
ReturnType< $mol_dump_value['expandable'] >
|
|
2609
2609
|
,
|
|
2610
2610
|
ReturnType< $mol_check_expand['expandable'] >
|
|
2611
2611
|
>
|
|
2612
|
-
type $
|
|
2612
|
+
type $mol_check_expand__clicks__62UBQLH6 = $mol_type_enforce<
|
|
2613
2613
|
ReturnType< $mol_dump_value['expand_all'] >
|
|
2614
2614
|
,
|
|
2615
2615
|
ReturnType< $mol_check_expand['clicks'] >
|
|
2616
2616
|
>
|
|
2617
|
-
type $
|
|
2617
|
+
type $mol_check_expand__label__7UX17M28 = $mol_type_enforce<
|
|
2618
2618
|
readonly(any)[]
|
|
2619
2619
|
,
|
|
2620
2620
|
ReturnType< $mol_check_expand['label'] >
|
|
2621
2621
|
>
|
|
2622
|
-
type $
|
|
2622
|
+
type $mol_view__dom_node__TB6FCE8H = $mol_type_enforce<
|
|
2623
2623
|
ReturnType< $mol_dump_value['preview_dom'] >
|
|
2624
2624
|
,
|
|
2625
2625
|
ReturnType< $mol_view['dom_node'] >
|
|
2626
2626
|
>
|
|
2627
|
-
type $
|
|
2627
|
+
type $mol_view__render__NU4DEGB2 = $mol_type_enforce<
|
|
2628
2628
|
ReturnType< $mol_dump_value['preview'] >
|
|
2629
2629
|
,
|
|
2630
2630
|
ReturnType< $mol_view['render'] >
|
|
2631
2631
|
>
|
|
2632
|
-
type $
|
|
2632
|
+
type $mol_view__sub__6KI0KFNZ = $mol_type_enforce<
|
|
2633
2633
|
readonly(any)[]
|
|
2634
2634
|
,
|
|
2635
2635
|
ReturnType< $mol_view['sub'] >
|
|
2636
2636
|
>
|
|
2637
|
-
type $
|
|
2637
|
+
type $mol_dump_list__values__SNTN3SVT = $mol_type_enforce<
|
|
2638
2638
|
ReturnType< $mol_dump_value['row_values'] >
|
|
2639
2639
|
,
|
|
2640
2640
|
ReturnType< $mol_dump_list['values'] >
|
|
2641
2641
|
>
|
|
2642
|
-
type $
|
|
2642
|
+
type $mol_dump_list__prototypes__012LQVM1 = $mol_type_enforce<
|
|
2643
2643
|
ReturnType< $mol_dump_value['prototypes'] >
|
|
2644
2644
|
,
|
|
2645
2645
|
ReturnType< $mol_dump_list['prototypes'] >
|
|
2646
2646
|
>
|
|
2647
|
-
type $
|
|
2647
|
+
type $mol_dump_list__preview_show__8VVDCTUR = $mol_type_enforce<
|
|
2648
2648
|
ReturnType< $mol_dump_value['preview_show'] >
|
|
2649
2649
|
,
|
|
2650
2650
|
ReturnType< $mol_dump_list['preview_show'] >
|
|
2651
2651
|
>
|
|
2652
|
-
type $
|
|
2652
|
+
type $mol_expander__expanded__EA9FZDFW = $mol_type_enforce<
|
|
2653
2653
|
ReturnType< $mol_dump_value['expanded'] >
|
|
2654
2654
|
,
|
|
2655
2655
|
ReturnType< $mol_expander['expanded'] >
|
|
2656
2656
|
>
|
|
2657
|
-
type $
|
|
2657
|
+
type $mol_expander__Trigger__SY22IU8Z = $mol_type_enforce<
|
|
2658
2658
|
ReturnType< $mol_dump_value['Expand_head'] >
|
|
2659
2659
|
,
|
|
2660
2660
|
ReturnType< $mol_expander['Trigger'] >
|
|
2661
2661
|
>
|
|
2662
|
-
type $
|
|
2662
|
+
type $mol_expander__content__RLNJXQF7 = $mol_type_enforce<
|
|
2663
2663
|
ReturnType< $mol_dump_value['expand_content'] >
|
|
2664
2664
|
,
|
|
2665
2665
|
ReturnType< $mol_expander['content'] >
|
package/node.js
CHANGED
|
@@ -789,17 +789,13 @@ var $;
|
|
|
789
789
|
result = this.task.call(this.host, ...this.args);
|
|
790
790
|
break;
|
|
791
791
|
}
|
|
792
|
-
if ($mol_promise_like(result)) {
|
|
792
|
+
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
793
793
|
const put = (res) => {
|
|
794
794
|
if (this.cache === result)
|
|
795
795
|
this.put(res);
|
|
796
796
|
return res;
|
|
797
797
|
};
|
|
798
|
-
result =
|
|
799
|
-
destructor: result['destructor'] ?? (() => { })
|
|
800
|
-
});
|
|
801
|
-
Error.captureStackTrace(result);
|
|
802
|
-
handled.add(result);
|
|
798
|
+
result = result.then(put, put);
|
|
803
799
|
}
|
|
804
800
|
}
|
|
805
801
|
catch (error) {
|
|
@@ -810,16 +806,20 @@ var $;
|
|
|
810
806
|
result = new Error(String(error), { cause: error });
|
|
811
807
|
}
|
|
812
808
|
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
813
|
-
result =
|
|
809
|
+
result = result.finally(() => {
|
|
814
810
|
if (this.cache === result)
|
|
815
811
|
this.absorb();
|
|
816
|
-
}), {
|
|
817
|
-
destructor: result['destructor'] ?? (() => { })
|
|
818
812
|
});
|
|
819
|
-
Error.captureStackTrace(result);
|
|
820
|
-
handled.add(result);
|
|
821
813
|
}
|
|
822
814
|
}
|
|
815
|
+
if ($mol_promise_like(result) && !handled.has(result)) {
|
|
816
|
+
result = Object.assign(result, {
|
|
817
|
+
destructor: result['destructor'] ?? (() => { })
|
|
818
|
+
});
|
|
819
|
+
handled.add(result);
|
|
820
|
+
const error = new Error();
|
|
821
|
+
Object.defineProperty(result, 'stack', { get: () => error.stack });
|
|
822
|
+
}
|
|
823
823
|
if (!$mol_promise_like(result)) {
|
|
824
824
|
this.track_cut();
|
|
825
825
|
}
|