hyperscript-rxjs 1.3.14 → 1.3.15

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 (279) hide show
  1. package/package.json +13 -22
  2. package/src/array/advance.d.ts +9 -0
  3. package/src/array/advance.js +13 -0
  4. package/src/array/advance.test.js +12 -0
  5. package/src/array/arrayInsert.d.ts +8 -0
  6. package/src/array/arrayInsert.js +13 -0
  7. package/src/array/arrayInsert.test.js +13 -0
  8. package/src/array/arrayRemove.d.ts +7 -0
  9. package/src/array/arrayRemove.js +15 -0
  10. package/src/array/arrayRemove.test.js +13 -0
  11. package/src/array/findLastIndex.d.ts +14 -0
  12. package/src/array/findLastIndex.js +20 -0
  13. package/src/array/findLastIndex.test.js +41 -0
  14. package/src/array/index.d.ts +9 -0
  15. package/src/array/index.js +9 -0
  16. package/src/array/isRange.d.ts +7 -0
  17. package/src/array/isRange.js +15 -0
  18. package/src/array/isRange.test.js +6 -0
  19. package/src/array/rangeArray.d.ts +7 -0
  20. package/src/array/rangeArray.js +10 -0
  21. package/src/array/rangeArray.test.js +11 -0
  22. package/src/array/unwrapArgs.d.ts +10 -0
  23. package/src/array/unwrapArgs.js +15 -0
  24. package/src/array/unwrapArgs.test.js +33 -0
  25. package/src/array/zipArray.d.ts +11 -0
  26. package/src/array/zipArray.js +24 -0
  27. package/src/array/zipArray.test.js +16 -0
  28. package/src/comparers/Comparer.d.ts +101 -0
  29. package/src/comparers/Comparer.js +149 -0
  30. package/src/comparers/comparers.d.ts +21 -0
  31. package/src/comparers/comparers.js +10 -0
  32. package/src/comparers/differenceSet.d.ts +20 -0
  33. package/src/comparers/differenceSet.js +35 -0
  34. package/src/comparers/differenceSet.test.js +11 -0
  35. package/src/comparers/distinctArray.d.ts +13 -0
  36. package/src/comparers/distinctArray.js +30 -0
  37. package/src/comparers/distinctArray.test.js +10 -0
  38. package/src/comparers/findIndexInSet.d.ts +20 -0
  39. package/src/comparers/findIndexInSet.js +27 -0
  40. package/src/comparers/findIndexInSet.test.js +8 -0
  41. package/src/comparers/groupArrayBy.d.ts +19 -0
  42. package/src/comparers/groupArrayBy.js +29 -0
  43. package/src/comparers/groupArrayBy.test.js +38 -0
  44. package/src/comparers/groupSortedEntries.d.ts +17 -0
  45. package/src/comparers/groupSortedEntries.js +38 -0
  46. package/src/comparers/groupSortedEntries.test.js +46 -0
  47. package/src/comparers/index.d.ts +14 -0
  48. package/src/comparers/index.js +14 -0
  49. package/src/comparers/intersectSet.d.ts +19 -0
  50. package/src/comparers/intersectSet.js +35 -0
  51. package/src/comparers/intersectSet.test.js +14 -0
  52. package/src/comparers/isEqualset.d.ts +22 -0
  53. package/src/comparers/isEqualset.js +33 -0
  54. package/src/comparers/isEqualset.test.js +22 -0
  55. package/src/comparers/isSubset.d.ts +21 -0
  56. package/src/comparers/isSubset.js +33 -0
  57. package/src/comparers/isSubset.test.js +21 -0
  58. package/src/comparers/isSuperset.d.ts +21 -0
  59. package/src/comparers/isSuperset.js +13 -0
  60. package/src/comparers/isSuperset.test.js +21 -0
  61. package/src/comparers/sortedArrayToSet.d.ts +20 -0
  62. package/src/comparers/sortedArrayToSet.js +35 -0
  63. package/src/comparers/sortedArrayToSet.test.js +11 -0
  64. package/src/comparers/unionSet.d.ts +21 -0
  65. package/src/comparers/unionSet.js +34 -0
  66. package/src/comparers/unionSet.test.js +11 -0
  67. package/src/comparison/compareDate.d.ts +8 -0
  68. package/src/comparison/compareDate.js +11 -0
  69. package/src/comparison/compareEntries.d.ts +13 -0
  70. package/src/comparison/compareEntries.js +13 -0
  71. package/src/comparison/compareKey.d.ts +11 -0
  72. package/src/comparison/compareKey.js +25 -0
  73. package/src/comparison/compareKey.test.js +21 -0
  74. package/src/comparison/compareKeyPath.d.ts +15 -0
  75. package/src/comparison/compareKeyPath.js +33 -0
  76. package/src/comparison/compareKeyPath.test.js +28 -0
  77. package/src/comparison/compareNumber.d.ts +11 -0
  78. package/src/comparison/compareNumber.js +27 -0
  79. package/src/comparison/compareNumber.test.js +21 -0
  80. package/src/comparison/defaultCompare.d.ts +8 -0
  81. package/src/comparison/defaultCompare.js +12 -0
  82. package/src/comparison/defaultCompare.test.js +24 -0
  83. package/src/comparison/index.d.ts +7 -0
  84. package/src/comparison/index.js +7 -0
  85. package/src/comparison/infinity.test.js +122 -0
  86. package/src/comparison/typeof.test.js +64 -0
  87. package/src/comparison/types.d.ts +5 -0
  88. package/src/comparison/types.js +11 -0
  89. package/src/deep/Deep.d.ts +58 -0
  90. package/src/deep/Deep.js +267 -0
  91. package/src/deep/Deep.test.js +130 -0
  92. package/src/deep/deepCombineLatest.test.js +36 -0
  93. package/src/deep/deepMerge.test.js +34 -0
  94. package/src/deep/differenceDeep.test.js +31 -0
  95. package/src/deep/freshValueDeep.test.js +17 -0
  96. package/src/deep/index.d.ts +1 -0
  97. package/src/deep/index.js +2 -0
  98. package/src/deep/intersectDeep.test.js +25 -0
  99. package/src/deep/intersectEntries.d.ts +13 -0
  100. package/src/deep/intersectEntries.js +37 -0
  101. package/src/deep/intersectEntries.test.js +20 -0
  102. package/src/deep/objectToDeep.test.js +31 -0
  103. package/src/deep/replaceValueDeep.test.js +21 -0
  104. package/src/deep/unionDeep.test.js +30 -0
  105. package/src/deep/zipValueDeep.test.js +21 -0
  106. package/src/deep-rxjs/ObservableArray.d.ts +55 -0
  107. package/src/deep-rxjs/ObservableArray.js +94 -0
  108. package/src/deep-rxjs/ObservableArray.test.js +117 -0
  109. package/src/deep-rxjs/index.d.ts +2 -0
  110. package/src/deep-rxjs/index.js +2 -0
  111. package/src/deep-rxjs/isRxType.d.ts +9 -0
  112. package/src/deep-rxjs/isRxType.js +15 -0
  113. package/src/deep-rxjs/isRxType.test.js +43 -0
  114. package/src/hyperscript-rxjs/HyperscriptExtensions.d.ts +20 -0
  115. package/src/hyperscript-rxjs/checkbox.d.ts +13 -0
  116. package/src/hyperscript-rxjs/checkbox.js +47 -0
  117. package/src/hyperscript-rxjs/checkbox.test.js +68 -0
  118. package/src/hyperscript-rxjs/choice.d.ts +13 -0
  119. package/src/hyperscript-rxjs/choice.js +24 -0
  120. package/src/hyperscript-rxjs/choice.test.js +108 -0
  121. package/src/hyperscript-rxjs/collapse.d.ts +14 -0
  122. package/src/hyperscript-rxjs/collapse.js +32 -0
  123. package/src/hyperscript-rxjs/collapse.test.js +67 -0
  124. package/src/hyperscript-rxjs/displays/blockLevelFamily.d.ts +5 -0
  125. package/src/hyperscript-rxjs/displays/blockLevelFamily.js +51 -0
  126. package/src/hyperscript-rxjs/displays/getDisplay.d.ts +7 -0
  127. package/src/hyperscript-rxjs/displays/getDisplay.js +51 -0
  128. package/src/hyperscript-rxjs/displays/getDisplay.test.js +56 -0
  129. package/src/hyperscript-rxjs/displays/index.d.ts +3 -0
  130. package/src/hyperscript-rxjs/displays/index.js +3 -0
  131. package/src/hyperscript-rxjs/displays/inlineFamily.d.ts +5 -0
  132. package/src/hyperscript-rxjs/displays/inlineFamily.js +73 -0
  133. package/src/hyperscript-rxjs/flip.d.ts +15 -0
  134. package/src/hyperscript-rxjs/flip.js +29 -0
  135. package/src/hyperscript-rxjs/flip.test.js +85 -0
  136. package/src/hyperscript-rxjs/fragment.d.ts +10 -0
  137. package/src/hyperscript-rxjs/fragment.js +22 -0
  138. package/src/hyperscript-rxjs/fragment.test.js +70 -0
  139. package/src/hyperscript-rxjs/hyperscript.d.ts +15 -0
  140. package/src/hyperscript-rxjs/hyperscript.js +170 -0
  141. package/src/hyperscript-rxjs/hyperscript.test.js +75 -0
  142. package/src/hyperscript-rxjs/index.d.ts +19 -0
  143. package/src/hyperscript-rxjs/index.js +19 -0
  144. package/src/hyperscript-rxjs/multiselect.d.ts +18 -0
  145. package/src/hyperscript-rxjs/multiselect.js +41 -0
  146. package/src/hyperscript-rxjs/multiselect.test.js +121 -0
  147. package/src/hyperscript-rxjs/numberbox.d.ts +14 -0
  148. package/src/hyperscript-rxjs/numberbox.js +73 -0
  149. package/src/hyperscript-rxjs/numberbox.test.js +84 -0
  150. package/src/hyperscript-rxjs/radio.d.ts +15 -0
  151. package/src/hyperscript-rxjs/radio.js +53 -0
  152. package/src/hyperscript-rxjs/radio.test.js +59 -0
  153. package/src/hyperscript-rxjs/select.d.ts +28 -0
  154. package/src/hyperscript-rxjs/select.js +88 -0
  155. package/src/hyperscript-rxjs/select.test.js +101 -0
  156. package/src/hyperscript-rxjs/tabControls/bindTabIndex.d.ts +12 -0
  157. package/src/hyperscript-rxjs/tabControls/bindTabIndex.js +59 -0
  158. package/src/hyperscript-rxjs/tabControls/index.d.ts +8 -0
  159. package/src/hyperscript-rxjs/tabControls/index.js +10 -0
  160. package/src/hyperscript-rxjs/tabControls/tabControl.d.ts +19 -0
  161. package/src/hyperscript-rxjs/tabControls/tabControl.js +40 -0
  162. package/src/hyperscript-rxjs/tabControls/tabControl.test.js +98 -0
  163. package/src/hyperscript-rxjs/tabControls/tabNavItem.d.ts +9 -0
  164. package/src/hyperscript-rxjs/tabControls/tabNavItem.js +30 -0
  165. package/src/hyperscript-rxjs/tabControls/tabPanel.d.ts +9 -0
  166. package/src/hyperscript-rxjs/tabControls/tabPanel.js +21 -0
  167. package/src/hyperscript-rxjs/tabControls/tabRoot.d.ts +7 -0
  168. package/src/hyperscript-rxjs/tabControls/tabRoot.js +26 -0
  169. package/src/hyperscript-rxjs/tags.d.ts +193 -0
  170. package/src/hyperscript-rxjs/tags.js +751 -0
  171. package/src/hyperscript-rxjs/tags.test.js +75 -0
  172. package/src/hyperscript-rxjs/textNode.d.ts +11 -0
  173. package/src/hyperscript-rxjs/textNode.js +51 -0
  174. package/src/hyperscript-rxjs/textNode.test.js +56 -0
  175. package/src/hyperscript-rxjs/textarea.d.ts +17 -0
  176. package/src/hyperscript-rxjs/textarea.js +45 -0
  177. package/src/hyperscript-rxjs/textarea.test.js +52 -0
  178. package/src/hyperscript-rxjs/textbox.d.ts +15 -0
  179. package/src/hyperscript-rxjs/textbox.js +42 -0
  180. package/src/hyperscript-rxjs/textbox.test.js +52 -0
  181. package/src/index.d.ts +19 -0
  182. package/src/index.js +19 -0
  183. package/src/nodes/attachSubscriptionToNode.d.ts +13 -0
  184. package/src/nodes/attachSubscriptionToNode.js +25 -0
  185. package/src/nodes/attachSubscriptionToNode.test.js +73 -0
  186. package/src/nodes/index.d.ts +6 -0
  187. package/src/nodes/index.js +6 -0
  188. package/src/nodes/normalizeChildNodes.d.ts +9 -0
  189. package/src/nodes/normalizeChildNodes.js +15 -0
  190. package/src/nodes/normalizeChildNodes.test.js +55 -0
  191. package/src/nodes/parseHyperscriptArgs.d.ts +10 -0
  192. package/src/nodes/parseHyperscriptArgs.js +57 -0
  193. package/src/nodes/parseHyperscriptArgs.test.js +85 -0
  194. package/src/nodes/pipeEvent.d.ts +15 -0
  195. package/src/nodes/pipeEvent.js +49 -0
  196. package/src/nodes/pipeEvent.test.js +97 -0
  197. package/src/nodes/subscribeEvent.d.ts +15 -0
  198. package/src/nodes/subscribeEvent.js +56 -0
  199. package/src/nodes/subscribeEvent.test.js +88 -0
  200. package/src/object/index.d.ts +10 -0
  201. package/src/object/index.js +11 -0
  202. package/src/object/intersectObject.d.ts +12 -0
  203. package/src/object/intersectObject.js +23 -0
  204. package/src/object/intersectObject.test.js +69 -0
  205. package/src/object/isEmptyObject.d.ts +7 -0
  206. package/src/object/isEmptyObject.js +13 -0
  207. package/src/object/isEmptyObject.test.js +33 -0
  208. package/src/object/isPlainObject.d.ts +11 -0
  209. package/src/object/isPlainObject.js +18 -0
  210. package/src/object/nestedCombineLatest.d.ts +11 -0
  211. package/src/object/nestedCombineLatest.js +18 -0
  212. package/src/object/nestedCombineLatest.test.js +25 -0
  213. package/src/object/nestedMerge.d.ts +11 -0
  214. package/src/object/nestedMerge.js +11 -0
  215. package/src/object/nestedMerge.test.js +61 -0
  216. package/src/object/pickBehaviorSubject.d.ts +13 -0
  217. package/src/object/pickBehaviorSubject.js +81 -0
  218. package/src/object/pickBehaviorSubject.test.js +88 -0
  219. package/src/object/pluckProperty.d.ts +13 -0
  220. package/src/object/pluckProperty.js +24 -0
  221. package/src/object/pluckProperty.test.js +37 -0
  222. package/src/object/restore.d.ts +12 -0
  223. package/src/object/restore.js +69 -0
  224. package/src/object/restore.test.js +124 -0
  225. package/src/object/splitObjectByObservable.d.ts +12 -0
  226. package/src/object/splitObjectByObservable.js +41 -0
  227. package/src/object/splitObjectByObservable.test.js +78 -0
  228. package/src/props/getNestedProperty.d.ts +12 -0
  229. package/src/props/getNestedProperty.js +31 -0
  230. package/src/props/getNestedProperty.test.js +72 -0
  231. package/src/props/index.d.ts +7 -0
  232. package/src/props/index.js +7 -0
  233. package/src/props/parsePropName.d.ts +13 -0
  234. package/src/props/parsePropName.js +45 -0
  235. package/src/props/parsePropName.test.js +67 -0
  236. package/src/props/setProp.d.ts +16 -0
  237. package/src/props/setProp.js +42 -0
  238. package/src/props/setProp.test.js +59 -0
  239. package/src/props/setProps.d.ts +14 -0
  240. package/src/props/setProps.js +47 -0
  241. package/src/props/setProps.test.js +97 -0
  242. package/src/props/subscribeProp.d.ts +16 -0
  243. package/src/props/subscribeProp.js +47 -0
  244. package/src/props/subscribeProp.test.js +81 -0
  245. package/src/ramda/compose.d.ts +10 -0
  246. package/src/ramda/compose.js +36 -0
  247. package/src/ramda/compose.test.js +73 -0
  248. package/src/ramda/cond.d.ts +12 -0
  249. package/src/ramda/cond.js +29 -0
  250. package/src/ramda/cond.test.js +88 -0
  251. package/src/ramda/fold.d.ts +13 -0
  252. package/src/ramda/fold.js +20 -0
  253. package/src/ramda/fold.test.js +51 -0
  254. package/src/ramda/index.d.ts +6 -0
  255. package/src/ramda/index.js +6 -0
  256. package/src/ramda/pipe.d.ts +13 -0
  257. package/src/ramda/pipe.js +27 -0
  258. package/src/ramda/pipe.test.js +77 -0
  259. package/src/ramda/unfold.d.ts +11 -0
  260. package/src/ramda/unfold.js +20 -0
  261. package/src/ramda/unfold.test.js +29 -0
  262. package/src/unquoted-json/ajax.test.js +1074 -0
  263. package/src/unquoted-json/index.d.ts +13 -0
  264. package/src/unquoted-json/index.js +12 -0
  265. package/src/unquoted-json/queryStringify.d.ts +8 -0
  266. package/src/unquoted-json/queryStringify.js +70 -0
  267. package/src/unquoted-json/queryStringify.test.js +110 -0
  268. package/src/unquoted-json/stringifyKey.d.ts +7 -0
  269. package/src/unquoted-json/stringifyKey.js +16 -0
  270. package/src/unquoted-json/stringifyKey.test.js +51 -0
  271. package/src/unquoted-json/stringifyStringValue.d.ts +7 -0
  272. package/src/unquoted-json/stringifyStringValue.js +17 -0
  273. package/src/unquoted-json/stringifyStringValue.test.js +52 -0
  274. package/src/unquoted-json/unquotedJsonStringify.d.ts +7 -0
  275. package/src/unquoted-json/unquotedJsonStringify.js +39 -0
  276. package/src/unquoted-json/unquotedJsonStringify.test.js +52 -0
  277. package/dist/hyperscript-rxjs.d.ts +0 -1412
  278. package/dist/hyperscript-rxjs.js +0 -1
  279. package/dist/tsdoc-metadata.json +0 -11
@@ -0,0 +1,751 @@
1
+ import { hyperscript } from './hyperscript';
2
+
3
+ /**
4
+ * @template {HTMLElement} T
5
+ * @typedef {import("./HyperscriptExtensions").HyperscriptExtensions<T>} HyperscriptExtensions
6
+ */
7
+
8
+ /**
9
+ * 创建 <a> 元素
10
+ * @param {{ [_: string]: any }} [props] - 元素属性
11
+ * @param {...any} childNodes - 子节点
12
+ * @returns {HyperscriptExtensions<HTMLAnchorElement>}
13
+ */
14
+ export const a = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLAnchorElement>} */(hyperscript('a', props, ...childNodes));
15
+
16
+ /**
17
+ * 创建 <abbr> 元素
18
+ * @param {{ [_: string]: any }} [props] - 元素属性
19
+ * @param {...any} childNodes - 子节点
20
+ * @returns {HyperscriptExtensions<HTMLElement>}
21
+ */
22
+ export const abbr = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('abbr', props, ...childNodes));
23
+
24
+ /**
25
+ * 创建 <address> 元素
26
+ * @param {{ [_: string]: any }} [props] - 元素属性
27
+ * @param {...any} childNodes - 子节点
28
+ * @returns {HyperscriptExtensions<HTMLElement>}
29
+ */
30
+ export const address = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('address', props, ...childNodes));
31
+
32
+ /**
33
+ * 创建 <area> 元素
34
+ * @param {{ [_: string]: any }} [props] - 元素属性
35
+ * @param {...any} childNodes - 子节点
36
+ * @returns {HyperscriptExtensions<HTMLAreaElement>}
37
+ */
38
+ export const area = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLAreaElement>} */(hyperscript('area', props, ...childNodes));
39
+
40
+ /**
41
+ * 创建 <article> 元素
42
+ * @param {{ [_: string]: any }} [props] - 元素属性
43
+ * @param {...any} childNodes - 子节点
44
+ * @returns {HyperscriptExtensions<HTMLElement>}
45
+ */
46
+ export const article = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('article', props, ...childNodes));
47
+
48
+ /**
49
+ * 创建 <aside> 元素
50
+ * @param {{ [_: string]: any }} [props] - 元素属性
51
+ * @param {...any} childNodes - 子节点
52
+ * @returns {HyperscriptExtensions<HTMLElement>}
53
+ */
54
+ export const aside = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('aside', props, ...childNodes));
55
+
56
+ /**
57
+ * 创建 <audio> 元素
58
+ * @param {{ [_: string]: any }} [props] - 元素属性
59
+ * @param {...any} childNodes - 子节点
60
+ * @returns {HyperscriptExtensions<HTMLAudioElement>}
61
+ */
62
+ export const audio = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLAudioElement>} */(hyperscript('audio', props, ...childNodes));
63
+
64
+ /**
65
+ * 创建 <b> 元素
66
+ * @param {{ [_: string]: any }} [props] - 元素属性
67
+ * @param {...any} childNodes - 子节点
68
+ * @returns {HyperscriptExtensions<HTMLElement>}
69
+ */
70
+ export const b = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('b', props, ...childNodes));
71
+
72
+ /**
73
+ * 创建 <bdi> 元素
74
+ * @param {{ [_: string]: any }} [props] - 元素属性
75
+ * @param {...any} childNodes - 子节点
76
+ * @returns {HyperscriptExtensions<HTMLElement>}
77
+ */
78
+ export const bdi = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('bdi', props, ...childNodes));
79
+
80
+ /**
81
+ * 创建 <bdo> 元素
82
+ * @param {{ [_: string]: any }} [props] - 元素属性
83
+ * @param {...any} childNodes - 子节点
84
+ * @returns {HyperscriptExtensions<HTMLElement>}
85
+ */
86
+ export const bdo = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('bdo', props, ...childNodes));
87
+
88
+ /**
89
+ * 创建 <blockquote> 元素
90
+ * @param {{ [_: string]: any }} [props] - 元素属性
91
+ * @param {...any} childNodes - 子节点
92
+ * @returns {HyperscriptExtensions<HTMLQuoteElement>}
93
+ */
94
+ export const blockquote = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLQuoteElement>} */(hyperscript('blockquote', props, ...childNodes));
95
+
96
+ /**
97
+ * 创建 <br> 元素
98
+ * @param {{ [_: string]: any }} [props] - 元素属性
99
+ * @param {...any} childNodes - 子节点
100
+ * @returns {HyperscriptExtensions<HTMLBRElement>}
101
+ */
102
+ export const br = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLBRElement>} */(hyperscript('br', props, ...childNodes));
103
+
104
+ /**
105
+ * 创建 <button> 元素
106
+ * @param {{ [_: string]: any }} [props] - 元素属性
107
+ * @param {...any} childNodes - 子节点
108
+ * @returns {HyperscriptExtensions<HTMLButtonElement>}
109
+ */
110
+ export const button = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLButtonElement>} */(hyperscript('button', props, ...childNodes));
111
+
112
+ /**
113
+ * 创建 <caption> 元素
114
+ * @param {{ [_: string]: any }} [props] - 元素属性
115
+ * @param {...any} childNodes - 子节点
116
+ * @returns {HyperscriptExtensions<HTMLElement>}
117
+ */
118
+ export const caption = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('caption', props, ...childNodes));
119
+
120
+ /**
121
+ * 创建 <cite> 元素
122
+ * @param {{ [_: string]: any }} [props] - 元素属性
123
+ * @param {...any} childNodes - 子节点
124
+ * @returns {HyperscriptExtensions<HTMLElement>}
125
+ */
126
+ export const cite = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('cite', props, ...childNodes));
127
+
128
+ /**
129
+ * 创建 <code> 元素
130
+ * @param {{ [_: string]: any }} [props] - 元素属性
131
+ * @param {...any} childNodes - 子节点
132
+ * @returns {HyperscriptExtensions<HTMLElement>}
133
+ */
134
+ export const code = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('code', props, ...childNodes));
135
+
136
+ /**
137
+ * 创建 <col> 元素
138
+ * @param {{ [_: string]: any }} [props] - 元素属性
139
+ * @param {...any} childNodes - 子节点
140
+ * @returns {HyperscriptExtensions<HTMLTableColElement>}
141
+ */
142
+ export const col = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLTableColElement>} */(hyperscript('col', props, ...childNodes));
143
+
144
+ /**
145
+ * 创建 <colgroup> 元素
146
+ * @param {{ [_: string]: any }} [props] - 元素属性
147
+ * @param {...any} childNodes - 子节点
148
+ * @returns {HyperscriptExtensions<HTMLTableColElement>}
149
+ */
150
+ export const colgroup = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLTableColElement>} */(hyperscript('colgroup', props, ...childNodes));
151
+
152
+ /**
153
+ * 创建 <data> 元素
154
+ * @param {{ [_: string]: any }} [props] - 元素属性
155
+ * @param {...any} childNodes - 子节点
156
+ * @returns {HyperscriptExtensions<HTMLDataElement>}
157
+ */
158
+ export const data = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLDataElement>} */(hyperscript('data', props, ...childNodes));
159
+
160
+ /**
161
+ * 创建 <datalist> 元素
162
+ * @param {{ [_: string]: any }} [props] - 元素属性
163
+ * @param {...any} childNodes - 子节点
164
+ * @returns {HyperscriptExtensions<HTMLDataListElement>}
165
+ */
166
+ export const datalist = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLDataListElement>} */(hyperscript('datalist', props, ...childNodes));
167
+
168
+ /**
169
+ * 创建 <dd> 元素
170
+ * @param {{ [_: string]: any }} [props] - 元素属性
171
+ * @param {...any} childNodes - 子节点
172
+ * @returns {HyperscriptExtensions<HTMLElement>}
173
+ */
174
+ export const dd = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('dd', props, ...childNodes));
175
+
176
+ /**
177
+ * 创建 <del> 元素
178
+ * @param {{ [_: string]: any }} [props] - 元素属性
179
+ * @param {...any} childNodes - 子节点
180
+ * @returns {HyperscriptExtensions<HTMLModElement>}
181
+ */
182
+ export const del = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLModElement>} */(hyperscript('del', props, ...childNodes));
183
+
184
+ /**
185
+ * 创建 <details> 元素
186
+ * @param {{ [_: string]: any }} [props] - 元素属性
187
+ * @param {...any} childNodes - 子节点
188
+ * @returns {HyperscriptExtensions<HTMLDetailsElement>}
189
+ */
190
+ export const details = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLDetailsElement>} */(hyperscript('details', props, ...childNodes));
191
+
192
+ /**
193
+ * 创建 <dfn> 元素
194
+ * @param {{ [_: string]: any }} [props] - 元素属性
195
+ * @param {...any} childNodes - 子节点
196
+ * @returns {HyperscriptExtensions<HTMLElement>}
197
+ */
198
+ export const dfn = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('dfn', props, ...childNodes));
199
+
200
+ /**
201
+ * 创建 <dialog> 元素
202
+ * @param {{ [_: string]: any }} [props] - 元素属性
203
+ * @param {...any} childNodes - 子节点
204
+ * @returns {HyperscriptExtensions<HTMLDialogElement>}
205
+ */
206
+ export const dialog = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLDialogElement>} */(hyperscript('dialog', props, ...childNodes));
207
+
208
+ /**
209
+ * 创建 <div> 元素
210
+ * @param {{ [_: string]: any }} [props] - 元素属性
211
+ * @param {...any} childNodes - 子节点
212
+ * @returns {HyperscriptExtensions<HTMLDivElement>}
213
+ */
214
+ export const div = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLDivElement>} */(hyperscript('div', props, ...childNodes));
215
+
216
+ /**
217
+ * 创建 <dl> 元素
218
+ * @param {{ [_: string]: any }} [props] - 元素属性
219
+ * @param {...any} childNodes - 子节点
220
+ * @returns {HyperscriptExtensions<HTMLDListElement>}
221
+ */
222
+ export const dl = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLDListElement>} */(hyperscript('dl', props, ...childNodes));
223
+
224
+ /**
225
+ * 创建 <dt> 元素
226
+ * @param {{ [_: string]: any }} [props] - 元素属性
227
+ * @param {...any} childNodes - 子节点
228
+ * @returns {HyperscriptExtensions<HTMLElement>}
229
+ */
230
+ export const dt = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('dt', props, ...childNodes));
231
+
232
+ /**
233
+ * 创建 <em> 元素
234
+ * @param {{ [_: string]: any }} [props] - 元素属性
235
+ * @param {...any} childNodes - 子节点
236
+ * @returns {HyperscriptExtensions<HTMLElement>}
237
+ */
238
+ export const em = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('em', props, ...childNodes));
239
+
240
+ /**
241
+ * 创建 <fieldset> 元素
242
+ * @param {{ [_: string]: any }} [props] - 元素属性
243
+ * @param {...any} childNodes - 子节点
244
+ * @returns {HyperscriptExtensions<HTMLFieldSetElement>}
245
+ */
246
+ export const fieldset = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLFieldSetElement>} */(hyperscript('fieldset', props, ...childNodes));
247
+
248
+ /**
249
+ * 创建 <figcaption> 元素
250
+ * @param {{ [_: string]: any }} [props] - 元素属性
251
+ * @param {...any} childNodes - 子节点
252
+ * @returns {HyperscriptExtensions<HTMLElement>}
253
+ */
254
+ export const figcaption = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('figcaption', props, ...childNodes));
255
+
256
+ /**
257
+ * 创建 <figure> 元素
258
+ * @param {{ [_: string]: any }} [props] - 元素属性
259
+ * @param {...any} childNodes - 子节点
260
+ * @returns {HyperscriptExtensions<HTMLElement>}
261
+ */
262
+ export const figure = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('figure', props, ...childNodes));
263
+
264
+ /**
265
+ * 创建 <footer> 元素
266
+ * @param {{ [_: string]: any }} [props] - 元素属性
267
+ * @param {...any} childNodes - 子节点
268
+ * @returns {HyperscriptExtensions<HTMLElement>}
269
+ */
270
+ export const footer = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('footer', props, ...childNodes));
271
+
272
+ /**
273
+ * 创建 <form> 元素
274
+ * @param {{ [_: string]: any }} [props] - 元素属性
275
+ * @param {...any} childNodes - 子节点
276
+ * @returns {HyperscriptExtensions<HTMLFormElement>}
277
+ */
278
+ export const form = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLFormElement>} */(hyperscript('form', props, ...childNodes));
279
+
280
+ /**
281
+ * 创建 <h1> 元素
282
+ * @param {{ [_: string]: any }} [props] - 元素属性
283
+ * @param {...any} childNodes - 子节点
284
+ * @returns {HyperscriptExtensions<HTMLHeadingElement>}
285
+ */
286
+ export const h1 = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLHeadingElement>} */(hyperscript('h1', props, ...childNodes));
287
+
288
+ /**
289
+ * 创建 <h2> 元素
290
+ * @param {{ [_: string]: any }} [props] - 元素属性
291
+ * @param {...any} childNodes - 子节点
292
+ * @returns {HyperscriptExtensions<HTMLHeadingElement>}
293
+ */
294
+ export const h2 = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLHeadingElement>} */(hyperscript('h2', props, ...childNodes));
295
+
296
+ /**
297
+ * 创建 <h3> 元素
298
+ * @param {{ [_: string]: any }} [props] - 元素属性
299
+ * @param {...any} childNodes - 子节点
300
+ * @returns {HyperscriptExtensions<HTMLHeadingElement>}
301
+ */
302
+ export const h3 = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLHeadingElement>} */(hyperscript('h3', props, ...childNodes));
303
+
304
+ /**
305
+ * 创建 <h4> 元素
306
+ * @param {{ [_: string]: any }} [props] - 元素属性
307
+ * @param {...any} childNodes - 子节点
308
+ * @returns {HyperscriptExtensions<HTMLHeadingElement>}
309
+ */
310
+ export const h4 = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLHeadingElement>} */(hyperscript('h4', props, ...childNodes));
311
+
312
+ /**
313
+ * 创建 <h5> 元素
314
+ * @param {{ [_: string]: any }} [props] - 元素属性
315
+ * @param {...any} childNodes - 子节点
316
+ * @returns {HyperscriptExtensions<HTMLHeadingElement>}
317
+ */
318
+ export const h5 = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLHeadingElement>} */(hyperscript('h5', props, ...childNodes));
319
+
320
+ /**
321
+ * 创建 <h6> 元素
322
+ * @param {{ [_: string]: any }} [props] - 元素属性
323
+ * @param {...any} childNodes - 子节点
324
+ * @returns {HyperscriptExtensions<HTMLHeadingElement>}
325
+ */
326
+ export const h6 = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLHeadingElement>} */(hyperscript('h6', props, ...childNodes));
327
+
328
+ /**
329
+ * 创建 <header> 元素
330
+ * @param {{ [_: string]: any }} [props] - 元素属性
331
+ * @param {...any} childNodes - 子节点
332
+ * @returns {HyperscriptExtensions<HTMLElement>}
333
+ */
334
+ export const header = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('header', props, ...childNodes));
335
+
336
+ /**
337
+ * 创建 <hgroup> 元素
338
+ * @param {{ [_: string]: any }} [props] - 元素属性
339
+ * @param {...any} childNodes - 子节点
340
+ * @returns {HyperscriptExtensions<HTMLElement>}
341
+ */
342
+ export const hgroup = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('hgroup', props, ...childNodes));
343
+
344
+ /**
345
+ * 创建 <hr> 元素
346
+ * @param {{ [_: string]: any }} [props] - 元素属性
347
+ * @param {...any} childNodes - 子节点
348
+ * @returns {HyperscriptExtensions<HTMLHRElement>}
349
+ */
350
+ export const hr = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLHRElement>} */(hyperscript('hr', props, ...childNodes));
351
+
352
+ /**
353
+ * 创建 <i> 元素
354
+ * @param {{ [_: string]: any }} [props] - 元素属性
355
+ * @param {...any} childNodes - 子节点
356
+ * @returns {HyperscriptExtensions<HTMLElement>}
357
+ */
358
+ export const i = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('i', props, ...childNodes));
359
+
360
+ /**
361
+ * 创建 <img> 元素
362
+ * @param {{ [_: string]: any }} [props] - 元素属性
363
+ * @param {...any} childNodes - 子节点
364
+ * @returns {HyperscriptExtensions<HTMLImageElement>}
365
+ */
366
+ export const img = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLImageElement>} */(hyperscript('img', props, ...childNodes));
367
+
368
+ /**
369
+ * 创建 <input> 元素
370
+ * @param {{ [_: string]: any }} [props] - 元素属性
371
+ * @param {...any} childNodes - 子节点
372
+ * @returns {HyperscriptExtensions<HTMLInputElement>}
373
+ */
374
+ export const input = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLInputElement>} */(hyperscript('input', props, ...childNodes));
375
+
376
+ /**
377
+ * 创建 <ins> 元素
378
+ * @param {{ [_: string]: any }} [props] - 元素属性
379
+ * @param {...any} childNodes - 子节点
380
+ * @returns {HyperscriptExtensions<HTMLModElement>}
381
+ */
382
+ export const ins = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLModElement>} */(hyperscript('ins', props, ...childNodes));
383
+
384
+ /**
385
+ * 创建 <kbd> 元素
386
+ * @param {{ [_: string]: any }} [props] - 元素属性
387
+ * @param {...any} childNodes - 子节点
388
+ * @returns {HyperscriptExtensions<HTMLElement>}
389
+ */
390
+ export const kbd = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('kbd', props, ...childNodes));
391
+
392
+ /**
393
+ * 创建 <label> 元素
394
+ * @param {{ [_: string]: any }} [props] - 元素属性
395
+ * @param {...any} childNodes - 子节点
396
+ * @returns {HyperscriptExtensions<HTMLLabelElement>}
397
+ */
398
+ export const label = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLLabelElement>} */(hyperscript('label', props, ...childNodes));
399
+
400
+ /**
401
+ * 创建 <legend> 元素
402
+ * @param {{ [_: string]: any }} [props] - 元素属性
403
+ * @param {...any} childNodes - 子节点
404
+ * @returns {HyperscriptExtensions<HTMLLegendElement>}
405
+ */
406
+ export const legend = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLLegendElement>} */(hyperscript('legend', props, ...childNodes));
407
+
408
+ /**
409
+ * 创建 <li> 元素
410
+ * @param {{ [_: string]: any }} [props] - 元素属性
411
+ * @param {...any} childNodes - 子节点
412
+ * @returns {HyperscriptExtensions<HTMLLIElement>}
413
+ */
414
+ export const li = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLLIElement>} */(hyperscript('li', props, ...childNodes));
415
+
416
+ /**
417
+ * 创建 <main> 元素
418
+ * @param {{ [_: string]: any }} [props] - 元素属性
419
+ * @param {...any} childNodes - 子节点
420
+ * @returns {HyperscriptExtensions<HTMLElement>}
421
+ */
422
+ export const main = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('main', props, ...childNodes));
423
+
424
+ /**
425
+ * 创建 <mark> 元素
426
+ * @param {{ [_: string]: any }} [props] - 元素属性
427
+ * @param {...any} childNodes - 子节点
428
+ * @returns {HyperscriptExtensions<HTMLElement>}
429
+ */
430
+ export const mark = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('mark', props, ...childNodes));
431
+
432
+ /**
433
+ * 创建 <menu> 元素
434
+ * @param {{ [_: string]: any }} [props] - 元素属性
435
+ * @param {...any} childNodes - 子节点
436
+ * @returns {HyperscriptExtensions<HTMLMenuElement>}
437
+ */
438
+ export const menu = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLMenuElement>} */(hyperscript('menu', props, ...childNodes));
439
+
440
+ /**
441
+ * 创建 <menuitem> 元素
442
+ * @param {{ [_: string]: any }} [props] - 元素属性
443
+ * @param {...any} childNodes - 子节点
444
+ * @returns {HyperscriptExtensions<HTMLElement>}
445
+ */
446
+ export const menuitem = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('menuitem', props, ...childNodes));
447
+
448
+ /**
449
+ * 创建 <meter> 元素
450
+ * @param {{ [_: string]: any }} [props] - 元素属性
451
+ * @param {...any} childNodes - 子节点
452
+ * @returns {HyperscriptExtensions<HTMLMeterElement>}
453
+ */
454
+ export const meter = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLMeterElement>} */(hyperscript('meter', props, ...childNodes));
455
+
456
+ /**
457
+ * 创建 <nav> 元素
458
+ * @param {{ [_: string]: any }} [props] - 元素属性
459
+ * @param {...any} childNodes - 子节点
460
+ * @returns {HyperscriptExtensions<HTMLElement>}
461
+ */
462
+ export const nav = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('nav', props, ...childNodes));
463
+
464
+ /**
465
+ * 创建 <ol> 元素
466
+ * @param {{ [_: string]: any }} [props] - 元素属性
467
+ * @param {...any} childNodes - 子节点
468
+ * @returns {HyperscriptExtensions<HTMLOListElement>}
469
+ */
470
+ export const ol = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLOListElement>} */(hyperscript('ol', props, ...childNodes));
471
+
472
+ /**
473
+ * 创建 <optgroup> 元素
474
+ * @param {{ [_: string]: any }} [props] - 元素属性
475
+ * @param {...any} childNodes - 子节点
476
+ * @returns {HyperscriptExtensions<HTMLOptGroupElement>}
477
+ */
478
+ export const optgroup = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLOptGroupElement>} */(hyperscript('optgroup', props, ...childNodes));
479
+
480
+ /**
481
+ * 创建 <option> 元素
482
+ * @param {{ [_: string]: any }} [props] - 元素属性
483
+ * @param {...any} childNodes - 子节点
484
+ * @returns {HyperscriptExtensions<HTMLOptionElement>}
485
+ */
486
+ export const option = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLOptionElement>} */(hyperscript('option', props, ...childNodes));
487
+
488
+ /**
489
+ * 创建 <output> 元素
490
+ * @param {{ [_: string]: any }} [props] - 元素属性
491
+ * @param {...any} childNodes - 子节点
492
+ * @returns {HyperscriptExtensions<HTMLOutputElement>}
493
+ */
494
+ export const output = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLOutputElement>} */(hyperscript('output', props, ...childNodes));
495
+
496
+ /**
497
+ * 创建 <p> 元素
498
+ * @param {{ [_: string]: any }} [props] - 元素属性
499
+ * @param {...any} childNodes - 子节点
500
+ * @returns {HyperscriptExtensions<HTMLParagraphElement>}
501
+ */
502
+ export const p = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLParagraphElement>} */(hyperscript('p', props, ...childNodes));
503
+
504
+ /**
505
+ * 创建 <pre> 元素
506
+ * @param {{ [_: string]: any }} [props] - 元素属性
507
+ * @param {...any} childNodes - 子节点
508
+ * @returns {HyperscriptExtensions<HTMLPreElement>}
509
+ */
510
+ export const pre = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLPreElement>} */(hyperscript('pre', props, ...childNodes));
511
+
512
+ /**
513
+ * 创建 <progress> 元素
514
+ * @param {{ [_: string]: any }} [props] - 元素属性
515
+ * @param {...any} childNodes - 子节点
516
+ * @returns {HyperscriptExtensions<HTMLProgressElement>}
517
+ */
518
+ export const progress = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLProgressElement>} */(hyperscript('progress', props, ...childNodes));
519
+
520
+ /**
521
+ * 创建 <q> 元素
522
+ * @param {{ [_: string]: any }} [props] - 元素属性
523
+ * @param {...any} childNodes - 子节点
524
+ * @returns {HyperscriptExtensions<HTMLQuoteElement>}
525
+ */
526
+ export const q = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLQuoteElement>} */(hyperscript('q', props, ...childNodes));
527
+
528
+ /**
529
+ * 创建 <rb> 元素
530
+ * @param {{ [_: string]: any }} [props] - 元素属性
531
+ * @param {...any} childNodes - 子节点
532
+ * @returns {HyperscriptExtensions<HTMLElement>}
533
+ */
534
+ export const rb = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('rb', props, ...childNodes));
535
+
536
+ /**
537
+ * 创建 <rp> 元素
538
+ * @param {{ [_: string]: any }} [props] - 元素属性
539
+ * @param {...any} childNodes - 子节点
540
+ * @returns {HyperscriptExtensions<HTMLElement>}
541
+ */
542
+ export const rp = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('rp', props, ...childNodes));
543
+
544
+ /**
545
+ * 创建 <rt> 元素
546
+ * @param {{ [_: string]: any }} [props] - 元素属性
547
+ * @param {...any} childNodes - 子节点
548
+ * @returns {HyperscriptExtensions<HTMLElement>}
549
+ */
550
+ export const rt = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('rt', props, ...childNodes));
551
+
552
+ /**
553
+ * 创建 <rtc> 元素
554
+ * @param {{ [_: string]: any }} [props] - 元素属性
555
+ * @param {...any} childNodes - 子节点
556
+ * @returns {HyperscriptExtensions<HTMLElement>}
557
+ */
558
+ export const rtc = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('rtc', props, ...childNodes));
559
+
560
+ /**
561
+ * 创建 <ruby> 元素
562
+ * @param {{ [_: string]: any }} [props] - 元素属性
563
+ * @param {...any} childNodes - 子节点
564
+ * @returns {HyperscriptExtensions<HTMLElement>}
565
+ */
566
+ export const ruby = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('ruby', props, ...childNodes));
567
+
568
+ /**
569
+ * 创建 <s> 元素
570
+ * @param {{ [_: string]: any }} [props] - 元素属性
571
+ * @param {...any} childNodes - 子节点
572
+ * @returns {HyperscriptExtensions<HTMLElement>}
573
+ */
574
+ export const s = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('s', props, ...childNodes));
575
+
576
+ /**
577
+ * 创建 <samp> 元素
578
+ * @param {{ [_: string]: any }} [props] - 元素属性
579
+ * @param {...any} childNodes - 子节点
580
+ * @returns {HyperscriptExtensions<HTMLElement>}
581
+ */
582
+ export const samp = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('samp', props, ...childNodes));
583
+
584
+ /**
585
+ * 创建 <section> 元素
586
+ * @param {{ [_: string]: any }} [props] - 元素属性
587
+ * @param {...any} childNodes - 子节点
588
+ * @returns {HyperscriptExtensions<HTMLElement>}
589
+ */
590
+ export const section = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('section', props, ...childNodes));
591
+
592
+ /**
593
+ * 创建 <small> 元素
594
+ * @param {{ [_: string]: any }} [props] - 元素属性
595
+ * @param {...any} childNodes - 子节点
596
+ * @returns {HyperscriptExtensions<HTMLElement>}
597
+ */
598
+ export const small = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('small', props, ...childNodes));
599
+
600
+ /**
601
+ * 创建 <span> 元素
602
+ * @param {{ [_: string]: any }} [props] - 元素属性
603
+ * @param {...any} childNodes - 子节点
604
+ * @returns {HyperscriptExtensions<HTMLSpanElement>}
605
+ */
606
+ export const span = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLSpanElement>} */(hyperscript('span', props, ...childNodes));
607
+
608
+ /**
609
+ * 创建 <strong> 元素
610
+ * @param {{ [_: string]: any }} [props] - 元素属性
611
+ * @param {...any} childNodes - 子节点
612
+ * @returns {HyperscriptExtensions<HTMLElement>}
613
+ */
614
+ export const strong = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('strong', props, ...childNodes));
615
+
616
+ /**
617
+ * 创建 <sub> 元素
618
+ * @param {{ [_: string]: any }} [props] - 元素属性
619
+ * @param {...any} childNodes - 子节点
620
+ * @returns {HyperscriptExtensions<HTMLElement>}
621
+ */
622
+ export const sub = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('sub', props, ...childNodes));
623
+
624
+ /**
625
+ * 创建 <summary> 元素
626
+ * @param {{ [_: string]: any }} [props] - 元素属性
627
+ * @param {...any} childNodes - 子节点
628
+ * @returns {HyperscriptExtensions<HTMLElement>}
629
+ */
630
+ export const summary = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('summary', props, ...childNodes));
631
+
632
+ /**
633
+ * 创建 <sup> 元素
634
+ * @param {{ [_: string]: any }} [props] - 元素属性
635
+ * @param {...any} childNodes - 子节点
636
+ * @returns {HyperscriptExtensions<HTMLElement>}
637
+ */
638
+ export const sup = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('sup', props, ...childNodes));
639
+
640
+ /**
641
+ * 创建 <table> 元素
642
+ * @param {{ [_: string]: any }} [props] - 元素属性
643
+ * @param {...any} childNodes - 子节点
644
+ * @returns {HyperscriptExtensions<HTMLTableElement>}
645
+ */
646
+ export const table = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLTableElement>} */(hyperscript('table', props, ...childNodes));
647
+
648
+ /**
649
+ * 创建 <tbody> 元素
650
+ * @param {{ [_: string]: any }} [props] - 元素属性
651
+ * @param {...any} childNodes - 子节点
652
+ * @returns {HyperscriptExtensions<HTMLTableSectionElement>}
653
+ */
654
+ export const tbody = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLTableSectionElement>} */(hyperscript('tbody', props, ...childNodes));
655
+
656
+ /**
657
+ * 创建 <td> 元素
658
+ * @param {{ [_: string]: any }} [props] - 元素属性
659
+ * @param {...any} childNodes - 子节点
660
+ * @returns {HyperscriptExtensions<HTMLTableCellElement>}
661
+ */
662
+ export const td = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLTableCellElement>} */(hyperscript('td', props, ...childNodes));
663
+
664
+ /**
665
+ * 创建 <tfoot> 元素
666
+ * @param {{ [_: string]: any }} [props] - 元素属性
667
+ * @param {...any} childNodes - 子节点
668
+ * @returns {HyperscriptExtensions<HTMLTableSectionElement>}
669
+ */
670
+ export const tfoot = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLTableSectionElement>} */(hyperscript('tfoot', props, ...childNodes));
671
+
672
+ /**
673
+ * 创建 <th> 元素
674
+ * @param {{ [_: string]: any }} [props] - 元素属性
675
+ * @param {...any} childNodes - 子节点
676
+ * @returns {HyperscriptExtensions<HTMLTableCellElement>}
677
+ */
678
+ export const th = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLTableCellElement>} */(hyperscript('th', props, ...childNodes));
679
+
680
+ /**
681
+ * 创建 <thead> 元素
682
+ * @param {{ [_: string]: any }} [props] - 元素属性
683
+ * @param {...any} childNodes - 子节点
684
+ * @returns {HyperscriptExtensions<HTMLTableSectionElement>}
685
+ */
686
+ export const thead = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLTableSectionElement>} */(hyperscript('thead', props, ...childNodes));
687
+
688
+ /**
689
+ * 创建 <time> 元素
690
+ * @param {{ [_: string]: any }} [props] - 元素属性
691
+ * @param {...any} childNodes - 子节点
692
+ * @returns {HyperscriptExtensions<HTMLTimeElement>}
693
+ */
694
+ export const time = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLTimeElement>} */(hyperscript('time', props, ...childNodes));
695
+
696
+ /**
697
+ * 创建 <tr> 元素
698
+ * @param {{ [_: string]: any }} [props] - 元素属性
699
+ * @param {...any} childNodes - 子节点
700
+ * @returns {HyperscriptExtensions<HTMLTableRowElement>}
701
+ */
702
+ export const tr = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLTableRowElement>} */(hyperscript('tr', props, ...childNodes));
703
+
704
+ /**
705
+ * 创建 <track> 元素
706
+ * @param {{ [_: string]: any }} [props] - 元素属性
707
+ * @param {...any} childNodes - 子节点
708
+ * @returns {HyperscriptExtensions<HTMLTrackElement>}
709
+ */
710
+ export const track = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLTrackElement>} */(hyperscript('track', props, ...childNodes));
711
+
712
+ /**
713
+ * 创建 <tt> 元素
714
+ * @param {{ [_: string]: any }} [props] - 元素属性
715
+ * @param {...any} childNodes - 子节点
716
+ * @returns {HyperscriptExtensions<HTMLElement>}
717
+ */
718
+ export const tt = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('tt', props, ...childNodes));
719
+
720
+
721
+ /**
722
+ * 创建 <u> 元素
723
+ * @param {{ [_: string]: any }} [props] - 元素属性
724
+ * @param {...any} childNodes - 子节点
725
+ * @returns {HyperscriptExtensions<HTMLElement>}
726
+ */
727
+ export const u = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('u', props, ...childNodes))
728
+
729
+ /**
730
+ * 创建 <ul> 元素
731
+ * @param {{ [_: string]: any }} [props] - 元素属性
732
+ * @param {...any} childNodes - 子节点
733
+ * @returns {HyperscriptExtensions<HTMLUListElement>}
734
+ */
735
+ export const ul = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLUListElement>} */(hyperscript('ul', props, ...childNodes))
736
+
737
+ /**
738
+ * 创建 <video> 元素
739
+ * @param {{ [_: string]: any }} [props] - 元素属性
740
+ * @param {...any} childNodes - 子节点
741
+ * @returns {HyperscriptExtensions<HTMLVideoElement>}
742
+ */
743
+ export const video = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLVideoElement>} */(hyperscript('video', props, ...childNodes))
744
+
745
+ /**
746
+ * 创建 <wbr> 元素
747
+ * @param {{ [_: string]: any }} [props] - 元素属性
748
+ * @param {...any} childNodes - 子节点
749
+ * @returns {HyperscriptExtensions<HTMLElement>}
750
+ */
751
+ export const wbr = (props, ...childNodes) => /** @type {HyperscriptExtensions<HTMLElement>} */(hyperscript('wbr', props, ...childNodes))