mol_plot_all 1.2.914 → 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.d.ts +918 -351
- package/node.d.ts.map +1 -0
- package/node.deps.json +1 -1
- package/node.js +1439 -1757
- package/node.js.map +1 -1
- package/node.mjs +1439 -1757
- package/node.test.js +1725 -3550
- package/node.test.js.map +1 -1
- package/node.view.tree +97 -97
- package/package.json +3 -2
- package/web.d.ts +914 -351
- package/web.d.ts.map +1 -0
- package/web.deps.json +1 -1
- package/web.js +1425 -1744
- package/web.js.map +1 -1
- package/web.mjs +1425 -1744
- package/web.test.js +203 -1752
- package/web.test.js.map +1 -1
- package/web.view.tree +97 -97
package/web.js
CHANGED
|
@@ -11,7 +11,7 @@ var $;
|
|
|
11
11
|
(function ($) {
|
|
12
12
|
})($ || ($ = {}));
|
|
13
13
|
module.exports = $;
|
|
14
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
154
|
+
|
|
155
155
|
;
|
|
156
156
|
"use strict";
|
|
157
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
252
|
+
|
|
253
253
|
;
|
|
254
254
|
"use strict";
|
|
255
255
|
var $;
|
|
@@ -262,7 +262,7 @@ var $;
|
|
|
262
262
|
$mol_wire_cursor[$mol_wire_cursor["final"] = -4] = "final";
|
|
263
263
|
})($mol_wire_cursor = $.$mol_wire_cursor || ($.$mol_wire_cursor = {}));
|
|
264
264
|
})($ || ($ = {}));
|
|
265
|
-
|
|
265
|
+
|
|
266
266
|
;
|
|
267
267
|
"use strict";
|
|
268
268
|
var $;
|
|
@@ -329,10 +329,10 @@ var $;
|
|
|
329
329
|
}
|
|
330
330
|
$.$mol_wire_pub = $mol_wire_pub;
|
|
331
331
|
})($ || ($ = {}));
|
|
332
|
-
|
|
332
|
+
|
|
333
333
|
;
|
|
334
334
|
"use strict";
|
|
335
|
-
|
|
335
|
+
|
|
336
336
|
;
|
|
337
337
|
"use strict";
|
|
338
338
|
var $;
|
|
@@ -344,7 +344,7 @@ var $;
|
|
|
344
344
|
$.$mol_wire_auto = $mol_wire_auto;
|
|
345
345
|
$.$mol_wire_affected = [];
|
|
346
346
|
})($ || ($ = {}));
|
|
347
|
-
|
|
347
|
+
|
|
348
348
|
;
|
|
349
349
|
"use strict";
|
|
350
350
|
var $;
|
|
@@ -446,7 +446,7 @@ var $;
|
|
|
446
446
|
'margin-left': '13px'
|
|
447
447
|
});
|
|
448
448
|
})($ || ($ = {}));
|
|
449
|
-
|
|
449
|
+
|
|
450
450
|
;
|
|
451
451
|
"use strict";
|
|
452
452
|
var $;
|
|
@@ -590,7 +590,7 @@ var $;
|
|
|
590
590
|
}
|
|
591
591
|
$.$mol_wire_pub_sub = $mol_wire_pub_sub;
|
|
592
592
|
})($ || ($ = {}));
|
|
593
|
-
|
|
593
|
+
|
|
594
594
|
;
|
|
595
595
|
"use strict";
|
|
596
596
|
var $;
|
|
@@ -631,7 +631,7 @@ var $;
|
|
|
631
631
|
}
|
|
632
632
|
$.$mol_after_frame = $mol_after_frame;
|
|
633
633
|
})($ || ($ = {}));
|
|
634
|
-
|
|
634
|
+
|
|
635
635
|
;
|
|
636
636
|
"use strict";
|
|
637
637
|
var $;
|
|
@@ -641,7 +641,7 @@ var $;
|
|
|
641
641
|
}
|
|
642
642
|
$.$mol_promise_like = $mol_promise_like;
|
|
643
643
|
})($ || ($ = {}));
|
|
644
|
-
|
|
644
|
+
|
|
645
645
|
;
|
|
646
646
|
"use strict";
|
|
647
647
|
var $;
|
|
@@ -864,7 +864,7 @@ var $;
|
|
|
864
864
|
}
|
|
865
865
|
$.$mol_wire_fiber = $mol_wire_fiber;
|
|
866
866
|
})($ || ($ = {}));
|
|
867
|
-
|
|
867
|
+
|
|
868
868
|
;
|
|
869
869
|
"use strict";
|
|
870
870
|
var $;
|
|
@@ -879,7 +879,7 @@ var $;
|
|
|
879
879
|
}
|
|
880
880
|
$.$mol_guid = $mol_guid;
|
|
881
881
|
})($ || ($ = {}));
|
|
882
|
-
|
|
882
|
+
|
|
883
883
|
;
|
|
884
884
|
"use strict";
|
|
885
885
|
var $;
|
|
@@ -926,7 +926,7 @@ var $;
|
|
|
926
926
|
}
|
|
927
927
|
$.$mol_key = $mol_key;
|
|
928
928
|
})($ || ($ = {}));
|
|
929
|
-
|
|
929
|
+
|
|
930
930
|
;
|
|
931
931
|
"use strict";
|
|
932
932
|
var $;
|
|
@@ -1065,7 +1065,7 @@ var $;
|
|
|
1065
1065
|
return Object.is(left[Symbol.toPrimitive]('default'), right[Symbol.toPrimitive]('default'));
|
|
1066
1066
|
}
|
|
1067
1067
|
})($ || ($ = {}));
|
|
1068
|
-
|
|
1068
|
+
|
|
1069
1069
|
;
|
|
1070
1070
|
"use strict";
|
|
1071
1071
|
var $;
|
|
@@ -1089,10 +1089,10 @@ var $;
|
|
|
1089
1089
|
$.$mol_log3_area_lazy = $mol_log3_area_lazy;
|
|
1090
1090
|
$.$mol_log3_stack = [];
|
|
1091
1091
|
})($ || ($ = {}));
|
|
1092
|
-
|
|
1092
|
+
|
|
1093
1093
|
;
|
|
1094
1094
|
"use strict";
|
|
1095
|
-
|
|
1095
|
+
|
|
1096
1096
|
;
|
|
1097
1097
|
"use strict";
|
|
1098
1098
|
var $;
|
|
@@ -1121,7 +1121,7 @@ var $;
|
|
|
1121
1121
|
$.$mol_log3_rise = $mol_log3_web_make('log', 'magenta');
|
|
1122
1122
|
$.$mol_log3_area = $mol_log3_web_make('group', 'cyan');
|
|
1123
1123
|
})($ || ($ = {}));
|
|
1124
|
-
|
|
1124
|
+
|
|
1125
1125
|
;
|
|
1126
1126
|
"use strict";
|
|
1127
1127
|
var $;
|
|
@@ -1182,7 +1182,7 @@ var $;
|
|
|
1182
1182
|
}
|
|
1183
1183
|
$.$mol_wire_task = $mol_wire_task;
|
|
1184
1184
|
})($ || ($ = {}));
|
|
1185
|
-
|
|
1185
|
+
|
|
1186
1186
|
;
|
|
1187
1187
|
"use strict";
|
|
1188
1188
|
var $;
|
|
@@ -1208,13 +1208,13 @@ var $;
|
|
|
1208
1208
|
}
|
|
1209
1209
|
$.$mol_wire_method = $mol_wire_method;
|
|
1210
1210
|
})($ || ($ = {}));
|
|
1211
|
-
|
|
1211
|
+
|
|
1212
1212
|
;
|
|
1213
1213
|
"use strict";
|
|
1214
|
-
|
|
1214
|
+
|
|
1215
1215
|
;
|
|
1216
1216
|
"use strict";
|
|
1217
|
-
|
|
1217
|
+
|
|
1218
1218
|
;
|
|
1219
1219
|
"use strict";
|
|
1220
1220
|
var $;
|
|
@@ -1232,7 +1232,7 @@ var $;
|
|
|
1232
1232
|
}
|
|
1233
1233
|
$.$mol_fail_catch = $mol_fail_catch;
|
|
1234
1234
|
})($ || ($ = {}));
|
|
1235
|
-
|
|
1235
|
+
|
|
1236
1236
|
;
|
|
1237
1237
|
"use strict";
|
|
1238
1238
|
var $;
|
|
@@ -1247,7 +1247,7 @@ var $;
|
|
|
1247
1247
|
}
|
|
1248
1248
|
$.$mol_fail_log = $mol_fail_log;
|
|
1249
1249
|
})($ || ($ = {}));
|
|
1250
|
-
|
|
1250
|
+
|
|
1251
1251
|
;
|
|
1252
1252
|
"use strict";
|
|
1253
1253
|
var $;
|
|
@@ -1377,7 +1377,7 @@ var $;
|
|
|
1377
1377
|
], $mol_wire_atom.prototype, "once", null);
|
|
1378
1378
|
$.$mol_wire_atom = $mol_wire_atom;
|
|
1379
1379
|
})($ || ($ = {}));
|
|
1380
|
-
|
|
1380
|
+
|
|
1381
1381
|
;
|
|
1382
1382
|
"use strict";
|
|
1383
1383
|
var $;
|
|
@@ -1415,7 +1415,7 @@ var $;
|
|
|
1415
1415
|
}
|
|
1416
1416
|
$.$mol_wire_solo = $mol_wire_solo;
|
|
1417
1417
|
})($ || ($ = {}));
|
|
1418
|
-
|
|
1418
|
+
|
|
1419
1419
|
;
|
|
1420
1420
|
"use strict";
|
|
1421
1421
|
var $;
|
|
@@ -1453,7 +1453,7 @@ var $;
|
|
|
1453
1453
|
}
|
|
1454
1454
|
$.$mol_wire_plex = $mol_wire_plex;
|
|
1455
1455
|
})($ || ($ = {}));
|
|
1456
|
-
|
|
1456
|
+
|
|
1457
1457
|
;
|
|
1458
1458
|
"use strict";
|
|
1459
1459
|
var $;
|
|
@@ -1461,7 +1461,7 @@ var $;
|
|
|
1461
1461
|
$.$mol_mem = $mol_wire_solo;
|
|
1462
1462
|
$.$mol_mem_key = $mol_wire_plex;
|
|
1463
1463
|
})($ || ($ = {}));
|
|
1464
|
-
|
|
1464
|
+
|
|
1465
1465
|
;
|
|
1466
1466
|
"use strict";
|
|
1467
1467
|
var $;
|
|
@@ -1485,20 +1485,20 @@ var $;
|
|
|
1485
1485
|
$.$mol_window = $mol_window;
|
|
1486
1486
|
self.addEventListener('resize', event => $mol_window.resizes(event));
|
|
1487
1487
|
})($ || ($ = {}));
|
|
1488
|
-
|
|
1488
|
+
|
|
1489
1489
|
;
|
|
1490
1490
|
"use strict";
|
|
1491
1491
|
var $;
|
|
1492
1492
|
(function ($) {
|
|
1493
1493
|
})($ || ($ = {}));
|
|
1494
|
-
|
|
1494
|
+
|
|
1495
1495
|
;
|
|
1496
1496
|
"use strict";
|
|
1497
1497
|
var $;
|
|
1498
1498
|
(function ($) {
|
|
1499
1499
|
$.$mol_dom_context = self;
|
|
1500
1500
|
})($ || ($ = {}));
|
|
1501
|
-
|
|
1501
|
+
|
|
1502
1502
|
;
|
|
1503
1503
|
"use strict";
|
|
1504
1504
|
var $;
|
|
@@ -1522,7 +1522,7 @@ var $;
|
|
|
1522
1522
|
}
|
|
1523
1523
|
$.$mol_after_tick = $mol_after_tick;
|
|
1524
1524
|
})($ || ($ = {}));
|
|
1525
|
-
|
|
1525
|
+
|
|
1526
1526
|
;
|
|
1527
1527
|
"use strict";
|
|
1528
1528
|
var $;
|
|
@@ -1552,7 +1552,7 @@ var $;
|
|
|
1552
1552
|
], $mol_view_selection, "focused", null);
|
|
1553
1553
|
$.$mol_view_selection = $mol_view_selection;
|
|
1554
1554
|
})($ || ($ = {}));
|
|
1555
|
-
|
|
1555
|
+
|
|
1556
1556
|
;
|
|
1557
1557
|
"use strict";
|
|
1558
1558
|
var $;
|
|
@@ -1562,7 +1562,7 @@ var $;
|
|
|
1562
1562
|
}
|
|
1563
1563
|
$.$mol_maybe = $mol_maybe;
|
|
1564
1564
|
})($ || ($ = {}));
|
|
1565
|
-
|
|
1565
|
+
|
|
1566
1566
|
;
|
|
1567
1567
|
"use strict";
|
|
1568
1568
|
var $;
|
|
@@ -1573,7 +1573,7 @@ var $;
|
|
|
1573
1573
|
}, true);
|
|
1574
1574
|
}
|
|
1575
1575
|
})($ || ($ = {}));
|
|
1576
|
-
|
|
1576
|
+
|
|
1577
1577
|
;
|
|
1578
1578
|
"use strict";
|
|
1579
1579
|
var $;
|
|
@@ -1611,7 +1611,7 @@ var $;
|
|
|
1611
1611
|
}
|
|
1612
1612
|
$.$mol_wrapper = $mol_wrapper;
|
|
1613
1613
|
})($ || ($ = {}));
|
|
1614
|
-
|
|
1614
|
+
|
|
1615
1615
|
;
|
|
1616
1616
|
"use strict";
|
|
1617
1617
|
var $;
|
|
@@ -1630,7 +1630,7 @@ var $;
|
|
|
1630
1630
|
}
|
|
1631
1631
|
$.$mol_memo = $mol_memo;
|
|
1632
1632
|
})($ || ($ = {}));
|
|
1633
|
-
|
|
1633
|
+
|
|
1634
1634
|
;
|
|
1635
1635
|
"use strict";
|
|
1636
1636
|
var $;
|
|
@@ -1640,7 +1640,7 @@ var $;
|
|
|
1640
1640
|
}
|
|
1641
1641
|
$.$mol_dom_qname = $mol_dom_qname;
|
|
1642
1642
|
})($ || ($ = {}));
|
|
1643
|
-
|
|
1643
|
+
|
|
1644
1644
|
;
|
|
1645
1645
|
"use strict";
|
|
1646
1646
|
var $;
|
|
@@ -1660,7 +1660,7 @@ var $;
|
|
|
1660
1660
|
}
|
|
1661
1661
|
$.$mol_wire_probe = $mol_wire_probe;
|
|
1662
1662
|
})($ || ($ = {}));
|
|
1663
|
-
|
|
1663
|
+
|
|
1664
1664
|
;
|
|
1665
1665
|
"use strict";
|
|
1666
1666
|
var $;
|
|
@@ -1676,7 +1676,7 @@ var $;
|
|
|
1676
1676
|
}
|
|
1677
1677
|
$.$mol_wire_watch = $mol_wire_watch;
|
|
1678
1678
|
})($ || ($ = {}));
|
|
1679
|
-
|
|
1679
|
+
|
|
1680
1680
|
;
|
|
1681
1681
|
"use strict";
|
|
1682
1682
|
var $;
|
|
@@ -1690,7 +1690,7 @@ var $;
|
|
|
1690
1690
|
}
|
|
1691
1691
|
$.$mol_const = $mol_const;
|
|
1692
1692
|
})($ || ($ = {}));
|
|
1693
|
-
|
|
1693
|
+
|
|
1694
1694
|
;
|
|
1695
1695
|
"use strict";
|
|
1696
1696
|
var $;
|
|
@@ -1708,7 +1708,7 @@ var $;
|
|
|
1708
1708
|
const nothing = () => { };
|
|
1709
1709
|
const sub = new $mol_wire_pub_sub;
|
|
1710
1710
|
})($ || ($ = {}));
|
|
1711
|
-
|
|
1711
|
+
|
|
1712
1712
|
;
|
|
1713
1713
|
"use strict";
|
|
1714
1714
|
var $;
|
|
@@ -1734,7 +1734,7 @@ var $;
|
|
|
1734
1734
|
}
|
|
1735
1735
|
$.$mol_dom_render_attributes = $mol_dom_render_attributes;
|
|
1736
1736
|
})($ || ($ = {}));
|
|
1737
|
-
|
|
1737
|
+
|
|
1738
1738
|
;
|
|
1739
1739
|
"use strict";
|
|
1740
1740
|
var $;
|
|
@@ -1746,7 +1746,7 @@ var $;
|
|
|
1746
1746
|
}
|
|
1747
1747
|
$.$mol_dom_render_events = $mol_dom_render_events;
|
|
1748
1748
|
})($ || ($ = {}));
|
|
1749
|
-
|
|
1749
|
+
|
|
1750
1750
|
;
|
|
1751
1751
|
"use strict";
|
|
1752
1752
|
var $;
|
|
@@ -1766,7 +1766,7 @@ var $;
|
|
|
1766
1766
|
}
|
|
1767
1767
|
$.$mol_dom_render_styles = $mol_dom_render_styles;
|
|
1768
1768
|
})($ || ($ = {}));
|
|
1769
|
-
|
|
1769
|
+
|
|
1770
1770
|
;
|
|
1771
1771
|
"use strict";
|
|
1772
1772
|
var $;
|
|
@@ -1821,7 +1821,7 @@ var $;
|
|
|
1821
1821
|
}
|
|
1822
1822
|
$.$mol_dom_render_children = $mol_dom_render_children;
|
|
1823
1823
|
})($ || ($ = {}));
|
|
1824
|
-
|
|
1824
|
+
|
|
1825
1825
|
;
|
|
1826
1826
|
"use strict";
|
|
1827
1827
|
var $;
|
|
@@ -1836,7 +1836,7 @@ var $;
|
|
|
1836
1836
|
}
|
|
1837
1837
|
$.$mol_dom_render_fields = $mol_dom_render_fields;
|
|
1838
1838
|
})($ || ($ = {}));
|
|
1839
|
-
|
|
1839
|
+
|
|
1840
1840
|
;
|
|
1841
1841
|
"use strict";
|
|
1842
1842
|
var $;
|
|
@@ -1866,10 +1866,10 @@ var $;
|
|
|
1866
1866
|
}
|
|
1867
1867
|
$.$mol_wire_async = $mol_wire_async;
|
|
1868
1868
|
})($ || ($ = {}));
|
|
1869
|
-
|
|
1869
|
+
|
|
1870
1870
|
;
|
|
1871
1871
|
"use strict";
|
|
1872
|
-
|
|
1872
|
+
|
|
1873
1873
|
;
|
|
1874
1874
|
"use strict";
|
|
1875
1875
|
var $;
|
|
@@ -1901,7 +1901,7 @@ var $;
|
|
|
1901
1901
|
}
|
|
1902
1902
|
$.$mol_style_attach = $mol_style_attach;
|
|
1903
1903
|
})($ || ($ = {}));
|
|
1904
|
-
|
|
1904
|
+
|
|
1905
1905
|
;
|
|
1906
1906
|
"use strict";
|
|
1907
1907
|
var $;
|
|
@@ -1920,7 +1920,7 @@ var $;
|
|
|
1920
1920
|
}
|
|
1921
1921
|
$.$mol_decor = $mol_decor;
|
|
1922
1922
|
})($ || ($ = {}));
|
|
1923
|
-
|
|
1923
|
+
|
|
1924
1924
|
;
|
|
1925
1925
|
"use strict";
|
|
1926
1926
|
var $;
|
|
@@ -1965,7 +1965,7 @@ var $;
|
|
|
1965
1965
|
}
|
|
1966
1966
|
$.$mol_style_unit = $mol_style_unit;
|
|
1967
1967
|
})($ || ($ = {}));
|
|
1968
|
-
|
|
1968
|
+
|
|
1969
1969
|
;
|
|
1970
1970
|
"use strict";
|
|
1971
1971
|
var $;
|
|
@@ -2051,13 +2051,13 @@ var $;
|
|
|
2051
2051
|
}
|
|
2052
2052
|
$.$mol_style_func = $mol_style_func;
|
|
2053
2053
|
})($ || ($ = {}));
|
|
2054
|
-
|
|
2054
|
+
|
|
2055
2055
|
;
|
|
2056
2056
|
"use strict";
|
|
2057
|
-
|
|
2057
|
+
|
|
2058
2058
|
;
|
|
2059
2059
|
"use strict";
|
|
2060
|
-
|
|
2060
|
+
|
|
2061
2061
|
;
|
|
2062
2062
|
"use strict";
|
|
2063
2063
|
var $;
|
|
@@ -2071,7 +2071,7 @@ var $;
|
|
|
2071
2071
|
}
|
|
2072
2072
|
$.$mol_style_prop = $mol_style_prop;
|
|
2073
2073
|
})($ || ($ = {}));
|
|
2074
|
-
|
|
2074
|
+
|
|
2075
2075
|
;
|
|
2076
2076
|
"use strict";
|
|
2077
2077
|
var $;
|
|
@@ -2091,14 +2091,14 @@ var $;
|
|
|
2091
2091
|
'image',
|
|
2092
2092
|
]);
|
|
2093
2093
|
})($ || ($ = {}));
|
|
2094
|
-
|
|
2094
|
+
|
|
2095
2095
|
;
|
|
2096
2096
|
"use strict";
|
|
2097
2097
|
var $;
|
|
2098
2098
|
(function ($) {
|
|
2099
2099
|
$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");
|
|
2100
2100
|
})($ || ($ = {}));
|
|
2101
|
-
|
|
2101
|
+
|
|
2102
2102
|
;
|
|
2103
2103
|
"use strict";
|
|
2104
2104
|
var $;
|
|
@@ -2111,14 +2111,14 @@ var $;
|
|
|
2111
2111
|
'blur',
|
|
2112
2112
|
]);
|
|
2113
2113
|
})($ || ($ = {}));
|
|
2114
|
-
|
|
2114
|
+
|
|
2115
2115
|
;
|
|
2116
2116
|
"use strict";
|
|
2117
2117
|
var $;
|
|
2118
2118
|
(function ($) {
|
|
2119
2119
|
$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");
|
|
2120
2120
|
})($ || ($ = {}));
|
|
2121
|
-
|
|
2121
|
+
|
|
2122
2122
|
;
|
|
2123
2123
|
"use strict";
|
|
2124
2124
|
var $;
|
|
@@ -2550,21 +2550,21 @@ var $;
|
|
|
2550
2550
|
], $mol_view, "view_classes", null);
|
|
2551
2551
|
$.$mol_view = $mol_view;
|
|
2552
2552
|
})($ || ($ = {}));
|
|
2553
|
-
|
|
2553
|
+
|
|
2554
2554
|
;
|
|
2555
2555
|
"use strict";
|
|
2556
2556
|
var $;
|
|
2557
2557
|
(function ($) {
|
|
2558
2558
|
$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");
|
|
2559
2559
|
})($ || ($ = {}));
|
|
2560
|
-
|
|
2560
|
+
|
|
2561
2561
|
;
|
|
2562
2562
|
"use strict";
|
|
2563
2563
|
var $;
|
|
2564
2564
|
(function ($) {
|
|
2565
2565
|
$mol_dom_context.document?.addEventListener('DOMContentLoaded', () => $mol_view.autobind(), { once: true });
|
|
2566
2566
|
})($ || ($ = {}));
|
|
2567
|
-
|
|
2567
|
+
|
|
2568
2568
|
;
|
|
2569
2569
|
"use strict";
|
|
2570
2570
|
var $;
|
|
@@ -2579,31 +2579,30 @@ var $;
|
|
|
2579
2579
|
}
|
|
2580
2580
|
$.$mol_plugin = $mol_plugin;
|
|
2581
2581
|
})($ || ($ = {}));
|
|
2582
|
-
|
|
2582
|
+
|
|
2583
|
+
;
|
|
2584
|
+
($.$mol_svg) = class $mol_svg extends ($.$mol_view) {
|
|
2585
|
+
dom_name(){
|
|
2586
|
+
return "svg";
|
|
2587
|
+
}
|
|
2588
|
+
dom_name_space(){
|
|
2589
|
+
return "http://www.w3.org/2000/svg";
|
|
2590
|
+
}
|
|
2591
|
+
font_size(){
|
|
2592
|
+
return 16;
|
|
2593
|
+
}
|
|
2594
|
+
font_family(){
|
|
2595
|
+
return "";
|
|
2596
|
+
}
|
|
2597
|
+
style_size(){
|
|
2598
|
+
return {};
|
|
2599
|
+
}
|
|
2600
|
+
};
|
|
2601
|
+
|
|
2602
|
+
|
|
2583
2603
|
;
|
|
2584
2604
|
"use strict";
|
|
2585
|
-
|
|
2586
|
-
(function ($) {
|
|
2587
|
-
class $mol_svg extends $mol_view {
|
|
2588
|
-
dom_name() {
|
|
2589
|
-
return "svg";
|
|
2590
|
-
}
|
|
2591
|
-
dom_name_space() {
|
|
2592
|
-
return "http://www.w3.org/2000/svg";
|
|
2593
|
-
}
|
|
2594
|
-
font_size() {
|
|
2595
|
-
return 16;
|
|
2596
|
-
}
|
|
2597
|
-
font_family() {
|
|
2598
|
-
return "";
|
|
2599
|
-
}
|
|
2600
|
-
style_size() {
|
|
2601
|
-
return {};
|
|
2602
|
-
}
|
|
2603
|
-
}
|
|
2604
|
-
$.$mol_svg = $mol_svg;
|
|
2605
|
-
})($ || ($ = {}));
|
|
2606
|
-
//mol/svg/-view.tree/svg.view.tree.ts
|
|
2605
|
+
|
|
2607
2606
|
;
|
|
2608
2607
|
"use strict";
|
|
2609
2608
|
var $;
|
|
@@ -2624,7 +2623,7 @@ var $;
|
|
|
2624
2623
|
}
|
|
2625
2624
|
$.$mol_after_timeout = $mol_after_timeout;
|
|
2626
2625
|
})($ || ($ = {}));
|
|
2627
|
-
|
|
2626
|
+
|
|
2628
2627
|
;
|
|
2629
2628
|
"use strict";
|
|
2630
2629
|
var $;
|
|
@@ -2651,7 +2650,7 @@ var $;
|
|
|
2651
2650
|
], $mol_state_time, "now", null);
|
|
2652
2651
|
$.$mol_state_time = $mol_state_time;
|
|
2653
2652
|
})($ || ($ = {}));
|
|
2654
|
-
|
|
2653
|
+
|
|
2655
2654
|
;
|
|
2656
2655
|
"use strict";
|
|
2657
2656
|
var $;
|
|
@@ -2685,39 +2684,38 @@ var $;
|
|
|
2685
2684
|
$$.$mol_svg = $mol_svg;
|
|
2686
2685
|
})($$ = $.$$ || ($.$$ = {}));
|
|
2687
2686
|
})($ || ($ = {}));
|
|
2688
|
-
|
|
2687
|
+
|
|
2688
|
+
;
|
|
2689
|
+
($.$mol_svg_root) = class $mol_svg_root extends ($.$mol_svg) {
|
|
2690
|
+
dom_name(){
|
|
2691
|
+
return "svg";
|
|
2692
|
+
}
|
|
2693
|
+
attr(){
|
|
2694
|
+
return {
|
|
2695
|
+
...(super.attr()),
|
|
2696
|
+
"viewBox": (this.view_box()),
|
|
2697
|
+
"preserveAspectRatio": (this.aspect())
|
|
2698
|
+
};
|
|
2699
|
+
}
|
|
2700
|
+
view_box(){
|
|
2701
|
+
return "0 0 100 100";
|
|
2702
|
+
}
|
|
2703
|
+
aspect(){
|
|
2704
|
+
return "xMidYMid";
|
|
2705
|
+
}
|
|
2706
|
+
};
|
|
2707
|
+
|
|
2708
|
+
|
|
2689
2709
|
;
|
|
2690
2710
|
"use strict";
|
|
2691
|
-
|
|
2692
|
-
(function ($) {
|
|
2693
|
-
class $mol_svg_root extends $mol_svg {
|
|
2694
|
-
dom_name() {
|
|
2695
|
-
return "svg";
|
|
2696
|
-
}
|
|
2697
|
-
attr() {
|
|
2698
|
-
return {
|
|
2699
|
-
...super.attr(),
|
|
2700
|
-
viewBox: this.view_box(),
|
|
2701
|
-
preserveAspectRatio: this.aspect()
|
|
2702
|
-
};
|
|
2703
|
-
}
|
|
2704
|
-
view_box() {
|
|
2705
|
-
return "0 0 100 100";
|
|
2706
|
-
}
|
|
2707
|
-
aspect() {
|
|
2708
|
-
return "xMidYMid";
|
|
2709
|
-
}
|
|
2710
|
-
}
|
|
2711
|
-
$.$mol_svg_root = $mol_svg_root;
|
|
2712
|
-
})($ || ($ = {}));
|
|
2713
|
-
//mol/svg/root/-view.tree/root.view.tree.ts
|
|
2711
|
+
|
|
2714
2712
|
;
|
|
2715
2713
|
"use strict";
|
|
2716
2714
|
var $;
|
|
2717
2715
|
(function ($) {
|
|
2718
2716
|
$mol_style_attach("mol/svg/root/root.view.css", "[mol_svg_root] {\n\toverflow: hidden;\n}\n");
|
|
2719
2717
|
})($ || ($ = {}));
|
|
2720
|
-
|
|
2718
|
+
|
|
2721
2719
|
;
|
|
2722
2720
|
"use strict";
|
|
2723
2721
|
var $;
|
|
@@ -2833,610 +2831,212 @@ var $;
|
|
|
2833
2831
|
}
|
|
2834
2832
|
$.$mol_vector_matrix = $mol_vector_matrix;
|
|
2835
2833
|
})($ || ($ = {}));
|
|
2836
|
-
|
|
2834
|
+
|
|
2837
2835
|
;
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
(
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2836
|
+
($.$mol_touch) = class $mol_touch extends ($.$mol_plugin) {
|
|
2837
|
+
start_zoom(next){
|
|
2838
|
+
if(next !== undefined) return next;
|
|
2839
|
+
return 0;
|
|
2840
|
+
}
|
|
2841
|
+
start_distance(next){
|
|
2842
|
+
if(next !== undefined) return next;
|
|
2843
|
+
return 0;
|
|
2844
|
+
}
|
|
2845
|
+
zoom(next){
|
|
2846
|
+
if(next !== undefined) return next;
|
|
2847
|
+
return 1;
|
|
2848
|
+
}
|
|
2849
|
+
allow_draw(){
|
|
2850
|
+
return true;
|
|
2851
|
+
}
|
|
2852
|
+
allow_pan(){
|
|
2853
|
+
return true;
|
|
2854
|
+
}
|
|
2855
|
+
allow_zoom(){
|
|
2856
|
+
return true;
|
|
2857
|
+
}
|
|
2858
|
+
action_type(next){
|
|
2859
|
+
if(next !== undefined) return next;
|
|
2860
|
+
return "";
|
|
2861
|
+
}
|
|
2862
|
+
action_point(next){
|
|
2863
|
+
if(next !== undefined) return next;
|
|
2864
|
+
const obj = new this.$.$mol_vector_2d(NaN, NaN);
|
|
2865
|
+
return obj;
|
|
2866
|
+
}
|
|
2867
|
+
start_pan(next){
|
|
2868
|
+
if(next !== undefined) return next;
|
|
2869
|
+
return [0, 0];
|
|
2870
|
+
}
|
|
2871
|
+
pan(next){
|
|
2872
|
+
if(next !== undefined) return next;
|
|
2873
|
+
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
2874
|
+
return obj;
|
|
2875
|
+
}
|
|
2876
|
+
pointer_center(){
|
|
2877
|
+
const obj = new this.$.$mol_vector_2d(NaN, NaN);
|
|
2878
|
+
return obj;
|
|
2879
|
+
}
|
|
2880
|
+
start_pos(next){
|
|
2881
|
+
if(next !== undefined) return next;
|
|
2882
|
+
return null;
|
|
2883
|
+
}
|
|
2884
|
+
swipe_precision(){
|
|
2885
|
+
return 16;
|
|
2886
|
+
}
|
|
2887
|
+
swipe_right(next){
|
|
2888
|
+
if(next !== undefined) return next;
|
|
2889
|
+
return null;
|
|
2890
|
+
}
|
|
2891
|
+
swipe_bottom(next){
|
|
2892
|
+
if(next !== undefined) return next;
|
|
2893
|
+
return null;
|
|
2894
|
+
}
|
|
2895
|
+
swipe_left(next){
|
|
2896
|
+
if(next !== undefined) return next;
|
|
2897
|
+
return null;
|
|
2898
|
+
}
|
|
2899
|
+
swipe_top(next){
|
|
2900
|
+
if(next !== undefined) return next;
|
|
2901
|
+
return null;
|
|
2902
|
+
}
|
|
2903
|
+
swipe_from_right(next){
|
|
2904
|
+
if(next !== undefined) return next;
|
|
2905
|
+
return null;
|
|
2906
|
+
}
|
|
2907
|
+
swipe_from_bottom(next){
|
|
2908
|
+
if(next !== undefined) return next;
|
|
2909
|
+
return null;
|
|
2910
|
+
}
|
|
2911
|
+
swipe_from_left(next){
|
|
2912
|
+
if(next !== undefined) return next;
|
|
2913
|
+
return null;
|
|
2914
|
+
}
|
|
2915
|
+
swipe_from_top(next){
|
|
2916
|
+
if(next !== undefined) return next;
|
|
2917
|
+
return null;
|
|
2918
|
+
}
|
|
2919
|
+
swipe_to_right(next){
|
|
2920
|
+
if(next !== undefined) return next;
|
|
2921
|
+
return null;
|
|
2922
|
+
}
|
|
2923
|
+
swipe_to_bottom(next){
|
|
2924
|
+
if(next !== undefined) return next;
|
|
2925
|
+
return null;
|
|
2926
|
+
}
|
|
2927
|
+
swipe_to_left(next){
|
|
2928
|
+
if(next !== undefined) return next;
|
|
2929
|
+
return null;
|
|
2930
|
+
}
|
|
2931
|
+
swipe_to_top(next){
|
|
2932
|
+
if(next !== undefined) return next;
|
|
2933
|
+
return null;
|
|
2934
|
+
}
|
|
2935
|
+
draw_start(next){
|
|
2936
|
+
if(next !== undefined) return next;
|
|
2937
|
+
return null;
|
|
2938
|
+
}
|
|
2939
|
+
draw(next){
|
|
2940
|
+
if(next !== undefined) return next;
|
|
2941
|
+
return null;
|
|
2942
|
+
}
|
|
2943
|
+
draw_end(next){
|
|
2944
|
+
if(next !== undefined) return next;
|
|
2945
|
+
return null;
|
|
2946
|
+
}
|
|
2947
|
+
style(){
|
|
2948
|
+
return {
|
|
2949
|
+
...(super.style()),
|
|
2950
|
+
"touch-action": "none",
|
|
2951
|
+
"overscroll-behavior": "none"
|
|
2952
|
+
};
|
|
2953
|
+
}
|
|
2954
|
+
event(){
|
|
2955
|
+
return {
|
|
2956
|
+
...(super.event()),
|
|
2957
|
+
"pointerdown": (next) => (this.event_start(next)),
|
|
2958
|
+
"pointermove": (next) => (this.event_move(next)),
|
|
2959
|
+
"pointerup": (next) => (this.event_end(next)),
|
|
2960
|
+
"pointerleave": (next) => (this.event_leave(next)),
|
|
2961
|
+
"wheel": (next) => (this.event_wheel(next))
|
|
2962
|
+
};
|
|
2963
|
+
}
|
|
2964
|
+
event_start(next){
|
|
2965
|
+
if(next !== undefined) return next;
|
|
2966
|
+
return null;
|
|
2967
|
+
}
|
|
2968
|
+
event_move(next){
|
|
2969
|
+
if(next !== undefined) return next;
|
|
2970
|
+
return null;
|
|
2971
|
+
}
|
|
2972
|
+
event_end(next){
|
|
2973
|
+
if(next !== undefined) return next;
|
|
2974
|
+
return null;
|
|
2975
|
+
}
|
|
2976
|
+
event_leave(next){
|
|
2977
|
+
if(next !== undefined) return next;
|
|
2978
|
+
return null;
|
|
2979
|
+
}
|
|
2980
|
+
event_wheel(next){
|
|
2981
|
+
if(next !== undefined) return next;
|
|
2982
|
+
return null;
|
|
2983
|
+
}
|
|
2984
|
+
};
|
|
2985
|
+
($mol_mem(($.$mol_touch.prototype), "start_zoom"));
|
|
2986
|
+
($mol_mem(($.$mol_touch.prototype), "start_distance"));
|
|
2987
|
+
($mol_mem(($.$mol_touch.prototype), "zoom"));
|
|
2988
|
+
($mol_mem(($.$mol_touch.prototype), "action_type"));
|
|
2989
|
+
($mol_mem(($.$mol_touch.prototype), "action_point"));
|
|
2990
|
+
($mol_mem(($.$mol_touch.prototype), "start_pan"));
|
|
2991
|
+
($mol_mem(($.$mol_touch.prototype), "pan"));
|
|
2992
|
+
($mol_mem(($.$mol_touch.prototype), "pointer_center"));
|
|
2993
|
+
($mol_mem(($.$mol_touch.prototype), "start_pos"));
|
|
2994
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_right"));
|
|
2995
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_bottom"));
|
|
2996
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_left"));
|
|
2997
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_top"));
|
|
2998
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_from_right"));
|
|
2999
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_from_bottom"));
|
|
3000
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_from_left"));
|
|
3001
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_from_top"));
|
|
3002
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_to_right"));
|
|
3003
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_to_bottom"));
|
|
3004
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_to_left"));
|
|
3005
|
+
($mol_mem(($.$mol_touch.prototype), "swipe_to_top"));
|
|
3006
|
+
($mol_mem(($.$mol_touch.prototype), "draw_start"));
|
|
3007
|
+
($mol_mem(($.$mol_touch.prototype), "draw"));
|
|
3008
|
+
($mol_mem(($.$mol_touch.prototype), "draw_end"));
|
|
3009
|
+
($mol_mem(($.$mol_touch.prototype), "event_start"));
|
|
3010
|
+
($mol_mem(($.$mol_touch.prototype), "event_move"));
|
|
3011
|
+
($mol_mem(($.$mol_touch.prototype), "event_end"));
|
|
3012
|
+
($mol_mem(($.$mol_touch.prototype), "event_leave"));
|
|
3013
|
+
($mol_mem(($.$mol_touch.prototype), "event_wheel"));
|
|
3014
|
+
|
|
3015
|
+
|
|
2849
3016
|
;
|
|
2850
3017
|
"use strict";
|
|
2851
|
-
|
|
2852
|
-
(function ($) {
|
|
2853
|
-
class $mol_svg_title extends $mol_svg {
|
|
2854
|
-
dom_name() {
|
|
2855
|
-
return "title";
|
|
2856
|
-
}
|
|
2857
|
-
sub() {
|
|
2858
|
-
return [
|
|
2859
|
-
this.title()
|
|
2860
|
-
];
|
|
2861
|
-
}
|
|
2862
|
-
}
|
|
2863
|
-
$.$mol_svg_title = $mol_svg_title;
|
|
2864
|
-
})($ || ($ = {}));
|
|
2865
|
-
//mol/svg/title/-view.tree/title.view.tree.ts
|
|
3018
|
+
|
|
2866
3019
|
;
|
|
2867
3020
|
"use strict";
|
|
2868
|
-
|
|
2869
|
-
(function ($) {
|
|
2870
|
-
class $mol_plot_graph extends $mol_svg_group {
|
|
2871
|
-
series_x() {
|
|
2872
|
-
return [];
|
|
2873
|
-
}
|
|
2874
|
-
series_y() {
|
|
2875
|
-
return [];
|
|
2876
|
-
}
|
|
2877
|
-
attr() {
|
|
2878
|
-
return {
|
|
2879
|
-
...super.attr(),
|
|
2880
|
-
mol_plot_graph_type: this.type()
|
|
2881
|
-
};
|
|
2882
|
-
}
|
|
2883
|
-
style() {
|
|
2884
|
-
return {
|
|
2885
|
-
...super.style(),
|
|
2886
|
-
color: this.color()
|
|
2887
|
-
};
|
|
2888
|
-
}
|
|
2889
|
-
viewport() {
|
|
2890
|
-
const obj = new this.$.$mol_vector_2d(this.viewport_x(), this.viewport_y());
|
|
2891
|
-
return obj;
|
|
2892
|
-
}
|
|
2893
|
-
shift() {
|
|
2894
|
-
return [
|
|
2895
|
-
0,
|
|
2896
|
-
0
|
|
2897
|
-
];
|
|
2898
|
-
}
|
|
2899
|
-
scale() {
|
|
2900
|
-
return [
|
|
2901
|
-
1,
|
|
2902
|
-
1
|
|
2903
|
-
];
|
|
2904
|
-
}
|
|
2905
|
-
cursor_position() {
|
|
2906
|
-
const obj = new this.$.$mol_vector_2d(NaN, NaN);
|
|
2907
|
-
return obj;
|
|
2908
|
-
}
|
|
2909
|
-
dimensions_pane() {
|
|
2910
|
-
const obj = new this.$.$mol_vector_2d(this.dimensions_pane_x(), this.dimensions_pane_y());
|
|
2911
|
-
return obj;
|
|
2912
|
-
}
|
|
2913
|
-
dimensions() {
|
|
2914
|
-
const obj = new this.$.$mol_vector_2d(this.dimensions_x(), this.dimensions_y());
|
|
2915
|
-
return obj;
|
|
2916
|
-
}
|
|
2917
|
-
size_real() {
|
|
2918
|
-
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
2919
|
-
return obj;
|
|
2920
|
-
}
|
|
2921
|
-
gap() {
|
|
2922
|
-
const obj = new this.$.$mol_vector_2d(this.gap_x(), this.gap_y());
|
|
2923
|
-
return obj;
|
|
2924
|
-
}
|
|
2925
|
-
repos_x(id) {
|
|
2926
|
-
return 0;
|
|
2927
|
-
}
|
|
2928
|
-
repos_y(id) {
|
|
2929
|
-
return 0;
|
|
2930
|
-
}
|
|
2931
|
-
indexes() {
|
|
2932
|
-
return [];
|
|
2933
|
-
}
|
|
2934
|
-
points() {
|
|
2935
|
-
return [];
|
|
2936
|
-
}
|
|
2937
|
-
front() {
|
|
2938
|
-
return [];
|
|
2939
|
-
}
|
|
2940
|
-
back() {
|
|
2941
|
-
return [];
|
|
2942
|
-
}
|
|
2943
|
-
Hint() {
|
|
2944
|
-
const obj = new this.$.$mol_svg_title();
|
|
2945
|
-
obj.title = () => this.hint();
|
|
2946
|
-
return obj;
|
|
2947
|
-
}
|
|
2948
|
-
hue() {
|
|
2949
|
-
return +NaN;
|
|
2950
|
-
}
|
|
2951
|
-
Sample() {
|
|
2952
|
-
return null;
|
|
2953
|
-
}
|
|
2954
|
-
type() {
|
|
2955
|
-
return "solid";
|
|
2956
|
-
}
|
|
2957
|
-
color() {
|
|
2958
|
-
return "";
|
|
2959
|
-
}
|
|
2960
|
-
viewport_x() {
|
|
2961
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
2962
|
-
return obj;
|
|
2963
|
-
}
|
|
2964
|
-
viewport_y() {
|
|
2965
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
2966
|
-
return obj;
|
|
2967
|
-
}
|
|
2968
|
-
dimensions_pane_x() {
|
|
2969
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
2970
|
-
return obj;
|
|
2971
|
-
}
|
|
2972
|
-
dimensions_pane_y() {
|
|
2973
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
2974
|
-
return obj;
|
|
2975
|
-
}
|
|
2976
|
-
dimensions_x() {
|
|
2977
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
2978
|
-
return obj;
|
|
2979
|
-
}
|
|
2980
|
-
dimensions_y() {
|
|
2981
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
2982
|
-
return obj;
|
|
2983
|
-
}
|
|
2984
|
-
gap_x() {
|
|
2985
|
-
const obj = new this.$.$mol_vector_range(0, 0);
|
|
2986
|
-
return obj;
|
|
2987
|
-
}
|
|
2988
|
-
gap_y() {
|
|
2989
|
-
const obj = new this.$.$mol_vector_range(0, 0);
|
|
2990
|
-
return obj;
|
|
2991
|
-
}
|
|
2992
|
-
title() {
|
|
2993
|
-
return "";
|
|
2994
|
-
}
|
|
2995
|
-
hint() {
|
|
2996
|
-
return this.title();
|
|
2997
|
-
}
|
|
2998
|
-
}
|
|
2999
|
-
__decorate([
|
|
3000
|
-
$mol_mem
|
|
3001
|
-
], $mol_plot_graph.prototype, "viewport", null);
|
|
3002
|
-
__decorate([
|
|
3003
|
-
$mol_mem
|
|
3004
|
-
], $mol_plot_graph.prototype, "cursor_position", null);
|
|
3005
|
-
__decorate([
|
|
3006
|
-
$mol_mem
|
|
3007
|
-
], $mol_plot_graph.prototype, "dimensions_pane", null);
|
|
3008
|
-
__decorate([
|
|
3009
|
-
$mol_mem
|
|
3010
|
-
], $mol_plot_graph.prototype, "dimensions", null);
|
|
3011
|
-
__decorate([
|
|
3012
|
-
$mol_mem
|
|
3013
|
-
], $mol_plot_graph.prototype, "size_real", null);
|
|
3014
|
-
__decorate([
|
|
3015
|
-
$mol_mem
|
|
3016
|
-
], $mol_plot_graph.prototype, "gap", null);
|
|
3017
|
-
__decorate([
|
|
3018
|
-
$mol_mem
|
|
3019
|
-
], $mol_plot_graph.prototype, "Hint", null);
|
|
3020
|
-
__decorate([
|
|
3021
|
-
$mol_mem
|
|
3022
|
-
], $mol_plot_graph.prototype, "viewport_x", null);
|
|
3023
|
-
__decorate([
|
|
3024
|
-
$mol_mem
|
|
3025
|
-
], $mol_plot_graph.prototype, "viewport_y", null);
|
|
3026
|
-
__decorate([
|
|
3027
|
-
$mol_mem
|
|
3028
|
-
], $mol_plot_graph.prototype, "dimensions_pane_x", null);
|
|
3029
|
-
__decorate([
|
|
3030
|
-
$mol_mem
|
|
3031
|
-
], $mol_plot_graph.prototype, "dimensions_pane_y", null);
|
|
3032
|
-
__decorate([
|
|
3033
|
-
$mol_mem
|
|
3034
|
-
], $mol_plot_graph.prototype, "dimensions_x", null);
|
|
3035
|
-
__decorate([
|
|
3036
|
-
$mol_mem
|
|
3037
|
-
], $mol_plot_graph.prototype, "dimensions_y", null);
|
|
3038
|
-
__decorate([
|
|
3039
|
-
$mol_mem
|
|
3040
|
-
], $mol_plot_graph.prototype, "gap_x", null);
|
|
3041
|
-
__decorate([
|
|
3042
|
-
$mol_mem
|
|
3043
|
-
], $mol_plot_graph.prototype, "gap_y", null);
|
|
3044
|
-
$.$mol_plot_graph = $mol_plot_graph;
|
|
3045
|
-
class $mol_plot_graph_sample extends $mol_view {
|
|
3046
|
-
attr() {
|
|
3047
|
-
return {
|
|
3048
|
-
...super.attr(),
|
|
3049
|
-
mol_plot_graph_type: this.type()
|
|
3050
|
-
};
|
|
3051
|
-
}
|
|
3052
|
-
style() {
|
|
3053
|
-
return {
|
|
3054
|
-
...super.style(),
|
|
3055
|
-
color: this.color()
|
|
3056
|
-
};
|
|
3057
|
-
}
|
|
3058
|
-
type() {
|
|
3059
|
-
return "solid";
|
|
3060
|
-
}
|
|
3061
|
-
color() {
|
|
3062
|
-
return "black";
|
|
3063
|
-
}
|
|
3064
|
-
}
|
|
3065
|
-
$.$mol_plot_graph_sample = $mol_plot_graph_sample;
|
|
3066
|
-
})($ || ($ = {}));
|
|
3067
|
-
//mol/plot/graph/-view.tree/graph.view.tree.ts
|
|
3021
|
+
|
|
3068
3022
|
;
|
|
3069
3023
|
"use strict";
|
|
3070
3024
|
var $;
|
|
3071
3025
|
(function ($) {
|
|
3072
3026
|
var $$;
|
|
3073
3027
|
(function ($$) {
|
|
3074
|
-
class $
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3028
|
+
class $mol_touch extends $.$mol_touch {
|
|
3029
|
+
auto() {
|
|
3030
|
+
this.pointer_events();
|
|
3031
|
+
this.start_pan();
|
|
3032
|
+
this.start_pos();
|
|
3033
|
+
this.start_distance();
|
|
3034
|
+
this.start_zoom();
|
|
3035
|
+
this.action_type();
|
|
3036
|
+
this.view_rect();
|
|
3081
3037
|
}
|
|
3082
|
-
|
|
3083
|
-
return
|
|
3084
|
-
}
|
|
3085
|
-
repos_y(val) {
|
|
3086
|
-
return val;
|
|
3087
|
-
}
|
|
3088
|
-
points() {
|
|
3089
|
-
const [shift_x, shift_y] = this.shift();
|
|
3090
|
-
const [scale_x, scale_y] = this.scale();
|
|
3091
|
-
const series_x = this.series_x();
|
|
3092
|
-
const series_y = this.series_y();
|
|
3093
|
-
return this.indexes().map(index => {
|
|
3094
|
-
let point_x = Math.round(shift_x + this.repos_x(series_x[index]) * scale_x);
|
|
3095
|
-
let point_y = Math.round(shift_y + this.repos_y(series_y[index]) * scale_y);
|
|
3096
|
-
point_x = Math.max(Number.MIN_SAFE_INTEGER, Math.min(point_x, Number.MAX_SAFE_INTEGER));
|
|
3097
|
-
point_y = Math.max(Number.MIN_SAFE_INTEGER, Math.min(point_y, Number.MAX_SAFE_INTEGER));
|
|
3098
|
-
return [point_x, point_y];
|
|
3099
|
-
});
|
|
3100
|
-
}
|
|
3101
|
-
series_x() {
|
|
3102
|
-
return this.series_y().map((val, index) => index);
|
|
3103
|
-
}
|
|
3104
|
-
dimensions() {
|
|
3105
|
-
let next = new this.$.$mol_vector_2d($mol_vector_range_full.inversed, $mol_vector_range_full.inversed);
|
|
3106
|
-
const series_x = this.series_x();
|
|
3107
|
-
const series_y = this.series_y();
|
|
3108
|
-
for (let i = 0; i < series_x.length; i++) {
|
|
3109
|
-
if (series_x[i] > next.x.max)
|
|
3110
|
-
next.x.max = series_x[i];
|
|
3111
|
-
if (series_x[i] < next.x.min)
|
|
3112
|
-
next.x.min = series_x[i];
|
|
3113
|
-
if (series_y[i] > next.y.max)
|
|
3114
|
-
next.y.max = series_y[i];
|
|
3115
|
-
if (series_y[i] < next.y.min)
|
|
3116
|
-
next.y.min = series_y[i];
|
|
3117
|
-
}
|
|
3118
|
-
return next;
|
|
3119
|
-
}
|
|
3120
|
-
color() {
|
|
3121
|
-
const hue = this.hue();
|
|
3122
|
-
return hue ? `hsl( ${hue} , 100% , 35% )` : '';
|
|
3123
|
-
}
|
|
3124
|
-
front() {
|
|
3125
|
-
return [this];
|
|
3126
|
-
}
|
|
3127
|
-
}
|
|
3128
|
-
__decorate([
|
|
3129
|
-
$mol_mem
|
|
3130
|
-
], $mol_plot_graph.prototype, "indexes", null);
|
|
3131
|
-
__decorate([
|
|
3132
|
-
$mol_mem
|
|
3133
|
-
], $mol_plot_graph.prototype, "series_x", null);
|
|
3134
|
-
__decorate([
|
|
3135
|
-
$mol_mem
|
|
3136
|
-
], $mol_plot_graph.prototype, "dimensions", null);
|
|
3137
|
-
$$.$mol_plot_graph = $mol_plot_graph;
|
|
3138
|
-
})($$ = $.$$ || ($.$$ = {}));
|
|
3139
|
-
})($ || ($ = {}));
|
|
3140
|
-
//mol/plot/graph/graph.view.ts
|
|
3141
|
-
;
|
|
3142
|
-
"use strict";
|
|
3143
|
-
var $;
|
|
3144
|
-
(function ($) {
|
|
3145
|
-
$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");
|
|
3146
|
-
})($ || ($ = {}));
|
|
3147
|
-
//mol/plot/graph/-css/graph.view.css.ts
|
|
3148
|
-
;
|
|
3149
|
-
"use strict";
|
|
3150
|
-
var $;
|
|
3151
|
-
(function ($) {
|
|
3152
|
-
class $mol_touch extends $mol_plugin {
|
|
3153
|
-
start_zoom(next) {
|
|
3154
|
-
if (next !== undefined)
|
|
3155
|
-
return next;
|
|
3156
|
-
return 0;
|
|
3157
|
-
}
|
|
3158
|
-
start_distance(next) {
|
|
3159
|
-
if (next !== undefined)
|
|
3160
|
-
return next;
|
|
3161
|
-
return 0;
|
|
3162
|
-
}
|
|
3163
|
-
zoom(next) {
|
|
3164
|
-
if (next !== undefined)
|
|
3165
|
-
return next;
|
|
3166
|
-
return 1;
|
|
3167
|
-
}
|
|
3168
|
-
allow_draw() {
|
|
3169
|
-
return true;
|
|
3170
|
-
}
|
|
3171
|
-
allow_pan() {
|
|
3172
|
-
return true;
|
|
3173
|
-
}
|
|
3174
|
-
allow_zoom() {
|
|
3175
|
-
return true;
|
|
3176
|
-
}
|
|
3177
|
-
action_type(next) {
|
|
3178
|
-
if (next !== undefined)
|
|
3179
|
-
return next;
|
|
3180
|
-
return "";
|
|
3181
|
-
}
|
|
3182
|
-
action_point(next) {
|
|
3183
|
-
if (next !== undefined)
|
|
3184
|
-
return next;
|
|
3185
|
-
const obj = new this.$.$mol_vector_2d(NaN, NaN);
|
|
3186
|
-
return obj;
|
|
3187
|
-
}
|
|
3188
|
-
start_pan(next) {
|
|
3189
|
-
if (next !== undefined)
|
|
3190
|
-
return next;
|
|
3191
|
-
return [
|
|
3192
|
-
0,
|
|
3193
|
-
0
|
|
3194
|
-
];
|
|
3195
|
-
}
|
|
3196
|
-
pan(next) {
|
|
3197
|
-
if (next !== undefined)
|
|
3198
|
-
return next;
|
|
3199
|
-
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
3200
|
-
return obj;
|
|
3201
|
-
}
|
|
3202
|
-
pointer_center() {
|
|
3203
|
-
const obj = new this.$.$mol_vector_2d(NaN, NaN);
|
|
3204
|
-
return obj;
|
|
3205
|
-
}
|
|
3206
|
-
start_pos(next) {
|
|
3207
|
-
if (next !== undefined)
|
|
3208
|
-
return next;
|
|
3209
|
-
return null;
|
|
3210
|
-
}
|
|
3211
|
-
swipe_precision() {
|
|
3212
|
-
return 16;
|
|
3213
|
-
}
|
|
3214
|
-
swipe_right(next) {
|
|
3215
|
-
if (next !== undefined)
|
|
3216
|
-
return next;
|
|
3217
|
-
return null;
|
|
3218
|
-
}
|
|
3219
|
-
swipe_bottom(next) {
|
|
3220
|
-
if (next !== undefined)
|
|
3221
|
-
return next;
|
|
3222
|
-
return null;
|
|
3223
|
-
}
|
|
3224
|
-
swipe_left(next) {
|
|
3225
|
-
if (next !== undefined)
|
|
3226
|
-
return next;
|
|
3227
|
-
return null;
|
|
3228
|
-
}
|
|
3229
|
-
swipe_top(next) {
|
|
3230
|
-
if (next !== undefined)
|
|
3231
|
-
return next;
|
|
3232
|
-
return null;
|
|
3233
|
-
}
|
|
3234
|
-
swipe_from_right(next) {
|
|
3235
|
-
if (next !== undefined)
|
|
3236
|
-
return next;
|
|
3237
|
-
return null;
|
|
3238
|
-
}
|
|
3239
|
-
swipe_from_bottom(next) {
|
|
3240
|
-
if (next !== undefined)
|
|
3241
|
-
return next;
|
|
3242
|
-
return null;
|
|
3243
|
-
}
|
|
3244
|
-
swipe_from_left(next) {
|
|
3245
|
-
if (next !== undefined)
|
|
3246
|
-
return next;
|
|
3247
|
-
return null;
|
|
3248
|
-
}
|
|
3249
|
-
swipe_from_top(next) {
|
|
3250
|
-
if (next !== undefined)
|
|
3251
|
-
return next;
|
|
3252
|
-
return null;
|
|
3253
|
-
}
|
|
3254
|
-
swipe_to_right(next) {
|
|
3255
|
-
if (next !== undefined)
|
|
3256
|
-
return next;
|
|
3257
|
-
return null;
|
|
3258
|
-
}
|
|
3259
|
-
swipe_to_bottom(next) {
|
|
3260
|
-
if (next !== undefined)
|
|
3261
|
-
return next;
|
|
3262
|
-
return null;
|
|
3263
|
-
}
|
|
3264
|
-
swipe_to_left(next) {
|
|
3265
|
-
if (next !== undefined)
|
|
3266
|
-
return next;
|
|
3267
|
-
return null;
|
|
3268
|
-
}
|
|
3269
|
-
swipe_to_top(next) {
|
|
3270
|
-
if (next !== undefined)
|
|
3271
|
-
return next;
|
|
3272
|
-
return null;
|
|
3273
|
-
}
|
|
3274
|
-
draw_start(event) {
|
|
3275
|
-
if (event !== undefined)
|
|
3276
|
-
return event;
|
|
3277
|
-
return null;
|
|
3278
|
-
}
|
|
3279
|
-
draw(event) {
|
|
3280
|
-
if (event !== undefined)
|
|
3281
|
-
return event;
|
|
3282
|
-
return null;
|
|
3283
|
-
}
|
|
3284
|
-
draw_end(event) {
|
|
3285
|
-
if (event !== undefined)
|
|
3286
|
-
return event;
|
|
3287
|
-
return null;
|
|
3288
|
-
}
|
|
3289
|
-
style() {
|
|
3290
|
-
return {
|
|
3291
|
-
...super.style(),
|
|
3292
|
-
"touch-action": "none",
|
|
3293
|
-
"overscroll-behavior": "none"
|
|
3294
|
-
};
|
|
3295
|
-
}
|
|
3296
|
-
event() {
|
|
3297
|
-
return {
|
|
3298
|
-
...super.event(),
|
|
3299
|
-
pointerdown: (event) => this.event_start(event),
|
|
3300
|
-
pointermove: (event) => this.event_move(event),
|
|
3301
|
-
pointerup: (event) => this.event_end(event),
|
|
3302
|
-
pointerleave: (event) => this.event_leave(event),
|
|
3303
|
-
wheel: (event) => this.event_wheel(event)
|
|
3304
|
-
};
|
|
3305
|
-
}
|
|
3306
|
-
event_start(event) {
|
|
3307
|
-
if (event !== undefined)
|
|
3308
|
-
return event;
|
|
3309
|
-
return null;
|
|
3310
|
-
}
|
|
3311
|
-
event_move(event) {
|
|
3312
|
-
if (event !== undefined)
|
|
3313
|
-
return event;
|
|
3314
|
-
return null;
|
|
3315
|
-
}
|
|
3316
|
-
event_end(event) {
|
|
3317
|
-
if (event !== undefined)
|
|
3318
|
-
return event;
|
|
3319
|
-
return null;
|
|
3320
|
-
}
|
|
3321
|
-
event_leave(event) {
|
|
3322
|
-
if (event !== undefined)
|
|
3323
|
-
return event;
|
|
3324
|
-
return null;
|
|
3325
|
-
}
|
|
3326
|
-
event_wheel(event) {
|
|
3327
|
-
if (event !== undefined)
|
|
3328
|
-
return event;
|
|
3329
|
-
return null;
|
|
3330
|
-
}
|
|
3331
|
-
}
|
|
3332
|
-
__decorate([
|
|
3333
|
-
$mol_mem
|
|
3334
|
-
], $mol_touch.prototype, "start_zoom", null);
|
|
3335
|
-
__decorate([
|
|
3336
|
-
$mol_mem
|
|
3337
|
-
], $mol_touch.prototype, "start_distance", null);
|
|
3338
|
-
__decorate([
|
|
3339
|
-
$mol_mem
|
|
3340
|
-
], $mol_touch.prototype, "zoom", null);
|
|
3341
|
-
__decorate([
|
|
3342
|
-
$mol_mem
|
|
3343
|
-
], $mol_touch.prototype, "action_type", null);
|
|
3344
|
-
__decorate([
|
|
3345
|
-
$mol_mem
|
|
3346
|
-
], $mol_touch.prototype, "action_point", null);
|
|
3347
|
-
__decorate([
|
|
3348
|
-
$mol_mem
|
|
3349
|
-
], $mol_touch.prototype, "start_pan", null);
|
|
3350
|
-
__decorate([
|
|
3351
|
-
$mol_mem
|
|
3352
|
-
], $mol_touch.prototype, "pan", null);
|
|
3353
|
-
__decorate([
|
|
3354
|
-
$mol_mem
|
|
3355
|
-
], $mol_touch.prototype, "pointer_center", null);
|
|
3356
|
-
__decorate([
|
|
3357
|
-
$mol_mem
|
|
3358
|
-
], $mol_touch.prototype, "start_pos", null);
|
|
3359
|
-
__decorate([
|
|
3360
|
-
$mol_mem
|
|
3361
|
-
], $mol_touch.prototype, "swipe_right", null);
|
|
3362
|
-
__decorate([
|
|
3363
|
-
$mol_mem
|
|
3364
|
-
], $mol_touch.prototype, "swipe_bottom", null);
|
|
3365
|
-
__decorate([
|
|
3366
|
-
$mol_mem
|
|
3367
|
-
], $mol_touch.prototype, "swipe_left", null);
|
|
3368
|
-
__decorate([
|
|
3369
|
-
$mol_mem
|
|
3370
|
-
], $mol_touch.prototype, "swipe_top", null);
|
|
3371
|
-
__decorate([
|
|
3372
|
-
$mol_mem
|
|
3373
|
-
], $mol_touch.prototype, "swipe_from_right", null);
|
|
3374
|
-
__decorate([
|
|
3375
|
-
$mol_mem
|
|
3376
|
-
], $mol_touch.prototype, "swipe_from_bottom", null);
|
|
3377
|
-
__decorate([
|
|
3378
|
-
$mol_mem
|
|
3379
|
-
], $mol_touch.prototype, "swipe_from_left", null);
|
|
3380
|
-
__decorate([
|
|
3381
|
-
$mol_mem
|
|
3382
|
-
], $mol_touch.prototype, "swipe_from_top", null);
|
|
3383
|
-
__decorate([
|
|
3384
|
-
$mol_mem
|
|
3385
|
-
], $mol_touch.prototype, "swipe_to_right", null);
|
|
3386
|
-
__decorate([
|
|
3387
|
-
$mol_mem
|
|
3388
|
-
], $mol_touch.prototype, "swipe_to_bottom", null);
|
|
3389
|
-
__decorate([
|
|
3390
|
-
$mol_mem
|
|
3391
|
-
], $mol_touch.prototype, "swipe_to_left", null);
|
|
3392
|
-
__decorate([
|
|
3393
|
-
$mol_mem
|
|
3394
|
-
], $mol_touch.prototype, "swipe_to_top", null);
|
|
3395
|
-
__decorate([
|
|
3396
|
-
$mol_mem
|
|
3397
|
-
], $mol_touch.prototype, "draw_start", null);
|
|
3398
|
-
__decorate([
|
|
3399
|
-
$mol_mem
|
|
3400
|
-
], $mol_touch.prototype, "draw", null);
|
|
3401
|
-
__decorate([
|
|
3402
|
-
$mol_mem
|
|
3403
|
-
], $mol_touch.prototype, "draw_end", null);
|
|
3404
|
-
__decorate([
|
|
3405
|
-
$mol_mem
|
|
3406
|
-
], $mol_touch.prototype, "event_start", null);
|
|
3407
|
-
__decorate([
|
|
3408
|
-
$mol_mem
|
|
3409
|
-
], $mol_touch.prototype, "event_move", null);
|
|
3410
|
-
__decorate([
|
|
3411
|
-
$mol_mem
|
|
3412
|
-
], $mol_touch.prototype, "event_end", null);
|
|
3413
|
-
__decorate([
|
|
3414
|
-
$mol_mem
|
|
3415
|
-
], $mol_touch.prototype, "event_leave", null);
|
|
3416
|
-
__decorate([
|
|
3417
|
-
$mol_mem
|
|
3418
|
-
], $mol_touch.prototype, "event_wheel", null);
|
|
3419
|
-
$.$mol_touch = $mol_touch;
|
|
3420
|
-
})($ || ($ = {}));
|
|
3421
|
-
//mol/touch/-view.tree/touch.view.tree.ts
|
|
3422
|
-
;
|
|
3423
|
-
"use strict";
|
|
3424
|
-
var $;
|
|
3425
|
-
(function ($) {
|
|
3426
|
-
var $$;
|
|
3427
|
-
(function ($$) {
|
|
3428
|
-
class $mol_touch extends $.$mol_touch {
|
|
3429
|
-
auto() {
|
|
3430
|
-
this.pointer_events();
|
|
3431
|
-
this.start_pan();
|
|
3432
|
-
this.start_pos();
|
|
3433
|
-
this.start_distance();
|
|
3434
|
-
this.start_zoom();
|
|
3435
|
-
this.action_type();
|
|
3436
|
-
this.view_rect();
|
|
3437
|
-
}
|
|
3438
|
-
pointer_events(next = []) {
|
|
3439
|
-
return next;
|
|
3038
|
+
pointer_events(next = []) {
|
|
3039
|
+
return next;
|
|
3440
3040
|
}
|
|
3441
3041
|
pointer_coords() {
|
|
3442
3042
|
const events = this.pointer_events();
|
|
@@ -3664,316 +3264,499 @@ var $;
|
|
|
3664
3264
|
$$.$mol_touch = $mol_touch;
|
|
3665
3265
|
})($$ = $.$$ || ($.$$ = {}));
|
|
3666
3266
|
})($ || ($ = {}));
|
|
3667
|
-
|
|
3267
|
+
|
|
3268
|
+
;
|
|
3269
|
+
($.$mol_plot_pane) = class $mol_plot_pane extends ($.$mol_svg_root) {
|
|
3270
|
+
aspect(){
|
|
3271
|
+
return "none";
|
|
3272
|
+
}
|
|
3273
|
+
hue_base(next){
|
|
3274
|
+
if(next !== undefined) return next;
|
|
3275
|
+
return +NaN;
|
|
3276
|
+
}
|
|
3277
|
+
hue_shift(next){
|
|
3278
|
+
if(next !== undefined) return next;
|
|
3279
|
+
return 111;
|
|
3280
|
+
}
|
|
3281
|
+
gap_hor(){
|
|
3282
|
+
return 48;
|
|
3283
|
+
}
|
|
3284
|
+
gap_vert(){
|
|
3285
|
+
return 24;
|
|
3286
|
+
}
|
|
3287
|
+
gap_left(){
|
|
3288
|
+
return (this.gap_hor());
|
|
3289
|
+
}
|
|
3290
|
+
gap_right(){
|
|
3291
|
+
return (this.gap_hor());
|
|
3292
|
+
}
|
|
3293
|
+
gap_top(){
|
|
3294
|
+
return (this.gap_vert());
|
|
3295
|
+
}
|
|
3296
|
+
gap_bottom(){
|
|
3297
|
+
return (this.gap_vert());
|
|
3298
|
+
}
|
|
3299
|
+
gap(){
|
|
3300
|
+
const obj = new this.$.$mol_vector_2d((this.gap_x()), (this.gap_y()));
|
|
3301
|
+
return obj;
|
|
3302
|
+
}
|
|
3303
|
+
shift_limit(){
|
|
3304
|
+
const obj = new this.$.$mol_vector_2d((this.shift_limit_x()), (this.shift_limit_y()));
|
|
3305
|
+
return obj;
|
|
3306
|
+
}
|
|
3307
|
+
shift_default(){
|
|
3308
|
+
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
3309
|
+
return obj;
|
|
3310
|
+
}
|
|
3311
|
+
shift(next){
|
|
3312
|
+
if(next !== undefined) return next;
|
|
3313
|
+
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
3314
|
+
return obj;
|
|
3315
|
+
}
|
|
3316
|
+
scale_limit(){
|
|
3317
|
+
const obj = new this.$.$mol_vector_2d((this.scale_limit_x()), (this.scale_limit_y()));
|
|
3318
|
+
return obj;
|
|
3319
|
+
}
|
|
3320
|
+
scale_default(){
|
|
3321
|
+
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
3322
|
+
return obj;
|
|
3323
|
+
}
|
|
3324
|
+
scale(next){
|
|
3325
|
+
if(next !== undefined) return next;
|
|
3326
|
+
const obj = new this.$.$mol_vector_2d(1, -1);
|
|
3327
|
+
return obj;
|
|
3328
|
+
}
|
|
3329
|
+
scale_x(next){
|
|
3330
|
+
if(next !== undefined) return next;
|
|
3331
|
+
return 1;
|
|
3332
|
+
}
|
|
3333
|
+
scale_y(next){
|
|
3334
|
+
if(next !== undefined) return next;
|
|
3335
|
+
return -1;
|
|
3336
|
+
}
|
|
3337
|
+
size(){
|
|
3338
|
+
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
3339
|
+
return obj;
|
|
3340
|
+
}
|
|
3341
|
+
size_real(){
|
|
3342
|
+
const obj = new this.$.$mol_vector_2d(1, 1);
|
|
3343
|
+
return obj;
|
|
3344
|
+
}
|
|
3345
|
+
dimensions(){
|
|
3346
|
+
const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
|
|
3347
|
+
return obj;
|
|
3348
|
+
}
|
|
3349
|
+
dimensions_viewport(){
|
|
3350
|
+
const obj = new this.$.$mol_vector_2d((this.dimensions_viewport_x()), (this.dimensions_viewport_y()));
|
|
3351
|
+
return obj;
|
|
3352
|
+
}
|
|
3353
|
+
sub(){
|
|
3354
|
+
return (this.graphs_sorted());
|
|
3355
|
+
}
|
|
3356
|
+
graphs_colored(){
|
|
3357
|
+
return (this.graphs_visible());
|
|
3358
|
+
}
|
|
3359
|
+
plugins(){
|
|
3360
|
+
return [...(super.plugins()), (this.Touch())];
|
|
3361
|
+
}
|
|
3362
|
+
gap_x(){
|
|
3363
|
+
const obj = new this.$.$mol_vector_range((this.gap_left()), (this.gap_right()));
|
|
3364
|
+
return obj;
|
|
3365
|
+
}
|
|
3366
|
+
gap_y(){
|
|
3367
|
+
const obj = new this.$.$mol_vector_range((this.gap_bottom()), (this.gap_top()));
|
|
3368
|
+
return obj;
|
|
3369
|
+
}
|
|
3370
|
+
shift_limit_x(){
|
|
3371
|
+
const obj = new this.$.$mol_vector_range(0, 0);
|
|
3372
|
+
return obj;
|
|
3373
|
+
}
|
|
3374
|
+
shift_limit_y(){
|
|
3375
|
+
const obj = new this.$.$mol_vector_range(0, 0);
|
|
3376
|
+
return obj;
|
|
3377
|
+
}
|
|
3378
|
+
scale_limit_x(){
|
|
3379
|
+
const obj = new this.$.$mol_vector_range(0, Infinity);
|
|
3380
|
+
return obj;
|
|
3381
|
+
}
|
|
3382
|
+
scale_limit_y(){
|
|
3383
|
+
const obj = new this.$.$mol_vector_range(0, -Infinity);
|
|
3384
|
+
return obj;
|
|
3385
|
+
}
|
|
3386
|
+
dimensions_x(){
|
|
3387
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3388
|
+
return obj;
|
|
3389
|
+
}
|
|
3390
|
+
dimensions_y(){
|
|
3391
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3392
|
+
return obj;
|
|
3393
|
+
}
|
|
3394
|
+
dimensions_viewport_x(){
|
|
3395
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3396
|
+
return obj;
|
|
3397
|
+
}
|
|
3398
|
+
dimensions_viewport_y(){
|
|
3399
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3400
|
+
return obj;
|
|
3401
|
+
}
|
|
3402
|
+
graphs_sorted(){
|
|
3403
|
+
return [];
|
|
3404
|
+
}
|
|
3405
|
+
graphs(){
|
|
3406
|
+
return [];
|
|
3407
|
+
}
|
|
3408
|
+
graphs_positioned(){
|
|
3409
|
+
return (this.graphs());
|
|
3410
|
+
}
|
|
3411
|
+
graphs_visible(){
|
|
3412
|
+
return (this.graphs_positioned());
|
|
3413
|
+
}
|
|
3414
|
+
zoom(next){
|
|
3415
|
+
if(next !== undefined) return next;
|
|
3416
|
+
return 1;
|
|
3417
|
+
}
|
|
3418
|
+
cursor_position(){
|
|
3419
|
+
return (this.Touch().pointer_center());
|
|
3420
|
+
}
|
|
3421
|
+
allow_draw(){
|
|
3422
|
+
return true;
|
|
3423
|
+
}
|
|
3424
|
+
allow_pan(){
|
|
3425
|
+
return true;
|
|
3426
|
+
}
|
|
3427
|
+
allow_zoom(){
|
|
3428
|
+
return true;
|
|
3429
|
+
}
|
|
3430
|
+
action_type(){
|
|
3431
|
+
return (this.Touch().action_type());
|
|
3432
|
+
}
|
|
3433
|
+
action_point(){
|
|
3434
|
+
return (this.Touch().action_point());
|
|
3435
|
+
}
|
|
3436
|
+
draw_start(next){
|
|
3437
|
+
if(next !== undefined) return next;
|
|
3438
|
+
return null;
|
|
3439
|
+
}
|
|
3440
|
+
draw(next){
|
|
3441
|
+
if(next !== undefined) return next;
|
|
3442
|
+
return null;
|
|
3443
|
+
}
|
|
3444
|
+
draw_end(next){
|
|
3445
|
+
if(next !== undefined) return next;
|
|
3446
|
+
return null;
|
|
3447
|
+
}
|
|
3448
|
+
Touch(){
|
|
3449
|
+
const obj = new this.$.$mol_touch();
|
|
3450
|
+
(obj.zoom) = (next) => ((this.zoom(next)));
|
|
3451
|
+
(obj.pan) = (next) => ((this.shift(next)));
|
|
3452
|
+
(obj.allow_draw) = () => ((this.allow_draw()));
|
|
3453
|
+
(obj.allow_pan) = () => ((this.allow_pan()));
|
|
3454
|
+
(obj.allow_zoom) = () => ((this.allow_zoom()));
|
|
3455
|
+
(obj.draw_start) = (next) => ((this.draw_start(next)));
|
|
3456
|
+
(obj.draw) = (next) => ((this.draw(next)));
|
|
3457
|
+
(obj.draw_end) = (next) => ((this.draw_end(next)));
|
|
3458
|
+
return obj;
|
|
3459
|
+
}
|
|
3460
|
+
};
|
|
3461
|
+
($mol_mem(($.$mol_plot_pane.prototype), "hue_base"));
|
|
3462
|
+
($mol_mem(($.$mol_plot_pane.prototype), "hue_shift"));
|
|
3463
|
+
($mol_mem(($.$mol_plot_pane.prototype), "gap"));
|
|
3464
|
+
($mol_mem(($.$mol_plot_pane.prototype), "shift_limit"));
|
|
3465
|
+
($mol_mem(($.$mol_plot_pane.prototype), "shift_default"));
|
|
3466
|
+
($mol_mem(($.$mol_plot_pane.prototype), "shift"));
|
|
3467
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_limit"));
|
|
3468
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_default"));
|
|
3469
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale"));
|
|
3470
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_x"));
|
|
3471
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_y"));
|
|
3472
|
+
($mol_mem(($.$mol_plot_pane.prototype), "size"));
|
|
3473
|
+
($mol_mem(($.$mol_plot_pane.prototype), "size_real"));
|
|
3474
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions"));
|
|
3475
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport"));
|
|
3476
|
+
($mol_mem(($.$mol_plot_pane.prototype), "gap_x"));
|
|
3477
|
+
($mol_mem(($.$mol_plot_pane.prototype), "gap_y"));
|
|
3478
|
+
($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_x"));
|
|
3479
|
+
($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_y"));
|
|
3480
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_x"));
|
|
3481
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_y"));
|
|
3482
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_x"));
|
|
3483
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_y"));
|
|
3484
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_x"));
|
|
3485
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_y"));
|
|
3486
|
+
($mol_mem(($.$mol_plot_pane.prototype), "zoom"));
|
|
3487
|
+
($mol_mem(($.$mol_plot_pane.prototype), "draw_start"));
|
|
3488
|
+
($mol_mem(($.$mol_plot_pane.prototype), "draw"));
|
|
3489
|
+
($mol_mem(($.$mol_plot_pane.prototype), "draw_end"));
|
|
3490
|
+
($mol_mem(($.$mol_plot_pane.prototype), "Touch"));
|
|
3491
|
+
|
|
3492
|
+
|
|
3493
|
+
;
|
|
3494
|
+
($.$mol_svg_group) = class $mol_svg_group extends ($.$mol_svg) {
|
|
3495
|
+
dom_name(){
|
|
3496
|
+
return "g";
|
|
3497
|
+
}
|
|
3498
|
+
};
|
|
3499
|
+
|
|
3500
|
+
|
|
3501
|
+
;
|
|
3502
|
+
"use strict";
|
|
3503
|
+
|
|
3504
|
+
;
|
|
3505
|
+
($.$mol_svg_title) = class $mol_svg_title extends ($.$mol_svg) {
|
|
3506
|
+
dom_name(){
|
|
3507
|
+
return "title";
|
|
3508
|
+
}
|
|
3509
|
+
sub(){
|
|
3510
|
+
return [(this.title())];
|
|
3511
|
+
}
|
|
3512
|
+
};
|
|
3513
|
+
|
|
3514
|
+
|
|
3515
|
+
;
|
|
3516
|
+
"use strict";
|
|
3517
|
+
|
|
3518
|
+
;
|
|
3519
|
+
($.$mol_plot_graph) = class $mol_plot_graph extends ($.$mol_svg_group) {
|
|
3520
|
+
series_x(){
|
|
3521
|
+
return [];
|
|
3522
|
+
}
|
|
3523
|
+
series_y(){
|
|
3524
|
+
return [];
|
|
3525
|
+
}
|
|
3526
|
+
attr(){
|
|
3527
|
+
return {...(super.attr()), "mol_plot_graph_type": (this.type())};
|
|
3528
|
+
}
|
|
3529
|
+
style(){
|
|
3530
|
+
return {...(super.style()), "color": (this.color())};
|
|
3531
|
+
}
|
|
3532
|
+
viewport(){
|
|
3533
|
+
const obj = new this.$.$mol_vector_2d((this.viewport_x()), (this.viewport_y()));
|
|
3534
|
+
return obj;
|
|
3535
|
+
}
|
|
3536
|
+
shift(){
|
|
3537
|
+
return [0, 0];
|
|
3538
|
+
}
|
|
3539
|
+
scale(){
|
|
3540
|
+
return [1, 1];
|
|
3541
|
+
}
|
|
3542
|
+
cursor_position(){
|
|
3543
|
+
const obj = new this.$.$mol_vector_2d(NaN, NaN);
|
|
3544
|
+
return obj;
|
|
3545
|
+
}
|
|
3546
|
+
dimensions_pane(){
|
|
3547
|
+
const obj = new this.$.$mol_vector_2d((this.dimensions_pane_x()), (this.dimensions_pane_y()));
|
|
3548
|
+
return obj;
|
|
3549
|
+
}
|
|
3550
|
+
dimensions(){
|
|
3551
|
+
const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
|
|
3552
|
+
return obj;
|
|
3553
|
+
}
|
|
3554
|
+
size_real(){
|
|
3555
|
+
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
3556
|
+
return obj;
|
|
3557
|
+
}
|
|
3558
|
+
gap(){
|
|
3559
|
+
const obj = new this.$.$mol_vector_2d((this.gap_x()), (this.gap_y()));
|
|
3560
|
+
return obj;
|
|
3561
|
+
}
|
|
3562
|
+
repos_x(id){
|
|
3563
|
+
return 0;
|
|
3564
|
+
}
|
|
3565
|
+
repos_y(id){
|
|
3566
|
+
return 0;
|
|
3567
|
+
}
|
|
3568
|
+
indexes(){
|
|
3569
|
+
return [];
|
|
3570
|
+
}
|
|
3571
|
+
points(){
|
|
3572
|
+
return [];
|
|
3573
|
+
}
|
|
3574
|
+
front(){
|
|
3575
|
+
return [];
|
|
3576
|
+
}
|
|
3577
|
+
back(){
|
|
3578
|
+
return [];
|
|
3579
|
+
}
|
|
3580
|
+
Hint(){
|
|
3581
|
+
const obj = new this.$.$mol_svg_title();
|
|
3582
|
+
(obj.title) = () => ((this.hint()));
|
|
3583
|
+
return obj;
|
|
3584
|
+
}
|
|
3585
|
+
hue(){
|
|
3586
|
+
return +NaN;
|
|
3587
|
+
}
|
|
3588
|
+
Sample(){
|
|
3589
|
+
return null;
|
|
3590
|
+
}
|
|
3591
|
+
type(){
|
|
3592
|
+
return "solid";
|
|
3593
|
+
}
|
|
3594
|
+
color(){
|
|
3595
|
+
return "";
|
|
3596
|
+
}
|
|
3597
|
+
viewport_x(){
|
|
3598
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3599
|
+
return obj;
|
|
3600
|
+
}
|
|
3601
|
+
viewport_y(){
|
|
3602
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3603
|
+
return obj;
|
|
3604
|
+
}
|
|
3605
|
+
dimensions_pane_x(){
|
|
3606
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3607
|
+
return obj;
|
|
3608
|
+
}
|
|
3609
|
+
dimensions_pane_y(){
|
|
3610
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3611
|
+
return obj;
|
|
3612
|
+
}
|
|
3613
|
+
dimensions_x(){
|
|
3614
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3615
|
+
return obj;
|
|
3616
|
+
}
|
|
3617
|
+
dimensions_y(){
|
|
3618
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3619
|
+
return obj;
|
|
3620
|
+
}
|
|
3621
|
+
gap_x(){
|
|
3622
|
+
const obj = new this.$.$mol_vector_range(0, 0);
|
|
3623
|
+
return obj;
|
|
3624
|
+
}
|
|
3625
|
+
gap_y(){
|
|
3626
|
+
const obj = new this.$.$mol_vector_range(0, 0);
|
|
3627
|
+
return obj;
|
|
3628
|
+
}
|
|
3629
|
+
title(){
|
|
3630
|
+
return "";
|
|
3631
|
+
}
|
|
3632
|
+
hint(){
|
|
3633
|
+
return (this.title());
|
|
3634
|
+
}
|
|
3635
|
+
};
|
|
3636
|
+
($mol_mem(($.$mol_plot_graph.prototype), "viewport"));
|
|
3637
|
+
($mol_mem(($.$mol_plot_graph.prototype), "cursor_position"));
|
|
3638
|
+
($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane"));
|
|
3639
|
+
($mol_mem(($.$mol_plot_graph.prototype), "dimensions"));
|
|
3640
|
+
($mol_mem(($.$mol_plot_graph.prototype), "size_real"));
|
|
3641
|
+
($mol_mem(($.$mol_plot_graph.prototype), "gap"));
|
|
3642
|
+
($mol_mem(($.$mol_plot_graph.prototype), "Hint"));
|
|
3643
|
+
($mol_mem(($.$mol_plot_graph.prototype), "viewport_x"));
|
|
3644
|
+
($mol_mem(($.$mol_plot_graph.prototype), "viewport_y"));
|
|
3645
|
+
($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane_x"));
|
|
3646
|
+
($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane_y"));
|
|
3647
|
+
($mol_mem(($.$mol_plot_graph.prototype), "dimensions_x"));
|
|
3648
|
+
($mol_mem(($.$mol_plot_graph.prototype), "dimensions_y"));
|
|
3649
|
+
($mol_mem(($.$mol_plot_graph.prototype), "gap_x"));
|
|
3650
|
+
($mol_mem(($.$mol_plot_graph.prototype), "gap_y"));
|
|
3651
|
+
($.$mol_plot_graph_sample) = class $mol_plot_graph_sample extends ($.$mol_view) {
|
|
3652
|
+
attr(){
|
|
3653
|
+
return {...(super.attr()), "mol_plot_graph_type": (this.type())};
|
|
3654
|
+
}
|
|
3655
|
+
style(){
|
|
3656
|
+
return {...(super.style()), "color": (this.color())};
|
|
3657
|
+
}
|
|
3658
|
+
type(){
|
|
3659
|
+
return "solid";
|
|
3660
|
+
}
|
|
3661
|
+
color(){
|
|
3662
|
+
return "black";
|
|
3663
|
+
}
|
|
3664
|
+
};
|
|
3665
|
+
|
|
3666
|
+
|
|
3667
|
+
;
|
|
3668
|
+
"use strict";
|
|
3669
|
+
|
|
3668
3670
|
;
|
|
3669
3671
|
"use strict";
|
|
3670
3672
|
var $;
|
|
3671
3673
|
(function ($) {
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
return
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
return next;
|
|
3719
|
-
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
3720
|
-
return obj;
|
|
3721
|
-
}
|
|
3722
|
-
scale_limit() {
|
|
3723
|
-
const obj = new this.$.$mol_vector_2d(this.scale_limit_x(), this.scale_limit_y());
|
|
3724
|
-
return obj;
|
|
3725
|
-
}
|
|
3726
|
-
scale_default() {
|
|
3727
|
-
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
3728
|
-
return obj;
|
|
3729
|
-
}
|
|
3730
|
-
scale(next) {
|
|
3731
|
-
if (next !== undefined)
|
|
3732
|
-
return next;
|
|
3733
|
-
const obj = new this.$.$mol_vector_2d(1, -1);
|
|
3734
|
-
return obj;
|
|
3735
|
-
}
|
|
3736
|
-
scale_x(next) {
|
|
3737
|
-
if (next !== undefined)
|
|
3738
|
-
return next;
|
|
3739
|
-
return 1;
|
|
3740
|
-
}
|
|
3741
|
-
scale_y(next) {
|
|
3742
|
-
if (next !== undefined)
|
|
3743
|
-
return next;
|
|
3744
|
-
return -1;
|
|
3745
|
-
}
|
|
3746
|
-
size() {
|
|
3747
|
-
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
3748
|
-
return obj;
|
|
3749
|
-
}
|
|
3750
|
-
size_real() {
|
|
3751
|
-
const obj = new this.$.$mol_vector_2d(1, 1);
|
|
3752
|
-
return obj;
|
|
3753
|
-
}
|
|
3754
|
-
dimensions() {
|
|
3755
|
-
const obj = new this.$.$mol_vector_2d(this.dimensions_x(), this.dimensions_y());
|
|
3756
|
-
return obj;
|
|
3757
|
-
}
|
|
3758
|
-
dimensions_viewport() {
|
|
3759
|
-
const obj = new this.$.$mol_vector_2d(this.dimensions_viewport_x(), this.dimensions_viewport_y());
|
|
3760
|
-
return obj;
|
|
3761
|
-
}
|
|
3762
|
-
sub() {
|
|
3763
|
-
return this.graphs_sorted();
|
|
3764
|
-
}
|
|
3765
|
-
graphs_colored() {
|
|
3766
|
-
return this.graphs_visible();
|
|
3767
|
-
}
|
|
3768
|
-
plugins() {
|
|
3769
|
-
return [
|
|
3770
|
-
...super.plugins(),
|
|
3771
|
-
this.Touch()
|
|
3772
|
-
];
|
|
3773
|
-
}
|
|
3774
|
-
gap_x() {
|
|
3775
|
-
const obj = new this.$.$mol_vector_range(this.gap_left(), this.gap_right());
|
|
3776
|
-
return obj;
|
|
3777
|
-
}
|
|
3778
|
-
gap_y() {
|
|
3779
|
-
const obj = new this.$.$mol_vector_range(this.gap_bottom(), this.gap_top());
|
|
3780
|
-
return obj;
|
|
3781
|
-
}
|
|
3782
|
-
shift_limit_x() {
|
|
3783
|
-
const obj = new this.$.$mol_vector_range(0, 0);
|
|
3784
|
-
return obj;
|
|
3785
|
-
}
|
|
3786
|
-
shift_limit_y() {
|
|
3787
|
-
const obj = new this.$.$mol_vector_range(0, 0);
|
|
3788
|
-
return obj;
|
|
3789
|
-
}
|
|
3790
|
-
scale_limit_x() {
|
|
3791
|
-
const obj = new this.$.$mol_vector_range(0, Infinity);
|
|
3792
|
-
return obj;
|
|
3793
|
-
}
|
|
3794
|
-
scale_limit_y() {
|
|
3795
|
-
const obj = new this.$.$mol_vector_range(0, -Infinity);
|
|
3796
|
-
return obj;
|
|
3797
|
-
}
|
|
3798
|
-
dimensions_x() {
|
|
3799
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3800
|
-
return obj;
|
|
3801
|
-
}
|
|
3802
|
-
dimensions_y() {
|
|
3803
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3804
|
-
return obj;
|
|
3805
|
-
}
|
|
3806
|
-
dimensions_viewport_x() {
|
|
3807
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3808
|
-
return obj;
|
|
3809
|
-
}
|
|
3810
|
-
dimensions_viewport_y() {
|
|
3811
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3812
|
-
return obj;
|
|
3813
|
-
}
|
|
3814
|
-
graphs_sorted() {
|
|
3815
|
-
return [];
|
|
3816
|
-
}
|
|
3817
|
-
graphs() {
|
|
3818
|
-
return [];
|
|
3819
|
-
}
|
|
3820
|
-
graphs_positioned() {
|
|
3821
|
-
return this.graphs();
|
|
3822
|
-
}
|
|
3823
|
-
graphs_visible() {
|
|
3824
|
-
return this.graphs_positioned();
|
|
3825
|
-
}
|
|
3826
|
-
zoom(next) {
|
|
3827
|
-
if (next !== undefined)
|
|
3674
|
+
var $$;
|
|
3675
|
+
(function ($$) {
|
|
3676
|
+
class $mol_plot_graph extends $.$mol_plot_graph {
|
|
3677
|
+
viewport() {
|
|
3678
|
+
const size = this.size_real();
|
|
3679
|
+
return new this.$.$mol_vector_2d(new this.$.$mol_vector_range(0, size.x), new this.$.$mol_vector_range(0, size.y));
|
|
3680
|
+
}
|
|
3681
|
+
indexes() {
|
|
3682
|
+
return this.series_x().map((_, i) => i);
|
|
3683
|
+
}
|
|
3684
|
+
repos_x(val) {
|
|
3685
|
+
return val;
|
|
3686
|
+
}
|
|
3687
|
+
repos_y(val) {
|
|
3688
|
+
return val;
|
|
3689
|
+
}
|
|
3690
|
+
points() {
|
|
3691
|
+
const [shift_x, shift_y] = this.shift();
|
|
3692
|
+
const [scale_x, scale_y] = this.scale();
|
|
3693
|
+
const series_x = this.series_x();
|
|
3694
|
+
const series_y = this.series_y();
|
|
3695
|
+
return this.indexes().map(index => {
|
|
3696
|
+
let point_x = Math.round(shift_x + this.repos_x(series_x[index]) * scale_x);
|
|
3697
|
+
let point_y = Math.round(shift_y + this.repos_y(series_y[index]) * scale_y);
|
|
3698
|
+
point_x = Math.max(Number.MIN_SAFE_INTEGER, Math.min(point_x, Number.MAX_SAFE_INTEGER));
|
|
3699
|
+
point_y = Math.max(Number.MIN_SAFE_INTEGER, Math.min(point_y, Number.MAX_SAFE_INTEGER));
|
|
3700
|
+
return [point_x, point_y];
|
|
3701
|
+
});
|
|
3702
|
+
}
|
|
3703
|
+
series_x() {
|
|
3704
|
+
return this.series_y().map((val, index) => index);
|
|
3705
|
+
}
|
|
3706
|
+
dimensions() {
|
|
3707
|
+
let next = new this.$.$mol_vector_2d($mol_vector_range_full.inversed, $mol_vector_range_full.inversed);
|
|
3708
|
+
const series_x = this.series_x();
|
|
3709
|
+
const series_y = this.series_y();
|
|
3710
|
+
for (let i = 0; i < series_x.length; i++) {
|
|
3711
|
+
if (series_x[i] > next.x.max)
|
|
3712
|
+
next.x.max = series_x[i];
|
|
3713
|
+
if (series_x[i] < next.x.min)
|
|
3714
|
+
next.x.min = series_x[i];
|
|
3715
|
+
if (series_y[i] > next.y.max)
|
|
3716
|
+
next.y.max = series_y[i];
|
|
3717
|
+
if (series_y[i] < next.y.min)
|
|
3718
|
+
next.y.min = series_y[i];
|
|
3719
|
+
}
|
|
3828
3720
|
return next;
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
allow_zoom() {
|
|
3838
|
-
return true;
|
|
3839
|
-
}
|
|
3840
|
-
draw_start(event) {
|
|
3841
|
-
if (event !== undefined)
|
|
3842
|
-
return event;
|
|
3843
|
-
return null;
|
|
3844
|
-
}
|
|
3845
|
-
draw(event) {
|
|
3846
|
-
if (event !== undefined)
|
|
3847
|
-
return event;
|
|
3848
|
-
return null;
|
|
3849
|
-
}
|
|
3850
|
-
draw_end(event) {
|
|
3851
|
-
if (event !== undefined)
|
|
3852
|
-
return event;
|
|
3853
|
-
return null;
|
|
3854
|
-
}
|
|
3855
|
-
cursor_position() {
|
|
3856
|
-
return this.Touch().pointer_center();
|
|
3857
|
-
}
|
|
3858
|
-
action_type() {
|
|
3859
|
-
return this.Touch().action_type();
|
|
3860
|
-
}
|
|
3861
|
-
action_point() {
|
|
3862
|
-
return this.Touch().action_point();
|
|
3863
|
-
}
|
|
3864
|
-
Touch() {
|
|
3865
|
-
const obj = new this.$.$mol_touch();
|
|
3866
|
-
obj.zoom = (next) => this.zoom(next);
|
|
3867
|
-
obj.pan = (next) => this.shift(next);
|
|
3868
|
-
obj.allow_draw = () => this.allow_draw();
|
|
3869
|
-
obj.allow_pan = () => this.allow_pan();
|
|
3870
|
-
obj.allow_zoom = () => this.allow_zoom();
|
|
3871
|
-
obj.draw_start = (event) => this.draw_start(event);
|
|
3872
|
-
obj.draw = (event) => this.draw(event);
|
|
3873
|
-
obj.draw_end = (event) => this.draw_end(event);
|
|
3874
|
-
return obj;
|
|
3721
|
+
}
|
|
3722
|
+
color() {
|
|
3723
|
+
const hue = this.hue();
|
|
3724
|
+
return hue ? `hsl( ${hue} , 100% , 35% )` : '';
|
|
3725
|
+
}
|
|
3726
|
+
front() {
|
|
3727
|
+
return [this];
|
|
3728
|
+
}
|
|
3875
3729
|
}
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
$
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
$
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
$
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
$mol_mem
|
|
3888
|
-
], $mol_plot_pane.prototype, "shift_limit", null);
|
|
3889
|
-
__decorate([
|
|
3890
|
-
$mol_mem
|
|
3891
|
-
], $mol_plot_pane.prototype, "shift_default", null);
|
|
3892
|
-
__decorate([
|
|
3893
|
-
$mol_mem
|
|
3894
|
-
], $mol_plot_pane.prototype, "shift", null);
|
|
3895
|
-
__decorate([
|
|
3896
|
-
$mol_mem
|
|
3897
|
-
], $mol_plot_pane.prototype, "scale_limit", null);
|
|
3898
|
-
__decorate([
|
|
3899
|
-
$mol_mem
|
|
3900
|
-
], $mol_plot_pane.prototype, "scale_default", null);
|
|
3901
|
-
__decorate([
|
|
3902
|
-
$mol_mem
|
|
3903
|
-
], $mol_plot_pane.prototype, "scale", null);
|
|
3904
|
-
__decorate([
|
|
3905
|
-
$mol_mem
|
|
3906
|
-
], $mol_plot_pane.prototype, "scale_x", null);
|
|
3907
|
-
__decorate([
|
|
3908
|
-
$mol_mem
|
|
3909
|
-
], $mol_plot_pane.prototype, "scale_y", null);
|
|
3910
|
-
__decorate([
|
|
3911
|
-
$mol_mem
|
|
3912
|
-
], $mol_plot_pane.prototype, "size", null);
|
|
3913
|
-
__decorate([
|
|
3914
|
-
$mol_mem
|
|
3915
|
-
], $mol_plot_pane.prototype, "size_real", null);
|
|
3916
|
-
__decorate([
|
|
3917
|
-
$mol_mem
|
|
3918
|
-
], $mol_plot_pane.prototype, "dimensions", null);
|
|
3919
|
-
__decorate([
|
|
3920
|
-
$mol_mem
|
|
3921
|
-
], $mol_plot_pane.prototype, "dimensions_viewport", null);
|
|
3922
|
-
__decorate([
|
|
3923
|
-
$mol_mem
|
|
3924
|
-
], $mol_plot_pane.prototype, "gap_x", null);
|
|
3925
|
-
__decorate([
|
|
3926
|
-
$mol_mem
|
|
3927
|
-
], $mol_plot_pane.prototype, "gap_y", null);
|
|
3928
|
-
__decorate([
|
|
3929
|
-
$mol_mem
|
|
3930
|
-
], $mol_plot_pane.prototype, "shift_limit_x", null);
|
|
3931
|
-
__decorate([
|
|
3932
|
-
$mol_mem
|
|
3933
|
-
], $mol_plot_pane.prototype, "shift_limit_y", null);
|
|
3934
|
-
__decorate([
|
|
3935
|
-
$mol_mem
|
|
3936
|
-
], $mol_plot_pane.prototype, "scale_limit_x", null);
|
|
3937
|
-
__decorate([
|
|
3938
|
-
$mol_mem
|
|
3939
|
-
], $mol_plot_pane.prototype, "scale_limit_y", null);
|
|
3940
|
-
__decorate([
|
|
3941
|
-
$mol_mem
|
|
3942
|
-
], $mol_plot_pane.prototype, "dimensions_x", null);
|
|
3943
|
-
__decorate([
|
|
3944
|
-
$mol_mem
|
|
3945
|
-
], $mol_plot_pane.prototype, "dimensions_y", null);
|
|
3946
|
-
__decorate([
|
|
3947
|
-
$mol_mem
|
|
3948
|
-
], $mol_plot_pane.prototype, "dimensions_viewport_x", null);
|
|
3949
|
-
__decorate([
|
|
3950
|
-
$mol_mem
|
|
3951
|
-
], $mol_plot_pane.prototype, "dimensions_viewport_y", null);
|
|
3952
|
-
__decorate([
|
|
3953
|
-
$mol_mem
|
|
3954
|
-
], $mol_plot_pane.prototype, "zoom", null);
|
|
3955
|
-
__decorate([
|
|
3956
|
-
$mol_mem
|
|
3957
|
-
], $mol_plot_pane.prototype, "draw_start", null);
|
|
3958
|
-
__decorate([
|
|
3959
|
-
$mol_mem
|
|
3960
|
-
], $mol_plot_pane.prototype, "draw", null);
|
|
3961
|
-
__decorate([
|
|
3962
|
-
$mol_mem
|
|
3963
|
-
], $mol_plot_pane.prototype, "draw_end", null);
|
|
3964
|
-
__decorate([
|
|
3965
|
-
$mol_mem
|
|
3966
|
-
], $mol_plot_pane.prototype, "Touch", null);
|
|
3967
|
-
$.$mol_plot_pane = $mol_plot_pane;
|
|
3730
|
+
__decorate([
|
|
3731
|
+
$mol_mem
|
|
3732
|
+
], $mol_plot_graph.prototype, "indexes", null);
|
|
3733
|
+
__decorate([
|
|
3734
|
+
$mol_mem
|
|
3735
|
+
], $mol_plot_graph.prototype, "series_x", null);
|
|
3736
|
+
__decorate([
|
|
3737
|
+
$mol_mem
|
|
3738
|
+
], $mol_plot_graph.prototype, "dimensions", null);
|
|
3739
|
+
$$.$mol_plot_graph = $mol_plot_graph;
|
|
3740
|
+
})($$ = $.$$ || ($.$$ = {}));
|
|
3968
3741
|
})($ || ($ = {}));
|
|
3969
|
-
|
|
3742
|
+
|
|
3743
|
+
;
|
|
3744
|
+
"use strict";
|
|
3745
|
+
var $;
|
|
3746
|
+
(function ($) {
|
|
3747
|
+
$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");
|
|
3748
|
+
})($ || ($ = {}));
|
|
3749
|
+
|
|
3750
|
+
;
|
|
3751
|
+
"use strict";
|
|
3752
|
+
|
|
3970
3753
|
;
|
|
3971
3754
|
"use strict";
|
|
3972
3755
|
var $;
|
|
3973
3756
|
(function ($) {
|
|
3974
3757
|
$.$mol_mem_cached = $mol_wire_probe;
|
|
3975
3758
|
})($ || ($ = {}));
|
|
3976
|
-
|
|
3759
|
+
|
|
3977
3760
|
;
|
|
3978
3761
|
"use strict";
|
|
3979
3762
|
var $;
|
|
@@ -4175,58 +3958,50 @@ var $;
|
|
|
4175
3958
|
$$.$mol_plot_pane = $mol_plot_pane;
|
|
4176
3959
|
})($$ = $.$$ || ($.$$ = {}));
|
|
4177
3960
|
})($ || ($ = {}));
|
|
4178
|
-
|
|
3961
|
+
|
|
4179
3962
|
;
|
|
4180
3963
|
"use strict";
|
|
4181
3964
|
var $;
|
|
4182
3965
|
(function ($) {
|
|
4183
3966
|
$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");
|
|
4184
3967
|
})($ || ($ = {}));
|
|
4185
|
-
|
|
3968
|
+
|
|
3969
|
+
;
|
|
3970
|
+
($.$mol_plot_line) = class $mol_plot_line extends ($.$mol_plot_graph) {
|
|
3971
|
+
threshold(){
|
|
3972
|
+
return 1;
|
|
3973
|
+
}
|
|
3974
|
+
spacing(){
|
|
3975
|
+
return 2;
|
|
3976
|
+
}
|
|
3977
|
+
color_fill(){
|
|
3978
|
+
return "none";
|
|
3979
|
+
}
|
|
3980
|
+
dom_name(){
|
|
3981
|
+
return "path";
|
|
3982
|
+
}
|
|
3983
|
+
attr(){
|
|
3984
|
+
return {...(super.attr()), "d": (this.curve())};
|
|
3985
|
+
}
|
|
3986
|
+
sub(){
|
|
3987
|
+
return [(this.Hint())];
|
|
3988
|
+
}
|
|
3989
|
+
Sample(){
|
|
3990
|
+
const obj = new this.$.$mol_plot_graph_sample();
|
|
3991
|
+
(obj.color) = () => ((this.color()));
|
|
3992
|
+
(obj.type) = () => ((this.type()));
|
|
3993
|
+
return obj;
|
|
3994
|
+
}
|
|
3995
|
+
curve(){
|
|
3996
|
+
return "";
|
|
3997
|
+
}
|
|
3998
|
+
};
|
|
3999
|
+
($mol_mem(($.$mol_plot_line.prototype), "Sample"));
|
|
4000
|
+
|
|
4001
|
+
|
|
4186
4002
|
;
|
|
4187
4003
|
"use strict";
|
|
4188
|
-
|
|
4189
|
-
(function ($) {
|
|
4190
|
-
class $mol_plot_line extends $mol_plot_graph {
|
|
4191
|
-
threshold() {
|
|
4192
|
-
return 1;
|
|
4193
|
-
}
|
|
4194
|
-
spacing() {
|
|
4195
|
-
return 2;
|
|
4196
|
-
}
|
|
4197
|
-
color_fill() {
|
|
4198
|
-
return "none";
|
|
4199
|
-
}
|
|
4200
|
-
dom_name() {
|
|
4201
|
-
return "path";
|
|
4202
|
-
}
|
|
4203
|
-
attr() {
|
|
4204
|
-
return {
|
|
4205
|
-
...super.attr(),
|
|
4206
|
-
d: this.curve()
|
|
4207
|
-
};
|
|
4208
|
-
}
|
|
4209
|
-
sub() {
|
|
4210
|
-
return [
|
|
4211
|
-
this.Hint()
|
|
4212
|
-
];
|
|
4213
|
-
}
|
|
4214
|
-
Sample() {
|
|
4215
|
-
const obj = new this.$.$mol_plot_graph_sample();
|
|
4216
|
-
obj.color = () => this.color();
|
|
4217
|
-
obj.type = () => this.type();
|
|
4218
|
-
return obj;
|
|
4219
|
-
}
|
|
4220
|
-
curve() {
|
|
4221
|
-
return "";
|
|
4222
|
-
}
|
|
4223
|
-
}
|
|
4224
|
-
__decorate([
|
|
4225
|
-
$mol_mem
|
|
4226
|
-
], $mol_plot_line.prototype, "Sample", null);
|
|
4227
|
-
$.$mol_plot_line = $mol_plot_line;
|
|
4228
|
-
})($ || ($ = {}));
|
|
4229
|
-
//mol/plot/line/-view.tree/line.view.tree.ts
|
|
4004
|
+
|
|
4230
4005
|
;
|
|
4231
4006
|
"use strict";
|
|
4232
4007
|
var $;
|
|
@@ -4285,43 +4060,40 @@ var $;
|
|
|
4285
4060
|
$$.$mol_plot_line = $mol_plot_line;
|
|
4286
4061
|
})($$ = $.$$ || ($.$$ = {}));
|
|
4287
4062
|
})($ || ($ = {}));
|
|
4288
|
-
|
|
4063
|
+
|
|
4289
4064
|
;
|
|
4290
4065
|
"use strict";
|
|
4291
4066
|
var $;
|
|
4292
4067
|
(function ($) {
|
|
4293
4068
|
$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");
|
|
4294
4069
|
})($ || ($ = {}));
|
|
4295
|
-
|
|
4070
|
+
|
|
4071
|
+
;
|
|
4072
|
+
($.$mol_plot_group) = class $mol_plot_group extends ($.$mol_plot_graph) {
|
|
4073
|
+
sub(){
|
|
4074
|
+
return (this.graphs_enriched());
|
|
4075
|
+
}
|
|
4076
|
+
Sample(){
|
|
4077
|
+
const obj = new this.$.$mol_plot_graph_sample();
|
|
4078
|
+
(obj.sub) = () => ((this.graph_samples()));
|
|
4079
|
+
return obj;
|
|
4080
|
+
}
|
|
4081
|
+
graphs(){
|
|
4082
|
+
return [];
|
|
4083
|
+
}
|
|
4084
|
+
graphs_enriched(){
|
|
4085
|
+
return (this.graphs());
|
|
4086
|
+
}
|
|
4087
|
+
graph_samples(){
|
|
4088
|
+
return [];
|
|
4089
|
+
}
|
|
4090
|
+
};
|
|
4091
|
+
($mol_mem(($.$mol_plot_group.prototype), "Sample"));
|
|
4092
|
+
|
|
4093
|
+
|
|
4296
4094
|
;
|
|
4297
4095
|
"use strict";
|
|
4298
|
-
|
|
4299
|
-
(function ($) {
|
|
4300
|
-
class $mol_plot_group extends $mol_plot_graph {
|
|
4301
|
-
sub() {
|
|
4302
|
-
return this.graphs_enriched();
|
|
4303
|
-
}
|
|
4304
|
-
Sample() {
|
|
4305
|
-
const obj = new this.$.$mol_plot_graph_sample();
|
|
4306
|
-
obj.sub = () => this.graph_samples();
|
|
4307
|
-
return obj;
|
|
4308
|
-
}
|
|
4309
|
-
graphs() {
|
|
4310
|
-
return [];
|
|
4311
|
-
}
|
|
4312
|
-
graphs_enriched() {
|
|
4313
|
-
return this.graphs();
|
|
4314
|
-
}
|
|
4315
|
-
graph_samples() {
|
|
4316
|
-
return [];
|
|
4317
|
-
}
|
|
4318
|
-
}
|
|
4319
|
-
__decorate([
|
|
4320
|
-
$mol_mem
|
|
4321
|
-
], $mol_plot_group.prototype, "Sample", null);
|
|
4322
|
-
$.$mol_plot_group = $mol_plot_group;
|
|
4323
|
-
})($ || ($ = {}));
|
|
4324
|
-
//mol/plot/group/-view.tree/group.view.tree.ts
|
|
4096
|
+
|
|
4325
4097
|
;
|
|
4326
4098
|
"use strict";
|
|
4327
4099
|
var $;
|
|
@@ -4386,77 +4158,62 @@ var $;
|
|
|
4386
4158
|
$$.$mol_plot_group = $mol_plot_group;
|
|
4387
4159
|
})($$ = $.$$ || ($.$$ = {}));
|
|
4388
4160
|
})($ || ($ = {}));
|
|
4389
|
-
|
|
4161
|
+
|
|
4162
|
+
;
|
|
4163
|
+
($.$mol_svg_path) = class $mol_svg_path extends ($.$mol_svg) {
|
|
4164
|
+
dom_name(){
|
|
4165
|
+
return "path";
|
|
4166
|
+
}
|
|
4167
|
+
attr(){
|
|
4168
|
+
return {...(super.attr()), "d": (this.geometry())};
|
|
4169
|
+
}
|
|
4170
|
+
geometry(){
|
|
4171
|
+
return "";
|
|
4172
|
+
}
|
|
4173
|
+
};
|
|
4174
|
+
|
|
4175
|
+
|
|
4390
4176
|
;
|
|
4391
4177
|
"use strict";
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4178
|
+
|
|
4179
|
+
;
|
|
4180
|
+
($.$mol_plot_dot) = class $mol_plot_dot extends ($.$mol_plot_graph) {
|
|
4181
|
+
points_max(){
|
|
4182
|
+
return +Infinity;
|
|
4183
|
+
}
|
|
4184
|
+
aspect(){
|
|
4185
|
+
return 1;
|
|
4186
|
+
}
|
|
4187
|
+
style(){
|
|
4188
|
+
return {...(super.style()), "stroke-width": (this.diameter())};
|
|
4189
|
+
}
|
|
4190
|
+
sub(){
|
|
4191
|
+
return [(this.Hint()), (this.Curve())];
|
|
4192
|
+
}
|
|
4193
|
+
Sample(){
|
|
4194
|
+
const obj = new this.$.$mol_plot_graph_sample();
|
|
4195
|
+
(obj.color) = () => ((this.color()));
|
|
4196
|
+
return obj;
|
|
4197
|
+
}
|
|
4198
|
+
diameter(){
|
|
4199
|
+
return 8;
|
|
4200
|
+
}
|
|
4201
|
+
curve(){
|
|
4202
|
+
return "";
|
|
4203
|
+
}
|
|
4204
|
+
Curve(){
|
|
4205
|
+
const obj = new this.$.$mol_svg_path();
|
|
4206
|
+
(obj.geometry) = () => ((this.curve()));
|
|
4207
|
+
return obj;
|
|
4208
|
+
}
|
|
4209
|
+
};
|
|
4210
|
+
($mol_mem(($.$mol_plot_dot.prototype), "Sample"));
|
|
4211
|
+
($mol_mem(($.$mol_plot_dot.prototype), "Curve"));
|
|
4212
|
+
|
|
4213
|
+
|
|
4411
4214
|
;
|
|
4412
4215
|
"use strict";
|
|
4413
|
-
|
|
4414
|
-
(function ($) {
|
|
4415
|
-
class $mol_plot_dot extends $mol_plot_graph {
|
|
4416
|
-
points_max() {
|
|
4417
|
-
return +Infinity;
|
|
4418
|
-
}
|
|
4419
|
-
aspect() {
|
|
4420
|
-
return 1;
|
|
4421
|
-
}
|
|
4422
|
-
style() {
|
|
4423
|
-
return {
|
|
4424
|
-
...super.style(),
|
|
4425
|
-
"stroke-width": this.diameter()
|
|
4426
|
-
};
|
|
4427
|
-
}
|
|
4428
|
-
sub() {
|
|
4429
|
-
return [
|
|
4430
|
-
this.Hint(),
|
|
4431
|
-
this.Curve()
|
|
4432
|
-
];
|
|
4433
|
-
}
|
|
4434
|
-
Sample() {
|
|
4435
|
-
const obj = new this.$.$mol_plot_graph_sample();
|
|
4436
|
-
obj.color = () => this.color();
|
|
4437
|
-
return obj;
|
|
4438
|
-
}
|
|
4439
|
-
diameter() {
|
|
4440
|
-
return 8;
|
|
4441
|
-
}
|
|
4442
|
-
curve() {
|
|
4443
|
-
return "";
|
|
4444
|
-
}
|
|
4445
|
-
Curve() {
|
|
4446
|
-
const obj = new this.$.$mol_svg_path();
|
|
4447
|
-
obj.geometry = () => this.curve();
|
|
4448
|
-
return obj;
|
|
4449
|
-
}
|
|
4450
|
-
}
|
|
4451
|
-
__decorate([
|
|
4452
|
-
$mol_mem
|
|
4453
|
-
], $mol_plot_dot.prototype, "Sample", null);
|
|
4454
|
-
__decorate([
|
|
4455
|
-
$mol_mem
|
|
4456
|
-
], $mol_plot_dot.prototype, "Curve", null);
|
|
4457
|
-
$.$mol_plot_dot = $mol_plot_dot;
|
|
4458
|
-
})($ || ($ = {}));
|
|
4459
|
-
//mol/plot/dot/-view.tree/dot.view.tree.ts
|
|
4216
|
+
|
|
4460
4217
|
;
|
|
4461
4218
|
"use strict";
|
|
4462
4219
|
var $;
|
|
@@ -4475,7 +4232,7 @@ var $;
|
|
|
4475
4232
|
}
|
|
4476
4233
|
$.$mol_coord_low = $mol_coord_low;
|
|
4477
4234
|
})($ || ($ = {}));
|
|
4478
|
-
|
|
4235
|
+
|
|
4479
4236
|
;
|
|
4480
4237
|
"use strict";
|
|
4481
4238
|
var $;
|
|
@@ -4560,79 +4317,70 @@ var $;
|
|
|
4560
4317
|
$$.$mol_plot_dot = $mol_plot_dot;
|
|
4561
4318
|
})($$ = $.$$ || ($.$$ = {}));
|
|
4562
4319
|
})($ || ($ = {}));
|
|
4563
|
-
|
|
4320
|
+
|
|
4564
4321
|
;
|
|
4565
4322
|
"use strict";
|
|
4566
4323
|
var $;
|
|
4567
4324
|
(function ($) {
|
|
4568
4325
|
$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");
|
|
4569
4326
|
})($ || ($ = {}));
|
|
4570
|
-
|
|
4327
|
+
|
|
4328
|
+
;
|
|
4329
|
+
($.$mol_plot_map_heat) = class $mol_plot_map_heat extends ($.$mol_plot_group) {
|
|
4330
|
+
series_z(){
|
|
4331
|
+
return [];
|
|
4332
|
+
}
|
|
4333
|
+
graphs(){
|
|
4334
|
+
return (this.level_graphs());
|
|
4335
|
+
}
|
|
4336
|
+
Level(id){
|
|
4337
|
+
const obj = new this.$.$mol_plot_map_heat_level();
|
|
4338
|
+
(obj.hint) = () => ((this.level_hint(id)));
|
|
4339
|
+
(obj.points) = () => ((this.level_points(id)));
|
|
4340
|
+
(obj.opacity) = () => ((this.level_opacity(id)));
|
|
4341
|
+
(obj.diameter) = () => ((this.level_diameter()));
|
|
4342
|
+
(obj.aspect) = () => ((this.level_aspect()));
|
|
4343
|
+
return obj;
|
|
4344
|
+
}
|
|
4345
|
+
Sample(){
|
|
4346
|
+
const obj = new this.$.$mol_plot_graph_sample();
|
|
4347
|
+
(obj.color) = () => ((this.color()));
|
|
4348
|
+
return obj;
|
|
4349
|
+
}
|
|
4350
|
+
level_graphs(){
|
|
4351
|
+
return [];
|
|
4352
|
+
}
|
|
4353
|
+
level_hint(id){
|
|
4354
|
+
return "";
|
|
4355
|
+
}
|
|
4356
|
+
level_points(id){
|
|
4357
|
+
return [];
|
|
4358
|
+
}
|
|
4359
|
+
level_opacity(id){
|
|
4360
|
+
return "1";
|
|
4361
|
+
}
|
|
4362
|
+
level_diameter(){
|
|
4363
|
+
return 10;
|
|
4364
|
+
}
|
|
4365
|
+
level_aspect(){
|
|
4366
|
+
return 1;
|
|
4367
|
+
}
|
|
4368
|
+
};
|
|
4369
|
+
($mol_mem_key(($.$mol_plot_map_heat.prototype), "Level"));
|
|
4370
|
+
($mol_mem(($.$mol_plot_map_heat.prototype), "Sample"));
|
|
4371
|
+
($.$mol_plot_map_heat_level) = class $mol_plot_map_heat_level extends ($.$mol_plot_dot) {
|
|
4372
|
+
style(){
|
|
4373
|
+
return {...(super.style()), "opacity": (this.opacity())};
|
|
4374
|
+
}
|
|
4375
|
+
opacity(){
|
|
4376
|
+
return "1";
|
|
4377
|
+
}
|
|
4378
|
+
};
|
|
4379
|
+
|
|
4380
|
+
|
|
4571
4381
|
;
|
|
4572
4382
|
"use strict";
|
|
4573
|
-
|
|
4574
|
-
(function ($) {
|
|
4575
|
-
class $mol_plot_map_heat extends $mol_plot_group {
|
|
4576
|
-
series_z() {
|
|
4577
|
-
return [];
|
|
4578
|
-
}
|
|
4579
|
-
graphs() {
|
|
4580
|
-
return this.level_graphs();
|
|
4581
|
-
}
|
|
4582
|
-
Level(id) {
|
|
4583
|
-
const obj = new this.$.$mol_plot_map_heat_level();
|
|
4584
|
-
obj.hint = () => this.level_hint(id);
|
|
4585
|
-
obj.points = () => this.level_points(id);
|
|
4586
|
-
obj.opacity = () => this.level_opacity(id);
|
|
4587
|
-
obj.diameter = () => this.level_diameter();
|
|
4588
|
-
obj.aspect = () => this.level_aspect();
|
|
4589
|
-
return obj;
|
|
4590
|
-
}
|
|
4591
|
-
Sample() {
|
|
4592
|
-
const obj = new this.$.$mol_plot_graph_sample();
|
|
4593
|
-
obj.color = () => this.color();
|
|
4594
|
-
return obj;
|
|
4595
|
-
}
|
|
4596
|
-
level_graphs() {
|
|
4597
|
-
return [];
|
|
4598
|
-
}
|
|
4599
|
-
level_hint(id) {
|
|
4600
|
-
return "";
|
|
4601
|
-
}
|
|
4602
|
-
level_points(id) {
|
|
4603
|
-
return [];
|
|
4604
|
-
}
|
|
4605
|
-
level_opacity(id) {
|
|
4606
|
-
return "1";
|
|
4607
|
-
}
|
|
4608
|
-
level_diameter() {
|
|
4609
|
-
return 10;
|
|
4610
|
-
}
|
|
4611
|
-
level_aspect() {
|
|
4612
|
-
return 1;
|
|
4613
|
-
}
|
|
4614
|
-
}
|
|
4615
|
-
__decorate([
|
|
4616
|
-
$mol_mem_key
|
|
4617
|
-
], $mol_plot_map_heat.prototype, "Level", null);
|
|
4618
|
-
__decorate([
|
|
4619
|
-
$mol_mem
|
|
4620
|
-
], $mol_plot_map_heat.prototype, "Sample", null);
|
|
4621
|
-
$.$mol_plot_map_heat = $mol_plot_map_heat;
|
|
4622
|
-
class $mol_plot_map_heat_level extends $mol_plot_dot {
|
|
4623
|
-
style() {
|
|
4624
|
-
return {
|
|
4625
|
-
...super.style(),
|
|
4626
|
-
opacity: this.opacity()
|
|
4627
|
-
};
|
|
4628
|
-
}
|
|
4629
|
-
opacity() {
|
|
4630
|
-
return "1";
|
|
4631
|
-
}
|
|
4632
|
-
}
|
|
4633
|
-
$.$mol_plot_map_heat_level = $mol_plot_map_heat_level;
|
|
4634
|
-
})($ || ($ = {}));
|
|
4635
|
-
//mol/plot/map/heat/-view.tree/heat.view.tree.ts
|
|
4383
|
+
|
|
4636
4384
|
;
|
|
4637
4385
|
"use strict";
|
|
4638
4386
|
var $;
|
|
@@ -4695,57 +4443,46 @@ var $;
|
|
|
4695
4443
|
$$.$mol_plot_map_heat = $mol_plot_map_heat;
|
|
4696
4444
|
})($$ = $.$$ || ($.$$ = {}));
|
|
4697
4445
|
})($ || ($ = {}));
|
|
4698
|
-
|
|
4699
|
-
;
|
|
4700
|
-
"use strict";
|
|
4701
|
-
var $;
|
|
4702
|
-
(function ($) {
|
|
4703
|
-
$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");
|
|
4704
|
-
})($ || ($ = {}));
|
|
4705
|
-
//mol/plot/map/heat/-css/heat.view.css.ts
|
|
4446
|
+
|
|
4706
4447
|
;
|
|
4707
4448
|
"use strict";
|
|
4708
|
-
var $;
|
|
4709
|
-
(function ($) {
|
|
4710
|
-
|
|
4711
|
-
style() {
|
|
4712
|
-
return {
|
|
4713
|
-
...super.style(),
|
|
4714
|
-
"stroke-width": this.stroke_width()
|
|
4715
|
-
};
|
|
4716
|
-
}
|
|
4717
|
-
sub() {
|
|
4718
|
-
return [
|
|
4719
|
-
this.Hint(),
|
|
4720
|
-
this.Curve()
|
|
4721
|
-
];
|
|
4722
|
-
}
|
|
4723
|
-
Sample() {
|
|
4724
|
-
const obj = new this.$.$mol_plot_graph_sample();
|
|
4725
|
-
obj.color = () => this.color();
|
|
4726
|
-
return obj;
|
|
4727
|
-
}
|
|
4728
|
-
stroke_width() {
|
|
4729
|
-
return "1rem";
|
|
4730
|
-
}
|
|
4731
|
-
curve() {
|
|
4732
|
-
return "";
|
|
4733
|
-
}
|
|
4734
|
-
Curve() {
|
|
4735
|
-
const obj = new this.$.$mol_svg_path();
|
|
4736
|
-
obj.geometry = () => this.curve();
|
|
4737
|
-
return obj;
|
|
4738
|
-
}
|
|
4739
|
-
}
|
|
4740
|
-
__decorate([
|
|
4741
|
-
$mol_mem
|
|
4742
|
-
], $mol_plot_bar.prototype, "Sample", null);
|
|
4743
|
-
__decorate([
|
|
4744
|
-
$mol_mem
|
|
4745
|
-
], $mol_plot_bar.prototype, "Curve", null);
|
|
4746
|
-
$.$mol_plot_bar = $mol_plot_bar;
|
|
4449
|
+
var $;
|
|
4450
|
+
(function ($) {
|
|
4451
|
+
$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");
|
|
4747
4452
|
})($ || ($ = {}));
|
|
4748
|
-
|
|
4453
|
+
|
|
4454
|
+
;
|
|
4455
|
+
($.$mol_plot_bar) = class $mol_plot_bar extends ($.$mol_plot_graph) {
|
|
4456
|
+
style(){
|
|
4457
|
+
return {...(super.style()), "stroke-width": (this.stroke_width())};
|
|
4458
|
+
}
|
|
4459
|
+
sub(){
|
|
4460
|
+
return [(this.Hint()), (this.Curve())];
|
|
4461
|
+
}
|
|
4462
|
+
Sample(){
|
|
4463
|
+
const obj = new this.$.$mol_plot_graph_sample();
|
|
4464
|
+
(obj.color) = () => ((this.color()));
|
|
4465
|
+
return obj;
|
|
4466
|
+
}
|
|
4467
|
+
stroke_width(){
|
|
4468
|
+
return "1rem";
|
|
4469
|
+
}
|
|
4470
|
+
curve(){
|
|
4471
|
+
return "";
|
|
4472
|
+
}
|
|
4473
|
+
Curve(){
|
|
4474
|
+
const obj = new this.$.$mol_svg_path();
|
|
4475
|
+
(obj.geometry) = () => ((this.curve()));
|
|
4476
|
+
return obj;
|
|
4477
|
+
}
|
|
4478
|
+
};
|
|
4479
|
+
($mol_mem(($.$mol_plot_bar.prototype), "Sample"));
|
|
4480
|
+
($mol_mem(($.$mol_plot_bar.prototype), "Curve"));
|
|
4481
|
+
|
|
4482
|
+
|
|
4483
|
+
;
|
|
4484
|
+
"use strict";
|
|
4485
|
+
|
|
4749
4486
|
;
|
|
4750
4487
|
"use strict";
|
|
4751
4488
|
var $;
|
|
@@ -4827,26 +4564,25 @@ var $;
|
|
|
4827
4564
|
$$.$mol_plot_bar = $mol_plot_bar;
|
|
4828
4565
|
})($$ = $.$$ || ($.$$ = {}));
|
|
4829
4566
|
})($ || ($ = {}));
|
|
4830
|
-
|
|
4567
|
+
|
|
4831
4568
|
;
|
|
4832
4569
|
"use strict";
|
|
4833
4570
|
var $;
|
|
4834
4571
|
(function ($) {
|
|
4835
4572
|
$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");
|
|
4836
4573
|
})($ || ($ = {}));
|
|
4837
|
-
|
|
4574
|
+
|
|
4575
|
+
;
|
|
4576
|
+
($.$mol_plot_fill) = class $mol_plot_fill extends ($.$mol_plot_line) {
|
|
4577
|
+
threshold(){
|
|
4578
|
+
return 4;
|
|
4579
|
+
}
|
|
4580
|
+
};
|
|
4581
|
+
|
|
4582
|
+
|
|
4838
4583
|
;
|
|
4839
4584
|
"use strict";
|
|
4840
|
-
|
|
4841
|
-
(function ($) {
|
|
4842
|
-
class $mol_plot_fill extends $mol_plot_line {
|
|
4843
|
-
threshold() {
|
|
4844
|
-
return 4;
|
|
4845
|
-
}
|
|
4846
|
-
}
|
|
4847
|
-
$.$mol_plot_fill = $mol_plot_fill;
|
|
4848
|
-
})($ || ($ = {}));
|
|
4849
|
-
//mol/plot/fill/-view.tree/fill.view.tree.ts
|
|
4585
|
+
|
|
4850
4586
|
;
|
|
4851
4587
|
"use strict";
|
|
4852
4588
|
var $;
|
|
@@ -4872,61 +4608,58 @@ var $;
|
|
|
4872
4608
|
$$.$mol_plot_fill = $mol_plot_fill;
|
|
4873
4609
|
})($$ = $.$$ || ($.$$ = {}));
|
|
4874
4610
|
})($ || ($ = {}));
|
|
4875
|
-
|
|
4611
|
+
|
|
4876
4612
|
;
|
|
4877
4613
|
"use strict";
|
|
4878
4614
|
var $;
|
|
4879
4615
|
(function ($) {
|
|
4880
4616
|
$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");
|
|
4881
4617
|
})($ || ($ = {}));
|
|
4882
|
-
|
|
4618
|
+
|
|
4619
|
+
;
|
|
4620
|
+
($.$mol_svg_text) = class $mol_svg_text extends ($.$mol_svg) {
|
|
4621
|
+
dom_name(){
|
|
4622
|
+
return "text";
|
|
4623
|
+
}
|
|
4624
|
+
pos(){
|
|
4625
|
+
return [];
|
|
4626
|
+
}
|
|
4627
|
+
attr(){
|
|
4628
|
+
return {
|
|
4629
|
+
...(super.attr()),
|
|
4630
|
+
"x": (this.pos_x()),
|
|
4631
|
+
"y": (this.pos_y()),
|
|
4632
|
+
"text-anchor": (this.align_hor()),
|
|
4633
|
+
"alignment-baseline": (this.align_vert())
|
|
4634
|
+
};
|
|
4635
|
+
}
|
|
4636
|
+
sub(){
|
|
4637
|
+
return [(this.text())];
|
|
4638
|
+
}
|
|
4639
|
+
pos_x(){
|
|
4640
|
+
return "";
|
|
4641
|
+
}
|
|
4642
|
+
pos_y(){
|
|
4643
|
+
return "";
|
|
4644
|
+
}
|
|
4645
|
+
align(){
|
|
4646
|
+
return "middle";
|
|
4647
|
+
}
|
|
4648
|
+
align_hor(){
|
|
4649
|
+
return (this.align());
|
|
4650
|
+
}
|
|
4651
|
+
align_vert(){
|
|
4652
|
+
return "baseline";
|
|
4653
|
+
}
|
|
4654
|
+
text(){
|
|
4655
|
+
return "";
|
|
4656
|
+
}
|
|
4657
|
+
};
|
|
4658
|
+
|
|
4659
|
+
|
|
4883
4660
|
;
|
|
4884
4661
|
"use strict";
|
|
4885
|
-
|
|
4886
|
-
(function ($) {
|
|
4887
|
-
class $mol_svg_text extends $mol_svg {
|
|
4888
|
-
dom_name() {
|
|
4889
|
-
return "text";
|
|
4890
|
-
}
|
|
4891
|
-
pos() {
|
|
4892
|
-
return [];
|
|
4893
|
-
}
|
|
4894
|
-
attr() {
|
|
4895
|
-
return {
|
|
4896
|
-
...super.attr(),
|
|
4897
|
-
x: this.pos_x(),
|
|
4898
|
-
y: this.pos_y(),
|
|
4899
|
-
"text-anchor": this.align_hor(),
|
|
4900
|
-
"alignment-baseline": this.align_vert()
|
|
4901
|
-
};
|
|
4902
|
-
}
|
|
4903
|
-
sub() {
|
|
4904
|
-
return [
|
|
4905
|
-
this.text()
|
|
4906
|
-
];
|
|
4907
|
-
}
|
|
4908
|
-
pos_x() {
|
|
4909
|
-
return "";
|
|
4910
|
-
}
|
|
4911
|
-
pos_y() {
|
|
4912
|
-
return "";
|
|
4913
|
-
}
|
|
4914
|
-
align() {
|
|
4915
|
-
return "middle";
|
|
4916
|
-
}
|
|
4917
|
-
align_hor() {
|
|
4918
|
-
return this.align();
|
|
4919
|
-
}
|
|
4920
|
-
align_vert() {
|
|
4921
|
-
return "baseline";
|
|
4922
|
-
}
|
|
4923
|
-
text() {
|
|
4924
|
-
return "";
|
|
4925
|
-
}
|
|
4926
|
-
}
|
|
4927
|
-
$.$mol_svg_text = $mol_svg_text;
|
|
4928
|
-
})($ || ($ = {}));
|
|
4929
|
-
//mol/svg/text/-view.tree/text.view.tree.ts
|
|
4662
|
+
|
|
4930
4663
|
;
|
|
4931
4664
|
"use strict";
|
|
4932
4665
|
var $;
|
|
@@ -4944,50 +4677,49 @@ var $;
|
|
|
4944
4677
|
$$.$mol_svg_text = $mol_svg_text;
|
|
4945
4678
|
})($$ = $.$$ || ($.$$ = {}));
|
|
4946
4679
|
})($ || ($ = {}));
|
|
4947
|
-
|
|
4680
|
+
|
|
4948
4681
|
;
|
|
4949
4682
|
"use strict";
|
|
4950
4683
|
var $;
|
|
4951
4684
|
(function ($) {
|
|
4952
4685
|
$mol_style_attach("mol/svg/text/text.view.css", "[mol_svg_text] {\n\tfill: currentColor;\n\tstroke: none;\n}\n");
|
|
4953
4686
|
})($ || ($ = {}));
|
|
4954
|
-
|
|
4687
|
+
|
|
4688
|
+
;
|
|
4689
|
+
($.$mol_svg_rect) = class $mol_svg_rect extends ($.$mol_svg) {
|
|
4690
|
+
dom_name(){
|
|
4691
|
+
return "rect";
|
|
4692
|
+
}
|
|
4693
|
+
pos(){
|
|
4694
|
+
return [];
|
|
4695
|
+
}
|
|
4696
|
+
attr(){
|
|
4697
|
+
return {
|
|
4698
|
+
...(super.attr()),
|
|
4699
|
+
"width": (this.width()),
|
|
4700
|
+
"height": (this.height()),
|
|
4701
|
+
"x": (this.pos_x()),
|
|
4702
|
+
"y": (this.pos_y())
|
|
4703
|
+
};
|
|
4704
|
+
}
|
|
4705
|
+
width(){
|
|
4706
|
+
return "0";
|
|
4707
|
+
}
|
|
4708
|
+
height(){
|
|
4709
|
+
return "0";
|
|
4710
|
+
}
|
|
4711
|
+
pos_x(){
|
|
4712
|
+
return "";
|
|
4713
|
+
}
|
|
4714
|
+
pos_y(){
|
|
4715
|
+
return "";
|
|
4716
|
+
}
|
|
4717
|
+
};
|
|
4718
|
+
|
|
4719
|
+
|
|
4955
4720
|
;
|
|
4956
4721
|
"use strict";
|
|
4957
|
-
|
|
4958
|
-
(function ($) {
|
|
4959
|
-
class $mol_svg_rect extends $mol_svg {
|
|
4960
|
-
dom_name() {
|
|
4961
|
-
return "rect";
|
|
4962
|
-
}
|
|
4963
|
-
pos() {
|
|
4964
|
-
return [];
|
|
4965
|
-
}
|
|
4966
|
-
attr() {
|
|
4967
|
-
return {
|
|
4968
|
-
...super.attr(),
|
|
4969
|
-
width: this.width(),
|
|
4970
|
-
height: this.height(),
|
|
4971
|
-
x: this.pos_x(),
|
|
4972
|
-
y: this.pos_y()
|
|
4973
|
-
};
|
|
4974
|
-
}
|
|
4975
|
-
width() {
|
|
4976
|
-
return "0";
|
|
4977
|
-
}
|
|
4978
|
-
height() {
|
|
4979
|
-
return "0";
|
|
4980
|
-
}
|
|
4981
|
-
pos_x() {
|
|
4982
|
-
return "";
|
|
4983
|
-
}
|
|
4984
|
-
pos_y() {
|
|
4985
|
-
return "";
|
|
4986
|
-
}
|
|
4987
|
-
}
|
|
4988
|
-
$.$mol_svg_rect = $mol_svg_rect;
|
|
4989
|
-
})($ || ($ = {}));
|
|
4990
|
-
//mol/svg/rect/-view.tree/rect.view.tree.ts
|
|
4722
|
+
|
|
4991
4723
|
;
|
|
4992
4724
|
"use strict";
|
|
4993
4725
|
var $;
|
|
@@ -5005,149 +4737,130 @@ var $;
|
|
|
5005
4737
|
$$.$mol_svg_rect = $mol_svg_rect;
|
|
5006
4738
|
})($$ = $.$$ || ($.$$ = {}));
|
|
5007
4739
|
})($ || ($ = {}));
|
|
5008
|
-
|
|
4740
|
+
|
|
4741
|
+
;
|
|
4742
|
+
($.$mol_plot_ruler) = class $mol_plot_ruler extends ($.$mol_plot_graph) {
|
|
4743
|
+
step(){
|
|
4744
|
+
return 0;
|
|
4745
|
+
}
|
|
4746
|
+
scale_axis(){
|
|
4747
|
+
return 1;
|
|
4748
|
+
}
|
|
4749
|
+
scale_step(){
|
|
4750
|
+
return 1;
|
|
4751
|
+
}
|
|
4752
|
+
shift_axis(){
|
|
4753
|
+
return 1;
|
|
4754
|
+
}
|
|
4755
|
+
dimensions_axis(){
|
|
4756
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
4757
|
+
return obj;
|
|
4758
|
+
}
|
|
4759
|
+
viewport_axis(){
|
|
4760
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
4761
|
+
return obj;
|
|
4762
|
+
}
|
|
4763
|
+
axis_points(){
|
|
4764
|
+
return [];
|
|
4765
|
+
}
|
|
4766
|
+
normalize(next){
|
|
4767
|
+
if(next !== undefined) return next;
|
|
4768
|
+
return 0;
|
|
4769
|
+
}
|
|
4770
|
+
precision(){
|
|
4771
|
+
return 1;
|
|
4772
|
+
}
|
|
4773
|
+
sub(){
|
|
4774
|
+
return [
|
|
4775
|
+
(this.Background()),
|
|
4776
|
+
(this.Curve()),
|
|
4777
|
+
(this.labels_formatted()),
|
|
4778
|
+
(this.Title())
|
|
4779
|
+
];
|
|
4780
|
+
}
|
|
4781
|
+
Label(id){
|
|
4782
|
+
const obj = new this.$.$mol_svg_text();
|
|
4783
|
+
(obj.pos) = () => ((this.label_pos(id)));
|
|
4784
|
+
(obj.text) = () => ((this.label_text(id)));
|
|
4785
|
+
(obj.align) = () => ((this.label_align()));
|
|
4786
|
+
return obj;
|
|
4787
|
+
}
|
|
4788
|
+
background_x(){
|
|
4789
|
+
return "0";
|
|
4790
|
+
}
|
|
4791
|
+
background_y(){
|
|
4792
|
+
return "0";
|
|
4793
|
+
}
|
|
4794
|
+
background_width(){
|
|
4795
|
+
return "100%";
|
|
4796
|
+
}
|
|
4797
|
+
background_height(){
|
|
4798
|
+
return "14";
|
|
4799
|
+
}
|
|
4800
|
+
Background(){
|
|
4801
|
+
const obj = new this.$.$mol_svg_rect();
|
|
4802
|
+
(obj.pos_x) = () => ((this.background_x()));
|
|
4803
|
+
(obj.pos_y) = () => ((this.background_y()));
|
|
4804
|
+
(obj.width) = () => ((this.background_width()));
|
|
4805
|
+
(obj.height) = () => ((this.background_height()));
|
|
4806
|
+
return obj;
|
|
4807
|
+
}
|
|
4808
|
+
curve(){
|
|
4809
|
+
return "";
|
|
4810
|
+
}
|
|
4811
|
+
Curve(){
|
|
4812
|
+
const obj = new this.$.$mol_svg_path();
|
|
4813
|
+
(obj.geometry) = () => ((this.curve()));
|
|
4814
|
+
return obj;
|
|
4815
|
+
}
|
|
4816
|
+
labels_formatted(){
|
|
4817
|
+
return [];
|
|
4818
|
+
}
|
|
4819
|
+
title_pos_x(){
|
|
4820
|
+
return "0";
|
|
4821
|
+
}
|
|
4822
|
+
title_pos_y(){
|
|
4823
|
+
return "100%";
|
|
4824
|
+
}
|
|
4825
|
+
title_align(){
|
|
4826
|
+
return "start";
|
|
4827
|
+
}
|
|
4828
|
+
Title(){
|
|
4829
|
+
const obj = new this.$.$mol_svg_text();
|
|
4830
|
+
(obj.pos_x) = () => ((this.title_pos_x()));
|
|
4831
|
+
(obj.pos_y) = () => ((this.title_pos_y()));
|
|
4832
|
+
(obj.align) = () => ((this.title_align()));
|
|
4833
|
+
(obj.text) = () => ((this.title()));
|
|
4834
|
+
return obj;
|
|
4835
|
+
}
|
|
4836
|
+
label_pos_x(id){
|
|
4837
|
+
return "";
|
|
4838
|
+
}
|
|
4839
|
+
label_pos_y(id){
|
|
4840
|
+
return "";
|
|
4841
|
+
}
|
|
4842
|
+
label_pos(id){
|
|
4843
|
+
return [(this.label_pos_x(id)), (this.label_pos_y(id))];
|
|
4844
|
+
}
|
|
4845
|
+
label_text(id){
|
|
4846
|
+
return "";
|
|
4847
|
+
}
|
|
4848
|
+
label_align(){
|
|
4849
|
+
return "";
|
|
4850
|
+
}
|
|
4851
|
+
};
|
|
4852
|
+
($mol_mem(($.$mol_plot_ruler.prototype), "dimensions_axis"));
|
|
4853
|
+
($mol_mem(($.$mol_plot_ruler.prototype), "viewport_axis"));
|
|
4854
|
+
($mol_mem(($.$mol_plot_ruler.prototype), "normalize"));
|
|
4855
|
+
($mol_mem_key(($.$mol_plot_ruler.prototype), "Label"));
|
|
4856
|
+
($mol_mem(($.$mol_plot_ruler.prototype), "Background"));
|
|
4857
|
+
($mol_mem(($.$mol_plot_ruler.prototype), "Curve"));
|
|
4858
|
+
($mol_mem(($.$mol_plot_ruler.prototype), "Title"));
|
|
4859
|
+
|
|
4860
|
+
|
|
5009
4861
|
;
|
|
5010
4862
|
"use strict";
|
|
5011
|
-
|
|
5012
|
-
(function ($) {
|
|
5013
|
-
class $mol_plot_ruler extends $mol_plot_graph {
|
|
5014
|
-
step() {
|
|
5015
|
-
return 0;
|
|
5016
|
-
}
|
|
5017
|
-
scale_axis() {
|
|
5018
|
-
return 1;
|
|
5019
|
-
}
|
|
5020
|
-
scale_step() {
|
|
5021
|
-
return 1;
|
|
5022
|
-
}
|
|
5023
|
-
shift_axis() {
|
|
5024
|
-
return 1;
|
|
5025
|
-
}
|
|
5026
|
-
dimensions_axis() {
|
|
5027
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
5028
|
-
return obj;
|
|
5029
|
-
}
|
|
5030
|
-
viewport_axis() {
|
|
5031
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
5032
|
-
return obj;
|
|
5033
|
-
}
|
|
5034
|
-
axis_points() {
|
|
5035
|
-
return [];
|
|
5036
|
-
}
|
|
5037
|
-
normalize(next) {
|
|
5038
|
-
if (next !== undefined)
|
|
5039
|
-
return next;
|
|
5040
|
-
return 0;
|
|
5041
|
-
}
|
|
5042
|
-
precision() {
|
|
5043
|
-
return 1;
|
|
5044
|
-
}
|
|
5045
|
-
sub() {
|
|
5046
|
-
return [
|
|
5047
|
-
this.Background(),
|
|
5048
|
-
this.Curve(),
|
|
5049
|
-
this.labels_formatted(),
|
|
5050
|
-
this.Title()
|
|
5051
|
-
];
|
|
5052
|
-
}
|
|
5053
|
-
Label(id) {
|
|
5054
|
-
const obj = new this.$.$mol_svg_text();
|
|
5055
|
-
obj.pos = () => this.label_pos(id);
|
|
5056
|
-
obj.text = () => this.label_text(id);
|
|
5057
|
-
obj.align = () => this.label_align();
|
|
5058
|
-
return obj;
|
|
5059
|
-
}
|
|
5060
|
-
background_x() {
|
|
5061
|
-
return "0";
|
|
5062
|
-
}
|
|
5063
|
-
background_y() {
|
|
5064
|
-
return "0";
|
|
5065
|
-
}
|
|
5066
|
-
background_width() {
|
|
5067
|
-
return "100%";
|
|
5068
|
-
}
|
|
5069
|
-
background_height() {
|
|
5070
|
-
return "14";
|
|
5071
|
-
}
|
|
5072
|
-
Background() {
|
|
5073
|
-
const obj = new this.$.$mol_svg_rect();
|
|
5074
|
-
obj.pos_x = () => this.background_x();
|
|
5075
|
-
obj.pos_y = () => this.background_y();
|
|
5076
|
-
obj.width = () => this.background_width();
|
|
5077
|
-
obj.height = () => this.background_height();
|
|
5078
|
-
return obj;
|
|
5079
|
-
}
|
|
5080
|
-
curve() {
|
|
5081
|
-
return "";
|
|
5082
|
-
}
|
|
5083
|
-
Curve() {
|
|
5084
|
-
const obj = new this.$.$mol_svg_path();
|
|
5085
|
-
obj.geometry = () => this.curve();
|
|
5086
|
-
return obj;
|
|
5087
|
-
}
|
|
5088
|
-
labels_formatted() {
|
|
5089
|
-
return [];
|
|
5090
|
-
}
|
|
5091
|
-
title_pos_x() {
|
|
5092
|
-
return "0";
|
|
5093
|
-
}
|
|
5094
|
-
title_pos_y() {
|
|
5095
|
-
return "100%";
|
|
5096
|
-
}
|
|
5097
|
-
title_align() {
|
|
5098
|
-
return "start";
|
|
5099
|
-
}
|
|
5100
|
-
Title() {
|
|
5101
|
-
const obj = new this.$.$mol_svg_text();
|
|
5102
|
-
obj.pos_x = () => this.title_pos_x();
|
|
5103
|
-
obj.pos_y = () => this.title_pos_y();
|
|
5104
|
-
obj.align = () => this.title_align();
|
|
5105
|
-
obj.text = () => this.title();
|
|
5106
|
-
return obj;
|
|
5107
|
-
}
|
|
5108
|
-
label_pos_x(id) {
|
|
5109
|
-
return "";
|
|
5110
|
-
}
|
|
5111
|
-
label_pos_y(id) {
|
|
5112
|
-
return "";
|
|
5113
|
-
}
|
|
5114
|
-
label_pos(id) {
|
|
5115
|
-
return [
|
|
5116
|
-
this.label_pos_x(id),
|
|
5117
|
-
this.label_pos_y(id)
|
|
5118
|
-
];
|
|
5119
|
-
}
|
|
5120
|
-
label_text(id) {
|
|
5121
|
-
return "";
|
|
5122
|
-
}
|
|
5123
|
-
label_align() {
|
|
5124
|
-
return "";
|
|
5125
|
-
}
|
|
5126
|
-
}
|
|
5127
|
-
__decorate([
|
|
5128
|
-
$mol_mem
|
|
5129
|
-
], $mol_plot_ruler.prototype, "dimensions_axis", null);
|
|
5130
|
-
__decorate([
|
|
5131
|
-
$mol_mem
|
|
5132
|
-
], $mol_plot_ruler.prototype, "viewport_axis", null);
|
|
5133
|
-
__decorate([
|
|
5134
|
-
$mol_mem
|
|
5135
|
-
], $mol_plot_ruler.prototype, "normalize", null);
|
|
5136
|
-
__decorate([
|
|
5137
|
-
$mol_mem_key
|
|
5138
|
-
], $mol_plot_ruler.prototype, "Label", null);
|
|
5139
|
-
__decorate([
|
|
5140
|
-
$mol_mem
|
|
5141
|
-
], $mol_plot_ruler.prototype, "Background", null);
|
|
5142
|
-
__decorate([
|
|
5143
|
-
$mol_mem
|
|
5144
|
-
], $mol_plot_ruler.prototype, "Curve", null);
|
|
5145
|
-
__decorate([
|
|
5146
|
-
$mol_mem
|
|
5147
|
-
], $mol_plot_ruler.prototype, "Title", null);
|
|
5148
|
-
$.$mol_plot_ruler = $mol_plot_ruler;
|
|
5149
|
-
})($ || ($ = {}));
|
|
5150
|
-
//mol/plot/ruler/-view.tree/ruler.view.tree.ts
|
|
4863
|
+
|
|
5151
4864
|
;
|
|
5152
4865
|
"use strict";
|
|
5153
4866
|
var $;
|
|
@@ -5164,7 +4877,7 @@ var $;
|
|
|
5164
4877
|
}
|
|
5165
4878
|
$.$mol_math_round_expand = $mol_math_round_expand;
|
|
5166
4879
|
})($ || ($ = {}));
|
|
5167
|
-
|
|
4880
|
+
|
|
5168
4881
|
;
|
|
5169
4882
|
"use strict";
|
|
5170
4883
|
var $;
|
|
@@ -5251,41 +4964,40 @@ var $;
|
|
|
5251
4964
|
$$.$mol_plot_ruler = $mol_plot_ruler;
|
|
5252
4965
|
})($$ = $.$$ || ($.$$ = {}));
|
|
5253
4966
|
})($ || ($ = {}));
|
|
5254
|
-
|
|
4967
|
+
|
|
5255
4968
|
;
|
|
5256
4969
|
"use strict";
|
|
5257
4970
|
var $;
|
|
5258
4971
|
(function ($) {
|
|
5259
4972
|
$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");
|
|
5260
4973
|
})($ || ($ = {}));
|
|
5261
|
-
|
|
4974
|
+
|
|
4975
|
+
;
|
|
4976
|
+
($.$mol_plot_ruler_vert) = class $mol_plot_ruler_vert extends ($.$mol_plot_ruler) {
|
|
4977
|
+
title_align(){
|
|
4978
|
+
return "end";
|
|
4979
|
+
}
|
|
4980
|
+
label_align(){
|
|
4981
|
+
return "end";
|
|
4982
|
+
}
|
|
4983
|
+
title_pos_y(){
|
|
4984
|
+
return "14";
|
|
4985
|
+
}
|
|
4986
|
+
label_pos_x(id){
|
|
4987
|
+
return (this.title_pos_x());
|
|
4988
|
+
}
|
|
4989
|
+
background_height(){
|
|
4990
|
+
return "100%";
|
|
4991
|
+
}
|
|
4992
|
+
background_width(){
|
|
4993
|
+
return (this.title_pos_x());
|
|
4994
|
+
}
|
|
4995
|
+
};
|
|
4996
|
+
|
|
4997
|
+
|
|
5262
4998
|
;
|
|
5263
4999
|
"use strict";
|
|
5264
|
-
|
|
5265
|
-
(function ($) {
|
|
5266
|
-
class $mol_plot_ruler_vert extends $mol_plot_ruler {
|
|
5267
|
-
title_align() {
|
|
5268
|
-
return "end";
|
|
5269
|
-
}
|
|
5270
|
-
label_align() {
|
|
5271
|
-
return "end";
|
|
5272
|
-
}
|
|
5273
|
-
title_pos_y() {
|
|
5274
|
-
return "14";
|
|
5275
|
-
}
|
|
5276
|
-
label_pos_x(id) {
|
|
5277
|
-
return this.title_pos_x();
|
|
5278
|
-
}
|
|
5279
|
-
background_height() {
|
|
5280
|
-
return "100%";
|
|
5281
|
-
}
|
|
5282
|
-
background_width() {
|
|
5283
|
-
return this.title_pos_x();
|
|
5284
|
-
}
|
|
5285
|
-
}
|
|
5286
|
-
$.$mol_plot_ruler_vert = $mol_plot_ruler_vert;
|
|
5287
|
-
})($ || ($ = {}));
|
|
5288
|
-
//mol/plot/ruler/vert/-view.tree/vert.view.tree.ts
|
|
5000
|
+
|
|
5289
5001
|
;
|
|
5290
5002
|
"use strict";
|
|
5291
5003
|
var $;
|
|
@@ -5327,41 +5039,40 @@ var $;
|
|
|
5327
5039
|
$$.$mol_plot_ruler_vert = $mol_plot_ruler_vert;
|
|
5328
5040
|
})($$ = $.$$ || ($.$$ = {}));
|
|
5329
5041
|
})($ || ($ = {}));
|
|
5330
|
-
|
|
5042
|
+
|
|
5331
5043
|
;
|
|
5332
5044
|
"use strict";
|
|
5333
5045
|
var $;
|
|
5334
5046
|
(function ($) {
|
|
5335
5047
|
$mol_style_attach("mol/plot/ruler/vert/vert.view.css", "[mol_plot_ruler_vert_label] {\n\ttransform: translateY( 4px );\n}\n");
|
|
5336
5048
|
})($ || ($ = {}));
|
|
5337
|
-
|
|
5049
|
+
|
|
5050
|
+
;
|
|
5051
|
+
($.$mol_plot_ruler_hor) = class $mol_plot_ruler_hor extends ($.$mol_plot_ruler) {
|
|
5052
|
+
title_align(){
|
|
5053
|
+
return "start";
|
|
5054
|
+
}
|
|
5055
|
+
label_align(){
|
|
5056
|
+
return "middle";
|
|
5057
|
+
}
|
|
5058
|
+
title_pos_x(){
|
|
5059
|
+
return "0";
|
|
5060
|
+
}
|
|
5061
|
+
title_pos_y(){
|
|
5062
|
+
return "100%";
|
|
5063
|
+
}
|
|
5064
|
+
label_pos_y(id){
|
|
5065
|
+
return (this.title_pos_y());
|
|
5066
|
+
}
|
|
5067
|
+
background_width(){
|
|
5068
|
+
return "100%";
|
|
5069
|
+
}
|
|
5070
|
+
};
|
|
5071
|
+
|
|
5072
|
+
|
|
5338
5073
|
;
|
|
5339
5074
|
"use strict";
|
|
5340
|
-
|
|
5341
|
-
(function ($) {
|
|
5342
|
-
class $mol_plot_ruler_hor extends $mol_plot_ruler {
|
|
5343
|
-
title_align() {
|
|
5344
|
-
return "start";
|
|
5345
|
-
}
|
|
5346
|
-
label_align() {
|
|
5347
|
-
return "middle";
|
|
5348
|
-
}
|
|
5349
|
-
title_pos_x() {
|
|
5350
|
-
return "0";
|
|
5351
|
-
}
|
|
5352
|
-
title_pos_y() {
|
|
5353
|
-
return "100%";
|
|
5354
|
-
}
|
|
5355
|
-
label_pos_y(id) {
|
|
5356
|
-
return this.title_pos_y();
|
|
5357
|
-
}
|
|
5358
|
-
background_width() {
|
|
5359
|
-
return "100%";
|
|
5360
|
-
}
|
|
5361
|
-
}
|
|
5362
|
-
$.$mol_plot_ruler_hor = $mol_plot_ruler_hor;
|
|
5363
|
-
})($ || ($ = {}));
|
|
5364
|
-
//mol/plot/ruler/hor/-view.tree/hor.view.tree.ts
|
|
5075
|
+
|
|
5365
5076
|
;
|
|
5366
5077
|
"use strict";
|
|
5367
5078
|
var $;
|
|
@@ -5409,87 +5120,71 @@ var $;
|
|
|
5409
5120
|
$$.$mol_plot_ruler_hor = $mol_plot_ruler_hor;
|
|
5410
5121
|
})($$ = $.$$ || ($.$$ = {}));
|
|
5411
5122
|
})($ || ($ = {}));
|
|
5412
|
-
|
|
5123
|
+
|
|
5413
5124
|
;
|
|
5414
5125
|
"use strict";
|
|
5415
5126
|
var $;
|
|
5416
5127
|
(function ($) {
|
|
5417
5128
|
$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");
|
|
5418
5129
|
})($ || ($ = {}));
|
|
5419
|
-
|
|
5130
|
+
|
|
5131
|
+
;
|
|
5132
|
+
($.$mol_svg_text_box) = class $mol_svg_text_box extends ($.$mol_svg_group) {
|
|
5133
|
+
font_size(){
|
|
5134
|
+
return 16;
|
|
5135
|
+
}
|
|
5136
|
+
width(){
|
|
5137
|
+
return 0;
|
|
5138
|
+
}
|
|
5139
|
+
sub(){
|
|
5140
|
+
return [(this.Back()), (this.Text())];
|
|
5141
|
+
}
|
|
5142
|
+
box_width(){
|
|
5143
|
+
return "0.5rem";
|
|
5144
|
+
}
|
|
5145
|
+
box_height(){
|
|
5146
|
+
return "1rem";
|
|
5147
|
+
}
|
|
5148
|
+
box_pos_x(){
|
|
5149
|
+
return (this.pos_x());
|
|
5150
|
+
}
|
|
5151
|
+
box_pos_y(){
|
|
5152
|
+
return "0";
|
|
5153
|
+
}
|
|
5154
|
+
Back(){
|
|
5155
|
+
const obj = new this.$.$mol_svg_rect();
|
|
5156
|
+
(obj.width) = () => ((this.box_width()));
|
|
5157
|
+
(obj.height) = () => ((this.box_height()));
|
|
5158
|
+
(obj.pos) = () => ([(this.box_pos_x()), (this.box_pos_y())]);
|
|
5159
|
+
return obj;
|
|
5160
|
+
}
|
|
5161
|
+
pos_x(){
|
|
5162
|
+
return "0";
|
|
5163
|
+
}
|
|
5164
|
+
pos_y(){
|
|
5165
|
+
return "100%";
|
|
5166
|
+
}
|
|
5167
|
+
align(){
|
|
5168
|
+
return "start";
|
|
5169
|
+
}
|
|
5170
|
+
text(){
|
|
5171
|
+
return "";
|
|
5172
|
+
}
|
|
5173
|
+
Text(){
|
|
5174
|
+
const obj = new this.$.$mol_svg_text();
|
|
5175
|
+
(obj.pos) = () => ([(this.pos_x()), (this.pos_y())]);
|
|
5176
|
+
(obj.align) = () => ((this.align()));
|
|
5177
|
+
(obj.sub) = () => ([(this.text())]);
|
|
5178
|
+
return obj;
|
|
5179
|
+
}
|
|
5180
|
+
};
|
|
5181
|
+
($mol_mem(($.$mol_svg_text_box.prototype), "Back"));
|
|
5182
|
+
($mol_mem(($.$mol_svg_text_box.prototype), "Text"));
|
|
5183
|
+
|
|
5184
|
+
|
|
5420
5185
|
;
|
|
5421
5186
|
"use strict";
|
|
5422
|
-
|
|
5423
|
-
(function ($) {
|
|
5424
|
-
class $mol_svg_text_box extends $mol_svg_group {
|
|
5425
|
-
font_size() {
|
|
5426
|
-
return 16;
|
|
5427
|
-
}
|
|
5428
|
-
width() {
|
|
5429
|
-
return 0;
|
|
5430
|
-
}
|
|
5431
|
-
sub() {
|
|
5432
|
-
return [
|
|
5433
|
-
this.Back(),
|
|
5434
|
-
this.Text()
|
|
5435
|
-
];
|
|
5436
|
-
}
|
|
5437
|
-
box_width() {
|
|
5438
|
-
return "0.5rem";
|
|
5439
|
-
}
|
|
5440
|
-
box_height() {
|
|
5441
|
-
return "1rem";
|
|
5442
|
-
}
|
|
5443
|
-
box_pos_x() {
|
|
5444
|
-
return this.pos_x();
|
|
5445
|
-
}
|
|
5446
|
-
box_pos_y() {
|
|
5447
|
-
return "0";
|
|
5448
|
-
}
|
|
5449
|
-
Back() {
|
|
5450
|
-
const obj = new this.$.$mol_svg_rect();
|
|
5451
|
-
obj.width = () => this.box_width();
|
|
5452
|
-
obj.height = () => this.box_height();
|
|
5453
|
-
obj.pos = () => [
|
|
5454
|
-
this.box_pos_x(),
|
|
5455
|
-
this.box_pos_y()
|
|
5456
|
-
];
|
|
5457
|
-
return obj;
|
|
5458
|
-
}
|
|
5459
|
-
pos_x() {
|
|
5460
|
-
return "0";
|
|
5461
|
-
}
|
|
5462
|
-
pos_y() {
|
|
5463
|
-
return "100%";
|
|
5464
|
-
}
|
|
5465
|
-
align() {
|
|
5466
|
-
return "start";
|
|
5467
|
-
}
|
|
5468
|
-
text() {
|
|
5469
|
-
return "";
|
|
5470
|
-
}
|
|
5471
|
-
Text() {
|
|
5472
|
-
const obj = new this.$.$mol_svg_text();
|
|
5473
|
-
obj.pos = () => [
|
|
5474
|
-
this.pos_x(),
|
|
5475
|
-
this.pos_y()
|
|
5476
|
-
];
|
|
5477
|
-
obj.align = () => this.align();
|
|
5478
|
-
obj.sub = () => [
|
|
5479
|
-
this.text()
|
|
5480
|
-
];
|
|
5481
|
-
return obj;
|
|
5482
|
-
}
|
|
5483
|
-
}
|
|
5484
|
-
__decorate([
|
|
5485
|
-
$mol_mem
|
|
5486
|
-
], $mol_svg_text_box.prototype, "Back", null);
|
|
5487
|
-
__decorate([
|
|
5488
|
-
$mol_mem
|
|
5489
|
-
], $mol_svg_text_box.prototype, "Text", null);
|
|
5490
|
-
$.$mol_svg_text_box = $mol_svg_text_box;
|
|
5491
|
-
})($ || ($ = {}));
|
|
5492
|
-
//mol/svg/text/box/-view.tree/box.view.tree.ts
|
|
5187
|
+
|
|
5493
5188
|
;
|
|
5494
5189
|
"use strict";
|
|
5495
5190
|
var $;
|
|
@@ -5502,7 +5197,7 @@ var $;
|
|
|
5502
5197
|
}
|
|
5503
5198
|
$.$mol_font_canvas = $mol_font_canvas;
|
|
5504
5199
|
})($ || ($ = {}));
|
|
5505
|
-
|
|
5200
|
+
|
|
5506
5201
|
;
|
|
5507
5202
|
"use strict";
|
|
5508
5203
|
var $;
|
|
@@ -5514,7 +5209,7 @@ var $;
|
|
|
5514
5209
|
}
|
|
5515
5210
|
$.$mol_font_measure = $mol_font_measure;
|
|
5516
5211
|
})($ || ($ = {}));
|
|
5517
|
-
|
|
5212
|
+
|
|
5518
5213
|
;
|
|
5519
5214
|
"use strict";
|
|
5520
5215
|
var $;
|
|
@@ -5546,115 +5241,102 @@ var $;
|
|
|
5546
5241
|
$$.$mol_svg_text_box = $mol_svg_text_box;
|
|
5547
5242
|
})($$ = $.$$ || ($.$$ = {}));
|
|
5548
5243
|
})($ || ($ = {}));
|
|
5549
|
-
|
|
5244
|
+
|
|
5550
5245
|
;
|
|
5551
5246
|
"use strict";
|
|
5552
5247
|
var $;
|
|
5553
5248
|
(function ($) {
|
|
5554
5249
|
$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");
|
|
5555
5250
|
})($ || ($ = {}));
|
|
5556
|
-
|
|
5251
|
+
|
|
5252
|
+
;
|
|
5253
|
+
($.$mol_plot_mark_cross) = class $mol_plot_mark_cross extends ($.$mol_plot_graph) {
|
|
5254
|
+
labels(){
|
|
5255
|
+
return [];
|
|
5256
|
+
}
|
|
5257
|
+
title_x_gap(){
|
|
5258
|
+
return 4;
|
|
5259
|
+
}
|
|
5260
|
+
title_y_gap(){
|
|
5261
|
+
return 22;
|
|
5262
|
+
}
|
|
5263
|
+
threshold(){
|
|
5264
|
+
return 16;
|
|
5265
|
+
}
|
|
5266
|
+
graphs(){
|
|
5267
|
+
return [];
|
|
5268
|
+
}
|
|
5269
|
+
dimensions(){
|
|
5270
|
+
const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
|
|
5271
|
+
return obj;
|
|
5272
|
+
}
|
|
5273
|
+
sub(){
|
|
5274
|
+
return [
|
|
5275
|
+
(this.Curve()),
|
|
5276
|
+
(this.Label_x()),
|
|
5277
|
+
(this.Label_y())
|
|
5278
|
+
];
|
|
5279
|
+
}
|
|
5280
|
+
dimensions_x(){
|
|
5281
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
5282
|
+
return obj;
|
|
5283
|
+
}
|
|
5284
|
+
dimensions_y(){
|
|
5285
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
5286
|
+
return obj;
|
|
5287
|
+
}
|
|
5288
|
+
curve(){
|
|
5289
|
+
return "";
|
|
5290
|
+
}
|
|
5291
|
+
Curve(){
|
|
5292
|
+
const obj = new this.$.$mol_svg_path();
|
|
5293
|
+
(obj.geometry) = () => ((this.curve()));
|
|
5294
|
+
return obj;
|
|
5295
|
+
}
|
|
5296
|
+
title_x_pos_x(){
|
|
5297
|
+
return "0";
|
|
5298
|
+
}
|
|
5299
|
+
title_x_pos_y(){
|
|
5300
|
+
return "100%";
|
|
5301
|
+
}
|
|
5302
|
+
title_x(){
|
|
5303
|
+
return "";
|
|
5304
|
+
}
|
|
5305
|
+
Label_x(){
|
|
5306
|
+
const obj = new this.$.$mol_svg_text_box();
|
|
5307
|
+
(obj.pos_x) = () => ((this.title_x_pos_x()));
|
|
5308
|
+
(obj.pos_y) = () => ((this.title_x_pos_y()));
|
|
5309
|
+
(obj.text) = () => ((this.title_x()));
|
|
5310
|
+
return obj;
|
|
5311
|
+
}
|
|
5312
|
+
title_y_pos_x(){
|
|
5313
|
+
return "0";
|
|
5314
|
+
}
|
|
5315
|
+
title_y_pos_y(){
|
|
5316
|
+
return "0";
|
|
5317
|
+
}
|
|
5318
|
+
title_y(){
|
|
5319
|
+
return "";
|
|
5320
|
+
}
|
|
5321
|
+
Label_y(){
|
|
5322
|
+
const obj = new this.$.$mol_svg_text_box();
|
|
5323
|
+
(obj.pos_x) = () => ((this.title_y_pos_x()));
|
|
5324
|
+
(obj.pos_y) = () => ((this.title_y_pos_y()));
|
|
5325
|
+
(obj.text) = () => ((this.title_y()));
|
|
5326
|
+
return obj;
|
|
5327
|
+
}
|
|
5328
|
+
};
|
|
5329
|
+
($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions"));
|
|
5330
|
+
($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions_x"));
|
|
5331
|
+
($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions_y"));
|
|
5332
|
+
($mol_mem(($.$mol_plot_mark_cross.prototype), "Curve"));
|
|
5333
|
+
($mol_mem(($.$mol_plot_mark_cross.prototype), "Label_x"));
|
|
5334
|
+
($mol_mem(($.$mol_plot_mark_cross.prototype), "Label_y"));
|
|
5335
|
+
|
|
5336
|
+
|
|
5557
5337
|
;
|
|
5558
5338
|
"use strict";
|
|
5559
|
-
|
|
5560
|
-
(function ($) {
|
|
5561
|
-
class $mol_plot_mark_cross extends $mol_plot_graph {
|
|
5562
|
-
labels() {
|
|
5563
|
-
return [];
|
|
5564
|
-
}
|
|
5565
|
-
title_x_gap() {
|
|
5566
|
-
return 4;
|
|
5567
|
-
}
|
|
5568
|
-
title_y_gap() {
|
|
5569
|
-
return 22;
|
|
5570
|
-
}
|
|
5571
|
-
threshold() {
|
|
5572
|
-
return 16;
|
|
5573
|
-
}
|
|
5574
|
-
graphs() {
|
|
5575
|
-
return [];
|
|
5576
|
-
}
|
|
5577
|
-
dimensions() {
|
|
5578
|
-
const obj = new this.$.$mol_vector_2d(this.dimensions_x(), this.dimensions_y());
|
|
5579
|
-
return obj;
|
|
5580
|
-
}
|
|
5581
|
-
sub() {
|
|
5582
|
-
return [
|
|
5583
|
-
this.Curve(),
|
|
5584
|
-
this.Label_x(),
|
|
5585
|
-
this.Label_y()
|
|
5586
|
-
];
|
|
5587
|
-
}
|
|
5588
|
-
dimensions_x() {
|
|
5589
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
5590
|
-
return obj;
|
|
5591
|
-
}
|
|
5592
|
-
dimensions_y() {
|
|
5593
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
5594
|
-
return obj;
|
|
5595
|
-
}
|
|
5596
|
-
curve() {
|
|
5597
|
-
return "";
|
|
5598
|
-
}
|
|
5599
|
-
Curve() {
|
|
5600
|
-
const obj = new this.$.$mol_svg_path();
|
|
5601
|
-
obj.geometry = () => this.curve();
|
|
5602
|
-
return obj;
|
|
5603
|
-
}
|
|
5604
|
-
title_x_pos_x() {
|
|
5605
|
-
return "0";
|
|
5606
|
-
}
|
|
5607
|
-
title_x_pos_y() {
|
|
5608
|
-
return "100%";
|
|
5609
|
-
}
|
|
5610
|
-
title_x() {
|
|
5611
|
-
return "";
|
|
5612
|
-
}
|
|
5613
|
-
Label_x() {
|
|
5614
|
-
const obj = new this.$.$mol_svg_text_box();
|
|
5615
|
-
obj.pos_x = () => this.title_x_pos_x();
|
|
5616
|
-
obj.pos_y = () => this.title_x_pos_y();
|
|
5617
|
-
obj.text = () => this.title_x();
|
|
5618
|
-
return obj;
|
|
5619
|
-
}
|
|
5620
|
-
title_y_pos_x() {
|
|
5621
|
-
return "0";
|
|
5622
|
-
}
|
|
5623
|
-
title_y_pos_y() {
|
|
5624
|
-
return "0";
|
|
5625
|
-
}
|
|
5626
|
-
title_y() {
|
|
5627
|
-
return "";
|
|
5628
|
-
}
|
|
5629
|
-
Label_y() {
|
|
5630
|
-
const obj = new this.$.$mol_svg_text_box();
|
|
5631
|
-
obj.pos_x = () => this.title_y_pos_x();
|
|
5632
|
-
obj.pos_y = () => this.title_y_pos_y();
|
|
5633
|
-
obj.text = () => this.title_y();
|
|
5634
|
-
return obj;
|
|
5635
|
-
}
|
|
5636
|
-
}
|
|
5637
|
-
__decorate([
|
|
5638
|
-
$mol_mem
|
|
5639
|
-
], $mol_plot_mark_cross.prototype, "dimensions", null);
|
|
5640
|
-
__decorate([
|
|
5641
|
-
$mol_mem
|
|
5642
|
-
], $mol_plot_mark_cross.prototype, "dimensions_x", null);
|
|
5643
|
-
__decorate([
|
|
5644
|
-
$mol_mem
|
|
5645
|
-
], $mol_plot_mark_cross.prototype, "dimensions_y", null);
|
|
5646
|
-
__decorate([
|
|
5647
|
-
$mol_mem
|
|
5648
|
-
], $mol_plot_mark_cross.prototype, "Curve", null);
|
|
5649
|
-
__decorate([
|
|
5650
|
-
$mol_mem
|
|
5651
|
-
], $mol_plot_mark_cross.prototype, "Label_x", null);
|
|
5652
|
-
__decorate([
|
|
5653
|
-
$mol_mem
|
|
5654
|
-
], $mol_plot_mark_cross.prototype, "Label_y", null);
|
|
5655
|
-
$.$mol_plot_mark_cross = $mol_plot_mark_cross;
|
|
5656
|
-
})($ || ($ = {}));
|
|
5657
|
-
//mol/plot/mark/cross/-view.tree/cross.view.tree.ts
|
|
5339
|
+
|
|
5658
5340
|
;
|
|
5659
5341
|
"use strict";
|
|
5660
5342
|
var $;
|
|
@@ -5748,26 +5430,25 @@ var $;
|
|
|
5748
5430
|
$$.$mol_plot_mark_cross = $mol_plot_mark_cross;
|
|
5749
5431
|
})($$ = $.$$ || ($.$$ = {}));
|
|
5750
5432
|
})($ || ($ = {}));
|
|
5751
|
-
|
|
5433
|
+
|
|
5752
5434
|
;
|
|
5753
5435
|
"use strict";
|
|
5754
5436
|
var $;
|
|
5755
5437
|
(function ($) {
|
|
5756
5438
|
$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");
|
|
5757
5439
|
})($ || ($ = {}));
|
|
5758
|
-
|
|
5440
|
+
|
|
5441
|
+
;
|
|
5442
|
+
($.$mol_plot_mark_hor) = class $mol_plot_mark_hor extends ($.$mol_plot_ruler_hor) {
|
|
5443
|
+
labels(){
|
|
5444
|
+
return [];
|
|
5445
|
+
}
|
|
5446
|
+
};
|
|
5447
|
+
|
|
5448
|
+
|
|
5759
5449
|
;
|
|
5760
5450
|
"use strict";
|
|
5761
|
-
|
|
5762
|
-
(function ($) {
|
|
5763
|
-
class $mol_plot_mark_hor extends $mol_plot_ruler_hor {
|
|
5764
|
-
labels() {
|
|
5765
|
-
return [];
|
|
5766
|
-
}
|
|
5767
|
-
}
|
|
5768
|
-
$.$mol_plot_mark_hor = $mol_plot_mark_hor;
|
|
5769
|
-
})($ || ($ = {}));
|
|
5770
|
-
//mol/plot/mark/hor/-view.tree/hor.view.tree.ts
|
|
5451
|
+
|
|
5771
5452
|
;
|
|
5772
5453
|
"use strict";
|
|
5773
5454
|
var $;
|
|
@@ -5859,13 +5540,13 @@ var $;
|
|
|
5859
5540
|
$$.$mol_plot_mark_hor = $mol_plot_mark_hor;
|
|
5860
5541
|
})($$ = $.$$ || ($.$$ = {}));
|
|
5861
5542
|
})($ || ($ = {}));
|
|
5862
|
-
|
|
5543
|
+
|
|
5863
5544
|
;
|
|
5864
5545
|
"use strict";
|
|
5865
5546
|
var $;
|
|
5866
5547
|
(function ($) {
|
|
5867
5548
|
$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");
|
|
5868
5549
|
})($ || ($ = {}));
|
|
5869
|
-
|
|
5550
|
+
|
|
5870
5551
|
|
|
5871
5552
|
//# sourceMappingURL=web.js.map
|