mol_dump_lib 0.0.250 → 0.0.252

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 CHANGED
@@ -327,6 +327,10 @@ declare namespace $ {
327
327
  insert(value: $mol_tree2 | null, ...path: $mol_tree2_path): $mol_tree2;
328
328
  select(...path: $mol_tree2_path): $mol_tree2;
329
329
  filter(path: string[], value?: string): $mol_tree2;
330
+ hack_self<Context extends {
331
+ span?: $mol_span;
332
+ [key: string]: unknown;
333
+ } = {}>(belt: $mol_tree2_belt<Context>, context?: Context): readonly $mol_tree2[];
330
334
  hack<Context extends {
331
335
  span?: $mol_span;
332
336
  [key: string]: unknown;
@@ -614,7 +618,7 @@ declare namespace $ {
614
618
  type $mol_style_unit_angle = 'deg' | 'rad' | 'grad' | 'turn';
615
619
  type $mol_style_unit_time = 's' | 'ms';
616
620
  type $mol_style_unit_any = $mol_style_unit_length | $mol_style_unit_angle | $mol_style_unit_time;
617
- type $mol_style_unit_str<Quanity extends $mol_style_unit_any> = `${number}${Quanity}`;
621
+ type $mol_style_unit_str<Quanity extends $mol_style_unit_any = $mol_style_unit_any> = `${number}${Quanity}`;
618
622
  class $mol_style_unit<Literal extends $mol_style_unit_any> extends $mol_decor<number> {
619
623
  readonly literal: Literal;
620
624
  constructor(value: number, literal: Literal);
@@ -739,9 +743,9 @@ declare namespace $ {
739
743
  all?: Common;
740
744
  animation?: {
741
745
  composition?: Single_animation_composition | Single_animation_composition[][] | Common;
742
- delay?: $mol_style_unit<$mol_style_unit_time> | $mol_style_unit<$mol_style_unit_time>[][] | Common;
746
+ delay?: $mol_style_unit_str<$mol_style_unit_time> | $mol_style_unit_str<$mol_style_unit_time>[][] | Common;
743
747
  direction?: Single_animation_direction | Single_animation_direction[][] | Common;
744
- duration?: $mol_style_unit<$mol_style_unit_time> | $mol_style_unit<$mol_style_unit_time>[][] | Common;
748
+ duration?: $mol_style_unit_str<$mol_style_unit_time> | $mol_style_unit_str<$mol_style_unit_time>[][] | Common;
745
749
  fillMode?: Single_animation_fill_mode | Single_animation_fill_mode[][] | Common;
746
750
  iterationCount?: Single_animation_iteration_count | Single_animation_iteration_count[][] | Common;
747
751
  name?: 'none' | string & {} | ('none' | string & {})[][] | Common;
@@ -1272,23 +1276,29 @@ declare namespace $ {
1272
1276
  }
1273
1277
 
1274
1278
  declare namespace $ {
1275
- class $mol_stack extends $mol_view {
1276
- }
1279
+
1280
+ export class $mol_stack extends $mol_view {
1281
+ }
1282
+
1277
1283
  }
1278
1284
 
1285
+ //# sourceMappingURL=stack.view.tree.d.ts.map
1279
1286
  declare namespace $ {
1280
1287
  }
1281
1288
 
1282
1289
  declare namespace $ {
1283
- class $mol_paragraph extends $mol_view {
1284
- line_height(): number;
1285
- letter_width(): number;
1286
- width_limit(): number;
1287
- row_width(): number;
1288
- sub(): readonly any[];
1289
- }
1290
+
1291
+ export class $mol_paragraph extends $mol_view {
1292
+ line_height( ): number
1293
+ letter_width( ): number
1294
+ width_limit( ): number
1295
+ row_width( ): number
1296
+ sub( ): readonly(any)[]
1297
+ }
1298
+
1290
1299
  }
1291
1300
 
1301
+ //# sourceMappingURL=paragraph.view.tree.d.ts.map
1292
1302
  declare namespace $.$$ {
1293
1303
  class $mol_paragraph extends $.$mol_paragraph {
1294
1304
  maximal_width(): number;
@@ -1303,17 +1313,34 @@ declare namespace $ {
1303
1313
  }
1304
1314
 
1305
1315
  declare namespace $ {
1306
- class $mol_dimmer extends $mol_paragraph {
1307
- haystack(): string;
1308
- needle(): string;
1309
- sub(): readonly $mol_view_content[];
1310
- Low(id: any): $$.$mol_paragraph;
1311
- High(id: any): $$.$mol_paragraph;
1312
- parts(): readonly $mol_view_content[];
1313
- string(id: any): string;
1314
- }
1316
+ type $mol_type_enforce<Actual extends Expected, Expected> = Actual;
1315
1317
  }
1316
1318
 
1319
+ declare namespace $ {
1320
+
1321
+ type $mol_paragraph__sub__TBPV7PIW = $mol_type_enforce<
1322
+ readonly(any)[]
1323
+ ,
1324
+ ReturnType< $mol_paragraph['sub'] >
1325
+ >
1326
+ type $mol_paragraph__sub__0E82CSEU = $mol_type_enforce<
1327
+ readonly(any)[]
1328
+ ,
1329
+ ReturnType< $mol_paragraph['sub'] >
1330
+ >
1331
+ export class $mol_dimmer extends $mol_paragraph {
1332
+ haystack( ): string
1333
+ needle( ): string
1334
+ sub( ): ReturnType< $mol_dimmer['parts'] >
1335
+ Low( id: any): $mol_paragraph
1336
+ High( id: any): $mol_paragraph
1337
+ parts( ): readonly($mol_view_content)[]
1338
+ string( id: any): string
1339
+ }
1340
+
1341
+ }
1342
+
1343
+ //# sourceMappingURL=dimmer.view.tree.d.ts.map
1317
1344
  declare namespace $ {
1318
1345
  type $mol_type_equals<A, B> = (<X>() => X extends A ? 1 : 2) extends (<X>() => X extends B ? 1 : 2) ? unknown : never;
1319
1346
  }
@@ -1426,18 +1453,27 @@ declare namespace $ {
1426
1453
  }
1427
1454
 
1428
1455
  declare namespace $ {
1429
- class $mol_text_code_token extends $mol_dimmer {
1430
- attr(): Record<string, any>;
1431
- type(): string;
1432
- }
1433
- class $mol_text_code_token_link extends $mol_text_code_token {
1434
- dom_name(): string;
1435
- type(): string;
1436
- attr(): Record<string, any>;
1437
- uri(): string;
1438
- }
1456
+
1457
+ export class $mol_text_code_token extends $mol_dimmer {
1458
+ attr( ): ({
1459
+ 'mol_text_code_token_type': ReturnType< $mol_text_code_token['type'] >,
1460
+ }) & ReturnType< $mol_dimmer['attr'] >
1461
+ type( ): string
1462
+ }
1463
+
1464
+ export class $mol_text_code_token_link extends $mol_text_code_token {
1465
+ dom_name( ): string
1466
+ type( ): string
1467
+ attr( ): ({
1468
+ 'href': ReturnType< $mol_text_code_token_link['uri'] >,
1469
+ 'target': string,
1470
+ }) & ReturnType< $mol_text_code_token['attr'] >
1471
+ uri( ): string
1472
+ }
1473
+
1439
1474
  }
1440
1475
 
1476
+ //# sourceMappingURL=token.view.tree.d.ts.map
1441
1477
  declare namespace $ {
1442
1478
  type $mol_style_pseudo_class = ':active' | ':any' | ':any-link' | ':checked' | ':default' | ':defined' | ':dir(rtl)' | ':dir(ltr)' | ':disabled' | ':empty' | ':enabled' | ':first' | ':first-child' | ':first-of-type' | ':fullscreen' | ':focus' | ':focus-visible' | ':focus-within' | ':hover' | ':indeterminate' | ':in-range' | ':invalid' | ':last-child' | ':last-of-type' | ':left' | ':link' | ':not()' | ':nth-child(even)' | ':nth-child(odd)' | ':nth-last-child(even)' | ':nth-last-child(odd)' | ':nth-of-type(even)' | ':nth-of-type(odd)' | ':nth-last-of-type(even)' | ':nth-last-of-type(odd)' | ':only-child' | ':only-of-type' | ':optional' | ':out-of-range' | ':placeholder-shown' | ':read-only' | ':read-write' | ':required' | ':right' | ':root' | ':scope' | ':target' | ':valid' | ':visited';
1443
1479
  }
@@ -1486,24 +1522,62 @@ declare namespace $.$$ {
1486
1522
  }
1487
1523
 
1488
1524
  declare namespace $ {
1489
- class $mol_text_code_row extends $mol_paragraph {
1490
- text(): string;
1491
- minimal_height(): number;
1492
- numb_showed(): boolean;
1493
- syntax(): any;
1494
- uri_resolve(id: any): string;
1495
- Numb(): $mol_view;
1496
- Token(id: any): $mol_text_code_token;
1497
- Token_link(id: any): $mol_text_code_token_link;
1498
- find_pos(id: any): any;
1499
- numb(): number;
1500
- token_type(id: any): string;
1501
- token_text(id: any): string;
1502
- highlight(): string;
1503
- token_uri(id: any): string;
1504
- }
1505
- }
1506
1525
 
1526
+ type $mol_view__sub__9C6PIOR3 = $mol_type_enforce<
1527
+ readonly(any)[]
1528
+ ,
1529
+ ReturnType< $mol_view['sub'] >
1530
+ >
1531
+ type $mol_text_code_token__type__SG18FHN8 = $mol_type_enforce<
1532
+ ReturnType< $mol_text_code_row['token_type'] >
1533
+ ,
1534
+ ReturnType< $mol_text_code_token['type'] >
1535
+ >
1536
+ type $mol_text_code_token__haystack__VP48AASU = $mol_type_enforce<
1537
+ ReturnType< $mol_text_code_row['token_text'] >
1538
+ ,
1539
+ ReturnType< $mol_text_code_token['haystack'] >
1540
+ >
1541
+ type $mol_text_code_token__needle__V7F9QF17 = $mol_type_enforce<
1542
+ ReturnType< $mol_text_code_row['highlight'] >
1543
+ ,
1544
+ ReturnType< $mol_text_code_token['needle'] >
1545
+ >
1546
+ type $mol_text_code_token_link__haystack__XY17N4AL = $mol_type_enforce<
1547
+ ReturnType< $mol_text_code_row['token_text'] >
1548
+ ,
1549
+ ReturnType< $mol_text_code_token_link['haystack'] >
1550
+ >
1551
+ type $mol_text_code_token_link__needle__VIOTD89Y = $mol_type_enforce<
1552
+ ReturnType< $mol_text_code_row['highlight'] >
1553
+ ,
1554
+ ReturnType< $mol_text_code_token_link['needle'] >
1555
+ >
1556
+ type $mol_text_code_token_link__uri__0FP2CVZ8 = $mol_type_enforce<
1557
+ ReturnType< $mol_text_code_row['token_uri'] >
1558
+ ,
1559
+ ReturnType< $mol_text_code_token_link['uri'] >
1560
+ >
1561
+ export class $mol_text_code_row extends $mol_paragraph {
1562
+ text( ): string
1563
+ minimal_height( ): number
1564
+ numb_showed( ): boolean
1565
+ syntax( ): any
1566
+ uri_resolve( id: any): string
1567
+ Numb( ): $mol_view
1568
+ Token( id: any): $mol_text_code_token
1569
+ Token_link( id: any): $mol_text_code_token_link
1570
+ find_pos( id: any): any
1571
+ numb( ): number
1572
+ token_type( id: any): string
1573
+ token_text( id: any): string
1574
+ highlight( ): string
1575
+ token_uri( id: any): string
1576
+ }
1577
+
1578
+ }
1579
+
1580
+ //# sourceMappingURL=row.view.tree.d.ts.map
1507
1581
  declare namespace $ {
1508
1582
  class $mol_syntax2<Lexems extends {
1509
1583
  [name: string]: RegExp;
@@ -1616,20 +1690,37 @@ declare namespace $.$$ {
1616
1690
  }
1617
1691
 
1618
1692
  declare namespace $ {
1619
- class $mol_list extends $mol_view {
1620
- render_visible_only(): boolean;
1621
- render_over(): number;
1622
- sub(): readonly $mol_view[];
1623
- Empty(): $mol_view;
1624
- Gap_before(): $mol_view;
1625
- Gap_after(): $mol_view;
1626
- view_window(): readonly any[];
1627
- rows(): readonly $mol_view[];
1628
- gap_before(): number;
1629
- gap_after(): number;
1630
- }
1631
- }
1632
1693
 
1694
+ type $mol_view__style__8RI2D1OK = $mol_type_enforce<
1695
+ ({
1696
+ 'paddingTop': ReturnType< $mol_list['gap_before'] >,
1697
+ })
1698
+ ,
1699
+ ReturnType< $mol_view['style'] >
1700
+ >
1701
+ type $mol_view__style__ZJ5JXCFK = $mol_type_enforce<
1702
+ ({
1703
+ 'paddingTop': ReturnType< $mol_list['gap_after'] >,
1704
+ })
1705
+ ,
1706
+ ReturnType< $mol_view['style'] >
1707
+ >
1708
+ export class $mol_list extends $mol_view {
1709
+ render_visible_only( ): boolean
1710
+ render_over( ): number
1711
+ sub( ): ReturnType< $mol_list['rows'] >
1712
+ Empty( ): $mol_view
1713
+ Gap_before( ): $mol_view
1714
+ Gap_after( ): $mol_view
1715
+ view_window( ): readonly(any)[]
1716
+ rows( ): readonly($mol_view)[]
1717
+ gap_before( ): number
1718
+ gap_after( ): number
1719
+ }
1720
+
1721
+ }
1722
+
1723
+ //# sourceMappingURL=list.view.tree.d.ts.map
1633
1724
  declare namespace $ {
1634
1725
  function $mol_support_css_overflow_anchor(this: $): boolean;
1635
1726
  }
@@ -1678,15 +1769,22 @@ declare namespace $ {
1678
1769
  }
1679
1770
 
1680
1771
  declare namespace $ {
1681
- class $mol_speck extends $mol_view {
1682
- attr(): Record<string, any>;
1683
- style(): Record<string, any>;
1684
- sub(): readonly any[];
1685
- theme(): string;
1686
- value(): any;
1687
- }
1772
+
1773
+ export class $mol_speck extends $mol_view {
1774
+ attr( ): ({
1775
+ 'mol_theme': ReturnType< $mol_speck['theme'] >,
1776
+ }) & ReturnType< $mol_view['attr'] >
1777
+ style( ): ({
1778
+ 'minHeight': string,
1779
+ }) & ReturnType< $mol_view['style'] >
1780
+ sub( ): readonly(any)[]
1781
+ theme( ): string
1782
+ value( ): any
1783
+ }
1784
+
1688
1785
  }
1689
1786
 
1787
+ //# sourceMappingURL=speck.view.tree.d.ts.map
1690
1788
  declare namespace $ {
1691
1789
  let $mol_layer: $mol_style_prop_result;
1692
1790
  }
@@ -1698,25 +1796,42 @@ declare namespace $ {
1698
1796
  }
1699
1797
 
1700
1798
  declare namespace $ {
1701
- class $mol_button extends $mol_view {
1702
- enabled(): boolean;
1703
- click(event?: any): any;
1704
- event_click(event?: any): any;
1705
- event(): Record<string, any>;
1706
- attr(): Record<string, any>;
1707
- sub(): readonly $mol_view_content[];
1708
- Speck(): $mol_speck;
1709
- event_activate(event?: any): any;
1710
- clicks(event?: any): any;
1711
- event_key_press(event?: any): any;
1712
- disabled(): boolean;
1713
- tab_index(): number;
1714
- hint(): string;
1715
- hint_safe(): string;
1716
- error(): string;
1717
- }
1799
+
1800
+ type $mol_speck__value__J5EWG00G = $mol_type_enforce<
1801
+ ReturnType< $mol_button['error'] >
1802
+ ,
1803
+ ReturnType< $mol_speck['value'] >
1804
+ >
1805
+ export class $mol_button extends $mol_view {
1806
+ enabled( ): boolean
1807
+ click( next?: any ): any
1808
+ event_click( next?: any ): any
1809
+ event( ): ({
1810
+ click( next?: ReturnType< $mol_button['event_activate'] > ): ReturnType< $mol_button['event_activate'] >,
1811
+ dblclick( next?: ReturnType< $mol_button['clicks'] > ): ReturnType< $mol_button['clicks'] >,
1812
+ keydown( next?: ReturnType< $mol_button['event_key_press'] > ): ReturnType< $mol_button['event_key_press'] >,
1813
+ }) & ReturnType< $mol_view['event'] >
1814
+ attr( ): ({
1815
+ 'disabled': ReturnType< $mol_button['disabled'] >,
1816
+ 'role': string,
1817
+ 'tabindex': ReturnType< $mol_button['tab_index'] >,
1818
+ 'title': ReturnType< $mol_button['hint_safe'] >,
1819
+ }) & ReturnType< $mol_view['attr'] >
1820
+ sub( ): readonly($mol_view_content)[]
1821
+ Speck( ): $mol_speck
1822
+ event_activate( next?: any ): any
1823
+ clicks( next?: any ): any
1824
+ event_key_press( next?: any ): any
1825
+ disabled( ): boolean
1826
+ tab_index( ): number
1827
+ hint( ): string
1828
+ hint_safe( ): ReturnType< $mol_button['hint'] >
1829
+ error( ): string
1830
+ }
1831
+
1718
1832
  }
1719
1833
 
1834
+ //# sourceMappingURL=button.view.tree.d.ts.map
1720
1835
  declare namespace $ {
1721
1836
  enum $mol_keyboard_code {
1722
1837
  backspace = 8,
@@ -1839,20 +1954,26 @@ declare namespace $ {
1839
1954
  }
1840
1955
 
1841
1956
  declare namespace $ {
1842
- class $mol_button_typed extends $mol_button {
1843
- minimal_height(): number;
1844
- minimal_width(): number;
1845
- }
1957
+
1958
+ export class $mol_button_typed extends $mol_button {
1959
+ minimal_height( ): number
1960
+ minimal_width( ): number
1961
+ }
1962
+
1846
1963
  }
1847
1964
 
1965
+ //# sourceMappingURL=typed.view.tree.d.ts.map
1848
1966
  declare namespace $ {
1849
1967
  }
1850
1968
 
1851
1969
  declare namespace $ {
1852
- class $mol_button_minor extends $mol_button_typed {
1853
- }
1970
+
1971
+ export class $mol_button_minor extends $mol_button_typed {
1972
+ }
1973
+
1854
1974
  }
1855
1975
 
1976
+ //# sourceMappingURL=minor.view.tree.d.ts.map
1856
1977
  declare namespace $ {
1857
1978
  }
1858
1979
 
@@ -1865,15 +1986,18 @@ declare namespace $ {
1865
1986
  }
1866
1987
 
1867
1988
  declare namespace $ {
1868
- class $mol_svg extends $mol_view {
1869
- dom_name(): string;
1870
- dom_name_space(): string;
1871
- font_size(): number;
1872
- font_family(): string;
1873
- style_size(): Record<string, any>;
1874
- }
1989
+
1990
+ export class $mol_svg extends $mol_view {
1991
+ dom_name( ): string
1992
+ dom_name_space( ): string
1993
+ font_size( ): number
1994
+ font_family( ): string
1995
+ style_size( ): Record<string, any>
1996
+ }
1997
+
1875
1998
  }
1876
1999
 
2000
+ //# sourceMappingURL=svg.view.tree.d.ts.map
1877
2001
  declare namespace $ {
1878
2002
  class $mol_state_time extends $mol_object {
1879
2003
  static task(precision: number, reset?: null): $mol_after_timeout | $mol_after_frame;
@@ -1890,65 +2014,107 @@ declare namespace $.$$ {
1890
2014
  }
1891
2015
 
1892
2016
  declare namespace $ {
1893
- class $mol_svg_root extends $mol_svg {
1894
- dom_name(): string;
1895
- attr(): Record<string, any>;
1896
- view_box(): string;
1897
- aspect(): string;
1898
- }
2017
+
2018
+ export class $mol_svg_root extends $mol_svg {
2019
+ dom_name( ): string
2020
+ attr( ): ({
2021
+ 'viewBox': ReturnType< $mol_svg_root['view_box'] >,
2022
+ 'preserveAspectRatio': ReturnType< $mol_svg_root['aspect'] >,
2023
+ }) & ReturnType< $mol_svg['attr'] >
2024
+ view_box( ): string
2025
+ aspect( ): string
2026
+ }
2027
+
1899
2028
  }
1900
2029
 
2030
+ //# sourceMappingURL=root.view.tree.d.ts.map
1901
2031
  declare namespace $ {
1902
2032
  }
1903
2033
 
1904
2034
  declare namespace $ {
1905
- class $mol_svg_path extends $mol_svg {
1906
- dom_name(): string;
1907
- attr(): Record<string, any>;
1908
- geometry(): string;
1909
- }
2035
+
2036
+ export class $mol_svg_path extends $mol_svg {
2037
+ dom_name( ): string
2038
+ attr( ): ({
2039
+ 'd': ReturnType< $mol_svg_path['geometry'] >,
2040
+ }) & ReturnType< $mol_svg['attr'] >
2041
+ geometry( ): string
2042
+ }
2043
+
1910
2044
  }
1911
2045
 
2046
+ //# sourceMappingURL=path.view.tree.d.ts.map
1912
2047
  declare namespace $ {
1913
- class $mol_icon extends $mol_svg_root {
1914
- view_box(): string;
1915
- minimal_width(): number;
1916
- minimal_height(): number;
1917
- sub(): readonly any[];
1918
- path(): string;
1919
- Path(): $mol_svg_path;
1920
- }
2048
+
2049
+ type $mol_svg_path__geometry__SI53CX6V = $mol_type_enforce<
2050
+ ReturnType< $mol_icon['path'] >
2051
+ ,
2052
+ ReturnType< $mol_svg_path['geometry'] >
2053
+ >
2054
+ export class $mol_icon extends $mol_svg_root {
2055
+ view_box( ): string
2056
+ minimal_width( ): number
2057
+ minimal_height( ): number
2058
+ sub( ): readonly(any)[]
2059
+ path( ): string
2060
+ Path( ): $mol_svg_path
2061
+ }
2062
+
1921
2063
  }
1922
2064
 
2065
+ //# sourceMappingURL=icon.view.tree.d.ts.map
1923
2066
  declare namespace $ {
1924
2067
  }
1925
2068
 
1926
2069
  declare namespace $ {
1927
- class $mol_icon_clipboard extends $mol_icon {
1928
- path(): string;
1929
- }
2070
+
2071
+ export class $mol_icon_clipboard extends $mol_icon {
2072
+ path( ): string
2073
+ }
2074
+
1930
2075
  }
1931
2076
 
2077
+ //# sourceMappingURL=clipboard.view.tree.d.ts.map
1932
2078
  declare namespace $ {
1933
- class $mol_icon_clipboard_outline extends $mol_icon {
1934
- path(): string;
1935
- }
2079
+
2080
+ export class $mol_icon_clipboard_outline extends $mol_icon {
2081
+ path( ): string
2082
+ }
2083
+
1936
2084
  }
1937
2085
 
2086
+ //# sourceMappingURL=outline.view.tree.d.ts.map
1938
2087
  declare namespace $ {
1939
- class $mol_button_copy extends $mol_button_minor {
1940
- blobs(): readonly Blob[];
1941
- data(): Record<string, any>;
1942
- sub(): readonly any[];
1943
- text(): string;
1944
- text_blob(next?: any): Blob;
1945
- html(): string;
1946
- html_blob(next?: any): Blob;
1947
- Icon(): $mol_icon_clipboard_outline;
1948
- title(): string;
1949
- }
2088
+
2089
+ type $mol_blob__CF3FUPNL = $mol_type_enforce<
2090
+ [ readonly(BlobPart)[], ({
2091
+ 'type': string,
2092
+ }) ]
2093
+ ,
2094
+ ConstructorParameters< typeof $mol_blob >
2095
+ >
2096
+ type $mol_blob__CQFPWPMU = $mol_type_enforce<
2097
+ [ readonly(BlobPart)[], ({
2098
+ 'type': string,
2099
+ }) ]
2100
+ ,
2101
+ ConstructorParameters< typeof $mol_blob >
2102
+ >
2103
+ export class $mol_button_copy extends $mol_button_minor {
2104
+ blobs( ): readonly($mol_blob)[]
2105
+ data( ): Record<string, any>
2106
+ sub( ): readonly(any)[]
2107
+ text( ): ReturnType< $mol_button_copy['title'] >
2108
+ text_blob( next?: $mol_blob ): $mol_blob
2109
+ html( ): string
2110
+ html_blob( next?: $mol_blob ): $mol_blob
2111
+ Icon( ): $mol_icon_clipboard_outline
2112
+ title( ): string
2113
+ }
2114
+
1950
2115
  }
1951
2116
 
2117
+ //# sourceMappingURL=copy.view.tree.d.ts.map
1952
2118
  declare namespace $ {
1953
2119
  function $mol_html_encode(text: string): string;
1954
2120
  }
@@ -2089,40 +2255,92 @@ declare namespace $ {
2089
2255
  }
2090
2256
 
2091
2257
  declare namespace $ {
2092
- class $mol_text_code extends $mol_stack {
2093
- attr(): Record<string, any>;
2094
- text(): string;
2095
- text_lines(): readonly string[];
2096
- find_pos(id: any): any;
2097
- uri_base(): string;
2098
- sub(): readonly any[];
2099
- sidebar_showed(): boolean;
2100
- render_visible_only(): boolean;
2101
- row_numb(id: any): number;
2102
- row_text(id: any): string;
2103
- syntax(): any;
2104
- uri_resolve(id: any): string;
2105
- highlight(): string;
2106
- Row(id: any): $$.$mol_text_code_row;
2107
- rows(): readonly any[];
2108
- Rows(): $$.$mol_list;
2109
- text_export(): string;
2110
- Copy(): $$.$mol_button_copy;
2111
- }
2112
- }
2113
2258
 
2259
+ type $mol_text_code_row__numb_showed__01FKSW0G = $mol_type_enforce<
2260
+ ReturnType< $mol_text_code['sidebar_showed'] >
2261
+ ,
2262
+ ReturnType< $mol_text_code_row['numb_showed'] >
2263
+ >
2264
+ type $mol_text_code_row__numb__VFYSLNJ8 = $mol_type_enforce<
2265
+ ReturnType< $mol_text_code['row_numb'] >
2266
+ ,
2267
+ ReturnType< $mol_text_code_row['numb'] >
2268
+ >
2269
+ type $mol_text_code_row__text__PMKG85TC = $mol_type_enforce<
2270
+ ReturnType< $mol_text_code['row_text'] >
2271
+ ,
2272
+ ReturnType< $mol_text_code_row['text'] >
2273
+ >
2274
+ type $mol_text_code_row__syntax__WCR62F6E = $mol_type_enforce<
2275
+ ReturnType< $mol_text_code['syntax'] >
2276
+ ,
2277
+ ReturnType< $mol_text_code_row['syntax'] >
2278
+ >
2279
+ type $mol_text_code_row__uri_resolve__C96H39G1 = $mol_type_enforce<
2280
+ ReturnType< $mol_text_code['uri_resolve'] >
2281
+ ,
2282
+ ReturnType< $mol_text_code_row['uri_resolve'] >
2283
+ >
2284
+ type $mol_text_code_row__highlight__L9HV6DU7 = $mol_type_enforce<
2285
+ ReturnType< $mol_text_code['highlight'] >
2286
+ ,
2287
+ ReturnType< $mol_text_code_row['highlight'] >
2288
+ >
2289
+ type $mol_list__render_visible_only__OXFNHSTO = $mol_type_enforce<
2290
+ ReturnType< $mol_text_code['render_visible_only'] >
2291
+ ,
2292
+ ReturnType< $mol_list['render_visible_only'] >
2293
+ >
2294
+ type $mol_list__rows__AFLSBF9M = $mol_type_enforce<
2295
+ ReturnType< $mol_text_code['rows'] >
2296
+ ,
2297
+ ReturnType< $mol_list['rows'] >
2298
+ >
2299
+ type $mol_button_copy__hint__KTX027QX = $mol_type_enforce<
2300
+ string
2301
+ ,
2302
+ ReturnType< $mol_button_copy['hint'] >
2303
+ >
2304
+ type $mol_button_copy__text__BIB2BF07 = $mol_type_enforce<
2305
+ ReturnType< $mol_text_code['text_export'] >
2306
+ ,
2307
+ ReturnType< $mol_button_copy['text'] >
2308
+ >
2309
+ export class $mol_text_code extends $mol_stack {
2310
+ attr( ): ({
2311
+ 'mol_text_code_sidebar_showed': ReturnType< $mol_text_code['sidebar_showed'] >,
2312
+ }) & ReturnType< $mol_stack['attr'] >
2313
+ text( ): string
2314
+ text_lines( ): readonly(string)[]
2315
+ find_pos( id: any): any
2316
+ uri_base( ): string
2317
+ sub( ): readonly(any)[]
2318
+ sidebar_showed( ): boolean
2319
+ render_visible_only( ): boolean
2320
+ row_numb( id: any): number
2321
+ row_text( id: any): string
2322
+ syntax( ): any
2323
+ uri_resolve( id: any): string
2324
+ highlight( ): string
2325
+ Row( id: any): $mol_text_code_row
2326
+ rows( ): readonly(any)[]
2327
+ Rows( ): $mol_list
2328
+ text_export( ): string
2329
+ Copy( ): $mol_button_copy
2330
+ }
2331
+
2332
+ }
2333
+
2334
+ //# sourceMappingURL=code.view.tree.d.ts.map
2114
2335
  declare namespace $.$$ {
2115
2336
  class $mol_text_code extends $.$mol_text_code {
2116
2337
  render_visible_only(): boolean;
2117
2338
  text_lines(): readonly string[];
2118
- rows(): $mol_text_code_row[];
2339
+ rows(): $.$mol_text_code_row[];
2119
2340
  row_text(index: number): string;
2120
2341
  row_numb(index: number): number;
2121
- find_pos(offset: number): {
2122
- token: $mol_text_code_token;
2123
- offset: number;
2124
- } | null;
2125
- sub(): ($mol_list | $mol_button_copy)[];
2342
+ find_pos(offset: number): any;
2343
+ sub(): ($.$mol_list | $.$mol_button_copy)[];
2126
2344
  syntax(): $mol_syntax2<{
2127
2345
  'code-indent': RegExp;
2128
2346
  'code-docs': RegExp;
@@ -2151,19 +2369,31 @@ declare namespace $.$$ {
2151
2369
  }
2152
2370
 
2153
2371
  declare namespace $ {
2154
- class $mol_check extends $mol_button_minor {
2155
- attr(): Record<string, any>;
2156
- sub(): readonly $mol_view_content[];
2157
- checked(next?: any): boolean;
2158
- aria_checked(): string;
2159
- aria_role(): string;
2160
- Icon(): any;
2161
- title(): string;
2162
- Title(): $mol_view;
2163
- label(): readonly any[];
2164
- }
2372
+
2373
+ type $mol_view__sub__USQP765B = $mol_type_enforce<
2374
+ readonly(any)[]
2375
+ ,
2376
+ ReturnType< $mol_view['sub'] >
2377
+ >
2378
+ export class $mol_check extends $mol_button_minor {
2379
+ attr( ): ({
2380
+ 'mol_check_checked': ReturnType< $mol_check['checked'] >,
2381
+ 'aria-checked': ReturnType< $mol_check['aria_checked'] >,
2382
+ 'role': ReturnType< $mol_check['aria_role'] >,
2383
+ }) & ReturnType< $mol_button_minor['attr'] >
2384
+ sub( ): readonly($mol_view_content)[]
2385
+ checked( next?: boolean ): boolean
2386
+ aria_checked( ): string
2387
+ aria_role( ): string
2388
+ Icon( ): any
2389
+ title( ): string
2390
+ Title( ): $mol_view
2391
+ label( ): readonly(any)[]
2392
+ }
2393
+
2165
2394
  }
2166
2395
 
2396
+ //# sourceMappingURL=check.view.tree.d.ts.map
2167
2397
  declare namespace $ {
2168
2398
  function $mol_maybe<Value>(value: Value | null | undefined): Value[];
2169
2399
  }
@@ -2181,24 +2411,32 @@ declare namespace $.$$ {
2181
2411
  }
2182
2412
 
2183
2413
  declare namespace $ {
2184
- class $mol_icon_chevron extends $mol_icon {
2185
- path(): string;
2186
- }
2414
+
2415
+ export class $mol_icon_chevron extends $mol_icon {
2416
+ path( ): string
2417
+ }
2418
+
2187
2419
  }
2188
2420
 
2421
+ //# sourceMappingURL=chevron.view.tree.d.ts.map
2189
2422
  declare namespace $ {
2190
- class $mol_check_expand extends $mol_check {
2191
- Icon(): $mol_icon_chevron;
2192
- level(): number;
2193
- style(): Record<string, any>;
2194
- checked(next?: any): boolean;
2195
- enabled(): boolean;
2196
- level_style(): string;
2197
- expanded(next?: any): boolean;
2198
- expandable(): boolean;
2199
- }
2423
+
2424
+ export class $mol_check_expand extends $mol_check {
2425
+ Icon( ): $mol_icon_chevron
2426
+ level( ): number
2427
+ style( ): ({
2428
+ 'paddingLeft': ReturnType< $mol_check_expand['level_style'] >,
2429
+ }) & ReturnType< $mol_check['style'] >
2430
+ checked( next?: ReturnType< $mol_check_expand['expanded'] > ): ReturnType< $mol_check_expand['expanded'] >
2431
+ enabled( ): ReturnType< $mol_check_expand['expandable'] >
2432
+ level_style( ): string
2433
+ expanded( next?: boolean ): boolean
2434
+ expandable( ): boolean
2435
+ }
2436
+
2200
2437
  }
2201
2438
 
2439
+ //# sourceMappingURL=expand.view.tree.d.ts.map
2202
2440
  declare namespace $.$$ {
2203
2441
  class $mol_check_expand extends $.$mol_check_expand {
2204
2442
  level_style(): string;
@@ -2210,22 +2448,51 @@ declare namespace $ {
2210
2448
  }
2211
2449
 
2212
2450
  declare namespace $ {
2213
- class $mol_dump_list extends $mol_view {
2214
- values(): readonly any[];
2215
- sub(): readonly any[];
2216
- dump_value(id: any): any;
2217
- dump_expanded(id: any, next?: any): boolean;
2218
- prototypes(): boolean;
2219
- preview_show(): boolean;
2220
- Dump(id: any): $$.$mol_dump_value;
2221
- }
2222
- }
2223
2451
 
2452
+ type $mol_check_expand__checked__S488EOBN = $mol_type_enforce<
2453
+ ReturnType< $mol_expander['expanded'] >
2454
+ ,
2455
+ ReturnType< $mol_check_expand['checked'] >
2456
+ >
2457
+ type $mol_check_expand__expandable__5EC18331 = $mol_type_enforce<
2458
+ ReturnType< $mol_expander['expandable'] >
2459
+ ,
2460
+ ReturnType< $mol_check_expand['expandable'] >
2461
+ >
2462
+ type $mol_check_expand__label__KWQZ08CD = $mol_type_enforce<
2463
+ ReturnType< $mol_expander['label'] >
2464
+ ,
2465
+ ReturnType< $mol_check_expand['label'] >
2466
+ >
2467
+ type $mol_view__sub__9PTY5I1W = $mol_type_enforce<
2468
+ readonly(any)[]
2469
+ ,
2470
+ ReturnType< $mol_view['sub'] >
2471
+ >
2472
+ type $mol_list__rows__0NZ7EYRN = $mol_type_enforce<
2473
+ ReturnType< $mol_expander['content'] >
2474
+ ,
2475
+ ReturnType< $mol_list['rows'] >
2476
+ >
2477
+ export class $mol_expander extends $mol_list {
2478
+ rows( ): readonly(any)[]
2479
+ expanded( next?: boolean ): boolean
2480
+ expandable( ): boolean
2481
+ label( ): readonly(any)[]
2482
+ Trigger( ): $mol_check_expand
2483
+ Tools( ): any
2484
+ Label( ): $mol_view
2485
+ content( ): readonly(any)[]
2486
+ Content( ): $mol_list
2487
+ }
2488
+
2489
+ }
2490
+
2491
+ //# sourceMappingURL=expander.view.tree.d.ts.map
2224
2492
  declare namespace $.$$ {
2225
- class $mol_dump_list extends $.$mol_dump_list {
2226
- sub(): $mol_dump_value[];
2227
- dump_value(index: number): any;
2228
- expand_all(event?: Event): void;
2493
+ class $mol_expander extends $.$mol_expander {
2494
+ rows(): $mol_view[];
2495
+ expandable(): boolean;
2229
2496
  }
2230
2497
  }
2231
2498
 
@@ -2233,23 +2500,45 @@ declare namespace $ {
2233
2500
  }
2234
2501
 
2235
2502
  declare namespace $ {
2236
- class $mol_expander extends $mol_list {
2237
- rows(): readonly any[];
2238
- expanded(next?: any): boolean;
2239
- expandable(): boolean;
2240
- label(): readonly any[];
2241
- Trigger(): $$.$mol_check_expand;
2242
- Tools(): any;
2243
- Label(): $mol_view;
2244
- content(): readonly any[];
2245
- Content(): $$.$mol_list;
2246
- }
2503
+
2504
+ type $mol_dump_value__value__UM80B0RL = $mol_type_enforce<
2505
+ ReturnType< $mol_dump_list['dump_value'] >
2506
+ ,
2507
+ ReturnType< $mol_dump_value['value'] >
2508
+ >
2509
+ type $mol_dump_value__expanded__9YUJ6WQ2 = $mol_type_enforce<
2510
+ ReturnType< $mol_dump_list['dump_expanded'] >
2511
+ ,
2512
+ ReturnType< $mol_dump_value['expanded'] >
2513
+ >
2514
+ type $mol_dump_value__prototypes__XK7KKBE3 = $mol_type_enforce<
2515
+ ReturnType< $mol_dump_list['prototypes'] >
2516
+ ,
2517
+ ReturnType< $mol_dump_value['prototypes'] >
2518
+ >
2519
+ type $mol_dump_value__preview_show__67VNR5PW = $mol_type_enforce<
2520
+ ReturnType< $mol_dump_list['preview_show'] >
2521
+ ,
2522
+ ReturnType< $mol_dump_value['preview_show'] >
2523
+ >
2524
+ export class $mol_dump_list extends $mol_view {
2525
+ values( ): readonly(any)[]
2526
+ sub( ): readonly(any)[]
2527
+ dump_value( id: any): any
2528
+ dump_expanded( id: any, next?: boolean ): boolean
2529
+ prototypes( ): boolean
2530
+ preview_show( ): boolean
2531
+ Dump( id: any): $mol_dump_value
2532
+ }
2533
+
2247
2534
  }
2248
2535
 
2536
+ //# sourceMappingURL=list.view.tree.d.ts.map
2249
2537
  declare namespace $.$$ {
2250
- class $mol_expander extends $.$mol_expander {
2251
- rows(): $mol_view[];
2252
- expandable(): boolean;
2538
+ class $mol_dump_list extends $.$mol_dump_list {
2539
+ sub(): $.$mol_dump_value[];
2540
+ dump_value(index: number): any;
2541
+ expand_all(event?: Event): void;
2253
2542
  }
2254
2543
  }
2255
2544
 
@@ -2257,42 +2546,130 @@ declare namespace $ {
2257
2546
  }
2258
2547
 
2259
2548
  declare namespace $ {
2260
- class $mol_dump_value extends $mol_view {
2261
- value(next?: any): any;
2262
- preview_show(next?: any): boolean;
2263
- sub(): readonly any[];
2264
- simple(): string;
2265
- Simple(): $$.$mol_text_code;
2266
- expanded(next?: any): boolean;
2267
- expandable(): boolean;
2268
- expand_all(next?: any): any;
2269
- expand_title(): string;
2270
- Expand_title(): $$.$mol_text_code;
2271
- Expand_head(): $$.$mol_check_expand;
2272
- preview_dom(): any;
2273
- preview(): any;
2274
- Preview_dom(): $mol_view;
2275
- Preview(): $mol_view;
2276
- row_values(id: any): readonly any[];
2277
- prototypes(): boolean;
2278
- Row(id: any): $$.$mol_dump_list;
2279
- expand_content(): readonly any[];
2280
- Expand(): $$.$mol_expander;
2281
- }
2282
- }
2283
2549
 
2550
+ type $mol_text_code__text__B84OAQT6 = $mol_type_enforce<
2551
+ ReturnType< $mol_dump_value['simple'] >
2552
+ ,
2553
+ ReturnType< $mol_text_code['text'] >
2554
+ >
2555
+ type $mol_text_code__text__IR5GQTYZ = $mol_type_enforce<
2556
+ ReturnType< $mol_dump_value['expand_title'] >
2557
+ ,
2558
+ ReturnType< $mol_text_code['text'] >
2559
+ >
2560
+ type $mol_check_expand__minimal_height__XOS8SGJF = $mol_type_enforce<
2561
+ number
2562
+ ,
2563
+ ReturnType< $mol_check_expand['minimal_height'] >
2564
+ >
2565
+ type $mol_check_expand__minimal_width__NTDS7OXJ = $mol_type_enforce<
2566
+ number
2567
+ ,
2568
+ ReturnType< $mol_check_expand['minimal_width'] >
2569
+ >
2570
+ type $mol_check_expand__expanded__205U4Z1M = $mol_type_enforce<
2571
+ ReturnType< $mol_dump_value['expanded'] >
2572
+ ,
2573
+ ReturnType< $mol_check_expand['expanded'] >
2574
+ >
2575
+ type $mol_check_expand__expandable__X003LJ5B = $mol_type_enforce<
2576
+ ReturnType< $mol_dump_value['expandable'] >
2577
+ ,
2578
+ ReturnType< $mol_check_expand['expandable'] >
2579
+ >
2580
+ type $mol_check_expand__clicks__IXCQTXLU = $mol_type_enforce<
2581
+ ReturnType< $mol_dump_value['expand_all'] >
2582
+ ,
2583
+ ReturnType< $mol_check_expand['clicks'] >
2584
+ >
2585
+ type $mol_check_expand__label__BQMQME9V = $mol_type_enforce<
2586
+ readonly(any)[]
2587
+ ,
2588
+ ReturnType< $mol_check_expand['label'] >
2589
+ >
2590
+ type $mol_view__dom_node__6Z97G219 = $mol_type_enforce<
2591
+ ReturnType< $mol_dump_value['preview_dom'] >
2592
+ ,
2593
+ ReturnType< $mol_view['dom_node'] >
2594
+ >
2595
+ type $mol_view__render__ORN1WFI7 = $mol_type_enforce<
2596
+ ReturnType< $mol_dump_value['preview'] >
2597
+ ,
2598
+ ReturnType< $mol_view['render'] >
2599
+ >
2600
+ type $mol_view__sub__KP1NO3PV = $mol_type_enforce<
2601
+ readonly(any)[]
2602
+ ,
2603
+ ReturnType< $mol_view['sub'] >
2604
+ >
2605
+ type $mol_dump_list__values__9VV8NSV6 = $mol_type_enforce<
2606
+ ReturnType< $mol_dump_value['row_values'] >
2607
+ ,
2608
+ ReturnType< $mol_dump_list['values'] >
2609
+ >
2610
+ type $mol_dump_list__prototypes__U3G842UH = $mol_type_enforce<
2611
+ ReturnType< $mol_dump_value['prototypes'] >
2612
+ ,
2613
+ ReturnType< $mol_dump_list['prototypes'] >
2614
+ >
2615
+ type $mol_dump_list__preview_show__CNDISJTA = $mol_type_enforce<
2616
+ ReturnType< $mol_dump_value['preview_show'] >
2617
+ ,
2618
+ ReturnType< $mol_dump_list['preview_show'] >
2619
+ >
2620
+ type $mol_expander__expanded__HTFRE9NW = $mol_type_enforce<
2621
+ ReturnType< $mol_dump_value['expanded'] >
2622
+ ,
2623
+ ReturnType< $mol_expander['expanded'] >
2624
+ >
2625
+ type $mol_expander__Trigger__JMC47GJB = $mol_type_enforce<
2626
+ ReturnType< $mol_dump_value['Expand_head'] >
2627
+ ,
2628
+ ReturnType< $mol_expander['Trigger'] >
2629
+ >
2630
+ type $mol_expander__content__06HGGXDC = $mol_type_enforce<
2631
+ ReturnType< $mol_dump_value['expand_content'] >
2632
+ ,
2633
+ ReturnType< $mol_expander['content'] >
2634
+ >
2635
+ export class $mol_dump_value extends $mol_view {
2636
+ value( next?: any ): any
2637
+ preview_show( next?: boolean ): boolean
2638
+ sub( ): readonly(any)[]
2639
+ simple( ): string
2640
+ Simple( ): $mol_text_code
2641
+ expanded( next?: boolean ): boolean
2642
+ expandable( ): boolean
2643
+ expand_all( next?: any ): any
2644
+ expand_title( ): string
2645
+ Expand_title( ): $mol_text_code
2646
+ Expand_head( ): $mol_check_expand
2647
+ preview_dom( ): any
2648
+ preview( ): any
2649
+ Preview_dom( ): $mol_view
2650
+ Preview( ): $mol_view
2651
+ row_values( id: any): readonly(any)[]
2652
+ prototypes( ): boolean
2653
+ Row( id: any): $mol_dump_list
2654
+ expand_content( ): readonly(any)[]
2655
+ Expand( ): $mol_expander
2656
+ }
2657
+
2658
+ }
2659
+
2660
+ //# sourceMappingURL=value.view.tree.d.ts.map
2284
2661
  declare namespace $ {
2285
2662
  function $mol_try<Result>(handler: () => Result): Result | Error;
2286
2663
  }
2287
2664
 
2288
2665
  declare namespace $.$$ {
2289
2666
  class $mol_dump_value extends $.$mol_dump_value {
2290
- sub(): $mol_text_code[] | $mol_expander[];
2667
+ sub(): $.$mol_text_code[] | $.$mol_expander[];
2291
2668
  simple(): string;
2292
2669
  expand_title(): any;
2293
2670
  rows_values(): any[][];
2294
2671
  preview_dom(): Element | null;
2295
- expand_content(): ($mol_view | $mol_dump_list)[];
2672
+ expand_content(): ($mol_view | $.$mol_dump_list)[];
2296
2673
  expandable(): boolean;
2297
2674
  row_values(index: number): any[];
2298
2675
  expand_all(event?: Event): void;
@@ -2302,4 +2679,5 @@ declare namespace $.$$ {
2302
2679
  declare namespace $ {
2303
2680
  }
2304
2681
 
2305
- export = $;
2682
+ export = $;
2683
+ //# sourceMappingURL=node.d.ts.map