@fangzhongya/vue-archive 0.1.21 → 0.1.23

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 (341) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -0
  2. package/dist/_virtual/_commonjsHelpers.js +6 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.cjs +1 -0
  4. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  5. package/dist/_virtual/common.cjs +1 -0
  6. package/dist/_virtual/common.js +7 -0
  7. package/dist/_virtual/core.cjs +1 -0
  8. package/dist/_virtual/core.js +7 -0
  9. package/dist/index.css +1 -2
  10. package/dist/node_modules/.pnpm/@highlightjs_vue-plugin@2.1_dace39d2ab17d71b087de9a32848566a/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.cjs +1 -0
  11. package/dist/node_modules/.pnpm/@highlightjs_vue-plugin@2.1_dace39d2ab17d71b087de9a32848566a/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +31 -0
  12. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/common.cjs +1 -0
  13. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/common.js +5 -0
  14. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/core.cjs +1 -0
  15. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/core.js +5 -0
  16. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/common.cjs +1 -0
  17. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/common.js +47 -0
  18. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.cjs +3 -0
  19. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.js +1063 -0
  20. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bash.cjs +1 -0
  21. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bash.js +383 -0
  22. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/c.cjs +1 -0
  23. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/c.js +283 -0
  24. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.cjs +1 -0
  25. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.js +527 -0
  26. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csharp.cjs +1 -0
  27. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csharp.js +388 -0
  28. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/css.cjs +1 -0
  29. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/css.js +929 -0
  30. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/diff.cjs +1 -0
  31. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/diff.js +60 -0
  32. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/go.cjs +1 -0
  33. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/go.js +157 -0
  34. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/graphql.cjs +1 -0
  35. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/graphql.js +76 -0
  36. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ini.cjs +1 -0
  37. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ini.js +113 -0
  38. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/java.cjs +1 -0
  39. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/java.js +246 -0
  40. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/javascript.cjs +1 -0
  41. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/javascript.js +664 -0
  42. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/json.cjs +1 -0
  43. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/json.js +44 -0
  44. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/kotlin.cjs +2 -0
  45. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/kotlin.js +248 -0
  46. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/less.cjs +1 -0
  47. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/less.js +998 -0
  48. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lua.cjs +1 -0
  49. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lua.js +65 -0
  50. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/makefile.cjs +1 -0
  51. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/makefile.js +73 -0
  52. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/markdown.cjs +1 -0
  53. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/markdown.js +222 -0
  54. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/objectivec.cjs +1 -0
  55. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/objectivec.js +243 -0
  56. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/perl.cjs +1 -0
  57. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/perl.js +475 -0
  58. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php-template.cjs +1 -0
  59. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php-template.js +53 -0
  60. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.cjs +2 -0
  61. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.js +572 -0
  62. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/plaintext.cjs +1 -0
  63. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/plaintext.js +19 -0
  64. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python-repl.cjs +1 -0
  65. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python-repl.js +32 -0
  66. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python.cjs +1 -0
  67. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python.js +405 -0
  68. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.cjs +1 -0
  69. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.js +213 -0
  70. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruby.cjs +1 -0
  71. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruby.js +394 -0
  72. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rust.cjs +1 -0
  73. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rust.js +311 -0
  74. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scss.cjs +1 -0
  75. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scss.js +914 -0
  76. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/shell.cjs +1 -0
  77. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/shell.js +31 -0
  78. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sql.cjs +1 -0
  79. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sql.js +621 -0
  80. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/swift.cjs +1 -0
  81. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/swift.js +805 -0
  82. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/typescript.cjs +1 -0
  83. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/typescript.js +759 -0
  84. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbnet.cjs +1 -0
  85. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbnet.js +128 -0
  86. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wasm.cjs +1 -0
  87. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wasm.js +120 -0
  88. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xml.cjs +1 -0
  89. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xml.js +225 -0
  90. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/yaml.cjs +1 -0
  91. package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/yaml.js +189 -0
  92. package/dist/packages/components/aside/index.vue.cjs +1 -0
  93. package/dist/packages/components/aside/index.vue.js +98 -0
  94. package/dist/packages/components/aside/index.vue2.cjs +1 -0
  95. package/dist/packages/components/aside/index.vue2.js +4 -0
  96. package/dist/packages/components/boxurl/index.vue.cjs +1 -0
  97. package/dist/packages/components/boxurl/index.vue.js +62 -0
  98. package/dist/packages/components/boxurl/index.vue2.cjs +1 -0
  99. package/dist/packages/components/boxurl/index.vue2.js +4 -0
  100. package/dist/packages/components/choice/choice.vue.cjs +1 -0
  101. package/dist/packages/components/choice/choice.vue.js +46 -0
  102. package/dist/packages/components/choice/choice.vue2.cjs +1 -0
  103. package/dist/packages/components/choice/choice.vue2.js +4 -0
  104. package/dist/packages/components/choice/index.vue.cjs +1 -0
  105. package/dist/packages/components/choice/index.vue.js +87 -0
  106. package/dist/packages/components/choice/index.vue2.cjs +1 -0
  107. package/dist/packages/components/choice/index.vue2.js +4 -0
  108. package/dist/packages/components/code/highlight.vue.cjs +1 -0
  109. package/dist/packages/components/code/highlight.vue.js +16 -0
  110. package/dist/packages/components/code/highlight.vue2.cjs +1 -0
  111. package/dist/packages/components/code/highlight.vue2.js +20 -0
  112. package/dist/packages/components/code/index.vue.cjs +1 -0
  113. package/dist/packages/components/code/index.vue.js +115 -0
  114. package/dist/packages/components/code/index.vue2.cjs +1 -0
  115. package/dist/packages/components/code/index.vue2.js +4 -0
  116. package/dist/packages/components/compo/code.vue.cjs +1 -0
  117. package/dist/packages/components/compo/code.vue.js +21 -0
  118. package/dist/packages/components/compo/code.vue3.cjs +1 -0
  119. package/dist/packages/components/compo/code.vue3.js +5 -0
  120. package/dist/packages/components/compo/ftable.vue.cjs +1 -0
  121. package/dist/packages/components/compo/ftable.vue.js +57 -0
  122. package/dist/packages/components/compo/ftable.vue2.cjs +1 -0
  123. package/dist/packages/components/compo/ftable.vue2.js +4 -0
  124. package/dist/packages/components/compo/index.cjs +1 -0
  125. package/dist/packages/components/compo/index.js +127 -0
  126. package/dist/packages/components/compo/index.vue.cjs +1 -0
  127. package/dist/packages/components/compo/index.vue.js +79 -0
  128. package/dist/packages/components/compo/index.vue2.cjs +1 -0
  129. package/dist/packages/components/compo/index.vue2.js +4 -0
  130. package/dist/packages/components/compo/info-top.vue.cjs +1 -0
  131. package/dist/packages/components/compo/info-top.vue.js +32 -0
  132. package/dist/packages/components/compo/info-top.vue2.cjs +1 -0
  133. package/dist/packages/components/compo/info-top.vue2.js +4 -0
  134. package/dist/packages/components/compo/info.vue.cjs +1 -0
  135. package/dist/packages/components/compo/info.vue.js +41 -0
  136. package/dist/packages/components/compo/info.vue2.cjs +1 -0
  137. package/dist/packages/components/compo/info.vue2.js +4 -0
  138. package/dist/packages/components/compo/props.vue.cjs +1 -0
  139. package/dist/packages/components/compo/props.vue.js +87 -0
  140. package/dist/packages/components/compo/props.vue2.cjs +1 -0
  141. package/dist/packages/components/compo/props.vue2.js +4 -0
  142. package/dist/packages/components/compo/top.cjs +1 -0
  143. package/dist/packages/components/compo/top.js +148 -0
  144. package/dist/packages/components/header/index.vue.cjs +1 -0
  145. package/dist/packages/components/header/index.vue.js +10 -0
  146. package/dist/packages/components/main/index.vue.cjs +1 -0
  147. package/dist/packages/components/main/index.vue.js +68 -0
  148. package/dist/packages/components/main/index.vue2.cjs +1 -0
  149. package/dist/packages/components/main/index.vue2.js +4 -0
  150. package/dist/packages/components/md/index.vue.cjs +1 -0
  151. package/dist/packages/components/md/index.vue.js +56 -0
  152. package/dist/packages/components/md/index.vue2.cjs +1 -0
  153. package/dist/packages/components/md/index.vue2.js +4 -0
  154. package/dist/packages/components/test/index.cjs +1 -0
  155. package/dist/packages/components/test/index.js +105 -0
  156. package/dist/packages/components/test/index.vue.cjs +1 -0
  157. package/dist/packages/components/test/index.vue.js +75 -0
  158. package/dist/packages/components/test/index.vue2.cjs +1 -0
  159. package/dist/packages/components/test/index.vue2.js +4 -0
  160. package/dist/packages/components/test/top.cjs +1 -0
  161. package/dist/packages/components/test/top.js +148 -0
  162. package/dist/packages/components/use/code.cjs +20 -0
  163. package/dist/packages/components/use/code.js +212 -0
  164. package/dist/packages/components/use/code.vue.cjs +1 -0
  165. package/dist/packages/components/use/code.vue.js +66 -0
  166. package/dist/packages/components/use/code.vue2.cjs +1 -0
  167. package/dist/packages/components/use/code.vue2.js +4 -0
  168. package/dist/packages/components/use/edit.cjs +18 -0
  169. package/dist/packages/components/use/edit.js +214 -0
  170. package/dist/packages/components/use/effect.vue.cjs +1 -0
  171. package/dist/packages/components/use/effect.vue.js +12 -0
  172. package/dist/packages/components/use/index.cjs +1 -0
  173. package/dist/packages/components/use/index.js +196 -0
  174. package/dist/packages/components/use/prettier.cjs +1 -0
  175. package/dist/packages/components/use/prettier.js +40 -0
  176. package/dist/packages/components/use/retrie/any/index.vue.cjs +1 -0
  177. package/dist/packages/components/use/retrie/any/index.vue.js +115 -0
  178. package/dist/packages/components/use/retrie/any/index.vue2.cjs +1 -0
  179. package/dist/packages/components/use/retrie/any/index.vue2.js +4 -0
  180. package/dist/packages/components/use/retrie/array/index.vue.cjs +3 -0
  181. package/dist/packages/components/use/retrie/array/index.vue.js +55 -0
  182. package/dist/packages/components/use/retrie/array/index.vue2.cjs +1 -0
  183. package/dist/packages/components/use/retrie/array/index.vue2.js +4 -0
  184. package/dist/packages/components/use/retrie/boolean/index.vue.cjs +1 -0
  185. package/dist/packages/components/use/retrie/boolean/index.vue.js +68 -0
  186. package/dist/packages/components/use/retrie/boolean/index.vue3.cjs +1 -0
  187. package/dist/packages/components/use/retrie/boolean/index.vue3.js +5 -0
  188. package/dist/packages/components/use/retrie/choice/index.vue.cjs +1 -0
  189. package/dist/packages/components/use/retrie/choice/index.vue.js +142 -0
  190. package/dist/packages/components/use/retrie/choice/index.vue3.cjs +1 -0
  191. package/dist/packages/components/use/retrie/choice/index.vue3.js +5 -0
  192. package/dist/packages/components/use/retrie/expose/index.vue.cjs +1 -0
  193. package/dist/packages/components/use/retrie/expose/index.vue.js +63 -0
  194. package/dist/packages/components/use/retrie/expose/index.vue3.cjs +1 -0
  195. package/dist/packages/components/use/retrie/expose/index.vue3.js +5 -0
  196. package/dist/packages/components/use/retrie/form/index.vue.cjs +1 -0
  197. package/dist/packages/components/use/retrie/form/index.vue.js +148 -0
  198. package/dist/packages/components/use/retrie/form/index.vue2.cjs +1 -0
  199. package/dist/packages/components/use/retrie/form/index.vue2.js +4 -0
  200. package/dist/packages/components/use/retrie/function/index.vue.cjs +3 -0
  201. package/dist/packages/components/use/retrie/function/index.vue.js +68 -0
  202. package/dist/packages/components/use/retrie/function/index.vue2.cjs +1 -0
  203. package/dist/packages/components/use/retrie/function/index.vue2.js +4 -0
  204. package/dist/packages/components/use/retrie/index.vue.cjs +1 -0
  205. package/dist/packages/components/use/retrie/index.vue.js +103 -0
  206. package/dist/packages/components/use/retrie/index.vue3.cjs +1 -0
  207. package/dist/packages/components/use/retrie/index.vue3.js +5 -0
  208. package/dist/packages/components/use/retrie/input/editor/editor.cjs +1 -0
  209. package/dist/packages/components/use/retrie/input/editor/editor.js +104 -0
  210. package/dist/packages/components/use/retrie/input/editor/editor.vue.cjs +5 -0
  211. package/dist/packages/components/use/retrie/input/editor/editor.vue.js +59 -0
  212. package/dist/packages/components/use/retrie/input/editor/editor.vue3.cjs +1 -0
  213. package/dist/packages/components/use/retrie/input/editor/editor.vue3.js +5 -0
  214. package/dist/packages/components/use/retrie/input/editor/getExtraLib.cjs +416 -0
  215. package/dist/packages/components/use/retrie/input/editor/getExtraLib.js +427 -0
  216. package/dist/packages/components/use/retrie/input/index.vue.cjs +1 -0
  217. package/dist/packages/components/use/retrie/input/index.vue.js +54 -0
  218. package/dist/packages/components/use/retrie/input/index.vue3.cjs +1 -0
  219. package/dist/packages/components/use/retrie/input/index.vue3.js +5 -0
  220. package/dist/packages/components/use/retrie/input/text.vue.cjs +5 -0
  221. package/dist/packages/components/use/retrie/input/text.vue.js +39 -0
  222. package/dist/packages/components/use/retrie/input/text.vue3.cjs +1 -0
  223. package/dist/packages/components/use/retrie/input/text.vue3.js +5 -0
  224. package/dist/packages/components/use/retrie/number/index.vue.cjs +1 -0
  225. package/dist/packages/components/use/retrie/number/index.vue.js +50 -0
  226. package/dist/packages/components/use/retrie/number/index.vue3.cjs +1 -0
  227. package/dist/packages/components/use/retrie/number/index.vue3.js +5 -0
  228. package/dist/packages/components/use/retrie/object/index.vue.cjs +3 -0
  229. package/dist/packages/components/use/retrie/object/index.vue.js +55 -0
  230. package/dist/packages/components/use/retrie/object/index.vue2.cjs +1 -0
  231. package/dist/packages/components/use/retrie/object/index.vue2.js +4 -0
  232. package/dist/packages/components/use/retrie/other/index.vue.cjs +1 -0
  233. package/dist/packages/components/use/retrie/other/index.vue.js +67 -0
  234. package/dist/packages/components/use/retrie/other/index.vue2.cjs +1 -0
  235. package/dist/packages/components/use/retrie/other/index.vue2.js +4 -0
  236. package/dist/packages/components/use/retrie/select/index.vue.cjs +1 -0
  237. package/dist/packages/components/use/retrie/select/index.vue.js +123 -0
  238. package/dist/packages/components/use/retrie/select/index.vue3.cjs +1 -0
  239. package/dist/packages/components/use/retrie/select/index.vue3.js +5 -0
  240. package/dist/packages/components/use/retrie/slot/index.vue.cjs +1 -0
  241. package/dist/packages/components/use/retrie/slot/index.vue.js +43 -0
  242. package/dist/packages/components/use/retrie/slot/index.vue2.cjs +1 -0
  243. package/dist/packages/components/use/retrie/slot/index.vue2.js +4 -0
  244. package/dist/packages/components/use/retrie/string/index.vue.cjs +1 -0
  245. package/dist/packages/components/use/retrie/string/index.vue.js +53 -0
  246. package/dist/packages/components/use/retrie/string/index.vue3.cjs +1 -0
  247. package/dist/packages/components/use/retrie/string/index.vue3.js +5 -0
  248. package/dist/packages/components/use/set-code.vue.cjs +1 -0
  249. package/dist/packages/components/use/set-code.vue.js +63 -0
  250. package/dist/packages/components/use/set-code.vue2.cjs +1 -0
  251. package/dist/packages/components/use/set-code.vue2.js +4 -0
  252. package/dist/packages/components/use/set-emit.vue.cjs +1 -0
  253. package/dist/packages/components/use/set-emit.vue.js +50 -0
  254. package/dist/packages/components/use/set-emit.vue3.cjs +1 -0
  255. package/dist/packages/components/use/set-emit.vue3.js +5 -0
  256. package/dist/packages/components/use/set-expose.vue.cjs +1 -0
  257. package/dist/packages/components/use/set-expose.vue.js +66 -0
  258. package/dist/packages/components/use/set-expose.vue3.cjs +1 -0
  259. package/dist/packages/components/use/set-expose.vue3.js +5 -0
  260. package/dist/packages/components/use/set-props.vue.cjs +1 -0
  261. package/dist/packages/components/use/set-props.vue.js +71 -0
  262. package/dist/packages/components/use/set-props.vue2.cjs +1 -0
  263. package/dist/packages/components/use/set-props.vue2.js +4 -0
  264. package/dist/packages/components/use/set-slot.vue.cjs +1 -0
  265. package/dist/packages/components/use/set-slot.vue.js +45 -0
  266. package/dist/packages/components/use/set-slot.vue2.cjs +1 -0
  267. package/dist/packages/components/use/set-slot.vue2.js +4 -0
  268. package/dist/packages/components/use/util.cjs +3 -0
  269. package/dist/packages/components/use/util.js +294 -0
  270. package/dist/packages/config.cjs +1 -0
  271. package/dist/packages/config.js +14 -0
  272. package/dist/packages/directives/adjust/index.cjs +1 -0
  273. package/dist/packages/directives/adjust/index.js +246 -0
  274. package/dist/packages/index/index.vue.cjs +1 -0
  275. package/dist/packages/index/index.vue.js +4 -0
  276. package/dist/packages/index/index.vue2.cjs +1 -0
  277. package/dist/packages/index/index.vue2.js +14 -0
  278. package/dist/packages/index.cjs +1 -0
  279. package/dist/packages/index.d.ts +1 -0
  280. package/dist/packages/index.js +20 -0
  281. package/dist/packages/page/compon/index.vue.cjs +1 -0
  282. package/dist/packages/page/compon/index.vue.js +4 -0
  283. package/dist/packages/page/compon/index.vue2.cjs +1 -0
  284. package/dist/packages/page/compon/index.vue2.js +21 -0
  285. package/dist/packages/page/comprops/index.vue.cjs +1 -0
  286. package/dist/packages/page/comprops/index.vue.js +4 -0
  287. package/dist/packages/page/comprops/index.vue2.cjs +1 -0
  288. package/dist/packages/page/comprops/index.vue2.js +91 -0
  289. package/dist/packages/page/develop/index.vue.cjs +1 -0
  290. package/dist/packages/page/develop/index.vue.js +4 -0
  291. package/dist/packages/page/develop/index.vue2.cjs +1 -0
  292. package/dist/packages/page/develop/index.vue2.js +26 -0
  293. package/dist/packages/page/edit/index.vue.cjs +1 -0
  294. package/dist/packages/page/edit/index.vue.js +4 -0
  295. package/dist/packages/page/edit/index.vue2.cjs +1 -0
  296. package/dist/packages/page/edit/index.vue2.js +27 -0
  297. package/dist/packages/page/index/index.vue.cjs +1 -0
  298. package/dist/packages/page/index/index.vue.js +4 -0
  299. package/dist/packages/page/index/index.vue2.cjs +1 -0
  300. package/dist/packages/page/index/index.vue2.js +61 -0
  301. package/dist/packages/page/single/index.vue.cjs +1 -0
  302. package/dist/packages/page/single/index.vue.js +4 -0
  303. package/dist/packages/page/single/index.vue2.cjs +1 -0
  304. package/dist/packages/page/single/index.vue2.js +60 -0
  305. package/dist/packages/page/tests/index.vue.cjs +1 -0
  306. package/dist/packages/page/tests/index.vue.js +4 -0
  307. package/dist/packages/page/tests/index.vue2.cjs +1 -0
  308. package/dist/packages/page/tests/index.vue2.js +67 -0
  309. package/dist/packages/router/file.cjs +1 -0
  310. package/dist/packages/router/file.js +44 -0
  311. package/dist/packages/router/index.cjs +1 -0
  312. package/dist/packages/router/index.js +122 -0
  313. package/dist/packages/utils/annotat.cjs +1 -0
  314. package/dist/packages/utils/annotat.js +322 -0
  315. package/dist/packages/utils/common.cjs +1 -0
  316. package/dist/packages/utils/common.js +200 -0
  317. package/dist/packages/utils/glob.cjs +5 -0
  318. package/dist/packages/utils/glob.js +502 -0
  319. package/dist/packages/utils/index.cjs +1 -0
  320. package/dist/packages/utils/index.js +14 -0
  321. package/dist/packages/utils/props.cjs +1 -0
  322. package/dist/packages/utils/props.js +110 -0
  323. package/dist/packages/utils/storage.cjs +1 -0
  324. package/dist/packages/utils/storage.js +34 -0
  325. package/dist/packages/utils/util.cjs +1 -0
  326. package/dist/packages/utils/util.js +46 -0
  327. package/package.json +5 -5
  328. package/dist/config.cjs +0 -1
  329. package/dist/config.js +0 -11
  330. package/dist/index/index.cjs +0 -1
  331. package/dist/index/index.js +0 -5
  332. package/dist/index/index.vue_vue_type_script_setup_true_lang.cjs +0 -1
  333. package/dist/index/index.vue_vue_type_script_setup_true_lang.js +0 -12
  334. package/dist/index.cjs +0 -1
  335. package/dist/index.js +0 -15
  336. package/dist/router/file.cjs +0 -1
  337. package/dist/router/file.js +0 -32
  338. package/dist/router/index.cjs +0 -1
  339. package/dist/router/index.js +0 -45
  340. package/dist/utils/storage.cjs +0 -1
  341. package/dist/utils/storage.js +0 -23
@@ -0,0 +1,572 @@
1
+ var I, N;
2
+ function U() {
3
+ if (N) return I;
4
+ N = 1;
5
+ function h(e) {
6
+ const t = e.regex, _ = /(?![A-Za-z0-9])(?![$])/, o = t.concat(
7
+ /[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,
8
+ _
9
+ ), r = t.concat(
10
+ /(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,
11
+ _
12
+ ), g = t.concat(
13
+ /[A-Z]+/,
14
+ _
15
+ ), E = {
16
+ scope: "variable",
17
+ match: "\\$+" + o
18
+ }, y = {
19
+ scope: "meta",
20
+ variants: [
21
+ { begin: /<\?php/, relevance: 10 },
22
+ // boost for obvious PHP
23
+ { begin: /<\?=/ },
24
+ // less relevant per PSR-1 which says not to use short-tags
25
+ { begin: /<\?/, relevance: 0.1 },
26
+ { begin: /\?>/ }
27
+ // end php tag
28
+ ]
29
+ }, S = {
30
+ scope: "subst",
31
+ variants: [
32
+ { begin: /\$\w+/ },
33
+ {
34
+ begin: /\{\$/,
35
+ end: /\}/
36
+ }
37
+ ]
38
+ }, w = e.inherit(e.APOS_STRING_MODE, { illegal: null }), x = e.inherit(e.QUOTE_STRING_MODE, {
39
+ illegal: null,
40
+ contains: e.QUOTE_STRING_MODE.contains.concat(S)
41
+ }), D = {
42
+ begin: /<<<[ \t]*(?:(\w+)|"(\w+)")\n/,
43
+ end: /[ \t]*(\w+)\b/,
44
+ contains: e.QUOTE_STRING_MODE.contains.concat(S),
45
+ "on:begin": (n, a) => {
46
+ a.data._beginMatch = n[1] || n[2];
47
+ },
48
+ "on:end": (n, a) => {
49
+ a.data._beginMatch !== n[1] && a.ignoreMatch();
50
+ }
51
+ }, L = e.END_SAME_AS_BEGIN({
52
+ begin: /<<<[ \t]*'(\w+)'\n/,
53
+ end: /[ \t]*(\w+)\b/
54
+ }), T = `[
55
+ ]`, i = {
56
+ scope: "string",
57
+ variants: [
58
+ x,
59
+ w,
60
+ D,
61
+ L
62
+ ]
63
+ }, s = {
64
+ scope: "number",
65
+ variants: [
66
+ { begin: "\\b0[bB][01]+(?:_[01]+)*\\b" },
67
+ // Binary w/ underscore support
68
+ { begin: "\\b0[oO][0-7]+(?:_[0-7]+)*\\b" },
69
+ // Octals w/ underscore support
70
+ { begin: "\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b" },
71
+ // Hex w/ underscore support
72
+ // Decimals w/ underscore support, with optional fragments and scientific exponent (e) suffix.
73
+ { begin: "(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?" }
74
+ ],
75
+ relevance: 0
76
+ }, d = [
77
+ "false",
78
+ "null",
79
+ "true"
80
+ ], f = [
81
+ // Magic constants:
82
+ // <https://www.php.net/manual/en/language.constants.predefined.php>
83
+ "__CLASS__",
84
+ "__DIR__",
85
+ "__FILE__",
86
+ "__FUNCTION__",
87
+ "__COMPILER_HALT_OFFSET__",
88
+ "__LINE__",
89
+ "__METHOD__",
90
+ "__NAMESPACE__",
91
+ "__TRAIT__",
92
+ // Function that look like language construct or language construct that look like function:
93
+ // List of keywords that may not require parenthesis
94
+ "die",
95
+ "echo",
96
+ "exit",
97
+ "include",
98
+ "include_once",
99
+ "print",
100
+ "require",
101
+ "require_once",
102
+ // These are not language construct (function) but operate on the currently-executing function and can access the current symbol table
103
+ // 'compact extract func_get_arg func_get_args func_num_args get_called_class get_parent_class ' +
104
+ // Other keywords:
105
+ // <https://www.php.net/manual/en/reserved.php>
106
+ // <https://www.php.net/manual/en/language.types.type-juggling.php>
107
+ "array",
108
+ "abstract",
109
+ "and",
110
+ "as",
111
+ "binary",
112
+ "bool",
113
+ "boolean",
114
+ "break",
115
+ "callable",
116
+ "case",
117
+ "catch",
118
+ "class",
119
+ "clone",
120
+ "const",
121
+ "continue",
122
+ "declare",
123
+ "default",
124
+ "do",
125
+ "double",
126
+ "else",
127
+ "elseif",
128
+ "empty",
129
+ "enddeclare",
130
+ "endfor",
131
+ "endforeach",
132
+ "endif",
133
+ "endswitch",
134
+ "endwhile",
135
+ "enum",
136
+ "eval",
137
+ "extends",
138
+ "final",
139
+ "finally",
140
+ "float",
141
+ "for",
142
+ "foreach",
143
+ "from",
144
+ "global",
145
+ "goto",
146
+ "if",
147
+ "implements",
148
+ "instanceof",
149
+ "insteadof",
150
+ "int",
151
+ "integer",
152
+ "interface",
153
+ "isset",
154
+ "iterable",
155
+ "list",
156
+ "match|0",
157
+ "mixed",
158
+ "new",
159
+ "never",
160
+ "object",
161
+ "or",
162
+ "private",
163
+ "protected",
164
+ "public",
165
+ "readonly",
166
+ "real",
167
+ "return",
168
+ "string",
169
+ "switch",
170
+ "throw",
171
+ "trait",
172
+ "try",
173
+ "unset",
174
+ "use",
175
+ "var",
176
+ "void",
177
+ "while",
178
+ "xor",
179
+ "yield"
180
+ ], p = [
181
+ // Standard PHP library:
182
+ // <https://www.php.net/manual/en/book.spl.php>
183
+ "Error|0",
184
+ "AppendIterator",
185
+ "ArgumentCountError",
186
+ "ArithmeticError",
187
+ "ArrayIterator",
188
+ "ArrayObject",
189
+ "AssertionError",
190
+ "BadFunctionCallException",
191
+ "BadMethodCallException",
192
+ "CachingIterator",
193
+ "CallbackFilterIterator",
194
+ "CompileError",
195
+ "Countable",
196
+ "DirectoryIterator",
197
+ "DivisionByZeroError",
198
+ "DomainException",
199
+ "EmptyIterator",
200
+ "ErrorException",
201
+ "Exception",
202
+ "FilesystemIterator",
203
+ "FilterIterator",
204
+ "GlobIterator",
205
+ "InfiniteIterator",
206
+ "InvalidArgumentException",
207
+ "IteratorIterator",
208
+ "LengthException",
209
+ "LimitIterator",
210
+ "LogicException",
211
+ "MultipleIterator",
212
+ "NoRewindIterator",
213
+ "OutOfBoundsException",
214
+ "OutOfRangeException",
215
+ "OuterIterator",
216
+ "OverflowException",
217
+ "ParentIterator",
218
+ "ParseError",
219
+ "RangeException",
220
+ "RecursiveArrayIterator",
221
+ "RecursiveCachingIterator",
222
+ "RecursiveCallbackFilterIterator",
223
+ "RecursiveDirectoryIterator",
224
+ "RecursiveFilterIterator",
225
+ "RecursiveIterator",
226
+ "RecursiveIteratorIterator",
227
+ "RecursiveRegexIterator",
228
+ "RecursiveTreeIterator",
229
+ "RegexIterator",
230
+ "RuntimeException",
231
+ "SeekableIterator",
232
+ "SplDoublyLinkedList",
233
+ "SplFileInfo",
234
+ "SplFileObject",
235
+ "SplFixedArray",
236
+ "SplHeap",
237
+ "SplMaxHeap",
238
+ "SplMinHeap",
239
+ "SplObjectStorage",
240
+ "SplObserver",
241
+ "SplPriorityQueue",
242
+ "SplQueue",
243
+ "SplStack",
244
+ "SplSubject",
245
+ "SplTempFileObject",
246
+ "TypeError",
247
+ "UnderflowException",
248
+ "UnexpectedValueException",
249
+ "UnhandledMatchError",
250
+ // Reserved interfaces:
251
+ // <https://www.php.net/manual/en/reserved.interfaces.php>
252
+ "ArrayAccess",
253
+ "BackedEnum",
254
+ "Closure",
255
+ "Fiber",
256
+ "Generator",
257
+ "Iterator",
258
+ "IteratorAggregate",
259
+ "Serializable",
260
+ "Stringable",
261
+ "Throwable",
262
+ "Traversable",
263
+ "UnitEnum",
264
+ "WeakReference",
265
+ "WeakMap",
266
+ // Reserved classes:
267
+ // <https://www.php.net/manual/en/reserved.classes.php>
268
+ "Directory",
269
+ "__PHP_Incomplete_Class",
270
+ "parent",
271
+ "php_user_filter",
272
+ "self",
273
+ "static",
274
+ "stdClass"
275
+ ], b = {
276
+ keyword: f,
277
+ literal: ((n) => {
278
+ const a = [];
279
+ return n.forEach((c) => {
280
+ a.push(c), c.toLowerCase() === c ? a.push(c.toUpperCase()) : a.push(c.toLowerCase());
281
+ }), a;
282
+ })(d),
283
+ built_in: p
284
+ }, u = (n) => n.map((a) => a.replace(/\|\d+$/, "")), O = { variants: [
285
+ {
286
+ match: [
287
+ /new/,
288
+ t.concat(T, "+"),
289
+ // to prevent built ins from being confused as the class constructor call
290
+ t.concat("(?!", u(p).join("\\b|"), "\\b)"),
291
+ r
292
+ ],
293
+ scope: {
294
+ 1: "keyword",
295
+ 4: "title.class"
296
+ }
297
+ }
298
+ ] }, C = t.concat(o, "\\b(?!\\()"), l = { variants: [
299
+ {
300
+ match: [
301
+ t.concat(
302
+ /::/,
303
+ t.lookahead(/(?!class\b)/)
304
+ ),
305
+ C
306
+ ],
307
+ scope: { 2: "variable.constant" }
308
+ },
309
+ {
310
+ match: [
311
+ /::/,
312
+ /class/
313
+ ],
314
+ scope: { 2: "variable.language" }
315
+ },
316
+ {
317
+ match: [
318
+ r,
319
+ t.concat(
320
+ /::/,
321
+ t.lookahead(/(?!class\b)/)
322
+ ),
323
+ C
324
+ ],
325
+ scope: {
326
+ 1: "title.class",
327
+ 3: "variable.constant"
328
+ }
329
+ },
330
+ {
331
+ match: [
332
+ r,
333
+ t.concat(
334
+ "::",
335
+ t.lookahead(/(?!class\b)/)
336
+ )
337
+ ],
338
+ scope: { 1: "title.class" }
339
+ },
340
+ {
341
+ match: [
342
+ r,
343
+ /::/,
344
+ /class/
345
+ ],
346
+ scope: {
347
+ 1: "title.class",
348
+ 3: "variable.language"
349
+ }
350
+ }
351
+ ] }, R = {
352
+ scope: "attr",
353
+ match: t.concat(o, t.lookahead(":"), t.lookahead(/(?!::)/))
354
+ }, A = {
355
+ relevance: 0,
356
+ begin: /\(/,
357
+ end: /\)/,
358
+ keywords: b,
359
+ contains: [
360
+ R,
361
+ E,
362
+ l,
363
+ e.C_BLOCK_COMMENT_MODE,
364
+ i,
365
+ s,
366
+ O
367
+ ]
368
+ }, m = {
369
+ relevance: 0,
370
+ match: [
371
+ /\b/,
372
+ // to prevent keywords from being confused as the function title
373
+ t.concat("(?!fn\\b|function\\b|", u(f).join("\\b|"), "|", u(p).join("\\b|"), "\\b)"),
374
+ o,
375
+ t.concat(T, "*"),
376
+ t.lookahead(/(?=\()/)
377
+ ],
378
+ scope: { 3: "title.function.invoke" },
379
+ contains: [A]
380
+ };
381
+ A.contains.push(m);
382
+ const v = [
383
+ R,
384
+ l,
385
+ e.C_BLOCK_COMMENT_MODE,
386
+ i,
387
+ s,
388
+ O
389
+ ], M = {
390
+ begin: t.concat(
391
+ /#\[\s*\\?/,
392
+ t.either(
393
+ r,
394
+ g
395
+ )
396
+ ),
397
+ beginScope: "meta",
398
+ end: /]/,
399
+ endScope: "meta",
400
+ keywords: {
401
+ literal: d,
402
+ keyword: [
403
+ "new",
404
+ "array"
405
+ ]
406
+ },
407
+ contains: [
408
+ {
409
+ begin: /\[/,
410
+ end: /]/,
411
+ keywords: {
412
+ literal: d,
413
+ keyword: [
414
+ "new",
415
+ "array"
416
+ ]
417
+ },
418
+ contains: [
419
+ "self",
420
+ ...v
421
+ ]
422
+ },
423
+ ...v,
424
+ {
425
+ scope: "meta",
426
+ variants: [
427
+ { match: r },
428
+ { match: g }
429
+ ]
430
+ }
431
+ ]
432
+ };
433
+ return {
434
+ case_insensitive: !1,
435
+ keywords: b,
436
+ contains: [
437
+ M,
438
+ e.HASH_COMMENT_MODE,
439
+ e.COMMENT("//", "$"),
440
+ e.COMMENT(
441
+ "/\\*",
442
+ "\\*/",
443
+ { contains: [
444
+ {
445
+ scope: "doctag",
446
+ match: "@[A-Za-z]+"
447
+ }
448
+ ] }
449
+ ),
450
+ {
451
+ match: /__halt_compiler\(\);/,
452
+ keywords: "__halt_compiler",
453
+ starts: {
454
+ scope: "comment",
455
+ end: e.MATCH_NOTHING_RE,
456
+ contains: [
457
+ {
458
+ match: /\?>/,
459
+ scope: "meta",
460
+ endsParent: !0
461
+ }
462
+ ]
463
+ }
464
+ },
465
+ y,
466
+ {
467
+ scope: "variable.language",
468
+ match: /\$this\b/
469
+ },
470
+ E,
471
+ m,
472
+ l,
473
+ {
474
+ match: [
475
+ /const/,
476
+ /\s/,
477
+ o
478
+ ],
479
+ scope: {
480
+ 1: "keyword",
481
+ 3: "variable.constant"
482
+ }
483
+ },
484
+ O,
485
+ {
486
+ scope: "function",
487
+ relevance: 0,
488
+ beginKeywords: "fn function",
489
+ end: /[;{]/,
490
+ excludeEnd: !0,
491
+ illegal: "[$%\\[]",
492
+ contains: [
493
+ { beginKeywords: "use" },
494
+ e.UNDERSCORE_TITLE_MODE,
495
+ {
496
+ begin: "=>",
497
+ // No markup, just a relevance booster
498
+ endsParent: !0
499
+ },
500
+ {
501
+ scope: "params",
502
+ begin: "\\(",
503
+ end: "\\)",
504
+ excludeBegin: !0,
505
+ excludeEnd: !0,
506
+ keywords: b,
507
+ contains: [
508
+ "self",
509
+ M,
510
+ E,
511
+ l,
512
+ e.C_BLOCK_COMMENT_MODE,
513
+ i,
514
+ s
515
+ ]
516
+ }
517
+ ]
518
+ },
519
+ {
520
+ scope: "class",
521
+ variants: [
522
+ {
523
+ beginKeywords: "enum",
524
+ illegal: /[($"]/
525
+ },
526
+ {
527
+ beginKeywords: "class interface trait",
528
+ illegal: /[:($"]/
529
+ }
530
+ ],
531
+ relevance: 0,
532
+ end: /\{/,
533
+ excludeEnd: !0,
534
+ contains: [
535
+ { beginKeywords: "extends implements" },
536
+ e.UNDERSCORE_TITLE_MODE
537
+ ]
538
+ },
539
+ // both use and namespace still use "old style" rules (vs multi-match)
540
+ // because the namespace name can include `\` and we still want each
541
+ // element to be treated as its own *individual* title
542
+ {
543
+ beginKeywords: "namespace",
544
+ relevance: 0,
545
+ end: ";",
546
+ illegal: /[.']/,
547
+ contains: [e.inherit(e.UNDERSCORE_TITLE_MODE, { scope: "title.class" })]
548
+ },
549
+ {
550
+ beginKeywords: "use",
551
+ relevance: 0,
552
+ end: ";",
553
+ contains: [
554
+ // TODO: title.function vs title.class
555
+ {
556
+ match: /\b(as|const|function)\b/,
557
+ scope: "keyword"
558
+ },
559
+ // TODO: could be title.class or title.function
560
+ e.UNDERSCORE_TITLE_MODE
561
+ ]
562
+ },
563
+ i,
564
+ s
565
+ ]
566
+ };
567
+ }
568
+ return I = h, I;
569
+ }
570
+ export {
571
+ U as __require
572
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t,e;function i(){if(e)return t;e=1;function r(n){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return t=r,t}exports.__require=i;
@@ -0,0 +1,19 @@
1
+ var t, e;
2
+ function i() {
3
+ if (e) return t;
4
+ e = 1;
5
+ function r(a) {
6
+ return {
7
+ name: "Plain text",
8
+ aliases: [
9
+ "text",
10
+ "txt"
11
+ ],
12
+ disableAutodetect: !0
13
+ };
14
+ }
15
+ return t = r, t;
16
+ }
17
+ export {
18
+ i as __require
19
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e,t;function r(){if(t)return e;t=1;function n(a){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return e=n,e}exports.__require=r;
@@ -0,0 +1,32 @@
1
+ var e, n;
2
+ function a() {
3
+ if (n) return e;
4
+ n = 1;
5
+ function t(r) {
6
+ return {
7
+ aliases: ["pycon"],
8
+ contains: [
9
+ {
10
+ className: "meta.prompt",
11
+ starts: {
12
+ // a space separates the REPL prefix from the actual code
13
+ // this is purely for cleaner HTML output
14
+ end: / |$/,
15
+ starts: {
16
+ end: "$",
17
+ subLanguage: "python"
18
+ }
19
+ },
20
+ variants: [
21
+ { begin: /^>>>(?=[ ]|$)/ },
22
+ { begin: /^\.\.\.(?=[ ]|$)/ }
23
+ ]
24
+ }
25
+ ]
26
+ };
27
+ }
28
+ return e = t, e;
29
+ }
30
+ export {
31
+ a as __require
32
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var b,p;function E(){if(p)return b;p=1;function u(e){const S=e.regex,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),d=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],s={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:d,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},n={className:"meta",begin:/^(>>>|\.\.\.) /},i={className:"subst",begin:/\{/,end:/\}/,keywords:s,illegal:/#/},o={begin:/\{\{/,relevance:0},c={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,n],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,n],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,n,o,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,n,o,i]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,o,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,o,i]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},t="[0-9](_?[0-9])*",_=`(\\b(${t}))?\\.(${t})|\\b(${t})\\.`,a=`\\b|${d.join("|")}`,l={className:"number",relevance:0,variants:[{begin:`(\\b(${t})|(${_}))[eE][+-]?(${t})[jJ]?(?=${a})`},{begin:`(${_})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${a})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${a})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${a})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${a})`},{begin:`\\b(${t})[jJ](?=${a})`}]},m={className:"comment",begin:S.lookahead(/# type:/),end:/$/,keywords:s,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},g={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:["self",n,l,c,e.HASH_COMMENT_MODE]}]};return i.contains=[c,l,n],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:s,illegal:/(<\/|\?)|=>/,contains:[n,l,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},c,m,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[g]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[l,g,c]}]}}return b=u,b}exports.__require=E;