mol_plot_all 1.2.928 → 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.mjs CHANGED
@@ -3183,6 +3183,12 @@ var $;
3183
3183
 
3184
3184
  ;
3185
3185
  ($.$mol_svg_root) = class $mol_svg_root extends ($.$mol_svg) {
3186
+ view_box(){
3187
+ return "0 0 100 100";
3188
+ }
3189
+ aspect(){
3190
+ return "xMidYMid";
3191
+ }
3186
3192
  dom_name(){
3187
3193
  return "svg";
3188
3194
  }
@@ -3193,12 +3199,6 @@ var $;
3193
3199
  "preserveAspectRatio": (this.aspect())
3194
3200
  };
3195
3201
  }
3196
- view_box(){
3197
- return "0 0 100 100";
3198
- }
3199
- aspect(){
3200
- return "xMidYMid";
3201
- }
3202
3202
  };
3203
3203
 
3204
3204
 
@@ -3330,6 +3330,26 @@ var $;
3330
3330
 
3331
3331
  ;
3332
3332
  ($.$mol_touch) = class $mol_touch extends ($.$mol_plugin) {
3333
+ event_start(next){
3334
+ if(next !== undefined) return next;
3335
+ return null;
3336
+ }
3337
+ event_move(next){
3338
+ if(next !== undefined) return next;
3339
+ return null;
3340
+ }
3341
+ event_end(next){
3342
+ if(next !== undefined) return next;
3343
+ return null;
3344
+ }
3345
+ event_leave(next){
3346
+ if(next !== undefined) return next;
3347
+ return null;
3348
+ }
3349
+ event_wheel(next){
3350
+ if(next !== undefined) return next;
3351
+ return null;
3352
+ }
3333
3353
  start_zoom(next){
3334
3354
  if(next !== undefined) return next;
3335
3355
  return 0;
@@ -3457,27 +3477,12 @@ var $;
3457
3477
  "wheel": (next) => (this.event_wheel(next))
3458
3478
  };
3459
3479
  }
3460
- event_start(next){
3461
- if(next !== undefined) return next;
3462
- return null;
3463
- }
3464
- event_move(next){
3465
- if(next !== undefined) return next;
3466
- return null;
3467
- }
3468
- event_end(next){
3469
- if(next !== undefined) return next;
3470
- return null;
3471
- }
3472
- event_leave(next){
3473
- if(next !== undefined) return next;
3474
- return null;
3475
- }
3476
- event_wheel(next){
3477
- if(next !== undefined) return next;
3478
- return null;
3479
- }
3480
3480
  };
3481
+ ($mol_mem(($.$mol_touch.prototype), "event_start"));
3482
+ ($mol_mem(($.$mol_touch.prototype), "event_move"));
3483
+ ($mol_mem(($.$mol_touch.prototype), "event_end"));
3484
+ ($mol_mem(($.$mol_touch.prototype), "event_leave"));
3485
+ ($mol_mem(($.$mol_touch.prototype), "event_wheel"));
3481
3486
  ($mol_mem(($.$mol_touch.prototype), "start_zoom"));
3482
3487
  ($mol_mem(($.$mol_touch.prototype), "start_distance"));
3483
3488
  ($mol_mem(($.$mol_touch.prototype), "zoom"));
@@ -3502,11 +3507,6 @@ var $;
3502
3507
  ($mol_mem(($.$mol_touch.prototype), "draw_start"));
3503
3508
  ($mol_mem(($.$mol_touch.prototype), "draw"));
3504
3509
  ($mol_mem(($.$mol_touch.prototype), "draw_end"));
3505
- ($mol_mem(($.$mol_touch.prototype), "event_start"));
3506
- ($mol_mem(($.$mol_touch.prototype), "event_move"));
3507
- ($mol_mem(($.$mol_touch.prototype), "event_end"));
3508
- ($mol_mem(($.$mol_touch.prototype), "event_leave"));
3509
- ($mol_mem(($.$mol_touch.prototype), "event_wheel"));
3510
3510
 
3511
3511
 
3512
3512
  ;
@@ -3763,6 +3763,104 @@ var $;
3763
3763
 
3764
3764
  ;
3765
3765
  ($.$mol_plot_pane) = class $mol_plot_pane extends ($.$mol_svg_root) {
3766
+ gap_x(){
3767
+ const obj = new this.$.$mol_vector_range((this.gap_left()), (this.gap_right()));
3768
+ return obj;
3769
+ }
3770
+ gap_y(){
3771
+ const obj = new this.$.$mol_vector_range((this.gap_bottom()), (this.gap_top()));
3772
+ return obj;
3773
+ }
3774
+ shift_limit_x(){
3775
+ const obj = new this.$.$mol_vector_range(0, 0);
3776
+ return obj;
3777
+ }
3778
+ shift_limit_y(){
3779
+ const obj = new this.$.$mol_vector_range(0, 0);
3780
+ return obj;
3781
+ }
3782
+ scale_limit_x(){
3783
+ const obj = new this.$.$mol_vector_range(0, Infinity);
3784
+ return obj;
3785
+ }
3786
+ scale_limit_y(){
3787
+ const obj = new this.$.$mol_vector_range(0, -Infinity);
3788
+ return obj;
3789
+ }
3790
+ dimensions_x(){
3791
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3792
+ return obj;
3793
+ }
3794
+ dimensions_y(){
3795
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3796
+ return obj;
3797
+ }
3798
+ dimensions_viewport_x(){
3799
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3800
+ return obj;
3801
+ }
3802
+ dimensions_viewport_y(){
3803
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3804
+ return obj;
3805
+ }
3806
+ graphs_sorted(){
3807
+ return [];
3808
+ }
3809
+ graphs(){
3810
+ return [];
3811
+ }
3812
+ graphs_positioned(){
3813
+ return (this.graphs());
3814
+ }
3815
+ graphs_visible(){
3816
+ return (this.graphs_positioned());
3817
+ }
3818
+ zoom(next){
3819
+ if(next !== undefined) return next;
3820
+ return 1;
3821
+ }
3822
+ cursor_position(){
3823
+ return (this.Touch().pointer_center());
3824
+ }
3825
+ allow_draw(){
3826
+ return true;
3827
+ }
3828
+ allow_pan(){
3829
+ return true;
3830
+ }
3831
+ allow_zoom(){
3832
+ return true;
3833
+ }
3834
+ action_type(){
3835
+ return (this.Touch().action_type());
3836
+ }
3837
+ action_point(){
3838
+ return (this.Touch().action_point());
3839
+ }
3840
+ draw_start(next){
3841
+ if(next !== undefined) return next;
3842
+ return null;
3843
+ }
3844
+ draw(next){
3845
+ if(next !== undefined) return next;
3846
+ return null;
3847
+ }
3848
+ draw_end(next){
3849
+ if(next !== undefined) return next;
3850
+ return null;
3851
+ }
3852
+ Touch(){
3853
+ const obj = new this.$.$mol_touch();
3854
+ (obj.zoom) = (next) => ((this.zoom(next)));
3855
+ (obj.pan) = (next) => ((this.shift(next)));
3856
+ (obj.allow_draw) = () => ((this.allow_draw()));
3857
+ (obj.allow_pan) = () => ((this.allow_pan()));
3858
+ (obj.allow_zoom) = () => ((this.allow_zoom()));
3859
+ (obj.draw_start) = (next) => ((this.draw_start(next)));
3860
+ (obj.draw) = (next) => ((this.draw(next)));
3861
+ (obj.draw_end) = (next) => ((this.draw_end(next)));
3862
+ return obj;
3863
+ }
3766
3864
  aspect(){
3767
3865
  return "none";
3768
3866
  }
@@ -3855,171 +3953,117 @@ var $;
3855
3953
  plugins(){
3856
3954
  return [...(super.plugins()), (this.Touch())];
3857
3955
  }
3858
- gap_x(){
3859
- const obj = new this.$.$mol_vector_range((this.gap_left()), (this.gap_right()));
3860
- return obj;
3956
+ };
3957
+ ($mol_mem(($.$mol_plot_pane.prototype), "gap_x"));
3958
+ ($mol_mem(($.$mol_plot_pane.prototype), "gap_y"));
3959
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_x"));
3960
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_y"));
3961
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_x"));
3962
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_y"));
3963
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_x"));
3964
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_y"));
3965
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_x"));
3966
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_y"));
3967
+ ($mol_mem(($.$mol_plot_pane.prototype), "zoom"));
3968
+ ($mol_mem(($.$mol_plot_pane.prototype), "draw_start"));
3969
+ ($mol_mem(($.$mol_plot_pane.prototype), "draw"));
3970
+ ($mol_mem(($.$mol_plot_pane.prototype), "draw_end"));
3971
+ ($mol_mem(($.$mol_plot_pane.prototype), "Touch"));
3972
+ ($mol_mem(($.$mol_plot_pane.prototype), "hue_base"));
3973
+ ($mol_mem(($.$mol_plot_pane.prototype), "hue_shift"));
3974
+ ($mol_mem(($.$mol_plot_pane.prototype), "gap"));
3975
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit"));
3976
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_default"));
3977
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift"));
3978
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit"));
3979
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_default"));
3980
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale"));
3981
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_x"));
3982
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_y"));
3983
+ ($mol_mem(($.$mol_plot_pane.prototype), "size"));
3984
+ ($mol_mem(($.$mol_plot_pane.prototype), "size_real"));
3985
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions"));
3986
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport"));
3987
+
3988
+
3989
+ ;
3990
+ "use strict";
3991
+ var $;
3992
+ (function ($) {
3993
+ $.$mol_mem_cached = $mol_wire_probe;
3994
+ })($ || ($ = {}));
3995
+
3996
+ ;
3997
+ ($.$mol_svg_group) = class $mol_svg_group extends ($.$mol_svg) {
3998
+ dom_name(){
3999
+ return "g";
3861
4000
  }
3862
- gap_y(){
3863
- const obj = new this.$.$mol_vector_range((this.gap_bottom()), (this.gap_top()));
3864
- return obj;
4001
+ };
4002
+
4003
+
4004
+ ;
4005
+ "use strict";
4006
+
4007
+ ;
4008
+ ($.$mol_svg_title) = class $mol_svg_title extends ($.$mol_svg) {
4009
+ dom_name(){
4010
+ return "title";
3865
4011
  }
3866
- shift_limit_x(){
3867
- const obj = new this.$.$mol_vector_range(0, 0);
3868
- return obj;
4012
+ sub(){
4013
+ return [(this.title())];
3869
4014
  }
3870
- shift_limit_y(){
3871
- const obj = new this.$.$mol_vector_range(0, 0);
3872
- return obj;
4015
+ };
4016
+
4017
+
4018
+ ;
4019
+ "use strict";
4020
+
4021
+ ;
4022
+ ($.$mol_plot_graph) = class $mol_plot_graph extends ($.$mol_svg_group) {
4023
+ type(){
4024
+ return "solid";
3873
4025
  }
3874
- scale_limit_x(){
3875
- const obj = new this.$.$mol_vector_range(0, Infinity);
3876
- return obj;
4026
+ color(){
4027
+ return "";
3877
4028
  }
3878
- scale_limit_y(){
3879
- const obj = new this.$.$mol_vector_range(0, -Infinity);
4029
+ viewport_x(){
4030
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3880
4031
  return obj;
3881
4032
  }
3882
- dimensions_x(){
4033
+ viewport_y(){
3883
4034
  const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3884
4035
  return obj;
3885
4036
  }
3886
- dimensions_y(){
4037
+ dimensions_pane_x(){
3887
4038
  const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3888
4039
  return obj;
3889
4040
  }
3890
- dimensions_viewport_x(){
4041
+ dimensions_pane_y(){
3891
4042
  const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3892
4043
  return obj;
3893
4044
  }
3894
- dimensions_viewport_y(){
4045
+ dimensions_x(){
3895
4046
  const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3896
4047
  return obj;
3897
4048
  }
3898
- graphs_sorted(){
3899
- return [];
3900
- }
3901
- graphs(){
3902
- return [];
3903
- }
3904
- graphs_positioned(){
3905
- return (this.graphs());
3906
- }
3907
- graphs_visible(){
3908
- return (this.graphs_positioned());
3909
- }
3910
- zoom(next){
3911
- if(next !== undefined) return next;
3912
- return 1;
3913
- }
3914
- cursor_position(){
3915
- return (this.Touch().pointer_center());
3916
- }
3917
- allow_draw(){
3918
- return true;
3919
- }
3920
- allow_pan(){
3921
- return true;
3922
- }
3923
- allow_zoom(){
3924
- return true;
3925
- }
3926
- action_type(){
3927
- return (this.Touch().action_type());
3928
- }
3929
- action_point(){
3930
- return (this.Touch().action_point());
3931
- }
3932
- draw_start(next){
3933
- if(next !== undefined) return next;
3934
- return null;
3935
- }
3936
- draw(next){
3937
- if(next !== undefined) return next;
3938
- return null;
3939
- }
3940
- draw_end(next){
3941
- if(next !== undefined) return next;
3942
- return null;
4049
+ dimensions_y(){
4050
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4051
+ return obj;
3943
4052
  }
3944
- Touch(){
3945
- const obj = new this.$.$mol_touch();
3946
- (obj.zoom) = (next) => ((this.zoom(next)));
3947
- (obj.pan) = (next) => ((this.shift(next)));
3948
- (obj.allow_draw) = () => ((this.allow_draw()));
3949
- (obj.allow_pan) = () => ((this.allow_pan()));
3950
- (obj.allow_zoom) = () => ((this.allow_zoom()));
3951
- (obj.draw_start) = (next) => ((this.draw_start(next)));
3952
- (obj.draw) = (next) => ((this.draw(next)));
3953
- (obj.draw_end) = (next) => ((this.draw_end(next)));
4053
+ gap_x(){
4054
+ const obj = new this.$.$mol_vector_range(0, 0);
3954
4055
  return obj;
3955
4056
  }
3956
- };
3957
- ($mol_mem(($.$mol_plot_pane.prototype), "hue_base"));
3958
- ($mol_mem(($.$mol_plot_pane.prototype), "hue_shift"));
3959
- ($mol_mem(($.$mol_plot_pane.prototype), "gap"));
3960
- ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit"));
3961
- ($mol_mem(($.$mol_plot_pane.prototype), "shift_default"));
3962
- ($mol_mem(($.$mol_plot_pane.prototype), "shift"));
3963
- ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit"));
3964
- ($mol_mem(($.$mol_plot_pane.prototype), "scale_default"));
3965
- ($mol_mem(($.$mol_plot_pane.prototype), "scale"));
3966
- ($mol_mem(($.$mol_plot_pane.prototype), "scale_x"));
3967
- ($mol_mem(($.$mol_plot_pane.prototype), "scale_y"));
3968
- ($mol_mem(($.$mol_plot_pane.prototype), "size"));
3969
- ($mol_mem(($.$mol_plot_pane.prototype), "size_real"));
3970
- ($mol_mem(($.$mol_plot_pane.prototype), "dimensions"));
3971
- ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport"));
3972
- ($mol_mem(($.$mol_plot_pane.prototype), "gap_x"));
3973
- ($mol_mem(($.$mol_plot_pane.prototype), "gap_y"));
3974
- ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_x"));
3975
- ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_y"));
3976
- ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_x"));
3977
- ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_y"));
3978
- ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_x"));
3979
- ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_y"));
3980
- ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_x"));
3981
- ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_y"));
3982
- ($mol_mem(($.$mol_plot_pane.prototype), "zoom"));
3983
- ($mol_mem(($.$mol_plot_pane.prototype), "draw_start"));
3984
- ($mol_mem(($.$mol_plot_pane.prototype), "draw"));
3985
- ($mol_mem(($.$mol_plot_pane.prototype), "draw_end"));
3986
- ($mol_mem(($.$mol_plot_pane.prototype), "Touch"));
3987
-
3988
-
3989
- ;
3990
- "use strict";
3991
- var $;
3992
- (function ($) {
3993
- $.$mol_mem_cached = $mol_wire_probe;
3994
- })($ || ($ = {}));
3995
-
3996
- ;
3997
- ($.$mol_svg_group) = class $mol_svg_group extends ($.$mol_svg) {
3998
- dom_name(){
3999
- return "g";
4057
+ gap_y(){
4058
+ const obj = new this.$.$mol_vector_range(0, 0);
4059
+ return obj;
4000
4060
  }
4001
- };
4002
-
4003
-
4004
- ;
4005
- "use strict";
4006
-
4007
- ;
4008
- ($.$mol_svg_title) = class $mol_svg_title extends ($.$mol_svg) {
4009
- dom_name(){
4010
- return "title";
4061
+ title(){
4062
+ return "";
4011
4063
  }
4012
- sub(){
4013
- return [(this.title())];
4064
+ hint(){
4065
+ return (this.title());
4014
4066
  }
4015
- };
4016
-
4017
-
4018
- ;
4019
- "use strict";
4020
-
4021
- ;
4022
- ($.$mol_plot_graph) = class $mol_plot_graph extends ($.$mol_svg_group) {
4023
4067
  series_x(){
4024
4068
  return [];
4025
4069
  }
@@ -4091,58 +4135,7 @@ var $;
4091
4135
  Sample(){
4092
4136
  return null;
4093
4137
  }
4094
- type(){
4095
- return "solid";
4096
- }
4097
- color(){
4098
- return "";
4099
- }
4100
- viewport_x(){
4101
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4102
- return obj;
4103
- }
4104
- viewport_y(){
4105
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4106
- return obj;
4107
- }
4108
- dimensions_pane_x(){
4109
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4110
- return obj;
4111
- }
4112
- dimensions_pane_y(){
4113
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4114
- return obj;
4115
- }
4116
- dimensions_x(){
4117
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4118
- return obj;
4119
- }
4120
- dimensions_y(){
4121
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4122
- return obj;
4123
- }
4124
- gap_x(){
4125
- const obj = new this.$.$mol_vector_range(0, 0);
4126
- return obj;
4127
- }
4128
- gap_y(){
4129
- const obj = new this.$.$mol_vector_range(0, 0);
4130
- return obj;
4131
- }
4132
- title(){
4133
- return "";
4134
- }
4135
- hint(){
4136
- return (this.title());
4137
- }
4138
4138
  };
4139
- ($mol_mem(($.$mol_plot_graph.prototype), "viewport"));
4140
- ($mol_mem(($.$mol_plot_graph.prototype), "cursor_position"));
4141
- ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane"));
4142
- ($mol_mem(($.$mol_plot_graph.prototype), "dimensions"));
4143
- ($mol_mem(($.$mol_plot_graph.prototype), "size_real"));
4144
- ($mol_mem(($.$mol_plot_graph.prototype), "gap"));
4145
- ($mol_mem(($.$mol_plot_graph.prototype), "Hint"));
4146
4139
  ($mol_mem(($.$mol_plot_graph.prototype), "viewport_x"));
4147
4140
  ($mol_mem(($.$mol_plot_graph.prototype), "viewport_y"));
4148
4141
  ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane_x"));
@@ -4151,19 +4144,26 @@ var $;
4151
4144
  ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_y"));
4152
4145
  ($mol_mem(($.$mol_plot_graph.prototype), "gap_x"));
4153
4146
  ($mol_mem(($.$mol_plot_graph.prototype), "gap_y"));
4147
+ ($mol_mem(($.$mol_plot_graph.prototype), "viewport"));
4148
+ ($mol_mem(($.$mol_plot_graph.prototype), "cursor_position"));
4149
+ ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane"));
4150
+ ($mol_mem(($.$mol_plot_graph.prototype), "dimensions"));
4151
+ ($mol_mem(($.$mol_plot_graph.prototype), "size_real"));
4152
+ ($mol_mem(($.$mol_plot_graph.prototype), "gap"));
4153
+ ($mol_mem(($.$mol_plot_graph.prototype), "Hint"));
4154
4154
  ($.$mol_plot_graph_sample) = class $mol_plot_graph_sample extends ($.$mol_view) {
4155
- attr(){
4156
- return {...(super.attr()), "mol_plot_graph_type": (this.type())};
4157
- }
4158
- style(){
4159
- return {...(super.style()), "color": (this.color())};
4160
- }
4161
4155
  type(){
4162
4156
  return "solid";
4163
4157
  }
4164
4158
  color(){
4165
4159
  return "black";
4166
4160
  }
4161
+ attr(){
4162
+ return {...(super.attr()), "mol_plot_graph_type": (this.type())};
4163
+ }
4164
+ style(){
4165
+ return {...(super.style()), "color": (this.color())};
4166
+ }
4167
4167
  };
4168
4168
 
4169
4169
 
@@ -4464,6 +4464,9 @@ var $;
4464
4464
 
4465
4465
  ;
4466
4466
  ($.$mol_plot_line) = class $mol_plot_line extends ($.$mol_plot_graph) {
4467
+ curve(){
4468
+ return "";
4469
+ }
4467
4470
  threshold(){
4468
4471
  return 1;
4469
4472
  }
@@ -4488,9 +4491,6 @@ var $;
4488
4491
  (obj.type) = () => ((this.type()));
4489
4492
  return obj;
4490
4493
  }
4491
- curve(){
4492
- return "";
4493
- }
4494
4494
  };
4495
4495
  ($mol_mem(($.$mol_plot_line.prototype), "Sample"));
4496
4496
 
@@ -4566,14 +4566,6 @@ var $;
4566
4566
 
4567
4567
  ;
4568
4568
  ($.$mol_plot_group) = class $mol_plot_group extends ($.$mol_plot_graph) {
4569
- sub(){
4570
- return (this.graphs_enriched());
4571
- }
4572
- Sample(){
4573
- const obj = new this.$.$mol_plot_graph_sample();
4574
- (obj.sub) = () => ((this.graph_samples()));
4575
- return obj;
4576
- }
4577
4569
  graphs(){
4578
4570
  return [];
4579
4571
  }
@@ -4583,6 +4575,14 @@ var $;
4583
4575
  graph_samples(){
4584
4576
  return [];
4585
4577
  }
4578
+ sub(){
4579
+ return (this.graphs_enriched());
4580
+ }
4581
+ Sample(){
4582
+ const obj = new this.$.$mol_plot_graph_sample();
4583
+ (obj.sub) = () => ((this.graph_samples()));
4584
+ return obj;
4585
+ }
4586
4586
  };
4587
4587
  ($mol_mem(($.$mol_plot_group.prototype), "Sample"));
4588
4588
 
@@ -4657,15 +4657,15 @@ var $;
4657
4657
 
4658
4658
  ;
4659
4659
  ($.$mol_svg_path) = class $mol_svg_path extends ($.$mol_svg) {
4660
+ geometry(){
4661
+ return "";
4662
+ }
4660
4663
  dom_name(){
4661
4664
  return "path";
4662
4665
  }
4663
4666
  attr(){
4664
4667
  return {...(super.attr()), "d": (this.geometry())};
4665
4668
  }
4666
- geometry(){
4667
- return "";
4668
- }
4669
4669
  };
4670
4670
 
4671
4671
 
@@ -4674,6 +4674,17 @@ var $;
4674
4674
 
4675
4675
  ;
4676
4676
  ($.$mol_plot_dot) = class $mol_plot_dot extends ($.$mol_plot_graph) {
4677
+ diameter(){
4678
+ return 8;
4679
+ }
4680
+ curve(){
4681
+ return "";
4682
+ }
4683
+ Curve(){
4684
+ const obj = new this.$.$mol_svg_path();
4685
+ (obj.geometry) = () => ((this.curve()));
4686
+ return obj;
4687
+ }
4677
4688
  points_max(){
4678
4689
  return +Infinity;
4679
4690
  }
@@ -4691,20 +4702,9 @@ var $;
4691
4702
  (obj.color) = () => ((this.color()));
4692
4703
  return obj;
4693
4704
  }
4694
- diameter(){
4695
- return 8;
4696
- }
4697
- curve(){
4698
- return "";
4699
- }
4700
- Curve(){
4701
- const obj = new this.$.$mol_svg_path();
4702
- (obj.geometry) = () => ((this.curve()));
4703
- return obj;
4704
- }
4705
4705
  };
4706
- ($mol_mem(($.$mol_plot_dot.prototype), "Sample"));
4707
4706
  ($mol_mem(($.$mol_plot_dot.prototype), "Curve"));
4707
+ ($mol_mem(($.$mol_plot_dot.prototype), "Sample"));
4708
4708
 
4709
4709
 
4710
4710
  ;
@@ -4823,27 +4823,7 @@ var $;
4823
4823
 
4824
4824
  ;
4825
4825
  ($.$mol_plot_map_heat) = class $mol_plot_map_heat extends ($.$mol_plot_group) {
4826
- series_z(){
4827
- return [];
4828
- }
4829
- graphs(){
4830
- return (this.level_graphs());
4831
- }
4832
- Level(id){
4833
- const obj = new this.$.$mol_plot_map_heat_level();
4834
- (obj.hint) = () => ((this.level_hint(id)));
4835
- (obj.points) = () => ((this.level_points(id)));
4836
- (obj.opacity) = () => ((this.level_opacity(id)));
4837
- (obj.diameter) = () => ((this.level_diameter()));
4838
- (obj.aspect) = () => ((this.level_aspect()));
4839
- return obj;
4840
- }
4841
- Sample(){
4842
- const obj = new this.$.$mol_plot_graph_sample();
4843
- (obj.color) = () => ((this.color()));
4844
- return obj;
4845
- }
4846
- level_graphs(){
4826
+ level_graphs(){
4847
4827
  return [];
4848
4828
  }
4849
4829
  level_hint(id){
@@ -4861,16 +4841,36 @@ var $;
4861
4841
  level_aspect(){
4862
4842
  return 1;
4863
4843
  }
4844
+ series_z(){
4845
+ return [];
4846
+ }
4847
+ graphs(){
4848
+ return (this.level_graphs());
4849
+ }
4850
+ Level(id){
4851
+ const obj = new this.$.$mol_plot_map_heat_level();
4852
+ (obj.hint) = () => ((this.level_hint(id)));
4853
+ (obj.points) = () => ((this.level_points(id)));
4854
+ (obj.opacity) = () => ((this.level_opacity(id)));
4855
+ (obj.diameter) = () => ((this.level_diameter()));
4856
+ (obj.aspect) = () => ((this.level_aspect()));
4857
+ return obj;
4858
+ }
4859
+ Sample(){
4860
+ const obj = new this.$.$mol_plot_graph_sample();
4861
+ (obj.color) = () => ((this.color()));
4862
+ return obj;
4863
+ }
4864
4864
  };
4865
4865
  ($mol_mem_key(($.$mol_plot_map_heat.prototype), "Level"));
4866
4866
  ($mol_mem(($.$mol_plot_map_heat.prototype), "Sample"));
4867
4867
  ($.$mol_plot_map_heat_level) = class $mol_plot_map_heat_level extends ($.$mol_plot_dot) {
4868
- style(){
4869
- return {...(super.style()), "opacity": (this.opacity())};
4870
- }
4871
4868
  opacity(){
4872
4869
  return "1";
4873
4870
  }
4871
+ style(){
4872
+ return {...(super.style()), "opacity": (this.opacity())};
4873
+ }
4874
4874
  };
4875
4875
 
4876
4876
 
@@ -4949,17 +4949,6 @@ var $;
4949
4949
 
4950
4950
  ;
4951
4951
  ($.$mol_plot_bar) = class $mol_plot_bar extends ($.$mol_plot_graph) {
4952
- style(){
4953
- return {...(super.style()), "stroke-width": (this.stroke_width())};
4954
- }
4955
- sub(){
4956
- return [(this.Hint()), (this.Curve())];
4957
- }
4958
- Sample(){
4959
- const obj = new this.$.$mol_plot_graph_sample();
4960
- (obj.color) = () => ((this.color()));
4961
- return obj;
4962
- }
4963
4952
  stroke_width(){
4964
4953
  return "1rem";
4965
4954
  }
@@ -4971,9 +4960,20 @@ var $;
4971
4960
  (obj.geometry) = () => ((this.curve()));
4972
4961
  return obj;
4973
4962
  }
4963
+ style(){
4964
+ return {...(super.style()), "stroke-width": (this.stroke_width())};
4965
+ }
4966
+ sub(){
4967
+ return [(this.Hint()), (this.Curve())];
4968
+ }
4969
+ Sample(){
4970
+ const obj = new this.$.$mol_plot_graph_sample();
4971
+ (obj.color) = () => ((this.color()));
4972
+ return obj;
4973
+ }
4974
4974
  };
4975
- ($mol_mem(($.$mol_plot_bar.prototype), "Sample"));
4976
4975
  ($mol_mem(($.$mol_plot_bar.prototype), "Curve"));
4976
+ ($mol_mem(($.$mol_plot_bar.prototype), "Sample"));
4977
4977
 
4978
4978
 
4979
4979
  ;
@@ -5113,24 +5113,12 @@ var $;
5113
5113
  })($ || ($ = {}));
5114
5114
 
5115
5115
  ;
5116
- ($.$mol_svg_text) = class $mol_svg_text extends ($.$mol_svg) {
5117
- dom_name(){
5118
- return "text";
5119
- }
5120
- pos(){
5121
- return [];
5122
- }
5123
- attr(){
5124
- return {
5125
- ...(super.attr()),
5126
- "x": (this.pos_x()),
5127
- "y": (this.pos_y()),
5128
- "text-anchor": (this.align_hor()),
5129
- "alignment-baseline": (this.align_vert())
5130
- };
5116
+ ($.$mol_svg_rect) = class $mol_svg_rect extends ($.$mol_svg) {
5117
+ width(){
5118
+ return "0";
5131
5119
  }
5132
- sub(){
5133
- return [(this.text())];
5120
+ height(){
5121
+ return "0";
5134
5122
  }
5135
5123
  pos_x(){
5136
5124
  return "";
@@ -5138,17 +5126,20 @@ var $;
5138
5126
  pos_y(){
5139
5127
  return "";
5140
5128
  }
5141
- align(){
5142
- return "middle";
5143
- }
5144
- align_hor(){
5145
- return (this.align());
5129
+ dom_name(){
5130
+ return "rect";
5146
5131
  }
5147
- align_vert(){
5148
- return "baseline";
5132
+ pos(){
5133
+ return [];
5149
5134
  }
5150
- text(){
5151
- return "";
5135
+ attr(){
5136
+ return {
5137
+ ...(super.attr()),
5138
+ "width": (this.width()),
5139
+ "height": (this.height()),
5140
+ "x": (this.pos_x()),
5141
+ "y": (this.pos_y())
5142
+ };
5152
5143
  }
5153
5144
  };
5154
5145
 
@@ -5162,7 +5153,7 @@ var $;
5162
5153
  (function ($) {
5163
5154
  var $$;
5164
5155
  (function ($$) {
5165
- class $mol_svg_text extends $.$mol_svg_text {
5156
+ class $mol_svg_rect extends $.$mol_svg_rect {
5166
5157
  pos_x() {
5167
5158
  return this.pos()[0];
5168
5159
  }
@@ -5170,21 +5161,32 @@ var $;
5170
5161
  return this.pos()[1];
5171
5162
  }
5172
5163
  }
5173
- $$.$mol_svg_text = $mol_svg_text;
5164
+ $$.$mol_svg_rect = $mol_svg_rect;
5174
5165
  })($$ = $.$$ || ($.$$ = {}));
5175
5166
  })($ || ($ = {}));
5176
5167
 
5177
5168
  ;
5178
- "use strict";
5179
- var $;
5180
- (function ($) {
5181
- $mol_style_attach("mol/svg/text/text.view.css", "[mol_svg_text] {\n\tfill: currentColor;\n\tstroke: none;\n}\n");
5182
- })($ || ($ = {}));
5183
-
5184
- ;
5185
- ($.$mol_svg_rect) = class $mol_svg_rect extends ($.$mol_svg) {
5169
+ ($.$mol_svg_text) = class $mol_svg_text extends ($.$mol_svg) {
5170
+ pos_x(){
5171
+ return "";
5172
+ }
5173
+ pos_y(){
5174
+ return "";
5175
+ }
5176
+ align(){
5177
+ return "middle";
5178
+ }
5179
+ align_hor(){
5180
+ return (this.align());
5181
+ }
5182
+ align_vert(){
5183
+ return "baseline";
5184
+ }
5185
+ text(){
5186
+ return "";
5187
+ }
5186
5188
  dom_name(){
5187
- return "rect";
5189
+ return "text";
5188
5190
  }
5189
5191
  pos(){
5190
5192
  return [];
@@ -5192,23 +5194,14 @@ var $;
5192
5194
  attr(){
5193
5195
  return {
5194
5196
  ...(super.attr()),
5195
- "width": (this.width()),
5196
- "height": (this.height()),
5197
5197
  "x": (this.pos_x()),
5198
- "y": (this.pos_y())
5198
+ "y": (this.pos_y()),
5199
+ "text-anchor": (this.align_hor()),
5200
+ "alignment-baseline": (this.align_vert())
5199
5201
  };
5200
5202
  }
5201
- width(){
5202
- return "0";
5203
- }
5204
- height(){
5205
- return "0";
5206
- }
5207
- pos_x(){
5208
- return "";
5209
- }
5210
- pos_y(){
5211
- return "";
5203
+ sub(){
5204
+ return [(this.text())];
5212
5205
  }
5213
5206
  };
5214
5207
 
@@ -5222,7 +5215,7 @@ var $;
5222
5215
  (function ($) {
5223
5216
  var $$;
5224
5217
  (function ($$) {
5225
- class $mol_svg_rect extends $.$mol_svg_rect {
5218
+ class $mol_svg_text extends $.$mol_svg_text {
5226
5219
  pos_x() {
5227
5220
  return this.pos()[0];
5228
5221
  }
@@ -5230,57 +5223,19 @@ var $;
5230
5223
  return this.pos()[1];
5231
5224
  }
5232
5225
  }
5233
- $$.$mol_svg_rect = $mol_svg_rect;
5226
+ $$.$mol_svg_text = $mol_svg_text;
5234
5227
  })($$ = $.$$ || ($.$$ = {}));
5235
5228
  })($ || ($ = {}));
5236
5229
 
5230
+ ;
5231
+ "use strict";
5232
+ var $;
5233
+ (function ($) {
5234
+ $mol_style_attach("mol/svg/text/text.view.css", "[mol_svg_text] {\n\tfill: currentColor;\n\tstroke: none;\n}\n");
5235
+ })($ || ($ = {}));
5236
+
5237
5237
  ;
5238
5238
  ($.$mol_plot_ruler) = class $mol_plot_ruler extends ($.$mol_plot_graph) {
5239
- step(){
5240
- return 0;
5241
- }
5242
- scale_axis(){
5243
- return 1;
5244
- }
5245
- scale_step(){
5246
- return 1;
5247
- }
5248
- shift_axis(){
5249
- return 1;
5250
- }
5251
- dimensions_axis(){
5252
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5253
- return obj;
5254
- }
5255
- viewport_axis(){
5256
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5257
- return obj;
5258
- }
5259
- axis_points(){
5260
- return [];
5261
- }
5262
- normalize(next){
5263
- if(next !== undefined) return next;
5264
- return 0;
5265
- }
5266
- precision(){
5267
- return 1;
5268
- }
5269
- sub(){
5270
- return [
5271
- (this.Background()),
5272
- (this.Curve()),
5273
- (this.labels_formatted()),
5274
- (this.Title())
5275
- ];
5276
- }
5277
- Label(id){
5278
- const obj = new this.$.$mol_svg_text();
5279
- (obj.pos) = () => ((this.label_pos(id)));
5280
- (obj.text) = () => ((this.label_text(id)));
5281
- (obj.align) = () => ((this.label_align()));
5282
- return obj;
5283
- }
5284
5239
  background_x(){
5285
5240
  return "0";
5286
5241
  }
@@ -5344,14 +5299,59 @@ var $;
5344
5299
  label_align(){
5345
5300
  return "";
5346
5301
  }
5302
+ step(){
5303
+ return 0;
5304
+ }
5305
+ scale_axis(){
5306
+ return 1;
5307
+ }
5308
+ scale_step(){
5309
+ return 1;
5310
+ }
5311
+ shift_axis(){
5312
+ return 1;
5313
+ }
5314
+ dimensions_axis(){
5315
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5316
+ return obj;
5317
+ }
5318
+ viewport_axis(){
5319
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5320
+ return obj;
5321
+ }
5322
+ axis_points(){
5323
+ return [];
5324
+ }
5325
+ normalize(next){
5326
+ if(next !== undefined) return next;
5327
+ return 0;
5328
+ }
5329
+ precision(){
5330
+ return 1;
5331
+ }
5332
+ sub(){
5333
+ return [
5334
+ (this.Background()),
5335
+ (this.Curve()),
5336
+ (this.labels_formatted()),
5337
+ (this.Title())
5338
+ ];
5339
+ }
5340
+ Label(id){
5341
+ const obj = new this.$.$mol_svg_text();
5342
+ (obj.pos) = () => ((this.label_pos(id)));
5343
+ (obj.text) = () => ((this.label_text(id)));
5344
+ (obj.align) = () => ((this.label_align()));
5345
+ return obj;
5346
+ }
5347
5347
  };
5348
+ ($mol_mem(($.$mol_plot_ruler.prototype), "Background"));
5349
+ ($mol_mem(($.$mol_plot_ruler.prototype), "Curve"));
5350
+ ($mol_mem(($.$mol_plot_ruler.prototype), "Title"));
5348
5351
  ($mol_mem(($.$mol_plot_ruler.prototype), "dimensions_axis"));
5349
5352
  ($mol_mem(($.$mol_plot_ruler.prototype), "viewport_axis"));
5350
5353
  ($mol_mem(($.$mol_plot_ruler.prototype), "normalize"));
5351
5354
  ($mol_mem_key(($.$mol_plot_ruler.prototype), "Label"));
5352
- ($mol_mem(($.$mol_plot_ruler.prototype), "Background"));
5353
- ($mol_mem(($.$mol_plot_ruler.prototype), "Curve"));
5354
- ($mol_mem(($.$mol_plot_ruler.prototype), "Title"));
5355
5355
 
5356
5356
 
5357
5357
  ;
@@ -5626,15 +5626,6 @@ var $;
5626
5626
 
5627
5627
  ;
5628
5628
  ($.$mol_svg_text_box) = class $mol_svg_text_box extends ($.$mol_svg_group) {
5629
- font_size(){
5630
- return 16;
5631
- }
5632
- width(){
5633
- return 0;
5634
- }
5635
- sub(){
5636
- return [(this.Back()), (this.Text())];
5637
- }
5638
5629
  box_width(){
5639
5630
  return "0.5rem";
5640
5631
  }
@@ -5673,6 +5664,15 @@ var $;
5673
5664
  (obj.sub) = () => ([(this.text())]);
5674
5665
  return obj;
5675
5666
  }
5667
+ font_size(){
5668
+ return 16;
5669
+ }
5670
+ width(){
5671
+ return 0;
5672
+ }
5673
+ sub(){
5674
+ return [(this.Back()), (this.Text())];
5675
+ }
5676
5676
  };
5677
5677
  ($mol_mem(($.$mol_svg_text_box.prototype), "Back"));
5678
5678
  ($mol_mem(($.$mol_svg_text_box.prototype), "Text"));
@@ -5747,32 +5747,6 @@ var $;
5747
5747
 
5748
5748
  ;
5749
5749
  ($.$mol_plot_mark_cross) = class $mol_plot_mark_cross extends ($.$mol_plot_graph) {
5750
- labels(){
5751
- return [];
5752
- }
5753
- title_x_gap(){
5754
- return 4;
5755
- }
5756
- title_y_gap(){
5757
- return 22;
5758
- }
5759
- threshold(){
5760
- return 16;
5761
- }
5762
- graphs(){
5763
- return [];
5764
- }
5765
- dimensions(){
5766
- const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
5767
- return obj;
5768
- }
5769
- sub(){
5770
- return [
5771
- (this.Curve()),
5772
- (this.Label_x()),
5773
- (this.Label_y())
5774
- ];
5775
- }
5776
5750
  dimensions_x(){
5777
5751
  const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5778
5752
  return obj;
@@ -5821,13 +5795,39 @@ var $;
5821
5795
  (obj.text) = () => ((this.title_y()));
5822
5796
  return obj;
5823
5797
  }
5798
+ labels(){
5799
+ return [];
5800
+ }
5801
+ title_x_gap(){
5802
+ return 4;
5803
+ }
5804
+ title_y_gap(){
5805
+ return 22;
5806
+ }
5807
+ threshold(){
5808
+ return 16;
5809
+ }
5810
+ graphs(){
5811
+ return [];
5812
+ }
5813
+ dimensions(){
5814
+ const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
5815
+ return obj;
5816
+ }
5817
+ sub(){
5818
+ return [
5819
+ (this.Curve()),
5820
+ (this.Label_x()),
5821
+ (this.Label_y())
5822
+ ];
5823
+ }
5824
5824
  };
5825
- ($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions"));
5826
5825
  ($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions_x"));
5827
5826
  ($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions_y"));
5828
5827
  ($mol_mem(($.$mol_plot_mark_cross.prototype), "Curve"));
5829
5828
  ($mol_mem(($.$mol_plot_mark_cross.prototype), "Label_x"));
5830
5829
  ($mol_mem(($.$mol_plot_mark_cross.prototype), "Label_y"));
5830
+ ($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions"));
5831
5831
 
5832
5832
 
5833
5833
  ;