dothtml 5.2.12 → 6.0.0-beta.12

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.
Files changed (139) hide show
  1. package/build_module/constants.d.ts +1 -0
  2. package/build_module/constants.js +2 -0
  3. package/build_module/constants.js.map +1 -0
  4. package/build_module/css/css.d.ts +0 -0
  5. package/build_module/css/css.js +1 -0
  6. package/build_module/css/css.js.map +1 -0
  7. package/build_module/decoration/component.d.ts +14 -0
  8. package/build_module/decoration/component.js +43 -0
  9. package/build_module/decoration/component.js.map +1 -0
  10. package/build_module/decoration/style.d.ts +0 -0
  11. package/build_module/decoration/style.js +1 -0
  12. package/build_module/decoration/style.js.map +1 -0
  13. package/build_module/decoration/use-styles.d.ts +14 -0
  14. package/build_module/decoration/use-styles.js +19 -0
  15. package/build_module/decoration/use-styles.js.map +1 -0
  16. package/build_module/dot.d.ts +3 -0
  17. package/build_module/dot.js +534 -0
  18. package/build_module/dot.js.map +1 -0
  19. package/build_module/helpers/render-css.d.ts +2 -0
  20. package/build_module/helpers/render-css.js +19 -0
  21. package/build_module/helpers/render-css.js.map +1 -0
  22. package/build_module/helpers.d.ts +2 -0
  23. package/build_module/helpers.js +49 -0
  24. package/build_module/helpers.js.map +1 -0
  25. package/build_module/index.d.ts +7 -0
  26. package/build_module/index.js +5 -0
  27. package/build_module/index.js.map +1 -0
  28. package/build_module/reactive.d.ts +37 -0
  29. package/build_module/reactive.js +120 -0
  30. package/build_module/reactive.js.map +1 -0
  31. package/build_module/v-dom-node.d.ts +0 -0
  32. package/build_module/v-dom-node.js +1 -0
  33. package/build_module/v-dom-node.js.map +1 -0
  34. package/build_module/vdom-nodes/collection-vdom.d.ts +24 -0
  35. package/build_module/vdom-nodes/collection-vdom.js +154 -0
  36. package/build_module/vdom-nodes/collection-vdom.js.map +1 -0
  37. package/build_module/vdom-nodes/component-vdom.d.ts +14 -0
  38. package/build_module/vdom-nodes/component-vdom.js +62 -0
  39. package/build_module/vdom-nodes/component-vdom.js.map +1 -0
  40. package/build_module/vdom-nodes/conditional-vdom.d.ts +14 -0
  41. package/build_module/vdom-nodes/conditional-vdom.js +97 -0
  42. package/build_module/vdom-nodes/conditional-vdom.js.map +1 -0
  43. package/build_module/vdom-nodes/container-vdom.d.ts +23 -0
  44. package/build_module/vdom-nodes/container-vdom.js +85 -0
  45. package/build_module/vdom-nodes/container-vdom.js.map +1 -0
  46. package/build_module/vdom-nodes/element-vdom.d.ts +18 -0
  47. package/build_module/vdom-nodes/element-vdom.js +88 -0
  48. package/build_module/vdom-nodes/element-vdom.js.map +1 -0
  49. package/build_module/vdom-nodes/html-vdom.d.ts +13 -0
  50. package/build_module/vdom-nodes/html-vdom.js +53 -0
  51. package/build_module/vdom-nodes/html-vdom.js.map +1 -0
  52. package/build_module/vdom-nodes/text-vdom.d.ts +11 -0
  53. package/build_module/vdom-nodes/text-vdom.js +37 -0
  54. package/build_module/vdom-nodes/text-vdom.js.map +1 -0
  55. package/build_module/vdom-nodes/vdom.d.ts +7 -0
  56. package/build_module/vdom-nodes/vdom.js +28 -0
  57. package/build_module/vdom-nodes/vdom.js.map +1 -0
  58. package/package.json +26 -19
  59. package/lib/arg-callback-obj.d.ts +0 -29
  60. package/lib/arg-callback-obj.js +0 -64
  61. package/lib/arg-callback-obj.js.map +0 -1
  62. package/lib/built-in-components/nav-link.d.ts +0 -8
  63. package/lib/built-in-components/nav-link.js +0 -24
  64. package/lib/built-in-components/nav-link.js.map +0 -1
  65. package/lib/built-in-components/router.d.ts +0 -57
  66. package/lib/built-in-components/router.js +0 -282
  67. package/lib/built-in-components/router.js.map +0 -1
  68. package/lib/component.d.ts +0 -93
  69. package/lib/component.js +0 -354
  70. package/lib/component.js.map +0 -1
  71. package/lib/dot-util.d.ts +0 -26
  72. package/lib/dot-util.js +0 -62
  73. package/lib/dot-util.js.map +0 -1
  74. package/lib/dot.d.ts +0 -5
  75. package/lib/dot.js +0 -1129
  76. package/lib/dot.js.map +0 -1
  77. package/lib/dothtml.d.ts +0 -29
  78. package/lib/dothtml.js +0 -15
  79. package/lib/dothtml.js.map +0 -1
  80. package/lib/err.d.ts +0 -2
  81. package/lib/err.js +0 -26
  82. package/lib/err.js.map +0 -1
  83. package/lib/event-bus.d.ts +0 -10
  84. package/lib/event-bus.js +0 -37
  85. package/lib/event-bus.js.map +0 -1
  86. package/lib/i-dot.d.ts +0 -689
  87. package/lib/i-dot.js +0 -3
  88. package/lib/i-dot.js.map +0 -1
  89. package/lib/node-polyfill.d.ts +0 -2
  90. package/lib/node-polyfill.js +0 -14
  91. package/lib/node-polyfill.js.map +0 -1
  92. package/lib/observable-array.d.ts +0 -49
  93. package/lib/observable-array.js +0 -274
  94. package/lib/observable-array.js.map +0 -1
  95. package/lib/pages/home-page.d.ts +0 -9
  96. package/lib/pages/home-page.js +0 -24
  97. package/lib/pages/home-page.js.map +0 -1
  98. package/lib/styling/css-types.ts/css-angle.d.ts +0 -7
  99. package/lib/styling/css-types.ts/css-angle.js +0 -22
  100. package/lib/styling/css-types.ts/css-angle.js.map +0 -1
  101. package/lib/styling/css-types.ts/css-color.d.ts +0 -9
  102. package/lib/styling/css-types.ts/css-color.js +0 -824
  103. package/lib/styling/css-types.ts/css-color.js.map +0 -1
  104. package/lib/styling/css-types.ts/css-complex.d.ts +0 -7
  105. package/lib/styling/css-types.ts/css-complex.js +0 -23
  106. package/lib/styling/css-types.ts/css-complex.js.map +0 -1
  107. package/lib/styling/css-types.ts/css-data-type.d.ts +0 -5
  108. package/lib/styling/css-types.ts/css-data-type.js +0 -9
  109. package/lib/styling/css-types.ts/css-data-type.js.map +0 -1
  110. package/lib/styling/css-types.ts/css-filter.d.ts +0 -22
  111. package/lib/styling/css-types.ts/css-filter.js +0 -121
  112. package/lib/styling/css-types.ts/css-filter.js.map +0 -1
  113. package/lib/styling/css-types.ts/css-length.d.ts +0 -7
  114. package/lib/styling/css-types.ts/css-length.js +0 -24
  115. package/lib/styling/css-types.ts/css-length.js.map +0 -1
  116. package/lib/styling/css-types.ts/css-number.d.ts +0 -6
  117. package/lib/styling/css-types.ts/css-number.js +0 -17
  118. package/lib/styling/css-types.ts/css-number.js.map +0 -1
  119. package/lib/styling/css-types.ts/css-percentage.d.ts +0 -5
  120. package/lib/styling/css-types.ts/css-percentage.js +0 -13
  121. package/lib/styling/css-types.ts/css-percentage.js.map +0 -1
  122. package/lib/styling/css-types.ts/css-transform.d.ts +0 -38
  123. package/lib/styling/css-types.ts/css-transform.js +0 -183
  124. package/lib/styling/css-types.ts/css-transform.js.map +0 -1
  125. package/lib/styling/css-types.ts/css-unknown.d.ts +0 -6
  126. package/lib/styling/css-types.ts/css-unknown.js +0 -17
  127. package/lib/styling/css-types.ts/css-unknown.js.map +0 -1
  128. package/lib/styling/css-types.ts/css-url.d.ts +0 -6
  129. package/lib/styling/css-types.ts/css-url.js +0 -45
  130. package/lib/styling/css-types.ts/css-url.js.map +0 -1
  131. package/lib/styling/i-dotcss.d.ts +0 -1085
  132. package/lib/styling/i-dotcss.js +0 -3
  133. package/lib/styling/i-dotcss.js.map +0 -1
  134. package/lib/styling/style-builder.d.ts +0 -24
  135. package/lib/styling/style-builder.js +0 -815
  136. package/lib/styling/style-builder.js.map +0 -1
  137. package/lib/styling/unit-function-tables.d.ts +0 -10
  138. package/lib/styling/unit-function-tables.js +0 -27
  139. package/lib/styling/unit-function-tables.js.map +0 -1
package/lib/i-dot.d.ts DELETED
@@ -1,689 +0,0 @@
1
- import EventBus from "./event-bus";
2
- import type Component from "./component";
3
- import IDotCss, { IDotcssProp } from "./styling/i-dotcss";
4
- export type DotContentPrimitive = string | number | boolean;
5
- export type DotContentBasic = DotContentPrimitive | Node | Element | NodeList | Component | IDotDocument;
6
- export type DotContent = DotContentBasic | Array<DotContent> | (() => DotContent);
7
- export interface IDotDocument {
8
- (document?: Element, classPrefix?: number): void;
9
- _appendOrCreateDocument(content: DotContent, parentEl?: Element, beforeNode?: Node | number): any;
10
- /**
11
- * Cast any document to any other element type. This can be used to access attributes when dotHTML doesn't know the type.
12
- * @example
13
- * dot("#my-input").as(dot.input).value("Hello, world!")
14
- * @example
15
- * dot.h("<a>Click me!</a>").as(dot.a).hRef("https://dothtml.com/")
16
- */
17
- as<T extends IDotDocument>(dotElement: (...props: any[]) => T): T;
18
- /**
19
- * Creates a custom element.
20
- */
21
- el(tag: string, content?: DotContent): IDotElementDocument<IDotGenericElement>;
22
- /**
23
- * Creates a generic HTML node that can render a string, HTML nodes, or dotHTML content.
24
- */
25
- h(content?: DotContent): IDotDocument;
26
- /**
27
- * Creates a text node that will render as a string, rather than being parsed as markup.
28
- */
29
- t(content?: any): IDotA;
30
- /**
31
- * Iterates n times, appending the result of each iteration to the VDBO.
32
- * @param n The number of iterations.
33
- * @param callback The markup-generating callback.
34
- */
35
- iterate(n: number, callback: (i: number) => DotContent): IDotDocument;
36
- each<T>(a: Array<T> | (() => Array<T>) | {
37
- [key: string]: T;
38
- }, callback: (x: T, i: number | string) => DotContent): IDotDocument;
39
- /**
40
- * Removes the targeted document and everything in it.
41
- */
42
- remove(): void;
43
- /**
44
- * Get the last HTML element added to the targeted document.
45
- */
46
- getLast(): HTMLElement;
47
- /**
48
- * Deletes each element within the targeted document.
49
- */
50
- empty(): IDotDocument;
51
- /**
52
- * Executes a function immediately.
53
- */
54
- script(callback: Function): IDotDocument;
55
- /**
56
- * A conditional function, analogous to if. Renders the specified DOT if a condition is met. Dynamic binding is possible when condition and callback are functions.
57
- */
58
- when(condition: (() => boolean) | boolean, callback: (() => void) | DotContent): IDotDocument;
59
- /**
60
- * A conditional catch, analogous to else if. Can be used after a when function. Evaluates if the previous when's condition was false.
61
- * Renders the specified DOT if a condition is met. Dynamic binding is possible when condition and callback are functions.
62
- */
63
- otherwiseWhen(condition: (() => boolean) | boolean, callback: (() => void) | DotContent): IDotDocument;
64
- /**
65
- * A conditional final catch, analogous to else. Can be used after a when or otherwiseWhen function. Evaluates if the previous when/otherwiseWhen evaluated to false.
66
- * Renders the specified DOT if a condition is met. Dynamic binding is possible when callback is a function.
67
- */
68
- otherwise(callback: (() => void) | DotContent): IDotDocument;
69
- scopeClass(prefix: number | string | null, content: DotContent): IDotDocument;
70
- wait(timeout: any, callback: any): any;
71
- defer(callback: any): any;
72
- a(content?: DotContent): IDotA;
73
- aside(content?: DotContent): IDotElementDocument<IDotGenericElement>;
74
- abbr(content?: DotContent): IDotElementDocument<IDotGenericElement>;
75
- address(content?: DotContent): IDotElementDocument<IDotGenericElement>;
76
- area(content?: DotContent): IDotArea;
77
- article(content?: DotContent): IDotElementDocument<IDotGenericElement>;
78
- audio(content?: DotContent): IDotAudio;
79
- b(content?: DotContent): IDotElementDocument<IDotGenericElement>;
80
- bdi(content?: DotContent): IDotElementDocument<IDotGenericElement>;
81
- bdo(content?: DotContent): IDotElementDocument<IDotGenericElement>;
82
- blockQuote(content?: DotContent): IDotBlockQuote;
83
- body(content?: DotContent): IDotBody;
84
- br(content?: DotContent): IDotBr;
85
- button(content?: DotContent): IDotButton;
86
- canvas(content?: DotContent): IDotCanvas;
87
- caption(content?: DotContent): IDotElementDocument<IDotGenericElement>;
88
- cite(content?: DotContent): IDotElementDocument<IDotGenericElement>;
89
- code(content?: DotContent): IDotElementDocument<IDotGenericElement>;
90
- col(content?: DotContent): IDotCol;
91
- colGroup(content?: DotContent): IDotColGroup;
92
- content(content?: DotContent): IDotElementDocument<IDotGenericElement>;
93
- data(content?: DotContent): IDotElementDocument<IDotGenericElement>;
94
- dataList(content?: DotContent): IDotElementDocument<IDotGenericElement>;
95
- dd(content?: DotContent): IDotElementDocument<IDotGenericElement>;
96
- del(content?: DotContent): IDotDel;
97
- details(content?: DotContent): IDotDetails;
98
- dfn(content?: DotContent): IDotElementDocument<IDotGenericElement>;
99
- dialog(content?: DotContent): IDotElementDocument<IDotGenericElement>;
100
- div(content?: DotContent): IDotElementDocument<IDotGenericElement>;
101
- dl(content?: DotContent): IDotElementDocument<IDotGenericElement>;
102
- dt(content?: DotContent): IDotElementDocument<IDotGenericElement>;
103
- em(content?: DotContent): IDotElementDocument<IDotGenericElement>;
104
- embed(content?: DotContent): IDotEmbed;
105
- fieldSet(content?: DotContent): IDotFieldSet;
106
- figCaption(content?: DotContent): IDotElementDocument<IDotGenericElement>;
107
- figure(content?: DotContent): IDotElementDocument<IDotGenericElement>;
108
- footer(content?: DotContent): IDotElementDocument<IDotGenericElement>;
109
- form(content?: DotContent): IDotForm;
110
- h1(content?: DotContent): IDotElementDocument<IDotGenericElement>;
111
- h2(content?: DotContent): IDotElementDocument<IDotGenericElement>;
112
- h3(content?: DotContent): IDotElementDocument<IDotGenericElement>;
113
- h4(content?: DotContent): IDotElementDocument<IDotGenericElement>;
114
- h5(content?: DotContent): IDotElementDocument<IDotGenericElement>;
115
- h6(content?: DotContent): IDotElementDocument<IDotGenericElement>;
116
- header(content?: DotContent): IDotElementDocument<IDotGenericElement>;
117
- hr(content?: DotContent): IDotHr;
118
- i(content?: DotContent): IDotElementDocument<IDotGenericElement>;
119
- iFrame(content?: DotContent): IDotIFrame;
120
- img(content?: DotContent): IDotImg;
121
- input(content?: DotContent): IDotInput;
122
- ins(content?: DotContent): IDotIns;
123
- kbd(content?: DotContent): IDotElementDocument<IDotGenericElement>;
124
- keyGen(content?: DotContent): IDotKeyGen;
125
- label(content?: DotContent): IDotLabel;
126
- legend(content?: DotContent): IDotElementDocument<IDotGenericElement>;
127
- li(content?: DotContent): IDotLi;
128
- main(content?: DotContent): IDotElementDocument<IDotGenericElement>;
129
- map(content?: DotContent): IDotMap;
130
- mark(content?: DotContent): IDotElementDocument<IDotGenericElement>;
131
- menu(content?: DotContent): IDotMenu;
132
- meter(content?: DotContent): IDotMeter;
133
- nav(content?: DotContent): IDotElementDocument<IDotGenericElement>;
134
- object(content?: DotContent): IDotObject;
135
- ol(content?: DotContent): IDotOl;
136
- optGroup(content?: DotContent): IDotOptGroup;
137
- option(content?: DotContent): IDotOption;
138
- output(content?: DotContent): IDotOutput;
139
- p(content?: DotContent): IDotElementDocument<IDotGenericElement>;
140
- param(content?: DotContent): IDotParam;
141
- pre(content?: DotContent): IDotElementDocument<IDotGenericElement>;
142
- progress(content?: DotContent): IDotProgress;
143
- q(content?: DotContent): IDotQ;
144
- rp(content?: DotContent): IDotElementDocument<IDotGenericElement>;
145
- rt(content?: DotContent): IDotElementDocument<IDotGenericElement>;
146
- ruby(content?: DotContent): IDotElementDocument<IDotGenericElement>;
147
- s(content?: DotContent): IDotElementDocument<IDotGenericElement>;
148
- samp(content?: DotContent): IDotElementDocument<IDotGenericElement>;
149
- section(content?: DotContent): IDotElementDocument<IDotGenericElement>;
150
- select(content?: DotContent): IDotSelect;
151
- small(content?: DotContent): IDotElementDocument<IDotGenericElement>;
152
- source(content?: DotContent): IDotSource;
153
- span(content?: DotContent): IDotElementDocument<IDotGenericElement>;
154
- strong(content?: DotContent): IDotElementDocument<IDotGenericElement>;
155
- svg(content?: DotContent): IDotElementDocument<IDotGenericElement>;
156
- sub(content?: DotContent): IDotElementDocument<IDotGenericElement>;
157
- summary(content?: DotContent): IDotElementDocument<IDotGenericElement>;
158
- sup(content?: DotContent): IDotElementDocument<IDotGenericElement>;
159
- table(content?: DotContent): IDotTable;
160
- tBody(content?: DotContent): IDotTBody;
161
- td(content?: DotContent): IDotTd;
162
- textArea(content?: DotContent): IDotTextArea;
163
- tFoot(content?: DotContent): IDotTFoot;
164
- th(content?: DotContent): IDotTh;
165
- tHead(content?: DotContent): IDotTHead;
166
- time(content?: DotContent): IDotTime;
167
- tr(content?: DotContent): IDotTr;
168
- track(content?: DotContent): IDotTrack;
169
- u(content?: DotContent): IDotElementDocument<IDotGenericElement>;
170
- ul(content?: DotContent): IDotElementDocument<IDotGenericElement>;
171
- var(content?: DotContent): IDotElementDocument<IDotGenericElement>;
172
- video(content?: DotContent): IDotVideo;
173
- wbr(content?: DotContent): IDotElementDocument<IDotGenericElement>;
174
- }
175
- export interface IDotCore extends IDotDocument {
176
- (targetSelector: string | Element | Node | NodeList | Array<Node | Element>): IDotElementDocument<IDotGenericElement>;
177
- version: string;
178
- navigate(path: string, noHistory?: boolean, force?: boolean): void;
179
- css: IDotCss;
180
- bus: typeof EventBus;
181
- resetScopeClass(): void;
182
- setTargetWindow(target: Window): IDotDocument;
183
- unsetTargetWindow(): void;
184
- Component: typeof Component;
185
- }
186
- /**
187
- * Public interface indicating the return type of the Component builder method. Represents any VDBO containing an element.
188
- * The VDBO returned by Component builder method must contain exactly one element.
189
- */
190
- export interface IDotElement extends IDotElementDocument<IDotGenericElement> {
191
- }
192
- export interface IDotElementDocument<T extends IDotDocument> extends IDotDocument {
193
- /**
194
- * Create a custom attribute.
195
- */
196
- attr(name: string, value: unknown, arg3?: unknown): T;
197
- /**
198
- * Adds a data-<suffix> attribute to the current element which can contain custom data.
199
- */
200
- customData(suffix: string, value: DotContentPrimitive): T;
201
- /**
202
- * Create a named reference to the current element so that it can be accessed within the current component.
203
- */
204
- ref(name: string, index?: number): T;
205
- /** @deprecated Deprecated in HTML5. Use CSS. */
206
- bgColor(value: unknown): T;
207
- /** @deprecated Deprecated in HTML5. Use CSS. */
208
- color(value: unknown): T;
209
- /** @deprecated Deprecated in HTML5. Use CSS. */
210
- aLink(value: unknown): T;
211
- /** @deprecated Deprecated in HTML5. Use CSS. */
212
- archive(value: unknown): T;
213
- accessKey(value: unknown): T;
214
- class(value: unknown): T;
215
- contentEditable(value: unknown): T;
216
- dir(value: unknown): T;
217
- draggable(value: unknown): T;
218
- dropZone(value: "move" | "copy" | "link"): T;
219
- hidden(value: unknown): T;
220
- id(value: unknown): T;
221
- itemProp(value: unknown): T;
222
- lang(value: unknown): T;
223
- spellCheck(value: unknown): T;
224
- style(value: string | IDotcssProp): T;
225
- tabIndex(value: unknown): T;
226
- title(value: unknown): T;
227
- onContextMenu(callback: (e: Event) => void): T;
228
- onCopy(callback: (e: Event) => void): T;
229
- onCut(callback: (e: Event) => void): T;
230
- onPagePaste(callback: (e: Event) => void): T;
231
- onDrag(callback: (e: DragEvent) => void): T;
232
- onDragEnd(callback: (e: DragEvent) => void): T;
233
- onDragStart(callback: (e: DragEvent) => void): T;
234
- onDragEnter(callback: (e: DragEvent) => void): T;
235
- onDragOver(callback: (e: DragEvent) => void): T;
236
- onDragLeave(callback: (e: DragEvent) => void): T;
237
- onDrop(callback: (e: DragEvent) => void): T;
238
- onError(callback: (e: Event) => void): T;
239
- onInvalid(callback: (e: DragEvent) => void): T;
240
- onMouseWheel(callback: (e: WheelEvent) => void): T;
241
- onWheel(callback: (e: WheelEvent) => void): T;
242
- onBlur(callback: (e: FocusEvent) => void): T;
243
- onChange(callback: (e: Event) => void): T;
244
- onClick(callback: (e: MouseEvent) => void): T;
245
- onDblClick(callback: (e: MouseEvent) => void): T;
246
- onFocus(callback: (e: FocusEvent) => void): T;
247
- onInput(callback: (e: InputEvent) => void): T;
248
- onKeyDown(callback: (e: KeyboardEvent) => void): T;
249
- onKeyPress(callback: (e: KeyboardEvent) => void): T;
250
- onKeyUp(callback: (e: KeyboardEvent) => void): T;
251
- onLoad(callback: (e: Event) => void): T;
252
- onMouseDown(callback: (e: MouseEvent) => void): T;
253
- onMouseEnter(callback: (e: MouseEvent) => void): T;
254
- onMouseLeave(callback: (e: MouseEvent) => void): T;
255
- onMouseMove(callback: (e: MouseEvent) => void): T;
256
- onMouseOut(callback: (e: MouseEvent) => void): T;
257
- onMouseOver(callback: (e: MouseEvent) => void): T;
258
- onMouseUp(callback: (e: MouseEvent) => void): T;
259
- onPointerCancel(callback: (e: PointerEvent) => void): T;
260
- onPointerDown(callback: (e: PointerEvent) => void): T;
261
- onPointerEnter(callback: (e: PointerEvent) => void): T;
262
- onPointerLeave(callback: (e: PointerEvent) => void): T;
263
- onPointerMove(callback: (e: PointerEvent) => void): T;
264
- onPointerOut(callback: (e: PointerEvent) => void): T;
265
- onPointerOver(callback: (e: PointerEvent) => void): T;
266
- onPointerUp(callback: (e: PointerEvent) => void): T;
267
- onTouchMove(callback: (e: TouchEvent) => void): T;
268
- onTouchCancel(callback: (e: TouchEvent) => void): T;
269
- onTouchEnd(callback: (e: TouchEvent) => void): T;
270
- onTouchStart(callback: (e: TouchEvent) => void): T;
271
- onReset(callback: (e: Event) => void): T;
272
- onScroll(callback: (e: MouseEvent) => void): T;
273
- onSelect(callback: (e: Event) => void): T;
274
- onSubmit(callback: (e: SubmitEvent) => void): T;
275
- onUnload(callback: (e: Event) => void): T;
276
- }
277
- export interface IDotGenericElement extends IDotElementDocument<IDotGenericElement> {
278
- }
279
- export interface IDotA extends IDotElementDocument<IDotA> {
280
- download(value: unknown): IDotA;
281
- hRef(value: unknown): IDotA;
282
- hRefLang(value: unknown): IDotA;
283
- media(value: unknown): IDotA;
284
- ping(value: unknown): IDotA;
285
- rel(value: unknown): IDotA;
286
- rev(value: unknown): IDotA;
287
- target(value: unknown): IDotA;
288
- type(value: unknown): IDotA;
289
- }
290
- export interface IDotArea extends IDotElementDocument<IDotArea> {
291
- alt(value: unknown): IDotArea;
292
- coords(value: unknown): IDotArea;
293
- download(value: unknown): IDotArea;
294
- hRef(value: unknown): IDotArea;
295
- hRefLang(value: unknown): IDotArea;
296
- media(value: unknown): IDotArea;
297
- noHRef(value: unknown): IDotArea;
298
- rel(value: unknown): IDotArea;
299
- shape(value: unknown): IDotArea;
300
- target(value: unknown): IDotArea;
301
- }
302
- export interface IDotAudio extends IDotElementDocument<IDotAudio> {
303
- autoPlay(value: unknown): IDotAudio;
304
- buffered(value: unknown): IDotAudio;
305
- controls(value: unknown): IDotAudio;
306
- loop(value: unknown): IDotAudio;
307
- muted(value: unknown): IDotAudio;
308
- preload(value: unknown): IDotAudio;
309
- src(value: unknown): IDotAudio;
310
- pause(): IDotAudio;
311
- play(): IDotAudio;
312
- stop(): IDotAudio;
313
- onAbort(callback: (e: Event) => void): IDotAudio;
314
- onCantPlayThrough(callback: (e: Event) => void): IDotAudio;
315
- onDurationChange(callback: (e: Event) => void): IDotAudio;
316
- onEmptied(callback: (e: Event) => void): IDotAudio;
317
- onEnded(callback: (e: Event) => void): IDotAudio;
318
- onLoadedData(callback: (e: Event) => void): IDotAudio;
319
- onLoadStart(callback: (e: Event) => void): IDotAudio;
320
- onLoadedMetadata(callback: (e: Event) => void): IDotAudio;
321
- onPause(callback: (e: Event) => void): IDotAudio;
322
- onPlay(callback: (e: Event) => void): IDotAudio;
323
- onPlaying(callback: (e: Event) => void): IDotAudio;
324
- onProgress(callback: (e: Event) => void): IDotAudio;
325
- onRateChange(callback: (e: Event) => void): IDotAudio;
326
- onSeeked(callback: (e: Event) => void): IDotAudio;
327
- onSeeking(callback: (e: Event) => void): IDotAudio;
328
- onStalled(callback: (e: Event) => void): IDotAudio;
329
- onSuspend(callback: (e: Event) => void): IDotAudio;
330
- onTimeUpdate(callback: (e: Event) => void): IDotAudio;
331
- onVolumeChange(callback: (e: Event) => void): IDotAudio;
332
- onWaiting(callback: (e: Event) => void): IDotAudio;
333
- onCanPlay(callback: (e: Event) => void): IDotAudio;
334
- }
335
- export interface IDotBlockQuote extends IDotElementDocument<IDotBlockQuote> {
336
- quoteCite(value: unknown): IDotBlockQuote;
337
- }
338
- export interface IDotBody extends IDotElementDocument<IDotBody> {
339
- /** @deprecated Deprecated in HTML5. Use CSS. */
340
- align(value: unknown): IDotBody;
341
- /** @deprecated Deprecated in HTML5. Use CSS. */
342
- background(value: unknown): IDotBody;
343
- onHashChange(callback: (e: Event) => void): IDotBody;
344
- onOffline(callback: (e: Event) => void): IDotBody;
345
- onOnline(callback: (e: Event) => void): IDotBody;
346
- onPageHide(callback: (e: Event) => void): IDotBody;
347
- onPageShow(callback: (e: Event) => void): IDotBody;
348
- onPopState(callback: (e: Event) => void): IDotBody;
349
- onResize(callback: (e: Event) => void): IDotBody;
350
- onStorage(callback: (e: Event) => void): IDotBody;
351
- }
352
- export interface IDotBr extends IDotElementDocument<IDotBr> {
353
- /** @deprecated Deprecated in HTML5. Use CSS. */
354
- clear(value: unknown): IDotBr;
355
- }
356
- export interface IDotButton extends IDotElementDocument<IDotButton> {
357
- autoFocus(value: unknown): IDotButton;
358
- formAction(value: unknown): IDotButton;
359
- disabled(value?: unknown): IDotButton;
360
- name(value: unknown): IDotButton;
361
- type(value: unknown): IDotButton;
362
- whichForm(value: unknown): IDotButton;
363
- value(value: unknown): IDotButton;
364
- }
365
- export interface IDotCanvas extends IDotElementDocument<IDotCanvas> {
366
- height(value: unknown): IDotCanvas;
367
- width(value: unknown): IDotCanvas;
368
- }
369
- export interface IDotCol extends IDotElementDocument<IDotCol> {
370
- /** @deprecated Deprecated in HTML5. Use CSS. */
371
- charOff(value: unknown): IDotCol;
372
- colSpan(value: unknown): IDotCol;
373
- vAlign(value: unknown): IDotCol;
374
- }
375
- export interface IDotColGroup extends IDotElementDocument<IDotColGroup> {
376
- /** @deprecated Deprecated in HTML5. Use CSS. */
377
- charOff(value: unknown): IDotColGroup;
378
- colSpan(value: unknown): IDotColGroup;
379
- vAlign(value: unknown): IDotColGroup;
380
- }
381
- export interface IDotDel extends IDotElementDocument<IDotDel> {
382
- dateTime(value: unknown): IDotDel;
383
- quoteCite(value: unknown): IDotDel;
384
- }
385
- export interface IDotDetails extends IDotElementDocument<IDotDetails> {
386
- open(value: unknown): IDotDetails;
387
- onToggle(callback: (e: Event) => void): IDotDetails;
388
- }
389
- export interface IDotEmbed extends IDotElementDocument<IDotEmbed> {
390
- height(value: unknown): IDotEmbed;
391
- src(value: unknown): IDotEmbed;
392
- type(value: unknown): IDotEmbed;
393
- width(value: unknown): IDotEmbed;
394
- }
395
- export interface IDotFieldSet extends IDotElementDocument<IDotFieldSet> {
396
- disabled(value: unknown): IDotFieldSet;
397
- name(value: unknown): IDotFieldSet;
398
- whichForm(value: unknown): IDotFieldSet;
399
- }
400
- export interface IDotForm extends IDotElementDocument<IDotForm> {
401
- acceptCharset(value: unknown): IDotForm;
402
- action(value: unknown): IDotForm;
403
- autoComplete(value: unknown): IDotForm;
404
- encType(value: unknown): IDotForm;
405
- method(value: unknown): IDotForm;
406
- name(value: unknown): IDotForm;
407
- noValidate(value: boolean): IDotForm;
408
- rel(value: unknown): IDotForm;
409
- target(value: unknown): IDotForm;
410
- }
411
- export interface IDotHr extends IDotElementDocument<IDotHr> {
412
- noShade(value: unknown): IDotHr;
413
- }
414
- export interface IDotIFrame extends IDotElementDocument<IDotIFrame> {
415
- height(value: unknown): IDotIFrame;
416
- longDesc(value: unknown): IDotIFrame;
417
- marginHeight(value: unknown): IDotIFrame;
418
- marginWidth(value: unknown): IDotIFrame;
419
- name(value: unknown): IDotIFrame;
420
- sandbox(value: unknown): IDotIFrame;
421
- scrolling(value: unknown): IDotIFrame;
422
- seamless(value: unknown): IDotIFrame;
423
- src(value: unknown): IDotIFrame;
424
- srcDoc(value: unknown): IDotIFrame;
425
- width(value: unknown): IDotIFrame;
426
- }
427
- export interface IDotImg extends IDotElementDocument<IDotImg> {
428
- alt(value: unknown): IDotImg;
429
- height(value: unknown): IDotImg;
430
- /** @deprecated Deprecated in HTML5. Use CSS. */
431
- hSpace(value: unknown): IDotImg;
432
- isMap(value: unknown): IDotImg;
433
- longDesc(value: unknown): IDotImg;
434
- sizes(value: unknown): IDotImg;
435
- src(value: unknown): IDotImg;
436
- srcSet(value: unknown): IDotImg;
437
- useMap(value: unknown): IDotImg;
438
- width(value: unknown): IDotImg;
439
- }
440
- export interface IDotInput extends IDotElementDocument<IDotInput> {
441
- accept(value: unknown): IDotInput;
442
- alt(value: unknown): IDotInput;
443
- autoComplete(value: unknown): IDotInput;
444
- autoFocus(value: unknown): IDotInput;
445
- checked(value?: boolean): IDotInput;
446
- dirName(value: unknown): IDotInput;
447
- disabled(value: unknown): IDotInput;
448
- formAction(value: unknown): IDotInput;
449
- list(value: unknown): IDotInput;
450
- max(value: unknown): IDotInput;
451
- maxLength(value: unknown): IDotInput;
452
- min(value: unknown): IDotInput;
453
- multiple(value: unknown): IDotInput;
454
- name(value: unknown): IDotInput;
455
- pattern(value: unknown): IDotInput;
456
- placeholder(value: unknown): IDotInput;
457
- readOnly(value: unknown): IDotInput;
458
- required(value: unknown): IDotInput;
459
- size(value: unknown): IDotInput;
460
- src(value: unknown): IDotInput;
461
- step(value: unknown): IDotInput;
462
- type(value: unknown): IDotInput;
463
- whichForm(value: unknown): IDotInput;
464
- value(value: unknown): IDotInput;
465
- width(value: unknown): IDotInput;
466
- bindTo(value: unknown): IDotInput;
467
- getVal(): string;
468
- setVal(value: unknown): IDotInput;
469
- onSearch(callback: (e: Event) => void): IDotInput;
470
- }
471
- export interface IDotIns extends IDotElementDocument<IDotIns> {
472
- dateTime(value: unknown): IDotIns;
473
- quoteCite(value: unknown): IDotIns;
474
- }
475
- export interface IDotKeyGen extends IDotElementDocument<IDotKeyGen> {
476
- challenge(value: unknown): IDotKeyGen;
477
- keyType(value: unknown): IDotKeyGen;
478
- }
479
- export interface IDotLabel extends IDotElementDocument<IDotLabel> {
480
- for(value: unknown): IDotLabel;
481
- whichForm(value: unknown): IDotLabel;
482
- }
483
- export interface IDotLi extends IDotElementDocument<IDotLi> {
484
- value(value: unknown): IDotLi;
485
- }
486
- export interface IDotMap extends IDotElementDocument<IDotMap> {
487
- name(value: unknown): IDotMap;
488
- }
489
- export interface IDotMenu extends IDotElementDocument<IDotMenu> {
490
- type(value: unknown): IDotMenu;
491
- }
492
- export interface IDotMeter extends IDotElementDocument<IDotMeter> {
493
- high(value: unknown): IDotMeter;
494
- low(value: unknown): IDotMeter;
495
- max(value: unknown): IDotMeter;
496
- min(value: unknown): IDotMeter;
497
- optimum(value: unknown): IDotMeter;
498
- whichForm(value: unknown): IDotMeter;
499
- value(value: unknown): IDotMeter;
500
- }
501
- export interface IDotObject extends IDotElementDocument<IDotObject> {
502
- classId(value: unknown): IDotObject;
503
- codeBase(value: unknown): IDotObject;
504
- codeType(value: unknown): IDotObject;
505
- objectData(value: unknown): IDotObject;
506
- declare(value: unknown): IDotObject;
507
- height(value: unknown): IDotObject;
508
- name(value: unknown): IDotObject;
509
- standby(value: unknown): IDotObject;
510
- type(value: unknown): IDotObject;
511
- useMap(value: unknown): IDotObject;
512
- whichForm(value: unknown): IDotObject;
513
- width(value: unknown): IDotObject;
514
- }
515
- export interface IDotOl extends IDotElementDocument<IDotOl> {
516
- reversed(value: unknown): IDotOl;
517
- start(value: unknown): IDotOl;
518
- }
519
- export interface IDotOptGroup extends IDotElementDocument<IDotOptGroup> {
520
- disabled(value: unknown): IDotOptGroup;
521
- }
522
- export interface IDotOption extends IDotElementDocument<IDotOption> {
523
- disabled(value: unknown): IDotOption;
524
- optionLabel(value: unknown): IDotOption;
525
- selected(value?: boolean): IDotOption;
526
- value(value: unknown): IDotOption;
527
- bindTo(value: unknown): IDotOption;
528
- getVal(): string;
529
- setVal(value: unknown): IDotOption;
530
- }
531
- export interface IDotOutput extends IDotElementDocument<IDotOutput> {
532
- for(value: unknown): IDotOutput;
533
- name(value: unknown): IDotOutput;
534
- whichForm(value: unknown): IDotOutput;
535
- }
536
- export interface IDotParam extends IDotElementDocument<IDotParam> {
537
- name(value: unknown): IDotParam;
538
- value(value: unknown): IDotParam;
539
- valueType(value: unknown): IDotParam;
540
- }
541
- export interface IDotProgress extends IDotElementDocument<IDotProgress> {
542
- max(value: unknown): IDotProgress;
543
- value(value: unknown): IDotProgress;
544
- }
545
- export interface IDotQ extends IDotElementDocument<IDotQ> {
546
- quoteCite(value: unknown): IDotQ;
547
- }
548
- export interface IDotSelect extends IDotElementDocument<IDotSelect> {
549
- autoFocus(value: unknown): IDotSelect;
550
- disabled(value: unknown): IDotSelect;
551
- multiple(value: unknown): IDotSelect;
552
- name(value: unknown): IDotSelect;
553
- required(value: unknown): IDotSelect;
554
- size(value: unknown): IDotSelect;
555
- whichForm(value: unknown): IDotSelect;
556
- bindTo(value: unknown): IDotSelect;
557
- getVal(): string;
558
- setVal(value: unknown): IDotSelect;
559
- }
560
- export interface IDotSource extends IDotElementDocument<IDotSource> {
561
- media(value: unknown): IDotSource;
562
- src(value: unknown): IDotSource;
563
- type(value: unknown): IDotSource;
564
- sizes(value: unknown): IDotSource;
565
- src(value: unknown): IDotSource;
566
- srcSet(value: unknown): IDotSource;
567
- type(value: unknown): IDotSource;
568
- }
569
- export interface IDotTable extends IDotElementDocument<IDotTable> {
570
- /** @deprecated Deprecated in HTML5. Use CSS. */
571
- border(value: unknown): IDotTable;
572
- /** @deprecated Deprecated in HTML5. Use CSS. */
573
- cellPadding(value: unknown): IDotTable;
574
- /** @deprecated Deprecated in HTML5. Use CSS. */
575
- cellSpacing(value: unknown): IDotTable;
576
- /** @deprecated Deprecated in HTML5. Use CSS. */
577
- frame(value: unknown): IDotTable;
578
- rules(value: unknown): IDotTable;
579
- tableSummary(value: unknown): IDotTable;
580
- }
581
- export interface IDotTextArea extends IDotElementDocument<IDotTextArea> {
582
- autoFocus(value: unknown): IDotTextArea;
583
- cols(value: unknown): IDotTextArea;
584
- dirName(value: unknown): IDotTextArea;
585
- disabled(value: unknown): IDotTextArea;
586
- maxLength(value: unknown): IDotTextArea;
587
- name(value: unknown): IDotTextArea;
588
- placeholder(value: unknown): IDotTextArea;
589
- readOnly(value: unknown): IDotTextArea;
590
- required(value: unknown): IDotTextArea;
591
- rows(value: unknown): IDotTextArea;
592
- whichForm(value: unknown): IDotTextArea;
593
- wrap(value: unknown): IDotTextArea;
594
- bindTo(value: unknown): IDotTextArea;
595
- getVal(): string;
596
- setVal(value: unknown): IDotTextArea;
597
- }
598
- export interface IDotTBody extends IDotElementDocument<IDotTBody> {
599
- /** @deprecated Deprecated in HTML5. Use CSS. */
600
- charOff(value: unknown): IDotTBody;
601
- vAlign(value: unknown): IDotTBody;
602
- }
603
- export interface IDotTd extends IDotElementDocument<IDotTd> {
604
- /** @deprecated Deprecated in HTML5. Use CSS. */
605
- axis(value: unknown): IDotTd;
606
- /** @deprecated Deprecated in HTML5. Use CSS. */
607
- char(value: unknown): IDotTd;
608
- colSpan(value: unknown): IDotTd;
609
- /** @deprecated Deprecated in HTML5. Use CSS. */
610
- charOff(value: unknown): IDotTd;
611
- headers(value: unknown): IDotTd;
612
- /** @deprecated Deprecated in HTML5. Use CSS. */
613
- nowrap(value: unknown): IDotTd;
614
- rowSpan(value: unknown): IDotTd;
615
- vAlign(value: unknown): IDotTd;
616
- }
617
- export interface IDotTFoot extends IDotElementDocument<IDotTFoot> {
618
- /** @deprecated Deprecated in HTML5. Use CSS. */
619
- charOff(value: unknown): IDotTFoot;
620
- vAlign(value: unknown): IDotTFoot;
621
- }
622
- export interface IDotTime extends IDotElementDocument<IDotTime> {
623
- dateTime(value: unknown): IDotTime;
624
- }
625
- export interface IDotTh extends IDotElementDocument<IDotTh> {
626
- /** @deprecated Deprecated in HTML5. Use CSS. */
627
- axis(value: unknown): IDotTh;
628
- colSpan(value: unknown): IDotTh;
629
- /** @deprecated Deprecated in HTML5. Use CSS. */
630
- charOff(value: unknown): IDotTh;
631
- headers(value: unknown): IDotTh;
632
- rowSpan(value: unknown): IDotTh;
633
- scope(value: unknown): IDotTh;
634
- vAlign(value: unknown): IDotTh;
635
- }
636
- export interface IDotTHead extends IDotElementDocument<IDotTHead> {
637
- /** @deprecated Deprecated in HTML5. Use CSS. */
638
- charOff(value: unknown): IDotTHead;
639
- vAlign(value: unknown): IDotTHead;
640
- }
641
- export interface IDotTr extends IDotElementDocument<IDotTr> {
642
- /** @deprecated Deprecated in HTML5. Use CSS. */
643
- charOff(value: unknown): IDotTr;
644
- vAlign(value: unknown): IDotTr;
645
- }
646
- export interface IDotTrack extends IDotElementDocument<IDotTrack> {
647
- default(value: unknown): IDotTrack;
648
- kind(value: unknown): IDotTrack;
649
- src(value: unknown): IDotTrack;
650
- srcLang(value: unknown): IDotTrack;
651
- trackLabel(value: unknown): IDotTrack;
652
- onCueChange(callback: (e: Event) => void): IDotTrack;
653
- }
654
- export interface IDotVideo extends IDotElementDocument<IDotVideo> {
655
- autoPlay(value: unknown): IDotVideo;
656
- buffered(value: unknown): IDotVideo;
657
- controls(value: unknown): IDotVideo;
658
- height(value: unknown): IDotVideo;
659
- loop(value: unknown): IDotVideo;
660
- muted(value: unknown): IDotVideo;
661
- poster(value: unknown): IDotVideo;
662
- preload(value: unknown): IDotVideo;
663
- src(value: unknown): IDotVideo;
664
- width(value: unknown): IDotVideo;
665
- pause(): IDotVideo;
666
- play(): IDotVideo;
667
- stop(): IDotVideo;
668
- onAbort(callback: (e: Event) => void): IDotVideo;
669
- onCantPlayThrough(callback: (e: Event) => void): IDotVideo;
670
- onDurationChange(callback: (e: Event) => void): IDotVideo;
671
- onEmptied(callback: (e: Event) => void): IDotVideo;
672
- onEnded(callback: (e: Event) => void): IDotVideo;
673
- onLoadedData(callback: (e: Event) => void): IDotVideo;
674
- onLoadStart(callback: (e: Event) => void): IDotVideo;
675
- onLoadedMetadata(callback: (e: Event) => void): IDotVideo;
676
- onPause(callback: (e: Event) => void): IDotVideo;
677
- onPlay(callback: (e: Event) => void): IDotVideo;
678
- onPlaying(callback: (e: Event) => void): IDotVideo;
679
- onProgress(callback: (e: Event) => void): IDotVideo;
680
- onRateChange(callback: (e: Event) => void): IDotVideo;
681
- onSeeked(callback: (e: Event) => void): IDotVideo;
682
- onSeeking(callback: (e: Event) => void): IDotVideo;
683
- onStalled(callback: (e: Event) => void): IDotVideo;
684
- onSuspend(callback: (e: Event) => void): IDotVideo;
685
- onTimeUpdate(callback: (e: Event) => void): IDotVideo;
686
- onVolumeChange(callback: (e: Event) => void): IDotVideo;
687
- onWaiting(callback: (e: Event) => void): IDotVideo;
688
- onCanPlay(callback: (e: Event) => void): IDotVideo;
689
- }
package/lib/i-dot.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-dot.js.map