@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,100 +1,134 @@
1
- import { defineComponent as A, ref as c, watch as y, onMounted as w, nextTick as S, openBlock as n, createElementBlock as i, createElementVNode as l, withDirectives as V, vModelText as b, Fragment as h, renderList as g, normalizeClass as j, createVNode as z, withCtx as B, toDisplayString as C } from "vue";
2
- import D from "../boxurl/index.vue.js";
3
- import { getCompoNameObj as N, getCompoNameKey as E, getCompoName as M } from "../../utils/glob.js";
4
- import { getAsideKey as O, setAsideKey as $ } from "../../utils/common.js";
5
- const q = { class: "aside-search" }, F = { class: "aside-list" }, L = ["onClick"], U = { class: "aside-li-name" }, G = { class: "aside-li-name-name" }, H = { class: "aside-li-name-aliass" }, R = /* @__PURE__ */ A({
1
+ import { defineComponent, ref, watch, onMounted, nextTick, openBlock, createElementBlock, createElementVNode, withDirectives, vModelText, Fragment, renderList, normalizeClass, createVNode, withCtx, toDisplayString } from "vue";
2
+ import _sfc_main$1 from "../boxurl/index.vue.js";
3
+ import { getCompoNameObj, getCompoNameKey, getCompoName } from "../../utils/glob.js";
4
+ import { getAsideKey, setAsideKey } from "../../utils/common.js";
5
+ const _hoisted_1 = { class: "aside-search" };
6
+ const _hoisted_2 = { class: "aside-list" };
7
+ const _hoisted_3 = ["onClick"];
8
+ const _hoisted_4 = { class: "aside-li-name" };
9
+ const _hoisted_5 = { class: "aside-li-name-name" };
10
+ const _hoisted_6 = { class: "aside-li-name-aliass" };
11
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
12
  __name: "index",
7
13
  props: {
8
14
  value: Object
9
15
  },
10
16
  emits: ["change"],
11
- setup(x, { emit: m }) {
12
- const r = x, d = c(), o = c([]);
13
- o.value = N();
14
- const a = c(
15
- r.value
17
+ setup(__props, { emit }) {
18
+ const props = __props;
19
+ const refAside = ref();
20
+ const compos = ref([]);
21
+ compos.value = getCompoNameObj();
22
+ const cur = ref(
23
+ props.value
16
24
  );
17
- if (!a.value || !a.value.key) {
18
- let e = O();
19
- e ? a.value = E(e) : a.value = o.value[0];
25
+ if (!cur.value || !cur.value.key) {
26
+ let key = getAsideKey();
27
+ if (key) {
28
+ cur.value = getCompoNameKey(key);
29
+ } else {
30
+ cur.value = compos.value[0];
31
+ }
20
32
  }
21
- const u = c("");
22
- y(
23
- () => r.value,
33
+ const search = ref("");
34
+ watch(
35
+ () => props.value,
24
36
  () => {
25
- a.value = r.value, v();
37
+ cur.value = props.value;
38
+ setKey();
26
39
  }
27
- ), y(
28
- () => u.value,
40
+ );
41
+ watch(
42
+ () => search.value,
29
43
  () => {
30
- K();
44
+ setSearch();
31
45
  }
32
46
  );
33
- function f(e) {
34
- return e ? e.replace(/[\.|\/|\s]/g, "-") : "a";
47
+ function getClassKey(key) {
48
+ if (key) {
49
+ return key.replace(/[\.|\/|\s]/g, "-");
50
+ }
51
+ return "a";
35
52
  }
36
- function T(e) {
37
- a.value = e, v(), m("change", e);
53
+ function onClick(v) {
54
+ cur.value = v;
55
+ setKey();
56
+ emit("change", v);
38
57
  }
39
- let p;
40
- function K() {
41
- clearTimeout(p), p = setTimeout(() => {
42
- let e = u.value;
43
- e ? o.value = M(e, !0) : o.value = N();
58
+ let timeout;
59
+ function setSearch() {
60
+ clearTimeout(timeout);
61
+ timeout = setTimeout(() => {
62
+ let v = search.value;
63
+ if (v) {
64
+ compos.value = getCompoName(v, true);
65
+ } else {
66
+ compos.value = getCompoNameObj();
67
+ }
44
68
  }, 400);
45
69
  }
46
- function v() {
47
- var s;
48
- let e = ((s = a.value) == null ? void 0 : s.key) || "";
49
- $(e);
70
+ function setKey() {
71
+ var _a;
72
+ let key = ((_a = cur.value) == null ? void 0 : _a.key) || "";
73
+ setAsideKey(key);
50
74
  }
51
- return v(), m("change", a.value), w(() => {
52
- S(() => {
53
- var s;
54
- const e = d.value.querySelector(
55
- ".aside-li." + f((s = a.value) == null ? void 0 : s.key)
75
+ setKey();
76
+ emit("change", cur.value);
77
+ onMounted(() => {
78
+ nextTick(() => {
79
+ var _a;
80
+ const dom = refAside.value.querySelector(
81
+ ".aside-li." + getClassKey((_a = cur.value) == null ? void 0 : _a.key)
56
82
  );
57
- if (e) {
58
- const t = e.offsetTop, _ = d.value.parentNode;
59
- _.scrollTop = t;
83
+ if (dom) {
84
+ const z = dom.offsetTop;
85
+ const k = refAside.value.parentNode;
86
+ k.scrollTop = z;
60
87
  }
61
88
  });
62
- }), (e, s) => (n(), i("div", {
63
- class: "aside",
64
- ref_key: "refAside",
65
- ref: d
66
- }, [
67
- l("div", q, [
68
- V(l("input", {
69
- "onUpdate:modelValue": s[0] || (s[0] = (t) => u.value = t)
70
- }, null, 512), [
71
- [b, u.value]
89
+ });
90
+ return (_ctx, _cache) => {
91
+ return openBlock(), createElementBlock("div", {
92
+ class: "aside",
93
+ ref_key: "refAside",
94
+ ref: refAside
95
+ }, [
96
+ createElementVNode("div", _hoisted_1, [
97
+ withDirectives(createElementVNode("input", {
98
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => search.value = $event)
99
+ }, null, 512), [
100
+ [vModelText, search.value]
101
+ ])
102
+ ]),
103
+ createElementVNode("div", _hoisted_2, [
104
+ (openBlock(true), createElementBlock(Fragment, null, renderList(compos.value, (item, key) => {
105
+ return openBlock(), createElementBlock("div", {
106
+ class: normalizeClass([
107
+ "aside-li",
108
+ getClassKey(item.key) + " " + (item.key == cur.value.key ? "on" : "")
109
+ ]),
110
+ onClick: ($event) => onClick(item)
111
+ }, [
112
+ createVNode(_sfc_main$1, { value: item }, {
113
+ default: withCtx(() => [
114
+ createElementVNode("div", _hoisted_4, [
115
+ createElementVNode("div", _hoisted_5, toDisplayString(item.name), 1),
116
+ createElementVNode("span", _hoisted_6, [
117
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item.aliasNames, (v) => {
118
+ return openBlock(), createElementBlock("span", null, toDisplayString(v), 1);
119
+ }), 256))
120
+ ])
121
+ ])
122
+ ]),
123
+ _: 2
124
+ }, 1032, ["value"])
125
+ ], 10, _hoisted_3);
126
+ }), 256))
72
127
  ])
73
- ]),
74
- l("div", F, [
75
- (n(!0), i(h, null, g(o.value, (t, _) => (n(), i("div", {
76
- class: j([
77
- "aside-li",
78
- f(t.key) + " " + (t.key == a.value.key ? "on" : "")
79
- ]),
80
- onClick: (k) => T(t)
81
- }, [
82
- z(D, { value: t }, {
83
- default: B(() => [
84
- l("div", U, [
85
- l("div", G, C(t.name), 1),
86
- l("span", H, [
87
- (n(!0), i(h, null, g(t.aliasNames, (k) => (n(), i("span", null, C(k), 1))), 256))
88
- ])
89
- ])
90
- ]),
91
- _: 2
92
- }, 1032, ["value"])
93
- ], 10, L))), 256))
94
- ])
95
- ], 512));
128
+ ], 512);
129
+ };
96
130
  }
97
131
  });
98
132
  export {
99
- R as default
133
+ _sfc_main as default
100
134
  };
@@ -1,4 +1,4 @@
1
- import f from "./index.vue.js";
1
+ import _sfc_main from "./index.vue.js";
2
2
  export {
3
- f as default
3
+ _sfc_main as default
4
4
  };
@@ -1,48 +1,72 @@
1
- import { defineComponent as h, ref as d, onMounted as f, openBlock as o, createElementBlock as i, createElementVNode as s, renderSlot as y, normalizeStyle as g, toDisplayString as n, Fragment as k, renderList as N, createCommentVNode as S } from "vue";
2
- const w = { class: "box-url-span" }, B = { class: "box-url-box-div" }, C = { class: "box-div-li" }, E = { class: "box-div-li-span" }, V = { class: "box-div-li-span" }, X = {
1
+ import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, renderSlot, normalizeStyle, toDisplayString, Fragment, renderList, createCommentVNode } from "vue";
2
+ const _hoisted_1 = { class: "box-url-span" };
3
+ const _hoisted_2 = { class: "box-url-box-div" };
4
+ const _hoisted_3 = { class: "box-div-li" };
5
+ const _hoisted_4 = { class: "box-div-li-span" };
6
+ const _hoisted_5 = { class: "box-div-li-span" };
7
+ const _hoisted_6 = {
3
8
  key: 0,
4
9
  class: "box-div-li"
5
- }, Y = /* @__PURE__ */ s("div", { class: "box-div-li-span" }, "别名", -1), j = { class: "box-div-li-span" }, z = { class: "box-div-li" }, D = /* @__PURE__ */ s("div", { class: "box-div-li-span" }, " 文件路径 ", -1), F = { class: "box-div-li-span" }, M = /* @__PURE__ */ h({
10
+ };
11
+ const _hoisted_7 = /* @__PURE__ */ createElementVNode("div", { class: "box-div-li-span" }, "别名", -1);
12
+ const _hoisted_8 = { class: "box-div-li-span" };
13
+ const _hoisted_9 = { class: "box-div-li" };
14
+ const _hoisted_10 = /* @__PURE__ */ createElementVNode("div", { class: "box-div-li-span" }, " 文件路径 ", -1);
15
+ const _hoisted_11 = { class: "box-div-li-span" };
16
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
17
  __name: "index",
7
18
  props: {
8
19
  value: Object
9
20
  },
10
- setup(l) {
11
- const v = d(), c = d(""), u = d("");
12
- return f(() => {
13
- v.value.onmouseenter = (e) => {
14
- var e = e || window.event;
15
- let t, a;
16
- e.x || e.y ? (t = e.x, a = e.y) : (e.pageX || e.pageY) && (t = e.pageX - 1, a = e.pageY - 1), c.value = t + "px", u.value = a + "px";
21
+ setup(__props) {
22
+ const boxurl = ref();
23
+ const topx = ref("");
24
+ const lefty = ref("");
25
+ onMounted(() => {
26
+ boxurl.value.onmouseenter = (event) => {
27
+ var event = event || window.event;
28
+ let x, y;
29
+ if (event.x || event.y) {
30
+ x = event.x;
31
+ y = event.y;
32
+ } else if (event.pageX || event.pageY) {
33
+ x = event.pageX - 1;
34
+ y = event.pageY - 1;
35
+ }
36
+ topx.value = x + "px";
37
+ lefty.value = y + "px";
17
38
  };
18
- }), (m, e) => {
19
- var t, a, r, x, b, _;
20
- return o(), i("div", {
39
+ });
40
+ return (_ctx, _cache) => {
41
+ var _a, _b, _c, _d, _e, _f;
42
+ return openBlock(), createElementBlock("div", {
21
43
  ref_key: "boxurl",
22
- ref: v,
44
+ ref: boxurl,
23
45
  class: "box-url"
24
46
  }, [
25
- s("span", w, [
26
- y(m.$slots, "default")
47
+ createElementVNode("span", _hoisted_1, [
48
+ renderSlot(_ctx.$slots, "default")
27
49
  ]),
28
- s("div", {
50
+ createElementVNode("div", {
29
51
  class: "box-url-box",
30
- style: g({ top: u.value, left: c.value })
52
+ style: normalizeStyle({ top: lefty.value, left: topx.value })
31
53
  }, [
32
- s("div", B, [
33
- s("div", C, [
34
- s("div", E, n((t = l.value) == null ? void 0 : t.name), 1),
35
- s("div", V, n((a = l.value) == null ? void 0 : a.value), 1)
54
+ createElementVNode("div", _hoisted_2, [
55
+ createElementVNode("div", _hoisted_3, [
56
+ createElementVNode("div", _hoisted_4, toDisplayString((_a = __props.value) == null ? void 0 : _a.name), 1),
57
+ createElementVNode("div", _hoisted_5, toDisplayString((_b = __props.value) == null ? void 0 : _b.value), 1)
36
58
  ]),
37
- (r = l.value) != null && r.aliasNames && ((x = l.value) != null && x.aliasNames.length) ? (o(), i("div", X, [
38
- Y,
39
- s("div", j, [
40
- (o(!0), i(k, null, N((b = l.value) == null ? void 0 : b.aliasNames, (p) => (o(), i("span", null, n(p), 1))), 256))
59
+ ((_c = __props.value) == null ? void 0 : _c.aliasNames) && ((_d = __props.value) == null ? void 0 : _d.aliasNames.length) ? (openBlock(), createElementBlock("div", _hoisted_6, [
60
+ _hoisted_7,
61
+ createElementVNode("div", _hoisted_8, [
62
+ (openBlock(true), createElementBlock(Fragment, null, renderList((_e = __props.value) == null ? void 0 : _e.aliasNames, (v) => {
63
+ return openBlock(), createElementBlock("span", null, toDisplayString(v), 1);
64
+ }), 256))
41
65
  ])
42
- ])) : S("", !0),
43
- s("div", z, [
44
- D,
45
- s("div", F, n((_ = l.value) == null ? void 0 : _.key), 1)
66
+ ])) : createCommentVNode("", true),
67
+ createElementVNode("div", _hoisted_9, [
68
+ _hoisted_10,
69
+ createElementVNode("div", _hoisted_11, toDisplayString((_f = __props.value) == null ? void 0 : _f.key), 1)
46
70
  ])
47
71
  ])
48
72
  ], 4)
@@ -51,5 +75,5 @@ const w = { class: "box-url-span" }, B = { class: "box-url-box-div" }, C = { cla
51
75
  }
52
76
  });
53
77
  export {
54
- M as default
78
+ _sfc_main as default
55
79
  };
@@ -1,4 +1,4 @@
1
- import f from "./index.vue.js";
1
+ import _sfc_main from "./index.vue.js";
2
2
  export {
3
- f as default
3
+ _sfc_main as default
4
4
  };
@@ -1,6 +1,12 @@
1
- import { defineComponent as p, openBlock as s, createElementBlock as a, Fragment as r, renderList as d, normalizeClass as h, createVNode as v, withCtx as k, createElementVNode as n, toDisplayString as i } from "vue";
2
- import f from "../boxurl/index.vue.js";
3
- const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-name" }, x = { class: "aside-li-name-name" }, N = { class: "aside-li-name-aliass" }, B = { class: "aside-li-name-aliass" }, j = /* @__PURE__ */ p({
1
+ import { defineComponent, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createVNode, withCtx, createElementVNode, toDisplayString } from "vue";
2
+ import _sfc_main$1 from "../boxurl/index.vue.js";
3
+ const _hoisted_1 = { class: "choice aside" };
4
+ const _hoisted_2 = ["onClick"];
5
+ const _hoisted_3 = { class: "aside-li-name" };
6
+ const _hoisted_4 = { class: "aside-li-name-name" };
7
+ const _hoisted_5 = { class: "aside-li-name-aliass" };
8
+ const _hoisted_6 = { class: "aside-li-name-aliass" };
9
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
10
  __name: "choice",
5
11
  props: {
6
12
  value: {
@@ -11,39 +17,43 @@ const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-nam
11
17
  }
12
18
  },
13
19
  emits: ["change"],
14
- setup(_, { emit: u }) {
15
- const t = _;
16
- function m(c) {
17
- u("change", c);
20
+ setup(__props, { emit }) {
21
+ const props = __props;
22
+ function onClick(val) {
23
+ emit("change", val);
18
24
  }
19
- return (c, E) => (s(), a("div", y, [
20
- (s(!0), a(r, null, d(t.value, (e, V) => {
21
- var o;
22
- return s(), a("div", {
23
- class: h(["aside-li", {
24
- on: e.key == ((o = t.choice) == null ? void 0 : o.key)
25
- }]),
26
- onClick: (l) => m(e)
27
- }, [
28
- v(f, { value: e }, {
29
- default: k(() => [
30
- n("div", g, [
31
- n("div", x, i(e.name), 1),
32
- n("div", N, [
33
- (s(!0), a(r, null, d(e.aliasNames, (l) => (s(), a("span", null, i(l), 1))), 256))
34
- ]),
35
- n("div", B, [
36
- n("span", null, i(e.key), 1)
25
+ return (_ctx, _cache) => {
26
+ return openBlock(), createElementBlock("div", _hoisted_1, [
27
+ (openBlock(true), createElementBlock(Fragment, null, renderList(props.value, (item, key) => {
28
+ var _a;
29
+ return openBlock(), createElementBlock("div", {
30
+ class: normalizeClass(["aside-li", {
31
+ on: item.key == ((_a = props.choice) == null ? void 0 : _a.key)
32
+ }]),
33
+ onClick: ($event) => onClick(item)
34
+ }, [
35
+ createVNode(_sfc_main$1, { value: item }, {
36
+ default: withCtx(() => [
37
+ createElementVNode("div", _hoisted_3, [
38
+ createElementVNode("div", _hoisted_4, toDisplayString(item.name), 1),
39
+ createElementVNode("div", _hoisted_5, [
40
+ (openBlock(true), createElementBlock(Fragment, null, renderList(item.aliasNames, (v) => {
41
+ return openBlock(), createElementBlock("span", null, toDisplayString(v), 1);
42
+ }), 256))
43
+ ]),
44
+ createElementVNode("div", _hoisted_6, [
45
+ createElementVNode("span", null, toDisplayString(item.key), 1)
46
+ ])
37
47
  ])
38
- ])
39
- ]),
40
- _: 2
41
- }, 1032, ["value"])
42
- ], 10, C);
43
- }), 256))
44
- ]));
48
+ ]),
49
+ _: 2
50
+ }, 1032, ["value"])
51
+ ], 10, _hoisted_2);
52
+ }), 256))
53
+ ]);
54
+ };
45
55
  }
46
56
  });
47
57
  export {
48
- j as default
58
+ _sfc_main as default
49
59
  };
@@ -1,4 +1,4 @@
1
- import f from "./choice.vue.js";
1
+ import _sfc_main from "./choice.vue.js";
2
2
  export {
3
- f as default
3
+ _sfc_main as default
4
4
  };
@@ -1,76 +1,100 @@
1
- import { defineComponent as y, ref as r, watch as k, openBlock as n, createElementBlock as u, createBlock as C, createCommentVNode as p, createElementVNode as _, toDisplayString as h, normalizeClass as N, renderSlot as q, unref as B } from "vue";
2
- import K from "./choice.vue.js";
3
- import { getCompoName as $ } from "../../utils/glob.js";
4
- import { setAsideKey as b } from "../../utils/common.js";
5
- import { useRoute as x } from "vue-router";
6
- import { getPageParams as D } from "../../router/index.js";
7
- const E = { class: "__document-compon" }, F = {
1
+ import { defineComponent, ref, watch, openBlock, createElementBlock, createBlock, createCommentVNode, createElementVNode, toDisplayString, normalizeClass, renderSlot, unref } from "vue";
2
+ import _sfc_main$1 from "./choice.vue.js";
3
+ import { getCompoName } from "../../utils/glob.js";
4
+ import { setAsideKey } from "../../utils/common.js";
5
+ import { useRoute } from "vue-router";
6
+ import { getPageParams } from "../../router/index.js";
7
+ const _hoisted_1 = { class: "__document-compon" };
8
+ const _hoisted_2 = {
8
9
  key: 0,
9
10
  class: "__document-compon-choice"
10
- }, P = { key: 0 }, S = { key: 1 }, V = { key: 2 }, I = /* @__PURE__ */ y({
11
+ };
12
+ const _hoisted_3 = { key: 0 };
13
+ const _hoisted_4 = { key: 1 };
14
+ const _hoisted_5 = { key: 2 };
15
+ const _sfc_main = /* @__PURE__ */ defineComponent({
11
16
  __name: "index",
12
17
  props: {
13
18
  getName: {
14
19
  type: Function,
15
- default(l) {
16
- return l.id;
20
+ default(query) {
21
+ return query.id;
17
22
  }
18
23
  },
19
24
  getKey: {
20
25
  type: Function,
21
- default(l) {
22
- return l.key;
26
+ default(params) {
27
+ return params.key;
23
28
  }
24
29
  }
25
30
  },
26
31
  emits: ["change"],
27
- setup(l, { emit: s }) {
28
- const i = l, c = x(), f = D(c), e = r(), o = r([]), a = r(!1);
29
- k(
30
- () => c.query.id,
32
+ setup(__props, { emit }) {
33
+ const props = __props;
34
+ const route = useRoute();
35
+ const params = getPageParams(route);
36
+ const value = ref();
37
+ const choice = ref([]);
38
+ const isChoice = ref(false);
39
+ watch(
40
+ () => route.query.id,
31
41
  () => {
32
- m();
42
+ getData();
33
43
  }
34
44
  );
35
- function m() {
36
- let t = $(
37
- i.getName(c.query),
38
- !0,
39
- i.getKey(f)
45
+ function getData() {
46
+ let arr = getCompoName(
47
+ props.getName(route.query),
48
+ true,
49
+ props.getKey(params)
40
50
  ) || [];
41
- o.value = [], t.length == 1 ? (e.value = t[0], s("change", e.value)) : t.length == 0 ? (e.value = void 0, s("change", e.value)) : (a.value = !0, o.value = t);
51
+ choice.value = [];
52
+ if (arr.length == 1) {
53
+ value.value = arr[0];
54
+ emit("change", value.value);
55
+ } else if (arr.length == 0) {
56
+ value.value = void 0;
57
+ emit("change", value.value);
58
+ } else {
59
+ isChoice.value = true;
60
+ choice.value = arr;
61
+ }
42
62
  }
43
- function g(t) {
44
- a.value = !1, e.value = t, s("change", e.value), b(t.key);
63
+ function onChange(val) {
64
+ isChoice.value = false;
65
+ value.value = val;
66
+ emit("change", value.value);
67
+ setAsideKey(val.key);
45
68
  }
46
- return m(), (t, v) => {
47
- var d;
48
- return n(), u("div", E, [
49
- o.value.length ? (n(), u("div", F, [
50
- a.value ? (n(), C(K, {
69
+ getData();
70
+ return (_ctx, _cache) => {
71
+ var _a;
72
+ return openBlock(), createElementBlock("div", _hoisted_1, [
73
+ choice.value.length ? (openBlock(), createElementBlock("div", _hoisted_2, [
74
+ isChoice.value ? (openBlock(), createBlock(_sfc_main$1, {
51
75
  key: 0,
52
- onChange: g,
53
- value: o.value,
54
- choice: e.value
55
- }, null, 8, ["value", "choice"])) : p("", !0),
56
- _("div", {
57
- onClick: v[0] || (v[0] = (w) => a.value = !a.value),
76
+ onChange,
77
+ value: choice.value,
78
+ choice: value.value
79
+ }, null, 8, ["value", "choice"])) : createCommentVNode("", true),
80
+ createElementVNode("div", {
81
+ onClick: _cache[0] || (_cache[0] = ($event) => isChoice.value = !isChoice.value),
58
82
  class: "__document-compon-choice-but"
59
- }, h(a.value ? "展开" : "隐藏"), 1)
60
- ])) : p("", !0),
61
- _("div", {
62
- class: N(["__document-compon-body", {
63
- choice: o.value.length
83
+ }, toDisplayString(isChoice.value ? "展开" : "隐藏"), 1)
84
+ ])) : createCommentVNode("", true),
85
+ createElementVNode("div", {
86
+ class: normalizeClass(["__document-compon-body", {
87
+ choice: choice.value.length
64
88
  }])
65
89
  }, [
66
- (d = e.value) != null && d.key ? (n(), u("div", P, [
67
- q(t.$slots, "default", { value: e.value })
68
- ])) : o.value.length ? (n(), u("div", S, " 请先选择要查看的组件 ")) : (n(), u("div", V, " 没有查询到" + h(B(c).query.id) + "组件 ", 1))
90
+ ((_a = value.value) == null ? void 0 : _a.key) ? (openBlock(), createElementBlock("div", _hoisted_3, [
91
+ renderSlot(_ctx.$slots, "default", { value: value.value })
92
+ ])) : choice.value.length ? (openBlock(), createElementBlock("div", _hoisted_4, " 请先选择要查看的组件 ")) : (openBlock(), createElementBlock("div", _hoisted_5, " 没有查询到" + toDisplayString(unref(route).query.id) + "组件 ", 1))
69
93
  ], 2)
70
94
  ]);
71
95
  };
72
96
  }
73
97
  });
74
98
  export {
75
- I as default
99
+ _sfc_main as default
76
100
  };
@@ -1,4 +1,4 @@
1
- import f from "./index.vue.js";
1
+ import _sfc_main from "./index.vue.js";
2
2
  export {
3
- f as default
3
+ _sfc_main as default
4
4
  };
@@ -1,16 +1,16 @@
1
- import t from "./highlight.vue2.js";
2
- import { resolveComponent as c, openBlock as n, createBlock as r, createCommentVNode as a } from "vue";
3
- import g from "../../../_virtual/_plugin-vue_export-helper.js";
4
- function i(l, h, e, s, m, _) {
5
- const o = c("highlightjs");
6
- return e.code ? (n(), r(o, {
1
+ import _sfc_main from "./highlight.vue2.js";
2
+ import { resolveComponent, openBlock, createBlock, createCommentVNode } from "vue";
3
+ import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
5
+ const _component_highlightjs = resolveComponent("highlightjs");
6
+ return $props.code ? (openBlock(), createBlock(_component_highlightjs, {
7
7
  key: 0,
8
8
  class: "highlightjs",
9
- language: e.language,
10
- code: e.code
11
- }, null, 8, ["language", "code"])) : a("", !0);
9
+ language: $props.language,
10
+ code: $props.code
11
+ }, null, 8, ["language", "code"])) : createCommentVNode("", true);
12
12
  }
13
- const p = /* @__PURE__ */ g(t, [["render", i]]);
13
+ const Highlight = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
14
14
  export {
15
- p as default
15
+ Highlight as default
16
16
  };
@@ -1,6 +1,6 @@
1
1
  import "../../../node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/styles/stackoverflow-light.css.js";
2
- import t from "../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js";
3
- const e = {
2
+ import hljsVuePlugin from "../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js";
3
+ const _sfc_main = {
4
4
  props: {
5
5
  language: {
6
6
  type: String
@@ -10,9 +10,9 @@ const e = {
10
10
  }
11
11
  },
12
12
  components: {
13
- highlightjs: t.component
13
+ highlightjs: hljsVuePlugin.component
14
14
  }
15
15
  };
16
16
  export {
17
- e as default
17
+ _sfc_main as default
18
18
  };