ece-docs-components 1.0.40 → 1.0.41

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 (342) hide show
  1. package/dist/cjs/_virtual/Parser.js +6 -0
  2. package/dist/cjs/_virtual/Parser.js.map +1 -0
  3. package/dist/cjs/_virtual/Tokenizer.js +6 -0
  4. package/dist/cjs/_virtual/Tokenizer.js.map +1 -0
  5. package/dist/cjs/_virtual/attributes-to-props.js +6 -0
  6. package/dist/cjs/_virtual/attributes-to-props.js.map +1 -0
  7. package/dist/cjs/_virtual/decode-codepoint.js +6 -0
  8. package/dist/cjs/_virtual/decode-codepoint.js.map +1 -0
  9. package/dist/cjs/_virtual/decode-data-html.js +6 -0
  10. package/dist/cjs/_virtual/decode-data-html.js.map +1 -0
  11. package/dist/cjs/_virtual/decode-data-html2.js +6 -0
  12. package/dist/cjs/_virtual/decode-data-html2.js.map +1 -0
  13. package/dist/cjs/_virtual/decode-data-xml.js +6 -0
  14. package/dist/cjs/_virtual/decode-data-xml.js.map +1 -0
  15. package/dist/cjs/_virtual/decode-data-xml2.js +6 -0
  16. package/dist/cjs/_virtual/decode-data-xml2.js.map +1 -0
  17. package/dist/cjs/_virtual/decode.js +6 -0
  18. package/dist/cjs/_virtual/decode.js.map +1 -0
  19. package/dist/cjs/_virtual/decode2.js +6 -0
  20. package/dist/cjs/_virtual/decode2.js.map +1 -0
  21. package/dist/cjs/_virtual/decode_codepoint.js +6 -0
  22. package/dist/cjs/_virtual/decode_codepoint.js.map +1 -0
  23. package/dist/cjs/_virtual/dom-to-react.js +6 -0
  24. package/dist/cjs/_virtual/dom-to-react.js.map +1 -0
  25. package/dist/cjs/_virtual/encode-html.js +6 -0
  26. package/dist/cjs/_virtual/encode-html.js.map +1 -0
  27. package/dist/cjs/_virtual/encode.js +6 -0
  28. package/dist/cjs/_virtual/encode.js.map +1 -0
  29. package/dist/cjs/_virtual/escape.js +6 -0
  30. package/dist/cjs/_virtual/escape.js.map +1 -0
  31. package/dist/cjs/_virtual/feeds.js +6 -0
  32. package/dist/cjs/_virtual/feeds.js.map +1 -0
  33. package/dist/cjs/_virtual/foreignNames.js +6 -0
  34. package/dist/cjs/_virtual/foreignNames.js.map +1 -0
  35. package/dist/cjs/_virtual/helpers.js +6 -0
  36. package/dist/cjs/_virtual/helpers.js.map +1 -0
  37. package/dist/cjs/_virtual/html-to-dom.js +6 -0
  38. package/dist/cjs/_virtual/html-to-dom.js.map +1 -0
  39. package/dist/cjs/_virtual/index.js +4 -4
  40. package/dist/cjs/_virtual/index10.js +6 -0
  41. package/dist/cjs/_virtual/index10.js.map +1 -0
  42. package/dist/cjs/_virtual/index11.js +6 -0
  43. package/dist/cjs/_virtual/index11.js.map +1 -0
  44. package/dist/cjs/_virtual/index2.js +2 -4
  45. package/dist/cjs/_virtual/index2.js.map +1 -1
  46. package/dist/cjs/_virtual/index3.js +2 -2
  47. package/dist/cjs/_virtual/index4.js +2 -2
  48. package/dist/cjs/_virtual/index5.js +2 -2
  49. package/dist/cjs/_virtual/index6.js +2 -2
  50. package/dist/cjs/_virtual/index7.js +6 -0
  51. package/dist/cjs/_virtual/index7.js.map +1 -0
  52. package/dist/cjs/_virtual/index8.js +6 -0
  53. package/dist/cjs/_virtual/index8.js.map +1 -0
  54. package/dist/cjs/_virtual/index9.js +6 -0
  55. package/dist/cjs/_virtual/index9.js.map +1 -0
  56. package/dist/cjs/_virtual/legacy.js +6 -0
  57. package/dist/cjs/_virtual/legacy.js.map +1 -0
  58. package/dist/cjs/_virtual/manipulation.js +6 -0
  59. package/dist/cjs/_virtual/manipulation.js.map +1 -0
  60. package/dist/cjs/_virtual/node.js +6 -0
  61. package/dist/cjs/_virtual/node.js.map +1 -0
  62. package/dist/cjs/_virtual/possibleStandardNamesOptimized.js +6 -0
  63. package/dist/cjs/_virtual/possibleStandardNamesOptimized.js.map +1 -0
  64. package/dist/cjs/_virtual/querying.js +6 -0
  65. package/dist/cjs/_virtual/querying.js.map +1 -0
  66. package/dist/cjs/_virtual/stringify.js +6 -0
  67. package/dist/cjs/_virtual/stringify.js.map +1 -0
  68. package/dist/cjs/_virtual/traversal.js +6 -0
  69. package/dist/cjs/_virtual/traversal.js.map +1 -0
  70. package/dist/cjs/_virtual/types.js +6 -0
  71. package/dist/cjs/_virtual/types.js.map +1 -0
  72. package/dist/cjs/_virtual/utilities.js +6 -0
  73. package/dist/cjs/_virtual/utilities.js.map +1 -0
  74. package/dist/cjs/_virtual/utilities2.js +6 -0
  75. package/dist/cjs/_virtual/utilities2.js.map +1 -0
  76. package/dist/cjs/_virtual/utilities3.js +6 -0
  77. package/dist/cjs/_virtual/utilities3.js.map +1 -0
  78. package/dist/cjs/components/Alert.js +1 -0
  79. package/dist/cjs/components/Alert.js.map +1 -1
  80. package/dist/cjs/components/Modal.js +2 -1
  81. package/dist/cjs/components/Modal.js.map +1 -1
  82. package/dist/cjs/node_modules/dom-serializer/lib/foreignNames.js +116 -0
  83. package/dist/cjs/node_modules/dom-serializer/lib/foreignNames.js.map +1 -0
  84. package/dist/cjs/node_modules/dom-serializer/lib/index.js +245 -0
  85. package/dist/cjs/node_modules/dom-serializer/lib/index.js.map +1 -0
  86. package/dist/cjs/node_modules/domelementtype/lib/index.js +70 -0
  87. package/dist/cjs/node_modules/domelementtype/lib/index.js.map +1 -0
  88. package/dist/cjs/node_modules/domhandler/lib/index.js +182 -0
  89. package/dist/cjs/node_modules/domhandler/lib/index.js.map +1 -0
  90. package/dist/cjs/node_modules/domhandler/lib/node.js +488 -0
  91. package/dist/cjs/node_modules/domhandler/lib/node.js.map +1 -0
  92. package/dist/cjs/node_modules/domutils/lib/feeds.js +205 -0
  93. package/dist/cjs/node_modules/domutils/lib/feeds.js.map +1 -0
  94. package/dist/cjs/node_modules/domutils/lib/helpers.js +156 -0
  95. package/dist/cjs/node_modules/domutils/lib/helpers.js.map +1 -0
  96. package/dist/cjs/node_modules/domutils/lib/index.js +56 -0
  97. package/dist/cjs/node_modules/domutils/lib/index.js.map +1 -0
  98. package/dist/cjs/node_modules/domutils/lib/legacy.js +183 -0
  99. package/dist/cjs/node_modules/domutils/lib/legacy.js.map +1 -0
  100. package/dist/cjs/node_modules/domutils/lib/manipulation.js +155 -0
  101. package/dist/cjs/node_modules/domutils/lib/manipulation.js.map +1 -0
  102. package/dist/cjs/node_modules/domutils/lib/querying.js +169 -0
  103. package/dist/cjs/node_modules/domutils/lib/querying.js.map +1 -0
  104. package/dist/cjs/node_modules/domutils/lib/stringify.js +107 -0
  105. package/dist/cjs/node_modules/domutils/lib/stringify.js.map +1 -0
  106. package/dist/cjs/node_modules/domutils/lib/traversal.js +139 -0
  107. package/dist/cjs/node_modules/domutils/lib/traversal.js.map +1 -0
  108. package/dist/cjs/node_modules/entities/lib/decode.js +554 -0
  109. package/dist/cjs/node_modules/entities/lib/decode.js.map +1 -0
  110. package/dist/cjs/node_modules/entities/lib/decode_codepoint.js +91 -0
  111. package/dist/cjs/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  112. package/dist/cjs/node_modules/entities/lib/encode.js +92 -0
  113. package/dist/cjs/node_modules/entities/lib/encode.js.map +1 -0
  114. package/dist/cjs/node_modules/entities/lib/escape.js +137 -0
  115. package/dist/cjs/node_modules/entities/lib/escape.js.map +1 -0
  116. package/dist/cjs/node_modules/entities/lib/generated/decode-data-html.js +22 -0
  117. package/dist/cjs/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  118. package/dist/cjs/node_modules/entities/lib/generated/decode-data-xml.js +22 -0
  119. package/dist/cjs/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  120. package/dist/cjs/node_modules/entities/lib/generated/encode-html.js +25 -0
  121. package/dist/cjs/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  122. package/dist/cjs/node_modules/entities/lib/index.js +144 -0
  123. package/dist/cjs/node_modules/entities/lib/index.js.map +1 -0
  124. package/dist/cjs/node_modules/html-dom-parser/lib/index.js +47 -0
  125. package/dist/cjs/node_modules/html-dom-parser/lib/index.js.map +1 -0
  126. package/dist/cjs/node_modules/html-dom-parser/lib/server/html-to-dom.js +46 -0
  127. package/dist/cjs/node_modules/html-dom-parser/lib/server/html-to-dom.js.map +1 -0
  128. package/dist/cjs/node_modules/html-dom-parser/lib/server/utilities.js +32 -0
  129. package/dist/cjs/node_modules/html-dom-parser/lib/server/utilities.js.map +1 -0
  130. package/dist/cjs/node_modules/html-dom-parser/lib/types.js +16 -0
  131. package/dist/cjs/node_modules/html-dom-parser/lib/types.js.map +1 -0
  132. package/dist/cjs/node_modules/html-react-parser/esm/index.js +10 -0
  133. package/dist/cjs/node_modules/html-react-parser/esm/index.js.map +1 -0
  134. package/dist/cjs/node_modules/html-react-parser/lib/attributes-to-props.js +89 -0
  135. package/dist/cjs/node_modules/html-react-parser/lib/attributes-to-props.js.map +1 -0
  136. package/dist/cjs/node_modules/html-react-parser/lib/dom-to-react.js +138 -0
  137. package/dist/cjs/node_modules/html-react-parser/lib/dom-to-react.js.map +1 -0
  138. package/dist/cjs/node_modules/html-react-parser/lib/index.js +55 -0
  139. package/dist/cjs/node_modules/html-react-parser/lib/index.js.map +1 -0
  140. package/dist/cjs/node_modules/html-react-parser/lib/utilities.js +121 -0
  141. package/dist/cjs/node_modules/html-react-parser/lib/utilities.js.map +1 -0
  142. package/dist/cjs/node_modules/htmlparser2/dist/commonjs/Parser.js +542 -0
  143. package/dist/cjs/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -0
  144. package/dist/cjs/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +805 -0
  145. package/dist/cjs/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -0
  146. package/dist/cjs/node_modules/htmlparser2/dist/commonjs/index.js +143 -0
  147. package/dist/cjs/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -0
  148. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +92 -0
  149. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  150. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +529 -0
  151. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  152. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +23 -0
  153. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  154. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +23 -0
  155. package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  156. package/dist/cjs/node_modules/inline-style-parser/cjs/index.js +274 -0
  157. package/dist/cjs/node_modules/inline-style-parser/cjs/index.js.map +1 -0
  158. package/dist/cjs/node_modules/react-property/lib/index.js +534 -0
  159. package/dist/cjs/node_modules/react-property/lib/index.js.map +1 -0
  160. package/dist/cjs/node_modules/react-property/lib/possibleStandardNamesOptimized.js +507 -0
  161. package/dist/cjs/node_modules/react-property/lib/possibleStandardNamesOptimized.js.map +1 -0
  162. package/dist/cjs/node_modules/style-to-js/cjs/index.js +40 -0
  163. package/dist/cjs/node_modules/style-to-js/cjs/index.js.map +1 -0
  164. package/dist/cjs/node_modules/style-to-js/cjs/utilities.js +60 -0
  165. package/dist/cjs/node_modules/style-to-js/cjs/utilities.js.map +1 -0
  166. package/dist/cjs/node_modules/style-to-object/cjs/index.js +58 -0
  167. package/dist/cjs/node_modules/style-to-object/cjs/index.js.map +1 -0
  168. package/dist/esm/_virtual/Parser.js +4 -0
  169. package/dist/esm/_virtual/Parser.js.map +1 -0
  170. package/dist/esm/_virtual/Tokenizer.js +4 -0
  171. package/dist/esm/_virtual/Tokenizer.js.map +1 -0
  172. package/dist/esm/_virtual/_commonjsHelpers.js +6 -0
  173. package/dist/esm/_virtual/_commonjsHelpers.js.map +1 -0
  174. package/dist/esm/_virtual/attributes-to-props.js +4 -0
  175. package/dist/esm/_virtual/attributes-to-props.js.map +1 -0
  176. package/dist/esm/_virtual/decode-codepoint.js +4 -0
  177. package/dist/esm/_virtual/decode-codepoint.js.map +1 -0
  178. package/dist/esm/_virtual/decode-data-html.js +4 -0
  179. package/dist/esm/_virtual/decode-data-html.js.map +1 -0
  180. package/dist/esm/_virtual/decode-data-html2.js +4 -0
  181. package/dist/esm/_virtual/decode-data-html2.js.map +1 -0
  182. package/dist/esm/_virtual/decode-data-xml.js +4 -0
  183. package/dist/esm/_virtual/decode-data-xml.js.map +1 -0
  184. package/dist/esm/_virtual/decode-data-xml2.js +4 -0
  185. package/dist/esm/_virtual/decode-data-xml2.js.map +1 -0
  186. package/dist/esm/_virtual/decode.js +4 -0
  187. package/dist/esm/_virtual/decode.js.map +1 -0
  188. package/dist/esm/_virtual/decode2.js +4 -0
  189. package/dist/esm/_virtual/decode2.js.map +1 -0
  190. package/dist/esm/_virtual/decode_codepoint.js +4 -0
  191. package/dist/esm/_virtual/decode_codepoint.js.map +1 -0
  192. package/dist/esm/_virtual/dom-to-react.js +4 -0
  193. package/dist/esm/_virtual/dom-to-react.js.map +1 -0
  194. package/dist/esm/_virtual/encode-html.js +4 -0
  195. package/dist/esm/_virtual/encode-html.js.map +1 -0
  196. package/dist/esm/_virtual/encode.js +4 -0
  197. package/dist/esm/_virtual/encode.js.map +1 -0
  198. package/dist/esm/_virtual/escape.js +4 -0
  199. package/dist/esm/_virtual/escape.js.map +1 -0
  200. package/dist/esm/_virtual/feeds.js +4 -0
  201. package/dist/esm/_virtual/feeds.js.map +1 -0
  202. package/dist/esm/_virtual/foreignNames.js +4 -0
  203. package/dist/esm/_virtual/foreignNames.js.map +1 -0
  204. package/dist/esm/_virtual/helpers.js +4 -0
  205. package/dist/esm/_virtual/helpers.js.map +1 -0
  206. package/dist/esm/_virtual/html-to-dom.js +4 -0
  207. package/dist/esm/_virtual/html-to-dom.js.map +1 -0
  208. package/dist/esm/_virtual/index.js +8 -0
  209. package/dist/esm/_virtual/index.js.map +1 -0
  210. package/dist/esm/_virtual/index10.js +4 -0
  211. package/dist/esm/_virtual/index10.js.map +1 -0
  212. package/dist/esm/_virtual/index11.js +4 -0
  213. package/dist/esm/_virtual/index11.js.map +1 -0
  214. package/dist/esm/_virtual/index2.js +4 -0
  215. package/dist/esm/_virtual/index2.js.map +1 -0
  216. package/dist/esm/_virtual/index3.js +4 -0
  217. package/dist/esm/_virtual/index3.js.map +1 -0
  218. package/dist/esm/_virtual/index4.js +4 -0
  219. package/dist/esm/_virtual/index4.js.map +1 -0
  220. package/dist/esm/_virtual/index5.js +4 -0
  221. package/dist/esm/_virtual/index5.js.map +1 -0
  222. package/dist/esm/_virtual/index6.js +4 -0
  223. package/dist/esm/_virtual/index6.js.map +1 -0
  224. package/dist/esm/_virtual/index7.js +4 -0
  225. package/dist/esm/_virtual/index7.js.map +1 -0
  226. package/dist/esm/_virtual/index8.js +4 -0
  227. package/dist/esm/_virtual/index8.js.map +1 -0
  228. package/dist/esm/_virtual/index9.js +4 -0
  229. package/dist/esm/_virtual/index9.js.map +1 -0
  230. package/dist/esm/_virtual/legacy.js +4 -0
  231. package/dist/esm/_virtual/legacy.js.map +1 -0
  232. package/dist/esm/_virtual/manipulation.js +4 -0
  233. package/dist/esm/_virtual/manipulation.js.map +1 -0
  234. package/dist/esm/_virtual/node.js +4 -0
  235. package/dist/esm/_virtual/node.js.map +1 -0
  236. package/dist/esm/_virtual/possibleStandardNamesOptimized.js +4 -0
  237. package/dist/esm/_virtual/possibleStandardNamesOptimized.js.map +1 -0
  238. package/dist/esm/_virtual/querying.js +4 -0
  239. package/dist/esm/_virtual/querying.js.map +1 -0
  240. package/dist/esm/_virtual/stringify.js +4 -0
  241. package/dist/esm/_virtual/stringify.js.map +1 -0
  242. package/dist/esm/_virtual/traversal.js +4 -0
  243. package/dist/esm/_virtual/traversal.js.map +1 -0
  244. package/dist/esm/_virtual/types.js +4 -0
  245. package/dist/esm/_virtual/types.js.map +1 -0
  246. package/dist/esm/_virtual/utilities.js +4 -0
  247. package/dist/esm/_virtual/utilities.js.map +1 -0
  248. package/dist/esm/_virtual/utilities2.js +4 -0
  249. package/dist/esm/_virtual/utilities2.js.map +1 -0
  250. package/dist/esm/_virtual/utilities3.js +4 -0
  251. package/dist/esm/_virtual/utilities3.js.map +1 -0
  252. package/dist/esm/components/Alert.js +1 -0
  253. package/dist/esm/components/Alert.js.map +1 -1
  254. package/dist/esm/components/Modal.js +2 -1
  255. package/dist/esm/components/Modal.js.map +1 -1
  256. package/dist/esm/node_modules/dom-serializer/lib/foreignNames.js +114 -0
  257. package/dist/esm/node_modules/dom-serializer/lib/foreignNames.js.map +1 -0
  258. package/dist/esm/node_modules/dom-serializer/lib/index.js +243 -0
  259. package/dist/esm/node_modules/dom-serializer/lib/index.js.map +1 -0
  260. package/dist/esm/node_modules/domelementtype/lib/index.js +68 -0
  261. package/dist/esm/node_modules/domelementtype/lib/index.js.map +1 -0
  262. package/dist/esm/node_modules/domhandler/lib/index.js +180 -0
  263. package/dist/esm/node_modules/domhandler/lib/index.js.map +1 -0
  264. package/dist/esm/node_modules/domhandler/lib/node.js +486 -0
  265. package/dist/esm/node_modules/domhandler/lib/node.js.map +1 -0
  266. package/dist/esm/node_modules/domutils/lib/feeds.js +203 -0
  267. package/dist/esm/node_modules/domutils/lib/feeds.js.map +1 -0
  268. package/dist/esm/node_modules/domutils/lib/helpers.js +154 -0
  269. package/dist/esm/node_modules/domutils/lib/helpers.js.map +1 -0
  270. package/dist/esm/node_modules/domutils/lib/index.js +54 -0
  271. package/dist/esm/node_modules/domutils/lib/index.js.map +1 -0
  272. package/dist/esm/node_modules/domutils/lib/legacy.js +181 -0
  273. package/dist/esm/node_modules/domutils/lib/legacy.js.map +1 -0
  274. package/dist/esm/node_modules/domutils/lib/manipulation.js +153 -0
  275. package/dist/esm/node_modules/domutils/lib/manipulation.js.map +1 -0
  276. package/dist/esm/node_modules/domutils/lib/querying.js +167 -0
  277. package/dist/esm/node_modules/domutils/lib/querying.js.map +1 -0
  278. package/dist/esm/node_modules/domutils/lib/stringify.js +105 -0
  279. package/dist/esm/node_modules/domutils/lib/stringify.js.map +1 -0
  280. package/dist/esm/node_modules/domutils/lib/traversal.js +137 -0
  281. package/dist/esm/node_modules/domutils/lib/traversal.js.map +1 -0
  282. package/dist/esm/node_modules/entities/lib/decode.js +552 -0
  283. package/dist/esm/node_modules/entities/lib/decode.js.map +1 -0
  284. package/dist/esm/node_modules/entities/lib/decode_codepoint.js +89 -0
  285. package/dist/esm/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  286. package/dist/esm/node_modules/entities/lib/encode.js +90 -0
  287. package/dist/esm/node_modules/entities/lib/encode.js.map +1 -0
  288. package/dist/esm/node_modules/entities/lib/escape.js +135 -0
  289. package/dist/esm/node_modules/entities/lib/escape.js.map +1 -0
  290. package/dist/esm/node_modules/entities/lib/generated/decode-data-html.js +20 -0
  291. package/dist/esm/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  292. package/dist/esm/node_modules/entities/lib/generated/decode-data-xml.js +20 -0
  293. package/dist/esm/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  294. package/dist/esm/node_modules/entities/lib/generated/encode-html.js +23 -0
  295. package/dist/esm/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  296. package/dist/esm/node_modules/entities/lib/index.js +142 -0
  297. package/dist/esm/node_modules/entities/lib/index.js.map +1 -0
  298. package/dist/esm/node_modules/html-dom-parser/lib/index.js +45 -0
  299. package/dist/esm/node_modules/html-dom-parser/lib/index.js.map +1 -0
  300. package/dist/esm/node_modules/html-dom-parser/lib/server/html-to-dom.js +44 -0
  301. package/dist/esm/node_modules/html-dom-parser/lib/server/html-to-dom.js.map +1 -0
  302. package/dist/esm/node_modules/html-dom-parser/lib/server/utilities.js +30 -0
  303. package/dist/esm/node_modules/html-dom-parser/lib/server/utilities.js.map +1 -0
  304. package/dist/esm/node_modules/html-dom-parser/lib/types.js +14 -0
  305. package/dist/esm/node_modules/html-dom-parser/lib/types.js.map +1 -0
  306. package/dist/esm/node_modules/html-react-parser/esm/index.js +6 -0
  307. package/dist/esm/node_modules/html-react-parser/esm/index.js.map +1 -0
  308. package/dist/esm/node_modules/html-react-parser/lib/attributes-to-props.js +87 -0
  309. package/dist/esm/node_modules/html-react-parser/lib/attributes-to-props.js.map +1 -0
  310. package/dist/esm/node_modules/html-react-parser/lib/dom-to-react.js +136 -0
  311. package/dist/esm/node_modules/html-react-parser/lib/dom-to-react.js.map +1 -0
  312. package/dist/esm/node_modules/html-react-parser/lib/index.js +53 -0
  313. package/dist/esm/node_modules/html-react-parser/lib/index.js.map +1 -0
  314. package/dist/esm/node_modules/html-react-parser/lib/utilities.js +119 -0
  315. package/dist/esm/node_modules/html-react-parser/lib/utilities.js.map +1 -0
  316. package/dist/esm/node_modules/htmlparser2/dist/commonjs/Parser.js +540 -0
  317. package/dist/esm/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -0
  318. package/dist/esm/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +803 -0
  319. package/dist/esm/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -0
  320. package/dist/esm/node_modules/htmlparser2/dist/commonjs/index.js +141 -0
  321. package/dist/esm/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -0
  322. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +90 -0
  323. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  324. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +527 -0
  325. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  326. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +21 -0
  327. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  328. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +21 -0
  329. package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  330. package/dist/esm/node_modules/inline-style-parser/cjs/index.js +272 -0
  331. package/dist/esm/node_modules/inline-style-parser/cjs/index.js.map +1 -0
  332. package/dist/esm/node_modules/react-property/lib/index.js +532 -0
  333. package/dist/esm/node_modules/react-property/lib/index.js.map +1 -0
  334. package/dist/esm/node_modules/react-property/lib/possibleStandardNamesOptimized.js +505 -0
  335. package/dist/esm/node_modules/react-property/lib/possibleStandardNamesOptimized.js.map +1 -0
  336. package/dist/esm/node_modules/style-to-js/cjs/index.js +38 -0
  337. package/dist/esm/node_modules/style-to-js/cjs/index.js.map +1 -0
  338. package/dist/esm/node_modules/style-to-js/cjs/utilities.js +58 -0
  339. package/dist/esm/node_modules/style-to-js/cjs/utilities.js.map +1 -0
  340. package/dist/esm/node_modules/style-to-object/cjs/index.js +56 -0
  341. package/dist/esm/node_modules/style-to-object/cjs/index.js.map +1 -0
  342. package/package.json +3 -2
@@ -0,0 +1,182 @@
1
+ 'use strict';
2
+
3
+ var index = require('../../../_virtual/index4.js');
4
+ var index$1 = require('../../domelementtype/lib/index.js');
5
+ var node = require('./node.js');
6
+
7
+ var hasRequiredLib;
8
+
9
+ function requireLib () {
10
+ if (hasRequiredLib) return index.__exports;
11
+ hasRequiredLib = 1;
12
+ (function (exports) {
13
+ var __createBinding = (index.__exports && index.__exports.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __exportStar = (index.__exports && index.__exports.__exportStar) || function(m, exports) {
25
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.DomHandler = void 0;
29
+ var domelementtype_1 = /*@__PURE__*/ index$1.__require();
30
+ var node_js_1 = /*@__PURE__*/ node.__require();
31
+ __exportStar(/*@__PURE__*/ node.__require(), exports);
32
+ // Default options
33
+ var defaultOpts = {
34
+ withStartIndices: false,
35
+ withEndIndices: false,
36
+ xmlMode: false,
37
+ };
38
+ var DomHandler = /** @class */ (function () {
39
+ /**
40
+ * @param callback Called once parsing has completed.
41
+ * @param options Settings for the handler.
42
+ * @param elementCB Callback whenever a tag is closed.
43
+ */
44
+ function DomHandler(callback, options, elementCB) {
45
+ /** The elements of the DOM */
46
+ this.dom = [];
47
+ /** The root element for the DOM */
48
+ this.root = new node_js_1.Document(this.dom);
49
+ /** Indicated whether parsing has been completed. */
50
+ this.done = false;
51
+ /** Stack of open tags. */
52
+ this.tagStack = [this.root];
53
+ /** A data node that is still being written to. */
54
+ this.lastNode = null;
55
+ /** Reference to the parser instance. Used for location information. */
56
+ this.parser = null;
57
+ // Make it possible to skip arguments, for backwards-compatibility
58
+ if (typeof options === "function") {
59
+ elementCB = options;
60
+ options = defaultOpts;
61
+ }
62
+ if (typeof callback === "object") {
63
+ options = callback;
64
+ callback = undefined;
65
+ }
66
+ this.callback = callback !== null && callback !== void 0 ? callback : null;
67
+ this.options = options !== null && options !== void 0 ? options : defaultOpts;
68
+ this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null;
69
+ }
70
+ DomHandler.prototype.onparserinit = function (parser) {
71
+ this.parser = parser;
72
+ };
73
+ // Resets the handler back to starting state
74
+ DomHandler.prototype.onreset = function () {
75
+ this.dom = [];
76
+ this.root = new node_js_1.Document(this.dom);
77
+ this.done = false;
78
+ this.tagStack = [this.root];
79
+ this.lastNode = null;
80
+ this.parser = null;
81
+ };
82
+ // Signals the handler that parsing is done
83
+ DomHandler.prototype.onend = function () {
84
+ if (this.done)
85
+ return;
86
+ this.done = true;
87
+ this.parser = null;
88
+ this.handleCallback(null);
89
+ };
90
+ DomHandler.prototype.onerror = function (error) {
91
+ this.handleCallback(error);
92
+ };
93
+ DomHandler.prototype.onclosetag = function () {
94
+ this.lastNode = null;
95
+ var elem = this.tagStack.pop();
96
+ if (this.options.withEndIndices) {
97
+ elem.endIndex = this.parser.endIndex;
98
+ }
99
+ if (this.elementCB)
100
+ this.elementCB(elem);
101
+ };
102
+ DomHandler.prototype.onopentag = function (name, attribs) {
103
+ var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : undefined;
104
+ var element = new node_js_1.Element(name, attribs, undefined, type);
105
+ this.addNode(element);
106
+ this.tagStack.push(element);
107
+ };
108
+ DomHandler.prototype.ontext = function (data) {
109
+ var lastNode = this.lastNode;
110
+ if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) {
111
+ lastNode.data += data;
112
+ if (this.options.withEndIndices) {
113
+ lastNode.endIndex = this.parser.endIndex;
114
+ }
115
+ }
116
+ else {
117
+ var node = new node_js_1.Text(data);
118
+ this.addNode(node);
119
+ this.lastNode = node;
120
+ }
121
+ };
122
+ DomHandler.prototype.oncomment = function (data) {
123
+ if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) {
124
+ this.lastNode.data += data;
125
+ return;
126
+ }
127
+ var node = new node_js_1.Comment(data);
128
+ this.addNode(node);
129
+ this.lastNode = node;
130
+ };
131
+ DomHandler.prototype.oncommentend = function () {
132
+ this.lastNode = null;
133
+ };
134
+ DomHandler.prototype.oncdatastart = function () {
135
+ var text = new node_js_1.Text("");
136
+ var node = new node_js_1.CDATA([text]);
137
+ this.addNode(node);
138
+ text.parent = node;
139
+ this.lastNode = text;
140
+ };
141
+ DomHandler.prototype.oncdataend = function () {
142
+ this.lastNode = null;
143
+ };
144
+ DomHandler.prototype.onprocessinginstruction = function (name, data) {
145
+ var node = new node_js_1.ProcessingInstruction(name, data);
146
+ this.addNode(node);
147
+ };
148
+ DomHandler.prototype.handleCallback = function (error) {
149
+ if (typeof this.callback === "function") {
150
+ this.callback(error, this.dom);
151
+ }
152
+ else if (error) {
153
+ throw error;
154
+ }
155
+ };
156
+ DomHandler.prototype.addNode = function (node) {
157
+ var parent = this.tagStack[this.tagStack.length - 1];
158
+ var previousSibling = parent.children[parent.children.length - 1];
159
+ if (this.options.withStartIndices) {
160
+ node.startIndex = this.parser.startIndex;
161
+ }
162
+ if (this.options.withEndIndices) {
163
+ node.endIndex = this.parser.endIndex;
164
+ }
165
+ parent.children.push(node);
166
+ if (previousSibling) {
167
+ node.prev = previousSibling;
168
+ previousSibling.next = node;
169
+ }
170
+ node.parent = parent;
171
+ this.lastNode = null;
172
+ };
173
+ return DomHandler;
174
+ }());
175
+ exports.DomHandler = DomHandler;
176
+ exports.default = DomHandler;
177
+ } (index.__exports));
178
+ return index.__exports;
179
+ }
180
+
181
+ exports.__require = requireLib;
182
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/domhandler/lib/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DomHandler = void 0;\nvar domelementtype_1 = require(\"domelementtype\");\nvar node_js_1 = require(\"./node.js\");\n__exportStar(require(\"./node.js\"), exports);\n// Default options\nvar defaultOpts = {\n withStartIndices: false,\n withEndIndices: false,\n xmlMode: false,\n};\nvar DomHandler = /** @class */ (function () {\n /**\n * @param callback Called once parsing has completed.\n * @param options Settings for the handler.\n * @param elementCB Callback whenever a tag is closed.\n */\n function DomHandler(callback, options, elementCB) {\n /** The elements of the DOM */\n this.dom = [];\n /** The root element for the DOM */\n this.root = new node_js_1.Document(this.dom);\n /** Indicated whether parsing has been completed. */\n this.done = false;\n /** Stack of open tags. */\n this.tagStack = [this.root];\n /** A data node that is still being written to. */\n this.lastNode = null;\n /** Reference to the parser instance. Used for location information. */\n this.parser = null;\n // Make it possible to skip arguments, for backwards-compatibility\n if (typeof options === \"function\") {\n elementCB = options;\n options = defaultOpts;\n }\n if (typeof callback === \"object\") {\n options = callback;\n callback = undefined;\n }\n this.callback = callback !== null && callback !== void 0 ? callback : null;\n this.options = options !== null && options !== void 0 ? options : defaultOpts;\n this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null;\n }\n DomHandler.prototype.onparserinit = function (parser) {\n this.parser = parser;\n };\n // Resets the handler back to starting state\n DomHandler.prototype.onreset = function () {\n this.dom = [];\n this.root = new node_js_1.Document(this.dom);\n this.done = false;\n this.tagStack = [this.root];\n this.lastNode = null;\n this.parser = null;\n };\n // Signals the handler that parsing is done\n DomHandler.prototype.onend = function () {\n if (this.done)\n return;\n this.done = true;\n this.parser = null;\n this.handleCallback(null);\n };\n DomHandler.prototype.onerror = function (error) {\n this.handleCallback(error);\n };\n DomHandler.prototype.onclosetag = function () {\n this.lastNode = null;\n var elem = this.tagStack.pop();\n if (this.options.withEndIndices) {\n elem.endIndex = this.parser.endIndex;\n }\n if (this.elementCB)\n this.elementCB(elem);\n };\n DomHandler.prototype.onopentag = function (name, attribs) {\n var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : undefined;\n var element = new node_js_1.Element(name, attribs, undefined, type);\n this.addNode(element);\n this.tagStack.push(element);\n };\n DomHandler.prototype.ontext = function (data) {\n var lastNode = this.lastNode;\n if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) {\n lastNode.data += data;\n if (this.options.withEndIndices) {\n lastNode.endIndex = this.parser.endIndex;\n }\n }\n else {\n var node = new node_js_1.Text(data);\n this.addNode(node);\n this.lastNode = node;\n }\n };\n DomHandler.prototype.oncomment = function (data) {\n if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) {\n this.lastNode.data += data;\n return;\n }\n var node = new node_js_1.Comment(data);\n this.addNode(node);\n this.lastNode = node;\n };\n DomHandler.prototype.oncommentend = function () {\n this.lastNode = null;\n };\n DomHandler.prototype.oncdatastart = function () {\n var text = new node_js_1.Text(\"\");\n var node = new node_js_1.CDATA([text]);\n this.addNode(node);\n text.parent = node;\n this.lastNode = text;\n };\n DomHandler.prototype.oncdataend = function () {\n this.lastNode = null;\n };\n DomHandler.prototype.onprocessinginstruction = function (name, data) {\n var node = new node_js_1.ProcessingInstruction(name, data);\n this.addNode(node);\n };\n DomHandler.prototype.handleCallback = function (error) {\n if (typeof this.callback === \"function\") {\n this.callback(error, this.dom);\n }\n else if (error) {\n throw error;\n }\n };\n DomHandler.prototype.addNode = function (node) {\n var parent = this.tagStack[this.tagStack.length - 1];\n var previousSibling = parent.children[parent.children.length - 1];\n if (this.options.withStartIndices) {\n node.startIndex = this.parser.startIndex;\n }\n if (this.options.withEndIndices) {\n node.endIndex = this.parser.endIndex;\n }\n parent.children.push(node);\n if (previousSibling) {\n node.prev = previousSibling;\n previousSibling.next = node;\n }\n node.parent = parent;\n this.lastNode = null;\n };\n return DomHandler;\n}());\nexports.DomHandler = DomHandler;\nexports.default = DomHandler;\n"],"names":["this","require$$0","require$$1"],"mappings":";;;;;;;;;;;;EACA,IAAI,eAAe,GAAG,CAACA,eAAI,IAAIA,eAAI,CAAC,eAAe,MAAM,MAAM,CAAC,MAAM,IAAI,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,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AK,EAAE;AACxB,cAAY,MAAM,KAAK;AACvB,UAAA;MACA,CAAK;MACD,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,UAAU,IAAI,EAAE;AACnD,UAAQ,IAAI,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;AAC5D,UAAQ,IAAI,eAAe,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;AACzE,UAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;cAC/B,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU;AACpD,UAAA;AACA,UAAQ,IAAI,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE;cAC7B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ;AAChD,UAAA;AACA,UAAQ,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;UAC1B,IAAI,eAAe,EAAE;AAC7B,cAAY,IAAI,CAAC,IAAI,GAAG,eAAe;AACvC,cAAY,eAAe,CAAC,IAAI,GAAG,IAAI;AACvC,UAAA;AACA,UAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;AAC5B,UAAQ,IAAI,CAAC,QAAQ,GAAG,IAAI;MAC5B,CAAK;AACL,MAAI,OAAO,UAAU;AACrB,EAAA,CAAC,EAAE,CAAC;AACJ,EAAA,OAAA,CAAA,UAAA,GAAqB,UAAU;AAC/B,EAAA,OAAA,CAAA,OAAA,GAAkB,UAAU,CAAA;;;;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,488 @@
1
+ 'use strict';
2
+
3
+ var node = require('../../../_virtual/node.js');
4
+ var index = require('../../domelementtype/lib/index.js');
5
+
6
+ var hasRequiredNode;
7
+
8
+ function requireNode () {
9
+ if (hasRequiredNode) return node.__exports;
10
+ hasRequiredNode = 1;
11
+ var __extends = (node.__exports && node.__exports.__extends) || (function () {
12
+ var extendStatics = function (d, b) {
13
+ extendStatics = Object.setPrototypeOf ||
14
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
15
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
16
+ return extendStatics(d, b);
17
+ };
18
+ return function (d, b) {
19
+ if (typeof b !== "function" && b !== null)
20
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
21
+ extendStatics(d, b);
22
+ function __() { this.constructor = d; }
23
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
+ };
25
+ })();
26
+ var __assign = (node.__exports && node.__exports.__assign) || function () {
27
+ __assign = Object.assign || function(t) {
28
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
29
+ s = arguments[i];
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
31
+ t[p] = s[p];
32
+ }
33
+ return t;
34
+ };
35
+ return __assign.apply(this, arguments);
36
+ };
37
+ Object.defineProperty(node.__exports, "__esModule", { value: true });
38
+ node.__exports.cloneNode = node.__exports.hasChildren = node.__exports.isDocument = node.__exports.isDirective = node.__exports.isComment = node.__exports.isText = node.__exports.isCDATA = node.__exports.isTag = node.__exports.Element = node.__exports.Document = node.__exports.CDATA = node.__exports.NodeWithChildren = node.__exports.ProcessingInstruction = node.__exports.Comment = node.__exports.Text = node.__exports.DataNode = node.__exports.Node = void 0;
39
+ var domelementtype_1 = /*@__PURE__*/ index.__require();
40
+ /**
41
+ * This object will be used as the prototype for Nodes when creating a
42
+ * DOM-Level-1-compliant structure.
43
+ */
44
+ var Node = /** @class */ (function () {
45
+ function Node() {
46
+ /** Parent of the node */
47
+ this.parent = null;
48
+ /** Previous sibling */
49
+ this.prev = null;
50
+ /** Next sibling */
51
+ this.next = null;
52
+ /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */
53
+ this.startIndex = null;
54
+ /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */
55
+ this.endIndex = null;
56
+ }
57
+ Object.defineProperty(Node.prototype, "parentNode", {
58
+ // Read-write aliases for properties
59
+ /**
60
+ * Same as {@link parent}.
61
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
62
+ */
63
+ get: function () {
64
+ return this.parent;
65
+ },
66
+ set: function (parent) {
67
+ this.parent = parent;
68
+ },
69
+ enumerable: false,
70
+ configurable: true
71
+ });
72
+ Object.defineProperty(Node.prototype, "previousSibling", {
73
+ /**
74
+ * Same as {@link prev}.
75
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
76
+ */
77
+ get: function () {
78
+ return this.prev;
79
+ },
80
+ set: function (prev) {
81
+ this.prev = prev;
82
+ },
83
+ enumerable: false,
84
+ configurable: true
85
+ });
86
+ Object.defineProperty(Node.prototype, "nextSibling", {
87
+ /**
88
+ * Same as {@link next}.
89
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
90
+ */
91
+ get: function () {
92
+ return this.next;
93
+ },
94
+ set: function (next) {
95
+ this.next = next;
96
+ },
97
+ enumerable: false,
98
+ configurable: true
99
+ });
100
+ /**
101
+ * Clone this node, and optionally its children.
102
+ *
103
+ * @param recursive Clone child nodes as well.
104
+ * @returns A clone of the node.
105
+ */
106
+ Node.prototype.cloneNode = function (recursive) {
107
+ if (recursive === void 0) { recursive = false; }
108
+ return cloneNode(this, recursive);
109
+ };
110
+ return Node;
111
+ }());
112
+ node.__exports.Node = Node;
113
+ /**
114
+ * A node that contains some data.
115
+ */
116
+ var DataNode = /** @class */ (function (_super) {
117
+ __extends(DataNode, _super);
118
+ /**
119
+ * @param data The content of the data node
120
+ */
121
+ function DataNode(data) {
122
+ var _this = _super.call(this) || this;
123
+ _this.data = data;
124
+ return _this;
125
+ }
126
+ Object.defineProperty(DataNode.prototype, "nodeValue", {
127
+ /**
128
+ * Same as {@link data}.
129
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
130
+ */
131
+ get: function () {
132
+ return this.data;
133
+ },
134
+ set: function (data) {
135
+ this.data = data;
136
+ },
137
+ enumerable: false,
138
+ configurable: true
139
+ });
140
+ return DataNode;
141
+ }(Node));
142
+ node.__exports.DataNode = DataNode;
143
+ /**
144
+ * Text within the document.
145
+ */
146
+ var Text = /** @class */ (function (_super) {
147
+ __extends(Text, _super);
148
+ function Text() {
149
+ var _this = _super !== null && _super.apply(this, arguments) || this;
150
+ _this.type = domelementtype_1.ElementType.Text;
151
+ return _this;
152
+ }
153
+ Object.defineProperty(Text.prototype, "nodeType", {
154
+ get: function () {
155
+ return 3;
156
+ },
157
+ enumerable: false,
158
+ configurable: true
159
+ });
160
+ return Text;
161
+ }(DataNode));
162
+ node.__exports.Text = Text;
163
+ /**
164
+ * Comments within the document.
165
+ */
166
+ var Comment = /** @class */ (function (_super) {
167
+ __extends(Comment, _super);
168
+ function Comment() {
169
+ var _this = _super !== null && _super.apply(this, arguments) || this;
170
+ _this.type = domelementtype_1.ElementType.Comment;
171
+ return _this;
172
+ }
173
+ Object.defineProperty(Comment.prototype, "nodeType", {
174
+ get: function () {
175
+ return 8;
176
+ },
177
+ enumerable: false,
178
+ configurable: true
179
+ });
180
+ return Comment;
181
+ }(DataNode));
182
+ node.__exports.Comment = Comment;
183
+ /**
184
+ * Processing instructions, including doc types.
185
+ */
186
+ var ProcessingInstruction = /** @class */ (function (_super) {
187
+ __extends(ProcessingInstruction, _super);
188
+ function ProcessingInstruction(name, data) {
189
+ var _this = _super.call(this, data) || this;
190
+ _this.name = name;
191
+ _this.type = domelementtype_1.ElementType.Directive;
192
+ return _this;
193
+ }
194
+ Object.defineProperty(ProcessingInstruction.prototype, "nodeType", {
195
+ get: function () {
196
+ return 1;
197
+ },
198
+ enumerable: false,
199
+ configurable: true
200
+ });
201
+ return ProcessingInstruction;
202
+ }(DataNode));
203
+ node.__exports.ProcessingInstruction = ProcessingInstruction;
204
+ /**
205
+ * A `Node` that can have children.
206
+ */
207
+ var NodeWithChildren = /** @class */ (function (_super) {
208
+ __extends(NodeWithChildren, _super);
209
+ /**
210
+ * @param children Children of the node. Only certain node types can have children.
211
+ */
212
+ function NodeWithChildren(children) {
213
+ var _this = _super.call(this) || this;
214
+ _this.children = children;
215
+ return _this;
216
+ }
217
+ Object.defineProperty(NodeWithChildren.prototype, "firstChild", {
218
+ // Aliases
219
+ /** First child of the node. */
220
+ get: function () {
221
+ var _a;
222
+ return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null;
223
+ },
224
+ enumerable: false,
225
+ configurable: true
226
+ });
227
+ Object.defineProperty(NodeWithChildren.prototype, "lastChild", {
228
+ /** Last child of the node. */
229
+ get: function () {
230
+ return this.children.length > 0
231
+ ? this.children[this.children.length - 1]
232
+ : null;
233
+ },
234
+ enumerable: false,
235
+ configurable: true
236
+ });
237
+ Object.defineProperty(NodeWithChildren.prototype, "childNodes", {
238
+ /**
239
+ * Same as {@link children}.
240
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
241
+ */
242
+ get: function () {
243
+ return this.children;
244
+ },
245
+ set: function (children) {
246
+ this.children = children;
247
+ },
248
+ enumerable: false,
249
+ configurable: true
250
+ });
251
+ return NodeWithChildren;
252
+ }(Node));
253
+ node.__exports.NodeWithChildren = NodeWithChildren;
254
+ var CDATA = /** @class */ (function (_super) {
255
+ __extends(CDATA, _super);
256
+ function CDATA() {
257
+ var _this = _super !== null && _super.apply(this, arguments) || this;
258
+ _this.type = domelementtype_1.ElementType.CDATA;
259
+ return _this;
260
+ }
261
+ Object.defineProperty(CDATA.prototype, "nodeType", {
262
+ get: function () {
263
+ return 4;
264
+ },
265
+ enumerable: false,
266
+ configurable: true
267
+ });
268
+ return CDATA;
269
+ }(NodeWithChildren));
270
+ node.__exports.CDATA = CDATA;
271
+ /**
272
+ * The root node of the document.
273
+ */
274
+ var Document = /** @class */ (function (_super) {
275
+ __extends(Document, _super);
276
+ function Document() {
277
+ var _this = _super !== null && _super.apply(this, arguments) || this;
278
+ _this.type = domelementtype_1.ElementType.Root;
279
+ return _this;
280
+ }
281
+ Object.defineProperty(Document.prototype, "nodeType", {
282
+ get: function () {
283
+ return 9;
284
+ },
285
+ enumerable: false,
286
+ configurable: true
287
+ });
288
+ return Document;
289
+ }(NodeWithChildren));
290
+ node.__exports.Document = Document;
291
+ /**
292
+ * An element within the DOM.
293
+ */
294
+ var Element = /** @class */ (function (_super) {
295
+ __extends(Element, _super);
296
+ /**
297
+ * @param name Name of the tag, eg. `div`, `span`.
298
+ * @param attribs Object mapping attribute names to attribute values.
299
+ * @param children Children of the node.
300
+ */
301
+ function Element(name, attribs, children, type) {
302
+ if (children === void 0) { children = []; }
303
+ if (type === void 0) { type = name === "script"
304
+ ? domelementtype_1.ElementType.Script
305
+ : name === "style"
306
+ ? domelementtype_1.ElementType.Style
307
+ : domelementtype_1.ElementType.Tag; }
308
+ var _this = _super.call(this, children) || this;
309
+ _this.name = name;
310
+ _this.attribs = attribs;
311
+ _this.type = type;
312
+ return _this;
313
+ }
314
+ Object.defineProperty(Element.prototype, "nodeType", {
315
+ get: function () {
316
+ return 1;
317
+ },
318
+ enumerable: false,
319
+ configurable: true
320
+ });
321
+ Object.defineProperty(Element.prototype, "tagName", {
322
+ // DOM Level 1 aliases
323
+ /**
324
+ * Same as {@link name}.
325
+ * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
326
+ */
327
+ get: function () {
328
+ return this.name;
329
+ },
330
+ set: function (name) {
331
+ this.name = name;
332
+ },
333
+ enumerable: false,
334
+ configurable: true
335
+ });
336
+ Object.defineProperty(Element.prototype, "attributes", {
337
+ get: function () {
338
+ var _this = this;
339
+ return Object.keys(this.attribs).map(function (name) {
340
+ var _a, _b;
341
+ return ({
342
+ name: name,
343
+ value: _this.attribs[name],
344
+ namespace: (_a = _this["x-attribsNamespace"]) === null || _a === void 0 ? void 0 : _a[name],
345
+ prefix: (_b = _this["x-attribsPrefix"]) === null || _b === void 0 ? void 0 : _b[name],
346
+ });
347
+ });
348
+ },
349
+ enumerable: false,
350
+ configurable: true
351
+ });
352
+ return Element;
353
+ }(NodeWithChildren));
354
+ node.__exports.Element = Element;
355
+ /**
356
+ * @param node Node to check.
357
+ * @returns `true` if the node is a `Element`, `false` otherwise.
358
+ */
359
+ function isTag(node) {
360
+ return (0, domelementtype_1.isTag)(node);
361
+ }
362
+ node.__exports.isTag = isTag;
363
+ /**
364
+ * @param node Node to check.
365
+ * @returns `true` if the node has the type `CDATA`, `false` otherwise.
366
+ */
367
+ function isCDATA(node) {
368
+ return node.type === domelementtype_1.ElementType.CDATA;
369
+ }
370
+ node.__exports.isCDATA = isCDATA;
371
+ /**
372
+ * @param node Node to check.
373
+ * @returns `true` if the node has the type `Text`, `false` otherwise.
374
+ */
375
+ function isText(node) {
376
+ return node.type === domelementtype_1.ElementType.Text;
377
+ }
378
+ node.__exports.isText = isText;
379
+ /**
380
+ * @param node Node to check.
381
+ * @returns `true` if the node has the type `Comment`, `false` otherwise.
382
+ */
383
+ function isComment(node) {
384
+ return node.type === domelementtype_1.ElementType.Comment;
385
+ }
386
+ node.__exports.isComment = isComment;
387
+ /**
388
+ * @param node Node to check.
389
+ * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.
390
+ */
391
+ function isDirective(node) {
392
+ return node.type === domelementtype_1.ElementType.Directive;
393
+ }
394
+ node.__exports.isDirective = isDirective;
395
+ /**
396
+ * @param node Node to check.
397
+ * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.
398
+ */
399
+ function isDocument(node) {
400
+ return node.type === domelementtype_1.ElementType.Root;
401
+ }
402
+ node.__exports.isDocument = isDocument;
403
+ /**
404
+ * @param node Node to check.
405
+ * @returns `true` if the node has children, `false` otherwise.
406
+ */
407
+ function hasChildren(node) {
408
+ return Object.prototype.hasOwnProperty.call(node, "children");
409
+ }
410
+ node.__exports.hasChildren = hasChildren;
411
+ /**
412
+ * Clone a node, and optionally its children.
413
+ *
414
+ * @param recursive Clone child nodes as well.
415
+ * @returns A clone of the node.
416
+ */
417
+ function cloneNode(node, recursive) {
418
+ if (recursive === void 0) { recursive = false; }
419
+ var result;
420
+ if (isText(node)) {
421
+ result = new Text(node.data);
422
+ }
423
+ else if (isComment(node)) {
424
+ result = new Comment(node.data);
425
+ }
426
+ else if (isTag(node)) {
427
+ var children = recursive ? cloneChildren(node.children) : [];
428
+ var clone_1 = new Element(node.name, __assign({}, node.attribs), children);
429
+ children.forEach(function (child) { return (child.parent = clone_1); });
430
+ if (node.namespace != null) {
431
+ clone_1.namespace = node.namespace;
432
+ }
433
+ if (node["x-attribsNamespace"]) {
434
+ clone_1["x-attribsNamespace"] = __assign({}, node["x-attribsNamespace"]);
435
+ }
436
+ if (node["x-attribsPrefix"]) {
437
+ clone_1["x-attribsPrefix"] = __assign({}, node["x-attribsPrefix"]);
438
+ }
439
+ result = clone_1;
440
+ }
441
+ else if (isCDATA(node)) {
442
+ var children = recursive ? cloneChildren(node.children) : [];
443
+ var clone_2 = new CDATA(children);
444
+ children.forEach(function (child) { return (child.parent = clone_2); });
445
+ result = clone_2;
446
+ }
447
+ else if (isDocument(node)) {
448
+ var children = recursive ? cloneChildren(node.children) : [];
449
+ var clone_3 = new Document(children);
450
+ children.forEach(function (child) { return (child.parent = clone_3); });
451
+ if (node["x-mode"]) {
452
+ clone_3["x-mode"] = node["x-mode"];
453
+ }
454
+ result = clone_3;
455
+ }
456
+ else if (isDirective(node)) {
457
+ var instruction = new ProcessingInstruction(node.name, node.data);
458
+ if (node["x-name"] != null) {
459
+ instruction["x-name"] = node["x-name"];
460
+ instruction["x-publicId"] = node["x-publicId"];
461
+ instruction["x-systemId"] = node["x-systemId"];
462
+ }
463
+ result = instruction;
464
+ }
465
+ else {
466
+ throw new Error("Not implemented yet: ".concat(node.type));
467
+ }
468
+ result.startIndex = node.startIndex;
469
+ result.endIndex = node.endIndex;
470
+ if (node.sourceCodeLocation != null) {
471
+ result.sourceCodeLocation = node.sourceCodeLocation;
472
+ }
473
+ return result;
474
+ }
475
+ node.__exports.cloneNode = cloneNode;
476
+ function cloneChildren(childs) {
477
+ var children = childs.map(function (child) { return cloneNode(child, true); });
478
+ for (var i = 1; i < children.length; i++) {
479
+ children[i].prev = children[i - 1];
480
+ children[i - 1].next = children[i];
481
+ }
482
+ return children;
483
+ }
484
+ return node.__exports;
485
+ }
486
+
487
+ exports.__require = requireNode;
488
+ //# sourceMappingURL=node.js.map