mol_plot_all 1.2.915 → 1.2.916

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.mjs 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,31 +3096,30 @@ var $;
3095
3096
  }
3096
3097
  $.$mol_plugin = $mol_plugin;
3097
3098
  })($ || ($ = {}));
3098
- //mol/plugin/plugin.ts
3099
+
3100
+ ;
3101
+ ($.$mol_svg) = class $mol_svg extends ($.$mol_view) {
3102
+ dom_name(){
3103
+ return "svg";
3104
+ }
3105
+ dom_name_space(){
3106
+ return "http://www.w3.org/2000/svg";
3107
+ }
3108
+ font_size(){
3109
+ return 16;
3110
+ }
3111
+ font_family(){
3112
+ return "";
3113
+ }
3114
+ style_size(){
3115
+ return {};
3116
+ }
3117
+ };
3118
+
3119
+
3099
3120
  ;
3100
3121
  "use strict";
3101
- var $;
3102
- (function ($) {
3103
- class $mol_svg extends $mol_view {
3104
- dom_name() {
3105
- return "svg";
3106
- }
3107
- dom_name_space() {
3108
- return "http://www.w3.org/2000/svg";
3109
- }
3110
- font_size() {
3111
- return 16;
3112
- }
3113
- font_family() {
3114
- return "";
3115
- }
3116
- style_size() {
3117
- return {};
3118
- }
3119
- }
3120
- $.$mol_svg = $mol_svg;
3121
- })($ || ($ = {}));
3122
- //mol/svg/-view.tree/svg.view.tree.ts
3122
+
3123
3123
  ;
3124
3124
  "use strict";
3125
3125
  var $;
@@ -3146,7 +3146,7 @@ var $;
3146
3146
  ], $mol_state_time, "now", null);
3147
3147
  $.$mol_state_time = $mol_state_time;
3148
3148
  })($ || ($ = {}));
3149
- //mol/state/time/time.ts
3149
+
3150
3150
  ;
3151
3151
  "use strict";
3152
3152
  var $;
@@ -3180,39 +3180,38 @@ var $;
3180
3180
  $$.$mol_svg = $mol_svg;
3181
3181
  })($$ = $.$$ || ($.$$ = {}));
3182
3182
  })($ || ($ = {}));
3183
- //mol/svg/svg.view.ts
3183
+
3184
+ ;
3185
+ ($.$mol_svg_root) = class $mol_svg_root extends ($.$mol_svg) {
3186
+ dom_name(){
3187
+ return "svg";
3188
+ }
3189
+ attr(){
3190
+ return {
3191
+ ...(super.attr()),
3192
+ "viewBox": (this.view_box()),
3193
+ "preserveAspectRatio": (this.aspect())
3194
+ };
3195
+ }
3196
+ view_box(){
3197
+ return "0 0 100 100";
3198
+ }
3199
+ aspect(){
3200
+ return "xMidYMid";
3201
+ }
3202
+ };
3203
+
3204
+
3184
3205
  ;
3185
3206
  "use strict";
3186
- var $;
3187
- (function ($) {
3188
- class $mol_svg_root extends $mol_svg {
3189
- dom_name() {
3190
- return "svg";
3191
- }
3192
- attr() {
3193
- return {
3194
- ...super.attr(),
3195
- viewBox: this.view_box(),
3196
- preserveAspectRatio: this.aspect()
3197
- };
3198
- }
3199
- view_box() {
3200
- return "0 0 100 100";
3201
- }
3202
- aspect() {
3203
- return "xMidYMid";
3204
- }
3205
- }
3206
- $.$mol_svg_root = $mol_svg_root;
3207
- })($ || ($ = {}));
3208
- //mol/svg/root/-view.tree/root.view.tree.ts
3207
+
3209
3208
  ;
3210
3209
  "use strict";
3211
3210
  var $;
3212
3211
  (function ($) {
3213
3212
  $mol_style_attach("mol/svg/root/root.view.css", "[mol_svg_root] {\n\toverflow: hidden;\n}\n");
3214
3213
  })($ || ($ = {}));
3215
- //mol/svg/root/-css/root.view.css.ts
3214
+
3216
3215
  ;
3217
3216
  "use strict";
3218
3217
  var $;
@@ -3328,592 +3327,194 @@ var $;
3328
3327
  }
3329
3328
  $.$mol_vector_matrix = $mol_vector_matrix;
3330
3329
  })($ || ($ = {}));
3331
- //mol/vector/vector.ts
3330
+
3331
+ ;
3332
+ ($.$mol_touch) = class $mol_touch extends ($.$mol_plugin) {
3333
+ start_zoom(next){
3334
+ if(next !== undefined) return next;
3335
+ return 0;
3336
+ }
3337
+ start_distance(next){
3338
+ if(next !== undefined) return next;
3339
+ return 0;
3340
+ }
3341
+ zoom(next){
3342
+ if(next !== undefined) return next;
3343
+ return 1;
3344
+ }
3345
+ allow_draw(){
3346
+ return true;
3347
+ }
3348
+ allow_pan(){
3349
+ return true;
3350
+ }
3351
+ allow_zoom(){
3352
+ return true;
3353
+ }
3354
+ action_type(next){
3355
+ if(next !== undefined) return next;
3356
+ return "";
3357
+ }
3358
+ action_point(next){
3359
+ if(next !== undefined) return next;
3360
+ const obj = new this.$.$mol_vector_2d(NaN, NaN);
3361
+ return obj;
3362
+ }
3363
+ start_pan(next){
3364
+ if(next !== undefined) return next;
3365
+ return [0, 0];
3366
+ }
3367
+ pan(next){
3368
+ if(next !== undefined) return next;
3369
+ const obj = new this.$.$mol_vector_2d(0, 0);
3370
+ return obj;
3371
+ }
3372
+ pointer_center(){
3373
+ const obj = new this.$.$mol_vector_2d(NaN, NaN);
3374
+ return obj;
3375
+ }
3376
+ start_pos(next){
3377
+ if(next !== undefined) return next;
3378
+ return null;
3379
+ }
3380
+ swipe_precision(){
3381
+ return 16;
3382
+ }
3383
+ swipe_right(next){
3384
+ if(next !== undefined) return next;
3385
+ return null;
3386
+ }
3387
+ swipe_bottom(next){
3388
+ if(next !== undefined) return next;
3389
+ return null;
3390
+ }
3391
+ swipe_left(next){
3392
+ if(next !== undefined) return next;
3393
+ return null;
3394
+ }
3395
+ swipe_top(next){
3396
+ if(next !== undefined) return next;
3397
+ return null;
3398
+ }
3399
+ swipe_from_right(next){
3400
+ if(next !== undefined) return next;
3401
+ return null;
3402
+ }
3403
+ swipe_from_bottom(next){
3404
+ if(next !== undefined) return next;
3405
+ return null;
3406
+ }
3407
+ swipe_from_left(next){
3408
+ if(next !== undefined) return next;
3409
+ return null;
3410
+ }
3411
+ swipe_from_top(next){
3412
+ if(next !== undefined) return next;
3413
+ return null;
3414
+ }
3415
+ swipe_to_right(next){
3416
+ if(next !== undefined) return next;
3417
+ return null;
3418
+ }
3419
+ swipe_to_bottom(next){
3420
+ if(next !== undefined) return next;
3421
+ return null;
3422
+ }
3423
+ swipe_to_left(next){
3424
+ if(next !== undefined) return next;
3425
+ return null;
3426
+ }
3427
+ swipe_to_top(next){
3428
+ if(next !== undefined) return next;
3429
+ return null;
3430
+ }
3431
+ draw_start(next){
3432
+ if(next !== undefined) return next;
3433
+ return null;
3434
+ }
3435
+ draw(next){
3436
+ if(next !== undefined) return next;
3437
+ return null;
3438
+ }
3439
+ draw_end(next){
3440
+ if(next !== undefined) return next;
3441
+ return null;
3442
+ }
3443
+ style(){
3444
+ return {
3445
+ ...(super.style()),
3446
+ "touch-action": "none",
3447
+ "overscroll-behavior": "none"
3448
+ };
3449
+ }
3450
+ event(){
3451
+ return {
3452
+ ...(super.event()),
3453
+ "pointerdown": (next) => (this.event_start(next)),
3454
+ "pointermove": (next) => (this.event_move(next)),
3455
+ "pointerup": (next) => (this.event_end(next)),
3456
+ "pointerleave": (next) => (this.event_leave(next)),
3457
+ "wheel": (next) => (this.event_wheel(next))
3458
+ };
3459
+ }
3460
+ event_start(next){
3461
+ if(next !== undefined) return next;
3462
+ return null;
3463
+ }
3464
+ event_move(next){
3465
+ if(next !== undefined) return next;
3466
+ return null;
3467
+ }
3468
+ event_end(next){
3469
+ if(next !== undefined) return next;
3470
+ return null;
3471
+ }
3472
+ event_leave(next){
3473
+ if(next !== undefined) return next;
3474
+ return null;
3475
+ }
3476
+ event_wheel(next){
3477
+ if(next !== undefined) return next;
3478
+ return null;
3479
+ }
3480
+ };
3481
+ ($mol_mem(($.$mol_touch.prototype), "start_zoom"));
3482
+ ($mol_mem(($.$mol_touch.prototype), "start_distance"));
3483
+ ($mol_mem(($.$mol_touch.prototype), "zoom"));
3484
+ ($mol_mem(($.$mol_touch.prototype), "action_type"));
3485
+ ($mol_mem(($.$mol_touch.prototype), "action_point"));
3486
+ ($mol_mem(($.$mol_touch.prototype), "start_pan"));
3487
+ ($mol_mem(($.$mol_touch.prototype), "pan"));
3488
+ ($mol_mem(($.$mol_touch.prototype), "pointer_center"));
3489
+ ($mol_mem(($.$mol_touch.prototype), "start_pos"));
3490
+ ($mol_mem(($.$mol_touch.prototype), "swipe_right"));
3491
+ ($mol_mem(($.$mol_touch.prototype), "swipe_bottom"));
3492
+ ($mol_mem(($.$mol_touch.prototype), "swipe_left"));
3493
+ ($mol_mem(($.$mol_touch.prototype), "swipe_top"));
3494
+ ($mol_mem(($.$mol_touch.prototype), "swipe_from_right"));
3495
+ ($mol_mem(($.$mol_touch.prototype), "swipe_from_bottom"));
3496
+ ($mol_mem(($.$mol_touch.prototype), "swipe_from_left"));
3497
+ ($mol_mem(($.$mol_touch.prototype), "swipe_from_top"));
3498
+ ($mol_mem(($.$mol_touch.prototype), "swipe_to_right"));
3499
+ ($mol_mem(($.$mol_touch.prototype), "swipe_to_bottom"));
3500
+ ($mol_mem(($.$mol_touch.prototype), "swipe_to_left"));
3501
+ ($mol_mem(($.$mol_touch.prototype), "swipe_to_top"));
3502
+ ($mol_mem(($.$mol_touch.prototype), "draw_start"));
3503
+ ($mol_mem(($.$mol_touch.prototype), "draw"));
3504
+ ($mol_mem(($.$mol_touch.prototype), "draw_end"));
3505
+ ($mol_mem(($.$mol_touch.prototype), "event_start"));
3506
+ ($mol_mem(($.$mol_touch.prototype), "event_move"));
3507
+ ($mol_mem(($.$mol_touch.prototype), "event_end"));
3508
+ ($mol_mem(($.$mol_touch.prototype), "event_leave"));
3509
+ ($mol_mem(($.$mol_touch.prototype), "event_wheel"));
3510
+
3511
+
3332
3512
  ;
3333
3513
  "use strict";
3334
- var $;
3335
- (function ($) {
3336
- class $mol_svg_group extends $mol_svg {
3337
- dom_name() {
3338
- return "g";
3339
- }
3340
- }
3341
- $.$mol_svg_group = $mol_svg_group;
3342
- })($ || ($ = {}));
3343
- //mol/svg/group/-view.tree/group.view.tree.ts
3514
+
3344
3515
  ;
3345
3516
  "use strict";
3346
- var $;
3347
- (function ($) {
3348
- class $mol_svg_title extends $mol_svg {
3349
- dom_name() {
3350
- return "title";
3351
- }
3352
- sub() {
3353
- return [
3354
- this.title()
3355
- ];
3356
- }
3357
- }
3358
- $.$mol_svg_title = $mol_svg_title;
3359
- })($ || ($ = {}));
3360
- //mol/svg/title/-view.tree/title.view.tree.ts
3361
- ;
3362
- "use strict";
3363
- var $;
3364
- (function ($) {
3365
- class $mol_plot_graph extends $mol_svg_group {
3366
- series_x() {
3367
- return [];
3368
- }
3369
- series_y() {
3370
- return [];
3371
- }
3372
- attr() {
3373
- return {
3374
- ...super.attr(),
3375
- mol_plot_graph_type: this.type()
3376
- };
3377
- }
3378
- style() {
3379
- return {
3380
- ...super.style(),
3381
- color: this.color()
3382
- };
3383
- }
3384
- viewport() {
3385
- const obj = new this.$.$mol_vector_2d(this.viewport_x(), this.viewport_y());
3386
- return obj;
3387
- }
3388
- shift() {
3389
- return [
3390
- 0,
3391
- 0
3392
- ];
3393
- }
3394
- scale() {
3395
- return [
3396
- 1,
3397
- 1
3398
- ];
3399
- }
3400
- cursor_position() {
3401
- const obj = new this.$.$mol_vector_2d(NaN, NaN);
3402
- return obj;
3403
- }
3404
- dimensions_pane() {
3405
- const obj = new this.$.$mol_vector_2d(this.dimensions_pane_x(), this.dimensions_pane_y());
3406
- return obj;
3407
- }
3408
- dimensions() {
3409
- const obj = new this.$.$mol_vector_2d(this.dimensions_x(), this.dimensions_y());
3410
- return obj;
3411
- }
3412
- size_real() {
3413
- const obj = new this.$.$mol_vector_2d(0, 0);
3414
- return obj;
3415
- }
3416
- gap() {
3417
- const obj = new this.$.$mol_vector_2d(this.gap_x(), this.gap_y());
3418
- return obj;
3419
- }
3420
- repos_x(id) {
3421
- return 0;
3422
- }
3423
- repos_y(id) {
3424
- return 0;
3425
- }
3426
- indexes() {
3427
- return [];
3428
- }
3429
- points() {
3430
- return [];
3431
- }
3432
- front() {
3433
- return [];
3434
- }
3435
- back() {
3436
- return [];
3437
- }
3438
- Hint() {
3439
- const obj = new this.$.$mol_svg_title();
3440
- obj.title = () => this.hint();
3441
- return obj;
3442
- }
3443
- hue() {
3444
- return +NaN;
3445
- }
3446
- Sample() {
3447
- return null;
3448
- }
3449
- type() {
3450
- return "solid";
3451
- }
3452
- color() {
3453
- return "";
3454
- }
3455
- viewport_x() {
3456
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3457
- return obj;
3458
- }
3459
- viewport_y() {
3460
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3461
- return obj;
3462
- }
3463
- dimensions_pane_x() {
3464
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3465
- return obj;
3466
- }
3467
- dimensions_pane_y() {
3468
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3469
- return obj;
3470
- }
3471
- dimensions_x() {
3472
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3473
- return obj;
3474
- }
3475
- dimensions_y() {
3476
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3477
- return obj;
3478
- }
3479
- gap_x() {
3480
- const obj = new this.$.$mol_vector_range(0, 0);
3481
- return obj;
3482
- }
3483
- gap_y() {
3484
- const obj = new this.$.$mol_vector_range(0, 0);
3485
- return obj;
3486
- }
3487
- title() {
3488
- return "";
3489
- }
3490
- hint() {
3491
- return this.title();
3492
- }
3493
- }
3494
- __decorate([
3495
- $mol_mem
3496
- ], $mol_plot_graph.prototype, "viewport", null);
3497
- __decorate([
3498
- $mol_mem
3499
- ], $mol_plot_graph.prototype, "cursor_position", null);
3500
- __decorate([
3501
- $mol_mem
3502
- ], $mol_plot_graph.prototype, "dimensions_pane", null);
3503
- __decorate([
3504
- $mol_mem
3505
- ], $mol_plot_graph.prototype, "dimensions", null);
3506
- __decorate([
3507
- $mol_mem
3508
- ], $mol_plot_graph.prototype, "size_real", null);
3509
- __decorate([
3510
- $mol_mem
3511
- ], $mol_plot_graph.prototype, "gap", null);
3512
- __decorate([
3513
- $mol_mem
3514
- ], $mol_plot_graph.prototype, "Hint", null);
3515
- __decorate([
3516
- $mol_mem
3517
- ], $mol_plot_graph.prototype, "viewport_x", null);
3518
- __decorate([
3519
- $mol_mem
3520
- ], $mol_plot_graph.prototype, "viewport_y", null);
3521
- __decorate([
3522
- $mol_mem
3523
- ], $mol_plot_graph.prototype, "dimensions_pane_x", null);
3524
- __decorate([
3525
- $mol_mem
3526
- ], $mol_plot_graph.prototype, "dimensions_pane_y", null);
3527
- __decorate([
3528
- $mol_mem
3529
- ], $mol_plot_graph.prototype, "dimensions_x", null);
3530
- __decorate([
3531
- $mol_mem
3532
- ], $mol_plot_graph.prototype, "dimensions_y", null);
3533
- __decorate([
3534
- $mol_mem
3535
- ], $mol_plot_graph.prototype, "gap_x", null);
3536
- __decorate([
3537
- $mol_mem
3538
- ], $mol_plot_graph.prototype, "gap_y", null);
3539
- $.$mol_plot_graph = $mol_plot_graph;
3540
- class $mol_plot_graph_sample extends $mol_view {
3541
- attr() {
3542
- return {
3543
- ...super.attr(),
3544
- mol_plot_graph_type: this.type()
3545
- };
3546
- }
3547
- style() {
3548
- return {
3549
- ...super.style(),
3550
- color: this.color()
3551
- };
3552
- }
3553
- type() {
3554
- return "solid";
3555
- }
3556
- color() {
3557
- return "black";
3558
- }
3559
- }
3560
- $.$mol_plot_graph_sample = $mol_plot_graph_sample;
3561
- })($ || ($ = {}));
3562
- //mol/plot/graph/-view.tree/graph.view.tree.ts
3563
- ;
3564
- "use strict";
3565
- var $;
3566
- (function ($) {
3567
- var $$;
3568
- (function ($$) {
3569
- class $mol_plot_graph extends $.$mol_plot_graph {
3570
- viewport() {
3571
- const size = this.size_real();
3572
- return new this.$.$mol_vector_2d(new this.$.$mol_vector_range(0, size.x), new this.$.$mol_vector_range(0, size.y));
3573
- }
3574
- indexes() {
3575
- return this.series_x().map((_, i) => i);
3576
- }
3577
- repos_x(val) {
3578
- return val;
3579
- }
3580
- repos_y(val) {
3581
- return val;
3582
- }
3583
- points() {
3584
- const [shift_x, shift_y] = this.shift();
3585
- const [scale_x, scale_y] = this.scale();
3586
- const series_x = this.series_x();
3587
- const series_y = this.series_y();
3588
- return this.indexes().map(index => {
3589
- let point_x = Math.round(shift_x + this.repos_x(series_x[index]) * scale_x);
3590
- let point_y = Math.round(shift_y + this.repos_y(series_y[index]) * scale_y);
3591
- point_x = Math.max(Number.MIN_SAFE_INTEGER, Math.min(point_x, Number.MAX_SAFE_INTEGER));
3592
- point_y = Math.max(Number.MIN_SAFE_INTEGER, Math.min(point_y, Number.MAX_SAFE_INTEGER));
3593
- return [point_x, point_y];
3594
- });
3595
- }
3596
- series_x() {
3597
- return this.series_y().map((val, index) => index);
3598
- }
3599
- dimensions() {
3600
- let next = new this.$.$mol_vector_2d($mol_vector_range_full.inversed, $mol_vector_range_full.inversed);
3601
- const series_x = this.series_x();
3602
- const series_y = this.series_y();
3603
- for (let i = 0; i < series_x.length; i++) {
3604
- if (series_x[i] > next.x.max)
3605
- next.x.max = series_x[i];
3606
- if (series_x[i] < next.x.min)
3607
- next.x.min = series_x[i];
3608
- if (series_y[i] > next.y.max)
3609
- next.y.max = series_y[i];
3610
- if (series_y[i] < next.y.min)
3611
- next.y.min = series_y[i];
3612
- }
3613
- return next;
3614
- }
3615
- color() {
3616
- const hue = this.hue();
3617
- return hue ? `hsl( ${hue} , 100% , 35% )` : '';
3618
- }
3619
- front() {
3620
- return [this];
3621
- }
3622
- }
3623
- __decorate([
3624
- $mol_mem
3625
- ], $mol_plot_graph.prototype, "indexes", null);
3626
- __decorate([
3627
- $mol_mem
3628
- ], $mol_plot_graph.prototype, "series_x", null);
3629
- __decorate([
3630
- $mol_mem
3631
- ], $mol_plot_graph.prototype, "dimensions", null);
3632
- $$.$mol_plot_graph = $mol_plot_graph;
3633
- })($$ = $.$$ || ($.$$ = {}));
3634
- })($ || ($ = {}));
3635
- //mol/plot/graph/graph.view.ts
3636
- ;
3637
- "use strict";
3638
- var $;
3639
- (function ($) {
3640
- $mol_style_attach("mol/plot/graph/graph.view.css", "[mol_plot_graph] {\n\tstroke: currentColor;\n}\n\n[mol_plot_graph_sample] {\n\tborder-width: 0;\n\tborder-style: solid;\n}\n\n[mol_plot_graph_type=\"dashed\"] {\n\tstroke-dasharray: 4 4;\n\tborder-style: dashed;\n}\n");
3641
- })($ || ($ = {}));
3642
- //mol/plot/graph/-css/graph.view.css.ts
3643
- ;
3644
- "use strict";
3645
- var $;
3646
- (function ($) {
3647
- class $mol_touch extends $mol_plugin {
3648
- start_zoom(next) {
3649
- if (next !== undefined)
3650
- return next;
3651
- return 0;
3652
- }
3653
- start_distance(next) {
3654
- if (next !== undefined)
3655
- return next;
3656
- return 0;
3657
- }
3658
- zoom(next) {
3659
- if (next !== undefined)
3660
- return next;
3661
- return 1;
3662
- }
3663
- allow_draw() {
3664
- return true;
3665
- }
3666
- allow_pan() {
3667
- return true;
3668
- }
3669
- allow_zoom() {
3670
- return true;
3671
- }
3672
- action_type(next) {
3673
- if (next !== undefined)
3674
- return next;
3675
- return "";
3676
- }
3677
- action_point(next) {
3678
- if (next !== undefined)
3679
- return next;
3680
- const obj = new this.$.$mol_vector_2d(NaN, NaN);
3681
- return obj;
3682
- }
3683
- start_pan(next) {
3684
- if (next !== undefined)
3685
- return next;
3686
- return [
3687
- 0,
3688
- 0
3689
- ];
3690
- }
3691
- pan(next) {
3692
- if (next !== undefined)
3693
- return next;
3694
- const obj = new this.$.$mol_vector_2d(0, 0);
3695
- return obj;
3696
- }
3697
- pointer_center() {
3698
- const obj = new this.$.$mol_vector_2d(NaN, NaN);
3699
- return obj;
3700
- }
3701
- start_pos(next) {
3702
- if (next !== undefined)
3703
- return next;
3704
- return null;
3705
- }
3706
- swipe_precision() {
3707
- return 16;
3708
- }
3709
- swipe_right(next) {
3710
- if (next !== undefined)
3711
- return next;
3712
- return null;
3713
- }
3714
- swipe_bottom(next) {
3715
- if (next !== undefined)
3716
- return next;
3717
- return null;
3718
- }
3719
- swipe_left(next) {
3720
- if (next !== undefined)
3721
- return next;
3722
- return null;
3723
- }
3724
- swipe_top(next) {
3725
- if (next !== undefined)
3726
- return next;
3727
- return null;
3728
- }
3729
- swipe_from_right(next) {
3730
- if (next !== undefined)
3731
- return next;
3732
- return null;
3733
- }
3734
- swipe_from_bottom(next) {
3735
- if (next !== undefined)
3736
- return next;
3737
- return null;
3738
- }
3739
- swipe_from_left(next) {
3740
- if (next !== undefined)
3741
- return next;
3742
- return null;
3743
- }
3744
- swipe_from_top(next) {
3745
- if (next !== undefined)
3746
- return next;
3747
- return null;
3748
- }
3749
- swipe_to_right(next) {
3750
- if (next !== undefined)
3751
- return next;
3752
- return null;
3753
- }
3754
- swipe_to_bottom(next) {
3755
- if (next !== undefined)
3756
- return next;
3757
- return null;
3758
- }
3759
- swipe_to_left(next) {
3760
- if (next !== undefined)
3761
- return next;
3762
- return null;
3763
- }
3764
- swipe_to_top(next) {
3765
- if (next !== undefined)
3766
- return next;
3767
- return null;
3768
- }
3769
- draw_start(event) {
3770
- if (event !== undefined)
3771
- return event;
3772
- return null;
3773
- }
3774
- draw(event) {
3775
- if (event !== undefined)
3776
- return event;
3777
- return null;
3778
- }
3779
- draw_end(event) {
3780
- if (event !== undefined)
3781
- return event;
3782
- return null;
3783
- }
3784
- style() {
3785
- return {
3786
- ...super.style(),
3787
- "touch-action": "none",
3788
- "overscroll-behavior": "none"
3789
- };
3790
- }
3791
- event() {
3792
- return {
3793
- ...super.event(),
3794
- pointerdown: (event) => this.event_start(event),
3795
- pointermove: (event) => this.event_move(event),
3796
- pointerup: (event) => this.event_end(event),
3797
- pointerleave: (event) => this.event_leave(event),
3798
- wheel: (event) => this.event_wheel(event)
3799
- };
3800
- }
3801
- event_start(event) {
3802
- if (event !== undefined)
3803
- return event;
3804
- return null;
3805
- }
3806
- event_move(event) {
3807
- if (event !== undefined)
3808
- return event;
3809
- return null;
3810
- }
3811
- event_end(event) {
3812
- if (event !== undefined)
3813
- return event;
3814
- return null;
3815
- }
3816
- event_leave(event) {
3817
- if (event !== undefined)
3818
- return event;
3819
- return null;
3820
- }
3821
- event_wheel(event) {
3822
- if (event !== undefined)
3823
- return event;
3824
- return null;
3825
- }
3826
- }
3827
- __decorate([
3828
- $mol_mem
3829
- ], $mol_touch.prototype, "start_zoom", null);
3830
- __decorate([
3831
- $mol_mem
3832
- ], $mol_touch.prototype, "start_distance", null);
3833
- __decorate([
3834
- $mol_mem
3835
- ], $mol_touch.prototype, "zoom", null);
3836
- __decorate([
3837
- $mol_mem
3838
- ], $mol_touch.prototype, "action_type", null);
3839
- __decorate([
3840
- $mol_mem
3841
- ], $mol_touch.prototype, "action_point", null);
3842
- __decorate([
3843
- $mol_mem
3844
- ], $mol_touch.prototype, "start_pan", null);
3845
- __decorate([
3846
- $mol_mem
3847
- ], $mol_touch.prototype, "pan", null);
3848
- __decorate([
3849
- $mol_mem
3850
- ], $mol_touch.prototype, "pointer_center", null);
3851
- __decorate([
3852
- $mol_mem
3853
- ], $mol_touch.prototype, "start_pos", null);
3854
- __decorate([
3855
- $mol_mem
3856
- ], $mol_touch.prototype, "swipe_right", null);
3857
- __decorate([
3858
- $mol_mem
3859
- ], $mol_touch.prototype, "swipe_bottom", null);
3860
- __decorate([
3861
- $mol_mem
3862
- ], $mol_touch.prototype, "swipe_left", null);
3863
- __decorate([
3864
- $mol_mem
3865
- ], $mol_touch.prototype, "swipe_top", null);
3866
- __decorate([
3867
- $mol_mem
3868
- ], $mol_touch.prototype, "swipe_from_right", null);
3869
- __decorate([
3870
- $mol_mem
3871
- ], $mol_touch.prototype, "swipe_from_bottom", null);
3872
- __decorate([
3873
- $mol_mem
3874
- ], $mol_touch.prototype, "swipe_from_left", null);
3875
- __decorate([
3876
- $mol_mem
3877
- ], $mol_touch.prototype, "swipe_from_top", null);
3878
- __decorate([
3879
- $mol_mem
3880
- ], $mol_touch.prototype, "swipe_to_right", null);
3881
- __decorate([
3882
- $mol_mem
3883
- ], $mol_touch.prototype, "swipe_to_bottom", null);
3884
- __decorate([
3885
- $mol_mem
3886
- ], $mol_touch.prototype, "swipe_to_left", null);
3887
- __decorate([
3888
- $mol_mem
3889
- ], $mol_touch.prototype, "swipe_to_top", null);
3890
- __decorate([
3891
- $mol_mem
3892
- ], $mol_touch.prototype, "draw_start", null);
3893
- __decorate([
3894
- $mol_mem
3895
- ], $mol_touch.prototype, "draw", null);
3896
- __decorate([
3897
- $mol_mem
3898
- ], $mol_touch.prototype, "draw_end", null);
3899
- __decorate([
3900
- $mol_mem
3901
- ], $mol_touch.prototype, "event_start", null);
3902
- __decorate([
3903
- $mol_mem
3904
- ], $mol_touch.prototype, "event_move", null);
3905
- __decorate([
3906
- $mol_mem
3907
- ], $mol_touch.prototype, "event_end", null);
3908
- __decorate([
3909
- $mol_mem
3910
- ], $mol_touch.prototype, "event_leave", null);
3911
- __decorate([
3912
- $mol_mem
3913
- ], $mol_touch.prototype, "event_wheel", null);
3914
- $.$mol_touch = $mol_touch;
3915
- })($ || ($ = {}));
3916
- //mol/touch/-view.tree/touch.view.tree.ts
3517
+
3917
3518
  ;
3918
3519
  "use strict";
3919
3520
  var $;
@@ -4159,316 +3760,499 @@ var $;
4159
3760
  $$.$mol_touch = $mol_touch;
4160
3761
  })($$ = $.$$ || ($.$$ = {}));
4161
3762
  })($ || ($ = {}));
4162
- //mol/touch/touch.view.ts
3763
+
3764
+ ;
3765
+ ($.$mol_plot_pane) = class $mol_plot_pane extends ($.$mol_svg_root) {
3766
+ aspect(){
3767
+ return "none";
3768
+ }
3769
+ hue_base(next){
3770
+ if(next !== undefined) return next;
3771
+ return +NaN;
3772
+ }
3773
+ hue_shift(next){
3774
+ if(next !== undefined) return next;
3775
+ return 111;
3776
+ }
3777
+ gap_hor(){
3778
+ return 48;
3779
+ }
3780
+ gap_vert(){
3781
+ return 24;
3782
+ }
3783
+ gap_left(){
3784
+ return (this.gap_hor());
3785
+ }
3786
+ gap_right(){
3787
+ return (this.gap_hor());
3788
+ }
3789
+ gap_top(){
3790
+ return (this.gap_vert());
3791
+ }
3792
+ gap_bottom(){
3793
+ return (this.gap_vert());
3794
+ }
3795
+ gap(){
3796
+ const obj = new this.$.$mol_vector_2d((this.gap_x()), (this.gap_y()));
3797
+ return obj;
3798
+ }
3799
+ shift_limit(){
3800
+ const obj = new this.$.$mol_vector_2d((this.shift_limit_x()), (this.shift_limit_y()));
3801
+ return obj;
3802
+ }
3803
+ shift_default(){
3804
+ const obj = new this.$.$mol_vector_2d(0, 0);
3805
+ return obj;
3806
+ }
3807
+ shift(next){
3808
+ if(next !== undefined) return next;
3809
+ const obj = new this.$.$mol_vector_2d(0, 0);
3810
+ return obj;
3811
+ }
3812
+ scale_limit(){
3813
+ const obj = new this.$.$mol_vector_2d((this.scale_limit_x()), (this.scale_limit_y()));
3814
+ return obj;
3815
+ }
3816
+ scale_default(){
3817
+ const obj = new this.$.$mol_vector_2d(0, 0);
3818
+ return obj;
3819
+ }
3820
+ scale(next){
3821
+ if(next !== undefined) return next;
3822
+ const obj = new this.$.$mol_vector_2d(1, -1);
3823
+ return obj;
3824
+ }
3825
+ scale_x(next){
3826
+ if(next !== undefined) return next;
3827
+ return 1;
3828
+ }
3829
+ scale_y(next){
3830
+ if(next !== undefined) return next;
3831
+ return -1;
3832
+ }
3833
+ size(){
3834
+ const obj = new this.$.$mol_vector_2d(0, 0);
3835
+ return obj;
3836
+ }
3837
+ size_real(){
3838
+ const obj = new this.$.$mol_vector_2d(1, 1);
3839
+ return obj;
3840
+ }
3841
+ dimensions(){
3842
+ const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
3843
+ return obj;
3844
+ }
3845
+ dimensions_viewport(){
3846
+ const obj = new this.$.$mol_vector_2d((this.dimensions_viewport_x()), (this.dimensions_viewport_y()));
3847
+ return obj;
3848
+ }
3849
+ sub(){
3850
+ return (this.graphs_sorted());
3851
+ }
3852
+ graphs_colored(){
3853
+ return (this.graphs_visible());
3854
+ }
3855
+ plugins(){
3856
+ return [...(super.plugins()), (this.Touch())];
3857
+ }
3858
+ gap_x(){
3859
+ const obj = new this.$.$mol_vector_range((this.gap_left()), (this.gap_right()));
3860
+ return obj;
3861
+ }
3862
+ gap_y(){
3863
+ const obj = new this.$.$mol_vector_range((this.gap_bottom()), (this.gap_top()));
3864
+ return obj;
3865
+ }
3866
+ shift_limit_x(){
3867
+ const obj = new this.$.$mol_vector_range(0, 0);
3868
+ return obj;
3869
+ }
3870
+ shift_limit_y(){
3871
+ const obj = new this.$.$mol_vector_range(0, 0);
3872
+ return obj;
3873
+ }
3874
+ scale_limit_x(){
3875
+ const obj = new this.$.$mol_vector_range(0, Infinity);
3876
+ return obj;
3877
+ }
3878
+ scale_limit_y(){
3879
+ const obj = new this.$.$mol_vector_range(0, -Infinity);
3880
+ return obj;
3881
+ }
3882
+ dimensions_x(){
3883
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3884
+ return obj;
3885
+ }
3886
+ dimensions_y(){
3887
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3888
+ return obj;
3889
+ }
3890
+ dimensions_viewport_x(){
3891
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3892
+ return obj;
3893
+ }
3894
+ dimensions_viewport_y(){
3895
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3896
+ return obj;
3897
+ }
3898
+ graphs_sorted(){
3899
+ return [];
3900
+ }
3901
+ graphs(){
3902
+ return [];
3903
+ }
3904
+ graphs_positioned(){
3905
+ return (this.graphs());
3906
+ }
3907
+ graphs_visible(){
3908
+ return (this.graphs_positioned());
3909
+ }
3910
+ zoom(next){
3911
+ if(next !== undefined) return next;
3912
+ return 1;
3913
+ }
3914
+ cursor_position(){
3915
+ return (this.Touch().pointer_center());
3916
+ }
3917
+ allow_draw(){
3918
+ return true;
3919
+ }
3920
+ allow_pan(){
3921
+ return true;
3922
+ }
3923
+ allow_zoom(){
3924
+ return true;
3925
+ }
3926
+ action_type(){
3927
+ return (this.Touch().action_type());
3928
+ }
3929
+ action_point(){
3930
+ return (this.Touch().action_point());
3931
+ }
3932
+ draw_start(next){
3933
+ if(next !== undefined) return next;
3934
+ return null;
3935
+ }
3936
+ draw(next){
3937
+ if(next !== undefined) return next;
3938
+ return null;
3939
+ }
3940
+ draw_end(next){
3941
+ if(next !== undefined) return next;
3942
+ return null;
3943
+ }
3944
+ Touch(){
3945
+ const obj = new this.$.$mol_touch();
3946
+ (obj.zoom) = (next) => ((this.zoom(next)));
3947
+ (obj.pan) = (next) => ((this.shift(next)));
3948
+ (obj.allow_draw) = () => ((this.allow_draw()));
3949
+ (obj.allow_pan) = () => ((this.allow_pan()));
3950
+ (obj.allow_zoom) = () => ((this.allow_zoom()));
3951
+ (obj.draw_start) = (next) => ((this.draw_start(next)));
3952
+ (obj.draw) = (next) => ((this.draw(next)));
3953
+ (obj.draw_end) = (next) => ((this.draw_end(next)));
3954
+ return obj;
3955
+ }
3956
+ };
3957
+ ($mol_mem(($.$mol_plot_pane.prototype), "hue_base"));
3958
+ ($mol_mem(($.$mol_plot_pane.prototype), "hue_shift"));
3959
+ ($mol_mem(($.$mol_plot_pane.prototype), "gap"));
3960
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit"));
3961
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_default"));
3962
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift"));
3963
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit"));
3964
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_default"));
3965
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale"));
3966
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_x"));
3967
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_y"));
3968
+ ($mol_mem(($.$mol_plot_pane.prototype), "size"));
3969
+ ($mol_mem(($.$mol_plot_pane.prototype), "size_real"));
3970
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions"));
3971
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport"));
3972
+ ($mol_mem(($.$mol_plot_pane.prototype), "gap_x"));
3973
+ ($mol_mem(($.$mol_plot_pane.prototype), "gap_y"));
3974
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_x"));
3975
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_y"));
3976
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_x"));
3977
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_y"));
3978
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_x"));
3979
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_y"));
3980
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_x"));
3981
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_y"));
3982
+ ($mol_mem(($.$mol_plot_pane.prototype), "zoom"));
3983
+ ($mol_mem(($.$mol_plot_pane.prototype), "draw_start"));
3984
+ ($mol_mem(($.$mol_plot_pane.prototype), "draw"));
3985
+ ($mol_mem(($.$mol_plot_pane.prototype), "draw_end"));
3986
+ ($mol_mem(($.$mol_plot_pane.prototype), "Touch"));
3987
+
3988
+
3989
+ ;
3990
+ ($.$mol_svg_group) = class $mol_svg_group extends ($.$mol_svg) {
3991
+ dom_name(){
3992
+ return "g";
3993
+ }
3994
+ };
3995
+
3996
+
3997
+ ;
3998
+ "use strict";
3999
+
4000
+ ;
4001
+ ($.$mol_svg_title) = class $mol_svg_title extends ($.$mol_svg) {
4002
+ dom_name(){
4003
+ return "title";
4004
+ }
4005
+ sub(){
4006
+ return [(this.title())];
4007
+ }
4008
+ };
4009
+
4010
+
4011
+ ;
4012
+ "use strict";
4013
+
4014
+ ;
4015
+ ($.$mol_plot_graph) = class $mol_plot_graph extends ($.$mol_svg_group) {
4016
+ series_x(){
4017
+ return [];
4018
+ }
4019
+ series_y(){
4020
+ return [];
4021
+ }
4022
+ attr(){
4023
+ return {...(super.attr()), "mol_plot_graph_type": (this.type())};
4024
+ }
4025
+ style(){
4026
+ return {...(super.style()), "color": (this.color())};
4027
+ }
4028
+ viewport(){
4029
+ const obj = new this.$.$mol_vector_2d((this.viewport_x()), (this.viewport_y()));
4030
+ return obj;
4031
+ }
4032
+ shift(){
4033
+ return [0, 0];
4034
+ }
4035
+ scale(){
4036
+ return [1, 1];
4037
+ }
4038
+ cursor_position(){
4039
+ const obj = new this.$.$mol_vector_2d(NaN, NaN);
4040
+ return obj;
4041
+ }
4042
+ dimensions_pane(){
4043
+ const obj = new this.$.$mol_vector_2d((this.dimensions_pane_x()), (this.dimensions_pane_y()));
4044
+ return obj;
4045
+ }
4046
+ dimensions(){
4047
+ const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
4048
+ return obj;
4049
+ }
4050
+ size_real(){
4051
+ const obj = new this.$.$mol_vector_2d(0, 0);
4052
+ return obj;
4053
+ }
4054
+ gap(){
4055
+ const obj = new this.$.$mol_vector_2d((this.gap_x()), (this.gap_y()));
4056
+ return obj;
4057
+ }
4058
+ repos_x(id){
4059
+ return 0;
4060
+ }
4061
+ repos_y(id){
4062
+ return 0;
4063
+ }
4064
+ indexes(){
4065
+ return [];
4066
+ }
4067
+ points(){
4068
+ return [];
4069
+ }
4070
+ front(){
4071
+ return [];
4072
+ }
4073
+ back(){
4074
+ return [];
4075
+ }
4076
+ Hint(){
4077
+ const obj = new this.$.$mol_svg_title();
4078
+ (obj.title) = () => ((this.hint()));
4079
+ return obj;
4080
+ }
4081
+ hue(){
4082
+ return +NaN;
4083
+ }
4084
+ Sample(){
4085
+ return null;
4086
+ }
4087
+ type(){
4088
+ return "solid";
4089
+ }
4090
+ color(){
4091
+ return "";
4092
+ }
4093
+ viewport_x(){
4094
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4095
+ return obj;
4096
+ }
4097
+ viewport_y(){
4098
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4099
+ return obj;
4100
+ }
4101
+ dimensions_pane_x(){
4102
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4103
+ return obj;
4104
+ }
4105
+ dimensions_pane_y(){
4106
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4107
+ return obj;
4108
+ }
4109
+ dimensions_x(){
4110
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4111
+ return obj;
4112
+ }
4113
+ dimensions_y(){
4114
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4115
+ return obj;
4116
+ }
4117
+ gap_x(){
4118
+ const obj = new this.$.$mol_vector_range(0, 0);
4119
+ return obj;
4120
+ }
4121
+ gap_y(){
4122
+ const obj = new this.$.$mol_vector_range(0, 0);
4123
+ return obj;
4124
+ }
4125
+ title(){
4126
+ return "";
4127
+ }
4128
+ hint(){
4129
+ return (this.title());
4130
+ }
4131
+ };
4132
+ ($mol_mem(($.$mol_plot_graph.prototype), "viewport"));
4133
+ ($mol_mem(($.$mol_plot_graph.prototype), "cursor_position"));
4134
+ ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane"));
4135
+ ($mol_mem(($.$mol_plot_graph.prototype), "dimensions"));
4136
+ ($mol_mem(($.$mol_plot_graph.prototype), "size_real"));
4137
+ ($mol_mem(($.$mol_plot_graph.prototype), "gap"));
4138
+ ($mol_mem(($.$mol_plot_graph.prototype), "Hint"));
4139
+ ($mol_mem(($.$mol_plot_graph.prototype), "viewport_x"));
4140
+ ($mol_mem(($.$mol_plot_graph.prototype), "viewport_y"));
4141
+ ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane_x"));
4142
+ ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane_y"));
4143
+ ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_x"));
4144
+ ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_y"));
4145
+ ($mol_mem(($.$mol_plot_graph.prototype), "gap_x"));
4146
+ ($mol_mem(($.$mol_plot_graph.prototype), "gap_y"));
4147
+ ($.$mol_plot_graph_sample) = class $mol_plot_graph_sample extends ($.$mol_view) {
4148
+ attr(){
4149
+ return {...(super.attr()), "mol_plot_graph_type": (this.type())};
4150
+ }
4151
+ style(){
4152
+ return {...(super.style()), "color": (this.color())};
4153
+ }
4154
+ type(){
4155
+ return "solid";
4156
+ }
4157
+ color(){
4158
+ return "black";
4159
+ }
4160
+ };
4161
+
4162
+
4163
+ ;
4164
+ "use strict";
4165
+
4163
4166
  ;
4164
4167
  "use strict";
4165
4168
  var $;
4166
4169
  (function ($) {
4167
- class $mol_plot_pane extends $mol_svg_root {
4168
- aspect() {
4169
- return "none";
4170
- }
4171
- hue_base(next) {
4172
- if (next !== undefined)
4173
- return next;
4174
- return +NaN;
4175
- }
4176
- hue_shift(next) {
4177
- if (next !== undefined)
4178
- return next;
4179
- return 111;
4180
- }
4181
- gap_hor() {
4182
- return 48;
4183
- }
4184
- gap_vert() {
4185
- return 24;
4186
- }
4187
- gap_left() {
4188
- return this.gap_hor();
4189
- }
4190
- gap_right() {
4191
- return this.gap_hor();
4192
- }
4193
- gap_top() {
4194
- return this.gap_vert();
4195
- }
4196
- gap_bottom() {
4197
- return this.gap_vert();
4198
- }
4199
- gap() {
4200
- const obj = new this.$.$mol_vector_2d(this.gap_x(), this.gap_y());
4201
- return obj;
4202
- }
4203
- shift_limit() {
4204
- const obj = new this.$.$mol_vector_2d(this.shift_limit_x(), this.shift_limit_y());
4205
- return obj;
4206
- }
4207
- shift_default() {
4208
- const obj = new this.$.$mol_vector_2d(0, 0);
4209
- return obj;
4210
- }
4211
- shift(next) {
4212
- if (next !== undefined)
4213
- return next;
4214
- const obj = new this.$.$mol_vector_2d(0, 0);
4215
- return obj;
4216
- }
4217
- scale_limit() {
4218
- const obj = new this.$.$mol_vector_2d(this.scale_limit_x(), this.scale_limit_y());
4219
- return obj;
4220
- }
4221
- scale_default() {
4222
- const obj = new this.$.$mol_vector_2d(0, 0);
4223
- return obj;
4224
- }
4225
- scale(next) {
4226
- if (next !== undefined)
4227
- return next;
4228
- const obj = new this.$.$mol_vector_2d(1, -1);
4229
- return obj;
4230
- }
4231
- scale_x(next) {
4232
- if (next !== undefined)
4233
- return next;
4234
- return 1;
4235
- }
4236
- scale_y(next) {
4237
- if (next !== undefined)
4238
- return next;
4239
- return -1;
4240
- }
4241
- size() {
4242
- const obj = new this.$.$mol_vector_2d(0, 0);
4243
- return obj;
4244
- }
4245
- size_real() {
4246
- const obj = new this.$.$mol_vector_2d(1, 1);
4247
- return obj;
4248
- }
4249
- dimensions() {
4250
- const obj = new this.$.$mol_vector_2d(this.dimensions_x(), this.dimensions_y());
4251
- return obj;
4252
- }
4253
- dimensions_viewport() {
4254
- const obj = new this.$.$mol_vector_2d(this.dimensions_viewport_x(), this.dimensions_viewport_y());
4255
- return obj;
4256
- }
4257
- sub() {
4258
- return this.graphs_sorted();
4259
- }
4260
- graphs_colored() {
4261
- return this.graphs_visible();
4262
- }
4263
- plugins() {
4264
- return [
4265
- ...super.plugins(),
4266
- this.Touch()
4267
- ];
4268
- }
4269
- gap_x() {
4270
- const obj = new this.$.$mol_vector_range(this.gap_left(), this.gap_right());
4271
- return obj;
4272
- }
4273
- gap_y() {
4274
- const obj = new this.$.$mol_vector_range(this.gap_bottom(), this.gap_top());
4275
- return obj;
4276
- }
4277
- shift_limit_x() {
4278
- const obj = new this.$.$mol_vector_range(0, 0);
4279
- return obj;
4280
- }
4281
- shift_limit_y() {
4282
- const obj = new this.$.$mol_vector_range(0, 0);
4283
- return obj;
4284
- }
4285
- scale_limit_x() {
4286
- const obj = new this.$.$mol_vector_range(0, Infinity);
4287
- return obj;
4288
- }
4289
- scale_limit_y() {
4290
- const obj = new this.$.$mol_vector_range(0, -Infinity);
4291
- return obj;
4292
- }
4293
- dimensions_x() {
4294
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4295
- return obj;
4296
- }
4297
- dimensions_y() {
4298
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4299
- return obj;
4300
- }
4301
- dimensions_viewport_x() {
4302
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4303
- return obj;
4304
- }
4305
- dimensions_viewport_y() {
4306
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4307
- return obj;
4308
- }
4309
- graphs_sorted() {
4310
- return [];
4311
- }
4312
- graphs() {
4313
- return [];
4314
- }
4315
- graphs_positioned() {
4316
- return this.graphs();
4317
- }
4318
- graphs_visible() {
4319
- return this.graphs_positioned();
4320
- }
4321
- zoom(next) {
4322
- if (next !== undefined)
4170
+ var $$;
4171
+ (function ($$) {
4172
+ class $mol_plot_graph extends $.$mol_plot_graph {
4173
+ viewport() {
4174
+ const size = this.size_real();
4175
+ return new this.$.$mol_vector_2d(new this.$.$mol_vector_range(0, size.x), new this.$.$mol_vector_range(0, size.y));
4176
+ }
4177
+ indexes() {
4178
+ return this.series_x().map((_, i) => i);
4179
+ }
4180
+ repos_x(val) {
4181
+ return val;
4182
+ }
4183
+ repos_y(val) {
4184
+ return val;
4185
+ }
4186
+ points() {
4187
+ const [shift_x, shift_y] = this.shift();
4188
+ const [scale_x, scale_y] = this.scale();
4189
+ const series_x = this.series_x();
4190
+ const series_y = this.series_y();
4191
+ return this.indexes().map(index => {
4192
+ let point_x = Math.round(shift_x + this.repos_x(series_x[index]) * scale_x);
4193
+ let point_y = Math.round(shift_y + this.repos_y(series_y[index]) * scale_y);
4194
+ point_x = Math.max(Number.MIN_SAFE_INTEGER, Math.min(point_x, Number.MAX_SAFE_INTEGER));
4195
+ point_y = Math.max(Number.MIN_SAFE_INTEGER, Math.min(point_y, Number.MAX_SAFE_INTEGER));
4196
+ return [point_x, point_y];
4197
+ });
4198
+ }
4199
+ series_x() {
4200
+ return this.series_y().map((val, index) => index);
4201
+ }
4202
+ dimensions() {
4203
+ let next = new this.$.$mol_vector_2d($mol_vector_range_full.inversed, $mol_vector_range_full.inversed);
4204
+ const series_x = this.series_x();
4205
+ const series_y = this.series_y();
4206
+ for (let i = 0; i < series_x.length; i++) {
4207
+ if (series_x[i] > next.x.max)
4208
+ next.x.max = series_x[i];
4209
+ if (series_x[i] < next.x.min)
4210
+ next.x.min = series_x[i];
4211
+ if (series_y[i] > next.y.max)
4212
+ next.y.max = series_y[i];
4213
+ if (series_y[i] < next.y.min)
4214
+ next.y.min = series_y[i];
4215
+ }
4323
4216
  return next;
4324
- return 1;
4325
- }
4326
- allow_draw() {
4327
- return true;
4328
- }
4329
- allow_pan() {
4330
- return true;
4331
- }
4332
- allow_zoom() {
4333
- return true;
4334
- }
4335
- draw_start(event) {
4336
- if (event !== undefined)
4337
- return event;
4338
- return null;
4339
- }
4340
- draw(event) {
4341
- if (event !== undefined)
4342
- return event;
4343
- return null;
4344
- }
4345
- draw_end(event) {
4346
- if (event !== undefined)
4347
- return event;
4348
- return null;
4349
- }
4350
- cursor_position() {
4351
- return this.Touch().pointer_center();
4352
- }
4353
- action_type() {
4354
- return this.Touch().action_type();
4355
- }
4356
- action_point() {
4357
- return this.Touch().action_point();
4358
- }
4359
- Touch() {
4360
- const obj = new this.$.$mol_touch();
4361
- obj.zoom = (next) => this.zoom(next);
4362
- obj.pan = (next) => this.shift(next);
4363
- obj.allow_draw = () => this.allow_draw();
4364
- obj.allow_pan = () => this.allow_pan();
4365
- obj.allow_zoom = () => this.allow_zoom();
4366
- obj.draw_start = (event) => this.draw_start(event);
4367
- obj.draw = (event) => this.draw(event);
4368
- obj.draw_end = (event) => this.draw_end(event);
4369
- return obj;
4217
+ }
4218
+ color() {
4219
+ const hue = this.hue();
4220
+ return hue ? `hsl( ${hue} , 100% , 35% )` : '';
4221
+ }
4222
+ front() {
4223
+ return [this];
4224
+ }
4370
4225
  }
4371
- }
4372
- __decorate([
4373
- $mol_mem
4374
- ], $mol_plot_pane.prototype, "hue_base", null);
4375
- __decorate([
4376
- $mol_mem
4377
- ], $mol_plot_pane.prototype, "hue_shift", null);
4378
- __decorate([
4379
- $mol_mem
4380
- ], $mol_plot_pane.prototype, "gap", null);
4381
- __decorate([
4382
- $mol_mem
4383
- ], $mol_plot_pane.prototype, "shift_limit", null);
4384
- __decorate([
4385
- $mol_mem
4386
- ], $mol_plot_pane.prototype, "shift_default", null);
4387
- __decorate([
4388
- $mol_mem
4389
- ], $mol_plot_pane.prototype, "shift", null);
4390
- __decorate([
4391
- $mol_mem
4392
- ], $mol_plot_pane.prototype, "scale_limit", null);
4393
- __decorate([
4394
- $mol_mem
4395
- ], $mol_plot_pane.prototype, "scale_default", null);
4396
- __decorate([
4397
- $mol_mem
4398
- ], $mol_plot_pane.prototype, "scale", null);
4399
- __decorate([
4400
- $mol_mem
4401
- ], $mol_plot_pane.prototype, "scale_x", null);
4402
- __decorate([
4403
- $mol_mem
4404
- ], $mol_plot_pane.prototype, "scale_y", null);
4405
- __decorate([
4406
- $mol_mem
4407
- ], $mol_plot_pane.prototype, "size", null);
4408
- __decorate([
4409
- $mol_mem
4410
- ], $mol_plot_pane.prototype, "size_real", null);
4411
- __decorate([
4412
- $mol_mem
4413
- ], $mol_plot_pane.prototype, "dimensions", null);
4414
- __decorate([
4415
- $mol_mem
4416
- ], $mol_plot_pane.prototype, "dimensions_viewport", null);
4417
- __decorate([
4418
- $mol_mem
4419
- ], $mol_plot_pane.prototype, "gap_x", null);
4420
- __decorate([
4421
- $mol_mem
4422
- ], $mol_plot_pane.prototype, "gap_y", null);
4423
- __decorate([
4424
- $mol_mem
4425
- ], $mol_plot_pane.prototype, "shift_limit_x", null);
4426
- __decorate([
4427
- $mol_mem
4428
- ], $mol_plot_pane.prototype, "shift_limit_y", null);
4429
- __decorate([
4430
- $mol_mem
4431
- ], $mol_plot_pane.prototype, "scale_limit_x", null);
4432
- __decorate([
4433
- $mol_mem
4434
- ], $mol_plot_pane.prototype, "scale_limit_y", null);
4435
- __decorate([
4436
- $mol_mem
4437
- ], $mol_plot_pane.prototype, "dimensions_x", null);
4438
- __decorate([
4439
- $mol_mem
4440
- ], $mol_plot_pane.prototype, "dimensions_y", null);
4441
- __decorate([
4442
- $mol_mem
4443
- ], $mol_plot_pane.prototype, "dimensions_viewport_x", null);
4444
- __decorate([
4445
- $mol_mem
4446
- ], $mol_plot_pane.prototype, "dimensions_viewport_y", null);
4447
- __decorate([
4448
- $mol_mem
4449
- ], $mol_plot_pane.prototype, "zoom", null);
4450
- __decorate([
4451
- $mol_mem
4452
- ], $mol_plot_pane.prototype, "draw_start", null);
4453
- __decorate([
4454
- $mol_mem
4455
- ], $mol_plot_pane.prototype, "draw", null);
4456
- __decorate([
4457
- $mol_mem
4458
- ], $mol_plot_pane.prototype, "draw_end", null);
4459
- __decorate([
4460
- $mol_mem
4461
- ], $mol_plot_pane.prototype, "Touch", null);
4462
- $.$mol_plot_pane = $mol_plot_pane;
4226
+ __decorate([
4227
+ $mol_mem
4228
+ ], $mol_plot_graph.prototype, "indexes", null);
4229
+ __decorate([
4230
+ $mol_mem
4231
+ ], $mol_plot_graph.prototype, "series_x", null);
4232
+ __decorate([
4233
+ $mol_mem
4234
+ ], $mol_plot_graph.prototype, "dimensions", null);
4235
+ $$.$mol_plot_graph = $mol_plot_graph;
4236
+ })($$ = $.$$ || ($.$$ = {}));
4237
+ })($ || ($ = {}));
4238
+
4239
+ ;
4240
+ "use strict";
4241
+ var $;
4242
+ (function ($) {
4243
+ $mol_style_attach("mol/plot/graph/graph.view.css", "[mol_plot_graph] {\n\tstroke: currentColor;\n}\n\n[mol_plot_graph_sample] {\n\tborder-width: 0;\n\tborder-style: solid;\n}\n\n[mol_plot_graph_type=\"dashed\"] {\n\tstroke-dasharray: 4 4;\n\tborder-style: dashed;\n}\n");
4463
4244
  })($ || ($ = {}));
4464
- //mol/plot/pane/-view.tree/pane.view.tree.ts
4245
+
4246
+ ;
4247
+ "use strict";
4248
+
4465
4249
  ;
4466
4250
  "use strict";
4467
4251
  var $;
4468
4252
  (function ($) {
4469
4253
  $.$mol_mem_cached = $mol_wire_probe;
4470
4254
  })($ || ($ = {}));
4471
- //mol/mem/cached/cached.ts
4255
+
4472
4256
  ;
4473
4257
  "use strict";
4474
4258
  var $;
@@ -4670,58 +4454,50 @@ var $;
4670
4454
  $$.$mol_plot_pane = $mol_plot_pane;
4671
4455
  })($$ = $.$$ || ($.$$ = {}));
4672
4456
  })($ || ($ = {}));
4673
- //mol/plot/pane/pane.view.ts
4457
+
4674
4458
  ;
4675
4459
  "use strict";
4676
4460
  var $;
4677
4461
  (function ($) {
4678
4462
  $mol_style_attach("mol/plot/pane/pane.view.css", "[mol_plot_pane] {\n\tcolor: var(--mol_theme_control);\n\tflex: 1 1 auto;\n\talign-self: stretch;\n\tstroke-width: 2px;\n\tuser-select: none;\n}\n");
4679
4463
  })($ || ($ = {}));
4680
- //mol/plot/pane/-css/pane.view.css.ts
4464
+
4465
+ ;
4466
+ ($.$mol_plot_line) = class $mol_plot_line extends ($.$mol_plot_graph) {
4467
+ threshold(){
4468
+ return 1;
4469
+ }
4470
+ spacing(){
4471
+ return 2;
4472
+ }
4473
+ color_fill(){
4474
+ return "none";
4475
+ }
4476
+ dom_name(){
4477
+ return "path";
4478
+ }
4479
+ attr(){
4480
+ return {...(super.attr()), "d": (this.curve())};
4481
+ }
4482
+ sub(){
4483
+ return [(this.Hint())];
4484
+ }
4485
+ Sample(){
4486
+ const obj = new this.$.$mol_plot_graph_sample();
4487
+ (obj.color) = () => ((this.color()));
4488
+ (obj.type) = () => ((this.type()));
4489
+ return obj;
4490
+ }
4491
+ curve(){
4492
+ return "";
4493
+ }
4494
+ };
4495
+ ($mol_mem(($.$mol_plot_line.prototype), "Sample"));
4496
+
4497
+
4681
4498
  ;
4682
4499
  "use strict";
4683
- var $;
4684
- (function ($) {
4685
- class $mol_plot_line extends $mol_plot_graph {
4686
- threshold() {
4687
- return 1;
4688
- }
4689
- spacing() {
4690
- return 2;
4691
- }
4692
- color_fill() {
4693
- return "none";
4694
- }
4695
- dom_name() {
4696
- return "path";
4697
- }
4698
- attr() {
4699
- return {
4700
- ...super.attr(),
4701
- d: this.curve()
4702
- };
4703
- }
4704
- sub() {
4705
- return [
4706
- this.Hint()
4707
- ];
4708
- }
4709
- Sample() {
4710
- const obj = new this.$.$mol_plot_graph_sample();
4711
- obj.color = () => this.color();
4712
- obj.type = () => this.type();
4713
- return obj;
4714
- }
4715
- curve() {
4716
- return "";
4717
- }
4718
- }
4719
- __decorate([
4720
- $mol_mem
4721
- ], $mol_plot_line.prototype, "Sample", null);
4722
- $.$mol_plot_line = $mol_plot_line;
4723
- })($ || ($ = {}));
4724
- //mol/plot/line/-view.tree/line.view.tree.ts
4500
+
4725
4501
  ;
4726
4502
  "use strict";
4727
4503
  var $;
@@ -4780,43 +4556,40 @@ var $;
4780
4556
  $$.$mol_plot_line = $mol_plot_line;
4781
4557
  })($$ = $.$$ || ($.$$ = {}));
4782
4558
  })($ || ($ = {}));
4783
- //mol/plot/line/line.view.ts
4559
+
4784
4560
  ;
4785
4561
  "use strict";
4786
4562
  var $;
4787
4563
  (function ($) {
4788
4564
  $mol_style_attach("mol/plot/line/line.view.css", "[mol_plot_line] {\n\tfill: none;\n\tstroke-linejoin: round;\n}\n\n[mol_plot_line_sample] {\n\theight: 0;\n\tleft: 0;\n\tright: 0;\n\tbottom: 0;\n\tborder-width: 2px 0 0;\n\tposition: absolute;\n\ttop: .75em;\n\ttransform: translateY(-50%);\n}\n");
4789
4565
  })($ || ($ = {}));
4790
- //mol/plot/line/-css/line.view.css.ts
4566
+
4567
+ ;
4568
+ ($.$mol_plot_group) = class $mol_plot_group extends ($.$mol_plot_graph) {
4569
+ sub(){
4570
+ return (this.graphs_enriched());
4571
+ }
4572
+ Sample(){
4573
+ const obj = new this.$.$mol_plot_graph_sample();
4574
+ (obj.sub) = () => ((this.graph_samples()));
4575
+ return obj;
4576
+ }
4577
+ graphs(){
4578
+ return [];
4579
+ }
4580
+ graphs_enriched(){
4581
+ return (this.graphs());
4582
+ }
4583
+ graph_samples(){
4584
+ return [];
4585
+ }
4586
+ };
4587
+ ($mol_mem(($.$mol_plot_group.prototype), "Sample"));
4588
+
4589
+
4791
4590
  ;
4792
4591
  "use strict";
4793
- var $;
4794
- (function ($) {
4795
- class $mol_plot_group extends $mol_plot_graph {
4796
- sub() {
4797
- return this.graphs_enriched();
4798
- }
4799
- Sample() {
4800
- const obj = new this.$.$mol_plot_graph_sample();
4801
- obj.sub = () => this.graph_samples();
4802
- return obj;
4803
- }
4804
- graphs() {
4805
- return [];
4806
- }
4807
- graphs_enriched() {
4808
- return this.graphs();
4809
- }
4810
- graph_samples() {
4811
- return [];
4812
- }
4813
- }
4814
- __decorate([
4815
- $mol_mem
4816
- ], $mol_plot_group.prototype, "Sample", null);
4817
- $.$mol_plot_group = $mol_plot_group;
4818
- })($ || ($ = {}));
4819
- //mol/plot/group/-view.tree/group.view.tree.ts
4592
+
4820
4593
  ;
4821
4594
  "use strict";
4822
4595
  var $;
@@ -4881,77 +4654,62 @@ var $;
4881
4654
  $$.$mol_plot_group = $mol_plot_group;
4882
4655
  })($$ = $.$$ || ($.$$ = {}));
4883
4656
  })($ || ($ = {}));
4884
- //mol/plot/group/group.view.ts
4657
+
4658
+ ;
4659
+ ($.$mol_svg_path) = class $mol_svg_path extends ($.$mol_svg) {
4660
+ dom_name(){
4661
+ return "path";
4662
+ }
4663
+ attr(){
4664
+ return {...(super.attr()), "d": (this.geometry())};
4665
+ }
4666
+ geometry(){
4667
+ return "";
4668
+ }
4669
+ };
4670
+
4671
+
4885
4672
  ;
4886
4673
  "use strict";
4887
- var $;
4888
- (function ($) {
4889
- class $mol_svg_path extends $mol_svg {
4890
- dom_name() {
4891
- return "path";
4892
- }
4893
- attr() {
4894
- return {
4895
- ...super.attr(),
4896
- d: this.geometry()
4897
- };
4898
- }
4899
- geometry() {
4900
- return "";
4901
- }
4902
- }
4903
- $.$mol_svg_path = $mol_svg_path;
4904
- })($ || ($ = {}));
4905
- //mol/svg/path/-view.tree/path.view.tree.ts
4674
+
4675
+ ;
4676
+ ($.$mol_plot_dot) = class $mol_plot_dot extends ($.$mol_plot_graph) {
4677
+ points_max(){
4678
+ return +Infinity;
4679
+ }
4680
+ aspect(){
4681
+ return 1;
4682
+ }
4683
+ style(){
4684
+ return {...(super.style()), "stroke-width": (this.diameter())};
4685
+ }
4686
+ sub(){
4687
+ return [(this.Hint()), (this.Curve())];
4688
+ }
4689
+ Sample(){
4690
+ const obj = new this.$.$mol_plot_graph_sample();
4691
+ (obj.color) = () => ((this.color()));
4692
+ return obj;
4693
+ }
4694
+ diameter(){
4695
+ return 8;
4696
+ }
4697
+ curve(){
4698
+ return "";
4699
+ }
4700
+ Curve(){
4701
+ const obj = new this.$.$mol_svg_path();
4702
+ (obj.geometry) = () => ((this.curve()));
4703
+ return obj;
4704
+ }
4705
+ };
4706
+ ($mol_mem(($.$mol_plot_dot.prototype), "Sample"));
4707
+ ($mol_mem(($.$mol_plot_dot.prototype), "Curve"));
4708
+
4709
+
4906
4710
  ;
4907
4711
  "use strict";
4908
- var $;
4909
- (function ($) {
4910
- class $mol_plot_dot extends $mol_plot_graph {
4911
- points_max() {
4912
- return +Infinity;
4913
- }
4914
- aspect() {
4915
- return 1;
4916
- }
4917
- style() {
4918
- return {
4919
- ...super.style(),
4920
- "stroke-width": this.diameter()
4921
- };
4922
- }
4923
- sub() {
4924
- return [
4925
- this.Hint(),
4926
- this.Curve()
4927
- ];
4928
- }
4929
- Sample() {
4930
- const obj = new this.$.$mol_plot_graph_sample();
4931
- obj.color = () => this.color();
4932
- return obj;
4933
- }
4934
- diameter() {
4935
- return 8;
4936
- }
4937
- curve() {
4938
- return "";
4939
- }
4940
- Curve() {
4941
- const obj = new this.$.$mol_svg_path();
4942
- obj.geometry = () => this.curve();
4943
- return obj;
4944
- }
4945
- }
4946
- __decorate([
4947
- $mol_mem
4948
- ], $mol_plot_dot.prototype, "Sample", null);
4949
- __decorate([
4950
- $mol_mem
4951
- ], $mol_plot_dot.prototype, "Curve", null);
4952
- $.$mol_plot_dot = $mol_plot_dot;
4953
- })($ || ($ = {}));
4954
- //mol/plot/dot/-view.tree/dot.view.tree.ts
4712
+
4955
4713
  ;
4956
4714
  "use strict";
4957
4715
  var $;
@@ -4970,7 +4728,7 @@ var $;
4970
4728
  }
4971
4729
  $.$mol_coord_low = $mol_coord_low;
4972
4730
  })($ || ($ = {}));
4973
- //mol/coord/coord.ts
4731
+
4974
4732
  ;
4975
4733
  "use strict";
4976
4734
  var $;
@@ -5055,79 +4813,70 @@ var $;
5055
4813
  $$.$mol_plot_dot = $mol_plot_dot;
5056
4814
  })($$ = $.$$ || ($.$$ = {}));
5057
4815
  })($ || ($ = {}));
5058
- //mol/plot/dot/dot.view.ts
4816
+
5059
4817
  ;
5060
4818
  "use strict";
5061
4819
  var $;
5062
4820
  (function ($) {
5063
4821
  $mol_style_attach("mol/plot/dot/dot.view.css", "[mol_plot_dot] {\n\tstroke-linecap: round;\n\tfill: none;\n}\n\n[mol_plot_dot_sample] {\n\twidth: .5rem;\n\theight: .5rem;\n\tborder-radius: 1rem;\n\tbackground: currentColor;\n\tposition: absolute;\n\ttop: .75em;\n\tleft: 50%;\n\ttransform: translate(-50%, -50%);\n}\n");
5064
4822
  })($ || ($ = {}));
5065
- //mol/plot/dot/-css/dot.view.css.ts
4823
+
4824
+ ;
4825
+ ($.$mol_plot_map_heat) = class $mol_plot_map_heat extends ($.$mol_plot_group) {
4826
+ series_z(){
4827
+ return [];
4828
+ }
4829
+ graphs(){
4830
+ return (this.level_graphs());
4831
+ }
4832
+ Level(id){
4833
+ const obj = new this.$.$mol_plot_map_heat_level();
4834
+ (obj.hint) = () => ((this.level_hint(id)));
4835
+ (obj.points) = () => ((this.level_points(id)));
4836
+ (obj.opacity) = () => ((this.level_opacity(id)));
4837
+ (obj.diameter) = () => ((this.level_diameter()));
4838
+ (obj.aspect) = () => ((this.level_aspect()));
4839
+ return obj;
4840
+ }
4841
+ Sample(){
4842
+ const obj = new this.$.$mol_plot_graph_sample();
4843
+ (obj.color) = () => ((this.color()));
4844
+ return obj;
4845
+ }
4846
+ level_graphs(){
4847
+ return [];
4848
+ }
4849
+ level_hint(id){
4850
+ return "";
4851
+ }
4852
+ level_points(id){
4853
+ return [];
4854
+ }
4855
+ level_opacity(id){
4856
+ return "1";
4857
+ }
4858
+ level_diameter(){
4859
+ return 10;
4860
+ }
4861
+ level_aspect(){
4862
+ return 1;
4863
+ }
4864
+ };
4865
+ ($mol_mem_key(($.$mol_plot_map_heat.prototype), "Level"));
4866
+ ($mol_mem(($.$mol_plot_map_heat.prototype), "Sample"));
4867
+ ($.$mol_plot_map_heat_level) = class $mol_plot_map_heat_level extends ($.$mol_plot_dot) {
4868
+ style(){
4869
+ return {...(super.style()), "opacity": (this.opacity())};
4870
+ }
4871
+ opacity(){
4872
+ return "1";
4873
+ }
4874
+ };
4875
+
4876
+
5066
4877
  ;
5067
4878
  "use strict";
5068
- var $;
5069
- (function ($) {
5070
- class $mol_plot_map_heat extends $mol_plot_group {
5071
- series_z() {
5072
- return [];
5073
- }
5074
- graphs() {
5075
- return this.level_graphs();
5076
- }
5077
- Level(id) {
5078
- const obj = new this.$.$mol_plot_map_heat_level();
5079
- obj.hint = () => this.level_hint(id);
5080
- obj.points = () => this.level_points(id);
5081
- obj.opacity = () => this.level_opacity(id);
5082
- obj.diameter = () => this.level_diameter();
5083
- obj.aspect = () => this.level_aspect();
5084
- return obj;
5085
- }
5086
- Sample() {
5087
- const obj = new this.$.$mol_plot_graph_sample();
5088
- obj.color = () => this.color();
5089
- return obj;
5090
- }
5091
- level_graphs() {
5092
- return [];
5093
- }
5094
- level_hint(id) {
5095
- return "";
5096
- }
5097
- level_points(id) {
5098
- return [];
5099
- }
5100
- level_opacity(id) {
5101
- return "1";
5102
- }
5103
- level_diameter() {
5104
- return 10;
5105
- }
5106
- level_aspect() {
5107
- return 1;
5108
- }
5109
- }
5110
- __decorate([
5111
- $mol_mem_key
5112
- ], $mol_plot_map_heat.prototype, "Level", null);
5113
- __decorate([
5114
- $mol_mem
5115
- ], $mol_plot_map_heat.prototype, "Sample", null);
5116
- $.$mol_plot_map_heat = $mol_plot_map_heat;
5117
- class $mol_plot_map_heat_level extends $mol_plot_dot {
5118
- style() {
5119
- return {
5120
- ...super.style(),
5121
- opacity: this.opacity()
5122
- };
5123
- }
5124
- opacity() {
5125
- return "1";
5126
- }
5127
- }
5128
- $.$mol_plot_map_heat_level = $mol_plot_map_heat_level;
5129
- })($ || ($ = {}));
5130
- //mol/plot/map/heat/-view.tree/heat.view.tree.ts
4879
+
5131
4880
  ;
5132
4881
  "use strict";
5133
4882
  var $;
@@ -5190,57 +4939,46 @@ var $;
5190
4939
  $$.$mol_plot_map_heat = $mol_plot_map_heat;
5191
4940
  })($$ = $.$$ || ($.$$ = {}));
5192
4941
  })($ || ($ = {}));
5193
- //mol/plot/map/heat/heat.view.ts
5194
- ;
5195
- "use strict";
5196
- var $;
5197
- (function ($) {
5198
- $mol_style_attach("mol/plot/map/heat/heat.view.css", "[mol_plot_map_heat_level_curve] {\n\tstroke-linecap: square;\n\tfill: none;\n}\n");
5199
- })($ || ($ = {}));
5200
- //mol/plot/map/heat/-css/heat.view.css.ts
4942
+
5201
4943
  ;
5202
4944
  "use strict";
5203
4945
  var $;
5204
- (function ($) {
5205
- class $mol_plot_bar extends $mol_plot_graph {
5206
- style() {
5207
- return {
5208
- ...super.style(),
5209
- "stroke-width": this.stroke_width()
5210
- };
5211
- }
5212
- sub() {
5213
- return [
5214
- this.Hint(),
5215
- this.Curve()
5216
- ];
5217
- }
5218
- Sample() {
5219
- const obj = new this.$.$mol_plot_graph_sample();
5220
- obj.color = () => this.color();
5221
- return obj;
5222
- }
5223
- stroke_width() {
5224
- return "1rem";
5225
- }
5226
- curve() {
5227
- return "";
5228
- }
5229
- Curve() {
5230
- const obj = new this.$.$mol_svg_path();
5231
- obj.geometry = () => this.curve();
5232
- return obj;
5233
- }
5234
- }
5235
- __decorate([
5236
- $mol_mem
5237
- ], $mol_plot_bar.prototype, "Sample", null);
5238
- __decorate([
5239
- $mol_mem
5240
- ], $mol_plot_bar.prototype, "Curve", null);
5241
- $.$mol_plot_bar = $mol_plot_bar;
4946
+ (function ($) {
4947
+ $mol_style_attach("mol/plot/map/heat/heat.view.css", "[mol_plot_map_heat_level_curve] {\n\tstroke-linecap: square;\n\tfill: none;\n}\n");
5242
4948
  })($ || ($ = {}));
5243
- //mol/plot/bar/-view.tree/bar.view.tree.ts
4949
+
4950
+ ;
4951
+ ($.$mol_plot_bar) = class $mol_plot_bar extends ($.$mol_plot_graph) {
4952
+ style(){
4953
+ return {...(super.style()), "stroke-width": (this.stroke_width())};
4954
+ }
4955
+ sub(){
4956
+ return [(this.Hint()), (this.Curve())];
4957
+ }
4958
+ Sample(){
4959
+ const obj = new this.$.$mol_plot_graph_sample();
4960
+ (obj.color) = () => ((this.color()));
4961
+ return obj;
4962
+ }
4963
+ stroke_width(){
4964
+ return "1rem";
4965
+ }
4966
+ curve(){
4967
+ return "";
4968
+ }
4969
+ Curve(){
4970
+ const obj = new this.$.$mol_svg_path();
4971
+ (obj.geometry) = () => ((this.curve()));
4972
+ return obj;
4973
+ }
4974
+ };
4975
+ ($mol_mem(($.$mol_plot_bar.prototype), "Sample"));
4976
+ ($mol_mem(($.$mol_plot_bar.prototype), "Curve"));
4977
+
4978
+
4979
+ ;
4980
+ "use strict";
4981
+
5244
4982
  ;
5245
4983
  "use strict";
5246
4984
  var $;
@@ -5322,26 +5060,25 @@ var $;
5322
5060
  $$.$mol_plot_bar = $mol_plot_bar;
5323
5061
  })($$ = $.$$ || ($.$$ = {}));
5324
5062
  })($ || ($ = {}));
5325
- //mol/plot/bar/bar.view.ts
5063
+
5326
5064
  ;
5327
5065
  "use strict";
5328
5066
  var $;
5329
5067
  (function ($) {
5330
5068
  $mol_style_attach("mol/plot/bar/bar.view.css", "[mol_plot_bar] {\n\tstroke-linecap: butt;\n\tstroke-width: 1rem;\n}\n\n[mol_plot_bar_sample] {\n\tbackground: currentColor;\n\tposition: absolute;\n\ttop:0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n}\n");
5331
5069
  })($ || ($ = {}));
5332
- //mol/plot/bar/-css/bar.view.css.ts
5070
+
5071
+ ;
5072
+ ($.$mol_plot_fill) = class $mol_plot_fill extends ($.$mol_plot_line) {
5073
+ threshold(){
5074
+ return 4;
5075
+ }
5076
+ };
5077
+
5078
+
5333
5079
  ;
5334
5080
  "use strict";
5335
- var $;
5336
- (function ($) {
5337
- class $mol_plot_fill extends $mol_plot_line {
5338
- threshold() {
5339
- return 4;
5340
- }
5341
- }
5342
- $.$mol_plot_fill = $mol_plot_fill;
5343
- })($ || ($ = {}));
5344
- //mol/plot/fill/-view.tree/fill.view.tree.ts
5081
+
5345
5082
  ;
5346
5083
  "use strict";
5347
5084
  var $;
@@ -5367,61 +5104,58 @@ var $;
5367
5104
  $$.$mol_plot_fill = $mol_plot_fill;
5368
5105
  })($$ = $.$$ || ($.$$ = {}));
5369
5106
  })($ || ($ = {}));
5370
- //mol/plot/fill/fill.view.ts
5107
+
5371
5108
  ;
5372
5109
  "use strict";
5373
5110
  var $;
5374
5111
  (function ($) {
5375
5112
  $mol_style_attach("mol/plot/fill/fill.view.css", "[mol_plot_fill] {\n\tstroke: none;\n\tstroke-width: 0;\n\topacity: .1;\n\tfill: currentColor;\n\tpointer-events: none;\n}\n\n[mol_plot_fill_sample] {\n\topacity: .1;\n\tbackground: currentColor;\n\tposition: absolute;\n\tbottom: 0;\n\ttop: .75em;\n\tleft: 0;\n\tright: 0;\n}\n");
5376
5113
  })($ || ($ = {}));
5377
- //mol/plot/fill/-css/fill.view.css.ts
5114
+
5115
+ ;
5116
+ ($.$mol_svg_text) = class $mol_svg_text extends ($.$mol_svg) {
5117
+ dom_name(){
5118
+ return "text";
5119
+ }
5120
+ pos(){
5121
+ return [];
5122
+ }
5123
+ attr(){
5124
+ return {
5125
+ ...(super.attr()),
5126
+ "x": (this.pos_x()),
5127
+ "y": (this.pos_y()),
5128
+ "text-anchor": (this.align_hor()),
5129
+ "alignment-baseline": (this.align_vert())
5130
+ };
5131
+ }
5132
+ sub(){
5133
+ return [(this.text())];
5134
+ }
5135
+ pos_x(){
5136
+ return "";
5137
+ }
5138
+ pos_y(){
5139
+ return "";
5140
+ }
5141
+ align(){
5142
+ return "middle";
5143
+ }
5144
+ align_hor(){
5145
+ return (this.align());
5146
+ }
5147
+ align_vert(){
5148
+ return "baseline";
5149
+ }
5150
+ text(){
5151
+ return "";
5152
+ }
5153
+ };
5154
+
5155
+
5378
5156
  ;
5379
5157
  "use strict";
5380
- var $;
5381
- (function ($) {
5382
- class $mol_svg_text extends $mol_svg {
5383
- dom_name() {
5384
- return "text";
5385
- }
5386
- pos() {
5387
- return [];
5388
- }
5389
- attr() {
5390
- return {
5391
- ...super.attr(),
5392
- x: this.pos_x(),
5393
- y: this.pos_y(),
5394
- "text-anchor": this.align_hor(),
5395
- "alignment-baseline": this.align_vert()
5396
- };
5397
- }
5398
- sub() {
5399
- return [
5400
- this.text()
5401
- ];
5402
- }
5403
- pos_x() {
5404
- return "";
5405
- }
5406
- pos_y() {
5407
- return "";
5408
- }
5409
- align() {
5410
- return "middle";
5411
- }
5412
- align_hor() {
5413
- return this.align();
5414
- }
5415
- align_vert() {
5416
- return "baseline";
5417
- }
5418
- text() {
5419
- return "";
5420
- }
5421
- }
5422
- $.$mol_svg_text = $mol_svg_text;
5423
- })($ || ($ = {}));
5424
- //mol/svg/text/-view.tree/text.view.tree.ts
5158
+
5425
5159
  ;
5426
5160
  "use strict";
5427
5161
  var $;
@@ -5439,50 +5173,49 @@ var $;
5439
5173
  $$.$mol_svg_text = $mol_svg_text;
5440
5174
  })($$ = $.$$ || ($.$$ = {}));
5441
5175
  })($ || ($ = {}));
5442
- //mol/svg/text/text.view.ts
5176
+
5443
5177
  ;
5444
5178
  "use strict";
5445
5179
  var $;
5446
5180
  (function ($) {
5447
5181
  $mol_style_attach("mol/svg/text/text.view.css", "[mol_svg_text] {\n\tfill: currentColor;\n\tstroke: none;\n}\n");
5448
5182
  })($ || ($ = {}));
5449
- //mol/svg/text/-css/text.view.css.ts
5183
+
5184
+ ;
5185
+ ($.$mol_svg_rect) = class $mol_svg_rect extends ($.$mol_svg) {
5186
+ dom_name(){
5187
+ return "rect";
5188
+ }
5189
+ pos(){
5190
+ return [];
5191
+ }
5192
+ attr(){
5193
+ return {
5194
+ ...(super.attr()),
5195
+ "width": (this.width()),
5196
+ "height": (this.height()),
5197
+ "x": (this.pos_x()),
5198
+ "y": (this.pos_y())
5199
+ };
5200
+ }
5201
+ width(){
5202
+ return "0";
5203
+ }
5204
+ height(){
5205
+ return "0";
5206
+ }
5207
+ pos_x(){
5208
+ return "";
5209
+ }
5210
+ pos_y(){
5211
+ return "";
5212
+ }
5213
+ };
5214
+
5215
+
5450
5216
  ;
5451
5217
  "use strict";
5452
- var $;
5453
- (function ($) {
5454
- class $mol_svg_rect extends $mol_svg {
5455
- dom_name() {
5456
- return "rect";
5457
- }
5458
- pos() {
5459
- return [];
5460
- }
5461
- attr() {
5462
- return {
5463
- ...super.attr(),
5464
- width: this.width(),
5465
- height: this.height(),
5466
- x: this.pos_x(),
5467
- y: this.pos_y()
5468
- };
5469
- }
5470
- width() {
5471
- return "0";
5472
- }
5473
- height() {
5474
- return "0";
5475
- }
5476
- pos_x() {
5477
- return "";
5478
- }
5479
- pos_y() {
5480
- return "";
5481
- }
5482
- }
5483
- $.$mol_svg_rect = $mol_svg_rect;
5484
- })($ || ($ = {}));
5485
- //mol/svg/rect/-view.tree/rect.view.tree.ts
5218
+
5486
5219
  ;
5487
5220
  "use strict";
5488
5221
  var $;
@@ -5500,149 +5233,130 @@ var $;
5500
5233
  $$.$mol_svg_rect = $mol_svg_rect;
5501
5234
  })($$ = $.$$ || ($.$$ = {}));
5502
5235
  })($ || ($ = {}));
5503
- //mol/svg/rect/rect.view.ts
5236
+
5237
+ ;
5238
+ ($.$mol_plot_ruler) = class $mol_plot_ruler extends ($.$mol_plot_graph) {
5239
+ step(){
5240
+ return 0;
5241
+ }
5242
+ scale_axis(){
5243
+ return 1;
5244
+ }
5245
+ scale_step(){
5246
+ return 1;
5247
+ }
5248
+ shift_axis(){
5249
+ return 1;
5250
+ }
5251
+ dimensions_axis(){
5252
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5253
+ return obj;
5254
+ }
5255
+ viewport_axis(){
5256
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5257
+ return obj;
5258
+ }
5259
+ axis_points(){
5260
+ return [];
5261
+ }
5262
+ normalize(next){
5263
+ if(next !== undefined) return next;
5264
+ return 0;
5265
+ }
5266
+ precision(){
5267
+ return 1;
5268
+ }
5269
+ sub(){
5270
+ return [
5271
+ (this.Background()),
5272
+ (this.Curve()),
5273
+ (this.labels_formatted()),
5274
+ (this.Title())
5275
+ ];
5276
+ }
5277
+ Label(id){
5278
+ const obj = new this.$.$mol_svg_text();
5279
+ (obj.pos) = () => ((this.label_pos(id)));
5280
+ (obj.text) = () => ((this.label_text(id)));
5281
+ (obj.align) = () => ((this.label_align()));
5282
+ return obj;
5283
+ }
5284
+ background_x(){
5285
+ return "0";
5286
+ }
5287
+ background_y(){
5288
+ return "0";
5289
+ }
5290
+ background_width(){
5291
+ return "100%";
5292
+ }
5293
+ background_height(){
5294
+ return "14";
5295
+ }
5296
+ Background(){
5297
+ const obj = new this.$.$mol_svg_rect();
5298
+ (obj.pos_x) = () => ((this.background_x()));
5299
+ (obj.pos_y) = () => ((this.background_y()));
5300
+ (obj.width) = () => ((this.background_width()));
5301
+ (obj.height) = () => ((this.background_height()));
5302
+ return obj;
5303
+ }
5304
+ curve(){
5305
+ return "";
5306
+ }
5307
+ Curve(){
5308
+ const obj = new this.$.$mol_svg_path();
5309
+ (obj.geometry) = () => ((this.curve()));
5310
+ return obj;
5311
+ }
5312
+ labels_formatted(){
5313
+ return [];
5314
+ }
5315
+ title_pos_x(){
5316
+ return "0";
5317
+ }
5318
+ title_pos_y(){
5319
+ return "100%";
5320
+ }
5321
+ title_align(){
5322
+ return "start";
5323
+ }
5324
+ Title(){
5325
+ const obj = new this.$.$mol_svg_text();
5326
+ (obj.pos_x) = () => ((this.title_pos_x()));
5327
+ (obj.pos_y) = () => ((this.title_pos_y()));
5328
+ (obj.align) = () => ((this.title_align()));
5329
+ (obj.text) = () => ((this.title()));
5330
+ return obj;
5331
+ }
5332
+ label_pos_x(id){
5333
+ return "";
5334
+ }
5335
+ label_pos_y(id){
5336
+ return "";
5337
+ }
5338
+ label_pos(id){
5339
+ return [(this.label_pos_x(id)), (this.label_pos_y(id))];
5340
+ }
5341
+ label_text(id){
5342
+ return "";
5343
+ }
5344
+ label_align(){
5345
+ return "";
5346
+ }
5347
+ };
5348
+ ($mol_mem(($.$mol_plot_ruler.prototype), "dimensions_axis"));
5349
+ ($mol_mem(($.$mol_plot_ruler.prototype), "viewport_axis"));
5350
+ ($mol_mem(($.$mol_plot_ruler.prototype), "normalize"));
5351
+ ($mol_mem_key(($.$mol_plot_ruler.prototype), "Label"));
5352
+ ($mol_mem(($.$mol_plot_ruler.prototype), "Background"));
5353
+ ($mol_mem(($.$mol_plot_ruler.prototype), "Curve"));
5354
+ ($mol_mem(($.$mol_plot_ruler.prototype), "Title"));
5355
+
5356
+
5504
5357
  ;
5505
5358
  "use strict";
5506
- var $;
5507
- (function ($) {
5508
- class $mol_plot_ruler extends $mol_plot_graph {
5509
- step() {
5510
- return 0;
5511
- }
5512
- scale_axis() {
5513
- return 1;
5514
- }
5515
- scale_step() {
5516
- return 1;
5517
- }
5518
- shift_axis() {
5519
- return 1;
5520
- }
5521
- dimensions_axis() {
5522
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5523
- return obj;
5524
- }
5525
- viewport_axis() {
5526
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5527
- return obj;
5528
- }
5529
- axis_points() {
5530
- return [];
5531
- }
5532
- normalize(next) {
5533
- if (next !== undefined)
5534
- return next;
5535
- return 0;
5536
- }
5537
- precision() {
5538
- return 1;
5539
- }
5540
- sub() {
5541
- return [
5542
- this.Background(),
5543
- this.Curve(),
5544
- this.labels_formatted(),
5545
- this.Title()
5546
- ];
5547
- }
5548
- Label(id) {
5549
- const obj = new this.$.$mol_svg_text();
5550
- obj.pos = () => this.label_pos(id);
5551
- obj.text = () => this.label_text(id);
5552
- obj.align = () => this.label_align();
5553
- return obj;
5554
- }
5555
- background_x() {
5556
- return "0";
5557
- }
5558
- background_y() {
5559
- return "0";
5560
- }
5561
- background_width() {
5562
- return "100%";
5563
- }
5564
- background_height() {
5565
- return "14";
5566
- }
5567
- Background() {
5568
- const obj = new this.$.$mol_svg_rect();
5569
- obj.pos_x = () => this.background_x();
5570
- obj.pos_y = () => this.background_y();
5571
- obj.width = () => this.background_width();
5572
- obj.height = () => this.background_height();
5573
- return obj;
5574
- }
5575
- curve() {
5576
- return "";
5577
- }
5578
- Curve() {
5579
- const obj = new this.$.$mol_svg_path();
5580
- obj.geometry = () => this.curve();
5581
- return obj;
5582
- }
5583
- labels_formatted() {
5584
- return [];
5585
- }
5586
- title_pos_x() {
5587
- return "0";
5588
- }
5589
- title_pos_y() {
5590
- return "100%";
5591
- }
5592
- title_align() {
5593
- return "start";
5594
- }
5595
- Title() {
5596
- const obj = new this.$.$mol_svg_text();
5597
- obj.pos_x = () => this.title_pos_x();
5598
- obj.pos_y = () => this.title_pos_y();
5599
- obj.align = () => this.title_align();
5600
- obj.text = () => this.title();
5601
- return obj;
5602
- }
5603
- label_pos_x(id) {
5604
- return "";
5605
- }
5606
- label_pos_y(id) {
5607
- return "";
5608
- }
5609
- label_pos(id) {
5610
- return [
5611
- this.label_pos_x(id),
5612
- this.label_pos_y(id)
5613
- ];
5614
- }
5615
- label_text(id) {
5616
- return "";
5617
- }
5618
- label_align() {
5619
- return "";
5620
- }
5621
- }
5622
- __decorate([
5623
- $mol_mem
5624
- ], $mol_plot_ruler.prototype, "dimensions_axis", null);
5625
- __decorate([
5626
- $mol_mem
5627
- ], $mol_plot_ruler.prototype, "viewport_axis", null);
5628
- __decorate([
5629
- $mol_mem
5630
- ], $mol_plot_ruler.prototype, "normalize", null);
5631
- __decorate([
5632
- $mol_mem_key
5633
- ], $mol_plot_ruler.prototype, "Label", null);
5634
- __decorate([
5635
- $mol_mem
5636
- ], $mol_plot_ruler.prototype, "Background", null);
5637
- __decorate([
5638
- $mol_mem
5639
- ], $mol_plot_ruler.prototype, "Curve", null);
5640
- __decorate([
5641
- $mol_mem
5642
- ], $mol_plot_ruler.prototype, "Title", null);
5643
- $.$mol_plot_ruler = $mol_plot_ruler;
5644
- })($ || ($ = {}));
5645
- //mol/plot/ruler/-view.tree/ruler.view.tree.ts
5359
+
5646
5360
  ;
5647
5361
  "use strict";
5648
5362
  var $;
@@ -5659,7 +5373,7 @@ var $;
5659
5373
  }
5660
5374
  $.$mol_math_round_expand = $mol_math_round_expand;
5661
5375
  })($ || ($ = {}));
5662
- //mol/math/round/expand/expand.ts
5376
+
5663
5377
  ;
5664
5378
  "use strict";
5665
5379
  var $;
@@ -5746,41 +5460,40 @@ var $;
5746
5460
  $$.$mol_plot_ruler = $mol_plot_ruler;
5747
5461
  })($$ = $.$$ || ($.$$ = {}));
5748
5462
  })($ || ($ = {}));
5749
- //mol/plot/ruler/ruler.view.ts
5463
+
5750
5464
  ;
5751
5465
  "use strict";
5752
5466
  var $;
5753
5467
  (function ($) {
5754
5468
  $mol_style_attach("mol/plot/ruler/ruler.view.css", "[mol_plot_ruler_curve] {\n\tcolor: var(--mol_theme_line);\n\tstroke-width: 1px;\n\tstroke: currentColor;\n}\n\n[mol_plot_ruler_label] {\n\tcolor: var(--mol_theme_text);\n\ttext-shadow: 0 -1px var(--mol_theme_back), 0px 1px var(--mol_theme_back);\n}\n\n[mol_plot_ruler_title] {\n\tcolor: var(--mol_theme_shade);\n\tbackground-color: var(--mol_theme_back);\n\ttext-shadow: 0 -1px var(--mol_theme_back), 0px 1px var(--mol_theme_back);\n}\n\n[mol_plot_ruler_background] {\n\tstroke: none;\n\tfill: var(--mol_theme_back);\n\topacity: 0.8;\n}\n");
5755
5469
  })($ || ($ = {}));
5756
- //mol/plot/ruler/-css/ruler.view.css.ts
5470
+
5471
+ ;
5472
+ ($.$mol_plot_ruler_vert) = class $mol_plot_ruler_vert extends ($.$mol_plot_ruler) {
5473
+ title_align(){
5474
+ return "end";
5475
+ }
5476
+ label_align(){
5477
+ return "end";
5478
+ }
5479
+ title_pos_y(){
5480
+ return "14";
5481
+ }
5482
+ label_pos_x(id){
5483
+ return (this.title_pos_x());
5484
+ }
5485
+ background_height(){
5486
+ return "100%";
5487
+ }
5488
+ background_width(){
5489
+ return (this.title_pos_x());
5490
+ }
5491
+ };
5492
+
5493
+
5757
5494
  ;
5758
5495
  "use strict";
5759
- var $;
5760
- (function ($) {
5761
- class $mol_plot_ruler_vert extends $mol_plot_ruler {
5762
- title_align() {
5763
- return "end";
5764
- }
5765
- label_align() {
5766
- return "end";
5767
- }
5768
- title_pos_y() {
5769
- return "14";
5770
- }
5771
- label_pos_x(id) {
5772
- return this.title_pos_x();
5773
- }
5774
- background_height() {
5775
- return "100%";
5776
- }
5777
- background_width() {
5778
- return this.title_pos_x();
5779
- }
5780
- }
5781
- $.$mol_plot_ruler_vert = $mol_plot_ruler_vert;
5782
- })($ || ($ = {}));
5783
- //mol/plot/ruler/vert/-view.tree/vert.view.tree.ts
5496
+
5784
5497
  ;
5785
5498
  "use strict";
5786
5499
  var $;
@@ -5822,41 +5535,40 @@ var $;
5822
5535
  $$.$mol_plot_ruler_vert = $mol_plot_ruler_vert;
5823
5536
  })($$ = $.$$ || ($.$$ = {}));
5824
5537
  })($ || ($ = {}));
5825
- //mol/plot/ruler/vert/vert.view.ts
5538
+
5826
5539
  ;
5827
5540
  "use strict";
5828
5541
  var $;
5829
5542
  (function ($) {
5830
5543
  $mol_style_attach("mol/plot/ruler/vert/vert.view.css", "[mol_plot_ruler_vert_label] {\n\ttransform: translateY( 4px );\n}\n");
5831
5544
  })($ || ($ = {}));
5832
- //mol/plot/ruler/vert/-css/vert.view.css.ts
5545
+
5546
+ ;
5547
+ ($.$mol_plot_ruler_hor) = class $mol_plot_ruler_hor extends ($.$mol_plot_ruler) {
5548
+ title_align(){
5549
+ return "start";
5550
+ }
5551
+ label_align(){
5552
+ return "middle";
5553
+ }
5554
+ title_pos_x(){
5555
+ return "0";
5556
+ }
5557
+ title_pos_y(){
5558
+ return "100%";
5559
+ }
5560
+ label_pos_y(id){
5561
+ return (this.title_pos_y());
5562
+ }
5563
+ background_width(){
5564
+ return "100%";
5565
+ }
5566
+ };
5567
+
5568
+
5833
5569
  ;
5834
5570
  "use strict";
5835
- var $;
5836
- (function ($) {
5837
- class $mol_plot_ruler_hor extends $mol_plot_ruler {
5838
- title_align() {
5839
- return "start";
5840
- }
5841
- label_align() {
5842
- return "middle";
5843
- }
5844
- title_pos_x() {
5845
- return "0";
5846
- }
5847
- title_pos_y() {
5848
- return "100%";
5849
- }
5850
- label_pos_y(id) {
5851
- return this.title_pos_y();
5852
- }
5853
- background_width() {
5854
- return "100%";
5855
- }
5856
- }
5857
- $.$mol_plot_ruler_hor = $mol_plot_ruler_hor;
5858
- })($ || ($ = {}));
5859
- //mol/plot/ruler/hor/-view.tree/hor.view.tree.ts
5571
+
5860
5572
  ;
5861
5573
  "use strict";
5862
5574
  var $;
@@ -5904,87 +5616,71 @@ var $;
5904
5616
  $$.$mol_plot_ruler_hor = $mol_plot_ruler_hor;
5905
5617
  })($$ = $.$$ || ($.$$ = {}));
5906
5618
  })($ || ($ = {}));
5907
- //mol/plot/ruler/hor/hor.view.ts
5619
+
5908
5620
  ;
5909
5621
  "use strict";
5910
5622
  var $;
5911
5623
  (function ($) {
5912
5624
  $mol_style_attach("mol/plot/ruler/hor/hor.view.css", "[mol_plot_ruler_hor_label] {\n\ttransform: translateY( -4px );\n}\n\n[mol_plot_ruler_hor_title] {\n\ttransform: translateY( -4px );\n}\n");
5913
5625
  })($ || ($ = {}));
5914
- //mol/plot/ruler/hor/-css/hor.view.css.ts
5626
+
5627
+ ;
5628
+ ($.$mol_svg_text_box) = class $mol_svg_text_box extends ($.$mol_svg_group) {
5629
+ font_size(){
5630
+ return 16;
5631
+ }
5632
+ width(){
5633
+ return 0;
5634
+ }
5635
+ sub(){
5636
+ return [(this.Back()), (this.Text())];
5637
+ }
5638
+ box_width(){
5639
+ return "0.5rem";
5640
+ }
5641
+ box_height(){
5642
+ return "1rem";
5643
+ }
5644
+ box_pos_x(){
5645
+ return (this.pos_x());
5646
+ }
5647
+ box_pos_y(){
5648
+ return "0";
5649
+ }
5650
+ Back(){
5651
+ const obj = new this.$.$mol_svg_rect();
5652
+ (obj.width) = () => ((this.box_width()));
5653
+ (obj.height) = () => ((this.box_height()));
5654
+ (obj.pos) = () => ([(this.box_pos_x()), (this.box_pos_y())]);
5655
+ return obj;
5656
+ }
5657
+ pos_x(){
5658
+ return "0";
5659
+ }
5660
+ pos_y(){
5661
+ return "100%";
5662
+ }
5663
+ align(){
5664
+ return "start";
5665
+ }
5666
+ text(){
5667
+ return "";
5668
+ }
5669
+ Text(){
5670
+ const obj = new this.$.$mol_svg_text();
5671
+ (obj.pos) = () => ([(this.pos_x()), (this.pos_y())]);
5672
+ (obj.align) = () => ((this.align()));
5673
+ (obj.sub) = () => ([(this.text())]);
5674
+ return obj;
5675
+ }
5676
+ };
5677
+ ($mol_mem(($.$mol_svg_text_box.prototype), "Back"));
5678
+ ($mol_mem(($.$mol_svg_text_box.prototype), "Text"));
5679
+
5680
+
5915
5681
  ;
5916
5682
  "use strict";
5917
- var $;
5918
- (function ($) {
5919
- class $mol_svg_text_box extends $mol_svg_group {
5920
- font_size() {
5921
- return 16;
5922
- }
5923
- width() {
5924
- return 0;
5925
- }
5926
- sub() {
5927
- return [
5928
- this.Back(),
5929
- this.Text()
5930
- ];
5931
- }
5932
- box_width() {
5933
- return "0.5rem";
5934
- }
5935
- box_height() {
5936
- return "1rem";
5937
- }
5938
- box_pos_x() {
5939
- return this.pos_x();
5940
- }
5941
- box_pos_y() {
5942
- return "0";
5943
- }
5944
- Back() {
5945
- const obj = new this.$.$mol_svg_rect();
5946
- obj.width = () => this.box_width();
5947
- obj.height = () => this.box_height();
5948
- obj.pos = () => [
5949
- this.box_pos_x(),
5950
- this.box_pos_y()
5951
- ];
5952
- return obj;
5953
- }
5954
- pos_x() {
5955
- return "0";
5956
- }
5957
- pos_y() {
5958
- return "100%";
5959
- }
5960
- align() {
5961
- return "start";
5962
- }
5963
- text() {
5964
- return "";
5965
- }
5966
- Text() {
5967
- const obj = new this.$.$mol_svg_text();
5968
- obj.pos = () => [
5969
- this.pos_x(),
5970
- this.pos_y()
5971
- ];
5972
- obj.align = () => this.align();
5973
- obj.sub = () => [
5974
- this.text()
5975
- ];
5976
- return obj;
5977
- }
5978
- }
5979
- __decorate([
5980
- $mol_mem
5981
- ], $mol_svg_text_box.prototype, "Back", null);
5982
- __decorate([
5983
- $mol_mem
5984
- ], $mol_svg_text_box.prototype, "Text", null);
5985
- $.$mol_svg_text_box = $mol_svg_text_box;
5986
- })($ || ($ = {}));
5987
- //mol/svg/text/box/-view.tree/box.view.tree.ts
5683
+
5988
5684
  ;
5989
5685
  "use strict";
5990
5686
  var $;
@@ -5997,7 +5693,7 @@ var $;
5997
5693
  }
5998
5694
  $.$mol_font_canvas = $mol_font_canvas;
5999
5695
  })($ || ($ = {}));
6000
- //mol/font/canvas/canvas.ts
5696
+
6001
5697
  ;
6002
5698
  "use strict";
6003
5699
  var $;
@@ -6009,7 +5705,7 @@ var $;
6009
5705
  }
6010
5706
  $.$mol_font_measure = $mol_font_measure;
6011
5707
  })($ || ($ = {}));
6012
- //mol/font/measure/measure.ts
5708
+
6013
5709
  ;
6014
5710
  "use strict";
6015
5711
  var $;
@@ -6041,115 +5737,102 @@ var $;
6041
5737
  $$.$mol_svg_text_box = $mol_svg_text_box;
6042
5738
  })($$ = $.$$ || ($.$$ = {}));
6043
5739
  })($ || ($ = {}));
6044
- //mol/svg/text/box/box.view.ts
5740
+
6045
5741
  ;
6046
5742
  "use strict";
6047
5743
  var $;
6048
5744
  (function ($) {
6049
5745
  $mol_style_attach("mol/svg/text/box/box.view.css", "[mol_svg_text_box_back] {\n\tstroke: none;\n\tfill: var(--mol_theme_back);\n\ttransition: none;\n}\n");
6050
5746
  })($ || ($ = {}));
6051
- //mol/svg/text/box/-css/box.view.css.ts
5747
+
5748
+ ;
5749
+ ($.$mol_plot_mark_cross) = class $mol_plot_mark_cross extends ($.$mol_plot_graph) {
5750
+ labels(){
5751
+ return [];
5752
+ }
5753
+ title_x_gap(){
5754
+ return 4;
5755
+ }
5756
+ title_y_gap(){
5757
+ return 22;
5758
+ }
5759
+ threshold(){
5760
+ return 16;
5761
+ }
5762
+ graphs(){
5763
+ return [];
5764
+ }
5765
+ dimensions(){
5766
+ const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
5767
+ return obj;
5768
+ }
5769
+ sub(){
5770
+ return [
5771
+ (this.Curve()),
5772
+ (this.Label_x()),
5773
+ (this.Label_y())
5774
+ ];
5775
+ }
5776
+ dimensions_x(){
5777
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5778
+ return obj;
5779
+ }
5780
+ dimensions_y(){
5781
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5782
+ return obj;
5783
+ }
5784
+ curve(){
5785
+ return "";
5786
+ }
5787
+ Curve(){
5788
+ const obj = new this.$.$mol_svg_path();
5789
+ (obj.geometry) = () => ((this.curve()));
5790
+ return obj;
5791
+ }
5792
+ title_x_pos_x(){
5793
+ return "0";
5794
+ }
5795
+ title_x_pos_y(){
5796
+ return "100%";
5797
+ }
5798
+ title_x(){
5799
+ return "";
5800
+ }
5801
+ Label_x(){
5802
+ const obj = new this.$.$mol_svg_text_box();
5803
+ (obj.pos_x) = () => ((this.title_x_pos_x()));
5804
+ (obj.pos_y) = () => ((this.title_x_pos_y()));
5805
+ (obj.text) = () => ((this.title_x()));
5806
+ return obj;
5807
+ }
5808
+ title_y_pos_x(){
5809
+ return "0";
5810
+ }
5811
+ title_y_pos_y(){
5812
+ return "0";
5813
+ }
5814
+ title_y(){
5815
+ return "";
5816
+ }
5817
+ Label_y(){
5818
+ const obj = new this.$.$mol_svg_text_box();
5819
+ (obj.pos_x) = () => ((this.title_y_pos_x()));
5820
+ (obj.pos_y) = () => ((this.title_y_pos_y()));
5821
+ (obj.text) = () => ((this.title_y()));
5822
+ return obj;
5823
+ }
5824
+ };
5825
+ ($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions"));
5826
+ ($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions_x"));
5827
+ ($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions_y"));
5828
+ ($mol_mem(($.$mol_plot_mark_cross.prototype), "Curve"));
5829
+ ($mol_mem(($.$mol_plot_mark_cross.prototype), "Label_x"));
5830
+ ($mol_mem(($.$mol_plot_mark_cross.prototype), "Label_y"));
5831
+
5832
+
6052
5833
  ;
6053
5834
  "use strict";
6054
- var $;
6055
- (function ($) {
6056
- class $mol_plot_mark_cross extends $mol_plot_graph {
6057
- labels() {
6058
- return [];
6059
- }
6060
- title_x_gap() {
6061
- return 4;
6062
- }
6063
- title_y_gap() {
6064
- return 22;
6065
- }
6066
- threshold() {
6067
- return 16;
6068
- }
6069
- graphs() {
6070
- return [];
6071
- }
6072
- dimensions() {
6073
- const obj = new this.$.$mol_vector_2d(this.dimensions_x(), this.dimensions_y());
6074
- return obj;
6075
- }
6076
- sub() {
6077
- return [
6078
- this.Curve(),
6079
- this.Label_x(),
6080
- this.Label_y()
6081
- ];
6082
- }
6083
- dimensions_x() {
6084
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
6085
- return obj;
6086
- }
6087
- dimensions_y() {
6088
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
6089
- return obj;
6090
- }
6091
- curve() {
6092
- return "";
6093
- }
6094
- Curve() {
6095
- const obj = new this.$.$mol_svg_path();
6096
- obj.geometry = () => this.curve();
6097
- return obj;
6098
- }
6099
- title_x_pos_x() {
6100
- return "0";
6101
- }
6102
- title_x_pos_y() {
6103
- return "100%";
6104
- }
6105
- title_x() {
6106
- return "";
6107
- }
6108
- Label_x() {
6109
- const obj = new this.$.$mol_svg_text_box();
6110
- obj.pos_x = () => this.title_x_pos_x();
6111
- obj.pos_y = () => this.title_x_pos_y();
6112
- obj.text = () => this.title_x();
6113
- return obj;
6114
- }
6115
- title_y_pos_x() {
6116
- return "0";
6117
- }
6118
- title_y_pos_y() {
6119
- return "0";
6120
- }
6121
- title_y() {
6122
- return "";
6123
- }
6124
- Label_y() {
6125
- const obj = new this.$.$mol_svg_text_box();
6126
- obj.pos_x = () => this.title_y_pos_x();
6127
- obj.pos_y = () => this.title_y_pos_y();
6128
- obj.text = () => this.title_y();
6129
- return obj;
6130
- }
6131
- }
6132
- __decorate([
6133
- $mol_mem
6134
- ], $mol_plot_mark_cross.prototype, "dimensions", null);
6135
- __decorate([
6136
- $mol_mem
6137
- ], $mol_plot_mark_cross.prototype, "dimensions_x", null);
6138
- __decorate([
6139
- $mol_mem
6140
- ], $mol_plot_mark_cross.prototype, "dimensions_y", null);
6141
- __decorate([
6142
- $mol_mem
6143
- ], $mol_plot_mark_cross.prototype, "Curve", null);
6144
- __decorate([
6145
- $mol_mem
6146
- ], $mol_plot_mark_cross.prototype, "Label_x", null);
6147
- __decorate([
6148
- $mol_mem
6149
- ], $mol_plot_mark_cross.prototype, "Label_y", null);
6150
- $.$mol_plot_mark_cross = $mol_plot_mark_cross;
6151
- })($ || ($ = {}));
6152
- //mol/plot/mark/cross/-view.tree/cross.view.tree.ts
5835
+
6153
5836
  ;
6154
5837
  "use strict";
6155
5838
  var $;
@@ -6243,26 +5926,25 @@ var $;
6243
5926
  $$.$mol_plot_mark_cross = $mol_plot_mark_cross;
6244
5927
  })($$ = $.$$ || ($.$$ = {}));
6245
5928
  })($ || ($ = {}));
6246
- //mol/plot/mark/cross/cross.view.ts
5929
+
6247
5930
  ;
6248
5931
  "use strict";
6249
5932
  var $;
6250
5933
  (function ($) {
6251
5934
  $mol_style_attach("mol/plot/mark/cross/cross.view.css", "[mol_plot_mark_cross_curve] {\n\tcolor: var(--mol_theme_focus);\n\tstroke-width: 1px;\n\tstroke: currentColor;\n\tpointer-events: none;\n}\n\n[mol_plot_mark_cross_label_x], [mol_plot_mark_cross_label_y] {\n\tcolor: var(--mol_theme_focus);\n\tpointer-events: none;\n}\n\n[mol_plot_mark_cross_label_y] {\n\ttransform: translateY( 4px );\n}\n");
6252
5935
  })($ || ($ = {}));
6253
- //mol/plot/mark/cross/-css/cross.view.css.ts
5936
+
5937
+ ;
5938
+ ($.$mol_plot_mark_hor) = class $mol_plot_mark_hor extends ($.$mol_plot_ruler_hor) {
5939
+ labels(){
5940
+ return [];
5941
+ }
5942
+ };
5943
+
5944
+
6254
5945
  ;
6255
5946
  "use strict";
6256
- var $;
6257
- (function ($) {
6258
- class $mol_plot_mark_hor extends $mol_plot_ruler_hor {
6259
- labels() {
6260
- return [];
6261
- }
6262
- }
6263
- $.$mol_plot_mark_hor = $mol_plot_mark_hor;
6264
- })($ || ($ = {}));
6265
- //mol/plot/mark/hor/-view.tree/hor.view.tree.ts
5947
+
6266
5948
  ;
6267
5949
  "use strict";
6268
5950
  var $;
@@ -6354,14 +6036,14 @@ var $;
6354
6036
  $$.$mol_plot_mark_hor = $mol_plot_mark_hor;
6355
6037
  })($$ = $.$$ || ($.$$ = {}));
6356
6038
  })($ || ($ = {}));
6357
- //mol/plot/mark/hor/hor.view.ts
6039
+
6358
6040
  ;
6359
6041
  "use strict";
6360
6042
  var $;
6361
6043
  (function ($) {
6362
6044
  $mol_style_attach("mol/plot/mark/hor/hor.view.css", "[mol_plot_mark_hor_curve] {\n\tcolor: var(--mol_theme_line);\n\tstroke-width: .1%;\n\tstroke: currentColor;\n\tpointer-events: none;\n}\n\n[mol_plot_mark_hor_label] {\n\tcolor: var(--mol_theme_text);\n\ttransform: translateY( -4px );\n}\n\n[mol_plot_mark_hor_title] {\n\tcolor: var(--mol_theme_shade);\n\ttransform: translateY( -4px );\n}\n");
6363
6045
  })($ || ($ = {}));
6364
- //mol/plot/mark/hor/-css/hor.view.css.ts
6046
+
6365
6047
 
6366
6048
  export default $
6367
6049
  //# sourceMappingURL=node.js.map