mol_plot_all 1.2.244 → 1.2.247
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 +48 -10
- package/node.deps.json +1 -1
- package/node.esm.js +129 -54
- package/node.esm.js.map +1 -1
- package/node.js +129 -54
- package/node.js.map +1 -1
- package/node.test.js +254 -166
- package/node.test.js.map +1 -1
- package/node.view.tree +1 -1
- package/package.json +4 -2
- package/web.d.ts +19 -10
- package/web.deps.json +1 -1
- package/web.esm.js +79 -63
- package/web.esm.js.map +1 -1
- package/web.js +79 -63
- package/web.js.map +1 -1
- package/web.test.js +115 -102
- package/web.test.js.map +1 -1
- package/web.view.tree +1 -1
package/node.view.tree
CHANGED
|
@@ -218,7 +218,7 @@ $mol_plot_pane $mol_svg_root
|
|
|
218
218
|
-Infinity
|
|
219
219
|
-
|
|
220
220
|
sub <= graphs_sorted /$mol_svg
|
|
221
|
-
graphs_colored <=
|
|
221
|
+
graphs_colored <= graphs_visible <= graphs_positioned <= graphs /$mol_plot_graph
|
|
222
222
|
-
|
|
223
223
|
plugins /
|
|
224
224
|
^
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mol_plot_all",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.247",
|
|
4
4
|
"main": "node.js",
|
|
5
5
|
"module": "node.esm.js",
|
|
6
6
|
"browser": "web.js",
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
"$mol_exec",
|
|
30
30
|
"$mol_log3",
|
|
31
31
|
"$mol_tree",
|
|
32
|
+
"$mol_term_color",
|
|
33
|
+
"$mol_term",
|
|
32
34
|
"$mol_env",
|
|
33
35
|
"$mol_svg_root",
|
|
34
36
|
"$mol_svg",
|
|
@@ -65,6 +67,7 @@
|
|
|
65
67
|
"$mol_memo",
|
|
66
68
|
"$mol_wrapper",
|
|
67
69
|
"$mol_dom_qname",
|
|
70
|
+
"$mol_wire_watch",
|
|
68
71
|
"$mol_const",
|
|
69
72
|
"$mol_dom_render_attributes",
|
|
70
73
|
"$mol_dom_render",
|
|
@@ -113,7 +116,6 @@
|
|
|
113
116
|
"$mol_plot_mark_hor"
|
|
114
117
|
],
|
|
115
118
|
"dependencies": {
|
|
116
|
-
"colorette": "*",
|
|
117
119
|
"jsdom": "*"
|
|
118
120
|
}
|
|
119
121
|
}
|
package/web.d.ts
CHANGED
|
@@ -205,7 +205,7 @@ declare namespace $ {
|
|
|
205
205
|
sub_off(sub_pos: number): void;
|
|
206
206
|
reap(): void;
|
|
207
207
|
promote(): void;
|
|
208
|
-
|
|
208
|
+
fresh(): void;
|
|
209
209
|
complete(): void;
|
|
210
210
|
emit(quant?: $mol_wire_cursor): void;
|
|
211
211
|
peer_move(from_pos: number, to_pos: number): void;
|
|
@@ -281,7 +281,6 @@ declare namespace $ {
|
|
|
281
281
|
class $mol_after_frame extends $mol_object2 {
|
|
282
282
|
task: () => void;
|
|
283
283
|
static _promise: Promise<void> | null;
|
|
284
|
-
static _timeout: any;
|
|
285
284
|
static get promise(): Promise<void>;
|
|
286
285
|
cancelled: boolean;
|
|
287
286
|
promise: Promise<void>;
|
|
@@ -311,6 +310,7 @@ declare namespace $ {
|
|
|
311
310
|
toJSON(): any;
|
|
312
311
|
get $(): any;
|
|
313
312
|
emit(quant?: $mol_wire_cursor): void;
|
|
313
|
+
fresh(): void;
|
|
314
314
|
refresh(): void;
|
|
315
315
|
abstract put(next: Result | Error | Promise<Result | Error>): Result | Error | Promise<Result | Error>;
|
|
316
316
|
sync(): Awaited<Result>;
|
|
@@ -354,6 +354,9 @@ declare namespace $ {
|
|
|
354
354
|
declare namespace $ {
|
|
355
355
|
class $mol_wire_atom<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
|
|
356
356
|
static getter<Host, Args extends readonly unknown[], Result>(task: (this: Host, ...args: Args) => Result, keys: number): (host: Host, args: Args) => $mol_wire_atom<Host, [...Args], Result>;
|
|
357
|
+
static watching: Set<$mol_wire_atom<any, any, any>>;
|
|
358
|
+
static watch(): void;
|
|
359
|
+
watch(): void;
|
|
357
360
|
resync(args: Args): Error | Result | Promise<Error | Result>;
|
|
358
361
|
once(): Awaited<Result>;
|
|
359
362
|
destructor(): void;
|
|
@@ -460,6 +463,10 @@ declare namespace $ {
|
|
|
460
463
|
function $mol_dom_qname(name: string): string;
|
|
461
464
|
}
|
|
462
465
|
|
|
466
|
+
declare namespace $ {
|
|
467
|
+
function $mol_wire_watch(): void;
|
|
468
|
+
}
|
|
469
|
+
|
|
463
470
|
declare namespace $ {
|
|
464
471
|
function $mol_const<Value>(value: Value): {
|
|
465
472
|
(): Value;
|
|
@@ -474,7 +481,7 @@ declare namespace $ {
|
|
|
474
481
|
}
|
|
475
482
|
|
|
476
483
|
declare namespace $ {
|
|
477
|
-
function $mol_wire_async<Host extends object>(obj: Host): { [key in keyof Host]: Host[key] extends (...args: infer
|
|
484
|
+
function $mol_wire_async<Host extends object>(obj: Host): (Host extends (...args: infer Args) => infer Res ? Res extends Promise<any> ? Host : (...args: Args) => Promise<Res> : {}) & { [key in keyof Host]: Host[key] extends (...args: infer Args_1) => infer Res_1 ? Res_1 extends Promise<any> ? Host[key] : (...args: Args_1) => Promise<Res_1> : Host[key]; };
|
|
478
485
|
}
|
|
479
486
|
|
|
480
487
|
declare namespace $ {
|
|
@@ -528,10 +535,13 @@ declare namespace $ {
|
|
|
528
535
|
maximal_width(): number;
|
|
529
536
|
minimal_height(): number;
|
|
530
537
|
static watchers: Set<$mol_view>;
|
|
531
|
-
view_rect():
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
538
|
+
view_rect(): {
|
|
539
|
+
width: number;
|
|
540
|
+
height: number;
|
|
541
|
+
left: number;
|
|
542
|
+
right: number;
|
|
543
|
+
top: number;
|
|
544
|
+
bottom: number;
|
|
535
545
|
};
|
|
536
546
|
dom_id(): any;
|
|
537
547
|
dom_node(next?: Element): Element;
|
|
@@ -902,8 +912,8 @@ declare namespace $ {
|
|
|
902
912
|
dimensions_viewport_y(): $mol_vector_range<number>;
|
|
903
913
|
graphs_sorted(): readonly $mol_svg[];
|
|
904
914
|
graphs(): readonly $mol_plot_graph[];
|
|
905
|
-
graphs_visible(): readonly $mol_plot_graph[];
|
|
906
915
|
graphs_positioned(): readonly $mol_plot_graph[];
|
|
916
|
+
graphs_visible(): readonly $mol_plot_graph[];
|
|
907
917
|
zoom(val?: any): number;
|
|
908
918
|
allow_draw(): boolean;
|
|
909
919
|
allow_pan(): boolean;
|
|
@@ -948,7 +958,7 @@ declare namespace $.$$ {
|
|
|
948
958
|
shift(next?: $mol_vector_2d<number>): $mol_vector_2d<number>;
|
|
949
959
|
reset(event?: Event): void;
|
|
950
960
|
graphs_visible(): $.$mol_plot_graph[];
|
|
951
|
-
graphs_positioned(): $.$mol_plot_graph[];
|
|
961
|
+
graphs_positioned(): readonly $.$mol_plot_graph[];
|
|
952
962
|
dimensions_viewport(): $mol_vector<$mol_vector_range<number>, 2>;
|
|
953
963
|
viewport(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
954
964
|
graphs_sorted(): $.$mol_svg[];
|
|
@@ -1042,7 +1052,6 @@ declare namespace $.$$ {
|
|
|
1042
1052
|
filled(): Set<number>;
|
|
1043
1053
|
indexes(): number[];
|
|
1044
1054
|
curve(): string;
|
|
1045
|
-
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1046
1055
|
}
|
|
1047
1056
|
}
|
|
1048
1057
|
|