mol_dump_lib 0.0.249 → 0.0.251

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.js CHANGED
@@ -11,7 +11,7 @@ var $;
11
11
  (function ($) {
12
12
  })($ || ($ = {}));
13
13
  module.exports = $;
14
- //mam.ts
14
+
15
15
  ;
16
16
 
17
17
  $node[ "../mam.ts" ] = $node[ "../mam.ts" ] = module.exports }.call( {} , {} )
@@ -38,7 +38,7 @@ var $;
38
38
  }
39
39
  $.$mol_ambient = $mol_ambient;
40
40
  })($ || ($ = {}));
41
- //mol/ambient/ambient.ts
41
+
42
42
  ;
43
43
  "use strict";
44
44
  var $;
@@ -75,7 +75,7 @@ var $;
75
75
  value: (obj) => instances.has(obj),
76
76
  });
77
77
  })($ || ($ = {}));
78
- //mol/delegate/delegate.ts
78
+
79
79
  ;
80
80
  "use strict";
81
81
  var $;
@@ -131,7 +131,7 @@ var $;
131
131
  }
132
132
  $.$mol_owning_catch = $mol_owning_catch;
133
133
  })($ || ($ = {}));
134
- //mol/owning/owning.ts
134
+
135
135
  ;
136
136
  "use strict";
137
137
  var $;
@@ -141,7 +141,7 @@ var $;
141
141
  }
142
142
  $.$mol_fail = $mol_fail;
143
143
  })($ || ($ = {}));
144
- //mol/fail/fail.ts
144
+
145
145
  ;
146
146
  "use strict";
147
147
  var $;
@@ -151,10 +151,10 @@ var $;
151
151
  }
152
152
  $.$mol_fail_hidden = $mol_fail_hidden;
153
153
  })($ || ($ = {}));
154
- //mol/fail/hidden/hidden.ts
154
+
155
155
  ;
156
156
  "use strict";
157
- //mol/type/writable/writable.ts
157
+
158
158
  ;
159
159
  "use strict";
160
160
  var $;
@@ -186,7 +186,7 @@ var $;
186
186
  }
187
187
  $.$mol_func_name_from = $mol_func_name_from;
188
188
  })($ || ($ = {}));
189
- //mol/func/name/name.ts
189
+
190
190
  ;
191
191
  "use strict";
192
192
  var $;
@@ -229,7 +229,7 @@ var $;
229
229
  }
230
230
  $.$mol_object2 = $mol_object2;
231
231
  })($ || ($ = {}));
232
- //mol/object2/object2.ts
232
+
233
233
  ;
234
234
  "use strict";
235
235
  var $;
@@ -249,7 +249,7 @@ var $;
249
249
  }
250
250
  $_1.$mol_object = $mol_object;
251
251
  })($ || ($ = {}));
252
- //mol/object/object.ts
252
+
253
253
  ;
254
254
  "use strict";
255
255
  var $;
@@ -264,7 +264,7 @@ var $;
264
264
  }
265
265
  $.$mol_window = $mol_window;
266
266
  })($ || ($ = {}));
267
- //mol/window/window.node.ts
267
+
268
268
  ;
269
269
  "use strict";
270
270
  var $;
@@ -277,7 +277,7 @@ var $;
277
277
  $mol_wire_cursor[$mol_wire_cursor["final"] = -4] = "final";
278
278
  })($mol_wire_cursor = $.$mol_wire_cursor || ($.$mol_wire_cursor = {}));
279
279
  })($ || ($ = {}));
280
- //mol/wire/cursor/cursor.ts
280
+
281
281
  ;
282
282
  "use strict";
283
283
  var $;
@@ -344,10 +344,10 @@ var $;
344
344
  }
345
345
  $.$mol_wire_pub = $mol_wire_pub;
346
346
  })($ || ($ = {}));
347
- //mol/wire/pub/pub.ts
347
+
348
348
  ;
349
349
  "use strict";
350
- //mol/wire/sub/sub.ts
350
+
351
351
  ;
352
352
  "use strict";
353
353
  var $;
@@ -359,7 +359,7 @@ var $;
359
359
  $.$mol_wire_auto = $mol_wire_auto;
360
360
  $.$mol_wire_affected = [];
361
361
  })($ || ($ = {}));
362
- //mol/wire/wire.ts
362
+
363
363
  ;
364
364
  "use strict";
365
365
  var $;
@@ -461,7 +461,7 @@ var $;
461
461
  'margin-left': '13px'
462
462
  });
463
463
  })($ || ($ = {}));
464
- //mol/dev/format/format.ts
464
+
465
465
  ;
466
466
  "use strict";
467
467
  var $;
@@ -605,7 +605,7 @@ var $;
605
605
  }
606
606
  $.$mol_wire_pub_sub = $mol_wire_pub_sub;
607
607
  })($ || ($ = {}));
608
- //mol/wire/pub/sub/sub.ts
608
+
609
609
  ;
610
610
  "use strict";
611
611
  var $;
@@ -626,7 +626,7 @@ var $;
626
626
  }
627
627
  $.$mol_after_timeout = $mol_after_timeout;
628
628
  })($ || ($ = {}));
629
- //mol/after/timeout/timeout.ts
629
+
630
630
  ;
631
631
  "use strict";
632
632
  var $;
@@ -640,7 +640,7 @@ var $;
640
640
  }
641
641
  $.$mol_after_frame = $mol_after_frame;
642
642
  })($ || ($ = {}));
643
- //mol/after/frame/frame.node.ts
643
+
644
644
  ;
645
645
  "use strict";
646
646
  var $;
@@ -650,7 +650,7 @@ var $;
650
650
  }
651
651
  $.$mol_promise_like = $mol_promise_like;
652
652
  })($ || ($ = {}));
653
- //mol/promise/like/like.ts
653
+
654
654
  ;
655
655
  "use strict";
656
656
  var $;
@@ -873,7 +873,7 @@ var $;
873
873
  }
874
874
  $.$mol_wire_fiber = $mol_wire_fiber;
875
875
  })($ || ($ = {}));
876
- //mol/wire/fiber/fiber.ts
876
+
877
877
  ;
878
878
  "use strict";
879
879
  var $;
@@ -888,7 +888,7 @@ var $;
888
888
  }
889
889
  $.$mol_guid = $mol_guid;
890
890
  })($ || ($ = {}));
891
- //mol/guid/guid.ts
891
+
892
892
  ;
893
893
  "use strict";
894
894
  var $;
@@ -935,7 +935,7 @@ var $;
935
935
  }
936
936
  $.$mol_key = $mol_key;
937
937
  })($ || ($ = {}));
938
- //mol/key/key.ts
938
+
939
939
  ;
940
940
  "use strict";
941
941
  var $;
@@ -1074,7 +1074,7 @@ var $;
1074
1074
  return Object.is(left[Symbol.toPrimitive]('default'), right[Symbol.toPrimitive]('default'));
1075
1075
  }
1076
1076
  })($ || ($ = {}));
1077
- //mol/compare/deep/deep.ts
1077
+
1078
1078
  ;
1079
1079
  "use strict";
1080
1080
  var $;
@@ -1098,7 +1098,7 @@ var $;
1098
1098
  $.$mol_log3_area_lazy = $mol_log3_area_lazy;
1099
1099
  $.$mol_log3_stack = [];
1100
1100
  })($ || ($ = {}));
1101
- //mol/log3/log3.ts
1101
+
1102
1102
  ;
1103
1103
  "use strict";
1104
1104
  var $;
@@ -1165,7 +1165,7 @@ var $;
1165
1165
  }
1166
1166
  $.$mol_span = $mol_span;
1167
1167
  })($ || ($ = {}));
1168
- //mol/span/span.ts
1168
+
1169
1169
  ;
1170
1170
  "use strict";
1171
1171
  var $;
@@ -1198,7 +1198,7 @@ var $;
1198
1198
  }
1199
1199
  $.$mol_tree2_to_string = $mol_tree2_to_string;
1200
1200
  })($ || ($ = {}));
1201
- //mol/tree2/to/string/string.ts
1201
+
1202
1202
  ;
1203
1203
  "use strict";
1204
1204
  var $;
@@ -1333,22 +1333,23 @@ var $;
1333
1333
  });
1334
1334
  return this.clone(sub);
1335
1335
  }
1336
+ hack_self(belt, context = {}) {
1337
+ let handle = belt[this.type] || belt[''];
1338
+ if (!handle || handle === Object.prototype[this.type]) {
1339
+ handle = (input, belt, context) => [
1340
+ input.clone(input.hack(belt, context), context.span)
1341
+ ];
1342
+ }
1343
+ try {
1344
+ return handle(this, belt, context);
1345
+ }
1346
+ catch (error) {
1347
+ error.message += `\n${this.clone([])}${this.span}`;
1348
+ $mol_fail_hidden(error);
1349
+ }
1350
+ }
1336
1351
  hack(belt, context = {}) {
1337
- return [].concat(...this.kids.map(child => {
1338
- let handle = belt[child.type] || belt[''];
1339
- if (!handle || handle === Object.prototype[child.type]) {
1340
- handle = (input, belt, context) => [
1341
- input.clone(input.hack(belt, context), context.span)
1342
- ];
1343
- }
1344
- try {
1345
- return handle(child, belt, context);
1346
- }
1347
- catch (error) {
1348
- error.message += `\n${child.clone([])}${child.span}`;
1349
- $mol_fail_hidden(error);
1350
- }
1351
- }));
1352
+ return [].concat(...this.kids.map(child => child.hack_self(belt, context)));
1352
1353
  }
1353
1354
  error(message, Class = Error) {
1354
1355
  return this.span.error(`${message}\n${this.clone([])}`, Class);
@@ -1362,7 +1363,7 @@ var $;
1362
1363
  }
1363
1364
  $.$mol_tree2_empty = $mol_tree2_empty;
1364
1365
  })($ || ($ = {}));
1365
- //mol/tree2/tree2.ts
1366
+
1366
1367
  ;
1367
1368
  "use strict";
1368
1369
  var $;
@@ -1380,7 +1381,7 @@ var $;
1380
1381
  }
1381
1382
  $.$mol_error_syntax = $mol_error_syntax;
1382
1383
  })($ || ($ = {}));
1383
- //mol/error/syntax/syntax.ts
1384
+
1384
1385
  ;
1385
1386
  "use strict";
1386
1387
  var $;
@@ -1469,7 +1470,7 @@ var $;
1469
1470
  }
1470
1471
  $.$mol_tree2_from_string = $mol_tree2_from_string;
1471
1472
  })($ || ($ = {}));
1472
- //mol/tree2/from/string/string.ts
1473
+
1473
1474
  ;
1474
1475
  "use strict";
1475
1476
  var $;
@@ -1519,7 +1520,7 @@ var $;
1519
1520
  }
1520
1521
  $.$mol_tree2_from_json = $mol_tree2_from_json;
1521
1522
  })($ || ($ = {}));
1522
- //mol/tree2/from/json/json.ts
1523
+
1523
1524
  ;
1524
1525
  "use strict";
1525
1526
  var $;
@@ -1565,7 +1566,7 @@ var $;
1565
1566
  }
1566
1567
  $.$mol_term_color = $mol_term_color;
1567
1568
  })($ || ($ = {}));
1568
- //mol/term/color/color.ts
1569
+
1569
1570
  ;
1570
1571
  "use strict";
1571
1572
  var $;
@@ -1590,7 +1591,7 @@ var $;
1590
1591
  $.$mol_log3_rise = $mol_log3_node_make('log', 'stdout', 'rise', $mol_term_color.magenta);
1591
1592
  $.$mol_log3_area = $mol_log3_node_make('log', 'stdout', 'area', $mol_term_color.cyan);
1592
1593
  })($ || ($ = {}));
1593
- //mol/log3/log3.node.ts
1594
+
1594
1595
  ;
1595
1596
  "use strict";
1596
1597
  var $;
@@ -1651,7 +1652,7 @@ var $;
1651
1652
  }
1652
1653
  $.$mol_wire_task = $mol_wire_task;
1653
1654
  })($ || ($ = {}));
1654
- //mol/wire/task/task.ts
1655
+
1655
1656
  ;
1656
1657
  "use strict";
1657
1658
  var $;
@@ -1677,13 +1678,13 @@ var $;
1677
1678
  }
1678
1679
  $.$mol_wire_method = $mol_wire_method;
1679
1680
  })($ || ($ = {}));
1680
- //mol/wire/method/method.ts
1681
+
1681
1682
  ;
1682
1683
  "use strict";
1683
- //mol/type/tail/tail.ts
1684
+
1684
1685
  ;
1685
1686
  "use strict";
1686
- //mol/type/foot/foot.ts
1687
+
1687
1688
  ;
1688
1689
  "use strict";
1689
1690
  var $;
@@ -1701,7 +1702,7 @@ var $;
1701
1702
  }
1702
1703
  $.$mol_fail_catch = $mol_fail_catch;
1703
1704
  })($ || ($ = {}));
1704
- //mol/fail/catch/catch.ts
1705
+
1705
1706
  ;
1706
1707
  "use strict";
1707
1708
  var $;
@@ -1716,7 +1717,7 @@ var $;
1716
1717
  }
1717
1718
  $.$mol_fail_log = $mol_fail_log;
1718
1719
  })($ || ($ = {}));
1719
- //mol/fail/log/log.ts
1720
+
1720
1721
  ;
1721
1722
  "use strict";
1722
1723
  var $;
@@ -1846,7 +1847,7 @@ var $;
1846
1847
  ], $mol_wire_atom.prototype, "once", null);
1847
1848
  $.$mol_wire_atom = $mol_wire_atom;
1848
1849
  })($ || ($ = {}));
1849
- //mol/wire/atom/atom.ts
1850
+
1850
1851
  ;
1851
1852
  "use strict";
1852
1853
  var $;
@@ -1884,7 +1885,7 @@ var $;
1884
1885
  }
1885
1886
  $.$mol_wire_solo = $mol_wire_solo;
1886
1887
  })($ || ($ = {}));
1887
- //mol/wire/solo/solo.ts
1888
+
1888
1889
  ;
1889
1890
  "use strict";
1890
1891
  var $;
@@ -1922,7 +1923,7 @@ var $;
1922
1923
  }
1923
1924
  $.$mol_wire_plex = $mol_wire_plex;
1924
1925
  })($ || ($ = {}));
1925
- //mol/wire/plex/plex.ts
1926
+
1926
1927
  ;
1927
1928
  "use strict";
1928
1929
  var $;
@@ -1930,16 +1931,16 @@ var $;
1930
1931
  $.$mol_mem = $mol_wire_solo;
1931
1932
  $.$mol_mem_key = $mol_wire_plex;
1932
1933
  })($ || ($ = {}));
1933
- //mol/mem/mem.ts
1934
+
1934
1935
  ;
1935
1936
  "use strict";
1936
1937
  var $;
1937
1938
  (function ($) {
1938
1939
  })($ || ($ = {}));
1939
- //mol/dom/context/context.ts
1940
+
1940
1941
  ;
1941
1942
  "use strict";
1942
- //node/node.ts
1943
+
1943
1944
  ;
1944
1945
  "use strict";
1945
1946
  var $node = new Proxy({ require }, {
@@ -1986,7 +1987,7 @@ var $node = new Proxy({ require }, {
1986
1987
  require = (req => Object.assign(function require(name) {
1987
1988
  return $node[name];
1988
1989
  }, req))(require);
1989
- //node/node.node.ts
1990
+
1990
1991
  ;
1991
1992
  "use strict";
1992
1993
  var $;
@@ -1996,7 +1997,7 @@ var $;
1996
1997
  }
1997
1998
  $.$mol_env = $mol_env;
1998
1999
  })($ || ($ = {}));
1999
- //mol/env/env.ts
2000
+
2000
2001
  ;
2001
2002
  "use strict";
2002
2003
  var $;
@@ -2005,7 +2006,7 @@ var $;
2005
2006
  return this.process.env;
2006
2007
  };
2007
2008
  })($ || ($ = {}));
2008
- //mol/env/env.node.ts
2009
+
2009
2010
  ;
2010
2011
  "use strict";
2011
2012
  var $;
@@ -2032,14 +2033,14 @@ var $;
2032
2033
  }
2033
2034
  $.$mol_exec = $mol_exec;
2034
2035
  })($ || ($ = {}));
2035
- //mol/exec/exec.node.ts
2036
+
2036
2037
  ;
2037
2038
  "use strict";
2038
2039
  var $;
2039
2040
  (function ($) {
2040
2041
  $.$mol_dom_context = new $node.jsdom.JSDOM('', { url: 'https://localhost/' }).window;
2041
2042
  })($ || ($ = {}));
2042
- //mol/dom/context/context.node.ts
2043
+
2043
2044
  ;
2044
2045
  "use strict";
2045
2046
  var $;
@@ -2063,7 +2064,7 @@ var $;
2063
2064
  }
2064
2065
  $.$mol_after_tick = $mol_after_tick;
2065
2066
  })($ || ($ = {}));
2066
- //mol/after/tick/tick.ts
2067
+
2067
2068
  ;
2068
2069
  "use strict";
2069
2070
  var $;
@@ -2093,7 +2094,7 @@ var $;
2093
2094
  ], $mol_view_selection, "focused", null);
2094
2095
  $.$mol_view_selection = $mol_view_selection;
2095
2096
  })($ || ($ = {}));
2096
- //mol/view/selection/selection.ts
2097
+
2097
2098
  ;
2098
2099
  "use strict";
2099
2100
  var $;
@@ -2131,7 +2132,7 @@ var $;
2131
2132
  }
2132
2133
  $.$mol_wrapper = $mol_wrapper;
2133
2134
  })($ || ($ = {}));
2134
- //mol/wrapper/wrapper.ts
2135
+
2135
2136
  ;
2136
2137
  "use strict";
2137
2138
  var $;
@@ -2150,7 +2151,7 @@ var $;
2150
2151
  }
2151
2152
  $.$mol_memo = $mol_memo;
2152
2153
  })($ || ($ = {}));
2153
- //mol/memo/memo.ts
2154
+
2154
2155
  ;
2155
2156
  "use strict";
2156
2157
  var $;
@@ -2160,7 +2161,7 @@ var $;
2160
2161
  }
2161
2162
  $.$mol_dom_qname = $mol_dom_qname;
2162
2163
  })($ || ($ = {}));
2163
- //mol/dom/qname/qname.ts
2164
+
2164
2165
  ;
2165
2166
  "use strict";
2166
2167
  var $;
@@ -2180,7 +2181,7 @@ var $;
2180
2181
  }
2181
2182
  $.$mol_wire_probe = $mol_wire_probe;
2182
2183
  })($ || ($ = {}));
2183
- //mol/wire/probe/probe.ts
2184
+
2184
2185
  ;
2185
2186
  "use strict";
2186
2187
  var $;
@@ -2196,7 +2197,7 @@ var $;
2196
2197
  }
2197
2198
  $.$mol_wire_watch = $mol_wire_watch;
2198
2199
  })($ || ($ = {}));
2199
- //mol/wire/watch/watch.ts
2200
+
2200
2201
  ;
2201
2202
  "use strict";
2202
2203
  var $;
@@ -2210,7 +2211,7 @@ var $;
2210
2211
  }
2211
2212
  $.$mol_const = $mol_const;
2212
2213
  })($ || ($ = {}));
2213
- //mol/const/const.ts
2214
+
2214
2215
  ;
2215
2216
  "use strict";
2216
2217
  var $;
@@ -2228,7 +2229,7 @@ var $;
2228
2229
  const nothing = () => { };
2229
2230
  const sub = new $mol_wire_pub_sub;
2230
2231
  })($ || ($ = {}));
2231
- //mol/wire/solid/solid.ts
2232
+
2232
2233
  ;
2233
2234
  "use strict";
2234
2235
  var $;
@@ -2254,7 +2255,7 @@ var $;
2254
2255
  }
2255
2256
  $.$mol_dom_render_attributes = $mol_dom_render_attributes;
2256
2257
  })($ || ($ = {}));
2257
- //mol/dom/render/attributes/attributes.ts
2258
+
2258
2259
  ;
2259
2260
  "use strict";
2260
2261
  var $;
@@ -2266,7 +2267,7 @@ var $;
2266
2267
  }
2267
2268
  $.$mol_dom_render_events = $mol_dom_render_events;
2268
2269
  })($ || ($ = {}));
2269
- //mol/dom/render/events/events.ts
2270
+
2270
2271
  ;
2271
2272
  "use strict";
2272
2273
  var $;
@@ -2286,7 +2287,7 @@ var $;
2286
2287
  }
2287
2288
  $.$mol_dom_render_styles = $mol_dom_render_styles;
2288
2289
  })($ || ($ = {}));
2289
- //mol/dom/render/styles/styles.ts
2290
+
2290
2291
  ;
2291
2292
  "use strict";
2292
2293
  var $;
@@ -2341,7 +2342,7 @@ var $;
2341
2342
  }
2342
2343
  $.$mol_dom_render_children = $mol_dom_render_children;
2343
2344
  })($ || ($ = {}));
2344
- //mol/dom/render/children/children.ts
2345
+
2345
2346
  ;
2346
2347
  "use strict";
2347
2348
  var $;
@@ -2356,7 +2357,7 @@ var $;
2356
2357
  }
2357
2358
  $.$mol_dom_render_fields = $mol_dom_render_fields;
2358
2359
  })($ || ($ = {}));
2359
- //mol/dom/render/fields/fields.ts
2360
+
2360
2361
  ;
2361
2362
  "use strict";
2362
2363
  var $;
@@ -2386,13 +2387,13 @@ var $;
2386
2387
  }
2387
2388
  $.$mol_wire_async = $mol_wire_async;
2388
2389
  })($ || ($ = {}));
2389
- //mol/wire/async/async.ts
2390
+
2390
2391
  ;
2391
2392
  "use strict";
2392
- //mol/type/keys/extract/extract.ts
2393
+
2393
2394
  ;
2394
2395
  "use strict";
2395
- //mol/type/pick/pick.ts
2396
+
2396
2397
  ;
2397
2398
  "use strict";
2398
2399
  var $;
@@ -2424,7 +2425,7 @@ var $;
2424
2425
  }
2425
2426
  $.$mol_style_attach = $mol_style_attach;
2426
2427
  })($ || ($ = {}));
2427
- //mol/style/attach/attach.ts
2428
+
2428
2429
  ;
2429
2430
  "use strict";
2430
2431
  var $;
@@ -2443,7 +2444,7 @@ var $;
2443
2444
  }
2444
2445
  $.$mol_decor = $mol_decor;
2445
2446
  })($ || ($ = {}));
2446
- //mol/decor/decor.ts
2447
+
2447
2448
  ;
2448
2449
  "use strict";
2449
2450
  var $;
@@ -2488,7 +2489,7 @@ var $;
2488
2489
  }
2489
2490
  $.$mol_style_unit = $mol_style_unit;
2490
2491
  })($ || ($ = {}));
2491
- //mol/style/unit/unit.ts
2492
+
2492
2493
  ;
2493
2494
  "use strict";
2494
2495
  var $;
@@ -2574,13 +2575,13 @@ var $;
2574
2575
  }
2575
2576
  $.$mol_style_func = $mol_style_func;
2576
2577
  })($ || ($ = {}));
2577
- //mol/style/func/func.ts
2578
+
2578
2579
  ;
2579
2580
  "use strict";
2580
- //mol/type/override/override.ts
2581
+
2581
2582
  ;
2582
2583
  "use strict";
2583
- //mol/style/properties/properties.ts
2584
+
2584
2585
  ;
2585
2586
  "use strict";
2586
2587
  var $;
@@ -2594,7 +2595,7 @@ var $;
2594
2595
  }
2595
2596
  $.$mol_style_prop = $mol_style_prop;
2596
2597
  })($ || ($ = {}));
2597
- //mol/style/prop/prop.ts
2598
+
2598
2599
  ;
2599
2600
  "use strict";
2600
2601
  var $;
@@ -2614,14 +2615,14 @@ var $;
2614
2615
  'image',
2615
2616
  ]);
2616
2617
  })($ || ($ = {}));
2617
- //mol/theme/theme.ts
2618
+
2618
2619
  ;
2619
2620
  "use strict";
2620
2621
  var $;
2621
2622
  (function ($) {
2622
2623
  $mol_style_attach("mol/theme/theme.css", ":root {\n\t--mol_theme_hue: 210deg;\n\t--mol_theme_hue_spread: 90deg;\n}\n\n:where([mol_theme]) {\n\tcolor: var(--mol_theme_text);\n\tfill: var(--mol_theme_text);\n\tbackground-color: var(--mol_theme_back);\n}\n\t\n:root, [mol_theme=\"$mol_theme_dark\"], :where([mol_theme=\"$mol_theme_dark\"]) [mol_theme] {\n\n\t--mol_theme_luma: -1;\n\t--mol_theme_image: invert(1) hue-rotate( 180deg );\n\n\t--mol_theme_back: hsl( var(--mol_theme_hue), 20%, 10% );\n\t--mol_theme_card: hsl( var(--mol_theme_hue), 50%, 20%, .25 );\n\t--mol_theme_field: hsl( var(--mol_theme_hue), 50%, 8%, .25 );\n\t--mol_theme_hover: hsl( var(--mol_theme_hue), 0%, 50%, .1 );\n\t\n\t--mol_theme_text: hsl( var(--mol_theme_hue), 0%, 80% );\n\t--mol_theme_shade: hsl( var(--mol_theme_hue), 0%, 60%, 1 );\n\t--mol_theme_line: hsl( var(--mol_theme_hue), 0%, 50%, .2 );\n\t--mol_theme_focus: hsl( calc( var(--mol_theme_hue) + 180deg ), 100%, 65% );\n\t\n\t--mol_theme_control: hsl( var(--mol_theme_hue), 60%, 65% );\n\t--mol_theme_current: hsl( calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ), 60%, 65% );\n\t--mol_theme_special: hsl( calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ), 60%, 65% );\n\n\t/* --mol_theme_back: oklch( 20% .03 var(--mol_theme_hue) );\n\t--mol_theme_card: oklch( 35% .05 var(--mol_theme_hue) / .25 );\n\t--mol_theme_field: oklch( 0% 0 var(--mol_theme_hue) / .25 );\n\t--mol_theme_hover: oklch( 70% 0 var(--mol_theme_hue) / .1 );\n\t\n\t--mol_theme_text: oklch( 80% 0 var(--mol_theme_hue) );\n\t--mol_theme_shade: oklch( 60% 0 var(--mol_theme_hue) );\n\t--mol_theme_line: oklch( 50% 0 var(--mol_theme_hue) / .2 );\n\t--mol_theme_focus: oklch( 80% .2 calc( var(--mol_theme_hue) + 120deg ) );\n\t\n\t--mol_theme_control: oklch( 70% .1 var(--mol_theme_hue) );\n\t--mol_theme_current: oklch( 80% .2 calc( var(--mol_theme_hue) - 60deg ) );\n\t--mol_theme_special: oklch( 80% .3 calc( var(--mol_theme_hue) + 60deg ) ); */\n\n}\n\n[mol_theme=\"$mol_theme_light\"], :where([mol_theme=\"$mol_theme_light\"]) [mol_theme] {\n\t\n\t--mol_theme_luma: 1;\n\t--mol_theme_image: none;\n\t\n\t--mol_theme_back: hsl( var(--mol_theme_hue), 20%, 85% );\n\t--mol_theme_card: hsl( var(--mol_theme_hue), 50%, 100%, .25 );\n\t--mol_theme_field: hsl( var(--mol_theme_hue), 50%, 100%, .25 );\n\t--mol_theme_hover: hsl( var(--mol_theme_hue), 0%, 50%, .1 );\n\t\n\t--mol_theme_text: hsl( var(--mol_theme_hue), 0%, 0% );\n\t--mol_theme_shade: hsl( var(--mol_theme_hue), 0%, 40%, 1 );\n\t--mol_theme_line: hsl( var(--mol_theme_hue), 0%, 50%, .2 );\n\t--mol_theme_focus: hsl( calc( var(--mol_theme_hue) + 180deg ), 100%, 40% );\n\t\n\t--mol_theme_control: hsl( var(--mol_theme_hue), 80%, 30% );\n\t--mol_theme_current: hsl( calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ), 80%, 30% );\n\t--mol_theme_special: hsl( calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ), 80%, 30% );\n\t\n\t/* --mol_theme_back: oklch( 93% .01 var(--mol_theme_hue) );\n\t--mol_theme_card: oklch( 100% .02 var(--mol_theme_hue) / .25 );\n\t--mol_theme_field: oklch( 100% 0 var(--mol_theme_hue) / .5 );\n\t--mol_theme_hover: oklch( 70% 0 var(--mol_theme_hue) / .1 );\n\t\n\t--mol_theme_text: oklch( 20% 0 var(--mol_theme_hue) );\n\t--mol_theme_shade: oklch( 60% 0 var(--mol_theme_hue) );\n\t--mol_theme_line: oklch( 70% 0 var(--mol_theme_hue) / .2 );\n\t--mol_theme_focus: oklch( 20% .8 calc( var(--mol_theme_hue) + 120deg ) );\n\t\n\t--mol_theme_control: oklch( 45% .25 var(--mol_theme_hue) );\n\t--mol_theme_current: oklch( 45% .5 calc( var(--mol_theme_hue) - 60deg ) );\n\t--mol_theme_special: oklch( 45% .5 calc( var(--mol_theme_hue) + 60deg ) ); */\n\n}\n\n:where( :root, [mol_theme=\"$mol_theme_dark\"] ) [mol_theme=\"$mol_theme_base\"] {\n\t--mol_theme_back: hsl( var(--mol_theme_hue), 50%, 30% );\n\t--mol_theme_card: hsl( var(--mol_theme_hue), 40%, 20%, .25 );\n\t/* --mol_theme_back: oklch( 25% .05 var(--mol_theme_hue) );\n\t--mol_theme_card: oklch( 35% .1 var(--mol_theme_hue) / .25 ); */\n}\n:where( [mol_theme=\"$mol_theme_light\"] ) [mol_theme=\"$mol_theme_base\"] {\n\t--mol_theme_back: hsl( var(--mol_theme_hue), 50%, 80% );\n\t--mol_theme_card: hsl( var(--mol_theme_hue), 80%, 95%, .25 );\n\t/* --mol_theme_back: oklch( 95% .02 var(--mol_theme_hue) );\n\t--mol_theme_card: oklch( 80% .05 var(--mol_theme_hue) / .25 ); */\n}\n\n:where( :root, [mol_theme=\"$mol_theme_dark\"] ) [mol_theme=\"$mol_theme_accent\"] {\n\t--mol_theme_back: hsl( calc( var(--mol_theme_hue) + 180deg ), 90%, 30% );\n\t--mol_theme_card: hsl( calc( var(--mol_theme_hue) + 180deg ), 80%, 20%, .25 );\n\t/* --mol_theme_back: oklch( 40% .2 calc( var(--mol_theme_hue) + 120deg ) );\n\t--mol_theme_card: oklch( 50% .3 calc( var(--mol_theme_hue) + 120deg ) / .25 ); */\n}\n:where( [mol_theme=\"$mol_theme_light\"] ) [mol_theme=\"$mol_theme_accent\"] {\n\t--mol_theme_back: hsl( calc( var(--mol_theme_hue) + 180deg ), 90%, 75% );\n\t--mol_theme_card: hsl( calc( var(--mol_theme_hue) + 180deg ), 80%, 90%, .25 );\n\t/* --mol_theme_back: oklch( 90% .03 calc( var(--mol_theme_hue) + 120deg ) );\n\t--mol_theme_card: oklch( 80% .05 calc( var(--mol_theme_hue) + 120deg ) / .25 ); */\n}\n\n:where( :root, [mol_theme=\"$mol_theme_dark\"] ) [mol_theme=\"$mol_theme_current\"] {\n\t--mol_theme_back: hsl( calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ), 50%, 30% );\n\t--mol_theme_card: hsl( calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ), 40%, 20%, .25 );\n\t/* --mol_theme_back: oklch( 25% .05 calc( var(--mol_theme_hue) - 60deg ) );\n\t--mol_theme_card: oklch( 35% .1 calc( var(--mol_theme_hue) - 60deg ) / .25 ); */\n}\n:where( [mol_theme=\"$mol_theme_light\"] ) [mol_theme=\"$mol_theme_current\"] {\n\t--mol_theme_back: hsl( calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ), 50%, 80% );\n\t--mol_theme_card: hsl( calc( var(--mol_theme_hue) - var(--mol_theme_hue_spread) ), 80%, 95%, .25 );\n\t/* --mol_theme_back: oklch( 95% .02 calc( var(--mol_theme_hue) - 60deg ) );\n\t--mol_theme_card: oklch( 80% .05 calc( var(--mol_theme_hue) - 60deg ) / .25 ); */\n}\n\n:where( :root, [mol_theme=\"$mol_theme_dark\"] ) [mol_theme=\"$mol_theme_special\"] {\n\t--mol_theme_back: hsl( calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ), 50%, 30% );\n\t--mol_theme_card: hsl( calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ), 40%, 20%, .25 );\n\t/* --mol_theme_back: oklch( 25% .05 calc( var(--mol_theme_hue) + 60deg ) );\n\t--mol_theme_card: oklch( 35% .1 calc( var(--mol_theme_hue) + 60deg ) / .25 ); */\n}\n:where( [mol_theme=\"$mol_theme_light\"] ) [mol_theme=\"$mol_theme_special\"] {\n\t--mol_theme_back: hsl( calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ), 50%, 80% );\n\t--mol_theme_card: hsl( calc( var(--mol_theme_hue) + var(--mol_theme_hue_spread) ), 80%, 95%, .25 );\n\t/* --mol_theme_back: oklch( 95% .02 calc( var(--mol_theme_hue) + 60deg ) );\n\t--mol_theme_card: oklch( 80% .05 calc( var(--mol_theme_hue) + 60deg ) / .25 ); */\n}\n");
2623
2624
  })($ || ($ = {}));
2624
- //mol/theme/-css/theme.css.ts
2625
+
2625
2626
  ;
2626
2627
  "use strict";
2627
2628
  var $;
@@ -2634,14 +2635,14 @@ var $;
2634
2635
  'blur',
2635
2636
  ]);
2636
2637
  })($ || ($ = {}));
2637
- //mol/gap/gap.ts
2638
+
2638
2639
  ;
2639
2640
  "use strict";
2640
2641
  var $;
2641
2642
  (function ($) {
2642
2643
  $mol_style_attach("mol/gap/gap.css", ":root {\n\t--mol_gap_block: .75rem;\n\t--mol_gap_text: .5rem .75rem;\n\t--mol_gap_round: .25rem;\n\t--mol_gap_space: .25rem;\n\t--mol_gap_blur: .5rem;\n}\n");
2643
2644
  })($ || ($ = {}));
2644
- //mol/gap/-css/gap.css.ts
2645
+
2645
2646
  ;
2646
2647
  "use strict";
2647
2648
  var $;
@@ -3073,14 +3074,14 @@ var $;
3073
3074
  ], $mol_view, "view_classes", null);
3074
3075
  $.$mol_view = $mol_view;
3075
3076
  })($ || ($ = {}));
3076
- //mol/view/view/view.ts
3077
+
3077
3078
  ;
3078
3079
  "use strict";
3079
3080
  var $;
3080
3081
  (function ($) {
3081
3082
  $mol_style_attach("mol/view/view/view.css", "[mol_view] {\n\ttransition-property: height, width, min-height, min-width, max-width, max-height, transform;\n\ttransition-duration: .2s;\n\ttransition-timing-function: ease-out;\n\t-webkit-appearance: none;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tcontain: style;\n\tscrollbar-color: var(--mol_theme_line) transparent;\n\tscrollbar-width: thin;\n}\t\n\n[mol_view]::selection {\n\tbackground: var(--mol_theme_line);\n}\t\n\n[mol_view]::-webkit-scrollbar {\n\twidth: .25rem;\n\theight: .25rem;\n}\n\n[mol_view]::-webkit-scrollbar-corner {\n\tbackground-color: var(--mol_theme_line);\n}\n\n[mol_view]::-webkit-scrollbar-track {\n\tbackground-color: transparent;\n}\n\n[mol_view]::-webkit-scrollbar-thumb {\n\tbackground-color: var(--mol_theme_line);\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_view] > * {\n\tword-break: inherit;\n}\n\n[mol_view_root] {\n\tmargin: 0;\n\tpadding: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbox-sizing: border-box;\n\tfont-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\tfont-size: 1rem;\n\tline-height: 1.5rem;\n\tbackground: var(--mol_theme_back);\n\tcolor: var(--mol_theme_text);\n\tcontain: unset; /** Fixes bg ignoring when applied to body on Chrome */\n\ttab-size: 4;\n\toverscroll-behavior: contain; /** Disable navigation gestures **/\n}\n\n@media print {\n\t[mol_view_root] {\n\t\theight: auto;\n\t}\n}\n\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"]) {\n\tbackground-image: repeating-linear-gradient(\n\t\t-45deg,\n\t\t#f92323,\n\t\t#f92323 .5rem,\n\t\t#ff3d3d .5rem,\n\t\t#ff3d3d 1.5rem\n\t);\n\tcolor: black;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n@keyframes mol_view_wait {\n\tfrom {\n\t\topacity: .25;\n\t}\n\t20% {\n\t\topacity: .75;\n\t}\n\tto {\n\t\topacity: .25;\n\t}\n}\n\n:where([mol_view][mol_view_error=\"Promise\"]) {\n\tbackground: var(--mol_theme_hover);\n}\n\n[mol_view][mol_view_error=\"Promise\"] {\n\tanimation: mol_view_wait 1s steps( 20, end ) infinite;\n}\n");
3082
3083
  })($ || ($ = {}));
3083
- //mol/view/view/-css/view.css.ts
3084
+
3084
3085
  ;
3085
3086
  "use strict";
3086
3087
  var $;
@@ -3095,7 +3096,7 @@ var $;
3095
3096
  }
3096
3097
  $.$mol_plugin = $mol_plugin;
3097
3098
  })($ || ($ = {}));
3098
- //mol/plugin/plugin.ts
3099
+
3099
3100
  ;
3100
3101
  "use strict";
3101
3102
  var $;
@@ -3158,49 +3159,44 @@ var $;
3158
3159
  }
3159
3160
  $.$mol_view_component = $mol_view_component;
3160
3161
  })($ || ($ = {}));
3161
- //mol/view/component/component.ts
3162
+
3163
+ ;
3164
+ ($.$mol_stack) = class $mol_stack extends ($.$mol_view) {};
3165
+
3166
+
3162
3167
  ;
3163
3168
  "use strict";
3164
- var $;
3165
- (function ($) {
3166
- class $mol_stack extends $mol_view {
3167
- }
3168
- $.$mol_stack = $mol_stack;
3169
- })($ || ($ = {}));
3170
- //mol/stack/-view.tree/stack.view.tree.ts
3169
+
3171
3170
  ;
3172
3171
  "use strict";
3173
3172
  var $;
3174
3173
  (function ($) {
3175
3174
  $mol_style_attach("mol/stack/stack.view.css", "[mol_stack] {\n\tdisplay: grid;\n\t/* width: max-content; */\n\t/* height: max-content; */\n\talign-items: flex-start;\n\tjustify-items: flex-start;\n}\n\n[mol_stack] > * {\n\tgrid-area: 1/1;\n}\n");
3176
3175
  })($ || ($ = {}));
3177
- //mol/stack/-css/stack.view.css.ts
3176
+
3177
+ ;
3178
+ ($.$mol_paragraph) = class $mol_paragraph extends ($.$mol_view) {
3179
+ line_height(){
3180
+ return 24;
3181
+ }
3182
+ letter_width(){
3183
+ return 7;
3184
+ }
3185
+ width_limit(){
3186
+ return +Infinity;
3187
+ }
3188
+ row_width(){
3189
+ return 0;
3190
+ }
3191
+ sub(){
3192
+ return [(this.title())];
3193
+ }
3194
+ };
3195
+
3196
+
3178
3197
  ;
3179
3198
  "use strict";
3180
- var $;
3181
- (function ($) {
3182
- class $mol_paragraph extends $mol_view {
3183
- line_height() {
3184
- return 24;
3185
- }
3186
- letter_width() {
3187
- return 7;
3188
- }
3189
- width_limit() {
3190
- return +Infinity;
3191
- }
3192
- row_width() {
3193
- return 0;
3194
- }
3195
- sub() {
3196
- return [
3197
- this.title()
3198
- ];
3199
- }
3200
- }
3201
- $.$mol_paragraph = $mol_paragraph;
3202
- })($ || ($ = {}));
3203
- //mol/paragraph/-view.tree/paragraph.view.tree.ts
3199
+
3204
3200
  ;
3205
3201
  "use strict";
3206
3202
  var $;
@@ -3248,70 +3244,64 @@ var $;
3248
3244
  $$.$mol_paragraph = $mol_paragraph;
3249
3245
  })($$ = $.$$ || ($.$$ = {}));
3250
3246
  })($ || ($ = {}));
3251
- //mol/paragraph/paragraph.view.ts
3247
+
3252
3248
  ;
3253
3249
  "use strict";
3254
3250
  var $;
3255
3251
  (function ($) {
3256
3252
  $mol_style_attach("mol/paragraph/paragraph.view.css", ":where([mol_paragraph]) {\n\tmargin: 0;\n\tmax-width: 100%;\n}\n");
3257
3253
  })($ || ($ = {}));
3258
- //mol/paragraph/-css/paragraph.view.css.ts
3254
+
3255
+ ;
3256
+ ($.$mol_dimmer) = class $mol_dimmer extends ($.$mol_paragraph) {
3257
+ haystack(){
3258
+ return "";
3259
+ }
3260
+ needle(){
3261
+ return "";
3262
+ }
3263
+ sub(){
3264
+ return (this.parts());
3265
+ }
3266
+ Low(id){
3267
+ const obj = new this.$.$mol_paragraph();
3268
+ (obj.sub) = () => ([(this.string(id))]);
3269
+ return obj;
3270
+ }
3271
+ High(id){
3272
+ const obj = new this.$.$mol_paragraph();
3273
+ (obj.sub) = () => ([(this.string(id))]);
3274
+ return obj;
3275
+ }
3276
+ parts(){
3277
+ return [];
3278
+ }
3279
+ string(id){
3280
+ return "";
3281
+ }
3282
+ };
3283
+ ($mol_mem_key(($.$mol_dimmer.prototype), "Low"));
3284
+ ($mol_mem_key(($.$mol_dimmer.prototype), "High"));
3285
+
3286
+
3259
3287
  ;
3260
3288
  "use strict";
3261
- var $;
3262
- (function ($) {
3263
- class $mol_dimmer extends $mol_paragraph {
3264
- haystack() {
3265
- return "";
3266
- }
3267
- needle() {
3268
- return "";
3269
- }
3270
- sub() {
3271
- return this.parts();
3272
- }
3273
- Low(id) {
3274
- const obj = new this.$.$mol_paragraph();
3275
- obj.sub = () => [
3276
- this.string(id)
3277
- ];
3278
- return obj;
3279
- }
3280
- High(id) {
3281
- const obj = new this.$.$mol_paragraph();
3282
- obj.sub = () => [
3283
- this.string(id)
3284
- ];
3285
- return obj;
3286
- }
3287
- parts() {
3288
- return [];
3289
- }
3290
- string(id) {
3291
- return "";
3292
- }
3293
- }
3294
- __decorate([
3295
- $mol_mem_key
3296
- ], $mol_dimmer.prototype, "Low", null);
3297
- __decorate([
3298
- $mol_mem_key
3299
- ], $mol_dimmer.prototype, "High", null);
3300
- $.$mol_dimmer = $mol_dimmer;
3301
- })($ || ($ = {}));
3302
- //mol/dimmer/-view.tree/dimmer.view.tree.ts
3289
+
3303
3290
  ;
3304
3291
  "use strict";
3305
- //mol/type/equals/equals.ts
3292
+
3293
+ ;
3294
+ "use strict";
3295
+
3306
3296
  ;
3307
3297
  "use strict";
3308
- //mol/type/merge/merge.ts
3298
+
3309
3299
  ;
3310
3300
  "use strict";
3311
- //mol/type/intersect/intersect.ts
3301
+
3312
3302
  ;
3313
3303
  "use strict";
3314
- //mol/unicode/unicode.ts
3304
+
3315
3305
  ;
3316
3306
  "use strict";
3317
3307
  var $;
@@ -3586,7 +3576,7 @@ var $;
3586
3576
  }
3587
3577
  $.$mol_regexp = $mol_regexp;
3588
3578
  })($ || ($ = {}));
3589
- //mol/regexp/regexp.ts
3579
+
3590
3580
  ;
3591
3581
  "use strict";
3592
3582
  var $;
@@ -3630,63 +3620,58 @@ var $;
3630
3620
  $$.$mol_dimmer = $mol_dimmer;
3631
3621
  })($$ = $.$$ || ($.$$ = {}));
3632
3622
  })($ || ($ = {}));
3633
- //mol/dimmer/dimmer.view.ts
3623
+
3634
3624
  ;
3635
3625
  "use strict";
3636
3626
  var $;
3637
3627
  (function ($) {
3638
3628
  $mol_style_attach("mol/dimmer/dimmer.view.css", "[mol_dimmer] {\n\tdisplay: block;\n\tmax-width: 100%;\n}\n\n[mol_dimmer_low] {\n\tdisplay: inline;\n\topacity: 0.8;\n}\n\n[mol_dimmer_high] {\n\tdisplay: inline;\n\tcolor: var(--mol_theme_focus);\n\ttext-shadow: 0 0;\n}\n");
3639
3629
  })($ || ($ = {}));
3640
- //mol/dimmer/-css/dimmer.view.css.ts
3630
+
3631
+ ;
3632
+ ($.$mol_text_code_token) = class $mol_text_code_token extends ($.$mol_dimmer) {
3633
+ attr(){
3634
+ return {...(super.attr()), "mol_text_code_token_type": (this.type())};
3635
+ }
3636
+ type(){
3637
+ return "";
3638
+ }
3639
+ };
3640
+ ($.$mol_text_code_token_link) = class $mol_text_code_token_link extends ($.$mol_text_code_token) {
3641
+ dom_name(){
3642
+ return "a";
3643
+ }
3644
+ type(){
3645
+ return "code-link";
3646
+ }
3647
+ attr(){
3648
+ return {
3649
+ ...(super.attr()),
3650
+ "href": (this.uri()),
3651
+ "target": "_blank"
3652
+ };
3653
+ }
3654
+ uri(){
3655
+ return "";
3656
+ }
3657
+ };
3658
+
3659
+
3641
3660
  ;
3642
3661
  "use strict";
3643
- var $;
3644
- (function ($) {
3645
- class $mol_text_code_token extends $mol_dimmer {
3646
- attr() {
3647
- return {
3648
- ...super.attr(),
3649
- mol_text_code_token_type: this.type()
3650
- };
3651
- }
3652
- type() {
3653
- return "";
3654
- }
3655
- }
3656
- $.$mol_text_code_token = $mol_text_code_token;
3657
- class $mol_text_code_token_link extends $mol_text_code_token {
3658
- dom_name() {
3659
- return "a";
3660
- }
3661
- type() {
3662
- return "code-link";
3663
- }
3664
- attr() {
3665
- return {
3666
- ...super.attr(),
3667
- href: this.uri(),
3668
- target: "_blank"
3669
- };
3670
- }
3671
- uri() {
3672
- return "";
3673
- }
3674
- }
3675
- $.$mol_text_code_token_link = $mol_text_code_token_link;
3676
- })($ || ($ = {}));
3677
- //mol/text/code/token/-view.tree/token.view.tree.ts
3662
+
3678
3663
  ;
3679
3664
  "use strict";
3680
- //mol/style/pseudo/class.ts
3665
+
3681
3666
  ;
3682
3667
  "use strict";
3683
- //mol/style/pseudo/element.ts
3668
+
3684
3669
  ;
3685
3670
  "use strict";
3686
- //mol/type/error/error.ts
3671
+
3687
3672
  ;
3688
3673
  "use strict";
3689
- //mol/style/guard/guard.ts
3674
+
3690
3675
  ;
3691
3676
  "use strict";
3692
3677
  var $;
@@ -3784,7 +3769,7 @@ var $;
3784
3769
  }
3785
3770
  $.$mol_style_sheet = $mol_style_sheet;
3786
3771
  })($ || ($ = {}));
3787
- //mol/style/sheet/sheet.ts
3772
+
3788
3773
  ;
3789
3774
  "use strict";
3790
3775
  var $;
@@ -3794,7 +3779,7 @@ var $;
3794
3779
  }
3795
3780
  $.$mol_style_define = $mol_style_define;
3796
3781
  })($ || ($ = {}));
3797
- //mol/style/define/define.ts
3782
+
3798
3783
  ;
3799
3784
  "use strict";
3800
3785
  var $;
@@ -3851,79 +3836,70 @@ var $;
3851
3836
  });
3852
3837
  })($$ = $.$$ || ($.$$ = {}));
3853
3838
  })($ || ($ = {}));
3854
- //mol/text/code/token/token.view.css.ts
3839
+
3840
+ ;
3841
+ ($.$mol_text_code_row) = class $mol_text_code_row extends ($.$mol_paragraph) {
3842
+ text(){
3843
+ return "";
3844
+ }
3845
+ minimal_height(){
3846
+ return 24;
3847
+ }
3848
+ numb_showed(){
3849
+ return true;
3850
+ }
3851
+ syntax(){
3852
+ return null;
3853
+ }
3854
+ uri_resolve(id){
3855
+ return "";
3856
+ }
3857
+ Numb(){
3858
+ const obj = new this.$.$mol_view();
3859
+ (obj.sub) = () => ([(this.numb())]);
3860
+ return obj;
3861
+ }
3862
+ Token(id){
3863
+ const obj = new this.$.$mol_text_code_token();
3864
+ (obj.type) = () => ((this.token_type(id)));
3865
+ (obj.haystack) = () => ((this.token_text(id)));
3866
+ (obj.needle) = () => ((this.highlight()));
3867
+ return obj;
3868
+ }
3869
+ Token_link(id){
3870
+ const obj = new this.$.$mol_text_code_token_link();
3871
+ (obj.haystack) = () => ((this.token_text(id)));
3872
+ (obj.needle) = () => ((this.highlight()));
3873
+ (obj.uri) = () => ((this.token_uri(id)));
3874
+ return obj;
3875
+ }
3876
+ find_pos(id){
3877
+ return null;
3878
+ }
3879
+ numb(){
3880
+ return 0;
3881
+ }
3882
+ token_type(id){
3883
+ return "";
3884
+ }
3885
+ token_text(id){
3886
+ return "";
3887
+ }
3888
+ highlight(){
3889
+ return "";
3890
+ }
3891
+ token_uri(id){
3892
+ return "";
3893
+ }
3894
+ };
3895
+ ($mol_mem(($.$mol_text_code_row.prototype), "Numb"));
3896
+ ($mol_mem_key(($.$mol_text_code_row.prototype), "Token"));
3897
+ ($mol_mem_key(($.$mol_text_code_row.prototype), "Token_link"));
3898
+
3899
+
3855
3900
  ;
3856
3901
  "use strict";
3857
- var $;
3858
- (function ($) {
3859
- class $mol_text_code_row extends $mol_paragraph {
3860
- text() {
3861
- return "";
3862
- }
3863
- minimal_height() {
3864
- return 24;
3865
- }
3866
- numb_showed() {
3867
- return true;
3868
- }
3869
- syntax() {
3870
- return null;
3871
- }
3872
- uri_resolve(id) {
3873
- return "";
3874
- }
3875
- Numb() {
3876
- const obj = new this.$.$mol_view();
3877
- obj.sub = () => [
3878
- this.numb()
3879
- ];
3880
- return obj;
3881
- }
3882
- Token(id) {
3883
- const obj = new this.$.$mol_text_code_token();
3884
- obj.type = () => this.token_type(id);
3885
- obj.haystack = () => this.token_text(id);
3886
- obj.needle = () => this.highlight();
3887
- return obj;
3888
- }
3889
- Token_link(id) {
3890
- const obj = new this.$.$mol_text_code_token_link();
3891
- obj.haystack = () => this.token_text(id);
3892
- obj.needle = () => this.highlight();
3893
- obj.uri = () => this.token_uri(id);
3894
- return obj;
3895
- }
3896
- find_pos(id) {
3897
- return null;
3898
- }
3899
- numb() {
3900
- return 0;
3901
- }
3902
- token_type(id) {
3903
- return "";
3904
- }
3905
- token_text(id) {
3906
- return "";
3907
- }
3908
- highlight() {
3909
- return "";
3910
- }
3911
- token_uri(id) {
3912
- return "";
3913
- }
3914
- }
3915
- __decorate([
3916
- $mol_mem
3917
- ], $mol_text_code_row.prototype, "Numb", null);
3918
- __decorate([
3919
- $mol_mem_key
3920
- ], $mol_text_code_row.prototype, "Token", null);
3921
- __decorate([
3922
- $mol_mem_key
3923
- ], $mol_text_code_row.prototype, "Token_link", null);
3924
- $.$mol_text_code_row = $mol_text_code_row;
3925
- })($ || ($ = {}));
3926
- //mol/text/code/row/-view.tree/row.view.tree.ts
3902
+
3927
3903
  ;
3928
3904
  "use strict";
3929
3905
  var $;
@@ -3976,7 +3952,7 @@ var $;
3976
3952
  }
3977
3953
  $.$mol_syntax2 = $mol_syntax2;
3978
3954
  })($ || ($ = {}));
3979
- //mol/syntax2/syntax2.ts
3955
+
3980
3956
  ;
3981
3957
  "use strict";
3982
3958
  var $;
@@ -4023,7 +3999,7 @@ var $;
4023
3999
  'code-punctuation': /[\-\[\]\{\}\(\)<=>~!\?@#%&\*_\+\\\/\|;:\.,\^]+?/,
4024
4000
  });
4025
4001
  })($ || ($ = {}));
4026
- //mol/syntax2/md/md.ts
4002
+
4027
4003
  ;
4028
4004
  "use strict";
4029
4005
  var $;
@@ -4137,7 +4113,7 @@ var $;
4137
4113
  $$.$mol_text_code_row = $mol_text_code_row;
4138
4114
  })($$ = $.$$ || ($.$$ = {}));
4139
4115
  })($ || ($ = {}));
4140
- //mol/text/code/row/row.view.ts
4116
+
4141
4117
  ;
4142
4118
  "use strict";
4143
4119
  var $;
@@ -4166,79 +4142,65 @@ var $;
4166
4142
  });
4167
4143
  })($$ = $.$$ || ($.$$ = {}));
4168
4144
  })($ || ($ = {}));
4169
- //mol/text/code/row/row.view.css.ts
4145
+
4146
+ ;
4147
+ ($.$mol_list) = class $mol_list extends ($.$mol_view) {
4148
+ render_visible_only(){
4149
+ return true;
4150
+ }
4151
+ render_over(){
4152
+ return 0;
4153
+ }
4154
+ sub(){
4155
+ return (this.rows());
4156
+ }
4157
+ Empty(){
4158
+ const obj = new this.$.$mol_view();
4159
+ return obj;
4160
+ }
4161
+ Gap_before(){
4162
+ const obj = new this.$.$mol_view();
4163
+ (obj.style) = () => ({"paddingTop": (this.gap_before())});
4164
+ return obj;
4165
+ }
4166
+ Gap_after(){
4167
+ const obj = new this.$.$mol_view();
4168
+ (obj.style) = () => ({"paddingTop": (this.gap_after())});
4169
+ return obj;
4170
+ }
4171
+ view_window(){
4172
+ return [0, 0];
4173
+ }
4174
+ rows(){
4175
+ return [];
4176
+ }
4177
+ gap_before(){
4178
+ return 0;
4179
+ }
4180
+ gap_after(){
4181
+ return 0;
4182
+ }
4183
+ };
4184
+ ($mol_mem(($.$mol_list.prototype), "Empty"));
4185
+ ($mol_mem(($.$mol_list.prototype), "Gap_before"));
4186
+ ($mol_mem(($.$mol_list.prototype), "Gap_after"));
4187
+
4188
+
4189
+ ;
4190
+ "use strict";
4191
+
4170
4192
  ;
4171
4193
  "use strict";
4172
4194
  var $;
4173
4195
  (function ($) {
4174
- class $mol_list extends $mol_view {
4175
- render_visible_only() {
4176
- return true;
4177
- }
4178
- render_over() {
4179
- return 0;
4180
- }
4181
- sub() {
4182
- return this.rows();
4183
- }
4184
- Empty() {
4185
- const obj = new this.$.$mol_view();
4186
- return obj;
4187
- }
4188
- Gap_before() {
4189
- const obj = new this.$.$mol_view();
4190
- obj.style = () => ({
4191
- paddingTop: this.gap_before()
4192
- });
4193
- return obj;
4194
- }
4195
- Gap_after() {
4196
- const obj = new this.$.$mol_view();
4197
- obj.style = () => ({
4198
- paddingTop: this.gap_after()
4199
- });
4200
- return obj;
4201
- }
4202
- view_window() {
4203
- return [
4204
- 0,
4205
- 0
4206
- ];
4207
- }
4208
- rows() {
4209
- return [];
4210
- }
4211
- gap_before() {
4212
- return 0;
4213
- }
4214
- gap_after() {
4215
- return 0;
4216
- }
4217
- }
4218
- __decorate([
4219
- $mol_mem
4220
- ], $mol_list.prototype, "Empty", null);
4221
- __decorate([
4222
- $mol_mem
4223
- ], $mol_list.prototype, "Gap_before", null);
4224
- __decorate([
4225
- $mol_mem
4226
- ], $mol_list.prototype, "Gap_after", null);
4227
- $.$mol_list = $mol_list;
4228
- })($ || ($ = {}));
4229
- //mol/list/-view.tree/list.view.tree.ts
4230
- ;
4231
- "use strict";
4232
- var $;
4233
- (function ($) {
4234
- let cache = null;
4235
- function $mol_support_css_overflow_anchor() {
4236
- return cache ?? (cache = (!/Gecko\//.test(navigator.userAgent)
4237
- && this.$mol_dom_context.CSS?.supports('overflow-anchor:auto')) ?? false);
4196
+ let cache = null;
4197
+ function $mol_support_css_overflow_anchor() {
4198
+ return cache ?? (cache = (!/Gecko\//.test(navigator.userAgent)
4199
+ && this.$mol_dom_context.CSS?.supports('overflow-anchor:auto')) ?? false);
4238
4200
  }
4239
4201
  $.$mol_support_css_overflow_anchor = $mol_support_css_overflow_anchor;
4240
4202
  })($ || ($ = {}));
4241
- //mol/support/css/css.ts
4203
+
4242
4204
  ;
4243
4205
  "use strict";
4244
4206
  var $;
@@ -4263,7 +4225,7 @@ var $;
4263
4225
  }
4264
4226
  $.$mol_dom_listener = $mol_dom_listener;
4265
4227
  })($ || ($ = {}));
4266
- //mol/dom/listener/listener.ts
4228
+
4267
4229
  ;
4268
4230
  "use strict";
4269
4231
  var $;
@@ -4296,14 +4258,14 @@ var $;
4296
4258
  ], $mol_print, "active", null);
4297
4259
  $.$mol_print = $mol_print;
4298
4260
  })($ || ($ = {}));
4299
- //mol/print/print.ts
4261
+
4300
4262
  ;
4301
4263
  "use strict";
4302
4264
  var $;
4303
4265
  (function ($) {
4304
4266
  $.$mol_mem_cached = $mol_wire_probe;
4305
4267
  })($ || ($ = {}));
4306
- //mol/mem/cached/cached.ts
4268
+
4307
4269
  ;
4308
4270
  "use strict";
4309
4271
  var $;
@@ -4435,46 +4397,37 @@ var $;
4435
4397
  $$.$mol_list = $mol_list;
4436
4398
  })($$ = $.$$ || ($.$$ = {}));
4437
4399
  })($ || ($ = {}));
4438
- //mol/list/list.view.ts
4400
+
4439
4401
  ;
4440
4402
  "use strict";
4441
4403
  var $;
4442
4404
  (function ($) {
4443
4405
  $mol_style_attach("mol/list/list.view.css", "[mol_list] {\n\twill-change: contents;\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex-shrink: 0;\n\tmax-width: 100%;\n\t/* display: flex;\n\talign-items: stretch;\n\talign-content: stretch; */\n\ttransition: none;\n\tmin-height: 1.5rem;\n}\n\n[mol_list_gap_before] ,\n[mol_list_gap_after] {\n\tdisplay: block !important;\n\tflex: none;\n\ttransition: none;\n\toverflow-anchor: none;\n}\n");
4444
4406
  })($ || ($ = {}));
4445
- //mol/list/-css/list.view.css.ts
4407
+
4408
+ ;
4409
+ ($.$mol_speck) = class $mol_speck extends ($.$mol_view) {
4410
+ attr(){
4411
+ return {...(super.attr()), "mol_theme": (this.theme())};
4412
+ }
4413
+ style(){
4414
+ return {...(super.style()), "minHeight": "1em"};
4415
+ }
4416
+ sub(){
4417
+ return [(this.value())];
4418
+ }
4419
+ theme(){
4420
+ return "$mol_theme_accent";
4421
+ }
4422
+ value(){
4423
+ return null;
4424
+ }
4425
+ };
4426
+
4427
+
4446
4428
  ;
4447
4429
  "use strict";
4448
- var $;
4449
- (function ($) {
4450
- class $mol_speck extends $mol_view {
4451
- attr() {
4452
- return {
4453
- ...super.attr(),
4454
- mol_theme: this.theme()
4455
- };
4456
- }
4457
- style() {
4458
- return {
4459
- ...super.style(),
4460
- minHeight: "1em"
4461
- };
4462
- }
4463
- sub() {
4464
- return [
4465
- this.value()
4466
- ];
4467
- }
4468
- theme() {
4469
- return "$mol_theme_accent";
4470
- }
4471
- value() {
4472
- return null;
4473
- }
4474
- }
4475
- $.$mol_speck = $mol_speck;
4476
- })($ || ($ = {}));
4477
- //mol/speck/-view.tree/speck.view.tree.ts
4430
+
4478
4431
  ;
4479
4432
  "use strict";
4480
4433
  var $;
@@ -4487,118 +4440,98 @@ var $;
4487
4440
  'popup',
4488
4441
  ]);
4489
4442
  })($ || ($ = {}));
4490
- //mol/layer/layer.ts
4443
+
4491
4444
  ;
4492
4445
  "use strict";
4493
4446
  var $;
4494
4447
  (function ($) {
4495
4448
  $mol_style_attach("mol/layer/layer.css", ":root {\n\t--mol_layer_hover: 1;\n\t--mol_layer_focus: 2;\n\t--mol_layer_speck: 3;\n\t--mol_layer_float: 4;\n\t--mol_layer_popup: 5;\n}\n");
4496
4449
  })($ || ($ = {}));
4497
- //mol/layer/-css/layer.css.ts
4450
+
4498
4451
  ;
4499
4452
  "use strict";
4500
4453
  var $;
4501
4454
  (function ($) {
4502
4455
  $mol_style_attach("mol/speck/speck.view.css", "[mol_speck] {\n\tfont-size: .625rem;\n\tborder-radius: 1rem;\n\tmargin: -0.5rem -0.25rem;\n\talign-self: flex-start;\n\tmin-height: 1em;\n\tmin-width: .5em;\n\tvertical-align: sub;\n\tpadding: .25em .5em;\n\tposition: absolute;\n\tz-index: var(--mol_layer_speck);\n\ttext-align: center;\n\tline-height: 1;\n\tdisplay: inline-block;\n\twhite-space: nowrap;\n\ttext-overflow: ellipsis;\n\tuser-select: none;\n}\n");
4503
4456
  })($ || ($ = {}));
4504
- //mol/speck/-css/speck.view.css.ts
4457
+
4458
+ ;
4459
+ ($.$mol_button) = class $mol_button extends ($.$mol_view) {
4460
+ enabled(){
4461
+ return true;
4462
+ }
4463
+ click(next){
4464
+ if(next !== undefined) return next;
4465
+ return null;
4466
+ }
4467
+ event_click(next){
4468
+ if(next !== undefined) return next;
4469
+ return null;
4470
+ }
4471
+ event(){
4472
+ return {
4473
+ ...(super.event()),
4474
+ "click": (next) => (this.event_activate(next)),
4475
+ "dblclick": (next) => (this.clicks(next)),
4476
+ "keydown": (next) => (this.event_key_press(next))
4477
+ };
4478
+ }
4479
+ attr(){
4480
+ return {
4481
+ ...(super.attr()),
4482
+ "disabled": (this.disabled()),
4483
+ "role": "button",
4484
+ "tabindex": (this.tab_index()),
4485
+ "title": (this.hint_safe())
4486
+ };
4487
+ }
4488
+ sub(){
4489
+ return [(this.title())];
4490
+ }
4491
+ Speck(){
4492
+ const obj = new this.$.$mol_speck();
4493
+ (obj.value) = () => ((this.error()));
4494
+ return obj;
4495
+ }
4496
+ event_activate(next){
4497
+ if(next !== undefined) return next;
4498
+ return null;
4499
+ }
4500
+ clicks(next){
4501
+ if(next !== undefined) return next;
4502
+ return null;
4503
+ }
4504
+ event_key_press(next){
4505
+ if(next !== undefined) return next;
4506
+ return null;
4507
+ }
4508
+ disabled(){
4509
+ return false;
4510
+ }
4511
+ tab_index(){
4512
+ return 0;
4513
+ }
4514
+ hint(){
4515
+ return "";
4516
+ }
4517
+ hint_safe(){
4518
+ return (this.hint());
4519
+ }
4520
+ error(){
4521
+ return "";
4522
+ }
4523
+ };
4524
+ ($mol_mem(($.$mol_button.prototype), "click"));
4525
+ ($mol_mem(($.$mol_button.prototype), "event_click"));
4526
+ ($mol_mem(($.$mol_button.prototype), "Speck"));
4527
+ ($mol_mem(($.$mol_button.prototype), "event_activate"));
4528
+ ($mol_mem(($.$mol_button.prototype), "clicks"));
4529
+ ($mol_mem(($.$mol_button.prototype), "event_key_press"));
4530
+
4531
+
4505
4532
  ;
4506
4533
  "use strict";
4507
- var $;
4508
- (function ($) {
4509
- class $mol_button extends $mol_view {
4510
- enabled() {
4511
- return true;
4512
- }
4513
- click(event) {
4514
- if (event !== undefined)
4515
- return event;
4516
- return null;
4517
- }
4518
- event_click(event) {
4519
- if (event !== undefined)
4520
- return event;
4521
- return null;
4522
- }
4523
- event() {
4524
- return {
4525
- ...super.event(),
4526
- click: (event) => this.event_activate(event),
4527
- dblclick: (event) => this.clicks(event),
4528
- keydown: (event) => this.event_key_press(event)
4529
- };
4530
- }
4531
- attr() {
4532
- return {
4533
- ...super.attr(),
4534
- disabled: this.disabled(),
4535
- role: "button",
4536
- tabindex: this.tab_index(),
4537
- title: this.hint_safe()
4538
- };
4539
- }
4540
- sub() {
4541
- return [
4542
- this.title()
4543
- ];
4544
- }
4545
- Speck() {
4546
- const obj = new this.$.$mol_speck();
4547
- obj.value = () => this.error();
4548
- return obj;
4549
- }
4550
- event_activate(event) {
4551
- if (event !== undefined)
4552
- return event;
4553
- return null;
4554
- }
4555
- clicks(event) {
4556
- if (event !== undefined)
4557
- return event;
4558
- return null;
4559
- }
4560
- event_key_press(event) {
4561
- if (event !== undefined)
4562
- return event;
4563
- return null;
4564
- }
4565
- disabled() {
4566
- return false;
4567
- }
4568
- tab_index() {
4569
- return 0;
4570
- }
4571
- hint() {
4572
- return "";
4573
- }
4574
- hint_safe() {
4575
- return this.hint();
4576
- }
4577
- error() {
4578
- return "";
4579
- }
4580
- }
4581
- __decorate([
4582
- $mol_mem
4583
- ], $mol_button.prototype, "click", null);
4584
- __decorate([
4585
- $mol_mem
4586
- ], $mol_button.prototype, "event_click", null);
4587
- __decorate([
4588
- $mol_mem
4589
- ], $mol_button.prototype, "Speck", null);
4590
- __decorate([
4591
- $mol_mem
4592
- ], $mol_button.prototype, "event_activate", null);
4593
- __decorate([
4594
- $mol_mem
4595
- ], $mol_button.prototype, "clicks", null);
4596
- __decorate([
4597
- $mol_mem
4598
- ], $mol_button.prototype, "event_key_press", null);
4599
- $.$mol_button = $mol_button;
4600
- })($ || ($ = {}));
4601
- //mol/button/-view.tree/button.view.tree.ts
4534
+
4602
4535
  ;
4603
4536
  "use strict";
4604
4537
  var $;
@@ -4707,7 +4640,7 @@ var $;
4707
4640
  $mol_keyboard_code[$mol_keyboard_code["quoteSingle"] = 222] = "quoteSingle";
4708
4641
  })($mol_keyboard_code = $.$mol_keyboard_code || ($.$mol_keyboard_code = {}));
4709
4642
  })($ || ($ = {}));
4710
- //mol/keyboard/code/code.ts
4643
+
4711
4644
  ;
4712
4645
  "use strict";
4713
4646
  var $;
@@ -4773,83 +4706,79 @@ var $;
4773
4706
  $$.$mol_button = $mol_button;
4774
4707
  })($$ = $.$$ || ($.$$ = {}));
4775
4708
  })($ || ($ = {}));
4776
- //mol/button/button.view.ts
4709
+
4777
4710
  ;
4778
4711
  "use strict";
4779
4712
  var $;
4780
4713
  (function ($) {
4781
4714
  $mol_style_attach("mol/button/button.view.css", "[mol_button] {\n\tborder: none;\n\tfont: inherit;\n\tdisplay: inline-flex;\n\tflex-shrink: 0;\n\ttext-decoration: inherit;\n\tcursor: inherit;\n\tposition: relative;\n\tbox-sizing: border-box;\n\tword-break: normal;\n\tcursor: default;\n\tuser-select: none;\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_button]:where(:not(:disabled)):hover {\n\tz-index: var(--mol_layer_hover);\n}\n\n[mol_button]:focus-visible {\n\toutline: none;\n\tz-index: var(--mol_layer_focus);\n}\n");
4782
4715
  })($ || ($ = {}));
4783
- //mol/button/-css/button.view.css.ts
4716
+
4717
+ ;
4718
+ ($.$mol_button_typed) = class $mol_button_typed extends ($.$mol_button) {
4719
+ minimal_height(){
4720
+ return 40;
4721
+ }
4722
+ minimal_width(){
4723
+ return 40;
4724
+ }
4725
+ };
4726
+
4727
+
4784
4728
  ;
4785
4729
  "use strict";
4786
- var $;
4787
- (function ($) {
4788
- class $mol_button_typed extends $mol_button {
4789
- minimal_height() {
4790
- return 40;
4791
- }
4792
- minimal_width() {
4793
- return 40;
4794
- }
4795
- }
4796
- $.$mol_button_typed = $mol_button_typed;
4797
- })($ || ($ = {}));
4798
- //mol/button/typed/-view.tree/typed.view.tree.ts
4730
+
4799
4731
  ;
4800
4732
  "use strict";
4801
4733
  var $;
4802
4734
  (function ($) {
4803
4735
  $mol_style_attach("mol/button/typed/typed.view.css", "[mol_button_typed] {\n\talign-content: center;\n\talign-items: center;\n\tpadding: var(--mol_gap_text);\n\tborder-radius: var(--mol_gap_round);\n\tgap: var(--mol_gap_space);\n\tuser-select: none;\n\tcursor: pointer;\n}\n\n[mol_button_typed][disabled] {\n\tpointer-events: none;\n}\n\n[mol_button_typed]:hover ,\n[mol_button_typed]:focus-visible {\n\tbackground-color: var(--mol_theme_hover);\n}\n\n[mol_button_typed]:active {\n\tcolor: var(--mol_theme_focus);\n}\n\n");
4804
4736
  })($ || ($ = {}));
4805
- //mol/button/typed/-css/typed.view.css.ts
4737
+
4738
+ ;
4739
+ ($.$mol_button_minor) = class $mol_button_minor extends ($.$mol_button_typed) {};
4740
+
4741
+
4806
4742
  ;
4807
4743
  "use strict";
4808
- var $;
4809
- (function ($) {
4810
- class $mol_button_minor extends $mol_button_typed {
4811
- }
4812
- $.$mol_button_minor = $mol_button_minor;
4813
- })($ || ($ = {}));
4814
- //mol/button/minor/-view.tree/minor.view.tree.ts
4744
+
4815
4745
  ;
4816
4746
  "use strict";
4817
4747
  var $;
4818
4748
  (function ($) {
4819
4749
  $mol_style_attach("mol/button/minor/minor.view.css", "[mol_button_minor] {\n\tcolor: var(--mol_theme_control);\n}\n\n[mol_button_minor][disabled] {\n\tcolor: var(--mol_theme_shade);\n}\n");
4820
4750
  })($ || ($ = {}));
4821
- //mol/button/minor/-css/minor.view.css.ts
4751
+
4822
4752
  ;
4823
4753
  "use strict";
4824
4754
  var $;
4825
4755
  (function ($) {
4826
4756
  $.$mol_blob = ($node.buffer?.Blob ?? $mol_dom_context.Blob);
4827
4757
  })($ || ($ = {}));
4828
- //mol/blob/blob.ts
4758
+
4759
+ ;
4760
+ ($.$mol_svg) = class $mol_svg extends ($.$mol_view) {
4761
+ dom_name(){
4762
+ return "svg";
4763
+ }
4764
+ dom_name_space(){
4765
+ return "http://www.w3.org/2000/svg";
4766
+ }
4767
+ font_size(){
4768
+ return 16;
4769
+ }
4770
+ font_family(){
4771
+ return "";
4772
+ }
4773
+ style_size(){
4774
+ return {};
4775
+ }
4776
+ };
4777
+
4778
+
4829
4779
  ;
4830
4780
  "use strict";
4831
- var $;
4832
- (function ($) {
4833
- class $mol_svg extends $mol_view {
4834
- dom_name() {
4835
- return "svg";
4836
- }
4837
- dom_name_space() {
4838
- return "http://www.w3.org/2000/svg";
4839
- }
4840
- font_size() {
4841
- return 16;
4842
- }
4843
- font_family() {
4844
- return "";
4845
- }
4846
- style_size() {
4847
- return {};
4848
- }
4849
- }
4850
- $.$mol_svg = $mol_svg;
4851
- })($ || ($ = {}));
4852
- //mol/svg/-view.tree/svg.view.tree.ts
4781
+
4853
4782
  ;
4854
4783
  "use strict";
4855
4784
  var $;
@@ -4876,7 +4805,7 @@ var $;
4876
4805
  ], $mol_state_time, "now", null);
4877
4806
  $.$mol_state_time = $mol_state_time;
4878
4807
  })($ || ($ = {}));
4879
- //mol/state/time/time.ts
4808
+
4880
4809
  ;
4881
4810
  "use strict";
4882
4811
  var $;
@@ -4910,191 +4839,156 @@ var $;
4910
4839
  $$.$mol_svg = $mol_svg;
4911
4840
  })($$ = $.$$ || ($.$$ = {}));
4912
4841
  })($ || ($ = {}));
4913
- //mol/svg/svg.view.ts
4842
+
4843
+ ;
4844
+ ($.$mol_svg_root) = class $mol_svg_root extends ($.$mol_svg) {
4845
+ dom_name(){
4846
+ return "svg";
4847
+ }
4848
+ attr(){
4849
+ return {
4850
+ ...(super.attr()),
4851
+ "viewBox": (this.view_box()),
4852
+ "preserveAspectRatio": (this.aspect())
4853
+ };
4854
+ }
4855
+ view_box(){
4856
+ return "0 0 100 100";
4857
+ }
4858
+ aspect(){
4859
+ return "xMidYMid";
4860
+ }
4861
+ };
4862
+
4863
+
4914
4864
  ;
4915
4865
  "use strict";
4916
- var $;
4917
- (function ($) {
4918
- class $mol_svg_root extends $mol_svg {
4919
- dom_name() {
4920
- return "svg";
4921
- }
4922
- attr() {
4923
- return {
4924
- ...super.attr(),
4925
- viewBox: this.view_box(),
4926
- preserveAspectRatio: this.aspect()
4927
- };
4928
- }
4929
- view_box() {
4930
- return "0 0 100 100";
4931
- }
4932
- aspect() {
4933
- return "xMidYMid";
4934
- }
4935
- }
4936
- $.$mol_svg_root = $mol_svg_root;
4937
- })($ || ($ = {}));
4938
- //mol/svg/root/-view.tree/root.view.tree.ts
4866
+
4939
4867
  ;
4940
4868
  "use strict";
4941
4869
  var $;
4942
4870
  (function ($) {
4943
4871
  $mol_style_attach("mol/svg/root/root.view.css", "[mol_svg_root] {\n\toverflow: hidden;\n}\n");
4944
4872
  })($ || ($ = {}));
4945
- //mol/svg/root/-css/root.view.css.ts
4873
+
4874
+ ;
4875
+ ($.$mol_svg_path) = class $mol_svg_path extends ($.$mol_svg) {
4876
+ dom_name(){
4877
+ return "path";
4878
+ }
4879
+ attr(){
4880
+ return {...(super.attr()), "d": (this.geometry())};
4881
+ }
4882
+ geometry(){
4883
+ return "";
4884
+ }
4885
+ };
4886
+
4887
+
4946
4888
  ;
4947
4889
  "use strict";
4948
- var $;
4949
- (function ($) {
4950
- class $mol_svg_path extends $mol_svg {
4951
- dom_name() {
4952
- return "path";
4953
- }
4954
- attr() {
4955
- return {
4956
- ...super.attr(),
4957
- d: this.geometry()
4958
- };
4959
- }
4960
- geometry() {
4961
- return "";
4962
- }
4963
- }
4964
- $.$mol_svg_path = $mol_svg_path;
4965
- })($ || ($ = {}));
4966
- //mol/svg/path/-view.tree/path.view.tree.ts
4890
+
4891
+ ;
4892
+ ($.$mol_icon) = class $mol_icon extends ($.$mol_svg_root) {
4893
+ view_box(){
4894
+ return "0 0 24 24";
4895
+ }
4896
+ minimal_width(){
4897
+ return 16;
4898
+ }
4899
+ minimal_height(){
4900
+ return 16;
4901
+ }
4902
+ sub(){
4903
+ return [(this.Path())];
4904
+ }
4905
+ path(){
4906
+ return "";
4907
+ }
4908
+ Path(){
4909
+ const obj = new this.$.$mol_svg_path();
4910
+ (obj.geometry) = () => ((this.path()));
4911
+ return obj;
4912
+ }
4913
+ };
4914
+ ($mol_mem(($.$mol_icon.prototype), "Path"));
4915
+
4916
+
4967
4917
  ;
4968
4918
  "use strict";
4969
- var $;
4970
- (function ($) {
4971
- class $mol_icon extends $mol_svg_root {
4972
- view_box() {
4973
- return "0 0 24 24";
4974
- }
4975
- minimal_width() {
4976
- return 16;
4977
- }
4978
- minimal_height() {
4979
- return 16;
4980
- }
4981
- sub() {
4982
- return [
4983
- this.Path()
4984
- ];
4985
- }
4986
- path() {
4987
- return "";
4988
- }
4989
- Path() {
4990
- const obj = new this.$.$mol_svg_path();
4991
- obj.geometry = () => this.path();
4992
- return obj;
4993
- }
4994
- }
4995
- __decorate([
4996
- $mol_mem
4997
- ], $mol_icon.prototype, "Path", null);
4998
- $.$mol_icon = $mol_icon;
4999
- })($ || ($ = {}));
5000
- //mol/icon/-view.tree/icon.view.tree.ts
4919
+
5001
4920
  ;
5002
4921
  "use strict";
5003
4922
  var $;
5004
4923
  (function ($) {
5005
4924
  $mol_style_attach("mol/icon/icon.view.css", "[mol_icon] {\n\tfill: currentColor;\n\tstroke: none;\n\twidth: 1em;\n\theight: 1.5em;\n\tflex: 0 0 auto;\n\tvertical-align: top;\n\tdisplay: inline-block;\n\tfilter: drop-shadow(0px 1px 1px var(--mol_theme_back));\n\ttransform-origin: center;\n}\n\n[mol_icon_path] {\n\ttransform-origin: center;\n}\n");
5006
4925
  })($ || ($ = {}));
5007
- //mol/icon/-css/icon.view.css.ts
4926
+
4927
+ ;
4928
+ ($.$mol_icon_clipboard) = class $mol_icon_clipboard extends ($.$mol_icon) {
4929
+ path(){
4930
+ return "M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5C3.9,3 3,3.9 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.9 20.1,3 19,3M12,3C12.55,3 13,3.45 13,4C13,4.55 12.55,5 12,5C11.45,5 11,4.55 11,4C11,3.45 11.45,3 12,3";
4931
+ }
4932
+ };
4933
+
4934
+
5008
4935
  ;
5009
4936
  "use strict";
5010
- var $;
5011
- (function ($) {
5012
- class $mol_icon_clipboard extends $mol_icon {
5013
- path() {
5014
- return "M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5C3.9,3 3,3.9 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.9 20.1,3 19,3M12,3C12.55,3 13,3.45 13,4C13,4.55 12.55,5 12,5C11.45,5 11,4.55 11,4C11,3.45 11.45,3 12,3";
5015
- }
5016
- }
5017
- $.$mol_icon_clipboard = $mol_icon_clipboard;
5018
- })($ || ($ = {}));
5019
- //mol/icon/clipboard/-view.tree/clipboard.view.tree.ts
4937
+
4938
+ ;
4939
+ ($.$mol_icon_clipboard_outline) = class $mol_icon_clipboard_outline extends ($.$mol_icon) {
4940
+ path(){
4941
+ return "M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5C3.9,3 3,3.9 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.9 20.1,3 19,3M12,3C12.55,3 13,3.45 13,4C13,4.55 12.55,5 12,5C11.45,5 11,4.55 11,4C11,3.45 11.45,3 12,3M7,7H17V5H19V19H5V5H7V7Z";
4942
+ }
4943
+ };
4944
+
4945
+
5020
4946
  ;
5021
4947
  "use strict";
5022
- var $;
5023
- (function ($) {
5024
- class $mol_icon_clipboard_outline extends $mol_icon {
5025
- path() {
5026
- return "M19,3H14.82C14.4,1.84 13.3,1 12,1C10.7,1 9.6,1.84 9.18,3H5C3.9,3 3,3.9 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.9 20.1,3 19,3M12,3C12.55,3 13,3.45 13,4C13,4.55 12.55,5 12,5C11.45,5 11,4.55 11,4C11,3.45 11.45,3 12,3M7,7H17V5H19V19H5V5H7V7Z";
5027
- }
5028
- }
5029
- $.$mol_icon_clipboard_outline = $mol_icon_clipboard_outline;
5030
- })($ || ($ = {}));
5031
- //mol/icon/clipboard/outline/-view.tree/outline.view.tree.ts
4948
+
4949
+ ;
4950
+ ($.$mol_button_copy) = class $mol_button_copy extends ($.$mol_button_minor) {
4951
+ blobs(){
4952
+ return [(this.text_blob()), (this.html_blob())];
4953
+ }
4954
+ data(){
4955
+ return {};
4956
+ }
4957
+ sub(){
4958
+ return [(this.Icon()), (this.title())];
4959
+ }
4960
+ text(){
4961
+ return (this.title());
4962
+ }
4963
+ text_blob(next){
4964
+ if(next !== undefined) return next;
4965
+ const obj = new this.$.$mol_blob([(this.text())], {"type": "text/plain"});
4966
+ return obj;
4967
+ }
4968
+ html(){
4969
+ return "";
4970
+ }
4971
+ html_blob(next){
4972
+ if(next !== undefined) return next;
4973
+ const obj = new this.$.$mol_blob([(this.html())], {"type": "text/html"});
4974
+ return obj;
4975
+ }
4976
+ Icon(){
4977
+ const obj = new this.$.$mol_icon_clipboard_outline();
4978
+ return obj;
4979
+ }
4980
+ title(){
4981
+ return "";
4982
+ }
4983
+ };
4984
+ ($mol_mem(($.$mol_button_copy.prototype), "text_blob"));
4985
+ ($mol_mem(($.$mol_button_copy.prototype), "html_blob"));
4986
+ ($mol_mem(($.$mol_button_copy.prototype), "Icon"));
4987
+
4988
+
5032
4989
  ;
5033
4990
  "use strict";
5034
- var $;
5035
- (function ($) {
5036
- class $mol_button_copy extends $mol_button_minor {
5037
- blobs() {
5038
- return [
5039
- this.text_blob(),
5040
- this.html_blob()
5041
- ];
5042
- }
5043
- data() {
5044
- return {};
5045
- }
5046
- sub() {
5047
- return [
5048
- this.Icon(),
5049
- this.title()
5050
- ];
5051
- }
5052
- text() {
5053
- return this.title();
5054
- }
5055
- text_blob(next) {
5056
- if (next !== undefined)
5057
- return next;
5058
- const obj = new this.$.$mol_blob([
5059
- this.text()
5060
- ], {
5061
- type: "text/plain"
5062
- });
5063
- return obj;
5064
- }
5065
- html() {
5066
- return "";
5067
- }
5068
- html_blob(next) {
5069
- if (next !== undefined)
5070
- return next;
5071
- const obj = new this.$.$mol_blob([
5072
- this.html()
5073
- ], {
5074
- type: "text/html"
5075
- });
5076
- return obj;
5077
- }
5078
- Icon() {
5079
- const obj = new this.$.$mol_icon_clipboard_outline();
5080
- return obj;
5081
- }
5082
- title() {
5083
- return "";
5084
- }
5085
- }
5086
- __decorate([
5087
- $mol_mem
5088
- ], $mol_button_copy.prototype, "text_blob", null);
5089
- __decorate([
5090
- $mol_mem
5091
- ], $mol_button_copy.prototype, "html_blob", null);
5092
- __decorate([
5093
- $mol_mem
5094
- ], $mol_button_copy.prototype, "Icon", null);
5095
- $.$mol_button_copy = $mol_button_copy;
5096
- })($ || ($ = {}));
5097
- //mol/button/copy/-view.tree/copy.view.tree.ts
4991
+
5098
4992
  ;
5099
4993
  "use strict";
5100
4994
  var $;
@@ -5110,7 +5004,7 @@ var $;
5110
5004
  }
5111
5005
  $.$mol_html_encode = $mol_html_encode;
5112
5006
  })($ || ($ = {}));
5113
- //mol/html/encode/encode.ts
5007
+
5114
5008
  ;
5115
5009
  "use strict";
5116
5010
  var $;
@@ -5136,7 +5030,7 @@ var $;
5136
5030
  }
5137
5031
  $.$mol_wire_sync = $mol_wire_sync;
5138
5032
  })($ || ($ = {}));
5139
- //mol/wire/sync/sync.ts
5033
+
5140
5034
  ;
5141
5035
  "use strict";
5142
5036
  var $;
@@ -5171,14 +5065,14 @@ var $;
5171
5065
  $$.$mol_button_copy = $mol_button_copy;
5172
5066
  })($$ = $.$$ || ($.$$ = {}));
5173
5067
  })($ || ($ = {}));
5174
- //mol/button/copy/copy.view.ts
5068
+
5175
5069
  ;
5176
5070
  "use strict";
5177
5071
  var $;
5178
5072
  (function ($) {
5179
5073
  $.$mol_mem_persist = $mol_wire_solid;
5180
5074
  })($ || ($ = {}));
5181
- //mol/mem/persist/persist.ts
5075
+
5182
5076
  ;
5183
5077
  "use strict";
5184
5078
  var $;
@@ -5223,7 +5117,7 @@ var $;
5223
5117
  ], $mol_storage, "persisted", null);
5224
5118
  $.$mol_storage = $mol_storage;
5225
5119
  })($ || ($ = {}));
5226
- //mol/storage/storage.ts
5120
+
5227
5121
  ;
5228
5122
  "use strict";
5229
5123
  var $;
@@ -5283,10 +5177,10 @@ var $;
5283
5177
  ], $mol_state_local, "value", null);
5284
5178
  $.$mol_state_local = $mol_state_local;
5285
5179
  })($ || ($ = {}));
5286
- //mol/state/local/local.ts
5180
+
5287
5181
  ;
5288
5182
  "use strict";
5289
- //mol/charset/encoding/encoding.ts
5183
+
5290
5184
  ;
5291
5185
  "use strict";
5292
5186
  var $;
@@ -5300,7 +5194,7 @@ var $;
5300
5194
  }
5301
5195
  $.$mol_charset_decode = $mol_charset_decode;
5302
5196
  })($ || ($ = {}));
5303
- //mol/charset/decode/decode.ts
5197
+
5304
5198
  ;
5305
5199
  "use strict";
5306
5200
  var $;
@@ -5312,7 +5206,7 @@ var $;
5312
5206
  }
5313
5207
  $.$mol_charset_encode = $mol_charset_encode;
5314
5208
  })($ || ($ = {}));
5315
- //mol/charset/encode/encode.ts
5209
+
5316
5210
  ;
5317
5211
  "use strict";
5318
5212
  var $;
@@ -5431,7 +5325,7 @@ var $;
5431
5325
  ], $mol_file, "absolute", null);
5432
5326
  $.$mol_file = $mol_file;
5433
5327
  })($ || ($ = {}));
5434
- //mol/file/file.ts
5328
+
5435
5329
  ;
5436
5330
  "use strict";
5437
5331
  var $;
@@ -5450,7 +5344,7 @@ var $;
5450
5344
  }
5451
5345
  $.$mol_compare_array = $mol_compare_array;
5452
5346
  })($ || ($ = {}));
5453
- //mol/compare/array/array.ts
5347
+
5454
5348
  ;
5455
5349
  "use strict";
5456
5350
  var $;
@@ -5637,7 +5531,7 @@ var $;
5637
5531
  $.$mol_file_node = $mol_file_node;
5638
5532
  $.$mol_file = $mol_file_node;
5639
5533
  })($ || ($ = {}));
5640
- //mol/file/file.node.ts
5534
+
5641
5535
  ;
5642
5536
  "use strict";
5643
5537
  var $;
@@ -5703,100 +5597,85 @@ var $;
5703
5597
  ], $mol_locale, "warn", null);
5704
5598
  $.$mol_locale = $mol_locale;
5705
5599
  })($ || ($ = {}));
5706
- //mol/locale/locale.ts
5600
+
5601
+ ;
5602
+ ($.$mol_text_code) = class $mol_text_code extends ($.$mol_stack) {
5603
+ attr(){
5604
+ return {...(super.attr()), "mol_text_code_sidebar_showed": (this.sidebar_showed())};
5605
+ }
5606
+ text(){
5607
+ return "";
5608
+ }
5609
+ text_lines(){
5610
+ return [];
5611
+ }
5612
+ find_pos(id){
5613
+ return null;
5614
+ }
5615
+ uri_base(){
5616
+ return "";
5617
+ }
5618
+ sub(){
5619
+ return [(this.Rows()), (this.Copy())];
5620
+ }
5621
+ sidebar_showed(){
5622
+ return false;
5623
+ }
5624
+ render_visible_only(){
5625
+ return false;
5626
+ }
5627
+ row_numb(id){
5628
+ return 0;
5629
+ }
5630
+ row_text(id){
5631
+ return "";
5632
+ }
5633
+ syntax(){
5634
+ return null;
5635
+ }
5636
+ uri_resolve(id){
5637
+ return "";
5638
+ }
5639
+ highlight(){
5640
+ return "";
5641
+ }
5642
+ Row(id){
5643
+ const obj = new this.$.$mol_text_code_row();
5644
+ (obj.numb_showed) = () => ((this.sidebar_showed()));
5645
+ (obj.numb) = () => ((this.row_numb(id)));
5646
+ (obj.text) = () => ((this.row_text(id)));
5647
+ (obj.syntax) = () => ((this.syntax()));
5648
+ (obj.uri_resolve) = (id) => ((this.uri_resolve(id)));
5649
+ (obj.highlight) = () => ((this.highlight()));
5650
+ return obj;
5651
+ }
5652
+ rows(){
5653
+ return [(this.Row("0"))];
5654
+ }
5655
+ Rows(){
5656
+ const obj = new this.$.$mol_list();
5657
+ (obj.render_visible_only) = () => ((this.render_visible_only()));
5658
+ (obj.rows) = () => ((this.rows()));
5659
+ return obj;
5660
+ }
5661
+ text_export(){
5662
+ return "";
5663
+ }
5664
+ Copy(){
5665
+ const obj = new this.$.$mol_button_copy();
5666
+ (obj.hint) = () => (this.$.$mol_locale.text("$mol_text_code_Copy_hint"));
5667
+ (obj.text) = () => ((this.text_export()));
5668
+ return obj;
5669
+ }
5670
+ };
5671
+ ($mol_mem_key(($.$mol_text_code.prototype), "Row"));
5672
+ ($mol_mem(($.$mol_text_code.prototype), "Rows"));
5673
+ ($mol_mem(($.$mol_text_code.prototype), "Copy"));
5674
+
5675
+
5707
5676
  ;
5708
5677
  "use strict";
5709
- var $;
5710
- (function ($) {
5711
- class $mol_text_code extends $mol_stack {
5712
- attr() {
5713
- return {
5714
- ...super.attr(),
5715
- mol_text_code_sidebar_showed: this.sidebar_showed()
5716
- };
5717
- }
5718
- text() {
5719
- return "";
5720
- }
5721
- text_lines() {
5722
- return [];
5723
- }
5724
- find_pos(id) {
5725
- return null;
5726
- }
5727
- uri_base() {
5728
- return "";
5729
- }
5730
- sub() {
5731
- return [
5732
- this.Rows(),
5733
- this.Copy()
5734
- ];
5735
- }
5736
- sidebar_showed() {
5737
- return false;
5738
- }
5739
- render_visible_only() {
5740
- return false;
5741
- }
5742
- row_numb(id) {
5743
- return 0;
5744
- }
5745
- row_text(id) {
5746
- return "";
5747
- }
5748
- syntax() {
5749
- return null;
5750
- }
5751
- uri_resolve(id) {
5752
- return "";
5753
- }
5754
- highlight() {
5755
- return "";
5756
- }
5757
- Row(id) {
5758
- const obj = new this.$.$mol_text_code_row();
5759
- obj.numb_showed = () => this.sidebar_showed();
5760
- obj.numb = () => this.row_numb(id);
5761
- obj.text = () => this.row_text(id);
5762
- obj.syntax = () => this.syntax();
5763
- obj.uri_resolve = (id) => this.uri_resolve(id);
5764
- obj.highlight = () => this.highlight();
5765
- return obj;
5766
- }
5767
- rows() {
5768
- return [
5769
- this.Row("0")
5770
- ];
5771
- }
5772
- Rows() {
5773
- const obj = new this.$.$mol_list();
5774
- obj.render_visible_only = () => this.render_visible_only();
5775
- obj.rows = () => this.rows();
5776
- return obj;
5777
- }
5778
- text_export() {
5779
- return "";
5780
- }
5781
- Copy() {
5782
- const obj = new this.$.$mol_button_copy();
5783
- obj.hint = () => this.$.$mol_locale.text('$mol_text_code_Copy_hint');
5784
- obj.text = () => this.text_export();
5785
- return obj;
5786
- }
5787
- }
5788
- __decorate([
5789
- $mol_mem_key
5790
- ], $mol_text_code.prototype, "Row", null);
5791
- __decorate([
5792
- $mol_mem
5793
- ], $mol_text_code.prototype, "Rows", null);
5794
- __decorate([
5795
- $mol_mem
5796
- ], $mol_text_code.prototype, "Copy", null);
5797
- $.$mol_text_code = $mol_text_code;
5798
- })($ || ($ = {}));
5799
- //mol/text/code/-view.tree/code.view.tree.ts
5678
+
5800
5679
  ;
5801
5680
  "use strict";
5802
5681
  var $;
@@ -5879,7 +5758,7 @@ var $;
5879
5758
  $$.$mol_text_code = $mol_text_code;
5880
5759
  })($$ = $.$$ || ($.$$ = {}));
5881
5760
  })($ || ($ = {}));
5882
- //mol/text/code/code.view.ts
5761
+
5883
5762
  ;
5884
5763
  "use strict";
5885
5764
  var $;
@@ -5918,65 +5797,52 @@ var $;
5918
5797
  });
5919
5798
  })($$ = $.$$ || ($.$$ = {}));
5920
5799
  })($ || ($ = {}));
5921
- //mol/text/code/code.view.css.ts
5800
+
5801
+ ;
5802
+ ($.$mol_check) = class $mol_check extends ($.$mol_button_minor) {
5803
+ attr(){
5804
+ return {
5805
+ ...(super.attr()),
5806
+ "mol_check_checked": (this.checked()),
5807
+ "aria-checked": (this.aria_checked()),
5808
+ "role": (this.aria_role())
5809
+ };
5810
+ }
5811
+ sub(){
5812
+ return [(this.Icon()), (this.label())];
5813
+ }
5814
+ checked(next){
5815
+ if(next !== undefined) return next;
5816
+ return false;
5817
+ }
5818
+ aria_checked(){
5819
+ return "false";
5820
+ }
5821
+ aria_role(){
5822
+ return "checkbox";
5823
+ }
5824
+ Icon(){
5825
+ return null;
5826
+ }
5827
+ title(){
5828
+ return "";
5829
+ }
5830
+ Title(){
5831
+ const obj = new this.$.$mol_view();
5832
+ (obj.sub) = () => ([(this.title())]);
5833
+ return obj;
5834
+ }
5835
+ label(){
5836
+ return [(this.Title())];
5837
+ }
5838
+ };
5839
+ ($mol_mem(($.$mol_check.prototype), "checked"));
5840
+ ($mol_mem(($.$mol_check.prototype), "Title"));
5841
+
5842
+
5922
5843
  ;
5923
5844
  "use strict";
5924
- var $;
5925
- (function ($) {
5926
- class $mol_check extends $mol_button_minor {
5927
- attr() {
5928
- return {
5929
- ...super.attr(),
5930
- mol_check_checked: this.checked(),
5931
- "aria-checked": this.aria_checked(),
5932
- role: this.aria_role()
5933
- };
5934
- }
5935
- sub() {
5936
- return [
5937
- this.Icon(),
5938
- this.label()
5939
- ];
5940
- }
5941
- checked(next) {
5942
- if (next !== undefined)
5943
- return next;
5944
- return false;
5945
- }
5946
- aria_checked() {
5947
- return "false";
5948
- }
5949
- aria_role() {
5950
- return "checkbox";
5951
- }
5952
- Icon() {
5953
- return null;
5954
- }
5955
- title() {
5956
- return "";
5957
- }
5958
- Title() {
5959
- const obj = new this.$.$mol_view();
5960
- obj.sub = () => [
5961
- this.title()
5962
- ];
5963
- return obj;
5964
- }
5965
- label() {
5966
- return [
5967
- this.Title()
5968
- ];
5969
- }
5970
- }
5971
- __decorate([
5972
- $mol_mem
5973
- ], $mol_check.prototype, "checked", null);
5974
- __decorate([
5975
- $mol_mem
5976
- ], $mol_check.prototype, "Title", null);
5977
- $.$mol_check = $mol_check;
5978
- })($ || ($ = {}));
5979
- //mol/check/-view.tree/check.view.tree.ts
5845
+
5980
5846
  ;
5981
5847
  "use strict";
5982
5848
  var $;
@@ -5986,14 +5852,14 @@ var $;
5986
5852
  }
5987
5853
  $.$mol_maybe = $mol_maybe;
5988
5854
  })($ || ($ = {}));
5989
- //mol/maybe/maybe.ts
5855
+
5990
5856
  ;
5991
5857
  "use strict";
5992
5858
  var $;
5993
5859
  (function ($) {
5994
5860
  $mol_style_attach("mol/check/check.css", "[mol_check] {\n\tflex: 0 0 auto;\n\tjustify-content: flex-start;\n\talign-content: center;\n\t/* align-items: flex-start; */\n\tborder: none;\n\tfont-weight: inherit;\n\tbox-shadow: none;\n\ttext-align: left;\n\tdisplay: inline-flex;\n\tflex-wrap: nowrap;\n}\n\n[mol_check_title] {\n\tflex-shrink: 1;\n}\n");
5995
5861
  })($ || ($ = {}));
5996
- //mol/check/-css/check.css.ts
5862
+
5997
5863
  ;
5998
5864
  "use strict";
5999
5865
  var $;
@@ -6024,64 +5890,54 @@ var $;
6024
5890
  $$.$mol_check = $mol_check;
6025
5891
  })($$ = $.$$ || ($.$$ = {}));
6026
5892
  })($ || ($ = {}));
6027
- //mol/check/check.view.ts
5893
+
5894
+ ;
5895
+ ($.$mol_icon_chevron) = class $mol_icon_chevron extends ($.$mol_icon) {
5896
+ path(){
5897
+ return "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z";
5898
+ }
5899
+ };
5900
+
5901
+
6028
5902
  ;
6029
5903
  "use strict";
6030
- var $;
6031
- (function ($) {
6032
- class $mol_icon_chevron extends $mol_icon {
6033
- path() {
6034
- return "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z";
6035
- }
6036
- }
6037
- $.$mol_icon_chevron = $mol_icon_chevron;
6038
- })($ || ($ = {}));
6039
- //mol/icon/chevron/-view.tree/chevron.view.tree.ts
5904
+
5905
+ ;
5906
+ ($.$mol_check_expand) = class $mol_check_expand extends ($.$mol_check) {
5907
+ Icon(){
5908
+ const obj = new this.$.$mol_icon_chevron();
5909
+ return obj;
5910
+ }
5911
+ level(){
5912
+ return 0;
5913
+ }
5914
+ style(){
5915
+ return {...(super.style()), "paddingLeft": (this.level_style())};
5916
+ }
5917
+ checked(next){
5918
+ return (this.expanded(next));
5919
+ }
5920
+ enabled(){
5921
+ return (this.expandable());
5922
+ }
5923
+ level_style(){
5924
+ return "0px";
5925
+ }
5926
+ expanded(next){
5927
+ if(next !== undefined) return next;
5928
+ return false;
5929
+ }
5930
+ expandable(){
5931
+ return false;
5932
+ }
5933
+ };
5934
+ ($mol_mem(($.$mol_check_expand.prototype), "Icon"));
5935
+ ($mol_mem(($.$mol_check_expand.prototype), "expanded"));
5936
+
5937
+
6040
5938
  ;
6041
5939
  "use strict";
6042
- var $;
6043
- (function ($) {
6044
- class $mol_check_expand extends $mol_check {
6045
- Icon() {
6046
- const obj = new this.$.$mol_icon_chevron();
6047
- return obj;
6048
- }
6049
- level() {
6050
- return 0;
6051
- }
6052
- style() {
6053
- return {
6054
- ...super.style(),
6055
- paddingLeft: this.level_style()
6056
- };
6057
- }
6058
- checked(next) {
6059
- return this.expanded(next);
6060
- }
6061
- enabled() {
6062
- return this.expandable();
6063
- }
6064
- level_style() {
6065
- return "0px";
6066
- }
6067
- expanded(next) {
6068
- if (next !== undefined)
6069
- return next;
6070
- return false;
6071
- }
6072
- expandable() {
6073
- return false;
6074
- }
6075
- }
6076
- __decorate([
6077
- $mol_mem
6078
- ], $mol_check_expand.prototype, "Icon", null);
6079
- __decorate([
6080
- $mol_mem
6081
- ], $mol_check_expand.prototype, "expanded", null);
6082
- $.$mol_check_expand = $mol_check_expand;
6083
- })($ || ($ = {}));
6084
- //mol/check/expand/-view.tree/expand.view.tree.ts
5940
+
6085
5941
  ;
6086
5942
  "use strict";
6087
5943
  var $;
@@ -6099,331 +5955,268 @@ var $;
6099
5955
  $$.$mol_check_expand = $mol_check_expand;
6100
5956
  })($$ = $.$$ || ($.$$ = {}));
6101
5957
  })($ || ($ = {}));
6102
- //mol/check/expand/expand.view.ts
5958
+
6103
5959
  ;
6104
5960
  "use strict";
6105
5961
  var $;
6106
5962
  (function ($) {
6107
5963
  $mol_style_attach("mol/check/expand/expand.view.css", "[mol_check_expand] {\n\tmin-width: 20px;\n}\n\n:where([mol_check_expand][disabled]) [mol_check_expand_icon] {\n\tvisibility: hidden;\n}\n\n[mol_check_expand_icon] {\n\tbox-shadow: none;\n}\n[mol_check_expand_icon] {\n\ttransform: rotateZ(0deg);\n}\n\n:where([mol_check_checked]) [mol_check_expand_icon] {\n\ttransform: rotateZ(90deg);\n}\n\n[mol_check_expand_icon] {\n\tvertical-align: text-top;\n}\n\n[mol_check_expand_label] {\n\tmargin-left: 0;\n}\n");
6108
5964
  })($ || ($ = {}));
6109
- //mol/check/expand/-css/expand.view.css.ts
5965
+
5966
+ ;
5967
+ ($.$mol_expander) = class $mol_expander extends ($.$mol_list) {
5968
+ rows(){
5969
+ return [(this.Label()), (this.Content())];
5970
+ }
5971
+ expanded(next){
5972
+ if(next !== undefined) return next;
5973
+ return false;
5974
+ }
5975
+ expandable(){
5976
+ return true;
5977
+ }
5978
+ label(){
5979
+ return [(this.title())];
5980
+ }
5981
+ Trigger(){
5982
+ const obj = new this.$.$mol_check_expand();
5983
+ (obj.checked) = (next) => ((this.expanded(next)));
5984
+ (obj.expandable) = () => ((this.expandable()));
5985
+ (obj.label) = () => ((this.label()));
5986
+ return obj;
5987
+ }
5988
+ Tools(){
5989
+ return null;
5990
+ }
5991
+ Label(){
5992
+ const obj = new this.$.$mol_view();
5993
+ (obj.sub) = () => ([(this.Trigger()), (this.Tools())]);
5994
+ return obj;
5995
+ }
5996
+ content(){
5997
+ return [];
5998
+ }
5999
+ Content(){
6000
+ const obj = new this.$.$mol_list();
6001
+ (obj.rows) = () => ((this.content()));
6002
+ return obj;
6003
+ }
6004
+ };
6005
+ ($mol_mem(($.$mol_expander.prototype), "expanded"));
6006
+ ($mol_mem(($.$mol_expander.prototype), "Trigger"));
6007
+ ($mol_mem(($.$mol_expander.prototype), "Label"));
6008
+ ($mol_mem(($.$mol_expander.prototype), "Content"));
6009
+
6010
+
6110
6011
  ;
6111
6012
  "use strict";
6112
- var $;
6113
- (function ($) {
6114
- class $mol_dump_list extends $mol_view {
6115
- values() {
6116
- return [];
6117
- }
6118
- sub() {
6119
- return [
6120
- this.Dump("0")
6121
- ];
6122
- }
6123
- dump_value(id) {
6124
- return null;
6125
- }
6126
- dump_expanded(id, next) {
6127
- if (next !== undefined)
6128
- return next;
6129
- return false;
6130
- }
6131
- prototypes() {
6132
- return false;
6133
- }
6134
- preview_show() {
6135
- return true;
6136
- }
6137
- Dump(id) {
6138
- const obj = new this.$.$mol_dump_value();
6139
- obj.value = () => this.dump_value(id);
6140
- obj.expanded = (next) => this.dump_expanded(id, next);
6141
- obj.prototypes = () => this.prototypes();
6142
- obj.preview_show = () => this.preview_show();
6143
- return obj;
6144
- }
6145
- }
6146
- __decorate([
6147
- $mol_mem_key
6148
- ], $mol_dump_list.prototype, "dump_expanded", null);
6149
- __decorate([
6150
- $mol_mem_key
6151
- ], $mol_dump_list.prototype, "Dump", null);
6152
- $.$mol_dump_list = $mol_dump_list;
6153
- })($ || ($ = {}));
6154
- //mol/dump/list/-view.tree/list.view.tree.ts
6013
+
6155
6014
  ;
6156
6015
  "use strict";
6157
6016
  var $;
6158
6017
  (function ($) {
6159
6018
  var $$;
6160
6019
  (function ($$) {
6161
- class $mol_dump_list extends $.$mol_dump_list {
6162
- sub() {
6163
- return this.values().map((_, index) => this.Dump(index));
6164
- }
6165
- dump_value(index) {
6166
- return this.values()[index];
6020
+ class $mol_expander extends $.$mol_expander {
6021
+ rows() {
6022
+ return [
6023
+ this.Label(),
6024
+ ...this.expanded() ? [this.Content()] : []
6025
+ ];
6167
6026
  }
6168
- expand_all(event) {
6169
- this.Dump(1).expanded(true);
6027
+ expandable() {
6028
+ return this.content().length > 0;
6170
6029
  }
6171
6030
  }
6172
6031
  __decorate([
6173
6032
  $mol_mem
6174
- ], $mol_dump_list.prototype, "sub", null);
6175
- $$.$mol_dump_list = $mol_dump_list;
6033
+ ], $mol_expander.prototype, "rows", null);
6034
+ $$.$mol_expander = $mol_expander;
6176
6035
  })($$ = $.$$ || ($.$$ = {}));
6177
6036
  })($ || ($ = {}));
6178
- //mol/dump/list/list.view.ts
6037
+
6179
6038
  ;
6180
6039
  "use strict";
6181
6040
  var $;
6182
6041
  (function ($) {
6183
- $mol_style_attach("mol/dump/list/list.view.css", "[mol_dump_list] {\n\talign-items: flex-start;\n\tgap: var(--mol_gap_space);\n}\n\n[mol_dump_list_dump]:first-child {\n\tposition: sticky;\n\ttop: 0;\n}\n");
6042
+ $mol_style_attach("mol/expander/expander.view.css", "[mol_expander] {\n\tflex-direction: column;\n}\n\n[mol_expander_label] {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_expander_trigger] {\n\tflex: auto;\n\tposition: relative;\n}\n");
6184
6043
  })($ || ($ = {}));
6185
- //mol/dump/list/-css/list.view.css.ts
6044
+
6045
+ ;
6046
+ ($.$mol_dump_value) = class $mol_dump_value extends ($.$mol_view) {
6047
+ value(next){
6048
+ if(next !== undefined) return next;
6049
+ return null;
6050
+ }
6051
+ preview_show(next){
6052
+ if(next !== undefined) return next;
6053
+ return true;
6054
+ }
6055
+ sub(){
6056
+ return [(this.Simple()), (this.Expand())];
6057
+ }
6058
+ simple(){
6059
+ return "";
6060
+ }
6061
+ Simple(){
6062
+ const obj = new this.$.$mol_text_code();
6063
+ (obj.text) = () => ((this.simple()));
6064
+ return obj;
6065
+ }
6066
+ expanded(next){
6067
+ if(next !== undefined) return next;
6068
+ return false;
6069
+ }
6070
+ expandable(){
6071
+ return true;
6072
+ }
6073
+ expand_all(next){
6074
+ if(next !== undefined) return next;
6075
+ return null;
6076
+ }
6077
+ expand_title(){
6078
+ return "";
6079
+ }
6080
+ Expand_title(){
6081
+ const obj = new this.$.$mol_text_code();
6082
+ (obj.text) = () => ((this.expand_title()));
6083
+ return obj;
6084
+ }
6085
+ Expand_head(){
6086
+ const obj = new this.$.$mol_check_expand();
6087
+ (obj.minimal_height) = () => (24);
6088
+ (obj.minimal_width) = () => (24);
6089
+ (obj.expanded) = (next) => ((this.expanded(next)));
6090
+ (obj.expandable) = () => ((this.expandable()));
6091
+ (obj.clicks) = (next) => ((this.expand_all(next)));
6092
+ (obj.label) = () => ([(this.Expand_title())]);
6093
+ return obj;
6094
+ }
6095
+ preview_dom(){
6096
+ return null;
6097
+ }
6098
+ preview(){
6099
+ return null;
6100
+ }
6101
+ Preview_dom(){
6102
+ const obj = new this.$.$mol_view();
6103
+ (obj.dom_node) = () => ((this.preview_dom()));
6104
+ (obj.render) = () => ((this.preview()));
6105
+ return obj;
6106
+ }
6107
+ Preview(){
6108
+ const obj = new this.$.$mol_view();
6109
+ (obj.sub) = () => ([(this.Preview_dom())]);
6110
+ return obj;
6111
+ }
6112
+ row_values(id){
6113
+ return [];
6114
+ }
6115
+ prototypes(){
6116
+ return false;
6117
+ }
6118
+ Row(id){
6119
+ const obj = new this.$.$mol_dump_list();
6120
+ (obj.values) = () => ((this.row_values(id)));
6121
+ (obj.prototypes) = () => ((this.prototypes()));
6122
+ (obj.preview_show) = () => ((this.preview_show()));
6123
+ return obj;
6124
+ }
6125
+ expand_content(){
6126
+ return [(this.Preview()), (this.Row("0"))];
6127
+ }
6128
+ Expand(){
6129
+ const obj = new this.$.$mol_expander();
6130
+ (obj.expanded) = (next) => ((this.expanded(next)));
6131
+ (obj.Trigger) = () => ((this.Expand_head()));
6132
+ (obj.content) = () => ((this.expand_content()));
6133
+ return obj;
6134
+ }
6135
+ };
6136
+ ($mol_mem(($.$mol_dump_value.prototype), "value"));
6137
+ ($mol_mem(($.$mol_dump_value.prototype), "preview_show"));
6138
+ ($mol_mem(($.$mol_dump_value.prototype), "Simple"));
6139
+ ($mol_mem(($.$mol_dump_value.prototype), "expanded"));
6140
+ ($mol_mem(($.$mol_dump_value.prototype), "expand_all"));
6141
+ ($mol_mem(($.$mol_dump_value.prototype), "Expand_title"));
6142
+ ($mol_mem(($.$mol_dump_value.prototype), "Expand_head"));
6143
+ ($mol_mem(($.$mol_dump_value.prototype), "Preview_dom"));
6144
+ ($mol_mem(($.$mol_dump_value.prototype), "Preview"));
6145
+ ($mol_mem_key(($.$mol_dump_value.prototype), "Row"));
6146
+ ($mol_mem(($.$mol_dump_value.prototype), "Expand"));
6147
+
6148
+
6149
+ ;
6150
+ ($.$mol_dump_list) = class $mol_dump_list extends ($.$mol_view) {
6151
+ values(){
6152
+ return [];
6153
+ }
6154
+ sub(){
6155
+ return [(this.Dump("0"))];
6156
+ }
6157
+ dump_value(id){
6158
+ return null;
6159
+ }
6160
+ dump_expanded(id, next){
6161
+ if(next !== undefined) return next;
6162
+ return false;
6163
+ }
6164
+ prototypes(){
6165
+ return false;
6166
+ }
6167
+ preview_show(){
6168
+ return true;
6169
+ }
6170
+ Dump(id){
6171
+ const obj = new this.$.$mol_dump_value();
6172
+ (obj.value) = () => ((this.dump_value(id)));
6173
+ (obj.expanded) = (next) => ((this.dump_expanded(id, next)));
6174
+ (obj.prototypes) = () => ((this.prototypes()));
6175
+ (obj.preview_show) = () => ((this.preview_show()));
6176
+ return obj;
6177
+ }
6178
+ };
6179
+ ($mol_mem_key(($.$mol_dump_list.prototype), "dump_expanded"));
6180
+ ($mol_mem_key(($.$mol_dump_list.prototype), "Dump"));
6181
+
6182
+
6186
6183
  ;
6187
6184
  "use strict";
6188
- var $;
6189
- (function ($) {
6190
- class $mol_expander extends $mol_list {
6191
- rows() {
6192
- return [
6193
- this.Label(),
6194
- this.Content()
6195
- ];
6196
- }
6197
- expanded(next) {
6198
- if (next !== undefined)
6199
- return next;
6200
- return false;
6201
- }
6202
- expandable() {
6203
- return true;
6204
- }
6205
- label() {
6206
- return [
6207
- this.title()
6208
- ];
6209
- }
6210
- Trigger() {
6211
- const obj = new this.$.$mol_check_expand();
6212
- obj.checked = (next) => this.expanded(next);
6213
- obj.expandable = () => this.expandable();
6214
- obj.label = () => this.label();
6215
- return obj;
6216
- }
6217
- Tools() {
6218
- return null;
6219
- }
6220
- Label() {
6221
- const obj = new this.$.$mol_view();
6222
- obj.sub = () => [
6223
- this.Trigger(),
6224
- this.Tools()
6225
- ];
6226
- return obj;
6227
- }
6228
- content() {
6229
- return [];
6230
- }
6231
- Content() {
6232
- const obj = new this.$.$mol_list();
6233
- obj.rows = () => this.content();
6234
- return obj;
6235
- }
6236
- }
6237
- __decorate([
6238
- $mol_mem
6239
- ], $mol_expander.prototype, "expanded", null);
6240
- __decorate([
6241
- $mol_mem
6242
- ], $mol_expander.prototype, "Trigger", null);
6243
- __decorate([
6244
- $mol_mem
6245
- ], $mol_expander.prototype, "Label", null);
6246
- __decorate([
6247
- $mol_mem
6248
- ], $mol_expander.prototype, "Content", null);
6249
- $.$mol_expander = $mol_expander;
6250
- })($ || ($ = {}));
6251
- //mol/expander/-view.tree/expander.view.tree.ts
6185
+
6252
6186
  ;
6253
6187
  "use strict";
6254
6188
  var $;
6255
6189
  (function ($) {
6256
6190
  var $$;
6257
6191
  (function ($$) {
6258
- class $mol_expander extends $.$mol_expander {
6259
- rows() {
6260
- return [
6261
- this.Label(),
6262
- ...this.expanded() ? [this.Content()] : []
6263
- ];
6192
+ class $mol_dump_list extends $.$mol_dump_list {
6193
+ sub() {
6194
+ return this.values().map((_, index) => this.Dump(index));
6264
6195
  }
6265
- expandable() {
6266
- return this.content().length > 0;
6196
+ dump_value(index) {
6197
+ return this.values()[index];
6198
+ }
6199
+ expand_all(event) {
6200
+ this.Dump(1).expanded(true);
6267
6201
  }
6268
6202
  }
6269
6203
  __decorate([
6270
6204
  $mol_mem
6271
- ], $mol_expander.prototype, "rows", null);
6272
- $$.$mol_expander = $mol_expander;
6205
+ ], $mol_dump_list.prototype, "sub", null);
6206
+ $$.$mol_dump_list = $mol_dump_list;
6273
6207
  })($$ = $.$$ || ($.$$ = {}));
6274
6208
  })($ || ($ = {}));
6275
- //mol/expander/expander.view.ts
6209
+
6276
6210
  ;
6277
6211
  "use strict";
6278
6212
  var $;
6279
6213
  (function ($) {
6280
- $mol_style_attach("mol/expander/expander.view.css", "[mol_expander] {\n\tflex-direction: column;\n}\n\n[mol_expander_label] {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_expander_trigger] {\n\tflex: auto;\n\tposition: relative;\n}\n");
6214
+ $mol_style_attach("mol/dump/list/list.view.css", "[mol_dump_list] {\n\talign-items: flex-start;\n\tgap: var(--mol_gap_space);\n}\n\n[mol_dump_list_dump]:first-child {\n\tposition: sticky;\n\ttop: 0;\n}\n");
6281
6215
  })($ || ($ = {}));
6282
- //mol/expander/-css/expander.view.css.ts
6216
+
6283
6217
  ;
6284
6218
  "use strict";
6285
- var $;
6286
- (function ($) {
6287
- class $mol_dump_value extends $mol_view {
6288
- value(next) {
6289
- if (next !== undefined)
6290
- return next;
6291
- return null;
6292
- }
6293
- preview_show(next) {
6294
- if (next !== undefined)
6295
- return next;
6296
- return true;
6297
- }
6298
- sub() {
6299
- return [
6300
- this.Simple(),
6301
- this.Expand()
6302
- ];
6303
- }
6304
- simple() {
6305
- return "";
6306
- }
6307
- Simple() {
6308
- const obj = new this.$.$mol_text_code();
6309
- obj.text = () => this.simple();
6310
- return obj;
6311
- }
6312
- expanded(next) {
6313
- if (next !== undefined)
6314
- return next;
6315
- return false;
6316
- }
6317
- expandable() {
6318
- return true;
6319
- }
6320
- expand_all(next) {
6321
- if (next !== undefined)
6322
- return next;
6323
- return null;
6324
- }
6325
- expand_title() {
6326
- return "";
6327
- }
6328
- Expand_title() {
6329
- const obj = new this.$.$mol_text_code();
6330
- obj.text = () => this.expand_title();
6331
- return obj;
6332
- }
6333
- Expand_head() {
6334
- const obj = new this.$.$mol_check_expand();
6335
- obj.minimal_height = () => 24;
6336
- obj.minimal_width = () => 24;
6337
- obj.expanded = (next) => this.expanded(next);
6338
- obj.expandable = () => this.expandable();
6339
- obj.clicks = (next) => this.expand_all(next);
6340
- obj.label = () => [
6341
- this.Expand_title()
6342
- ];
6343
- return obj;
6344
- }
6345
- preview_dom() {
6346
- return null;
6347
- }
6348
- preview() {
6349
- return null;
6350
- }
6351
- Preview_dom() {
6352
- const obj = new this.$.$mol_view();
6353
- obj.dom_node = () => this.preview_dom();
6354
- obj.render = () => this.preview();
6355
- return obj;
6356
- }
6357
- Preview() {
6358
- const obj = new this.$.$mol_view();
6359
- obj.sub = () => [
6360
- this.Preview_dom()
6361
- ];
6362
- return obj;
6363
- }
6364
- row_values(id) {
6365
- return [];
6366
- }
6367
- prototypes() {
6368
- return false;
6369
- }
6370
- Row(id) {
6371
- const obj = new this.$.$mol_dump_list();
6372
- obj.values = () => this.row_values(id);
6373
- obj.prototypes = () => this.prototypes();
6374
- obj.preview_show = () => this.preview_show();
6375
- return obj;
6376
- }
6377
- expand_content() {
6378
- return [
6379
- this.Preview(),
6380
- this.Row("0")
6381
- ];
6382
- }
6383
- Expand() {
6384
- const obj = new this.$.$mol_expander();
6385
- obj.expanded = (next) => this.expanded(next);
6386
- obj.Trigger = () => this.Expand_head();
6387
- obj.content = () => this.expand_content();
6388
- return obj;
6389
- }
6390
- }
6391
- __decorate([
6392
- $mol_mem
6393
- ], $mol_dump_value.prototype, "value", null);
6394
- __decorate([
6395
- $mol_mem
6396
- ], $mol_dump_value.prototype, "preview_show", null);
6397
- __decorate([
6398
- $mol_mem
6399
- ], $mol_dump_value.prototype, "Simple", null);
6400
- __decorate([
6401
- $mol_mem
6402
- ], $mol_dump_value.prototype, "expanded", null);
6403
- __decorate([
6404
- $mol_mem
6405
- ], $mol_dump_value.prototype, "expand_all", null);
6406
- __decorate([
6407
- $mol_mem
6408
- ], $mol_dump_value.prototype, "Expand_title", null);
6409
- __decorate([
6410
- $mol_mem
6411
- ], $mol_dump_value.prototype, "Expand_head", null);
6412
- __decorate([
6413
- $mol_mem
6414
- ], $mol_dump_value.prototype, "Preview_dom", null);
6415
- __decorate([
6416
- $mol_mem
6417
- ], $mol_dump_value.prototype, "Preview", null);
6418
- __decorate([
6419
- $mol_mem_key
6420
- ], $mol_dump_value.prototype, "Row", null);
6421
- __decorate([
6422
- $mol_mem
6423
- ], $mol_dump_value.prototype, "Expand", null);
6424
- $.$mol_dump_value = $mol_dump_value;
6425
- })($ || ($ = {}));
6426
- //mol/dump/value/-view.tree/value.view.tree.ts
6219
+
6427
6220
  ;
6428
6221
  "use strict";
6429
6222
  var $;
@@ -6438,7 +6231,7 @@ var $;
6438
6231
  }
6439
6232
  $.$mol_try = $mol_try;
6440
6233
  })($ || ($ = {}));
6441
- //mol/try/try.node.ts
6234
+
6442
6235
  ;
6443
6236
  "use strict";
6444
6237
  var $;
@@ -6596,13 +6389,13 @@ var $;
6596
6389
  $$.$mol_dump_value = $mol_dump_value;
6597
6390
  })($$ = $.$$ || ($.$$ = {}));
6598
6391
  })($ || ($ = {}));
6599
- //mol/dump/value/value.view.ts
6392
+
6600
6393
  ;
6601
6394
  "use strict";
6602
6395
  var $;
6603
6396
  (function ($) {
6604
6397
  $mol_style_attach("mol/dump/value/value.view.css", "[mol_dump_value] {\n\tmin-height: 2.5rem;\n\tmin-width: 2.5rem;\n}\n\n[mol_dump_value_simple] {\n\tpadding: 0;\n}\n\n[mol_dump_value_expand_content] {\n\tpadding-left: 1.5rem;\n\talign-items: flex-start;\n}\n\n[mol_dump_value_expand_title_rows],\n[mol_dump_value_simple_rows],\n[mol_dump_value_expand_head] {\n\tpadding: 0;\n\tgap: 0;\n}\n");
6605
6398
  })($ || ($ = {}));
6606
- //mol/dump/value/-css/value.view.css.ts
6399
+
6607
6400
 
6608
6401
  //# sourceMappingURL=node.js.map