mol_dump_lib 0.0.1017 → 0.0.1019

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/web.d.ts CHANGED
@@ -1,1408 +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
- function $mol_view_component(View: typeof $mol_view): {
1034
- new (): {
1035
- view: $mol_view;
1036
- root?: $mol_wire_sub | null;
1037
- connectedCallback(): void;
1038
- disconnectedCallback(): void;
1039
- attributeChangedCallback(name: string, prev: string, next: string): void;
1040
- toString(): string;
1041
- accessKey: string;
1042
- readonly accessKeyLabel: string;
1043
- autocapitalize: string;
1044
- autocorrect: boolean;
1045
- dir: string;
1046
- draggable: boolean;
1047
- hidden: boolean | "until-found";
1048
- inert: boolean;
1049
- innerText: string;
1050
- lang: string;
1051
- readonly offsetHeight: number;
1052
- readonly offsetLeft: number;
1053
- readonly offsetParent: Element | null;
1054
- readonly offsetTop: number;
1055
- readonly offsetWidth: number;
1056
- outerText: string;
1057
- popover: string | null;
1058
- spellcheck: boolean;
1059
- title: string;
1060
- translate: boolean;
1061
- writingSuggestions: string;
1062
- attachInternals(): ElementInternals;
1063
- click(): void;
1064
- hidePopover(): void;
1065
- showPopover(options?: ShowPopoverOptions): void;
1066
- togglePopover(options?: TogglePopoverOptions | boolean): boolean;
1067
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1068
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1069
- removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1070
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1071
- readonly attributes: NamedNodeMap;
1072
- get classList(): DOMTokenList;
1073
- set classList(value: string);
1074
- className: string;
1075
- readonly clientHeight: number;
1076
- readonly clientLeft: number;
1077
- readonly clientTop: number;
1078
- readonly clientWidth: number;
1079
- readonly currentCSSZoom: number;
1080
- readonly customElementRegistry: CustomElementRegistry | null;
1081
- id: string;
1082
- innerHTML: string;
1083
- readonly localName: string;
1084
- readonly namespaceURI: string | null;
1085
- onfullscreenchange: ((this: Element, ev: Event) => any) | null;
1086
- onfullscreenerror: ((this: Element, ev: Event) => any) | null;
1087
- outerHTML: string;
1088
- readonly ownerDocument: Document;
1089
- get part(): DOMTokenList;
1090
- set part(value: string);
1091
- readonly prefix: string | null;
1092
- readonly scrollHeight: number;
1093
- scrollLeft: number;
1094
- scrollTop: number;
1095
- readonly scrollWidth: number;
1096
- readonly shadowRoot: ShadowRoot | null;
1097
- slot: string;
1098
- readonly tagName: string;
1099
- attachShadow(init: ShadowRootInit): ShadowRoot;
1100
- checkVisibility(options?: CheckVisibilityOptions): boolean;
1101
- closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
1102
- closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
1103
- closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
1104
- closest<E extends Element = Element>(selectors: string): E | null;
1105
- computedStyleMap(): StylePropertyMapReadOnly;
1106
- getAttribute(qualifiedName: string): string | null;
1107
- getAttributeNS(namespace: string | null, localName: string): string | null;
1108
- getAttributeNames(): string[];
1109
- getAttributeNode(qualifiedName: string): Attr | null;
1110
- getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
1111
- getBoundingClientRect(): DOMRect;
1112
- getClientRects(): DOMRectList;
1113
- getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
1114
- getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
1115
- getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
1116
- getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
1117
- getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
1118
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
1119
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
1120
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
1121
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
1122
- getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
1123
- getHTML(options?: GetHTMLOptions): string;
1124
- hasAttribute(qualifiedName: string): boolean;
1125
- hasAttributeNS(namespace: string | null, localName: string): boolean;
1126
- hasAttributes(): boolean;
1127
- hasPointerCapture(pointerId: number): boolean;
1128
- insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
1129
- insertAdjacentHTML(position: InsertPosition, string: string): void;
1130
- insertAdjacentText(where: InsertPosition, data: string): void;
1131
- matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
1132
- matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
1133
- matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
1134
- matches(selectors: string): boolean;
1135
- releasePointerCapture(pointerId: number): void;
1136
- removeAttribute(qualifiedName: string): void;
1137
- removeAttributeNS(namespace: string | null, localName: string): void;
1138
- removeAttributeNode(attr: Attr): Attr;
1139
- requestFullscreen(options?: FullscreenOptions): Promise<void>;
1140
- requestPointerLock(options?: PointerLockOptions): Promise<void>;
1141
- scroll(options?: ScrollToOptions): void;
1142
- scroll(x: number, y: number): void;
1143
- scrollBy(options?: ScrollToOptions): void;
1144
- scrollBy(x: number, y: number): void;
1145
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
1146
- scrollTo(options?: ScrollToOptions): void;
1147
- scrollTo(x: number, y: number): void;
1148
- setAttribute(qualifiedName: string, value: string): void;
1149
- setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
1150
- setAttributeNode(attr: Attr): Attr | null;
1151
- setAttributeNodeNS(attr: Attr): Attr | null;
1152
- setHTMLUnsafe(html: string): void;
1153
- setPointerCapture(pointerId: number): void;
1154
- toggleAttribute(qualifiedName: string, force?: boolean): boolean;
1155
- webkitMatchesSelector(selectors: string): boolean;
1156
- get textContent(): string;
1157
- set textContent(value: string | null);
1158
- readonly baseURI: string;
1159
- readonly childNodes: NodeListOf<ChildNode>;
1160
- readonly firstChild: ChildNode | null;
1161
- readonly isConnected: boolean;
1162
- readonly lastChild: ChildNode | null;
1163
- readonly nextSibling: ChildNode | null;
1164
- readonly nodeName: string;
1165
- readonly nodeType: number;
1166
- nodeValue: string | null;
1167
- readonly parentElement: HTMLElement | null;
1168
- readonly parentNode: ParentNode | null;
1169
- readonly previousSibling: ChildNode | null;
1170
- appendChild<T extends Node>(node: T): T;
1171
- cloneNode(subtree?: boolean): Node;
1172
- compareDocumentPosition(other: Node): number;
1173
- contains(other: Node | null): boolean;
1174
- getRootNode(options?: GetRootNodeOptions): Node;
1175
- hasChildNodes(): boolean;
1176
- insertBefore<T extends Node>(node: T, child: Node | null): T;
1177
- isDefaultNamespace(namespace: string | null): boolean;
1178
- isEqualNode(otherNode: Node | null): boolean;
1179
- isSameNode(otherNode: Node | null): boolean;
1180
- lookupNamespaceURI(prefix: string | null): string | null;
1181
- lookupPrefix(namespace: string | null): string | null;
1182
- normalize(): void;
1183
- removeChild<T extends Node>(child: T): T;
1184
- replaceChild<T extends Node>(node: Node, child: T): T;
1185
- readonly ELEMENT_NODE: 1;
1186
- readonly ATTRIBUTE_NODE: 2;
1187
- readonly TEXT_NODE: 3;
1188
- readonly CDATA_SECTION_NODE: 4;
1189
- readonly ENTITY_REFERENCE_NODE: 5;
1190
- readonly ENTITY_NODE: 6;
1191
- readonly PROCESSING_INSTRUCTION_NODE: 7;
1192
- readonly COMMENT_NODE: 8;
1193
- readonly DOCUMENT_NODE: 9;
1194
- readonly DOCUMENT_TYPE_NODE: 10;
1195
- readonly DOCUMENT_FRAGMENT_NODE: 11;
1196
- readonly NOTATION_NODE: 12;
1197
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
1198
- readonly DOCUMENT_POSITION_PRECEDING: 2;
1199
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
1200
- readonly DOCUMENT_POSITION_CONTAINS: 8;
1201
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
1202
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
1203
- dispatchEvent(event: Event): boolean;
1204
- ariaActiveDescendantElement: Element | null;
1205
- ariaAtomic: string | null;
1206
- ariaAutoComplete: string | null;
1207
- ariaBrailleLabel: string | null;
1208
- ariaBrailleRoleDescription: string | null;
1209
- ariaBusy: string | null;
1210
- ariaChecked: string | null;
1211
- ariaColCount: string | null;
1212
- ariaColIndex: string | null;
1213
- ariaColIndexText: string | null;
1214
- ariaColSpan: string | null;
1215
- ariaControlsElements: ReadonlyArray<Element> | null;
1216
- ariaCurrent: string | null;
1217
- ariaDescribedByElements: ReadonlyArray<Element> | null;
1218
- ariaDescription: string | null;
1219
- ariaDetailsElements: ReadonlyArray<Element> | null;
1220
- ariaDisabled: string | null;
1221
- ariaErrorMessageElements: ReadonlyArray<Element> | null;
1222
- ariaExpanded: string | null;
1223
- ariaFlowToElements: ReadonlyArray<Element> | null;
1224
- ariaHasPopup: string | null;
1225
- ariaHidden: string | null;
1226
- ariaInvalid: string | null;
1227
- ariaKeyShortcuts: string | null;
1228
- ariaLabel: string | null;
1229
- ariaLabelledByElements: ReadonlyArray<Element> | null;
1230
- ariaLevel: string | null;
1231
- ariaLive: string | null;
1232
- ariaModal: string | null;
1233
- ariaMultiLine: string | null;
1234
- ariaMultiSelectable: string | null;
1235
- ariaOrientation: string | null;
1236
- ariaOwnsElements: ReadonlyArray<Element> | null;
1237
- ariaPlaceholder: string | null;
1238
- ariaPosInSet: string | null;
1239
- ariaPressed: string | null;
1240
- ariaReadOnly: string | null;
1241
- ariaRelevant: string | null;
1242
- ariaRequired: string | null;
1243
- ariaRoleDescription: string | null;
1244
- ariaRowCount: string | null;
1245
- ariaRowIndex: string | null;
1246
- ariaRowIndexText: string | null;
1247
- ariaRowSpan: string | null;
1248
- ariaSelected: string | null;
1249
- ariaSetSize: string | null;
1250
- ariaSort: string | null;
1251
- ariaValueMax: string | null;
1252
- ariaValueMin: string | null;
1253
- ariaValueNow: string | null;
1254
- ariaValueText: string | null;
1255
- role: string | null;
1256
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
1257
- getAnimations(options?: GetAnimationsOptions): Animation[];
1258
- after(...nodes: (Node | string)[]): void;
1259
- before(...nodes: (Node | string)[]): void;
1260
- remove(): void;
1261
- replaceWith(...nodes: (Node | string)[]): void;
1262
- readonly nextElementSibling: Element | null;
1263
- readonly previousElementSibling: Element | null;
1264
- readonly childElementCount: number;
1265
- readonly children: HTMLCollection;
1266
- readonly firstElementChild: Element | null;
1267
- readonly lastElementChild: Element | null;
1268
- append(...nodes: (Node | string)[]): void;
1269
- moveBefore(node: Node, child: Node | null): void;
1270
- prepend(...nodes: (Node | string)[]): void;
1271
- querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
1272
- querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
1273
- querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
1274
- querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
1275
- querySelector<E extends Element = Element>(selectors: string): E | null;
1276
- querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
1277
- querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
1278
- querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
1279
- querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
1280
- querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
1281
- replaceChildren(...nodes: (Node | string)[]): void;
1282
- readonly assignedSlot: HTMLSlotElement | null;
1283
- readonly attributeStyleMap: StylePropertyMap;
1284
- get style(): CSSStyleDeclaration;
1285
- set style(cssText: string);
1286
- contentEditable: string;
1287
- enterKeyHint: string;
1288
- inputMode: string;
1289
- readonly isContentEditable: boolean;
1290
- onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1291
- onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1292
- onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1293
- onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1294
- onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1295
- onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1296
- onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
1297
- onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1298
- onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1299
- onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1300
- oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1301
- oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1302
- oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1303
- onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1304
- onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1305
- onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1306
- oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1307
- oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1308
- oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1309
- oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1310
- oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1311
- oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1312
- oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1313
- ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1314
- ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1315
- ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1316
- ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1317
- ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1318
- ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1319
- ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1320
- ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1321
- ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1322
- onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1323
- onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1324
- onerror: OnErrorEventHandler;
1325
- onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1326
- onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
1327
- ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1328
- oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
1329
- oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1330
- onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1331
- onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1332
- onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1333
- onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1334
- onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1335
- onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1336
- onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1337
- onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1338
- onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1339
- onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1340
- onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1341
- onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1342
- onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1343
- onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1344
- onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1345
- onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1346
- onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1347
- onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1348
- onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1349
- onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1350
- onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1351
- onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1352
- onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1353
- onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1354
- onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1355
- onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1356
- onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1357
- onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1358
- onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
1359
- onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1360
- onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1361
- onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1362
- onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1363
- onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1364
- onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1365
- onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1366
- onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1367
- onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1368
- onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1369
- onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1370
- onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1371
- onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1372
- onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1373
- onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1374
- ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1375
- ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
1376
- ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1377
- ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1378
- ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1379
- ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1380
- ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1381
- ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1382
- ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1383
- ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1384
- onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1385
- onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1386
- onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1387
- onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1388
- onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1389
- onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1390
- onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1391
- autofocus: boolean;
1392
- readonly dataset: DOMStringMap;
1393
- nonce: string;
1394
- tabIndex: number;
1395
- blur(): void;
1396
- focus(options?: FocusOptions): void;
1397
- };
1398
- tag: string;
1399
- observedAttributes: Set<string>;
1400
- } | undefined;
1401
- }
1402
-
1403
- declare namespace $ {
1404
- }
1405
-
1406
1
  declare namespace $ {
1407
2
 
1408
3
  export class $mol_stack extends $mol_view {
@@ -1424,131 +19,6 @@ declare namespace $ {
1424
19
  }
1425
20
 
1426
21
  //# sourceMappingURL=paragraph.view.tree.d.ts.map
1427
- declare namespace $.$$ {
1428
- class $mol_paragraph extends $.$mol_paragraph {
1429
- maximal_width(): number;
1430
- width_limit(): number;
1431
- minimal_width(): number;
1432
- row_width(): number;
1433
- minimal_height(): number;
1434
- }
1435
- }
1436
-
1437
- declare namespace $ {
1438
- }
1439
-
1440
- declare namespace $ {
1441
- type $mol_type_equals<A, B> = (<X>() => X extends A ? 1 : 2) extends (<X>() => X extends B ? 1 : 2) ? unknown : never;
1442
- }
1443
-
1444
- declare namespace $ {
1445
- type $mol_type_merge<Intersection> = Intersection extends (...a: any[]) => any ? Intersection : Intersection extends new (...a: any[]) => any ? Intersection : Intersection extends object ? $mol_type_merge_object<Intersection> extends Intersection ? unknown extends $mol_type_equals<{
1446
- [Key in keyof Intersection]: Intersection[Key];
1447
- }, Intersection> ? Intersection : {
1448
- [Key in keyof Intersection]: $mol_type_merge<Intersection[Key]>;
1449
- } : Intersection : Intersection;
1450
- type $mol_type_merge_object<Intersection> = {
1451
- [Key in keyof Intersection]: Intersection[Key];
1452
- };
1453
- }
1454
-
1455
- declare namespace $ {
1456
- type $mol_type_intersect<Union> = (Union extends any ? (_: Union) => void : never) extends ((_: infer Intersection) => void) ? Intersection : never;
1457
- }
1458
-
1459
- declare namespace $ {
1460
- type $mol_unicode_category = [$mol_unicode_category_binary] | ['General_Category', $mol_char_category_general] | ['Script', $mol_unicode_category_script] | ['Script_Extensions', $mol_unicode_category_script];
1461
- type $mol_unicode_category_binary = 'ASCII' | 'ASCII_Hex_Digit' | 'Alphabetic' | 'Any' | 'Assigned' | 'Bidi_Control' | 'Bidi_Mirrored' | 'Case_Ignorable' | 'Cased' | 'Changes_When_Casefolded' | 'Changes_When_Casemapped' | 'Changes_When_Lowercased' | 'Changes_When_NFKC_Casefolded' | 'Changes_When_Titlecased' | 'Changes_When_Uppercased' | 'Dash' | 'Default_Ignorable_Code_Point' | 'Deprecated' | 'Diacritic' | 'Emoji' | 'Emoji_Component' | 'Emoji_Modifier' | 'Emoji_Modifier_Base' | 'Emoji_Presentation' | 'Extended_Pictographic' | 'Extender' | 'Grapheme_Base' | 'Grapheme_Extend' | 'Hex_Digit' | 'IDS_Binary_Operator' | 'IDS_Trinary_Operator' | 'ID_Continue' | 'ID_Start' | 'Ideographic' | 'Join_Control' | 'Logical_Order_Exception' | 'Lowercase' | 'Math' | 'Noncharacter_Code_Point' | 'Pattern_Syntax' | 'Pattern_White_Space' | 'Quotation_Mark' | 'Radical' | 'Regional_Indicator' | 'Sentence_Terminal' | 'Soft_Dotted' | 'Terminal_Punctuation' | 'Unified_Ideograph' | 'Uppercase' | 'Variation_Selector' | 'White_Space' | 'XID_Continue' | 'XID_Start';
1462
- type $mol_char_category_general = 'Cased_Letter' | 'Close_Punctuation' | 'Connector_Punctuation' | 'Control' | 'Currency_Symbol' | 'Dash_Punctuation' | 'Decimal_Number' | 'Enclosing_Mark' | 'Final_Punctuation' | 'Format' | 'Initial_Punctuation' | 'Letter' | 'Letter_Number' | 'Line_Separator' | 'Lowercase_Letter' | 'Mark' | 'Math_Symbol' | 'Modifier_Letter' | 'Modifier_Symbol' | 'Nonspacing_Mark' | 'Number' | 'Open_Punctuation' | 'Other' | 'Other_Letter' | 'Other_Number' | 'Other_Punctuation' | 'Other_Symbol' | 'Paragraph_Separator' | 'Private_Use' | 'Punctuation' | 'Separator' | 'Space_Separator' | 'Spacing_Mark' | 'Surrogate' | 'Symbol' | 'Titlecase_Letter' | 'Unassigned' | 'Uppercase_Letter';
1463
- type $mol_unicode_category_script = 'Adlam' | 'Ahom' | 'Anatolian_Hieroglyphs' | 'Arabic' | 'Armenian' | 'Avestan' | 'Balinese' | 'Bamum' | 'Bassa_Vah' | 'Batak' | 'Bengali' | 'Bhaiksuki' | 'Bopomofo' | 'Brahmi' | 'Braille' | 'Buginese' | 'Buhid' | 'Canadian_Aboriginal' | 'Carian' | 'Caucasian_Albanian' | 'Chakma' | 'Cham' | 'Chorasmian' | 'Cherokee' | 'Common' | 'Coptic' | 'Cuneiform' | 'Cypriot' | 'Cyrillic' | 'Deseret' | 'Devanagari' | 'Dives_Akuru' | 'Dogra' | 'Duployan' | 'Egyptian_Hieroglyphs' | 'Elbasan' | 'Elymaic' | 'Ethiopic' | 'Georgian' | 'Glagolitic' | 'Gothic' | 'Grantha' | 'Greek' | 'Gujarati' | 'Gunjala_Gondi' | 'Gurmukhi' | 'Han' | 'Hangul' | 'Hanifi_Rohingya' | 'Hanunoo' | 'Hatran' | 'Hebrew' | 'Hiragana' | 'Imperial_Aramaic' | 'Inherited' | 'Inscriptional_Pahlavi' | 'Inscriptional_Parthian' | 'Javanese' | 'Kaithi' | 'Kannada' | 'Katakana' | 'Kayah_Li' | 'Kharoshthi' | 'Khitan_Small_Script' | 'Khmer' | 'Khojki' | 'Khudawadi' | 'Lao' | 'Latin' | 'Lepcha' | 'Limbu' | 'Linear_A' | 'Linear_B' | 'Lisu' | 'Lycian' | 'Lydian' | 'Mahajani' | 'Makasar' | 'Malayalam' | 'Mandaic' | 'Manichaean' | 'Marchen' | 'Medefaidrin' | 'Masaram_Gondi' | 'Meetei_Mayek' | 'Mende_Kikakui' | 'Meroitic_Cursive' | 'Meroitic_Hieroglyphs' | 'Miao' | 'Modi' | 'Mongolian' | 'Mro' | 'Multani' | 'Myanmar' | 'Nabataean' | 'Nandinagari' | 'New_Tai_Lue' | 'Newa' | 'Nko' | 'Nushu' | 'Nyiakeng_Puachue_Hmong' | 'Ogham' | 'Ol_Chiki' | 'Old_Hungarian' | 'Old_Italic' | 'Old_North_Arabian' | 'Old_Permic' | 'Old_Persian' | 'Old_Sogdian' | 'Old_South_Arabian' | 'Old_Turkic' | 'Oriya' | 'Osage' | 'Osmanya' | 'Pahawh_Hmong' | 'Palmyrene' | 'Pau_Cin_Hau' | 'Phags_Pa' | 'Phoenician' | 'Psalter_Pahlavi' | 'Rejang' | 'Runic' | 'Samaritan' | 'Saurashtra' | 'Sharada' | 'Shavian' | 'Siddham' | 'SignWriting' | 'Sinhala' | 'Sogdian' | 'Sora_Sompeng' | 'Soyombo' | 'Sundanese' | 'Syloti_Nagri' | 'Syriac' | 'Tagalog' | 'Tagbanwa' | 'Tai_Le' | 'Tai_Tham' | 'Tai_Viet' | 'Takri' | 'Tamil' | 'Tangut' | 'Telugu' | 'Thaana' | 'Thai' | 'Tibetan' | 'Tifinagh' | 'Tirhuta' | 'Ugaritic' | 'Vai' | 'Wancho' | 'Warang_Citi' | 'Yezidi' | 'Yi' | 'Zanabazar_Square';
1464
- }
1465
-
1466
- interface String {
1467
- match<RE extends RegExp>(regexp: RE): ReturnType<RE[typeof Symbol.match]>;
1468
- matchAll<RE extends RegExp>(regexp: RE): ReturnType<RE[typeof Symbol.matchAll]>;
1469
- }
1470
- declare namespace $ {
1471
- type Groups_to_params<T> = {
1472
- [P in keyof T]?: T[P] | boolean | undefined;
1473
- };
1474
- export type $mol_regexp_source = number | string | RegExp | {
1475
- [key in string]: $mol_regexp_source;
1476
- } | readonly [$mol_regexp_source, ...$mol_regexp_source[]];
1477
- export type $mol_regexp_groups<Source extends $mol_regexp_source> = Source extends number ? {} : Source extends string ? {} : Source extends $mol_regexp_source[] ? $mol_type_merge<$mol_type_intersect<{
1478
- [key in Extract<keyof Source, number>]: $mol_regexp_groups<Source[key]>;
1479
- }[Extract<keyof Source, number>]>> : Source extends RegExp ? Record<string, string> extends NonNullable<NonNullable<ReturnType<Source['exec']>>['groups']> ? {} : NonNullable<NonNullable<ReturnType<Source['exec']>>['groups']> : Source extends {
1480
- readonly [key in string]: $mol_regexp_source;
1481
- } ? $mol_type_merge<$mol_type_intersect<{
1482
- [key in keyof Source]: $mol_type_merge<$mol_type_override<{
1483
- readonly [k in Extract<keyof Source, string>]: string;
1484
- }, {
1485
- readonly [k in key]: Source[key] extends string ? Source[key] : string;
1486
- }> & $mol_regexp_groups<Source[key]>>;
1487
- }[keyof Source]>> : never;
1488
- export class $mol_regexp<Groups extends Record<string, string>> extends RegExp {
1489
- readonly groups: (Extract<keyof Groups, string>)[];
1490
- constructor(source: string, flags?: string, groups?: (Extract<keyof Groups, string>)[]);
1491
- [Symbol.matchAll](str: string): RegExpStringIterator<RegExpExecArray & $mol_type_override<RegExpExecArray, {
1492
- groups?: {
1493
- [key in keyof Groups]: string;
1494
- };
1495
- }>>;
1496
- [Symbol.match](str: string): null | RegExpMatchArray;
1497
- [Symbol.split](str: string): string[];
1498
- test(str: string): boolean;
1499
- exec(str: string): RegExpExecArray & $mol_type_override<RegExpExecArray, {
1500
- groups?: {
1501
- [key in keyof Groups]: string;
1502
- };
1503
- }> | null;
1504
- generate(params: Groups_to_params<Groups>): string | null;
1505
- get native(): RegExp;
1506
- static separated<Chunk extends $mol_regexp_source, Sep extends $mol_regexp_source>(chunk: Chunk, sep: Sep): $mol_regexp<[$mol_regexp<[[Chunk], Sep] extends infer T ? T extends [[Chunk], Sep] ? T extends $mol_regexp_source[] ? $mol_type_merge<$mol_type_intersect<{ [key in Extract<keyof T, number>]: $mol_regexp_groups<T[key]>; }[Extract<keyof T, number>]>> : T extends RegExp ? Record<string, string> extends NonNullable<NonNullable<ReturnType<T["exec"]>>["groups"]> ? {} : NonNullable<NonNullable<ReturnType<T["exec"]>>["groups"]> : T extends {
1507
- readonly [x: string]: $mol_regexp_source;
1508
- } ? $mol_type_merge<$mol_type_intersect<{ [key_1 in keyof T]: $mol_type_merge<Omit<{ readonly [k in Extract<keyof T, string>]: string; }, key_1> & { readonly [k_1 in key_1]: T[key_1] extends string ? T[key_1] : string; } & $mol_regexp_groups<T[key_1]>>; }[keyof T]>> : never : never : never>, Chunk] extends infer T_1 ? T_1 extends [$mol_regexp<[[Chunk], Sep] extends infer T_2 ? T_2 extends [[Chunk], Sep] ? T_2 extends $mol_regexp_source[] ? $mol_type_merge<$mol_type_intersect<{ [key_4 in Extract<keyof T_2, number>]: $mol_regexp_groups<T_2[key_4]>; }[Extract<keyof T_2, number>]>> : T_2 extends RegExp ? Record<string, string> extends NonNullable<NonNullable<ReturnType<T_2["exec"]>>["groups"]> ? {} : NonNullable<NonNullable<ReturnType<T_2["exec"]>>["groups"]> : T_2 extends {
1509
- readonly [x: string]: $mol_regexp_source;
1510
- } ? $mol_type_merge<$mol_type_intersect<{ [key_5 in keyof T_2]: $mol_type_merge<Omit<{ readonly [k in Extract<keyof T_2, string>]: string; }, key_5> & { readonly [k_1 in key_5]: T_2[key_5] extends string ? T_2[key_5] : string; } & $mol_regexp_groups<T_2[key_5]>>; }[keyof T_2]>> : never : never : never>, Chunk] ? T_1 extends $mol_regexp_source[] ? $mol_type_merge<$mol_type_intersect<{ [key_2 in Extract<keyof T_1, number>]: $mol_regexp_groups<T_1[key_2]>; }[Extract<keyof T_1, number>]>> : T_1 extends RegExp ? Record<string, string> extends NonNullable<NonNullable<ReturnType<T_1["exec"]>>["groups"]> ? {} : NonNullable<NonNullable<ReturnType<T_1["exec"]>>["groups"]> : T_1 extends {
1511
- readonly [x: string]: $mol_regexp_source;
1512
- } ? $mol_type_merge<$mol_type_intersect<{ [key_3 in keyof T_1]: $mol_type_merge<Omit<{ readonly [k in Extract<keyof T_1, string>]: string; }, key_3> & { readonly [k_1 in key_3]: T_1[key_3] extends string ? T_1[key_3] : string; } & $mol_regexp_groups<T_1[key_3]>>; }[keyof T_1]>> : never : never : never>;
1513
- static repeat<Source extends $mol_regexp_source>(source: Source, min?: number, max?: number): $mol_regexp<$mol_regexp_groups<Source>>;
1514
- static repeat_greedy<Source extends $mol_regexp_source>(source: Source, min?: number, max?: number): $mol_regexp<$mol_regexp_groups<Source>>;
1515
- static vary<Sources extends readonly $mol_regexp_source[]>(sources: Sources, flags?: string): $mol_regexp<$mol_regexp_groups<Sources[number]>>;
1516
- static optional<Source extends $mol_regexp_source>(source: Source): $mol_regexp<$mol_regexp_groups<Source>>;
1517
- static force_after(source: $mol_regexp_source): $mol_regexp<Record<string, string>>;
1518
- static forbid_after(source: $mol_regexp_source): $mol_regexp<Record<string, string>>;
1519
- static from<Source extends $mol_regexp_source>(source: Source, { ignoreCase, multiline }?: Partial<Pick<RegExp, 'ignoreCase' | 'multiline'>>): $mol_regexp<$mol_regexp_groups<Source>>;
1520
- static unicode_only(...category: $mol_unicode_category): $mol_regexp<Record<string, string>>;
1521
- static unicode_except(...category: $mol_unicode_category): $mol_regexp<Record<string, string>>;
1522
- static char_range(from: number, to: number): $mol_regexp<{}>;
1523
- static char_only(...allowed: readonly [$mol_regexp_source, ...$mol_regexp_source[]]): $mol_regexp<{}>;
1524
- static char_except(...forbidden: readonly [$mol_regexp_source, ...$mol_regexp_source[]]): $mol_regexp<{}>;
1525
- static decimal_only: $mol_regexp<{}>;
1526
- static decimal_except: $mol_regexp<{}>;
1527
- static latin_only: $mol_regexp<{}>;
1528
- static latin_except: $mol_regexp<{}>;
1529
- static space_only: $mol_regexp<{}>;
1530
- static space_except: $mol_regexp<{}>;
1531
- static word_break_only: $mol_regexp<{}>;
1532
- static word_break_except: $mol_regexp<{}>;
1533
- static tab: $mol_regexp<{}>;
1534
- static slash_back: $mol_regexp<{}>;
1535
- static nul: $mol_regexp<{}>;
1536
- static char_any: $mol_regexp<{}>;
1537
- static begin: $mol_regexp<{}>;
1538
- static end: $mol_regexp<{}>;
1539
- static or: $mol_regexp<{}>;
1540
- static line_end: $mol_regexp<{
1541
- readonly win_end: string;
1542
- readonly mac_end: string;
1543
- }>;
1544
- }
1545
- export {};
1546
- }
1547
-
1548
- declare namespace $ {
1549
- type $mol_type_enforce<Actual extends Expected, Expected> = Actual;
1550
- }
1551
-
1552
22
  declare namespace $ {
1553
23
 
1554
24
  type $mol_paragraph__sub_mol_dimmer_1 = $mol_type_enforce<
@@ -1574,62 +44,6 @@ declare namespace $ {
1574
44
  }
1575
45
 
1576
46
  //# sourceMappingURL=dimmer.view.tree.d.ts.map
1577
- declare namespace $.$$ {
1578
- class $mol_dimmer extends $.$mol_dimmer {
1579
- parts(): any[];
1580
- strings(): string[];
1581
- string(index: number): string;
1582
- view_find(check: (path: $mol_view, text?: string) => boolean, path?: $mol_view[]): Generator<$mol_view[]>;
1583
- }
1584
- }
1585
-
1586
- declare namespace $ {
1587
- }
1588
-
1589
- declare namespace $ {
1590
- type $mol_style_pseudo_class = ':active' | ':any' | ':any-link' | ':checked' | ':default' | ':defined' | ':dir(rtl)' | ':dir(ltr)' | ':disabled' | ':empty' | ':enabled' | ':first' | ':first-child' | ':first-of-type' | ':fullscreen' | ':focus' | ':focus-visible' | ':focus-within' | ':hover' | ':indeterminate' | ':in-range' | ':invalid' | ':last-child' | ':last-of-type' | ':left' | ':link' | `:not(${string})` | `:nth-child(${string})` | `:nth-last-child(${string})` | `:nth-of-type(${string})` | `:nth-last-of-type(${string})` | ':only-child' | ':only-of-type' | ':optional' | ':out-of-range' | ':placeholder-shown' | ':read-only' | ':read-write' | ':required' | ':right' | ':root' | ':scope' | ':target' | ':valid' | ':visited';
1591
- }
1592
-
1593
- declare namespace $ {
1594
- type $mol_style_pseudo_element = '::after' | '::before' | '::cue' | '::first-letter' | '::first-line' | '::selection' | '::slotted' | '::backdrop' | '::placeholder' | '::marker' | '::spelling-error' | '::grammar-error' | '::-webkit-calendar-picker-indicator' | '::-webkit-color-swatch' | '::-webkit-color-swatch-wrapper' | '::-webkit-details-marker' | '::-webkit-file-upload-button' | '::-webkit-image-inner-element' | '::-webkit-inner-spin-button' | '::-webkit-input-placeholder' | '::-webkit-input-speech-button' | '::-webkit-keygen-select' | '::-webkit-media-controls-panel' | '::-webkit-media-controls-timeline-container' | '::-webkit-media-slider-container' | '::-webkit-meter-bar' | '::-webkit-meter-even-less-good-value' | '::-webkit-meter-optimum-value' | '::-webkit-meter-suboptimal-value' | '::-webkit-progress-bar' | '::-webkit-progress-value' | '::-webkit-resizer' | '::-webkit-resizer:window-inactive' | '::-webkit-scrollbar' | '::-webkit-scrollbar-button' | '::-webkit-scrollbar-button:disabled' | '::-webkit-scrollbar-button:double-button:horizontal:end:decrement' | '::-webkit-scrollbar-button:double-button:horizontal:end:increment' | '::-webkit-scrollbar-button:double-button:horizontal:end:increment:corner-present' | '::-webkit-scrollbar-button:double-button:horizontal:start:decrement' | '::-webkit-scrollbar-button:double-button:horizontal:start:increment' | '::-webkit-scrollbar-button:double-button:vertical:end:decrement' | '::-webkit-scrollbar-button:double-button:vertical:end:increment' | '::-webkit-scrollbar-button:double-button:vertical:end:increment:corner-present' | '::-webkit-scrollbar-button:double-button:vertical:start:decrement' | '::-webkit-scrollbar-button:double-button:vertical:start:increment' | '::-webkit-scrollbar-button:end' | '::-webkit-scrollbar-button:end:decrement' | '::-webkit-scrollbar-button:end:increment' | '::-webkit-scrollbar-button:horizontal' | '::-webkit-scrollbar-button:horizontal:decrement' | '::-webkit-scrollbar-button:horizontal:decrement:active' | '::-webkit-scrollbar-button:horizontal:decrement:hover' | '::-webkit-scrollbar-button:horizontal:decrement:window-inactive' | '::-webkit-scrollbar-button:horizontal:end' | '::-webkit-scrollbar-button:horizontal:end:decrement' | '::-webkit-scrollbar-button:horizontal:end:increment' | '::-webkit-scrollbar-button:horizontal:end:increment:corner-present' | '::-webkit-scrollbar-button:horizontal:increment' | '::-webkit-scrollbar-button:horizontal:increment:active' | '::-webkit-scrollbar-button:horizontal:increment:hover' | '::-webkit-scrollbar-button:horizontal:increment:window-inactive' | '::-webkit-scrollbar-button:horizontal:start' | '::-webkit-scrollbar-button:horizontal:start:decrement' | '::-webkit-scrollbar-button:horizontal:start:increment' | '::-webkit-scrollbar-button:start' | '::-webkit-scrollbar-button:start:decrement' | '::-webkit-scrollbar-button:start:increment' | '::-webkit-scrollbar-button:vertical' | '::-webkit-scrollbar-button:vertical:decrement' | '::-webkit-scrollbar-button:vertical:decrement:active' | '::-webkit-scrollbar-button:vertical:decrement:hover' | '::-webkit-scrollbar-button:vertical:decrement:window-inactive' | '::-webkit-scrollbar-button:vertical:end' | '::-webkit-scrollbar-button:vertical:end:decrement' | '::-webkit-scrollbar-button:vertical:end:increment' | '::-webkit-scrollbar-button:vertical:end:increment:corner-present' | '::-webkit-scrollbar-button:vertical:increment' | '::-webkit-scrollbar-button:vertical:increment:active' | '::-webkit-scrollbar-button:vertical:increment:hover' | '::-webkit-scrollbar-button:vertical:increment:window-inactive' | '::-webkit-scrollbar-button:vertical:start' | '::-webkit-scrollbar-button:vertical:start:decrement' | '::-webkit-scrollbar-button:vertical:start:increment' | '::-webkit-scrollbar-corner' | '::-webkit-scrollbar-corner:window-inactive' | '::-webkit-scrollbar-thumb' | '::-webkit-scrollbar-thumb:horizontal' | '::-webkit-scrollbar-thumb:horizontal:active' | '::-webkit-scrollbar-thumb:horizontal:hover' | '::-webkit-scrollbar-thumb:horizontal:window-inactive' | '::-webkit-scrollbar-thumb:vertical' | '::-webkit-scrollbar-thumb:vertical:active' | '::-webkit-scrollbar-thumb:vertical:hover' | '::-webkit-scrollbar-thumb:vertical:window-inactive' | '::-webkit-scrollbar-track' | '::-webkit-scrollbar-track-piece' | '::-webkit-scrollbar-track-piece:disabled' | '::-webkit-scrollbar-track-piece:end' | '::-webkit-scrollbar-track-piece:horizontal:decrement' | '::-webkit-scrollbar-track-piece:horizontal:decrement:active' | '::-webkit-scrollbar-track-piece:horizontal:decrement:hover' | '::-webkit-scrollbar-track-piece:horizontal:end' | '::-webkit-scrollbar-track-piece:horizontal:end:corner-present' | '::-webkit-scrollbar-track-piece:horizontal:end:double-button' | '::-webkit-scrollbar-track-piece:horizontal:end:no-button' | '::-webkit-scrollbar-track-piece:horizontal:end:no-button:corner-present' | '::-webkit-scrollbar-track-piece:horizontal:end:single-button' | '::-webkit-scrollbar-track-piece:horizontal:increment' | '::-webkit-scrollbar-track-piece:horizontal:increment:active' | '::-webkit-scrollbar-track-piece:horizontal:increment:hover' | '::-webkit-scrollbar-track-piece:horizontal:start' | '::-webkit-scrollbar-track-piece:horizontal:start:double-button' | '::-webkit-scrollbar-track-piece:horizontal:start:no-button' | '::-webkit-scrollbar-track-piece:horizontal:start:single-button' | '::-webkit-scrollbar-track-piece:start' | '::-webkit-scrollbar-track-piece:vertical:decrement' | '::-webkit-scrollbar-track-piece:vertical:decrement:active' | '::-webkit-scrollbar-track-piece:vertical:decrement:hover' | '::-webkit-scrollbar-track-piece:vertical:end' | '::-webkit-scrollbar-track-piece:vertical:end:corner-present' | '::-webkit-scrollbar-track-piece:vertical:end:double-button' | '::-webkit-scrollbar-track-piece:vertical:end:no-button' | '::-webkit-scrollbar-track-piece:vertical:end:no-button:corner-present' | '::-webkit-scrollbar-track-piece:vertical:end:single-button' | '::-webkit-scrollbar-track-piece:vertical:increment' | '::-webkit-scrollbar-track-piece:vertical:increment:active' | '::-webkit-scrollbar-track-piece:vertical:increment:hover' | '::-webkit-scrollbar-track-piece:vertical:start' | '::-webkit-scrollbar-track-piece:vertical:start:double-button' | '::-webkit-scrollbar-track-piece:vertical:start:no-button' | '::-webkit-scrollbar-track-piece:vertical:start:single-button' | '::-webkit-scrollbar-track:disabled' | '::-webkit-scrollbar-track:horizontal' | '::-webkit-scrollbar-track:horizontal:disabled' | '::-webkit-scrollbar-track:horizontal:disabled:corner-present' | '::-webkit-scrollbar-track:vertical:disabled' | '::-webkit-scrollbar-track:vertical:disabled:corner-present' | '::-webkit-scrollbar:horizontal' | '::-webkit-scrollbar:horizontal:corner-present' | '::-webkit-scrollbar:horizontal:window-inactive' | '::-webkit-scrollbar:vertical' | '::-webkit-scrollbar:vertical:corner-present' | '::-webkit-scrollbar:vertical:window-inactive' | '::-webkit-search-cancel-button' | '::-webkit-search-decoration' | '::-webkit-search-results-button' | '::-webkit-search-results-decoration' | '::-webkit-slider-container' | '::-webkit-slider-runnable-track' | '::-webkit-slider-thumb' | '::-webkit-slider-thumb:disabled' | '::-webkit-slider-thumb:hover' | '::-webkit-textfield-decoration-container' | '::-webkit-validation-bubble' | '::-webkit-validation-bubble-arrow' | '::-webkit-validation-bubble-arrow-clipper' | '::-webkit-validation-bubble-heading' | '::-webkit-validation-bubble-message' | '::-webkit-validation-bubble-text-block';
1595
- }
1596
-
1597
- declare namespace $ {
1598
- type $mol_type_error<Message, Info = {}> = Message & {
1599
- $mol_type_error: Info;
1600
- };
1601
- }
1602
-
1603
- declare namespace $ {
1604
- type Attrs<View extends $mol_view, Config, Attrs = ReturnType<View['attr']>> = {
1605
- [name in keyof Attrs]?: {
1606
- [val in keyof Config[Extract<name, keyof Config>]]: $mol_style_guard<View, Config[Extract<name, keyof Config>][val]>;
1607
- };
1608
- };
1609
- type Medias<View extends $mol_view, Config> = {
1610
- [query in keyof Config]: $mol_style_guard<View, Config[query]>;
1611
- };
1612
- type Keys<View extends $mol_view> = '>' | '@' | keyof $mol_style_properties | $mol_style_pseudo_element | $mol_style_pseudo_class | $mol_type_keys_extract<View, () => $mol_view> | `$${string}`;
1613
- export type $mol_style_guard<View extends $mol_view, Config> = {
1614
- [key in Keys<View>]?: unknown;
1615
- } & $mol_style_properties & {
1616
- [key in keyof Config]: key extends keyof $mol_style_properties ? $mol_style_properties[key] : key extends '>' | $mol_style_pseudo_class | $mol_style_pseudo_element ? $mol_style_guard<View, Config[key]> : key extends '@' ? Attrs<View, Config[key]> : key extends '@media' ? Medias<View, Config[key]> : key extends '@starting-style' ? $mol_style_guard<View, Config[key]> : key extends `[${string}]` ? {
1617
- [val in keyof Config[key]]: $mol_style_guard<View, Config[key][val]>;
1618
- } : key extends `--${string}` ? any : key extends keyof $ ? $mol_style_guard<InstanceType<Extract<$[key], typeof $mol_view>>, Config[key]> : key extends keyof View ? View[key] extends (id?: any) => infer Sub ? Sub extends $mol_view ? $mol_style_guard<Sub, Config[key]> : $mol_type_error<'Property returns non $mol_view', {
1619
- Returns: Sub;
1620
- }> : $mol_type_error<'Field is not a Property'> : key extends `$${string}` ? $mol_type_error<'Unknown View Class'> : $mol_type_error<'Unknown CSS Property'>;
1621
- };
1622
- export {};
1623
- }
1624
-
1625
- declare namespace $ {
1626
- function $mol_style_sheet<Component extends $mol_view, Config extends $mol_style_guard<Component, Config>>(Component: new () => Component, config0: Config): string;
1627
- }
1628
-
1629
- declare namespace $ {
1630
- function $mol_style_define<Component extends $mol_view, Config extends $mol_style_guard<Component, Config>>(Component: new () => Component, config: Config): HTMLStyleElement | null;
1631
- }
1632
-
1633
47
  declare namespace $ {
1634
48
 
1635
49
  export class $mol_text_code_token extends $mol_dimmer {
@@ -1652,73 +66,6 @@ declare namespace $ {
1652
66
  }
1653
67
 
1654
68
  //# sourceMappingURL=token.view.tree.d.ts.map
1655
- declare namespace $.$$ {
1656
- }
1657
-
1658
- declare namespace $ {
1659
- class $mol_syntax2<Lexems extends {
1660
- [name: string]: RegExp;
1661
- } = {}> {
1662
- lexems: Lexems;
1663
- constructor(lexems: Lexems);
1664
- rules: Array<{
1665
- regExp: RegExp;
1666
- name: string;
1667
- size: number;
1668
- }>;
1669
- regexp: RegExp;
1670
- tokenize(text: string, handle: (name: string, found: string, chunks: string[], offset: number) => void): void;
1671
- parse(text: string, handlers: {
1672
- [key in keyof Lexems | '']: (found: string, chunks: string[], offset: number) => void;
1673
- }): void;
1674
- }
1675
- }
1676
-
1677
- declare namespace $ {
1678
- var $mol_syntax2_md_flow: $mol_syntax2<{
1679
- quote: RegExp;
1680
- spoiler: RegExp;
1681
- header: RegExp;
1682
- list: RegExp;
1683
- code: RegExp;
1684
- 'code-indent': RegExp;
1685
- table: RegExp;
1686
- grid: RegExp;
1687
- cut: RegExp;
1688
- block: RegExp;
1689
- }>;
1690
- var $mol_syntax2_md_line: $mol_syntax2<{
1691
- strong: RegExp;
1692
- emphasis: RegExp;
1693
- code: RegExp;
1694
- insert: RegExp;
1695
- delete: RegExp;
1696
- embed: RegExp;
1697
- link: RegExp;
1698
- 'image-link': RegExp;
1699
- 'text-link': RegExp;
1700
- 'text-link-http': RegExp;
1701
- }>;
1702
- const $mol_syntax2_md_code: $mol_syntax2<{
1703
- 'code-indent': RegExp;
1704
- 'code-docs': RegExp;
1705
- 'code-comment-block': RegExp;
1706
- 'code-link': RegExp;
1707
- 'code-comment-inline': RegExp;
1708
- 'code-string': RegExp;
1709
- 'code-number': RegExp;
1710
- 'code-call': RegExp;
1711
- 'code-sexpr': RegExp;
1712
- 'code-field': RegExp;
1713
- 'code-keyword': RegExp;
1714
- 'code-global': RegExp;
1715
- 'code-word': RegExp;
1716
- 'code-decorator': RegExp;
1717
- 'code-tag': RegExp;
1718
- 'code-punctuation': RegExp;
1719
- }>;
1720
- }
1721
-
1722
69
  declare namespace $ {
1723
70
 
1724
71
  type $mol_view__sub_mol_text_code_line_1 = $mol_type_enforce<
@@ -1776,85 +123,6 @@ declare namespace $ {
1776
123
  }
1777
124
 
1778
125
  //# sourceMappingURL=line.view.tree.d.ts.map
1779
- declare namespace $.$$ {
1780
- class $mol_text_code_line extends $.$mol_text_code_line {
1781
- maximal_width(): number;
1782
- syntax(): $mol_syntax2<{
1783
- 'code-indent': RegExp;
1784
- 'code-docs': RegExp;
1785
- 'code-comment-block': RegExp;
1786
- 'code-link': RegExp;
1787
- 'code-comment-inline': RegExp;
1788
- 'code-string': RegExp;
1789
- 'code-number': RegExp;
1790
- 'code-call': RegExp;
1791
- 'code-sexpr': RegExp;
1792
- 'code-field': RegExp;
1793
- 'code-keyword': RegExp;
1794
- 'code-global': RegExp;
1795
- 'code-word': RegExp;
1796
- 'code-decorator': RegExp;
1797
- 'code-tag': RegExp;
1798
- 'code-punctuation': RegExp;
1799
- }>;
1800
- tokens(path: number[]): Readonly<{
1801
- name: string;
1802
- found: string;
1803
- chunks: string[];
1804
- }[]>;
1805
- sub(): (string | $mol_view)[];
1806
- row_content(path: number[]): string[] | $mol_text_code_token[];
1807
- Token(path: number[]): $mol_text_code_token;
1808
- token_type(path: number[]): string;
1809
- token_content(path: number[]): (string | $mol_text_code_token)[];
1810
- token_text(path: number[]): string;
1811
- token_uri(path: number[]): string;
1812
- view_find(check: (path: $mol_view, text?: string) => boolean, path?: $mol_view[]): Generator<$mol_view[]>;
1813
- find_pos(offset: number): {
1814
- token: $mol_text_code_token;
1815
- offset: number;
1816
- } | null;
1817
- find_token_pos([offset, ...path]: number[]): {
1818
- token: $mol_text_code_token;
1819
- offset: number;
1820
- } | null;
1821
- }
1822
- }
1823
-
1824
- declare namespace $.$$ {
1825
- }
1826
-
1827
- declare namespace $ {
1828
- let $mol_mem_cached: typeof $mol_wire_probe;
1829
- }
1830
-
1831
- declare namespace $ {
1832
- function $mol_support_css_overflow_anchor(this: $): boolean;
1833
- }
1834
-
1835
- declare namespace $ {
1836
- class $mol_dom_listener extends $mol_object {
1837
- _node: any;
1838
- _event: string;
1839
- _handler: (event: any) => any;
1840
- _config: boolean | {
1841
- passive: boolean;
1842
- };
1843
- constructor(_node: any, _event: string, _handler: (event: any) => any, _config?: boolean | {
1844
- passive: boolean;
1845
- });
1846
- destructor(): void;
1847
- }
1848
- }
1849
-
1850
- declare namespace $ {
1851
- class $mol_print extends $mol_object {
1852
- static before(): $mol_dom_listener;
1853
- static after(): $mol_dom_listener;
1854
- static active(next?: boolean): boolean;
1855
- }
1856
- }
1857
-
1858
126
  declare namespace $ {
1859
127
 
1860
128
  type $mol_view__style_mol_list_1 = $mol_type_enforce<
@@ -1890,35 +158,6 @@ declare namespace $ {
1890
158
  }
1891
159
 
1892
160
  //# sourceMappingURL=list.view.tree.d.ts.map
1893
- declare namespace $.$$ {
1894
- class $mol_list extends $.$mol_list {
1895
- sub(): readonly $mol_view[];
1896
- render_visible_only(): boolean;
1897
- view_window(next?: [number, number]): [number, number];
1898
- item_height_min(index: number): number;
1899
- row_width_min(index: number): number;
1900
- gap_before(): number;
1901
- gap_after(): number;
1902
- sub_visible(): $mol_view[];
1903
- minimal_height(): number;
1904
- minimal_width(): number;
1905
- force_render(path: Set<$mol_view>): void;
1906
- }
1907
- }
1908
-
1909
- declare namespace $ {
1910
- }
1911
-
1912
- declare namespace $ {
1913
- let $mol_layer: Record<"float" | "hover" | "focus" | "speck" | "popup", $mol_style_func<"var", unknown>>;
1914
- }
1915
-
1916
- declare namespace $ {
1917
- }
1918
-
1919
- declare namespace $ {
1920
- }
1921
-
1922
161
  declare namespace $ {
1923
162
 
1924
163
  export class $mol_speck extends $mol_view {
@@ -1970,24 +209,6 @@ declare namespace $ {
1970
209
  }
1971
210
 
1972
211
  //# sourceMappingURL=button.view.tree.d.ts.map
1973
- declare namespace $.$$ {
1974
- class $mol_button extends $.$mol_button {
1975
- disabled(): boolean;
1976
- event_activate(next: Event): void;
1977
- event_key_press(event: KeyboardEvent): any;
1978
- tab_index(): number;
1979
- error(): string;
1980
- hint_safe(): string;
1981
- sub_visible(): ($mol_view_content | $mol_speck)[];
1982
- }
1983
- }
1984
-
1985
- declare namespace $ {
1986
- }
1987
-
1988
- declare namespace $ {
1989
- }
1990
-
1991
212
  declare namespace $ {
1992
213
 
1993
214
  export class $mol_button_typed extends $mol_button {
@@ -1998,9 +219,6 @@ declare namespace $ {
1998
219
  }
1999
220
 
2000
221
  //# sourceMappingURL=typed.view.tree.d.ts.map
2001
- declare namespace $ {
2002
- }
2003
-
2004
222
  declare namespace $ {
2005
223
 
2006
224
  export class $mol_button_minor extends $mol_button_typed {
@@ -2009,23 +227,6 @@ declare namespace $ {
2009
227
  }
2010
228
 
2011
229
  //# sourceMappingURL=minor.view.tree.d.ts.map
2012
- declare var $node: any;
2013
-
2014
- declare namespace $ {
2015
- type $mol_blob = Blob;
2016
- let $mol_blob: {
2017
- prototype: Blob;
2018
- new (blobParts?: readonly BlobPart[], options?: BlobPropertyBag): Blob;
2019
- };
2020
- }
2021
-
2022
- declare namespace $ {
2023
- class $mol_state_time extends $mol_object {
2024
- static task(precision: number, reset?: null): $mol_after_timeout | $mol_after_frame;
2025
- static now(precision: number): number;
2026
- }
2027
- }
2028
-
2029
230
  declare namespace $ {
2030
231
 
2031
232
  export class $mol_svg extends $mol_view {
@@ -2039,17 +240,6 @@ declare namespace $ {
2039
240
  }
2040
241
 
2041
242
  //# sourceMappingURL=svg.view.tree.d.ts.map
2042
- declare namespace $.$$ {
2043
- class $mol_svg extends $.$mol_svg {
2044
- computed_style(): Record<string, any>;
2045
- font_size(): number;
2046
- font_family(): any;
2047
- }
2048
- }
2049
-
2050
- declare namespace $ {
2051
- }
2052
-
2053
243
  declare namespace $ {
2054
244
 
2055
245
  export class $mol_svg_root extends $mol_svg {
@@ -2078,9 +268,6 @@ declare namespace $ {
2078
268
  }
2079
269
 
2080
270
  //# sourceMappingURL=path.view.tree.d.ts.map
2081
- declare namespace $ {
2082
- }
2083
-
2084
271
  declare namespace $ {
2085
272
 
2086
273
  type $mol_svg_path__geometry_mol_icon_1 = $mol_type_enforce<
@@ -2118,21 +305,6 @@ declare namespace $ {
2118
305
  }
2119
306
 
2120
307
  //# sourceMappingURL=outline.view.tree.d.ts.map
2121
- declare namespace $ {
2122
- function $mol_html_encode(text: string): string;
2123
- }
2124
-
2125
- declare namespace $ {
2126
- export function $mol_wire_sync<Host extends object>(obj: Host): ObjectOrFunctionResultAwaited<Host>;
2127
- type FunctionResultAwaited<Some> = Some extends (...args: infer Args) => infer Res ? (...args: Args) => Awaited<Res> : Some;
2128
- type ConstructorResultAwaited<Some> = Some extends new (...args: infer Args) => infer Res ? new (...args: Args) => Res : {};
2129
- type MethodsResultAwaited<Host extends Object> = {
2130
- [K in keyof Host]: FunctionResultAwaited<Host[K]>;
2131
- };
2132
- type ObjectOrFunctionResultAwaited<Some> = (Some extends (...args: any) => unknown ? FunctionResultAwaited<Some> : {}) & (Some extends Object ? MethodsResultAwaited<Some> & ConstructorResultAwaited<Some> : Some);
2133
- export {};
2134
- }
2135
-
2136
308
  declare namespace $ {
2137
309
 
2138
310
  type $mol_blob__mol_button_copy_1 = $mol_type_enforce<
@@ -2164,356 +336,6 @@ declare namespace $ {
2164
336
  }
2165
337
 
2166
338
  //# sourceMappingURL=copy.view.tree.d.ts.map
2167
- declare namespace $.$$ {
2168
- class $mol_button_copy extends $.$mol_button_copy {
2169
- data(): {
2170
- [k: string]: Blob;
2171
- };
2172
- html(): string;
2173
- attachments(): ClipboardItem[];
2174
- click(event?: Event): void;
2175
- }
2176
- }
2177
-
2178
- declare namespace $ {
2179
- let $mol_mem_persist: typeof $mol_wire_solid;
2180
- }
2181
-
2182
- declare namespace $ {
2183
- function $mol_wait_user_async(this: $): Promise<unknown>;
2184
- function $mol_wait_user(this: $): unknown;
2185
- }
2186
-
2187
- declare namespace $ {
2188
- class $mol_storage extends $mol_object2 {
2189
- static native(): StorageManager;
2190
- static persisted(next?: boolean, cache?: 'cache'): boolean;
2191
- static estimate(): StorageEstimate;
2192
- static dir(): FileSystemDirectoryHandle;
2193
- }
2194
- }
2195
-
2196
- declare namespace $ {
2197
- class $mol_state_local<Value> extends $mol_object {
2198
- static 'native()': Pick<Storage, 'getItem' | 'setItem' | 'removeItem'>;
2199
- static native(): Storage | {
2200
- getItem(key: string): any;
2201
- setItem(key: string, value: string): void;
2202
- removeItem(key: string): void;
2203
- };
2204
- static changes(next?: StorageEvent): StorageEvent | undefined;
2205
- static value<Value>(key: string, next?: Value | null): Value | null;
2206
- prefix(): string;
2207
- value(key: string, next?: Value): Value | null;
2208
- }
2209
- }
2210
-
2211
- declare namespace $ {
2212
- }
2213
-
2214
- declare namespace $ {
2215
- let $mol_action: typeof $mol_wire_method;
2216
- }
2217
-
2218
- declare namespace $ {
2219
- class $mol_lock extends $mol_object {
2220
- protected promise: null | Promise<void>;
2221
- wait(): Promise<() => void>;
2222
- grab(): () => void;
2223
- }
2224
- }
2225
-
2226
- declare namespace $ {
2227
- function $mol_compare_array<Value extends ArrayLike<unknown>>(a: Value, b: Value): boolean;
2228
- }
2229
-
2230
- declare namespace $ {
2231
- type $mol_charset_encoding = 'utf8' | 'utf-16le' | 'utf-16be' | 'ibm866' | 'iso-8859-2' | 'iso-8859-3' | 'iso-8859-4' | 'iso-8859-5' | 'iso-8859-6' | 'iso-8859-7' | 'iso-8859-8' | 'iso-8859-8i' | 'iso-8859-10' | 'iso-8859-13' | 'iso-8859-14' | 'iso-8859-15' | 'iso-8859-16' | 'koi8-r' | 'koi8-u' | 'koi8-r' | 'macintosh' | 'windows-874' | 'windows-1250' | 'windows-1251' | 'windows-1252' | 'windows-1253' | 'windows-1254' | 'windows-1255' | 'windows-1256' | 'windows-1257' | 'windows-1258' | 'x-mac-cyrillic' | 'gbk' | 'gb18030' | 'hz-gb-2312' | 'big5' | 'euc-jp' | 'iso-2022-jp' | 'shift-jis' | 'euc-kr' | 'iso-2022-kr';
2232
- }
2233
-
2234
- declare namespace $ {
2235
- function $mol_charset_decode(buffer: AllowSharedBufferSource, encoding?: $mol_charset_encoding): string;
2236
- }
2237
-
2238
- declare namespace $ {
2239
- function $mol_charset_buffer(size: number): Uint8Array<ArrayBuffer>;
2240
- }
2241
-
2242
- declare namespace $ {
2243
- function $mol_charset_encode(str: string): Uint8Array<ArrayBuffer>;
2244
- function $mol_charset_encode_to(str: string, buf: Uint8Array<ArrayBuffer>, from?: number): number;
2245
- function $mol_charset_encode_size(str: string): number;
2246
- }
2247
-
2248
- declare namespace $ {
2249
- type $mol_file_transaction_mode = 'create' | 'exists_truncate' | 'exists_fail' | 'read_only' | 'write_only' | 'read_write' | 'append';
2250
- type $mol_file_transaction_buffer = ArrayBufferView;
2251
- class $mol_file_transaction extends $mol_object {
2252
- path(): string;
2253
- modes(): readonly $mol_file_transaction_mode[];
2254
- write(options: {
2255
- buffer: ArrayBufferView | string | readonly ArrayBufferView[];
2256
- offset?: number | null;
2257
- length?: number | null;
2258
- position?: number | null;
2259
- }): number;
2260
- read(): Uint8Array<ArrayBuffer>;
2261
- truncate(size: number): void;
2262
- flush(): void;
2263
- close(): void;
2264
- destructor(): void;
2265
- }
2266
- }
2267
-
2268
- declare namespace $ {
2269
- class $mol_file_base extends $mol_object {
2270
- static absolute<This extends typeof $mol_file_base>(this: This, path: string): InstanceType<This>;
2271
- static relative<This extends typeof $mol_file_base>(this: This, path: string): InstanceType<This>;
2272
- static base: string;
2273
- path(): string;
2274
- parent(): this;
2275
- exists_cut(): boolean;
2276
- protected root(): boolean;
2277
- protected stat(next?: $mol_file_stat | null, virt?: 'virt'): $mol_file_stat | null;
2278
- protected static changed: Set<$mol_file_base>;
2279
- protected static frame: null | $mol_after_timeout;
2280
- protected static changed_add(type: 'change' | 'rename', path: string): void;
2281
- static watch_debounce(): number;
2282
- static flush(): void;
2283
- protected static watching: boolean;
2284
- protected static lock: $mol_lock;
2285
- protected static watch_off(path: string): void;
2286
- static unwatched<Result>(side_effect: () => Result, affected_dir: string): Result;
2287
- reset(): void;
2288
- modified(): Date | null;
2289
- version(): string;
2290
- protected info(path: string): null | $mol_file_stat;
2291
- protected ensure(): void;
2292
- protected drop(): void;
2293
- protected copy(to: string): void;
2294
- protected read(): Uint8Array<ArrayBuffer>;
2295
- protected write(buffer: Uint8Array<ArrayBuffer>): void;
2296
- protected kids(): readonly this[];
2297
- readable(opts: {
2298
- start?: number;
2299
- end?: number;
2300
- }): ReadableStream<Uint8Array<ArrayBuffer>>;
2301
- writable(opts: {
2302
- start?: number;
2303
- }): WritableStream<Uint8Array<ArrayBuffer>>;
2304
- buffer(next?: Uint8Array<ArrayBuffer>): Uint8Array<ArrayBuffer>;
2305
- stat_make(size: number): {
2306
- readonly type: "file";
2307
- readonly size: number;
2308
- readonly atime: Date;
2309
- readonly mtime: Date;
2310
- readonly ctime: Date;
2311
- };
2312
- clone(to: string): this | null;
2313
- watcher(): {
2314
- destructor(): void;
2315
- };
2316
- exists(next?: boolean): boolean;
2317
- type(): "" | $mol_file_type;
2318
- name(): string;
2319
- ext(): string;
2320
- text(next?: string, virt?: 'virt'): string;
2321
- text_int(next?: string, virt?: 'virt'): string;
2322
- sub(reset?: null): this[];
2323
- resolve(path: string): this;
2324
- relate(base?: $mol_file_base): string;
2325
- find(include?: RegExp, exclude?: RegExp): this[];
2326
- size(): number;
2327
- toJSON(): string;
2328
- open(...modes: readonly $mol_file_transaction_mode[]): $mol_file_transaction;
2329
- }
2330
- }
2331
-
2332
- declare namespace $ {
2333
- type $mol_file_type = 'file' | 'dir' | 'link';
2334
- interface $mol_file_stat {
2335
- type: $mol_file_type;
2336
- size: number;
2337
- atime: Date;
2338
- mtime: Date;
2339
- ctime: Date;
2340
- }
2341
- class $mol_file extends $mol_file_base {
2342
- }
2343
- }
2344
-
2345
- declare namespace $ {
2346
- enum $mol_rest_code {
2347
- 'Continue' = 100,
2348
- 'Switching protocols' = 101,
2349
- 'Processing' = 102,
2350
- 'OK' = 200,
2351
- 'Created' = 201,
2352
- 'Accepted' = 202,
2353
- 'Non-Authoritative Information' = 203,
2354
- 'No Content' = 204,
2355
- 'Reset Content' = 205,
2356
- 'Partial Content' = 206,
2357
- 'Multi Status' = 207,
2358
- 'Already Reported' = 208,
2359
- 'IM Used' = 226,
2360
- 'Multiple Choices' = 300,
2361
- 'Moved Permanently' = 301,
2362
- 'Found' = 302,
2363
- 'See Other' = 303,
2364
- 'Not Modified' = 304,
2365
- 'Use Proxy' = 305,
2366
- 'Temporary Redirect' = 307,
2367
- 'Bad Request' = 400,
2368
- 'Unauthorized' = 401,
2369
- 'Payment Required' = 402,
2370
- 'Forbidden' = 403,
2371
- 'Not Found' = 404,
2372
- 'Method Not Allowed' = 405,
2373
- 'Not Acceptable' = 406,
2374
- 'Proxy Authentication Required' = 407,
2375
- 'Request Timeout' = 408,
2376
- 'Conflict' = 409,
2377
- 'Gone' = 410,
2378
- 'Length Required' = 411,
2379
- 'Precondition Failed' = 412,
2380
- 'Request Entity Too Large' = 413,
2381
- 'Request URI Too Long' = 414,
2382
- 'Unsupported Media Type' = 415,
2383
- 'Requested Range Not Satisfiable' = 416,
2384
- 'Expectation Failed' = 417,
2385
- 'Teapot' = 418,
2386
- 'Unprocessable Entity' = 422,
2387
- 'Locked' = 423,
2388
- 'Failed Dependency' = 424,
2389
- 'Upgrade Required' = 426,
2390
- 'Precondition Required' = 428,
2391
- 'Too Many Requests' = 429,
2392
- 'Request Header Fields Too Large' = 431,
2393
- 'Unavailable For Legal Reasons' = 451,
2394
- 'Internal Server Error' = 500,
2395
- 'Not Implemented' = 501,
2396
- 'Bad Gateway' = 502,
2397
- 'Service Unavailable' = 503,
2398
- 'Gateway Timeout' = 504,
2399
- 'HTTP Version Not Supported' = 505,
2400
- 'Insufficient Storage' = 507,
2401
- 'Loop Detected' = 508,
2402
- 'Not Extended' = 510,
2403
- 'Network Authentication Required' = 511,
2404
- 'Network Read Timeout Error' = 598,
2405
- 'Network Connect Timeout Error' = 599
2406
- }
2407
- }
2408
-
2409
- declare namespace $ {
2410
- class $mol_error_mix<Cause extends {} = {}> extends AggregateError {
2411
- readonly cause: Cause;
2412
- name: string;
2413
- constructor(message: string, cause?: Cause, ...errors: readonly Error[]);
2414
- static [Symbol.toPrimitive](): string;
2415
- static toString(): string;
2416
- static make(...params: ConstructorParameters<typeof $mol_error_mix>): $mol_error_mix<{}>;
2417
- }
2418
- }
2419
-
2420
- declare namespace $ {
2421
- function $mol_error_fence<Data>(task: () => Data, fallback: (parent: Error) => Error | Data | PromiseLike<Data>, loading?: (parent: PromiseLike<Data>) => Error | Data | PromiseLike<Data>): Data;
2422
- }
2423
-
2424
- declare namespace $ {
2425
- function $mol_error_enriched<V>(cause: {}, cb: () => V): V;
2426
- }
2427
-
2428
- declare namespace $ {
2429
- function $mol_dom_parse(text: string, type?: DOMParserSupportedType): Document;
2430
- }
2431
-
2432
- declare namespace $ {
2433
- class $mol_fetch_response extends $mol_object {
2434
- readonly native: Response;
2435
- readonly request: $mol_fetch_request;
2436
- status(): "success" | "unknown" | "inform" | "redirect" | "wrong" | "failed";
2437
- code(): number;
2438
- ok(): boolean;
2439
- message(): string;
2440
- headers(): Headers;
2441
- mime(): string | null;
2442
- stream(): ReadableStream<Uint8Array<ArrayBuffer>> | null;
2443
- text(): string;
2444
- json(): unknown;
2445
- blob(): Blob;
2446
- buffer(): ArrayBuffer;
2447
- xml(): Document;
2448
- xhtml(): Document;
2449
- html(): Document;
2450
- }
2451
- class $mol_fetch_request extends $mol_object {
2452
- readonly native: Request;
2453
- response_async(): Promise<Response> & {
2454
- destructor: () => void;
2455
- };
2456
- response(): $mol_fetch_response;
2457
- success(): $mol_fetch_response;
2458
- }
2459
- class $mol_fetch extends $mol_object {
2460
- static request(input: RequestInfo, init?: RequestInit): $mol_fetch_request;
2461
- static response(input: RequestInfo, init?: RequestInit): $mol_fetch_response;
2462
- static success(input: RequestInfo, init?: RequestInit): $mol_fetch_response;
2463
- static stream(input: RequestInfo, init?: RequestInit): ReadableStream<Uint8Array<ArrayBuffer>> | null;
2464
- static text(input: RequestInfo, init?: RequestInit): string;
2465
- static json(input: RequestInfo, init?: RequestInit): unknown;
2466
- static blob(input: RequestInfo, init?: RequestInit): Blob;
2467
- static buffer(input: RequestInfo, init?: RequestInit): ArrayBuffer;
2468
- static xml(input: RequestInfo, init?: RequestInit): Document;
2469
- static xhtml(input: RequestInfo, init?: RequestInit): Document;
2470
- static html(input: RequestInfo, init?: RequestInit): Document;
2471
- }
2472
- }
2473
-
2474
- declare namespace $ {
2475
- class $mol_file_webdav extends $mol_file_base {
2476
- static relative<This extends typeof $mol_file>(this: This, path: string): InstanceType<This>;
2477
- resolve(path: string): this;
2478
- static headers(): Record<string, string>;
2479
- headers(): Record<string, string>;
2480
- protected fetch(init: RequestInit): $mol_fetch_response;
2481
- protected read(): Uint8Array<ArrayBuffer>;
2482
- protected write(body: Uint8Array<ArrayBuffer>): void;
2483
- protected ensure(): void;
2484
- protected drop(): void;
2485
- protected copy(to: string): void;
2486
- protected kids(): this[];
2487
- readable(opts: {
2488
- start?: number;
2489
- end?: number;
2490
- }): ReadableStream<Uint8Array<ArrayBuffer>>;
2491
- protected info(): $mol_file_stat | null;
2492
- }
2493
- }
2494
-
2495
- declare namespace $ {
2496
- class $mol_file_web extends $mol_file_webdav {
2497
- static base: string;
2498
- version(): string;
2499
- protected info(): $mol_file_stat | null;
2500
- }
2501
- }
2502
-
2503
- declare namespace $ {
2504
- interface $mol_locale_dict {
2505
- [key: string]: string;
2506
- }
2507
- class $mol_locale extends $mol_object {
2508
- static lang_default(): string;
2509
- static lang(next?: string): string;
2510
- static source(lang: string): any;
2511
- static texts(lang: string, next?: $mol_locale_dict): $mol_locale_dict;
2512
- static text(key: string): string;
2513
- static warn(key: string): null;
2514
- }
2515
- }
2516
-
2517
339
  declare namespace $ {
2518
340
 
2519
341
  type $mol_text_code_line__numb_showed_mol_text_code_1 = $mol_type_enforce<
@@ -2599,55 +421,6 @@ declare namespace $ {
2599
421
  }
2600
422
 
2601
423
  //# sourceMappingURL=code.view.tree.d.ts.map
2602
- declare namespace $.$$ {
2603
- class $mol_text_code extends $.$mol_text_code {
2604
- render_visible_only(): boolean;
2605
- text_lines(): readonly string[];
2606
- rows(): $.$mol_text_code_line[];
2607
- row_text(index: number): string;
2608
- row_numb(index: number): number;
2609
- find_pos(offset: number): any;
2610
- sub(): ($.$mol_list | $.$mol_button_copy)[];
2611
- syntax(): $mol_syntax2<{
2612
- 'code-indent': RegExp;
2613
- 'code-docs': RegExp;
2614
- 'code-comment-block': RegExp;
2615
- 'code-link': RegExp;
2616
- 'code-comment-inline': RegExp;
2617
- 'code-string': RegExp;
2618
- 'code-number': RegExp;
2619
- 'code-call': RegExp;
2620
- 'code-sexpr': RegExp;
2621
- 'code-field': RegExp;
2622
- 'code-keyword': RegExp;
2623
- 'code-global': RegExp;
2624
- 'code-word': RegExp;
2625
- 'code-decorator': RegExp;
2626
- 'code-tag': RegExp;
2627
- 'code-punctuation': RegExp;
2628
- }>;
2629
- uri_base(): string;
2630
- uri_resolve(uri: string): string;
2631
- text_export(): string;
2632
- row_theme(row: number): string;
2633
- }
2634
- }
2635
-
2636
- declare namespace $.$$ {
2637
- }
2638
-
2639
- declare namespace $ {
2640
- class $mol_dom_event<EventType extends Event> extends $mol_object {
2641
- readonly native: EventType;
2642
- constructor(native: EventType);
2643
- prevented(next?: boolean): boolean;
2644
- static wrap<EventType extends Event>(event: EventType): $mol_dom_event<EventType>;
2645
- }
2646
- }
2647
-
2648
- declare namespace $ {
2649
- }
2650
-
2651
424
  declare namespace $ {
2652
425
 
2653
426
  type $mol_view__sub_mol_check_1 = $mol_type_enforce<
@@ -2674,15 +447,6 @@ declare namespace $ {
2674
447
  }
2675
448
 
2676
449
  //# sourceMappingURL=check.view.tree.d.ts.map
2677
- declare namespace $.$$ {
2678
- class $mol_check extends $.$mol_check {
2679
- click(next?: Event): void;
2680
- sub(): readonly $mol_view_content[];
2681
- label(): readonly any[];
2682
- aria_checked(): string;
2683
- }
2684
- }
2685
-
2686
450
  declare namespace $ {
2687
451
 
2688
452
  export class $mol_icon_chevron extends $mol_icon {
@@ -2710,16 +474,6 @@ declare namespace $ {
2710
474
  }
2711
475
 
2712
476
  //# sourceMappingURL=expand.view.tree.d.ts.map
2713
- declare namespace $.$$ {
2714
- class $mol_check_expand extends $.$mol_check_expand {
2715
- level_style(): string;
2716
- expandable(): boolean;
2717
- }
2718
- }
2719
-
2720
- declare namespace $ {
2721
- }
2722
-
2723
477
  declare namespace $ {
2724
478
 
2725
479
  type $mol_dump_value__value_mol_dump_list_1 = $mol_type_enforce<
@@ -2755,17 +509,6 @@ declare namespace $ {
2755
509
  }
2756
510
 
2757
511
  //# sourceMappingURL=list.view.tree.d.ts.map
2758
- declare namespace $.$$ {
2759
- class $mol_dump_list extends $.$mol_dump_list {
2760
- sub(): $.$mol_dump_value[];
2761
- dump_value(index: number): any;
2762
- expand_all(event?: Event): void;
2763
- }
2764
- }
2765
-
2766
- declare namespace $ {
2767
- }
2768
-
2769
512
  declare namespace $ {
2770
513
 
2771
514
  type $mol_check_expand__checked_mol_expander_1 = $mol_type_enforce<
@@ -2808,16 +551,6 @@ declare namespace $ {
2808
551
  }
2809
552
 
2810
553
  //# sourceMappingURL=expander.view.tree.d.ts.map
2811
- declare namespace $.$$ {
2812
- class $mol_expander extends $.$mol_expander {
2813
- rows(): $mol_view[];
2814
- expandable(): boolean;
2815
- }
2816
- }
2817
-
2818
- declare namespace $ {
2819
- }
2820
-
2821
554
  declare namespace $ {
2822
555
 
2823
556
  type $mol_text_code__text_mol_dump_value_1 = $mol_type_enforce<
@@ -2931,22 +664,5 @@ declare namespace $ {
2931
664
  }
2932
665
 
2933
666
  //# sourceMappingURL=value.view.tree.d.ts.map
2934
- declare namespace $.$$ {
2935
- class $mol_dump_value extends $.$mol_dump_value {
2936
- sub(): $.$mol_text_code[] | $.$mol_expander[];
2937
- simple(): string;
2938
- expand_title(): any;
2939
- rows_values(): any[][];
2940
- preview_dom(): Element | null;
2941
- expand_content(): ($mol_view | $.$mol_dump_list)[];
2942
- expandable(): boolean;
2943
- row_values(index: number): any[];
2944
- expand_all(event?: Event): void;
2945
- }
2946
- }
2947
-
2948
- declare namespace $ {
2949
- }
2950
-
2951
667
  export = $;
2952
668
  //# sourceMappingURL=web.d.ts.map