mol_plot_all 1.2.205 → 1.2.208
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 +1448 -0
- package/node.deps.json +1 -1
- package/node.esm.js +4447 -4349
- package/node.esm.js.map +1 -1
- package/node.js +4447 -4349
- package/node.js.map +1 -1
- package/node.test.js +5150 -4998
- package/node.test.js.map +1 -1
- package/node.view.tree +1 -0
- package/package.json +111 -3
- package/web.d.ts +1387 -0
- package/web.deps.json +1 -1
- package/web.esm.js +689 -670
- package/web.esm.js.map +1 -1
- package/web.js +689 -670
- package/web.js.map +1 -1
- package/web.test.js +496 -364
- package/web.test.js.map +1 -1
- package/web.view.tree +1 -0
package/web.d.ts
CHANGED
|
@@ -1,2 +1,1389 @@
|
|
|
1
|
+
declare let _$_: {
|
|
2
|
+
new (): {};
|
|
3
|
+
} & typeof globalThis;
|
|
4
|
+
declare class $ extends _$_ {
|
|
5
|
+
}
|
|
6
|
+
declare namespace $ {
|
|
7
|
+
export type $ = typeof $$;
|
|
8
|
+
export class $$ extends $ {
|
|
9
|
+
}
|
|
10
|
+
namespace $$ {
|
|
11
|
+
type $$ = $;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare namespace $ {
|
|
17
|
+
const $mol_ambient_ref: unique symbol;
|
|
18
|
+
type $mol_ambient_context = $;
|
|
19
|
+
function $mol_ambient(this: $ | void, overrides: Partial<$>): $;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare namespace $ {
|
|
23
|
+
function $mol_delegate<Value extends object>(proto: Value, target: () => Value): Value;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare namespace $ {
|
|
27
|
+
const $mol_owning_map: WeakMap<any, any>;
|
|
28
|
+
function $mol_owning_allow<Having>(having: Having): having is Having & {
|
|
29
|
+
destructor(): void;
|
|
30
|
+
};
|
|
31
|
+
function $mol_owning_get<Having, Owner extends object>(having: Having, Owner?: {
|
|
32
|
+
new (): Owner;
|
|
33
|
+
}): Owner | null;
|
|
34
|
+
function $mol_owning_check<Owner, Having>(owner: Owner, having: Having): having is Having & {
|
|
35
|
+
destructor(): void;
|
|
36
|
+
};
|
|
37
|
+
function $mol_owning_catch<Owner, Having>(owner: Owner, having: Having): boolean;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare namespace $ {
|
|
41
|
+
function $mol_fail(error: any): never;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare namespace $ {
|
|
45
|
+
function $mol_fail_hidden(error: any): never;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare namespace $ {
|
|
49
|
+
type $mol_type_writable<T> = {
|
|
50
|
+
-readonly [P in keyof T]: T[P];
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
declare namespace $ {
|
|
55
|
+
class $mol_object2 {
|
|
56
|
+
static $: typeof $$;
|
|
57
|
+
[$mol_ambient_ref]: typeof $$;
|
|
58
|
+
get $(): $;
|
|
59
|
+
set $(next: $);
|
|
60
|
+
static create<Instance>(this: new (init?: (instance: any) => void) => Instance, init?: (instance: $mol_type_writable<Instance>) => void): Instance;
|
|
61
|
+
static [Symbol.toPrimitive](): any;
|
|
62
|
+
static toString(): any;
|
|
63
|
+
destructor(): void;
|
|
64
|
+
toString(): any;
|
|
65
|
+
toJSON(): any;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
declare namespace $ {
|
|
70
|
+
class $mol_after_tick extends $mol_object2 {
|
|
71
|
+
task: () => void;
|
|
72
|
+
promise: any;
|
|
73
|
+
cancelled: boolean;
|
|
74
|
+
constructor(task: () => void);
|
|
75
|
+
destructor(): void;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
declare namespace $ {
|
|
80
|
+
var $mol_dom_context: typeof globalThis;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
declare namespace $ {
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
declare namespace $ {
|
|
87
|
+
function $mol_style_attach(id: string, text: string): HTMLStyleElement | null;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare namespace $ {
|
|
91
|
+
class $mol_decor<Value> {
|
|
92
|
+
readonly value: Value;
|
|
93
|
+
constructor(value: Value);
|
|
94
|
+
prefix(): string;
|
|
95
|
+
valueOf(): Value;
|
|
96
|
+
postfix(): string;
|
|
97
|
+
toString(): string;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
declare namespace $ {
|
|
102
|
+
type $mol_style_unit_length = '%' | 'px' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'cap' | 'ch' | 'em' | 'rem' | 'ex' | 'ic' | 'lh' | 'rlh' | 'vh' | 'vw' | 'vi' | 'vb' | 'vmin' | 'vmax';
|
|
103
|
+
type $mol_style_unit_angle = 'deg' | 'rad' | 'grad' | 'turn';
|
|
104
|
+
type $mol_style_unit_time = 's' | 'ms';
|
|
105
|
+
type $mol_style_unit_any = $mol_style_unit_length | $mol_style_unit_angle | $mol_style_unit_time;
|
|
106
|
+
class $mol_style_unit<Literal extends $mol_style_unit_any> extends $mol_decor<number> {
|
|
107
|
+
readonly literal: Literal;
|
|
108
|
+
constructor(value: number, literal: Literal);
|
|
109
|
+
postfix(): Literal;
|
|
110
|
+
static per(value: number): $mol_style_unit<"%">;
|
|
111
|
+
static px(value: number): $mol_style_unit<"px">;
|
|
112
|
+
static mm(value: number): $mol_style_unit<"mm">;
|
|
113
|
+
static cm(value: number): $mol_style_unit<"cm">;
|
|
114
|
+
static Q(value: number): $mol_style_unit<"Q">;
|
|
115
|
+
static in(value: number): $mol_style_unit<"in">;
|
|
116
|
+
static pc(value: number): $mol_style_unit<"pc">;
|
|
117
|
+
static pt(value: number): $mol_style_unit<"pt">;
|
|
118
|
+
static cap(value: number): $mol_style_unit<"cap">;
|
|
119
|
+
static ch(value: number): $mol_style_unit<"ch">;
|
|
120
|
+
static em(value: number): $mol_style_unit<"em">;
|
|
121
|
+
static rem(value: number): $mol_style_unit<"rem">;
|
|
122
|
+
static ex(value: number): $mol_style_unit<"ex">;
|
|
123
|
+
static ic(value: number): $mol_style_unit<"ic">;
|
|
124
|
+
static lh(value: number): $mol_style_unit<"lh">;
|
|
125
|
+
static rlh(value: number): $mol_style_unit<"rlh">;
|
|
126
|
+
static vh(value: number): $mol_style_unit<"vh">;
|
|
127
|
+
static vw(value: number): $mol_style_unit<"vw">;
|
|
128
|
+
static vi(value: number): $mol_style_unit<"vi">;
|
|
129
|
+
static vb(value: number): $mol_style_unit<"vb">;
|
|
130
|
+
static vmin(value: number): $mol_style_unit<"vmin">;
|
|
131
|
+
static vmax(value: number): $mol_style_unit<"vmax">;
|
|
132
|
+
static deg(value: number): $mol_style_unit<"deg">;
|
|
133
|
+
static rad(value: number): $mol_style_unit<"rad">;
|
|
134
|
+
static grad(value: number): $mol_style_unit<"grad">;
|
|
135
|
+
static turn(value: number): $mol_style_unit<"turn">;
|
|
136
|
+
static s(value: number): $mol_style_unit<"s">;
|
|
137
|
+
static ms(value: number): $mol_style_unit<"ms">;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
declare namespace $ {
|
|
142
|
+
type $mol_style_func_name = 'calc' | 'hsla' | 'rgba' | 'var' | 'clamp' | 'url' | 'scale';
|
|
143
|
+
class $mol_style_func<Name extends $mol_style_func_name, Value = unknown> extends $mol_decor<Value> {
|
|
144
|
+
readonly name: Name;
|
|
145
|
+
constructor(name: Name, value: Value);
|
|
146
|
+
prefix(): string;
|
|
147
|
+
postfix(): string;
|
|
148
|
+
static calc<Value>(value: Value): $mol_style_func<"calc", Value>;
|
|
149
|
+
static vary<Name extends string>(name: Name): $mol_style_func<"var", Name>;
|
|
150
|
+
static url<Href extends string>(href: Href): $mol_style_func<"url", string>;
|
|
151
|
+
static hsla(hue: number, saturation: number, lightness: number, alpha: number): $mol_style_func<"hsla", (number | $mol_style_unit<"%">)[]>;
|
|
152
|
+
static clamp(min: $mol_style_unit<any>, mid: $mol_style_unit<any>, max: $mol_style_unit<any>): $mol_style_func<"clamp", $mol_style_unit<any>[]>;
|
|
153
|
+
static rgba(red: number, green: number, blue: number, alpha: number): $mol_style_func<"rgba", number[]>;
|
|
154
|
+
static scale(zoom: number): $mol_style_func<"scale", number[]>;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
declare namespace $ {
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
declare namespace $ {
|
|
162
|
+
const $mol_theme: {
|
|
163
|
+
back: $mol_style_func<"var", "--mol_theme_back">;
|
|
164
|
+
hover: $mol_style_func<"var", "--mol_theme_hover">;
|
|
165
|
+
card: $mol_style_func<"var", "--mol_theme_card">;
|
|
166
|
+
current: $mol_style_func<"var", "--mol_theme_current">;
|
|
167
|
+
text: $mol_style_func<"var", "--mol_theme_text">;
|
|
168
|
+
control: $mol_style_func<"var", "--mol_theme_control">;
|
|
169
|
+
shade: $mol_style_func<"var", "--mol_theme_shade">;
|
|
170
|
+
line: $mol_style_func<"var", "--mol_theme_line">;
|
|
171
|
+
focus: $mol_style_func<"var", "--mol_theme_focus">;
|
|
172
|
+
field: $mol_style_func<"var", "--mol_theme_field">;
|
|
173
|
+
image: $mol_style_func<"var", "--mol_theme_image">;
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
declare namespace $ {
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
declare namespace $ {
|
|
181
|
+
namespace $$ { }
|
|
182
|
+
const $mol_object_field: unique symbol;
|
|
183
|
+
class $mol_object extends $mol_object2 {
|
|
184
|
+
static make<Instance>(this: {
|
|
185
|
+
new (): Instance;
|
|
186
|
+
}, config: Partial<Instance>): Instance;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
declare namespace $ {
|
|
191
|
+
enum $mol_wire_cursor {
|
|
192
|
+
stale = -1,
|
|
193
|
+
doubt = -2,
|
|
194
|
+
fresh = -3,
|
|
195
|
+
final = -4
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
declare namespace $ {
|
|
200
|
+
class $mol_wire_pub extends Object {
|
|
201
|
+
data: unknown[];
|
|
202
|
+
static get [Symbol.species](): ArrayConstructor;
|
|
203
|
+
protected sub_from: number;
|
|
204
|
+
get sub_list(): readonly $mol_wire_sub[];
|
|
205
|
+
get sub_empty(): boolean;
|
|
206
|
+
sub_on(sub: $mol_wire_pub, pub_pos: number): number;
|
|
207
|
+
sub_off(sub_pos: number): void;
|
|
208
|
+
reap(): void;
|
|
209
|
+
promote(): void;
|
|
210
|
+
refresh(): void;
|
|
211
|
+
complete(): void;
|
|
212
|
+
emit(quant?: $mol_wire_cursor): void;
|
|
213
|
+
peer_move(from_pos: number, to_pos: number): void;
|
|
214
|
+
peer_repos(peer_pos: number, self_pos: number): void;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
declare namespace $ {
|
|
219
|
+
interface $mol_wire_sub extends $mol_wire_pub {
|
|
220
|
+
track_on(): $mol_wire_sub | null;
|
|
221
|
+
track_next(pub?: $mol_wire_pub): $mol_wire_pub | null;
|
|
222
|
+
pub_off(pub_pos: number): void;
|
|
223
|
+
track_cut(sub: $mol_wire_pub | null): void;
|
|
224
|
+
track_off(sub: $mol_wire_pub | null): void;
|
|
225
|
+
absorb(quant: $mol_wire_cursor): void;
|
|
226
|
+
destructor(): void;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
declare namespace $ {
|
|
231
|
+
function $mol_wire_auto(next?: $mol_wire_sub | null): $mol_wire_sub | null;
|
|
232
|
+
const $mol_wire_affected: (number | $mol_wire_sub)[];
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
declare namespace $ {
|
|
236
|
+
function $mol_dev_format_register(config: {
|
|
237
|
+
header: (val: any, config: any) => any;
|
|
238
|
+
hasBody: (val: any, config: any) => false;
|
|
239
|
+
} | {
|
|
240
|
+
header: (val: any, config: any) => any;
|
|
241
|
+
hasBody: (val: any, config: any) => boolean;
|
|
242
|
+
body: (val: any, config: any) => any;
|
|
243
|
+
}): void;
|
|
244
|
+
let $mol_dev_format_head: symbol;
|
|
245
|
+
let $mol_dev_format_body: symbol;
|
|
246
|
+
function $mol_dev_format_native(obj: any): any;
|
|
247
|
+
function $mol_dev_format_auto(obj: any): any;
|
|
248
|
+
function $mol_dev_format_element(element: string, style: object, ...content: any[]): any[];
|
|
249
|
+
function $mol_dev_format_span(style: object, ...content: any[]): any[];
|
|
250
|
+
let $mol_dev_format_div: (style: object, ...content: any[]) => any[];
|
|
251
|
+
let $mol_dev_format_ol: (style: object, ...content: any[]) => any[];
|
|
252
|
+
let $mol_dev_format_li: (style: object, ...content: any[]) => any[];
|
|
253
|
+
let $mol_dev_format_table: (style: object, ...content: any[]) => any[];
|
|
254
|
+
let $mol_dev_format_tr: (style: object, ...content: any[]) => any[];
|
|
255
|
+
let $mol_dev_format_td: (style: object, ...content: any[]) => any[];
|
|
256
|
+
let $mol_dev_format_accent: (...args: any[]) => any[];
|
|
257
|
+
let $mol_dev_format_strong: (...args: any[]) => any[];
|
|
258
|
+
let $mol_dev_format_string: (...args: any[]) => any[];
|
|
259
|
+
let $mol_dev_format_shade: (...args: any[]) => any[];
|
|
260
|
+
let $mol_dev_format_indent: (...args: any[]) => any[];
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
declare namespace $ {
|
|
264
|
+
class $mol_wire_pub_sub extends $mol_wire_pub implements $mol_wire_sub {
|
|
265
|
+
protected pub_from: number;
|
|
266
|
+
protected cursor: $mol_wire_cursor;
|
|
267
|
+
get pub_list(): $mol_wire_pub[];
|
|
268
|
+
track_on(): $mol_wire_sub | null;
|
|
269
|
+
promote(): void;
|
|
270
|
+
track_next(pub?: $mol_wire_pub): $mol_wire_pub | null;
|
|
271
|
+
track_off(sub: $mol_wire_sub | null): void;
|
|
272
|
+
pub_off(sub_pos: number): void;
|
|
273
|
+
destructor(): void;
|
|
274
|
+
track_cut(): void;
|
|
275
|
+
complete(): void;
|
|
276
|
+
complete_pubs(): void;
|
|
277
|
+
absorb(quant?: $mol_wire_cursor): void;
|
|
278
|
+
get pub_empty(): boolean;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
declare namespace $ {
|
|
283
|
+
class $mol_after_frame extends $mol_object2 {
|
|
284
|
+
task: () => void;
|
|
285
|
+
static _promise: Promise<void> | null;
|
|
286
|
+
static _timeout: any;
|
|
287
|
+
static get promise(): Promise<void>;
|
|
288
|
+
cancelled: boolean;
|
|
289
|
+
promise: Promise<void>;
|
|
290
|
+
constructor(task: () => void);
|
|
291
|
+
destructor(): void;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
declare namespace $ {
|
|
296
|
+
abstract class $mol_wire_fiber<Host, Args extends readonly unknown[], Result> extends $mol_wire_pub_sub {
|
|
297
|
+
readonly task: (this: Host, ...args: Args) => Result;
|
|
298
|
+
readonly host?: Host | undefined;
|
|
299
|
+
static warm: boolean;
|
|
300
|
+
static planning: Set<$mol_wire_fiber<any, any, any>>;
|
|
301
|
+
static reaping: Set<$mol_wire_fiber<any, any, any>>;
|
|
302
|
+
static plan_task: $mol_after_frame | null;
|
|
303
|
+
static plan(): void;
|
|
304
|
+
static sync(): void;
|
|
305
|
+
cache: Result | Error | Promise<Result | Error>;
|
|
306
|
+
get args(): Args;
|
|
307
|
+
result(): Result | undefined;
|
|
308
|
+
field(): string;
|
|
309
|
+
constructor(id: string, task: (this: Host, ...args: Args) => Result, host?: Host | undefined, ...args: Args);
|
|
310
|
+
plan(): void;
|
|
311
|
+
reap(): void;
|
|
312
|
+
toString(): any;
|
|
313
|
+
toJSON(): any;
|
|
314
|
+
get $(): any;
|
|
315
|
+
emit(quant?: $mol_wire_cursor): void;
|
|
316
|
+
refresh(): void;
|
|
317
|
+
abstract put(next: Result | Error | Promise<Result | Error>): Result | Error | Promise<Result | Error>;
|
|
318
|
+
sync(): Awaited<Result>;
|
|
319
|
+
async(): Promise<Result>;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
declare namespace $ {
|
|
324
|
+
function $mol_guid(length?: number, exists?: (id: string) => boolean): string;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
declare namespace $ {
|
|
328
|
+
const $mol_key_store: WeakMap<object, string>;
|
|
329
|
+
function $mol_key<Value>(value: Value): string;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
declare namespace $ {
|
|
333
|
+
let $mol_compare_deep_cache: WeakMap<any, WeakMap<any, boolean>>;
|
|
334
|
+
function $mol_compare_deep<Value>(left: Value, right: Value): boolean;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
declare namespace $ {
|
|
338
|
+
class $mol_wire_task<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
|
|
339
|
+
static getter<Host, Args extends readonly unknown[], Result>(task: (this: Host, ...args: Args) => Result): (host: Host, args: Args) => $mol_wire_task<Host, [...Args], Result>;
|
|
340
|
+
complete(): void;
|
|
341
|
+
put(next: Result | Error | Promise<Result | Error>): Error | Result | Promise<Error | Result>;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
declare namespace $ {
|
|
346
|
+
function $mol_wire_method<Host extends object, Args extends readonly any[], Result>(host: Host, field: PropertyKey, descr?: TypedPropertyDescriptor<(...args: Args) => Result>): {
|
|
347
|
+
value: (this: Host, ...args: Args) => Result;
|
|
348
|
+
enumerable?: boolean | undefined;
|
|
349
|
+
configurable?: boolean | undefined;
|
|
350
|
+
writable?: boolean | undefined;
|
|
351
|
+
get?: (() => (...args: Args) => Result) | undefined;
|
|
352
|
+
set?: ((value: (...args: Args) => Result) => void) | undefined;
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
declare namespace $ {
|
|
357
|
+
class $mol_wire_atom<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
|
|
358
|
+
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>;
|
|
359
|
+
recall(...args: Args): Error | Result | Promise<Error | Result>;
|
|
360
|
+
once(): Awaited<Result>;
|
|
361
|
+
destructor(): void;
|
|
362
|
+
put(next: Result | Error | Promise<Result | Error>): Error | Result | Promise<Error | Result>;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
declare namespace $ {
|
|
367
|
+
function $mol_wire_mem<Keys extends number>(keys: Keys): <Host extends object, Field extends keyof Host, Prop extends Extract<Host[Field], (...args: any[]) => any>>(host: Host, field: Field, descr?: TypedPropertyDescriptor<Prop> | undefined) => {
|
|
368
|
+
value: NonNullable<Prop>;
|
|
369
|
+
enumerable?: boolean | undefined;
|
|
370
|
+
configurable?: boolean | undefined;
|
|
371
|
+
writable?: boolean | undefined;
|
|
372
|
+
get?: (() => Prop) | undefined;
|
|
373
|
+
set?: ((value: Prop) => void) | undefined;
|
|
374
|
+
};
|
|
375
|
+
function $mol_wire_mem_func<Keys extends number>(keys: Keys): <Result, Host, Args extends unknown[], Func extends (this: Host, ...args: Args) => Result>(func: Func) => Func;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
declare namespace $ {
|
|
379
|
+
let $mol_mem: <Host extends object, Field extends keyof Host, Prop extends Extract<Host[Field], (...args: any[]) => any>>(host: Host, field: Field, descr?: TypedPropertyDescriptor<Prop> | undefined) => {
|
|
380
|
+
value: NonNullable<Prop>;
|
|
381
|
+
enumerable?: boolean | undefined;
|
|
382
|
+
configurable?: boolean | undefined;
|
|
383
|
+
writable?: boolean | undefined;
|
|
384
|
+
get?: (() => Prop) | undefined;
|
|
385
|
+
set?: ((value: Prop) => void) | undefined;
|
|
386
|
+
};
|
|
387
|
+
let $mol_mem_key: <Host extends object, Field extends keyof Host, Prop extends Extract<Host[Field], (...args: any[]) => any>>(host: Host, field: Field, descr?: TypedPropertyDescriptor<Prop> | undefined) => {
|
|
388
|
+
value: NonNullable<Prop>;
|
|
389
|
+
enumerable?: boolean | undefined;
|
|
390
|
+
configurable?: boolean | undefined;
|
|
391
|
+
writable?: boolean | undefined;
|
|
392
|
+
get?: (() => Prop) | undefined;
|
|
393
|
+
set?: ((value: Prop) => void) | undefined;
|
|
394
|
+
};
|
|
395
|
+
let $mol_mem_key2: <Host extends object, Field extends keyof Host, Prop extends Extract<Host[Field], (...args: any[]) => any>>(host: Host, field: Field, descr?: TypedPropertyDescriptor<Prop> | undefined) => {
|
|
396
|
+
value: NonNullable<Prop>;
|
|
397
|
+
enumerable?: boolean | undefined;
|
|
398
|
+
configurable?: boolean | undefined;
|
|
399
|
+
writable?: boolean | undefined;
|
|
400
|
+
get?: (() => Prop) | undefined;
|
|
401
|
+
set?: ((value: Prop) => void) | undefined;
|
|
402
|
+
};
|
|
403
|
+
let $mol_mem_key3: <Host extends object, Field extends keyof Host, Prop extends Extract<Host[Field], (...args: any[]) => any>>(host: Host, field: Field, descr?: TypedPropertyDescriptor<Prop> | undefined) => {
|
|
404
|
+
value: NonNullable<Prop>;
|
|
405
|
+
enumerable?: boolean | undefined;
|
|
406
|
+
configurable?: boolean | undefined;
|
|
407
|
+
writable?: boolean | undefined;
|
|
408
|
+
get?: (() => Prop) | undefined;
|
|
409
|
+
set?: ((value: Prop) => void) | undefined;
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
declare namespace $ {
|
|
414
|
+
class $mol_window extends $mol_object {
|
|
415
|
+
static size(): {
|
|
416
|
+
width: number;
|
|
417
|
+
height: number;
|
|
418
|
+
};
|
|
419
|
+
static resizes(next?: Event): Event | undefined;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
declare namespace $ {
|
|
424
|
+
function $mol_fail_catch(error: unknown): boolean;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
declare namespace $ {
|
|
428
|
+
function $mol_fail_log(error: unknown): boolean;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
declare namespace $ {
|
|
432
|
+
class $mol_view_selection extends $mol_object {
|
|
433
|
+
static focused(next?: Element[]): Element[];
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
declare namespace $ {
|
|
438
|
+
function $mol_maybe<Value>(value: Value | null | undefined): Value[];
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
declare namespace $ {
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
declare namespace $ {
|
|
445
|
+
class $mol_wrapper extends $mol_object2 {
|
|
446
|
+
static wrap: (task: (...ags: any[]) => any) => (...ags: any[]) => any;
|
|
447
|
+
static run<Result>(task: () => Result): Result;
|
|
448
|
+
static func<Args extends any[], Result, Host = void>(func: (this: Host, ...args: Args) => Result): (this: Host, ...args: Args) => Result;
|
|
449
|
+
static get class(): <Class extends new (...args: any[]) => any>(Class: Class) => Class;
|
|
450
|
+
static get method(): (obj: object, name: PropertyKey, descr: PropertyDescriptor) => PropertyDescriptor;
|
|
451
|
+
static get field(): <Host, Field extends keyof Host, Args extends any[], Result>(obj: Host, name: Field, descr: TypedPropertyDescriptor<Result>) => TypedPropertyDescriptor<Result>;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
declare namespace $ {
|
|
456
|
+
class $mol_memo extends $mol_wrapper {
|
|
457
|
+
static wrap<This extends object, Value>(task: (this: This, next?: Value) => Value): (this: This, next?: Value | undefined) => Value | undefined;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
declare namespace $ {
|
|
462
|
+
function $mol_dom_qname(name: string): string;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
declare namespace $ {
|
|
466
|
+
function $mol_const<Value>(value: Value): {
|
|
467
|
+
(): Value;
|
|
468
|
+
'()': Value;
|
|
469
|
+
};
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
declare namespace $ {
|
|
473
|
+
function $mol_dom_render_attributes(el: Element, attrs: {
|
|
474
|
+
[key: string]: string | number | boolean | null;
|
|
475
|
+
}): void;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
declare namespace $ {
|
|
479
|
+
function $mol_wire_async<Host extends object>(obj: Host): { [key in keyof Host]: Host[key] extends (...args: infer Args) => infer Res ? Res extends Promise<any> ? Host[key] : (...args: Args) => Promise<Res> : Host[key]; };
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
declare namespace $ {
|
|
483
|
+
function $mol_dom_render_styles(el: Element, styles: {
|
|
484
|
+
[key: string]: string | number;
|
|
485
|
+
}): void;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
declare namespace $ {
|
|
489
|
+
function $mol_dom_render_children(el: Element | DocumentFragment, childNodes: NodeList | Array<Node | string | null>): void;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
declare namespace $ {
|
|
493
|
+
function $mol_dom_render_fields(el: Element, fields: {
|
|
494
|
+
[key: string]: any;
|
|
495
|
+
}): void;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
declare namespace $ {
|
|
499
|
+
function $mol_func_name(this: $, func: Function): string;
|
|
500
|
+
function $mol_func_name_from<Target extends Function>(target: Target, source: Function): Target;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
declare namespace $ {
|
|
504
|
+
type $mol_type_keys_extract<Input, Upper> = {
|
|
505
|
+
[Field in keyof Input]: unknown extends Input[Field] ? never : Input[Field] extends never ? never : Input[Field] extends Upper ? Field : never;
|
|
506
|
+
}[keyof Input];
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
declare namespace $ {
|
|
510
|
+
type $mol_type_pick<Input, Upper> = Pick<Input, $mol_type_keys_extract<Input, Upper>>;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
declare namespace $ {
|
|
514
|
+
type $mol_view_content = $mol_view | Node | string | number | boolean;
|
|
515
|
+
function $mol_view_visible_width(): number;
|
|
516
|
+
function $mol_view_visible_height(): number;
|
|
517
|
+
function $mol_view_state_key(suffix: string): string;
|
|
518
|
+
class $mol_view extends $mol_object {
|
|
519
|
+
static Root<This extends typeof $mol_view>(this: This, id: number): InstanceType<This>;
|
|
520
|
+
autorun(): void;
|
|
521
|
+
static autobind(): void;
|
|
522
|
+
title(): string;
|
|
523
|
+
focused(next?: boolean): boolean;
|
|
524
|
+
state_key(suffix?: string): string;
|
|
525
|
+
dom_name(): string;
|
|
526
|
+
dom_name_space(): string;
|
|
527
|
+
sub(): readonly (string | number | boolean | $mol_view | Node)[];
|
|
528
|
+
sub_visible(): readonly (string | number | boolean | $mol_view | Node)[];
|
|
529
|
+
minimal_width(): number;
|
|
530
|
+
maximal_width(): number;
|
|
531
|
+
minimal_height(): number;
|
|
532
|
+
static watchers: Set<$mol_view>;
|
|
533
|
+
view_rect(): ClientRect | null;
|
|
534
|
+
view_rect_cache(next?: ClientRect | null): ClientRect | null;
|
|
535
|
+
view_rect_watcher(): {
|
|
536
|
+
destructor: () => boolean;
|
|
537
|
+
};
|
|
538
|
+
dom_id(): any;
|
|
539
|
+
dom_node(next?: Element): Element;
|
|
540
|
+
dom_final(): Element | undefined;
|
|
541
|
+
dom_tree(next?: Element): Element;
|
|
542
|
+
dom_node_actual(): Element;
|
|
543
|
+
auto(): any;
|
|
544
|
+
render(): void;
|
|
545
|
+
static view_classes(): (typeof $mol_view)[];
|
|
546
|
+
view_names_owned(): string[];
|
|
547
|
+
view_names(): string[];
|
|
548
|
+
attr_static(): {
|
|
549
|
+
[key: string]: string | number | boolean | null;
|
|
550
|
+
};
|
|
551
|
+
attr(): {};
|
|
552
|
+
style_size(): {
|
|
553
|
+
[key: string]: string | number;
|
|
554
|
+
};
|
|
555
|
+
style(): {
|
|
556
|
+
[key: string]: string | number;
|
|
557
|
+
};
|
|
558
|
+
field(): {
|
|
559
|
+
[key: string]: any;
|
|
560
|
+
};
|
|
561
|
+
event(): {
|
|
562
|
+
[key: string]: (event: Event) => void;
|
|
563
|
+
};
|
|
564
|
+
plugins(): readonly $mol_view[];
|
|
565
|
+
view_find(check: (path: $mol_view, text?: string) => boolean, path?: $mol_view[]): Generator<$mol_view[]>;
|
|
566
|
+
force_render(path: Set<$mol_view>): void;
|
|
567
|
+
ensure_visible(view: $mol_view, align?: ScrollLogicalPosition): Promise<void>;
|
|
568
|
+
}
|
|
569
|
+
type $mol_view_all = $mol_type_pick<$, typeof $mol_view>;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
declare namespace $ {
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
interface Window {
|
|
576
|
+
cordova: any;
|
|
577
|
+
}
|
|
578
|
+
declare namespace $ {
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare namespace $ {
|
|
582
|
+
class $mol_svg extends $mol_view {
|
|
583
|
+
dom_name(): string;
|
|
584
|
+
dom_name_space(): string;
|
|
585
|
+
font_size(): number;
|
|
586
|
+
font_family(): string;
|
|
587
|
+
style_size(): {};
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
declare namespace $ {
|
|
592
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
593
|
+
delay: number;
|
|
594
|
+
task: () => void;
|
|
595
|
+
id: any;
|
|
596
|
+
constructor(delay: number, task: () => void);
|
|
597
|
+
destructor(): void;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
declare namespace $ {
|
|
602
|
+
class $mol_state_time extends $mol_object {
|
|
603
|
+
static task(precision: number, reset?: null): $mol_after_timeout | $mol_after_frame;
|
|
604
|
+
static now(precision: number): number;
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
declare namespace $ {
|
|
609
|
+
class $mol_plugin extends $mol_view {
|
|
610
|
+
dom_node(next?: Element): Element;
|
|
611
|
+
attr_static(): {
|
|
612
|
+
[key: string]: string | number | boolean;
|
|
613
|
+
};
|
|
614
|
+
event(): {
|
|
615
|
+
[key: string]: (event: Event) => void;
|
|
616
|
+
};
|
|
617
|
+
render(): void;
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
declare namespace $.$$ {
|
|
622
|
+
class $mol_svg extends $.$mol_svg {
|
|
623
|
+
computed_style(): CSSStyleDeclaration;
|
|
624
|
+
font_size(): number;
|
|
625
|
+
font_family(): any;
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
declare namespace $ {
|
|
630
|
+
class $mol_svg_root extends $mol_svg {
|
|
631
|
+
dom_name(): string;
|
|
632
|
+
attr(): {
|
|
633
|
+
viewBox: string;
|
|
634
|
+
preserveAspectRatio: string;
|
|
635
|
+
};
|
|
636
|
+
view_box(): string;
|
|
637
|
+
aspect(): string;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
declare namespace $ {
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
declare namespace $ {
|
|
645
|
+
class $mol_vector<Value, Length extends number> extends Array<Value> {
|
|
646
|
+
get length(): Length;
|
|
647
|
+
constructor(...values: Value[] & {
|
|
648
|
+
length: Length;
|
|
649
|
+
});
|
|
650
|
+
map<Res>(convert: (value: Value, index: number, array: this) => Res, self?: any): $mol_vector<Res, Length>;
|
|
651
|
+
merged<Patch>(patches: readonly Patch[] & {
|
|
652
|
+
length: Length;
|
|
653
|
+
}, combine: (value: Value, patch: Patch) => Value): this;
|
|
654
|
+
limited(this: $mol_vector<number, Length>, limits: readonly (readonly [number, number])[] & {
|
|
655
|
+
length: Length;
|
|
656
|
+
}): this;
|
|
657
|
+
added0(this: $mol_vector<number, Length>, diff: number): this;
|
|
658
|
+
added1(this: $mol_vector<number, Length>, diff: readonly number[] & {
|
|
659
|
+
length: Length;
|
|
660
|
+
}): this;
|
|
661
|
+
multed0(this: $mol_vector<number, Length>, mult: number): this;
|
|
662
|
+
multed1(this: $mol_vector<number, Length>, mults: readonly number[] & {
|
|
663
|
+
length: Length;
|
|
664
|
+
}): this;
|
|
665
|
+
powered0(this: $mol_vector<number, Length>, mult: number): this;
|
|
666
|
+
expanded1(this: $mol_vector<$mol_vector_range<number>, Length>, point: readonly number[] & {
|
|
667
|
+
length: Length;
|
|
668
|
+
}): this;
|
|
669
|
+
expanded2(this: $mol_vector<$mol_vector_range<number>, Length>, point: readonly (readonly [number, number])[] & {
|
|
670
|
+
length: Length;
|
|
671
|
+
}): this;
|
|
672
|
+
center<Item extends $mol_vector<number, number>>(this: $mol_vector<Item, Length>): Item;
|
|
673
|
+
distance(this: $mol_vector<$mol_vector<number, number>, Length>): number;
|
|
674
|
+
transponed(this: $mol_vector<$mol_vector<number, number>, Length>): $mol_vector<$mol_vector<number, Length>, typeof this[0]['length']>;
|
|
675
|
+
get x(): Value;
|
|
676
|
+
get y(): Value;
|
|
677
|
+
get z(): Value;
|
|
678
|
+
}
|
|
679
|
+
class $mol_vector_1d<Value> extends $mol_vector<Value, 1> {
|
|
680
|
+
}
|
|
681
|
+
class $mol_vector_2d<Value> extends $mol_vector<Value, 2> {
|
|
682
|
+
}
|
|
683
|
+
class $mol_vector_3d<Value> extends $mol_vector<Value, 3> {
|
|
684
|
+
}
|
|
685
|
+
class $mol_vector_range<Value> extends $mol_vector<Value, 2> {
|
|
686
|
+
get [0](): Value;
|
|
687
|
+
get [1](): Value;
|
|
688
|
+
get min(): Value;
|
|
689
|
+
get max(): Value;
|
|
690
|
+
get inversed(): $mol_vector_range<Value>;
|
|
691
|
+
expanded0(value: Value): $mol_vector_range<Value>;
|
|
692
|
+
}
|
|
693
|
+
let $mol_vector_range_full: $mol_vector_range<number>;
|
|
694
|
+
class $mol_vector_matrix<Width extends number, Height extends number> extends $mol_vector<readonly number[] & {
|
|
695
|
+
length: Width;
|
|
696
|
+
}, Height> {
|
|
697
|
+
added2(diff: readonly (readonly number[] & {
|
|
698
|
+
length: Width;
|
|
699
|
+
})[] & {
|
|
700
|
+
length: Height;
|
|
701
|
+
}): this;
|
|
702
|
+
multed2(diff: readonly (readonly number[] & {
|
|
703
|
+
length: Width;
|
|
704
|
+
})[] & {
|
|
705
|
+
length: Height;
|
|
706
|
+
}): this;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
declare namespace $ {
|
|
711
|
+
class $mol_svg_group extends $mol_svg {
|
|
712
|
+
dom_name(): string;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
declare namespace $ {
|
|
717
|
+
class $mol_svg_title extends $mol_svg {
|
|
718
|
+
dom_name(): string;
|
|
719
|
+
sub(): readonly any[];
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
declare namespace $ {
|
|
724
|
+
class $mol_plot_graph extends $mol_svg_group {
|
|
725
|
+
series_x(): readonly number[];
|
|
726
|
+
series_y(): readonly number[];
|
|
727
|
+
attr(): {
|
|
728
|
+
mol_plot_graph_type: string;
|
|
729
|
+
};
|
|
730
|
+
style(): {
|
|
731
|
+
color: string;
|
|
732
|
+
};
|
|
733
|
+
viewport(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
734
|
+
shift(): readonly number[];
|
|
735
|
+
scale(): readonly number[];
|
|
736
|
+
cursor_position(): $mol_vector_2d<number>;
|
|
737
|
+
dimensions_pane(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
738
|
+
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
739
|
+
size_real(): $mol_vector_2d<number>;
|
|
740
|
+
gap(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
741
|
+
repos_x(val: any): number;
|
|
742
|
+
repos_y(val: any): number;
|
|
743
|
+
indexes(): readonly number[];
|
|
744
|
+
points(): readonly (readonly number[])[];
|
|
745
|
+
front(): readonly $mol_svg[];
|
|
746
|
+
back(): readonly $mol_svg[];
|
|
747
|
+
Hint(): $mol_svg_title;
|
|
748
|
+
hue(): number;
|
|
749
|
+
Sample(): any;
|
|
750
|
+
type(): string;
|
|
751
|
+
color(): string;
|
|
752
|
+
viewport_x(): $mol_vector_range<number>;
|
|
753
|
+
viewport_y(): $mol_vector_range<number>;
|
|
754
|
+
dimensions_pane_x(): $mol_vector_range<number>;
|
|
755
|
+
dimensions_pane_y(): $mol_vector_range<number>;
|
|
756
|
+
dimensions_x(): $mol_vector_range<number>;
|
|
757
|
+
dimensions_y(): $mol_vector_range<number>;
|
|
758
|
+
gap_x(): $mol_vector_range<number>;
|
|
759
|
+
gap_y(): $mol_vector_range<number>;
|
|
760
|
+
title(): string;
|
|
761
|
+
hint(): string;
|
|
762
|
+
}
|
|
763
|
+
class $mol_plot_graph_sample extends $mol_view {
|
|
764
|
+
attr(): {
|
|
765
|
+
mol_plot_graph_type: string;
|
|
766
|
+
};
|
|
767
|
+
style(): {
|
|
768
|
+
color: string;
|
|
769
|
+
};
|
|
770
|
+
type(): string;
|
|
771
|
+
color(): string;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
declare namespace $ {
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
declare namespace $.$$ {
|
|
779
|
+
class $mol_plot_graph extends $.$mol_plot_graph {
|
|
780
|
+
viewport(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
781
|
+
indexes(): readonly number[];
|
|
782
|
+
repos_x(val: number): number;
|
|
783
|
+
repos_y(val: number): number;
|
|
784
|
+
points(): readonly (readonly number[])[];
|
|
785
|
+
series_x(): readonly number[];
|
|
786
|
+
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
787
|
+
color(): string;
|
|
788
|
+
front(): readonly $.$mol_svg[];
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
declare namespace $ {
|
|
793
|
+
class $mol_touch extends $mol_plugin {
|
|
794
|
+
start_zoom(val?: any): number;
|
|
795
|
+
start_distance(val?: any): number;
|
|
796
|
+
zoom(val?: any): number;
|
|
797
|
+
allow_draw(): boolean;
|
|
798
|
+
allow_pan(): boolean;
|
|
799
|
+
allow_zoom(): boolean;
|
|
800
|
+
action_type(val?: any): string;
|
|
801
|
+
action_point(val?: any): $mol_vector_2d<number>;
|
|
802
|
+
start_pan(val?: any): readonly any[];
|
|
803
|
+
pan(val?: any): $mol_vector_2d<number>;
|
|
804
|
+
pointer_center(): $mol_vector_2d<number>;
|
|
805
|
+
start_pos(val?: any): any;
|
|
806
|
+
swipe_precision(): number;
|
|
807
|
+
swipe_right(val?: any): any;
|
|
808
|
+
swipe_bottom(val?: any): any;
|
|
809
|
+
swipe_left(val?: any): any;
|
|
810
|
+
swipe_top(val?: any): any;
|
|
811
|
+
swipe_from_right(val?: any): any;
|
|
812
|
+
swipe_from_bottom(val?: any): any;
|
|
813
|
+
swipe_from_left(val?: any): any;
|
|
814
|
+
swipe_from_top(val?: any): any;
|
|
815
|
+
swipe_to_right(val?: any): any;
|
|
816
|
+
swipe_to_bottom(val?: any): any;
|
|
817
|
+
swipe_to_left(val?: any): any;
|
|
818
|
+
swipe_to_top(val?: any): any;
|
|
819
|
+
draw_start(event?: any): any;
|
|
820
|
+
draw(event?: any): any;
|
|
821
|
+
draw_end(event?: any): any;
|
|
822
|
+
style(): {
|
|
823
|
+
"touch-action": string;
|
|
824
|
+
"overscroll-behavior": string;
|
|
825
|
+
};
|
|
826
|
+
event(): {
|
|
827
|
+
pointerdown: (event?: any) => any;
|
|
828
|
+
pointermove: (event?: any) => any;
|
|
829
|
+
pointerup: (event?: any) => any;
|
|
830
|
+
pointerleave: (event?: any) => any;
|
|
831
|
+
wheel: (event?: any) => any;
|
|
832
|
+
};
|
|
833
|
+
event_start(event?: any): any;
|
|
834
|
+
event_move(event?: any): any;
|
|
835
|
+
event_end(event?: any): any;
|
|
836
|
+
event_leave(event?: any): any;
|
|
837
|
+
event_wheel(event?: any): any;
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
declare namespace $.$$ {
|
|
842
|
+
class $mol_touch extends $.$mol_touch {
|
|
843
|
+
auto(): void;
|
|
844
|
+
pointer_events(next?: readonly PointerEvent[]): readonly PointerEvent[];
|
|
845
|
+
pointer_coords(): $mol_vector<$mol_vector_2d<number>, number>;
|
|
846
|
+
pointer_center(): $mol_vector_2d<number>;
|
|
847
|
+
event_coords(event: PointerEvent | WheelEvent): $mol_vector_2d<number>;
|
|
848
|
+
action_point(): $mol_vector_2d<number>;
|
|
849
|
+
event_eat(event: PointerEvent | WheelEvent): string;
|
|
850
|
+
event_start(event: PointerEvent): void;
|
|
851
|
+
event_move(event: PointerEvent): void;
|
|
852
|
+
event_end(event: PointerEvent): void;
|
|
853
|
+
event_leave(event: PointerEvent): void;
|
|
854
|
+
swipe_left(event: PointerEvent): void;
|
|
855
|
+
swipe_right(event: PointerEvent): void;
|
|
856
|
+
swipe_top(event: PointerEvent): void;
|
|
857
|
+
swipe_bottom(event: PointerEvent): void;
|
|
858
|
+
event_wheel(event: WheelEvent): void;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
declare namespace $ {
|
|
863
|
+
class $mol_plot_pane extends $mol_svg_root {
|
|
864
|
+
aspect(): string;
|
|
865
|
+
hue_base(val?: any): number;
|
|
866
|
+
hue_shift(val?: any): number;
|
|
867
|
+
gap_hor(): number;
|
|
868
|
+
gap_vert(): number;
|
|
869
|
+
gap_left(): number;
|
|
870
|
+
gap_right(): number;
|
|
871
|
+
gap_top(): number;
|
|
872
|
+
gap_bottom(): number;
|
|
873
|
+
gap(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
874
|
+
shift_limit(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
875
|
+
shift_default(): $mol_vector_2d<number>;
|
|
876
|
+
shift(val?: any): $mol_vector_2d<number>;
|
|
877
|
+
scale_limit(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
878
|
+
scale_default(): $mol_vector_2d<number>;
|
|
879
|
+
scale(val?: any): $mol_vector_2d<number>;
|
|
880
|
+
scale_x(val?: any): number;
|
|
881
|
+
scale_y(val?: any): number;
|
|
882
|
+
size(): $mol_vector_2d<number>;
|
|
883
|
+
size_real(): $mol_vector_2d<number>;
|
|
884
|
+
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
885
|
+
dimensions_viewport(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
886
|
+
sub(): readonly $mol_svg[];
|
|
887
|
+
graphs_colored(): readonly $mol_plot_graph[];
|
|
888
|
+
plugins(): readonly any[];
|
|
889
|
+
gap_x(): $mol_vector_range<number>;
|
|
890
|
+
gap_y(): $mol_vector_range<number>;
|
|
891
|
+
shift_limit_x(): $mol_vector_range<number>;
|
|
892
|
+
shift_limit_y(): $mol_vector_range<number>;
|
|
893
|
+
scale_limit_x(): $mol_vector_range<number>;
|
|
894
|
+
scale_limit_y(): $mol_vector_range<number>;
|
|
895
|
+
dimensions_x(): $mol_vector_range<number>;
|
|
896
|
+
dimensions_y(): $mol_vector_range<number>;
|
|
897
|
+
dimensions_viewport_x(): $mol_vector_range<number>;
|
|
898
|
+
dimensions_viewport_y(): $mol_vector_range<number>;
|
|
899
|
+
graphs_sorted(): readonly $mol_svg[];
|
|
900
|
+
graphs(): readonly $mol_plot_graph[];
|
|
901
|
+
graphs_visible(): readonly $mol_plot_graph[];
|
|
902
|
+
graphs_positioned(): readonly $mol_plot_graph[];
|
|
903
|
+
zoom(val?: any): number;
|
|
904
|
+
allow_draw(): boolean;
|
|
905
|
+
allow_pan(): boolean;
|
|
906
|
+
allow_zoom(): boolean;
|
|
907
|
+
draw_start(event?: any): any;
|
|
908
|
+
draw(event?: any): any;
|
|
909
|
+
draw_end(event?: any): any;
|
|
910
|
+
cursor_position(): $mol_vector_2d<number>;
|
|
911
|
+
action_type(): string;
|
|
912
|
+
action_point(): $mol_vector_2d<number>;
|
|
913
|
+
Touch(): $$.$mol_touch;
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
declare namespace $ {
|
|
918
|
+
function $mol_wire_probe<Value>(task: () => Value, next?: Value): Value | undefined;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
declare namespace $ {
|
|
922
|
+
let $mol_mem_cached: typeof $mol_wire_probe;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
declare namespace $ {
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
declare namespace $.$$ {
|
|
929
|
+
class $mol_plot_pane extends $.$mol_plot_pane {
|
|
930
|
+
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
931
|
+
size(): $mol_vector_2d<number>;
|
|
932
|
+
graph_hue(index: number): number;
|
|
933
|
+
graphs_colored(): $.$mol_plot_graph[];
|
|
934
|
+
size_real(): $mol_vector_2d<number>;
|
|
935
|
+
view_box(): string;
|
|
936
|
+
scale_limit(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
937
|
+
scale_default(): $mol_vector_2d<number>;
|
|
938
|
+
scale(next?: $mol_vector_2d<number>): $mol_vector_2d<number>;
|
|
939
|
+
scale_x(next?: number): number;
|
|
940
|
+
scale_y(next?: number): number;
|
|
941
|
+
shift_limit(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
942
|
+
shift_default(): $mol_vector_2d<number>;
|
|
943
|
+
graph_touched: boolean;
|
|
944
|
+
shift(next?: $mol_vector_2d<number>): $mol_vector_2d<number>;
|
|
945
|
+
reset(event?: Event): void;
|
|
946
|
+
graphs_visible(): $.$mol_plot_graph[];
|
|
947
|
+
graphs_positioned(): $.$mol_plot_graph[];
|
|
948
|
+
dimensions_viewport(): $mol_vector<$mol_vector_range<number>, 2>;
|
|
949
|
+
viewport(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
950
|
+
graphs_sorted(): $.$mol_svg[];
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
declare namespace $ {
|
|
955
|
+
class $mol_plot_line extends $mol_plot_graph {
|
|
956
|
+
threshold(): number;
|
|
957
|
+
spacing(): number;
|
|
958
|
+
color_fill(): string;
|
|
959
|
+
dom_name(): string;
|
|
960
|
+
attr(): {
|
|
961
|
+
d: string;
|
|
962
|
+
mol_plot_graph_type: string;
|
|
963
|
+
};
|
|
964
|
+
sub(): readonly any[];
|
|
965
|
+
Sample(): $mol_plot_graph_sample;
|
|
966
|
+
curve(): string;
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
declare namespace $ {
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
declare namespace $.$$ {
|
|
974
|
+
class $mol_plot_line extends $.$mol_plot_line {
|
|
975
|
+
sub(): readonly any[];
|
|
976
|
+
indexes(): number[];
|
|
977
|
+
curve(): string;
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
declare namespace $ {
|
|
982
|
+
class $mol_plot_group extends $mol_plot_graph {
|
|
983
|
+
sub(): readonly $mol_plot_graph[];
|
|
984
|
+
Sample(): $mol_plot_graph_sample;
|
|
985
|
+
graphs(): readonly $mol_plot_graph[];
|
|
986
|
+
graphs_enriched(): readonly $mol_plot_graph[];
|
|
987
|
+
graph_samples(): readonly $mol_view[];
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
declare namespace $.$$ {
|
|
992
|
+
class $mol_plot_group extends $.$mol_plot_group {
|
|
993
|
+
graphs_enriched(): readonly $.$mol_plot_graph[];
|
|
994
|
+
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
995
|
+
graph_samples(): any[];
|
|
996
|
+
back(): $mol_plot_graph[];
|
|
997
|
+
front(): $mol_plot_graph[];
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
declare namespace $ {
|
|
1002
|
+
class $mol_svg_path extends $mol_svg {
|
|
1003
|
+
dom_name(): string;
|
|
1004
|
+
attr(): {
|
|
1005
|
+
d: string;
|
|
1006
|
+
};
|
|
1007
|
+
geometry(): string;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
declare namespace $ {
|
|
1012
|
+
class $mol_plot_dot extends $mol_plot_graph {
|
|
1013
|
+
points_max(): number;
|
|
1014
|
+
aspect(): number;
|
|
1015
|
+
style(): {
|
|
1016
|
+
"stroke-width": number;
|
|
1017
|
+
color: string;
|
|
1018
|
+
};
|
|
1019
|
+
sub(): readonly any[];
|
|
1020
|
+
Sample(): $mol_plot_graph_sample;
|
|
1021
|
+
diameter(): number;
|
|
1022
|
+
curve(): string;
|
|
1023
|
+
Curve(): $mol_svg_path;
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
declare namespace $ {
|
|
1028
|
+
function $mol_coord_pack(a: number, b: number): number;
|
|
1029
|
+
function $mol_coord_high(key: number): number;
|
|
1030
|
+
function $mol_coord_low(key: number): number;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
declare namespace $ {
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
declare namespace $.$$ {
|
|
1037
|
+
class $mol_plot_dot extends $.$mol_plot_dot {
|
|
1038
|
+
filled(): Set<number>;
|
|
1039
|
+
indexes(): number[];
|
|
1040
|
+
curve(): string;
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
declare namespace $ {
|
|
1045
|
+
class $mol_plot_map_heat extends $mol_plot_group {
|
|
1046
|
+
series_z(): readonly number[];
|
|
1047
|
+
graphs(): readonly any[];
|
|
1048
|
+
Level(z: any): $mol_plot_map_heat_level;
|
|
1049
|
+
Sample(): $mol_plot_graph_sample;
|
|
1050
|
+
level_graphs(): readonly any[];
|
|
1051
|
+
level_hint(z: any): string;
|
|
1052
|
+
level_points(z: any): readonly any[];
|
|
1053
|
+
level_opacity(z: any): string;
|
|
1054
|
+
level_diameter(): number;
|
|
1055
|
+
level_aspect(): number;
|
|
1056
|
+
}
|
|
1057
|
+
class $mol_plot_map_heat_level extends $mol_plot_dot {
|
|
1058
|
+
style(): {
|
|
1059
|
+
opacity: string;
|
|
1060
|
+
"stroke-width": number;
|
|
1061
|
+
color: string;
|
|
1062
|
+
};
|
|
1063
|
+
opacity(): string;
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
declare namespace $ {
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
declare namespace $.$$ {
|
|
1071
|
+
class $mol_plot_map_heat extends $.$mol_plot_map_heat {
|
|
1072
|
+
levels(): number[];
|
|
1073
|
+
level_graphs(): $mol_plot_map_heat_level[];
|
|
1074
|
+
level_points(level: number): (readonly number[])[];
|
|
1075
|
+
level_opacity(level: number): string;
|
|
1076
|
+
level_diameter(): number;
|
|
1077
|
+
level_aspect(): number;
|
|
1078
|
+
level_hint(index: number): string;
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
declare namespace $ {
|
|
1083
|
+
class $mol_plot_bar extends $mol_plot_graph {
|
|
1084
|
+
style(): {
|
|
1085
|
+
"stroke-width": string;
|
|
1086
|
+
color: string;
|
|
1087
|
+
};
|
|
1088
|
+
sub(): readonly any[];
|
|
1089
|
+
Sample(): $mol_plot_graph_sample;
|
|
1090
|
+
stroke_width(): string;
|
|
1091
|
+
curve(): string;
|
|
1092
|
+
Curve(): $mol_svg_path;
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
declare namespace $ {
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
declare namespace $.$$ {
|
|
1100
|
+
class $mol_plot_bar extends $.$mol_plot_bar {
|
|
1101
|
+
indexes(): number[];
|
|
1102
|
+
curve(): string;
|
|
1103
|
+
stroke_width(): string;
|
|
1104
|
+
color(): string;
|
|
1105
|
+
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
declare namespace $ {
|
|
1110
|
+
class $mol_plot_fill extends $mol_plot_line {
|
|
1111
|
+
threshold(): number;
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
declare namespace $ {
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
declare namespace $.$$ {
|
|
1119
|
+
class $mol_plot_fill extends $.$mol_plot_fill {
|
|
1120
|
+
curve(): string;
|
|
1121
|
+
front(): never[];
|
|
1122
|
+
back(): this[];
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
declare namespace $ {
|
|
1127
|
+
class $mol_svg_text extends $mol_svg {
|
|
1128
|
+
dom_name(): string;
|
|
1129
|
+
pos(): readonly any[];
|
|
1130
|
+
attr(): {
|
|
1131
|
+
x: string;
|
|
1132
|
+
y: string;
|
|
1133
|
+
"text-anchor": string;
|
|
1134
|
+
};
|
|
1135
|
+
sub(): readonly any[];
|
|
1136
|
+
pos_x(): string;
|
|
1137
|
+
pos_y(): string;
|
|
1138
|
+
align(): string;
|
|
1139
|
+
text(): string;
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
declare namespace $ {
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
declare namespace $.$$ {
|
|
1147
|
+
class $mol_svg_text extends $.$mol_svg_text {
|
|
1148
|
+
pos_x(): any;
|
|
1149
|
+
pos_y(): any;
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
declare namespace $ {
|
|
1154
|
+
class $mol_svg_rect extends $mol_svg {
|
|
1155
|
+
dom_name(): string;
|
|
1156
|
+
pos(): readonly any[];
|
|
1157
|
+
attr(): {
|
|
1158
|
+
width: string;
|
|
1159
|
+
height: string;
|
|
1160
|
+
x: string;
|
|
1161
|
+
y: string;
|
|
1162
|
+
};
|
|
1163
|
+
width(): string;
|
|
1164
|
+
height(): string;
|
|
1165
|
+
pos_x(): string;
|
|
1166
|
+
pos_y(): string;
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
declare namespace $.$$ {
|
|
1171
|
+
class $mol_svg_rect extends $.$mol_svg_rect {
|
|
1172
|
+
pos_x(): any;
|
|
1173
|
+
pos_y(): any;
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
declare namespace $ {
|
|
1178
|
+
class $mol_svg_text_box extends $mol_svg_group {
|
|
1179
|
+
font_size(): number;
|
|
1180
|
+
width(): number;
|
|
1181
|
+
sub(): readonly any[];
|
|
1182
|
+
box_width(): string;
|
|
1183
|
+
box_height(): string;
|
|
1184
|
+
box_pos_x(): string;
|
|
1185
|
+
box_pos_y(): string;
|
|
1186
|
+
Back(): $$.$mol_svg_rect;
|
|
1187
|
+
pos_x(): string;
|
|
1188
|
+
pos_y(): string;
|
|
1189
|
+
align(): string;
|
|
1190
|
+
text(): string;
|
|
1191
|
+
Text(): $$.$mol_svg_text;
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
declare namespace $ {
|
|
1196
|
+
function $mol_font_canvas(next?: CanvasRenderingContext2D): CanvasRenderingContext2D;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
declare namespace $ {
|
|
1200
|
+
function $mol_font_measure(size: number, face: string, text: string): number;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
declare namespace $ {
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
declare namespace $.$$ {
|
|
1207
|
+
class $mol_svg_text_box extends $.$mol_svg_text_box {
|
|
1208
|
+
box_width(): string;
|
|
1209
|
+
width(): number;
|
|
1210
|
+
box_pos_x(): string;
|
|
1211
|
+
box_pos_y(): string;
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
declare namespace $ {
|
|
1216
|
+
class $mol_plot_ruler extends $mol_plot_graph {
|
|
1217
|
+
step(): number;
|
|
1218
|
+
scale_axis(): number;
|
|
1219
|
+
scale_step(): number;
|
|
1220
|
+
shift_axis(): number;
|
|
1221
|
+
dimensions_axis(): $mol_vector_range<number>;
|
|
1222
|
+
viewport_axis(): $mol_vector_range<number>;
|
|
1223
|
+
axis_points(): readonly number[];
|
|
1224
|
+
normalize(val?: any): number;
|
|
1225
|
+
precision(): number;
|
|
1226
|
+
sub(): readonly any[];
|
|
1227
|
+
Label(index: any): $$.$mol_svg_text;
|
|
1228
|
+
background_x(): string;
|
|
1229
|
+
background_y(): string;
|
|
1230
|
+
background_width(): string;
|
|
1231
|
+
background_height(): string;
|
|
1232
|
+
Background(): $$.$mol_svg_rect;
|
|
1233
|
+
curve(): string;
|
|
1234
|
+
Curve(): $mol_svg_path;
|
|
1235
|
+
labels_formatted(): readonly any[];
|
|
1236
|
+
title_pos_x(): string;
|
|
1237
|
+
title_pos_y(): string;
|
|
1238
|
+
title_align(): string;
|
|
1239
|
+
Title(): $$.$mol_svg_text_box;
|
|
1240
|
+
label_pos_x(index: any): string;
|
|
1241
|
+
label_pos_y(index: any): string;
|
|
1242
|
+
label_pos(index: any): readonly any[];
|
|
1243
|
+
label_text(index: any): string;
|
|
1244
|
+
label_align(): string;
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
declare namespace $ {
|
|
1249
|
+
function $mol_math_round_expand(val: number, gap?: number): number;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
declare namespace $ {
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
declare namespace $.$$ {
|
|
1256
|
+
class $mol_plot_ruler extends $.$mol_plot_ruler {
|
|
1257
|
+
labels_formatted(): $mol_svg_text[];
|
|
1258
|
+
step(): number;
|
|
1259
|
+
snap_to_grid(coord: number): number;
|
|
1260
|
+
axis_points(): number[];
|
|
1261
|
+
precision(): number;
|
|
1262
|
+
label_text(index: number): string;
|
|
1263
|
+
font_size(): number;
|
|
1264
|
+
back(): $mol_svg_path[];
|
|
1265
|
+
front(): readonly $.$mol_svg[];
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
declare namespace $ {
|
|
1270
|
+
class $mol_plot_ruler_vert extends $mol_plot_ruler {
|
|
1271
|
+
title_align(): string;
|
|
1272
|
+
label_align(): string;
|
|
1273
|
+
title_pos_y(): string;
|
|
1274
|
+
label_pos_x(v: any): string;
|
|
1275
|
+
background_height(): string;
|
|
1276
|
+
background_width(): string;
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
declare namespace $ {
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
declare namespace $.$$ {
|
|
1284
|
+
class $mol_plot_ruler_vert extends $.$mol_plot_ruler_vert {
|
|
1285
|
+
dimensions_axis(): $mol_vector_range<number>;
|
|
1286
|
+
viewport_axis(): $mol_vector_range<number>;
|
|
1287
|
+
scale_axis(): number;
|
|
1288
|
+
scale_step(): number;
|
|
1289
|
+
shift_axis(): number;
|
|
1290
|
+
curve(): string;
|
|
1291
|
+
title_pos_x(): string;
|
|
1292
|
+
label_pos_y(index: number): string;
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
declare namespace $ {
|
|
1297
|
+
class $mol_plot_ruler_hor extends $mol_plot_ruler {
|
|
1298
|
+
title_align(): string;
|
|
1299
|
+
label_align(): string;
|
|
1300
|
+
title_pos_x(): string;
|
|
1301
|
+
title_pos_y(): string;
|
|
1302
|
+
label_pos_y(v: any): string;
|
|
1303
|
+
background_width(): string;
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
declare namespace $ {
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
declare namespace $.$$ {
|
|
1311
|
+
class $mol_plot_ruler_hor extends $.$mol_plot_ruler_hor {
|
|
1312
|
+
dimensions_axis(): $mol_vector_range<number>;
|
|
1313
|
+
viewport_axis(): $mol_vector_range<number>;
|
|
1314
|
+
scale_axis(): number;
|
|
1315
|
+
scale_step(): number;
|
|
1316
|
+
shift_axis(): number;
|
|
1317
|
+
curve(): string;
|
|
1318
|
+
label_pos_x(index: number): string;
|
|
1319
|
+
background_y(): string;
|
|
1320
|
+
title_pos_y(): string;
|
|
1321
|
+
background_height(): string;
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
declare namespace $ {
|
|
1326
|
+
class $mol_plot_mark_cross extends $mol_plot_graph {
|
|
1327
|
+
labels(): readonly string[];
|
|
1328
|
+
title_x_gap(): number;
|
|
1329
|
+
threshold(): number;
|
|
1330
|
+
graphs(): readonly $mol_plot_graph[];
|
|
1331
|
+
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1332
|
+
sub(): readonly any[];
|
|
1333
|
+
dimensions_x(): $mol_vector_range<number>;
|
|
1334
|
+
dimensions_y(): $mol_vector_range<number>;
|
|
1335
|
+
curve(): string;
|
|
1336
|
+
Curve(): $mol_svg_path;
|
|
1337
|
+
title_x_pos_x(): string;
|
|
1338
|
+
title_x_pos_y(): string;
|
|
1339
|
+
title_x(): string;
|
|
1340
|
+
Label_x(): $$.$mol_svg_text_box;
|
|
1341
|
+
title_y_pos_x(): string;
|
|
1342
|
+
title_y_pos_y(): string;
|
|
1343
|
+
title_y(): string;
|
|
1344
|
+
Label_y(): $$.$mol_svg_text_box;
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
declare namespace $ {
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
declare namespace $.$$ {
|
|
1352
|
+
class $mol_plot_mark_cross extends $.$mol_plot_mark_cross {
|
|
1353
|
+
nearest(): {
|
|
1354
|
+
value: $mol_vector_2d<number>;
|
|
1355
|
+
scaled: $mol_vector_2d<number>;
|
|
1356
|
+
index: number;
|
|
1357
|
+
} | null;
|
|
1358
|
+
curve(): string;
|
|
1359
|
+
title_x(): string;
|
|
1360
|
+
title_x_pos_x(): string;
|
|
1361
|
+
title_x_pos_y(): string;
|
|
1362
|
+
title_y(): string;
|
|
1363
|
+
title_y_pos_y(): string;
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
declare namespace $ {
|
|
1368
|
+
class $mol_plot_mark_hor extends $mol_plot_ruler_hor {
|
|
1369
|
+
labels(): readonly string[];
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
declare namespace $ {
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
declare namespace $.$$ {
|
|
1377
|
+
class $mol_plot_mark_hor extends $.$mol_plot_mark_hor {
|
|
1378
|
+
series_x(): readonly number[];
|
|
1379
|
+
labels(): readonly string[];
|
|
1380
|
+
visible_indexes(): number[];
|
|
1381
|
+
curve(): string;
|
|
1382
|
+
label_text(index: number): string;
|
|
1383
|
+
labels_formatted(): $mol_svg_text[];
|
|
1384
|
+
label_pos_x(index: number): string;
|
|
1385
|
+
label_pos_y(index: number): string;
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1
1388
|
|
|
2
1389
|
export = $;
|