@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,189 +1,355 @@
1
- import { __require as g } from "./lib/re.js";
2
- function p(t) {
3
- var _ = Array.prototype.slice.call(arguments, 1);
4
- return _.forEach(function(e) {
5
- e && Object.keys(e).forEach(function(i) {
6
- t[i] = e[i];
1
+ import { __require as requireRe } from "./lib/re.js";
2
+ function assign(obj) {
3
+ var sources = Array.prototype.slice.call(arguments, 1);
4
+ sources.forEach(function(source) {
5
+ if (!source) {
6
+ return;
7
+ }
8
+ Object.keys(source).forEach(function(key) {
9
+ obj[key] = source[key];
7
10
  });
8
- }), t;
11
+ });
12
+ return obj;
9
13
  }
10
- function l(t) {
11
- return Object.prototype.toString.call(t);
14
+ function _class(obj) {
15
+ return Object.prototype.toString.call(obj);
12
16
  }
13
- function y(t) {
14
- return l(t) === "[object String]";
17
+ function isString(obj) {
18
+ return _class(obj) === "[object String]";
15
19
  }
16
- function v(t) {
17
- return l(t) === "[object Object]";
20
+ function isObject(obj) {
21
+ return _class(obj) === "[object Object]";
18
22
  }
19
- function k(t) {
20
- return l(t) === "[object RegExp]";
23
+ function isRegExp(obj) {
24
+ return _class(obj) === "[object RegExp]";
21
25
  }
22
- function f(t) {
23
- return l(t) === "[object Function]";
26
+ function isFunction(obj) {
27
+ return _class(obj) === "[object Function]";
24
28
  }
25
- function w(t) {
26
- return t.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
29
+ function escapeRE(str) {
30
+ return str.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
27
31
  }
28
- var x = {
29
- fuzzyLink: !0,
30
- fuzzyEmail: !0,
31
- fuzzyIP: !1
32
+ var defaultOptions = {
33
+ fuzzyLink: true,
34
+ fuzzyEmail: true,
35
+ fuzzyIP: false
32
36
  };
33
- function E(t) {
34
- return Object.keys(t || {}).reduce(function(_, e) {
35
- return _ || x.hasOwnProperty(e);
36
- }, !1);
37
+ function isOptionsObj(obj) {
38
+ return Object.keys(obj || {}).reduce(function(acc, k) {
39
+ return acc || defaultOptions.hasOwnProperty(k);
40
+ }, false);
37
41
  }
38
- var b = {
42
+ var defaultSchemas = {
39
43
  "http:": {
40
- validate: function(t, _, e) {
41
- var i = t.slice(_);
42
- return e.re.http || (e.re.http = new RegExp(
43
- "^\\/\\/" + e.re.src_auth + e.re.src_host_port_strict + e.re.src_path,
44
- "i"
45
- )), e.re.http.test(i) ? i.match(e.re.http)[0].length : 0;
44
+ validate: function(text, pos, self) {
45
+ var tail = text.slice(pos);
46
+ if (!self.re.http) {
47
+ self.re.http = new RegExp(
48
+ "^\\/\\/" + self.re.src_auth + self.re.src_host_port_strict + self.re.src_path,
49
+ "i"
50
+ );
51
+ }
52
+ if (self.re.http.test(tail)) {
53
+ return tail.match(self.re.http)[0].length;
54
+ }
55
+ return 0;
46
56
  }
47
57
  },
48
58
  "https:": "http:",
49
59
  "ftp:": "http:",
50
60
  "//": {
51
- validate: function(t, _, e) {
52
- var i = t.slice(_);
53
- return e.re.no_http || (e.re.no_http = new RegExp(
54
- "^" + e.re.src_auth + // Don't allow single-level domains, because of false positives like '//test'
55
- // with code comments
56
- "(?:localhost|(?:(?:" + e.re.src_domain + ")\\.)+" + e.re.src_domain_root + ")" + e.re.src_port + e.re.src_host_terminator + e.re.src_path,
57
- "i"
58
- )), e.re.no_http.test(i) ? _ >= 3 && t[_ - 3] === ":" || _ >= 3 && t[_ - 3] === "/" ? 0 : i.match(e.re.no_http)[0].length : 0;
61
+ validate: function(text, pos, self) {
62
+ var tail = text.slice(pos);
63
+ if (!self.re.no_http) {
64
+ self.re.no_http = new RegExp(
65
+ "^" + self.re.src_auth + // Don't allow single-level domains, because of false positives like '//test'
66
+ // with code comments
67
+ "(?:localhost|(?:(?:" + self.re.src_domain + ")\\.)+" + self.re.src_domain_root + ")" + self.re.src_port + self.re.src_host_terminator + self.re.src_path,
68
+ "i"
69
+ );
70
+ }
71
+ if (self.re.no_http.test(tail)) {
72
+ if (pos >= 3 && text[pos - 3] === ":") {
73
+ return 0;
74
+ }
75
+ if (pos >= 3 && text[pos - 3] === "/") {
76
+ return 0;
77
+ }
78
+ return tail.match(self.re.no_http)[0].length;
79
+ }
80
+ return 0;
59
81
  }
60
82
  },
61
83
  "mailto:": {
62
- validate: function(t, _, e) {
63
- var i = t.slice(_);
64
- return e.re.mailto || (e.re.mailto = new RegExp(
65
- "^" + e.re.src_email_name + "@" + e.re.src_host_strict,
66
- "i"
67
- )), e.re.mailto.test(i) ? i.match(e.re.mailto)[0].length : 0;
84
+ validate: function(text, pos, self) {
85
+ var tail = text.slice(pos);
86
+ if (!self.re.mailto) {
87
+ self.re.mailto = new RegExp(
88
+ "^" + self.re.src_email_name + "@" + self.re.src_host_strict,
89
+ "i"
90
+ );
91
+ }
92
+ if (self.re.mailto.test(tail)) {
93
+ return tail.match(self.re.mailto)[0].length;
94
+ }
95
+ return 0;
68
96
  }
69
97
  }
70
- }, j = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", R = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
71
- function O(t) {
72
- t.__index__ = -1, t.__text_cache__ = "";
98
+ };
99
+ var tlds_2ch_src_re = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]";
100
+ var tlds_default = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
101
+ function resetScanCache(self) {
102
+ self.__index__ = -1;
103
+ self.__text_cache__ = "";
73
104
  }
74
- function S(t) {
75
- return function(_, e) {
76
- var i = _.slice(e);
77
- return t.test(i) ? i.match(t)[0].length : 0;
105
+ function createValidator(re) {
106
+ return function(text, pos) {
107
+ var tail = text.slice(pos);
108
+ if (re.test(tail)) {
109
+ return tail.match(re)[0].length;
110
+ }
111
+ return 0;
78
112
  };
79
113
  }
80
- function z() {
81
- return function(t, _) {
82
- _.normalize(t);
114
+ function createNormalizer() {
115
+ return function(match2, self) {
116
+ self.normalize(match2);
83
117
  };
84
118
  }
85
- function u(t) {
86
- var _ = t.re = g()(t.__opts__), e = t.__tlds__.slice();
87
- t.onCompile(), t.__tlds_replaced__ || e.push(j), e.push(_.src_xn), _.src_tlds = e.join("|");
88
- function i(r) {
89
- return r.replace("%TLDS%", _.src_tlds);
90
- }
91
- _.email_fuzzy = RegExp(i(_.tpl_email_fuzzy), "i"), _.link_fuzzy = RegExp(i(_.tpl_link_fuzzy), "i"), _.link_no_ip_fuzzy = RegExp(i(_.tpl_link_no_ip_fuzzy), "i"), _.host_fuzzy_test = RegExp(i(_.tpl_host_fuzzy_test), "i");
92
- var s = [];
93
- t.__compiled__ = {};
94
- function c(r, n) {
95
- throw new Error('(LinkifyIt) Invalid schema "' + r + '": ' + n);
96
- }
97
- Object.keys(t.__schemas__).forEach(function(r) {
98
- var n = t.__schemas__[r];
99
- if (n !== null) {
100
- var o = { validate: null, link: null };
101
- if (t.__compiled__[r] = o, v(n)) {
102
- k(n.validate) ? o.validate = S(n.validate) : f(n.validate) ? o.validate = n.validate : c(r, n), f(n.normalize) ? o.normalize = n.normalize : n.normalize ? c(r, n) : o.normalize = z();
103
- return;
119
+ function compile(self) {
120
+ var re = self.re = requireRe()(self.__opts__);
121
+ var tlds2 = self.__tlds__.slice();
122
+ self.onCompile();
123
+ if (!self.__tlds_replaced__) {
124
+ tlds2.push(tlds_2ch_src_re);
125
+ }
126
+ tlds2.push(re.src_xn);
127
+ re.src_tlds = tlds2.join("|");
128
+ function untpl(tpl) {
129
+ return tpl.replace("%TLDS%", re.src_tlds);
130
+ }
131
+ re.email_fuzzy = RegExp(untpl(re.tpl_email_fuzzy), "i");
132
+ re.link_fuzzy = RegExp(untpl(re.tpl_link_fuzzy), "i");
133
+ re.link_no_ip_fuzzy = RegExp(untpl(re.tpl_link_no_ip_fuzzy), "i");
134
+ re.host_fuzzy_test = RegExp(untpl(re.tpl_host_fuzzy_test), "i");
135
+ var aliases = [];
136
+ self.__compiled__ = {};
137
+ function schemaError(name, val) {
138
+ throw new Error('(LinkifyIt) Invalid schema "' + name + '": ' + val);
139
+ }
140
+ Object.keys(self.__schemas__).forEach(function(name) {
141
+ var val = self.__schemas__[name];
142
+ if (val === null) {
143
+ return;
144
+ }
145
+ var compiled = { validate: null, link: null };
146
+ self.__compiled__[name] = compiled;
147
+ if (isObject(val)) {
148
+ if (isRegExp(val.validate)) {
149
+ compiled.validate = createValidator(val.validate);
150
+ } else if (isFunction(val.validate)) {
151
+ compiled.validate = val.validate;
152
+ } else {
153
+ schemaError(name, val);
104
154
  }
105
- if (y(n)) {
106
- s.push(r);
107
- return;
155
+ if (isFunction(val.normalize)) {
156
+ compiled.normalize = val.normalize;
157
+ } else if (!val.normalize) {
158
+ compiled.normalize = createNormalizer();
159
+ } else {
160
+ schemaError(name, val);
108
161
  }
109
- c(r, n);
162
+ return;
110
163
  }
111
- }), s.forEach(function(r) {
112
- t.__compiled__[t.__schemas__[r]] && (t.__compiled__[r].validate = t.__compiled__[t.__schemas__[r]].validate, t.__compiled__[r].normalize = t.__compiled__[t.__schemas__[r]].normalize);
113
- }), t.__compiled__[""] = { validate: null, normalize: z() };
114
- var h = Object.keys(t.__compiled__).filter(function(r) {
115
- return r.length > 0 && t.__compiled__[r];
116
- }).map(w).join("|");
117
- t.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + _.src_ZPCc + "))(" + h + ")", "i"), t.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + _.src_ZPCc + "))(" + h + ")", "ig"), t.re.schema_at_start = RegExp("^" + t.re.schema_search.source, "i"), t.re.pretest = RegExp(
118
- "(" + t.re.schema_test.source + ")|(" + t.re.host_fuzzy_test.source + ")|@",
164
+ if (isString(val)) {
165
+ aliases.push(name);
166
+ return;
167
+ }
168
+ schemaError(name, val);
169
+ });
170
+ aliases.forEach(function(alias) {
171
+ if (!self.__compiled__[self.__schemas__[alias]]) {
172
+ return;
173
+ }
174
+ self.__compiled__[alias].validate = self.__compiled__[self.__schemas__[alias]].validate;
175
+ self.__compiled__[alias].normalize = self.__compiled__[self.__schemas__[alias]].normalize;
176
+ });
177
+ self.__compiled__[""] = { validate: null, normalize: createNormalizer() };
178
+ var slist = Object.keys(self.__compiled__).filter(function(name) {
179
+ return name.length > 0 && self.__compiled__[name];
180
+ }).map(escapeRE).join("|");
181
+ self.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + re.src_ZPCc + "))(" + slist + ")", "i");
182
+ self.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + re.src_ZPCc + "))(" + slist + ")", "ig");
183
+ self.re.schema_at_start = RegExp("^" + self.re.schema_search.source, "i");
184
+ self.re.pretest = RegExp(
185
+ "(" + self.re.schema_test.source + ")|(" + self.re.host_fuzzy_test.source + ")|@",
119
186
  "i"
120
- ), O(t);
187
+ );
188
+ resetScanCache(self);
121
189
  }
122
- function A(t, _) {
123
- var e = t.__index__, i = t.__last_index__, s = t.__text_cache__.slice(e, i);
124
- this.schema = t.__schema__.toLowerCase(), this.index = e + _, this.lastIndex = i + _, this.raw = s, this.text = s, this.url = s;
190
+ function Match(self, shift) {
191
+ var start = self.__index__, end = self.__last_index__, text = self.__text_cache__.slice(start, end);
192
+ this.schema = self.__schema__.toLowerCase();
193
+ this.index = start + shift;
194
+ this.lastIndex = end + shift;
195
+ this.raw = text;
196
+ this.text = text;
197
+ this.url = text;
125
198
  }
126
- function d(t, _) {
127
- var e = new A(t, _);
128
- return t.__compiled__[e.schema].normalize(e, t), e;
199
+ function createMatch(self, shift) {
200
+ var match2 = new Match(self, shift);
201
+ self.__compiled__[match2.schema].normalize(match2, self);
202
+ return match2;
129
203
  }
130
- function a(t, _) {
131
- if (!(this instanceof a))
132
- return new a(t, _);
133
- _ || E(t) && (_ = t, t = {}), this.__opts__ = p({}, x, _), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = p({}, b, t), this.__compiled__ = {}, this.__tlds__ = R, this.__tlds_replaced__ = !1, this.re = {}, u(this);
204
+ function LinkifyIt(schemas, options) {
205
+ if (!(this instanceof LinkifyIt)) {
206
+ return new LinkifyIt(schemas, options);
207
+ }
208
+ if (!options) {
209
+ if (isOptionsObj(schemas)) {
210
+ options = schemas;
211
+ schemas = {};
212
+ }
213
+ }
214
+ this.__opts__ = assign({}, defaultOptions, options);
215
+ this.__index__ = -1;
216
+ this.__last_index__ = -1;
217
+ this.__schema__ = "";
218
+ this.__text_cache__ = "";
219
+ this.__schemas__ = assign({}, defaultSchemas, schemas);
220
+ this.__compiled__ = {};
221
+ this.__tlds__ = tlds_default;
222
+ this.__tlds_replaced__ = false;
223
+ this.re = {};
224
+ compile(this);
134
225
  }
135
- a.prototype.add = function(_, e) {
136
- return this.__schemas__[_] = e, u(this), this;
226
+ LinkifyIt.prototype.add = function add(schema, definition) {
227
+ this.__schemas__[schema] = definition;
228
+ compile(this);
229
+ return this;
137
230
  };
138
- a.prototype.set = function(_) {
139
- return this.__opts__ = p(this.__opts__, _), this;
231
+ LinkifyIt.prototype.set = function set(options) {
232
+ this.__opts__ = assign(this.__opts__, options);
233
+ return this;
140
234
  };
141
- a.prototype.test = function(_) {
142
- if (this.__text_cache__ = _, this.__index__ = -1, !_.length)
143
- return !1;
144
- var e, i, s, c, h, r, n, o, m;
145
- if (this.re.schema_test.test(_)) {
146
- for (n = this.re.schema_search, n.lastIndex = 0; (e = n.exec(_)) !== null; )
147
- if (c = this.testSchemaAt(_, e[2], n.lastIndex), c) {
148
- this.__schema__ = e[2], this.__index__ = e.index + e[1].length, this.__last_index__ = e.index + e[0].length + c;
235
+ LinkifyIt.prototype.test = function test(text) {
236
+ this.__text_cache__ = text;
237
+ this.__index__ = -1;
238
+ if (!text.length) {
239
+ return false;
240
+ }
241
+ var m, ml, me, len, shift, next, re, tld_pos, at_pos;
242
+ if (this.re.schema_test.test(text)) {
243
+ re = this.re.schema_search;
244
+ re.lastIndex = 0;
245
+ while ((m = re.exec(text)) !== null) {
246
+ len = this.testSchemaAt(text, m[2], re.lastIndex);
247
+ if (len) {
248
+ this.__schema__ = m[2];
249
+ this.__index__ = m.index + m[1].length;
250
+ this.__last_index__ = m.index + m[0].length + len;
149
251
  break;
150
252
  }
253
+ }
254
+ }
255
+ if (this.__opts__.fuzzyLink && this.__compiled__["http:"]) {
256
+ tld_pos = text.search(this.re.host_fuzzy_test);
257
+ if (tld_pos >= 0) {
258
+ if (this.__index__ < 0 || tld_pos < this.__index__) {
259
+ if ((ml = text.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null) {
260
+ shift = ml.index + ml[1].length;
261
+ if (this.__index__ < 0 || shift < this.__index__) {
262
+ this.__schema__ = "";
263
+ this.__index__ = shift;
264
+ this.__last_index__ = ml.index + ml[0].length;
265
+ }
266
+ }
267
+ }
268
+ }
269
+ }
270
+ if (this.__opts__.fuzzyEmail && this.__compiled__["mailto:"]) {
271
+ at_pos = text.indexOf("@");
272
+ if (at_pos >= 0) {
273
+ if ((me = text.match(this.re.email_fuzzy)) !== null) {
274
+ shift = me.index + me[1].length;
275
+ next = me.index + me[0].length;
276
+ if (this.__index__ < 0 || shift < this.__index__ || shift === this.__index__ && next > this.__last_index__) {
277
+ this.__schema__ = "mailto:";
278
+ this.__index__ = shift;
279
+ this.__last_index__ = next;
280
+ }
281
+ }
282
+ }
151
283
  }
152
- return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (o = _.search(this.re.host_fuzzy_test), o >= 0 && (this.__index__ < 0 || o < this.__index__) && (i = _.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (h = i.index + i[1].length, (this.__index__ < 0 || h < this.__index__) && (this.__schema__ = "", this.__index__ = h, this.__last_index__ = i.index + i[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (m = _.indexOf("@"), m >= 0 && (s = _.match(this.re.email_fuzzy)) !== null && (h = s.index + s[1].length, r = s.index + s[0].length, (this.__index__ < 0 || h < this.__index__ || h === this.__index__ && r > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = h, this.__last_index__ = r))), this.__index__ >= 0;
284
+ return this.__index__ >= 0;
153
285
  };
154
- a.prototype.pretest = function(_) {
155
- return this.re.pretest.test(_);
286
+ LinkifyIt.prototype.pretest = function pretest(text) {
287
+ return this.re.pretest.test(text);
156
288
  };
157
- a.prototype.testSchemaAt = function(_, e, i) {
158
- return this.__compiled__[e.toLowerCase()] ? this.__compiled__[e.toLowerCase()].validate(_, i, this) : 0;
289
+ LinkifyIt.prototype.testSchemaAt = function testSchemaAt(text, schema, pos) {
290
+ if (!this.__compiled__[schema.toLowerCase()]) {
291
+ return 0;
292
+ }
293
+ return this.__compiled__[schema.toLowerCase()].validate(text, pos, this);
159
294
  };
160
- a.prototype.match = function(_) {
161
- var e = 0, i = [];
162
- this.__index__ >= 0 && this.__text_cache__ === _ && (i.push(d(this, e)), e = this.__last_index__);
163
- for (var s = e ? _.slice(e) : _; this.test(s); )
164
- i.push(d(this, e)), s = s.slice(this.__last_index__), e += this.__last_index__;
165
- return i.length ? i : null;
295
+ LinkifyIt.prototype.match = function match(text) {
296
+ var shift = 0, result = [];
297
+ if (this.__index__ >= 0 && this.__text_cache__ === text) {
298
+ result.push(createMatch(this, shift));
299
+ shift = this.__last_index__;
300
+ }
301
+ var tail = shift ? text.slice(shift) : text;
302
+ while (this.test(tail)) {
303
+ result.push(createMatch(this, shift));
304
+ tail = tail.slice(this.__last_index__);
305
+ shift += this.__last_index__;
306
+ }
307
+ if (result.length) {
308
+ return result;
309
+ }
310
+ return null;
166
311
  };
167
- a.prototype.matchAtStart = function(_) {
168
- if (this.__text_cache__ = _, this.__index__ = -1, !_.length)
312
+ LinkifyIt.prototype.matchAtStart = function matchAtStart(text) {
313
+ this.__text_cache__ = text;
314
+ this.__index__ = -1;
315
+ if (!text.length)
169
316
  return null;
170
- var e = this.re.schema_at_start.exec(_);
171
- if (!e)
317
+ var m = this.re.schema_at_start.exec(text);
318
+ if (!m)
172
319
  return null;
173
- var i = this.testSchemaAt(_, e[2], e[0].length);
174
- return i ? (this.__schema__ = e[2], this.__index__ = e.index + e[1].length, this.__last_index__ = e.index + e[0].length + i, d(this, 0)) : null;
320
+ var len = this.testSchemaAt(text, m[2], m[0].length);
321
+ if (!len)
322
+ return null;
323
+ this.__schema__ = m[2];
324
+ this.__index__ = m.index + m[1].length;
325
+ this.__last_index__ = m.index + m[0].length + len;
326
+ return createMatch(this, 0);
175
327
  };
176
- a.prototype.tlds = function(_, e) {
177
- return _ = Array.isArray(_) ? _ : [_], e ? (this.__tlds__ = this.__tlds__.concat(_).sort().filter(function(i, s, c) {
178
- return i !== c[s - 1];
179
- }).reverse(), u(this), this) : (this.__tlds__ = _.slice(), this.__tlds_replaced__ = !0, u(this), this);
328
+ LinkifyIt.prototype.tlds = function tlds(list, keepOld) {
329
+ list = Array.isArray(list) ? list : [list];
330
+ if (!keepOld) {
331
+ this.__tlds__ = list.slice();
332
+ this.__tlds_replaced__ = true;
333
+ compile(this);
334
+ return this;
335
+ }
336
+ this.__tlds__ = this.__tlds__.concat(list).sort().filter(function(el, idx, arr) {
337
+ return el !== arr[idx - 1];
338
+ }).reverse();
339
+ compile(this);
340
+ return this;
180
341
  };
181
- a.prototype.normalize = function(_) {
182
- _.schema || (_.url = "http://" + _.url), _.schema === "mailto:" && !/^mailto:/i.test(_.url) && (_.url = "mailto:" + _.url);
342
+ LinkifyIt.prototype.normalize = function normalize(match2) {
343
+ if (!match2.schema) {
344
+ match2.url = "http://" + match2.url;
345
+ }
346
+ if (match2.schema === "mailto:" && !/^mailto:/i.test(match2.url)) {
347
+ match2.url = "mailto:" + match2.url;
348
+ }
183
349
  };
184
- a.prototype.onCompile = function() {
350
+ LinkifyIt.prototype.onCompile = function onCompile() {
185
351
  };
186
- var I = a;
352
+ var linkifyIt = LinkifyIt;
187
353
  export {
188
- I as default
354
+ linkifyIt as default
189
355
  };
@@ -1,21 +1,54 @@
1
- import { __require as o } from "../../../../uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js";
2
- import { __require as e } from "../../../../uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js";
3
- import { __require as i } from "../../../../uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js";
4
- import u from "../../../../uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js";
5
- var c, t;
6
- function f() {
7
- return t || (t = 1, c = function(r) {
8
- var _ = {};
9
- r = r || {}, _.src_Any = o().source, _.src_Cc = e().source, _.src_Z = i().source, _.src_P = u.source, _.src_ZPCc = [_.src_Z, _.src_P, _.src_Cc].join("|"), _.src_ZCc = [_.src_Z, _.src_Cc].join("|");
10
- var s = "[><|]";
11
- return _.src_pseudo_letter = "(?:(?!" + s + "|" + _.src_ZPCc + ")" + _.src_Any + ")", _.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", _.src_auth = "(?:(?:(?!" + _.src_ZCc + "|[@/\\[\\]()]).)+@)?", _.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", _.src_host_terminator = "(?=$|" + s + "|" + _.src_ZPCc + ")(?!" + (r["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + _.src_ZPCc + "))", _.src_path = "(?:[/?#](?:(?!" + _.src_ZCc + "|" + s + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + _.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + _.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + _.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + _.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + _.src_ZCc + "|[']).)+\\'|\\'(?=" + _.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + _.src_ZCc + "|[.]|$)|" + (r["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + ",(?!" + _.src_ZCc + "|$)|;(?!" + _.src_ZCc + "|$)|\\!+(?!" + _.src_ZCc + "|[!]|$)|\\?(?!" + _.src_ZCc + "|[?]|$))+|\\/)?", _.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', _.src_xn = "xn--[a-z0-9\\-]{1,59}", _.src_domain_root = // Allow letters & digits (http://test1)
12
- "(?:" + _.src_xn + "|" + _.src_pseudo_letter + "{1,63})", _.src_domain = "(?:" + _.src_xn + "|(?:" + _.src_pseudo_letter + ")|(?:" + _.src_pseudo_letter + "(?:-|" + _.src_pseudo_letter + "){0,61}" + _.src_pseudo_letter + "))", _.src_host = "(?:(?:(?:(?:" + _.src_domain + ")\\.)*" + _.src_domain + "))", _.tpl_host_fuzzy = "(?:" + _.src_ip4 + "|(?:(?:(?:" + _.src_domain + ")\\.)+(?:%TLDS%)))", _.tpl_host_no_ip_fuzzy = "(?:(?:(?:" + _.src_domain + ")\\.)+(?:%TLDS%))", _.src_host_strict = _.src_host + _.src_host_terminator, _.tpl_host_fuzzy_strict = _.tpl_host_fuzzy + _.src_host_terminator, _.src_host_port_strict = _.src_host + _.src_port + _.src_host_terminator, _.tpl_host_port_fuzzy_strict = _.tpl_host_fuzzy + _.src_port + _.src_host_terminator, _.tpl_host_port_no_ip_fuzzy_strict = _.tpl_host_no_ip_fuzzy + _.src_port + _.src_host_terminator, _.tpl_host_fuzzy_test = "localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:" + _.src_ZPCc + "|>|$))", _.tpl_email_fuzzy = "(^|" + s + '|"|\\(|' + _.src_ZCc + ")(" + _.src_email_name + "@" + _.tpl_host_fuzzy_strict + ")", _.tpl_link_fuzzy = // Fuzzy link can't be prepended with .:/\- and non punctuation.
1
+ import { __require as requireRegex } from "../../../../uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js";
2
+ import { __require as requireRegex$1 } from "../../../../uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js";
3
+ import { __require as requireRegex$2 } from "../../../../uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js";
4
+ import regex from "../../../../uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js";
5
+ var re;
6
+ var hasRequiredRe;
7
+ function requireRe() {
8
+ if (hasRequiredRe)
9
+ return re;
10
+ hasRequiredRe = 1;
11
+ re = function(opts) {
12
+ var re2 = {};
13
+ opts = opts || {};
14
+ re2.src_Any = requireRegex().source;
15
+ re2.src_Cc = requireRegex$1().source;
16
+ re2.src_Z = requireRegex$2().source;
17
+ re2.src_P = regex.source;
18
+ re2.src_ZPCc = [re2.src_Z, re2.src_P, re2.src_Cc].join("|");
19
+ re2.src_ZCc = [re2.src_Z, re2.src_Cc].join("|");
20
+ var text_separators = "[><|]";
21
+ re2.src_pseudo_letter = "(?:(?!" + text_separators + "|" + re2.src_ZPCc + ")" + re2.src_Any + ")";
22
+ re2.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)";
23
+ re2.src_auth = "(?:(?:(?!" + re2.src_ZCc + "|[@/\\[\\]()]).)+@)?";
24
+ re2.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?";
25
+ re2.src_host_terminator = "(?=$|" + text_separators + "|" + re2.src_ZPCc + ")(?!" + (opts["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + re2.src_ZPCc + "))";
26
+ re2.src_path = "(?:[/?#](?:(?!" + re2.src_ZCc + "|" + text_separators + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + re2.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + re2.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + re2.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + re2.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + re2.src_ZCc + "|[']).)+\\'|\\'(?=" + re2.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + re2.src_ZCc + "|[.]|$)|" + (opts["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + ",(?!" + re2.src_ZCc + "|$)|;(?!" + re2.src_ZCc + "|$)|\\!+(?!" + re2.src_ZCc + "|[!]|$)|\\?(?!" + re2.src_ZCc + "|[?]|$))+|\\/)?";
27
+ re2.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*';
28
+ re2.src_xn = "xn--[a-z0-9\\-]{1,59}";
29
+ re2.src_domain_root = // Allow letters & digits (http://test1)
30
+ "(?:" + re2.src_xn + "|" + re2.src_pseudo_letter + "{1,63})";
31
+ re2.src_domain = "(?:" + re2.src_xn + "|(?:" + re2.src_pseudo_letter + ")|(?:" + re2.src_pseudo_letter + "(?:-|" + re2.src_pseudo_letter + "){0,61}" + re2.src_pseudo_letter + "))";
32
+ re2.src_host = "(?:(?:(?:(?:" + re2.src_domain + ")\\.)*" + re2.src_domain + "))";
33
+ re2.tpl_host_fuzzy = "(?:" + re2.src_ip4 + "|(?:(?:(?:" + re2.src_domain + ")\\.)+(?:%TLDS%)))";
34
+ re2.tpl_host_no_ip_fuzzy = "(?:(?:(?:" + re2.src_domain + ")\\.)+(?:%TLDS%))";
35
+ re2.src_host_strict = re2.src_host + re2.src_host_terminator;
36
+ re2.tpl_host_fuzzy_strict = re2.tpl_host_fuzzy + re2.src_host_terminator;
37
+ re2.src_host_port_strict = re2.src_host + re2.src_port + re2.src_host_terminator;
38
+ re2.tpl_host_port_fuzzy_strict = re2.tpl_host_fuzzy + re2.src_port + re2.src_host_terminator;
39
+ re2.tpl_host_port_no_ip_fuzzy_strict = re2.tpl_host_no_ip_fuzzy + re2.src_port + re2.src_host_terminator;
40
+ re2.tpl_host_fuzzy_test = "localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:" + re2.src_ZPCc + "|>|$))";
41
+ re2.tpl_email_fuzzy = "(^|" + text_separators + '|"|\\(|' + re2.src_ZCc + ")(" + re2.src_email_name + "@" + re2.tpl_host_fuzzy_strict + ")";
42
+ re2.tpl_link_fuzzy = // Fuzzy link can't be prepended with .:/\- and non punctuation.
13
43
  // but can start with > (markdown blockquote)
14
- "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + _.src_ZPCc + "))((?![$+<=>^`||])" + _.tpl_host_port_fuzzy_strict + _.src_path + ")", _.tpl_link_no_ip_fuzzy = // Fuzzy link can't be prepended with .:/\- and non punctuation.
44
+ "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + re2.src_ZPCc + "))((?![$+<=>^`||])" + re2.tpl_host_port_fuzzy_strict + re2.src_path + ")";
45
+ re2.tpl_link_no_ip_fuzzy = // Fuzzy link can't be prepended with .:/\- and non punctuation.
15
46
  // but can start with > (markdown blockquote)
16
- "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + _.src_ZPCc + "))((?![$+<=>^`||])" + _.tpl_host_port_no_ip_fuzzy_strict + _.src_path + ")", _;
17
- }), c;
47
+ "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + re2.src_ZPCc + "))((?![$+<=>^`||])" + re2.tpl_host_port_no_ip_fuzzy_strict + re2.src_path + ")";
48
+ return re2;
49
+ };
50
+ return re;
18
51
  }
19
52
  export {
20
- f as __require
53
+ requireRe as __require
21
54
  };
@@ -1,10 +1,10 @@
1
- import { getDefaultExportFromCjs as t } from "../../../../../_virtual/_commonjsHelpers.js";
2
- import { __module as r, exports as m } from "../../../../../_virtual/index.js";
3
- import a from "./lib/index.js";
4
- (function(o) {
5
- o.exports = a;
6
- })(r);
7
- const f = /* @__PURE__ */ t(m);
1
+ import { getDefaultExportFromCjs } from "../../../../../_virtual/_commonjsHelpers.js";
2
+ import { __module as markdownIt, exports as markdownItExports } from "../../../../../_virtual/index.js";
3
+ import lib from "./lib/index.js";
4
+ (function(module) {
5
+ module.exports = lib;
6
+ })(markdownIt);
7
+ const MarkdownIt = /* @__PURE__ */ getDefaultExportFromCjs(markdownItExports);
8
8
  export {
9
- f as default
9
+ MarkdownIt as default
10
10
  };
@@ -1,5 +1,5 @@
1
- import { __module as r } from "../../../../../../../_virtual/entities.js";
2
- import e from "../../../../../entities@3.0.1/node_modules/entities/lib/maps/entities.json.js";
3
- (function(o) {
4
- o.exports = e;
5
- })(r);
1
+ import { __module as entities } from "../../../../../../../_virtual/entities.js";
2
+ import require$$0 from "../../../../../entities@3.0.1/node_modules/entities/lib/maps/entities.json.js";
3
+ (function(module) {
4
+ module.exports = require$$0;
5
+ })(entities);
@@ -1,4 +1,4 @@
1
- var e = [
1
+ var html_blocks = [
2
2
  "address",
3
3
  "article",
4
4
  "aside",
@@ -63,5 +63,5 @@ var e = [
63
63
  "ul"
64
64
  ];
65
65
  export {
66
- e as default
66
+ html_blocks as default
67
67
  };