@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,9 +1,11 @@
1
- var I, $;
2
- function V() {
3
- if ($)
4
- return I;
5
- $ = 1;
6
- const b = "[A-Za-z$_][0-9A-Za-z$_]*", O = [
1
+ var typescript_1;
2
+ var hasRequiredTypescript;
3
+ function requireTypescript() {
4
+ if (hasRequiredTypescript)
5
+ return typescript_1;
6
+ hasRequiredTypescript = 1;
7
+ const IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*";
8
+ const KEYWORDS = [
7
9
  "as",
8
10
  // for exports
9
11
  "in",
@@ -46,14 +48,16 @@ function V() {
46
48
  "from",
47
49
  "export",
48
50
  "extends"
49
- ], C = [
51
+ ];
52
+ const LITERALS = [
50
53
  "true",
51
54
  "false",
52
55
  "null",
53
56
  "undefined",
54
57
  "NaN",
55
58
  "Infinity"
56
- ], v = [
59
+ ];
60
+ const TYPES = [
57
61
  // Fundamental objects
58
62
  "Object",
59
63
  "Function",
@@ -103,7 +107,8 @@ function V() {
103
107
  "Intl",
104
108
  // WebAssembly
105
109
  "WebAssembly"
106
- ], M = [
110
+ ];
111
+ const ERROR_TYPES = [
107
112
  "Error",
108
113
  "EvalError",
109
114
  "InternalError",
@@ -112,7 +117,8 @@ function V() {
112
117
  "SyntaxError",
113
118
  "TypeError",
114
119
  "URIError"
115
- ], w = [
120
+ ];
121
+ const BUILT_IN_GLOBALS = [
116
122
  "setInterval",
117
123
  "setTimeout",
118
124
  "clearInterval",
@@ -130,7 +136,8 @@ function V() {
130
136
  "encodeURIComponent",
131
137
  "escape",
132
138
  "unescape"
133
- ], x = [
139
+ ];
140
+ const BUILT_IN_VARIABLES = [
134
141
  "arguments",
135
142
  "this",
136
143
  "super",
@@ -141,64 +148,83 @@ function V() {
141
148
  "module",
142
149
  "global"
143
150
  // Node.js
144
- ], L = [].concat(
145
- w,
146
- v,
147
- M
151
+ ];
152
+ const BUILT_INS = [].concat(
153
+ BUILT_IN_GLOBALS,
154
+ TYPES,
155
+ ERROR_TYPES
148
156
  );
149
- function F(n) {
150
- const e = n.regex, T = (s, { after: i }) => {
151
- const u = "</" + s[0].slice(1);
152
- return s.input.indexOf(u, i) !== -1;
153
- }, t = b, g = {
157
+ function javascript(hljs) {
158
+ const regex = hljs.regex;
159
+ const hasClosingTag = (match, { after }) => {
160
+ const tag = "</" + match[0].slice(1);
161
+ const pos = match.input.indexOf(tag, after);
162
+ return pos !== -1;
163
+ };
164
+ const IDENT_RE$1 = IDENT_RE;
165
+ const FRAGMENT = {
154
166
  begin: "<>",
155
167
  end: "</>"
156
- }, f = /<[A-Za-z0-9\\._:-]+\s*\/>/, r = {
168
+ };
169
+ const XML_SELF_CLOSING = /<[A-Za-z0-9\\._:-]+\s*\/>/;
170
+ const XML_TAG = {
157
171
  begin: /<[A-Za-z0-9\\._:-]+/,
158
172
  end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
159
173
  /**
160
174
  * @param {RegExpMatchArray} match
161
175
  * @param {CallbackResponse} response
162
176
  */
163
- isTrulyOpeningTag: (s, i) => {
164
- const u = s[0].length + s.index, m = s.input[u];
177
+ isTrulyOpeningTag: (match, response) => {
178
+ const afterMatchIndex = match[0].length + match.index;
179
+ const nextChar = match.input[afterMatchIndex];
165
180
  if (
166
181
  // HTML should not include another raw `<` inside a tag
167
182
  // nested type?
168
183
  // `<Array<Array<number>>`, etc.
169
- m === "<" || // the , gives away that this is not HTML
184
+ nextChar === "<" || // the , gives away that this is not HTML
170
185
  // `<T, A extends keyof T, V>`
171
- m === ","
186
+ nextChar === ","
172
187
  ) {
173
- i.ignoreMatch();
188
+ response.ignoreMatch();
174
189
  return;
175
190
  }
176
- m === ">" && (T(s, { after: u }) || i.ignoreMatch());
177
- let p;
178
- const P = s.input.substring(u);
179
- if (p = P.match(/^\s*=/)) {
180
- i.ignoreMatch();
181
- return;
191
+ if (nextChar === ">") {
192
+ if (!hasClosingTag(match, { after: afterMatchIndex })) {
193
+ response.ignoreMatch();
194
+ }
182
195
  }
183
- if ((p = P.match(/^\s+extends\s+/)) && p.index === 0) {
184
- i.ignoreMatch();
196
+ let m;
197
+ const afterMatch = match.input.substring(afterMatchIndex);
198
+ if (m = afterMatch.match(/^\s*=/)) {
199
+ response.ignoreMatch();
185
200
  return;
186
201
  }
202
+ if (m = afterMatch.match(/^\s+extends\s+/)) {
203
+ if (m.index === 0) {
204
+ response.ignoreMatch();
205
+ return;
206
+ }
207
+ }
187
208
  }
188
- }, c = {
189
- $pattern: b,
190
- keyword: O,
191
- literal: C,
192
- built_in: L,
193
- "variable.language": x
194
- }, _ = "[0-9](_?[0-9])*", o = `\\.(${_})`, l = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", A = {
209
+ };
210
+ const KEYWORDS$1 = {
211
+ $pattern: IDENT_RE,
212
+ keyword: KEYWORDS,
213
+ literal: LITERALS,
214
+ built_in: BUILT_INS,
215
+ "variable.language": BUILT_IN_VARIABLES
216
+ };
217
+ const decimalDigits = "[0-9](_?[0-9])*";
218
+ const frac = `\\.(${decimalDigits})`;
219
+ const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;
220
+ const NUMBER = {
195
221
  className: "number",
196
222
  variants: [
197
223
  // DecimalLiteral
198
- { begin: `(\\b(${l})((${o})|\\.)?|(${o}))[eE][+-]?(${_})\\b` },
199
- { begin: `\\b(${l})\\b((${o})\\b|\\.)?|(${o})\\b` },
224
+ { begin: `(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b` },
225
+ { begin: `\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b` },
200
226
  // DecimalBigIntegerLiteral
201
- { begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
227
+ { begin: `\\b(0|[1-9](_?[0-9])*)n\\b` },
202
228
  // NonDecimalIntegerLiteral
203
229
  { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
204
230
  { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
@@ -208,141 +234,151 @@ function V() {
208
234
  { begin: "\\b0[0-7]+n?\\b" }
209
235
  ],
210
236
  relevance: 0
211
- }, a = {
237
+ };
238
+ const SUBST = {
212
239
  className: "subst",
213
240
  begin: "\\$\\{",
214
241
  end: "\\}",
215
- keywords: c,
242
+ keywords: KEYWORDS$1,
216
243
  contains: []
217
244
  // defined later
218
- }, N = {
245
+ };
246
+ const HTML_TEMPLATE = {
219
247
  begin: "html`",
220
248
  end: "",
221
249
  starts: {
222
250
  end: "`",
223
- returnEnd: !1,
251
+ returnEnd: false,
224
252
  contains: [
225
- n.BACKSLASH_ESCAPE,
226
- a
253
+ hljs.BACKSLASH_ESCAPE,
254
+ SUBST
227
255
  ],
228
256
  subLanguage: "xml"
229
257
  }
230
- }, S = {
258
+ };
259
+ const CSS_TEMPLATE = {
231
260
  begin: "css`",
232
261
  end: "",
233
262
  starts: {
234
263
  end: "`",
235
- returnEnd: !1,
264
+ returnEnd: false,
236
265
  contains: [
237
- n.BACKSLASH_ESCAPE,
238
- a
266
+ hljs.BACKSLASH_ESCAPE,
267
+ SUBST
239
268
  ],
240
269
  subLanguage: "css"
241
270
  }
242
- }, E = {
271
+ };
272
+ const TEMPLATE_STRING = {
243
273
  className: "string",
244
274
  begin: "`",
245
275
  end: "`",
246
276
  contains: [
247
- n.BACKSLASH_ESCAPE,
248
- a
277
+ hljs.BACKSLASH_ESCAPE,
278
+ SUBST
249
279
  ]
250
- }, y = {
251
- className: "comment",
252
- variants: [
253
- n.COMMENT(
254
- /\/\*\*(?!\/)/,
255
- "\\*/",
280
+ };
281
+ const JSDOC_COMMENT = hljs.COMMENT(
282
+ /\/\*\*(?!\/)/,
283
+ "\\*/",
284
+ {
285
+ relevance: 0,
286
+ contains: [
256
287
  {
288
+ begin: "(?=@[A-Za-z]+)",
257
289
  relevance: 0,
258
290
  contains: [
259
291
  {
260
- begin: "(?=@[A-Za-z]+)",
261
- relevance: 0,
262
- contains: [
263
- {
264
- className: "doctag",
265
- begin: "@[A-Za-z]+"
266
- },
267
- {
268
- className: "type",
269
- begin: "\\{",
270
- end: "\\}",
271
- excludeEnd: !0,
272
- excludeBegin: !0,
273
- relevance: 0
274
- },
275
- {
276
- className: "variable",
277
- begin: t + "(?=\\s*(-)|$)",
278
- endsParent: !0,
279
- relevance: 0
280
- },
281
- // eat spaces (not newlines) so we can find
282
- // types or variables
283
- {
284
- begin: /(?=[^\n])\s/,
285
- relevance: 0
286
- }
287
- ]
292
+ className: "doctag",
293
+ begin: "@[A-Za-z]+"
294
+ },
295
+ {
296
+ className: "type",
297
+ begin: "\\{",
298
+ end: "\\}",
299
+ excludeEnd: true,
300
+ excludeBegin: true,
301
+ relevance: 0
302
+ },
303
+ {
304
+ className: "variable",
305
+ begin: IDENT_RE$1 + "(?=\\s*(-)|$)",
306
+ endsParent: true,
307
+ relevance: 0
308
+ },
309
+ // eat spaces (not newlines) so we can find
310
+ // types or variables
311
+ {
312
+ begin: /(?=[^\n])\s/,
313
+ relevance: 0
288
314
  }
289
315
  ]
290
316
  }
291
- ),
292
- n.C_BLOCK_COMMENT_MODE,
293
- n.C_LINE_COMMENT_MODE
317
+ ]
318
+ }
319
+ );
320
+ const COMMENT = {
321
+ className: "comment",
322
+ variants: [
323
+ JSDOC_COMMENT,
324
+ hljs.C_BLOCK_COMMENT_MODE,
325
+ hljs.C_LINE_COMMENT_MODE
294
326
  ]
295
- }, k = [
296
- n.APOS_STRING_MODE,
297
- n.QUOTE_STRING_MODE,
298
- N,
299
- S,
300
- E,
327
+ };
328
+ const SUBST_INTERNALS = [
329
+ hljs.APOS_STRING_MODE,
330
+ hljs.QUOTE_STRING_MODE,
331
+ HTML_TEMPLATE,
332
+ CSS_TEMPLATE,
333
+ TEMPLATE_STRING,
301
334
  // Skip numbers when they are part of a variable name
302
335
  { match: /\$\d+/ },
303
- A
336
+ NUMBER
304
337
  // This is intentional:
305
338
  // See https://github.com/highlightjs/highlight.js/issues/3288
306
339
  // hljs.REGEXP_MODE
307
340
  ];
308
- a.contains = k.concat({
341
+ SUBST.contains = SUBST_INTERNALS.concat({
309
342
  // we need to pair up {} inside our subst to prevent
310
343
  // it from ending too early by matching another }
311
344
  begin: /\{/,
312
345
  end: /\}/,
313
- keywords: c,
346
+ keywords: KEYWORDS$1,
314
347
  contains: [
315
348
  "self"
316
- ].concat(k)
349
+ ].concat(SUBST_INTERNALS)
317
350
  });
318
- const h = [].concat(y, a.contains), R = h.concat([
351
+ const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);
352
+ const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([
319
353
  // eat recursive parens in sub expressions
320
354
  {
321
355
  begin: /\(/,
322
356
  end: /\)/,
323
- keywords: c,
324
- contains: ["self"].concat(h)
357
+ keywords: KEYWORDS$1,
358
+ contains: ["self"].concat(SUBST_AND_COMMENTS)
325
359
  }
326
- ]), d = {
360
+ ]);
361
+ const PARAMS = {
327
362
  className: "params",
328
363
  begin: /\(/,
329
364
  end: /\)/,
330
- excludeBegin: !0,
331
- excludeEnd: !0,
332
- keywords: c,
333
- contains: R
334
- }, z = {
365
+ excludeBegin: true,
366
+ excludeEnd: true,
367
+ keywords: KEYWORDS$1,
368
+ contains: PARAMS_CONTAINS
369
+ };
370
+ const CLASS_OR_EXTENDS = {
335
371
  variants: [
336
372
  // class Car extends vehicle
337
373
  {
338
374
  match: [
339
375
  /class/,
340
376
  /\s+/,
341
- t,
377
+ IDENT_RE$1,
342
378
  /\s+/,
343
379
  /extends/,
344
380
  /\s+/,
345
- e.concat(t, "(", e.concat(/\./, t), ")*")
381
+ regex.concat(IDENT_RE$1, "(", regex.concat(/\./, IDENT_RE$1), ")*")
346
382
  ],
347
383
  scope: {
348
384
  1: "keyword",
@@ -356,7 +392,7 @@ function V() {
356
392
  match: [
357
393
  /class/,
358
394
  /\s+/,
359
- t
395
+ IDENT_RE$1
360
396
  ],
361
397
  scope: {
362
398
  1: "keyword",
@@ -364,9 +400,10 @@ function V() {
364
400
  }
365
401
  }
366
402
  ]
367
- }, B = {
403
+ };
404
+ const CLASS_REFERENCE = {
368
405
  relevance: 0,
369
- match: e.either(
406
+ match: regex.either(
370
407
  // Hard coded exceptions
371
408
  /\bJSON/,
372
409
  // Float32Array, OutT
@@ -384,22 +421,24 @@ function V() {
384
421
  keywords: {
385
422
  _: [
386
423
  // se we still get relevance credit for JS library classes
387
- ...v,
388
- ...M
424
+ ...TYPES,
425
+ ...ERROR_TYPES
389
426
  ]
390
427
  }
391
- }, G = {
428
+ };
429
+ const USE_STRICT = {
392
430
  label: "use_strict",
393
431
  className: "meta",
394
432
  relevance: 10,
395
433
  begin: /^\s*['"]use (strict|asm)['"]/
396
- }, K = {
434
+ };
435
+ const FUNCTION_DEFINITION = {
397
436
  variants: [
398
437
  {
399
438
  match: [
400
439
  /function/,
401
440
  /\s+/,
402
- t,
441
+ IDENT_RE$1,
403
442
  /(?=\s*\()/
404
443
  ]
405
444
  },
@@ -416,43 +455,46 @@ function V() {
416
455
  3: "title.function"
417
456
  },
418
457
  label: "func.def",
419
- contains: [d],
458
+ contains: [PARAMS],
420
459
  illegal: /%/
421
- }, Y = {
460
+ };
461
+ const UPPER_CASE_CONSTANT = {
422
462
  relevance: 0,
423
463
  match: /\b[A-Z][A-Z_0-9]+\b/,
424
464
  className: "variable.constant"
425
465
  };
426
- function W(s) {
427
- return e.concat("(?!", s.join("|"), ")");
466
+ function noneOf(list) {
467
+ return regex.concat("(?!", list.join("|"), ")");
428
468
  }
429
- const H = {
430
- match: e.concat(
469
+ const FUNCTION_CALL = {
470
+ match: regex.concat(
431
471
  /\b/,
432
- W([
433
- ...w,
472
+ noneOf([
473
+ ...BUILT_IN_GLOBALS,
434
474
  "super",
435
475
  "import"
436
476
  ]),
437
- t,
438
- e.lookahead(/\(/)
477
+ IDENT_RE$1,
478
+ regex.lookahead(/\(/)
439
479
  ),
440
480
  className: "title.function",
441
481
  relevance: 0
442
- }, J = {
443
- begin: e.concat(/\./, e.lookahead(
444
- e.concat(t, /(?![0-9A-Za-z$_(])/)
482
+ };
483
+ const PROPERTY_ACCESS = {
484
+ begin: regex.concat(/\./, regex.lookahead(
485
+ regex.concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)
445
486
  )),
446
- end: t,
447
- excludeBegin: !0,
487
+ end: IDENT_RE$1,
488
+ excludeBegin: true,
448
489
  keywords: "prototype",
449
490
  className: "property",
450
491
  relevance: 0
451
- }, X = {
492
+ };
493
+ const GETTER_OR_SETTER = {
452
494
  match: [
453
495
  /get|set/,
454
496
  /\s+/,
455
- t,
497
+ IDENT_RE$1,
456
498
  /(?=\()/
457
499
  ],
458
500
  className: {
@@ -464,18 +506,20 @@ function V() {
464
506
  // eat to avoid empty params
465
507
  begin: /\(\)/
466
508
  },
467
- d
509
+ PARAMS
468
510
  ]
469
- }, U = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + n.UNDERSCORE_IDENT_RE + ")\\s*=>", q = {
511
+ };
512
+ const FUNC_LEAD_IN_RE = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + hljs.UNDERSCORE_IDENT_RE + ")\\s*=>";
513
+ const FUNCTION_VARIABLE = {
470
514
  match: [
471
515
  /const|var|let/,
472
516
  /\s+/,
473
- t,
517
+ IDENT_RE$1,
474
518
  /\s*/,
475
519
  /=\s*/,
476
520
  /(async\s*)?/,
477
521
  // async is optional
478
- e.lookahead(U)
522
+ regex.lookahead(FUNC_LEAD_IN_RE)
479
523
  ],
480
524
  keywords: "async",
481
525
  className: {
@@ -483,75 +527,75 @@ function V() {
483
527
  3: "title.function"
484
528
  },
485
529
  contains: [
486
- d
530
+ PARAMS
487
531
  ]
488
532
  };
489
533
  return {
490
534
  name: "Javascript",
491
535
  aliases: ["js", "jsx", "mjs", "cjs"],
492
- keywords: c,
536
+ keywords: KEYWORDS$1,
493
537
  // this will be extended by TypeScript
494
- exports: { PARAMS_CONTAINS: R, CLASS_REFERENCE: B },
538
+ exports: { PARAMS_CONTAINS, CLASS_REFERENCE },
495
539
  illegal: /#(?![$_A-z])/,
496
540
  contains: [
497
- n.SHEBANG({
541
+ hljs.SHEBANG({
498
542
  label: "shebang",
499
543
  binary: "node",
500
544
  relevance: 5
501
545
  }),
502
- G,
503
- n.APOS_STRING_MODE,
504
- n.QUOTE_STRING_MODE,
505
- N,
506
- S,
507
- E,
508
- y,
546
+ USE_STRICT,
547
+ hljs.APOS_STRING_MODE,
548
+ hljs.QUOTE_STRING_MODE,
549
+ HTML_TEMPLATE,
550
+ CSS_TEMPLATE,
551
+ TEMPLATE_STRING,
552
+ COMMENT,
509
553
  // Skip numbers when they are part of a variable name
510
554
  { match: /\$\d+/ },
511
- A,
512
- B,
555
+ NUMBER,
556
+ CLASS_REFERENCE,
513
557
  {
514
558
  className: "attr",
515
- begin: t + e.lookahead(":"),
559
+ begin: IDENT_RE$1 + regex.lookahead(":"),
516
560
  relevance: 0
517
561
  },
518
- q,
562
+ FUNCTION_VARIABLE,
519
563
  {
520
564
  // "value" container
521
- begin: "(" + n.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
565
+ begin: "(" + hljs.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
522
566
  keywords: "return throw case",
523
567
  relevance: 0,
524
568
  contains: [
525
- y,
526
- n.REGEXP_MODE,
569
+ COMMENT,
570
+ hljs.REGEXP_MODE,
527
571
  {
528
572
  className: "function",
529
573
  // we have to count the parens to make sure we actually have the
530
574
  // correct bounding ( ) before the =>. There could be any number of
531
575
  // sub-expressions inside also surrounded by parens.
532
- begin: U,
533
- returnBegin: !0,
576
+ begin: FUNC_LEAD_IN_RE,
577
+ returnBegin: true,
534
578
  end: "\\s*=>",
535
579
  contains: [
536
580
  {
537
581
  className: "params",
538
582
  variants: [
539
583
  {
540
- begin: n.UNDERSCORE_IDENT_RE,
584
+ begin: hljs.UNDERSCORE_IDENT_RE,
541
585
  relevance: 0
542
586
  },
543
587
  {
544
588
  className: null,
545
589
  begin: /\(\s*\)/,
546
- skip: !0
590
+ skip: true
547
591
  },
548
592
  {
549
593
  begin: /\(/,
550
594
  end: /\)/,
551
- excludeBegin: !0,
552
- excludeEnd: !0,
553
- keywords: c,
554
- contains: R
595
+ excludeBegin: true,
596
+ excludeEnd: true,
597
+ keywords: KEYWORDS$1,
598
+ contains: PARAMS_CONTAINS
555
599
  }
556
600
  ]
557
601
  }
@@ -569,29 +613,29 @@ function V() {
569
613
  {
570
614
  // JSX
571
615
  variants: [
572
- { begin: g.begin, end: g.end },
573
- { match: f },
616
+ { begin: FRAGMENT.begin, end: FRAGMENT.end },
617
+ { match: XML_SELF_CLOSING },
574
618
  {
575
- begin: r.begin,
619
+ begin: XML_TAG.begin,
576
620
  // we carefully check the opening tag to see if it truly
577
621
  // is a tag and not a false positive
578
- "on:begin": r.isTrulyOpeningTag,
579
- end: r.end
622
+ "on:begin": XML_TAG.isTrulyOpeningTag,
623
+ end: XML_TAG.end
580
624
  }
581
625
  ],
582
626
  subLanguage: "xml",
583
627
  contains: [
584
628
  {
585
- begin: r.begin,
586
- end: r.end,
587
- skip: !0,
629
+ begin: XML_TAG.begin,
630
+ end: XML_TAG.end,
631
+ skip: true,
588
632
  contains: ["self"]
589
633
  }
590
634
  ]
591
635
  }
592
636
  ]
593
637
  },
594
- K,
638
+ FUNCTION_DEFINITION,
595
639
  {
596
640
  // prevent this from getting swallowed up by function
597
641
  // since they appear "function like"
@@ -601,13 +645,13 @@ function V() {
601
645
  // we have to count the parens to make sure we actually have the correct
602
646
  // bounding ( ). There could be any number of sub-expressions inside
603
647
  // also surrounded by parens.
604
- begin: "\\b(?!function)" + n.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
648
+ begin: "\\b(?!function)" + hljs.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
605
649
  // end parens
606
- returnBegin: !0,
650
+ returnBegin: true,
607
651
  label: "func.def",
608
652
  contains: [
609
- d,
610
- n.inherit(n.TITLE_MODE, { begin: t, className: "title.function" })
653
+ PARAMS,
654
+ hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1, className: "title.function" })
611
655
  ]
612
656
  },
613
657
  // catch ... so it won't trigger the property rule below
@@ -615,23 +659,23 @@ function V() {
615
659
  match: /\.\.\./,
616
660
  relevance: 0
617
661
  },
618
- J,
662
+ PROPERTY_ACCESS,
619
663
  // hack: prevents detection of keywords in some circumstances
620
664
  // .keyword()
621
665
  // $keyword = x
622
666
  {
623
- match: "\\$" + t,
667
+ match: "\\$" + IDENT_RE$1,
624
668
  relevance: 0
625
669
  },
626
670
  {
627
671
  match: [/\bconstructor(?=\s*\()/],
628
672
  className: { 1: "title.function" },
629
- contains: [d]
673
+ contains: [PARAMS]
630
674
  },
631
- H,
632
- Y,
633
- z,
634
- X,
675
+ FUNCTION_CALL,
676
+ UPPER_CASE_CONSTANT,
677
+ CLASS_OR_EXTENDS,
678
+ GETTER_OR_SETTER,
635
679
  {
636
680
  match: /\$[(.]/
637
681
  // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
@@ -639,8 +683,10 @@ function V() {
639
683
  ]
640
684
  };
641
685
  }
642
- function Z(n) {
643
- const e = F(n), T = b, t = [
686
+ function typescript(hljs) {
687
+ const tsLanguage = javascript(hljs);
688
+ const IDENT_RE$1 = IDENT_RE;
689
+ const TYPES2 = [
644
690
  "any",
645
691
  "void",
646
692
  "number",
@@ -651,25 +697,29 @@ function V() {
651
697
  "symbol",
652
698
  "bigint",
653
699
  "unknown"
654
- ], g = {
700
+ ];
701
+ const NAMESPACE = {
655
702
  beginKeywords: "namespace",
656
703
  end: /\{/,
657
- excludeEnd: !0,
658
- contains: [e.exports.CLASS_REFERENCE]
659
- }, f = {
704
+ excludeEnd: true,
705
+ contains: [tsLanguage.exports.CLASS_REFERENCE]
706
+ };
707
+ const INTERFACE = {
660
708
  beginKeywords: "interface",
661
709
  end: /\{/,
662
- excludeEnd: !0,
710
+ excludeEnd: true,
663
711
  keywords: {
664
712
  keyword: "interface extends",
665
- built_in: t
713
+ built_in: TYPES2
666
714
  },
667
- contains: [e.exports.CLASS_REFERENCE]
668
- }, r = {
715
+ contains: [tsLanguage.exports.CLASS_REFERENCE]
716
+ };
717
+ const USE_STRICT = {
669
718
  className: "meta",
670
719
  relevance: 10,
671
720
  begin: /^\s*['"]use strict['"]/
672
- }, c = [
721
+ };
722
+ const TS_SPECIFIC_KEYWORDS = [
673
723
  "type",
674
724
  "namespace",
675
725
  "interface",
@@ -682,37 +732,48 @@ function V() {
682
732
  "readonly",
683
733
  "enum",
684
734
  "override"
685
- ], _ = {
686
- $pattern: b,
687
- keyword: O.concat(c),
688
- literal: C,
689
- built_in: L.concat(t),
690
- "variable.language": x
691
- }, o = {
735
+ ];
736
+ const KEYWORDS$1 = {
737
+ $pattern: IDENT_RE,
738
+ keyword: KEYWORDS.concat(TS_SPECIFIC_KEYWORDS),
739
+ literal: LITERALS,
740
+ built_in: BUILT_INS.concat(TYPES2),
741
+ "variable.language": BUILT_IN_VARIABLES
742
+ };
743
+ const DECORATOR = {
692
744
  className: "meta",
693
- begin: "@" + T
694
- }, l = (a, N, S) => {
695
- const E = a.contains.findIndex((D) => D.label === N);
696
- if (E === -1)
745
+ begin: "@" + IDENT_RE$1
746
+ };
747
+ const swapMode = (mode, label, replacement) => {
748
+ const indx = mode.contains.findIndex((m) => m.label === label);
749
+ if (indx === -1) {
697
750
  throw new Error("can not find mode to replace");
698
- a.contains.splice(E, 1, S);
751
+ }
752
+ mode.contains.splice(indx, 1, replacement);
699
753
  };
700
- Object.assign(e.keywords, _), e.exports.PARAMS_CONTAINS.push(o), e.contains = e.contains.concat([
701
- o,
702
- g,
703
- f
704
- ]), l(e, "shebang", n.SHEBANG()), l(e, "use_strict", r);
705
- const A = e.contains.find((a) => a.label === "func.def");
706
- return A.relevance = 0, Object.assign(e, {
754
+ Object.assign(tsLanguage.keywords, KEYWORDS$1);
755
+ tsLanguage.exports.PARAMS_CONTAINS.push(DECORATOR);
756
+ tsLanguage.contains = tsLanguage.contains.concat([
757
+ DECORATOR,
758
+ NAMESPACE,
759
+ INTERFACE
760
+ ]);
761
+ swapMode(tsLanguage, "shebang", hljs.SHEBANG());
762
+ swapMode(tsLanguage, "use_strict", USE_STRICT);
763
+ const functionDeclaration = tsLanguage.contains.find((m) => m.label === "func.def");
764
+ functionDeclaration.relevance = 0;
765
+ Object.assign(tsLanguage, {
707
766
  name: "TypeScript",
708
767
  aliases: [
709
768
  "ts",
710
769
  "tsx"
711
770
  ]
712
- }), e;
771
+ });
772
+ return tsLanguage;
713
773
  }
714
- return I = Z, I;
774
+ typescript_1 = typescript;
775
+ return typescript_1;
715
776
  }
716
777
  export {
717
- V as __require
778
+ requireTypescript as __require
718
779
  };