@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,220 @@
1
- "use strict";require("../common/utils.js");const F=require("../../../../../../../_virtual/utils.js");var j=F.__exports.isSpace;function N(l,r){var i,n,f,k;return n=l.bMarks[r]+l.tShift[r],f=l.eMarks[r],i=l.src.charCodeAt(n++),i!==42&&i!==45&&i!==43||n<f&&(k=l.src.charCodeAt(n),!j(k))?-1:n}function V(l,r){var i,n=l.bMarks[r]+l.tShift[r],f=n,k=l.eMarks[r];if(f+1>=k||(i=l.src.charCodeAt(f++),i<48||i>57))return-1;for(;;){if(f>=k)return-1;if(i=l.src.charCodeAt(f++),i>=48&&i<=57){if(f-n>=10)return-1;continue}if(i===41||i===46)break;return-1}return f<k&&(i=l.src.charCodeAt(f),!j(i))?-1:f}function G(l,r){var i,n,f=l.level+2;for(i=r+2,n=l.tokens.length-2;i<n;i++)l.tokens[i].level===f&&l.tokens[i].type==="paragraph_open"&&(l.tokens[i+2].hidden=!0,l.tokens[i].hidden=!0,i+=2)}var H=function(r,i,n,f){var k,c,C,T,b,I,h,y,E,P,q,p,g,x,o,d,w,B,O,R,z,m,u,M,S,_,A,e,v=!1,D=!0;if(r.sCount[i]-r.blkIndent>=4||r.listIndent>=0&&r.sCount[i]-r.listIndent>=4&&r.sCount[i]<r.blkIndent)return!1;if(f&&r.parentType==="paragraph"&&r.sCount[i]>=r.blkIndent&&(v=!0),(u=V(r,i))>=0){if(h=!0,S=r.bMarks[i]+r.tShift[i],g=Number(r.src.slice(S,u-1)),v&&g!==1)return!1}else if((u=N(r,i))>=0)h=!1;else return!1;if(v&&r.skipSpaces(u)>=r.eMarks[i])return!1;if(p=r.src.charCodeAt(u-1),f)return!0;for(q=r.tokens.length,h?(e=r.push("ordered_list_open","ol",1),g!==1&&(e.attrs=[["start",g]])):e=r.push("bullet_list_open","ul",1),e.map=P=[i,0],e.markup=String.fromCharCode(p),o=i,M=!1,A=r.md.block.ruler.getRules("list"),B=r.parentType,r.parentType="list";o<n;){for(m=u,x=r.eMarks[o],I=d=r.sCount[o]+u-(r.bMarks[i]+r.tShift[i]);m<x;){if(k=r.src.charCodeAt(m),k===9)d+=4-(d+r.bsCount[o])%4;else if(k===32)d++;else break;m++}if(c=m,c>=x?b=1:b=d-I,b>4&&(b=1),T=I+b,e=r.push("list_item_open","li",1),e.markup=String.fromCharCode(p),e.map=y=[i,0],h&&(e.info=r.src.slice(S,u-1)),z=r.tight,R=r.tShift[i],O=r.sCount[i],w=r.listIndent,r.listIndent=r.blkIndent,r.blkIndent=T,r.tight=!0,r.tShift[i]=c-r.bMarks[i],r.sCount[i]=d,c>=x&&r.isEmpty(i+1)?r.line=Math.min(r.line+2,n):r.md.block.tokenize(r,i,n,!0),(!r.tight||M)&&(D=!1),M=r.line-i>1&&r.isEmpty(r.line-1),r.blkIndent=r.listIndent,r.listIndent=w,r.tShift[i]=R,r.sCount[i]=O,r.tight=z,e=r.push("list_item_close","li",-1),e.markup=String.fromCharCode(p),o=i=r.line,y[1]=o,c=r.bMarks[i],o>=n||r.sCount[o]<r.blkIndent||r.sCount[i]-r.blkIndent>=4)break;for(_=!1,C=0,E=A.length;C<E;C++)if(A[C](r,o,n,!0)){_=!0;break}if(_)break;if(h){if(u=V(r,o),u<0)break;S=r.bMarks[o]+r.tShift[o]}else if(u=N(r,o),u<0)break;if(p!==r.src.charCodeAt(u-1))break}return h?e=r.push("ordered_list_close","ol",-1):e=r.push("bullet_list_close","ul",-1),e.markup=String.fromCharCode(p),P[1]=o,r.line=o,r.parentType=B,D&&G(r,q),!0};module.exports=H;
1
+ "use strict";
2
+ require("../common/utils.js");
3
+ const utils = require("../../../../../../../_virtual/utils.js");
4
+ var isSpace = utils.__exports.isSpace;
5
+ function skipBulletListMarker(state, startLine) {
6
+ var marker, pos, max, ch;
7
+ pos = state.bMarks[startLine] + state.tShift[startLine];
8
+ max = state.eMarks[startLine];
9
+ marker = state.src.charCodeAt(pos++);
10
+ if (marker !== 42 && marker !== 45 && marker !== 43) {
11
+ return -1;
12
+ }
13
+ if (pos < max) {
14
+ ch = state.src.charCodeAt(pos);
15
+ if (!isSpace(ch)) {
16
+ return -1;
17
+ }
18
+ }
19
+ return pos;
20
+ }
21
+ function skipOrderedListMarker(state, startLine) {
22
+ var ch, start = state.bMarks[startLine] + state.tShift[startLine], pos = start, max = state.eMarks[startLine];
23
+ if (pos + 1 >= max) {
24
+ return -1;
25
+ }
26
+ ch = state.src.charCodeAt(pos++);
27
+ if (ch < 48 || ch > 57) {
28
+ return -1;
29
+ }
30
+ for (; ; ) {
31
+ if (pos >= max) {
32
+ return -1;
33
+ }
34
+ ch = state.src.charCodeAt(pos++);
35
+ if (ch >= 48 && ch <= 57) {
36
+ if (pos - start >= 10) {
37
+ return -1;
38
+ }
39
+ continue;
40
+ }
41
+ if (ch === 41 || ch === 46) {
42
+ break;
43
+ }
44
+ return -1;
45
+ }
46
+ if (pos < max) {
47
+ ch = state.src.charCodeAt(pos);
48
+ if (!isSpace(ch)) {
49
+ return -1;
50
+ }
51
+ }
52
+ return pos;
53
+ }
54
+ function markTightParagraphs(state, idx) {
55
+ var i, l, level = state.level + 2;
56
+ for (i = idx + 2, l = state.tokens.length - 2; i < l; i++) {
57
+ if (state.tokens[i].level === level && state.tokens[i].type === "paragraph_open") {
58
+ state.tokens[i + 2].hidden = true;
59
+ state.tokens[i].hidden = true;
60
+ i += 2;
61
+ }
62
+ }
63
+ }
64
+ var list = function list2(state, startLine, endLine, silent) {
65
+ var ch, contentStart, i, indent, indentAfterMarker, initial, isOrdered, itemLines, l, listLines, listTokIdx, markerCharCode, markerValue, max, nextLine, offset, oldListIndent, oldParentType, oldSCount, oldTShift, oldTight, pos, posAfterMarker, prevEmptyEnd, start, terminate, terminatorRules, token, isTerminatingParagraph = false, tight = true;
66
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
67
+ return false;
68
+ }
69
+ if (state.listIndent >= 0 && state.sCount[startLine] - state.listIndent >= 4 && state.sCount[startLine] < state.blkIndent) {
70
+ return false;
71
+ }
72
+ if (silent && state.parentType === "paragraph") {
73
+ if (state.sCount[startLine] >= state.blkIndent) {
74
+ isTerminatingParagraph = true;
75
+ }
76
+ }
77
+ if ((posAfterMarker = skipOrderedListMarker(state, startLine)) >= 0) {
78
+ isOrdered = true;
79
+ start = state.bMarks[startLine] + state.tShift[startLine];
80
+ markerValue = Number(state.src.slice(start, posAfterMarker - 1));
81
+ if (isTerminatingParagraph && markerValue !== 1)
82
+ return false;
83
+ } else if ((posAfterMarker = skipBulletListMarker(state, startLine)) >= 0) {
84
+ isOrdered = false;
85
+ } else {
86
+ return false;
87
+ }
88
+ if (isTerminatingParagraph) {
89
+ if (state.skipSpaces(posAfterMarker) >= state.eMarks[startLine])
90
+ return false;
91
+ }
92
+ markerCharCode = state.src.charCodeAt(posAfterMarker - 1);
93
+ if (silent) {
94
+ return true;
95
+ }
96
+ listTokIdx = state.tokens.length;
97
+ if (isOrdered) {
98
+ token = state.push("ordered_list_open", "ol", 1);
99
+ if (markerValue !== 1) {
100
+ token.attrs = [["start", markerValue]];
101
+ }
102
+ } else {
103
+ token = state.push("bullet_list_open", "ul", 1);
104
+ }
105
+ token.map = listLines = [startLine, 0];
106
+ token.markup = String.fromCharCode(markerCharCode);
107
+ nextLine = startLine;
108
+ prevEmptyEnd = false;
109
+ terminatorRules = state.md.block.ruler.getRules("list");
110
+ oldParentType = state.parentType;
111
+ state.parentType = "list";
112
+ while (nextLine < endLine) {
113
+ pos = posAfterMarker;
114
+ max = state.eMarks[nextLine];
115
+ initial = offset = state.sCount[nextLine] + posAfterMarker - (state.bMarks[startLine] + state.tShift[startLine]);
116
+ while (pos < max) {
117
+ ch = state.src.charCodeAt(pos);
118
+ if (ch === 9) {
119
+ offset += 4 - (offset + state.bsCount[nextLine]) % 4;
120
+ } else if (ch === 32) {
121
+ offset++;
122
+ } else {
123
+ break;
124
+ }
125
+ pos++;
126
+ }
127
+ contentStart = pos;
128
+ if (contentStart >= max) {
129
+ indentAfterMarker = 1;
130
+ } else {
131
+ indentAfterMarker = offset - initial;
132
+ }
133
+ if (indentAfterMarker > 4) {
134
+ indentAfterMarker = 1;
135
+ }
136
+ indent = initial + indentAfterMarker;
137
+ token = state.push("list_item_open", "li", 1);
138
+ token.markup = String.fromCharCode(markerCharCode);
139
+ token.map = itemLines = [startLine, 0];
140
+ if (isOrdered) {
141
+ token.info = state.src.slice(start, posAfterMarker - 1);
142
+ }
143
+ oldTight = state.tight;
144
+ oldTShift = state.tShift[startLine];
145
+ oldSCount = state.sCount[startLine];
146
+ oldListIndent = state.listIndent;
147
+ state.listIndent = state.blkIndent;
148
+ state.blkIndent = indent;
149
+ state.tight = true;
150
+ state.tShift[startLine] = contentStart - state.bMarks[startLine];
151
+ state.sCount[startLine] = offset;
152
+ if (contentStart >= max && state.isEmpty(startLine + 1)) {
153
+ state.line = Math.min(state.line + 2, endLine);
154
+ } else {
155
+ state.md.block.tokenize(state, startLine, endLine, true);
156
+ }
157
+ if (!state.tight || prevEmptyEnd) {
158
+ tight = false;
159
+ }
160
+ prevEmptyEnd = state.line - startLine > 1 && state.isEmpty(state.line - 1);
161
+ state.blkIndent = state.listIndent;
162
+ state.listIndent = oldListIndent;
163
+ state.tShift[startLine] = oldTShift;
164
+ state.sCount[startLine] = oldSCount;
165
+ state.tight = oldTight;
166
+ token = state.push("list_item_close", "li", -1);
167
+ token.markup = String.fromCharCode(markerCharCode);
168
+ nextLine = startLine = state.line;
169
+ itemLines[1] = nextLine;
170
+ contentStart = state.bMarks[startLine];
171
+ if (nextLine >= endLine) {
172
+ break;
173
+ }
174
+ if (state.sCount[nextLine] < state.blkIndent) {
175
+ break;
176
+ }
177
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
178
+ break;
179
+ }
180
+ terminate = false;
181
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
182
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
183
+ terminate = true;
184
+ break;
185
+ }
186
+ }
187
+ if (terminate) {
188
+ break;
189
+ }
190
+ if (isOrdered) {
191
+ posAfterMarker = skipOrderedListMarker(state, nextLine);
192
+ if (posAfterMarker < 0) {
193
+ break;
194
+ }
195
+ start = state.bMarks[nextLine] + state.tShift[nextLine];
196
+ } else {
197
+ posAfterMarker = skipBulletListMarker(state, nextLine);
198
+ if (posAfterMarker < 0) {
199
+ break;
200
+ }
201
+ }
202
+ if (markerCharCode !== state.src.charCodeAt(posAfterMarker - 1)) {
203
+ break;
204
+ }
205
+ }
206
+ if (isOrdered) {
207
+ token = state.push("ordered_list_close", "ol", -1);
208
+ } else {
209
+ token = state.push("bullet_list_close", "ul", -1);
210
+ }
211
+ token.markup = String.fromCharCode(markerCharCode);
212
+ listLines[1] = nextLine;
213
+ state.line = nextLine;
214
+ state.parentType = oldParentType;
215
+ if (tight) {
216
+ markTightParagraphs(state, listTokIdx);
217
+ }
218
+ return true;
219
+ };
220
+ module.exports = list;
@@ -1 +1,36 @@
1
- "use strict";var f=function(n,e){var o,l,i,u,p,a,r=e+1,h=n.md.block.ruler.getRules("paragraph"),c=n.lineMax;for(a=n.parentType,n.parentType="paragraph";r<c&&!n.isEmpty(r);r++)if(!(n.sCount[r]-n.blkIndent>3)&&!(n.sCount[r]<0)){for(l=!1,i=0,u=h.length;i<u;i++)if(h[i](n,r,c,!0)){l=!0;break}if(l)break}return o=n.getLines(e,r,n.blkIndent,!1).trim(),n.line=r,p=n.push("paragraph_open","p",1),p.map=[e,n.line],p=n.push("inline","",0),p.content=o,p.map=[e,n.line],p.children=[],p=n.push("paragraph_close","p",-1),n.parentType=a,!0};module.exports=f;
1
+ "use strict";
2
+ var paragraph = function paragraph2(state, startLine) {
3
+ var content, terminate, i, l, token, oldParentType, nextLine = startLine + 1, terminatorRules = state.md.block.ruler.getRules("paragraph"), endLine = state.lineMax;
4
+ oldParentType = state.parentType;
5
+ state.parentType = "paragraph";
6
+ for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {
7
+ if (state.sCount[nextLine] - state.blkIndent > 3) {
8
+ continue;
9
+ }
10
+ if (state.sCount[nextLine] < 0) {
11
+ continue;
12
+ }
13
+ terminate = false;
14
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
15
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
16
+ terminate = true;
17
+ break;
18
+ }
19
+ }
20
+ if (terminate) {
21
+ break;
22
+ }
23
+ }
24
+ content = state.getLines(startLine, nextLine, state.blkIndent, false).trim();
25
+ state.line = nextLine;
26
+ token = state.push("paragraph_open", "p", 1);
27
+ token.map = [startLine, state.line];
28
+ token = state.push("inline", "", 0);
29
+ token.content = content;
30
+ token.map = [startLine, state.line];
31
+ token.children = [];
32
+ token = state.push("paragraph_close", "p", -1);
33
+ state.parentType = oldParentType;
34
+ return true;
35
+ };
36
+ module.exports = paragraph;
@@ -1 +1,152 @@
1
- "use strict";require("../common/utils.js");const T=require("../../../../../../../_virtual/utils.js");var g=T.__exports.normalizeReference,p=T.__exports.isSpace,E=function(r,c,w,_){var n,A,k,x,C,a,t,h,s,v,l,y,i,b,m,u,o=0,e=r.bMarks[c]+r.tShift[c],f=r.eMarks[c],d=c+1;if(r.sCount[c]-r.blkIndent>=4||r.src.charCodeAt(e)!==91)return!1;for(;++e<f;)if(r.src.charCodeAt(e)===93&&r.src.charCodeAt(e-1)!==92){if(e+1===f||r.src.charCodeAt(e+1)!==58)return!1;break}for(x=r.lineMax,m=r.md.block.ruler.getRules("reference"),v=r.parentType,r.parentType="reference";d<x&&!r.isEmpty(d);d++)if(!(r.sCount[d]-r.blkIndent>3)&&!(r.sCount[d]<0)){for(b=!1,a=0,t=m.length;a<t;a++)if(m[a](r,d,x,!0)){b=!0;break}if(b)break}for(i=r.getLines(c,d,r.blkIndent,!1).trim(),f=i.length,e=1;e<f;e++){if(n=i.charCodeAt(e),n===91)return!1;if(n===93){s=e;break}else n===10?o++:n===92&&(e++,e<f&&i.charCodeAt(e)===10&&o++)}if(s<0||i.charCodeAt(s+1)!==58)return!1;for(e=s+2;e<f;e++)if(n=i.charCodeAt(e),n===10)o++;else if(!p(n))break;if(l=r.md.helpers.parseLinkDestination(i,e,f),!l.ok||(C=r.md.normalizeLink(l.str),!r.md.validateLink(C)))return!1;for(e=l.pos,o+=l.lines,A=e,k=o,y=e;e<f;e++)if(n=i.charCodeAt(e),n===10)o++;else if(!p(n))break;for(l=r.md.helpers.parseLinkTitle(i,e,f),e<f&&y!==e&&l.ok?(u=l.str,e=l.pos,o+=l.lines):(u="",e=A,o=k);e<f&&(n=i.charCodeAt(e),!!p(n));)e++;if(e<f&&i.charCodeAt(e)!==10&&u)for(u="",e=A,o=k;e<f&&(n=i.charCodeAt(e),!!p(n));)e++;return e<f&&i.charCodeAt(e)!==10||(h=g(i.slice(1,s)),!h)?!1:(_||(typeof r.env.references>"u"&&(r.env.references={}),typeof r.env.references[h]>"u"&&(r.env.references[h]={title:u,href:C}),r.parentType=v,r.line=c+o+1),!0)};module.exports=E;
1
+ "use strict";
2
+ require("../common/utils.js");
3
+ const utils = require("../../../../../../../_virtual/utils.js");
4
+ var normalizeReference = utils.__exports.normalizeReference;
5
+ var isSpace = utils.__exports.isSpace;
6
+ var reference = function reference2(state, startLine, _endLine, silent) {
7
+ var ch, destEndPos, destEndLineNo, endLine, href, i, l, label, labelEnd, oldParentType, res, start, str, terminate, terminatorRules, title, lines = 0, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine], nextLine = startLine + 1;
8
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
9
+ return false;
10
+ }
11
+ if (state.src.charCodeAt(pos) !== 91) {
12
+ return false;
13
+ }
14
+ while (++pos < max) {
15
+ if (state.src.charCodeAt(pos) === 93 && state.src.charCodeAt(pos - 1) !== 92) {
16
+ if (pos + 1 === max) {
17
+ return false;
18
+ }
19
+ if (state.src.charCodeAt(pos + 1) !== 58) {
20
+ return false;
21
+ }
22
+ break;
23
+ }
24
+ }
25
+ endLine = state.lineMax;
26
+ terminatorRules = state.md.block.ruler.getRules("reference");
27
+ oldParentType = state.parentType;
28
+ state.parentType = "reference";
29
+ for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {
30
+ if (state.sCount[nextLine] - state.blkIndent > 3) {
31
+ continue;
32
+ }
33
+ if (state.sCount[nextLine] < 0) {
34
+ continue;
35
+ }
36
+ terminate = false;
37
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
38
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
39
+ terminate = true;
40
+ break;
41
+ }
42
+ }
43
+ if (terminate) {
44
+ break;
45
+ }
46
+ }
47
+ str = state.getLines(startLine, nextLine, state.blkIndent, false).trim();
48
+ max = str.length;
49
+ for (pos = 1; pos < max; pos++) {
50
+ ch = str.charCodeAt(pos);
51
+ if (ch === 91) {
52
+ return false;
53
+ } else if (ch === 93) {
54
+ labelEnd = pos;
55
+ break;
56
+ } else if (ch === 10) {
57
+ lines++;
58
+ } else if (ch === 92) {
59
+ pos++;
60
+ if (pos < max && str.charCodeAt(pos) === 10) {
61
+ lines++;
62
+ }
63
+ }
64
+ }
65
+ if (labelEnd < 0 || str.charCodeAt(labelEnd + 1) !== 58) {
66
+ return false;
67
+ }
68
+ for (pos = labelEnd + 2; pos < max; pos++) {
69
+ ch = str.charCodeAt(pos);
70
+ if (ch === 10) {
71
+ lines++;
72
+ } else if (isSpace(ch))
73
+ ;
74
+ else {
75
+ break;
76
+ }
77
+ }
78
+ res = state.md.helpers.parseLinkDestination(str, pos, max);
79
+ if (!res.ok) {
80
+ return false;
81
+ }
82
+ href = state.md.normalizeLink(res.str);
83
+ if (!state.md.validateLink(href)) {
84
+ return false;
85
+ }
86
+ pos = res.pos;
87
+ lines += res.lines;
88
+ destEndPos = pos;
89
+ destEndLineNo = lines;
90
+ start = pos;
91
+ for (; pos < max; pos++) {
92
+ ch = str.charCodeAt(pos);
93
+ if (ch === 10) {
94
+ lines++;
95
+ } else if (isSpace(ch))
96
+ ;
97
+ else {
98
+ break;
99
+ }
100
+ }
101
+ res = state.md.helpers.parseLinkTitle(str, pos, max);
102
+ if (pos < max && start !== pos && res.ok) {
103
+ title = res.str;
104
+ pos = res.pos;
105
+ lines += res.lines;
106
+ } else {
107
+ title = "";
108
+ pos = destEndPos;
109
+ lines = destEndLineNo;
110
+ }
111
+ while (pos < max) {
112
+ ch = str.charCodeAt(pos);
113
+ if (!isSpace(ch)) {
114
+ break;
115
+ }
116
+ pos++;
117
+ }
118
+ if (pos < max && str.charCodeAt(pos) !== 10) {
119
+ if (title) {
120
+ title = "";
121
+ pos = destEndPos;
122
+ lines = destEndLineNo;
123
+ while (pos < max) {
124
+ ch = str.charCodeAt(pos);
125
+ if (!isSpace(ch)) {
126
+ break;
127
+ }
128
+ pos++;
129
+ }
130
+ }
131
+ }
132
+ if (pos < max && str.charCodeAt(pos) !== 10) {
133
+ return false;
134
+ }
135
+ label = normalizeReference(str.slice(1, labelEnd));
136
+ if (!label) {
137
+ return false;
138
+ }
139
+ if (silent) {
140
+ return true;
141
+ }
142
+ if (typeof state.env.references === "undefined") {
143
+ state.env.references = {};
144
+ }
145
+ if (typeof state.env.references[label] === "undefined") {
146
+ state.env.references[label] = { title, href };
147
+ }
148
+ state.parentType = oldParentType;
149
+ state.line = startLine + lines + 1;
150
+ return true;
151
+ };
152
+ module.exports = reference;
@@ -1 +1,167 @@
1
- "use strict";const M=require("../token.js");require("../common/utils.js");const b=require("../../../../../../../_virtual/utils.js");var C=M,p=b.__exports.isSpace;function l(a,t,s,i){var f,u,e,r,h,c,n,k;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=c=n=0,h=u.length;r<h;r++){if(f=u.charCodeAt(r),!k)if(p(f)){c++,f===9?n+=4-n%4:n++;continue}else k=!0;(f===10||r===h-1)&&(f!==10&&r++,this.bMarks.push(e),this.eMarks.push(r),this.tShift.push(c),this.sCount.push(n),this.bsCount.push(0),k=!1,c=0,n=0,e=r+1)}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}l.prototype.push=function(a,t,s){var i=new C(a,t,s);return i.block=!0,s<0&&this.level--,i.level=this.level,s>0&&this.level++,this.tokens.push(i),i};l.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};l.prototype.skipEmptyLines=function(t){for(var s=this.lineMax;t<s&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};l.prototype.skipSpaces=function(t){for(var s,i=this.src.length;t<i&&(s=this.src.charCodeAt(t),!!p(s));t++);return t};l.prototype.skipSpacesBack=function(t,s){if(t<=s)return t;for(;t>s;)if(!p(this.src.charCodeAt(--t)))return t+1;return t};l.prototype.skipChars=function(t,s){for(var i=this.src.length;t<i&&this.src.charCodeAt(t)===s;t++);return t};l.prototype.skipCharsBack=function(t,s,i){if(t<=i)return t;for(;t>i;)if(s!==this.src.charCodeAt(--t))return t+1;return t};l.prototype.getLines=function(t,s,i,f){var u,e,r,h,c,n,k,o=t;if(t>=s)return"";for(n=new Array(s-t),u=0;o<s;o++,u++){for(e=0,k=h=this.bMarks[o],o+1<s||f?c=this.eMarks[o]+1:c=this.eMarks[o];h<c&&e<i;){if(r=this.src.charCodeAt(h),p(r))r===9?e+=4-(e+this.bsCount[o])%4:e++;else if(h-k<this.tShift[o])e++;else break;h++}e>i?n[u]=new Array(e-i+1).join(" ")+this.src.slice(h,c):n[u]=this.src.slice(h,c)}return n.join("")};l.prototype.Token=C;var v=l;module.exports=v;
1
+ "use strict";
2
+ const token = require("../token.js");
3
+ require("../common/utils.js");
4
+ const utils = require("../../../../../../../_virtual/utils.js");
5
+ var Token = token;
6
+ var isSpace = utils.__exports.isSpace;
7
+ function StateBlock(src, md, env, tokens) {
8
+ var ch, s, start, pos, len, indent, offset, indent_found;
9
+ this.src = src;
10
+ this.md = md;
11
+ this.env = env;
12
+ this.tokens = tokens;
13
+ this.bMarks = [];
14
+ this.eMarks = [];
15
+ this.tShift = [];
16
+ this.sCount = [];
17
+ this.bsCount = [];
18
+ this.blkIndent = 0;
19
+ this.line = 0;
20
+ this.lineMax = 0;
21
+ this.tight = false;
22
+ this.ddIndent = -1;
23
+ this.listIndent = -1;
24
+ this.parentType = "root";
25
+ this.level = 0;
26
+ this.result = "";
27
+ s = this.src;
28
+ indent_found = false;
29
+ for (start = pos = indent = offset = 0, len = s.length; pos < len; pos++) {
30
+ ch = s.charCodeAt(pos);
31
+ if (!indent_found) {
32
+ if (isSpace(ch)) {
33
+ indent++;
34
+ if (ch === 9) {
35
+ offset += 4 - offset % 4;
36
+ } else {
37
+ offset++;
38
+ }
39
+ continue;
40
+ } else {
41
+ indent_found = true;
42
+ }
43
+ }
44
+ if (ch === 10 || pos === len - 1) {
45
+ if (ch !== 10) {
46
+ pos++;
47
+ }
48
+ this.bMarks.push(start);
49
+ this.eMarks.push(pos);
50
+ this.tShift.push(indent);
51
+ this.sCount.push(offset);
52
+ this.bsCount.push(0);
53
+ indent_found = false;
54
+ indent = 0;
55
+ offset = 0;
56
+ start = pos + 1;
57
+ }
58
+ }
59
+ this.bMarks.push(s.length);
60
+ this.eMarks.push(s.length);
61
+ this.tShift.push(0);
62
+ this.sCount.push(0);
63
+ this.bsCount.push(0);
64
+ this.lineMax = this.bMarks.length - 1;
65
+ }
66
+ StateBlock.prototype.push = function(type, tag, nesting) {
67
+ var token2 = new Token(type, tag, nesting);
68
+ token2.block = true;
69
+ if (nesting < 0)
70
+ this.level--;
71
+ token2.level = this.level;
72
+ if (nesting > 0)
73
+ this.level++;
74
+ this.tokens.push(token2);
75
+ return token2;
76
+ };
77
+ StateBlock.prototype.isEmpty = function isEmpty(line) {
78
+ return this.bMarks[line] + this.tShift[line] >= this.eMarks[line];
79
+ };
80
+ StateBlock.prototype.skipEmptyLines = function skipEmptyLines(from) {
81
+ for (var max = this.lineMax; from < max; from++) {
82
+ if (this.bMarks[from] + this.tShift[from] < this.eMarks[from]) {
83
+ break;
84
+ }
85
+ }
86
+ return from;
87
+ };
88
+ StateBlock.prototype.skipSpaces = function skipSpaces(pos) {
89
+ var ch;
90
+ for (var max = this.src.length; pos < max; pos++) {
91
+ ch = this.src.charCodeAt(pos);
92
+ if (!isSpace(ch)) {
93
+ break;
94
+ }
95
+ }
96
+ return pos;
97
+ };
98
+ StateBlock.prototype.skipSpacesBack = function skipSpacesBack(pos, min) {
99
+ if (pos <= min) {
100
+ return pos;
101
+ }
102
+ while (pos > min) {
103
+ if (!isSpace(this.src.charCodeAt(--pos))) {
104
+ return pos + 1;
105
+ }
106
+ }
107
+ return pos;
108
+ };
109
+ StateBlock.prototype.skipChars = function skipChars(pos, code) {
110
+ for (var max = this.src.length; pos < max; pos++) {
111
+ if (this.src.charCodeAt(pos) !== code) {
112
+ break;
113
+ }
114
+ }
115
+ return pos;
116
+ };
117
+ StateBlock.prototype.skipCharsBack = function skipCharsBack(pos, code, min) {
118
+ if (pos <= min) {
119
+ return pos;
120
+ }
121
+ while (pos > min) {
122
+ if (code !== this.src.charCodeAt(--pos)) {
123
+ return pos + 1;
124
+ }
125
+ }
126
+ return pos;
127
+ };
128
+ StateBlock.prototype.getLines = function getLines(begin, end, indent, keepLastLF) {
129
+ var i, lineIndent, ch, first, last, queue, lineStart, line = begin;
130
+ if (begin >= end) {
131
+ return "";
132
+ }
133
+ queue = new Array(end - begin);
134
+ for (i = 0; line < end; line++, i++) {
135
+ lineIndent = 0;
136
+ lineStart = first = this.bMarks[line];
137
+ if (line + 1 < end || keepLastLF) {
138
+ last = this.eMarks[line] + 1;
139
+ } else {
140
+ last = this.eMarks[line];
141
+ }
142
+ while (first < last && lineIndent < indent) {
143
+ ch = this.src.charCodeAt(first);
144
+ if (isSpace(ch)) {
145
+ if (ch === 9) {
146
+ lineIndent += 4 - (lineIndent + this.bsCount[line]) % 4;
147
+ } else {
148
+ lineIndent++;
149
+ }
150
+ } else if (first - lineStart < this.tShift[line]) {
151
+ lineIndent++;
152
+ } else {
153
+ break;
154
+ }
155
+ first++;
156
+ }
157
+ if (lineIndent > indent) {
158
+ queue[i] = new Array(lineIndent - indent + 1).join(" ") + this.src.slice(first, last);
159
+ } else {
160
+ queue[i] = this.src.slice(first, last);
161
+ }
162
+ }
163
+ return queue.join("");
164
+ };
165
+ StateBlock.prototype.Token = Token;
166
+ var state_block = StateBlock;
167
+ module.exports = state_block;