mol_plot_all 1.2.927 → 1.2.929
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 +300 -300
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +427 -427
- package/node.js.map +1 -1
- package/node.mjs +427 -427
- package/node.test.js +427 -427
- package/node.test.js.map +1 -1
- package/node.view.tree +10 -10
- package/package.json +2 -2
- package/web.d.ts +300 -300
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +427 -427
- package/web.js.map +1 -1
- package/web.mjs +427 -427
- package/web.view.tree +10 -10
package/node.test.js
CHANGED
|
@@ -3174,6 +3174,12 @@ var $;
|
|
|
3174
3174
|
|
|
3175
3175
|
;
|
|
3176
3176
|
($.$mol_svg_root) = class $mol_svg_root extends ($.$mol_svg) {
|
|
3177
|
+
view_box(){
|
|
3178
|
+
return "0 0 100 100";
|
|
3179
|
+
}
|
|
3180
|
+
aspect(){
|
|
3181
|
+
return "xMidYMid";
|
|
3182
|
+
}
|
|
3177
3183
|
dom_name(){
|
|
3178
3184
|
return "svg";
|
|
3179
3185
|
}
|
|
@@ -3184,12 +3190,6 @@ var $;
|
|
|
3184
3190
|
"preserveAspectRatio": (this.aspect())
|
|
3185
3191
|
};
|
|
3186
3192
|
}
|
|
3187
|
-
view_box(){
|
|
3188
|
-
return "0 0 100 100";
|
|
3189
|
-
}
|
|
3190
|
-
aspect(){
|
|
3191
|
-
return "xMidYMid";
|
|
3192
|
-
}
|
|
3193
3193
|
};
|
|
3194
3194
|
|
|
3195
3195
|
|
|
@@ -3321,6 +3321,26 @@ var $;
|
|
|
3321
3321
|
|
|
3322
3322
|
;
|
|
3323
3323
|
($.$mol_touch) = class $mol_touch extends ($.$mol_plugin) {
|
|
3324
|
+
event_start(next){
|
|
3325
|
+
if(next !== undefined) return next;
|
|
3326
|
+
return null;
|
|
3327
|
+
}
|
|
3328
|
+
event_move(next){
|
|
3329
|
+
if(next !== undefined) return next;
|
|
3330
|
+
return null;
|
|
3331
|
+
}
|
|
3332
|
+
event_end(next){
|
|
3333
|
+
if(next !== undefined) return next;
|
|
3334
|
+
return null;
|
|
3335
|
+
}
|
|
3336
|
+
event_leave(next){
|
|
3337
|
+
if(next !== undefined) return next;
|
|
3338
|
+
return null;
|
|
3339
|
+
}
|
|
3340
|
+
event_wheel(next){
|
|
3341
|
+
if(next !== undefined) return next;
|
|
3342
|
+
return null;
|
|
3343
|
+
}
|
|
3324
3344
|
start_zoom(next){
|
|
3325
3345
|
if(next !== undefined) return next;
|
|
3326
3346
|
return 0;
|
|
@@ -3448,27 +3468,12 @@ var $;
|
|
|
3448
3468
|
"wheel": (next) => (this.event_wheel(next))
|
|
3449
3469
|
};
|
|
3450
3470
|
}
|
|
3451
|
-
event_start(next){
|
|
3452
|
-
if(next !== undefined) return next;
|
|
3453
|
-
return null;
|
|
3454
|
-
}
|
|
3455
|
-
event_move(next){
|
|
3456
|
-
if(next !== undefined) return next;
|
|
3457
|
-
return null;
|
|
3458
|
-
}
|
|
3459
|
-
event_end(next){
|
|
3460
|
-
if(next !== undefined) return next;
|
|
3461
|
-
return null;
|
|
3462
|
-
}
|
|
3463
|
-
event_leave(next){
|
|
3464
|
-
if(next !== undefined) return next;
|
|
3465
|
-
return null;
|
|
3466
|
-
}
|
|
3467
|
-
event_wheel(next){
|
|
3468
|
-
if(next !== undefined) return next;
|
|
3469
|
-
return null;
|
|
3470
|
-
}
|
|
3471
3471
|
};
|
|
3472
|
+
($mol_mem(($.$mol_touch.prototype), "event_start"));
|
|
3473
|
+
($mol_mem(($.$mol_touch.prototype), "event_move"));
|
|
3474
|
+
($mol_mem(($.$mol_touch.prototype), "event_end"));
|
|
3475
|
+
($mol_mem(($.$mol_touch.prototype), "event_leave"));
|
|
3476
|
+
($mol_mem(($.$mol_touch.prototype), "event_wheel"));
|
|
3472
3477
|
($mol_mem(($.$mol_touch.prototype), "start_zoom"));
|
|
3473
3478
|
($mol_mem(($.$mol_touch.prototype), "start_distance"));
|
|
3474
3479
|
($mol_mem(($.$mol_touch.prototype), "zoom"));
|
|
@@ -3493,11 +3498,6 @@ var $;
|
|
|
3493
3498
|
($mol_mem(($.$mol_touch.prototype), "draw_start"));
|
|
3494
3499
|
($mol_mem(($.$mol_touch.prototype), "draw"));
|
|
3495
3500
|
($mol_mem(($.$mol_touch.prototype), "draw_end"));
|
|
3496
|
-
($mol_mem(($.$mol_touch.prototype), "event_start"));
|
|
3497
|
-
($mol_mem(($.$mol_touch.prototype), "event_move"));
|
|
3498
|
-
($mol_mem(($.$mol_touch.prototype), "event_end"));
|
|
3499
|
-
($mol_mem(($.$mol_touch.prototype), "event_leave"));
|
|
3500
|
-
($mol_mem(($.$mol_touch.prototype), "event_wheel"));
|
|
3501
3501
|
|
|
3502
3502
|
|
|
3503
3503
|
;
|
|
@@ -3754,6 +3754,104 @@ var $;
|
|
|
3754
3754
|
|
|
3755
3755
|
;
|
|
3756
3756
|
($.$mol_plot_pane) = class $mol_plot_pane extends ($.$mol_svg_root) {
|
|
3757
|
+
gap_x(){
|
|
3758
|
+
const obj = new this.$.$mol_vector_range((this.gap_left()), (this.gap_right()));
|
|
3759
|
+
return obj;
|
|
3760
|
+
}
|
|
3761
|
+
gap_y(){
|
|
3762
|
+
const obj = new this.$.$mol_vector_range((this.gap_bottom()), (this.gap_top()));
|
|
3763
|
+
return obj;
|
|
3764
|
+
}
|
|
3765
|
+
shift_limit_x(){
|
|
3766
|
+
const obj = new this.$.$mol_vector_range(0, 0);
|
|
3767
|
+
return obj;
|
|
3768
|
+
}
|
|
3769
|
+
shift_limit_y(){
|
|
3770
|
+
const obj = new this.$.$mol_vector_range(0, 0);
|
|
3771
|
+
return obj;
|
|
3772
|
+
}
|
|
3773
|
+
scale_limit_x(){
|
|
3774
|
+
const obj = new this.$.$mol_vector_range(0, Infinity);
|
|
3775
|
+
return obj;
|
|
3776
|
+
}
|
|
3777
|
+
scale_limit_y(){
|
|
3778
|
+
const obj = new this.$.$mol_vector_range(0, -Infinity);
|
|
3779
|
+
return obj;
|
|
3780
|
+
}
|
|
3781
|
+
dimensions_x(){
|
|
3782
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3783
|
+
return obj;
|
|
3784
|
+
}
|
|
3785
|
+
dimensions_y(){
|
|
3786
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3787
|
+
return obj;
|
|
3788
|
+
}
|
|
3789
|
+
dimensions_viewport_x(){
|
|
3790
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3791
|
+
return obj;
|
|
3792
|
+
}
|
|
3793
|
+
dimensions_viewport_y(){
|
|
3794
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3795
|
+
return obj;
|
|
3796
|
+
}
|
|
3797
|
+
graphs_sorted(){
|
|
3798
|
+
return [];
|
|
3799
|
+
}
|
|
3800
|
+
graphs(){
|
|
3801
|
+
return [];
|
|
3802
|
+
}
|
|
3803
|
+
graphs_positioned(){
|
|
3804
|
+
return (this.graphs());
|
|
3805
|
+
}
|
|
3806
|
+
graphs_visible(){
|
|
3807
|
+
return (this.graphs_positioned());
|
|
3808
|
+
}
|
|
3809
|
+
zoom(next){
|
|
3810
|
+
if(next !== undefined) return next;
|
|
3811
|
+
return 1;
|
|
3812
|
+
}
|
|
3813
|
+
cursor_position(){
|
|
3814
|
+
return (this.Touch().pointer_center());
|
|
3815
|
+
}
|
|
3816
|
+
allow_draw(){
|
|
3817
|
+
return true;
|
|
3818
|
+
}
|
|
3819
|
+
allow_pan(){
|
|
3820
|
+
return true;
|
|
3821
|
+
}
|
|
3822
|
+
allow_zoom(){
|
|
3823
|
+
return true;
|
|
3824
|
+
}
|
|
3825
|
+
action_type(){
|
|
3826
|
+
return (this.Touch().action_type());
|
|
3827
|
+
}
|
|
3828
|
+
action_point(){
|
|
3829
|
+
return (this.Touch().action_point());
|
|
3830
|
+
}
|
|
3831
|
+
draw_start(next){
|
|
3832
|
+
if(next !== undefined) return next;
|
|
3833
|
+
return null;
|
|
3834
|
+
}
|
|
3835
|
+
draw(next){
|
|
3836
|
+
if(next !== undefined) return next;
|
|
3837
|
+
return null;
|
|
3838
|
+
}
|
|
3839
|
+
draw_end(next){
|
|
3840
|
+
if(next !== undefined) return next;
|
|
3841
|
+
return null;
|
|
3842
|
+
}
|
|
3843
|
+
Touch(){
|
|
3844
|
+
const obj = new this.$.$mol_touch();
|
|
3845
|
+
(obj.zoom) = (next) => ((this.zoom(next)));
|
|
3846
|
+
(obj.pan) = (next) => ((this.shift(next)));
|
|
3847
|
+
(obj.allow_draw) = () => ((this.allow_draw()));
|
|
3848
|
+
(obj.allow_pan) = () => ((this.allow_pan()));
|
|
3849
|
+
(obj.allow_zoom) = () => ((this.allow_zoom()));
|
|
3850
|
+
(obj.draw_start) = (next) => ((this.draw_start(next)));
|
|
3851
|
+
(obj.draw) = (next) => ((this.draw(next)));
|
|
3852
|
+
(obj.draw_end) = (next) => ((this.draw_end(next)));
|
|
3853
|
+
return obj;
|
|
3854
|
+
}
|
|
3757
3855
|
aspect(){
|
|
3758
3856
|
return "none";
|
|
3759
3857
|
}
|
|
@@ -3846,171 +3944,117 @@ var $;
|
|
|
3846
3944
|
plugins(){
|
|
3847
3945
|
return [...(super.plugins()), (this.Touch())];
|
|
3848
3946
|
}
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3947
|
+
};
|
|
3948
|
+
($mol_mem(($.$mol_plot_pane.prototype), "gap_x"));
|
|
3949
|
+
($mol_mem(($.$mol_plot_pane.prototype), "gap_y"));
|
|
3950
|
+
($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_x"));
|
|
3951
|
+
($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_y"));
|
|
3952
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_x"));
|
|
3953
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_y"));
|
|
3954
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_x"));
|
|
3955
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_y"));
|
|
3956
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_x"));
|
|
3957
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_y"));
|
|
3958
|
+
($mol_mem(($.$mol_plot_pane.prototype), "zoom"));
|
|
3959
|
+
($mol_mem(($.$mol_plot_pane.prototype), "draw_start"));
|
|
3960
|
+
($mol_mem(($.$mol_plot_pane.prototype), "draw"));
|
|
3961
|
+
($mol_mem(($.$mol_plot_pane.prototype), "draw_end"));
|
|
3962
|
+
($mol_mem(($.$mol_plot_pane.prototype), "Touch"));
|
|
3963
|
+
($mol_mem(($.$mol_plot_pane.prototype), "hue_base"));
|
|
3964
|
+
($mol_mem(($.$mol_plot_pane.prototype), "hue_shift"));
|
|
3965
|
+
($mol_mem(($.$mol_plot_pane.prototype), "gap"));
|
|
3966
|
+
($mol_mem(($.$mol_plot_pane.prototype), "shift_limit"));
|
|
3967
|
+
($mol_mem(($.$mol_plot_pane.prototype), "shift_default"));
|
|
3968
|
+
($mol_mem(($.$mol_plot_pane.prototype), "shift"));
|
|
3969
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_limit"));
|
|
3970
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_default"));
|
|
3971
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale"));
|
|
3972
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_x"));
|
|
3973
|
+
($mol_mem(($.$mol_plot_pane.prototype), "scale_y"));
|
|
3974
|
+
($mol_mem(($.$mol_plot_pane.prototype), "size"));
|
|
3975
|
+
($mol_mem(($.$mol_plot_pane.prototype), "size_real"));
|
|
3976
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions"));
|
|
3977
|
+
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport"));
|
|
3978
|
+
|
|
3979
|
+
|
|
3980
|
+
;
|
|
3981
|
+
"use strict";
|
|
3982
|
+
var $;
|
|
3983
|
+
(function ($) {
|
|
3984
|
+
$.$mol_mem_cached = $mol_wire_probe;
|
|
3985
|
+
})($ || ($ = {}));
|
|
3986
|
+
|
|
3987
|
+
;
|
|
3988
|
+
($.$mol_svg_group) = class $mol_svg_group extends ($.$mol_svg) {
|
|
3989
|
+
dom_name(){
|
|
3990
|
+
return "g";
|
|
3852
3991
|
}
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3992
|
+
};
|
|
3993
|
+
|
|
3994
|
+
|
|
3995
|
+
;
|
|
3996
|
+
"use strict";
|
|
3997
|
+
|
|
3998
|
+
;
|
|
3999
|
+
($.$mol_svg_title) = class $mol_svg_title extends ($.$mol_svg) {
|
|
4000
|
+
dom_name(){
|
|
4001
|
+
return "title";
|
|
3856
4002
|
}
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
return obj;
|
|
4003
|
+
sub(){
|
|
4004
|
+
return [(this.title())];
|
|
3860
4005
|
}
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
4006
|
+
};
|
|
4007
|
+
|
|
4008
|
+
|
|
4009
|
+
;
|
|
4010
|
+
"use strict";
|
|
4011
|
+
|
|
4012
|
+
;
|
|
4013
|
+
($.$mol_plot_graph) = class $mol_plot_graph extends ($.$mol_svg_group) {
|
|
4014
|
+
type(){
|
|
4015
|
+
return "solid";
|
|
3864
4016
|
}
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
return obj;
|
|
4017
|
+
color(){
|
|
4018
|
+
return "";
|
|
3868
4019
|
}
|
|
3869
|
-
|
|
3870
|
-
const obj = new this.$.$mol_vector_range(
|
|
4020
|
+
viewport_x(){
|
|
4021
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3871
4022
|
return obj;
|
|
3872
4023
|
}
|
|
3873
|
-
|
|
4024
|
+
viewport_y(){
|
|
3874
4025
|
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3875
4026
|
return obj;
|
|
3876
4027
|
}
|
|
3877
|
-
|
|
4028
|
+
dimensions_pane_x(){
|
|
3878
4029
|
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3879
4030
|
return obj;
|
|
3880
4031
|
}
|
|
3881
|
-
|
|
4032
|
+
dimensions_pane_y(){
|
|
3882
4033
|
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3883
4034
|
return obj;
|
|
3884
4035
|
}
|
|
3885
|
-
|
|
4036
|
+
dimensions_x(){
|
|
3886
4037
|
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
3887
4038
|
return obj;
|
|
3888
4039
|
}
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
graphs(){
|
|
3893
|
-
return [];
|
|
3894
|
-
}
|
|
3895
|
-
graphs_positioned(){
|
|
3896
|
-
return (this.graphs());
|
|
3897
|
-
}
|
|
3898
|
-
graphs_visible(){
|
|
3899
|
-
return (this.graphs_positioned());
|
|
3900
|
-
}
|
|
3901
|
-
zoom(next){
|
|
3902
|
-
if(next !== undefined) return next;
|
|
3903
|
-
return 1;
|
|
3904
|
-
}
|
|
3905
|
-
cursor_position(){
|
|
3906
|
-
return (this.Touch().pointer_center());
|
|
3907
|
-
}
|
|
3908
|
-
allow_draw(){
|
|
3909
|
-
return true;
|
|
3910
|
-
}
|
|
3911
|
-
allow_pan(){
|
|
3912
|
-
return true;
|
|
3913
|
-
}
|
|
3914
|
-
allow_zoom(){
|
|
3915
|
-
return true;
|
|
3916
|
-
}
|
|
3917
|
-
action_type(){
|
|
3918
|
-
return (this.Touch().action_type());
|
|
3919
|
-
}
|
|
3920
|
-
action_point(){
|
|
3921
|
-
return (this.Touch().action_point());
|
|
3922
|
-
}
|
|
3923
|
-
draw_start(next){
|
|
3924
|
-
if(next !== undefined) return next;
|
|
3925
|
-
return null;
|
|
3926
|
-
}
|
|
3927
|
-
draw(next){
|
|
3928
|
-
if(next !== undefined) return next;
|
|
3929
|
-
return null;
|
|
3930
|
-
}
|
|
3931
|
-
draw_end(next){
|
|
3932
|
-
if(next !== undefined) return next;
|
|
3933
|
-
return null;
|
|
4040
|
+
dimensions_y(){
|
|
4041
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
4042
|
+
return obj;
|
|
3934
4043
|
}
|
|
3935
|
-
|
|
3936
|
-
const obj = new this.$.$
|
|
3937
|
-
(obj.zoom) = (next) => ((this.zoom(next)));
|
|
3938
|
-
(obj.pan) = (next) => ((this.shift(next)));
|
|
3939
|
-
(obj.allow_draw) = () => ((this.allow_draw()));
|
|
3940
|
-
(obj.allow_pan) = () => ((this.allow_pan()));
|
|
3941
|
-
(obj.allow_zoom) = () => ((this.allow_zoom()));
|
|
3942
|
-
(obj.draw_start) = (next) => ((this.draw_start(next)));
|
|
3943
|
-
(obj.draw) = (next) => ((this.draw(next)));
|
|
3944
|
-
(obj.draw_end) = (next) => ((this.draw_end(next)));
|
|
4044
|
+
gap_x(){
|
|
4045
|
+
const obj = new this.$.$mol_vector_range(0, 0);
|
|
3945
4046
|
return obj;
|
|
3946
4047
|
}
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
($mol_mem(($.$mol_plot_pane.prototype), "gap"));
|
|
3951
|
-
($mol_mem(($.$mol_plot_pane.prototype), "shift_limit"));
|
|
3952
|
-
($mol_mem(($.$mol_plot_pane.prototype), "shift_default"));
|
|
3953
|
-
($mol_mem(($.$mol_plot_pane.prototype), "shift"));
|
|
3954
|
-
($mol_mem(($.$mol_plot_pane.prototype), "scale_limit"));
|
|
3955
|
-
($mol_mem(($.$mol_plot_pane.prototype), "scale_default"));
|
|
3956
|
-
($mol_mem(($.$mol_plot_pane.prototype), "scale"));
|
|
3957
|
-
($mol_mem(($.$mol_plot_pane.prototype), "scale_x"));
|
|
3958
|
-
($mol_mem(($.$mol_plot_pane.prototype), "scale_y"));
|
|
3959
|
-
($mol_mem(($.$mol_plot_pane.prototype), "size"));
|
|
3960
|
-
($mol_mem(($.$mol_plot_pane.prototype), "size_real"));
|
|
3961
|
-
($mol_mem(($.$mol_plot_pane.prototype), "dimensions"));
|
|
3962
|
-
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport"));
|
|
3963
|
-
($mol_mem(($.$mol_plot_pane.prototype), "gap_x"));
|
|
3964
|
-
($mol_mem(($.$mol_plot_pane.prototype), "gap_y"));
|
|
3965
|
-
($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_x"));
|
|
3966
|
-
($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_y"));
|
|
3967
|
-
($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_x"));
|
|
3968
|
-
($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_y"));
|
|
3969
|
-
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_x"));
|
|
3970
|
-
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_y"));
|
|
3971
|
-
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_x"));
|
|
3972
|
-
($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_y"));
|
|
3973
|
-
($mol_mem(($.$mol_plot_pane.prototype), "zoom"));
|
|
3974
|
-
($mol_mem(($.$mol_plot_pane.prototype), "draw_start"));
|
|
3975
|
-
($mol_mem(($.$mol_plot_pane.prototype), "draw"));
|
|
3976
|
-
($mol_mem(($.$mol_plot_pane.prototype), "draw_end"));
|
|
3977
|
-
($mol_mem(($.$mol_plot_pane.prototype), "Touch"));
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
;
|
|
3981
|
-
"use strict";
|
|
3982
|
-
var $;
|
|
3983
|
-
(function ($) {
|
|
3984
|
-
$.$mol_mem_cached = $mol_wire_probe;
|
|
3985
|
-
})($ || ($ = {}));
|
|
3986
|
-
|
|
3987
|
-
;
|
|
3988
|
-
($.$mol_svg_group) = class $mol_svg_group extends ($.$mol_svg) {
|
|
3989
|
-
dom_name(){
|
|
3990
|
-
return "g";
|
|
4048
|
+
gap_y(){
|
|
4049
|
+
const obj = new this.$.$mol_vector_range(0, 0);
|
|
4050
|
+
return obj;
|
|
3991
4051
|
}
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
;
|
|
3996
|
-
"use strict";
|
|
3997
|
-
|
|
3998
|
-
;
|
|
3999
|
-
($.$mol_svg_title) = class $mol_svg_title extends ($.$mol_svg) {
|
|
4000
|
-
dom_name(){
|
|
4001
|
-
return "title";
|
|
4052
|
+
title(){
|
|
4053
|
+
return "";
|
|
4002
4054
|
}
|
|
4003
|
-
|
|
4004
|
-
return
|
|
4055
|
+
hint(){
|
|
4056
|
+
return (this.title());
|
|
4005
4057
|
}
|
|
4006
|
-
};
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
;
|
|
4010
|
-
"use strict";
|
|
4011
|
-
|
|
4012
|
-
;
|
|
4013
|
-
($.$mol_plot_graph) = class $mol_plot_graph extends ($.$mol_svg_group) {
|
|
4014
4058
|
series_x(){
|
|
4015
4059
|
return [];
|
|
4016
4060
|
}
|
|
@@ -4082,58 +4126,7 @@ var $;
|
|
|
4082
4126
|
Sample(){
|
|
4083
4127
|
return null;
|
|
4084
4128
|
}
|
|
4085
|
-
type(){
|
|
4086
|
-
return "solid";
|
|
4087
|
-
}
|
|
4088
|
-
color(){
|
|
4089
|
-
return "";
|
|
4090
|
-
}
|
|
4091
|
-
viewport_x(){
|
|
4092
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
4093
|
-
return obj;
|
|
4094
|
-
}
|
|
4095
|
-
viewport_y(){
|
|
4096
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
4097
|
-
return obj;
|
|
4098
|
-
}
|
|
4099
|
-
dimensions_pane_x(){
|
|
4100
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
4101
|
-
return obj;
|
|
4102
|
-
}
|
|
4103
|
-
dimensions_pane_y(){
|
|
4104
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
4105
|
-
return obj;
|
|
4106
|
-
}
|
|
4107
|
-
dimensions_x(){
|
|
4108
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
4109
|
-
return obj;
|
|
4110
|
-
}
|
|
4111
|
-
dimensions_y(){
|
|
4112
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
4113
|
-
return obj;
|
|
4114
|
-
}
|
|
4115
|
-
gap_x(){
|
|
4116
|
-
const obj = new this.$.$mol_vector_range(0, 0);
|
|
4117
|
-
return obj;
|
|
4118
|
-
}
|
|
4119
|
-
gap_y(){
|
|
4120
|
-
const obj = new this.$.$mol_vector_range(0, 0);
|
|
4121
|
-
return obj;
|
|
4122
|
-
}
|
|
4123
|
-
title(){
|
|
4124
|
-
return "";
|
|
4125
|
-
}
|
|
4126
|
-
hint(){
|
|
4127
|
-
return (this.title());
|
|
4128
|
-
}
|
|
4129
4129
|
};
|
|
4130
|
-
($mol_mem(($.$mol_plot_graph.prototype), "viewport"));
|
|
4131
|
-
($mol_mem(($.$mol_plot_graph.prototype), "cursor_position"));
|
|
4132
|
-
($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane"));
|
|
4133
|
-
($mol_mem(($.$mol_plot_graph.prototype), "dimensions"));
|
|
4134
|
-
($mol_mem(($.$mol_plot_graph.prototype), "size_real"));
|
|
4135
|
-
($mol_mem(($.$mol_plot_graph.prototype), "gap"));
|
|
4136
|
-
($mol_mem(($.$mol_plot_graph.prototype), "Hint"));
|
|
4137
4130
|
($mol_mem(($.$mol_plot_graph.prototype), "viewport_x"));
|
|
4138
4131
|
($mol_mem(($.$mol_plot_graph.prototype), "viewport_y"));
|
|
4139
4132
|
($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane_x"));
|
|
@@ -4142,19 +4135,26 @@ var $;
|
|
|
4142
4135
|
($mol_mem(($.$mol_plot_graph.prototype), "dimensions_y"));
|
|
4143
4136
|
($mol_mem(($.$mol_plot_graph.prototype), "gap_x"));
|
|
4144
4137
|
($mol_mem(($.$mol_plot_graph.prototype), "gap_y"));
|
|
4138
|
+
($mol_mem(($.$mol_plot_graph.prototype), "viewport"));
|
|
4139
|
+
($mol_mem(($.$mol_plot_graph.prototype), "cursor_position"));
|
|
4140
|
+
($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane"));
|
|
4141
|
+
($mol_mem(($.$mol_plot_graph.prototype), "dimensions"));
|
|
4142
|
+
($mol_mem(($.$mol_plot_graph.prototype), "size_real"));
|
|
4143
|
+
($mol_mem(($.$mol_plot_graph.prototype), "gap"));
|
|
4144
|
+
($mol_mem(($.$mol_plot_graph.prototype), "Hint"));
|
|
4145
4145
|
($.$mol_plot_graph_sample) = class $mol_plot_graph_sample extends ($.$mol_view) {
|
|
4146
|
-
attr(){
|
|
4147
|
-
return {...(super.attr()), "mol_plot_graph_type": (this.type())};
|
|
4148
|
-
}
|
|
4149
|
-
style(){
|
|
4150
|
-
return {...(super.style()), "color": (this.color())};
|
|
4151
|
-
}
|
|
4152
4146
|
type(){
|
|
4153
4147
|
return "solid";
|
|
4154
4148
|
}
|
|
4155
4149
|
color(){
|
|
4156
4150
|
return "black";
|
|
4157
4151
|
}
|
|
4152
|
+
attr(){
|
|
4153
|
+
return {...(super.attr()), "mol_plot_graph_type": (this.type())};
|
|
4154
|
+
}
|
|
4155
|
+
style(){
|
|
4156
|
+
return {...(super.style()), "color": (this.color())};
|
|
4157
|
+
}
|
|
4158
4158
|
};
|
|
4159
4159
|
|
|
4160
4160
|
|
|
@@ -4455,6 +4455,9 @@ var $;
|
|
|
4455
4455
|
|
|
4456
4456
|
;
|
|
4457
4457
|
($.$mol_plot_line) = class $mol_plot_line extends ($.$mol_plot_graph) {
|
|
4458
|
+
curve(){
|
|
4459
|
+
return "";
|
|
4460
|
+
}
|
|
4458
4461
|
threshold(){
|
|
4459
4462
|
return 1;
|
|
4460
4463
|
}
|
|
@@ -4479,9 +4482,6 @@ var $;
|
|
|
4479
4482
|
(obj.type) = () => ((this.type()));
|
|
4480
4483
|
return obj;
|
|
4481
4484
|
}
|
|
4482
|
-
curve(){
|
|
4483
|
-
return "";
|
|
4484
|
-
}
|
|
4485
4485
|
};
|
|
4486
4486
|
($mol_mem(($.$mol_plot_line.prototype), "Sample"));
|
|
4487
4487
|
|
|
@@ -4557,14 +4557,6 @@ var $;
|
|
|
4557
4557
|
|
|
4558
4558
|
;
|
|
4559
4559
|
($.$mol_plot_group) = class $mol_plot_group extends ($.$mol_plot_graph) {
|
|
4560
|
-
sub(){
|
|
4561
|
-
return (this.graphs_enriched());
|
|
4562
|
-
}
|
|
4563
|
-
Sample(){
|
|
4564
|
-
const obj = new this.$.$mol_plot_graph_sample();
|
|
4565
|
-
(obj.sub) = () => ((this.graph_samples()));
|
|
4566
|
-
return obj;
|
|
4567
|
-
}
|
|
4568
4560
|
graphs(){
|
|
4569
4561
|
return [];
|
|
4570
4562
|
}
|
|
@@ -4574,6 +4566,14 @@ var $;
|
|
|
4574
4566
|
graph_samples(){
|
|
4575
4567
|
return [];
|
|
4576
4568
|
}
|
|
4569
|
+
sub(){
|
|
4570
|
+
return (this.graphs_enriched());
|
|
4571
|
+
}
|
|
4572
|
+
Sample(){
|
|
4573
|
+
const obj = new this.$.$mol_plot_graph_sample();
|
|
4574
|
+
(obj.sub) = () => ((this.graph_samples()));
|
|
4575
|
+
return obj;
|
|
4576
|
+
}
|
|
4577
4577
|
};
|
|
4578
4578
|
($mol_mem(($.$mol_plot_group.prototype), "Sample"));
|
|
4579
4579
|
|
|
@@ -4648,15 +4648,15 @@ var $;
|
|
|
4648
4648
|
|
|
4649
4649
|
;
|
|
4650
4650
|
($.$mol_svg_path) = class $mol_svg_path extends ($.$mol_svg) {
|
|
4651
|
+
geometry(){
|
|
4652
|
+
return "";
|
|
4653
|
+
}
|
|
4651
4654
|
dom_name(){
|
|
4652
4655
|
return "path";
|
|
4653
4656
|
}
|
|
4654
4657
|
attr(){
|
|
4655
4658
|
return {...(super.attr()), "d": (this.geometry())};
|
|
4656
4659
|
}
|
|
4657
|
-
geometry(){
|
|
4658
|
-
return "";
|
|
4659
|
-
}
|
|
4660
4660
|
};
|
|
4661
4661
|
|
|
4662
4662
|
|
|
@@ -4665,6 +4665,17 @@ var $;
|
|
|
4665
4665
|
|
|
4666
4666
|
;
|
|
4667
4667
|
($.$mol_plot_dot) = class $mol_plot_dot extends ($.$mol_plot_graph) {
|
|
4668
|
+
diameter(){
|
|
4669
|
+
return 8;
|
|
4670
|
+
}
|
|
4671
|
+
curve(){
|
|
4672
|
+
return "";
|
|
4673
|
+
}
|
|
4674
|
+
Curve(){
|
|
4675
|
+
const obj = new this.$.$mol_svg_path();
|
|
4676
|
+
(obj.geometry) = () => ((this.curve()));
|
|
4677
|
+
return obj;
|
|
4678
|
+
}
|
|
4668
4679
|
points_max(){
|
|
4669
4680
|
return +Infinity;
|
|
4670
4681
|
}
|
|
@@ -4682,20 +4693,9 @@ var $;
|
|
|
4682
4693
|
(obj.color) = () => ((this.color()));
|
|
4683
4694
|
return obj;
|
|
4684
4695
|
}
|
|
4685
|
-
diameter(){
|
|
4686
|
-
return 8;
|
|
4687
|
-
}
|
|
4688
|
-
curve(){
|
|
4689
|
-
return "";
|
|
4690
|
-
}
|
|
4691
|
-
Curve(){
|
|
4692
|
-
const obj = new this.$.$mol_svg_path();
|
|
4693
|
-
(obj.geometry) = () => ((this.curve()));
|
|
4694
|
-
return obj;
|
|
4695
|
-
}
|
|
4696
4696
|
};
|
|
4697
|
-
($mol_mem(($.$mol_plot_dot.prototype), "Sample"));
|
|
4698
4697
|
($mol_mem(($.$mol_plot_dot.prototype), "Curve"));
|
|
4698
|
+
($mol_mem(($.$mol_plot_dot.prototype), "Sample"));
|
|
4699
4699
|
|
|
4700
4700
|
|
|
4701
4701
|
;
|
|
@@ -4814,27 +4814,7 @@ var $;
|
|
|
4814
4814
|
|
|
4815
4815
|
;
|
|
4816
4816
|
($.$mol_plot_map_heat) = class $mol_plot_map_heat extends ($.$mol_plot_group) {
|
|
4817
|
-
|
|
4818
|
-
return [];
|
|
4819
|
-
}
|
|
4820
|
-
graphs(){
|
|
4821
|
-
return (this.level_graphs());
|
|
4822
|
-
}
|
|
4823
|
-
Level(id){
|
|
4824
|
-
const obj = new this.$.$mol_plot_map_heat_level();
|
|
4825
|
-
(obj.hint) = () => ((this.level_hint(id)));
|
|
4826
|
-
(obj.points) = () => ((this.level_points(id)));
|
|
4827
|
-
(obj.opacity) = () => ((this.level_opacity(id)));
|
|
4828
|
-
(obj.diameter) = () => ((this.level_diameter()));
|
|
4829
|
-
(obj.aspect) = () => ((this.level_aspect()));
|
|
4830
|
-
return obj;
|
|
4831
|
-
}
|
|
4832
|
-
Sample(){
|
|
4833
|
-
const obj = new this.$.$mol_plot_graph_sample();
|
|
4834
|
-
(obj.color) = () => ((this.color()));
|
|
4835
|
-
return obj;
|
|
4836
|
-
}
|
|
4837
|
-
level_graphs(){
|
|
4817
|
+
level_graphs(){
|
|
4838
4818
|
return [];
|
|
4839
4819
|
}
|
|
4840
4820
|
level_hint(id){
|
|
@@ -4852,16 +4832,36 @@ var $;
|
|
|
4852
4832
|
level_aspect(){
|
|
4853
4833
|
return 1;
|
|
4854
4834
|
}
|
|
4835
|
+
series_z(){
|
|
4836
|
+
return [];
|
|
4837
|
+
}
|
|
4838
|
+
graphs(){
|
|
4839
|
+
return (this.level_graphs());
|
|
4840
|
+
}
|
|
4841
|
+
Level(id){
|
|
4842
|
+
const obj = new this.$.$mol_plot_map_heat_level();
|
|
4843
|
+
(obj.hint) = () => ((this.level_hint(id)));
|
|
4844
|
+
(obj.points) = () => ((this.level_points(id)));
|
|
4845
|
+
(obj.opacity) = () => ((this.level_opacity(id)));
|
|
4846
|
+
(obj.diameter) = () => ((this.level_diameter()));
|
|
4847
|
+
(obj.aspect) = () => ((this.level_aspect()));
|
|
4848
|
+
return obj;
|
|
4849
|
+
}
|
|
4850
|
+
Sample(){
|
|
4851
|
+
const obj = new this.$.$mol_plot_graph_sample();
|
|
4852
|
+
(obj.color) = () => ((this.color()));
|
|
4853
|
+
return obj;
|
|
4854
|
+
}
|
|
4855
4855
|
};
|
|
4856
4856
|
($mol_mem_key(($.$mol_plot_map_heat.prototype), "Level"));
|
|
4857
4857
|
($mol_mem(($.$mol_plot_map_heat.prototype), "Sample"));
|
|
4858
4858
|
($.$mol_plot_map_heat_level) = class $mol_plot_map_heat_level extends ($.$mol_plot_dot) {
|
|
4859
|
-
style(){
|
|
4860
|
-
return {...(super.style()), "opacity": (this.opacity())};
|
|
4861
|
-
}
|
|
4862
4859
|
opacity(){
|
|
4863
4860
|
return "1";
|
|
4864
4861
|
}
|
|
4862
|
+
style(){
|
|
4863
|
+
return {...(super.style()), "opacity": (this.opacity())};
|
|
4864
|
+
}
|
|
4865
4865
|
};
|
|
4866
4866
|
|
|
4867
4867
|
|
|
@@ -4940,17 +4940,6 @@ var $;
|
|
|
4940
4940
|
|
|
4941
4941
|
;
|
|
4942
4942
|
($.$mol_plot_bar) = class $mol_plot_bar extends ($.$mol_plot_graph) {
|
|
4943
|
-
style(){
|
|
4944
|
-
return {...(super.style()), "stroke-width": (this.stroke_width())};
|
|
4945
|
-
}
|
|
4946
|
-
sub(){
|
|
4947
|
-
return [(this.Hint()), (this.Curve())];
|
|
4948
|
-
}
|
|
4949
|
-
Sample(){
|
|
4950
|
-
const obj = new this.$.$mol_plot_graph_sample();
|
|
4951
|
-
(obj.color) = () => ((this.color()));
|
|
4952
|
-
return obj;
|
|
4953
|
-
}
|
|
4954
4943
|
stroke_width(){
|
|
4955
4944
|
return "1rem";
|
|
4956
4945
|
}
|
|
@@ -4962,9 +4951,20 @@ var $;
|
|
|
4962
4951
|
(obj.geometry) = () => ((this.curve()));
|
|
4963
4952
|
return obj;
|
|
4964
4953
|
}
|
|
4954
|
+
style(){
|
|
4955
|
+
return {...(super.style()), "stroke-width": (this.stroke_width())};
|
|
4956
|
+
}
|
|
4957
|
+
sub(){
|
|
4958
|
+
return [(this.Hint()), (this.Curve())];
|
|
4959
|
+
}
|
|
4960
|
+
Sample(){
|
|
4961
|
+
const obj = new this.$.$mol_plot_graph_sample();
|
|
4962
|
+
(obj.color) = () => ((this.color()));
|
|
4963
|
+
return obj;
|
|
4964
|
+
}
|
|
4965
4965
|
};
|
|
4966
|
-
($mol_mem(($.$mol_plot_bar.prototype), "Sample"));
|
|
4967
4966
|
($mol_mem(($.$mol_plot_bar.prototype), "Curve"));
|
|
4967
|
+
($mol_mem(($.$mol_plot_bar.prototype), "Sample"));
|
|
4968
4968
|
|
|
4969
4969
|
|
|
4970
4970
|
;
|
|
@@ -5104,24 +5104,12 @@ var $;
|
|
|
5104
5104
|
})($ || ($ = {}));
|
|
5105
5105
|
|
|
5106
5106
|
;
|
|
5107
|
-
($.$
|
|
5108
|
-
|
|
5109
|
-
return "
|
|
5110
|
-
}
|
|
5111
|
-
pos(){
|
|
5112
|
-
return [];
|
|
5113
|
-
}
|
|
5114
|
-
attr(){
|
|
5115
|
-
return {
|
|
5116
|
-
...(super.attr()),
|
|
5117
|
-
"x": (this.pos_x()),
|
|
5118
|
-
"y": (this.pos_y()),
|
|
5119
|
-
"text-anchor": (this.align_hor()),
|
|
5120
|
-
"alignment-baseline": (this.align_vert())
|
|
5121
|
-
};
|
|
5107
|
+
($.$mol_svg_rect) = class $mol_svg_rect extends ($.$mol_svg) {
|
|
5108
|
+
width(){
|
|
5109
|
+
return "0";
|
|
5122
5110
|
}
|
|
5123
|
-
|
|
5124
|
-
return
|
|
5111
|
+
height(){
|
|
5112
|
+
return "0";
|
|
5125
5113
|
}
|
|
5126
5114
|
pos_x(){
|
|
5127
5115
|
return "";
|
|
@@ -5129,17 +5117,20 @@ var $;
|
|
|
5129
5117
|
pos_y(){
|
|
5130
5118
|
return "";
|
|
5131
5119
|
}
|
|
5132
|
-
|
|
5133
|
-
return "
|
|
5134
|
-
}
|
|
5135
|
-
align_hor(){
|
|
5136
|
-
return (this.align());
|
|
5120
|
+
dom_name(){
|
|
5121
|
+
return "rect";
|
|
5137
5122
|
}
|
|
5138
|
-
|
|
5139
|
-
return
|
|
5123
|
+
pos(){
|
|
5124
|
+
return [];
|
|
5140
5125
|
}
|
|
5141
|
-
|
|
5142
|
-
return
|
|
5126
|
+
attr(){
|
|
5127
|
+
return {
|
|
5128
|
+
...(super.attr()),
|
|
5129
|
+
"width": (this.width()),
|
|
5130
|
+
"height": (this.height()),
|
|
5131
|
+
"x": (this.pos_x()),
|
|
5132
|
+
"y": (this.pos_y())
|
|
5133
|
+
};
|
|
5143
5134
|
}
|
|
5144
5135
|
};
|
|
5145
5136
|
|
|
@@ -5153,7 +5144,7 @@ var $;
|
|
|
5153
5144
|
(function ($) {
|
|
5154
5145
|
var $$;
|
|
5155
5146
|
(function ($$) {
|
|
5156
|
-
class $
|
|
5147
|
+
class $mol_svg_rect extends $.$mol_svg_rect {
|
|
5157
5148
|
pos_x() {
|
|
5158
5149
|
return this.pos()[0];
|
|
5159
5150
|
}
|
|
@@ -5161,21 +5152,32 @@ var $;
|
|
|
5161
5152
|
return this.pos()[1];
|
|
5162
5153
|
}
|
|
5163
5154
|
}
|
|
5164
|
-
$$.$
|
|
5155
|
+
$$.$mol_svg_rect = $mol_svg_rect;
|
|
5165
5156
|
})($$ = $.$$ || ($.$$ = {}));
|
|
5166
5157
|
})($ || ($ = {}));
|
|
5167
5158
|
|
|
5168
5159
|
;
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5160
|
+
($.$mol_svg_text) = class $mol_svg_text extends ($.$mol_svg) {
|
|
5161
|
+
pos_x(){
|
|
5162
|
+
return "";
|
|
5163
|
+
}
|
|
5164
|
+
pos_y(){
|
|
5165
|
+
return "";
|
|
5166
|
+
}
|
|
5167
|
+
align(){
|
|
5168
|
+
return "middle";
|
|
5169
|
+
}
|
|
5170
|
+
align_hor(){
|
|
5171
|
+
return (this.align());
|
|
5172
|
+
}
|
|
5173
|
+
align_vert(){
|
|
5174
|
+
return "baseline";
|
|
5175
|
+
}
|
|
5176
|
+
text(){
|
|
5177
|
+
return "";
|
|
5178
|
+
}
|
|
5177
5179
|
dom_name(){
|
|
5178
|
-
return "
|
|
5180
|
+
return "text";
|
|
5179
5181
|
}
|
|
5180
5182
|
pos(){
|
|
5181
5183
|
return [];
|
|
@@ -5183,23 +5185,14 @@ var $;
|
|
|
5183
5185
|
attr(){
|
|
5184
5186
|
return {
|
|
5185
5187
|
...(super.attr()),
|
|
5186
|
-
"width": (this.width()),
|
|
5187
|
-
"height": (this.height()),
|
|
5188
5188
|
"x": (this.pos_x()),
|
|
5189
|
-
"y": (this.pos_y())
|
|
5189
|
+
"y": (this.pos_y()),
|
|
5190
|
+
"text-anchor": (this.align_hor()),
|
|
5191
|
+
"alignment-baseline": (this.align_vert())
|
|
5190
5192
|
};
|
|
5191
5193
|
}
|
|
5192
|
-
|
|
5193
|
-
return
|
|
5194
|
-
}
|
|
5195
|
-
height(){
|
|
5196
|
-
return "0";
|
|
5197
|
-
}
|
|
5198
|
-
pos_x(){
|
|
5199
|
-
return "";
|
|
5200
|
-
}
|
|
5201
|
-
pos_y(){
|
|
5202
|
-
return "";
|
|
5194
|
+
sub(){
|
|
5195
|
+
return [(this.text())];
|
|
5203
5196
|
}
|
|
5204
5197
|
};
|
|
5205
5198
|
|
|
@@ -5213,7 +5206,7 @@ var $;
|
|
|
5213
5206
|
(function ($) {
|
|
5214
5207
|
var $$;
|
|
5215
5208
|
(function ($$) {
|
|
5216
|
-
class $
|
|
5209
|
+
class $mol_svg_text extends $.$mol_svg_text {
|
|
5217
5210
|
pos_x() {
|
|
5218
5211
|
return this.pos()[0];
|
|
5219
5212
|
}
|
|
@@ -5221,57 +5214,19 @@ var $;
|
|
|
5221
5214
|
return this.pos()[1];
|
|
5222
5215
|
}
|
|
5223
5216
|
}
|
|
5224
|
-
$$.$
|
|
5217
|
+
$$.$mol_svg_text = $mol_svg_text;
|
|
5225
5218
|
})($$ = $.$$ || ($.$$ = {}));
|
|
5226
5219
|
})($ || ($ = {}));
|
|
5227
5220
|
|
|
5221
|
+
;
|
|
5222
|
+
"use strict";
|
|
5223
|
+
var $;
|
|
5224
|
+
(function ($) {
|
|
5225
|
+
$mol_style_attach("mol/svg/text/text.view.css", "[mol_svg_text] {\n\tfill: currentColor;\n\tstroke: none;\n}\n");
|
|
5226
|
+
})($ || ($ = {}));
|
|
5227
|
+
|
|
5228
5228
|
;
|
|
5229
5229
|
($.$mol_plot_ruler) = class $mol_plot_ruler extends ($.$mol_plot_graph) {
|
|
5230
|
-
step(){
|
|
5231
|
-
return 0;
|
|
5232
|
-
}
|
|
5233
|
-
scale_axis(){
|
|
5234
|
-
return 1;
|
|
5235
|
-
}
|
|
5236
|
-
scale_step(){
|
|
5237
|
-
return 1;
|
|
5238
|
-
}
|
|
5239
|
-
shift_axis(){
|
|
5240
|
-
return 1;
|
|
5241
|
-
}
|
|
5242
|
-
dimensions_axis(){
|
|
5243
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
5244
|
-
return obj;
|
|
5245
|
-
}
|
|
5246
|
-
viewport_axis(){
|
|
5247
|
-
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
5248
|
-
return obj;
|
|
5249
|
-
}
|
|
5250
|
-
axis_points(){
|
|
5251
|
-
return [];
|
|
5252
|
-
}
|
|
5253
|
-
normalize(next){
|
|
5254
|
-
if(next !== undefined) return next;
|
|
5255
|
-
return 0;
|
|
5256
|
-
}
|
|
5257
|
-
precision(){
|
|
5258
|
-
return 1;
|
|
5259
|
-
}
|
|
5260
|
-
sub(){
|
|
5261
|
-
return [
|
|
5262
|
-
(this.Background()),
|
|
5263
|
-
(this.Curve()),
|
|
5264
|
-
(this.labels_formatted()),
|
|
5265
|
-
(this.Title())
|
|
5266
|
-
];
|
|
5267
|
-
}
|
|
5268
|
-
Label(id){
|
|
5269
|
-
const obj = new this.$.$mol_svg_text();
|
|
5270
|
-
(obj.pos) = () => ((this.label_pos(id)));
|
|
5271
|
-
(obj.text) = () => ((this.label_text(id)));
|
|
5272
|
-
(obj.align) = () => ((this.label_align()));
|
|
5273
|
-
return obj;
|
|
5274
|
-
}
|
|
5275
5230
|
background_x(){
|
|
5276
5231
|
return "0";
|
|
5277
5232
|
}
|
|
@@ -5335,14 +5290,59 @@ var $;
|
|
|
5335
5290
|
label_align(){
|
|
5336
5291
|
return "";
|
|
5337
5292
|
}
|
|
5293
|
+
step(){
|
|
5294
|
+
return 0;
|
|
5295
|
+
}
|
|
5296
|
+
scale_axis(){
|
|
5297
|
+
return 1;
|
|
5298
|
+
}
|
|
5299
|
+
scale_step(){
|
|
5300
|
+
return 1;
|
|
5301
|
+
}
|
|
5302
|
+
shift_axis(){
|
|
5303
|
+
return 1;
|
|
5304
|
+
}
|
|
5305
|
+
dimensions_axis(){
|
|
5306
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
5307
|
+
return obj;
|
|
5308
|
+
}
|
|
5309
|
+
viewport_axis(){
|
|
5310
|
+
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
5311
|
+
return obj;
|
|
5312
|
+
}
|
|
5313
|
+
axis_points(){
|
|
5314
|
+
return [];
|
|
5315
|
+
}
|
|
5316
|
+
normalize(next){
|
|
5317
|
+
if(next !== undefined) return next;
|
|
5318
|
+
return 0;
|
|
5319
|
+
}
|
|
5320
|
+
precision(){
|
|
5321
|
+
return 1;
|
|
5322
|
+
}
|
|
5323
|
+
sub(){
|
|
5324
|
+
return [
|
|
5325
|
+
(this.Background()),
|
|
5326
|
+
(this.Curve()),
|
|
5327
|
+
(this.labels_formatted()),
|
|
5328
|
+
(this.Title())
|
|
5329
|
+
];
|
|
5330
|
+
}
|
|
5331
|
+
Label(id){
|
|
5332
|
+
const obj = new this.$.$mol_svg_text();
|
|
5333
|
+
(obj.pos) = () => ((this.label_pos(id)));
|
|
5334
|
+
(obj.text) = () => ((this.label_text(id)));
|
|
5335
|
+
(obj.align) = () => ((this.label_align()));
|
|
5336
|
+
return obj;
|
|
5337
|
+
}
|
|
5338
5338
|
};
|
|
5339
|
+
($mol_mem(($.$mol_plot_ruler.prototype), "Background"));
|
|
5340
|
+
($mol_mem(($.$mol_plot_ruler.prototype), "Curve"));
|
|
5341
|
+
($mol_mem(($.$mol_plot_ruler.prototype), "Title"));
|
|
5339
5342
|
($mol_mem(($.$mol_plot_ruler.prototype), "dimensions_axis"));
|
|
5340
5343
|
($mol_mem(($.$mol_plot_ruler.prototype), "viewport_axis"));
|
|
5341
5344
|
($mol_mem(($.$mol_plot_ruler.prototype), "normalize"));
|
|
5342
5345
|
($mol_mem_key(($.$mol_plot_ruler.prototype), "Label"));
|
|
5343
|
-
($mol_mem(($.$mol_plot_ruler.prototype), "Background"));
|
|
5344
|
-
($mol_mem(($.$mol_plot_ruler.prototype), "Curve"));
|
|
5345
|
-
($mol_mem(($.$mol_plot_ruler.prototype), "Title"));
|
|
5346
5346
|
|
|
5347
5347
|
|
|
5348
5348
|
;
|
|
@@ -5617,15 +5617,6 @@ var $;
|
|
|
5617
5617
|
|
|
5618
5618
|
;
|
|
5619
5619
|
($.$mol_svg_text_box) = class $mol_svg_text_box extends ($.$mol_svg_group) {
|
|
5620
|
-
font_size(){
|
|
5621
|
-
return 16;
|
|
5622
|
-
}
|
|
5623
|
-
width(){
|
|
5624
|
-
return 0;
|
|
5625
|
-
}
|
|
5626
|
-
sub(){
|
|
5627
|
-
return [(this.Back()), (this.Text())];
|
|
5628
|
-
}
|
|
5629
5620
|
box_width(){
|
|
5630
5621
|
return "0.5rem";
|
|
5631
5622
|
}
|
|
@@ -5664,6 +5655,15 @@ var $;
|
|
|
5664
5655
|
(obj.sub) = () => ([(this.text())]);
|
|
5665
5656
|
return obj;
|
|
5666
5657
|
}
|
|
5658
|
+
font_size(){
|
|
5659
|
+
return 16;
|
|
5660
|
+
}
|
|
5661
|
+
width(){
|
|
5662
|
+
return 0;
|
|
5663
|
+
}
|
|
5664
|
+
sub(){
|
|
5665
|
+
return [(this.Back()), (this.Text())];
|
|
5666
|
+
}
|
|
5667
5667
|
};
|
|
5668
5668
|
($mol_mem(($.$mol_svg_text_box.prototype), "Back"));
|
|
5669
5669
|
($mol_mem(($.$mol_svg_text_box.prototype), "Text"));
|
|
@@ -5738,32 +5738,6 @@ var $;
|
|
|
5738
5738
|
|
|
5739
5739
|
;
|
|
5740
5740
|
($.$mol_plot_mark_cross) = class $mol_plot_mark_cross extends ($.$mol_plot_graph) {
|
|
5741
|
-
labels(){
|
|
5742
|
-
return [];
|
|
5743
|
-
}
|
|
5744
|
-
title_x_gap(){
|
|
5745
|
-
return 4;
|
|
5746
|
-
}
|
|
5747
|
-
title_y_gap(){
|
|
5748
|
-
return 22;
|
|
5749
|
-
}
|
|
5750
|
-
threshold(){
|
|
5751
|
-
return 16;
|
|
5752
|
-
}
|
|
5753
|
-
graphs(){
|
|
5754
|
-
return [];
|
|
5755
|
-
}
|
|
5756
|
-
dimensions(){
|
|
5757
|
-
const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
|
|
5758
|
-
return obj;
|
|
5759
|
-
}
|
|
5760
|
-
sub(){
|
|
5761
|
-
return [
|
|
5762
|
-
(this.Curve()),
|
|
5763
|
-
(this.Label_x()),
|
|
5764
|
-
(this.Label_y())
|
|
5765
|
-
];
|
|
5766
|
-
}
|
|
5767
5741
|
dimensions_x(){
|
|
5768
5742
|
const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
|
|
5769
5743
|
return obj;
|
|
@@ -5812,13 +5786,39 @@ var $;
|
|
|
5812
5786
|
(obj.text) = () => ((this.title_y()));
|
|
5813
5787
|
return obj;
|
|
5814
5788
|
}
|
|
5789
|
+
labels(){
|
|
5790
|
+
return [];
|
|
5791
|
+
}
|
|
5792
|
+
title_x_gap(){
|
|
5793
|
+
return 4;
|
|
5794
|
+
}
|
|
5795
|
+
title_y_gap(){
|
|
5796
|
+
return 22;
|
|
5797
|
+
}
|
|
5798
|
+
threshold(){
|
|
5799
|
+
return 16;
|
|
5800
|
+
}
|
|
5801
|
+
graphs(){
|
|
5802
|
+
return [];
|
|
5803
|
+
}
|
|
5804
|
+
dimensions(){
|
|
5805
|
+
const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
|
|
5806
|
+
return obj;
|
|
5807
|
+
}
|
|
5808
|
+
sub(){
|
|
5809
|
+
return [
|
|
5810
|
+
(this.Curve()),
|
|
5811
|
+
(this.Label_x()),
|
|
5812
|
+
(this.Label_y())
|
|
5813
|
+
];
|
|
5814
|
+
}
|
|
5815
5815
|
};
|
|
5816
|
-
($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions"));
|
|
5817
5816
|
($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions_x"));
|
|
5818
5817
|
($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions_y"));
|
|
5819
5818
|
($mol_mem(($.$mol_plot_mark_cross.prototype), "Curve"));
|
|
5820
5819
|
($mol_mem(($.$mol_plot_mark_cross.prototype), "Label_x"));
|
|
5821
5820
|
($mol_mem(($.$mol_plot_mark_cross.prototype), "Label_y"));
|
|
5821
|
+
($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions"));
|
|
5822
5822
|
|
|
5823
5823
|
|
|
5824
5824
|
;
|