@nest-vue/vue-security-patched 2.7.16-patch.2

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 (214) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +122 -0
  3. package/compiler-sfc/index.d.ts +1 -0
  4. package/compiler-sfc/index.js +1 -0
  5. package/compiler-sfc/index.mjs +1 -0
  6. package/compiler-sfc/package.json +5 -0
  7. package/dist/vue.common.js +5 -0
  8. package/dist/vue.runtime.common.js +5 -0
  9. package/dist/vue.runtime.mjs +76 -0
  10. package/package.json +136 -0
  11. package/packages/compiler-sfc/api-extractor.json +64 -0
  12. package/packages/compiler-sfc/dist/compiler-sfc.js +17146 -0
  13. package/packages/compiler-sfc/node_modules/.bin/lessc +17 -0
  14. package/packages/compiler-sfc/node_modules/.bin/parser +17 -0
  15. package/packages/compiler-sfc/node_modules/.bin/prettier +17 -0
  16. package/packages/compiler-sfc/node_modules/.bin/sass +17 -0
  17. package/packages/compiler-sfc/node_modules/.bin/stylus +17 -0
  18. package/packages/compiler-sfc/package.json +37 -0
  19. package/packages/compiler-sfc/src/babelUtils.ts +423 -0
  20. package/packages/compiler-sfc/src/compileScript.ts +1916 -0
  21. package/packages/compiler-sfc/src/compileStyle.ts +147 -0
  22. package/packages/compiler-sfc/src/compileTemplate.ts +205 -0
  23. package/packages/compiler-sfc/src/cssVars.ts +179 -0
  24. package/packages/compiler-sfc/src/index.ts +31 -0
  25. package/packages/compiler-sfc/src/parse.ts +129 -0
  26. package/packages/compiler-sfc/src/parseComponent.ts +220 -0
  27. package/packages/compiler-sfc/src/prefixIdentifiers.ts +82 -0
  28. package/packages/compiler-sfc/src/rewriteDefault.ts +121 -0
  29. package/packages/compiler-sfc/src/stylePlugins/scoped.ts +203 -0
  30. package/packages/compiler-sfc/src/stylePlugins/trim.ts +18 -0
  31. package/packages/compiler-sfc/src/stylePreprocessors.ts +135 -0
  32. package/packages/compiler-sfc/src/templateCompilerModules/assetUrl.ts +84 -0
  33. package/packages/compiler-sfc/src/templateCompilerModules/srcset.ts +76 -0
  34. package/packages/compiler-sfc/src/templateCompilerModules/utils.ts +86 -0
  35. package/packages/compiler-sfc/src/types.ts +69 -0
  36. package/packages/compiler-sfc/src/warn.ts +16 -0
  37. package/packages/compiler-sfc/test/__snapshots__/compileScript.spec.ts.snap +971 -0
  38. package/packages/compiler-sfc/test/__snapshots__/cssVars.spec.ts.snap +189 -0
  39. package/packages/compiler-sfc/test/compileScript.spec.ts +1635 -0
  40. package/packages/compiler-sfc/test/compileStyle.spec.ts +203 -0
  41. package/packages/compiler-sfc/test/compileTemplate.spec.ts +258 -0
  42. package/packages/compiler-sfc/test/cssVars.spec.ts +247 -0
  43. package/packages/compiler-sfc/test/parseComponent.spec.ts +269 -0
  44. package/packages/compiler-sfc/test/prefixIdentifiers.spec.ts +97 -0
  45. package/packages/compiler-sfc/test/rewriteDefault.spec.ts +311 -0
  46. package/packages/compiler-sfc/test/stylePluginScoped.spec.ts +137 -0
  47. package/packages/compiler-sfc/test/tsconfig.json +7 -0
  48. package/packages/compiler-sfc/test/util.ts +35 -0
  49. package/src/compiler/codeframe.ts +52 -0
  50. package/src/compiler/codegen/events.ts +170 -0
  51. package/src/compiler/codegen/index.ts +668 -0
  52. package/src/compiler/create-compiler.ts +83 -0
  53. package/src/compiler/directives/bind.ts +9 -0
  54. package/src/compiler/directives/index.ts +9 -0
  55. package/src/compiler/directives/model.ts +145 -0
  56. package/src/compiler/directives/on.ts +9 -0
  57. package/src/compiler/error-detector.ts +158 -0
  58. package/src/compiler/helpers.ts +243 -0
  59. package/src/compiler/index.ts +24 -0
  60. package/src/compiler/optimizer.ts +135 -0
  61. package/src/compiler/parser/entity-decoder.ts +9 -0
  62. package/src/compiler/parser/filter-parser.ts +116 -0
  63. package/src/compiler/parser/html-parser.ts +345 -0
  64. package/src/compiler/parser/index.ts +999 -0
  65. package/src/compiler/parser/text-parser.ts +52 -0
  66. package/src/compiler/to-function.ts +119 -0
  67. package/src/core/components/index.ts +5 -0
  68. package/src/core/components/keep-alive.ts +171 -0
  69. package/src/core/config.ts +128 -0
  70. package/src/core/global-api/assets.ts +35 -0
  71. package/src/core/global-api/extend.ts +94 -0
  72. package/src/core/global-api/index.ts +68 -0
  73. package/src/core/global-api/mixin.ts +9 -0
  74. package/src/core/global-api/use.ts +23 -0
  75. package/src/core/index.ts +27 -0
  76. package/src/core/instance/events.ts +160 -0
  77. package/src/core/instance/index.ts +27 -0
  78. package/src/core/instance/init.ts +143 -0
  79. package/src/core/instance/inject.ts +80 -0
  80. package/src/core/instance/lifecycle.ts +421 -0
  81. package/src/core/instance/proxy.ts +97 -0
  82. package/src/core/instance/render-helpers/bind-dynamic-keys.ts +36 -0
  83. package/src/core/instance/render-helpers/bind-object-listeners.ts +18 -0
  84. package/src/core/instance/render-helpers/bind-object-props.ts +59 -0
  85. package/src/core/instance/render-helpers/check-keycodes.ts +33 -0
  86. package/src/core/instance/render-helpers/index.ts +31 -0
  87. package/src/core/instance/render-helpers/render-list.ts +49 -0
  88. package/src/core/instance/render-helpers/render-slot.ts +39 -0
  89. package/src/core/instance/render-helpers/render-static.ts +57 -0
  90. package/src/core/instance/render-helpers/resolve-filter.ts +8 -0
  91. package/src/core/instance/render-helpers/resolve-scoped-slots.ts +30 -0
  92. package/src/core/instance/render-helpers/resolve-slots.ts +51 -0
  93. package/src/core/instance/render.ts +172 -0
  94. package/src/core/instance/state.ts +393 -0
  95. package/src/core/observer/array.ts +54 -0
  96. package/src/core/observer/dep.ts +108 -0
  97. package/src/core/observer/index.ts +339 -0
  98. package/src/core/observer/scheduler.ts +199 -0
  99. package/src/core/observer/traverse.ts +47 -0
  100. package/src/core/observer/watcher.ts +278 -0
  101. package/src/core/util/debug.ts +105 -0
  102. package/src/core/util/env.ts +93 -0
  103. package/src/core/util/error.ts +81 -0
  104. package/src/core/util/index.ts +9 -0
  105. package/src/core/util/lang.ts +45 -0
  106. package/src/core/util/next-tick.ts +117 -0
  107. package/src/core/util/options.ts +489 -0
  108. package/src/core/util/perf.ts +28 -0
  109. package/src/core/util/props.ts +254 -0
  110. package/src/core/vdom/create-component.ts +275 -0
  111. package/src/core/vdom/create-element.ts +172 -0
  112. package/src/core/vdom/create-functional-component.ts +180 -0
  113. package/src/core/vdom/helpers/extract-props.ts +75 -0
  114. package/src/core/vdom/helpers/get-first-component-child.ts +16 -0
  115. package/src/core/vdom/helpers/index.ts +7 -0
  116. package/src/core/vdom/helpers/is-async-placeholder.ts +6 -0
  117. package/src/core/vdom/helpers/merge-hook.ts +40 -0
  118. package/src/core/vdom/helpers/normalize-children.ts +99 -0
  119. package/src/core/vdom/helpers/normalize-scoped-slots.ts +97 -0
  120. package/src/core/vdom/helpers/resolve-async-component.ts +157 -0
  121. package/src/core/vdom/helpers/update-listeners.ts +101 -0
  122. package/src/core/vdom/modules/directives.ts +137 -0
  123. package/src/core/vdom/modules/index.ts +4 -0
  124. package/src/core/vdom/modules/template-ref.ts +94 -0
  125. package/src/core/vdom/patch.ts +907 -0
  126. package/src/core/vdom/vnode.ts +119 -0
  127. package/src/global.d.ts +17 -0
  128. package/src/platforms/web/compiler/directives/html.ts +8 -0
  129. package/src/platforms/web/compiler/directives/index.ts +9 -0
  130. package/src/platforms/web/compiler/directives/model.ts +181 -0
  131. package/src/platforms/web/compiler/directives/text.ts +8 -0
  132. package/src/platforms/web/compiler/index.ts +6 -0
  133. package/src/platforms/web/compiler/modules/class.ts +44 -0
  134. package/src/platforms/web/compiler/modules/index.ts +5 -0
  135. package/src/platforms/web/compiler/modules/model.ts +89 -0
  136. package/src/platforms/web/compiler/modules/style.ts +47 -0
  137. package/src/platforms/web/compiler/options.ts +25 -0
  138. package/src/platforms/web/compiler/util.ts +22 -0
  139. package/src/platforms/web/entry-compiler.ts +4 -0
  140. package/src/platforms/web/entry-runtime-esm.ts +5 -0
  141. package/src/platforms/web/entry-runtime-with-compiler-esm.ts +5 -0
  142. package/src/platforms/web/entry-runtime-with-compiler.ts +10 -0
  143. package/src/platforms/web/entry-runtime.ts +7 -0
  144. package/src/platforms/web/runtime/class-util.ts +61 -0
  145. package/src/platforms/web/runtime/components/index.ts +7 -0
  146. package/src/platforms/web/runtime/components/transition-group.ts +204 -0
  147. package/src/platforms/web/runtime/components/transition.ts +205 -0
  148. package/src/platforms/web/runtime/directives/index.ts +7 -0
  149. package/src/platforms/web/runtime/directives/model.ts +148 -0
  150. package/src/platforms/web/runtime/directives/show.ts +61 -0
  151. package/src/platforms/web/runtime/index.ts +75 -0
  152. package/src/platforms/web/runtime/modules/attrs.ts +115 -0
  153. package/src/platforms/web/runtime/modules/class.ts +37 -0
  154. package/src/platforms/web/runtime/modules/dom-props.ts +123 -0
  155. package/src/platforms/web/runtime/modules/events.ts +127 -0
  156. package/src/platforms/web/runtime/modules/index.ts +8 -0
  157. package/src/platforms/web/runtime/modules/style.ts +102 -0
  158. package/src/platforms/web/runtime/modules/transition.ts +341 -0
  159. package/src/platforms/web/runtime/node-ops.ts +66 -0
  160. package/src/platforms/web/runtime/patch.ts +10 -0
  161. package/src/platforms/web/runtime/transition-util.ts +215 -0
  162. package/src/platforms/web/runtime-with-compiler.ts +110 -0
  163. package/src/platforms/web/util/attrs.ts +58 -0
  164. package/src/platforms/web/util/class.ts +87 -0
  165. package/src/platforms/web/util/compat.ts +16 -0
  166. package/src/platforms/web/util/element.ts +76 -0
  167. package/src/platforms/web/util/index.ts +21 -0
  168. package/src/platforms/web/util/style.ts +71 -0
  169. package/src/shared/constants.ts +20 -0
  170. package/src/shared/util.ts +378 -0
  171. package/src/types/compiler.ts +207 -0
  172. package/src/types/component.ts +212 -0
  173. package/src/types/global-api.ts +37 -0
  174. package/src/types/modules.d.ts +15 -0
  175. package/src/types/options.ts +114 -0
  176. package/src/types/ssr.ts +27 -0
  177. package/src/types/utils.ts +3 -0
  178. package/src/types/vnode.ts +127 -0
  179. package/src/v3/apiAsyncComponent.ts +117 -0
  180. package/src/v3/apiInject.ts +71 -0
  181. package/src/v3/apiLifecycle.ts +68 -0
  182. package/src/v3/apiSetup.ts +246 -0
  183. package/src/v3/apiWatch.ts +353 -0
  184. package/src/v3/currentInstance.ts +23 -0
  185. package/src/v3/debug.ts +21 -0
  186. package/src/v3/h.ts +18 -0
  187. package/src/v3/index.ts +96 -0
  188. package/src/v3/reactivity/computed.ts +100 -0
  189. package/src/v3/reactivity/effect.ts +20 -0
  190. package/src/v3/reactivity/effectScope.ts +137 -0
  191. package/src/v3/reactivity/operations.ts +14 -0
  192. package/src/v3/reactivity/reactive.ts +137 -0
  193. package/src/v3/reactivity/readonly.ts +127 -0
  194. package/src/v3/reactivity/ref.ts +293 -0
  195. package/src/v3/sfc-helpers/useCssModule.ts +24 -0
  196. package/src/v3/sfc-helpers/useCssVars.ts +34 -0
  197. package/types/built-in-components.d.ts +63 -0
  198. package/types/common.d.ts +21 -0
  199. package/types/index.d.ts +81 -0
  200. package/types/jsx.d.ts +1353 -0
  201. package/types/options.d.ts +349 -0
  202. package/types/plugin.d.ts +8 -0
  203. package/types/umd.d.ts +68 -0
  204. package/types/v3-component-options.d.ts +252 -0
  205. package/types/v3-component-props.d.ts +99 -0
  206. package/types/v3-component-public-instance.d.ts +232 -0
  207. package/types/v3-define-async-component.d.ts +26 -0
  208. package/types/v3-define-component.d.ts +201 -0
  209. package/types/v3-directive.d.ts +29 -0
  210. package/types/v3-manual-apis.d.ts +10 -0
  211. package/types/v3-setup-context.d.ts +41 -0
  212. package/types/v3-setup-helpers.d.ts +154 -0
  213. package/types/vnode.d.ts +117 -0
  214. package/types/vue.d.ts +446 -0
package/types/jsx.d.ts ADDED
@@ -0,0 +1,1353 @@
1
+ // This code is based on react definition in DefinitelyTyped published under the MIT license.
2
+ // Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
3
+ // Path in the repository: types/react/index.d.ts
4
+ //
5
+ // Copyrights of original definition are:
6
+ // AssureSign <http://www.assuresign.com>
7
+ // Microsoft <https://microsoft.com>
8
+ // John Reilly <https://github.com/johnnyreilly>
9
+ // Benoit Benezech <https://github.com/bbenezech>
10
+ // Patricio Zavolinsky <https://github.com/pzavolinsky>
11
+ // Digiguru <https://github.com/digiguru>
12
+ // Eric Anderson <https://github.com/ericanderson>
13
+ // Dovydas Navickas <https://github.com/DovydasNavickas>
14
+ // Josh Rutherford <https://github.com/theruther4d>
15
+ // Guilherme Hübner <https://github.com/guilhermehubner>
16
+ // Ferdy Budhidharma <https://github.com/ferdaber>
17
+ // Johann Rakotoharisoa <https://github.com/jrakotoharisoa>
18
+ // Olivier Pascal <https://github.com/pascaloliv>
19
+ // Martin Hochel <https://github.com/hotell>
20
+ // Frank Li <https://github.com/franklixuefei>
21
+ // Jessica Franco <https://github.com/Jessidhia>
22
+ // Saransh Kataria <https://github.com/saranshkataria>
23
+ // Kanitkorn Sujautra <https://github.com/lukyth>
24
+ // Sebastian Silbermann <https://github.com/eps1lon>
25
+
26
+ import * as CSS from 'csstype'
27
+
28
+ export interface CSSProperties
29
+ extends CSS.Properties<string | number>,
30
+ CSS.PropertiesHyphen<string | number> {
31
+ /**
32
+ * The index signature was removed to enable closed typing for style
33
+ * using CSSType. You're able to use type assertion or module augmentation
34
+ * to add properties or an index signature of your own.
35
+ *
36
+ * For examples and more information, visit:
37
+ * https://github.com/frenic/csstype#what-should-i-do-when-i-get-type-errors
38
+ */
39
+ [v: `--${string}`]: string | number | undefined
40
+ }
41
+
42
+ type Booleanish = boolean | 'true' | 'false'
43
+ type Numberish = number | string
44
+
45
+ // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
46
+ interface AriaAttributes {
47
+ /** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
48
+ 'aria-activedescendant'?: string
49
+ /** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
50
+ 'aria-atomic'?: Booleanish
51
+ /**
52
+ * Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
53
+ * presented if they are made.
54
+ */
55
+ 'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both'
56
+ /** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
57
+ 'aria-busy'?: Booleanish
58
+ /**
59
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
60
+ * @see aria-pressed @see aria-selected.
61
+ */
62
+ 'aria-checked'?: Booleanish | 'mixed'
63
+ /**
64
+ * Defines the total number of columns in a table, grid, or treegrid.
65
+ * @see aria-colindex.
66
+ */
67
+ 'aria-colcount'?: Numberish
68
+ /**
69
+ * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
70
+ * @see aria-colcount @see aria-colspan.
71
+ */
72
+ 'aria-colindex'?: Numberish
73
+ /**
74
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
75
+ * @see aria-colindex @see aria-rowspan.
76
+ */
77
+ 'aria-colspan'?: Numberish
78
+ /**
79
+ * Identifies the element (or elements) whose contents or presence are controlled by the current element.
80
+ * @see aria-owns.
81
+ */
82
+ 'aria-controls'?: string
83
+ /** Indicates the element that represents the current item within a container or set of related elements. */
84
+ 'aria-current'?: Booleanish | 'page' | 'step' | 'location' | 'date' | 'time'
85
+ /**
86
+ * Identifies the element (or elements) that describes the object.
87
+ * @see aria-labelledby
88
+ */
89
+ 'aria-describedby'?: string
90
+ /**
91
+ * Identifies the element that provides a detailed, extended description for the object.
92
+ * @see aria-describedby.
93
+ */
94
+ 'aria-details'?: string
95
+ /**
96
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
97
+ * @see aria-hidden @see aria-readonly.
98
+ */
99
+ 'aria-disabled'?: Booleanish
100
+ /**
101
+ * Indicates what functions can be performed when a dragged object is released on the drop target.
102
+ * @deprecated in ARIA 1.1
103
+ */
104
+ 'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup'
105
+ /**
106
+ * Identifies the element that provides an error message for the object.
107
+ * @see aria-invalid @see aria-describedby.
108
+ */
109
+ 'aria-errormessage'?: string
110
+ /** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
111
+ 'aria-expanded'?: Booleanish
112
+ /**
113
+ * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
114
+ * allows assistive technology to override the general default of reading in document source order.
115
+ */
116
+ 'aria-flowto'?: string
117
+ /**
118
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
119
+ * @deprecated in ARIA 1.1
120
+ */
121
+ 'aria-grabbed'?: Booleanish
122
+ /** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
123
+ 'aria-haspopup'?: Booleanish | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'
124
+ /**
125
+ * Indicates whether the element is exposed to an accessibility API.
126
+ * @see aria-disabled.
127
+ */
128
+ 'aria-hidden'?: Booleanish
129
+ /**
130
+ * Indicates the entered value does not conform to the format expected by the application.
131
+ * @see aria-errormessage.
132
+ */
133
+ 'aria-invalid'?: Booleanish | 'grammar' | 'spelling'
134
+ /** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
135
+ 'aria-keyshortcuts'?: string
136
+ /**
137
+ * Defines a string value that labels the current element.
138
+ * @see aria-labelledby.
139
+ */
140
+ 'aria-label'?: string
141
+ /**
142
+ * Identifies the element (or elements) that labels the current element.
143
+ * @see aria-describedby.
144
+ */
145
+ 'aria-labelledby'?: string
146
+ /** Defines the hierarchical level of an element within a structure. */
147
+ 'aria-level'?: Numberish
148
+ /** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
149
+ 'aria-live'?: 'off' | 'assertive' | 'polite'
150
+ /** Indicates whether an element is modal when displayed. */
151
+ 'aria-modal'?: Booleanish
152
+ /** Indicates whether a text box accepts multiple lines of input or only a single line. */
153
+ 'aria-multiline'?: Booleanish
154
+ /** Indicates that the user may select more than one item from the current selectable descendants. */
155
+ 'aria-multiselectable'?: Booleanish
156
+ /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
157
+ 'aria-orientation'?: 'horizontal' | 'vertical'
158
+ /**
159
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
160
+ * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
161
+ * @see aria-controls.
162
+ */
163
+ 'aria-owns'?: string
164
+ /**
165
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
166
+ * A hint could be a sample value or a brief description of the expected format.
167
+ */
168
+ 'aria-placeholder'?: string
169
+ /**
170
+ * Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
171
+ * @see aria-setsize.
172
+ */
173
+ 'aria-posinset'?: Numberish
174
+ /**
175
+ * Indicates the current "pressed" state of toggle buttons.
176
+ * @see aria-checked @see aria-selected.
177
+ */
178
+ 'aria-pressed'?: Booleanish | 'mixed'
179
+ /**
180
+ * Indicates that the element is not editable, but is otherwise operable.
181
+ * @see aria-disabled.
182
+ */
183
+ 'aria-readonly'?: Booleanish
184
+ /**
185
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
186
+ * @see aria-atomic.
187
+ */
188
+ 'aria-relevant'?: 'additions' | 'additions text' | 'all' | 'removals' | 'text'
189
+ /** Indicates that user input is required on the element before a form may be submitted. */
190
+ 'aria-required'?: Booleanish
191
+ /** Defines a human-readable, author-localized description for the role of an element. */
192
+ 'aria-roledescription'?: string
193
+ /**
194
+ * Defines the total number of rows in a table, grid, or treegrid.
195
+ * @see aria-rowindex.
196
+ */
197
+ 'aria-rowcount'?: Numberish
198
+ /**
199
+ * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
200
+ * @see aria-rowcount @see aria-rowspan.
201
+ */
202
+ 'aria-rowindex'?: Numberish
203
+ /**
204
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
205
+ * @see aria-rowindex @see aria-colspan.
206
+ */
207
+ 'aria-rowspan'?: Numberish
208
+ /**
209
+ * Indicates the current "selected" state of various widgets.
210
+ * @see aria-checked @see aria-pressed.
211
+ */
212
+ 'aria-selected'?: Booleanish
213
+ /**
214
+ * Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
215
+ * @see aria-posinset.
216
+ */
217
+ 'aria-setsize'?: Numberish
218
+ /** Indicates if items in a table or grid are sorted in ascending or descending order. */
219
+ 'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other'
220
+ /** Defines the maximum allowed value for a range widget. */
221
+ 'aria-valuemax'?: Numberish
222
+ /** Defines the minimum allowed value for a range widget. */
223
+ 'aria-valuemin'?: Numberish
224
+ /**
225
+ * Defines the current value for a range widget.
226
+ * @see aria-valuetext.
227
+ */
228
+ 'aria-valuenow'?: Numberish
229
+ /** Defines the human readable text alternative of aria-valuenow for a range widget. */
230
+ 'aria-valuetext'?: string
231
+ }
232
+
233
+ // Vue's style normalization supports nested arrays
234
+ export type StyleValue = string | CSSProperties | Array<StyleValue>
235
+
236
+ export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
237
+ innerHTML?: string
238
+
239
+ class?: any
240
+ style?: StyleValue
241
+
242
+ // Standard HTML Attributes
243
+ accesskey?: string
244
+ contenteditable?: Booleanish | 'inherit'
245
+ contextmenu?: string
246
+ dir?: string
247
+ draggable?: Booleanish
248
+ hidden?: Booleanish
249
+ id?: string
250
+ lang?: string
251
+ placeholder?: string
252
+ spellcheck?: Booleanish
253
+ tabindex?: Numberish
254
+ title?: string
255
+ translate?: 'yes' | 'no'
256
+
257
+ // Unknown
258
+ radiogroup?: string // <command>, <menuitem>
259
+
260
+ // WAI-ARIA
261
+ role?: string
262
+
263
+ // RDFa Attributes
264
+ about?: string
265
+ datatype?: string
266
+ inlist?: any
267
+ prefix?: string
268
+ property?: string
269
+ resource?: string
270
+ typeof?: string
271
+ vocab?: string
272
+
273
+ // Non-standard Attributes
274
+ autocapitalize?: string
275
+ autocorrect?: string
276
+ autosave?: string
277
+ color?: string
278
+ itemprop?: string
279
+ itemscope?: Booleanish
280
+ itemtype?: string
281
+ itemid?: string
282
+ itemref?: string
283
+ results?: Numberish
284
+ security?: string
285
+ unselectable?: 'on' | 'off'
286
+
287
+ // Living Standard
288
+ /**
289
+ * Hints at the type of data that might be entered by the user while editing the element or its contents
290
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
291
+ */
292
+ inputmode?:
293
+ | 'none'
294
+ | 'text'
295
+ | 'tel'
296
+ | 'url'
297
+ | 'email'
298
+ | 'numeric'
299
+ | 'decimal'
300
+ | 'search'
301
+ /**
302
+ * Specify that a standard HTML element should behave like a defined custom built-in element
303
+ * @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
304
+ */
305
+ is?: string
306
+ }
307
+
308
+ export interface AnchorHTMLAttributes extends HTMLAttributes {
309
+ download?: any
310
+ href?: string
311
+ hreflang?: string
312
+ media?: string
313
+ ping?: string
314
+ rel?: string
315
+ target?: string
316
+ type?: string
317
+ referrerpolicy?: string
318
+ }
319
+
320
+ export interface AreaHTMLAttributes extends HTMLAttributes {
321
+ alt?: string
322
+ coords?: string
323
+ download?: any
324
+ href?: string
325
+ hreflang?: string
326
+ media?: string
327
+ rel?: string
328
+ shape?: string
329
+ target?: string
330
+ }
331
+
332
+ export interface AudioHTMLAttributes extends MediaHTMLAttributes {}
333
+
334
+ export interface BaseHTMLAttributes extends HTMLAttributes {
335
+ href?: string
336
+ target?: string
337
+ }
338
+
339
+ export interface BlockquoteHTMLAttributes extends HTMLAttributes {
340
+ cite?: string
341
+ }
342
+
343
+ export interface ButtonHTMLAttributes extends HTMLAttributes {
344
+ autofocus?: Booleanish
345
+ disabled?: Booleanish
346
+ form?: string
347
+ formaction?: string
348
+ formenctype?: string
349
+ formmethod?: string
350
+ formnovalidate?: Booleanish
351
+ formtarget?: string
352
+ name?: string
353
+ type?: 'submit' | 'reset' | 'button'
354
+ value?: string | string[] | number
355
+ }
356
+
357
+ export interface CanvasHTMLAttributes extends HTMLAttributes {
358
+ height?: Numberish
359
+ width?: Numberish
360
+ }
361
+
362
+ export interface ColHTMLAttributes extends HTMLAttributes {
363
+ span?: Numberish
364
+ width?: Numberish
365
+ }
366
+
367
+ export interface ColgroupHTMLAttributes extends HTMLAttributes {
368
+ span?: Numberish
369
+ }
370
+
371
+ export interface DataHTMLAttributes extends HTMLAttributes {
372
+ value?: string | string[] | number
373
+ }
374
+
375
+ export interface DetailsHTMLAttributes extends HTMLAttributes {
376
+ open?: Booleanish
377
+ }
378
+
379
+ export interface DelHTMLAttributes extends HTMLAttributes {
380
+ cite?: string
381
+ datetime?: string
382
+ }
383
+
384
+ export interface DialogHTMLAttributes extends HTMLAttributes {
385
+ open?: Booleanish
386
+ }
387
+
388
+ export interface EmbedHTMLAttributes extends HTMLAttributes {
389
+ height?: Numberish
390
+ src?: string
391
+ type?: string
392
+ width?: Numberish
393
+ }
394
+
395
+ export interface FieldsetHTMLAttributes extends HTMLAttributes {
396
+ disabled?: Booleanish
397
+ form?: string
398
+ name?: string
399
+ }
400
+
401
+ export interface FormHTMLAttributes extends HTMLAttributes {
402
+ acceptcharset?: string
403
+ action?: string
404
+ autocomplete?: string
405
+ enctype?: string
406
+ method?: string
407
+ name?: string
408
+ novalidate?: Booleanish
409
+ target?: string
410
+ }
411
+
412
+ export interface HtmlHTMLAttributes extends HTMLAttributes {
413
+ manifest?: string
414
+ }
415
+
416
+ export interface IframeHTMLAttributes extends HTMLAttributes {
417
+ allow?: string
418
+ allowfullscreen?: Booleanish
419
+ allowtransparency?: Booleanish
420
+ frameborder?: Numberish
421
+ height?: Numberish
422
+ marginheight?: Numberish
423
+ marginwidth?: Numberish
424
+ name?: string
425
+ referrerpolicy?: string
426
+ sandbox?: string
427
+ scrolling?: string
428
+ seamless?: Booleanish
429
+ src?: string
430
+ srcdoc?: string
431
+ width?: Numberish
432
+ }
433
+
434
+ export interface ImgHTMLAttributes extends HTMLAttributes {
435
+ alt?: string
436
+ crossorigin?: 'anonymous' | 'use-credentials' | ''
437
+ decoding?: 'async' | 'auto' | 'sync'
438
+ height?: Numberish
439
+ sizes?: string
440
+ src?: string
441
+ srcset?: string
442
+ usemap?: string
443
+ width?: Numberish
444
+ }
445
+
446
+ export interface InsHTMLAttributes extends HTMLAttributes {
447
+ cite?: string
448
+ datetime?: string
449
+ }
450
+
451
+ export interface InputHTMLAttributes extends HTMLAttributes {
452
+ accept?: string
453
+ alt?: string
454
+ autocomplete?: string
455
+ autofocus?: Booleanish
456
+ capture?: boolean | 'user' | 'environment' // https://www.w3.org/tr/html-media-capture/#the-capture-attribute
457
+ checked?: Booleanish | any[] | Set<any> // for IDE v-model multi-checkbox support
458
+ crossorigin?: string
459
+ disabled?: Booleanish
460
+ form?: string
461
+ formaction?: string
462
+ formenctype?: string
463
+ formmethod?: string
464
+ formnovalidate?: Booleanish
465
+ formtarget?: string
466
+ height?: Numberish
467
+ indeterminate?: boolean
468
+ list?: string
469
+ max?: Numberish
470
+ maxlength?: Numberish
471
+ min?: Numberish
472
+ minlength?: Numberish
473
+ multiple?: Booleanish
474
+ name?: string
475
+ pattern?: string
476
+ placeholder?: string
477
+ readonly?: Booleanish
478
+ required?: Booleanish
479
+ size?: Numberish
480
+ src?: string
481
+ step?: Numberish
482
+ type?: string
483
+ value?: any // we support :value to be bound to anything w/ v-model
484
+ width?: Numberish
485
+ }
486
+
487
+ export interface KeygenHTMLAttributes extends HTMLAttributes {
488
+ autofocus?: Booleanish
489
+ challenge?: string
490
+ disabled?: Booleanish
491
+ form?: string
492
+ keytype?: string
493
+ keyparams?: string
494
+ name?: string
495
+ }
496
+
497
+ export interface LabelHTMLAttributes extends HTMLAttributes {
498
+ for?: string
499
+ form?: string
500
+ }
501
+
502
+ export interface LiHTMLAttributes extends HTMLAttributes {
503
+ value?: string | string[] | number
504
+ }
505
+
506
+ export interface LinkHTMLAttributes extends HTMLAttributes {
507
+ as?: string
508
+ crossorigin?: string
509
+ href?: string
510
+ hreflang?: string
511
+ integrity?: string
512
+ media?: string
513
+ rel?: string
514
+ sizes?: string
515
+ type?: string
516
+ }
517
+
518
+ export interface MapHTMLAttributes extends HTMLAttributes {
519
+ name?: string
520
+ }
521
+
522
+ export interface MenuHTMLAttributes extends HTMLAttributes {
523
+ type?: string
524
+ }
525
+
526
+ export interface MediaHTMLAttributes extends HTMLAttributes {
527
+ autoplay?: Booleanish
528
+ controls?: Booleanish
529
+ controlslist?: string
530
+ crossorigin?: string
531
+ loop?: Booleanish
532
+ mediagroup?: string
533
+ muted?: Booleanish
534
+ playsinline?: Booleanish
535
+ preload?: string
536
+ src?: string
537
+ }
538
+
539
+ export interface MetaHTMLAttributes extends HTMLAttributes {
540
+ charset?: string
541
+ content?: string
542
+ httpequiv?: string
543
+ name?: string
544
+ }
545
+
546
+ export interface MeterHTMLAttributes extends HTMLAttributes {
547
+ form?: string
548
+ high?: Numberish
549
+ low?: Numberish
550
+ max?: Numberish
551
+ min?: Numberish
552
+ optimum?: Numberish
553
+ value?: string | string[] | number
554
+ }
555
+
556
+ export interface QuoteHTMLAttributes extends HTMLAttributes {
557
+ cite?: string
558
+ }
559
+
560
+ export interface ObjectHTMLAttributes extends HTMLAttributes {
561
+ classid?: string
562
+ data?: string
563
+ form?: string
564
+ height?: Numberish
565
+ name?: string
566
+ type?: string
567
+ usemap?: string
568
+ width?: Numberish
569
+ wmode?: string
570
+ }
571
+
572
+ export interface OlHTMLAttributes extends HTMLAttributes {
573
+ reversed?: Booleanish
574
+ start?: Numberish
575
+ type?: '1' | 'a' | 'A' | 'i' | 'I'
576
+ }
577
+
578
+ export interface OptgroupHTMLAttributes extends HTMLAttributes {
579
+ disabled?: Booleanish
580
+ label?: string
581
+ }
582
+
583
+ export interface OptionHTMLAttributes extends HTMLAttributes {
584
+ disabled?: Booleanish
585
+ label?: string
586
+ selected?: Booleanish
587
+ value?: any // we support :value to be bound to anything w/ v-model
588
+ }
589
+
590
+ export interface OutputHTMLAttributes extends HTMLAttributes {
591
+ for?: string
592
+ form?: string
593
+ name?: string
594
+ }
595
+
596
+ export interface ParamHTMLAttributes extends HTMLAttributes {
597
+ name?: string
598
+ value?: string | string[] | number
599
+ }
600
+
601
+ export interface ProgressHTMLAttributes extends HTMLAttributes {
602
+ max?: Numberish
603
+ value?: string | string[] | number
604
+ }
605
+
606
+ export interface ScriptHTMLAttributes extends HTMLAttributes {
607
+ async?: Booleanish
608
+ charset?: string
609
+ crossorigin?: string
610
+ defer?: Booleanish
611
+ integrity?: string
612
+ nomodule?: Booleanish
613
+ nonce?: string
614
+ src?: string
615
+ type?: string
616
+ }
617
+
618
+ export interface SelectHTMLAttributes extends HTMLAttributes {
619
+ autocomplete?: string
620
+ autofocus?: Booleanish
621
+ disabled?: Booleanish
622
+ form?: string
623
+ multiple?: Booleanish
624
+ name?: string
625
+ required?: Booleanish
626
+ size?: Numberish
627
+ value?: any // we support :value to be bound to anything w/ v-model
628
+ }
629
+
630
+ export interface SourceHTMLAttributes extends HTMLAttributes {
631
+ media?: string
632
+ sizes?: string
633
+ src?: string
634
+ srcset?: string
635
+ type?: string
636
+ }
637
+
638
+ export interface StyleHTMLAttributes extends HTMLAttributes {
639
+ media?: string
640
+ nonce?: string
641
+ scoped?: Booleanish
642
+ type?: string
643
+ }
644
+
645
+ export interface TableHTMLAttributes extends HTMLAttributes {
646
+ cellpadding?: Numberish
647
+ cellspacing?: Numberish
648
+ summary?: string
649
+ }
650
+
651
+ export interface TextareaHTMLAttributes extends HTMLAttributes {
652
+ autocomplete?: string
653
+ autofocus?: Booleanish
654
+ cols?: Numberish
655
+ dirname?: string
656
+ disabled?: Booleanish
657
+ form?: string
658
+ maxlength?: Numberish
659
+ minlength?: Numberish
660
+ name?: string
661
+ placeholder?: string
662
+ readonly?: boolean
663
+ required?: Booleanish
664
+ rows?: Numberish
665
+ value?: string | string[] | number
666
+ wrap?: string
667
+ }
668
+
669
+ export interface TdHTMLAttributes extends HTMLAttributes {
670
+ align?: 'left' | 'center' | 'right' | 'justify' | 'char'
671
+ colspan?: Numberish
672
+ headers?: string
673
+ rowspan?: Numberish
674
+ scope?: string
675
+ valign?: 'top' | 'middle' | 'bottom' | 'baseline'
676
+ }
677
+
678
+ export interface ThHTMLAttributes extends HTMLAttributes {
679
+ align?: 'left' | 'center' | 'right' | 'justify' | 'char'
680
+ colspan?: Numberish
681
+ headers?: string
682
+ rowspan?: Numberish
683
+ scope?: string
684
+ }
685
+
686
+ export interface TimeHTMLAttributes extends HTMLAttributes {
687
+ datetime?: string
688
+ }
689
+
690
+ export interface TrackHTMLAttributes extends HTMLAttributes {
691
+ default?: Booleanish
692
+ kind?: string
693
+ label?: string
694
+ src?: string
695
+ srclang?: string
696
+ }
697
+
698
+ export interface VideoHTMLAttributes extends MediaHTMLAttributes {
699
+ height?: Numberish
700
+ playsinline?: Booleanish
701
+ poster?: string
702
+ width?: Numberish
703
+ disablePictureInPicture?: Booleanish
704
+ }
705
+
706
+ export interface WebViewHTMLAttributes extends HTMLAttributes {
707
+ allowfullscreen?: Booleanish
708
+ allowpopups?: Booleanish
709
+ autoFocus?: Booleanish
710
+ autosize?: Booleanish
711
+ blinkfeatures?: string
712
+ disableblinkfeatures?: string
713
+ disableguestresize?: Booleanish
714
+ disablewebsecurity?: Booleanish
715
+ guestinstance?: string
716
+ httpreferrer?: string
717
+ nodeintegration?: Booleanish
718
+ partition?: string
719
+ plugins?: Booleanish
720
+ preload?: string
721
+ src?: string
722
+ useragent?: string
723
+ webpreferences?: string
724
+ }
725
+
726
+ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
727
+ innerHTML?: string
728
+
729
+ /**
730
+ * SVG Styling Attributes
731
+ * @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
732
+ */
733
+ class?: any
734
+ style?: StyleValue
735
+
736
+ color?: string
737
+ height?: Numberish
738
+ id?: string
739
+ lang?: string
740
+ max?: Numberish
741
+ media?: string
742
+ method?: string
743
+ min?: Numberish
744
+ name?: string
745
+ target?: string
746
+ type?: string
747
+ width?: Numberish
748
+
749
+ // Other HTML properties supported by SVG elements in browsers
750
+ role?: string
751
+ tabindex?: Numberish
752
+
753
+ // SVG Specific attributes
754
+ 'accent-height'?: Numberish
755
+ accumulate?: 'none' | 'sum'
756
+ additive?: 'replace' | 'sum'
757
+ 'alignment-baseline'?:
758
+ | 'auto'
759
+ | 'baseline'
760
+ | 'before-edge'
761
+ | 'text-before-edge'
762
+ | 'middle'
763
+ | 'central'
764
+ | 'after-edge'
765
+ | 'text-after-edge'
766
+ | 'ideographic'
767
+ | 'alphabetic'
768
+ | 'hanging'
769
+ | 'mathematical'
770
+ | 'inherit'
771
+ allowReorder?: 'no' | 'yes'
772
+ alphabetic?: Numberish
773
+ amplitude?: Numberish
774
+ 'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated'
775
+ ascent?: Numberish
776
+ attributeName?: string
777
+ attributeType?: string
778
+ autoReverse?: Numberish
779
+ azimuth?: Numberish
780
+ baseFrequency?: Numberish
781
+ 'baseline-shift'?: Numberish
782
+ baseProfile?: Numberish
783
+ bbox?: Numberish
784
+ begin?: Numberish
785
+ bias?: Numberish
786
+ by?: Numberish
787
+ calcMode?: Numberish
788
+ 'cap-height'?: Numberish
789
+ clip?: Numberish
790
+ 'clip-path'?: string
791
+ clipPathUnits?: Numberish
792
+ 'clip-rule'?: Numberish
793
+ 'color-interpolation'?: Numberish
794
+ 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit'
795
+ 'color-profile'?: Numberish
796
+ 'color-rendering'?: Numberish
797
+ contentScriptType?: Numberish
798
+ contentStyleType?: Numberish
799
+ cursor?: Numberish
800
+ cx?: Numberish
801
+ cy?: Numberish
802
+ d?: string
803
+ decelerate?: Numberish
804
+ descent?: Numberish
805
+ diffuseConstant?: Numberish
806
+ direction?: Numberish
807
+ display?: Numberish
808
+ divisor?: Numberish
809
+ 'dominant-baseline'?: Numberish
810
+ dur?: Numberish
811
+ dx?: Numberish
812
+ dy?: Numberish
813
+ edgeMode?: Numberish
814
+ elevation?: Numberish
815
+ 'enable-background'?: Numberish
816
+ end?: Numberish
817
+ exponent?: Numberish
818
+ externalResourcesRequired?: Numberish
819
+ fill?: string
820
+ 'fill-opacity'?: Numberish
821
+ 'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit'
822
+ filter?: string
823
+ filterRes?: Numberish
824
+ filterUnits?: Numberish
825
+ 'flood-color'?: Numberish
826
+ 'flood-opacity'?: Numberish
827
+ focusable?: Numberish
828
+ 'font-family'?: string
829
+ 'font-size'?: Numberish
830
+ 'font-size-adjust'?: Numberish
831
+ 'font-stretch'?: Numberish
832
+ 'font-style'?: Numberish
833
+ 'font-variant'?: Numberish
834
+ 'font-weight'?: Numberish
835
+ format?: Numberish
836
+ from?: Numberish
837
+ fx?: Numberish
838
+ fy?: Numberish
839
+ g1?: Numberish
840
+ g2?: Numberish
841
+ 'glyph-name'?: Numberish
842
+ 'glyph-orientation-horizontal'?: Numberish
843
+ 'glyph-orientation-vertical'?: Numberish
844
+ glyphRef?: Numberish
845
+ gradientTransform?: string
846
+ gradientUnits?: string
847
+ hanging?: Numberish
848
+ 'horiz-adv-x'?: Numberish
849
+ 'horiz-origin-x'?: Numberish
850
+ href?: string
851
+ ideographic?: Numberish
852
+ 'image-rendering'?: Numberish
853
+ in2?: Numberish
854
+ in?: string
855
+ intercept?: Numberish
856
+ k1?: Numberish
857
+ k2?: Numberish
858
+ k3?: Numberish
859
+ k4?: Numberish
860
+ k?: Numberish
861
+ kernelMatrix?: Numberish
862
+ kernelUnitLength?: Numberish
863
+ kerning?: Numberish
864
+ keyPoints?: Numberish
865
+ keySplines?: Numberish
866
+ keyTimes?: Numberish
867
+ lengthAdjust?: Numberish
868
+ 'letter-spacing'?: Numberish
869
+ 'lighting-color'?: Numberish
870
+ limitingConeAngle?: Numberish
871
+ local?: Numberish
872
+ 'marker-end'?: string
873
+ markerHeight?: Numberish
874
+ 'marker-mid'?: string
875
+ 'marker-start'?: string
876
+ markerUnits?: Numberish
877
+ markerWidth?: Numberish
878
+ mask?: string
879
+ maskContentUnits?: Numberish
880
+ maskUnits?: Numberish
881
+ mathematical?: Numberish
882
+ mode?: Numberish
883
+ numOctaves?: Numberish
884
+ offset?: Numberish
885
+ opacity?: Numberish
886
+ operator?: Numberish
887
+ order?: Numberish
888
+ orient?: Numberish
889
+ orientation?: Numberish
890
+ origin?: Numberish
891
+ overflow?: Numberish
892
+ 'overline-position'?: Numberish
893
+ 'overline-thickness'?: Numberish
894
+ 'paint-order'?: Numberish
895
+ 'panose-1'?: Numberish
896
+ pathLength?: Numberish
897
+ patternContentUnits?: string
898
+ patternTransform?: Numberish
899
+ patternUnits?: string
900
+ 'pointer-events'?: Numberish
901
+ points?: string
902
+ pointsAtX?: Numberish
903
+ pointsAtY?: Numberish
904
+ pointsAtZ?: Numberish
905
+ preserveAlpha?: Numberish
906
+ preserveAspectRatio?: string
907
+ primitiveUnits?: Numberish
908
+ r?: Numberish
909
+ radius?: Numberish
910
+ refX?: Numberish
911
+ refY?: Numberish
912
+ renderingIntent?: Numberish
913
+ repeatCount?: Numberish
914
+ repeatDur?: Numberish
915
+ requiredExtensions?: Numberish
916
+ requiredFeatures?: Numberish
917
+ restart?: Numberish
918
+ result?: string
919
+ rotate?: Numberish
920
+ rx?: Numberish
921
+ ry?: Numberish
922
+ scale?: Numberish
923
+ seed?: Numberish
924
+ 'shape-rendering'?: Numberish
925
+ slope?: Numberish
926
+ spacing?: Numberish
927
+ specularConstant?: Numberish
928
+ specularExponent?: Numberish
929
+ speed?: Numberish
930
+ spreadMethod?: string
931
+ startOffset?: Numberish
932
+ stdDeviation?: Numberish
933
+ stemh?: Numberish
934
+ stemv?: Numberish
935
+ stitchTiles?: Numberish
936
+ 'stop-color'?: string
937
+ 'stop-opacity'?: Numberish
938
+ 'strikethrough-position'?: Numberish
939
+ 'strikethrough-thickness'?: Numberish
940
+ string?: Numberish
941
+ stroke?: string
942
+ 'stroke-dasharray'?: Numberish
943
+ 'stroke-dashoffset'?: Numberish
944
+ 'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit'
945
+ 'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit'
946
+ 'stroke-miterlimit'?: Numberish
947
+ 'stroke-opacity'?: Numberish
948
+ 'stroke-width'?: Numberish
949
+ surfaceScale?: Numberish
950
+ systemLanguage?: Numberish
951
+ tableValues?: Numberish
952
+ targetX?: Numberish
953
+ targetY?: Numberish
954
+ 'text-anchor'?: string
955
+ 'text-decoration'?: Numberish
956
+ textLength?: Numberish
957
+ 'text-rendering'?: Numberish
958
+ to?: Numberish
959
+ transform?: string
960
+ u1?: Numberish
961
+ u2?: Numberish
962
+ 'underline-position'?: Numberish
963
+ 'underline-thickness'?: Numberish
964
+ unicode?: Numberish
965
+ 'unicode-bidi'?: Numberish
966
+ 'unicode-range'?: Numberish
967
+ 'unitsPer-em'?: Numberish
968
+ 'v-alphabetic'?: Numberish
969
+ values?: string
970
+ 'vector-effect'?: Numberish
971
+ version?: string
972
+ 'vert-adv-y'?: Numberish
973
+ 'vert-origin-x'?: Numberish
974
+ 'vert-origin-y'?: Numberish
975
+ 'v-hanging'?: Numberish
976
+ 'v-ideographic'?: Numberish
977
+ viewBox?: string
978
+ viewTarget?: Numberish
979
+ visibility?: Numberish
980
+ 'v-mathematical'?: Numberish
981
+ widths?: Numberish
982
+ 'word-spacing'?: Numberish
983
+ 'writing-mode'?: Numberish
984
+ x1?: Numberish
985
+ x2?: Numberish
986
+ x?: Numberish
987
+ xChannelSelector?: string
988
+ 'x-height'?: Numberish
989
+ xlinkActuate?: string
990
+ xlinkArcrole?: string
991
+ xlinkHref?: string
992
+ xlinkRole?: string
993
+ xlinkShow?: string
994
+ xlinkTitle?: string
995
+ xlinkType?: string
996
+ xmlns?: string
997
+ y1?: Numberish
998
+ y2?: Numberish
999
+ y?: Numberish
1000
+ yChannelSelector?: string
1001
+ z?: Numberish
1002
+ zoomAndPan?: string
1003
+ }
1004
+
1005
+ interface IntrinsicElementAttributes {
1006
+ a: AnchorHTMLAttributes
1007
+ abbr: HTMLAttributes
1008
+ address: HTMLAttributes
1009
+ area: AreaHTMLAttributes
1010
+ article: HTMLAttributes
1011
+ aside: HTMLAttributes
1012
+ audio: AudioHTMLAttributes
1013
+ b: HTMLAttributes
1014
+ base: BaseHTMLAttributes
1015
+ bdi: HTMLAttributes
1016
+ bdo: HTMLAttributes
1017
+ blockquote: BlockquoteHTMLAttributes
1018
+ body: HTMLAttributes
1019
+ br: HTMLAttributes
1020
+ button: ButtonHTMLAttributes
1021
+ canvas: CanvasHTMLAttributes
1022
+ caption: HTMLAttributes
1023
+ cite: HTMLAttributes
1024
+ code: HTMLAttributes
1025
+ col: ColHTMLAttributes
1026
+ colgroup: ColgroupHTMLAttributes
1027
+ data: DataHTMLAttributes
1028
+ datalist: HTMLAttributes
1029
+ dd: HTMLAttributes
1030
+ del: DelHTMLAttributes
1031
+ details: DetailsHTMLAttributes
1032
+ dfn: HTMLAttributes
1033
+ dialog: DialogHTMLAttributes
1034
+ div: HTMLAttributes
1035
+ dl: HTMLAttributes
1036
+ dt: HTMLAttributes
1037
+ em: HTMLAttributes
1038
+ embed: EmbedHTMLAttributes
1039
+ fieldset: FieldsetHTMLAttributes
1040
+ figcaption: HTMLAttributes
1041
+ figure: HTMLAttributes
1042
+ footer: HTMLAttributes
1043
+ form: FormHTMLAttributes
1044
+ h1: HTMLAttributes
1045
+ h2: HTMLAttributes
1046
+ h3: HTMLAttributes
1047
+ h4: HTMLAttributes
1048
+ h5: HTMLAttributes
1049
+ h6: HTMLAttributes
1050
+ head: HTMLAttributes
1051
+ header: HTMLAttributes
1052
+ hgroup: HTMLAttributes
1053
+ hr: HTMLAttributes
1054
+ html: HtmlHTMLAttributes
1055
+ i: HTMLAttributes
1056
+ iframe: IframeHTMLAttributes
1057
+ img: ImgHTMLAttributes
1058
+ input: InputHTMLAttributes
1059
+ ins: InsHTMLAttributes
1060
+ kbd: HTMLAttributes
1061
+ keygen: KeygenHTMLAttributes
1062
+ label: LabelHTMLAttributes
1063
+ legend: HTMLAttributes
1064
+ li: LiHTMLAttributes
1065
+ link: LinkHTMLAttributes
1066
+ main: HTMLAttributes
1067
+ map: MapHTMLAttributes
1068
+ mark: HTMLAttributes
1069
+ menu: MenuHTMLAttributes
1070
+ meta: MetaHTMLAttributes
1071
+ meter: MeterHTMLAttributes
1072
+ nav: HTMLAttributes
1073
+ noindex: HTMLAttributes
1074
+ noscript: HTMLAttributes
1075
+ object: ObjectHTMLAttributes
1076
+ ol: OlHTMLAttributes
1077
+ optgroup: OptgroupHTMLAttributes
1078
+ option: OptionHTMLAttributes
1079
+ output: OutputHTMLAttributes
1080
+ p: HTMLAttributes
1081
+ param: ParamHTMLAttributes
1082
+ picture: HTMLAttributes
1083
+ pre: HTMLAttributes
1084
+ progress: ProgressHTMLAttributes
1085
+ q: QuoteHTMLAttributes
1086
+ rp: HTMLAttributes
1087
+ rt: HTMLAttributes
1088
+ ruby: HTMLAttributes
1089
+ s: HTMLAttributes
1090
+ samp: HTMLAttributes
1091
+ script: ScriptHTMLAttributes
1092
+ section: HTMLAttributes
1093
+ select: SelectHTMLAttributes
1094
+ small: HTMLAttributes
1095
+ source: SourceHTMLAttributes
1096
+ span: HTMLAttributes
1097
+ strong: HTMLAttributes
1098
+ style: StyleHTMLAttributes
1099
+ sub: HTMLAttributes
1100
+ summary: HTMLAttributes
1101
+ sup: HTMLAttributes
1102
+ table: TableHTMLAttributes
1103
+ template: HTMLAttributes
1104
+ tbody: HTMLAttributes
1105
+ td: TdHTMLAttributes
1106
+ textarea: TextareaHTMLAttributes
1107
+ tfoot: HTMLAttributes
1108
+ th: ThHTMLAttributes
1109
+ thead: HTMLAttributes
1110
+ time: TimeHTMLAttributes
1111
+ title: HTMLAttributes
1112
+ tr: HTMLAttributes
1113
+ track: TrackHTMLAttributes
1114
+ u: HTMLAttributes
1115
+ ul: HTMLAttributes
1116
+ var: HTMLAttributes
1117
+ video: VideoHTMLAttributes
1118
+ wbr: HTMLAttributes
1119
+ webview: WebViewHTMLAttributes
1120
+
1121
+ // SVG
1122
+ svg: SVGAttributes
1123
+
1124
+ animate: SVGAttributes
1125
+ animateMotion: SVGAttributes
1126
+ animateTransform: SVGAttributes
1127
+ circle: SVGAttributes
1128
+ clipPath: SVGAttributes
1129
+ defs: SVGAttributes
1130
+ desc: SVGAttributes
1131
+ ellipse: SVGAttributes
1132
+ feBlend: SVGAttributes
1133
+ feColorMatrix: SVGAttributes
1134
+ feComponentTransfer: SVGAttributes
1135
+ feComposite: SVGAttributes
1136
+ feConvolveMatrix: SVGAttributes
1137
+ feDiffuseLighting: SVGAttributes
1138
+ feDisplacementMap: SVGAttributes
1139
+ feDistantLight: SVGAttributes
1140
+ feDropShadow: SVGAttributes
1141
+ feFlood: SVGAttributes
1142
+ feFuncA: SVGAttributes
1143
+ feFuncB: SVGAttributes
1144
+ feFuncG: SVGAttributes
1145
+ feFuncR: SVGAttributes
1146
+ feGaussianBlur: SVGAttributes
1147
+ feImage: SVGAttributes
1148
+ feMerge: SVGAttributes
1149
+ feMergeNode: SVGAttributes
1150
+ feMorphology: SVGAttributes
1151
+ feOffset: SVGAttributes
1152
+ fePointLight: SVGAttributes
1153
+ feSpecularLighting: SVGAttributes
1154
+ feSpotLight: SVGAttributes
1155
+ feTile: SVGAttributes
1156
+ feTurbulence: SVGAttributes
1157
+ filter: SVGAttributes
1158
+ foreignObject: SVGAttributes
1159
+ g: SVGAttributes
1160
+ image: SVGAttributes
1161
+ line: SVGAttributes
1162
+ linearGradient: SVGAttributes
1163
+ marker: SVGAttributes
1164
+ mask: SVGAttributes
1165
+ metadata: SVGAttributes
1166
+ mpath: SVGAttributes
1167
+ path: SVGAttributes
1168
+ pattern: SVGAttributes
1169
+ polygon: SVGAttributes
1170
+ polyline: SVGAttributes
1171
+ radialGradient: SVGAttributes
1172
+ rect: SVGAttributes
1173
+ stop: SVGAttributes
1174
+ switch: SVGAttributes
1175
+ symbol: SVGAttributes
1176
+ text: SVGAttributes
1177
+ textPath: SVGAttributes
1178
+ tspan: SVGAttributes
1179
+ use: SVGAttributes
1180
+ view: SVGAttributes
1181
+ }
1182
+
1183
+ export interface Events {
1184
+ // clipboard events
1185
+ onCopy: ClipboardEvent
1186
+ onCut: ClipboardEvent
1187
+ onPaste: ClipboardEvent
1188
+
1189
+ // composition events
1190
+ onCompositionend: CompositionEvent
1191
+ onCompositionstart: CompositionEvent
1192
+ onCompositionupdate: CompositionEvent
1193
+
1194
+ // drag drop events
1195
+ onDrag: DragEvent
1196
+ onDragend: DragEvent
1197
+ onDragenter: DragEvent
1198
+ onDragexit: DragEvent
1199
+ onDragleave: DragEvent
1200
+ onDragover: DragEvent
1201
+ onDragstart: DragEvent
1202
+ onDrop: DragEvent
1203
+
1204
+ // focus events
1205
+ onFocus: FocusEvent
1206
+ onFocusin: FocusEvent
1207
+ onFocusout: FocusEvent
1208
+ onBlur: FocusEvent
1209
+
1210
+ // form events
1211
+ onChange: Event
1212
+ onBeforeinput: Event
1213
+ onInput: Event
1214
+ onReset: Event
1215
+ onSubmit: Event
1216
+ onInvalid: Event
1217
+
1218
+ // image events
1219
+ onLoad: Event
1220
+ onError: Event
1221
+
1222
+ // keyboard events
1223
+ onKeydown: KeyboardEvent
1224
+ onKeypress: KeyboardEvent
1225
+ onKeyup: KeyboardEvent
1226
+
1227
+ // mouse events
1228
+ onAuxclick: MouseEvent
1229
+ onClick: MouseEvent
1230
+ onContextmenu: MouseEvent
1231
+ onDblclick: MouseEvent
1232
+ onMousedown: MouseEvent
1233
+ onMouseenter: MouseEvent
1234
+ onMouseleave: MouseEvent
1235
+ onMousemove: MouseEvent
1236
+ onMouseout: MouseEvent
1237
+ onMouseover: MouseEvent
1238
+ onMouseup: MouseEvent
1239
+
1240
+ // media events
1241
+ onAbort: Event
1242
+ onCanplay: Event
1243
+ onCanplaythrough: Event
1244
+ onDurationchange: Event
1245
+ onEmptied: Event
1246
+ onEncrypted: Event
1247
+ onEnded: Event
1248
+ onLoadeddata: Event
1249
+ onLoadedmetadata: Event
1250
+ onLoadstart: Event
1251
+ onPause: Event
1252
+ onPlay: Event
1253
+ onPlaying: Event
1254
+ onProgress: Event
1255
+ onRatechange: Event
1256
+ onSeeked: Event
1257
+ onSeeking: Event
1258
+ onStalled: Event
1259
+ onSuspend: Event
1260
+ onTimeupdate: Event
1261
+ onVolumechange: Event
1262
+ onWaiting: Event
1263
+
1264
+ // selection events
1265
+ onSelect: Event
1266
+
1267
+ // UI events
1268
+ onScroll: UIEvent
1269
+
1270
+ // touch events
1271
+ onTouchcancel: TouchEvent
1272
+ onTouchend: TouchEvent
1273
+ onTouchmove: TouchEvent
1274
+ onTouchstart: TouchEvent
1275
+
1276
+ // pointer events
1277
+ onPointerdown: PointerEvent
1278
+ onPointermove: PointerEvent
1279
+ onPointerup: PointerEvent
1280
+ onPointercancel: PointerEvent
1281
+ onPointerenter: PointerEvent
1282
+ onPointerleave: PointerEvent
1283
+ onPointerover: PointerEvent
1284
+ onPointerout: PointerEvent
1285
+
1286
+ // wheel events
1287
+ onWheel: WheelEvent
1288
+
1289
+ // animation events
1290
+ onAnimationstart: AnimationEvent
1291
+ onAnimationend: AnimationEvent
1292
+ onAnimationiteration: AnimationEvent
1293
+
1294
+ // transition events
1295
+ onTransitionend: TransitionEvent
1296
+ onTransitionstart: TransitionEvent
1297
+ }
1298
+
1299
+ type EventHandlers<E> = {
1300
+ [K in keyof E]?: E[K] extends (...args: any) => any
1301
+ ? E[K]
1302
+ : (payload: E[K]) => void
1303
+ }
1304
+
1305
+ type ReservedProps = {
1306
+ key?: string | number | symbol
1307
+ ref?: VNodeData['ref']
1308
+ /**
1309
+ * @deprecated Old named slot syntax has been deprecated, use the new syntax
1310
+ * instead: `<template v-slot:name>`
1311
+ * https://v2.vuejs.org/v2/guide/components-slots.html#Named-Slots
1312
+ */
1313
+ slot?: string
1314
+ }
1315
+
1316
+ type ElementAttrs<T> = T & ReservedProps
1317
+
1318
+ type NativeElements = {
1319
+ [K in keyof IntrinsicElementAttributes]: ElementAttrs<
1320
+ IntrinsicElementAttributes[K]
1321
+ >
1322
+ }
1323
+
1324
+ import {
1325
+ VNode,
1326
+ VNodeData,
1327
+ ComponentCustomProps,
1328
+ AllowedComponentProps
1329
+ } from './vnode'
1330
+
1331
+ declare global {
1332
+ namespace JSX {
1333
+ interface Element extends VNode {}
1334
+ interface ElementClass {
1335
+ $props: {}
1336
+ }
1337
+ interface ElementAttributesProperty {
1338
+ $props: {}
1339
+ }
1340
+ interface IntrinsicElements extends NativeElements {
1341
+ // allow arbitrary elements
1342
+ // @ts-ignore suppress ts:2374 = Duplicate string index signature.
1343
+ [name: string]: any
1344
+ }
1345
+ interface IntrinsicAttributes
1346
+ extends ReservedProps,
1347
+ AllowedComponentProps,
1348
+ ComponentCustomProps {}
1349
+ }
1350
+ }
1351
+
1352
+ // suppress ts:2669
1353
+ export {}