@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,78 +1,168 @@
1
- import M from "../token.js";
1
+ import token from "../token.js";
2
2
  import "../common/utils.js";
3
- import { __exports as b } from "../../../../../../../_virtual/utils.js";
4
- var C = M, p = b.isSpace;
5
- function l(a, t, s, i) {
6
- var f, u, e, r, h, o, n, k;
7
- for (this.src = a, this.md = t, this.env = s, this.tokens = i, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0, this.result = "", u = this.src, k = !1, e = r = o = n = 0, h = u.length; r < h; r++) {
8
- if (f = u.charCodeAt(r), !k)
9
- if (p(f)) {
10
- o++, f === 9 ? n += 4 - n % 4 : n++;
3
+ import { __exports as utils } from "../../../../../../../_virtual/utils.js";
4
+ var Token = token;
5
+ var isSpace = utils.isSpace;
6
+ function StateBlock(src, md, env, tokens) {
7
+ var ch, s, start, pos, len, indent, offset, indent_found;
8
+ this.src = src;
9
+ this.md = md;
10
+ this.env = env;
11
+ this.tokens = tokens;
12
+ this.bMarks = [];
13
+ this.eMarks = [];
14
+ this.tShift = [];
15
+ this.sCount = [];
16
+ this.bsCount = [];
17
+ this.blkIndent = 0;
18
+ this.line = 0;
19
+ this.lineMax = 0;
20
+ this.tight = false;
21
+ this.ddIndent = -1;
22
+ this.listIndent = -1;
23
+ this.parentType = "root";
24
+ this.level = 0;
25
+ this.result = "";
26
+ s = this.src;
27
+ indent_found = false;
28
+ for (start = pos = indent = offset = 0, len = s.length; pos < len; pos++) {
29
+ ch = s.charCodeAt(pos);
30
+ if (!indent_found) {
31
+ if (isSpace(ch)) {
32
+ indent++;
33
+ if (ch === 9) {
34
+ offset += 4 - offset % 4;
35
+ } else {
36
+ offset++;
37
+ }
11
38
  continue;
12
- } else
13
- k = !0;
14
- (f === 10 || r === h - 1) && (f !== 10 && r++, this.bMarks.push(e), this.eMarks.push(r), this.tShift.push(o), this.sCount.push(n), this.bsCount.push(0), k = !1, o = 0, n = 0, e = r + 1);
39
+ } else {
40
+ indent_found = true;
41
+ }
42
+ }
43
+ if (ch === 10 || pos === len - 1) {
44
+ if (ch !== 10) {
45
+ pos++;
46
+ }
47
+ this.bMarks.push(start);
48
+ this.eMarks.push(pos);
49
+ this.tShift.push(indent);
50
+ this.sCount.push(offset);
51
+ this.bsCount.push(0);
52
+ indent_found = false;
53
+ indent = 0;
54
+ offset = 0;
55
+ start = pos + 1;
56
+ }
15
57
  }
16
- this.bMarks.push(u.length), this.eMarks.push(u.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
58
+ this.bMarks.push(s.length);
59
+ this.eMarks.push(s.length);
60
+ this.tShift.push(0);
61
+ this.sCount.push(0);
62
+ this.bsCount.push(0);
63
+ this.lineMax = this.bMarks.length - 1;
17
64
  }
18
- l.prototype.push = function(a, t, s) {
19
- var i = new C(a, t, s);
20
- return i.block = !0, s < 0 && this.level--, i.level = this.level, s > 0 && this.level++, this.tokens.push(i), i;
65
+ StateBlock.prototype.push = function(type, tag, nesting) {
66
+ var token2 = new Token(type, tag, nesting);
67
+ token2.block = true;
68
+ if (nesting < 0)
69
+ this.level--;
70
+ token2.level = this.level;
71
+ if (nesting > 0)
72
+ this.level++;
73
+ this.tokens.push(token2);
74
+ return token2;
21
75
  };
22
- l.prototype.isEmpty = function(t) {
23
- return this.bMarks[t] + this.tShift[t] >= this.eMarks[t];
76
+ StateBlock.prototype.isEmpty = function isEmpty(line) {
77
+ return this.bMarks[line] + this.tShift[line] >= this.eMarks[line];
24
78
  };
25
- l.prototype.skipEmptyLines = function(t) {
26
- for (var s = this.lineMax; t < s && !(this.bMarks[t] + this.tShift[t] < this.eMarks[t]); t++)
27
- ;
28
- return t;
79
+ StateBlock.prototype.skipEmptyLines = function skipEmptyLines(from) {
80
+ for (var max = this.lineMax; from < max; from++) {
81
+ if (this.bMarks[from] + this.tShift[from] < this.eMarks[from]) {
82
+ break;
83
+ }
84
+ }
85
+ return from;
29
86
  };
30
- l.prototype.skipSpaces = function(t) {
31
- for (var s, i = this.src.length; t < i && (s = this.src.charCodeAt(t), !!p(s)); t++)
32
- ;
33
- return t;
87
+ StateBlock.prototype.skipSpaces = function skipSpaces(pos) {
88
+ var ch;
89
+ for (var max = this.src.length; pos < max; pos++) {
90
+ ch = this.src.charCodeAt(pos);
91
+ if (!isSpace(ch)) {
92
+ break;
93
+ }
94
+ }
95
+ return pos;
34
96
  };
35
- l.prototype.skipSpacesBack = function(t, s) {
36
- if (t <= s)
37
- return t;
38
- for (; t > s; )
39
- if (!p(this.src.charCodeAt(--t)))
40
- return t + 1;
41
- return t;
97
+ StateBlock.prototype.skipSpacesBack = function skipSpacesBack(pos, min) {
98
+ if (pos <= min) {
99
+ return pos;
100
+ }
101
+ while (pos > min) {
102
+ if (!isSpace(this.src.charCodeAt(--pos))) {
103
+ return pos + 1;
104
+ }
105
+ }
106
+ return pos;
42
107
  };
43
- l.prototype.skipChars = function(t, s) {
44
- for (var i = this.src.length; t < i && this.src.charCodeAt(t) === s; t++)
45
- ;
46
- return t;
108
+ StateBlock.prototype.skipChars = function skipChars(pos, code) {
109
+ for (var max = this.src.length; pos < max; pos++) {
110
+ if (this.src.charCodeAt(pos) !== code) {
111
+ break;
112
+ }
113
+ }
114
+ return pos;
47
115
  };
48
- l.prototype.skipCharsBack = function(t, s, i) {
49
- if (t <= i)
50
- return t;
51
- for (; t > i; )
52
- if (s !== this.src.charCodeAt(--t))
53
- return t + 1;
54
- return t;
116
+ StateBlock.prototype.skipCharsBack = function skipCharsBack(pos, code, min) {
117
+ if (pos <= min) {
118
+ return pos;
119
+ }
120
+ while (pos > min) {
121
+ if (code !== this.src.charCodeAt(--pos)) {
122
+ return pos + 1;
123
+ }
124
+ }
125
+ return pos;
55
126
  };
56
- l.prototype.getLines = function(t, s, i, f) {
57
- var u, e, r, h, o, n, k, c = t;
58
- if (t >= s)
127
+ StateBlock.prototype.getLines = function getLines(begin, end, indent, keepLastLF) {
128
+ var i, lineIndent, ch, first, last, queue, lineStart, line = begin;
129
+ if (begin >= end) {
59
130
  return "";
60
- for (n = new Array(s - t), u = 0; c < s; c++, u++) {
61
- for (e = 0, k = h = this.bMarks[c], c + 1 < s || f ? o = this.eMarks[c] + 1 : o = this.eMarks[c]; h < o && e < i; ) {
62
- if (r = this.src.charCodeAt(h), p(r))
63
- r === 9 ? e += 4 - (e + this.bsCount[c]) % 4 : e++;
64
- else if (h - k < this.tShift[c])
65
- e++;
66
- else
131
+ }
132
+ queue = new Array(end - begin);
133
+ for (i = 0; line < end; line++, i++) {
134
+ lineIndent = 0;
135
+ lineStart = first = this.bMarks[line];
136
+ if (line + 1 < end || keepLastLF) {
137
+ last = this.eMarks[line] + 1;
138
+ } else {
139
+ last = this.eMarks[line];
140
+ }
141
+ while (first < last && lineIndent < indent) {
142
+ ch = this.src.charCodeAt(first);
143
+ if (isSpace(ch)) {
144
+ if (ch === 9) {
145
+ lineIndent += 4 - (lineIndent + this.bsCount[line]) % 4;
146
+ } else {
147
+ lineIndent++;
148
+ }
149
+ } else if (first - lineStart < this.tShift[line]) {
150
+ lineIndent++;
151
+ } else {
67
152
  break;
68
- h++;
153
+ }
154
+ first++;
155
+ }
156
+ if (lineIndent > indent) {
157
+ queue[i] = new Array(lineIndent - indent + 1).join(" ") + this.src.slice(first, last);
158
+ } else {
159
+ queue[i] = this.src.slice(first, last);
69
160
  }
70
- e > i ? n[u] = new Array(e - i + 1).join(" ") + this.src.slice(h, o) : n[u] = this.src.slice(h, o);
71
161
  }
72
- return n.join("");
162
+ return queue.join("");
73
163
  };
74
- l.prototype.Token = C;
75
- var d = l;
164
+ StateBlock.prototype.Token = Token;
165
+ var state_block = StateBlock;
76
166
  export {
77
- d as default
167
+ state_block as default
78
168
  };
@@ -1,55 +1,185 @@
1
1
  import "../common/utils.js";
2
- import { __exports as I } from "../../../../../../../_virtual/utils.js";
3
- var C = I.isSpace;
4
- function _(o, e) {
5
- var n = o.bMarks[e] + o.tShift[e], s = o.eMarks[e];
6
- return o.src.slice(n, s);
2
+ import { __exports as utils } from "../../../../../../../_virtual/utils.js";
3
+ var isSpace = utils.isSpace;
4
+ function getLine(state, line) {
5
+ var pos = state.bMarks[line] + state.tShift[line], max = state.eMarks[line];
6
+ return state.src.slice(pos, max);
7
7
  }
8
- function v(o) {
9
- var e = [], n = 0, s = o.length, t, c = !1, i = 0, h = "";
10
- for (t = o.charCodeAt(n); n < s; )
11
- t === 124 && (c ? (h += o.substring(i, n - 1), i = n) : (e.push(h + o.substring(i, n)), h = "", i = n + 1)), c = t === 92, n++, t = o.charCodeAt(n);
12
- return e.push(h + o.substring(i)), e;
8
+ function escapedSplit(str) {
9
+ var result = [], pos = 0, max = str.length, ch, isEscaped = false, lastPos = 0, current = "";
10
+ ch = str.charCodeAt(pos);
11
+ while (pos < max) {
12
+ if (ch === 124) {
13
+ if (!isEscaped) {
14
+ result.push(current + str.substring(lastPos, pos));
15
+ current = "";
16
+ lastPos = pos + 1;
17
+ } else {
18
+ current += str.substring(lastPos, pos - 1);
19
+ lastPos = pos;
20
+ }
21
+ }
22
+ isEscaped = ch === 92;
23
+ pos++;
24
+ ch = str.charCodeAt(pos);
25
+ }
26
+ result.push(current + str.substring(lastPos));
27
+ return result;
13
28
  }
14
- var D = function(e, n, s, t) {
15
- var c, i, h, f, A, u, l, g, r, p, d, y, a, M, m, k, x, b;
16
- if (n + 2 > s || (u = n + 1, e.sCount[u] < e.blkIndent) || e.sCount[u] - e.blkIndent >= 4 || (h = e.bMarks[u] + e.tShift[u], h >= e.eMarks[u]) || (x = e.src.charCodeAt(h++), x !== 124 && x !== 45 && x !== 58) || h >= e.eMarks[u] || (b = e.src.charCodeAt(h++), b !== 124 && b !== 45 && b !== 58 && !C(b)) || x === 45 && C(b))
17
- return !1;
18
- for (; h < e.eMarks[u]; ) {
19
- if (c = e.src.charCodeAt(h), c !== 124 && c !== 45 && c !== 58 && !C(c))
20
- return !1;
21
- h++;
22
- }
23
- for (i = _(e, n + 1), l = i.split("|"), p = [], f = 0; f < l.length; f++) {
24
- if (d = l[f].trim(), !d) {
25
- if (f === 0 || f === l.length - 1)
29
+ var table = function table2(state, startLine, endLine, silent) {
30
+ var ch, lineText, pos, i, l, nextLine, columns, columnCount, token, aligns, t, tableLines, tbodyLines, oldParentType, terminate, terminatorRules, firstCh, secondCh;
31
+ if (startLine + 2 > endLine) {
32
+ return false;
33
+ }
34
+ nextLine = startLine + 1;
35
+ if (state.sCount[nextLine] < state.blkIndent) {
36
+ return false;
37
+ }
38
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
39
+ return false;
40
+ }
41
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
42
+ if (pos >= state.eMarks[nextLine]) {
43
+ return false;
44
+ }
45
+ firstCh = state.src.charCodeAt(pos++);
46
+ if (firstCh !== 124 && firstCh !== 45 && firstCh !== 58) {
47
+ return false;
48
+ }
49
+ if (pos >= state.eMarks[nextLine]) {
50
+ return false;
51
+ }
52
+ secondCh = state.src.charCodeAt(pos++);
53
+ if (secondCh !== 124 && secondCh !== 45 && secondCh !== 58 && !isSpace(secondCh)) {
54
+ return false;
55
+ }
56
+ if (firstCh === 45 && isSpace(secondCh)) {
57
+ return false;
58
+ }
59
+ while (pos < state.eMarks[nextLine]) {
60
+ ch = state.src.charCodeAt(pos);
61
+ if (ch !== 124 && ch !== 45 && ch !== 58 && !isSpace(ch)) {
62
+ return false;
63
+ }
64
+ pos++;
65
+ }
66
+ lineText = getLine(state, startLine + 1);
67
+ columns = lineText.split("|");
68
+ aligns = [];
69
+ for (i = 0; i < columns.length; i++) {
70
+ t = columns[i].trim();
71
+ if (!t) {
72
+ if (i === 0 || i === columns.length - 1) {
26
73
  continue;
27
- return !1;
28
- }
29
- if (!/^:?-+:?$/.test(d))
30
- return !1;
31
- d.charCodeAt(d.length - 1) === 58 ? p.push(d.charCodeAt(0) === 58 ? "center" : "right") : d.charCodeAt(0) === 58 ? p.push("left") : p.push("");
32
- }
33
- if (i = _(e, n).trim(), i.indexOf("|") === -1 || e.sCount[n] - e.blkIndent >= 4 || (l = v(i), l.length && l[0] === "" && l.shift(), l.length && l[l.length - 1] === "" && l.pop(), g = l.length, g === 0 || g !== p.length))
34
- return !1;
35
- if (t)
36
- return !0;
37
- for (M = e.parentType, e.parentType = "table", k = e.md.block.ruler.getRules("blockquote"), r = e.push("table_open", "table", 1), r.map = y = [n, 0], r = e.push("thead_open", "thead", 1), r.map = [n, n + 1], r = e.push("tr_open", "tr", 1), r.map = [n, n + 1], f = 0; f < l.length; f++)
38
- r = e.push("th_open", "th", 1), p[f] && (r.attrs = [["style", "text-align:" + p[f]]]), r = e.push("inline", "", 0), r.content = l[f].trim(), r.children = [], r = e.push("th_close", "th", -1);
39
- for (r = e.push("tr_close", "tr", -1), r = e.push("thead_close", "thead", -1), u = n + 2; u < s && !(e.sCount[u] < e.blkIndent); u++) {
40
- for (m = !1, f = 0, A = k.length; f < A; f++)
41
- if (k[f](e, u, s, !0)) {
42
- m = !0;
74
+ } else {
75
+ return false;
76
+ }
77
+ }
78
+ if (!/^:?-+:?$/.test(t)) {
79
+ return false;
80
+ }
81
+ if (t.charCodeAt(t.length - 1) === 58) {
82
+ aligns.push(t.charCodeAt(0) === 58 ? "center" : "right");
83
+ } else if (t.charCodeAt(0) === 58) {
84
+ aligns.push("left");
85
+ } else {
86
+ aligns.push("");
87
+ }
88
+ }
89
+ lineText = getLine(state, startLine).trim();
90
+ if (lineText.indexOf("|") === -1) {
91
+ return false;
92
+ }
93
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
94
+ return false;
95
+ }
96
+ columns = escapedSplit(lineText);
97
+ if (columns.length && columns[0] === "")
98
+ columns.shift();
99
+ if (columns.length && columns[columns.length - 1] === "")
100
+ columns.pop();
101
+ columnCount = columns.length;
102
+ if (columnCount === 0 || columnCount !== aligns.length) {
103
+ return false;
104
+ }
105
+ if (silent) {
106
+ return true;
107
+ }
108
+ oldParentType = state.parentType;
109
+ state.parentType = "table";
110
+ terminatorRules = state.md.block.ruler.getRules("blockquote");
111
+ token = state.push("table_open", "table", 1);
112
+ token.map = tableLines = [startLine, 0];
113
+ token = state.push("thead_open", "thead", 1);
114
+ token.map = [startLine, startLine + 1];
115
+ token = state.push("tr_open", "tr", 1);
116
+ token.map = [startLine, startLine + 1];
117
+ for (i = 0; i < columns.length; i++) {
118
+ token = state.push("th_open", "th", 1);
119
+ if (aligns[i]) {
120
+ token.attrs = [["style", "text-align:" + aligns[i]]];
121
+ }
122
+ token = state.push("inline", "", 0);
123
+ token.content = columns[i].trim();
124
+ token.children = [];
125
+ token = state.push("th_close", "th", -1);
126
+ }
127
+ token = state.push("tr_close", "tr", -1);
128
+ token = state.push("thead_close", "thead", -1);
129
+ for (nextLine = startLine + 2; nextLine < endLine; nextLine++) {
130
+ if (state.sCount[nextLine] < state.blkIndent) {
131
+ break;
132
+ }
133
+ terminate = false;
134
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
135
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
136
+ terminate = true;
43
137
  break;
44
138
  }
45
- if (m || (i = _(e, u).trim(), !i) || e.sCount[u] - e.blkIndent >= 4)
139
+ }
140
+ if (terminate) {
46
141
  break;
47
- for (l = v(i), l.length && l[0] === "" && l.shift(), l.length && l[l.length - 1] === "" && l.pop(), u === n + 2 && (r = e.push("tbody_open", "tbody", 1), r.map = a = [n + 2, 0]), r = e.push("tr_open", "tr", 1), r.map = [u, u + 1], f = 0; f < g; f++)
48
- r = e.push("td_open", "td", 1), p[f] && (r.attrs = [["style", "text-align:" + p[f]]]), r = e.push("inline", "", 0), r.content = l[f] ? l[f].trim() : "", r.children = [], r = e.push("td_close", "td", -1);
49
- r = e.push("tr_close", "tr", -1);
142
+ }
143
+ lineText = getLine(state, nextLine).trim();
144
+ if (!lineText) {
145
+ break;
146
+ }
147
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
148
+ break;
149
+ }
150
+ columns = escapedSplit(lineText);
151
+ if (columns.length && columns[0] === "")
152
+ columns.shift();
153
+ if (columns.length && columns[columns.length - 1] === "")
154
+ columns.pop();
155
+ if (nextLine === startLine + 2) {
156
+ token = state.push("tbody_open", "tbody", 1);
157
+ token.map = tbodyLines = [startLine + 2, 0];
158
+ }
159
+ token = state.push("tr_open", "tr", 1);
160
+ token.map = [nextLine, nextLine + 1];
161
+ for (i = 0; i < columnCount; i++) {
162
+ token = state.push("td_open", "td", 1);
163
+ if (aligns[i]) {
164
+ token.attrs = [["style", "text-align:" + aligns[i]]];
165
+ }
166
+ token = state.push("inline", "", 0);
167
+ token.content = columns[i] ? columns[i].trim() : "";
168
+ token.children = [];
169
+ token = state.push("td_close", "td", -1);
170
+ }
171
+ token = state.push("tr_close", "tr", -1);
172
+ }
173
+ if (tbodyLines) {
174
+ token = state.push("tbody_close", "tbody", -1);
175
+ tbodyLines[1] = nextLine;
50
176
  }
51
- return a && (r = e.push("tbody_close", "tbody", -1), a[1] = u), r = e.push("table_close", "table", -1), y[1] = u, e.parentType = M, e.line = u, !0;
177
+ token = state.push("table_close", "table", -1);
178
+ tableLines[1] = nextLine;
179
+ state.parentType = oldParentType;
180
+ state.line = nextLine;
181
+ return true;
52
182
  };
53
183
  export {
54
- D as default
184
+ table as default
55
185
  };
@@ -1,7 +1,15 @@
1
- var e = function(n) {
2
- var o;
3
- n.inlineMode ? (o = new n.Token("inline", "", 0), o.content = n.src, o.map = [0, 1], o.children = [], n.tokens.push(o)) : n.md.block.parse(n.src, n.md, n.env, n.tokens);
1
+ var block = function block2(state) {
2
+ var token;
3
+ if (state.inlineMode) {
4
+ token = new state.Token("inline", "", 0);
5
+ token.content = state.src;
6
+ token.map = [0, 1];
7
+ token.children = [];
8
+ state.tokens.push(token);
9
+ } else {
10
+ state.md.block.parse(state.src, state.md, state.env, state.tokens);
11
+ }
4
12
  };
5
13
  export {
6
- e as default
14
+ block as default
7
15
  };
@@ -1,8 +1,12 @@
1
- var d = function(n) {
2
- var l = n.tokens, i, e, o;
3
- for (e = 0, o = l.length; e < o; e++)
4
- i = l[e], i.type === "inline" && n.md.inline.parse(i.content, n.md, n.env, i.children);
1
+ var inline = function inline2(state) {
2
+ var tokens = state.tokens, tok, i, l;
3
+ for (i = 0, l = tokens.length; i < l; i++) {
4
+ tok = tokens[i];
5
+ if (tok.type === "inline") {
6
+ state.md.inline.parse(tok.content, state.md, state.env, tok.children);
7
+ }
8
+ }
5
9
  };
6
10
  export {
7
- d as default
11
+ inline as default
8
12
  };
@@ -1,31 +1,101 @@
1
1
  import "../common/utils.js";
2
- import { __exports as T } from "../../../../../../../_virtual/utils.js";
3
- var L = T.arrayReplaceAt;
4
- function _(h) {
5
- return /^<a[>\s]/i.test(h);
2
+ import { __exports as utils } from "../../../../../../../_virtual/utils.js";
3
+ var arrayReplaceAt = utils.arrayReplaceAt;
4
+ function isLinkOpen(str) {
5
+ return /^<a[>\s]/i.test(str);
6
6
  }
7
- function w(h) {
8
- return /^<\/a\s*>/i.test(h);
7
+ function isLinkClose(str) {
8
+ return /^<\/a\s*>/i.test(str);
9
9
  }
10
- var A = function(n) {
11
- var l, k, y, f, e, t, c, o, s, d, p, m, u, v, x, r, a = n.tokens, i;
12
- if (n.md.options.linkify) {
13
- for (k = 0, y = a.length; k < y; k++)
14
- if (!(a[k].type !== "inline" || !n.md.linkify.pretest(a[k].content)))
15
- for (f = a[k].children, u = 0, l = f.length - 1; l >= 0; l--) {
16
- if (t = f[l], t.type === "link_close") {
17
- for (l--; f[l].level !== t.level && f[l].type !== "link_open"; )
18
- l--;
10
+ var linkify = function linkify2(state) {
11
+ var i, j, l, tokens, token, currentToken, nodes, ln, text, pos, lastPos, level, htmlLinkLevel, url, fullUrl, urlText, blockTokens = state.tokens, links;
12
+ if (!state.md.options.linkify) {
13
+ return;
14
+ }
15
+ for (j = 0, l = blockTokens.length; j < l; j++) {
16
+ if (blockTokens[j].type !== "inline" || !state.md.linkify.pretest(blockTokens[j].content)) {
17
+ continue;
18
+ }
19
+ tokens = blockTokens[j].children;
20
+ htmlLinkLevel = 0;
21
+ for (i = tokens.length - 1; i >= 0; i--) {
22
+ currentToken = tokens[i];
23
+ if (currentToken.type === "link_close") {
24
+ i--;
25
+ while (tokens[i].level !== currentToken.level && tokens[i].type !== "link_open") {
26
+ i--;
27
+ }
28
+ continue;
29
+ }
30
+ if (currentToken.type === "html_inline") {
31
+ if (isLinkOpen(currentToken.content) && htmlLinkLevel > 0) {
32
+ htmlLinkLevel--;
33
+ }
34
+ if (isLinkClose(currentToken.content)) {
35
+ htmlLinkLevel++;
36
+ }
37
+ }
38
+ if (htmlLinkLevel > 0) {
39
+ continue;
40
+ }
41
+ if (currentToken.type === "text" && state.md.linkify.test(currentToken.content)) {
42
+ text = currentToken.content;
43
+ links = state.md.linkify.match(text);
44
+ nodes = [];
45
+ level = currentToken.level;
46
+ lastPos = 0;
47
+ if (links.length > 0 && links[0].index === 0 && i > 0 && tokens[i - 1].type === "text_special") {
48
+ links = links.slice(1);
49
+ }
50
+ for (ln = 0; ln < links.length; ln++) {
51
+ url = links[ln].url;
52
+ fullUrl = state.md.normalizeLink(url);
53
+ if (!state.md.validateLink(fullUrl)) {
19
54
  continue;
20
55
  }
21
- if (t.type === "html_inline" && (_(t.content) && u > 0 && u--, w(t.content) && u++), !(u > 0) && t.type === "text" && n.md.linkify.test(t.content)) {
22
- for (s = t.content, i = n.md.linkify.match(s), c = [], m = t.level, p = 0, i.length > 0 && i[0].index === 0 && l > 0 && f[l - 1].type === "text_special" && (i = i.slice(1)), o = 0; o < i.length; o++)
23
- v = i[o].url, x = n.md.normalizeLink(v), n.md.validateLink(x) && (r = i[o].text, i[o].schema ? i[o].schema === "mailto:" && !/^mailto:/i.test(r) ? r = n.md.normalizeLinkText("mailto:" + r).replace(/^mailto:/, "") : r = n.md.normalizeLinkText(r) : r = n.md.normalizeLinkText("http://" + r).replace(/^http:\/\//, ""), d = i[o].index, d > p && (e = new n.Token("text", "", 0), e.content = s.slice(p, d), e.level = m, c.push(e)), e = new n.Token("link_open", "a", 1), e.attrs = [["href", x]], e.level = m++, e.markup = "linkify", e.info = "auto", c.push(e), e = new n.Token("text", "", 0), e.content = r, e.level = m, c.push(e), e = new n.Token("link_close", "a", -1), e.level = --m, e.markup = "linkify", e.info = "auto", c.push(e), p = i[o].lastIndex);
24
- p < s.length && (e = new n.Token("text", "", 0), e.content = s.slice(p), e.level = m, c.push(e)), a[k].children = f = L(f, l, c);
56
+ urlText = links[ln].text;
57
+ if (!links[ln].schema) {
58
+ urlText = state.md.normalizeLinkText("http://" + urlText).replace(/^http:\/\//, "");
59
+ } else if (links[ln].schema === "mailto:" && !/^mailto:/i.test(urlText)) {
60
+ urlText = state.md.normalizeLinkText("mailto:" + urlText).replace(/^mailto:/, "");
61
+ } else {
62
+ urlText = state.md.normalizeLinkText(urlText);
63
+ }
64
+ pos = links[ln].index;
65
+ if (pos > lastPos) {
66
+ token = new state.Token("text", "", 0);
67
+ token.content = text.slice(lastPos, pos);
68
+ token.level = level;
69
+ nodes.push(token);
25
70
  }
71
+ token = new state.Token("link_open", "a", 1);
72
+ token.attrs = [["href", fullUrl]];
73
+ token.level = level++;
74
+ token.markup = "linkify";
75
+ token.info = "auto";
76
+ nodes.push(token);
77
+ token = new state.Token("text", "", 0);
78
+ token.content = urlText;
79
+ token.level = level;
80
+ nodes.push(token);
81
+ token = new state.Token("link_close", "a", -1);
82
+ token.level = --level;
83
+ token.markup = "linkify";
84
+ token.info = "auto";
85
+ nodes.push(token);
86
+ lastPos = links[ln].lastIndex;
87
+ }
88
+ if (lastPos < text.length) {
89
+ token = new state.Token("text", "", 0);
90
+ token.content = text.slice(lastPos);
91
+ token.level = level;
92
+ nodes.push(token);
26
93
  }
94
+ blockTokens[j].children = tokens = arrayReplaceAt(tokens, i, nodes);
95
+ }
96
+ }
27
97
  }
28
98
  };
29
99
  export {
30
- A as default
100
+ linkify as default
31
101
  };
@@ -1,8 +1,11 @@
1
- var e = /\r\n?|\n/g, n = /\0/g, l = function(a) {
2
- var r;
3
- r = a.src.replace(e, `
4
- `), r = r.replace(n, "�"), a.src = r;
1
+ var NEWLINES_RE = /\r\n?|\n/g;
2
+ var NULL_RE = /\0/g;
3
+ var normalize = function normalize2(state) {
4
+ var str;
5
+ str = state.src.replace(NEWLINES_RE, "\n");
6
+ str = str.replace(NULL_RE, "�");
7
+ state.src = str;
5
8
  };
6
9
  export {
7
- l as default
10
+ normalize as default
8
11
  };