mol_plot_all 1.2.647 → 1.2.648
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 +28 -28
- package/node.js +86 -86
- package/node.js.map +1 -1
- package/node.mjs +86 -86
- package/node.test.js +94 -94
- package/node.test.js.map +1 -1
- package/node.view.tree +29 -29
- package/package.json +1 -1
- package/web.d.ts +28 -28
- package/web.js +86 -86
- package/web.js.map +1 -1
- package/web.mjs +86 -86
- package/web.test.js +8 -8
- package/web.test.js.map +1 -1
- package/web.view.tree +29 -29
package/node.d.ts
CHANGED
|
@@ -1121,31 +1121,31 @@ declare namespace $ {
|
|
|
1121
1121
|
|
|
1122
1122
|
declare namespace $ {
|
|
1123
1123
|
class $mol_touch extends $mol_plugin {
|
|
1124
|
-
start_zoom(
|
|
1125
|
-
start_distance(
|
|
1126
|
-
zoom(
|
|
1124
|
+
start_zoom(next?: any): number;
|
|
1125
|
+
start_distance(next?: any): number;
|
|
1126
|
+
zoom(next?: any): number;
|
|
1127
1127
|
allow_draw(): boolean;
|
|
1128
1128
|
allow_pan(): boolean;
|
|
1129
1129
|
allow_zoom(): boolean;
|
|
1130
|
-
action_type(
|
|
1131
|
-
action_point(
|
|
1132
|
-
start_pan(
|
|
1133
|
-
pan(
|
|
1130
|
+
action_type(next?: any): string;
|
|
1131
|
+
action_point(next?: any): $mol_vector_2d<number>;
|
|
1132
|
+
start_pan(next?: any): readonly any[];
|
|
1133
|
+
pan(next?: any): $mol_vector_2d<number>;
|
|
1134
1134
|
pointer_center(): $mol_vector_2d<number>;
|
|
1135
|
-
start_pos(
|
|
1135
|
+
start_pos(next?: any): any;
|
|
1136
1136
|
swipe_precision(): number;
|
|
1137
|
-
swipe_right(
|
|
1138
|
-
swipe_bottom(
|
|
1139
|
-
swipe_left(
|
|
1140
|
-
swipe_top(
|
|
1141
|
-
swipe_from_right(
|
|
1142
|
-
swipe_from_bottom(
|
|
1143
|
-
swipe_from_left(
|
|
1144
|
-
swipe_from_top(
|
|
1145
|
-
swipe_to_right(
|
|
1146
|
-
swipe_to_bottom(
|
|
1147
|
-
swipe_to_left(
|
|
1148
|
-
swipe_to_top(
|
|
1137
|
+
swipe_right(next?: any): any;
|
|
1138
|
+
swipe_bottom(next?: any): any;
|
|
1139
|
+
swipe_left(next?: any): any;
|
|
1140
|
+
swipe_top(next?: any): any;
|
|
1141
|
+
swipe_from_right(next?: any): any;
|
|
1142
|
+
swipe_from_bottom(next?: any): any;
|
|
1143
|
+
swipe_from_left(next?: any): any;
|
|
1144
|
+
swipe_from_top(next?: any): any;
|
|
1145
|
+
swipe_to_right(next?: any): any;
|
|
1146
|
+
swipe_to_bottom(next?: any): any;
|
|
1147
|
+
swipe_to_left(next?: any): any;
|
|
1148
|
+
swipe_to_top(next?: any): any;
|
|
1149
1149
|
draw_start(event?: any): any;
|
|
1150
1150
|
draw(event?: any): any;
|
|
1151
1151
|
draw_end(event?: any): any;
|
|
@@ -1183,8 +1183,8 @@ declare namespace $.$$ {
|
|
|
1183
1183
|
declare namespace $ {
|
|
1184
1184
|
class $mol_plot_pane extends $mol_svg_root {
|
|
1185
1185
|
aspect(): string;
|
|
1186
|
-
hue_base(
|
|
1187
|
-
hue_shift(
|
|
1186
|
+
hue_base(next?: any): number;
|
|
1187
|
+
hue_shift(next?: any): number;
|
|
1188
1188
|
gap_hor(): number;
|
|
1189
1189
|
gap_vert(): number;
|
|
1190
1190
|
gap_left(): number;
|
|
@@ -1194,12 +1194,12 @@ declare namespace $ {
|
|
|
1194
1194
|
gap(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1195
1195
|
shift_limit(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1196
1196
|
shift_default(): $mol_vector_2d<number>;
|
|
1197
|
-
shift(
|
|
1197
|
+
shift(next?: any): $mol_vector_2d<number>;
|
|
1198
1198
|
scale_limit(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1199
1199
|
scale_default(): $mol_vector_2d<number>;
|
|
1200
|
-
scale(
|
|
1201
|
-
scale_x(
|
|
1202
|
-
scale_y(
|
|
1200
|
+
scale(next?: any): $mol_vector_2d<number>;
|
|
1201
|
+
scale_x(next?: any): number;
|
|
1202
|
+
scale_y(next?: any): number;
|
|
1203
1203
|
size(): $mol_vector_2d<number>;
|
|
1204
1204
|
size_real(): $mol_vector_2d<number>;
|
|
1205
1205
|
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
@@ -1221,7 +1221,7 @@ declare namespace $ {
|
|
|
1221
1221
|
graphs(): readonly $mol_plot_graph[];
|
|
1222
1222
|
graphs_positioned(): readonly $mol_plot_graph[];
|
|
1223
1223
|
graphs_visible(): readonly $mol_plot_graph[];
|
|
1224
|
-
zoom(
|
|
1224
|
+
zoom(next?: any): number;
|
|
1225
1225
|
allow_draw(): boolean;
|
|
1226
1226
|
allow_pan(): boolean;
|
|
1227
1227
|
allow_zoom(): boolean;
|
|
@@ -1476,7 +1476,7 @@ declare namespace $ {
|
|
|
1476
1476
|
dimensions_axis(): $mol_vector_range<number>;
|
|
1477
1477
|
viewport_axis(): $mol_vector_range<number>;
|
|
1478
1478
|
axis_points(): readonly number[];
|
|
1479
|
-
normalize(
|
|
1479
|
+
normalize(next?: any): number;
|
|
1480
1480
|
precision(): number;
|
|
1481
1481
|
sub(): readonly any[];
|
|
1482
1482
|
Label(id: any): $$.$mol_svg_text;
|
package/node.js
CHANGED
|
@@ -3548,19 +3548,19 @@ var $;
|
|
|
3548
3548
|
var $;
|
|
3549
3549
|
(function ($) {
|
|
3550
3550
|
class $mol_touch extends $mol_plugin {
|
|
3551
|
-
start_zoom(
|
|
3552
|
-
if (
|
|
3553
|
-
return
|
|
3551
|
+
start_zoom(next) {
|
|
3552
|
+
if (next !== undefined)
|
|
3553
|
+
return next;
|
|
3554
3554
|
return 0;
|
|
3555
3555
|
}
|
|
3556
|
-
start_distance(
|
|
3557
|
-
if (
|
|
3558
|
-
return
|
|
3556
|
+
start_distance(next) {
|
|
3557
|
+
if (next !== undefined)
|
|
3558
|
+
return next;
|
|
3559
3559
|
return 0;
|
|
3560
3560
|
}
|
|
3561
|
-
zoom(
|
|
3562
|
-
if (
|
|
3563
|
-
return
|
|
3561
|
+
zoom(next) {
|
|
3562
|
+
if (next !== undefined)
|
|
3563
|
+
return next;
|
|
3564
3564
|
return 1;
|
|
3565
3565
|
}
|
|
3566
3566
|
allow_draw() {
|
|
@@ -3572,28 +3572,28 @@ var $;
|
|
|
3572
3572
|
allow_zoom() {
|
|
3573
3573
|
return true;
|
|
3574
3574
|
}
|
|
3575
|
-
action_type(
|
|
3576
|
-
if (
|
|
3577
|
-
return
|
|
3575
|
+
action_type(next) {
|
|
3576
|
+
if (next !== undefined)
|
|
3577
|
+
return next;
|
|
3578
3578
|
return "";
|
|
3579
3579
|
}
|
|
3580
|
-
action_point(
|
|
3581
|
-
if (
|
|
3582
|
-
return
|
|
3580
|
+
action_point(next) {
|
|
3581
|
+
if (next !== undefined)
|
|
3582
|
+
return next;
|
|
3583
3583
|
const obj = new this.$.$mol_vector_2d(NaN, NaN);
|
|
3584
3584
|
return obj;
|
|
3585
3585
|
}
|
|
3586
|
-
start_pan(
|
|
3587
|
-
if (
|
|
3588
|
-
return
|
|
3586
|
+
start_pan(next) {
|
|
3587
|
+
if (next !== undefined)
|
|
3588
|
+
return next;
|
|
3589
3589
|
return [
|
|
3590
3590
|
0,
|
|
3591
3591
|
0
|
|
3592
3592
|
];
|
|
3593
3593
|
}
|
|
3594
|
-
pan(
|
|
3595
|
-
if (
|
|
3596
|
-
return
|
|
3594
|
+
pan(next) {
|
|
3595
|
+
if (next !== undefined)
|
|
3596
|
+
return next;
|
|
3597
3597
|
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
3598
3598
|
return obj;
|
|
3599
3599
|
}
|
|
@@ -3601,72 +3601,72 @@ var $;
|
|
|
3601
3601
|
const obj = new this.$.$mol_vector_2d(NaN, NaN);
|
|
3602
3602
|
return obj;
|
|
3603
3603
|
}
|
|
3604
|
-
start_pos(
|
|
3605
|
-
if (
|
|
3606
|
-
return
|
|
3604
|
+
start_pos(next) {
|
|
3605
|
+
if (next !== undefined)
|
|
3606
|
+
return next;
|
|
3607
3607
|
return null;
|
|
3608
3608
|
}
|
|
3609
3609
|
swipe_precision() {
|
|
3610
3610
|
return 16;
|
|
3611
3611
|
}
|
|
3612
|
-
swipe_right(
|
|
3613
|
-
if (
|
|
3614
|
-
return
|
|
3612
|
+
swipe_right(next) {
|
|
3613
|
+
if (next !== undefined)
|
|
3614
|
+
return next;
|
|
3615
3615
|
return null;
|
|
3616
3616
|
}
|
|
3617
|
-
swipe_bottom(
|
|
3618
|
-
if (
|
|
3619
|
-
return
|
|
3617
|
+
swipe_bottom(next) {
|
|
3618
|
+
if (next !== undefined)
|
|
3619
|
+
return next;
|
|
3620
3620
|
return null;
|
|
3621
3621
|
}
|
|
3622
|
-
swipe_left(
|
|
3623
|
-
if (
|
|
3624
|
-
return
|
|
3622
|
+
swipe_left(next) {
|
|
3623
|
+
if (next !== undefined)
|
|
3624
|
+
return next;
|
|
3625
3625
|
return null;
|
|
3626
3626
|
}
|
|
3627
|
-
swipe_top(
|
|
3628
|
-
if (
|
|
3629
|
-
return
|
|
3627
|
+
swipe_top(next) {
|
|
3628
|
+
if (next !== undefined)
|
|
3629
|
+
return next;
|
|
3630
3630
|
return null;
|
|
3631
3631
|
}
|
|
3632
|
-
swipe_from_right(
|
|
3633
|
-
if (
|
|
3634
|
-
return
|
|
3632
|
+
swipe_from_right(next) {
|
|
3633
|
+
if (next !== undefined)
|
|
3634
|
+
return next;
|
|
3635
3635
|
return null;
|
|
3636
3636
|
}
|
|
3637
|
-
swipe_from_bottom(
|
|
3638
|
-
if (
|
|
3639
|
-
return
|
|
3637
|
+
swipe_from_bottom(next) {
|
|
3638
|
+
if (next !== undefined)
|
|
3639
|
+
return next;
|
|
3640
3640
|
return null;
|
|
3641
3641
|
}
|
|
3642
|
-
swipe_from_left(
|
|
3643
|
-
if (
|
|
3644
|
-
return
|
|
3642
|
+
swipe_from_left(next) {
|
|
3643
|
+
if (next !== undefined)
|
|
3644
|
+
return next;
|
|
3645
3645
|
return null;
|
|
3646
3646
|
}
|
|
3647
|
-
swipe_from_top(
|
|
3648
|
-
if (
|
|
3649
|
-
return
|
|
3647
|
+
swipe_from_top(next) {
|
|
3648
|
+
if (next !== undefined)
|
|
3649
|
+
return next;
|
|
3650
3650
|
return null;
|
|
3651
3651
|
}
|
|
3652
|
-
swipe_to_right(
|
|
3653
|
-
if (
|
|
3654
|
-
return
|
|
3652
|
+
swipe_to_right(next) {
|
|
3653
|
+
if (next !== undefined)
|
|
3654
|
+
return next;
|
|
3655
3655
|
return null;
|
|
3656
3656
|
}
|
|
3657
|
-
swipe_to_bottom(
|
|
3658
|
-
if (
|
|
3659
|
-
return
|
|
3657
|
+
swipe_to_bottom(next) {
|
|
3658
|
+
if (next !== undefined)
|
|
3659
|
+
return next;
|
|
3660
3660
|
return null;
|
|
3661
3661
|
}
|
|
3662
|
-
swipe_to_left(
|
|
3663
|
-
if (
|
|
3664
|
-
return
|
|
3662
|
+
swipe_to_left(next) {
|
|
3663
|
+
if (next !== undefined)
|
|
3664
|
+
return next;
|
|
3665
3665
|
return null;
|
|
3666
3666
|
}
|
|
3667
|
-
swipe_to_top(
|
|
3668
|
-
if (
|
|
3669
|
-
return
|
|
3667
|
+
swipe_to_top(next) {
|
|
3668
|
+
if (next !== undefined)
|
|
3669
|
+
return next;
|
|
3670
3670
|
return null;
|
|
3671
3671
|
}
|
|
3672
3672
|
draw_start(event) {
|
|
@@ -4071,14 +4071,14 @@ var $;
|
|
|
4071
4071
|
aspect() {
|
|
4072
4072
|
return "none";
|
|
4073
4073
|
}
|
|
4074
|
-
hue_base(
|
|
4075
|
-
if (
|
|
4076
|
-
return
|
|
4074
|
+
hue_base(next) {
|
|
4075
|
+
if (next !== undefined)
|
|
4076
|
+
return next;
|
|
4077
4077
|
return +NaN;
|
|
4078
4078
|
}
|
|
4079
|
-
hue_shift(
|
|
4080
|
-
if (
|
|
4081
|
-
return
|
|
4079
|
+
hue_shift(next) {
|
|
4080
|
+
if (next !== undefined)
|
|
4081
|
+
return next;
|
|
4082
4082
|
return 111;
|
|
4083
4083
|
}
|
|
4084
4084
|
gap_hor() {
|
|
@@ -4111,9 +4111,9 @@ var $;
|
|
|
4111
4111
|
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
4112
4112
|
return obj;
|
|
4113
4113
|
}
|
|
4114
|
-
shift(
|
|
4115
|
-
if (
|
|
4116
|
-
return
|
|
4114
|
+
shift(next) {
|
|
4115
|
+
if (next !== undefined)
|
|
4116
|
+
return next;
|
|
4117
4117
|
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
4118
4118
|
return obj;
|
|
4119
4119
|
}
|
|
@@ -4125,20 +4125,20 @@ var $;
|
|
|
4125
4125
|
const obj = new this.$.$mol_vector_2d(0, 0);
|
|
4126
4126
|
return obj;
|
|
4127
4127
|
}
|
|
4128
|
-
scale(
|
|
4129
|
-
if (
|
|
4130
|
-
return
|
|
4128
|
+
scale(next) {
|
|
4129
|
+
if (next !== undefined)
|
|
4130
|
+
return next;
|
|
4131
4131
|
const obj = new this.$.$mol_vector_2d(1, -1);
|
|
4132
4132
|
return obj;
|
|
4133
4133
|
}
|
|
4134
|
-
scale_x(
|
|
4135
|
-
if (
|
|
4136
|
-
return
|
|
4134
|
+
scale_x(next) {
|
|
4135
|
+
if (next !== undefined)
|
|
4136
|
+
return next;
|
|
4137
4137
|
return 1;
|
|
4138
4138
|
}
|
|
4139
|
-
scale_y(
|
|
4140
|
-
if (
|
|
4141
|
-
return
|
|
4139
|
+
scale_y(next) {
|
|
4140
|
+
if (next !== undefined)
|
|
4141
|
+
return next;
|
|
4142
4142
|
return -1;
|
|
4143
4143
|
}
|
|
4144
4144
|
size() {
|
|
@@ -4221,9 +4221,9 @@ var $;
|
|
|
4221
4221
|
graphs_visible() {
|
|
4222
4222
|
return this.graphs_positioned();
|
|
4223
4223
|
}
|
|
4224
|
-
zoom(
|
|
4225
|
-
if (
|
|
4226
|
-
return
|
|
4224
|
+
zoom(next) {
|
|
4225
|
+
if (next !== undefined)
|
|
4226
|
+
return next;
|
|
4227
4227
|
return 1;
|
|
4228
4228
|
}
|
|
4229
4229
|
allow_draw() {
|
|
@@ -4261,8 +4261,8 @@ var $;
|
|
|
4261
4261
|
}
|
|
4262
4262
|
Touch() {
|
|
4263
4263
|
const obj = new this.$.$mol_touch();
|
|
4264
|
-
obj.zoom = (
|
|
4265
|
-
obj.pan = (
|
|
4264
|
+
obj.zoom = (next) => this.zoom(next);
|
|
4265
|
+
obj.pan = (next) => this.shift(next);
|
|
4266
4266
|
obj.allow_draw = () => this.allow_draw();
|
|
4267
4267
|
obj.allow_pan = () => this.allow_pan();
|
|
4268
4268
|
obj.allow_zoom = () => this.allow_zoom();
|
|
@@ -5425,9 +5425,9 @@ var $;
|
|
|
5425
5425
|
axis_points() {
|
|
5426
5426
|
return [];
|
|
5427
5427
|
}
|
|
5428
|
-
normalize(
|
|
5429
|
-
if (
|
|
5430
|
-
return
|
|
5428
|
+
normalize(next) {
|
|
5429
|
+
if (next !== undefined)
|
|
5430
|
+
return next;
|
|
5431
5431
|
return 0;
|
|
5432
5432
|
}
|
|
5433
5433
|
precision() {
|