mol_plot_all 1.2.1697 → 1.2.1698
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 +18 -223
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +3 -1
- package/node.js.map +1 -1
- package/node.mjs +3 -1
- package/node.test.js +3 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +0 -1407
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +4 -2
- package/web.js.map +1 -1
- package/web.mjs +4 -2
package/web.d.ts
CHANGED
|
@@ -1,1041 +1,3 @@
|
|
|
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
|
-
static $: $;
|
|
10
|
-
}
|
|
11
|
-
namespace $$ {
|
|
12
|
-
type $$ = $;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
declare namespace $ {
|
|
18
|
-
var $mol_dom_context: typeof globalThis;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare namespace $ {
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare namespace $ {
|
|
25
|
-
var $mol_dom: typeof globalThis;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
declare namespace $ {
|
|
29
|
-
function $mol_style_attach(id: string, text: string): HTMLStyleElement | null;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
declare namespace $ {
|
|
33
|
-
class $mol_promise<Result = void> extends Promise<Result> {
|
|
34
|
-
done: (value: Result | PromiseLike<Result>) => void;
|
|
35
|
-
fail: (reason?: any) => void;
|
|
36
|
-
constructor(executor?: (done: (value: Result | PromiseLike<Result>) => void, fail: (reason?: any) => void) => void);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
declare namespace $ {
|
|
41
|
-
class $mol_promise_blocker<Result> extends $mol_promise<Result> {
|
|
42
|
-
static [Symbol.toStringTag]: string;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
declare namespace $ {
|
|
47
|
-
class $mol_decor<Value> {
|
|
48
|
-
readonly value: Value;
|
|
49
|
-
constructor(value: Value);
|
|
50
|
-
prefix(): string;
|
|
51
|
-
valueOf(): Value;
|
|
52
|
-
postfix(): string;
|
|
53
|
-
toString(): string;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
declare namespace $ {
|
|
58
|
-
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';
|
|
59
|
-
type $mol_style_unit_angle = 'deg' | 'rad' | 'grad' | 'turn';
|
|
60
|
-
type $mol_style_unit_time = 's' | 'ms';
|
|
61
|
-
type $mol_style_unit_any = $mol_style_unit_length | $mol_style_unit_angle | $mol_style_unit_time;
|
|
62
|
-
type $mol_style_unit_str<Quanity extends $mol_style_unit_any = $mol_style_unit_any> = `${number}${Quanity}`;
|
|
63
|
-
class $mol_style_unit<Literal extends $mol_style_unit_any> extends $mol_decor<number> {
|
|
64
|
-
readonly literal: Literal;
|
|
65
|
-
constructor(value: number, literal: Literal);
|
|
66
|
-
postfix(): Literal;
|
|
67
|
-
static per(value: number): `${number}%`;
|
|
68
|
-
static px(value: number): `${number}px`;
|
|
69
|
-
static mm(value: number): `${number}mm`;
|
|
70
|
-
static cm(value: number): `${number}cm`;
|
|
71
|
-
static Q(value: number): `${number}Q`;
|
|
72
|
-
static in(value: number): `${number}in`;
|
|
73
|
-
static pc(value: number): `${number}pc`;
|
|
74
|
-
static pt(value: number): `${number}pt`;
|
|
75
|
-
static cap(value: number): `${number}cap`;
|
|
76
|
-
static ch(value: number): `${number}ch`;
|
|
77
|
-
static em(value: number): `${number}em`;
|
|
78
|
-
static rem(value: number): `${number}rem`;
|
|
79
|
-
static ex(value: number): `${number}ex`;
|
|
80
|
-
static ic(value: number): `${number}ic`;
|
|
81
|
-
static lh(value: number): `${number}lh`;
|
|
82
|
-
static rlh(value: number): `${number}rlh`;
|
|
83
|
-
static vh(value: number): `${number}vh`;
|
|
84
|
-
static vw(value: number): `${number}vw`;
|
|
85
|
-
static vi(value: number): `${number}vi`;
|
|
86
|
-
static vb(value: number): `${number}vb`;
|
|
87
|
-
static vmin(value: number): `${number}vmin`;
|
|
88
|
-
static vmax(value: number): `${number}vmax`;
|
|
89
|
-
static deg(value: number): `${number}deg`;
|
|
90
|
-
static rad(value: number): `${number}rad`;
|
|
91
|
-
static grad(value: number): `${number}grad`;
|
|
92
|
-
static turn(value: number): `${number}turn`;
|
|
93
|
-
static s(value: number): `${number}s`;
|
|
94
|
-
static ms(value: number): `${number}ms`;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
declare namespace $ {
|
|
99
|
-
type $mol_style_func_name = 'calc' | 'hsla' | 'rgba' | 'var' | 'clamp' | 'scale' | 'cubic-bezier' | 'linear' | 'steps' | $mol_style_func_image | $mol_style_func_filter;
|
|
100
|
-
type $mol_style_func_image = 'url' | 'linear-gradient' | 'radial-gradient' | 'conic-gradient';
|
|
101
|
-
type $mol_style_func_filter = 'blur' | 'brightness' | 'contrast' | 'drop-shadow' | 'grayscale' | 'hue-rotate' | 'invert' | 'opacity' | 'sepia' | 'saturate';
|
|
102
|
-
class $mol_style_func<Name extends $mol_style_func_name, Value = unknown> extends $mol_decor<Value> {
|
|
103
|
-
readonly name: Name;
|
|
104
|
-
constructor(name: Name, value: Value);
|
|
105
|
-
prefix(): string;
|
|
106
|
-
postfix(): string;
|
|
107
|
-
static linear_gradient<Value>(value: Value): $mol_style_func<"linear-gradient", Value>;
|
|
108
|
-
static radial_gradient<Value>(value: Value): $mol_style_func<"radial-gradient", Value>;
|
|
109
|
-
static calc<Value>(value: Value): $mol_style_func<"calc", Value>;
|
|
110
|
-
static vary<Name extends string, Value extends string>(name: Name, defaultValue?: Value): $mol_style_func<"var", Name | (Name | Value)[]>;
|
|
111
|
-
static url<Href extends string>(href: Href): $mol_style_func<"url", string>;
|
|
112
|
-
static hsla(hue: number, saturation: number, lightness: number, alpha: number): $mol_style_func<"hsla", (number | `${number}%`)[]>;
|
|
113
|
-
static clamp(min: $mol_style_unit_str<any>, mid: $mol_style_unit_str<any>, max: $mol_style_unit_str<any>): $mol_style_func<"clamp", `${number}${any}`[]>;
|
|
114
|
-
static rgba(red: number, green: number, blue: number, alpha: number): $mol_style_func<"rgba", number[]>;
|
|
115
|
-
static scale(zoom: number): $mol_style_func<"scale", number[]>;
|
|
116
|
-
static linear(...breakpoints: Array<number | [number, number | $mol_style_unit_str<'%'>]>): $mol_style_func<"linear", string[]>;
|
|
117
|
-
static cubic_bezier(x1: number, y1: number, x2: number, y2: number): $mol_style_func<"cubic-bezier", number[]>;
|
|
118
|
-
static steps(value: number, step_position: 'jump-start' | 'jump-end' | 'jump-none' | 'jump-both' | 'start' | 'end'): $mol_style_func<"steps", (number | "end" | "start" | "jump-start" | "jump-end" | "jump-none" | "jump-both")[]>;
|
|
119
|
-
static blur(value?: $mol_style_unit_str<$mol_style_unit_length>): $mol_style_func<"blur", string>;
|
|
120
|
-
static brightness(value?: number | $mol_style_unit_str<'%'>): $mol_style_func<"brightness", string | number>;
|
|
121
|
-
static contrast(value?: number | $mol_style_unit_str<'%'>): $mol_style_func<"contrast", string | number>;
|
|
122
|
-
static drop_shadow(color: $mol_style_properties_color, x_offset: $mol_style_unit_str<$mol_style_unit_length>, y_offset: $mol_style_unit_str<$mol_style_unit_length>, blur_radius?: $mol_style_unit_str<$mol_style_unit_length>): $mol_style_func<"drop-shadow", (`${number}%` | `${number}px` | `${number}mm` | `${number}cm` | `${number}Q` | `${number}in` | `${number}pc` | `${number}pt` | `${number}cap` | `${number}ch` | `${number}em` | `${number}rem` | `${number}ex` | `${number}ic` | `${number}lh` | `${number}rlh` | `${number}vh` | `${number}vw` | `${number}vi` | `${number}vb` | `${number}vmin` | `${number}vmax` | $mol_style_properties_color)[]>;
|
|
123
|
-
static grayscale(value?: number | $mol_style_unit_str<'%'>): $mol_style_func<"grayscale", string | number>;
|
|
124
|
-
static hue_rotate(value?: 0 | $mol_style_unit_str<$mol_style_unit_angle>): $mol_style_func<"hue-rotate", string | 0>;
|
|
125
|
-
static invert(value?: number | $mol_style_unit_str<'%'>): $mol_style_func<"invert", string | number>;
|
|
126
|
-
static opacity(value?: number | $mol_style_unit_str<'%'>): $mol_style_func<"opacity", string | number>;
|
|
127
|
-
static sepia(value?: number | $mol_style_unit_str<'%'>): $mol_style_func<"sepia", string | number>;
|
|
128
|
-
static saturate(value?: number | $mol_style_unit_str<'%'>): $mol_style_func<"saturate", string | number>;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
declare namespace $ {
|
|
133
|
-
type $mol_type_override<Base, Over> = Omit<Base, keyof Over> & Over;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
declare namespace $ {
|
|
137
|
-
export type $mol_style_properties = Partial<$mol_type_override<CSSStyleDeclaration, Overrides>>;
|
|
138
|
-
type Common = 'inherit' | 'initial' | 'unset' | 'revert' | 'revert-layer' | 'none' | $mol_style_func<'var'>;
|
|
139
|
-
export type $mol_style_properties_color = 'aliceblue' | 'antiquewhite' | 'aqua' | 'aquamarine' | 'azure' | 'beige' | 'bisque' | 'black' | 'blanchedalmond' | 'blue' | 'blueviolet' | 'brown' | 'burlywood' | 'cadetblue' | 'chartreuse' | 'chocolate' | 'coral' | 'cornflowerblue' | 'cornsilk' | 'crimson' | 'cyan' | 'darkblue' | 'darkcyan' | 'darkgoldenrod' | 'darkgray' | 'darkgreen' | 'darkgrey' | 'darkkhaki' | 'darkmagenta' | 'darkolivegreen' | 'darkorange' | 'darkorchid' | 'darkred' | 'darksalmon' | 'darkseagreen' | 'darkslateblue' | 'darkslategrey' | 'darkturquoise' | 'darkviolet' | 'deeppink' | 'deepskyblue' | 'dimgray' | 'dimgrey' | 'dodgerblue' | 'firebrick' | 'floralwhite' | 'forestgreen' | 'fuchsia' | 'gainsboro' | 'ghostwhite' | 'gold' | 'goldenrod' | 'gray' | 'green' | 'greenyellow' | 'grey' | 'honeydew' | 'hotpink' | 'indianred' | 'indigo' | 'ivory' | 'khaki' | 'lavender' | 'lavenderblush' | 'lawngreen' | 'lemonchiffon' | 'lightblue' | 'lightcoral' | 'lightcyan' | 'lightgoldenrodyellow' | 'lightgray' | 'lightgreen' | 'lightgrey' | 'lightpink' | 'lightsalmon' | 'lightseagreen' | 'lightskyblue' | 'lightslategray' | 'lightslategrey' | 'lightsteelblue' | 'lightyellow' | 'lime' | 'limegreen' | 'linen' | 'magenta' | 'maroon' | 'mediumaquamarine' | 'mediumblue' | 'mediumorchid' | 'mediumpurple' | 'mediumseagreen' | 'mediumslateblue' | 'mediumspringgreen' | 'mediumturquoise' | 'mediumvioletred' | 'midnightblue' | 'mintcream' | 'mistyrose' | 'moccasin' | 'navajowhite' | 'navy' | 'oldlace' | 'olive' | 'olivedrab' | 'orange' | 'orangered' | 'orchid' | 'palegoldenrod' | 'palegreen' | 'paleturquoise' | 'palevioletred' | 'papayawhip' | 'peachpuff' | 'peru' | 'pink' | 'plum' | 'powderblue' | 'purple' | 'rebeccapurple' | 'red' | 'rosybrown' | 'royalblue' | 'saddlebrown' | 'salmon' | 'sandybrown' | 'seagreen' | 'seashell' | 'sienna' | 'silver' | 'skyblue' | 'slateblue' | 'slategray' | 'slategrey' | 'snow' | 'springgreen' | 'steelblue' | 'tan' | 'teal' | 'thistle' | 'tomato' | 'turquoise' | 'violet' | 'wheat' | 'white' | 'whitesmoke' | 'yellow' | 'yellowgreen' | 'transparent' | 'currentcolor' | $mol_style_func<'hsla' | 'rgba' | 'var'> | `#${string}`;
|
|
140
|
-
type Length = 0 | `${number}${$mol_style_unit_length}` | $mol_style_func<'calc' | 'var' | 'clamp'>;
|
|
141
|
-
type Size = 'auto' | 'max-content' | 'min-content' | 'fit-content' | Length | Common;
|
|
142
|
-
type Directions<Value> = Value | readonly [Value, Value] | {
|
|
143
|
-
top?: Value;
|
|
144
|
-
right?: Value;
|
|
145
|
-
bottom?: Value;
|
|
146
|
-
left?: Value;
|
|
147
|
-
};
|
|
148
|
-
type Single_animation_composition = 'replace' | 'add' | 'accumulate';
|
|
149
|
-
type Single_animation_direction = 'normal' | 'reverse' | 'alternate' | 'alternate-reverse';
|
|
150
|
-
type Single_animation_fill_mode = 'none' | 'forwards' | 'backwards' | 'both';
|
|
151
|
-
type Single_animation_iteration_count = 'infinite' | number;
|
|
152
|
-
type Single_animation_play_state = 'running' | 'paused';
|
|
153
|
-
type Easing_function = Linear_easing_function | Cubic_bezier_easing_function | Step_easing_function;
|
|
154
|
-
type Linear_easing_function = 'linear' | $mol_style_func<'linear'>;
|
|
155
|
-
type Cubic_bezier_easing_function = 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | $mol_style_func<'cubic-bezier'>;
|
|
156
|
-
type Step_easing_function = 'step-start' | 'step-end' | $mol_style_func<'steps'>;
|
|
157
|
-
type Compat_auto = 'searchfield' | 'textarea' | 'push-button' | 'slider-horizontal' | 'checkbox' | 'radio' | 'menulist' | 'listbox' | 'meter' | 'progress-bar' | 'button';
|
|
158
|
-
type Compat_special = 'textfield' | 'menulist-button';
|
|
159
|
-
type Mix_blend_mode = Blend_mode | 'plus-darker' | 'plus-lighter';
|
|
160
|
-
type Blend_mode = 'normal' | 'multiply' | 'screen' | 'overlay' | 'darken' | 'lighten' | 'color-dodge' | 'color-burn' | 'hard-light' | 'soft-light' | 'difference' | 'exclusion' | 'hue' | 'saturation' | 'color' | 'luminosity';
|
|
161
|
-
type Box = 'border-box' | 'padding-box' | 'content-box';
|
|
162
|
-
type Baseline_position = 'baseline' | `${'first' | 'last'} baseline`;
|
|
163
|
-
type Content_distribution = 'space-between' | 'space-around' | 'space-evenly' | 'stretch';
|
|
164
|
-
type Self_position = 'center' | 'start' | 'end' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end';
|
|
165
|
-
type Content_position = 'center' | 'start' | 'end' | 'flex-start' | 'flex-end';
|
|
166
|
-
type Span_align = 'none' | 'start' | 'end' | 'center' | $mol_style_func<'var'>;
|
|
167
|
-
type Snap_axis = 'x' | 'y' | 'block' | 'inline' | 'both' | $mol_style_func<'var'>;
|
|
168
|
-
type Overflow = 'visible' | 'hidden' | 'clip' | 'scroll' | 'auto' | 'overlay' | Common;
|
|
169
|
-
type Overflow_position = 'unsafe' | 'safe';
|
|
170
|
-
type ContainRule = 'size' | 'layout' | 'style' | 'paint' | $mol_style_func<'var'>;
|
|
171
|
-
type Repeat = 'repeat-x' | 'repeat-y' | 'repeat' | 'space' | 'round' | 'no-repeat' | $mol_style_func<'var'>;
|
|
172
|
-
type BG_size = Length | 'auto' | 'contain' | 'cover';
|
|
173
|
-
interface Overrides {
|
|
174
|
-
accentColor?: $mol_style_properties_color | Common;
|
|
175
|
-
align?: {
|
|
176
|
-
content?: 'normal' | Baseline_position | Content_distribution | Content_position | `${Overflow_position} ${Content_position}` | Common;
|
|
177
|
-
items?: 'normal' | 'stretch' | Baseline_position | Self_position | `${Overflow_position} ${Self_position}` | Common;
|
|
178
|
-
self?: 'auto' | 'normal' | 'stretch' | Baseline_position | Self_position | `${Overflow_position} ${Self_position}` | Common;
|
|
179
|
-
};
|
|
180
|
-
justify?: {
|
|
181
|
-
content?: 'normal' | Baseline_position | Content_distribution | Content_position | `${Overflow_position} ${Content_position}` | Common;
|
|
182
|
-
items?: 'normal' | 'stretch' | Baseline_position | Self_position | `${Overflow_position} ${Self_position}` | Common;
|
|
183
|
-
self?: 'auto' | 'normal' | 'stretch' | Baseline_position | Self_position | `${Overflow_position} ${Self_position}` | Common;
|
|
184
|
-
};
|
|
185
|
-
all?: Common;
|
|
186
|
-
animation?: {
|
|
187
|
-
composition?: Single_animation_composition | Single_animation_composition[][] | Common;
|
|
188
|
-
delay?: $mol_style_unit_str<$mol_style_unit_time> | $mol_style_unit_str<$mol_style_unit_time>[][] | Common;
|
|
189
|
-
direction?: Single_animation_direction | Single_animation_direction[][] | Common;
|
|
190
|
-
duration?: $mol_style_unit_str<$mol_style_unit_time> | $mol_style_unit_str<$mol_style_unit_time>[][] | Common;
|
|
191
|
-
fillMode?: Single_animation_fill_mode | Single_animation_fill_mode[][] | Common;
|
|
192
|
-
iterationCount?: Single_animation_iteration_count | Single_animation_iteration_count[][] | Common;
|
|
193
|
-
name?: 'none' | string & {} | ('none' | string & {})[][] | Common;
|
|
194
|
-
playState?: Single_animation_play_state | Single_animation_play_state[][] | Common;
|
|
195
|
-
timingFunction?: Easing_function | Easing_function[][] | Common;
|
|
196
|
-
};
|
|
197
|
-
appearance?: 'none' | 'auto' | Compat_auto | Compat_special | Common;
|
|
198
|
-
aspectRatio?: 'auto' | number | `${number} / ${number}`;
|
|
199
|
-
backdropFilter: $mol_style_func<$mol_style_func_filter> | $mol_style_func<'url'> | ($mol_style_func<$mol_style_func_filter> | $mol_style_func<'url'>)[][] | 'none' | Common;
|
|
200
|
-
backfaceVisibility: 'visible' | 'hidden' | Common;
|
|
201
|
-
justifyContent?: 'start' | 'end' | 'flex-start' | 'flex-end' | 'left' | 'right' | 'space-between' | 'space-around' | 'space-evenly' | 'normal' | 'stretch' | 'center' | Common;
|
|
202
|
-
gap?: Length;
|
|
203
|
-
background?: 'none' | {
|
|
204
|
-
attachment?: 'scroll' | 'fixed' | 'local' | ('scroll' | 'fixed' | 'local')[][] | Common;
|
|
205
|
-
blendMode?: Mix_blend_mode | Mix_blend_mode[][] | Common;
|
|
206
|
-
clip?: Box | Box[][] | Common;
|
|
207
|
-
color?: $mol_style_properties_color | Common;
|
|
208
|
-
image?: readonly (readonly [$mol_style_func<$mol_style_func_image> | string & {}])[] | 'none' | Common;
|
|
209
|
-
repeat?: Repeat | [Repeat, Repeat] | Common;
|
|
210
|
-
position?: 'left' | 'right' | 'top' | 'bottom' | 'center' | Common;
|
|
211
|
-
size?: (BG_size | [BG_size] | [BG_size, BG_size])[];
|
|
212
|
-
};
|
|
213
|
-
box?: {
|
|
214
|
-
shadow?: readonly ([
|
|
215
|
-
...[inset: 'inset'] | [],
|
|
216
|
-
x: Length,
|
|
217
|
-
y: Length,
|
|
218
|
-
blur: Length,
|
|
219
|
-
spread: Length,
|
|
220
|
-
color: $mol_style_properties_color
|
|
221
|
-
] | {
|
|
222
|
-
inset?: boolean;
|
|
223
|
-
x: Length;
|
|
224
|
-
y: Length;
|
|
225
|
-
blur: Length;
|
|
226
|
-
spread: Length;
|
|
227
|
-
color: $mol_style_properties_color;
|
|
228
|
-
})[] | 'none' | Common;
|
|
229
|
-
};
|
|
230
|
-
font?: {
|
|
231
|
-
style?: 'normal' | 'italic' | Common;
|
|
232
|
-
weight?: 'normal' | 'bold' | 'lighter' | 'bolder' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | Common;
|
|
233
|
-
size?: 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'smaller' | 'larger' | Length | Common;
|
|
234
|
-
family?: string & {} | 'serif' | 'sans-serif' | 'monospace' | 'cursive' | 'fantasy' | 'system-ui' | 'ui-serif' | 'ui-sans-serif' | 'ui-monospace' | 'ui-rounded' | 'emoji' | 'math' | 'fangsong' | Common;
|
|
235
|
-
};
|
|
236
|
-
color?: $mol_style_properties_color | Common;
|
|
237
|
-
display?: 'block' | 'inline' | 'run-in' | 'list-item' | 'none' | 'flow' | 'flow-root' | 'table' | 'flex' | 'grid' | 'contents' | 'table-row-group' | 'table-header-group' | 'table-footer-group' | 'table-column-group' | 'table-row' | 'table-cell' | 'table-column' | 'table-caption' | 'inline-block' | 'inline-table' | 'inline-flex' | 'inline-grid' | 'ruby' | 'ruby-base' | 'ruby-text' | 'ruby-base-container' | 'ruby-text-container' | Common;
|
|
238
|
-
overflow?: Overflow | {
|
|
239
|
-
x?: Overflow | Common;
|
|
240
|
-
y?: Overflow | Common;
|
|
241
|
-
anchor?: 'auto' | 'none' | Common;
|
|
242
|
-
};
|
|
243
|
-
contain?: 'none' | 'strict' | 'content' | ContainRule | readonly ContainRule[] | Common;
|
|
244
|
-
whiteSpace?: 'normal' | 'nowrap' | 'break-spaces' | 'pre' | 'pre-wrap' | 'pre-line' | Common;
|
|
245
|
-
webkitOverflowScrolling?: 'auto' | 'touch' | Common;
|
|
246
|
-
scrollbar?: {
|
|
247
|
-
color?: readonly [$mol_style_properties_color, $mol_style_properties_color] | 'auto' | Common;
|
|
248
|
-
width?: 'auto' | 'thin' | 'none' | Common;
|
|
249
|
-
};
|
|
250
|
-
scroll?: {
|
|
251
|
-
snap?: {
|
|
252
|
-
type: 'none' | Snap_axis | readonly [Snap_axis, 'mandatory' | 'proximity'] | Common;
|
|
253
|
-
stop: 'normal' | 'always' | Common;
|
|
254
|
-
align: Span_align | readonly [Span_align, Span_align] | Common;
|
|
255
|
-
};
|
|
256
|
-
padding?: Directions<Length | 'auto'>;
|
|
257
|
-
};
|
|
258
|
-
width?: Size;
|
|
259
|
-
minWidth?: Size;
|
|
260
|
-
maxWidth?: Size;
|
|
261
|
-
height?: Size;
|
|
262
|
-
minHeight?: Size;
|
|
263
|
-
maxHeight?: Size;
|
|
264
|
-
margin?: Directions<Length | 'auto'>;
|
|
265
|
-
padding?: Directions<Length | 'auto'>;
|
|
266
|
-
position?: 'static' | 'relative' | 'absolute' | 'sticky' | 'fixed' | Common;
|
|
267
|
-
top?: Length | 'auto' | Common;
|
|
268
|
-
right?: Length | 'auto' | Common;
|
|
269
|
-
bottom?: Length | 'auto' | Common;
|
|
270
|
-
left?: Length | 'auto' | Common;
|
|
271
|
-
border?: Directions<{
|
|
272
|
-
radius?: Length | [Length, Length];
|
|
273
|
-
style?: 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' | Common;
|
|
274
|
-
color?: $mol_style_properties_color | Common;
|
|
275
|
-
width?: Length | Common;
|
|
276
|
-
}>;
|
|
277
|
-
flex?: 'none' | 'auto' | {
|
|
278
|
-
grow?: number | Common;
|
|
279
|
-
shrink?: number | Common;
|
|
280
|
-
basis?: Size | Common;
|
|
281
|
-
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse' | Common;
|
|
282
|
-
wrap?: 'wrap' | 'nowrap' | 'wrap-reverse' | Common;
|
|
283
|
-
};
|
|
284
|
-
zIndex: number | Common;
|
|
285
|
-
opacity: number | Common;
|
|
286
|
-
}
|
|
287
|
-
export {};
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
declare namespace $ {
|
|
291
|
-
function $mol_style_prop<Keys extends string[]>(prefix: string, keys: Keys): Record<Keys[number], $mol_style_func<"var", unknown>>;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
declare namespace $ {
|
|
295
|
-
const $mol_theme: Record<"image" | "line" | "text" | "back" | "hover" | "card" | "current" | "special" | "control" | "shade" | "focus" | "field" | "spirit", $mol_style_func<"var", unknown>>;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
declare namespace $ {
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
declare namespace $ {
|
|
302
|
-
let $mol_gap: Record<"text" | "blur" | "page" | "block" | "space" | "round" | "emoji", $mol_style_func<"var", unknown>>;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
declare namespace $ {
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
declare namespace $ {
|
|
309
|
-
function $mol_fail(error: any): never;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
declare namespace $ {
|
|
313
|
-
function $mol_func_name(this: $, func: Function): string;
|
|
314
|
-
function $mol_func_name_from<Target extends Function>(target: Target, source: Function): Target;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
declare namespace $ {
|
|
318
|
-
function $mol_dom_render_children(el: Element | DocumentFragment, childNodes: NodeList | Array<Node | string | null>): void;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
declare namespace $ {
|
|
322
|
-
type $mol_type_partial_deep<Val> = Val extends object ? Val extends Function ? Val : {
|
|
323
|
-
[field in keyof Val]?: $mol_type_partial_deep<Val[field]> | undefined;
|
|
324
|
-
} : Val;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
declare namespace $ {
|
|
328
|
-
let $mol_jsx_prefix: string;
|
|
329
|
-
let $mol_jsx_crumbs: string;
|
|
330
|
-
let $mol_jsx_booked: null | Set<string>;
|
|
331
|
-
let $mol_jsx_document: $mol_jsx.JSX.ElementClass['ownerDocument'];
|
|
332
|
-
const $mol_jsx_frag = "";
|
|
333
|
-
function $mol_jsx<Props extends $mol_jsx.JSX.IntrinsicAttributes, Children extends Array<Node | string>>(Elem: string | ((props: Props, ...children: Children) => Element), props: Props, ...childNodes: Children): Element | DocumentFragment;
|
|
334
|
-
namespace $mol_jsx.JSX {
|
|
335
|
-
interface Element extends HTMLElement {
|
|
336
|
-
class?: string;
|
|
337
|
-
}
|
|
338
|
-
interface ElementClass {
|
|
339
|
-
attributes: {};
|
|
340
|
-
ownerDocument: Pick<Document, 'getElementById' | 'createElementNS' | 'createDocumentFragment'>;
|
|
341
|
-
childNodes: Array<Node | string>;
|
|
342
|
-
valueOf(): Element;
|
|
343
|
-
}
|
|
344
|
-
type OrString<Dict> = {
|
|
345
|
-
[key in keyof Dict]: Dict[key] | string;
|
|
346
|
-
};
|
|
347
|
-
type IntrinsicElements = {
|
|
348
|
-
[key in keyof ElementTagNameMap]?: $.$mol_type_partial_deep<OrString<Element & IntrinsicAttributes & ElementTagNameMap[key]>>;
|
|
349
|
-
};
|
|
350
|
-
interface IntrinsicAttributes {
|
|
351
|
-
id?: string;
|
|
352
|
-
xmlns?: string;
|
|
353
|
-
}
|
|
354
|
-
interface ElementAttributesProperty {
|
|
355
|
-
attributes: {};
|
|
356
|
-
}
|
|
357
|
-
interface ElementChildrenAttribute {
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
declare namespace $ {
|
|
363
|
-
const $mol_ambient_ref: unique symbol;
|
|
364
|
-
type $mol_ambient_context = $;
|
|
365
|
-
function $mol_ambient(this: $ | void, overrides: Partial<$>): $;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
declare namespace $ {
|
|
369
|
-
function $mol_delegate<Value extends object>(proto: Value, target: () => Value): Value;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
declare namespace $ {
|
|
373
|
-
const $mol_owning_map: WeakMap<any, any>;
|
|
374
|
-
function $mol_owning_allow<Having>(having: Having): having is Having & {
|
|
375
|
-
destructor(): void;
|
|
376
|
-
};
|
|
377
|
-
function $mol_owning_get<Having, Owner extends object>(having: Having, Owner?: {
|
|
378
|
-
new (): Owner;
|
|
379
|
-
}): Owner | null;
|
|
380
|
-
function $mol_owning_check<Owner, Having>(owner: Owner, having: Having): having is Having & {
|
|
381
|
-
destructor(): void;
|
|
382
|
-
};
|
|
383
|
-
function $mol_owning_catch<Owner, Having>(owner: Owner, having: Having): boolean;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
declare namespace $ {
|
|
387
|
-
function $mol_fail_hidden(error: any): never;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
declare namespace $ {
|
|
391
|
-
type $mol_type_writable<T> = {
|
|
392
|
-
-readonly [P in keyof T]: T[P];
|
|
393
|
-
};
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
declare namespace $ {
|
|
397
|
-
const $mol_key_handle: unique symbol;
|
|
398
|
-
const $mol_key_store: WeakMap<object, string>;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
declare namespace $ {
|
|
402
|
-
class $mol_object2 {
|
|
403
|
-
static $: $;
|
|
404
|
-
[Symbol.toStringTag]: string;
|
|
405
|
-
[$mol_ambient_ref]: $;
|
|
406
|
-
get $(): $;
|
|
407
|
-
set $(next: $);
|
|
408
|
-
static create<Instance>(this: new (init?: (instance: any) => void) => Instance, init?: (instance: $mol_type_writable<Instance>) => void): Instance;
|
|
409
|
-
static [Symbol.toPrimitive](): any;
|
|
410
|
-
static toString(): any;
|
|
411
|
-
static toJSON(): any;
|
|
412
|
-
static [$mol_key_handle](): any;
|
|
413
|
-
destructor(): void;
|
|
414
|
-
static destructor(): void;
|
|
415
|
-
[Symbol.dispose](): void;
|
|
416
|
-
toString(): string;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
declare namespace $ {
|
|
421
|
-
namespace $$ { }
|
|
422
|
-
const $mol_object_field: unique symbol;
|
|
423
|
-
class $mol_object extends $mol_object2 {
|
|
424
|
-
static make<This extends typeof $mol_object>(this: This, config: Partial<InstanceType<This>>): InstanceType<This>;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
declare namespace $ {
|
|
429
|
-
function $mol_guid(length?: number, exists?: (id: string) => boolean): string;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
declare namespace $ {
|
|
433
|
-
enum $mol_wire_cursor {
|
|
434
|
-
stale = -1,
|
|
435
|
-
doubt = -2,
|
|
436
|
-
fresh = -3,
|
|
437
|
-
final = -4
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
declare namespace $ {
|
|
442
|
-
class $mol_wire_pub extends Object {
|
|
443
|
-
constructor(id?: string);
|
|
444
|
-
[Symbol.toStringTag]: string;
|
|
445
|
-
data: unknown[];
|
|
446
|
-
static get [Symbol.species](): ArrayConstructor;
|
|
447
|
-
protected sub_from: number;
|
|
448
|
-
get sub_list(): readonly $mol_wire_sub[];
|
|
449
|
-
get sub_empty(): boolean;
|
|
450
|
-
sub_on(sub: $mol_wire_pub, pub_pos: number): number;
|
|
451
|
-
sub_off(sub_pos: number): void;
|
|
452
|
-
reap(): void;
|
|
453
|
-
promote(): void;
|
|
454
|
-
fresh(): void;
|
|
455
|
-
complete(): void;
|
|
456
|
-
get incompleted(): boolean;
|
|
457
|
-
emit(quant?: $mol_wire_cursor): void;
|
|
458
|
-
peer_move(from_pos: number, to_pos: number): void;
|
|
459
|
-
peer_repos(peer_pos: number, self_pos: number): void;
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
declare namespace $ {
|
|
464
|
-
interface $mol_wire_sub extends $mol_wire_pub {
|
|
465
|
-
temp: boolean;
|
|
466
|
-
pub_list: $mol_wire_pub[];
|
|
467
|
-
track_on(): $mol_wire_sub | null;
|
|
468
|
-
track_next(pub?: $mol_wire_pub): $mol_wire_pub | null;
|
|
469
|
-
pub_off(pub_pos: number): void;
|
|
470
|
-
track_cut(sub: $mol_wire_pub | null): void;
|
|
471
|
-
track_off(sub: $mol_wire_pub | null): void;
|
|
472
|
-
absorb(quant: $mol_wire_cursor, pos: number): void;
|
|
473
|
-
destructor(): void;
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
declare namespace $ {
|
|
478
|
-
let $mol_wire_auto_sub: $mol_wire_sub | null;
|
|
479
|
-
function $mol_wire_auto(next?: $mol_wire_sub | null): $mol_wire_sub | null;
|
|
480
|
-
const $mol_wire_affected: ($mol_wire_sub | number)[];
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
declare namespace $ {
|
|
484
|
-
function $mol_dev_format_register(config: {
|
|
485
|
-
header: (val: any, config: any) => any;
|
|
486
|
-
hasBody: (val: any, config: any) => false;
|
|
487
|
-
} | {
|
|
488
|
-
header: (val: any, config: any) => any;
|
|
489
|
-
hasBody: (val: any, config: any) => boolean;
|
|
490
|
-
body: (val: any, config: any) => any;
|
|
491
|
-
}): void;
|
|
492
|
-
const $mol_dev_format_head: unique symbol;
|
|
493
|
-
const $mol_dev_format_body: unique symbol;
|
|
494
|
-
function $mol_dev_format_native(obj: any): any[];
|
|
495
|
-
function $mol_dev_format_auto(obj: any): any[];
|
|
496
|
-
function $mol_dev_format_element(element: string, style: object, ...content: any[]): any[];
|
|
497
|
-
let $mol_dev_format_span: (style: object, ...content: any[]) => any[];
|
|
498
|
-
let $mol_dev_format_div: (style: object, ...content: any[]) => any[];
|
|
499
|
-
let $mol_dev_format_ol: (style: object, ...content: any[]) => any[];
|
|
500
|
-
let $mol_dev_format_li: (style: object, ...content: any[]) => any[];
|
|
501
|
-
let $mol_dev_format_table: (style: object, ...content: any[]) => any[];
|
|
502
|
-
let $mol_dev_format_tr: (style: object, ...content: any[]) => any[];
|
|
503
|
-
let $mol_dev_format_td: (style: object, ...content: any[]) => any[];
|
|
504
|
-
let $mol_dev_format_accent: (...args: any[]) => any[];
|
|
505
|
-
let $mol_dev_format_strong: (...args: any[]) => any[];
|
|
506
|
-
let $mol_dev_format_string: (...args: any[]) => any[];
|
|
507
|
-
let $mol_dev_format_shade: (...args: any[]) => any[];
|
|
508
|
-
let $mol_dev_format_indent: (...args: any[]) => any[];
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
declare namespace $ {
|
|
512
|
-
class $mol_wire_pub_sub extends $mol_wire_pub implements $mol_wire_sub {
|
|
513
|
-
protected pub_from: number;
|
|
514
|
-
protected cursor: $mol_wire_cursor;
|
|
515
|
-
get temp(): boolean;
|
|
516
|
-
get pub_list(): $mol_wire_pub[];
|
|
517
|
-
track_on(): $mol_wire_sub | null;
|
|
518
|
-
promote(): void;
|
|
519
|
-
track_next(pub?: $mol_wire_pub): $mol_wire_pub | null;
|
|
520
|
-
track_off(sub: $mol_wire_sub | null): void;
|
|
521
|
-
pub_off(sub_pos: number): void;
|
|
522
|
-
destructor(): void;
|
|
523
|
-
track_cut(): void;
|
|
524
|
-
complete(): void;
|
|
525
|
-
complete_pubs(): void;
|
|
526
|
-
absorb(quant?: $mol_wire_cursor, pos?: number): void;
|
|
527
|
-
[$mol_dev_format_head](): any[];
|
|
528
|
-
get pub_empty(): boolean;
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
declare namespace $ {
|
|
533
|
-
class $mol_after_tick extends $mol_object2 {
|
|
534
|
-
task: () => void;
|
|
535
|
-
static promise: Promise<void> | null;
|
|
536
|
-
cancelled: boolean;
|
|
537
|
-
constructor(task: () => void);
|
|
538
|
-
destructor(): void;
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
declare namespace $ {
|
|
543
|
-
function $mol_promise_like(val: any): val is Promise<any>;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
declare namespace $ {
|
|
547
|
-
abstract class $mol_wire_fiber<Host, Args extends readonly unknown[], Result> extends $mol_wire_pub_sub {
|
|
548
|
-
readonly task: (this: Host, ...args: Args) => Result;
|
|
549
|
-
readonly host?: Host | undefined;
|
|
550
|
-
static warm: boolean;
|
|
551
|
-
static planning: Set<$mol_wire_fiber<any, any, any>>;
|
|
552
|
-
static reaping: Set<$mol_wire_fiber<any, any, any>>;
|
|
553
|
-
static plan_task: $mol_after_tick | null;
|
|
554
|
-
static plan(): void;
|
|
555
|
-
static sync(): void;
|
|
556
|
-
cache: Result | Error | Promise<Result | Error>;
|
|
557
|
-
get args(): Args;
|
|
558
|
-
result(): Result | undefined;
|
|
559
|
-
get incompleted(): boolean;
|
|
560
|
-
field(): string;
|
|
561
|
-
constructor(id: string, task: (this: Host, ...args: Args) => Result, host?: Host | undefined, args?: Args);
|
|
562
|
-
plan(): this;
|
|
563
|
-
reap(): void;
|
|
564
|
-
toString(): string;
|
|
565
|
-
toJSON(): string;
|
|
566
|
-
[$mol_dev_format_head](): any[];
|
|
567
|
-
[$mol_dev_format_body](): null;
|
|
568
|
-
get $(): any;
|
|
569
|
-
emit(quant?: $mol_wire_cursor): void;
|
|
570
|
-
fresh(): this | undefined;
|
|
571
|
-
refresh(): void;
|
|
572
|
-
abstract put(next: Result | Error | Promise<Result | Error>): Result | Error | Promise<Result | Error>;
|
|
573
|
-
sync(): Awaited<Result>;
|
|
574
|
-
async_raw(): Promise<Result>;
|
|
575
|
-
async(): Promise<Result> & {
|
|
576
|
-
destructor(): void;
|
|
577
|
-
};
|
|
578
|
-
step(): Promise<null>;
|
|
579
|
-
destructor(): void;
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
declare namespace $ {
|
|
584
|
-
function $mol_key<Value>(value: Value): string;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
declare namespace $ {
|
|
588
|
-
class $mol_after_frame extends $mol_object2 {
|
|
589
|
-
task: () => void;
|
|
590
|
-
static _promise: Promise<void> | null;
|
|
591
|
-
static get promise(): Promise<void>;
|
|
592
|
-
cancelled: boolean;
|
|
593
|
-
promise: Promise<void>;
|
|
594
|
-
constructor(task: () => void);
|
|
595
|
-
destructor(): void;
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
declare namespace $ {
|
|
600
|
-
let $mol_compare_deep_cache: WeakMap<any, WeakMap<any, boolean>>;
|
|
601
|
-
function $mol_compare_deep<Value>(left: Value, right: Value): boolean;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
declare namespace $ {
|
|
605
|
-
type $mol_log3_event<Fields> = {
|
|
606
|
-
[key in string]: unknown;
|
|
607
|
-
} & {
|
|
608
|
-
time?: string;
|
|
609
|
-
place: unknown;
|
|
610
|
-
message: string;
|
|
611
|
-
} & Fields;
|
|
612
|
-
type $mol_log3_logger<Fields, Res = void> = (this: $, event: $mol_log3_event<Fields>) => Res;
|
|
613
|
-
let $mol_log3_come: $mol_log3_logger<{}>;
|
|
614
|
-
let $mol_log3_done: $mol_log3_logger<{}>;
|
|
615
|
-
let $mol_log3_fail: $mol_log3_logger<{}>;
|
|
616
|
-
let $mol_log3_warn: $mol_log3_logger<{
|
|
617
|
-
hint: string;
|
|
618
|
-
}>;
|
|
619
|
-
let $mol_log3_rise: $mol_log3_logger<{}>;
|
|
620
|
-
let $mol_log3_area: $mol_log3_logger<{}, () => void>;
|
|
621
|
-
function $mol_log3_area_lazy(this: $, event: $mol_log3_event<{}>): () => void;
|
|
622
|
-
let $mol_log3_stack: (() => void)[];
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
declare namespace $ {
|
|
626
|
-
type $mol_type_keys_extract<Input, Upper, Lower = never> = {
|
|
627
|
-
[Field in keyof Input]: unknown extends Input[Field] ? never : Input[Field] extends never ? never : Input[Field] extends Upper ? [
|
|
628
|
-
Lower
|
|
629
|
-
] extends [Input[Field]] ? Field : never : never;
|
|
630
|
-
}[keyof Input];
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
declare namespace $ {
|
|
634
|
-
function $mol_log3_web_make(level: $mol_type_keys_extract<Console, Function>, color: string): (this: $, event: $mol_log3_event<{}>) => () => void;
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
declare namespace $ {
|
|
638
|
-
class $mol_wire_task<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
|
|
639
|
-
static getter<Host, Args extends readonly unknown[], Result>(task: (this: Host, ...args: Args) => Result): (host: Host, args: Args) => $mol_wire_task<Host, Args, Result>;
|
|
640
|
-
get temp(): boolean;
|
|
641
|
-
complete(): void;
|
|
642
|
-
put(next: Result | Error | Promise<Result | Error>): Error | Result | Promise<Error | Result>;
|
|
643
|
-
destructor(): void;
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
declare namespace $ {
|
|
648
|
-
function $mol_wire_method<Host extends object, Args extends readonly any[]>(host: Host, field: PropertyKey, descr?: TypedPropertyDescriptor<(...args: Args) => any>): {
|
|
649
|
-
value: (this: Host, ...args: Args) => any;
|
|
650
|
-
enumerable?: boolean;
|
|
651
|
-
configurable?: boolean;
|
|
652
|
-
writable?: boolean;
|
|
653
|
-
get?: (() => (...args: Args) => any) | undefined;
|
|
654
|
-
set?: ((value: (...args: Args) => any) => void) | undefined;
|
|
655
|
-
};
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
declare namespace $ {
|
|
659
|
-
type $mol_type_tail<Tuple extends readonly any[]> = ((...tail: Tuple) => any) extends ((head: any, ...tail: infer Tail) => any) ? Tail : never;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
declare namespace $ {
|
|
663
|
-
type $mol_type_foot<Tuple extends readonly any[]> = Tuple['length'] extends 0 ? never : Tuple[$mol_type_tail<Tuple>['length']];
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
declare namespace $ {
|
|
667
|
-
function $mol_fail_catch(error: unknown): boolean;
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
declare namespace $ {
|
|
671
|
-
function $mol_try<Result>(handler: () => Result): Result | Error;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
declare namespace $ {
|
|
675
|
-
function $mol_try_web<Result>(handler2: () => Result): Result | Error;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
declare namespace $ {
|
|
679
|
-
function $mol_fail_log(error: unknown): boolean;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
declare namespace $ {
|
|
683
|
-
class $mol_wire_atom<Host, Args extends readonly unknown[], Result> extends $mol_wire_fiber<Host, Args, Result> {
|
|
684
|
-
static solo<Host, Args extends readonly unknown[], Result>(host: Host, task: (this: Host, ...args: Args) => Result): $mol_wire_atom<Host, Args, Result>;
|
|
685
|
-
static plex<Host, Args extends readonly unknown[], Result>(host: Host, task: (this: Host, ...args: Args) => Result, key: Args[0]): $mol_wire_atom<Host, Args, Result>;
|
|
686
|
-
static watching: Set<$mol_wire_atom<any, any, any>>;
|
|
687
|
-
static watcher: $mol_after_frame | null;
|
|
688
|
-
static watch(): void;
|
|
689
|
-
watch(): void;
|
|
690
|
-
resync(args: Args): Error | Result | Promise<Error | Result>;
|
|
691
|
-
once(): Awaited<Result>;
|
|
692
|
-
channel(): ((next?: $mol_type_foot<Args>) => Awaited<Result>) & {
|
|
693
|
-
atom: $mol_wire_atom<Host, Args, Result>;
|
|
694
|
-
};
|
|
695
|
-
destructor(): void;
|
|
696
|
-
put(next: Result | Error | Promise<Result | Error>): Error | Result | Promise<Error | Result>;
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
declare namespace $ {
|
|
701
|
-
export function $mol_wire_solo<Args extends any[]>(host: object, field: string, descr?: TypedPropertyDescriptor<(...args: Args) => any>): TypedPropertyDescriptor<(...args: First_optional<Args>) => any>;
|
|
702
|
-
type First_optional<Args extends any[]> = Args extends [] ? [] : [Args[0] | undefined, ...$mol_type_tail<Args>];
|
|
703
|
-
export {};
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
declare namespace $ {
|
|
707
|
-
function $mol_wire_plex<Args extends [any, ...any[]]>(host: object, field: string, descr?: TypedPropertyDescriptor<(...args: Args) => any>): {
|
|
708
|
-
value: (this: typeof host, ...args: Args) => any;
|
|
709
|
-
enumerable?: boolean;
|
|
710
|
-
configurable?: boolean;
|
|
711
|
-
writable?: boolean;
|
|
712
|
-
get?: (() => (...args: Args) => any) | undefined;
|
|
713
|
-
set?: ((value: (...args: Args) => any) => void) | undefined;
|
|
714
|
-
};
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
declare namespace $ {
|
|
718
|
-
let $mol_mem: typeof $mol_wire_solo;
|
|
719
|
-
let $mol_mem_key: typeof $mol_wire_plex;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
declare namespace $ {
|
|
723
|
-
class $mol_window extends $mol_object {
|
|
724
|
-
static size(): {
|
|
725
|
-
width: number;
|
|
726
|
-
height: number;
|
|
727
|
-
};
|
|
728
|
-
static resizes(next?: Event): Event | undefined;
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
declare namespace $ {
|
|
733
|
-
function $mol_guard_defined<T>(value: T): value is NonNullable<T>;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
declare namespace $ {
|
|
737
|
-
class $mol_view_selection extends $mol_object {
|
|
738
|
-
static focused(next?: Element[], notify?: 'notify'): Element[];
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
declare namespace $ {
|
|
743
|
-
function $mol_maybe<Value>(value: Value | null | undefined): Value[];
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
declare namespace $ {
|
|
747
|
-
enum $mol_keyboard_code {
|
|
748
|
-
backspace = 8,
|
|
749
|
-
tab = 9,
|
|
750
|
-
enter = 13,
|
|
751
|
-
shift = 16,
|
|
752
|
-
ctrl = 17,
|
|
753
|
-
alt = 18,
|
|
754
|
-
pause = 19,
|
|
755
|
-
capsLock = 20,
|
|
756
|
-
escape = 27,
|
|
757
|
-
space = 32,
|
|
758
|
-
pageUp = 33,
|
|
759
|
-
pageDown = 34,
|
|
760
|
-
end = 35,
|
|
761
|
-
home = 36,
|
|
762
|
-
left = 37,
|
|
763
|
-
up = 38,
|
|
764
|
-
right = 39,
|
|
765
|
-
down = 40,
|
|
766
|
-
insert = 45,
|
|
767
|
-
delete = 46,
|
|
768
|
-
key0 = 48,
|
|
769
|
-
key1 = 49,
|
|
770
|
-
key2 = 50,
|
|
771
|
-
key3 = 51,
|
|
772
|
-
key4 = 52,
|
|
773
|
-
key5 = 53,
|
|
774
|
-
key6 = 54,
|
|
775
|
-
key7 = 55,
|
|
776
|
-
key8 = 56,
|
|
777
|
-
key9 = 57,
|
|
778
|
-
A = 65,
|
|
779
|
-
B = 66,
|
|
780
|
-
C = 67,
|
|
781
|
-
D = 68,
|
|
782
|
-
E = 69,
|
|
783
|
-
F = 70,
|
|
784
|
-
G = 71,
|
|
785
|
-
H = 72,
|
|
786
|
-
I = 73,
|
|
787
|
-
J = 74,
|
|
788
|
-
K = 75,
|
|
789
|
-
L = 76,
|
|
790
|
-
M = 77,
|
|
791
|
-
N = 78,
|
|
792
|
-
O = 79,
|
|
793
|
-
P = 80,
|
|
794
|
-
Q = 81,
|
|
795
|
-
R = 82,
|
|
796
|
-
S = 83,
|
|
797
|
-
T = 84,
|
|
798
|
-
U = 85,
|
|
799
|
-
V = 86,
|
|
800
|
-
W = 87,
|
|
801
|
-
X = 88,
|
|
802
|
-
Y = 89,
|
|
803
|
-
Z = 90,
|
|
804
|
-
metaLeft = 91,
|
|
805
|
-
metaRight = 92,
|
|
806
|
-
select = 93,
|
|
807
|
-
numpad0 = 96,
|
|
808
|
-
numpad1 = 97,
|
|
809
|
-
numpad2 = 98,
|
|
810
|
-
numpad3 = 99,
|
|
811
|
-
numpad4 = 100,
|
|
812
|
-
numpad5 = 101,
|
|
813
|
-
numpad6 = 102,
|
|
814
|
-
numpad7 = 103,
|
|
815
|
-
numpad8 = 104,
|
|
816
|
-
numpad9 = 105,
|
|
817
|
-
multiply = 106,
|
|
818
|
-
add = 107,
|
|
819
|
-
subtract = 109,
|
|
820
|
-
decimal = 110,
|
|
821
|
-
divide = 111,
|
|
822
|
-
F1 = 112,
|
|
823
|
-
F2 = 113,
|
|
824
|
-
F3 = 114,
|
|
825
|
-
F4 = 115,
|
|
826
|
-
F5 = 116,
|
|
827
|
-
F6 = 117,
|
|
828
|
-
F7 = 118,
|
|
829
|
-
F8 = 119,
|
|
830
|
-
F9 = 120,
|
|
831
|
-
F10 = 121,
|
|
832
|
-
F11 = 122,
|
|
833
|
-
F12 = 123,
|
|
834
|
-
numLock = 144,
|
|
835
|
-
scrollLock = 145,
|
|
836
|
-
semicolon = 186,
|
|
837
|
-
equals = 187,
|
|
838
|
-
comma = 188,
|
|
839
|
-
dash = 189,
|
|
840
|
-
period = 190,
|
|
841
|
-
forwardSlash = 191,
|
|
842
|
-
graveAccent = 192,
|
|
843
|
-
bracketOpen = 219,
|
|
844
|
-
slashBack = 220,
|
|
845
|
-
slashBackLeft = 226,
|
|
846
|
-
bracketClose = 221,
|
|
847
|
-
quoteSingle = 222
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
declare namespace $ {
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
declare namespace $ {
|
|
855
|
-
class $mol_wrapper extends $mol_object2 {
|
|
856
|
-
static wrap: (task: (...ags: any[]) => any) => (...ags: any[]) => any;
|
|
857
|
-
static run<Result>(task: () => Result): Result;
|
|
858
|
-
static func<Args extends any[], Result, Host = void>(func: (this: Host, ...args: Args) => Result): (this: Host, ...args: Args) => Result;
|
|
859
|
-
static get class(): <Class extends new (...args: any[]) => any>(Class: Class) => Class;
|
|
860
|
-
static get method(): (obj: object, name: PropertyKey, descr?: TypedPropertyDescriptor<any>) => TypedPropertyDescriptor<any>;
|
|
861
|
-
static get field(): <Host extends object, Field extends keyof Host, Args extends any[], Result>(obj: Host, name: Field, descr?: TypedPropertyDescriptor<Result>) => TypedPropertyDescriptor<Result>;
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
declare namespace $ {
|
|
866
|
-
class $mol_memo extends $mol_wrapper {
|
|
867
|
-
static wrap<This extends object, Value>(task: (this: This, next?: Value) => Value): (this: This, next?: Value) => Value | undefined;
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
declare namespace $ {
|
|
872
|
-
function $mol_dom_qname(name: string): string;
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
declare namespace $ {
|
|
876
|
-
function $mol_wire_probe<Value>(task: () => Value, def?: Value): Value | undefined;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
declare namespace $ {
|
|
880
|
-
function $mol_wire_watch(): void;
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
declare namespace $ {
|
|
884
|
-
function $mol_const<Value>(value: Value): {
|
|
885
|
-
(): Value;
|
|
886
|
-
'()': Value;
|
|
887
|
-
};
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
declare namespace $ {
|
|
891
|
-
function $mol_wire_solid(): void;
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
declare namespace $ {
|
|
895
|
-
function $mol_dom_render_attributes(el: Element, attrs: {
|
|
896
|
-
[key: string]: string | number | boolean | null;
|
|
897
|
-
}): void;
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
declare namespace $ {
|
|
901
|
-
function $mol_dom_render_events(el: Element, events: {
|
|
902
|
-
[key: string]: (event: Event) => any;
|
|
903
|
-
}, passive?: boolean): void;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
declare namespace $ {
|
|
907
|
-
function $mol_error_message(this: $, error: unknown): string;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
declare namespace $ {
|
|
911
|
-
function $mol_dom_render_styles(el: Element, styles: {
|
|
912
|
-
[key: string]: string | number;
|
|
913
|
-
}): void;
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
declare namespace $ {
|
|
917
|
-
function $mol_dom_render_fields(el: Element, fields: {
|
|
918
|
-
[key: string]: any;
|
|
919
|
-
}): void;
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
declare namespace $ {
|
|
923
|
-
export function $mol_wire_async<Host extends object>(obj: Host): ObjectOrFunctionResultPromisify<Host>;
|
|
924
|
-
type FunctionResultPromisify<Some> = Some extends (...args: infer Args) => infer Res ? Res extends PromiseLike<unknown> ? Some : (...args: Args) => Promise<Res> : Some;
|
|
925
|
-
type MethodsResultPromisify<Host extends Object> = {
|
|
926
|
-
[K in keyof Host]: FunctionResultPromisify<Host[K]>;
|
|
927
|
-
};
|
|
928
|
-
type ObjectOrFunctionResultPromisify<Some> = (Some extends (...args: any) => unknown ? FunctionResultPromisify<Some> : {}) & (Some extends Object ? MethodsResultPromisify<Some> : Some);
|
|
929
|
-
export {};
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
declare namespace $ {
|
|
933
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
934
|
-
delay: number;
|
|
935
|
-
task: () => void;
|
|
936
|
-
id: any;
|
|
937
|
-
constructor(delay: number, task: () => void);
|
|
938
|
-
destructor(): void;
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
declare namespace $ {
|
|
943
|
-
type $mol_type_pick<Input, Upper> = Pick<Input, $mol_type_keys_extract<Input, Upper>>;
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
declare namespace $ {
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
declare namespace $ {
|
|
950
|
-
type $mol_view_content = $mol_view | Node | string | number | boolean | null;
|
|
951
|
-
function $mol_view_visible_width(): number;
|
|
952
|
-
function $mol_view_visible_height(): number;
|
|
953
|
-
function $mol_view_state_key(suffix: string): string;
|
|
954
|
-
class $mol_view extends $mol_object {
|
|
955
|
-
static Root<This extends typeof $mol_view>(this: This, id: number): InstanceType<This>;
|
|
956
|
-
static roots(): $mol_view[];
|
|
957
|
-
static auto(): void;
|
|
958
|
-
title(): string;
|
|
959
|
-
hint(): string;
|
|
960
|
-
focused(next?: boolean): boolean;
|
|
961
|
-
state_key(suffix?: string): string;
|
|
962
|
-
dom_name(): string;
|
|
963
|
-
dom_name_space(): string;
|
|
964
|
-
sub(): readonly $mol_view_content[];
|
|
965
|
-
sub_visible(): readonly $mol_view_content[];
|
|
966
|
-
minimal_width(): number;
|
|
967
|
-
maximal_width(): number;
|
|
968
|
-
minimal_height(): number;
|
|
969
|
-
static watchers: Set<$mol_view>;
|
|
970
|
-
view_rect(): {
|
|
971
|
-
width: number;
|
|
972
|
-
height: number;
|
|
973
|
-
left: number;
|
|
974
|
-
right: number;
|
|
975
|
-
top: number;
|
|
976
|
-
bottom: number;
|
|
977
|
-
} | null;
|
|
978
|
-
dom_id(): string;
|
|
979
|
-
dom_node_external(next?: Element): Element;
|
|
980
|
-
dom_node(next?: Element): Element;
|
|
981
|
-
dom_final(): Element | undefined;
|
|
982
|
-
dom_tree(next?: Element): Element;
|
|
983
|
-
dom_node_actual(): Element;
|
|
984
|
-
auto(): any;
|
|
985
|
-
render(): void;
|
|
986
|
-
static view_classes(): (typeof $mol_view)[];
|
|
987
|
-
static _view_names?: Map<string, string[]>;
|
|
988
|
-
static view_names(suffix: string): string[];
|
|
989
|
-
view_names_owned(): string[];
|
|
990
|
-
view_names(): Set<string>;
|
|
991
|
-
theme(next?: string | null): string | null | undefined;
|
|
992
|
-
attr_static(): {
|
|
993
|
-
[key: string]: string | number | boolean | null;
|
|
994
|
-
};
|
|
995
|
-
attr(): {};
|
|
996
|
-
style(): {
|
|
997
|
-
[key: string]: string | number;
|
|
998
|
-
};
|
|
999
|
-
field(): {
|
|
1000
|
-
[key: string]: any;
|
|
1001
|
-
};
|
|
1002
|
-
event(): {
|
|
1003
|
-
[key: string]: (event: Event) => void;
|
|
1004
|
-
};
|
|
1005
|
-
event_async(): {
|
|
1006
|
-
[x: string]: (event: Event) => Promise<void>;
|
|
1007
|
-
};
|
|
1008
|
-
plugins(): readonly $mol_view[];
|
|
1009
|
-
[$mol_dev_format_head](): any[];
|
|
1010
|
-
view_find(check: (path: $mol_view, text?: string) => boolean, path?: $mol_view[]): Generator<$mol_view[]>;
|
|
1011
|
-
force_render(path: Set<$mol_view>): void;
|
|
1012
|
-
ensure_visible(view: $mol_view, align?: ScrollLogicalPosition): void;
|
|
1013
|
-
bring(): void;
|
|
1014
|
-
destructor(): void;
|
|
1015
|
-
}
|
|
1016
|
-
type $mol_view_all = $mol_type_pick<$, typeof $mol_view>;
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
interface Window {
|
|
1020
|
-
cordova: any;
|
|
1021
|
-
}
|
|
1022
|
-
declare namespace $ {
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
declare namespace $ {
|
|
1026
|
-
class $mol_plugin extends $mol_view {
|
|
1027
|
-
dom_node_external(next?: Element): Element;
|
|
1028
|
-
render(): void;
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
declare namespace $ {
|
|
1033
|
-
class $mol_state_time extends $mol_object {
|
|
1034
|
-
static task(precision: number, reset?: null): $mol_after_timeout | $mol_after_frame;
|
|
1035
|
-
static now(precision: number): number;
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
1
|
declare namespace $ {
|
|
1040
2
|
|
|
1041
3
|
export class $mol_svg extends $mol_view {
|
|
@@ -1049,17 +11,6 @@ declare namespace $ {
|
|
|
1049
11
|
}
|
|
1050
12
|
|
|
1051
13
|
//# sourceMappingURL=svg.view.tree.d.ts.map
|
|
1052
|
-
declare namespace $.$$ {
|
|
1053
|
-
class $mol_svg extends $.$mol_svg {
|
|
1054
|
-
computed_style(): Record<string, any>;
|
|
1055
|
-
font_size(): number;
|
|
1056
|
-
font_family(): any;
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
declare namespace $ {
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
14
|
declare namespace $ {
|
|
1064
15
|
|
|
1065
16
|
export class $mol_svg_root extends $mol_svg {
|
|
@@ -1075,88 +26,6 @@ declare namespace $ {
|
|
|
1075
26
|
}
|
|
1076
27
|
|
|
1077
28
|
//# sourceMappingURL=root.view.tree.d.ts.map
|
|
1078
|
-
declare namespace $ {
|
|
1079
|
-
class $mol_vector<Value, Length extends number> extends Array<Value> {
|
|
1080
|
-
get length(): Length;
|
|
1081
|
-
constructor(...values: Value[] & {
|
|
1082
|
-
length: Length;
|
|
1083
|
-
});
|
|
1084
|
-
map<Res>(convert: (value: Value, index: number, array: this) => Res, self?: any): $mol_vector<Res, Length>;
|
|
1085
|
-
merged<Patch>(patches: readonly Patch[] & {
|
|
1086
|
-
length: Length;
|
|
1087
|
-
}, combine: (value: Value, patch: Patch) => Value): this;
|
|
1088
|
-
limited(this: $mol_vector<number, Length>, limits: readonly (readonly [number, number])[] & {
|
|
1089
|
-
length: Length;
|
|
1090
|
-
}): this;
|
|
1091
|
-
added0(this: $mol_vector<number, Length>, diff: number): this;
|
|
1092
|
-
added1(this: $mol_vector<number, Length>, diff: readonly number[] & {
|
|
1093
|
-
length: Length;
|
|
1094
|
-
}): this;
|
|
1095
|
-
substracted1(this: $mol_vector<number, Length>, diff: readonly number[] & {
|
|
1096
|
-
length: Length;
|
|
1097
|
-
}): this;
|
|
1098
|
-
multed0(this: $mol_vector<number, Length>, mult: number): this;
|
|
1099
|
-
multed1(this: $mol_vector<number, Length>, mults: readonly number[] & {
|
|
1100
|
-
length: Length;
|
|
1101
|
-
}): this;
|
|
1102
|
-
divided1(this: $mol_vector<number, Length>, mults: readonly number[] & {
|
|
1103
|
-
length: Length;
|
|
1104
|
-
}): this;
|
|
1105
|
-
powered0(this: $mol_vector<number, Length>, mult: number): this;
|
|
1106
|
-
expanded1(this: $mol_vector<$mol_vector_range<number>, Length>, point: readonly number[] & {
|
|
1107
|
-
length: Length;
|
|
1108
|
-
}): this;
|
|
1109
|
-
expanded2(this: $mol_vector<$mol_vector_range<number>, Length>, point: readonly (readonly [number, number])[] & {
|
|
1110
|
-
length: Length;
|
|
1111
|
-
}): this;
|
|
1112
|
-
center<Item extends $mol_vector<number, number>>(this: $mol_vector<Item, Length>): Item;
|
|
1113
|
-
distance(this: $mol_vector<$mol_vector<number, number>, Length>): number;
|
|
1114
|
-
transponed(this: $mol_vector<$mol_vector<number, number>, Length>): $mol_vector<$mol_vector<number, Length>, typeof this[0]['length']>;
|
|
1115
|
-
get x(): Value;
|
|
1116
|
-
set x(next: Value);
|
|
1117
|
-
get y(): Value;
|
|
1118
|
-
set y(next: Value);
|
|
1119
|
-
get z(): Value;
|
|
1120
|
-
set z(next: Value);
|
|
1121
|
-
}
|
|
1122
|
-
class $mol_vector_1d<Value> extends $mol_vector<Value, 1> {
|
|
1123
|
-
}
|
|
1124
|
-
class $mol_vector_2d<Value> extends $mol_vector<Value, 2> {
|
|
1125
|
-
}
|
|
1126
|
-
class $mol_vector_3d<Value> extends $mol_vector<Value, 3> {
|
|
1127
|
-
}
|
|
1128
|
-
class $mol_vector_range<Value> extends $mol_vector<Value, 2> {
|
|
1129
|
-
0: Value;
|
|
1130
|
-
1: Value;
|
|
1131
|
-
constructor(min: Value, max?: Value);
|
|
1132
|
-
get min(): Value;
|
|
1133
|
-
set min(next: Value);
|
|
1134
|
-
get max(): Value;
|
|
1135
|
-
set max(next: Value);
|
|
1136
|
-
get inversed(): $mol_vector_range<Value>;
|
|
1137
|
-
expanded0(value: Value): $mol_vector_range<Value>;
|
|
1138
|
-
}
|
|
1139
|
-
let $mol_vector_range_full: $mol_vector_range<number>;
|
|
1140
|
-
class $mol_vector_matrix<Width extends number, Height extends number> extends $mol_vector<readonly number[] & {
|
|
1141
|
-
length: Width;
|
|
1142
|
-
}, Height> {
|
|
1143
|
-
added2(diff: readonly (readonly number[] & {
|
|
1144
|
-
length: Width;
|
|
1145
|
-
})[] & {
|
|
1146
|
-
length: Height;
|
|
1147
|
-
}): this;
|
|
1148
|
-
multed2(diff: readonly (readonly number[] & {
|
|
1149
|
-
length: Width;
|
|
1150
|
-
})[] & {
|
|
1151
|
-
length: Height;
|
|
1152
|
-
}): this;
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
declare namespace $ {
|
|
1157
|
-
type $mol_type_enforce<Actual extends Expected, Expected> = Actual;
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
29
|
declare namespace $ {
|
|
1161
30
|
|
|
1162
31
|
type $mol_vector_2d__mol_touch_1 = $mol_type_enforce<
|
|
@@ -1224,31 +93,6 @@ declare namespace $ {
|
|
|
1224
93
|
}
|
|
1225
94
|
|
|
1226
95
|
//# sourceMappingURL=touch.view.tree.d.ts.map
|
|
1227
|
-
declare namespace $.$$ {
|
|
1228
|
-
class $mol_touch extends $.$mol_touch {
|
|
1229
|
-
auto(): void;
|
|
1230
|
-
pointer_events(next?: readonly PointerEvent[]): readonly PointerEvent[];
|
|
1231
|
-
pointer_coords(): $mol_vector<$mol_vector_2d<number>, number>;
|
|
1232
|
-
pointer_center(): $mol_vector_2d<number>;
|
|
1233
|
-
event_coords(event: PointerEvent | WheelEvent): $mol_vector_2d<number>;
|
|
1234
|
-
action_point(): $mol_vector_2d<number>;
|
|
1235
|
-
event_eat(event: PointerEvent | WheelEvent): string;
|
|
1236
|
-
event_start(event: PointerEvent): void;
|
|
1237
|
-
event_move(event: PointerEvent): void;
|
|
1238
|
-
event_end(event: PointerEvent): void;
|
|
1239
|
-
event_leave(event: PointerEvent): void;
|
|
1240
|
-
swipe_left(event: PointerEvent): void;
|
|
1241
|
-
swipe_right(event: PointerEvent): void;
|
|
1242
|
-
swipe_top(event: PointerEvent): void;
|
|
1243
|
-
swipe_bottom(event: PointerEvent): void;
|
|
1244
|
-
event_wheel(event: WheelEvent): void;
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
declare namespace $ {
|
|
1249
|
-
let $mol_mem_cached: typeof $mol_wire_probe;
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
96
|
declare namespace $ {
|
|
1253
97
|
|
|
1254
98
|
export class $mol_svg_group extends $mol_svg {
|
|
@@ -1399,23 +243,6 @@ declare namespace $ {
|
|
|
1399
243
|
}
|
|
1400
244
|
|
|
1401
245
|
//# sourceMappingURL=graph.view.tree.d.ts.map
|
|
1402
|
-
declare namespace $.$$ {
|
|
1403
|
-
class $mol_plot_graph extends $.$mol_plot_graph {
|
|
1404
|
-
viewport(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1405
|
-
indexes(): readonly number[];
|
|
1406
|
-
repos_x(val: number): number;
|
|
1407
|
-
repos_y(val: number): number;
|
|
1408
|
-
points(): readonly (readonly number[])[];
|
|
1409
|
-
series_x(): readonly number[];
|
|
1410
|
-
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1411
|
-
color(): string;
|
|
1412
|
-
front(): readonly $.$mol_svg[];
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
declare namespace $ {
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
246
|
declare namespace $ {
|
|
1420
247
|
|
|
1421
248
|
type $mol_vector_range__mol_plot_pane_1 = $mol_type_enforce<
|
|
@@ -1619,35 +446,6 @@ declare namespace $ {
|
|
|
1619
446
|
}
|
|
1620
447
|
|
|
1621
448
|
//# sourceMappingURL=pane.view.tree.d.ts.map
|
|
1622
|
-
declare namespace $.$$ {
|
|
1623
|
-
class $mol_plot_pane extends $.$mol_plot_pane {
|
|
1624
|
-
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1625
|
-
size(): $mol_vector_2d<number>;
|
|
1626
|
-
graph_hue(index: number): number;
|
|
1627
|
-
graphs_colored(): $.$mol_plot_graph[];
|
|
1628
|
-
size_real(): $mol_vector_2d<number>;
|
|
1629
|
-
view_box(): string;
|
|
1630
|
-
scale_limit(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1631
|
-
scale_default(): $mol_vector_2d<number>;
|
|
1632
|
-
scale(next?: $mol_vector_2d<number>): $mol_vector_2d<number>;
|
|
1633
|
-
scale_x(next?: number): number;
|
|
1634
|
-
scale_y(next?: number): number;
|
|
1635
|
-
shift_limit(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1636
|
-
shift_default(): $mol_vector_2d<number>;
|
|
1637
|
-
graph_touched: boolean;
|
|
1638
|
-
shift(next?: $mol_vector_2d<number>): $mol_vector_2d<number>;
|
|
1639
|
-
reset(event?: Event): void;
|
|
1640
|
-
graphs_visible(): $.$mol_plot_graph[];
|
|
1641
|
-
graphs_positioned(): readonly $.$mol_plot_graph[];
|
|
1642
|
-
dimensions_viewport(): $mol_vector<$mol_vector_range<number>, 2>;
|
|
1643
|
-
viewport(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1644
|
-
graphs_sorted(): $.$mol_svg[];
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
|
-
declare namespace $ {
|
|
1649
|
-
}
|
|
1650
|
-
|
|
1651
449
|
declare namespace $ {
|
|
1652
450
|
|
|
1653
451
|
type $mol_plot_graph_sample__color_mol_plot_line_1 = $mol_type_enforce<
|
|
@@ -1676,17 +474,6 @@ declare namespace $ {
|
|
|
1676
474
|
}
|
|
1677
475
|
|
|
1678
476
|
//# sourceMappingURL=line.view.tree.d.ts.map
|
|
1679
|
-
declare namespace $.$$ {
|
|
1680
|
-
class $mol_plot_line extends $.$mol_plot_line {
|
|
1681
|
-
sub(): readonly any[];
|
|
1682
|
-
indexes(): number[];
|
|
1683
|
-
curve(): string;
|
|
1684
|
-
}
|
|
1685
|
-
}
|
|
1686
|
-
|
|
1687
|
-
declare namespace $ {
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
477
|
declare namespace $ {
|
|
1691
478
|
|
|
1692
479
|
type $mol_plot_graph_sample__sub_mol_plot_group_1 = $mol_type_enforce<
|
|
@@ -1705,16 +492,6 @@ declare namespace $ {
|
|
|
1705
492
|
}
|
|
1706
493
|
|
|
1707
494
|
//# sourceMappingURL=group.view.tree.d.ts.map
|
|
1708
|
-
declare namespace $.$$ {
|
|
1709
|
-
class $mol_plot_group extends $.$mol_plot_group {
|
|
1710
|
-
graphs_enriched(): readonly $.$mol_plot_graph[];
|
|
1711
|
-
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1712
|
-
graph_samples(): any[];
|
|
1713
|
-
back(): $mol_plot_graph[];
|
|
1714
|
-
front(): $mol_plot_graph[];
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
495
|
declare namespace $ {
|
|
1719
496
|
|
|
1720
497
|
export class $mol_svg_path extends $mol_svg {
|
|
@@ -1728,12 +505,6 @@ declare namespace $ {
|
|
|
1728
505
|
}
|
|
1729
506
|
|
|
1730
507
|
//# sourceMappingURL=path.view.tree.d.ts.map
|
|
1731
|
-
declare namespace $ {
|
|
1732
|
-
function $mol_coord_pack(high: number, low: number): number;
|
|
1733
|
-
function $mol_coord_high(pack: number): number;
|
|
1734
|
-
function $mol_coord_low(pack: number): number;
|
|
1735
|
-
}
|
|
1736
|
-
|
|
1737
508
|
declare namespace $ {
|
|
1738
509
|
|
|
1739
510
|
type $mol_svg_path__geometry_mol_plot_dot_1 = $mol_type_enforce<
|
|
@@ -1762,17 +533,6 @@ declare namespace $ {
|
|
|
1762
533
|
}
|
|
1763
534
|
|
|
1764
535
|
//# sourceMappingURL=dot.view.tree.d.ts.map
|
|
1765
|
-
declare namespace $.$$ {
|
|
1766
|
-
class $mol_plot_dot extends $.$mol_plot_dot {
|
|
1767
|
-
filled(): Set<number>;
|
|
1768
|
-
indexes(): number[];
|
|
1769
|
-
curve(): string;
|
|
1770
|
-
}
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
declare namespace $ {
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1776
536
|
declare namespace $ {
|
|
1777
537
|
|
|
1778
538
|
type $mol_plot_map_heat_level__hint_mol_plot_map_heat_1 = $mol_type_enforce<
|
|
@@ -1828,21 +588,6 @@ declare namespace $ {
|
|
|
1828
588
|
}
|
|
1829
589
|
|
|
1830
590
|
//# sourceMappingURL=heat.view.tree.d.ts.map
|
|
1831
|
-
declare namespace $.$$ {
|
|
1832
|
-
class $mol_plot_map_heat extends $.$mol_plot_map_heat {
|
|
1833
|
-
levels(): number[];
|
|
1834
|
-
level_graphs(): $mol_plot_map_heat_level[];
|
|
1835
|
-
level_points(level: number): (readonly number[])[];
|
|
1836
|
-
level_opacity(level: number): string;
|
|
1837
|
-
level_diameter(): number;
|
|
1838
|
-
level_aspect(): number;
|
|
1839
|
-
level_hint(index: number): string;
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
|
|
1843
|
-
declare namespace $ {
|
|
1844
|
-
}
|
|
1845
|
-
|
|
1846
591
|
declare namespace $ {
|
|
1847
592
|
|
|
1848
593
|
type $mol_svg_path__geometry_mol_plot_bar_1 = $mol_type_enforce<
|
|
@@ -1869,19 +614,6 @@ declare namespace $ {
|
|
|
1869
614
|
}
|
|
1870
615
|
|
|
1871
616
|
//# sourceMappingURL=bar.view.tree.d.ts.map
|
|
1872
|
-
declare namespace $.$$ {
|
|
1873
|
-
class $mol_plot_bar extends $.$mol_plot_bar {
|
|
1874
|
-
indexes(): number[];
|
|
1875
|
-
curve(): string;
|
|
1876
|
-
stroke_width(): string;
|
|
1877
|
-
color(): string;
|
|
1878
|
-
dimensions(): $mol_vector_2d<$mol_vector_range<number>>;
|
|
1879
|
-
}
|
|
1880
|
-
}
|
|
1881
|
-
|
|
1882
|
-
declare namespace $ {
|
|
1883
|
-
}
|
|
1884
|
-
|
|
1885
617
|
declare namespace $ {
|
|
1886
618
|
|
|
1887
619
|
export class $mol_plot_fill extends $mol_plot_line {
|
|
@@ -1891,17 +623,6 @@ declare namespace $ {
|
|
|
1891
623
|
}
|
|
1892
624
|
|
|
1893
625
|
//# sourceMappingURL=fill.view.tree.d.ts.map
|
|
1894
|
-
declare namespace $.$$ {
|
|
1895
|
-
class $mol_plot_fill extends $.$mol_plot_fill {
|
|
1896
|
-
curve(): string;
|
|
1897
|
-
front(): never[];
|
|
1898
|
-
back(): this[];
|
|
1899
|
-
}
|
|
1900
|
-
}
|
|
1901
|
-
|
|
1902
|
-
declare namespace $ {
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
626
|
declare namespace $ {
|
|
1906
627
|
|
|
1907
628
|
export class $mol_svg_rect extends $mol_svg {
|
|
@@ -1922,13 +643,6 @@ declare namespace $ {
|
|
|
1922
643
|
}
|
|
1923
644
|
|
|
1924
645
|
//# sourceMappingURL=rect.view.tree.d.ts.map
|
|
1925
|
-
declare namespace $.$$ {
|
|
1926
|
-
class $mol_svg_rect extends $.$mol_svg_rect {
|
|
1927
|
-
pos_x(): any;
|
|
1928
|
-
pos_y(): any;
|
|
1929
|
-
}
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
646
|
declare namespace $ {
|
|
1933
647
|
|
|
1934
648
|
export class $mol_svg_text extends $mol_svg {
|
|
@@ -1952,20 +666,6 @@ declare namespace $ {
|
|
|
1952
666
|
}
|
|
1953
667
|
|
|
1954
668
|
//# sourceMappingURL=text.view.tree.d.ts.map
|
|
1955
|
-
declare namespace $.$$ {
|
|
1956
|
-
class $mol_svg_text extends $.$mol_svg_text {
|
|
1957
|
-
pos_x(): any;
|
|
1958
|
-
pos_y(): any;
|
|
1959
|
-
}
|
|
1960
|
-
}
|
|
1961
|
-
|
|
1962
|
-
declare namespace $ {
|
|
1963
|
-
}
|
|
1964
|
-
|
|
1965
|
-
declare namespace $ {
|
|
1966
|
-
function $mol_math_round_expand(val: number, gap?: number): number;
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
669
|
declare namespace $ {
|
|
1970
670
|
|
|
1971
671
|
type $mol_svg_rect__pos_x_mol_plot_ruler_1 = $mol_type_enforce<
|
|
@@ -2072,23 +772,6 @@ declare namespace $ {
|
|
|
2072
772
|
}
|
|
2073
773
|
|
|
2074
774
|
//# sourceMappingURL=ruler.view.tree.d.ts.map
|
|
2075
|
-
declare namespace $.$$ {
|
|
2076
|
-
class $mol_plot_ruler extends $.$mol_plot_ruler {
|
|
2077
|
-
labels_formatted(): $.$mol_svg_text[];
|
|
2078
|
-
step(): number;
|
|
2079
|
-
snap_to_grid(coord: number): number;
|
|
2080
|
-
axis_points(): number[];
|
|
2081
|
-
precision(): number;
|
|
2082
|
-
label_text(index: number): string;
|
|
2083
|
-
font_size(): number;
|
|
2084
|
-
back(): $mol_svg_path[];
|
|
2085
|
-
front(): readonly $.$mol_svg[];
|
|
2086
|
-
}
|
|
2087
|
-
}
|
|
2088
|
-
|
|
2089
|
-
declare namespace $ {
|
|
2090
|
-
}
|
|
2091
|
-
|
|
2092
775
|
declare namespace $ {
|
|
2093
776
|
|
|
2094
777
|
export class $mol_plot_ruler_vert extends $mol_plot_ruler {
|
|
@@ -2103,22 +786,6 @@ declare namespace $ {
|
|
|
2103
786
|
}
|
|
2104
787
|
|
|
2105
788
|
//# sourceMappingURL=vert.view.tree.d.ts.map
|
|
2106
|
-
declare namespace $.$$ {
|
|
2107
|
-
class $mol_plot_ruler_vert extends $.$mol_plot_ruler_vert {
|
|
2108
|
-
dimensions_axis(): $mol_vector_range<number>;
|
|
2109
|
-
viewport_axis(): $mol_vector_range<number>;
|
|
2110
|
-
scale_axis(): number;
|
|
2111
|
-
scale_step(): number;
|
|
2112
|
-
shift_axis(): number;
|
|
2113
|
-
curve(): string;
|
|
2114
|
-
title_pos_x(): string;
|
|
2115
|
-
label_pos_y(index: number): string;
|
|
2116
|
-
}
|
|
2117
|
-
}
|
|
2118
|
-
|
|
2119
|
-
declare namespace $ {
|
|
2120
|
-
}
|
|
2121
|
-
|
|
2122
789
|
declare namespace $ {
|
|
2123
790
|
|
|
2124
791
|
export class $mol_plot_ruler_hor extends $mol_plot_ruler {
|
|
@@ -2133,32 +800,6 @@ declare namespace $ {
|
|
|
2133
800
|
}
|
|
2134
801
|
|
|
2135
802
|
//# sourceMappingURL=hor.view.tree.d.ts.map
|
|
2136
|
-
declare namespace $.$$ {
|
|
2137
|
-
class $mol_plot_ruler_hor extends $.$mol_plot_ruler_hor {
|
|
2138
|
-
dimensions_axis(): $mol_vector_range<number>;
|
|
2139
|
-
viewport_axis(): $mol_vector_range<number>;
|
|
2140
|
-
scale_axis(): number;
|
|
2141
|
-
scale_step(): number;
|
|
2142
|
-
shift_axis(): number;
|
|
2143
|
-
curve(): string;
|
|
2144
|
-
label_pos_x(index: number): string;
|
|
2145
|
-
background_y(): string;
|
|
2146
|
-
title_pos_y(): string;
|
|
2147
|
-
background_height(): string;
|
|
2148
|
-
}
|
|
2149
|
-
}
|
|
2150
|
-
|
|
2151
|
-
declare namespace $ {
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
declare namespace $ {
|
|
2155
|
-
function $mol_font_canvas(next?: CanvasRenderingContext2D): CanvasRenderingContext2D;
|
|
2156
|
-
}
|
|
2157
|
-
|
|
2158
|
-
declare namespace $ {
|
|
2159
|
-
function $mol_font_measure(font: string, text: string): number;
|
|
2160
|
-
}
|
|
2161
|
-
|
|
2162
803
|
declare namespace $ {
|
|
2163
804
|
|
|
2164
805
|
type $mol_svg_rect__width_mol_svg_text_box_1 = $mol_type_enforce<
|
|
@@ -2210,18 +851,6 @@ declare namespace $ {
|
|
|
2210
851
|
}
|
|
2211
852
|
|
|
2212
853
|
//# sourceMappingURL=box.view.tree.d.ts.map
|
|
2213
|
-
declare namespace $.$$ {
|
|
2214
|
-
class $mol_svg_text_box extends $.$mol_svg_text_box {
|
|
2215
|
-
box_width(): string;
|
|
2216
|
-
width(): number;
|
|
2217
|
-
box_pos_x(): string;
|
|
2218
|
-
box_pos_y(): string;
|
|
2219
|
-
}
|
|
2220
|
-
}
|
|
2221
|
-
|
|
2222
|
-
declare namespace $ {
|
|
2223
|
-
}
|
|
2224
|
-
|
|
2225
854
|
declare namespace $ {
|
|
2226
855
|
|
|
2227
856
|
type $mol_vector_range__mol_plot_mark_cross_1 = $mol_type_enforce<
|
|
@@ -2299,26 +928,6 @@ declare namespace $ {
|
|
|
2299
928
|
}
|
|
2300
929
|
|
|
2301
930
|
//# sourceMappingURL=cross.view.tree.d.ts.map
|
|
2302
|
-
declare namespace $.$$ {
|
|
2303
|
-
class $mol_plot_mark_cross extends $.$mol_plot_mark_cross {
|
|
2304
|
-
nearest(): {
|
|
2305
|
-
value: $mol_vector_2d<number>;
|
|
2306
|
-
scaled: $mol_vector_2d<number>;
|
|
2307
|
-
index: number;
|
|
2308
|
-
} | null;
|
|
2309
|
-
curve(): string;
|
|
2310
|
-
title_x(): string;
|
|
2311
|
-
title_x_pos_x(): string;
|
|
2312
|
-
title_x_pos_y(): string;
|
|
2313
|
-
title_y(): string;
|
|
2314
|
-
title_y_pos_y(): string;
|
|
2315
|
-
title_y_pos_x(): string;
|
|
2316
|
-
}
|
|
2317
|
-
}
|
|
2318
|
-
|
|
2319
|
-
declare namespace $ {
|
|
2320
|
-
}
|
|
2321
|
-
|
|
2322
931
|
declare namespace $ {
|
|
2323
932
|
|
|
2324
933
|
export class $mol_plot_mark_hor extends $mol_plot_ruler_hor {
|
|
@@ -2328,21 +937,5 @@ declare namespace $ {
|
|
|
2328
937
|
}
|
|
2329
938
|
|
|
2330
939
|
//# sourceMappingURL=hor.view.tree.d.ts.map
|
|
2331
|
-
declare namespace $.$$ {
|
|
2332
|
-
class $mol_plot_mark_hor extends $.$mol_plot_mark_hor {
|
|
2333
|
-
series_x(): readonly number[];
|
|
2334
|
-
labels(): readonly string[];
|
|
2335
|
-
visible_indexes(): number[];
|
|
2336
|
-
curve(): string;
|
|
2337
|
-
label_text(index: number): string;
|
|
2338
|
-
labels_formatted(): $.$mol_svg_text[];
|
|
2339
|
-
label_pos_x(index: number): string;
|
|
2340
|
-
label_pos_y(index: number): string;
|
|
2341
|
-
}
|
|
2342
|
-
}
|
|
2343
|
-
|
|
2344
|
-
declare namespace $ {
|
|
2345
|
-
}
|
|
2346
|
-
|
|
2347
940
|
export = $;
|
|
2348
941
|
//# sourceMappingURL=web.d.ts.map
|