@fangzhongya/vue-archive 0.0.2-8 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (506) hide show
  1. package/dist/es/_virtual/_commonjsHelpers.js +28 -26
  2. package/dist/es/_virtual/_plugin-vue_export-helper.js +7 -6
  3. package/dist/es/_virtual/emphasis.js +2 -2
  4. package/dist/es/_virtual/entities.js +7 -6
  5. package/dist/es/_virtual/html_re.js +2 -2
  6. package/dist/es/_virtual/index.js +7 -6
  7. package/dist/es/_virtual/index2.js +2 -2
  8. package/dist/es/_virtual/index3.js +2 -2
  9. package/dist/es/_virtual/index4.js +2 -2
  10. package/dist/es/_virtual/parser-html.js +7 -6
  11. package/dist/es/_virtual/parser-typescript.js +7 -6
  12. package/dist/es/_virtual/punycode.es6.js +4 -4
  13. package/dist/es/_virtual/standalone.js +7 -6
  14. package/dist/es/_virtual/strikethrough.js +2 -2
  15. package/dist/es/_virtual/utils.js +2 -2
  16. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +3 -3
  17. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +3 -3
  18. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +16 -8
  19. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +18 -12
  20. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +40 -27
  21. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +9 -6
  22. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +8 -5
  23. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XQB2HUHZ.js +14 -11
  24. package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +12 -7
  25. package/dist/es/node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +27 -28
  26. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/index.js +6 -6
  27. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/block-parser.js +21 -12
  28. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/index.js +33 -29
  29. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/source-parser.js +38 -17
  30. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/spec-parser.js +11 -9
  31. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/description.js +28 -17
  32. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/name.js +69 -38
  33. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/tag.js +19 -10
  34. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/type.js +51 -26
  35. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/primitives.js +8 -5
  36. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/align.js +12 -1
  37. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/crlf.js +12 -1
  38. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/indent.js +12 -1
  39. package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/util.js +20 -20
  40. package/dist/es/node_modules/.pnpm/entities@3.0.1/node_modules/entities/lib/maps/entities.json.js +6373 -4251
  41. package/dist/es/node_modules/.pnpm/es-module-lexer@1.1.1/node_modules/es-module-lexer/dist/lexer.js +38 -40
  42. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/common.js +3 -3
  43. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/core.js +3 -3
  44. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/common.js +79 -79
  45. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/core.js +1157 -648
  46. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/bash.js +75 -57
  47. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/c.js +157 -137
  48. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/cpp.js +118 -93
  49. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/csharp.js +112 -92
  50. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/css.js +92 -77
  51. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/diff.js +13 -11
  52. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/go.js +98 -92
  53. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/graphql.js +20 -17
  54. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ini.js +51 -39
  55. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/java.js +132 -114
  56. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/javascript.js +237 -192
  57. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/json.js +26 -21
  58. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/kotlin.js +98 -82
  59. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/less.js +161 -134
  60. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/lua.js +34 -29
  61. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/makefile.js +33 -26
  62. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/markdown.js +95 -77
  63. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/objectivec.js +188 -179
  64. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/perl.js +78 -61
  65. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php-template.js +17 -15
  66. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php.js +157 -121
  67. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/plaintext.js +11 -9
  68. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python-repl.js +10 -8
  69. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python.js +191 -172
  70. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/r.js +39 -33
  71. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ruby.js +159 -131
  72. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/rust.js +45 -37
  73. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/scss.js +94 -79
  74. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/shell.js +10 -8
  75. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/sql.js +78 -49
  76. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/swift.js +292 -219
  77. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/typescript.js +284 -223
  78. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/vbnet.js +51 -37
  79. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/wasm.js +49 -39
  80. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/xml.js +55 -45
  81. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/yaml.js +66 -46
  82. package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/styles/stackoverflow-light.css.js +2 -2
  83. package/dist/es/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/index.js +304 -138
  84. package/dist/es/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/lib/re.js +49 -16
  85. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/index.js +8 -8
  86. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/entities.js +5 -5
  87. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_blocks.js +2 -2
  88. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_re.js +18 -5
  89. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/utils.js +153 -77
  90. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/index.js +8 -8
  91. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_destination.js +61 -26
  92. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_label.js +27 -13
  93. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_title.js +37 -14
  94. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/index.js +156 -83
  95. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_block.js +69 -42
  96. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_core.js +32 -28
  97. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_inline.js +96 -66
  98. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/commonmark.js +7 -7
  99. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/default.js +7 -7
  100. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/zero.js +7 -7
  101. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/renderer.js +132 -64
  102. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/ruler.js +122 -74
  103. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/blockquote.js +147 -27
  104. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/code.js +18 -12
  105. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/fence.js +63 -11
  106. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/heading.js +40 -9
  107. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/hr.js +32 -11
  108. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/html_block.js +56 -26
  109. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/lheading.js +53 -18
  110. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/list.js +196 -53
  111. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/paragraph.js +32 -12
  112. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/reference.js +142 -44
  113. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/state_block.js +150 -60
  114. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/table.js +174 -44
  115. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/block.js +12 -4
  116. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/inline.js +9 -5
  117. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/linkify.js +90 -20
  118. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/normalize.js +8 -5
  119. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/replacements.js +53 -17
  120. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/smartquotes.js +143 -50
  121. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/state_core.js +11 -7
  122. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/text_join.js +26 -10
  123. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/autolink.js +57 -10
  124. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/backticks.js +42 -16
  125. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +59 -16
  126. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/emphasis.js +64 -24
  127. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/entity.js +45 -13
  128. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/escape.js +51 -16
  129. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/fragments_join.js +21 -6
  130. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/html_inline.js +37 -13
  131. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/image.js +107 -32
  132. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/link.js +100 -26
  133. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/linkify.js +44 -4
  134. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/newline.js +32 -19
  135. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/state_inline.js +91 -23
  136. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/strikethrough.js +79 -25
  137. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/text.js +18 -9
  138. package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/token.js +52 -21
  139. package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js +74 -32
  140. package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js +54 -29
  141. package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js +16 -4
  142. package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +10 -10
  143. package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js +158 -60
  144. package/dist/es/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-html.js +2375 -2274
  145. package/dist/es/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-typescript.js +23493 -23223
  146. package/dist/es/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/standalone.js +8281 -8174
  147. package/dist/es/node_modules/.pnpm/punycode@2.3.0/node_modules/punycode/punycode.es6.js +208 -107
  148. package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +9 -4
  149. package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +9 -4
  150. package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +2 -2
  151. package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +9 -4
  152. package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +18 -10
  153. package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +9 -4
  154. package/dist/es/packages/components/aside/index.vue.js +109 -79
  155. package/dist/es/packages/components/aside/index.vue2.js +2 -2
  156. package/dist/es/packages/components/boxurl/index.vue.js +55 -34
  157. package/dist/es/packages/components/boxurl/index.vue2.js +2 -2
  158. package/dist/es/packages/components/choice/choice.vue.js +43 -35
  159. package/dist/es/packages/components/choice/choice.vue2.js +2 -2
  160. package/dist/es/packages/components/choice/index.vue.js +69 -48
  161. package/dist/es/packages/components/choice/index.vue2.js +2 -2
  162. package/dist/es/packages/components/code/highlight.vue.js +11 -12
  163. package/dist/es/packages/components/code/highlight.vue2.js +4 -4
  164. package/dist/es/packages/components/code/index.vue.js +91 -74
  165. package/dist/es/packages/components/code/index.vue2.js +2 -2
  166. package/dist/es/packages/components/compo/ftable.vue.js +46 -32
  167. package/dist/es/packages/components/compo/ftable.vue2.js +2 -2
  168. package/dist/es/packages/components/compo/index.js +207 -135
  169. package/dist/es/packages/components/compo/index.vue.js +151 -121
  170. package/dist/es/packages/components/compo/index.vue2.js +2 -2
  171. package/dist/es/packages/components/compo/info.vue.js +43 -32
  172. package/dist/es/packages/components/compo/info.vue2.js +2 -2
  173. package/dist/es/packages/components/compo/top.js +114 -85
  174. package/dist/es/packages/components/header/index.vue.js +7 -8
  175. package/dist/es/packages/components/main/index.vue.js +59 -45
  176. package/dist/es/packages/components/main/index.vue2.js +2 -2
  177. package/dist/es/packages/components/md/index.vue.js +53 -45
  178. package/dist/es/packages/components/md/index.vue2.js +2 -2
  179. package/dist/es/packages/components/test/index.js +99 -70
  180. package/dist/es/packages/components/test/index.vue.js +91 -71
  181. package/dist/es/packages/components/test/index.vue2.js +2 -2
  182. package/dist/es/packages/components/test/top.js +128 -99
  183. package/dist/es/packages/components/use/index.js +109 -84
  184. package/dist/es/packages/components/use/retrie/any/index.vue.js +82 -63
  185. package/dist/es/packages/components/use/retrie/any/index.vue2.js +2 -2
  186. package/dist/es/packages/components/use/retrie/array/index.vue.js +54 -39
  187. package/dist/es/packages/components/use/retrie/array/index.vue2.js +2 -2
  188. package/dist/es/packages/components/use/retrie/boolean/index.vue.js +61 -43
  189. package/dist/es/packages/components/use/retrie/boolean/index.vue2.js +2 -2
  190. package/dist/es/packages/components/use/retrie/choice/index.vue.js +154 -96
  191. package/dist/es/packages/components/use/retrie/choice/index.vue2.js +2 -2
  192. package/dist/es/packages/components/use/retrie/choice/index.vue3.js +2 -2
  193. package/dist/es/packages/components/use/retrie/expose/index.vue.js +65 -47
  194. package/dist/es/packages/components/use/retrie/expose/index.vue2.js +2 -2
  195. package/dist/es/packages/components/use/retrie/form/index.vue.js +104 -96
  196. package/dist/es/packages/components/use/retrie/form/index.vue2.js +2 -2
  197. package/dist/es/packages/components/use/retrie/function/index.vue.js +60 -47
  198. package/dist/es/packages/components/use/retrie/function/index.vue2.js +2 -2
  199. package/dist/es/packages/components/use/retrie/index.vue.js +56 -47
  200. package/dist/es/packages/components/use/retrie/index.vue2.js +2 -2
  201. package/dist/es/packages/components/use/retrie/number/index.vue.js +41 -33
  202. package/dist/es/packages/components/use/retrie/number/index.vue2.js +2 -2
  203. package/dist/es/packages/components/use/retrie/object/index.vue.js +54 -39
  204. package/dist/es/packages/components/use/retrie/object/index.vue2.js +2 -2
  205. package/dist/es/packages/components/use/retrie/other/index.vue.js +54 -37
  206. package/dist/es/packages/components/use/retrie/other/index.vue2.js +2 -2
  207. package/dist/es/packages/components/use/retrie/select/index.vue.js +112 -79
  208. package/dist/es/packages/components/use/retrie/select/index.vue2.js +2 -2
  209. package/dist/es/packages/components/use/retrie/select/index.vue3.js +2 -2
  210. package/dist/es/packages/components/use/retrie/slot/index.vue.js +41 -33
  211. package/dist/es/packages/components/use/retrie/slot/index.vue2.js +2 -2
  212. package/dist/es/packages/components/use/retrie/string/index.vue.js +36 -27
  213. package/dist/es/packages/components/use/retrie/string/index.vue2.js +2 -2
  214. package/dist/es/packages/components/use/set-code.vue.js +148 -104
  215. package/dist/es/packages/components/use/set-code.vue2.js +2 -2
  216. package/dist/es/packages/components/use/set-emit.vue.js +46 -34
  217. package/dist/es/packages/components/use/set-emit.vue2.js +2 -2
  218. package/dist/es/packages/components/use/set-expose.vue.js +37 -30
  219. package/dist/es/packages/components/use/set-expose.vue2.js +2 -2
  220. package/dist/es/packages/components/use/set-props.vue.js +104 -66
  221. package/dist/es/packages/components/use/set-props.vue2.js +2 -2
  222. package/dist/es/packages/components/use/set-slot.vue.js +39 -34
  223. package/dist/es/packages/components/use/set-slot.vue2.js +2 -2
  224. package/dist/es/packages/components/use/util.js +156 -74
  225. package/dist/es/packages/config.d.ts +3 -3
  226. package/dist/es/packages/config.js +8 -8
  227. package/dist/es/packages/index/index.vue.js +10 -10
  228. package/dist/es/packages/index/index.vue2.js +2 -2
  229. package/dist/es/packages/index.js +9 -9
  230. package/dist/es/packages/page/compon/index.vue.js +2 -2
  231. package/dist/es/packages/page/compon/index.vue2.js +19 -17
  232. package/dist/es/packages/page/develop/index.vue.js +2 -2
  233. package/dist/es/packages/page/develop/index.vue2.js +19 -17
  234. package/dist/es/packages/page/index/index.vue.js +2 -2
  235. package/dist/es/packages/page/index/index.vue2.js +50 -38
  236. package/dist/es/packages/page/single/index.vue.js +2 -2
  237. package/dist/es/packages/page/single/index.vue2.js +75 -61
  238. package/dist/es/packages/page/tests/index.vue.js +2 -2
  239. package/dist/es/packages/page/tests/index.vue2.js +74 -49
  240. package/dist/es/packages/router/index.js +99 -62
  241. package/dist/es/packages/utils/common.js +138 -80
  242. package/dist/es/packages/utils/glob.js +480 -306
  243. package/dist/es/packages/utils/index.js +14 -13
  244. package/dist/es/packages/utils/props.js +171 -66
  245. package/dist/es/packages/utils/storage.js +27 -19
  246. package/dist/es/style.css +367 -2
  247. package/dist/lib/_virtual/_commonjsHelpers.js +38 -1
  248. package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -1
  249. package/dist/lib/_virtual/emphasis.js +4 -1
  250. package/dist/lib/_virtual/entities.js +12 -1
  251. package/dist/lib/_virtual/html_re.js +4 -1
  252. package/dist/lib/_virtual/index.js +12 -1
  253. package/dist/lib/_virtual/index2.js +4 -1
  254. package/dist/lib/_virtual/index3.js +4 -1
  255. package/dist/lib/_virtual/index4.js +4 -1
  256. package/dist/lib/_virtual/parser-html.js +12 -1
  257. package/dist/lib/_virtual/parser-typescript.js +12 -1
  258. package/dist/lib/_virtual/punycode.es6.js +5 -1
  259. package/dist/lib/_virtual/standalone.js +12 -1
  260. package/dist/lib/_virtual/strikethrough.js +4 -1
  261. package/dist/lib/_virtual/utils.js +4 -1
  262. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +6 -1
  263. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +6 -1
  264. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +20 -1
  265. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +23 -1
  266. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +44 -1
  267. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +12 -1
  268. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +11 -1
  269. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XQB2HUHZ.js +21 -1
  270. package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +16 -1
  271. package/dist/lib/node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +34 -1
  272. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/index.js +15 -1
  273. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/block-parser.js +25 -1
  274. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/index.js +41 -1
  275. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/source-parser.js +44 -1
  276. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/spec-parser.js +15 -1
  277. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/description.js +35 -2
  278. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/name.js +83 -1
  279. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/tag.js +22 -1
  280. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/type.js +60 -2
  281. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/primitives.js +9 -1
  282. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/align.js +14 -1
  283. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/crlf.js +13 -1
  284. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/indent.js +13 -1
  285. package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/util.js +28 -1
  286. package/dist/lib/node_modules/.pnpm/entities@3.0.1/node_modules/entities/lib/maps/entities.json.js +6376 -2
  287. package/dist/lib/node_modules/.pnpm/es-module-lexer@1.1.1/node_modules/es-module-lexer/dist/lexer.js +50 -3
  288. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/common.js +5 -1
  289. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/core.js +5 -1
  290. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/common.js +80 -1
  291. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/core.js +1573 -2
  292. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/bash.js +381 -1
  293. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/c.js +289 -1
  294. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/cpp.js +544 -1
  295. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/csharp.js +398 -1
  296. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/css.js +741 -1
  297. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/diff.js +63 -1
  298. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/go.js +144 -1
  299. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/graphql.js +80 -1
  300. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ini.js +126 -1
  301. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/java.js +263 -1
  302. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/javascript.js +691 -1
  303. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/json.js +49 -1
  304. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/kotlin.js +265 -2
  305. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/less.js +822 -1
  306. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/lua.js +70 -1
  307. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/makefile.js +77 -1
  308. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/markdown.js +236 -1
  309. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/objectivec.js +253 -1
  310. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/perl.js +461 -1
  311. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php-template.js +56 -1
  312. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php.js +586 -2
  313. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/plaintext.js +22 -1
  314. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python-repl.js +35 -1
  315. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python.js +423 -1
  316. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/r.js +220 -1
  317. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ruby.js +423 -1
  318. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/rust.js +305 -1
  319. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/scss.js +726 -1
  320. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/shell.js +34 -1
  321. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/sql.js +648 -1
  322. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/swift.js +785 -1
  323. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/typescript.js +779 -1
  324. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/vbnet.js +143 -1
  325. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/wasm.js +131 -1
  326. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/xml.js +236 -1
  327. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/yaml.js +194 -1
  328. package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/styles/stackoverflow-light.css.js +3 -1
  329. package/dist/lib/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/index.js +354 -1
  330. package/dist/lib/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/lib/re.js +54 -1
  331. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/index.js +9 -1
  332. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/entities.js +6 -1
  333. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_blocks.js +66 -1
  334. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_re.js +19 -1
  335. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/utils.js +226 -1
  336. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/index.js +9 -1
  337. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_destination.js +78 -1
  338. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_label.js +32 -1
  339. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_title.js +45 -1
  340. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/index.js +181 -1
  341. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_block.js +79 -1
  342. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_core.js +38 -1
  343. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_inline.js +112 -1
  344. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/commonmark.js +77 -1
  345. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/default.js +39 -1
  346. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/zero.js +58 -1
  347. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/renderer.js +150 -13
  348. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/ruler.js +143 -1
  349. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/blockquote.js +160 -1
  350. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/code.js +26 -2
  351. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/fence.js +67 -1
  352. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/heading.js +43 -1
  353. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/hr.js +36 -1
  354. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/html_block.js +62 -1
  355. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/lheading.js +59 -1
  356. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/list.js +220 -1
  357. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/paragraph.js +36 -1
  358. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/reference.js +152 -1
  359. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/state_block.js +167 -1
  360. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/table.js +184 -1
  361. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/block.js +14 -1
  362. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/inline.js +11 -1
  363. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/linkify.js +100 -1
  364. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/normalize.js +10 -2
  365. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/replacements.js +62 -1
  366. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/smartquotes.js +157 -1
  367. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/state_core.js +13 -1
  368. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/text_join.js +29 -1
  369. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/autolink.js +61 -1
  370. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/backticks.js +45 -1
  371. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +65 -1
  372. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/emphasis.js +82 -1
  373. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/entity.js +49 -1
  374. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/escape.js +56 -1
  375. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/fragments_join.js +23 -1
  376. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/html_inline.js +43 -1
  377. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/image.js +112 -1
  378. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/link.js +105 -1
  379. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/linkify.js +46 -1
  380. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/newline.js +35 -1
  381. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/state_inline.js +98 -1
  382. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/strikethrough.js +88 -1
  383. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/text.js +46 -1
  384. package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/token.js +61 -1
  385. package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js +84 -1
  386. package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js +64 -1
  387. package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js +18 -1
  388. package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +11 -1
  389. package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js +171 -2
  390. package/dist/lib/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-html.js +3149 -20
  391. package/dist/lib/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-typescript.js +33275 -78
  392. package/dist/lib/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/standalone.js +11383 -88
  393. package/dist/lib/node_modules/.pnpm/punycode@2.3.0/node_modules/punycode/punycode.es6.js +240 -1
  394. package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +12 -1
  395. package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +12 -1
  396. package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +3 -1
  397. package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +12 -1
  398. package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +21 -1
  399. package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +12 -1
  400. package/dist/lib/packages/components/aside/index.vue.js +133 -1
  401. package/dist/lib/packages/components/aside/index.vue2.js +3 -1
  402. package/dist/lib/packages/components/boxurl/index.vue.js +78 -1
  403. package/dist/lib/packages/components/boxurl/index.vue2.js +3 -1
  404. package/dist/lib/packages/components/choice/choice.vue.js +58 -1
  405. package/dist/lib/packages/components/choice/choice.vue2.js +3 -1
  406. package/dist/lib/packages/components/choice/index.vue.js +99 -1
  407. package/dist/lib/packages/components/choice/index.vue2.js +3 -1
  408. package/dist/lib/packages/components/code/highlight.vue.js +15 -1
  409. package/dist/lib/packages/components/code/highlight.vue2.js +17 -1
  410. package/dist/lib/packages/components/code/index.vue.js +131 -1
  411. package/dist/lib/packages/components/code/index.vue2.js +3 -1
  412. package/dist/lib/packages/components/compo/ftable.vue.js +77 -1
  413. package/dist/lib/packages/components/compo/ftable.vue2.js +3 -1
  414. package/dist/lib/packages/components/compo/index.js +290 -1
  415. package/dist/lib/packages/components/compo/index.vue.js +226 -1
  416. package/dist/lib/packages/components/compo/index.vue2.js +3 -1
  417. package/dist/lib/packages/components/compo/info.vue.js +56 -1
  418. package/dist/lib/packages/components/compo/info.vue2.js +3 -1
  419. package/dist/lib/packages/components/compo/top.js +151 -1
  420. package/dist/lib/packages/components/header/index.vue.js +9 -1
  421. package/dist/lib/packages/components/main/index.vue.js +71 -1
  422. package/dist/lib/packages/components/main/index.vue2.js +3 -1
  423. package/dist/lib/packages/components/md/index.vue.js +70 -1
  424. package/dist/lib/packages/components/md/index.vue2.js +3 -1
  425. package/dist/lib/packages/components/test/index.js +129 -1
  426. package/dist/lib/packages/components/test/index.vue.js +108 -1
  427. package/dist/lib/packages/components/test/index.vue2.js +3 -1
  428. package/dist/lib/packages/components/test/top.js +187 -1
  429. package/dist/lib/packages/components/use/index.js +202 -1
  430. package/dist/lib/packages/components/use/retrie/any/index.vue.js +153 -1
  431. package/dist/lib/packages/components/use/retrie/any/index.vue2.js +3 -1
  432. package/dist/lib/packages/components/use/retrie/array/index.vue.js +79 -5
  433. package/dist/lib/packages/components/use/retrie/array/index.vue2.js +3 -1
  434. package/dist/lib/packages/components/use/retrie/boolean/index.vue.js +90 -1
  435. package/dist/lib/packages/components/use/retrie/boolean/index.vue2.js +3 -1
  436. package/dist/lib/packages/components/use/retrie/choice/index.vue.js +207 -3
  437. package/dist/lib/packages/components/use/retrie/choice/index.vue2.js +3 -1
  438. package/dist/lib/packages/components/use/retrie/choice/index.vue3.js +4 -1
  439. package/dist/lib/packages/components/use/retrie/expose/index.vue.js +89 -1
  440. package/dist/lib/packages/components/use/retrie/expose/index.vue2.js +3 -1
  441. package/dist/lib/packages/components/use/retrie/form/index.vue.js +159 -1
  442. package/dist/lib/packages/components/use/retrie/form/index.vue2.js +3 -1
  443. package/dist/lib/packages/components/use/retrie/function/index.vue.js +94 -3
  444. package/dist/lib/packages/components/use/retrie/function/index.vue2.js +3 -1
  445. package/dist/lib/packages/components/use/retrie/index.vue.js +112 -1
  446. package/dist/lib/packages/components/use/retrie/index.vue2.js +3 -1
  447. package/dist/lib/packages/components/use/retrie/number/index.vue.js +58 -1
  448. package/dist/lib/packages/components/use/retrie/number/index.vue2.js +3 -1
  449. package/dist/lib/packages/components/use/retrie/object/index.vue.js +79 -5
  450. package/dist/lib/packages/components/use/retrie/object/index.vue2.js +3 -1
  451. package/dist/lib/packages/components/use/retrie/other/index.vue.js +93 -3
  452. package/dist/lib/packages/components/use/retrie/other/index.vue2.js +3 -1
  453. package/dist/lib/packages/components/use/retrie/select/index.vue.js +160 -1
  454. package/dist/lib/packages/components/use/retrie/select/index.vue2.js +3 -1
  455. package/dist/lib/packages/components/use/retrie/select/index.vue3.js +4 -1
  456. package/dist/lib/packages/components/use/retrie/slot/index.vue.js +57 -1
  457. package/dist/lib/packages/components/use/retrie/slot/index.vue2.js +3 -1
  458. package/dist/lib/packages/components/use/retrie/string/index.vue.js +62 -1
  459. package/dist/lib/packages/components/use/retrie/string/index.vue2.js +3 -1
  460. package/dist/lib/packages/components/use/set-code.vue.js +182 -12
  461. package/dist/lib/packages/components/use/set-code.vue2.js +3 -1
  462. package/dist/lib/packages/components/use/set-emit.vue.js +63 -1
  463. package/dist/lib/packages/components/use/set-emit.vue2.js +3 -1
  464. package/dist/lib/packages/components/use/set-expose.vue.js +52 -1
  465. package/dist/lib/packages/components/use/set-expose.vue2.js +3 -1
  466. package/dist/lib/packages/components/use/set-props.vue.js +131 -1
  467. package/dist/lib/packages/components/use/set-props.vue2.js +3 -1
  468. package/dist/lib/packages/components/use/set-slot.vue.js +52 -1
  469. package/dist/lib/packages/components/use/set-slot.vue2.js +3 -1
  470. package/dist/lib/packages/components/use/util.js +181 -4
  471. package/dist/lib/packages/config.d.ts +3 -3
  472. package/dist/lib/packages/config.js +14 -1
  473. package/dist/lib/packages/index/index.vue.js +14 -1
  474. package/dist/lib/packages/index/index.vue2.js +3 -1
  475. package/dist/lib/packages/index.js +14 -1
  476. package/dist/lib/packages/page/compon/index.vue.js +3 -1
  477. package/dist/lib/packages/page/compon/index.vue2.js +23 -1
  478. package/dist/lib/packages/page/develop/index.vue.js +3 -1
  479. package/dist/lib/packages/page/develop/index.vue2.js +23 -1
  480. package/dist/lib/packages/page/index/index.vue.js +3 -1
  481. package/dist/lib/packages/page/index/index.vue2.js +62 -1
  482. package/dist/lib/packages/page/single/index.vue.js +3 -1
  483. package/dist/lib/packages/page/single/index.vue2.js +86 -1
  484. package/dist/lib/packages/page/tests/index.vue.js +3 -1
  485. package/dist/lib/packages/page/tests/index.vue2.js +94 -1
  486. package/dist/lib/packages/router/index.js +173 -1
  487. package/dist/lib/packages/utils/common.js +166 -1
  488. package/dist/lib/packages/utils/glob.js +561 -2
  489. package/dist/lib/packages/utils/index.js +19 -1
  490. package/dist/lib/packages/utils/props.js +197 -1
  491. package/dist/lib/packages/utils/storage.js +42 -1
  492. package/package.json +9 -10
  493. package/dist/es/node_modules/.pnpm/@vue_compiler-core@3.2.47/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js +0 -2881
  494. package/dist/es/node_modules/.pnpm/@vue_compiler-dom@3.2.47/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +0 -408
  495. package/dist/es/node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -700
  496. package/dist/es/node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +0 -3908
  497. package/dist/es/node_modules/.pnpm/@vue_runtime-dom@3.2.47/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +0 -1023
  498. package/dist/es/node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -280
  499. package/dist/es/node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js +0 -163
  500. package/dist/lib/node_modules/.pnpm/@vue_compiler-core@3.2.47/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js +0 -9
  501. package/dist/lib/node_modules/.pnpm/@vue_compiler-dom@3.2.47/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +0 -1
  502. package/dist/lib/node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -1
  503. package/dist/lib/node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +0 -14
  504. package/dist/lib/node_modules/.pnpm/@vue_runtime-dom@3.2.47/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +0 -1
  505. package/dist/lib/node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -2
  506. package/dist/lib/node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js +0 -2
@@ -1 +1,184 @@
1
- "use strict";require("../common/utils.js");const I=require("../../../../../../../_virtual/utils.js");var m=I.__exports.isSpace;function _(o,e){var l=o.bMarks[e]+o.tShift[e],s=o.eMarks[e];return o.src.slice(l,s)}function v(o){var e=[],l=0,s=o.length,d,c=!1,f=0,h="";for(d=o.charCodeAt(l);l<s;)d===124&&(c?(h+=o.substring(f,l-1),f=l):(e.push(h+o.substring(f,l)),h="",f=l+1)),c=d===92,l++,d=o.charCodeAt(l);return e.push(h+o.substring(f)),e}var S=function(e,l,s,d){var c,f,h,u,A,i,n,g,r,p,t,y,k,M,C,a,x,b;if(l+2>s||(i=l+1,e.sCount[i]<e.blkIndent)||e.sCount[i]-e.blkIndent>=4||(h=e.bMarks[i]+e.tShift[i],h>=e.eMarks[i])||(x=e.src.charCodeAt(h++),x!==124&&x!==45&&x!==58)||h>=e.eMarks[i]||(b=e.src.charCodeAt(h++),b!==124&&b!==45&&b!==58&&!m(b))||x===45&&m(b))return!1;for(;h<e.eMarks[i];){if(c=e.src.charCodeAt(h),c!==124&&c!==45&&c!==58&&!m(c))return!1;h++}for(f=_(e,l+1),n=f.split("|"),p=[],u=0;u<n.length;u++){if(t=n[u].trim(),!t){if(u===0||u===n.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;t.charCodeAt(t.length-1)===58?p.push(t.charCodeAt(0)===58?"center":"right"):t.charCodeAt(0)===58?p.push("left"):p.push("")}if(f=_(e,l).trim(),f.indexOf("|")===-1||e.sCount[l]-e.blkIndent>=4||(n=v(f),n.length&&n[0]===""&&n.shift(),n.length&&n[n.length-1]===""&&n.pop(),g=n.length,g===0||g!==p.length))return!1;if(d)return!0;for(M=e.parentType,e.parentType="table",a=e.md.block.ruler.getRules("blockquote"),r=e.push("table_open","table",1),r.map=y=[l,0],r=e.push("thead_open","thead",1),r.map=[l,l+1],r=e.push("tr_open","tr",1),r.map=[l,l+1],u=0;u<n.length;u++)r=e.push("th_open","th",1),p[u]&&(r.attrs=[["style","text-align:"+p[u]]]),r=e.push("inline","",0),r.content=n[u].trim(),r.children=[],r=e.push("th_close","th",-1);for(r=e.push("tr_close","tr",-1),r=e.push("thead_close","thead",-1),i=l+2;i<s&&!(e.sCount[i]<e.blkIndent);i++){for(C=!1,u=0,A=a.length;u<A;u++)if(a[u](e,i,s,!0)){C=!0;break}if(C||(f=_(e,i).trim(),!f)||e.sCount[i]-e.blkIndent>=4)break;for(n=v(f),n.length&&n[0]===""&&n.shift(),n.length&&n[n.length-1]===""&&n.pop(),i===l+2&&(r=e.push("tbody_open","tbody",1),r.map=k=[l+2,0]),r=e.push("tr_open","tr",1),r.map=[i,i+1],u=0;u<g;u++)r=e.push("td_open","td",1),p[u]&&(r.attrs=[["style","text-align:"+p[u]]]),r=e.push("inline","",0),r.content=n[u]?n[u].trim():"",r.children=[],r=e.push("td_close","td",-1);r=e.push("tr_close","tr",-1)}return k&&(r=e.push("tbody_close","tbody",-1),k[1]=i),r=e.push("table_close","table",-1),y[1]=i,e.parentType=M,e.line=i,!0};module.exports=S;
1
+ "use strict";
2
+ require("../common/utils.js");
3
+ const utils = require("../../../../../../../_virtual/utils.js");
4
+ var isSpace = utils.__exports.isSpace;
5
+ function getLine(state, line) {
6
+ var pos = state.bMarks[line] + state.tShift[line], max = state.eMarks[line];
7
+ return state.src.slice(pos, max);
8
+ }
9
+ function escapedSplit(str) {
10
+ var result = [], pos = 0, max = str.length, ch, isEscaped = false, lastPos = 0, current = "";
11
+ ch = str.charCodeAt(pos);
12
+ while (pos < max) {
13
+ if (ch === 124) {
14
+ if (!isEscaped) {
15
+ result.push(current + str.substring(lastPos, pos));
16
+ current = "";
17
+ lastPos = pos + 1;
18
+ } else {
19
+ current += str.substring(lastPos, pos - 1);
20
+ lastPos = pos;
21
+ }
22
+ }
23
+ isEscaped = ch === 92;
24
+ pos++;
25
+ ch = str.charCodeAt(pos);
26
+ }
27
+ result.push(current + str.substring(lastPos));
28
+ return result;
29
+ }
30
+ var table = function table2(state, startLine, endLine, silent) {
31
+ var ch, lineText, pos, i, l, nextLine, columns, columnCount, token, aligns, t, tableLines, tbodyLines, oldParentType, terminate, terminatorRules, firstCh, secondCh;
32
+ if (startLine + 2 > endLine) {
33
+ return false;
34
+ }
35
+ nextLine = startLine + 1;
36
+ if (state.sCount[nextLine] < state.blkIndent) {
37
+ return false;
38
+ }
39
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
40
+ return false;
41
+ }
42
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
43
+ if (pos >= state.eMarks[nextLine]) {
44
+ return false;
45
+ }
46
+ firstCh = state.src.charCodeAt(pos++);
47
+ if (firstCh !== 124 && firstCh !== 45 && firstCh !== 58) {
48
+ return false;
49
+ }
50
+ if (pos >= state.eMarks[nextLine]) {
51
+ return false;
52
+ }
53
+ secondCh = state.src.charCodeAt(pos++);
54
+ if (secondCh !== 124 && secondCh !== 45 && secondCh !== 58 && !isSpace(secondCh)) {
55
+ return false;
56
+ }
57
+ if (firstCh === 45 && isSpace(secondCh)) {
58
+ return false;
59
+ }
60
+ while (pos < state.eMarks[nextLine]) {
61
+ ch = state.src.charCodeAt(pos);
62
+ if (ch !== 124 && ch !== 45 && ch !== 58 && !isSpace(ch)) {
63
+ return false;
64
+ }
65
+ pos++;
66
+ }
67
+ lineText = getLine(state, startLine + 1);
68
+ columns = lineText.split("|");
69
+ aligns = [];
70
+ for (i = 0; i < columns.length; i++) {
71
+ t = columns[i].trim();
72
+ if (!t) {
73
+ if (i === 0 || i === columns.length - 1) {
74
+ continue;
75
+ } else {
76
+ return false;
77
+ }
78
+ }
79
+ if (!/^:?-+:?$/.test(t)) {
80
+ return false;
81
+ }
82
+ if (t.charCodeAt(t.length - 1) === 58) {
83
+ aligns.push(t.charCodeAt(0) === 58 ? "center" : "right");
84
+ } else if (t.charCodeAt(0) === 58) {
85
+ aligns.push("left");
86
+ } else {
87
+ aligns.push("");
88
+ }
89
+ }
90
+ lineText = getLine(state, startLine).trim();
91
+ if (lineText.indexOf("|") === -1) {
92
+ return false;
93
+ }
94
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
95
+ return false;
96
+ }
97
+ columns = escapedSplit(lineText);
98
+ if (columns.length && columns[0] === "")
99
+ columns.shift();
100
+ if (columns.length && columns[columns.length - 1] === "")
101
+ columns.pop();
102
+ columnCount = columns.length;
103
+ if (columnCount === 0 || columnCount !== aligns.length) {
104
+ return false;
105
+ }
106
+ if (silent) {
107
+ return true;
108
+ }
109
+ oldParentType = state.parentType;
110
+ state.parentType = "table";
111
+ terminatorRules = state.md.block.ruler.getRules("blockquote");
112
+ token = state.push("table_open", "table", 1);
113
+ token.map = tableLines = [startLine, 0];
114
+ token = state.push("thead_open", "thead", 1);
115
+ token.map = [startLine, startLine + 1];
116
+ token = state.push("tr_open", "tr", 1);
117
+ token.map = [startLine, startLine + 1];
118
+ for (i = 0; i < columns.length; i++) {
119
+ token = state.push("th_open", "th", 1);
120
+ if (aligns[i]) {
121
+ token.attrs = [["style", "text-align:" + aligns[i]]];
122
+ }
123
+ token = state.push("inline", "", 0);
124
+ token.content = columns[i].trim();
125
+ token.children = [];
126
+ token = state.push("th_close", "th", -1);
127
+ }
128
+ token = state.push("tr_close", "tr", -1);
129
+ token = state.push("thead_close", "thead", -1);
130
+ for (nextLine = startLine + 2; nextLine < endLine; nextLine++) {
131
+ if (state.sCount[nextLine] < state.blkIndent) {
132
+ break;
133
+ }
134
+ terminate = false;
135
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
136
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
137
+ terminate = true;
138
+ break;
139
+ }
140
+ }
141
+ if (terminate) {
142
+ break;
143
+ }
144
+ lineText = getLine(state, nextLine).trim();
145
+ if (!lineText) {
146
+ break;
147
+ }
148
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
149
+ break;
150
+ }
151
+ columns = escapedSplit(lineText);
152
+ if (columns.length && columns[0] === "")
153
+ columns.shift();
154
+ if (columns.length && columns[columns.length - 1] === "")
155
+ columns.pop();
156
+ if (nextLine === startLine + 2) {
157
+ token = state.push("tbody_open", "tbody", 1);
158
+ token.map = tbodyLines = [startLine + 2, 0];
159
+ }
160
+ token = state.push("tr_open", "tr", 1);
161
+ token.map = [nextLine, nextLine + 1];
162
+ for (i = 0; i < columnCount; i++) {
163
+ token = state.push("td_open", "td", 1);
164
+ if (aligns[i]) {
165
+ token.attrs = [["style", "text-align:" + aligns[i]]];
166
+ }
167
+ token = state.push("inline", "", 0);
168
+ token.content = columns[i] ? columns[i].trim() : "";
169
+ token.children = [];
170
+ token = state.push("td_close", "td", -1);
171
+ }
172
+ token = state.push("tr_close", "tr", -1);
173
+ }
174
+ if (tbodyLines) {
175
+ token = state.push("tbody_close", "tbody", -1);
176
+ tbodyLines[1] = nextLine;
177
+ }
178
+ token = state.push("table_close", "table", -1);
179
+ tableLines[1] = nextLine;
180
+ state.parentType = oldParentType;
181
+ state.line = nextLine;
182
+ return true;
183
+ };
184
+ module.exports = table;
@@ -1 +1,14 @@
1
- "use strict";var c=function(n){var o;n.inlineMode?(o=new n.Token("inline","",0),o.content=n.src,o.map=[0,1],o.children=[],n.tokens.push(o)):n.md.block.parse(n.src,n.md,n.env,n.tokens)};module.exports=c;
1
+ "use strict";
2
+ var block = function block2(state) {
3
+ var token;
4
+ if (state.inlineMode) {
5
+ token = new state.Token("inline", "", 0);
6
+ token.content = state.src;
7
+ token.map = [0, 1];
8
+ token.children = [];
9
+ state.tokens.push(token);
10
+ } else {
11
+ state.md.block.parse(state.src, state.md, state.env, state.tokens);
12
+ }
13
+ };
14
+ module.exports = block;
@@ -1 +1,11 @@
1
- "use strict";var r=function(n){var l=n.tokens,i,e,o;for(e=0,o=l.length;e<o;e++)i=l[e],i.type==="inline"&&n.md.inline.parse(i.content,n.md,n.env,i.children)};module.exports=r;
1
+ "use strict";
2
+ var inline = function inline2(state) {
3
+ var tokens = state.tokens, tok, i, l;
4
+ for (i = 0, l = tokens.length; i < l; i++) {
5
+ tok = tokens[i];
6
+ if (tok.type === "inline") {
7
+ state.md.inline.parse(tok.content, state.md, state.env, tok.children);
8
+ }
9
+ }
10
+ };
11
+ module.exports = inline;
@@ -1 +1,100 @@
1
- "use strict";require("../common/utils.js");const T=require("../../../../../../../_virtual/utils.js");var L=T.__exports.arrayReplaceAt;function _(h){return/^<a[>\s]/i.test(h)}function w(h){return/^<\/a\s*>/i.test(h)}var g=function(n){var l,k,y,c,e,t,f,o,u,d,p,s,m,v,x,r,a=n.tokens,i;if(n.md.options.linkify){for(k=0,y=a.length;k<y;k++)if(!(a[k].type!=="inline"||!n.md.linkify.pretest(a[k].content)))for(c=a[k].children,m=0,l=c.length-1;l>=0;l--){if(t=c[l],t.type==="link_close"){for(l--;c[l].level!==t.level&&c[l].type!=="link_open";)l--;continue}if(t.type==="html_inline"&&(_(t.content)&&m>0&&m--,w(t.content)&&m++),!(m>0)&&t.type==="text"&&n.md.linkify.test(t.content)){for(u=t.content,i=n.md.linkify.match(u),f=[],s=t.level,p=0,i.length>0&&i[0].index===0&&l>0&&c[l-1].type==="text_special"&&(i=i.slice(1)),o=0;o<i.length;o++)v=i[o].url,x=n.md.normalizeLink(v),n.md.validateLink(x)&&(r=i[o].text,i[o].schema?i[o].schema==="mailto:"&&!/^mailto:/i.test(r)?r=n.md.normalizeLinkText("mailto:"+r).replace(/^mailto:/,""):r=n.md.normalizeLinkText(r):r=n.md.normalizeLinkText("http://"+r).replace(/^http:\/\//,""),d=i[o].index,d>p&&(e=new n.Token("text","",0),e.content=u.slice(p,d),e.level=s,f.push(e)),e=new n.Token("link_open","a",1),e.attrs=[["href",x]],e.level=s++,e.markup="linkify",e.info="auto",f.push(e),e=new n.Token("text","",0),e.content=r,e.level=s,f.push(e),e=new n.Token("link_close","a",-1),e.level=--s,e.markup="linkify",e.info="auto",f.push(e),p=i[o].lastIndex);p<u.length&&(e=new n.Token("text","",0),e.content=u.slice(p),e.level=s,f.push(e)),a[k].children=c=L(c,l,f)}}}};module.exports=g;
1
+ "use strict";
2
+ require("../common/utils.js");
3
+ const utils = require("../../../../../../../_virtual/utils.js");
4
+ var arrayReplaceAt = utils.__exports.arrayReplaceAt;
5
+ function isLinkOpen(str) {
6
+ return /^<a[>\s]/i.test(str);
7
+ }
8
+ function isLinkClose(str) {
9
+ return /^<\/a\s*>/i.test(str);
10
+ }
11
+ var linkify = function linkify2(state) {
12
+ var i, j, l, tokens, token, currentToken, nodes, ln, text, pos, lastPos, level, htmlLinkLevel, url, fullUrl, urlText, blockTokens = state.tokens, links;
13
+ if (!state.md.options.linkify) {
14
+ return;
15
+ }
16
+ for (j = 0, l = blockTokens.length; j < l; j++) {
17
+ if (blockTokens[j].type !== "inline" || !state.md.linkify.pretest(blockTokens[j].content)) {
18
+ continue;
19
+ }
20
+ tokens = blockTokens[j].children;
21
+ htmlLinkLevel = 0;
22
+ for (i = tokens.length - 1; i >= 0; i--) {
23
+ currentToken = tokens[i];
24
+ if (currentToken.type === "link_close") {
25
+ i--;
26
+ while (tokens[i].level !== currentToken.level && tokens[i].type !== "link_open") {
27
+ i--;
28
+ }
29
+ continue;
30
+ }
31
+ if (currentToken.type === "html_inline") {
32
+ if (isLinkOpen(currentToken.content) && htmlLinkLevel > 0) {
33
+ htmlLinkLevel--;
34
+ }
35
+ if (isLinkClose(currentToken.content)) {
36
+ htmlLinkLevel++;
37
+ }
38
+ }
39
+ if (htmlLinkLevel > 0) {
40
+ continue;
41
+ }
42
+ if (currentToken.type === "text" && state.md.linkify.test(currentToken.content)) {
43
+ text = currentToken.content;
44
+ links = state.md.linkify.match(text);
45
+ nodes = [];
46
+ level = currentToken.level;
47
+ lastPos = 0;
48
+ if (links.length > 0 && links[0].index === 0 && i > 0 && tokens[i - 1].type === "text_special") {
49
+ links = links.slice(1);
50
+ }
51
+ for (ln = 0; ln < links.length; ln++) {
52
+ url = links[ln].url;
53
+ fullUrl = state.md.normalizeLink(url);
54
+ if (!state.md.validateLink(fullUrl)) {
55
+ continue;
56
+ }
57
+ urlText = links[ln].text;
58
+ if (!links[ln].schema) {
59
+ urlText = state.md.normalizeLinkText("http://" + urlText).replace(/^http:\/\//, "");
60
+ } else if (links[ln].schema === "mailto:" && !/^mailto:/i.test(urlText)) {
61
+ urlText = state.md.normalizeLinkText("mailto:" + urlText).replace(/^mailto:/, "");
62
+ } else {
63
+ urlText = state.md.normalizeLinkText(urlText);
64
+ }
65
+ pos = links[ln].index;
66
+ if (pos > lastPos) {
67
+ token = new state.Token("text", "", 0);
68
+ token.content = text.slice(lastPos, pos);
69
+ token.level = level;
70
+ nodes.push(token);
71
+ }
72
+ token = new state.Token("link_open", "a", 1);
73
+ token.attrs = [["href", fullUrl]];
74
+ token.level = level++;
75
+ token.markup = "linkify";
76
+ token.info = "auto";
77
+ nodes.push(token);
78
+ token = new state.Token("text", "", 0);
79
+ token.content = urlText;
80
+ token.level = level;
81
+ nodes.push(token);
82
+ token = new state.Token("link_close", "a", -1);
83
+ token.level = --level;
84
+ token.markup = "linkify";
85
+ token.info = "auto";
86
+ nodes.push(token);
87
+ lastPos = links[ln].lastIndex;
88
+ }
89
+ if (lastPos < text.length) {
90
+ token = new state.Token("text", "", 0);
91
+ token.content = text.slice(lastPos);
92
+ token.level = level;
93
+ nodes.push(token);
94
+ }
95
+ blockTokens[j].children = tokens = arrayReplaceAt(tokens, i, nodes);
96
+ }
97
+ }
98
+ }
99
+ };
100
+ module.exports = linkify;
@@ -1,2 +1,10 @@
1
- "use strict";var e=/\r\n?|\n/g,n=/\0/g,c=function(a){var r;r=a.src.replace(e,`
2
- `),r=r.replace(n,"�"),a.src=r};module.exports=c;
1
+ "use strict";
2
+ var NEWLINES_RE = /\r\n?|\n/g;
3
+ var NULL_RE = /\0/g;
4
+ var normalize = function normalize2(state) {
5
+ var str;
6
+ str = state.src.replace(NEWLINES_RE, "\n");
7
+ str = str.replace(NULL_RE, "�");
8
+ state.src = str;
9
+ };
10
+ module.exports = normalize;
@@ -1 +1,62 @@
1
- "use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,c=/\((c|tm|r)\)/i,i=/\((c|tm|r)\)/ig,p={c:"©",r:"®",tm:"™"};function l(n,t){return p[t.toLowerCase()]}function a(n){var t,e,o=0;for(t=n.length-1;t>=0;t--)e=n[t],e.type==="text"&&!o&&(e.content=e.content.replace(i,l)),e.type==="link_open"&&e.info==="auto"&&o--,e.type==="link_close"&&e.info==="auto"&&o++}function f(n){var t,e,o=0;for(t=n.length-1;t>=0;t--)e=n[t],e.type==="text"&&!o&&r.test(e.content)&&(e.content=e.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),e.type==="link_open"&&e.info==="auto"&&o--,e.type==="link_close"&&e.info==="auto"&&o++}var u=function(t){var e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)t.tokens[e].type==="inline"&&(c.test(t.tokens[e].content)&&a(t.tokens[e].children),r.test(t.tokens[e].content)&&f(t.tokens[e].children))};module.exports=u;
1
+ "use strict";
2
+ var RARE_RE = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/;
3
+ var SCOPED_ABBR_TEST_RE = /\((c|tm|r)\)/i;
4
+ var SCOPED_ABBR_RE = /\((c|tm|r)\)/ig;
5
+ var SCOPED_ABBR = {
6
+ c: "©",
7
+ r: "®",
8
+ tm: "™"
9
+ };
10
+ function replaceFn(match, name) {
11
+ return SCOPED_ABBR[name.toLowerCase()];
12
+ }
13
+ function replace_scoped(inlineTokens) {
14
+ var i, token, inside_autolink = 0;
15
+ for (i = inlineTokens.length - 1; i >= 0; i--) {
16
+ token = inlineTokens[i];
17
+ if (token.type === "text" && !inside_autolink) {
18
+ token.content = token.content.replace(SCOPED_ABBR_RE, replaceFn);
19
+ }
20
+ if (token.type === "link_open" && token.info === "auto") {
21
+ inside_autolink--;
22
+ }
23
+ if (token.type === "link_close" && token.info === "auto") {
24
+ inside_autolink++;
25
+ }
26
+ }
27
+ }
28
+ function replace_rare(inlineTokens) {
29
+ var i, token, inside_autolink = 0;
30
+ for (i = inlineTokens.length - 1; i >= 0; i--) {
31
+ token = inlineTokens[i];
32
+ if (token.type === "text" && !inside_autolink) {
33
+ if (RARE_RE.test(token.content)) {
34
+ token.content = token.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–");
35
+ }
36
+ }
37
+ if (token.type === "link_open" && token.info === "auto") {
38
+ inside_autolink--;
39
+ }
40
+ if (token.type === "link_close" && token.info === "auto") {
41
+ inside_autolink++;
42
+ }
43
+ }
44
+ }
45
+ var replacements = function replace(state) {
46
+ var blkIdx;
47
+ if (!state.md.options.typographer) {
48
+ return;
49
+ }
50
+ for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {
51
+ if (state.tokens[blkIdx].type !== "inline") {
52
+ continue;
53
+ }
54
+ if (SCOPED_ABBR_TEST_RE.test(state.tokens[blkIdx].content)) {
55
+ replace_scoped(state.tokens[blkIdx].children);
56
+ }
57
+ if (RARE_RE.test(state.tokens[blkIdx].content)) {
58
+ replace_rare(state.tokens[blkIdx].children);
59
+ }
60
+ }
61
+ };
62
+ module.exports = replacements;
@@ -1 +1,157 @@
1
- "use strict";require("../common/utils.js");const q=require("../../../../../../../_virtual/utils.js");var A=q.__exports.isWhiteSpace,P=q.__exports.isPunctChar,y=q.__exports.isMdAsciiPunct,T=/['"]/,E=/['"]/g,O="’";function _(t,i,n){return t.slice(0,i)+n+t.slice(i+1)}function Q(t,i){var n,c,h,o,s,g,x,u,a,p,v,C,S,k,f,l,e,d,r,b,m;for(r=[],n=0;n<t.length;n++){for(c=t[n],x=t[n].level,e=r.length-1;e>=0&&!(r[e].level<=x);e--);if(r.length=e+1,c.type!=="text")continue;h=c.content,s=0,g=h.length;e:for(;s<g&&(E.lastIndex=s,o=E.exec(h),!!o);){if(f=l=!0,s=o.index+1,d=o[0]==="'",a=32,o.index-1>=0)a=h.charCodeAt(o.index-1);else for(e=n-1;e>=0&&!(t[e].type==="softbreak"||t[e].type==="hardbreak");e--)if(t[e].content){a=t[e].content.charCodeAt(t[e].content.length-1);break}if(p=32,s<g)p=h.charCodeAt(s);else for(e=n+1;e<t.length&&!(t[e].type==="softbreak"||t[e].type==="hardbreak");e++)if(t[e].content){p=t[e].content.charCodeAt(0);break}if(v=y(a)||P(String.fromCharCode(a)),C=y(p)||P(String.fromCharCode(p)),S=A(a),k=A(p),k?f=!1:C&&(S||v||(f=!1)),S?l=!1:v&&(k||C||(l=!1)),p===34&&o[0]==='"'&&a>=48&&a<=57&&(l=f=!1),f&&l&&(f=v,l=C),!f&&!l){d&&(c.content=_(c.content,o.index,O));continue}if(l){for(e=r.length-1;e>=0&&(u=r[e],!(r[e].level<x));e--)if(u.single===d&&r[e].level===x){u=r[e],d?(b=i.md.options.quotes[2],m=i.md.options.quotes[3]):(b=i.md.options.quotes[0],m=i.md.options.quotes[1]),c.content=_(c.content,o.index,m),t[u.token].content=_(t[u.token].content,u.pos,b),s+=m.length-1,u.token===n&&(s+=b.length-1),h=c.content,g=h.length,r.length=e;continue e}}f?r.push({token:n,pos:o.index,single:d,level:x}):l&&d&&(c.content=_(c.content,o.index,O))}}}var W=function(i){var n;if(i.md.options.typographer)for(n=i.tokens.length-1;n>=0;n--)i.tokens[n].type!=="inline"||!T.test(i.tokens[n].content)||Q(i.tokens[n].children,i)};module.exports=W;
1
+ "use strict";
2
+ require("../common/utils.js");
3
+ const utils = require("../../../../../../../_virtual/utils.js");
4
+ var isWhiteSpace = utils.__exports.isWhiteSpace;
5
+ var isPunctChar = utils.__exports.isPunctChar;
6
+ var isMdAsciiPunct = utils.__exports.isMdAsciiPunct;
7
+ var QUOTE_TEST_RE = /['"]/;
8
+ var QUOTE_RE = /['"]/g;
9
+ var APOSTROPHE = "’";
10
+ function replaceAt(str, index, ch) {
11
+ return str.slice(0, index) + ch + str.slice(index + 1);
12
+ }
13
+ function process_inlines(tokens, state) {
14
+ var i, token, text, t, pos, max, thisLevel, item, lastChar, nextChar, isLastPunctChar, isNextPunctChar, isLastWhiteSpace, isNextWhiteSpace, canOpen, canClose, j, isSingle, stack, openQuote, closeQuote;
15
+ stack = [];
16
+ for (i = 0; i < tokens.length; i++) {
17
+ token = tokens[i];
18
+ thisLevel = tokens[i].level;
19
+ for (j = stack.length - 1; j >= 0; j--) {
20
+ if (stack[j].level <= thisLevel) {
21
+ break;
22
+ }
23
+ }
24
+ stack.length = j + 1;
25
+ if (token.type !== "text") {
26
+ continue;
27
+ }
28
+ text = token.content;
29
+ pos = 0;
30
+ max = text.length;
31
+ OUTER:
32
+ while (pos < max) {
33
+ QUOTE_RE.lastIndex = pos;
34
+ t = QUOTE_RE.exec(text);
35
+ if (!t) {
36
+ break;
37
+ }
38
+ canOpen = canClose = true;
39
+ pos = t.index + 1;
40
+ isSingle = t[0] === "'";
41
+ lastChar = 32;
42
+ if (t.index - 1 >= 0) {
43
+ lastChar = text.charCodeAt(t.index - 1);
44
+ } else {
45
+ for (j = i - 1; j >= 0; j--) {
46
+ if (tokens[j].type === "softbreak" || tokens[j].type === "hardbreak")
47
+ break;
48
+ if (!tokens[j].content)
49
+ continue;
50
+ lastChar = tokens[j].content.charCodeAt(tokens[j].content.length - 1);
51
+ break;
52
+ }
53
+ }
54
+ nextChar = 32;
55
+ if (pos < max) {
56
+ nextChar = text.charCodeAt(pos);
57
+ } else {
58
+ for (j = i + 1; j < tokens.length; j++) {
59
+ if (tokens[j].type === "softbreak" || tokens[j].type === "hardbreak")
60
+ break;
61
+ if (!tokens[j].content)
62
+ continue;
63
+ nextChar = tokens[j].content.charCodeAt(0);
64
+ break;
65
+ }
66
+ }
67
+ isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar));
68
+ isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar));
69
+ isLastWhiteSpace = isWhiteSpace(lastChar);
70
+ isNextWhiteSpace = isWhiteSpace(nextChar);
71
+ if (isNextWhiteSpace) {
72
+ canOpen = false;
73
+ } else if (isNextPunctChar) {
74
+ if (!(isLastWhiteSpace || isLastPunctChar)) {
75
+ canOpen = false;
76
+ }
77
+ }
78
+ if (isLastWhiteSpace) {
79
+ canClose = false;
80
+ } else if (isLastPunctChar) {
81
+ if (!(isNextWhiteSpace || isNextPunctChar)) {
82
+ canClose = false;
83
+ }
84
+ }
85
+ if (nextChar === 34 && t[0] === '"') {
86
+ if (lastChar >= 48 && lastChar <= 57) {
87
+ canClose = canOpen = false;
88
+ }
89
+ }
90
+ if (canOpen && canClose) {
91
+ canOpen = isLastPunctChar;
92
+ canClose = isNextPunctChar;
93
+ }
94
+ if (!canOpen && !canClose) {
95
+ if (isSingle) {
96
+ token.content = replaceAt(token.content, t.index, APOSTROPHE);
97
+ }
98
+ continue;
99
+ }
100
+ if (canClose) {
101
+ for (j = stack.length - 1; j >= 0; j--) {
102
+ item = stack[j];
103
+ if (stack[j].level < thisLevel) {
104
+ break;
105
+ }
106
+ if (item.single === isSingle && stack[j].level === thisLevel) {
107
+ item = stack[j];
108
+ if (isSingle) {
109
+ openQuote = state.md.options.quotes[2];
110
+ closeQuote = state.md.options.quotes[3];
111
+ } else {
112
+ openQuote = state.md.options.quotes[0];
113
+ closeQuote = state.md.options.quotes[1];
114
+ }
115
+ token.content = replaceAt(token.content, t.index, closeQuote);
116
+ tokens[item.token].content = replaceAt(
117
+ tokens[item.token].content,
118
+ item.pos,
119
+ openQuote
120
+ );
121
+ pos += closeQuote.length - 1;
122
+ if (item.token === i) {
123
+ pos += openQuote.length - 1;
124
+ }
125
+ text = token.content;
126
+ max = text.length;
127
+ stack.length = j;
128
+ continue OUTER;
129
+ }
130
+ }
131
+ }
132
+ if (canOpen) {
133
+ stack.push({
134
+ token: i,
135
+ pos: t.index,
136
+ single: isSingle,
137
+ level: thisLevel
138
+ });
139
+ } else if (canClose && isSingle) {
140
+ token.content = replaceAt(token.content, t.index, APOSTROPHE);
141
+ }
142
+ }
143
+ }
144
+ }
145
+ var smartquotes = function smartquotes2(state) {
146
+ var blkIdx;
147
+ if (!state.md.options.typographer) {
148
+ return;
149
+ }
150
+ for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {
151
+ if (state.tokens[blkIdx].type !== "inline" || !QUOTE_TEST_RE.test(state.tokens[blkIdx].content)) {
152
+ continue;
153
+ }
154
+ process_inlines(state.tokens[blkIdx].children, state);
155
+ }
156
+ };
157
+ module.exports = smartquotes;
@@ -1 +1,13 @@
1
- "use strict";const i=require("../token.js");var n=i;function t(e,s,o){this.src=e,this.env=o,this.tokens=[],this.inlineMode=!1,this.md=s}t.prototype.Token=n;var r=t;module.exports=r;
1
+ "use strict";
2
+ const token = require("../token.js");
3
+ var Token = token;
4
+ function StateCore(src, md, env) {
5
+ this.src = src;
6
+ this.env = env;
7
+ this.tokens = [];
8
+ this.inlineMode = false;
9
+ this.md = md;
10
+ }
11
+ StateCore.prototype.Token = Token;
12
+ var state_core = StateCore;
13
+ module.exports = state_core;
@@ -1 +1,29 @@
1
- "use strict";var f=function(r){var o,l,e,t,i,n,c=r.tokens;for(o=0,l=c.length;o<l;o++)if(c[o].type==="inline"){for(e=c[o].children,i=e.length,t=0;t<i;t++)e[t].type==="text_special"&&(e[t].type="text");for(t=n=0;t<i;t++)e[t].type==="text"&&t+1<i&&e[t+1].type==="text"?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}};module.exports=f;
1
+ "use strict";
2
+ var text_join = function text_join2(state) {
3
+ var j, l, tokens, curr, max, last, blockTokens = state.tokens;
4
+ for (j = 0, l = blockTokens.length; j < l; j++) {
5
+ if (blockTokens[j].type !== "inline")
6
+ continue;
7
+ tokens = blockTokens[j].children;
8
+ max = tokens.length;
9
+ for (curr = 0; curr < max; curr++) {
10
+ if (tokens[curr].type === "text_special") {
11
+ tokens[curr].type = "text";
12
+ }
13
+ }
14
+ for (curr = last = 0; curr < max; curr++) {
15
+ if (tokens[curr].type === "text" && curr + 1 < max && tokens[curr + 1].type === "text") {
16
+ tokens[curr + 1].content = tokens[curr].content + tokens[curr + 1].content;
17
+ } else {
18
+ if (curr !== last) {
19
+ tokens[last] = tokens[curr];
20
+ }
21
+ last++;
22
+ }
23
+ }
24
+ if (curr !== last) {
25
+ tokens.length = last;
26
+ }
27
+ }
28
+ };
29
+ module.exports = text_join;
@@ -1 +1,61 @@
1
- "use strict";var k=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,p=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,m=function(r,l){var i,o,n,u,e,f,a=r.pos;if(r.src.charCodeAt(a)!==60)return!1;for(e=r.pos,f=r.posMax;;){if(++a>=f||(u=r.src.charCodeAt(a),u===60))return!1;if(u===62)break}return i=r.src.slice(e+1,a),p.test(i)?(o=r.md.normalizeLink(i),r.md.validateLink(o)?(l||(n=r.push("link_open","a",1),n.attrs=[["href",o]],n.markup="autolink",n.info="auto",n=r.push("text","",0),n.content=r.md.normalizeLinkText(i),n=r.push("link_close","a",-1),n.markup="autolink",n.info="auto"),r.pos+=i.length+2,!0):!1):k.test(i)?(o=r.md.normalizeLink("mailto:"+i),r.md.validateLink(o)?(l||(n=r.push("link_open","a",1),n.attrs=[["href",o]],n.markup="autolink",n.info="auto",n=r.push("text","",0),n.content=r.md.normalizeLinkText(i),n=r.push("link_close","a",-1),n.markup="autolink",n.info="auto"),r.pos+=i.length+2,!0):!1):!1};module.exports=m;
1
+ "use strict";
2
+ var EMAIL_RE = /^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/;
3
+ var AUTOLINK_RE = /^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;
4
+ var autolink = function autolink2(state, silent) {
5
+ var url, fullUrl, token, ch, start, max, pos = state.pos;
6
+ if (state.src.charCodeAt(pos) !== 60) {
7
+ return false;
8
+ }
9
+ start = state.pos;
10
+ max = state.posMax;
11
+ for (; ; ) {
12
+ if (++pos >= max)
13
+ return false;
14
+ ch = state.src.charCodeAt(pos);
15
+ if (ch === 60)
16
+ return false;
17
+ if (ch === 62)
18
+ break;
19
+ }
20
+ url = state.src.slice(start + 1, pos);
21
+ if (AUTOLINK_RE.test(url)) {
22
+ fullUrl = state.md.normalizeLink(url);
23
+ if (!state.md.validateLink(fullUrl)) {
24
+ return false;
25
+ }
26
+ if (!silent) {
27
+ token = state.push("link_open", "a", 1);
28
+ token.attrs = [["href", fullUrl]];
29
+ token.markup = "autolink";
30
+ token.info = "auto";
31
+ token = state.push("text", "", 0);
32
+ token.content = state.md.normalizeLinkText(url);
33
+ token = state.push("link_close", "a", -1);
34
+ token.markup = "autolink";
35
+ token.info = "auto";
36
+ }
37
+ state.pos += url.length + 2;
38
+ return true;
39
+ }
40
+ if (EMAIL_RE.test(url)) {
41
+ fullUrl = state.md.normalizeLink("mailto:" + url);
42
+ if (!state.md.validateLink(fullUrl)) {
43
+ return false;
44
+ }
45
+ if (!silent) {
46
+ token = state.push("link_open", "a", 1);
47
+ token.attrs = [["href", fullUrl]];
48
+ token.markup = "autolink";
49
+ token.info = "auto";
50
+ token = state.push("text", "", 0);
51
+ token.content = state.md.normalizeLinkText(url);
52
+ token = state.push("link_close", "a", -1);
53
+ token.markup = "autolink";
54
+ token.info = "auto";
55
+ }
56
+ state.pos += url.length + 2;
57
+ return true;
58
+ }
59
+ return false;
60
+ };
61
+ module.exports = autolink;