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/web.mjs CHANGED
@@ -2687,6 +2687,12 @@ var $;
2687
2687
 
2688
2688
  ;
2689
2689
  ($.$mol_svg_root) = class $mol_svg_root extends ($.$mol_svg) {
2690
+ view_box(){
2691
+ return "0 0 100 100";
2692
+ }
2693
+ aspect(){
2694
+ return "xMidYMid";
2695
+ }
2690
2696
  dom_name(){
2691
2697
  return "svg";
2692
2698
  }
@@ -2697,12 +2703,6 @@ var $;
2697
2703
  "preserveAspectRatio": (this.aspect())
2698
2704
  };
2699
2705
  }
2700
- view_box(){
2701
- return "0 0 100 100";
2702
- }
2703
- aspect(){
2704
- return "xMidYMid";
2705
- }
2706
2706
  };
2707
2707
 
2708
2708
 
@@ -2834,6 +2834,26 @@ var $;
2834
2834
 
2835
2835
  ;
2836
2836
  ($.$mol_touch) = class $mol_touch extends ($.$mol_plugin) {
2837
+ event_start(next){
2838
+ if(next !== undefined) return next;
2839
+ return null;
2840
+ }
2841
+ event_move(next){
2842
+ if(next !== undefined) return next;
2843
+ return null;
2844
+ }
2845
+ event_end(next){
2846
+ if(next !== undefined) return next;
2847
+ return null;
2848
+ }
2849
+ event_leave(next){
2850
+ if(next !== undefined) return next;
2851
+ return null;
2852
+ }
2853
+ event_wheel(next){
2854
+ if(next !== undefined) return next;
2855
+ return null;
2856
+ }
2837
2857
  start_zoom(next){
2838
2858
  if(next !== undefined) return next;
2839
2859
  return 0;
@@ -2961,27 +2981,12 @@ var $;
2961
2981
  "wheel": (next) => (this.event_wheel(next))
2962
2982
  };
2963
2983
  }
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
2984
  };
2985
+ ($mol_mem(($.$mol_touch.prototype), "event_start"));
2986
+ ($mol_mem(($.$mol_touch.prototype), "event_move"));
2987
+ ($mol_mem(($.$mol_touch.prototype), "event_end"));
2988
+ ($mol_mem(($.$mol_touch.prototype), "event_leave"));
2989
+ ($mol_mem(($.$mol_touch.prototype), "event_wheel"));
2985
2990
  ($mol_mem(($.$mol_touch.prototype), "start_zoom"));
2986
2991
  ($mol_mem(($.$mol_touch.prototype), "start_distance"));
2987
2992
  ($mol_mem(($.$mol_touch.prototype), "zoom"));
@@ -3006,11 +3011,6 @@ var $;
3006
3011
  ($mol_mem(($.$mol_touch.prototype), "draw_start"));
3007
3012
  ($mol_mem(($.$mol_touch.prototype), "draw"));
3008
3013
  ($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
3014
 
3015
3015
 
3016
3016
  ;
@@ -3267,6 +3267,104 @@ var $;
3267
3267
 
3268
3268
  ;
3269
3269
  ($.$mol_plot_pane) = class $mol_plot_pane extends ($.$mol_svg_root) {
3270
+ gap_x(){
3271
+ const obj = new this.$.$mol_vector_range((this.gap_left()), (this.gap_right()));
3272
+ return obj;
3273
+ }
3274
+ gap_y(){
3275
+ const obj = new this.$.$mol_vector_range((this.gap_bottom()), (this.gap_top()));
3276
+ return obj;
3277
+ }
3278
+ shift_limit_x(){
3279
+ const obj = new this.$.$mol_vector_range(0, 0);
3280
+ return obj;
3281
+ }
3282
+ shift_limit_y(){
3283
+ const obj = new this.$.$mol_vector_range(0, 0);
3284
+ return obj;
3285
+ }
3286
+ scale_limit_x(){
3287
+ const obj = new this.$.$mol_vector_range(0, Infinity);
3288
+ return obj;
3289
+ }
3290
+ scale_limit_y(){
3291
+ const obj = new this.$.$mol_vector_range(0, -Infinity);
3292
+ return obj;
3293
+ }
3294
+ dimensions_x(){
3295
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3296
+ return obj;
3297
+ }
3298
+ dimensions_y(){
3299
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3300
+ return obj;
3301
+ }
3302
+ dimensions_viewport_x(){
3303
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3304
+ return obj;
3305
+ }
3306
+ dimensions_viewport_y(){
3307
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3308
+ return obj;
3309
+ }
3310
+ graphs_sorted(){
3311
+ return [];
3312
+ }
3313
+ graphs(){
3314
+ return [];
3315
+ }
3316
+ graphs_positioned(){
3317
+ return (this.graphs());
3318
+ }
3319
+ graphs_visible(){
3320
+ return (this.graphs_positioned());
3321
+ }
3322
+ zoom(next){
3323
+ if(next !== undefined) return next;
3324
+ return 1;
3325
+ }
3326
+ cursor_position(){
3327
+ return (this.Touch().pointer_center());
3328
+ }
3329
+ allow_draw(){
3330
+ return true;
3331
+ }
3332
+ allow_pan(){
3333
+ return true;
3334
+ }
3335
+ allow_zoom(){
3336
+ return true;
3337
+ }
3338
+ action_type(){
3339
+ return (this.Touch().action_type());
3340
+ }
3341
+ action_point(){
3342
+ return (this.Touch().action_point());
3343
+ }
3344
+ draw_start(next){
3345
+ if(next !== undefined) return next;
3346
+ return null;
3347
+ }
3348
+ draw(next){
3349
+ if(next !== undefined) return next;
3350
+ return null;
3351
+ }
3352
+ draw_end(next){
3353
+ if(next !== undefined) return next;
3354
+ return null;
3355
+ }
3356
+ Touch(){
3357
+ const obj = new this.$.$mol_touch();
3358
+ (obj.zoom) = (next) => ((this.zoom(next)));
3359
+ (obj.pan) = (next) => ((this.shift(next)));
3360
+ (obj.allow_draw) = () => ((this.allow_draw()));
3361
+ (obj.allow_pan) = () => ((this.allow_pan()));
3362
+ (obj.allow_zoom) = () => ((this.allow_zoom()));
3363
+ (obj.draw_start) = (next) => ((this.draw_start(next)));
3364
+ (obj.draw) = (next) => ((this.draw(next)));
3365
+ (obj.draw_end) = (next) => ((this.draw_end(next)));
3366
+ return obj;
3367
+ }
3270
3368
  aspect(){
3271
3369
  return "none";
3272
3370
  }
@@ -3359,171 +3457,117 @@ var $;
3359
3457
  plugins(){
3360
3458
  return [...(super.plugins()), (this.Touch())];
3361
3459
  }
3362
- gap_x(){
3363
- const obj = new this.$.$mol_vector_range((this.gap_left()), (this.gap_right()));
3364
- return obj;
3460
+ };
3461
+ ($mol_mem(($.$mol_plot_pane.prototype), "gap_x"));
3462
+ ($mol_mem(($.$mol_plot_pane.prototype), "gap_y"));
3463
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_x"));
3464
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit_y"));
3465
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_x"));
3466
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit_y"));
3467
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_x"));
3468
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_y"));
3469
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_x"));
3470
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport_y"));
3471
+ ($mol_mem(($.$mol_plot_pane.prototype), "zoom"));
3472
+ ($mol_mem(($.$mol_plot_pane.prototype), "draw_start"));
3473
+ ($mol_mem(($.$mol_plot_pane.prototype), "draw"));
3474
+ ($mol_mem(($.$mol_plot_pane.prototype), "draw_end"));
3475
+ ($mol_mem(($.$mol_plot_pane.prototype), "Touch"));
3476
+ ($mol_mem(($.$mol_plot_pane.prototype), "hue_base"));
3477
+ ($mol_mem(($.$mol_plot_pane.prototype), "hue_shift"));
3478
+ ($mol_mem(($.$mol_plot_pane.prototype), "gap"));
3479
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_limit"));
3480
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift_default"));
3481
+ ($mol_mem(($.$mol_plot_pane.prototype), "shift"));
3482
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_limit"));
3483
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_default"));
3484
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale"));
3485
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_x"));
3486
+ ($mol_mem(($.$mol_plot_pane.prototype), "scale_y"));
3487
+ ($mol_mem(($.$mol_plot_pane.prototype), "size"));
3488
+ ($mol_mem(($.$mol_plot_pane.prototype), "size_real"));
3489
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions"));
3490
+ ($mol_mem(($.$mol_plot_pane.prototype), "dimensions_viewport"));
3491
+
3492
+
3493
+ ;
3494
+ "use strict";
3495
+ var $;
3496
+ (function ($) {
3497
+ $.$mol_mem_cached = $mol_wire_probe;
3498
+ })($ || ($ = {}));
3499
+
3500
+ ;
3501
+ ($.$mol_svg_group) = class $mol_svg_group extends ($.$mol_svg) {
3502
+ dom_name(){
3503
+ return "g";
3365
3504
  }
3366
- gap_y(){
3367
- const obj = new this.$.$mol_vector_range((this.gap_bottom()), (this.gap_top()));
3368
- return obj;
3505
+ };
3506
+
3507
+
3508
+ ;
3509
+ "use strict";
3510
+
3511
+ ;
3512
+ ($.$mol_svg_title) = class $mol_svg_title extends ($.$mol_svg) {
3513
+ dom_name(){
3514
+ return "title";
3369
3515
  }
3370
- shift_limit_x(){
3371
- const obj = new this.$.$mol_vector_range(0, 0);
3372
- return obj;
3516
+ sub(){
3517
+ return [(this.title())];
3373
3518
  }
3374
- shift_limit_y(){
3375
- const obj = new this.$.$mol_vector_range(0, 0);
3376
- return obj;
3519
+ };
3520
+
3521
+
3522
+ ;
3523
+ "use strict";
3524
+
3525
+ ;
3526
+ ($.$mol_plot_graph) = class $mol_plot_graph extends ($.$mol_svg_group) {
3527
+ type(){
3528
+ return "solid";
3377
3529
  }
3378
- scale_limit_x(){
3379
- const obj = new this.$.$mol_vector_range(0, Infinity);
3380
- return obj;
3530
+ color(){
3531
+ return "";
3381
3532
  }
3382
- scale_limit_y(){
3383
- const obj = new this.$.$mol_vector_range(0, -Infinity);
3533
+ viewport_x(){
3534
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3384
3535
  return obj;
3385
3536
  }
3386
- dimensions_x(){
3537
+ viewport_y(){
3387
3538
  const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3388
3539
  return obj;
3389
3540
  }
3390
- dimensions_y(){
3541
+ dimensions_pane_x(){
3391
3542
  const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3392
3543
  return obj;
3393
3544
  }
3394
- dimensions_viewport_x(){
3545
+ dimensions_pane_y(){
3395
3546
  const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3396
3547
  return obj;
3397
3548
  }
3398
- dimensions_viewport_y(){
3549
+ dimensions_x(){
3399
3550
  const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3400
3551
  return obj;
3401
3552
  }
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;
3553
+ dimensions_y(){
3554
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3555
+ return obj;
3447
3556
  }
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)));
3557
+ gap_x(){
3558
+ const obj = new this.$.$mol_vector_range(0, 0);
3458
3559
  return obj;
3459
3560
  }
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
- "use strict";
3495
- var $;
3496
- (function ($) {
3497
- $.$mol_mem_cached = $mol_wire_probe;
3498
- })($ || ($ = {}));
3499
-
3500
- ;
3501
- ($.$mol_svg_group) = class $mol_svg_group extends ($.$mol_svg) {
3502
- dom_name(){
3503
- return "g";
3561
+ gap_y(){
3562
+ const obj = new this.$.$mol_vector_range(0, 0);
3563
+ return obj;
3504
3564
  }
3505
- };
3506
-
3507
-
3508
- ;
3509
- "use strict";
3510
-
3511
- ;
3512
- ($.$mol_svg_title) = class $mol_svg_title extends ($.$mol_svg) {
3513
- dom_name(){
3514
- return "title";
3565
+ title(){
3566
+ return "";
3515
3567
  }
3516
- sub(){
3517
- return [(this.title())];
3568
+ hint(){
3569
+ return (this.title());
3518
3570
  }
3519
- };
3520
-
3521
-
3522
- ;
3523
- "use strict";
3524
-
3525
- ;
3526
- ($.$mol_plot_graph) = class $mol_plot_graph extends ($.$mol_svg_group) {
3527
3571
  series_x(){
3528
3572
  return [];
3529
3573
  }
@@ -3595,58 +3639,7 @@ var $;
3595
3639
  Sample(){
3596
3640
  return null;
3597
3641
  }
3598
- type(){
3599
- return "solid";
3600
- }
3601
- color(){
3602
- return "";
3603
- }
3604
- viewport_x(){
3605
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3606
- return obj;
3607
- }
3608
- viewport_y(){
3609
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3610
- return obj;
3611
- }
3612
- dimensions_pane_x(){
3613
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3614
- return obj;
3615
- }
3616
- dimensions_pane_y(){
3617
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3618
- return obj;
3619
- }
3620
- dimensions_x(){
3621
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3622
- return obj;
3623
- }
3624
- dimensions_y(){
3625
- const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
3626
- return obj;
3627
- }
3628
- gap_x(){
3629
- const obj = new this.$.$mol_vector_range(0, 0);
3630
- return obj;
3631
- }
3632
- gap_y(){
3633
- const obj = new this.$.$mol_vector_range(0, 0);
3634
- return obj;
3635
- }
3636
- title(){
3637
- return "";
3638
- }
3639
- hint(){
3640
- return (this.title());
3641
- }
3642
3642
  };
3643
- ($mol_mem(($.$mol_plot_graph.prototype), "viewport"));
3644
- ($mol_mem(($.$mol_plot_graph.prototype), "cursor_position"));
3645
- ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane"));
3646
- ($mol_mem(($.$mol_plot_graph.prototype), "dimensions"));
3647
- ($mol_mem(($.$mol_plot_graph.prototype), "size_real"));
3648
- ($mol_mem(($.$mol_plot_graph.prototype), "gap"));
3649
- ($mol_mem(($.$mol_plot_graph.prototype), "Hint"));
3650
3643
  ($mol_mem(($.$mol_plot_graph.prototype), "viewport_x"));
3651
3644
  ($mol_mem(($.$mol_plot_graph.prototype), "viewport_y"));
3652
3645
  ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane_x"));
@@ -3655,19 +3648,26 @@ var $;
3655
3648
  ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_y"));
3656
3649
  ($mol_mem(($.$mol_plot_graph.prototype), "gap_x"));
3657
3650
  ($mol_mem(($.$mol_plot_graph.prototype), "gap_y"));
3651
+ ($mol_mem(($.$mol_plot_graph.prototype), "viewport"));
3652
+ ($mol_mem(($.$mol_plot_graph.prototype), "cursor_position"));
3653
+ ($mol_mem(($.$mol_plot_graph.prototype), "dimensions_pane"));
3654
+ ($mol_mem(($.$mol_plot_graph.prototype), "dimensions"));
3655
+ ($mol_mem(($.$mol_plot_graph.prototype), "size_real"));
3656
+ ($mol_mem(($.$mol_plot_graph.prototype), "gap"));
3657
+ ($mol_mem(($.$mol_plot_graph.prototype), "Hint"));
3658
3658
  ($.$mol_plot_graph_sample) = class $mol_plot_graph_sample extends ($.$mol_view) {
3659
- attr(){
3660
- return {...(super.attr()), "mol_plot_graph_type": (this.type())};
3661
- }
3662
- style(){
3663
- return {...(super.style()), "color": (this.color())};
3664
- }
3665
3659
  type(){
3666
3660
  return "solid";
3667
3661
  }
3668
3662
  color(){
3669
3663
  return "black";
3670
3664
  }
3665
+ attr(){
3666
+ return {...(super.attr()), "mol_plot_graph_type": (this.type())};
3667
+ }
3668
+ style(){
3669
+ return {...(super.style()), "color": (this.color())};
3670
+ }
3671
3671
  };
3672
3672
 
3673
3673
 
@@ -3968,6 +3968,9 @@ var $;
3968
3968
 
3969
3969
  ;
3970
3970
  ($.$mol_plot_line) = class $mol_plot_line extends ($.$mol_plot_graph) {
3971
+ curve(){
3972
+ return "";
3973
+ }
3971
3974
  threshold(){
3972
3975
  return 1;
3973
3976
  }
@@ -3992,9 +3995,6 @@ var $;
3992
3995
  (obj.type) = () => ((this.type()));
3993
3996
  return obj;
3994
3997
  }
3995
- curve(){
3996
- return "";
3997
- }
3998
3998
  };
3999
3999
  ($mol_mem(($.$mol_plot_line.prototype), "Sample"));
4000
4000
 
@@ -4070,14 +4070,6 @@ var $;
4070
4070
 
4071
4071
  ;
4072
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
4073
  graphs(){
4082
4074
  return [];
4083
4075
  }
@@ -4087,6 +4079,14 @@ var $;
4087
4079
  graph_samples(){
4088
4080
  return [];
4089
4081
  }
4082
+ sub(){
4083
+ return (this.graphs_enriched());
4084
+ }
4085
+ Sample(){
4086
+ const obj = new this.$.$mol_plot_graph_sample();
4087
+ (obj.sub) = () => ((this.graph_samples()));
4088
+ return obj;
4089
+ }
4090
4090
  };
4091
4091
  ($mol_mem(($.$mol_plot_group.prototype), "Sample"));
4092
4092
 
@@ -4161,15 +4161,15 @@ var $;
4161
4161
 
4162
4162
  ;
4163
4163
  ($.$mol_svg_path) = class $mol_svg_path extends ($.$mol_svg) {
4164
+ geometry(){
4165
+ return "";
4166
+ }
4164
4167
  dom_name(){
4165
4168
  return "path";
4166
4169
  }
4167
4170
  attr(){
4168
4171
  return {...(super.attr()), "d": (this.geometry())};
4169
4172
  }
4170
- geometry(){
4171
- return "";
4172
- }
4173
4173
  };
4174
4174
 
4175
4175
 
@@ -4178,6 +4178,17 @@ var $;
4178
4178
 
4179
4179
  ;
4180
4180
  ($.$mol_plot_dot) = class $mol_plot_dot extends ($.$mol_plot_graph) {
4181
+ diameter(){
4182
+ return 8;
4183
+ }
4184
+ curve(){
4185
+ return "";
4186
+ }
4187
+ Curve(){
4188
+ const obj = new this.$.$mol_svg_path();
4189
+ (obj.geometry) = () => ((this.curve()));
4190
+ return obj;
4191
+ }
4181
4192
  points_max(){
4182
4193
  return +Infinity;
4183
4194
  }
@@ -4195,20 +4206,9 @@ var $;
4195
4206
  (obj.color) = () => ((this.color()));
4196
4207
  return obj;
4197
4208
  }
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
4209
  };
4210
- ($mol_mem(($.$mol_plot_dot.prototype), "Sample"));
4211
4210
  ($mol_mem(($.$mol_plot_dot.prototype), "Curve"));
4211
+ ($mol_mem(($.$mol_plot_dot.prototype), "Sample"));
4212
4212
 
4213
4213
 
4214
4214
  ;
@@ -4327,27 +4327,7 @@ var $;
4327
4327
 
4328
4328
  ;
4329
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(){
4330
+ level_graphs(){
4351
4331
  return [];
4352
4332
  }
4353
4333
  level_hint(id){
@@ -4365,16 +4345,36 @@ var $;
4365
4345
  level_aspect(){
4366
4346
  return 1;
4367
4347
  }
4348
+ series_z(){
4349
+ return [];
4350
+ }
4351
+ graphs(){
4352
+ return (this.level_graphs());
4353
+ }
4354
+ Level(id){
4355
+ const obj = new this.$.$mol_plot_map_heat_level();
4356
+ (obj.hint) = () => ((this.level_hint(id)));
4357
+ (obj.points) = () => ((this.level_points(id)));
4358
+ (obj.opacity) = () => ((this.level_opacity(id)));
4359
+ (obj.diameter) = () => ((this.level_diameter()));
4360
+ (obj.aspect) = () => ((this.level_aspect()));
4361
+ return obj;
4362
+ }
4363
+ Sample(){
4364
+ const obj = new this.$.$mol_plot_graph_sample();
4365
+ (obj.color) = () => ((this.color()));
4366
+ return obj;
4367
+ }
4368
4368
  };
4369
4369
  ($mol_mem_key(($.$mol_plot_map_heat.prototype), "Level"));
4370
4370
  ($mol_mem(($.$mol_plot_map_heat.prototype), "Sample"));
4371
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
4372
  opacity(){
4376
4373
  return "1";
4377
4374
  }
4375
+ style(){
4376
+ return {...(super.style()), "opacity": (this.opacity())};
4377
+ }
4378
4378
  };
4379
4379
 
4380
4380
 
@@ -4453,17 +4453,6 @@ var $;
4453
4453
 
4454
4454
  ;
4455
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
4456
  stroke_width(){
4468
4457
  return "1rem";
4469
4458
  }
@@ -4475,9 +4464,20 @@ var $;
4475
4464
  (obj.geometry) = () => ((this.curve()));
4476
4465
  return obj;
4477
4466
  }
4467
+ style(){
4468
+ return {...(super.style()), "stroke-width": (this.stroke_width())};
4469
+ }
4470
+ sub(){
4471
+ return [(this.Hint()), (this.Curve())];
4472
+ }
4473
+ Sample(){
4474
+ const obj = new this.$.$mol_plot_graph_sample();
4475
+ (obj.color) = () => ((this.color()));
4476
+ return obj;
4477
+ }
4478
4478
  };
4479
- ($mol_mem(($.$mol_plot_bar.prototype), "Sample"));
4480
4479
  ($mol_mem(($.$mol_plot_bar.prototype), "Curve"));
4480
+ ($mol_mem(($.$mol_plot_bar.prototype), "Sample"));
4481
4481
 
4482
4482
 
4483
4483
  ;
@@ -4617,24 +4617,12 @@ var $;
4617
4617
  })($ || ($ = {}));
4618
4618
 
4619
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
- };
4620
+ ($.$mol_svg_rect) = class $mol_svg_rect extends ($.$mol_svg) {
4621
+ width(){
4622
+ return "0";
4635
4623
  }
4636
- sub(){
4637
- return [(this.text())];
4624
+ height(){
4625
+ return "0";
4638
4626
  }
4639
4627
  pos_x(){
4640
4628
  return "";
@@ -4642,17 +4630,20 @@ var $;
4642
4630
  pos_y(){
4643
4631
  return "";
4644
4632
  }
4645
- align(){
4646
- return "middle";
4647
- }
4648
- align_hor(){
4649
- return (this.align());
4633
+ dom_name(){
4634
+ return "rect";
4650
4635
  }
4651
- align_vert(){
4652
- return "baseline";
4636
+ pos(){
4637
+ return [];
4653
4638
  }
4654
- text(){
4655
- return "";
4639
+ attr(){
4640
+ return {
4641
+ ...(super.attr()),
4642
+ "width": (this.width()),
4643
+ "height": (this.height()),
4644
+ "x": (this.pos_x()),
4645
+ "y": (this.pos_y())
4646
+ };
4656
4647
  }
4657
4648
  };
4658
4649
 
@@ -4666,7 +4657,7 @@ var $;
4666
4657
  (function ($) {
4667
4658
  var $$;
4668
4659
  (function ($$) {
4669
- class $mol_svg_text extends $.$mol_svg_text {
4660
+ class $mol_svg_rect extends $.$mol_svg_rect {
4670
4661
  pos_x() {
4671
4662
  return this.pos()[0];
4672
4663
  }
@@ -4674,21 +4665,32 @@ var $;
4674
4665
  return this.pos()[1];
4675
4666
  }
4676
4667
  }
4677
- $$.$mol_svg_text = $mol_svg_text;
4668
+ $$.$mol_svg_rect = $mol_svg_rect;
4678
4669
  })($$ = $.$$ || ($.$$ = {}));
4679
4670
  })($ || ($ = {}));
4680
4671
 
4681
4672
  ;
4682
- "use strict";
4683
- var $;
4684
- (function ($) {
4685
- $mol_style_attach("mol/svg/text/text.view.css", "[mol_svg_text] {\n\tfill: currentColor;\n\tstroke: none;\n}\n");
4686
- })($ || ($ = {}));
4687
-
4688
- ;
4689
- ($.$mol_svg_rect) = class $mol_svg_rect extends ($.$mol_svg) {
4673
+ ($.$mol_svg_text) = class $mol_svg_text extends ($.$mol_svg) {
4674
+ pos_x(){
4675
+ return "";
4676
+ }
4677
+ pos_y(){
4678
+ return "";
4679
+ }
4680
+ align(){
4681
+ return "middle";
4682
+ }
4683
+ align_hor(){
4684
+ return (this.align());
4685
+ }
4686
+ align_vert(){
4687
+ return "baseline";
4688
+ }
4689
+ text(){
4690
+ return "";
4691
+ }
4690
4692
  dom_name(){
4691
- return "rect";
4693
+ return "text";
4692
4694
  }
4693
4695
  pos(){
4694
4696
  return [];
@@ -4696,23 +4698,14 @@ var $;
4696
4698
  attr(){
4697
4699
  return {
4698
4700
  ...(super.attr()),
4699
- "width": (this.width()),
4700
- "height": (this.height()),
4701
4701
  "x": (this.pos_x()),
4702
- "y": (this.pos_y())
4702
+ "y": (this.pos_y()),
4703
+ "text-anchor": (this.align_hor()),
4704
+ "alignment-baseline": (this.align_vert())
4703
4705
  };
4704
4706
  }
4705
- width(){
4706
- return "0";
4707
- }
4708
- height(){
4709
- return "0";
4710
- }
4711
- pos_x(){
4712
- return "";
4713
- }
4714
- pos_y(){
4715
- return "";
4707
+ sub(){
4708
+ return [(this.text())];
4716
4709
  }
4717
4710
  };
4718
4711
 
@@ -4726,7 +4719,7 @@ var $;
4726
4719
  (function ($) {
4727
4720
  var $$;
4728
4721
  (function ($$) {
4729
- class $mol_svg_rect extends $.$mol_svg_rect {
4722
+ class $mol_svg_text extends $.$mol_svg_text {
4730
4723
  pos_x() {
4731
4724
  return this.pos()[0];
4732
4725
  }
@@ -4734,57 +4727,19 @@ var $;
4734
4727
  return this.pos()[1];
4735
4728
  }
4736
4729
  }
4737
- $$.$mol_svg_rect = $mol_svg_rect;
4730
+ $$.$mol_svg_text = $mol_svg_text;
4738
4731
  })($$ = $.$$ || ($.$$ = {}));
4739
4732
  })($ || ($ = {}));
4740
4733
 
4734
+ ;
4735
+ "use strict";
4736
+ var $;
4737
+ (function ($) {
4738
+ $mol_style_attach("mol/svg/text/text.view.css", "[mol_svg_text] {\n\tfill: currentColor;\n\tstroke: none;\n}\n");
4739
+ })($ || ($ = {}));
4740
+
4741
4741
  ;
4742
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
4743
  background_x(){
4789
4744
  return "0";
4790
4745
  }
@@ -4848,14 +4803,59 @@ var $;
4848
4803
  label_align(){
4849
4804
  return "";
4850
4805
  }
4806
+ step(){
4807
+ return 0;
4808
+ }
4809
+ scale_axis(){
4810
+ return 1;
4811
+ }
4812
+ scale_step(){
4813
+ return 1;
4814
+ }
4815
+ shift_axis(){
4816
+ return 1;
4817
+ }
4818
+ dimensions_axis(){
4819
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4820
+ return obj;
4821
+ }
4822
+ viewport_axis(){
4823
+ const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
4824
+ return obj;
4825
+ }
4826
+ axis_points(){
4827
+ return [];
4828
+ }
4829
+ normalize(next){
4830
+ if(next !== undefined) return next;
4831
+ return 0;
4832
+ }
4833
+ precision(){
4834
+ return 1;
4835
+ }
4836
+ sub(){
4837
+ return [
4838
+ (this.Background()),
4839
+ (this.Curve()),
4840
+ (this.labels_formatted()),
4841
+ (this.Title())
4842
+ ];
4843
+ }
4844
+ Label(id){
4845
+ const obj = new this.$.$mol_svg_text();
4846
+ (obj.pos) = () => ((this.label_pos(id)));
4847
+ (obj.text) = () => ((this.label_text(id)));
4848
+ (obj.align) = () => ((this.label_align()));
4849
+ return obj;
4850
+ }
4851
4851
  };
4852
+ ($mol_mem(($.$mol_plot_ruler.prototype), "Background"));
4853
+ ($mol_mem(($.$mol_plot_ruler.prototype), "Curve"));
4854
+ ($mol_mem(($.$mol_plot_ruler.prototype), "Title"));
4852
4855
  ($mol_mem(($.$mol_plot_ruler.prototype), "dimensions_axis"));
4853
4856
  ($mol_mem(($.$mol_plot_ruler.prototype), "viewport_axis"));
4854
4857
  ($mol_mem(($.$mol_plot_ruler.prototype), "normalize"));
4855
4858
  ($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
4859
 
4860
4860
 
4861
4861
  ;
@@ -5130,15 +5130,6 @@ var $;
5130
5130
 
5131
5131
  ;
5132
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
5133
  box_width(){
5143
5134
  return "0.5rem";
5144
5135
  }
@@ -5177,6 +5168,15 @@ var $;
5177
5168
  (obj.sub) = () => ([(this.text())]);
5178
5169
  return obj;
5179
5170
  }
5171
+ font_size(){
5172
+ return 16;
5173
+ }
5174
+ width(){
5175
+ return 0;
5176
+ }
5177
+ sub(){
5178
+ return [(this.Back()), (this.Text())];
5179
+ }
5180
5180
  };
5181
5181
  ($mol_mem(($.$mol_svg_text_box.prototype), "Back"));
5182
5182
  ($mol_mem(($.$mol_svg_text_box.prototype), "Text"));
@@ -5251,32 +5251,6 @@ var $;
5251
5251
 
5252
5252
  ;
5253
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
5254
  dimensions_x(){
5281
5255
  const obj = new this.$.$mol_vector_range(Infinity, -Infinity);
5282
5256
  return obj;
@@ -5325,13 +5299,39 @@ var $;
5325
5299
  (obj.text) = () => ((this.title_y()));
5326
5300
  return obj;
5327
5301
  }
5302
+ labels(){
5303
+ return [];
5304
+ }
5305
+ title_x_gap(){
5306
+ return 4;
5307
+ }
5308
+ title_y_gap(){
5309
+ return 22;
5310
+ }
5311
+ threshold(){
5312
+ return 16;
5313
+ }
5314
+ graphs(){
5315
+ return [];
5316
+ }
5317
+ dimensions(){
5318
+ const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
5319
+ return obj;
5320
+ }
5321
+ sub(){
5322
+ return [
5323
+ (this.Curve()),
5324
+ (this.Label_x()),
5325
+ (this.Label_y())
5326
+ ];
5327
+ }
5328
5328
  };
5329
- ($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions"));
5330
5329
  ($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions_x"));
5331
5330
  ($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions_y"));
5332
5331
  ($mol_mem(($.$mol_plot_mark_cross.prototype), "Curve"));
5333
5332
  ($mol_mem(($.$mol_plot_mark_cross.prototype), "Label_x"));
5334
5333
  ($mol_mem(($.$mol_plot_mark_cross.prototype), "Label_y"));
5334
+ ($mol_mem(($.$mol_plot_mark_cross.prototype), "dimensions"));
5335
5335
 
5336
5336
 
5337
5337
  ;