@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,41 +1,161 @@
1
1
  import "../common/utils.js";
2
- import { __exports as w } from "../../../../../../../_virtual/utils.js";
3
- var g = w.isSpace, z = function(o, l, A, v) {
4
- var b, C, f, k, q, x, I, u, n, i, d, T, y, e, p, h, S, m, M, _, E = o.lineMax, r = o.bMarks[l] + o.tShift[l], c = o.eMarks[l];
5
- if (o.sCount[l] - o.blkIndent >= 4 || o.src.charCodeAt(r++) !== 62)
6
- return !1;
7
- if (v)
8
- return !0;
9
- for (k = n = o.sCount[l] + 1, o.src.charCodeAt(r) === 32 ? (r++, k++, n++, b = !1, h = !0) : o.src.charCodeAt(r) === 9 ? (h = !0, (o.bsCount[l] + n) % 4 === 3 ? (r++, k++, n++, b = !1) : b = !0) : h = !1, i = [o.bMarks[l]], o.bMarks[l] = r; r < c && (C = o.src.charCodeAt(r), g(C)); ) {
10
- C === 9 ? n += 4 - (n + o.bsCount[l] + (b ? 1 : 0)) % 4 : n++;
11
- r++;
2
+ import { __exports as utils } from "../../../../../../../_virtual/utils.js";
3
+ var isSpace = utils.isSpace;
4
+ var blockquote = function blockquote2(state, startLine, endLine, silent) {
5
+ var adjustTab, ch, i, initial, l, lastLineEmpty, lines, nextLine, offset, oldBMarks, oldBSCount, oldIndent, oldParentType, oldSCount, oldTShift, spaceAfterMarker, terminate, terminatorRules, token, isOutdented, oldLineMax = state.lineMax, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
6
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
7
+ return false;
12
8
  }
13
- for (d = [o.bsCount[l]], o.bsCount[l] = o.sCount[l] + 1 + (h ? 1 : 0), x = r >= c, e = [o.sCount[l]], o.sCount[l] = n - k, p = [o.tShift[l]], o.tShift[l] = r - o.bMarks[l], m = o.md.block.ruler.getRules("blockquote"), y = o.parentType, o.parentType = "blockquote", u = l + 1; u < A && (_ = o.sCount[u] < o.blkIndent, r = o.bMarks[u] + o.tShift[u], c = o.eMarks[u], !(r >= c)); u++) {
14
- if (o.src.charCodeAt(r++) === 62 && !_) {
15
- for (k = n = o.sCount[u] + 1, o.src.charCodeAt(r) === 32 ? (r++, k++, n++, b = !1, h = !0) : o.src.charCodeAt(r) === 9 ? (h = !0, (o.bsCount[u] + n) % 4 === 3 ? (r++, k++, n++, b = !1) : b = !0) : h = !1, i.push(o.bMarks[u]), o.bMarks[u] = r; r < c && (C = o.src.charCodeAt(r), g(C)); ) {
16
- C === 9 ? n += 4 - (n + o.bsCount[u] + (b ? 1 : 0)) % 4 : n++;
17
- r++;
9
+ if (state.src.charCodeAt(pos++) !== 62) {
10
+ return false;
11
+ }
12
+ if (silent) {
13
+ return true;
14
+ }
15
+ initial = offset = state.sCount[startLine] + 1;
16
+ if (state.src.charCodeAt(pos) === 32) {
17
+ pos++;
18
+ initial++;
19
+ offset++;
20
+ adjustTab = false;
21
+ spaceAfterMarker = true;
22
+ } else if (state.src.charCodeAt(pos) === 9) {
23
+ spaceAfterMarker = true;
24
+ if ((state.bsCount[startLine] + offset) % 4 === 3) {
25
+ pos++;
26
+ initial++;
27
+ offset++;
28
+ adjustTab = false;
29
+ } else {
30
+ adjustTab = true;
31
+ }
32
+ } else {
33
+ spaceAfterMarker = false;
34
+ }
35
+ oldBMarks = [state.bMarks[startLine]];
36
+ state.bMarks[startLine] = pos;
37
+ while (pos < max) {
38
+ ch = state.src.charCodeAt(pos);
39
+ if (isSpace(ch)) {
40
+ if (ch === 9) {
41
+ offset += 4 - (offset + state.bsCount[startLine] + (adjustTab ? 1 : 0)) % 4;
42
+ } else {
43
+ offset++;
18
44
  }
19
- x = r >= c, d.push(o.bsCount[u]), o.bsCount[u] = o.sCount[u] + 1 + (h ? 1 : 0), e.push(o.sCount[u]), o.sCount[u] = n - k, p.push(o.tShift[u]), o.tShift[u] = r - o.bMarks[u];
45
+ } else {
46
+ break;
47
+ }
48
+ pos++;
49
+ }
50
+ oldBSCount = [state.bsCount[startLine]];
51
+ state.bsCount[startLine] = state.sCount[startLine] + 1 + (spaceAfterMarker ? 1 : 0);
52
+ lastLineEmpty = pos >= max;
53
+ oldSCount = [state.sCount[startLine]];
54
+ state.sCount[startLine] = offset - initial;
55
+ oldTShift = [state.tShift[startLine]];
56
+ state.tShift[startLine] = pos - state.bMarks[startLine];
57
+ terminatorRules = state.md.block.ruler.getRules("blockquote");
58
+ oldParentType = state.parentType;
59
+ state.parentType = "blockquote";
60
+ for (nextLine = startLine + 1; nextLine < endLine; nextLine++) {
61
+ isOutdented = state.sCount[nextLine] < state.blkIndent;
62
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
63
+ max = state.eMarks[nextLine];
64
+ if (pos >= max) {
65
+ break;
66
+ }
67
+ if (state.src.charCodeAt(pos++) === 62 && !isOutdented) {
68
+ initial = offset = state.sCount[nextLine] + 1;
69
+ if (state.src.charCodeAt(pos) === 32) {
70
+ pos++;
71
+ initial++;
72
+ offset++;
73
+ adjustTab = false;
74
+ spaceAfterMarker = true;
75
+ } else if (state.src.charCodeAt(pos) === 9) {
76
+ spaceAfterMarker = true;
77
+ if ((state.bsCount[nextLine] + offset) % 4 === 3) {
78
+ pos++;
79
+ initial++;
80
+ offset++;
81
+ adjustTab = false;
82
+ } else {
83
+ adjustTab = true;
84
+ }
85
+ } else {
86
+ spaceAfterMarker = false;
87
+ }
88
+ oldBMarks.push(state.bMarks[nextLine]);
89
+ state.bMarks[nextLine] = pos;
90
+ while (pos < max) {
91
+ ch = state.src.charCodeAt(pos);
92
+ if (isSpace(ch)) {
93
+ if (ch === 9) {
94
+ offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4;
95
+ } else {
96
+ offset++;
97
+ }
98
+ } else {
99
+ break;
100
+ }
101
+ pos++;
102
+ }
103
+ lastLineEmpty = pos >= max;
104
+ oldBSCount.push(state.bsCount[nextLine]);
105
+ state.bsCount[nextLine] = state.sCount[nextLine] + 1 + (spaceAfterMarker ? 1 : 0);
106
+ oldSCount.push(state.sCount[nextLine]);
107
+ state.sCount[nextLine] = offset - initial;
108
+ oldTShift.push(state.tShift[nextLine]);
109
+ state.tShift[nextLine] = pos - state.bMarks[nextLine];
20
110
  continue;
21
111
  }
22
- if (x)
112
+ if (lastLineEmpty) {
23
113
  break;
24
- for (S = !1, f = 0, q = m.length; f < q; f++)
25
- if (m[f](o, u, A, !0)) {
26
- S = !0;
114
+ }
115
+ terminate = false;
116
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
117
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
118
+ terminate = true;
27
119
  break;
28
120
  }
29
- if (S) {
30
- o.lineMax = u, o.blkIndent !== 0 && (i.push(o.bMarks[u]), d.push(o.bsCount[u]), p.push(o.tShift[u]), e.push(o.sCount[u]), o.sCount[u] -= o.blkIndent);
121
+ }
122
+ if (terminate) {
123
+ state.lineMax = nextLine;
124
+ if (state.blkIndent !== 0) {
125
+ oldBMarks.push(state.bMarks[nextLine]);
126
+ oldBSCount.push(state.bsCount[nextLine]);
127
+ oldTShift.push(state.tShift[nextLine]);
128
+ oldSCount.push(state.sCount[nextLine]);
129
+ state.sCount[nextLine] -= state.blkIndent;
130
+ }
31
131
  break;
32
132
  }
33
- i.push(o.bMarks[u]), d.push(o.bsCount[u]), p.push(o.tShift[u]), e.push(o.sCount[u]), o.sCount[u] = -1;
133
+ oldBMarks.push(state.bMarks[nextLine]);
134
+ oldBSCount.push(state.bsCount[nextLine]);
135
+ oldTShift.push(state.tShift[nextLine]);
136
+ oldSCount.push(state.sCount[nextLine]);
137
+ state.sCount[nextLine] = -1;
138
+ }
139
+ oldIndent = state.blkIndent;
140
+ state.blkIndent = 0;
141
+ token = state.push("blockquote_open", "blockquote", 1);
142
+ token.markup = ">";
143
+ token.map = lines = [startLine, 0];
144
+ state.md.block.tokenize(state, startLine, nextLine);
145
+ token = state.push("blockquote_close", "blockquote", -1);
146
+ token.markup = ">";
147
+ state.lineMax = oldLineMax;
148
+ state.parentType = oldParentType;
149
+ lines[1] = state.line;
150
+ for (i = 0; i < oldTShift.length; i++) {
151
+ state.bMarks[i + startLine] = oldBMarks[i];
152
+ state.tShift[i + startLine] = oldTShift[i];
153
+ state.sCount[i + startLine] = oldSCount[i];
154
+ state.bsCount[i + startLine] = oldBSCount[i];
34
155
  }
35
- for (T = o.blkIndent, o.blkIndent = 0, M = o.push("blockquote_open", "blockquote", 1), M.markup = ">", M.map = I = [l, 0], o.md.block.tokenize(o, l, u), M = o.push("blockquote_close", "blockquote", -1), M.markup = ">", o.lineMax = E, o.parentType = y, I[1] = o.line, f = 0; f < p.length; f++)
36
- o.bMarks[f + l] = i[f], o.tShift[f + l] = p[f], o.sCount[f + l] = e[f], o.bsCount[f + l] = d[f];
37
- return o.blkIndent = T, !0;
156
+ state.blkIndent = oldIndent;
157
+ return true;
38
158
  };
39
159
  export {
40
- z as default
160
+ blockquote as default
41
161
  };
@@ -1,21 +1,27 @@
1
- var d = function(n, o, c) {
2
- var e, l, u;
3
- if (n.sCount[o] - n.blkIndent < 4)
4
- return !1;
5
- for (l = e = o + 1; e < c; ) {
6
- if (n.isEmpty(e)) {
7
- e++;
1
+ var code = function code2(state, startLine, endLine) {
2
+ var nextLine, last, token;
3
+ if (state.sCount[startLine] - state.blkIndent < 4) {
4
+ return false;
5
+ }
6
+ last = nextLine = startLine + 1;
7
+ while (nextLine < endLine) {
8
+ if (state.isEmpty(nextLine)) {
9
+ nextLine++;
8
10
  continue;
9
11
  }
10
- if (n.sCount[e] - n.blkIndent >= 4) {
11
- e++, l = e;
12
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
13
+ nextLine++;
14
+ last = nextLine;
12
15
  continue;
13
16
  }
14
17
  break;
15
18
  }
16
- return n.line = l, u = n.push("code_block", "code", 0), u.content = n.getLines(o, l, 4 + n.blkIndent, !1) + `
17
- `, u.map = [o, n.line], !0;
19
+ state.line = last;
20
+ token = state.push("code_block", "code", 0);
21
+ token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + "\n";
22
+ token.map = [startLine, state.line];
23
+ return true;
18
24
  };
19
25
  export {
20
- d as default
26
+ code as default
21
27
  };
@@ -1,16 +1,68 @@
1
- var b = function(r, e, C, h) {
2
- var i, u, l, f, o, c, p, d = !1, n = r.bMarks[e] + r.tShift[e], k = r.eMarks[e];
3
- if (r.sCount[e] - r.blkIndent >= 4 || n + 3 > k || (i = r.src.charCodeAt(n), i !== 126 && i !== 96) || (o = n, n = r.skipChars(n, i), u = n - o, u < 3) || (p = r.src.slice(o, n), l = r.src.slice(n, k), i === 96 && l.indexOf(String.fromCharCode(i)) >= 0))
4
- return !1;
5
- if (h)
6
- return !0;
7
- for (f = e; f++, !(f >= C || (n = o = r.bMarks[f] + r.tShift[f], k = r.eMarks[f], n < k && r.sCount[f] < r.blkIndent)); )
8
- if (r.src.charCodeAt(n) === i && !(r.sCount[f] - r.blkIndent >= 4) && (n = r.skipChars(n, i), !(n - o < u) && (n = r.skipSpaces(n), !(n < k)))) {
9
- d = !0;
1
+ var fence = function fence2(state, startLine, endLine, silent) {
2
+ var marker, len, params, nextLine, mem, token, markup, haveEndMarker = false, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
3
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
4
+ return false;
5
+ }
6
+ if (pos + 3 > max) {
7
+ return false;
8
+ }
9
+ marker = state.src.charCodeAt(pos);
10
+ if (marker !== 126 && marker !== 96) {
11
+ return false;
12
+ }
13
+ mem = pos;
14
+ pos = state.skipChars(pos, marker);
15
+ len = pos - mem;
16
+ if (len < 3) {
17
+ return false;
18
+ }
19
+ markup = state.src.slice(mem, pos);
20
+ params = state.src.slice(pos, max);
21
+ if (marker === 96) {
22
+ if (params.indexOf(String.fromCharCode(marker)) >= 0) {
23
+ return false;
24
+ }
25
+ }
26
+ if (silent) {
27
+ return true;
28
+ }
29
+ nextLine = startLine;
30
+ for (; ; ) {
31
+ nextLine++;
32
+ if (nextLine >= endLine) {
33
+ break;
34
+ }
35
+ pos = mem = state.bMarks[nextLine] + state.tShift[nextLine];
36
+ max = state.eMarks[nextLine];
37
+ if (pos < max && state.sCount[nextLine] < state.blkIndent) {
10
38
  break;
11
39
  }
12
- return u = r.sCount[e], r.line = f + (d ? 1 : 0), c = r.push("fence", "code", 0), c.info = l, c.content = r.getLines(e + 1, f, u, !0), c.markup = p, c.map = [e, r.line], !0;
40
+ if (state.src.charCodeAt(pos) !== marker) {
41
+ continue;
42
+ }
43
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
44
+ continue;
45
+ }
46
+ pos = state.skipChars(pos, marker);
47
+ if (pos - mem < len) {
48
+ continue;
49
+ }
50
+ pos = state.skipSpaces(pos);
51
+ if (pos < max) {
52
+ continue;
53
+ }
54
+ haveEndMarker = true;
55
+ break;
56
+ }
57
+ len = state.sCount[startLine];
58
+ state.line = nextLine + (haveEndMarker ? 1 : 0);
59
+ token = state.push("fence", "code", 0);
60
+ token.info = params;
61
+ token.content = state.getLines(startLine + 1, nextLine, len, true);
62
+ token.markup = markup;
63
+ token.map = [startLine, state.line];
64
+ return true;
13
65
  };
14
66
  export {
15
- b as default
67
+ fence as default
16
68
  };
@@ -1,13 +1,44 @@
1
1
  import "../common/utils.js";
2
- import { __exports as d } from "../../../../../../../_virtual/utils.js";
3
- var o = d.isSpace, g = function(r, p, k, u) {
4
- var h, n, l, c, i = r.bMarks[p] + r.tShift[p], e = r.eMarks[p];
5
- if (r.sCount[p] - r.blkIndent >= 4 || (h = r.src.charCodeAt(i), h !== 35 || i >= e))
6
- return !1;
7
- for (n = 1, h = r.src.charCodeAt(++i); h === 35 && i < e && n <= 6; )
8
- n++, h = r.src.charCodeAt(++i);
9
- return n > 6 || i < e && !o(h) ? !1 : (u || (e = r.skipSpacesBack(e, i), l = r.skipCharsBack(e, 35, i), l > i && o(r.src.charCodeAt(l - 1)) && (e = l), r.line = p + 1, c = r.push("heading_open", "h" + String(n), 1), c.markup = "########".slice(0, n), c.map = [p, r.line], c = r.push("inline", "", 0), c.content = r.src.slice(i, e).trim(), c.map = [p, r.line], c.children = [], c = r.push("heading_close", "h" + String(n), -1), c.markup = "########".slice(0, n)), !0);
2
+ import { __exports as utils } from "../../../../../../../_virtual/utils.js";
3
+ var isSpace = utils.isSpace;
4
+ var heading = function heading2(state, startLine, endLine, silent) {
5
+ var ch, level, tmp, token, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
6
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
7
+ return false;
8
+ }
9
+ ch = state.src.charCodeAt(pos);
10
+ if (ch !== 35 || pos >= max) {
11
+ return false;
12
+ }
13
+ level = 1;
14
+ ch = state.src.charCodeAt(++pos);
15
+ while (ch === 35 && pos < max && level <= 6) {
16
+ level++;
17
+ ch = state.src.charCodeAt(++pos);
18
+ }
19
+ if (level > 6 || pos < max && !isSpace(ch)) {
20
+ return false;
21
+ }
22
+ if (silent) {
23
+ return true;
24
+ }
25
+ max = state.skipSpacesBack(max, pos);
26
+ tmp = state.skipCharsBack(max, 35, pos);
27
+ if (tmp > pos && isSpace(state.src.charCodeAt(tmp - 1))) {
28
+ max = tmp;
29
+ }
30
+ state.line = startLine + 1;
31
+ token = state.push("heading_open", "h" + String(level), 1);
32
+ token.markup = "########".slice(0, level);
33
+ token.map = [startLine, state.line];
34
+ token = state.push("inline", "", 0);
35
+ token.content = state.src.slice(pos, max).trim();
36
+ token.map = [startLine, state.line];
37
+ token.children = [];
38
+ token = state.push("heading_close", "h" + String(level), -1);
39
+ token.markup = "########".slice(0, level);
40
+ return true;
10
41
  };
11
42
  export {
12
- g as default
43
+ heading as default
13
44
  };
@@ -1,16 +1,37 @@
1
1
  import "../common/utils.js";
2
- import { __exports as p } from "../../../../../../../_virtual/utils.js";
3
- var c = p.isSpace, x = function(r, f, m, h) {
4
- var e, i, n, o, u = r.bMarks[f] + r.tShift[f], l = r.eMarks[f];
5
- if (r.sCount[f] - r.blkIndent >= 4 || (e = r.src.charCodeAt(u++), e !== 42 && e !== 45 && e !== 95))
6
- return !1;
7
- for (i = 1; u < l; ) {
8
- if (n = r.src.charCodeAt(u++), n !== e && !c(n))
9
- return !1;
10
- n === e && i++;
2
+ import { __exports as utils } from "../../../../../../../_virtual/utils.js";
3
+ var isSpace = utils.isSpace;
4
+ var hr = function hr2(state, startLine, endLine, silent) {
5
+ var marker, cnt, ch, token, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
6
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
7
+ return false;
11
8
  }
12
- return i < 3 ? !1 : (h || (r.line = f + 1, o = r.push("hr", "hr", 0), o.map = [f, r.line], o.markup = Array(i + 1).join(String.fromCharCode(e))), !0);
9
+ marker = state.src.charCodeAt(pos++);
10
+ if (marker !== 42 && marker !== 45 && marker !== 95) {
11
+ return false;
12
+ }
13
+ cnt = 1;
14
+ while (pos < max) {
15
+ ch = state.src.charCodeAt(pos++);
16
+ if (ch !== marker && !isSpace(ch)) {
17
+ return false;
18
+ }
19
+ if (ch === marker) {
20
+ cnt++;
21
+ }
22
+ }
23
+ if (cnt < 3) {
24
+ return false;
25
+ }
26
+ if (silent) {
27
+ return true;
28
+ }
29
+ state.line = startLine + 1;
30
+ token = state.push("hr", "hr", 0);
31
+ token.map = [startLine, state.line];
32
+ token.markup = Array(cnt + 1).join(String.fromCharCode(marker));
33
+ return true;
13
34
  };
14
35
  export {
15
- x as default
36
+ hr as default
16
37
  };
@@ -1,33 +1,63 @@
1
- import m from "../common/html_blocks.js";
1
+ import html_blocks from "../common/html_blocks.js";
2
2
  import "../common/html_re.js";
3
- import { __exports as p } from "../../../../../../../_virtual/html_re.js";
4
- var t = m, b = p.HTML_OPEN_CLOSE_TAG_RE, i = [
5
- [/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
6
- [/^<!--/, /-->/, !0],
7
- [/^<\?/, /\?>/, !0],
8
- [/^<![A-Z]/, />/, !0],
9
- [/^<!\[CDATA\[/, /\]\]>/, !0],
10
- [new RegExp("^</?(" + t.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
11
- [new RegExp(b.source + "\\s*$"), /^$/, !1]
12
- ], C = function(r, n, c, k) {
13
- var l, e, u, o, f = r.bMarks[n] + r.tShift[n], _ = r.eMarks[n];
14
- if (r.sCount[n] - r.blkIndent >= 4 || !r.md.options.html || r.src.charCodeAt(f) !== 60)
15
- return !1;
16
- for (o = r.src.slice(f, _), l = 0; l < i.length && !i[l][0].test(o); l++)
17
- ;
18
- if (l === i.length)
19
- return !1;
20
- if (k)
21
- return i[l][2];
22
- if (e = n + 1, !i[l][1].test(o)) {
23
- for (; e < c && !(r.sCount[e] < r.blkIndent); e++)
24
- if (f = r.bMarks[e] + r.tShift[e], _ = r.eMarks[e], o = r.src.slice(f, _), i[l][1].test(o)) {
25
- o.length !== 0 && e++;
3
+ import { __exports as html_re } from "../../../../../../../_virtual/html_re.js";
4
+ var block_names = html_blocks;
5
+ var HTML_OPEN_CLOSE_TAG_RE = html_re.HTML_OPEN_CLOSE_TAG_RE;
6
+ var HTML_SEQUENCES = [
7
+ [/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, true],
8
+ [/^<!--/, /-->/, true],
9
+ [/^<\?/, /\?>/, true],
10
+ [/^<![A-Z]/, />/, true],
11
+ [/^<!\[CDATA\[/, /\]\]>/, true],
12
+ [new RegExp("^</?(" + block_names.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, true],
13
+ [new RegExp(HTML_OPEN_CLOSE_TAG_RE.source + "\\s*$"), /^$/, false]
14
+ ];
15
+ var html_block = function html_block2(state, startLine, endLine, silent) {
16
+ var i, nextLine, token, lineText, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
17
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
18
+ return false;
19
+ }
20
+ if (!state.md.options.html) {
21
+ return false;
22
+ }
23
+ if (state.src.charCodeAt(pos) !== 60) {
24
+ return false;
25
+ }
26
+ lineText = state.src.slice(pos, max);
27
+ for (i = 0; i < HTML_SEQUENCES.length; i++) {
28
+ if (HTML_SEQUENCES[i][0].test(lineText)) {
29
+ break;
30
+ }
31
+ }
32
+ if (i === HTML_SEQUENCES.length) {
33
+ return false;
34
+ }
35
+ if (silent) {
36
+ return HTML_SEQUENCES[i][2];
37
+ }
38
+ nextLine = startLine + 1;
39
+ if (!HTML_SEQUENCES[i][1].test(lineText)) {
40
+ for (; nextLine < endLine; nextLine++) {
41
+ if (state.sCount[nextLine] < state.blkIndent) {
42
+ break;
43
+ }
44
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
45
+ max = state.eMarks[nextLine];
46
+ lineText = state.src.slice(pos, max);
47
+ if (HTML_SEQUENCES[i][1].test(lineText)) {
48
+ if (lineText.length !== 0) {
49
+ nextLine++;
50
+ }
26
51
  break;
27
52
  }
53
+ }
28
54
  }
29
- return r.line = e, u = r.push("html_block", "", 0), u.map = [n, e], u.content = r.getLines(n, e, r.blkIndent, !0), !0;
55
+ state.line = nextLine;
56
+ token = state.push("html_block", "", 0);
57
+ token.map = [startLine, nextLine];
58
+ token.content = state.getLines(startLine, nextLine, state.blkIndent, true);
59
+ return true;
30
60
  };
31
61
  export {
32
- C as default
62
+ html_block as default
33
63
  };
@@ -1,25 +1,60 @@
1
- var C = function(n, p, k) {
2
- var d, f, o, g, i, e, h, u, l, r = p + 1, m, c = n.md.block.ruler.getRules("paragraph");
3
- if (n.sCount[p] - n.blkIndent >= 4)
4
- return !1;
5
- for (m = n.parentType, n.parentType = "paragraph"; r < k && !n.isEmpty(r); r++)
6
- if (!(n.sCount[r] - n.blkIndent > 3)) {
7
- if (n.sCount[r] >= n.blkIndent && (e = n.bMarks[r] + n.tShift[r], h = n.eMarks[r], e < h && (l = n.src.charCodeAt(e), (l === 45 || l === 61) && (e = n.skipChars(e, l), e = n.skipSpaces(e), e >= h)))) {
8
- u = l === 61 ? 1 : 2;
9
- break;
10
- }
11
- if (!(n.sCount[r] < 0)) {
12
- for (f = !1, o = 0, g = c.length; o < g; o++)
13
- if (c[o](n, r, k, !0)) {
14
- f = !0;
1
+ var lheading = function lheading2(state, startLine, endLine) {
2
+ var content, terminate, i, l, token, pos, max, level, marker, nextLine = startLine + 1, oldParentType, terminatorRules = state.md.block.ruler.getRules("paragraph");
3
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
4
+ return false;
5
+ }
6
+ oldParentType = state.parentType;
7
+ state.parentType = "paragraph";
8
+ for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {
9
+ if (state.sCount[nextLine] - state.blkIndent > 3) {
10
+ continue;
11
+ }
12
+ if (state.sCount[nextLine] >= state.blkIndent) {
13
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
14
+ max = state.eMarks[nextLine];
15
+ if (pos < max) {
16
+ marker = state.src.charCodeAt(pos);
17
+ if (marker === 45 || marker === 61) {
18
+ pos = state.skipChars(pos, marker);
19
+ pos = state.skipSpaces(pos);
20
+ if (pos >= max) {
21
+ level = marker === 61 ? 1 : 2;
15
22
  break;
16
23
  }
17
- if (f)
18
- break;
24
+ }
25
+ }
26
+ }
27
+ if (state.sCount[nextLine] < 0) {
28
+ continue;
29
+ }
30
+ terminate = false;
31
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
32
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
33
+ terminate = true;
34
+ break;
19
35
  }
20
36
  }
21
- return u ? (d = n.getLines(p, r, n.blkIndent, !1).trim(), n.line = r + 1, i = n.push("heading_open", "h" + String(u), 1), i.markup = String.fromCharCode(l), i.map = [p, n.line], i = n.push("inline", "", 0), i.content = d, i.map = [p, n.line - 1], i.children = [], i = n.push("heading_close", "h" + String(u), -1), i.markup = String.fromCharCode(l), n.parentType = m, !0) : !1;
37
+ if (terminate) {
38
+ break;
39
+ }
40
+ }
41
+ if (!level) {
42
+ return false;
43
+ }
44
+ content = state.getLines(startLine, nextLine, state.blkIndent, false).trim();
45
+ state.line = nextLine + 1;
46
+ token = state.push("heading_open", "h" + String(level), 1);
47
+ token.markup = String.fromCharCode(marker);
48
+ token.map = [startLine, state.line];
49
+ token = state.push("inline", "", 0);
50
+ token.content = content;
51
+ token.map = [startLine, state.line - 1];
52
+ token.children = [];
53
+ token = state.push("heading_close", "h" + String(level), -1);
54
+ token.markup = String.fromCharCode(marker);
55
+ state.parentType = oldParentType;
56
+ return true;
22
57
  };
23
58
  export {
24
- C as default
59
+ lheading as default
25
60
  };