mol_plot_all 1.2.125 → 1.2.129
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 +6 -8
- package/node.deps.json +1 -1
- package/node.esm.js +34 -40
- package/node.esm.js.map +1 -1
- package/node.js +34 -40
- package/node.js.map +1 -1
- package/node.test.js +34 -40
- package/node.test.js.map +1 -1
- package/node.view.tree +7 -2
- package/package.json +1 -1
- package/web.d.ts +6 -8
- package/web.deps.json +1 -1
- package/web.esm.js +34 -40
- package/web.esm.js.map +1 -1
- package/web.js +34 -40
- package/web.js.map +1 -1
- package/web.view.tree +7 -2
package/node.view.tree
CHANGED
|
@@ -94,6 +94,9 @@ $mol_touch $mol_plugin
|
|
|
94
94
|
start_zoom?val 0
|
|
95
95
|
start_distance?val 0
|
|
96
96
|
zoom?val 1
|
|
97
|
+
allow_draw true
|
|
98
|
+
allow_pan true
|
|
99
|
+
allow_zoom true
|
|
97
100
|
action_type?val \
|
|
98
101
|
action_point?val $mol_vector_2d /
|
|
99
102
|
NaN
|
|
@@ -141,7 +144,6 @@ $mol_touch $mol_plugin
|
|
|
141
144
|
pointerup?event <=> event_end?event null
|
|
142
145
|
pointerleave?event <=> event_end?event null
|
|
143
146
|
wheel?event <=> event_wheel?event null
|
|
144
|
-
contextmenu?event <=> event_menu?event null
|
|
145
147
|
|
|
146
148
|
$mol_plot_pane $mol_svg_root
|
|
147
149
|
aspect \none
|
|
@@ -221,10 +223,13 @@ $mol_plot_pane $mol_svg_root
|
|
|
221
223
|
zoom?val <=> zoom?val 1
|
|
222
224
|
pan?val <=> shift?val
|
|
223
225
|
pointer_center => cursor_position
|
|
226
|
+
allow_draw <= allow_draw true
|
|
227
|
+
allow_pan <= allow_pan true
|
|
228
|
+
allow_zoom <= allow_zoom true
|
|
224
229
|
action_type => action_type
|
|
225
230
|
action_point => action_point
|
|
226
231
|
draw?event <=> draw?event null
|
|
227
|
-
event *
|
|
232
|
+
- event *
|
|
228
233
|
^
|
|
229
234
|
dblclick?event <=> reset?event null
|
|
230
235
|
|
package/package.json
CHANGED
package/web.d.ts
CHANGED
|
@@ -805,6 +805,9 @@ declare namespace $ {
|
|
|
805
805
|
start_zoom(val?: any): number;
|
|
806
806
|
start_distance(val?: any): number;
|
|
807
807
|
zoom(val?: any): number;
|
|
808
|
+
allow_draw(): boolean;
|
|
809
|
+
allow_pan(): boolean;
|
|
810
|
+
allow_zoom(): boolean;
|
|
808
811
|
action_type(val?: any): string;
|
|
809
812
|
action_point(val?: any): $mol_vector_2d<number>;
|
|
810
813
|
start_pan(val?: any): readonly any[];
|
|
@@ -835,13 +838,11 @@ declare namespace $ {
|
|
|
835
838
|
pointerup: (event?: any) => any;
|
|
836
839
|
pointerleave: (event?: any) => any;
|
|
837
840
|
wheel: (event?: any) => any;
|
|
838
|
-
contextmenu: (event?: any) => any;
|
|
839
841
|
};
|
|
840
842
|
event_start(event?: any): any;
|
|
841
843
|
event_move(event?: any): any;
|
|
842
844
|
event_end(event?: any): any;
|
|
843
845
|
event_wheel(event?: any): any;
|
|
844
|
-
event_menu(event?: any): any;
|
|
845
846
|
}
|
|
846
847
|
}
|
|
847
848
|
|
|
@@ -861,8 +862,6 @@ declare namespace $.$$ {
|
|
|
861
862
|
swipe_right(event: PointerEvent): void;
|
|
862
863
|
swipe_top(event: PointerEvent): void;
|
|
863
864
|
swipe_bottom(event: PointerEvent): void;
|
|
864
|
-
_menu_mute: boolean;
|
|
865
|
-
event_menu(event: PointerEvent): void;
|
|
866
865
|
event_wheel(event: WheelEvent): void;
|
|
867
866
|
}
|
|
868
867
|
}
|
|
@@ -894,9 +893,6 @@ declare namespace $ {
|
|
|
894
893
|
sub(): readonly $mol_svg[];
|
|
895
894
|
graphs_colored(): readonly $mol_plot_graph[];
|
|
896
895
|
plugins(): readonly any[];
|
|
897
|
-
event(): {
|
|
898
|
-
dblclick: (event?: any) => any;
|
|
899
|
-
};
|
|
900
896
|
gap_x(): $mol_vector_range<number>;
|
|
901
897
|
gap_y(): $mol_vector_range<number>;
|
|
902
898
|
shift_limit_x(): $mol_vector_range<number>;
|
|
@@ -912,12 +908,14 @@ declare namespace $ {
|
|
|
912
908
|
graphs_visible(): readonly $mol_plot_graph[];
|
|
913
909
|
graphs_positioned(): readonly $mol_plot_graph[];
|
|
914
910
|
zoom(val?: any): number;
|
|
911
|
+
allow_draw(): boolean;
|
|
912
|
+
allow_pan(): boolean;
|
|
913
|
+
allow_zoom(): boolean;
|
|
915
914
|
draw(event?: any): any;
|
|
916
915
|
cursor_position(): $mol_vector_2d<number>;
|
|
917
916
|
action_type(): string;
|
|
918
917
|
action_point(): $mol_vector_2d<number>;
|
|
919
918
|
Touch(): $$.$mol_touch;
|
|
920
|
-
reset(event?: any): any;
|
|
921
919
|
}
|
|
922
920
|
}
|
|
923
921
|
|