mol_plot_all 1.2.353 → 1.2.354

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.view.tree CHANGED
@@ -266,7 +266,7 @@ $mol_svg_path $mol_svg
266
266
 
267
267
 
268
268
  $mol_plot_dot $mol_plot_graph
269
- points_max Infinity
269
+ points_max +Infinity
270
270
  aspect 1
271
271
  style *
272
272
  ^
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_plot_all",
3
- "version": "1.2.353",
3
+ "version": "1.2.354",
4
4
  "main": "node.js",
5
5
  "module": "node.esm.js",
6
6
  "browser": "web.js",
package/web.d.ts CHANGED
@@ -757,7 +757,7 @@ declare namespace $ {
757
757
  front(): readonly $mol_svg[];
758
758
  back(): readonly $mol_svg[];
759
759
  Hint(): $mol_svg_title;
760
- hue(): number;
760
+ hue(): any;
761
761
  Sample(): any;
762
762
  type(): string;
763
763
  color(): string;
@@ -874,7 +874,7 @@ declare namespace $.$$ {
874
874
  declare namespace $ {
875
875
  class $mol_plot_pane extends $mol_svg_root {
876
876
  aspect(): string;
877
- hue_base(val?: any): number;
877
+ hue_base(val?: any): any;
878
878
  hue_shift(val?: any): number;
879
879
  gap_hor(): number;
880
880
  gap_vert(): number;
package/web.esm.js CHANGED
@@ -2626,7 +2626,8 @@ var $;
2626
2626
  return obj;
2627
2627
  }
2628
2628
  hue() {
2629
- return NaN;
2629
+ const obj = new this.$.NaN();
2630
+ return obj;
2630
2631
  }
2631
2632
  Sample() {
2632
2633
  return null;
@@ -2697,6 +2698,9 @@ var $;
2697
2698
  __decorate([
2698
2699
  $mol_mem
2699
2700
  ], $mol_plot_graph.prototype, "Hint", null);
2701
+ __decorate([
2702
+ $mol_mem
2703
+ ], $mol_plot_graph.prototype, "hue", null);
2700
2704
  __decorate([
2701
2705
  $mol_mem
2702
2706
  ], $mol_plot_graph.prototype, "viewport_x", null);
@@ -3354,7 +3358,8 @@ var $;
3354
3358
  hue_base(val) {
3355
3359
  if (val !== undefined)
3356
3360
  return val;
3357
- return NaN;
3361
+ const obj = new this.$.NaN();
3362
+ return obj;
3358
3363
  }
3359
3364
  hue_shift(val) {
3360
3365
  if (val !== undefined)
@@ -4092,7 +4097,7 @@ var $;
4092
4097
  (function ($) {
4093
4098
  class $mol_plot_dot extends $mol_plot_graph {
4094
4099
  points_max() {
4095
- return Infinity;
4100
+ return +Infinity;
4096
4101
  }
4097
4102
  aspect() {
4098
4103
  return 1;