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.d.ts +3 -3
- package/node.esm.js +4 -9
- package/node.esm.js.map +1 -1
- package/node.js +4 -9
- package/node.js.map +1 -1
- package/node.test.js +4 -9
- package/node.test.js.map +1 -1
- package/node.view.tree +2 -2
- package/package.json +1 -1
- package/web.d.ts +3 -3
- package/web.esm.js +4 -9
- package/web.esm.js.map +1 -1
- package/web.js +4 -9
- package/web.js.map +1 -1
- package/web.view.tree +2 -2
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
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):
|
|
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():
|
|
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):
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3362
|
-
return obj;
|
|
3357
|
+
return +NaN;
|
|
3363
3358
|
}
|
|
3364
3359
|
hue_shift(val) {
|
|
3365
3360
|
if (val !== undefined)
|