mol_plot_all 1.2.1022 → 1.2.1023

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.test.js CHANGED
@@ -3186,8 +3186,8 @@ var $;
3186
3186
  attr(){
3187
3187
  return {
3188
3188
  ...(super.attr()),
3189
- "viewBox": (this.view_box()),
3190
- "preserveAspectRatio": (this.aspect())
3189
+ "viewBox": (this?.view_box()),
3190
+ "preserveAspectRatio": (this?.aspect())
3191
3191
  };
3192
3192
  }
3193
3193
  };
@@ -3461,11 +3461,11 @@ var $;
3461
3461
  event(){
3462
3462
  return {
3463
3463
  ...(super.event()),
3464
- "pointerdown": (next) => (this.event_start(next)),
3465
- "pointermove": (next) => (this.event_move(next)),
3466
- "pointerup": (next) => (this.event_end(next)),
3467
- "pointerleave": (next) => (this.event_leave(next)),
3468
- "wheel": (next) => (this.event_wheel(next))
3464
+ "pointerdown": (next) => (this?.event_start(next)),
3465
+ "pointermove": (next) => (this?.event_move(next)),
3466
+ "pointerup": (next) => (this?.event_end(next)),
3467
+ "pointerleave": (next) => (this?.event_leave(next)),
3468
+ "wheel": (next) => (this?.event_wheel(next))
3469
3469
  };
3470
3470
  }
3471
3471
  };
@@ -3755,11 +3755,11 @@ var $;
3755
3755
  ;
3756
3756
  ($.$mol_plot_pane) = class $mol_plot_pane extends ($.$mol_svg_root) {
3757
3757
  gap_x(){
3758
- const obj = new this.$.$mol_vector_range((this.gap_left()), (this.gap_right()));
3758
+ const obj = new this.$.$mol_vector_range((this?.gap_left()), (this?.gap_right()));
3759
3759
  return obj;
3760
3760
  }
3761
3761
  gap_y(){
3762
- const obj = new this.$.$mol_vector_range((this.gap_bottom()), (this.gap_top()));
3762
+ const obj = new this.$.$mol_vector_range((this?.gap_bottom()), (this?.gap_top()));
3763
3763
  return obj;
3764
3764
  }
3765
3765
  shift_limit_x(){
@@ -3801,17 +3801,17 @@ var $;
3801
3801
  return [];
3802
3802
  }
3803
3803
  graphs_positioned(){
3804
- return (this.graphs());
3804
+ return (this?.graphs());
3805
3805
  }
3806
3806
  graphs_visible(){
3807
- return (this.graphs_positioned());
3807
+ return (this?.graphs_positioned());
3808
3808
  }
3809
3809
  zoom(next){
3810
3810
  if(next !== undefined) return next;
3811
3811
  return 1;
3812
3812
  }
3813
3813
  cursor_position(){
3814
- return (this.Touch().pointer_center());
3814
+ return (this?.Touch()?.pointer_center());
3815
3815
  }
3816
3816
  allow_draw(){
3817
3817
  return true;
@@ -3823,10 +3823,10 @@ var $;
3823
3823
  return true;
3824
3824
  }
3825
3825
  action_type(){
3826
- return (this.Touch().action_type());
3826
+ return (this?.Touch()?.action_type());
3827
3827
  }
3828
3828
  action_point(){
3829
- return (this.Touch().action_point());
3829
+ return (this?.Touch()?.action_point());
3830
3830
  }
3831
3831
  draw_start(next){
3832
3832
  if(next !== undefined) return next;
@@ -3842,14 +3842,14 @@ var $;
3842
3842
  }
3843
3843
  Touch(){
3844
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)));
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
3853
  return obj;
3854
3854
  }
3855
3855
  aspect(){
@@ -3870,23 +3870,23 @@ var $;
3870
3870
  return 24;
3871
3871
  }
3872
3872
  gap_left(){
3873
- return (this.gap_hor());
3873
+ return (this?.gap_hor());
3874
3874
  }
3875
3875
  gap_right(){
3876
- return (this.gap_hor());
3876
+ return (this?.gap_hor());
3877
3877
  }
3878
3878
  gap_top(){
3879
- return (this.gap_vert());
3879
+ return (this?.gap_vert());
3880
3880
  }
3881
3881
  gap_bottom(){
3882
- return (this.gap_vert());
3882
+ return (this?.gap_vert());
3883
3883
  }
3884
3884
  gap(){
3885
- const obj = new this.$.$mol_vector_2d((this.gap_x()), (this.gap_y()));
3885
+ const obj = new this.$.$mol_vector_2d((this?.gap_x()), (this?.gap_y()));
3886
3886
  return obj;
3887
3887
  }
3888
3888
  shift_limit(){
3889
- const obj = new this.$.$mol_vector_2d((this.shift_limit_x()), (this.shift_limit_y()));
3889
+ const obj = new this.$.$mol_vector_2d((this?.shift_limit_x()), (this?.shift_limit_y()));
3890
3890
  return obj;
3891
3891
  }
3892
3892
  shift_default(){
@@ -3899,7 +3899,7 @@ var $;
3899
3899
  return obj;
3900
3900
  }
3901
3901
  scale_limit(){
3902
- const obj = new this.$.$mol_vector_2d((this.scale_limit_x()), (this.scale_limit_y()));
3902
+ const obj = new this.$.$mol_vector_2d((this?.scale_limit_x()), (this?.scale_limit_y()));
3903
3903
  return obj;
3904
3904
  }
3905
3905
  scale_default(){
@@ -3928,21 +3928,21 @@ var $;
3928
3928
  return obj;
3929
3929
  }
3930
3930
  dimensions(){
3931
- const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
3931
+ const obj = new this.$.$mol_vector_2d((this?.dimensions_x()), (this?.dimensions_y()));
3932
3932
  return obj;
3933
3933
  }
3934
3934
  dimensions_viewport(){
3935
- const obj = new this.$.$mol_vector_2d((this.dimensions_viewport_x()), (this.dimensions_viewport_y()));
3935
+ const obj = new this.$.$mol_vector_2d((this?.dimensions_viewport_x()), (this?.dimensions_viewport_y()));
3936
3936
  return obj;
3937
3937
  }
3938
3938
  sub(){
3939
- return (this.graphs_sorted());
3939
+ return (this?.graphs_sorted());
3940
3940
  }
3941
3941
  graphs_colored(){
3942
- return (this.graphs_visible());
3942
+ return (this?.graphs_visible());
3943
3943
  }
3944
3944
  plugins(){
3945
- return [...(super.plugins()), (this.Touch())];
3945
+ return [...(super.plugins()), (this?.Touch())];
3946
3946
  }
3947
3947
  };
3948
3948
  ($mol_mem(($.$mol_plot_pane.prototype), "gap_x"));
@@ -4001,7 +4001,7 @@ var $;
4001
4001
  return "title";
4002
4002
  }
4003
4003
  sub(){
4004
- return [(this.title())];
4004
+ return [(this?.title())];
4005
4005
  }
4006
4006
  };
4007
4007
 
@@ -4053,7 +4053,7 @@ var $;
4053
4053
  return "";
4054
4054
  }
4055
4055
  hint(){
4056
- return (this.title());
4056
+ return (this?.title());
4057
4057
  }
4058
4058
  series_x(){
4059
4059
  return [];
@@ -4062,13 +4062,13 @@ var $;
4062
4062
  return [];
4063
4063
  }
4064
4064
  attr(){
4065
- return {...(super.attr()), "mol_plot_graph_type": (this.type())};
4065
+ return {...(super.attr()), "mol_plot_graph_type": (this?.type())};
4066
4066
  }
4067
4067
  style(){
4068
- return {...(super.style()), "color": (this.color())};
4068
+ return {...(super.style()), "color": (this?.color())};
4069
4069
  }
4070
4070
  viewport(){
4071
- const obj = new this.$.$mol_vector_2d((this.viewport_x()), (this.viewport_y()));
4071
+ const obj = new this.$.$mol_vector_2d((this?.viewport_x()), (this?.viewport_y()));
4072
4072
  return obj;
4073
4073
  }
4074
4074
  shift(){
@@ -4082,11 +4082,11 @@ var $;
4082
4082
  return obj;
4083
4083
  }
4084
4084
  dimensions_pane(){
4085
- const obj = new this.$.$mol_vector_2d((this.dimensions_pane_x()), (this.dimensions_pane_y()));
4085
+ const obj = new this.$.$mol_vector_2d((this?.dimensions_pane_x()), (this?.dimensions_pane_y()));
4086
4086
  return obj;
4087
4087
  }
4088
4088
  dimensions(){
4089
- const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
4089
+ const obj = new this.$.$mol_vector_2d((this?.dimensions_x()), (this?.dimensions_y()));
4090
4090
  return obj;
4091
4091
  }
4092
4092
  size_real(){
@@ -4094,7 +4094,7 @@ var $;
4094
4094
  return obj;
4095
4095
  }
4096
4096
  gap(){
4097
- const obj = new this.$.$mol_vector_2d((this.gap_x()), (this.gap_y()));
4097
+ const obj = new this.$.$mol_vector_2d((this?.gap_x()), (this?.gap_y()));
4098
4098
  return obj;
4099
4099
  }
4100
4100
  repos_x(id){
@@ -4117,7 +4117,7 @@ var $;
4117
4117
  }
4118
4118
  Hint(){
4119
4119
  const obj = new this.$.$mol_svg_title();
4120
- (obj.title) = () => ((this.hint()));
4120
+ (obj.title) = () => ((this?.hint()));
4121
4121
  return obj;
4122
4122
  }
4123
4123
  hue(){
@@ -4150,10 +4150,10 @@ var $;
4150
4150
  return "black";
4151
4151
  }
4152
4152
  attr(){
4153
- return {...(super.attr()), "mol_plot_graph_type": (this.type())};
4153
+ return {...(super.attr()), "mol_plot_graph_type": (this?.type())};
4154
4154
  }
4155
4155
  style(){
4156
- return {...(super.style()), "color": (this.color())};
4156
+ return {...(super.style()), "color": (this?.color())};
4157
4157
  }
4158
4158
  };
4159
4159
 
@@ -4475,15 +4475,15 @@ var $;
4475
4475
  return "path";
4476
4476
  }
4477
4477
  attr(){
4478
- return {...(super.attr()), "d": (this.curve())};
4478
+ return {...(super.attr()), "d": (this?.curve())};
4479
4479
  }
4480
4480
  sub(){
4481
- return [(this.Hint())];
4481
+ return [(this?.Hint())];
4482
4482
  }
4483
4483
  Sample(){
4484
4484
  const obj = new this.$.$mol_plot_graph_sample();
4485
- (obj.color) = () => ((this.color()));
4486
- (obj.type) = () => ((this.type()));
4485
+ (obj.color) = () => ((this?.color()));
4486
+ (obj.type) = () => ((this?.type()));
4487
4487
  return obj;
4488
4488
  }
4489
4489
  };
@@ -4565,17 +4565,17 @@ var $;
4565
4565
  return [];
4566
4566
  }
4567
4567
  graphs_enriched(){
4568
- return (this.graphs());
4568
+ return (this?.graphs());
4569
4569
  }
4570
4570
  graph_samples(){
4571
4571
  return [];
4572
4572
  }
4573
4573
  sub(){
4574
- return (this.graphs_enriched());
4574
+ return (this?.graphs_enriched());
4575
4575
  }
4576
4576
  Sample(){
4577
4577
  const obj = new this.$.$mol_plot_graph_sample();
4578
- (obj.sub) = () => ((this.graph_samples()));
4578
+ (obj.sub) = () => ((this?.graph_samples()));
4579
4579
  return obj;
4580
4580
  }
4581
4581
  };
@@ -4659,7 +4659,7 @@ var $;
4659
4659
  return "path";
4660
4660
  }
4661
4661
  attr(){
4662
- return {...(super.attr()), "d": (this.geometry())};
4662
+ return {...(super.attr()), "d": (this?.geometry())};
4663
4663
  }
4664
4664
  };
4665
4665
 
@@ -4677,7 +4677,7 @@ var $;
4677
4677
  }
4678
4678
  Curve(){
4679
4679
  const obj = new this.$.$mol_svg_path();
4680
- (obj.geometry) = () => ((this.curve()));
4680
+ (obj.geometry) = () => ((this?.curve()));
4681
4681
  return obj;
4682
4682
  }
4683
4683
  points_max(){
@@ -4687,14 +4687,14 @@ var $;
4687
4687
  return 1;
4688
4688
  }
4689
4689
  style(){
4690
- return {...(super.style()), "stroke-width": (this.diameter())};
4690
+ return {...(super.style()), "stroke-width": (this?.diameter())};
4691
4691
  }
4692
4692
  sub(){
4693
- return [(this.Hint()), (this.Curve())];
4693
+ return [(this?.Hint()), (this?.Curve())];
4694
4694
  }
4695
4695
  Sample(){
4696
4696
  const obj = new this.$.$mol_plot_graph_sample();
4697
- (obj.color) = () => ((this.color()));
4697
+ (obj.color) = () => ((this?.color()));
4698
4698
  return obj;
4699
4699
  }
4700
4700
  };
@@ -4840,20 +4840,20 @@ var $;
4840
4840
  return [];
4841
4841
  }
4842
4842
  graphs(){
4843
- return (this.level_graphs());
4843
+ return (this?.level_graphs());
4844
4844
  }
4845
4845
  Level(id){
4846
4846
  const obj = new this.$.$mol_plot_map_heat_level();
4847
- (obj.hint) = () => ((this.level_hint(id)));
4848
- (obj.points) = () => ((this.level_points(id)));
4849
- (obj.opacity) = () => ((this.level_opacity(id)));
4850
- (obj.diameter) = () => ((this.level_diameter()));
4851
- (obj.aspect) = () => ((this.level_aspect()));
4847
+ (obj.hint) = () => ((this?.level_hint(id)));
4848
+ (obj.points) = () => ((this?.level_points(id)));
4849
+ (obj.opacity) = () => ((this?.level_opacity(id)));
4850
+ (obj.diameter) = () => ((this?.level_diameter()));
4851
+ (obj.aspect) = () => ((this?.level_aspect()));
4852
4852
  return obj;
4853
4853
  }
4854
4854
  Sample(){
4855
4855
  const obj = new this.$.$mol_plot_graph_sample();
4856
- (obj.color) = () => ((this.color()));
4856
+ (obj.color) = () => ((this?.color()));
4857
4857
  return obj;
4858
4858
  }
4859
4859
  };
@@ -4864,7 +4864,7 @@ var $;
4864
4864
  return "1";
4865
4865
  }
4866
4866
  style(){
4867
- return {...(super.style()), "opacity": (this.opacity())};
4867
+ return {...(super.style()), "opacity": (this?.opacity())};
4868
4868
  }
4869
4869
  };
4870
4870
 
@@ -4952,18 +4952,18 @@ var $;
4952
4952
  }
4953
4953
  Curve(){
4954
4954
  const obj = new this.$.$mol_svg_path();
4955
- (obj.geometry) = () => ((this.curve()));
4955
+ (obj.geometry) = () => ((this?.curve()));
4956
4956
  return obj;
4957
4957
  }
4958
4958
  style(){
4959
- return {...(super.style()), "stroke-width": (this.stroke_width())};
4959
+ return {...(super.style()), "stroke-width": (this?.stroke_width())};
4960
4960
  }
4961
4961
  sub(){
4962
- return [(this.Hint()), (this.Curve())];
4962
+ return [(this?.Hint()), (this?.Curve())];
4963
4963
  }
4964
4964
  Sample(){
4965
4965
  const obj = new this.$.$mol_plot_graph_sample();
4966
- (obj.color) = () => ((this.color()));
4966
+ (obj.color) = () => ((this?.color()));
4967
4967
  return obj;
4968
4968
  }
4969
4969
  };
@@ -5130,10 +5130,10 @@ var $;
5130
5130
  attr(){
5131
5131
  return {
5132
5132
  ...(super.attr()),
5133
- "width": (this.width()),
5134
- "height": (this.height()),
5135
- "x": (this.pos_x()),
5136
- "y": (this.pos_y())
5133
+ "width": (this?.width()),
5134
+ "height": (this?.height()),
5135
+ "x": (this?.pos_x()),
5136
+ "y": (this?.pos_y())
5137
5137
  };
5138
5138
  }
5139
5139
  };
@@ -5172,7 +5172,7 @@ var $;
5172
5172
  return "middle";
5173
5173
  }
5174
5174
  align_hor(){
5175
- return (this.align());
5175
+ return (this?.align());
5176
5176
  }
5177
5177
  align_vert(){
5178
5178
  return "baseline";
@@ -5189,14 +5189,14 @@ var $;
5189
5189
  attr(){
5190
5190
  return {
5191
5191
  ...(super.attr()),
5192
- "x": (this.pos_x()),
5193
- "y": (this.pos_y()),
5194
- "text-anchor": (this.align_hor()),
5195
- "alignment-baseline": (this.align_vert())
5192
+ "x": (this?.pos_x()),
5193
+ "y": (this?.pos_y()),
5194
+ "text-anchor": (this?.align_hor()),
5195
+ "alignment-baseline": (this?.align_vert())
5196
5196
  };
5197
5197
  }
5198
5198
  sub(){
5199
- return [(this.text())];
5199
+ return [(this?.text())];
5200
5200
  }
5201
5201
  };
5202
5202
 
@@ -5245,10 +5245,10 @@ var $;
5245
5245
  }
5246
5246
  Background(){
5247
5247
  const obj = new this.$.$mol_svg_rect();
5248
- (obj.pos_x) = () => ((this.background_x()));
5249
- (obj.pos_y) = () => ((this.background_y()));
5250
- (obj.width) = () => ((this.background_width()));
5251
- (obj.height) = () => ((this.background_height()));
5248
+ (obj.pos_x) = () => ((this?.background_x()));
5249
+ (obj.pos_y) = () => ((this?.background_y()));
5250
+ (obj.width) = () => ((this?.background_width()));
5251
+ (obj.height) = () => ((this?.background_height()));
5252
5252
  return obj;
5253
5253
  }
5254
5254
  curve(){
@@ -5256,7 +5256,7 @@ var $;
5256
5256
  }
5257
5257
  Curve(){
5258
5258
  const obj = new this.$.$mol_svg_path();
5259
- (obj.geometry) = () => ((this.curve()));
5259
+ (obj.geometry) = () => ((this?.curve()));
5260
5260
  return obj;
5261
5261
  }
5262
5262
  labels_formatted(){
@@ -5273,10 +5273,10 @@ var $;
5273
5273
  }
5274
5274
  Title(){
5275
5275
  const obj = new this.$.$mol_svg_text();
5276
- (obj.pos_x) = () => ((this.title_pos_x()));
5277
- (obj.pos_y) = () => ((this.title_pos_y()));
5278
- (obj.align) = () => ((this.title_align()));
5279
- (obj.text) = () => ((this.title()));
5276
+ (obj.pos_x) = () => ((this?.title_pos_x()));
5277
+ (obj.pos_y) = () => ((this?.title_pos_y()));
5278
+ (obj.align) = () => ((this?.title_align()));
5279
+ (obj.text) = () => ((this?.title()));
5280
5280
  return obj;
5281
5281
  }
5282
5282
  label_pos_x(id){
@@ -5286,7 +5286,7 @@ var $;
5286
5286
  return "";
5287
5287
  }
5288
5288
  label_pos(id){
5289
- return [(this.label_pos_x(id)), (this.label_pos_y(id))];
5289
+ return [(this?.label_pos_x(id)), (this?.label_pos_y(id))];
5290
5290
  }
5291
5291
  label_text(id){
5292
5292
  return "";
@@ -5326,17 +5326,17 @@ var $;
5326
5326
  }
5327
5327
  sub(){
5328
5328
  return [
5329
- (this.Background()),
5330
- (this.Curve()),
5331
- (this.labels_formatted()),
5332
- (this.Title())
5329
+ (this?.Background()),
5330
+ (this?.Curve()),
5331
+ (this?.labels_formatted()),
5332
+ (this?.Title())
5333
5333
  ];
5334
5334
  }
5335
5335
  Label(id){
5336
5336
  const obj = new this.$.$mol_svg_text();
5337
- (obj.pos) = () => ((this.label_pos(id)));
5338
- (obj.text) = () => ((this.label_text(id)));
5339
- (obj.align) = () => ((this.label_align()));
5337
+ (obj.pos) = () => ((this?.label_pos(id)));
5338
+ (obj.text) = () => ((this?.label_text(id)));
5339
+ (obj.align) = () => ((this?.label_align()));
5340
5340
  return obj;
5341
5341
  }
5342
5342
  };
@@ -5475,13 +5475,13 @@ var $;
5475
5475
  return "14";
5476
5476
  }
5477
5477
  label_pos_x(id){
5478
- return (this.title_pos_x());
5478
+ return (this?.title_pos_x());
5479
5479
  }
5480
5480
  background_height(){
5481
5481
  return "100%";
5482
5482
  }
5483
5483
  background_width(){
5484
- return (this.title_pos_x());
5484
+ return (this?.title_pos_x());
5485
5485
  }
5486
5486
  };
5487
5487
 
@@ -5553,7 +5553,7 @@ var $;
5553
5553
  return "100%";
5554
5554
  }
5555
5555
  label_pos_y(id){
5556
- return (this.title_pos_y());
5556
+ return (this?.title_pos_y());
5557
5557
  }
5558
5558
  background_width(){
5559
5559
  return "100%";
@@ -5628,16 +5628,16 @@ var $;
5628
5628
  return "1rem";
5629
5629
  }
5630
5630
  box_pos_x(){
5631
- return (this.pos_x());
5631
+ return (this?.pos_x());
5632
5632
  }
5633
5633
  box_pos_y(){
5634
5634
  return "0";
5635
5635
  }
5636
5636
  Back(){
5637
5637
  const obj = new this.$.$mol_svg_rect();
5638
- (obj.width) = () => ((this.box_width()));
5639
- (obj.height) = () => ((this.box_height()));
5640
- (obj.pos) = () => ([(this.box_pos_x()), (this.box_pos_y())]);
5638
+ (obj.width) = () => ((this?.box_width()));
5639
+ (obj.height) = () => ((this?.box_height()));
5640
+ (obj.pos) = () => ([(this?.box_pos_x()), (this?.box_pos_y())]);
5641
5641
  return obj;
5642
5642
  }
5643
5643
  pos_x(){
@@ -5654,9 +5654,9 @@ var $;
5654
5654
  }
5655
5655
  Text(){
5656
5656
  const obj = new this.$.$mol_svg_text();
5657
- (obj.pos) = () => ([(this.pos_x()), (this.pos_y())]);
5658
- (obj.align) = () => ((this.align()));
5659
- (obj.sub) = () => ([(this.text())]);
5657
+ (obj.pos) = () => ([(this?.pos_x()), (this?.pos_y())]);
5658
+ (obj.align) = () => ((this?.align()));
5659
+ (obj.sub) = () => ([(this?.text())]);
5660
5660
  return obj;
5661
5661
  }
5662
5662
  font_size(){
@@ -5666,7 +5666,7 @@ var $;
5666
5666
  return 0;
5667
5667
  }
5668
5668
  sub(){
5669
- return [(this.Back()), (this.Text())];
5669
+ return [(this?.Back()), (this?.Text())];
5670
5670
  }
5671
5671
  };
5672
5672
  ($mol_mem(($.$mol_svg_text_box.prototype), "Back"));
@@ -5755,7 +5755,7 @@ var $;
5755
5755
  }
5756
5756
  Curve(){
5757
5757
  const obj = new this.$.$mol_svg_path();
5758
- (obj.geometry) = () => ((this.curve()));
5758
+ (obj.geometry) = () => ((this?.curve()));
5759
5759
  return obj;
5760
5760
  }
5761
5761
  title_x_pos_x(){
@@ -5769,9 +5769,9 @@ var $;
5769
5769
  }
5770
5770
  Label_x(){
5771
5771
  const obj = new this.$.$mol_svg_text_box();
5772
- (obj.pos_x) = () => ((this.title_x_pos_x()));
5773
- (obj.pos_y) = () => ((this.title_x_pos_y()));
5774
- (obj.text) = () => ((this.title_x()));
5772
+ (obj.pos_x) = () => ((this?.title_x_pos_x()));
5773
+ (obj.pos_y) = () => ((this?.title_x_pos_y()));
5774
+ (obj.text) = () => ((this?.title_x()));
5775
5775
  return obj;
5776
5776
  }
5777
5777
  title_y_pos_x(){
@@ -5785,9 +5785,9 @@ var $;
5785
5785
  }
5786
5786
  Label_y(){
5787
5787
  const obj = new this.$.$mol_svg_text_box();
5788
- (obj.pos_x) = () => ((this.title_y_pos_x()));
5789
- (obj.pos_y) = () => ((this.title_y_pos_y()));
5790
- (obj.text) = () => ((this.title_y()));
5788
+ (obj.pos_x) = () => ((this?.title_y_pos_x()));
5789
+ (obj.pos_y) = () => ((this?.title_y_pos_y()));
5790
+ (obj.text) = () => ((this?.title_y()));
5791
5791
  return obj;
5792
5792
  }
5793
5793
  labels(){
@@ -5806,14 +5806,14 @@ var $;
5806
5806
  return [];
5807
5807
  }
5808
5808
  dimensions(){
5809
- const obj = new this.$.$mol_vector_2d((this.dimensions_x()), (this.dimensions_y()));
5809
+ const obj = new this.$.$mol_vector_2d((this?.dimensions_x()), (this?.dimensions_y()));
5810
5810
  return obj;
5811
5811
  }
5812
5812
  sub(){
5813
5813
  return [
5814
- (this.Curve()),
5815
- (this.Label_x()),
5816
- (this.Label_y())
5814
+ (this?.Curve()),
5815
+ (this?.Label_x()),
5816
+ (this?.Label_y())
5817
5817
  ];
5818
5818
  }
5819
5819
  };