@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,99 @@
1
- "use strict";const e=require("vue"),_=require("./choice.vue.js"),p=require("../../utils/glob.js"),h=require("../../utils/common.js"),g=require("vue-router"),k=require("../../router/index.js"),y={class:"__document-compon"},f={key:0,class:"__document-compon-choice"},B={key:0},q={key:1},C={key:2},E=e.defineComponent({__name:"index",props:{getName:{type:Function,default(l){return l.id}},getKey:{type:Function,default(l){return l.key}}},emits:["change"],setup(l,{emit:a}){const r=l,u=g.useRoute(),d=k.getPageParams(u),t=e.ref(),n=e.ref([]),c=e.ref(!1);e.watch(()=>u.query.id,()=>{s()});function s(){let o=p.getCompoName(r.getName(u.query),!0,r.getKey(d))||[];n.value=[],o.length==1?(t.value=o[0],a("change",t.value)):o.length==0?(t.value=void 0,a("change",t.value)):(c.value=!0,n.value=o)}function m(o){c.value=!1,t.value=o,a("change",t.value),h.setAsideKey(o.key)}return s(),(o,i)=>{var v;return e.openBlock(),e.createElementBlock("div",y,[n.value.length?(e.openBlock(),e.createElementBlock("div",f,[c.value?(e.openBlock(),e.createBlock(_,{key:0,onChange:m,value:n.value,choice:t.value},null,8,["value","choice"])):e.createCommentVNode("",!0),e.createElementVNode("div",{onClick:i[0]||(i[0]=N=>c.value=!c.value),class:"__document-compon-choice-but"},e.toDisplayString(c.value?"展开":"隐藏"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["__document-compon-body",{choice:n.value.length}])},[(v=t.value)!=null&&v.key?(e.openBlock(),e.createElementBlock("div",B,[e.renderSlot(o.$slots,"default",{value:t.value})])):n.value.length?(e.openBlock(),e.createElementBlock("div",q," 请先选择要查看的组件 ")):(e.openBlock(),e.createElementBlock("div",C," 没有查询到"+e.toDisplayString(e.unref(u).query.id)+"组件 ",1))],2)])}}});module.exports=E;
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const choice_vue_vue_type_script_setup_true_lang = require("./choice.vue.js");
4
+ const glob = require("../../utils/glob.js");
5
+ const common = require("../../utils/common.js");
6
+ const vueRouter = require("vue-router");
7
+ const index = require("../../router/index.js");
8
+ const _hoisted_1 = { class: "__document-compon" };
9
+ const _hoisted_2 = {
10
+ key: 0,
11
+ class: "__document-compon-choice"
12
+ };
13
+ const _hoisted_3 = { key: 0 };
14
+ const _hoisted_4 = { key: 1 };
15
+ const _hoisted_5 = { key: 2 };
16
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
17
+ __name: "index",
18
+ props: {
19
+ getName: {
20
+ type: Function,
21
+ default(query) {
22
+ return query.id;
23
+ }
24
+ },
25
+ getKey: {
26
+ type: Function,
27
+ default(params) {
28
+ return params.key;
29
+ }
30
+ }
31
+ },
32
+ emits: ["change"],
33
+ setup(__props, { emit }) {
34
+ const props = __props;
35
+ const route = vueRouter.useRoute();
36
+ const params = index.getPageParams(route);
37
+ const value = vue.ref();
38
+ const choice = vue.ref([]);
39
+ const isChoice = vue.ref(false);
40
+ vue.watch(
41
+ () => route.query.id,
42
+ () => {
43
+ getData();
44
+ }
45
+ );
46
+ function getData() {
47
+ let arr = glob.getCompoName(
48
+ props.getName(route.query),
49
+ true,
50
+ props.getKey(params)
51
+ ) || [];
52
+ choice.value = [];
53
+ if (arr.length == 1) {
54
+ value.value = arr[0];
55
+ emit("change", value.value);
56
+ } else if (arr.length == 0) {
57
+ value.value = void 0;
58
+ emit("change", value.value);
59
+ } else {
60
+ isChoice.value = true;
61
+ choice.value = arr;
62
+ }
63
+ }
64
+ function onChange(val) {
65
+ isChoice.value = false;
66
+ value.value = val;
67
+ emit("change", value.value);
68
+ common.setAsideKey(val.key);
69
+ }
70
+ getData();
71
+ return (_ctx, _cache) => {
72
+ var _a;
73
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
74
+ choice.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
75
+ isChoice.value ? (vue.openBlock(), vue.createBlock(choice_vue_vue_type_script_setup_true_lang, {
76
+ key: 0,
77
+ onChange,
78
+ value: choice.value,
79
+ choice: value.value
80
+ }, null, 8, ["value", "choice"])) : vue.createCommentVNode("", true),
81
+ vue.createElementVNode("div", {
82
+ onClick: _cache[0] || (_cache[0] = ($event) => isChoice.value = !isChoice.value),
83
+ class: "__document-compon-choice-but"
84
+ }, vue.toDisplayString(isChoice.value ? "展开" : "隐藏"), 1)
85
+ ])) : vue.createCommentVNode("", true),
86
+ vue.createElementVNode("div", {
87
+ class: vue.normalizeClass(["__document-compon-body", {
88
+ choice: choice.value.length
89
+ }])
90
+ }, [
91
+ ((_a = value.value) == null ? void 0 : _a.key) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
92
+ vue.renderSlot(_ctx.$slots, "default", { value: value.value })
93
+ ])) : choice.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, " 请先选择要查看的组件 ")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, " 没有查询到" + vue.toDisplayString(vue.unref(route).query.id) + "组件 ", 1))
94
+ ], 2)
95
+ ]);
96
+ };
97
+ }
98
+ });
99
+ module.exports = _sfc_main;
@@ -1 +1,3 @@
1
- "use strict";const e=require("./index.vue.js");module.exports=e;
1
+ "use strict";
2
+ const index_vue_vue_type_script_setup_true_lang = require("./index.vue.js");
3
+ module.exports = index_vue_vue_type_script_setup_true_lang;
@@ -1 +1,15 @@
1
- "use strict";const c=require("./highlight.vue2.js"),e=require("vue"),o=require("../../../_virtual/_plugin-vue_export-helper.js");function r(i,l,t,u,s,h){const n=e.resolveComponent("highlightjs");return t.code?(e.openBlock(),e.createBlock(n,{key:0,class:"highlightjs",language:t.language,code:t.code},null,8,["language","code"])):e.createCommentVNode("",!0)}const g=o(c,[["render",r]]);module.exports=g;
1
+ "use strict";
2
+ const highlight_vue_vue_type_script_lang = require("./highlight.vue2.js");
3
+ const vue = require("vue");
4
+ const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
5
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
6
+ const _component_highlightjs = vue.resolveComponent("highlightjs");
7
+ return $props.code ? (vue.openBlock(), vue.createBlock(_component_highlightjs, {
8
+ key: 0,
9
+ class: "highlightjs",
10
+ language: $props.language,
11
+ code: $props.code
12
+ }, null, 8, ["language", "code"])) : vue.createCommentVNode("", true);
13
+ }
14
+ const Highlight = /* @__PURE__ */ _pluginVue_exportHelper(highlight_vue_vue_type_script_lang, [["render", _sfc_render]]);
15
+ module.exports = Highlight;
@@ -1 +1,17 @@
1
- "use strict";require("../../../node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/styles/stackoverflow-light.css.js");const e=require("../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js"),t={props:{language:{type:String},code:{type:String}},components:{highlightjs:e.component}};module.exports=t;
1
+ "use strict";
2
+ require("../../../node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/styles/stackoverflow-light.css.js");
3
+ const highlightjsVue_esm_min = require("../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js");
4
+ const _sfc_main = {
5
+ props: {
6
+ language: {
7
+ type: String
8
+ },
9
+ code: {
10
+ type: String
11
+ }
12
+ },
13
+ components: {
14
+ highlightjs: highlightjsVue_esm_min.component
15
+ }
16
+ };
17
+ module.exports = _sfc_main;
@@ -1 +1,131 @@
1
- "use strict";const e=require("vue"),d=require("../boxurl/index.vue.js"),m=require("../../router/index.js"),x=require("./highlight.vue.js"),_=require("../../utils/index.js"),p=require("../../utils/glob.js"),w=require("vue-router"),E={class:"code"},N={class:"code-top"},V={class:"code-top-but"},y={class:"top-but-files"},b=["onClick"],q={class:"code-highlightjs"},B=e.defineComponent({__name:"index",props:{text:String,value:Object},setup(f){const t=f,h=w.useRouter();e.watch(()=>t.text,()=>{u()});const a=e.ref([]),o=e.ref(),i=e.ref(!1);function k(){var l;(l=o.value)!=null&&l.raw?_.copyCode(o.value.raw):_.copyCode(t.text)}function g(){i.value=!i.value}function C(){m.toSingle(h,t.value)}function r(l){i.value=!0,o.value=l}function u(){var l;if(o.value=void 0,i.value=!1,t.text){let c=p.getTestImportUrl((l=t.value)==null?void 0:l.key,t.text,"vue");p.getLocalTextArr(c).then(s=>{a.value=s.filter(n=>n.raw)})}}return u(),(l,c)=>{var s;return e.openBlock(),e.createElementBlock("div",E,[e.createElementVNode("div",N,[e.createElementVNode("div",V,[e.createElementVNode("div",{class:"but-div",onClick:C}," go "),e.createElementVNode("div",{class:"but-div",onClick:k}," 复制 "),e.createElementVNode("div",{class:"but-div",onClick:g},e.toDisplayString(i.value?"隐藏":"显示"),1),e.createElementVNode("div",y,[e.createVNode(d,{value:t.value},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["but-div",{on:!(o.value&&o.value.value)}]),onClick:c[0]||(c[0]=e.withModifiers(n=>r(),["stop"]))}," index.vue ",2)]),_:1},8,["value"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(n,S)=>(e.openBlock(),e.createBlock(d,{value:n},{default:e.withCtx(()=>{var v;return[e.createElementVNode("div",{class:e.normalizeClass(["but-div",{on:n.key==((v=o.value)==null?void 0:v.key)}]),onClick:e.withModifiers(D=>r(n),["stop"])},e.toDisplayString(n.value),11,b)]}),_:2},1032,["value"]))),256))])])]),e.withDirectives(e.createElementVNode("div",q,[e.createVNode(x,{language:"html",code:((s=o.value)==null?void 0:s.raw)||t.text},null,8,["code"])],512),[[e.vShow,i.value]])])}}});module.exports=B;
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const index_vue_vue_type_script_setup_true_lang = require("../boxurl/index.vue.js");
4
+ const index$1 = require("../../router/index.js");
5
+ const highlight = require("./highlight.vue.js");
6
+ const index = require("../../utils/index.js");
7
+ const glob = require("../../utils/glob.js");
8
+ const vueRouter = require("vue-router");
9
+ const _hoisted_1 = { class: "code" };
10
+ const _hoisted_2 = { class: "code-top" };
11
+ const _hoisted_3 = { class: "code-top-but" };
12
+ const _hoisted_4 = { class: "top-but-files" };
13
+ const _hoisted_5 = ["onClick"];
14
+ const _hoisted_6 = { class: "code-highlightjs" };
15
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
16
+ __name: "index",
17
+ props: {
18
+ text: String,
19
+ value: Object
20
+ },
21
+ setup(__props) {
22
+ const props = __props;
23
+ const router = vueRouter.useRouter();
24
+ vue.watch(
25
+ () => props.text,
26
+ () => {
27
+ getData();
28
+ }
29
+ );
30
+ const files = vue.ref([]);
31
+ const file = vue.ref();
32
+ const vshow = vue.ref(false);
33
+ function onClickCopy() {
34
+ var _a;
35
+ if ((_a = file.value) == null ? void 0 : _a.raw) {
36
+ index.copyCode(file.value.raw);
37
+ } else {
38
+ index.copyCode(props.text);
39
+ }
40
+ }
41
+ function onClick() {
42
+ vshow.value = !vshow.value;
43
+ }
44
+ function onClickTo() {
45
+ index$1.toSingle(router, props.value);
46
+ }
47
+ function onClickSwitch(value) {
48
+ vshow.value = true;
49
+ file.value = value;
50
+ }
51
+ function getData() {
52
+ var _a;
53
+ file.value = void 0;
54
+ vshow.value = false;
55
+ if (props.text) {
56
+ let arr = glob.getTestImportUrl(
57
+ (_a = props.value) == null ? void 0 : _a.key,
58
+ props.text,
59
+ "vue"
60
+ );
61
+ glob.getLocalTextArr(arr).then((v) => {
62
+ files.value = v.filter((o) => {
63
+ return o.raw;
64
+ });
65
+ });
66
+ }
67
+ }
68
+ getData();
69
+ return (_ctx, _cache) => {
70
+ var _a;
71
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
72
+ vue.createElementVNode("div", _hoisted_2, [
73
+ vue.createElementVNode("div", _hoisted_3, [
74
+ vue.createElementVNode("div", {
75
+ class: "but-div",
76
+ onClick: onClickTo
77
+ }, " go "),
78
+ vue.createElementVNode("div", {
79
+ class: "but-div",
80
+ onClick: onClickCopy
81
+ }, " 复制 "),
82
+ vue.createElementVNode("div", {
83
+ class: "but-div",
84
+ onClick
85
+ }, vue.toDisplayString(vshow.value ? "隐藏" : "显示"), 1),
86
+ vue.createElementVNode("div", _hoisted_4, [
87
+ vue.createVNode(index_vue_vue_type_script_setup_true_lang, {
88
+ value: props.value
89
+ }, {
90
+ default: vue.withCtx(() => [
91
+ vue.createElementVNode("div", {
92
+ class: vue.normalizeClass(["but-div", {
93
+ on: !(file.value && file.value.value)
94
+ }]),
95
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => onClickSwitch(), ["stop"]))
96
+ }, " index.vue ", 2)
97
+ ]),
98
+ _: 1
99
+ }, 8, ["value"]),
100
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(files.value, (item, key) => {
101
+ return vue.openBlock(), vue.createBlock(index_vue_vue_type_script_setup_true_lang, { value: item }, {
102
+ default: vue.withCtx(() => {
103
+ var _a2;
104
+ return [
105
+ vue.createElementVNode("div", {
106
+ class: vue.normalizeClass(["but-div", {
107
+ on: item.key == ((_a2 = file.value) == null ? void 0 : _a2.key)
108
+ }]),
109
+ onClick: vue.withModifiers(($event) => onClickSwitch(item), ["stop"])
110
+ }, vue.toDisplayString(item.value), 11, _hoisted_5)
111
+ ];
112
+ }),
113
+ _: 2
114
+ }, 1032, ["value"]);
115
+ }), 256))
116
+ ])
117
+ ])
118
+ ]),
119
+ vue.withDirectives(vue.createElementVNode("div", _hoisted_6, [
120
+ vue.createVNode(highlight, {
121
+ language: "html",
122
+ code: ((_a = file.value) == null ? void 0 : _a.raw) || props.text
123
+ }, null, 8, ["code"])
124
+ ], 512), [
125
+ [vue.vShow, vshow.value]
126
+ ])
127
+ ]);
128
+ };
129
+ }
130
+ });
131
+ module.exports = _sfc_main;
@@ -1 +1,3 @@
1
- "use strict";const e=require("./index.vue.js");module.exports=e;
1
+ "use strict";
2
+ const index_vue_vue_type_script_setup_true_lang = require("./index.vue.js");
3
+ module.exports = index_vue_vue_type_script_setup_true_lang;
@@ -1 +1,77 @@
1
- "use strict";const e=require("vue"),u={class:"compo-talbe"},d={class:"compo-talbe-body"},_={class:"compo-talbe-top"},i={class:"compo-talbe-li"},k={key:1,class:"compo-talbe-zw"},m=e.createElementVNode("td",{colspan:"5"},"暂无",-1),B=[m],E=e.defineComponent({__name:"ftable",props:{list:{type:Array,default(){return[]}},value:{type:Array,default(){return[]}}},setup(c){const l=c;function a(r,o,t,n){if(o.formatter)return o.formatter(r,o,t,n);if(o.prop)return r[o.prop]}return(r,o)=>(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("table",d,[e.createElementVNode("thead",null,[e.createElementVNode("tr",_,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.list,(t,n)=>(e.openBlock(),e.createElementBlock("th",null,e.toDisplayString(t==null?void 0:t.label),1))),256))])]),e.createElementVNode("tbody",null,[l.value&&l.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.value,(t,n)=>(e.openBlock(),e.createElementBlock("tr",i,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.list,(s,p)=>(e.openBlock(),e.createElementBlock("td",null,e.toDisplayString(a(t,s,n,p)),1))),256))]))),256)):(e.openBlock(),e.createElementBlock("tr",k,B))])])]))}});module.exports=E;
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const _hoisted_1 = { class: "compo-talbe" };
4
+ const _hoisted_2 = { class: "compo-talbe-body" };
5
+ const _hoisted_3 = { class: "compo-talbe-top" };
6
+ const _hoisted_4 = { class: "compo-talbe-li" };
7
+ const _hoisted_5 = {
8
+ key: 1,
9
+ class: "compo-talbe-zw"
10
+ };
11
+ const _hoisted_6 = /* @__PURE__ */ vue.createElementVNode("td", { colspan: "5" }, "暂无", -1);
12
+ const _hoisted_7 = [
13
+ _hoisted_6
14
+ ];
15
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
16
+ __name: "ftable",
17
+ props: {
18
+ /**
19
+ * table列表
20
+ * {
21
+ * name:"列表名称"
22
+ * value:"列表取值"
23
+ * type:"列表类型"
24
+ * }
25
+ */
26
+ list: {
27
+ type: Array,
28
+ default() {
29
+ return [];
30
+ }
31
+ },
32
+ value: {
33
+ type: Array,
34
+ default() {
35
+ return [];
36
+ }
37
+ }
38
+ },
39
+ setup(__props) {
40
+ const props = __props;
41
+ function setValue(data, item, index, key) {
42
+ if (item.formatter) {
43
+ return item.formatter(data, item, index, key);
44
+ } else if (item.prop) {
45
+ return data[item.prop];
46
+ }
47
+ }
48
+ return (_ctx, _cache) => {
49
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
50
+ vue.createElementVNode("table", _hoisted_2, [
51
+ vue.createElementVNode("thead", null, [
52
+ vue.createElementVNode("tr", _hoisted_3, [
53
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.list, (item, index) => {
54
+ return vue.openBlock(), vue.createElementBlock("th", null, vue.toDisplayString(item == null ? void 0 : item.label), 1);
55
+ }), 256))
56
+ ])
57
+ ]),
58
+ vue.createElementVNode("tbody", null, [
59
+ props.value && props.value.length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(props.value, (data, index) => {
60
+ return vue.openBlock(), vue.createElementBlock("tr", _hoisted_4, [
61
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.list, (item, key) => {
62
+ return vue.openBlock(), vue.createElementBlock("td", null, vue.toDisplayString(setValue(
63
+ data,
64
+ item,
65
+ index,
66
+ key
67
+ )), 1);
68
+ }), 256))
69
+ ]);
70
+ }), 256)) : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_5, _hoisted_7))
71
+ ])
72
+ ])
73
+ ]);
74
+ };
75
+ }
76
+ });
77
+ module.exports = _sfc_main;
@@ -1 +1,3 @@
1
- "use strict";const e=require("./ftable.vue.js");module.exports=e;
1
+ "use strict";
2
+ const ftable_vue_vue_type_script_setup_true_lang = require("./ftable.vue.js");
3
+ module.exports = ftable_vue_vue_type_script_setup_true_lang;
@@ -1 +1,290 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../../utils/index.js"),T=require("../../utils/glob.js");function y(e,s){let r=e.charAt(0),l=[['"','"'],["'","'"],["`","`"],["(",")"],["{","}"],["[","]"]],a=l.map(c=>c[0]).indexOf(r);if(a!=-1){let n=new RegExp("^"+l[a][0]+"((.|\\n|\\r)+?)"+l[a][1]+(s?"\\s":""),"gi").exec(e);if(n)return n[0]}}function M(e){delete e.problems,delete e.source;let s=e.tag,r=e.name,l=e.description,t=e.default,a="";if(s=="default")r=r.trim(),r=y(r)||r;else if(s=="selectable")r=r.trim();else{if(r.includes("=")){const i=r.split("=");r=i[0];const x=i[1]+" "+l,f=y(x,!0);f?(t=f,l=x.replace(f,"")):t=e.default||i[1]||""}const n=/\s*\((.*)\)\s/gi.exec(l);n&&n.length>0&&(a=n[1],l=l.replace(n[0],""))}return e.name=r,e.default=t||"",e.description=l,e.selectable=a,e}let p=[];function N(e){let s=["title","text","author","date"],r=u(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),d(l),r.arr.forEach(t=>{o(t.key,t.value)})}function d(e){p.push(e)}let g=[];function k(e){let s=["props","name","type","default","selectable","description","descriptions"],r=u(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),w(l),r.arr.forEach(t=>{o(t.key,t.value)})}function w(e){g.push(e)}let h=[];function q(e){let s=["slot","name","selectable","description","descriptions"],r=u(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),P(l),r.arr.forEach(t=>{o(t.key,t.value)})}function P(e){h.push(e)}let m=[];function F(e){let s=["emits","name","selectable","description","descriptions"],r=u(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),O(l),r.arr.forEach(t=>{o(t.key,t.value)})}function O(e){m.push(e)}let E=[];function K(e){let s=["expose","name","type","selectable","description","descriptions"],r=u(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),S(l),r.arr.forEach(t=>{o(t.key,t.value)})}function S(e){E.push(e)}function u(e,s){var t;const r={descriptions:(e==null?void 0:e.description)||""},l=[];return e!=null&&e.tags&&((t=e==null?void 0:e.tags)==null||t.forEach(a=>{let c=a.tag,n=M(a);if(!r.hasOwnProperty(c))r[c]=n;else{const i={};i[c]=n,l.push({key:c,value:i})}})),{arr:l,obj:r}}function o(e,s){switch(e){case"title":return d(s),!0;case"text":return d(s),!0;case"props":return w(s),!0;case"slot":return P(s),!0;case"emits":return O(s),!0;case"expose":return S(s),!0;default:return!1}}function z(e,s){switch(e){case"title":return N(s),!0;case"props":return k(s),!0;case"slot":return q(s),!0;case"emits":return F(s),!0;case"expose":return K(s),!0;default:return!1}}function A(e){return p=[],g=[],h=[],m=[],E=[],e==null||e.forEach(s=>{let r=(s==null?void 0:s.tags)||[],l=(r==null?void 0:r.length)||0;if(l>0)for(let t=0;t<l;t++){const a=r[t]||{};if(z(a.tag,s))break}}),{titles:p,propss:g,slots:h,emitss:m,exposes:E}}function C(e){return new Promise(s=>{T.getLocalTextComponents(e).then(r=>{let l=v.getTextNotes(r);s(A(l))})})}exports.getKeyMds=T.getKeyMds;exports.getNotes=C;
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const index = require("../../utils/index.js");
4
+ const glob = require("../../utils/glob.js");
5
+ function getDefault(ss, iss) {
6
+ let c = ss.charAt(0);
7
+ let css = [
8
+ ['"', '"'],
9
+ ["'", "'"],
10
+ ["`", "`"],
11
+ ["(", ")"],
12
+ ["{", "}"],
13
+ ["[", "]"]
14
+ ];
15
+ const cs = css.map((o) => o[0]);
16
+ let ci = cs.indexOf(c);
17
+ if (ci != -1) {
18
+ let reg = new RegExp(
19
+ "^" + css[ci][0] + "((.|\\n|\\r)+?)" + css[ci][1] + (iss ? "\\s" : ""),
20
+ "gi"
21
+ );
22
+ let rs = reg.exec(ss);
23
+ if (rs) {
24
+ return rs[0];
25
+ }
26
+ }
27
+ }
28
+ function getObj(v) {
29
+ delete v.problems;
30
+ delete v.source;
31
+ let tag = v.tag;
32
+ let name = v.name;
33
+ let description = v.description;
34
+ let defaults = v.default;
35
+ let selectable = "";
36
+ if (tag == "default") {
37
+ name = name.trim();
38
+ name = getDefault(name) || name;
39
+ } else if (tag == "selectable") {
40
+ name = name.trim();
41
+ } else {
42
+ if (name.includes("=")) {
43
+ const ms = name.split("=");
44
+ name = ms[0];
45
+ const ss = ms[1] + " " + description;
46
+ const dvz = getDefault(ss, true);
47
+ if (dvz) {
48
+ defaults = dvz;
49
+ description = ss.replace(dvz, "");
50
+ } else {
51
+ defaults = v.default || ms[1] || "";
52
+ }
53
+ }
54
+ const regExp = /\s*\((.*)\)\s/gi;
55
+ const rtr = regExp.exec(description);
56
+ if (rtr && rtr.length > 0) {
57
+ selectable = rtr[1];
58
+ description = description.replace(rtr[0], "");
59
+ }
60
+ }
61
+ v.name = name;
62
+ v.default = defaults || "";
63
+ v.description = description;
64
+ v.selectable = selectable;
65
+ return v;
66
+ }
67
+ let titles = [];
68
+ function setTitle(obj) {
69
+ let arr = [
70
+ "title",
71
+ // 'name',
72
+ "text",
73
+ "author",
74
+ "date"
75
+ // 'description',
76
+ // 'descriptions',
77
+ ];
78
+ let fobj = getFilter(obj);
79
+ let value = {};
80
+ arr.forEach((key) => {
81
+ value[key] = fobj.obj[key];
82
+ });
83
+ addTitles(value);
84
+ fobj.arr.forEach((o) => {
85
+ addTags(o.key, o.value);
86
+ });
87
+ }
88
+ function addTitles(value) {
89
+ titles.push(value);
90
+ }
91
+ let propss = [];
92
+ function setProps(obj) {
93
+ let arr = [
94
+ "props",
95
+ "name",
96
+ "type",
97
+ "default",
98
+ "selectable",
99
+ "description",
100
+ "descriptions"
101
+ ];
102
+ let fobj = getFilter(obj);
103
+ let value = {};
104
+ arr.forEach((key) => {
105
+ value[key] = fobj.obj[key];
106
+ });
107
+ addProps(value);
108
+ fobj.arr.forEach((o) => {
109
+ addTags(o.key, o.value);
110
+ });
111
+ }
112
+ function addProps(value) {
113
+ propss.push(value);
114
+ }
115
+ let slots = [];
116
+ function setSlot(obj) {
117
+ let arr = [
118
+ "slot",
119
+ "name",
120
+ "selectable",
121
+ "description",
122
+ "descriptions"
123
+ ];
124
+ let fobj = getFilter(obj);
125
+ let value = {};
126
+ arr.forEach((key) => {
127
+ value[key] = fobj.obj[key];
128
+ });
129
+ addSlots(value);
130
+ fobj.arr.forEach((o) => {
131
+ addTags(o.key, o.value);
132
+ });
133
+ }
134
+ function addSlots(value) {
135
+ slots.push(value);
136
+ }
137
+ let emitss = [];
138
+ function setEmits(obj) {
139
+ let arr = [
140
+ "emits",
141
+ "name",
142
+ "selectable",
143
+ "description",
144
+ "descriptions"
145
+ ];
146
+ let fobj = getFilter(obj);
147
+ let value = {};
148
+ arr.forEach((key) => {
149
+ value[key] = fobj.obj[key];
150
+ });
151
+ addEmits(value);
152
+ fobj.arr.forEach((o) => {
153
+ addTags(o.key, o.value);
154
+ });
155
+ }
156
+ function addEmits(value) {
157
+ emitss.push(value);
158
+ }
159
+ let exposes = [];
160
+ function setExpose(obj) {
161
+ let arr = [
162
+ "expose",
163
+ "name",
164
+ "type",
165
+ "selectable",
166
+ "description",
167
+ "descriptions"
168
+ ];
169
+ let fobj = getFilter(obj);
170
+ let value = {};
171
+ arr.forEach((key) => {
172
+ value[key] = fobj.obj[key];
173
+ });
174
+ addExpose(value);
175
+ fobj.arr.forEach((o) => {
176
+ addTags(o.key, o.value);
177
+ });
178
+ }
179
+ function addExpose(value) {
180
+ exposes.push(value);
181
+ }
182
+ function getFilter(obj, arrs) {
183
+ var _a;
184
+ const _objs = {
185
+ descriptions: (obj == null ? void 0 : obj.description) || ""
186
+ };
187
+ const arr = [];
188
+ if (obj == null ? void 0 : obj.tags) {
189
+ (_a = obj == null ? void 0 : obj.tags) == null ? void 0 : _a.forEach((v) => {
190
+ let tag = v.tag;
191
+ let ov = getObj(v);
192
+ if (!_objs.hasOwnProperty(tag)) {
193
+ _objs[tag] = ov;
194
+ } else {
195
+ const ao = {};
196
+ ao[tag] = ov;
197
+ arr.push({
198
+ key: tag,
199
+ value: ao
200
+ });
201
+ }
202
+ });
203
+ }
204
+ return {
205
+ arr,
206
+ obj: _objs
207
+ };
208
+ }
209
+ function addTags(tag, obj) {
210
+ switch (tag) {
211
+ case "title":
212
+ addTitles(obj);
213
+ return true;
214
+ case "text":
215
+ addTitles(obj);
216
+ return true;
217
+ case "props":
218
+ addProps(obj);
219
+ return true;
220
+ case "slot":
221
+ addSlots(obj);
222
+ return true;
223
+ case "emits":
224
+ addEmits(obj);
225
+ return true;
226
+ case "expose":
227
+ addExpose(obj);
228
+ return true;
229
+ default:
230
+ return false;
231
+ }
232
+ }
233
+ function setTags(tag, obj) {
234
+ switch (tag) {
235
+ case "title":
236
+ setTitle(obj);
237
+ return true;
238
+ case "props":
239
+ setProps(obj);
240
+ return true;
241
+ case "slot":
242
+ setSlot(obj);
243
+ return true;
244
+ case "emits":
245
+ setEmits(obj);
246
+ return true;
247
+ case "expose":
248
+ setExpose(obj);
249
+ return true;
250
+ default:
251
+ return false;
252
+ }
253
+ }
254
+ function notesFilter(notes) {
255
+ titles = [];
256
+ propss = [];
257
+ slots = [];
258
+ emitss = [];
259
+ exposes = [];
260
+ notes == null ? void 0 : notes.forEach((obj) => {
261
+ let tags = (obj == null ? void 0 : obj.tags) || [];
262
+ let lg = (tags == null ? void 0 : tags.length) || 0;
263
+ if (lg > 0) {
264
+ for (let i = 0; i < lg; i++) {
265
+ const v = tags[i] || {};
266
+ let is = setTags(v.tag, obj);
267
+ if (is) {
268
+ break;
269
+ }
270
+ }
271
+ }
272
+ });
273
+ return {
274
+ titles,
275
+ propss,
276
+ slots,
277
+ emitss,
278
+ exposes
279
+ };
280
+ }
281
+ function getNotes(key) {
282
+ return new Promise((resolve) => {
283
+ glob.getLocalTextComponents(key).then((text) => {
284
+ let notes = index.getTextNotes(text);
285
+ resolve(notesFilter(notes));
286
+ });
287
+ });
288
+ }
289
+ exports.getKeyMds = glob.getKeyMds;
290
+ exports.getNotes = getNotes;