@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.
- package/dist/_virtual/_commonjsHelpers.cjs +1 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/_virtual/common.cjs +1 -0
- package/dist/_virtual/common.js +7 -0
- package/dist/_virtual/core.cjs +1 -0
- package/dist/_virtual/core.js +7 -0
- package/dist/index.css +1 -2
- package/dist/node_modules/.pnpm/@highlightjs_vue-plugin@2.1_dace39d2ab17d71b087de9a32848566a/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.cjs +1 -0
- package/dist/node_modules/.pnpm/@highlightjs_vue-plugin@2.1_dace39d2ab17d71b087de9a32848566a/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +31 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/common.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/common.js +5 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/core.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/core.js +5 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/common.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/common.js +47 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.cjs +3 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/core.js +1063 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bash.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/bash.js +383 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/c.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/c.js +283 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.js +527 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csharp.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/csharp.js +388 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/css.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/css.js +929 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/diff.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/diff.js +60 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/go.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/go.js +157 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/graphql.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/graphql.js +76 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ini.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ini.js +113 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/java.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/java.js +246 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/javascript.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/javascript.js +664 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/json.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/json.js +44 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/kotlin.cjs +2 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/kotlin.js +248 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/less.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/less.js +998 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lua.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/lua.js +65 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/makefile.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/makefile.js +73 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/markdown.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/markdown.js +222 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/objectivec.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/objectivec.js +243 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/perl.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/perl.js +475 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php-template.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php-template.js +53 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.cjs +2 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.js +572 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/plaintext.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/plaintext.js +19 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python-repl.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python-repl.js +32 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/python.js +405 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.js +213 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruby.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/ruby.js +394 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rust.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/rust.js +311 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scss.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/scss.js +914 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/shell.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/shell.js +31 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sql.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/sql.js +621 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/swift.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/swift.js +805 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/typescript.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/typescript.js +759 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbnet.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/vbnet.js +128 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wasm.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/wasm.js +120 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xml.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/xml.js +225 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/yaml.cjs +1 -0
- package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/yaml.js +189 -0
- package/dist/packages/components/aside/index.vue.cjs +1 -0
- package/dist/packages/components/aside/index.vue.js +98 -0
- package/dist/packages/components/aside/index.vue2.cjs +1 -0
- package/dist/packages/components/aside/index.vue2.js +4 -0
- package/dist/packages/components/boxurl/index.vue.cjs +1 -0
- package/dist/packages/components/boxurl/index.vue.js +62 -0
- package/dist/packages/components/boxurl/index.vue2.cjs +1 -0
- package/dist/packages/components/boxurl/index.vue2.js +4 -0
- package/dist/packages/components/choice/choice.vue.cjs +1 -0
- package/dist/packages/components/choice/choice.vue.js +46 -0
- package/dist/packages/components/choice/choice.vue2.cjs +1 -0
- package/dist/packages/components/choice/choice.vue2.js +4 -0
- package/dist/packages/components/choice/index.vue.cjs +1 -0
- package/dist/packages/components/choice/index.vue.js +87 -0
- package/dist/packages/components/choice/index.vue2.cjs +1 -0
- package/dist/packages/components/choice/index.vue2.js +4 -0
- package/dist/packages/components/code/highlight.vue.cjs +1 -0
- package/dist/packages/components/code/highlight.vue.js +16 -0
- package/dist/packages/components/code/highlight.vue2.cjs +1 -0
- package/dist/packages/components/code/highlight.vue2.js +20 -0
- package/dist/packages/components/code/index.vue.cjs +1 -0
- package/dist/packages/components/code/index.vue.js +115 -0
- package/dist/packages/components/code/index.vue2.cjs +1 -0
- package/dist/packages/components/code/index.vue2.js +4 -0
- package/dist/packages/components/compo/code.vue.cjs +1 -0
- package/dist/packages/components/compo/code.vue.js +21 -0
- package/dist/packages/components/compo/code.vue3.cjs +1 -0
- package/dist/packages/components/compo/code.vue3.js +5 -0
- package/dist/packages/components/compo/ftable.vue.cjs +1 -0
- package/dist/packages/components/compo/ftable.vue.js +57 -0
- package/dist/packages/components/compo/ftable.vue2.cjs +1 -0
- package/dist/packages/components/compo/ftable.vue2.js +4 -0
- package/dist/packages/components/compo/index.cjs +1 -0
- package/dist/packages/components/compo/index.js +127 -0
- package/dist/packages/components/compo/index.vue.cjs +1 -0
- package/dist/packages/components/compo/index.vue.js +79 -0
- package/dist/packages/components/compo/index.vue2.cjs +1 -0
- package/dist/packages/components/compo/index.vue2.js +4 -0
- package/dist/packages/components/compo/info-top.vue.cjs +1 -0
- package/dist/packages/components/compo/info-top.vue.js +32 -0
- package/dist/packages/components/compo/info-top.vue2.cjs +1 -0
- package/dist/packages/components/compo/info-top.vue2.js +4 -0
- package/dist/packages/components/compo/info.vue.cjs +1 -0
- package/dist/packages/components/compo/info.vue.js +41 -0
- package/dist/packages/components/compo/info.vue2.cjs +1 -0
- package/dist/packages/components/compo/info.vue2.js +4 -0
- package/dist/packages/components/compo/props.vue.cjs +1 -0
- package/dist/packages/components/compo/props.vue.js +87 -0
- package/dist/packages/components/compo/props.vue2.cjs +1 -0
- package/dist/packages/components/compo/props.vue2.js +4 -0
- package/dist/packages/components/compo/top.cjs +1 -0
- package/dist/packages/components/compo/top.js +148 -0
- package/dist/packages/components/header/index.vue.cjs +1 -0
- package/dist/packages/components/header/index.vue.js +10 -0
- package/dist/packages/components/main/index.vue.cjs +1 -0
- package/dist/packages/components/main/index.vue.js +68 -0
- package/dist/packages/components/main/index.vue2.cjs +1 -0
- package/dist/packages/components/main/index.vue2.js +4 -0
- package/dist/packages/components/md/index.vue.cjs +1 -0
- package/dist/packages/components/md/index.vue.js +56 -0
- package/dist/packages/components/md/index.vue2.cjs +1 -0
- package/dist/packages/components/md/index.vue2.js +4 -0
- package/dist/packages/components/test/index.cjs +1 -0
- package/dist/packages/components/test/index.js +105 -0
- package/dist/packages/components/test/index.vue.cjs +1 -0
- package/dist/packages/components/test/index.vue.js +75 -0
- package/dist/packages/components/test/index.vue2.cjs +1 -0
- package/dist/packages/components/test/index.vue2.js +4 -0
- package/dist/packages/components/test/top.cjs +1 -0
- package/dist/packages/components/test/top.js +148 -0
- package/dist/packages/components/use/code.cjs +20 -0
- package/dist/packages/components/use/code.js +212 -0
- package/dist/packages/components/use/code.vue.cjs +1 -0
- package/dist/packages/components/use/code.vue.js +66 -0
- package/dist/packages/components/use/code.vue2.cjs +1 -0
- package/dist/packages/components/use/code.vue2.js +4 -0
- package/dist/packages/components/use/edit.cjs +18 -0
- package/dist/packages/components/use/edit.js +214 -0
- package/dist/packages/components/use/effect.vue.cjs +1 -0
- package/dist/packages/components/use/effect.vue.js +12 -0
- package/dist/packages/components/use/index.cjs +1 -0
- package/dist/packages/components/use/index.js +196 -0
- package/dist/packages/components/use/prettier.cjs +1 -0
- package/dist/packages/components/use/prettier.js +40 -0
- package/dist/packages/components/use/retrie/any/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/any/index.vue.js +115 -0
- package/dist/packages/components/use/retrie/any/index.vue2.cjs +1 -0
- package/dist/packages/components/use/retrie/any/index.vue2.js +4 -0
- package/dist/packages/components/use/retrie/array/index.vue.cjs +3 -0
- package/dist/packages/components/use/retrie/array/index.vue.js +55 -0
- package/dist/packages/components/use/retrie/array/index.vue2.cjs +1 -0
- package/dist/packages/components/use/retrie/array/index.vue2.js +4 -0
- package/dist/packages/components/use/retrie/boolean/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/boolean/index.vue.js +68 -0
- package/dist/packages/components/use/retrie/boolean/index.vue3.cjs +1 -0
- package/dist/packages/components/use/retrie/boolean/index.vue3.js +5 -0
- package/dist/packages/components/use/retrie/choice/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/choice/index.vue.js +142 -0
- package/dist/packages/components/use/retrie/choice/index.vue3.cjs +1 -0
- package/dist/packages/components/use/retrie/choice/index.vue3.js +5 -0
- package/dist/packages/components/use/retrie/expose/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/expose/index.vue.js +63 -0
- package/dist/packages/components/use/retrie/expose/index.vue3.cjs +1 -0
- package/dist/packages/components/use/retrie/expose/index.vue3.js +5 -0
- package/dist/packages/components/use/retrie/form/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/form/index.vue.js +148 -0
- package/dist/packages/components/use/retrie/form/index.vue2.cjs +1 -0
- package/dist/packages/components/use/retrie/form/index.vue2.js +4 -0
- package/dist/packages/components/use/retrie/function/index.vue.cjs +3 -0
- package/dist/packages/components/use/retrie/function/index.vue.js +68 -0
- package/dist/packages/components/use/retrie/function/index.vue2.cjs +1 -0
- package/dist/packages/components/use/retrie/function/index.vue2.js +4 -0
- package/dist/packages/components/use/retrie/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/index.vue.js +103 -0
- package/dist/packages/components/use/retrie/index.vue3.cjs +1 -0
- package/dist/packages/components/use/retrie/index.vue3.js +5 -0
- package/dist/packages/components/use/retrie/input/editor/editor.cjs +1 -0
- package/dist/packages/components/use/retrie/input/editor/editor.js +104 -0
- package/dist/packages/components/use/retrie/input/editor/editor.vue.cjs +5 -0
- package/dist/packages/components/use/retrie/input/editor/editor.vue.js +59 -0
- package/dist/packages/components/use/retrie/input/editor/editor.vue3.cjs +1 -0
- package/dist/packages/components/use/retrie/input/editor/editor.vue3.js +5 -0
- package/dist/packages/components/use/retrie/input/editor/getExtraLib.cjs +416 -0
- package/dist/packages/components/use/retrie/input/editor/getExtraLib.js +427 -0
- package/dist/packages/components/use/retrie/input/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/input/index.vue.js +54 -0
- package/dist/packages/components/use/retrie/input/index.vue3.cjs +1 -0
- package/dist/packages/components/use/retrie/input/index.vue3.js +5 -0
- package/dist/packages/components/use/retrie/input/text.vue.cjs +5 -0
- package/dist/packages/components/use/retrie/input/text.vue.js +39 -0
- package/dist/packages/components/use/retrie/input/text.vue3.cjs +1 -0
- package/dist/packages/components/use/retrie/input/text.vue3.js +5 -0
- package/dist/packages/components/use/retrie/number/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/number/index.vue.js +50 -0
- package/dist/packages/components/use/retrie/number/index.vue3.cjs +1 -0
- package/dist/packages/components/use/retrie/number/index.vue3.js +5 -0
- package/dist/packages/components/use/retrie/object/index.vue.cjs +3 -0
- package/dist/packages/components/use/retrie/object/index.vue.js +55 -0
- package/dist/packages/components/use/retrie/object/index.vue2.cjs +1 -0
- package/dist/packages/components/use/retrie/object/index.vue2.js +4 -0
- package/dist/packages/components/use/retrie/other/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/other/index.vue.js +67 -0
- package/dist/packages/components/use/retrie/other/index.vue2.cjs +1 -0
- package/dist/packages/components/use/retrie/other/index.vue2.js +4 -0
- package/dist/packages/components/use/retrie/select/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/select/index.vue.js +123 -0
- package/dist/packages/components/use/retrie/select/index.vue3.cjs +1 -0
- package/dist/packages/components/use/retrie/select/index.vue3.js +5 -0
- package/dist/packages/components/use/retrie/slot/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/slot/index.vue.js +43 -0
- package/dist/packages/components/use/retrie/slot/index.vue2.cjs +1 -0
- package/dist/packages/components/use/retrie/slot/index.vue2.js +4 -0
- package/dist/packages/components/use/retrie/string/index.vue.cjs +1 -0
- package/dist/packages/components/use/retrie/string/index.vue.js +53 -0
- package/dist/packages/components/use/retrie/string/index.vue3.cjs +1 -0
- package/dist/packages/components/use/retrie/string/index.vue3.js +5 -0
- package/dist/packages/components/use/set-code.vue.cjs +1 -0
- package/dist/packages/components/use/set-code.vue.js +63 -0
- package/dist/packages/components/use/set-code.vue2.cjs +1 -0
- package/dist/packages/components/use/set-code.vue2.js +4 -0
- package/dist/packages/components/use/set-emit.vue.cjs +1 -0
- package/dist/packages/components/use/set-emit.vue.js +50 -0
- package/dist/packages/components/use/set-emit.vue3.cjs +1 -0
- package/dist/packages/components/use/set-emit.vue3.js +5 -0
- package/dist/packages/components/use/set-expose.vue.cjs +1 -0
- package/dist/packages/components/use/set-expose.vue.js +66 -0
- package/dist/packages/components/use/set-expose.vue3.cjs +1 -0
- package/dist/packages/components/use/set-expose.vue3.js +5 -0
- package/dist/packages/components/use/set-props.vue.cjs +1 -0
- package/dist/packages/components/use/set-props.vue.js +71 -0
- package/dist/packages/components/use/set-props.vue2.cjs +1 -0
- package/dist/packages/components/use/set-props.vue2.js +4 -0
- package/dist/packages/components/use/set-slot.vue.cjs +1 -0
- package/dist/packages/components/use/set-slot.vue.js +45 -0
- package/dist/packages/components/use/set-slot.vue2.cjs +1 -0
- package/dist/packages/components/use/set-slot.vue2.js +4 -0
- package/dist/packages/components/use/util.cjs +3 -0
- package/dist/packages/components/use/util.js +294 -0
- package/dist/packages/config.cjs +1 -0
- package/dist/packages/config.js +14 -0
- package/dist/packages/directives/adjust/index.cjs +1 -0
- package/dist/packages/directives/adjust/index.js +246 -0
- package/dist/packages/index/index.vue.cjs +1 -0
- package/dist/packages/index/index.vue.js +4 -0
- package/dist/packages/index/index.vue2.cjs +1 -0
- package/dist/packages/index/index.vue2.js +14 -0
- package/dist/packages/index.cjs +1 -0
- package/dist/packages/index.d.ts +1 -0
- package/dist/packages/index.js +20 -0
- package/dist/packages/page/compon/index.vue.cjs +1 -0
- package/dist/packages/page/compon/index.vue.js +4 -0
- package/dist/packages/page/compon/index.vue2.cjs +1 -0
- package/dist/packages/page/compon/index.vue2.js +21 -0
- package/dist/packages/page/comprops/index.vue.cjs +1 -0
- package/dist/packages/page/comprops/index.vue.js +4 -0
- package/dist/packages/page/comprops/index.vue2.cjs +1 -0
- package/dist/packages/page/comprops/index.vue2.js +91 -0
- package/dist/packages/page/develop/index.vue.cjs +1 -0
- package/dist/packages/page/develop/index.vue.js +4 -0
- package/dist/packages/page/develop/index.vue2.cjs +1 -0
- package/dist/packages/page/develop/index.vue2.js +26 -0
- package/dist/packages/page/edit/index.vue.cjs +1 -0
- package/dist/packages/page/edit/index.vue.js +4 -0
- package/dist/packages/page/edit/index.vue2.cjs +1 -0
- package/dist/packages/page/edit/index.vue2.js +27 -0
- package/dist/packages/page/index/index.vue.cjs +1 -0
- package/dist/packages/page/index/index.vue.js +4 -0
- package/dist/packages/page/index/index.vue2.cjs +1 -0
- package/dist/packages/page/index/index.vue2.js +61 -0
- package/dist/packages/page/single/index.vue.cjs +1 -0
- package/dist/packages/page/single/index.vue.js +4 -0
- package/dist/packages/page/single/index.vue2.cjs +1 -0
- package/dist/packages/page/single/index.vue2.js +60 -0
- package/dist/packages/page/tests/index.vue.cjs +1 -0
- package/dist/packages/page/tests/index.vue.js +4 -0
- package/dist/packages/page/tests/index.vue2.cjs +1 -0
- package/dist/packages/page/tests/index.vue2.js +67 -0
- package/dist/packages/router/file.cjs +1 -0
- package/dist/packages/router/file.js +44 -0
- package/dist/packages/router/index.cjs +1 -0
- package/dist/packages/router/index.js +122 -0
- package/dist/packages/utils/annotat.cjs +1 -0
- package/dist/packages/utils/annotat.js +322 -0
- package/dist/packages/utils/common.cjs +1 -0
- package/dist/packages/utils/common.js +200 -0
- package/dist/packages/utils/glob.cjs +5 -0
- package/dist/packages/utils/glob.js +502 -0
- package/dist/packages/utils/index.cjs +1 -0
- package/dist/packages/utils/index.js +14 -0
- package/dist/packages/utils/props.cjs +1 -0
- package/dist/packages/utils/props.js +110 -0
- package/dist/packages/utils/storage.cjs +1 -0
- package/dist/packages/utils/storage.js +34 -0
- package/dist/packages/utils/util.cjs +1 -0
- package/dist/packages/utils/util.js +46 -0
- package/package.json +5 -5
- package/dist/config.cjs +0 -1
- package/dist/config.js +0 -11
- package/dist/index/index.cjs +0 -1
- package/dist/index/index.js +0 -5
- package/dist/index/index.vue_vue_type_script_setup_true_lang.cjs +0 -1
- package/dist/index/index.vue_vue_type_script_setup_true_lang.js +0 -12
- package/dist/index.cjs +0 -1
- package/dist/index.js +0 -15
- package/dist/router/file.cjs +0 -1
- package/dist/router/file.js +0 -32
- package/dist/router/index.cjs +0 -1
- package/dist/router/index.js +0 -45
- package/dist/utils/storage.cjs +0 -1
- package/dist/utils/storage.js +0 -23
package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/php.js
ADDED
|
@@ -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 @@
|
|
|
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;
|