@fangzhongya/vue-archive 0.0.2-7 → 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 (492) 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 +24 -24
  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 -75
  155. package/dist/es/packages/components/aside/index.vue2.js +2 -2
  156. package/dist/es/packages/components/boxurl/index.vue.js +55 -31
  157. package/dist/es/packages/components/boxurl/index.vue2.js +2 -2
  158. package/dist/es/packages/components/choice/choice.vue.js +43 -33
  159. package/dist/es/packages/components/choice/choice.vue2.js +2 -2
  160. package/dist/es/packages/components/choice/index.vue.js +69 -45
  161. package/dist/es/packages/components/choice/index.vue2.js +2 -2
  162. package/dist/es/packages/components/code/highlight.vue.js +11 -11
  163. package/dist/es/packages/components/code/highlight.vue2.js +4 -4
  164. package/dist/es/packages/components/code/index.vue.js +91 -70
  165. package/dist/es/packages/components/code/index.vue2.js +2 -2
  166. package/dist/es/packages/components/compo/ftable.vue.js +46 -30
  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 -119
  170. package/dist/es/packages/components/compo/index.vue2.js +2 -2
  171. package/dist/es/packages/components/compo/info.vue.js +43 -30
  172. package/dist/es/packages/components/compo/info.vue2.js +2 -2
  173. package/dist/es/packages/components/compo/top.js +114 -84
  174. package/dist/es/packages/components/header/index.vue.js +7 -7
  175. package/dist/es/packages/components/main/index.vue.js +59 -43
  176. package/dist/es/packages/components/main/index.vue2.js +2 -2
  177. package/dist/es/packages/components/md/index.vue.js +53 -42
  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 -68
  181. package/dist/es/packages/components/test/index.vue2.js +2 -2
  182. package/dist/es/packages/components/test/top.js +128 -98
  183. package/dist/es/packages/components/use/index.js +109 -82
  184. package/dist/es/packages/components/use/retrie/any/index.vue.js +82 -61
  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 -37
  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 -40
  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 -92
  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 -44
  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 -93
  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 -45
  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 -43
  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 -30
  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 -37
  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 -35
  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 -75
  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 -30
  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 -24
  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 -100
  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 -32
  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 -28
  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 -64
  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 -31
  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 -9
  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 -16
  232. package/dist/es/packages/page/develop/index.vue.js +2 -2
  233. package/dist/es/packages/page/develop/index.vue2.js +19 -16
  234. package/dist/es/packages/page/index/index.vue.js +2 -2
  235. package/dist/es/packages/page/index/index.vue2.js +50 -36
  236. package/dist/es/packages/page/single/index.vue.js +2 -2
  237. package/dist/es/packages/page/single/index.vue2.js +75 -57
  238. package/dist/es/packages/page/tests/index.vue.js +2 -2
  239. package/dist/es/packages/page/tests/index.vue2.js +74 -46
  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
@@ -1 +1,143 @@
1
- "use strict";function i(){this.__rules__=[],this.__cache__=null}i.prototype.__find__=function(_){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===_)return t;return-1};i.prototype.__compile__=function(){var _=this,t=[""];_.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(r){t.indexOf(r)<0&&t.push(r)})}),_.__cache__={},t.forEach(function(e){_.__cache__[e]=[],_.__rules__.forEach(function(r){r.enabled&&(e&&r.alt.indexOf(e)<0||_.__cache__[e].push(r.fn))})})};i.prototype.at=function(_,t,e){var r=this.__find__(_),n=e||{};if(r===-1)throw new Error("Parser rule not found: "+_);this.__rules__[r].fn=t,this.__rules__[r].alt=n.alt||[],this.__cache__=null};i.prototype.before=function(_,t,e,r){var n=this.__find__(_),u=r||{};if(n===-1)throw new Error("Parser rule not found: "+_);this.__rules__.splice(n,0,{name:t,enabled:!0,fn:e,alt:u.alt||[]}),this.__cache__=null};i.prototype.after=function(_,t,e,r){var n=this.__find__(_),u=r||{};if(n===-1)throw new Error("Parser rule not found: "+_);this.__rules__.splice(n+1,0,{name:t,enabled:!0,fn:e,alt:u.alt||[]}),this.__cache__=null};i.prototype.push=function(_,t,e){var r=e||{};this.__rules__.push({name:_,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null};i.prototype.enable=function(_,t){Array.isArray(_)||(_=[_]);var e=[];return _.forEach(function(r){var n=this.__find__(r);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[n].enabled=!0,e.push(r)},this),this.__cache__=null,e};i.prototype.enableOnly=function(_,t){Array.isArray(_)||(_=[_]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(_,t)};i.prototype.disable=function(_,t){Array.isArray(_)||(_=[_]);var e=[];return _.forEach(function(r){var n=this.__find__(r);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[n].enabled=!1,e.push(r)},this),this.__cache__=null,e};i.prototype.getRules=function(_){return this.__cache__===null&&this.__compile__(),this.__cache__[_]||[]};var a=i;module.exports=a;
1
+ "use strict";
2
+ function Ruler() {
3
+ this.__rules__ = [];
4
+ this.__cache__ = null;
5
+ }
6
+ Ruler.prototype.__find__ = function(name) {
7
+ for (var i = 0; i < this.__rules__.length; i++) {
8
+ if (this.__rules__[i].name === name) {
9
+ return i;
10
+ }
11
+ }
12
+ return -1;
13
+ };
14
+ Ruler.prototype.__compile__ = function() {
15
+ var self = this;
16
+ var chains = [""];
17
+ self.__rules__.forEach(function(rule) {
18
+ if (!rule.enabled) {
19
+ return;
20
+ }
21
+ rule.alt.forEach(function(altName) {
22
+ if (chains.indexOf(altName) < 0) {
23
+ chains.push(altName);
24
+ }
25
+ });
26
+ });
27
+ self.__cache__ = {};
28
+ chains.forEach(function(chain) {
29
+ self.__cache__[chain] = [];
30
+ self.__rules__.forEach(function(rule) {
31
+ if (!rule.enabled) {
32
+ return;
33
+ }
34
+ if (chain && rule.alt.indexOf(chain) < 0) {
35
+ return;
36
+ }
37
+ self.__cache__[chain].push(rule.fn);
38
+ });
39
+ });
40
+ };
41
+ Ruler.prototype.at = function(name, fn, options) {
42
+ var index = this.__find__(name);
43
+ var opt = options || {};
44
+ if (index === -1) {
45
+ throw new Error("Parser rule not found: " + name);
46
+ }
47
+ this.__rules__[index].fn = fn;
48
+ this.__rules__[index].alt = opt.alt || [];
49
+ this.__cache__ = null;
50
+ };
51
+ Ruler.prototype.before = function(beforeName, ruleName, fn, options) {
52
+ var index = this.__find__(beforeName);
53
+ var opt = options || {};
54
+ if (index === -1) {
55
+ throw new Error("Parser rule not found: " + beforeName);
56
+ }
57
+ this.__rules__.splice(index, 0, {
58
+ name: ruleName,
59
+ enabled: true,
60
+ fn,
61
+ alt: opt.alt || []
62
+ });
63
+ this.__cache__ = null;
64
+ };
65
+ Ruler.prototype.after = function(afterName, ruleName, fn, options) {
66
+ var index = this.__find__(afterName);
67
+ var opt = options || {};
68
+ if (index === -1) {
69
+ throw new Error("Parser rule not found: " + afterName);
70
+ }
71
+ this.__rules__.splice(index + 1, 0, {
72
+ name: ruleName,
73
+ enabled: true,
74
+ fn,
75
+ alt: opt.alt || []
76
+ });
77
+ this.__cache__ = null;
78
+ };
79
+ Ruler.prototype.push = function(ruleName, fn, options) {
80
+ var opt = options || {};
81
+ this.__rules__.push({
82
+ name: ruleName,
83
+ enabled: true,
84
+ fn,
85
+ alt: opt.alt || []
86
+ });
87
+ this.__cache__ = null;
88
+ };
89
+ Ruler.prototype.enable = function(list, ignoreInvalid) {
90
+ if (!Array.isArray(list)) {
91
+ list = [list];
92
+ }
93
+ var result = [];
94
+ list.forEach(function(name) {
95
+ var idx = this.__find__(name);
96
+ if (idx < 0) {
97
+ if (ignoreInvalid) {
98
+ return;
99
+ }
100
+ throw new Error("Rules manager: invalid rule name " + name);
101
+ }
102
+ this.__rules__[idx].enabled = true;
103
+ result.push(name);
104
+ }, this);
105
+ this.__cache__ = null;
106
+ return result;
107
+ };
108
+ Ruler.prototype.enableOnly = function(list, ignoreInvalid) {
109
+ if (!Array.isArray(list)) {
110
+ list = [list];
111
+ }
112
+ this.__rules__.forEach(function(rule) {
113
+ rule.enabled = false;
114
+ });
115
+ this.enable(list, ignoreInvalid);
116
+ };
117
+ Ruler.prototype.disable = function(list, ignoreInvalid) {
118
+ if (!Array.isArray(list)) {
119
+ list = [list];
120
+ }
121
+ var result = [];
122
+ list.forEach(function(name) {
123
+ var idx = this.__find__(name);
124
+ if (idx < 0) {
125
+ if (ignoreInvalid) {
126
+ return;
127
+ }
128
+ throw new Error("Rules manager: invalid rule name " + name);
129
+ }
130
+ this.__rules__[idx].enabled = false;
131
+ result.push(name);
132
+ }, this);
133
+ this.__cache__ = null;
134
+ return result;
135
+ };
136
+ Ruler.prototype.getRules = function(chainName) {
137
+ if (this.__cache__ === null) {
138
+ this.__compile__();
139
+ }
140
+ return this.__cache__[chainName] || [];
141
+ };
142
+ var ruler = Ruler;
143
+ module.exports = ruler;
@@ -1 +1,160 @@
1
- "use strict";require("../common/utils.js");const w=require("../../../../../../../_virtual/utils.js");var g=w.__exports.isSpace,B=function(u,l,m,v){var f,C,b,k,A,x,I,o,n,i,d,T,y,e,c,h,S,q,M,_,E=u.lineMax,r=u.bMarks[l]+u.tShift[l],p=u.eMarks[l];if(u.sCount[l]-u.blkIndent>=4||u.src.charCodeAt(r++)!==62)return!1;if(v)return!0;for(k=n=u.sCount[l]+1,u.src.charCodeAt(r)===32?(r++,k++,n++,f=!1,h=!0):u.src.charCodeAt(r)===9?(h=!0,(u.bsCount[l]+n)%4===3?(r++,k++,n++,f=!1):f=!0):h=!1,i=[u.bMarks[l]],u.bMarks[l]=r;r<p&&(C=u.src.charCodeAt(r),g(C));){C===9?n+=4-(n+u.bsCount[l]+(f?1:0))%4:n++;r++}for(d=[u.bsCount[l]],u.bsCount[l]=u.sCount[l]+1+(h?1:0),x=r>=p,e=[u.sCount[l]],u.sCount[l]=n-k,c=[u.tShift[l]],u.tShift[l]=r-u.bMarks[l],q=u.md.block.ruler.getRules("blockquote"),y=u.parentType,u.parentType="blockquote",o=l+1;o<m&&(_=u.sCount[o]<u.blkIndent,r=u.bMarks[o]+u.tShift[o],p=u.eMarks[o],!(r>=p));o++){if(u.src.charCodeAt(r++)===62&&!_){for(k=n=u.sCount[o]+1,u.src.charCodeAt(r)===32?(r++,k++,n++,f=!1,h=!0):u.src.charCodeAt(r)===9?(h=!0,(u.bsCount[o]+n)%4===3?(r++,k++,n++,f=!1):f=!0):h=!1,i.push(u.bMarks[o]),u.bMarks[o]=r;r<p&&(C=u.src.charCodeAt(r),g(C));){C===9?n+=4-(n+u.bsCount[o]+(f?1:0))%4:n++;r++}x=r>=p,d.push(u.bsCount[o]),u.bsCount[o]=u.sCount[o]+1+(h?1:0),e.push(u.sCount[o]),u.sCount[o]=n-k,c.push(u.tShift[o]),u.tShift[o]=r-u.bMarks[o];continue}if(x)break;for(S=!1,b=0,A=q.length;b<A;b++)if(q[b](u,o,m,!0)){S=!0;break}if(S){u.lineMax=o,u.blkIndent!==0&&(i.push(u.bMarks[o]),d.push(u.bsCount[o]),c.push(u.tShift[o]),e.push(u.sCount[o]),u.sCount[o]-=u.blkIndent);break}i.push(u.bMarks[o]),d.push(u.bsCount[o]),c.push(u.tShift[o]),e.push(u.sCount[o]),u.sCount[o]=-1}for(T=u.blkIndent,u.blkIndent=0,M=u.push("blockquote_open","blockquote",1),M.markup=">",M.map=I=[l,0],u.md.block.tokenize(u,l,o),M=u.push("blockquote_close","blockquote",-1),M.markup=">",u.lineMax=E,u.parentType=y,I[1]=u.line,b=0;b<c.length;b++)u.bMarks[b+l]=i[b],u.tShift[b+l]=c[b],u.sCount[b+l]=e[b],u.bsCount[b+l]=d[b];return u.blkIndent=T,!0};module.exports=B;
1
+ "use strict";
2
+ require("../common/utils.js");
3
+ const utils = require("../../../../../../../_virtual/utils.js");
4
+ var isSpace = utils.__exports.isSpace;
5
+ var blockquote = function blockquote2(state, startLine, endLine, silent) {
6
+ 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];
7
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
8
+ return false;
9
+ }
10
+ if (state.src.charCodeAt(pos++) !== 62) {
11
+ return false;
12
+ }
13
+ if (silent) {
14
+ return true;
15
+ }
16
+ initial = offset = state.sCount[startLine] + 1;
17
+ if (state.src.charCodeAt(pos) === 32) {
18
+ pos++;
19
+ initial++;
20
+ offset++;
21
+ adjustTab = false;
22
+ spaceAfterMarker = true;
23
+ } else if (state.src.charCodeAt(pos) === 9) {
24
+ spaceAfterMarker = true;
25
+ if ((state.bsCount[startLine] + offset) % 4 === 3) {
26
+ pos++;
27
+ initial++;
28
+ offset++;
29
+ adjustTab = false;
30
+ } else {
31
+ adjustTab = true;
32
+ }
33
+ } else {
34
+ spaceAfterMarker = false;
35
+ }
36
+ oldBMarks = [state.bMarks[startLine]];
37
+ state.bMarks[startLine] = pos;
38
+ while (pos < max) {
39
+ ch = state.src.charCodeAt(pos);
40
+ if (isSpace(ch)) {
41
+ if (ch === 9) {
42
+ offset += 4 - (offset + state.bsCount[startLine] + (adjustTab ? 1 : 0)) % 4;
43
+ } else {
44
+ offset++;
45
+ }
46
+ } else {
47
+ break;
48
+ }
49
+ pos++;
50
+ }
51
+ oldBSCount = [state.bsCount[startLine]];
52
+ state.bsCount[startLine] = state.sCount[startLine] + 1 + (spaceAfterMarker ? 1 : 0);
53
+ lastLineEmpty = pos >= max;
54
+ oldSCount = [state.sCount[startLine]];
55
+ state.sCount[startLine] = offset - initial;
56
+ oldTShift = [state.tShift[startLine]];
57
+ state.tShift[startLine] = pos - state.bMarks[startLine];
58
+ terminatorRules = state.md.block.ruler.getRules("blockquote");
59
+ oldParentType = state.parentType;
60
+ state.parentType = "blockquote";
61
+ for (nextLine = startLine + 1; nextLine < endLine; nextLine++) {
62
+ isOutdented = state.sCount[nextLine] < state.blkIndent;
63
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
64
+ max = state.eMarks[nextLine];
65
+ if (pos >= max) {
66
+ break;
67
+ }
68
+ if (state.src.charCodeAt(pos++) === 62 && !isOutdented) {
69
+ initial = offset = state.sCount[nextLine] + 1;
70
+ if (state.src.charCodeAt(pos) === 32) {
71
+ pos++;
72
+ initial++;
73
+ offset++;
74
+ adjustTab = false;
75
+ spaceAfterMarker = true;
76
+ } else if (state.src.charCodeAt(pos) === 9) {
77
+ spaceAfterMarker = true;
78
+ if ((state.bsCount[nextLine] + offset) % 4 === 3) {
79
+ pos++;
80
+ initial++;
81
+ offset++;
82
+ adjustTab = false;
83
+ } else {
84
+ adjustTab = true;
85
+ }
86
+ } else {
87
+ spaceAfterMarker = false;
88
+ }
89
+ oldBMarks.push(state.bMarks[nextLine]);
90
+ state.bMarks[nextLine] = pos;
91
+ while (pos < max) {
92
+ ch = state.src.charCodeAt(pos);
93
+ if (isSpace(ch)) {
94
+ if (ch === 9) {
95
+ offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4;
96
+ } else {
97
+ offset++;
98
+ }
99
+ } else {
100
+ break;
101
+ }
102
+ pos++;
103
+ }
104
+ lastLineEmpty = pos >= max;
105
+ oldBSCount.push(state.bsCount[nextLine]);
106
+ state.bsCount[nextLine] = state.sCount[nextLine] + 1 + (spaceAfterMarker ? 1 : 0);
107
+ oldSCount.push(state.sCount[nextLine]);
108
+ state.sCount[nextLine] = offset - initial;
109
+ oldTShift.push(state.tShift[nextLine]);
110
+ state.tShift[nextLine] = pos - state.bMarks[nextLine];
111
+ continue;
112
+ }
113
+ if (lastLineEmpty) {
114
+ break;
115
+ }
116
+ terminate = false;
117
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
118
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
119
+ terminate = true;
120
+ break;
121
+ }
122
+ }
123
+ if (terminate) {
124
+ state.lineMax = nextLine;
125
+ if (state.blkIndent !== 0) {
126
+ oldBMarks.push(state.bMarks[nextLine]);
127
+ oldBSCount.push(state.bsCount[nextLine]);
128
+ oldTShift.push(state.tShift[nextLine]);
129
+ oldSCount.push(state.sCount[nextLine]);
130
+ state.sCount[nextLine] -= state.blkIndent;
131
+ }
132
+ break;
133
+ }
134
+ oldBMarks.push(state.bMarks[nextLine]);
135
+ oldBSCount.push(state.bsCount[nextLine]);
136
+ oldTShift.push(state.tShift[nextLine]);
137
+ oldSCount.push(state.sCount[nextLine]);
138
+ state.sCount[nextLine] = -1;
139
+ }
140
+ oldIndent = state.blkIndent;
141
+ state.blkIndent = 0;
142
+ token = state.push("blockquote_open", "blockquote", 1);
143
+ token.markup = ">";
144
+ token.map = lines = [startLine, 0];
145
+ state.md.block.tokenize(state, startLine, nextLine);
146
+ token = state.push("blockquote_close", "blockquote", -1);
147
+ token.markup = ">";
148
+ state.lineMax = oldLineMax;
149
+ state.parentType = oldParentType;
150
+ lines[1] = state.line;
151
+ for (i = 0; i < oldTShift.length; i++) {
152
+ state.bMarks[i + startLine] = oldBMarks[i];
153
+ state.tShift[i + startLine] = oldTShift[i];
154
+ state.sCount[i + startLine] = oldSCount[i];
155
+ state.bsCount[i + startLine] = oldBSCount[i];
156
+ }
157
+ state.blkIndent = oldIndent;
158
+ return true;
159
+ };
160
+ module.exports = blockquote;
@@ -1,2 +1,26 @@
1
- "use strict";var u=function(n,o,l){var e,c,i;if(n.sCount[o]-n.blkIndent<4)return!1;for(c=e=o+1;e<l;){if(n.isEmpty(e)){e++;continue}if(n.sCount[e]-n.blkIndent>=4){e++,c=e;continue}break}return n.line=c,i=n.push("code_block","code",0),i.content=n.getLines(o,c,4+n.blkIndent,!1)+`
2
- `,i.map=[o,n.line],!0};module.exports=u;
1
+ "use strict";
2
+ var code = function code2(state, startLine, endLine) {
3
+ var nextLine, last, token;
4
+ if (state.sCount[startLine] - state.blkIndent < 4) {
5
+ return false;
6
+ }
7
+ last = nextLine = startLine + 1;
8
+ while (nextLine < endLine) {
9
+ if (state.isEmpty(nextLine)) {
10
+ nextLine++;
11
+ continue;
12
+ }
13
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
14
+ nextLine++;
15
+ last = nextLine;
16
+ continue;
17
+ }
18
+ break;
19
+ }
20
+ state.line = last;
21
+ token = state.push("code_block", "code", 0);
22
+ token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + "\n";
23
+ token.map = [startLine, state.line];
24
+ return true;
25
+ };
26
+ module.exports = code;
@@ -1 +1,67 @@
1
- "use strict";var m=function(r,e,d,h){var i,u,l,f,c,o,p,C=!1,n=r.bMarks[e]+r.tShift[e],k=r.eMarks[e];if(r.sCount[e]-r.blkIndent>=4||n+3>k||(i=r.src.charCodeAt(n),i!==126&&i!==96)||(c=n,n=r.skipChars(n,i),u=n-c,u<3)||(p=r.src.slice(c,n),l=r.src.slice(n,k),i===96&&l.indexOf(String.fromCharCode(i))>=0))return!1;if(h)return!0;for(f=e;f++,!(f>=d||(n=c=r.bMarks[f]+r.tShift[f],k=r.eMarks[f],n<k&&r.sCount[f]<r.blkIndent));)if(r.src.charCodeAt(n)===i&&!(r.sCount[f]-r.blkIndent>=4)&&(n=r.skipChars(n,i),!(n-c<u)&&(n=r.skipSpaces(n),!(n<k)))){C=!0;break}return u=r.sCount[e],r.line=f+(C?1:0),o=r.push("fence","code",0),o.info=l,o.content=r.getLines(e+1,f,u,!0),o.markup=p,o.map=[e,r.line],!0};module.exports=m;
1
+ "use strict";
2
+ var fence = function fence2(state, startLine, endLine, silent) {
3
+ var marker, len, params, nextLine, mem, token, markup, haveEndMarker = false, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
4
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
5
+ return false;
6
+ }
7
+ if (pos + 3 > max) {
8
+ return false;
9
+ }
10
+ marker = state.src.charCodeAt(pos);
11
+ if (marker !== 126 && marker !== 96) {
12
+ return false;
13
+ }
14
+ mem = pos;
15
+ pos = state.skipChars(pos, marker);
16
+ len = pos - mem;
17
+ if (len < 3) {
18
+ return false;
19
+ }
20
+ markup = state.src.slice(mem, pos);
21
+ params = state.src.slice(pos, max);
22
+ if (marker === 96) {
23
+ if (params.indexOf(String.fromCharCode(marker)) >= 0) {
24
+ return false;
25
+ }
26
+ }
27
+ if (silent) {
28
+ return true;
29
+ }
30
+ nextLine = startLine;
31
+ for (; ; ) {
32
+ nextLine++;
33
+ if (nextLine >= endLine) {
34
+ break;
35
+ }
36
+ pos = mem = state.bMarks[nextLine] + state.tShift[nextLine];
37
+ max = state.eMarks[nextLine];
38
+ if (pos < max && state.sCount[nextLine] < state.blkIndent) {
39
+ break;
40
+ }
41
+ if (state.src.charCodeAt(pos) !== marker) {
42
+ continue;
43
+ }
44
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
45
+ continue;
46
+ }
47
+ pos = state.skipChars(pos, marker);
48
+ if (pos - mem < len) {
49
+ continue;
50
+ }
51
+ pos = state.skipSpaces(pos);
52
+ if (pos < max) {
53
+ continue;
54
+ }
55
+ haveEndMarker = true;
56
+ break;
57
+ }
58
+ len = state.sCount[startLine];
59
+ state.line = nextLine + (haveEndMarker ? 1 : 0);
60
+ token = state.push("fence", "code", 0);
61
+ token.info = params;
62
+ token.content = state.getLines(startLine + 1, nextLine, len, true);
63
+ token.markup = markup;
64
+ token.map = [startLine, state.line];
65
+ return true;
66
+ };
67
+ module.exports = fence;
@@ -1 +1,43 @@
1
- "use strict";require("../common/utils.js");const d=require("../../../../../../../_virtual/utils.js");var p=d.__exports.isSpace,f=function(r,h,s,o){var u,e,l,c,i=r.bMarks[h]+r.tShift[h],n=r.eMarks[h];if(r.sCount[h]-r.blkIndent>=4||(u=r.src.charCodeAt(i),u!==35||i>=n))return!1;for(e=1,u=r.src.charCodeAt(++i);u===35&&i<n&&e<=6;)e++,u=r.src.charCodeAt(++i);return e>6||i<n&&!p(u)?!1:(o||(n=r.skipSpacesBack(n,i),l=r.skipCharsBack(n,35,i),l>i&&p(r.src.charCodeAt(l-1))&&(n=l),r.line=h+1,c=r.push("heading_open","h"+String(e),1),c.markup="########".slice(0,e),c.map=[h,r.line],c=r.push("inline","",0),c.content=r.src.slice(i,n).trim(),c.map=[h,r.line],c.children=[],c=r.push("heading_close","h"+String(e),-1),c.markup="########".slice(0,e)),!0)};module.exports=f;
1
+ "use strict";
2
+ require("../common/utils.js");
3
+ const utils = require("../../../../../../../_virtual/utils.js");
4
+ var isSpace = utils.__exports.isSpace;
5
+ var heading = function heading2(state, startLine, endLine, silent) {
6
+ var ch, level, tmp, token, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
7
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
8
+ return false;
9
+ }
10
+ ch = state.src.charCodeAt(pos);
11
+ if (ch !== 35 || pos >= max) {
12
+ return false;
13
+ }
14
+ level = 1;
15
+ ch = state.src.charCodeAt(++pos);
16
+ while (ch === 35 && pos < max && level <= 6) {
17
+ level++;
18
+ ch = state.src.charCodeAt(++pos);
19
+ }
20
+ if (level > 6 || pos < max && !isSpace(ch)) {
21
+ return false;
22
+ }
23
+ if (silent) {
24
+ return true;
25
+ }
26
+ max = state.skipSpacesBack(max, pos);
27
+ tmp = state.skipCharsBack(max, 35, pos);
28
+ if (tmp > pos && isSpace(state.src.charCodeAt(tmp - 1))) {
29
+ max = tmp;
30
+ }
31
+ state.line = startLine + 1;
32
+ token = state.push("heading_open", "h" + String(level), 1);
33
+ token.markup = "########".slice(0, level);
34
+ token.map = [startLine, state.line];
35
+ token = state.push("inline", "", 0);
36
+ token.content = state.src.slice(pos, max).trim();
37
+ token.map = [startLine, state.line];
38
+ token.children = [];
39
+ token = state.push("heading_close", "h" + String(level), -1);
40
+ token.markup = "########".slice(0, level);
41
+ return true;
42
+ };
43
+ module.exports = heading;
@@ -1 +1,36 @@
1
- "use strict";require("../common/utils.js");const l=require("../../../../../../../_virtual/utils.js");var p=l.__exports.isSpace,k=function(r,u,a,c){var e,i,n,f,o=r.bMarks[u]+r.tShift[u],h=r.eMarks[u];if(r.sCount[u]-r.blkIndent>=4||(e=r.src.charCodeAt(o++),e!==42&&e!==45&&e!==95))return!1;for(i=1;o<h;){if(n=r.src.charCodeAt(o++),n!==e&&!p(n))return!1;n===e&&i++}return i<3?!1:(c||(r.line=u+1,f=r.push("hr","hr",0),f.map=[u,r.line],f.markup=Array(i+1).join(String.fromCharCode(e))),!0)};module.exports=k;
1
+ "use strict";
2
+ require("../common/utils.js");
3
+ const utils = require("../../../../../../../_virtual/utils.js");
4
+ var isSpace = utils.__exports.isSpace;
5
+ var hr = function hr2(state, startLine, endLine, silent) {
6
+ var marker, cnt, ch, token, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
7
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
8
+ return false;
9
+ }
10
+ marker = state.src.charCodeAt(pos++);
11
+ if (marker !== 42 && marker !== 45 && marker !== 95) {
12
+ return false;
13
+ }
14
+ cnt = 1;
15
+ while (pos < max) {
16
+ ch = state.src.charCodeAt(pos++);
17
+ if (ch !== marker && !isSpace(ch)) {
18
+ return false;
19
+ }
20
+ if (ch === marker) {
21
+ cnt++;
22
+ }
23
+ }
24
+ if (cnt < 3) {
25
+ return false;
26
+ }
27
+ if (silent) {
28
+ return true;
29
+ }
30
+ state.line = startLine + 1;
31
+ token = state.push("hr", "hr", 0);
32
+ token.map = [startLine, state.line];
33
+ token.markup = Array(cnt + 1).join(String.fromCharCode(marker));
34
+ return true;
35
+ };
36
+ module.exports = hr;
@@ -1 +1,62 @@
1
- "use strict";const s=require("../common/html_blocks.js");require("../common/html_re.js");const t=require("../../../../../../../_virtual/html_re.js");var b=s,h=t.__exports.HTML_OPEN_CLOSE_TAG_RE,u=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+b.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(h.source+"\\s*$"),/^$/,!1]],p=function(r,n,_,k){var l,e,f,i,o=r.bMarks[n]+r.tShift[n],c=r.eMarks[n];if(r.sCount[n]-r.blkIndent>=4||!r.md.options.html||r.src.charCodeAt(o)!==60)return!1;for(i=r.src.slice(o,c),l=0;l<u.length&&!u[l][0].test(i);l++);if(l===u.length)return!1;if(k)return u[l][2];if(e=n+1,!u[l][1].test(i)){for(;e<_&&!(r.sCount[e]<r.blkIndent);e++)if(o=r.bMarks[e]+r.tShift[e],c=r.eMarks[e],i=r.src.slice(o,c),u[l][1].test(i)){i.length!==0&&e++;break}}return r.line=e,f=r.push("html_block","",0),f.map=[n,e],f.content=r.getLines(n,e,r.blkIndent,!0),!0};module.exports=p;
1
+ "use strict";
2
+ const html_blocks = require("../common/html_blocks.js");
3
+ require("../common/html_re.js");
4
+ const html_re = require("../../../../../../../_virtual/html_re.js");
5
+ var block_names = html_blocks;
6
+ var HTML_OPEN_CLOSE_TAG_RE = html_re.__exports.HTML_OPEN_CLOSE_TAG_RE;
7
+ var HTML_SEQUENCES = [
8
+ [/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, true],
9
+ [/^<!--/, /-->/, true],
10
+ [/^<\?/, /\?>/, true],
11
+ [/^<![A-Z]/, />/, true],
12
+ [/^<!\[CDATA\[/, /\]\]>/, true],
13
+ [new RegExp("^</?(" + block_names.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, true],
14
+ [new RegExp(HTML_OPEN_CLOSE_TAG_RE.source + "\\s*$"), /^$/, false]
15
+ ];
16
+ var html_block = function html_block2(state, startLine, endLine, silent) {
17
+ var i, nextLine, token, lineText, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
18
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
19
+ return false;
20
+ }
21
+ if (!state.md.options.html) {
22
+ return false;
23
+ }
24
+ if (state.src.charCodeAt(pos) !== 60) {
25
+ return false;
26
+ }
27
+ lineText = state.src.slice(pos, max);
28
+ for (i = 0; i < HTML_SEQUENCES.length; i++) {
29
+ if (HTML_SEQUENCES[i][0].test(lineText)) {
30
+ break;
31
+ }
32
+ }
33
+ if (i === HTML_SEQUENCES.length) {
34
+ return false;
35
+ }
36
+ if (silent) {
37
+ return HTML_SEQUENCES[i][2];
38
+ }
39
+ nextLine = startLine + 1;
40
+ if (!HTML_SEQUENCES[i][1].test(lineText)) {
41
+ for (; nextLine < endLine; nextLine++) {
42
+ if (state.sCount[nextLine] < state.blkIndent) {
43
+ break;
44
+ }
45
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
46
+ max = state.eMarks[nextLine];
47
+ lineText = state.src.slice(pos, max);
48
+ if (HTML_SEQUENCES[i][1].test(lineText)) {
49
+ if (lineText.length !== 0) {
50
+ nextLine++;
51
+ }
52
+ break;
53
+ }
54
+ }
55
+ }
56
+ state.line = nextLine;
57
+ token = state.push("html_block", "", 0);
58
+ token.map = [startLine, nextLine];
59
+ token.content = state.getLines(startLine, nextLine, state.blkIndent, true);
60
+ return true;
61
+ };
62
+ module.exports = html_block;
@@ -1 +1,59 @@
1
- "use strict";var C=function(r,p,k){var d,f,o,g,i,e,h,u,l,n=p+1,m,c=r.md.block.ruler.getRules("paragraph");if(r.sCount[p]-r.blkIndent>=4)return!1;for(m=r.parentType,r.parentType="paragraph";n<k&&!r.isEmpty(n);n++)if(!(r.sCount[n]-r.blkIndent>3)){if(r.sCount[n]>=r.blkIndent&&(e=r.bMarks[n]+r.tShift[n],h=r.eMarks[n],e<h&&(l=r.src.charCodeAt(e),(l===45||l===61)&&(e=r.skipChars(e,l),e=r.skipSpaces(e),e>=h)))){u=l===61?1:2;break}if(!(r.sCount[n]<0)){for(f=!1,o=0,g=c.length;o<g;o++)if(c[o](r,n,k,!0)){f=!0;break}if(f)break}}return u?(d=r.getLines(p,n,r.blkIndent,!1).trim(),r.line=n+1,i=r.push("heading_open","h"+String(u),1),i.markup=String.fromCharCode(l),i.map=[p,r.line],i=r.push("inline","",0),i.content=d,i.map=[p,r.line-1],i.children=[],i=r.push("heading_close","h"+String(u),-1),i.markup=String.fromCharCode(l),r.parentType=m,!0):!1};module.exports=C;
1
+ "use strict";
2
+ var lheading = function lheading2(state, startLine, endLine) {
3
+ var content, terminate, i, l, token, pos, max, level, marker, nextLine = startLine + 1, oldParentType, terminatorRules = state.md.block.ruler.getRules("paragraph");
4
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
5
+ return false;
6
+ }
7
+ oldParentType = state.parentType;
8
+ state.parentType = "paragraph";
9
+ for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {
10
+ if (state.sCount[nextLine] - state.blkIndent > 3) {
11
+ continue;
12
+ }
13
+ if (state.sCount[nextLine] >= state.blkIndent) {
14
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
15
+ max = state.eMarks[nextLine];
16
+ if (pos < max) {
17
+ marker = state.src.charCodeAt(pos);
18
+ if (marker === 45 || marker === 61) {
19
+ pos = state.skipChars(pos, marker);
20
+ pos = state.skipSpaces(pos);
21
+ if (pos >= max) {
22
+ level = marker === 61 ? 1 : 2;
23
+ break;
24
+ }
25
+ }
26
+ }
27
+ }
28
+ if (state.sCount[nextLine] < 0) {
29
+ continue;
30
+ }
31
+ terminate = false;
32
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
33
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
34
+ terminate = true;
35
+ break;
36
+ }
37
+ }
38
+ if (terminate) {
39
+ break;
40
+ }
41
+ }
42
+ if (!level) {
43
+ return false;
44
+ }
45
+ content = state.getLines(startLine, nextLine, state.blkIndent, false).trim();
46
+ state.line = nextLine + 1;
47
+ token = state.push("heading_open", "h" + String(level), 1);
48
+ token.markup = String.fromCharCode(marker);
49
+ token.map = [startLine, state.line];
50
+ token = state.push("inline", "", 0);
51
+ token.content = content;
52
+ token.map = [startLine, state.line - 1];
53
+ token.children = [];
54
+ token = state.push("heading_close", "h" + String(level), -1);
55
+ token.markup = String.fromCharCode(marker);
56
+ state.parentType = oldParentType;
57
+ return true;
58
+ };
59
+ module.exports = lheading;