@axdspub/axiom-ui-forms 0.2.7 โ†’ 0.2.9

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 (416) hide show
  1. package/library/axiom-ui-forms.d.ts +55 -6
  2. package/library/esm/_virtual/formats.js +4 -0
  3. package/library/esm/_virtual/formats.js.map +1 -0
  4. package/library/esm/_virtual/index.js +6 -2
  5. package/library/esm/_virtual/index.js.map +1 -1
  6. package/library/esm/_virtual/index10.js +2 -2
  7. package/library/esm/_virtual/index11.js +2 -2
  8. package/library/esm/_virtual/index12.js +6 -2
  9. package/library/esm/_virtual/index12.js.map +1 -1
  10. package/library/esm/_virtual/index13.js +8 -0
  11. package/library/esm/_virtual/index13.js.map +1 -0
  12. package/library/esm/_virtual/index14.js +4 -0
  13. package/library/esm/_virtual/index14.js.map +1 -0
  14. package/library/esm/_virtual/index15.js +4 -0
  15. package/library/esm/_virtual/index15.js.map +1 -0
  16. package/library/esm/_virtual/index16.js +4 -0
  17. package/library/esm/_virtual/index16.js.map +1 -0
  18. package/library/esm/_virtual/index17.js +4 -0
  19. package/library/esm/_virtual/index17.js.map +1 -0
  20. package/library/esm/_virtual/index2.js +2 -2
  21. package/library/esm/_virtual/index4.js +2 -2
  22. package/library/esm/_virtual/index4.js.map +1 -1
  23. package/library/esm/_virtual/index5.js +2 -2
  24. package/library/esm/_virtual/index6.js +2 -2
  25. package/library/esm/_virtual/index6.js.map +1 -1
  26. package/library/esm/_virtual/index7.js +2 -2
  27. package/library/esm/_virtual/index8.js +2 -2
  28. package/library/esm/_virtual/limit.js +4 -0
  29. package/library/esm/_virtual/limit.js.map +1 -0
  30. package/library/esm/_virtual/utilities.js +4 -0
  31. package/library/esm/_virtual/utilities.js.map +1 -0
  32. package/library/esm/node_modules/@axdspub/axiom-ui-utilities/library/index.js +241 -9
  33. package/library/esm/node_modules/@axdspub/axiom-ui-utilities/library/index.js.map +1 -1
  34. package/library/esm/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
  35. package/library/esm/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
  36. package/library/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
  37. package/library/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
  38. package/library/esm/node_modules/@codemirror/autocomplete/dist/index.js +1652 -0
  39. package/library/esm/node_modules/@codemirror/autocomplete/dist/index.js.map +1 -0
  40. package/library/esm/node_modules/@codemirror/commands/dist/index.js +1444 -0
  41. package/library/esm/node_modules/@codemirror/commands/dist/index.js.map +1 -0
  42. package/library/esm/node_modules/@codemirror/lang-json/dist/index.js +33 -0
  43. package/library/esm/node_modules/@codemirror/lang-json/dist/index.js.map +1 -0
  44. package/library/esm/node_modules/@codemirror/lang-yaml/dist/index.js +59 -0
  45. package/library/esm/node_modules/@codemirror/lang-yaml/dist/index.js.map +1 -0
  46. package/library/esm/node_modules/@codemirror/language/dist/index.js +1821 -0
  47. package/library/esm/node_modules/@codemirror/language/dist/index.js.map +1 -0
  48. package/library/esm/node_modules/@codemirror/lint/dist/index.js +589 -0
  49. package/library/esm/node_modules/@codemirror/lint/dist/index.js.map +1 -0
  50. package/library/esm/node_modules/@codemirror/search/dist/index.js +1227 -0
  51. package/library/esm/node_modules/@codemirror/search/dist/index.js.map +1 -0
  52. package/library/esm/node_modules/@codemirror/state/dist/index.js +3882 -0
  53. package/library/esm/node_modules/@codemirror/state/dist/index.js.map +1 -0
  54. package/library/esm/node_modules/@codemirror/theme-one-dark/dist/index.js +114 -0
  55. package/library/esm/node_modules/@codemirror/theme-one-dark/dist/index.js.map +1 -0
  56. package/library/esm/node_modules/@codemirror/view/dist/index.js +11052 -0
  57. package/library/esm/node_modules/@codemirror/view/dist/index.js.map +1 -0
  58. package/library/esm/node_modules/@lezer/common/dist/index.js +1704 -0
  59. package/library/esm/node_modules/@lezer/common/dist/index.js.map +1 -0
  60. package/library/esm/node_modules/@lezer/highlight/dist/index.js +876 -0
  61. package/library/esm/node_modules/@lezer/highlight/dist/index.js.map +1 -0
  62. package/library/esm/node_modules/@lezer/json/dist/index.js +38 -0
  63. package/library/esm/node_modules/@lezer/json/dist/index.js.map +1 -0
  64. package/library/esm/node_modules/@lezer/lr/dist/index.js +1855 -0
  65. package/library/esm/node_modules/@lezer/lr/dist/index.js.map +1 -0
  66. package/library/esm/node_modules/@lezer/yaml/dist/index.js +392 -0
  67. package/library/esm/node_modules/@lezer/yaml/dist/index.js.map +1 -0
  68. package/library/esm/node_modules/@marijn/find-cluster-break/src/index.js +83 -0
  69. package/library/esm/node_modules/@marijn/find-cluster-break/src/index.js.map +1 -0
  70. package/library/esm/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +67 -1
  71. package/library/esm/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -1
  72. package/library/esm/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.js +100 -0
  73. package/library/esm/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.js.map +1 -0
  74. package/library/esm/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.js +58 -0
  75. package/library/esm/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.js.map +1 -0
  76. package/library/esm/node_modules/@uiw/react-codemirror/esm/index.js +89 -0
  77. package/library/esm/node_modules/@uiw/react-codemirror/esm/index.js.map +1 -0
  78. package/library/esm/node_modules/@uiw/react-codemirror/esm/theme/light.js +12 -0
  79. package/library/esm/node_modules/@uiw/react-codemirror/esm/theme/light.js.map +1 -0
  80. package/library/esm/node_modules/@uiw/react-codemirror/esm/useCodeMirror.js +151 -0
  81. package/library/esm/node_modules/@uiw/react-codemirror/esm/useCodeMirror.js.map +1 -0
  82. package/library/esm/node_modules/@uiw/react-codemirror/esm/utils.js +19 -0
  83. package/library/esm/node_modules/@uiw/react-codemirror/esm/utils.js.map +1 -0
  84. package/library/esm/node_modules/@ungap/structured-clone/esm/deserialize.js +77 -0
  85. package/library/esm/node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
  86. package/library/esm/node_modules/@ungap/structured-clone/esm/index.js +25 -0
  87. package/library/esm/node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
  88. package/library/esm/node_modules/@ungap/structured-clone/esm/serialize.js +159 -0
  89. package/library/esm/node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
  90. package/library/esm/node_modules/@ungap/structured-clone/esm/types.js +14 -0
  91. package/library/esm/node_modules/@ungap/structured-clone/esm/types.js.map +1 -0
  92. package/library/esm/node_modules/ajv/dist/compile/codegen/index.js +1 -1
  93. package/library/esm/node_modules/ajv/dist/compile/index.js +1 -1
  94. package/library/esm/node_modules/ajv/dist/vocabularies/applicator/index.js +1 -1
  95. package/library/esm/node_modules/ajv/dist/vocabularies/core/index.js +1 -1
  96. package/library/esm/node_modules/ajv/dist/vocabularies/discriminator/index.js +1 -1
  97. package/library/esm/node_modules/ajv/dist/vocabularies/validation/index.js +1 -1
  98. package/library/esm/node_modules/ajv-formats/dist/formats.js +221 -0
  99. package/library/esm/node_modules/ajv-formats/dist/formats.js.map +1 -0
  100. package/library/esm/node_modules/ajv-formats/dist/index.js +53 -0
  101. package/library/esm/node_modules/ajv-formats/dist/index.js.map +1 -0
  102. package/library/esm/node_modules/ajv-formats/dist/limit.js +84 -0
  103. package/library/esm/node_modules/ajv-formats/dist/limit.js.map +1 -0
  104. package/library/esm/node_modules/bail/index.js +15 -0
  105. package/library/esm/node_modules/bail/index.js.map +1 -0
  106. package/library/esm/node_modules/comma-separated-tokens/index.js +37 -0
  107. package/library/esm/node_modules/comma-separated-tokens/index.js.map +1 -0
  108. package/library/esm/node_modules/crelt/index.js +30 -0
  109. package/library/esm/node_modules/crelt/index.js.map +1 -0
  110. package/library/esm/node_modules/decode-named-character-reference/index.dom.js +39 -0
  111. package/library/esm/node_modules/decode-named-character-reference/index.dom.js.map +1 -0
  112. package/library/esm/node_modules/devlop/lib/default.js +6 -0
  113. package/library/esm/node_modules/devlop/lib/default.js.map +1 -0
  114. package/library/esm/node_modules/estree-util-is-identifier-name/lib/index.js +31 -0
  115. package/library/esm/node_modules/estree-util-is-identifier-name/lib/index.js.map +1 -0
  116. package/library/esm/node_modules/extend/index.js +127 -0
  117. package/library/esm/node_modules/extend/index.js.map +1 -0
  118. package/library/esm/node_modules/fast-uri/index.js +1 -1
  119. package/library/esm/node_modules/hast-util-to-jsx-runtime/lib/index.js +791 -0
  120. package/library/esm/node_modules/hast-util-to-jsx-runtime/lib/index.js.map +1 -0
  121. package/library/esm/node_modules/hast-util-whitespace/lib/index.js +37 -0
  122. package/library/esm/node_modules/hast-util-whitespace/lib/index.js.map +1 -0
  123. package/library/esm/node_modules/html-url-attributes/lib/index.js +34 -0
  124. package/library/esm/node_modules/html-url-attributes/lib/index.js.map +1 -0
  125. package/library/esm/node_modules/inline-style-parser/index.js +268 -0
  126. package/library/esm/node_modules/inline-style-parser/index.js.map +1 -0
  127. package/library/esm/node_modules/js-yaml/dist/js-yaml.js +3850 -0
  128. package/library/esm/node_modules/js-yaml/dist/js-yaml.js.map +1 -0
  129. package/library/esm/node_modules/json-schema-traverse/index.js +1 -1
  130. package/library/esm/node_modules/mdast-util-from-markdown/lib/index.js +1181 -0
  131. package/library/esm/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
  132. package/library/esm/node_modules/mdast-util-to-hast/lib/footer.js +197 -0
  133. package/library/esm/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
  134. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +31 -0
  135. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
  136. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/break.js +27 -0
  137. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
  138. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/code.js +51 -0
  139. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
  140. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/delete.js +31 -0
  141. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
  142. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +31 -0
  143. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
  144. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +74 -0
  145. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
  146. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/heading.js +31 -0
  147. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
  148. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/html.js +32 -0
  149. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
  150. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +45 -0
  151. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
  152. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/image.js +40 -0
  153. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
  154. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/index.js +67 -0
  155. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
  156. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +36 -0
  157. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
  158. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +50 -0
  159. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
  160. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/link.js +41 -0
  161. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
  162. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +126 -0
  163. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
  164. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/list.js +57 -0
  165. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
  166. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +31 -0
  167. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
  168. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/root.js +27 -0
  169. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
  170. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/strong.js +31 -0
  171. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
  172. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +33 -0
  173. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
  174. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +70 -0
  175. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
  176. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table.js +65 -0
  177. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
  178. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/text.js +29 -0
  179. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
  180. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +31 -0
  181. package/library/esm/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
  182. package/library/esm/node_modules/mdast-util-to-hast/lib/index.js +105 -0
  183. package/library/esm/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
  184. package/library/esm/node_modules/mdast-util-to-hast/lib/revert.js +56 -0
  185. package/library/esm/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
  186. package/library/esm/node_modules/mdast-util-to-hast/lib/state.js +322 -0
  187. package/library/esm/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
  188. package/library/esm/node_modules/mdast-util-to-string/lib/index.js +111 -0
  189. package/library/esm/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
  190. package/library/esm/node_modules/micromark/lib/constructs.js +108 -0
  191. package/library/esm/node_modules/micromark/lib/constructs.js.map +1 -0
  192. package/library/esm/node_modules/micromark/lib/create-tokenizer.js +576 -0
  193. package/library/esm/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
  194. package/library/esm/node_modules/micromark/lib/initialize/content.js +83 -0
  195. package/library/esm/node_modules/micromark/lib/initialize/content.js.map +1 -0
  196. package/library/esm/node_modules/micromark/lib/initialize/document.js +361 -0
  197. package/library/esm/node_modules/micromark/lib/initialize/document.js.map +1 -0
  198. package/library/esm/node_modules/micromark/lib/initialize/flow.js +62 -0
  199. package/library/esm/node_modules/micromark/lib/initialize/flow.js.map +1 -0
  200. package/library/esm/node_modules/micromark/lib/initialize/text.js +213 -0
  201. package/library/esm/node_modules/micromark/lib/initialize/text.js.map +1 -0
  202. package/library/esm/node_modules/micromark/lib/parse.js +60 -0
  203. package/library/esm/node_modules/micromark/lib/parse.js.map +1 -0
  204. package/library/esm/node_modules/micromark/lib/postprocess.js +22 -0
  205. package/library/esm/node_modules/micromark/lib/postprocess.js.map +1 -0
  206. package/library/esm/node_modules/micromark/lib/preprocess.js +118 -0
  207. package/library/esm/node_modules/micromark/lib/preprocess.js.map +1 -0
  208. package/library/esm/node_modules/micromark-core-commonmark/lib/attention.js +245 -0
  209. package/library/esm/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
  210. package/library/esm/node_modules/micromark-core-commonmark/lib/autolink.js +237 -0
  211. package/library/esm/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
  212. package/library/esm/node_modules/micromark-core-commonmark/lib/blank-line.js +65 -0
  213. package/library/esm/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
  214. package/library/esm/node_modules/micromark-core-commonmark/lib/block-quote.js +147 -0
  215. package/library/esm/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
  216. package/library/esm/node_modules/micromark-core-commonmark/lib/character-escape.js +68 -0
  217. package/library/esm/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
  218. package/library/esm/node_modules/micromark-core-commonmark/lib/character-reference.js +153 -0
  219. package/library/esm/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
  220. package/library/esm/node_modules/micromark-core-commonmark/lib/code-fenced.js +464 -0
  221. package/library/esm/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
  222. package/library/esm/node_modules/micromark-core-commonmark/lib/code-indented.js +181 -0
  223. package/library/esm/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
  224. package/library/esm/node_modules/micromark-core-commonmark/lib/code-text.js +228 -0
  225. package/library/esm/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
  226. package/library/esm/node_modules/micromark-core-commonmark/lib/content.js +167 -0
  227. package/library/esm/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
  228. package/library/esm/node_modules/micromark-core-commonmark/lib/definition.js +258 -0
  229. package/library/esm/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
  230. package/library/esm/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +64 -0
  231. package/library/esm/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
  232. package/library/esm/node_modules/micromark-core-commonmark/lib/heading-atx.js +199 -0
  233. package/library/esm/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
  234. package/library/esm/node_modules/micromark-core-commonmark/lib/html-flow.js +880 -0
  235. package/library/esm/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
  236. package/library/esm/node_modules/micromark-core-commonmark/lib/html-text.js +682 -0
  237. package/library/esm/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
  238. package/library/esm/node_modules/micromark-core-commonmark/lib/label-end.js +564 -0
  239. package/library/esm/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
  240. package/library/esm/node_modules/micromark-core-commonmark/lib/label-start-image.js +106 -0
  241. package/library/esm/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
  242. package/library/esm/node_modules/micromark-core-commonmark/lib/label-start-link.js +59 -0
  243. package/library/esm/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
  244. package/library/esm/node_modules/micromark-core-commonmark/lib/line-ending.js +36 -0
  245. package/library/esm/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
  246. package/library/esm/node_modules/micromark-core-commonmark/lib/list.js +217 -0
  247. package/library/esm/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
  248. package/library/esm/node_modules/micromark-core-commonmark/lib/setext-underline.js +189 -0
  249. package/library/esm/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
  250. package/library/esm/node_modules/micromark-core-commonmark/lib/thematic-break.js +106 -0
  251. package/library/esm/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
  252. package/library/esm/node_modules/micromark-factory-destination/index.js +210 -0
  253. package/library/esm/node_modules/micromark-factory-destination/index.js.map +1 -0
  254. package/library/esm/node_modules/micromark-factory-label/index.js +152 -0
  255. package/library/esm/node_modules/micromark-factory-label/index.js.map +1 -0
  256. package/library/esm/node_modules/micromark-factory-space/index.js +68 -0
  257. package/library/esm/node_modules/micromark-factory-space/index.js.map +1 -0
  258. package/library/esm/node_modules/micromark-factory-title/index.js +162 -0
  259. package/library/esm/node_modules/micromark-factory-title/index.js.map +1 -0
  260. package/library/esm/node_modules/micromark-factory-whitespace/index.js +48 -0
  261. package/library/esm/node_modules/micromark-factory-whitespace/index.js.map +1 -0
  262. package/library/esm/node_modules/micromark-util-character/index.js +249 -0
  263. package/library/esm/node_modules/micromark-util-character/index.js.map +1 -0
  264. package/library/esm/node_modules/micromark-util-chunked/index.js +84 -0
  265. package/library/esm/node_modules/micromark-util-chunked/index.js.map +1 -0
  266. package/library/esm/node_modules/micromark-util-classify-character/index.js +31 -0
  267. package/library/esm/node_modules/micromark-util-classify-character/index.js.map +1 -0
  268. package/library/esm/node_modules/micromark-util-combine-extensions/index.js +96 -0
  269. package/library/esm/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
  270. package/library/esm/node_modules/micromark-util-decode-numeric-character-reference/index.js +35 -0
  271. package/library/esm/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
  272. package/library/esm/node_modules/micromark-util-decode-string/index.js +49 -0
  273. package/library/esm/node_modules/micromark-util-decode-string/index.js.map +1 -0
  274. package/library/esm/node_modules/micromark-util-html-tag-name/index.js +96 -0
  275. package/library/esm/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
  276. package/library/esm/node_modules/micromark-util-normalize-identifier/index.js +36 -0
  277. package/library/esm/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
  278. package/library/esm/node_modules/micromark-util-resolve-all/index.js +35 -0
  279. package/library/esm/node_modules/micromark-util-resolve-all/index.js.map +1 -0
  280. package/library/esm/node_modules/micromark-util-sanitize-uri/index.js +67 -0
  281. package/library/esm/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
  282. package/library/esm/node_modules/micromark-util-subtokenize/index.js +227 -0
  283. package/library/esm/node_modules/micromark-util-subtokenize/index.js.map +1 -0
  284. package/library/esm/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +254 -0
  285. package/library/esm/node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
  286. package/library/esm/node_modules/property-information/index.js +16 -0
  287. package/library/esm/node_modules/property-information/index.js.map +1 -0
  288. package/library/esm/node_modules/property-information/lib/aria.js +64 -0
  289. package/library/esm/node_modules/property-information/lib/aria.js.map +1 -0
  290. package/library/esm/node_modules/property-information/lib/find.js +101 -0
  291. package/library/esm/node_modules/property-information/lib/find.js.map +1 -0
  292. package/library/esm/node_modules/property-information/lib/hast-to-react.js +33 -0
  293. package/library/esm/node_modules/property-information/lib/hast-to-react.js.map +1 -0
  294. package/library/esm/node_modules/property-information/lib/html.js +318 -0
  295. package/library/esm/node_modules/property-information/lib/html.js.map +1 -0
  296. package/library/esm/node_modules/property-information/lib/normalize.js +15 -0
  297. package/library/esm/node_modules/property-information/lib/normalize.js.map +1 -0
  298. package/library/esm/node_modules/property-information/lib/svg.js +564 -0
  299. package/library/esm/node_modules/property-information/lib/svg.js.map +1 -0
  300. package/library/esm/node_modules/property-information/lib/util/case-insensitive-transform.js +16 -0
  301. package/library/esm/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
  302. package/library/esm/node_modules/property-information/lib/util/case-sensitive-transform.js +14 -0
  303. package/library/esm/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
  304. package/library/esm/node_modules/property-information/lib/util/create.js +47 -0
  305. package/library/esm/node_modules/property-information/lib/util/create.js.map +1 -0
  306. package/library/esm/node_modules/property-information/lib/util/defined-info.js +64 -0
  307. package/library/esm/node_modules/property-information/lib/util/defined-info.js.map +1 -0
  308. package/library/esm/node_modules/property-information/lib/util/info.js +35 -0
  309. package/library/esm/node_modules/property-information/lib/util/info.js.map +1 -0
  310. package/library/esm/node_modules/property-information/lib/util/merge.js +31 -0
  311. package/library/esm/node_modules/property-information/lib/util/merge.js.map +1 -0
  312. package/library/esm/node_modules/property-information/lib/util/schema.js +32 -0
  313. package/library/esm/node_modules/property-information/lib/util/schema.js.map +1 -0
  314. package/library/esm/node_modules/property-information/lib/util/types.js +16 -0
  315. package/library/esm/node_modules/property-information/lib/util/types.js.map +1 -0
  316. package/library/esm/node_modules/property-information/lib/xlink.js +20 -0
  317. package/library/esm/node_modules/property-information/lib/xlink.js.map +1 -0
  318. package/library/esm/node_modules/property-information/lib/xml.js +12 -0
  319. package/library/esm/node_modules/property-information/lib/xml.js.map +1 -0
  320. package/library/esm/node_modules/property-information/lib/xmlns.js +12 -0
  321. package/library/esm/node_modules/property-information/lib/xmlns.js.map +1 -0
  322. package/library/esm/node_modules/react-markdown/lib/index.js +267 -0
  323. package/library/esm/node_modules/react-markdown/lib/index.js.map +1 -0
  324. package/library/esm/node_modules/react-router/dist/development/chunk-HA7DTUK3.js +1 -1
  325. package/library/esm/node_modules/react-router/node_modules/cookie/dist/index.js +1 -1
  326. package/library/esm/node_modules/remark-parse/lib/index.js +43 -0
  327. package/library/esm/node_modules/remark-parse/lib/index.js.map +1 -0
  328. package/library/esm/node_modules/remark-rehype/lib/index.js +132 -0
  329. package/library/esm/node_modules/remark-rehype/lib/index.js.map +1 -0
  330. package/library/esm/node_modules/space-separated-tokens/index.js +23 -0
  331. package/library/esm/node_modules/space-separated-tokens/index.js.map +1 -0
  332. package/library/esm/node_modules/style-mod/src/style-mod.js +175 -0
  333. package/library/esm/node_modules/style-mod/src/style-mod.js.map +1 -0
  334. package/library/esm/node_modules/style-to-js/cjs/index.js +38 -0
  335. package/library/esm/node_modules/style-to-js/cjs/index.js.map +1 -0
  336. package/library/esm/node_modules/style-to-js/cjs/utilities.js +58 -0
  337. package/library/esm/node_modules/style-to-js/cjs/utilities.js.map +1 -0
  338. package/library/esm/node_modules/style-to-object/cjs/index.js +56 -0
  339. package/library/esm/node_modules/style-to-object/cjs/index.js.map +1 -0
  340. package/library/esm/node_modules/trim-lines/index.js +72 -0
  341. package/library/esm/node_modules/trim-lines/index.js.map +1 -0
  342. package/library/esm/node_modules/trough/lib/index.js +209 -0
  343. package/library/esm/node_modules/trough/lib/index.js.map +1 -0
  344. package/library/esm/node_modules/unified/lib/callable-instance.js +47 -0
  345. package/library/esm/node_modules/unified/lib/callable-instance.js.map +1 -0
  346. package/library/esm/node_modules/unified/lib/index.js +979 -0
  347. package/library/esm/node_modules/unified/lib/index.js.map +1 -0
  348. package/library/esm/node_modules/unified/node_modules/is-plain-obj/index.js +11 -0
  349. package/library/esm/node_modules/unified/node_modules/is-plain-obj/index.js.map +1 -0
  350. package/library/esm/node_modules/unist-util-is/lib/index.js +179 -0
  351. package/library/esm/node_modules/unist-util-is/lib/index.js.map +1 -0
  352. package/library/esm/node_modules/unist-util-position/lib/index.js +98 -0
  353. package/library/esm/node_modules/unist-util-position/lib/index.js.map +1 -0
  354. package/library/esm/node_modules/unist-util-stringify-position/lib/index.js +87 -0
  355. package/library/esm/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  356. package/library/esm/node_modules/unist-util-visit/lib/index.js +95 -0
  357. package/library/esm/node_modules/unist-util-visit/lib/index.js.map +1 -0
  358. package/library/esm/node_modules/unist-util-visit-parents/lib/color.js +10 -0
  359. package/library/esm/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
  360. package/library/esm/node_modules/unist-util-visit-parents/lib/index.js +188 -0
  361. package/library/esm/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  362. package/library/esm/node_modules/vfile/lib/index.js +644 -0
  363. package/library/esm/node_modules/vfile/lib/index.js.map +1 -0
  364. package/library/esm/node_modules/vfile/lib/minpath.browser.js +427 -0
  365. package/library/esm/node_modules/vfile/lib/minpath.browser.js.map +1 -0
  366. package/library/esm/node_modules/vfile/lib/minproc.browser.js +11 -0
  367. package/library/esm/node_modules/vfile/lib/minproc.browser.js.map +1 -0
  368. package/library/esm/node_modules/vfile/lib/minurl.browser.js +77 -0
  369. package/library/esm/node_modules/vfile/lib/minurl.browser.js.map +1 -0
  370. package/library/esm/node_modules/vfile/lib/minurl.shared.js +34 -0
  371. package/library/esm/node_modules/vfile/lib/minurl.shared.js.map +1 -0
  372. package/library/esm/node_modules/vfile-message/lib/index.js +305 -0
  373. package/library/esm/node_modules/vfile-message/lib/index.js.map +1 -0
  374. package/library/esm/node_modules/w3c-keyname/index.js +122 -0
  375. package/library/esm/node_modules/w3c-keyname/index.js.map +1 -0
  376. package/library/esm/src/Form/Components/FieldCreator.js +0 -1
  377. package/library/esm/src/Form/Components/FieldCreator.js.map +1 -1
  378. package/library/esm/src/Form/Components/FieldLabel.js +13 -3
  379. package/library/esm/src/Form/Components/FieldLabel.js.map +1 -1
  380. package/library/esm/src/Form/Components/InlineMarkdown.js +15 -0
  381. package/library/esm/src/Form/Components/InlineMarkdown.js.map +1 -0
  382. package/library/esm/src/Form/Components/Inputs/Boolean.js +5 -2
  383. package/library/esm/src/Form/Components/Inputs/Boolean.js.map +1 -1
  384. package/library/esm/src/Form/Components/Inputs/Constant.js +18 -0
  385. package/library/esm/src/Form/Components/Inputs/Constant.js.map +1 -0
  386. package/library/esm/src/Form/Components/Inputs/GeoJSONInputLoader.js +1 -1
  387. package/library/esm/src/Form/Components/Inputs/Geometry.js +290 -329
  388. package/library/esm/src/Form/Components/Inputs/Geometry.js.map +1 -1
  389. package/library/esm/src/Form/Components/Inputs/JSON.js +132 -0
  390. package/library/esm/src/Form/Components/Inputs/JSON.js.map +1 -0
  391. package/library/esm/src/Form/Components/Inputs/JSONInputLoader.js +19 -0
  392. package/library/esm/src/Form/Components/Inputs/JSONInputLoader.js.map +1 -0
  393. package/library/esm/src/Form/Components/Inputs/Number.js +78 -8
  394. package/library/esm/src/Form/Components/Inputs/Number.js.map +1 -1
  395. package/library/esm/src/Form/Components/Inputs/OneOfInput.js +9 -0
  396. package/library/esm/src/Form/Components/Inputs/OneOfInput.js.map +1 -0
  397. package/library/esm/src/Form/Components/Inputs/String.js +9 -3
  398. package/library/esm/src/Form/Components/Inputs/String.js.map +1 -1
  399. package/library/esm/src/Form/Components/Inputs/inputMap.js +7 -3
  400. package/library/esm/src/Form/Components/Inputs/inputMap.js.map +1 -1
  401. package/library/esm/src/Form/Creator/FormCreator.js +42 -49
  402. package/library/esm/src/Form/Creator/FormCreator.js.map +1 -1
  403. package/library/esm/src/Form/Creator/FormHeader.js +7 -5
  404. package/library/esm/src/Form/Creator/FormHeader.js.map +1 -1
  405. package/library/esm/src/Form/Creator/Page.js +4 -3
  406. package/library/esm/src/Form/Creator/Page.js.map +1 -1
  407. package/library/esm/src/Form/Manage/CopyableJSONOutput.js +41 -0
  408. package/library/esm/src/Form/Manage/CopyableJSONOutput.js.map +1 -0
  409. package/library/esm/src/Form/helpers.js +12 -2
  410. package/library/esm/src/Form/helpers.js.map +1 -1
  411. package/library/esm/src/Form/schemaToFormHelpers.js +209 -18
  412. package/library/esm/src/Form/schemaToFormHelpers.js.map +1 -1
  413. package/library/esm/src/library.js +2 -2
  414. package/package.json +8 -1
  415. package/library/esm/src/Form/Components/Inputs/JSONString.js +0 -34
  416. package/library/esm/src/Form/Components/Inputs/JSONString.js.map +0 -1
@@ -0,0 +1,682 @@
1
+ import { factorySpace } from '../../micromark-factory-space/index.js';
2
+ import { asciiAlpha, markdownLineEnding, asciiAlphanumeric, markdownSpace, markdownLineEndingOrSpace } from '../../micromark-util-character/index.js';
3
+
4
+ /**
5
+ * @import {
6
+ * Code,
7
+ * Construct,
8
+ * State,
9
+ * TokenizeContext,
10
+ * Tokenizer
11
+ * } from 'micromark-util-types'
12
+ */
13
+
14
+ /** @type {Construct} */
15
+ const htmlText = {
16
+ name: 'htmlText',
17
+ tokenize: tokenizeHtmlText
18
+ };
19
+
20
+ /**
21
+ * @this {TokenizeContext}
22
+ * Context.
23
+ * @type {Tokenizer}
24
+ */
25
+ function tokenizeHtmlText(effects, ok, nok) {
26
+ const self = this;
27
+ /** @type {NonNullable<Code> | undefined} */
28
+ let marker;
29
+ /** @type {number} */
30
+ let index;
31
+ /** @type {State} */
32
+ let returnState;
33
+ return start;
34
+
35
+ /**
36
+ * Start of HTML (text).
37
+ *
38
+ * ```markdown
39
+ * > | a <b> c
40
+ * ^
41
+ * ```
42
+ *
43
+ * @type {State}
44
+ */
45
+ function start(code) {
46
+ effects.enter("htmlText");
47
+ effects.enter("htmlTextData");
48
+ effects.consume(code);
49
+ return open;
50
+ }
51
+
52
+ /**
53
+ * After `<`, at tag name or other stuff.
54
+ *
55
+ * ```markdown
56
+ * > | a <b> c
57
+ * ^
58
+ * > | a <!doctype> c
59
+ * ^
60
+ * > | a <!--b--> c
61
+ * ^
62
+ * ```
63
+ *
64
+ * @type {State}
65
+ */
66
+ function open(code) {
67
+ if (code === 33) {
68
+ effects.consume(code);
69
+ return declarationOpen;
70
+ }
71
+ if (code === 47) {
72
+ effects.consume(code);
73
+ return tagCloseStart;
74
+ }
75
+ if (code === 63) {
76
+ effects.consume(code);
77
+ return instruction;
78
+ }
79
+
80
+ // ASCII alphabetical.
81
+ if (asciiAlpha(code)) {
82
+ effects.consume(code);
83
+ return tagOpen;
84
+ }
85
+ return nok(code);
86
+ }
87
+
88
+ /**
89
+ * After `<!`, at declaration, comment, or CDATA.
90
+ *
91
+ * ```markdown
92
+ * > | a <!doctype> c
93
+ * ^
94
+ * > | a <!--b--> c
95
+ * ^
96
+ * > | a <![CDATA[>&<]]> c
97
+ * ^
98
+ * ```
99
+ *
100
+ * @type {State}
101
+ */
102
+ function declarationOpen(code) {
103
+ if (code === 45) {
104
+ effects.consume(code);
105
+ return commentOpenInside;
106
+ }
107
+ if (code === 91) {
108
+ effects.consume(code);
109
+ index = 0;
110
+ return cdataOpenInside;
111
+ }
112
+ if (asciiAlpha(code)) {
113
+ effects.consume(code);
114
+ return declaration;
115
+ }
116
+ return nok(code);
117
+ }
118
+
119
+ /**
120
+ * In a comment, after `<!-`, at another `-`.
121
+ *
122
+ * ```markdown
123
+ * > | a <!--b--> c
124
+ * ^
125
+ * ```
126
+ *
127
+ * @type {State}
128
+ */
129
+ function commentOpenInside(code) {
130
+ if (code === 45) {
131
+ effects.consume(code);
132
+ return commentEnd;
133
+ }
134
+ return nok(code);
135
+ }
136
+
137
+ /**
138
+ * In comment.
139
+ *
140
+ * ```markdown
141
+ * > | a <!--b--> c
142
+ * ^
143
+ * ```
144
+ *
145
+ * @type {State}
146
+ */
147
+ function comment(code) {
148
+ if (code === null) {
149
+ return nok(code);
150
+ }
151
+ if (code === 45) {
152
+ effects.consume(code);
153
+ return commentClose;
154
+ }
155
+ if (markdownLineEnding(code)) {
156
+ returnState = comment;
157
+ return lineEndingBefore(code);
158
+ }
159
+ effects.consume(code);
160
+ return comment;
161
+ }
162
+
163
+ /**
164
+ * In comment, after `-`.
165
+ *
166
+ * ```markdown
167
+ * > | a <!--b--> c
168
+ * ^
169
+ * ```
170
+ *
171
+ * @type {State}
172
+ */
173
+ function commentClose(code) {
174
+ if (code === 45) {
175
+ effects.consume(code);
176
+ return commentEnd;
177
+ }
178
+ return comment(code);
179
+ }
180
+
181
+ /**
182
+ * In comment, after `--`.
183
+ *
184
+ * ```markdown
185
+ * > | a <!--b--> c
186
+ * ^
187
+ * ```
188
+ *
189
+ * @type {State}
190
+ */
191
+ function commentEnd(code) {
192
+ return code === 62 ? end(code) : code === 45 ? commentClose(code) : comment(code);
193
+ }
194
+
195
+ /**
196
+ * After `<![`, in CDATA, expecting `CDATA[`.
197
+ *
198
+ * ```markdown
199
+ * > | a <![CDATA[>&<]]> b
200
+ * ^^^^^^
201
+ * ```
202
+ *
203
+ * @type {State}
204
+ */
205
+ function cdataOpenInside(code) {
206
+ const value = "CDATA[";
207
+ if (code === value.charCodeAt(index++)) {
208
+ effects.consume(code);
209
+ return index === value.length ? cdata : cdataOpenInside;
210
+ }
211
+ return nok(code);
212
+ }
213
+
214
+ /**
215
+ * In CDATA.
216
+ *
217
+ * ```markdown
218
+ * > | a <![CDATA[>&<]]> b
219
+ * ^^^
220
+ * ```
221
+ *
222
+ * @type {State}
223
+ */
224
+ function cdata(code) {
225
+ if (code === null) {
226
+ return nok(code);
227
+ }
228
+ if (code === 93) {
229
+ effects.consume(code);
230
+ return cdataClose;
231
+ }
232
+ if (markdownLineEnding(code)) {
233
+ returnState = cdata;
234
+ return lineEndingBefore(code);
235
+ }
236
+ effects.consume(code);
237
+ return cdata;
238
+ }
239
+
240
+ /**
241
+ * In CDATA, after `]`, at another `]`.
242
+ *
243
+ * ```markdown
244
+ * > | a <![CDATA[>&<]]> b
245
+ * ^
246
+ * ```
247
+ *
248
+ * @type {State}
249
+ */
250
+ function cdataClose(code) {
251
+ if (code === 93) {
252
+ effects.consume(code);
253
+ return cdataEnd;
254
+ }
255
+ return cdata(code);
256
+ }
257
+
258
+ /**
259
+ * In CDATA, after `]]`, at `>`.
260
+ *
261
+ * ```markdown
262
+ * > | a <![CDATA[>&<]]> b
263
+ * ^
264
+ * ```
265
+ *
266
+ * @type {State}
267
+ */
268
+ function cdataEnd(code) {
269
+ if (code === 62) {
270
+ return end(code);
271
+ }
272
+ if (code === 93) {
273
+ effects.consume(code);
274
+ return cdataEnd;
275
+ }
276
+ return cdata(code);
277
+ }
278
+
279
+ /**
280
+ * In declaration.
281
+ *
282
+ * ```markdown
283
+ * > | a <!b> c
284
+ * ^
285
+ * ```
286
+ *
287
+ * @type {State}
288
+ */
289
+ function declaration(code) {
290
+ if (code === null || code === 62) {
291
+ return end(code);
292
+ }
293
+ if (markdownLineEnding(code)) {
294
+ returnState = declaration;
295
+ return lineEndingBefore(code);
296
+ }
297
+ effects.consume(code);
298
+ return declaration;
299
+ }
300
+
301
+ /**
302
+ * In instruction.
303
+ *
304
+ * ```markdown
305
+ * > | a <?b?> c
306
+ * ^
307
+ * ```
308
+ *
309
+ * @type {State}
310
+ */
311
+ function instruction(code) {
312
+ if (code === null) {
313
+ return nok(code);
314
+ }
315
+ if (code === 63) {
316
+ effects.consume(code);
317
+ return instructionClose;
318
+ }
319
+ if (markdownLineEnding(code)) {
320
+ returnState = instruction;
321
+ return lineEndingBefore(code);
322
+ }
323
+ effects.consume(code);
324
+ return instruction;
325
+ }
326
+
327
+ /**
328
+ * In instruction, after `?`, at `>`.
329
+ *
330
+ * ```markdown
331
+ * > | a <?b?> c
332
+ * ^
333
+ * ```
334
+ *
335
+ * @type {State}
336
+ */
337
+ function instructionClose(code) {
338
+ return code === 62 ? end(code) : instruction(code);
339
+ }
340
+
341
+ /**
342
+ * After `</`, in closing tag, at tag name.
343
+ *
344
+ * ```markdown
345
+ * > | a </b> c
346
+ * ^
347
+ * ```
348
+ *
349
+ * @type {State}
350
+ */
351
+ function tagCloseStart(code) {
352
+ // ASCII alphabetical.
353
+ if (asciiAlpha(code)) {
354
+ effects.consume(code);
355
+ return tagClose;
356
+ }
357
+ return nok(code);
358
+ }
359
+
360
+ /**
361
+ * After `</x`, in a tag name.
362
+ *
363
+ * ```markdown
364
+ * > | a </b> c
365
+ * ^
366
+ * ```
367
+ *
368
+ * @type {State}
369
+ */
370
+ function tagClose(code) {
371
+ // ASCII alphanumerical and `-`.
372
+ if (code === 45 || asciiAlphanumeric(code)) {
373
+ effects.consume(code);
374
+ return tagClose;
375
+ }
376
+ return tagCloseBetween(code);
377
+ }
378
+
379
+ /**
380
+ * In closing tag, after tag name.
381
+ *
382
+ * ```markdown
383
+ * > | a </b> c
384
+ * ^
385
+ * ```
386
+ *
387
+ * @type {State}
388
+ */
389
+ function tagCloseBetween(code) {
390
+ if (markdownLineEnding(code)) {
391
+ returnState = tagCloseBetween;
392
+ return lineEndingBefore(code);
393
+ }
394
+ if (markdownSpace(code)) {
395
+ effects.consume(code);
396
+ return tagCloseBetween;
397
+ }
398
+ return end(code);
399
+ }
400
+
401
+ /**
402
+ * After `<x`, in opening tag name.
403
+ *
404
+ * ```markdown
405
+ * > | a <b> c
406
+ * ^
407
+ * ```
408
+ *
409
+ * @type {State}
410
+ */
411
+ function tagOpen(code) {
412
+ // ASCII alphanumerical and `-`.
413
+ if (code === 45 || asciiAlphanumeric(code)) {
414
+ effects.consume(code);
415
+ return tagOpen;
416
+ }
417
+ if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {
418
+ return tagOpenBetween(code);
419
+ }
420
+ return nok(code);
421
+ }
422
+
423
+ /**
424
+ * In opening tag, after tag name.
425
+ *
426
+ * ```markdown
427
+ * > | a <b> c
428
+ * ^
429
+ * ```
430
+ *
431
+ * @type {State}
432
+ */
433
+ function tagOpenBetween(code) {
434
+ if (code === 47) {
435
+ effects.consume(code);
436
+ return end;
437
+ }
438
+
439
+ // ASCII alphabetical and `:` and `_`.
440
+ if (code === 58 || code === 95 || asciiAlpha(code)) {
441
+ effects.consume(code);
442
+ return tagOpenAttributeName;
443
+ }
444
+ if (markdownLineEnding(code)) {
445
+ returnState = tagOpenBetween;
446
+ return lineEndingBefore(code);
447
+ }
448
+ if (markdownSpace(code)) {
449
+ effects.consume(code);
450
+ return tagOpenBetween;
451
+ }
452
+ return end(code);
453
+ }
454
+
455
+ /**
456
+ * In attribute name.
457
+ *
458
+ * ```markdown
459
+ * > | a <b c> d
460
+ * ^
461
+ * ```
462
+ *
463
+ * @type {State}
464
+ */
465
+ function tagOpenAttributeName(code) {
466
+ // ASCII alphabetical and `-`, `.`, `:`, and `_`.
467
+ if (code === 45 || code === 46 || code === 58 || code === 95 || asciiAlphanumeric(code)) {
468
+ effects.consume(code);
469
+ return tagOpenAttributeName;
470
+ }
471
+ return tagOpenAttributeNameAfter(code);
472
+ }
473
+
474
+ /**
475
+ * After attribute name, before initializer, the end of the tag, or
476
+ * whitespace.
477
+ *
478
+ * ```markdown
479
+ * > | a <b c> d
480
+ * ^
481
+ * ```
482
+ *
483
+ * @type {State}
484
+ */
485
+ function tagOpenAttributeNameAfter(code) {
486
+ if (code === 61) {
487
+ effects.consume(code);
488
+ return tagOpenAttributeValueBefore;
489
+ }
490
+ if (markdownLineEnding(code)) {
491
+ returnState = tagOpenAttributeNameAfter;
492
+ return lineEndingBefore(code);
493
+ }
494
+ if (markdownSpace(code)) {
495
+ effects.consume(code);
496
+ return tagOpenAttributeNameAfter;
497
+ }
498
+ return tagOpenBetween(code);
499
+ }
500
+
501
+ /**
502
+ * Before unquoted, double quoted, or single quoted attribute value, allowing
503
+ * whitespace.
504
+ *
505
+ * ```markdown
506
+ * > | a <b c=d> e
507
+ * ^
508
+ * ```
509
+ *
510
+ * @type {State}
511
+ */
512
+ function tagOpenAttributeValueBefore(code) {
513
+ if (code === null || code === 60 || code === 61 || code === 62 || code === 96) {
514
+ return nok(code);
515
+ }
516
+ if (code === 34 || code === 39) {
517
+ effects.consume(code);
518
+ marker = code;
519
+ return tagOpenAttributeValueQuoted;
520
+ }
521
+ if (markdownLineEnding(code)) {
522
+ returnState = tagOpenAttributeValueBefore;
523
+ return lineEndingBefore(code);
524
+ }
525
+ if (markdownSpace(code)) {
526
+ effects.consume(code);
527
+ return tagOpenAttributeValueBefore;
528
+ }
529
+ effects.consume(code);
530
+ return tagOpenAttributeValueUnquoted;
531
+ }
532
+
533
+ /**
534
+ * In double or single quoted attribute value.
535
+ *
536
+ * ```markdown
537
+ * > | a <b c="d"> e
538
+ * ^
539
+ * ```
540
+ *
541
+ * @type {State}
542
+ */
543
+ function tagOpenAttributeValueQuoted(code) {
544
+ if (code === marker) {
545
+ effects.consume(code);
546
+ marker = undefined;
547
+ return tagOpenAttributeValueQuotedAfter;
548
+ }
549
+ if (code === null) {
550
+ return nok(code);
551
+ }
552
+ if (markdownLineEnding(code)) {
553
+ returnState = tagOpenAttributeValueQuoted;
554
+ return lineEndingBefore(code);
555
+ }
556
+ effects.consume(code);
557
+ return tagOpenAttributeValueQuoted;
558
+ }
559
+
560
+ /**
561
+ * In unquoted attribute value.
562
+ *
563
+ * ```markdown
564
+ * > | a <b c=d> e
565
+ * ^
566
+ * ```
567
+ *
568
+ * @type {State}
569
+ */
570
+ function tagOpenAttributeValueUnquoted(code) {
571
+ if (code === null || code === 34 || code === 39 || code === 60 || code === 61 || code === 96) {
572
+ return nok(code);
573
+ }
574
+ if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {
575
+ return tagOpenBetween(code);
576
+ }
577
+ effects.consume(code);
578
+ return tagOpenAttributeValueUnquoted;
579
+ }
580
+
581
+ /**
582
+ * After double or single quoted attribute value, before whitespace or the end
583
+ * of the tag.
584
+ *
585
+ * ```markdown
586
+ * > | a <b c="d"> e
587
+ * ^
588
+ * ```
589
+ *
590
+ * @type {State}
591
+ */
592
+ function tagOpenAttributeValueQuotedAfter(code) {
593
+ if (code === 47 || code === 62 || markdownLineEndingOrSpace(code)) {
594
+ return tagOpenBetween(code);
595
+ }
596
+ return nok(code);
597
+ }
598
+
599
+ /**
600
+ * In certain circumstances of a tag where only an `>` is allowed.
601
+ *
602
+ * ```markdown
603
+ * > | a <b c="d"> e
604
+ * ^
605
+ * ```
606
+ *
607
+ * @type {State}
608
+ */
609
+ function end(code) {
610
+ if (code === 62) {
611
+ effects.consume(code);
612
+ effects.exit("htmlTextData");
613
+ effects.exit("htmlText");
614
+ return ok;
615
+ }
616
+ return nok(code);
617
+ }
618
+
619
+ /**
620
+ * At eol.
621
+ *
622
+ * > ๐Ÿ‘‰ **Note**: we canโ€™t have blank lines in text, so no need to worry about
623
+ * > empty tokens.
624
+ *
625
+ * ```markdown
626
+ * > | a <!--a
627
+ * ^
628
+ * | b-->
629
+ * ```
630
+ *
631
+ * @type {State}
632
+ */
633
+ function lineEndingBefore(code) {
634
+ effects.exit("htmlTextData");
635
+ effects.enter("lineEnding");
636
+ effects.consume(code);
637
+ effects.exit("lineEnding");
638
+ return lineEndingAfter;
639
+ }
640
+
641
+ /**
642
+ * After eol, at optional whitespace.
643
+ *
644
+ * > ๐Ÿ‘‰ **Note**: we canโ€™t have blank lines in text, so no need to worry about
645
+ * > empty tokens.
646
+ *
647
+ * ```markdown
648
+ * | a <!--a
649
+ * > | b-->
650
+ * ^
651
+ * ```
652
+ *
653
+ * @type {State}
654
+ */
655
+ function lineEndingAfter(code) {
656
+ // Always populated by defaults.
657
+
658
+ return markdownSpace(code) ? factorySpace(effects, lineEndingAfterPrefix, "linePrefix", self.parser.constructs.disable.null.includes('codeIndented') ? undefined : 4)(code) : lineEndingAfterPrefix(code);
659
+ }
660
+
661
+ /**
662
+ * After eol, after optional whitespace.
663
+ *
664
+ * > ๐Ÿ‘‰ **Note**: we canโ€™t have blank lines in text, so no need to worry about
665
+ * > empty tokens.
666
+ *
667
+ * ```markdown
668
+ * | a <!--a
669
+ * > | b-->
670
+ * ^
671
+ * ```
672
+ *
673
+ * @type {State}
674
+ */
675
+ function lineEndingAfterPrefix(code) {
676
+ effects.enter("htmlTextData");
677
+ return returnState(code);
678
+ }
679
+ }
680
+
681
+ export { htmlText };
682
+ //# sourceMappingURL=html-text.js.map