@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,160 @@
1
- "use strict";const e=require("vue"),v=require("../../util.js"),y={class:"form-select"},b=["value","disabled","onClick","onBlur"],g={class:"form-select-box"},B={class:"form-select-list"},V={key:0,class:"form-select-list-div"},E=["onClick"],C={key:1,class:"no-data"},N=e.defineComponent({__name:"index",props:{modelValue:{type:null},dataType:{type:[String,Array]},disabled:Boolean,list:{type:Array},noValue:Boolean,config:{type:Object,default(){return{label:"label",prop:"prop"}}}},emits:["value","change"],setup(f,{emit:r}){const o=f,a=e.ref(!1),i=e.ref({});e.watch(()=>o.modelValue,()=>{p()},{immediate:!0});function p(){if(o.list)for(let t=0;t<o.list.length;t++){const l=o.list[t];if(c(l)===o.modelValue){i.value=l,o.noValue||d();break}}}function u(t){var n;let l=(n=o.config)==null?void 0:n.label;return l&&typeof t=="object"&&t?t[l]:t}function c(t){var n;let l=(n=o.config)==null?void 0:n.prop;return l&&typeof t=="object"&&t?t[l]:t}function m(t){return c(t)===c(i.value)}function h(){o.disabled||(a.value=!0)}function _(){setTimeout(()=>{a.value=!1},100)}function k(t){i.value=t,d()}function d(){const t=c(i.value);let l;if(o.dataType&&o.dataType.length==1){let n=o.dataType[0];if(n=="string")l=v.getString(t);else if(n=="number"){const s=Number(t);isNaN(s)?l=0:l=s}else l=t}else l=t;r("value",l,JSON.stringify(t)),r("change",l,i.value)}return(t,l)=>(e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("input",{value:u(i.value),readonly:"",placeholder:"请选择",type:"text",disabled:o.disabled,onClick:e.withModifiers(h,["stop"]),onBlur:e.withModifiers(_,["stop"])},null,40,b),e.createElementVNode("div",g,[e.withDirectives(e.createElementVNode("div",B,[o.list&&o.list.length>0?(e.openBlock(),e.createElementBlock("div",V,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.list,(n,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["form-select-list-li",{active:m(n)}]),onClick:e.withModifiers(w=>k(n),["stop"])},[e.createElementVNode("span",null,e.toDisplayString(u(n)),1)],10,E))),256))])):(e.openBlock(),e.createElementBlock("div",C," 暂无数据 "))],512),[[e.vShow,a.value]])])]))}});module.exports=N;
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const util = require("../../util.js");
4
+ const _hoisted_1 = { class: "form-select" };
5
+ const _hoisted_2 = ["value", "disabled", "onClick", "onBlur"];
6
+ const _hoisted_3 = { class: "form-select-box" };
7
+ const _hoisted_4 = { class: "form-select-list" };
8
+ const _hoisted_5 = {
9
+ key: 0,
10
+ class: "form-select-list-div"
11
+ };
12
+ const _hoisted_6 = ["onClick"];
13
+ const _hoisted_7 = {
14
+ key: 1,
15
+ class: "no-data"
16
+ };
17
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
18
+ __name: "index",
19
+ props: {
20
+ modelValue: {
21
+ type: null
22
+ },
23
+ dataType: { type: [String, Array] },
24
+ disabled: Boolean,
25
+ list: {
26
+ type: Array
27
+ },
28
+ noValue: Boolean,
29
+ config: {
30
+ type: Object,
31
+ default() {
32
+ return {
33
+ label: "label",
34
+ prop: "prop"
35
+ };
36
+ }
37
+ }
38
+ },
39
+ emits: ["value", "change"],
40
+ setup(__props, { emit }) {
41
+ const props = __props;
42
+ const isShow = vue.ref(false);
43
+ const curValue = vue.ref({});
44
+ vue.watch(
45
+ () => props.modelValue,
46
+ () => {
47
+ setValue();
48
+ },
49
+ {
50
+ immediate: true
51
+ }
52
+ );
53
+ function setValue() {
54
+ if (props.list) {
55
+ for (let index = 0; index < props.list.length; index++) {
56
+ const element = props.list[index];
57
+ if (setProp(element) === props.modelValue) {
58
+ curValue.value = element;
59
+ if (!props.noValue) {
60
+ onChange();
61
+ }
62
+ break;
63
+ }
64
+ }
65
+ }
66
+ }
67
+ function setLabel(v) {
68
+ var _a;
69
+ let label = (_a = props.config) == null ? void 0 : _a.label;
70
+ if (label && typeof v == "object" && v) {
71
+ const t = v;
72
+ return t[label];
73
+ } else {
74
+ return v;
75
+ }
76
+ }
77
+ function setProp(v) {
78
+ var _a;
79
+ let prop = (_a = props.config) == null ? void 0 : _a.prop;
80
+ if (prop && typeof v == "object" && v) {
81
+ const t = v;
82
+ return t[prop];
83
+ } else {
84
+ return v;
85
+ }
86
+ }
87
+ function isActive(v) {
88
+ return setProp(v) === setProp(curValue.value);
89
+ }
90
+ function onClick() {
91
+ if (!props.disabled) {
92
+ isShow.value = true;
93
+ }
94
+ }
95
+ function onBlur() {
96
+ setTimeout(() => {
97
+ isShow.value = false;
98
+ }, 100);
99
+ }
100
+ function onSelect(v) {
101
+ curValue.value = v;
102
+ onChange();
103
+ }
104
+ function onChange() {
105
+ const z = setProp(curValue.value);
106
+ let v;
107
+ if (props.dataType && props.dataType.length == 1) {
108
+ let type = props.dataType[0];
109
+ if (type == "string") {
110
+ v = util.getString(z);
111
+ } else if (type == "number") {
112
+ const t = Number(z);
113
+ if (isNaN(t)) {
114
+ v = 0;
115
+ } else {
116
+ v = t;
117
+ }
118
+ } else {
119
+ v = z;
120
+ }
121
+ } else {
122
+ v = z;
123
+ }
124
+ emit("value", v, JSON.stringify(z));
125
+ emit("change", v, curValue.value);
126
+ }
127
+ return (_ctx, _cache) => {
128
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
129
+ vue.createElementVNode("input", {
130
+ value: setLabel(curValue.value),
131
+ readonly: "",
132
+ placeholder: "请选择",
133
+ type: "text",
134
+ disabled: props.disabled,
135
+ onClick: vue.withModifiers(onClick, ["stop"]),
136
+ onBlur: vue.withModifiers(onBlur, ["stop"])
137
+ }, null, 40, _hoisted_2),
138
+ vue.createElementVNode("div", _hoisted_3, [
139
+ vue.withDirectives(vue.createElementVNode("div", _hoisted_4, [
140
+ props.list && props.list.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
141
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.list, (v, k) => {
142
+ return vue.openBlock(), vue.createElementBlock("div", {
143
+ class: vue.normalizeClass(["form-select-list-li", {
144
+ active: isActive(v)
145
+ }]),
146
+ onClick: vue.withModifiers(($event) => onSelect(v), ["stop"])
147
+ }, [
148
+ vue.createElementVNode("span", null, vue.toDisplayString(setLabel(v)), 1)
149
+ ], 10, _hoisted_6);
150
+ }), 256))
151
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, " 暂无数据 "))
152
+ ], 512), [
153
+ [vue.vShow, isShow.value]
154
+ ])
155
+ ])
156
+ ]);
157
+ };
158
+ }
159
+ });
160
+ module.exports = _sfc_main;
@@ -1 +1,3 @@
1
- "use strict";const e="";module.exports=e;
1
+ "use strict";
2
+ const index_vue_vue_type_style_index_0_lang = "";
3
+ module.exports = index_vue_vue_type_style_index_0_lang;
@@ -1 +1,4 @@
1
- "use strict";const e=require("./index.vue.js");require("./index.vue2.js");module.exports=e;
1
+ "use strict";
2
+ const index_vue_vue_type_script_setup_true_lang = require("./index.vue.js");
3
+ require("./index.vue2.js");
4
+ module.exports = index_vue_vue_type_script_setup_true_lang;
@@ -1 +1,57 @@
1
- "use strict";const e=require("vue"),i=require("../../util.js"),v={class:"slot"},_=["value"],d=["onClick"],f=e.defineComponent({__name:"index",props:{value:{type:Object}},emits:["change","error"],setup(p,{emit:r}){const n=e.ref(),s=e.ref("");function l(){const o=n.value.value;try{r("change",o),r("error",!1)}catch(t){r("error",!0),console.log("error",t)}}function a(c){var t;const o=(t=c.target)==null?void 0:t.value;try{s.value=i.prettierHtml(o),r("error",!1)}catch(u){r("error",!0),console.log("error",u)}}return(c,o)=>(e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("textarea",{rows:"5",value:s.value,ref_key:"refText",ref:n,onBlur:a},null,40,_),e.createElementVNode("div",{onClick:e.withModifiers(l,["stop"]),class:"but-div"}," 插入 ",8,d)]))}});module.exports=f;
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const util = require("../../util.js");
4
+ const _hoisted_1 = { class: "slot" };
5
+ const _hoisted_2 = ["value"];
6
+ const _hoisted_3 = ["onClick"];
7
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
8
+ __name: "index",
9
+ props: {
10
+ value: {
11
+ type: Object
12
+ }
13
+ },
14
+ emits: ["change", "error"],
15
+ setup(__props, { emit }) {
16
+ const refText = vue.ref();
17
+ const value = vue.ref("");
18
+ function onClick() {
19
+ const dom = refText.value;
20
+ const v = dom.value;
21
+ try {
22
+ emit("change", v);
23
+ emit("error", false);
24
+ } catch (error) {
25
+ emit("error", true);
26
+ console.log("error", error);
27
+ }
28
+ }
29
+ function onBlur(e) {
30
+ var _a;
31
+ const v = (_a = e.target) == null ? void 0 : _a.value;
32
+ try {
33
+ value.value = util.prettierHtml(v);
34
+ emit("error", false);
35
+ } catch (error) {
36
+ emit("error", true);
37
+ console.log("error", error);
38
+ }
39
+ }
40
+ return (_ctx, _cache) => {
41
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
42
+ vue.createElementVNode("textarea", {
43
+ rows: "5",
44
+ value: value.value,
45
+ ref_key: "refText",
46
+ ref: refText,
47
+ onBlur
48
+ }, null, 40, _hoisted_2),
49
+ vue.createElementVNode("div", {
50
+ onClick: vue.withModifiers(onClick, ["stop"]),
51
+ class: "but-div"
52
+ }, " 插入 ", 8, _hoisted_3)
53
+ ]);
54
+ };
55
+ }
56
+ });
57
+ 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,62 @@
1
- "use strict";const t=require("vue"),s=require("../../util.js"),p={class:"form-number"},v=["value","onBlur"],d=t.defineComponent({__name:"index",props:{modelValue:{type:null},config:{type:Object,default(){return{label:"label",prop:"prop"}}}},emits:["value"],setup(c,{emit:n}){const r=c,l=t.ref("");t.watch(()=>r.modelValue,()=>{let e=r.modelValue;l.value=o(e)},{immediate:!0});function i(e){var a;const u=(a=e.target)==null?void 0:a.value;o(u)}function o(e){return e?(e=s.getString(e),n("value",e,JSON.stringify(e)),e):(n("value",void 0,JSON.stringify("")),"")}return(e,u)=>(t.openBlock(),t.createElementBlock("div",p,[t.createElementVNode("textarea",{rows:"3",value:l.value,onBlur:t.withModifiers(i,["stop"])},null,40,v)]))}});module.exports=d;
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const util = require("../../util.js");
4
+ const _hoisted_1 = { class: "form-number" };
5
+ const _hoisted_2 = ["value", "onBlur"];
6
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
7
+ __name: "index",
8
+ props: {
9
+ modelValue: {
10
+ type: null
11
+ },
12
+ config: {
13
+ type: Object,
14
+ default() {
15
+ return {
16
+ label: "label",
17
+ prop: "prop"
18
+ };
19
+ }
20
+ }
21
+ },
22
+ emits: ["value"],
23
+ setup(__props, { emit }) {
24
+ const props = __props;
25
+ const value = vue.ref("");
26
+ vue.watch(
27
+ () => props.modelValue,
28
+ () => {
29
+ let v = props.modelValue;
30
+ value.value = check(v);
31
+ },
32
+ {
33
+ immediate: true
34
+ }
35
+ );
36
+ function onBlur(e) {
37
+ var _a;
38
+ const v = (_a = e.target) == null ? void 0 : _a.value;
39
+ check(v);
40
+ }
41
+ function check(st) {
42
+ if (st) {
43
+ st = util.getString(st);
44
+ emit("value", st, JSON.stringify(st));
45
+ return st;
46
+ } else {
47
+ emit("value", void 0, JSON.stringify(""));
48
+ return "";
49
+ }
50
+ }
51
+ return (_ctx, _cache) => {
52
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
53
+ vue.createElementVNode("textarea", {
54
+ rows: "3",
55
+ value: value.value,
56
+ onBlur: vue.withModifiers(onBlur, ["stop"])
57
+ }, null, 40, _hoisted_2)
58
+ ]);
59
+ };
60
+ }
61
+ });
62
+ 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,18 +1,188 @@
1
- "use strict";const e=require("vue"),d=require("./util.js"),V=require("../code/highlight.vue.js"),N=require("../../utils/index.js"),O=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js"),_=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js"),S=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js"),q={class:"set-code"},y=e.createElementVNode("div",null,"代码",-1),F={class:"but-div set-code-but"},w=["onClick"],B={class:"set-code-html"},J=e.defineComponent({__name:"set-code",props:{name:{type:String},value:{type:Object},slotValue:{type:Object},propsText:{type:Object}},setup(b){const r=b,m=e.computed(()=>{const s=[],t=[];let i=!0;const n=r.value;Object.keys(n).forEach(o=>{let p=n[o];if(/^on[A-Z]/.test(o)&&typeof p=="function"){let u=o.substring(2);const a=o.split(":");let l;if(a.length>1?(l=a[0]+a.slice(1).map(f=>_.firstUpper(f)).join(""),u=S.firstLower(u)):(l=a[0],u=O.humpToLine(u)),a.includes("-")){let f=l.split("-");f=f.map((g,E)=>E!=0?_.firstUpper(g):g),l=f.join("")}s.push(" @"+u+'="'+l+'"'),t.push("function "+l+"(...arr) {"),t.push(" console.log('"+l+"', arr)"),t.push("}")}else if(s.push(" :"+o+'="'+o+'"'),typeof p=="function")t.push("const "+o+" = "+$(p,o));else if(i&&(i=!1,t.unshift("import { ref } from 'vue';")),typeof p>"u")t.push("const "+o+" = ref();");else{let u=T(p,o);t.push("const "+o+" = ref("+u+");")}}),s.length>0&&s.unshift("");const c=x(r.slotValue);return`<!--${r.name}-->
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const util = require("./util.js");
4
+ const highlight = require("../code/highlight.vue.js");
5
+ const index = require("../../utils/index.js");
6
+ const chunkJ7CICTHH = require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js");
7
+ const chunkEWJJKQIO = require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js");
8
+ const chunk4OBNLDTJ = require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js");
9
+ const _hoisted_1 = { class: "set-code" };
10
+ const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("div", null, "代码", -1);
11
+ const _hoisted_3 = { class: "but-div set-code-but" };
12
+ const _hoisted_4 = ["onClick"];
13
+ const _hoisted_5 = { class: "set-code-html" };
14
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
15
+ __name: "set-code",
16
+ props: {
17
+ name: {
18
+ type: String
19
+ },
20
+ value: {
21
+ type: Object
22
+ },
23
+ slotValue: {
24
+ type: Object
25
+ },
26
+ propsText: {
27
+ type: Object
28
+ }
29
+ },
30
+ setup(__props) {
31
+ const props = __props;
32
+ const html = vue.computed(() => {
33
+ const tarr = [];
34
+ const sarr = [];
35
+ let is = true;
36
+ const value = props.value;
37
+ Object.keys(value).forEach((key) => {
38
+ let val = value[key];
39
+ if (/^on[A-Z]/.test(key) && typeof val == "function") {
40
+ let name = key.substring(2);
41
+ const knam = key.split(":");
42
+ let strs;
43
+ if (knam.length > 1) {
44
+ strs = knam[0] + knam.slice(1).map((o) => chunkEWJJKQIO.firstUpper(o)).join("");
45
+ name = chunk4OBNLDTJ.firstLower(name);
46
+ } else {
47
+ strs = knam[0];
48
+ name = chunkJ7CICTHH.humpToLine(name);
49
+ }
50
+ if (knam.includes("-")) {
51
+ let arr = strs.split("-");
52
+ arr = arr.map((vs, i) => {
53
+ if (i != 0) {
54
+ return chunkEWJJKQIO.firstUpper(vs);
55
+ } else {
56
+ return vs;
57
+ }
58
+ });
59
+ strs = arr.join("");
60
+ }
61
+ tarr.push(
62
+ " @" + name + '="' + strs + '"'
63
+ );
64
+ sarr.push("function " + strs + "(...arr) {");
65
+ sarr.push(
66
+ " console.log('" + strs + "', arr)"
67
+ );
68
+ sarr.push("}");
69
+ } else {
70
+ tarr.push(
71
+ " :" + key + '="' + key + '"'
72
+ );
73
+ if (typeof val == "function") {
74
+ sarr.push(
75
+ "const " + key + " = " + getFunctionBody(val, key)
76
+ );
77
+ } else {
78
+ if (is) {
79
+ is = false;
80
+ sarr.unshift(
81
+ "import { ref } from 'vue';"
82
+ );
83
+ }
84
+ if (typeof val == "undefined") {
85
+ sarr.push("const " + key + " = ref();");
86
+ } else {
87
+ let st2 = setValStringify(val, key);
88
+ sarr.push(
89
+ "const " + key + " = ref(" + st2 + ");"
90
+ );
91
+ }
92
+ }
93
+ }
94
+ });
95
+ if (tarr.length > 0) {
96
+ tarr.unshift("");
97
+ }
98
+ const slots = getSlots(props.slotValue);
99
+ const st = `<!--${props.name}-->
2
100
  <template>
3
101
  <div>
4
- <${r.name}${s.join(`
5
- `)}>${c.join(`
6
- `)}
7
- </${r.name}>
102
+ <${props.name}${tarr.join("\n")}>${slots.join("\n")}
103
+ </${props.name}>
8
104
  </div>
9
105
  </template>
10
106
  <script lang="ts" setup>
11
- ${t.join(`
12
- `)}
107
+ ${sarr.join("\n")}
13
108
  <\/script>
14
- `}),h=e.ref(!1);function x(s){const t=[];return Object.keys(s).forEach(i=>{const n=s[i];if(n){const c=` <template #${i}="scope">
15
- ${d.vueFormat(n," ")}
16
- </template>`;t.push(c)}}),t&&t.length>0&&t.unshift(""),t}function $(s,t){const n=r.propsText[t];if(n)return"function"+n;{const c=d.getFunctionFormat(d.prettierFormat(s.toString()));if(c){let v=`{
17
- ${d.vueFormat(d.getFunBody(c.body)," ")}
18
- }`;return`function${c.param}${v}`}else return"undefined"}}function T(s,t){const n=r.propsText[t];return n||JSON.stringify(s)}function j(){h.value=!h.value}function C(){N.copyCode(m.value)}return(s,t)=>(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("div",{onClick:j,class:"set-code-buts"},[y,e.createElementVNode("div",F,e.toDisplayString(h.value?"显示":"隐藏"),1),e.createElementVNode("div",{onClick:e.withModifiers(C,["stop"]),class:"but-div set-code-but"}," 复制 ",8,w)]),e.withDirectives(e.createElementVNode("div",B,[e.createVNode(V,{language:"html",code:e.unref(m)},null,8,["code"])],512),[[e.vShow,h.value]])]))}});module.exports=J;
109
+ `;
110
+ return st;
111
+ });
112
+ const isShow = vue.ref(false);
113
+ function getSlots(obj) {
114
+ const arr = [];
115
+ Object.keys(obj).forEach((key) => {
116
+ const v = obj[key];
117
+ if (v) {
118
+ const st = ` <template #${key}="scope">
119
+ ${util.vueFormat(v, " ")}
120
+ </template>`;
121
+ arr.push(st);
122
+ }
123
+ });
124
+ if (arr && arr.length > 0) {
125
+ arr.unshift("");
126
+ }
127
+ return arr;
128
+ }
129
+ function getFunctionBody(v, key) {
130
+ const propsText = props.propsText;
131
+ const text = propsText[key];
132
+ if (text) {
133
+ return "function" + text;
134
+ } else {
135
+ const st = util.getFunctionFormat(
136
+ util.prettierFormat(v.toString())
137
+ );
138
+ if (st) {
139
+ let body = `{
140
+ ${util.vueFormat(util.getFunBody(st.body), " ")}
141
+ }`;
142
+ return `function${st.param}${body}`;
143
+ } else {
144
+ return "undefined";
145
+ }
146
+ }
147
+ }
148
+ function setValStringify(v, key) {
149
+ const propsText = props.propsText;
150
+ const text = propsText[key];
151
+ if (text) {
152
+ return text;
153
+ } else {
154
+ return JSON.stringify(v);
155
+ }
156
+ }
157
+ function onClick() {
158
+ isShow.value = !isShow.value;
159
+ }
160
+ function onClickCopy() {
161
+ index.copyCode(html.value);
162
+ }
163
+ return (_ctx, _cache) => {
164
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
165
+ vue.createElementVNode("div", {
166
+ onClick,
167
+ class: "set-code-buts"
168
+ }, [
169
+ _hoisted_2,
170
+ vue.createElementVNode("div", _hoisted_3, vue.toDisplayString(isShow.value ? "显示" : "隐藏"), 1),
171
+ vue.createElementVNode("div", {
172
+ onClick: vue.withModifiers(onClickCopy, ["stop"]),
173
+ class: "but-div set-code-but"
174
+ }, " 复制 ", 8, _hoisted_4)
175
+ ]),
176
+ vue.withDirectives(vue.createElementVNode("div", _hoisted_5, [
177
+ vue.createVNode(highlight, {
178
+ language: "html",
179
+ code: vue.unref(html)
180
+ }, null, 8, ["code"])
181
+ ], 512), [
182
+ [vue.vShow, isShow.value]
183
+ ])
184
+ ]);
185
+ };
186
+ }
187
+ });
188
+ module.exports = _sfc_main;
@@ -1 +1,3 @@
1
- "use strict";const e=require("./set-code.vue.js");module.exports=e;
1
+ "use strict";
2
+ const setCode_vue_vue_type_script_setup_true_lang = require("./set-code.vue.js");
3
+ module.exports = setCode_vue_vue_type_script_setup_true_lang;
@@ -1 +1,63 @@
1
- "use strict";const e=require("vue"),p={key:0,class:"set-emit"},d=e.defineComponent({__name:"set-emit",props:{list:Array,value:{type:Object}},setup(s){const l=s;function a(n){return n.name+": ("+n.selectable+") "+n.description}function c(n){let r=n.name;if(l.value){let t=l.value[r];return t?t.arr||[]:[]}else return[]}function i(n){let r=n.name;if(l.value){let t=l.value[r];return(t==null?void 0:t._date_)||""}else return""}return(n,r)=>l.list&&l.list.length>0?(e.openBlock(),e.createElementBlock("div",p,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.list,(t,u)=>(e.openBlock(),e.createElementBlock("div",{key:u},[e.createElementVNode("div",null,e.toDisplayString(a(t)),1),e.createElementVNode("div",null,[e.createElementVNode("span",null,"事件返回数据:"+e.toDisplayString(i(t)),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c(t),(m,o)=>(e.openBlock(),e.createElementBlock("div",{key:o},[e.createElementVNode("span",null,"参数"+e.toDisplayString(o+1)+":",1),e.createElementVNode("span",null,e.toDisplayString(JSON.stringify(m)),1)]))),128))])]))),128))])):e.createCommentVNode("",!0)}});module.exports=d;
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const _hoisted_1 = {
4
+ key: 0,
5
+ class: "set-emit"
6
+ };
7
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
8
+ __name: "set-emit",
9
+ props: {
10
+ list: Array,
11
+ value: {
12
+ type: Object
13
+ }
14
+ },
15
+ setup(__props) {
16
+ const props = __props;
17
+ function setLabel(val) {
18
+ let st = val.name + ": (" + val.selectable + ") " + val.description;
19
+ return st;
20
+ }
21
+ function setValue(val) {
22
+ let name = val.name;
23
+ if (props.value) {
24
+ let arr = props.value[name];
25
+ if (arr) {
26
+ return arr.arr || [];
27
+ } else {
28
+ return [];
29
+ }
30
+ } else {
31
+ return [];
32
+ }
33
+ }
34
+ function setDate(val) {
35
+ let name = val.name;
36
+ if (props.value) {
37
+ let arr = props.value[name];
38
+ return (arr == null ? void 0 : arr._date_) || "";
39
+ } else {
40
+ return "";
41
+ }
42
+ }
43
+ return (_ctx, _cache) => {
44
+ return props.list && props.list.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
45
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.list, (item, index) => {
46
+ return vue.openBlock(), vue.createElementBlock("div", { key: index }, [
47
+ vue.createElementVNode("div", null, vue.toDisplayString(setLabel(item)), 1),
48
+ vue.createElementVNode("div", null, [
49
+ vue.createElementVNode("span", null, "事件返回数据:" + vue.toDisplayString(setDate(item)), 1),
50
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(setValue(item), (val, key) => {
51
+ return vue.openBlock(), vue.createElementBlock("div", { key }, [
52
+ vue.createElementVNode("span", null, "参数" + vue.toDisplayString(key + 1) + ":", 1),
53
+ vue.createElementVNode("span", null, vue.toDisplayString(JSON.stringify(val)), 1)
54
+ ]);
55
+ }), 128))
56
+ ])
57
+ ]);
58
+ }), 128))
59
+ ])) : vue.createCommentVNode("", true);
60
+ };
61
+ }
62
+ });
63
+ module.exports = _sfc_main;
@@ -1 +1,3 @@
1
- "use strict";const e=require("./set-emit.vue.js");module.exports=e;
1
+ "use strict";
2
+ const setEmit_vue_vue_type_script_setup_true_lang = require("./set-emit.vue.js");
3
+ module.exports = setEmit_vue_vue_type_script_setup_true_lang;
@@ -1 +1,52 @@
1
- "use strict";const e=require("vue"),i=require("./retrie/select/index.vue.js");require("./retrie/select/index.vue2.js");const a=require("./retrie/expose/index.vue.js"),_={key:0,class:"set-expose"},p=e.defineComponent({__name:"set-expose",props:{list:Array,name:String,getRef:{type:Function}},setup(u){const t=u,o=e.computed(()=>{var n;return(n=t.list)==null?void 0:n.map((s,l)=>({label:s.name,prop:l}))}),r=e.ref({});function c(n){t.list&&(r.value=t.list[n])}return(n,s)=>t.list&&t.list.length>0?(e.openBlock(),e.createElementBlock("div",_,[e.createTextVNode(" 请先选择要执行的方法 "),e.createVNode(i,{onChange:c,list:e.unref(o)},null,8,["list"]),e.createVNode(a,{name:t.name,value:r.value,getRef:t.getRef},null,8,["name","value","getRef"])])):e.createCommentVNode("",!0)}});module.exports=p;
1
+ "use strict";
2
+ const vue = require("vue");
3
+ const index_vue_vue_type_script_setup_true_lang = require("./retrie/select/index.vue.js");
4
+ require("./retrie/select/index.vue2.js");
5
+ const index_vue_vue_type_script_setup_true_lang$1 = require("./retrie/expose/index.vue.js");
6
+ const _hoisted_1 = {
7
+ key: 0,
8
+ class: "set-expose"
9
+ };
10
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
11
+ __name: "set-expose",
12
+ props: {
13
+ list: Array,
14
+ name: String,
15
+ getRef: {
16
+ type: Function
17
+ }
18
+ },
19
+ setup(__props) {
20
+ const props = __props;
21
+ const list = vue.computed(() => {
22
+ var _a;
23
+ return (_a = props.list) == null ? void 0 : _a.map((o, index) => {
24
+ return {
25
+ label: o.name,
26
+ prop: index
27
+ };
28
+ });
29
+ });
30
+ const curValue = vue.ref({});
31
+ function onChange(v) {
32
+ if (props.list) {
33
+ curValue.value = props.list[v];
34
+ }
35
+ }
36
+ return (_ctx, _cache) => {
37
+ return props.list && props.list.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
38
+ vue.createTextVNode(" 请先选择要执行的方法 "),
39
+ vue.createVNode(index_vue_vue_type_script_setup_true_lang, {
40
+ onChange,
41
+ list: vue.unref(list)
42
+ }, null, 8, ["list"]),
43
+ vue.createVNode(index_vue_vue_type_script_setup_true_lang$1, {
44
+ name: props.name,
45
+ value: curValue.value,
46
+ getRef: props.getRef
47
+ }, null, 8, ["name", "value", "getRef"])
48
+ ])) : vue.createCommentVNode("", true);
49
+ };
50
+ }
51
+ });
52
+ module.exports = _sfc_main;
@@ -1 +1,3 @@
1
- "use strict";const e=require("./set-expose.vue.js");module.exports=e;
1
+ "use strict";
2
+ const setExpose_vue_vue_type_script_setup_true_lang = require("./set-expose.vue.js");
3
+ module.exports = setExpose_vue_vue_type_script_setup_true_lang;