mol_plot_all 1.2.354 → 1.2.356

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
@@ -80,7 +80,7 @@ $mol_plot_graph $mol_svg_group
80
80
  back /$mol_svg
81
81
  Hint $mol_svg_title
82
82
  title <= hint <= title \
83
- hue NaN
83
+ hue +NaN
84
84
  Sample null
85
85
 
86
86
  $mol_plot_graph_sample $mol_view
@@ -151,7 +151,7 @@ $mol_touch $mol_plugin
151
151
  $mol_plot_pane $mol_svg_root
152
152
  aspect \none
153
153
  -
154
- hue_base?val NaN
154
+ hue_base?val +NaN
155
155
  hue_shift?val 111
156
156
  -
157
157
  gap_hor 48
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_plot_all",
3
- "version": "1.2.354",
3
+ "version": "1.2.356",
4
4
  "main": "node.js",
5
5
  "module": "node.esm.js",
6
6
  "browser": "web.js",
package/web.d.ts CHANGED
@@ -569,7 +569,7 @@ declare namespace $ {
569
569
  plugins(): readonly $mol_view[];
570
570
  view_find(check: (path: $mol_view, text?: string) => boolean, path?: $mol_view[]): Generator<$mol_view[]>;
571
571
  force_render(path: Set<$mol_view>): void;
572
- ensure_visible(view: $mol_view, align?: ScrollLogicalPosition): Promise<void>;
572
+ ensure_visible(view: $mol_view, align?: ScrollLogicalPosition): void;
573
573
  bring(): void;
574
574
  }
575
575
  type $mol_view_all = $mol_type_pick<$, typeof $mol_view>;
@@ -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(): any;
760
+ hue(): number;
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): any;
877
+ hue_base(val?: any): number;
878
878
  hue_shift(val?: any): number;
879
879
  gap_hor(): number;
880
880
  gap_vert(): number;
package/web.esm.js CHANGED
@@ -2152,7 +2152,7 @@ var $;
2152
2152
  kids[index].force_render(path);
2153
2153
  }
2154
2154
  }
2155
- async ensure_visible(view, align = "start") {
2155
+ ensure_visible(view, align = "start") {
2156
2156
  const path = this.view_find(v => v === view).next().value;
2157
2157
  this.force_render(new Set(path));
2158
2158
  this.dom_final();
@@ -2160,7 +2160,7 @@ var $;
2160
2160
  }
2161
2161
  bring() {
2162
2162
  new $mol_after_frame(() => {
2163
- this.dom_node().scrollIntoView();
2163
+ this.dom_node().scrollIntoView({ inline: 'start' });
2164
2164
  this.focused(true);
2165
2165
  });
2166
2166
  }
@@ -2626,8 +2626,7 @@ var $;
2626
2626
  return obj;
2627
2627
  }
2628
2628
  hue() {
2629
- const obj = new this.$.NaN();
2630
- return obj;
2629
+ return +NaN;
2631
2630
  }
2632
2631
  Sample() {
2633
2632
  return null;
@@ -2698,9 +2697,6 @@ var $;
2698
2697
  __decorate([
2699
2698
  $mol_mem
2700
2699
  ], $mol_plot_graph.prototype, "Hint", null);
2701
- __decorate([
2702
- $mol_mem
2703
- ], $mol_plot_graph.prototype, "hue", null);
2704
2700
  __decorate([
2705
2701
  $mol_mem
2706
2702
  ], $mol_plot_graph.prototype, "viewport_x", null);
@@ -3358,8 +3354,7 @@ var $;
3358
3354
  hue_base(val) {
3359
3355
  if (val !== undefined)
3360
3356
  return val;
3361
- const obj = new this.$.NaN();
3362
- return obj;
3357
+ return +NaN;
3363
3358
  }
3364
3359
  hue_shift(val) {
3365
3360
  if (val !== undefined)