@davidsouther/jiffies 2.3.0 → 2026.4.0
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/package.json +15 -20
- package/src/dom/dom.ts +3 -1
- package/src/dom/form/form.ts +1 -4
- package/src/dom/index.ts +2 -0
- package/src/observable/observable.ts +2 -0
- package/src/scope/fix.ts +0 -2
- package/src/transpile.mjs +0 -1
- package/tsconfig.json +34 -0
- package/lib/cjs/assert.d.ts +0 -26
- package/lib/cjs/awaitable.d.ts +0 -1
- package/lib/cjs/case.d.ts +0 -1
- package/lib/cjs/components/button_bar.d.ts +0 -8
- package/lib/cjs/components/inline_edit.d.ts +0 -12
- package/lib/cjs/components/logger.d.ts +0 -6
- package/lib/cjs/components/select.d.ts +0 -10
- package/lib/cjs/components/test.d.ts +0 -1
- package/lib/cjs/components/virtual_scroll.d.ts +0 -42
- package/lib/cjs/components/virtual_scroll.test.d.ts +0 -1
- package/lib/cjs/context.d.ts +0 -11
- package/lib/cjs/context.test.d.ts +0 -1
- package/lib/cjs/debounce.d.ts +0 -1
- package/lib/cjs/diff.d.ts +0 -15
- package/lib/cjs/diff.test.d.ts +0 -1
- package/lib/cjs/display.d.ts +0 -5
- package/lib/cjs/dom/css/border.d.ts +0 -11
- package/lib/cjs/dom/css/constants.d.ts +0 -31
- package/lib/cjs/dom/css/core.d.ts +0 -5
- package/lib/cjs/dom/css/fstyle.d.ts +0 -5
- package/lib/cjs/dom/css/sizing.d.ts +0 -5
- package/lib/cjs/dom/dom.d.ts +0 -27
- package/lib/cjs/dom/fc.d.ts +0 -10
- package/lib/cjs/dom/fc.test.d.ts +0 -1
- package/lib/cjs/dom/form/form.app.d.ts +0 -1
- package/lib/cjs/dom/form/form.d.ts +0 -25
- package/lib/cjs/dom/form/form.test.d.ts +0 -0
- package/lib/cjs/dom/html.d.ts +0 -112
- package/lib/cjs/dom/html.test.d.ts +0 -1
- package/lib/cjs/dom/observable.d.ts +0 -2
- package/lib/cjs/dom/observable.test.d.ts +0 -1
- package/lib/cjs/dom/provide.d.ts +0 -3
- package/lib/cjs/dom/router/link.d.ts +0 -6
- package/lib/cjs/dom/router/router.d.ts +0 -13
- package/lib/cjs/dom/svg.d.ts +0 -64
- package/lib/cjs/dom/test.d.ts +0 -1
- package/lib/cjs/dom/types/css.d.ts +0 -6590
- package/lib/cjs/dom/types/dom.d.ts +0 -0
- package/lib/cjs/dom/types/html.d.ts +0 -614
- package/lib/cjs/dom/xml.d.ts +0 -1
- package/lib/cjs/equal.d.ts +0 -11
- package/lib/cjs/equal.test.d.ts +0 -1
- package/lib/cjs/flags.d.ts +0 -7
- package/lib/cjs/flags.test.d.ts +0 -1
- package/lib/cjs/fs.d.ts +0 -72
- package/lib/cjs/fs.test.d.ts +0 -1
- package/lib/cjs/fs_node.d.ts +0 -15
- package/lib/cjs/fs_win.test.d.ts +0 -1
- package/lib/cjs/generator.d.ts +0 -1
- package/lib/cjs/generator.test.d.ts +0 -1
- package/lib/cjs/is_browser.d.ts +0 -1
- package/lib/cjs/lock.d.ts +0 -1
- package/lib/cjs/lock.test.d.ts +0 -1
- package/lib/cjs/log.d.ts +0 -54
- package/lib/cjs/observable/event.d.ts +0 -35
- package/lib/cjs/observable/observable.d.ts +0 -134
- package/lib/cjs/observable/observable.test.d.ts +0 -1
- package/lib/cjs/range.d.ts +0 -1
- package/lib/cjs/result.d.ts +0 -31
- package/lib/cjs/result.test.d.ts +0 -1
- package/lib/cjs/safe.d.ts +0 -1
- package/lib/cjs/scope/describe.d.ts +0 -18
- package/lib/cjs/scope/display/console.d.ts +0 -2
- package/lib/cjs/scope/display/dom.d.ts +0 -3
- package/lib/cjs/scope/display/junit.d.ts +0 -2
- package/lib/cjs/scope/execute.d.ts +0 -12
- package/lib/cjs/scope/expect.d.ts +0 -23
- package/lib/cjs/scope/fix.d.ts +0 -4
- package/lib/cjs/scope/index.d.ts +0 -3
- package/lib/cjs/scope/scope.d.ts +0 -17
- package/lib/cjs/scope/state.d.ts +0 -2
- package/lib/cjs/server/http/apps.d.ts +0 -5
- package/lib/cjs/server/http/css.d.ts +0 -5
- package/lib/cjs/server/http/index.d.ts +0 -16
- package/lib/cjs/server/http/response.d.ts +0 -4
- package/lib/cjs/server/http/sitemap.d.ts +0 -2
- package/lib/cjs/server/http/static.d.ts +0 -2
- package/lib/cjs/server/http/typescript.d.ts +0 -5
- package/lib/cjs/server/main.d.ts +0 -2
- package/lib/cjs/test.d.mts +0 -2
- package/lib/cjs/test_all.d.ts +0 -9
- package/lib/cjs/transpile.d.mts +0 -3
- package/lib/cjs/tsconfig.tsbuildinfo +0 -1
- package/lib/esm/assert.d.ts +0 -26
- package/lib/esm/awaitable.d.ts +0 -1
- package/lib/esm/case.d.ts +0 -1
- package/lib/esm/components/button_bar.d.ts +0 -8
- package/lib/esm/components/inline_edit.d.ts +0 -12
- package/lib/esm/components/logger.d.ts +0 -6
- package/lib/esm/components/select.d.ts +0 -10
- package/lib/esm/components/test.d.ts +0 -1
- package/lib/esm/components/virtual_scroll.d.ts +0 -42
- package/lib/esm/components/virtual_scroll.test.d.ts +0 -1
- package/lib/esm/context.d.ts +0 -11
- package/lib/esm/context.test.d.ts +0 -1
- package/lib/esm/debounce.d.ts +0 -1
- package/lib/esm/diff.d.ts +0 -15
- package/lib/esm/diff.test.d.ts +0 -1
- package/lib/esm/display.d.ts +0 -5
- package/lib/esm/dom/css/border.d.ts +0 -11
- package/lib/esm/dom/css/constants.d.ts +0 -31
- package/lib/esm/dom/css/core.d.ts +0 -5
- package/lib/esm/dom/css/fstyle.d.ts +0 -5
- package/lib/esm/dom/css/sizing.d.ts +0 -5
- package/lib/esm/dom/dom.d.ts +0 -27
- package/lib/esm/dom/fc.d.ts +0 -10
- package/lib/esm/dom/fc.test.d.ts +0 -1
- package/lib/esm/dom/form/form.app.d.ts +0 -1
- package/lib/esm/dom/form/form.d.ts +0 -25
- package/lib/esm/dom/form/form.test.d.ts +0 -0
- package/lib/esm/dom/html.d.ts +0 -112
- package/lib/esm/dom/html.test.d.ts +0 -1
- package/lib/esm/dom/observable.d.ts +0 -2
- package/lib/esm/dom/observable.test.d.ts +0 -1
- package/lib/esm/dom/provide.d.ts +0 -3
- package/lib/esm/dom/router/link.d.ts +0 -6
- package/lib/esm/dom/router/router.d.ts +0 -13
- package/lib/esm/dom/svg.d.ts +0 -64
- package/lib/esm/dom/test.d.ts +0 -1
- package/lib/esm/dom/types/css.d.ts +0 -6590
- package/lib/esm/dom/types/dom.d.ts +0 -0
- package/lib/esm/dom/types/html.d.ts +0 -614
- package/lib/esm/dom/xml.d.ts +0 -1
- package/lib/esm/equal.d.ts +0 -11
- package/lib/esm/equal.test.d.ts +0 -1
- package/lib/esm/flags.d.ts +0 -7
- package/lib/esm/flags.test.d.ts +0 -1
- package/lib/esm/fs.d.ts +0 -72
- package/lib/esm/fs.test.d.ts +0 -1
- package/lib/esm/fs_node.d.ts +0 -15
- package/lib/esm/fs_win.test.d.ts +0 -1
- package/lib/esm/generator.d.ts +0 -1
- package/lib/esm/generator.test.d.ts +0 -1
- package/lib/esm/is_browser.d.ts +0 -1
- package/lib/esm/lock.d.ts +0 -1
- package/lib/esm/lock.test.d.ts +0 -1
- package/lib/esm/log.d.ts +0 -54
- package/lib/esm/observable/event.d.ts +0 -35
- package/lib/esm/observable/observable.d.ts +0 -134
- package/lib/esm/observable/observable.test.d.ts +0 -1
- package/lib/esm/range.d.ts +0 -1
- package/lib/esm/result.d.ts +0 -31
- package/lib/esm/result.test.d.ts +0 -1
- package/lib/esm/safe.d.ts +0 -1
- package/lib/esm/scope/describe.d.ts +0 -18
- package/lib/esm/scope/display/console.d.ts +0 -2
- package/lib/esm/scope/display/dom.d.ts +0 -3
- package/lib/esm/scope/display/junit.d.ts +0 -2
- package/lib/esm/scope/execute.d.ts +0 -12
- package/lib/esm/scope/expect.d.ts +0 -23
- package/lib/esm/scope/fix.d.ts +0 -4
- package/lib/esm/scope/index.d.ts +0 -3
- package/lib/esm/scope/scope.d.ts +0 -17
- package/lib/esm/scope/state.d.ts +0 -2
- package/lib/esm/server/http/apps.d.ts +0 -5
- package/lib/esm/server/http/css.d.ts +0 -5
- package/lib/esm/server/http/index.d.ts +0 -16
- package/lib/esm/server/http/response.d.ts +0 -4
- package/lib/esm/server/http/sitemap.d.ts +0 -2
- package/lib/esm/server/http/static.d.ts +0 -2
- package/lib/esm/server/http/typescript.d.ts +0 -5
- package/lib/esm/server/main.d.ts +0 -2
- package/lib/esm/test.d.mts +0 -2
- package/lib/esm/test_all.d.ts +0 -9
- package/lib/esm/transpile.d.mts +0 -3
- package/lib/esm/tsconfig.tsbuildinfo +0 -1
|
File without changes
|
|
@@ -1,614 +0,0 @@
|
|
|
1
|
-
import type { Properties } from "./css";
|
|
2
|
-
export interface AriaAttributes {
|
|
3
|
-
[_: `aria-${string}`]: string;
|
|
4
|
-
}
|
|
5
|
-
export interface Sized {
|
|
6
|
-
height?: number | string;
|
|
7
|
-
width?: number | string;
|
|
8
|
-
}
|
|
9
|
-
export type MimeTypeString = `${string}/${string}`;
|
|
10
|
-
export type ReferrerPolicy = "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
|
11
|
-
export type EventHandler = (k: Event) => void;
|
|
12
|
-
export interface GlobalEvents {
|
|
13
|
-
abort: EventHandler;
|
|
14
|
-
autocomplete: EventHandler;
|
|
15
|
-
autocompleteerror: EventHandler;
|
|
16
|
-
blur: EventHandler;
|
|
17
|
-
cancel: EventHandler;
|
|
18
|
-
canplay: EventHandler;
|
|
19
|
-
canplaythrough: EventHandler;
|
|
20
|
-
change: EventHandler;
|
|
21
|
-
click: EventHandler;
|
|
22
|
-
close: EventHandler;
|
|
23
|
-
contextmenu: EventHandler;
|
|
24
|
-
cuechange: EventHandler;
|
|
25
|
-
dblclick: EventHandler;
|
|
26
|
-
drag: EventHandler;
|
|
27
|
-
dragend: EventHandler;
|
|
28
|
-
dragenter: EventHandler;
|
|
29
|
-
dragleave: EventHandler;
|
|
30
|
-
dragover: EventHandler;
|
|
31
|
-
dragstart: EventHandler;
|
|
32
|
-
drop: EventHandler;
|
|
33
|
-
durationchange: EventHandler;
|
|
34
|
-
emptied: EventHandler;
|
|
35
|
-
ended: EventHandler;
|
|
36
|
-
error: EventHandler;
|
|
37
|
-
focus: EventHandler;
|
|
38
|
-
input: EventHandler;
|
|
39
|
-
invalid: EventHandler;
|
|
40
|
-
keydown: EventHandler;
|
|
41
|
-
keypress: EventHandler;
|
|
42
|
-
keyup: EventHandler;
|
|
43
|
-
load: EventHandler;
|
|
44
|
-
loadeddata: EventHandler;
|
|
45
|
-
loadedmetadata: EventHandler;
|
|
46
|
-
loadstart: EventHandler;
|
|
47
|
-
mousedown: EventHandler;
|
|
48
|
-
mouseenter: EventHandler;
|
|
49
|
-
mouseleave: EventHandler;
|
|
50
|
-
mousemove: EventHandler;
|
|
51
|
-
mouseout: EventHandler;
|
|
52
|
-
mouseover: EventHandler;
|
|
53
|
-
mouseup: EventHandler;
|
|
54
|
-
mousewheel: EventHandler;
|
|
55
|
-
pause: EventHandler;
|
|
56
|
-
play: EventHandler;
|
|
57
|
-
playing: EventHandler;
|
|
58
|
-
progress: EventHandler;
|
|
59
|
-
ratechange: EventHandler;
|
|
60
|
-
reset: EventHandler;
|
|
61
|
-
resize: EventHandler;
|
|
62
|
-
scroll: EventHandler;
|
|
63
|
-
seeked: EventHandler;
|
|
64
|
-
seeking: EventHandler;
|
|
65
|
-
select: EventHandler;
|
|
66
|
-
show: EventHandler;
|
|
67
|
-
sort: EventHandler;
|
|
68
|
-
stalled: EventHandler;
|
|
69
|
-
submit: EventHandler;
|
|
70
|
-
suspend: EventHandler;
|
|
71
|
-
timeupdate: EventHandler;
|
|
72
|
-
toggle: EventHandler;
|
|
73
|
-
volumechange: EventHandler;
|
|
74
|
-
waiting: EventHandler;
|
|
75
|
-
}
|
|
76
|
-
export interface GlobalAttributes extends AriaAttributes {
|
|
77
|
-
accesskey?: string;
|
|
78
|
-
autocapitalize?: "off" | "none" | "on" | "words" | "sentences" | "characters";
|
|
79
|
-
autofocus?: boolean;
|
|
80
|
-
class?: string;
|
|
81
|
-
contenteditable?: boolean;
|
|
82
|
-
contextmenu?: string;
|
|
83
|
-
dir?: "ltr" | "rtl" | "auto";
|
|
84
|
-
draggable?: boolean;
|
|
85
|
-
enterkeyhint?: string;
|
|
86
|
-
events?: Partial<GlobalEvents>;
|
|
87
|
-
hidden?: boolean;
|
|
88
|
-
id?: string;
|
|
89
|
-
inputmode?: string;
|
|
90
|
-
is?: string;
|
|
91
|
-
itemid?: string;
|
|
92
|
-
itemref?: string;
|
|
93
|
-
itemtype?: string;
|
|
94
|
-
lang?: string;
|
|
95
|
-
nonce?: string;
|
|
96
|
-
spellcheck?: boolean;
|
|
97
|
-
style?: Partial<Properties>;
|
|
98
|
-
tabindex?: number;
|
|
99
|
-
title?: string;
|
|
100
|
-
translate?: "" | "yes" | "no";
|
|
101
|
-
}
|
|
102
|
-
export interface AddressAttributes extends GlobalAttributes {
|
|
103
|
-
}
|
|
104
|
-
export interface ArticleAttributes extends GlobalAttributes {
|
|
105
|
-
}
|
|
106
|
-
export interface AsideAttributes extends GlobalAttributes {
|
|
107
|
-
}
|
|
108
|
-
export interface FooterAttributes extends GlobalAttributes {
|
|
109
|
-
}
|
|
110
|
-
export interface HeaderAttributes extends GlobalAttributes {
|
|
111
|
-
}
|
|
112
|
-
export interface H1Attributes extends GlobalAttributes {
|
|
113
|
-
}
|
|
114
|
-
export interface H2Attributes extends GlobalAttributes {
|
|
115
|
-
}
|
|
116
|
-
export interface H3Attributes extends GlobalAttributes {
|
|
117
|
-
}
|
|
118
|
-
export interface H4Attributes extends GlobalAttributes {
|
|
119
|
-
}
|
|
120
|
-
export interface H5Attributes extends GlobalAttributes {
|
|
121
|
-
}
|
|
122
|
-
export interface H6Attributes extends GlobalAttributes {
|
|
123
|
-
}
|
|
124
|
-
export interface MainAttributes extends GlobalAttributes {
|
|
125
|
-
}
|
|
126
|
-
export interface NavAttributes extends GlobalAttributes {
|
|
127
|
-
}
|
|
128
|
-
export interface SectionAttributes extends GlobalAttributes {
|
|
129
|
-
}
|
|
130
|
-
export interface BlockquoteAttributes extends GlobalAttributes {
|
|
131
|
-
cite: string;
|
|
132
|
-
}
|
|
133
|
-
export interface DdAttributes extends GlobalAttributes {
|
|
134
|
-
nowrap: "no";
|
|
135
|
-
}
|
|
136
|
-
export interface DivAttributes extends GlobalAttributes {
|
|
137
|
-
}
|
|
138
|
-
export interface DlAttributes extends GlobalAttributes {
|
|
139
|
-
}
|
|
140
|
-
export interface DtAttributes extends GlobalAttributes {
|
|
141
|
-
}
|
|
142
|
-
export interface FigcaptionAttributes extends GlobalAttributes {
|
|
143
|
-
}
|
|
144
|
-
export interface FigureAttributes extends GlobalAttributes {
|
|
145
|
-
}
|
|
146
|
-
export interface HrAttributes extends GlobalAttributes {
|
|
147
|
-
}
|
|
148
|
-
export interface LiAttributes extends GlobalAttributes {
|
|
149
|
-
value: number;
|
|
150
|
-
}
|
|
151
|
-
export interface MenuAttributes extends GlobalAttributes {
|
|
152
|
-
}
|
|
153
|
-
export interface OlAttributes extends GlobalAttributes {
|
|
154
|
-
reversed: boolean;
|
|
155
|
-
start: number;
|
|
156
|
-
type: "a" | "A" | "i" | "I" | "0";
|
|
157
|
-
}
|
|
158
|
-
export interface PAttributes extends GlobalAttributes {
|
|
159
|
-
}
|
|
160
|
-
export interface PreAttributes extends GlobalAttributes {
|
|
161
|
-
}
|
|
162
|
-
export interface UlAttributes extends GlobalAttributes {
|
|
163
|
-
}
|
|
164
|
-
export interface AAttributes extends GlobalAttributes {
|
|
165
|
-
alt?: string;
|
|
166
|
-
download?: string;
|
|
167
|
-
href: string;
|
|
168
|
-
hreflang?: string;
|
|
169
|
-
ping?: string;
|
|
170
|
-
referrerpolicy?: ReferrerPolicy;
|
|
171
|
-
rel?: string;
|
|
172
|
-
target?: "_self" | "_blank" | "_parent" | "_top";
|
|
173
|
-
type?: MimeTypeString;
|
|
174
|
-
}
|
|
175
|
-
export interface AbbrAttributes extends GlobalAttributes {
|
|
176
|
-
}
|
|
177
|
-
export interface BAttributes extends GlobalAttributes {
|
|
178
|
-
}
|
|
179
|
-
export interface BdiAttributes extends GlobalAttributes {
|
|
180
|
-
}
|
|
181
|
-
export interface BdoAttributes extends GlobalAttributes {
|
|
182
|
-
dir: "rtl" | "ltr";
|
|
183
|
-
}
|
|
184
|
-
export interface BrAttributes extends GlobalAttributes {
|
|
185
|
-
}
|
|
186
|
-
export interface CiteAttributes extends GlobalAttributes {
|
|
187
|
-
}
|
|
188
|
-
export interface CodeAttributes extends GlobalAttributes {
|
|
189
|
-
}
|
|
190
|
-
export interface DataAttributes extends GlobalAttributes {
|
|
191
|
-
}
|
|
192
|
-
export interface DfnAttributes extends GlobalAttributes {
|
|
193
|
-
}
|
|
194
|
-
export interface EmAttributes extends GlobalAttributes {
|
|
195
|
-
}
|
|
196
|
-
export interface IAttributes extends GlobalAttributes {
|
|
197
|
-
}
|
|
198
|
-
export interface KbdAttributes extends GlobalAttributes {
|
|
199
|
-
}
|
|
200
|
-
export interface MarkAttributes extends GlobalAttributes {
|
|
201
|
-
}
|
|
202
|
-
export interface QAttributes extends GlobalAttributes {
|
|
203
|
-
cite: string;
|
|
204
|
-
}
|
|
205
|
-
export interface RpAttributes extends GlobalAttributes {
|
|
206
|
-
}
|
|
207
|
-
export interface RtAttributes extends GlobalAttributes {
|
|
208
|
-
}
|
|
209
|
-
export interface RubyAttributes extends GlobalAttributes {
|
|
210
|
-
}
|
|
211
|
-
export interface SAttributes extends GlobalAttributes {
|
|
212
|
-
}
|
|
213
|
-
export interface SampAttributes extends GlobalAttributes {
|
|
214
|
-
}
|
|
215
|
-
export interface SmallAttributes extends GlobalAttributes {
|
|
216
|
-
}
|
|
217
|
-
export interface SpanAttributes extends GlobalAttributes {
|
|
218
|
-
}
|
|
219
|
-
export interface StrongAttributes extends GlobalAttributes {
|
|
220
|
-
}
|
|
221
|
-
export interface SubAttributes extends GlobalAttributes {
|
|
222
|
-
}
|
|
223
|
-
export interface SupAttributes extends GlobalAttributes {
|
|
224
|
-
}
|
|
225
|
-
export interface TimeAttributes extends GlobalAttributes {
|
|
226
|
-
datetime: string;
|
|
227
|
-
}
|
|
228
|
-
export interface UAttributes extends GlobalAttributes {
|
|
229
|
-
}
|
|
230
|
-
export interface VarAttributes extends GlobalAttributes {
|
|
231
|
-
}
|
|
232
|
-
export interface WbrAttributes extends GlobalAttributes {
|
|
233
|
-
}
|
|
234
|
-
export interface AreaAttributes extends GlobalAttributes, AAttributes {
|
|
235
|
-
coords: string;
|
|
236
|
-
shape: "rect" | "circle" | "poly" | "default";
|
|
237
|
-
}
|
|
238
|
-
export interface AudioAttributes extends GlobalAttributes {
|
|
239
|
-
autoplay?: boolean;
|
|
240
|
-
controls?: boolean;
|
|
241
|
-
crossorigin?: "anonymous" | "use-credentials";
|
|
242
|
-
loop?: boolean;
|
|
243
|
-
muted?: boolean;
|
|
244
|
-
preload?: "none" | "metadata" | "auto";
|
|
245
|
-
src: string;
|
|
246
|
-
events?: Partial<{
|
|
247
|
-
audioprocess: EventHandler;
|
|
248
|
-
canplay: EventHandler;
|
|
249
|
-
canplaythrough: EventHandler;
|
|
250
|
-
complete: EventHandler;
|
|
251
|
-
durationchange: EventHandler;
|
|
252
|
-
emptied: EventHandler;
|
|
253
|
-
ended: EventHandler;
|
|
254
|
-
loadeddata: EventHandler;
|
|
255
|
-
loadedmetadata: EventHandler;
|
|
256
|
-
pause: EventHandler;
|
|
257
|
-
play: EventHandler;
|
|
258
|
-
playing: EventHandler;
|
|
259
|
-
ratechange: EventHandler;
|
|
260
|
-
seeked: EventHandler;
|
|
261
|
-
seeking: EventHandler;
|
|
262
|
-
stalled: EventHandler;
|
|
263
|
-
suspend: EventHandler;
|
|
264
|
-
timeupdate: EventHandler;
|
|
265
|
-
volumechange: EventHandler;
|
|
266
|
-
waiting: EventHandler;
|
|
267
|
-
}>;
|
|
268
|
-
}
|
|
269
|
-
export interface ImgAttributes extends GlobalAttributes, Sized {
|
|
270
|
-
alt?: string;
|
|
271
|
-
crossorigin?: "anonymous" | "use-credentials";
|
|
272
|
-
decoding?: "sync" | "async" | "auto";
|
|
273
|
-
fetchpriority?: "high" | "low" | "auto";
|
|
274
|
-
ismap?: boolean;
|
|
275
|
-
referrerpolicy?: ReferrerPolicy;
|
|
276
|
-
sizes?: string;
|
|
277
|
-
src: string;
|
|
278
|
-
srcset?: string;
|
|
279
|
-
usemap?: string;
|
|
280
|
-
}
|
|
281
|
-
export interface MapAttributes extends GlobalAttributes {
|
|
282
|
-
name: string;
|
|
283
|
-
}
|
|
284
|
-
export interface TrackAttributes extends GlobalAttributes {
|
|
285
|
-
default?: boolean;
|
|
286
|
-
kind: "subtitles" | "captions" | "descriptions" | "chapters" | "metadata";
|
|
287
|
-
label?: string;
|
|
288
|
-
src: string;
|
|
289
|
-
srclang?: string;
|
|
290
|
-
}
|
|
291
|
-
export interface VideoAttributes extends GlobalAttributes, Sized {
|
|
292
|
-
autoplay?: boolean;
|
|
293
|
-
controls?: string[];
|
|
294
|
-
crossorigin: "anonymous" | "use-credentials";
|
|
295
|
-
loop?: boolean;
|
|
296
|
-
muted?: boolean;
|
|
297
|
-
playsinline?: boolean;
|
|
298
|
-
poster?: string;
|
|
299
|
-
preload?: "none" | "metadata" | "auto";
|
|
300
|
-
src: string;
|
|
301
|
-
events?: Partial<{
|
|
302
|
-
canplay: EventHandler;
|
|
303
|
-
canplaythrough: EventHandler;
|
|
304
|
-
complete: EventHandler;
|
|
305
|
-
durationchange: EventHandler;
|
|
306
|
-
emptied: EventHandler;
|
|
307
|
-
ended: EventHandler;
|
|
308
|
-
loadeddata: EventHandler;
|
|
309
|
-
loadedmetadata: EventHandler;
|
|
310
|
-
pause: EventHandler;
|
|
311
|
-
play: EventHandler;
|
|
312
|
-
playing: EventHandler;
|
|
313
|
-
progress: EventHandler;
|
|
314
|
-
ratechange: EventHandler;
|
|
315
|
-
seeked: EventHandler;
|
|
316
|
-
seeking: EventHandler;
|
|
317
|
-
stalled: EventHandler;
|
|
318
|
-
suspend: EventHandler;
|
|
319
|
-
timeupdate: EventHandler;
|
|
320
|
-
volumechange: EventHandler;
|
|
321
|
-
waiting: EventHandler;
|
|
322
|
-
}>;
|
|
323
|
-
}
|
|
324
|
-
export interface EmbedAttributes extends GlobalAttributes, Sized {
|
|
325
|
-
}
|
|
326
|
-
export interface IframeAttributes extends GlobalAttributes, Sized {
|
|
327
|
-
}
|
|
328
|
-
export interface ObjectAttributes extends GlobalAttributes, Sized {
|
|
329
|
-
}
|
|
330
|
-
export interface ParamAttributes extends GlobalAttributes {
|
|
331
|
-
name: string;
|
|
332
|
-
value: string;
|
|
333
|
-
}
|
|
334
|
-
export interface PictureAttributes extends GlobalAttributes {
|
|
335
|
-
}
|
|
336
|
-
export interface PortalAttributes extends GlobalAttributes {
|
|
337
|
-
referrerpolicy?: ReferrerPolicy;
|
|
338
|
-
src: string;
|
|
339
|
-
}
|
|
340
|
-
export interface SourceAttributes extends GlobalAttributes, Sized {
|
|
341
|
-
type: MimeTypeString;
|
|
342
|
-
src: string;
|
|
343
|
-
srcset?: string;
|
|
344
|
-
sizes?: string;
|
|
345
|
-
media?: string;
|
|
346
|
-
}
|
|
347
|
-
interface FormElementAttributes {
|
|
348
|
-
autofocus?: boolean;
|
|
349
|
-
autocomplete?: boolean;
|
|
350
|
-
disabled?: boolean;
|
|
351
|
-
form?: string;
|
|
352
|
-
name?: string;
|
|
353
|
-
placeholder?: string;
|
|
354
|
-
value?: string | number | boolean;
|
|
355
|
-
}
|
|
356
|
-
interface FormActionAttributes {
|
|
357
|
-
formAction?: string;
|
|
358
|
-
formEnctype?: "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain";
|
|
359
|
-
formMethod?: "get" | "post";
|
|
360
|
-
formNoValidate?: boolean;
|
|
361
|
-
formTarget?: boolean;
|
|
362
|
-
}
|
|
363
|
-
export interface ButtonAttributes extends GlobalAttributes, FormElementAttributes, FormActionAttributes {
|
|
364
|
-
}
|
|
365
|
-
export interface DatalistAttributes extends GlobalAttributes {
|
|
366
|
-
}
|
|
367
|
-
export interface FieldsetAttributes extends GlobalAttributes, FormElementAttributes {
|
|
368
|
-
}
|
|
369
|
-
export interface FormAttributes extends GlobalAttributes {
|
|
370
|
-
autocomplete?: boolean;
|
|
371
|
-
name?: string;
|
|
372
|
-
rel?: string;
|
|
373
|
-
action?: string;
|
|
374
|
-
enctype?: "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain";
|
|
375
|
-
method?: "get" | "post" | "dialog";
|
|
376
|
-
noValidate?: boolean;
|
|
377
|
-
target?: boolean;
|
|
378
|
-
}
|
|
379
|
-
export interface InputAttributes extends GlobalAttributes, FormElementAttributes, FormActionAttributes, Sized {
|
|
380
|
-
accept?: boolean;
|
|
381
|
-
alt?: string;
|
|
382
|
-
capture?: boolean;
|
|
383
|
-
list?: string;
|
|
384
|
-
max?: number;
|
|
385
|
-
maxLength?: number;
|
|
386
|
-
min?: number;
|
|
387
|
-
minLength?: number;
|
|
388
|
-
multiple?: boolean;
|
|
389
|
-
pattern?: string;
|
|
390
|
-
readOnly?: boolean;
|
|
391
|
-
required?: boolean;
|
|
392
|
-
role?: "switch" | "switch-disabled";
|
|
393
|
-
size?: string;
|
|
394
|
-
src?: string;
|
|
395
|
-
step?: number;
|
|
396
|
-
type?: "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "text" | "time" | "url" | "week";
|
|
397
|
-
}
|
|
398
|
-
export interface LabelAttributes extends GlobalAttributes {
|
|
399
|
-
for?: string;
|
|
400
|
-
}
|
|
401
|
-
export interface LegendAttributes extends GlobalAttributes {
|
|
402
|
-
}
|
|
403
|
-
export interface MeterAttributes extends GlobalAttributes {
|
|
404
|
-
value: number;
|
|
405
|
-
min?: number;
|
|
406
|
-
max?: number;
|
|
407
|
-
low?: number;
|
|
408
|
-
high?: number;
|
|
409
|
-
optimum?: number;
|
|
410
|
-
}
|
|
411
|
-
export interface OptgroupAttributes extends GlobalAttributes {
|
|
412
|
-
disabled?: boolean;
|
|
413
|
-
label: string;
|
|
414
|
-
}
|
|
415
|
-
export interface OptionAttributes extends GlobalAttributes {
|
|
416
|
-
disabled?: boolean;
|
|
417
|
-
label?: string;
|
|
418
|
-
selected?: boolean;
|
|
419
|
-
value?: string;
|
|
420
|
-
}
|
|
421
|
-
export interface OutputAttributes extends GlobalAttributes {
|
|
422
|
-
for: string;
|
|
423
|
-
name: string;
|
|
424
|
-
form?: string;
|
|
425
|
-
}
|
|
426
|
-
export interface ProgressAttributes extends GlobalAttributes {
|
|
427
|
-
max?: number;
|
|
428
|
-
value?: number;
|
|
429
|
-
}
|
|
430
|
-
export interface SelectAttributes extends GlobalAttributes, FormElementAttributes {
|
|
431
|
-
multiple?: boolean;
|
|
432
|
-
size?: string;
|
|
433
|
-
}
|
|
434
|
-
export interface TextareaAttributes extends GlobalAttributes, FormElementAttributes {
|
|
435
|
-
maxlength?: number;
|
|
436
|
-
minlength?: number;
|
|
437
|
-
rows?: number;
|
|
438
|
-
cols?: number;
|
|
439
|
-
wrap?: boolean;
|
|
440
|
-
}
|
|
441
|
-
export interface CaptionAttributes extends GlobalAttributes {
|
|
442
|
-
}
|
|
443
|
-
export interface ColAttributes extends GlobalAttributes {
|
|
444
|
-
span?: number;
|
|
445
|
-
}
|
|
446
|
-
export interface ColgroupAttributes extends GlobalAttributes {
|
|
447
|
-
span?: number;
|
|
448
|
-
}
|
|
449
|
-
export interface TableAttributes extends GlobalAttributes {
|
|
450
|
-
}
|
|
451
|
-
export interface TbodyAttributes extends GlobalAttributes {
|
|
452
|
-
}
|
|
453
|
-
export interface TdAttributes extends GlobalAttributes {
|
|
454
|
-
colspan?: number;
|
|
455
|
-
headers?: string[];
|
|
456
|
-
rowspan?: number;
|
|
457
|
-
}
|
|
458
|
-
export interface TfootAttributes extends GlobalAttributes {
|
|
459
|
-
}
|
|
460
|
-
export interface ThAttributes extends GlobalAttributes {
|
|
461
|
-
abbr?: string;
|
|
462
|
-
colspan?: number;
|
|
463
|
-
headers?: string[];
|
|
464
|
-
rowspan?: number;
|
|
465
|
-
scope?: "row" | "col" | "rowgroup" | "colgroup";
|
|
466
|
-
}
|
|
467
|
-
export interface TheadAttributes extends GlobalAttributes {
|
|
468
|
-
}
|
|
469
|
-
export interface TrAttributes extends GlobalAttributes {
|
|
470
|
-
}
|
|
471
|
-
export interface DetailsAttributes extends GlobalAttributes {
|
|
472
|
-
open?: boolean;
|
|
473
|
-
}
|
|
474
|
-
export interface DialogAttributes extends GlobalAttributes {
|
|
475
|
-
open?: boolean;
|
|
476
|
-
}
|
|
477
|
-
export interface SummaryAttributes extends GlobalAttributes {
|
|
478
|
-
}
|
|
479
|
-
export interface SlotAttributes extends GlobalAttributes {
|
|
480
|
-
name: string;
|
|
481
|
-
}
|
|
482
|
-
export interface TemplateAttributes extends GlobalAttributes {
|
|
483
|
-
readonly content: unknown;
|
|
484
|
-
}
|
|
485
|
-
export interface CanvasAttributes extends GlobalAttributes, Sized {
|
|
486
|
-
}
|
|
487
|
-
export interface ScriptAttributes extends GlobalAttributes {
|
|
488
|
-
async?: boolean;
|
|
489
|
-
crossorigin?: string;
|
|
490
|
-
defer?: string;
|
|
491
|
-
fetchpriority?: "high" | "low" | "auto";
|
|
492
|
-
integrity?: string;
|
|
493
|
-
nomodule?: boolean;
|
|
494
|
-
nonce?: string;
|
|
495
|
-
refererpolicy?: ReferrerPolicy;
|
|
496
|
-
src: string;
|
|
497
|
-
type?: "application/javascript" | "module" | string;
|
|
498
|
-
}
|
|
499
|
-
export interface NoscriptAttributes extends GlobalAttributes {
|
|
500
|
-
}
|
|
501
|
-
export interface InsAttributes extends GlobalAttributes {
|
|
502
|
-
cite?: string;
|
|
503
|
-
datetime?: string;
|
|
504
|
-
}
|
|
505
|
-
export interface DelAttributes extends GlobalAttributes {
|
|
506
|
-
cite?: string;
|
|
507
|
-
datetime?: string;
|
|
508
|
-
}
|
|
509
|
-
export interface HTMLAttributesMap {
|
|
510
|
-
a: AAttributes;
|
|
511
|
-
abbr: AbbrAttributes;
|
|
512
|
-
address: AddressAttributes;
|
|
513
|
-
area: AreaAttributes;
|
|
514
|
-
Col: ColAttributes;
|
|
515
|
-
Th: ThAttributes;
|
|
516
|
-
article: ArticleAttributes;
|
|
517
|
-
aside: AsideAttributes;
|
|
518
|
-
audio: AudioAttributes;
|
|
519
|
-
b: BAttributes;
|
|
520
|
-
bdi: BdiAttributes;
|
|
521
|
-
bdo: BdoAttributes;
|
|
522
|
-
blockquote: BlockquoteAttributes;
|
|
523
|
-
br: BrAttributes;
|
|
524
|
-
button: ButtonAttributes;
|
|
525
|
-
canvas: CanvasAttributes;
|
|
526
|
-
caption: CaptionAttributes;
|
|
527
|
-
cite: CiteAttributes;
|
|
528
|
-
code: CodeAttributes;
|
|
529
|
-
colgroup: ColgroupAttributes;
|
|
530
|
-
datalist: DatalistAttributes;
|
|
531
|
-
dd: DdAttributes;
|
|
532
|
-
del: DelAttributes;
|
|
533
|
-
details: DetailsAttributes;
|
|
534
|
-
dfn: DfnAttributes;
|
|
535
|
-
dialog: DialogAttributes;
|
|
536
|
-
div: DivAttributes;
|
|
537
|
-
dl: DlAttributes;
|
|
538
|
-
dt: DtAttributes;
|
|
539
|
-
em: EmAttributes;
|
|
540
|
-
embed: EmbedAttributes;
|
|
541
|
-
fieldset: FieldsetAttributes;
|
|
542
|
-
figcaption: FigcaptionAttributes;
|
|
543
|
-
figure: FigureAttributes;
|
|
544
|
-
footer: FooterAttributes;
|
|
545
|
-
form: FormAttributes;
|
|
546
|
-
h1: H1Attributes;
|
|
547
|
-
h2: H2Attributes;
|
|
548
|
-
h3: H3Attributes;
|
|
549
|
-
h4: H4Attributes;
|
|
550
|
-
h5: H5Attributes;
|
|
551
|
-
h6: H6Attributes;
|
|
552
|
-
header: HeaderAttributes;
|
|
553
|
-
hr: HrAttributes;
|
|
554
|
-
i: IAttributes;
|
|
555
|
-
iframe: IframeAttributes;
|
|
556
|
-
img: ImgAttributes;
|
|
557
|
-
input: InputAttributes;
|
|
558
|
-
ins: InsAttributes;
|
|
559
|
-
kbd: KbdAttributes;
|
|
560
|
-
label: LabelAttributes;
|
|
561
|
-
legend: LegendAttributes;
|
|
562
|
-
li: LiAttributes;
|
|
563
|
-
main: MainAttributes;
|
|
564
|
-
map: MapAttributes;
|
|
565
|
-
mark: MarkAttributes;
|
|
566
|
-
menu: MenuAttributes;
|
|
567
|
-
meter: MeterAttributes;
|
|
568
|
-
nav: NavAttributes;
|
|
569
|
-
noscript: NoscriptAttributes;
|
|
570
|
-
object: ObjectAttributes;
|
|
571
|
-
ol: OlAttributes;
|
|
572
|
-
optgroup: OptgroupAttributes;
|
|
573
|
-
option: OptionAttributes;
|
|
574
|
-
output: OutputAttributes;
|
|
575
|
-
p: PAttributes;
|
|
576
|
-
param: ParamAttributes;
|
|
577
|
-
picture: PictureAttributes;
|
|
578
|
-
portal: PortalAttributes;
|
|
579
|
-
pre: PreAttributes;
|
|
580
|
-
progress: ProgressAttributes;
|
|
581
|
-
q: QAttributes;
|
|
582
|
-
rp: RpAttributes;
|
|
583
|
-
rt: RtAttributes;
|
|
584
|
-
ruby: RubyAttributes;
|
|
585
|
-
s: SAttributes;
|
|
586
|
-
samp: SampAttributes;
|
|
587
|
-
script: ScriptAttributes;
|
|
588
|
-
section: SectionAttributes;
|
|
589
|
-
select: SelectAttributes;
|
|
590
|
-
slot: SlotAttributes;
|
|
591
|
-
small: SmallAttributes;
|
|
592
|
-
source: SourceAttributes;
|
|
593
|
-
span: SpanAttributes;
|
|
594
|
-
strong: StrongAttributes;
|
|
595
|
-
sub: SubAttributes;
|
|
596
|
-
summary: SummaryAttributes;
|
|
597
|
-
sup: SupAttributes;
|
|
598
|
-
table: TableAttributes;
|
|
599
|
-
tbody: TbodyAttributes;
|
|
600
|
-
td: TdAttributes;
|
|
601
|
-
template: TemplateAttributes;
|
|
602
|
-
textarea: TextareaAttributes;
|
|
603
|
-
tfoot: TfootAttributes;
|
|
604
|
-
thead: TheadAttributes;
|
|
605
|
-
time: TimeAttributes;
|
|
606
|
-
tr: TrAttributes;
|
|
607
|
-
track: TrackAttributes;
|
|
608
|
-
u: UAttributes;
|
|
609
|
-
ul: UlAttributes;
|
|
610
|
-
var: VarAttributes;
|
|
611
|
-
video: VideoAttributes;
|
|
612
|
-
wbr: WbrAttributes;
|
|
613
|
-
}
|
|
614
|
-
export {};
|
package/lib/esm/dom/xml.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function xml(tag: string, attributes: Record<string, string | number | boolean>, children?: string[]): string;
|
package/lib/esm/equal.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare function compareArrays<T>(equal: (a: T, b: T, partial: boolean) => boolean): (A: T[], B: T[], partial?: boolean) => boolean;
|
|
2
|
-
export declare const equalArrays: (A: any[], B: any[], partial?: boolean) => boolean;
|
|
3
|
-
export declare function matchArrays<T>(a: T[], b: T[], partial?: boolean): boolean;
|
|
4
|
-
export declare function asArray<T = unknown>(a: Record<string, T>): [string, T][];
|
|
5
|
-
export declare const matchObjects: (a: object, b: object & {
|
|
6
|
-
[k: string]: unknown;
|
|
7
|
-
}, partial?: boolean) => boolean;
|
|
8
|
-
export declare function equals<T>(a: T, b: T, partial?: boolean): boolean;
|
|
9
|
-
export declare function equals<T>(a: T[], b: T[], partial?: boolean): boolean;
|
|
10
|
-
export type Equals<T1, T2> = (<T>() => T extends T2 ? true : false) extends <T>() => T extends T1 ? true : false ? true : false;
|
|
11
|
-
export type Not<B extends boolean> = B extends true ? false : true;
|
package/lib/esm/equal.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/esm/flags.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const parse: (parseArgs: string[]) => {
|
|
2
|
-
readonly argv0: string;
|
|
3
|
-
readonly args: ReadonlyArray<string>;
|
|
4
|
-
get(flag: string, def?: boolean): boolean;
|
|
5
|
-
asNumber(param: string, def?: number): number;
|
|
6
|
-
asString(param: string, def?: string): string;
|
|
7
|
-
};
|
package/lib/esm/flags.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|