@fangzhongya/vue-archive 0.0.2-8 → 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 (506) 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 +27 -28
  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 -79
  155. package/dist/es/packages/components/aside/index.vue2.js +2 -2
  156. package/dist/es/packages/components/boxurl/index.vue.js +55 -34
  157. package/dist/es/packages/components/boxurl/index.vue2.js +2 -2
  158. package/dist/es/packages/components/choice/choice.vue.js +43 -35
  159. package/dist/es/packages/components/choice/choice.vue2.js +2 -2
  160. package/dist/es/packages/components/choice/index.vue.js +69 -48
  161. package/dist/es/packages/components/choice/index.vue2.js +2 -2
  162. package/dist/es/packages/components/code/highlight.vue.js +11 -12
  163. package/dist/es/packages/components/code/highlight.vue2.js +4 -4
  164. package/dist/es/packages/components/code/index.vue.js +91 -74
  165. package/dist/es/packages/components/code/index.vue2.js +2 -2
  166. package/dist/es/packages/components/compo/ftable.vue.js +46 -32
  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 -121
  170. package/dist/es/packages/components/compo/index.vue2.js +2 -2
  171. package/dist/es/packages/components/compo/info.vue.js +43 -32
  172. package/dist/es/packages/components/compo/info.vue2.js +2 -2
  173. package/dist/es/packages/components/compo/top.js +114 -85
  174. package/dist/es/packages/components/header/index.vue.js +7 -8
  175. package/dist/es/packages/components/main/index.vue.js +59 -45
  176. package/dist/es/packages/components/main/index.vue2.js +2 -2
  177. package/dist/es/packages/components/md/index.vue.js +53 -45
  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 -71
  181. package/dist/es/packages/components/test/index.vue2.js +2 -2
  182. package/dist/es/packages/components/test/top.js +128 -99
  183. package/dist/es/packages/components/use/index.js +109 -84
  184. package/dist/es/packages/components/use/retrie/any/index.vue.js +82 -63
  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 -39
  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 -43
  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 -96
  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 -47
  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 -96
  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 -47
  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 -47
  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 -33
  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 -39
  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 -37
  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 -79
  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 -33
  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 -27
  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 -104
  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 -34
  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 -30
  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 -66
  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 -34
  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 -10
  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 -17
  232. package/dist/es/packages/page/develop/index.vue.js +2 -2
  233. package/dist/es/packages/page/develop/index.vue2.js +19 -17
  234. package/dist/es/packages/page/index/index.vue.js +2 -2
  235. package/dist/es/packages/page/index/index.vue2.js +50 -38
  236. package/dist/es/packages/page/single/index.vue.js +2 -2
  237. package/dist/es/packages/page/single/index.vue2.js +75 -61
  238. package/dist/es/packages/page/tests/index.vue.js +2 -2
  239. package/dist/es/packages/page/tests/index.vue2.js +74 -49
  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
  493. package/dist/es/node_modules/.pnpm/@vue_compiler-core@3.2.47/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js +0 -2881
  494. package/dist/es/node_modules/.pnpm/@vue_compiler-dom@3.2.47/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +0 -408
  495. package/dist/es/node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -700
  496. package/dist/es/node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +0 -3908
  497. package/dist/es/node_modules/.pnpm/@vue_runtime-dom@3.2.47/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +0 -1023
  498. package/dist/es/node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -280
  499. package/dist/es/node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js +0 -163
  500. package/dist/lib/node_modules/.pnpm/@vue_compiler-core@3.2.47/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js +0 -9
  501. package/dist/lib/node_modules/.pnpm/@vue_compiler-dom@3.2.47/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +0 -1
  502. package/dist/lib/node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -1
  503. package/dist/lib/node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +0 -14
  504. package/dist/lib/node_modules/.pnpm/@vue_runtime-dom@3.2.47/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +0 -1
  505. package/dist/lib/node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -2
  506. package/dist/lib/node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js +0 -2
@@ -1,94 +1,132 @@
1
- import "../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js";
2
- import x from "./retrie/index.vue.js";
3
- import { defineComponent as C, watch as j, openBlock as B, createElementBlock as L, createVNode as N, createCommentVNode as S, nextTick as z } from "../../../node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
4
- import { ref as n } from "../../../node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
5
- const A = {
1
+ import { defineComponent, ref, watch, nextTick, openBlock, createElementBlock, createVNode, createCommentVNode } from "vue";
2
+ import _sfc_main$1 from "./retrie/index.vue.js";
3
+ const _hoisted_1 = {
6
4
  key: 0,
7
5
  class: "set-props"
8
- }, D = /* @__PURE__ */ C({
6
+ };
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
8
  __name: "set-props",
10
9
  props: {
11
10
  name: String,
12
11
  list: Array
13
12
  },
14
13
  emits: ["change"],
15
- setup(d, { emit: b }) {
16
- const o = d, p = n({}), y = n(0), i = n({}), a = n([]);
17
- function _() {
18
- var e;
19
- i.value = {};
20
- const s = [];
21
- (e = o.list) == null || e.forEach((l) => {
22
- let t = l.name;
23
- if (t.includes(".") ? t = "" : t = (t.split("/")[0] || "").trim(), t) {
24
- let c = V(l.type), r = "any";
25
- c.length == 1 && (r = c[0].split("<")[0]), i.value[t] = (l.default || "").trim();
26
- let m = (l.selectable || "").trim();
27
- if (m && r != "boolean") {
28
- let h = [];
29
- m.split(",").forEach((u) => {
30
- if (u) {
31
- let w = u.split(":");
32
- h.push({
33
- label: u,
34
- prop: w[0].trim()
14
+ setup(__props, { emit }) {
15
+ const props = __props;
16
+ const selects = ref({});
17
+ const refresh = ref(0);
18
+ const propsValue = ref({});
19
+ const rlist = ref([]);
20
+ function setVlaue() {
21
+ var _a;
22
+ propsValue.value = {};
23
+ const arr = [];
24
+ (_a = props.list) == null ? void 0 : _a.forEach((val) => {
25
+ let name = val.name;
26
+ if (!name.includes(".")) {
27
+ name = (name.split("/")[0] || "").trim();
28
+ } else {
29
+ name = "";
30
+ }
31
+ if (name) {
32
+ let tarr = getType(val.type);
33
+ let type = "any";
34
+ if (tarr.length == 1) {
35
+ type = tarr[0].split("<")[0];
36
+ }
37
+ propsValue.value[name] = (val.default || "").trim();
38
+ let selectable = (val.selectable || "").trim();
39
+ if (selectable && type != "boolean") {
40
+ let arr2 = [];
41
+ selectable.split(",").forEach((v) => {
42
+ if (v) {
43
+ let z = v.split(":");
44
+ arr2.push({
45
+ label: v,
46
+ prop: z[0].trim()
35
47
  });
36
48
  }
37
- }), p.value[t] = h, r == "function" ? r = "function" : r == "array" ? r = "choice" : r = "select";
49
+ });
50
+ selects.value[name] = arr2;
51
+ if (type == "function") {
52
+ type = "function";
53
+ } else if (type == "array") {
54
+ type = "choice";
55
+ } else {
56
+ type = "select";
57
+ }
38
58
  }
39
- let E = {
40
- label: g(t, l),
41
- prop: t,
42
- type: r,
43
- dataType: c,
44
- select: t
59
+ let label = setLabel(name, val);
60
+ let obj = {
61
+ label,
62
+ prop: name,
63
+ type,
64
+ dataType: tarr,
65
+ select: name
45
66
  };
46
- s.push(E);
67
+ arr.push(obj);
47
68
  }
48
- }), a.value = s;
69
+ });
70
+ rlist.value = arr;
49
71
  }
50
- function g(s, e) {
51
- let l = s + ": { " + (e.type || "any") + " } " + e.description;
52
- return e.default && (l += " 默认值=" + e.default), e.selectable && (l += " 可选值=" + e.selectable), l;
72
+ function setLabel(name, val) {
73
+ let st = name + ": { " + (val.type || "any") + " } " + val.description;
74
+ if (val.default) {
75
+ st += " 默认值=" + val.default;
76
+ }
77
+ if (val.selectable) {
78
+ st += " 可选值=" + val.selectable;
79
+ }
80
+ return st;
53
81
  }
54
- function V(s) {
55
- let e = [];
56
- return (s || "").trim().toLowerCase().split(",").forEach((t) => {
57
- t = t.trim(), t && e.push(t);
58
- }), [...new Set(e)].sort();
82
+ function getType(value) {
83
+ let arr = [];
84
+ let str = (value || "").trim().toLowerCase();
85
+ str.split(",").forEach((v) => {
86
+ v = v.trim();
87
+ if (v) {
88
+ arr.push(v);
89
+ }
90
+ });
91
+ return [...new Set(arr)].sort();
59
92
  }
60
- function T(s, e) {
61
- let l = Object.assign({}, s);
62
- b("change", l, e);
93
+ function onQuery(obj, text) {
94
+ let value = Object.assign({}, obj);
95
+ emit("change", value, text);
63
96
  }
64
- let f;
65
- function k() {
66
- clearTimeout(f), f = setTimeout(() => {
67
- _();
97
+ let t;
98
+ function setRefresh() {
99
+ clearTimeout(t);
100
+ t = setTimeout(() => {
101
+ setVlaue();
68
102
  }, 400);
69
103
  }
70
- return j(
71
- () => o.name,
104
+ watch(
105
+ () => props.name,
72
106
  () => {
73
- a.value = [], z(() => {
74
- k();
107
+ rlist.value = [];
108
+ nextTick(() => {
109
+ setRefresh();
75
110
  });
76
111
  },
77
112
  {
78
- immediate: !0
113
+ immediate: true
79
114
  }
80
- ), (s, e) => a.value && a.value.length > 0 ? (B(), L("div", A, [
81
- N(x, {
82
- refresh: y.value,
83
- modelValue: i.value,
84
- selects: p.value,
85
- list: a.value,
86
- name: o.name,
87
- onQuery: T
88
- }, null, 8, ["refresh", "modelValue", "selects", "list", "name"])
89
- ])) : S("", !0);
115
+ );
116
+ return (_ctx, _cache) => {
117
+ return rlist.value && rlist.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1, [
118
+ createVNode(_sfc_main$1, {
119
+ refresh: refresh.value,
120
+ modelValue: propsValue.value,
121
+ selects: selects.value,
122
+ list: rlist.value,
123
+ name: props.name,
124
+ onQuery
125
+ }, null, 8, ["refresh", "modelValue", "selects", "list", "name"])
126
+ ])) : createCommentVNode("", true);
127
+ };
90
128
  }
91
129
  });
92
130
  export {
93
- D as default
131
+ _sfc_main as default
94
132
  };
@@ -1,4 +1,4 @@
1
- import f from "./set-props.vue.js";
1
+ import _sfc_main from "./set-props.vue.js";
2
2
  export {
3
- f as default
3
+ _sfc_main as default
4
4
  };
@@ -1,48 +1,53 @@
1
- import "../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js";
2
- import f from "./retrie/slot/index.vue.js";
3
- import { defineComponent as _, openBlock as a, createElementBlock as l, Fragment as g, renderList as h, createCommentVNode as v, createElementVNode as c, createVNode as C } from "../../../node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
4
- import { ref as y } from "../../../node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js";
5
- import { toDisplayString as k, normalizeClass as E } from "../../../node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js";
6
- const N = {
1
+ import { defineComponent, ref, openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, normalizeClass, createVNode, createCommentVNode } from "vue";
2
+ import _sfc_main$1 from "./retrie/slot/index.vue.js";
3
+ const _hoisted_1 = {
7
4
  key: 0,
8
5
  class: "set-slot"
9
- }, V = /* @__PURE__ */ c("div", null, " 当前作用域参数使用 scope ,使用 template 来渲染 ", -1), A = /* @__PURE__ */ _({
6
+ };
7
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", null, " 当前作用域参数使用 scope ,使用 template 来渲染 ", -1);
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
10
9
  __name: "set-slot",
11
10
  props: {
12
11
  list: { type: Array },
13
12
  name: String
14
13
  },
15
14
  emits: ["change"],
16
- setup(m, { emit: u }) {
17
- const r = m, i = y([]);
18
- function p(e) {
19
- return e.name + ": (" + e.selectable + ") " + e.description;
15
+ setup(__props, { emit }) {
16
+ const props = __props;
17
+ const errors = ref([]);
18
+ function setLabel(val) {
19
+ let st = val.name + ": (" + val.selectable + ") " + val.description;
20
+ return st;
20
21
  }
21
- function d(e, o) {
22
- let t = o.name || "default";
23
- u("change", t, e[0]);
22
+ function onChange(arr, obj) {
23
+ let name = obj.name || "default";
24
+ emit("change", name, arr[0]);
24
25
  }
25
- return (e, o) => r.list && r.list.length > 0 ? (a(), l("div", N, [
26
- V,
27
- (a(!0), l(g, null, h(r.list, (t, n) => (a(), l("div", { key: n }, [
28
- c("div", null, k(p(t)), 1),
29
- c("div", {
30
- class: E(["form-item", { error: i.value[n] }])
31
- }, [
32
- C(f, {
33
- onError: (s) => {
34
- i.value[n] = s;
35
- },
36
- onChange: (...s) => {
37
- d(s, t);
38
- },
39
- value: t
40
- }, null, 8, ["onError", "onChange", "value"])
41
- ], 2)
42
- ]))), 128))
43
- ])) : v("", !0);
26
+ return (_ctx, _cache) => {
27
+ return props.list && props.list.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1, [
28
+ _hoisted_2,
29
+ (openBlock(true), createElementBlock(Fragment, null, renderList(props.list, (item, index) => {
30
+ return openBlock(), createElementBlock("div", { key: index }, [
31
+ createElementVNode("div", null, toDisplayString(setLabel(item)), 1),
32
+ createElementVNode("div", {
33
+ class: normalizeClass(["form-item", { error: errors.value[index] }])
34
+ }, [
35
+ createVNode(_sfc_main$1, {
36
+ onError: (is) => {
37
+ errors.value[index] = is;
38
+ },
39
+ onChange: (...arr) => {
40
+ onChange(arr, item);
41
+ },
42
+ value: item
43
+ }, null, 8, ["onError", "onChange", "value"])
44
+ ], 2)
45
+ ]);
46
+ }), 128))
47
+ ])) : createCommentVNode("", true);
48
+ };
44
49
  }
45
50
  });
46
51
  export {
47
- A as default
52
+ _sfc_main as default
48
53
  };
@@ -1,4 +1,4 @@
1
- import f from "./set-slot.vue.js";
1
+ import _sfc_main from "./set-slot.vue.js";
2
2
  export {
3
- f as default
3
+ _sfc_main as default
4
4
  };
@@ -1,99 +1,181 @@
1
- import u from "../../../node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/standalone.js";
2
- import a from "../../../node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-typescript.js";
3
- import c from "../../../node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-html.js";
4
- function f(e) {
5
- return u.format(e, {
1
+ import prettier from "../../../node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/standalone.js";
2
+ import parserTypescript from "../../../node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-typescript.js";
3
+ import parserHtml from "../../../node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-html.js";
4
+ function prettierFormat(st) {
5
+ let str = prettier.format(st, {
6
6
  parser: "typescript",
7
- plugins: [a]
8
- }).replace(/\;(\s|\n\r)*$/, "");
7
+ plugins: [parserTypescript]
8
+ });
9
+ return str.replace(/\;(\s|\n\r)*$/, "");
9
10
  }
10
- function x(e) {
11
- return e = "let a = " + e, f(e).replace(/^let a = /, "");
11
+ function prettierObjFormat(st) {
12
+ st = "let a = " + st;
13
+ let str = prettierFormat(st);
14
+ return str.replace(/^let a = /, "");
12
15
  }
13
- function F(e) {
14
- return f(e);
16
+ function prettierArrFormat(st) {
17
+ let str = prettierFormat(st);
18
+ return str;
15
19
  }
16
- function T(e) {
17
- return u.format(e, {
20
+ function prettierHtml(st) {
21
+ return prettier.format(st, {
18
22
  parser: "html",
19
- plugins: [c]
23
+ plugins: [parserHtml]
20
24
  });
21
25
  }
22
- function w(e, t = "") {
23
- let r = (e + "").trim().split(/\n/);
24
- return r = r.map((n) => t + n), r.join(`
25
- `);
26
+ function vueFormat(st, kg = "") {
27
+ let arr = (st + "").trim().split(/\n/);
28
+ arr = arr.map((v) => {
29
+ return kg + v;
30
+ });
31
+ return arr.join("\n");
26
32
  }
27
- function g(e = "") {
28
- e = e.trim();
29
- let t = `[\\s|\\n|\\r]*\\{((.|
30
- |\r)+?)\\}[\\s|\\n|\\r]*`, n = new RegExp("^" + t + "$").exec(e);
31
- return n && n.length > 0 ? g(n[1]) : e;
33
+ function getFunBody(sr = "") {
34
+ sr = sr.trim();
35
+ let body = "[\\s|\\n|\\r]*\\{((.|\n|\r)+?)\\}[\\s|\\n|\\r]*";
36
+ let reg = new RegExp("^" + body + "$");
37
+ let vts = reg.exec(sr);
38
+ if (vts && vts.length > 0) {
39
+ return getFunBody(vts[1]);
40
+ } else {
41
+ return sr;
42
+ }
32
43
  }
33
- function v(e) {
34
- if (e) {
35
- let t = e.toString();
36
- t = t.trim();
37
- let n = "(function\\s*" + "([a-z|A-Z|_|$][a-z|A-Z|_|$|0-9]*)?" + "\\s*)?", l = "(\\([^\\(|\\)]*\\)\\s*)?", p = `[\\s|\\n|\\r]*\\{((.|
38
- |\r)+?)\\}[\\s|\\n|\\r]*`, o = new RegExp(
39
- "^" + n + l + p + "$"
40
- ).exec(t), i = {
41
- body: t,
44
+ function getFunctionFormat(v) {
45
+ if (v) {
46
+ let st = v.toString();
47
+ st = st.trim();
48
+ let name = "([a-z|A-Z|_|$][a-z|A-Z|_|$|0-9]*)?";
49
+ let fun = "(function\\s*" + name + "\\s*)?";
50
+ let param = "(\\([^\\(|\\)]*\\)\\s*)?";
51
+ let body = "[\\s|\\n|\\r]*\\{((.|\n|\r)+?)\\}[\\s|\\n|\\r]*";
52
+ let reg = new RegExp(
53
+ "^" + fun + param + body + "$"
54
+ );
55
+ let vts = reg.exec(st);
56
+ let obj = {
57
+ body: st,
42
58
  name: "",
43
59
  param: ""
44
60
  };
45
- return o && o.length > 0 && (i.name = o[2], i.param = o[3], i.body = `{${o[4]}}`), i.body = f(i.body), i;
61
+ if (vts && vts.length > 0) {
62
+ obj.name = vts[2];
63
+ obj.param = vts[3];
64
+ obj.body = `{${vts[4]}}`;
65
+ }
66
+ obj.body = prettierFormat(obj.body);
67
+ return obj;
46
68
  }
47
69
  }
48
- function m(e) {
49
- let r = new RegExp("^([a-z|A-Z]+)\\<(.+)\\>$").exec(e);
50
- if (r && r.length > 0)
70
+ function sonType(type) {
71
+ let reg = new RegExp("^([a-z|A-Z]+)\\<(.+)\\>$");
72
+ let vts = reg.exec(type);
73
+ if (vts && vts.length > 0) {
51
74
  return {
52
- own: r[1],
53
- son: r[2]
75
+ own: vts[1],
76
+ son: vts[2]
54
77
  };
78
+ }
55
79
  }
56
- function s(e, t) {
57
- let r = m(e);
58
- r ? (t.push(r.own), r.son && s(r.son, t)) : t.push(e);
80
+ function sonTypes(type, arr) {
81
+ let obj = sonType(type);
82
+ if (obj) {
83
+ arr.push(obj.own);
84
+ if (obj.son) {
85
+ sonTypes(obj.son, arr);
86
+ }
87
+ } else {
88
+ arr.push(type);
89
+ }
59
90
  }
60
- function y(e) {
61
- e instanceof Array && (e = e[0]);
62
- const t = [];
63
- return e && s(e, t), t;
91
+ function getSonType(type) {
92
+ if (type instanceof Array) {
93
+ type = type[0];
94
+ }
95
+ const arr = [];
96
+ if (type) {
97
+ sonTypes(type, arr);
98
+ }
99
+ return arr;
64
100
  }
65
- function $(e) {
66
- const t = Object.prototype.toString.call(e);
67
- let n = /^\[[O|o]bject (.*)\]$/.exec(t), l = typeof e;
68
- return n && n.length > 0 && (l = n[1].toLowerCase()), l;
101
+ function getObjType(obj) {
102
+ const type = Object.prototype.toString.call(obj);
103
+ const reg = /^\[[O|o]bject (.*)\]$/;
104
+ let vts = reg.exec(type);
105
+ let t = typeof obj;
106
+ if (vts && vts.length > 0) {
107
+ t = vts[1].toLowerCase();
108
+ }
109
+ return t;
69
110
  }
70
- function A(e, t) {
71
- const r = $(e), n = y(t)[0];
72
- return n && n != "*" ? r == n : !0;
111
+ function isTypeEqual(obj, type) {
112
+ const t = getObjType(obj);
113
+ const v = getSonType(type)[0];
114
+ if (v && v != "*") {
115
+ return t == v;
116
+ } else {
117
+ return true;
118
+ }
73
119
  }
74
- function S(e) {
75
- if (typeof e == "string") {
76
- let t = !1;
77
- return (/^\'(.|\n|\r)*\'$/.test(e) || /^\"(.|\n|\r)*\"$/.test(e) || /^\`(.|\n|\r)*\`$/.test(e)) && (t = !0), t && (e = e.substring(1, e.length - 1)), e + "";
78
- } else
79
- return typeof e == "object" && e ? e.toString() : typeof e > "u" || typeof e == "object" && !e ? "" : e + "";
120
+ function getString(st) {
121
+ if (typeof st == "string") {
122
+ let is = false;
123
+ if (/^\'(.|\n|\r)*\'$/.test(st)) {
124
+ is = true;
125
+ } else if (/^\"(.|\n|\r)*\"$/.test(st)) {
126
+ is = true;
127
+ } else if (/^\`(.|\n|\r)*\`$/.test(st)) {
128
+ is = true;
129
+ }
130
+ if (is) {
131
+ st = st.substring(1, st.length - 1);
132
+ }
133
+ return st + "";
134
+ } else if (typeof st == "object" && st) {
135
+ return st.toString();
136
+ } else if (typeof st == "undefined" || typeof st == "object" && !st) {
137
+ return "";
138
+ } else {
139
+ return st + "";
140
+ }
80
141
  }
81
- function E(e) {
82
- e = (e + "").replace(/^(\s|\n|r)*/, "").replace(/(\s|\n|r)*$/, "");
83
- let t = "";
84
- return /^\'(.|\n|\r)*\'$/.test(e) || /^\"(.|\n|\r)*\"$/.test(e) || /^\`(.|\n|\r)*\`$/.test(e) ? t = "string" : /^\[(.|\n|\r)*\]$/.test(e) ? t = "array" : /^\{(.|\n|\r)*\}$/.test(e) ? t = "object" : /^[0-9]*$/.test(e) ? t = "number" : e === "true" || e === "false" ? t = "boolean" : e == "undefined" ? t = "undefined" : e == "null" ? t = "null" : e && (t = "string"), t;
142
+ function isDefaultType(st) {
143
+ st = (st + "").replace(/^(\s|\n|r)*/, "").replace(/(\s|\n|r)*$/, "");
144
+ let type = "";
145
+ if (/^\'(.|\n|\r)*\'$/.test(st)) {
146
+ type = "string";
147
+ } else if (/^\"(.|\n|\r)*\"$/.test(st)) {
148
+ type = "string";
149
+ } else if (/^\`(.|\n|\r)*\`$/.test(st)) {
150
+ type = "string";
151
+ } else if (/^\[(.|\n|\r)*\]$/.test(st)) {
152
+ type = "array";
153
+ } else if (/^\{(.|\n|\r)*\}$/.test(st)) {
154
+ type = "object";
155
+ } else if (/^[0-9]*$/.test(st)) {
156
+ type = "number";
157
+ } else if (st === "true" || st === "false") {
158
+ type = "boolean";
159
+ } else if (st == "undefined") {
160
+ type = "undefined";
161
+ } else if (st == "null") {
162
+ type = "null";
163
+ } else if (st) {
164
+ type = "string";
165
+ }
166
+ return type;
85
167
  }
86
168
  export {
87
- g as getFunBody,
88
- v as getFunctionFormat,
89
- $ as getObjType,
90
- y as getSonType,
91
- S as getString,
92
- E as isDefaultType,
93
- A as isTypeEqual,
94
- F as prettierArrFormat,
95
- f as prettierFormat,
96
- T as prettierHtml,
97
- x as prettierObjFormat,
98
- w as vueFormat
169
+ getFunBody,
170
+ getFunctionFormat,
171
+ getObjType,
172
+ getSonType,
173
+ getString,
174
+ isDefaultType,
175
+ isTypeEqual,
176
+ prettierArrFormat,
177
+ prettierFormat,
178
+ prettierHtml,
179
+ prettierObjFormat,
180
+ vueFormat
99
181
  };
@@ -38,7 +38,7 @@ export interface ExampleObj {
38
38
  * 2 : 二级 aliass 目录
39
39
  * 3 : dir 名称开始 加上二级 aliass 目录
40
40
  */
41
- level?: string | number;
41
+ level: string | number;
42
42
  /**
43
43
  * 0 : 不支持别名
44
44
  * 1 : 只支持一级别名
@@ -46,14 +46,14 @@ export interface ExampleObj {
46
46
  * 3 : 只支持一级别名+二级别名
47
47
  * 9 : 都支持
48
48
  */
49
- aliaslevel?: string | number;
49
+ aliaslevel: string | number;
50
50
  /**
51
51
  * 不区分首字母大小写
52
52
  * 0 : 只支持 el-input
53
53
  * 1 : 只支持 elInput
54
54
  * 2 : 都支持
55
55
  */
56
- componentName?: string | number;
56
+ componentName: string | number;
57
57
  examples?: GlobComs;
58
58
  examplesRaw?: Globs;
59
59
  md?: string;
@@ -1,14 +1,14 @@
1
- import { mergeObject as t } from "../node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js";
2
- const o = {
1
+ import { mergeObject } from "../node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js";
2
+ const config = {
3
3
  components: []
4
4
  };
5
- function r(n) {
6
- return t(o, n, 2);
5
+ function userConfig(defaultConfig) {
6
+ return mergeObject(config, defaultConfig, 2);
7
7
  }
8
- function c(n) {
9
- return o[n];
8
+ function getConfig(key) {
9
+ return config[key];
10
10
  }
11
11
  export {
12
- c as getConfig,
13
- r as userConfig
12
+ getConfig,
13
+ userConfig
14
14
  };
@@ -1,15 +1,15 @@
1
- import "../../node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js";
1
+ import { resolveComponent, openBlock, createElementBlock, createVNode } from "vue";
2
2
  import "./index.vue2.js";
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- import { resolveComponent as t, openBlock as r, createElementBlock as c, createVNode as n } from "../../node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js";
5
- const _ = {}, s = { class: "__document" };
6
- function i(m, p) {
7
- const e = t("router-view");
8
- return r(), c("div", s, [
9
- n(e)
3
+ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const _sfc_main = {};
5
+ const _hoisted_1 = { class: "__document" };
6
+ function _sfc_render(_ctx, _cache) {
7
+ const _component_router_view = resolveComponent("router-view");
8
+ return openBlock(), createElementBlock("div", _hoisted_1, [
9
+ createVNode(_component_router_view)
10
10
  ]);
11
11
  }
12
- const u = /* @__PURE__ */ o(_, [["render", i]]);
12
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
13
13
  export {
14
- u as default
14
+ index as default
15
15
  };
@@ -1,4 +1,4 @@
1
- const e = "";
1
+ const index_vue_vue_type_style_index_0_lang = "";
2
2
  export {
3
- e as default
3
+ index_vue_vue_type_style_index_0_lang as default
4
4
  };