@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
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
var b, g;
|
|
2
|
+
function A() {
|
|
3
|
+
if (g) return b;
|
|
4
|
+
g = 1;
|
|
5
|
+
function S(e) {
|
|
6
|
+
const u = e.regex, s = new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*", "u"), d = [
|
|
7
|
+
"and",
|
|
8
|
+
"as",
|
|
9
|
+
"assert",
|
|
10
|
+
"async",
|
|
11
|
+
"await",
|
|
12
|
+
"break",
|
|
13
|
+
"case",
|
|
14
|
+
"class",
|
|
15
|
+
"continue",
|
|
16
|
+
"def",
|
|
17
|
+
"del",
|
|
18
|
+
"elif",
|
|
19
|
+
"else",
|
|
20
|
+
"except",
|
|
21
|
+
"finally",
|
|
22
|
+
"for",
|
|
23
|
+
"from",
|
|
24
|
+
"global",
|
|
25
|
+
"if",
|
|
26
|
+
"import",
|
|
27
|
+
"in",
|
|
28
|
+
"is",
|
|
29
|
+
"lambda",
|
|
30
|
+
"match",
|
|
31
|
+
"nonlocal|10",
|
|
32
|
+
"not",
|
|
33
|
+
"or",
|
|
34
|
+
"pass",
|
|
35
|
+
"raise",
|
|
36
|
+
"return",
|
|
37
|
+
"try",
|
|
38
|
+
"while",
|
|
39
|
+
"with",
|
|
40
|
+
"yield"
|
|
41
|
+
], r = {
|
|
42
|
+
$pattern: /[A-Za-z]\w+|__\w+__/,
|
|
43
|
+
keyword: d,
|
|
44
|
+
built_in: [
|
|
45
|
+
"__import__",
|
|
46
|
+
"abs",
|
|
47
|
+
"all",
|
|
48
|
+
"any",
|
|
49
|
+
"ascii",
|
|
50
|
+
"bin",
|
|
51
|
+
"bool",
|
|
52
|
+
"breakpoint",
|
|
53
|
+
"bytearray",
|
|
54
|
+
"bytes",
|
|
55
|
+
"callable",
|
|
56
|
+
"chr",
|
|
57
|
+
"classmethod",
|
|
58
|
+
"compile",
|
|
59
|
+
"complex",
|
|
60
|
+
"delattr",
|
|
61
|
+
"dict",
|
|
62
|
+
"dir",
|
|
63
|
+
"divmod",
|
|
64
|
+
"enumerate",
|
|
65
|
+
"eval",
|
|
66
|
+
"exec",
|
|
67
|
+
"filter",
|
|
68
|
+
"float",
|
|
69
|
+
"format",
|
|
70
|
+
"frozenset",
|
|
71
|
+
"getattr",
|
|
72
|
+
"globals",
|
|
73
|
+
"hasattr",
|
|
74
|
+
"hash",
|
|
75
|
+
"help",
|
|
76
|
+
"hex",
|
|
77
|
+
"id",
|
|
78
|
+
"input",
|
|
79
|
+
"int",
|
|
80
|
+
"isinstance",
|
|
81
|
+
"issubclass",
|
|
82
|
+
"iter",
|
|
83
|
+
"len",
|
|
84
|
+
"list",
|
|
85
|
+
"locals",
|
|
86
|
+
"map",
|
|
87
|
+
"max",
|
|
88
|
+
"memoryview",
|
|
89
|
+
"min",
|
|
90
|
+
"next",
|
|
91
|
+
"object",
|
|
92
|
+
"oct",
|
|
93
|
+
"open",
|
|
94
|
+
"ord",
|
|
95
|
+
"pow",
|
|
96
|
+
"print",
|
|
97
|
+
"property",
|
|
98
|
+
"range",
|
|
99
|
+
"repr",
|
|
100
|
+
"reversed",
|
|
101
|
+
"round",
|
|
102
|
+
"set",
|
|
103
|
+
"setattr",
|
|
104
|
+
"slice",
|
|
105
|
+
"sorted",
|
|
106
|
+
"staticmethod",
|
|
107
|
+
"str",
|
|
108
|
+
"sum",
|
|
109
|
+
"super",
|
|
110
|
+
"tuple",
|
|
111
|
+
"type",
|
|
112
|
+
"vars",
|
|
113
|
+
"zip"
|
|
114
|
+
],
|
|
115
|
+
literal: [
|
|
116
|
+
"__debug__",
|
|
117
|
+
"Ellipsis",
|
|
118
|
+
"False",
|
|
119
|
+
"None",
|
|
120
|
+
"NotImplemented",
|
|
121
|
+
"True"
|
|
122
|
+
],
|
|
123
|
+
type: [
|
|
124
|
+
"Any",
|
|
125
|
+
"Callable",
|
|
126
|
+
"Coroutine",
|
|
127
|
+
"Dict",
|
|
128
|
+
"List",
|
|
129
|
+
"Literal",
|
|
130
|
+
"Generic",
|
|
131
|
+
"Optional",
|
|
132
|
+
"Sequence",
|
|
133
|
+
"Set",
|
|
134
|
+
"Tuple",
|
|
135
|
+
"Type",
|
|
136
|
+
"Union"
|
|
137
|
+
]
|
|
138
|
+
}, n = {
|
|
139
|
+
className: "meta",
|
|
140
|
+
begin: /^(>>>|\.\.\.) /
|
|
141
|
+
}, i = {
|
|
142
|
+
className: "subst",
|
|
143
|
+
begin: /\{/,
|
|
144
|
+
end: /\}/,
|
|
145
|
+
keywords: r,
|
|
146
|
+
illegal: /#/
|
|
147
|
+
}, o = {
|
|
148
|
+
begin: /\{\{/,
|
|
149
|
+
relevance: 0
|
|
150
|
+
}, c = {
|
|
151
|
+
className: "string",
|
|
152
|
+
contains: [e.BACKSLASH_ESCAPE],
|
|
153
|
+
variants: [
|
|
154
|
+
{
|
|
155
|
+
begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,
|
|
156
|
+
end: /'''/,
|
|
157
|
+
contains: [
|
|
158
|
+
e.BACKSLASH_ESCAPE,
|
|
159
|
+
n
|
|
160
|
+
],
|
|
161
|
+
relevance: 10
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,
|
|
165
|
+
end: /"""/,
|
|
166
|
+
contains: [
|
|
167
|
+
e.BACKSLASH_ESCAPE,
|
|
168
|
+
n
|
|
169
|
+
],
|
|
170
|
+
relevance: 10
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
begin: /([fF][rR]|[rR][fF]|[fF])'''/,
|
|
174
|
+
end: /'''/,
|
|
175
|
+
contains: [
|
|
176
|
+
e.BACKSLASH_ESCAPE,
|
|
177
|
+
n,
|
|
178
|
+
o,
|
|
179
|
+
i
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
begin: /([fF][rR]|[rR][fF]|[fF])"""/,
|
|
184
|
+
end: /"""/,
|
|
185
|
+
contains: [
|
|
186
|
+
e.BACKSLASH_ESCAPE,
|
|
187
|
+
n,
|
|
188
|
+
o,
|
|
189
|
+
i
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
begin: /([uU]|[rR])'/,
|
|
194
|
+
end: /'/,
|
|
195
|
+
relevance: 10
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
begin: /([uU]|[rR])"/,
|
|
199
|
+
end: /"/,
|
|
200
|
+
relevance: 10
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
begin: /([bB]|[bB][rR]|[rR][bB])'/,
|
|
204
|
+
end: /'/
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
begin: /([bB]|[bB][rR]|[rR][bB])"/,
|
|
208
|
+
end: /"/
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
begin: /([fF][rR]|[rR][fF]|[fF])'/,
|
|
212
|
+
end: /'/,
|
|
213
|
+
contains: [
|
|
214
|
+
e.BACKSLASH_ESCAPE,
|
|
215
|
+
o,
|
|
216
|
+
i
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
begin: /([fF][rR]|[rR][fF]|[fF])"/,
|
|
221
|
+
end: /"/,
|
|
222
|
+
contains: [
|
|
223
|
+
e.BACKSLASH_ESCAPE,
|
|
224
|
+
o,
|
|
225
|
+
i
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
e.APOS_STRING_MODE,
|
|
229
|
+
e.QUOTE_STRING_MODE
|
|
230
|
+
]
|
|
231
|
+
}, t = "[0-9](_?[0-9])*", _ = `(\\b(${t}))?\\.(${t})|\\b(${t})\\.`, a = `\\b|${d.join("|")}`, l = {
|
|
232
|
+
className: "number",
|
|
233
|
+
relevance: 0,
|
|
234
|
+
variants: [
|
|
235
|
+
// exponentfloat, pointfloat
|
|
236
|
+
// https://docs.python.org/3.9/reference/lexical_analysis.html#floating-point-literals
|
|
237
|
+
// optionally imaginary
|
|
238
|
+
// https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
|
|
239
|
+
// Note: no leading \b because floats can start with a decimal point
|
|
240
|
+
// and we don't want to mishandle e.g. `fn(.5)`,
|
|
241
|
+
// no trailing \b for pointfloat because it can end with a decimal point
|
|
242
|
+
// and we don't want to mishandle e.g. `0..hex()`; this should be safe
|
|
243
|
+
// because both MUST contain a decimal point and so cannot be confused with
|
|
244
|
+
// the interior part of an identifier
|
|
245
|
+
{
|
|
246
|
+
begin: `(\\b(${t})|(${_}))[eE][+-]?(${t})[jJ]?(?=${a})`
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
begin: `(${_})[jJ]?`
|
|
250
|
+
},
|
|
251
|
+
// decinteger, bininteger, octinteger, hexinteger
|
|
252
|
+
// https://docs.python.org/3.9/reference/lexical_analysis.html#integer-literals
|
|
253
|
+
// optionally "long" in Python 2
|
|
254
|
+
// https://docs.python.org/2.7/reference/lexical_analysis.html#integer-and-long-integer-literals
|
|
255
|
+
// decinteger is optionally imaginary
|
|
256
|
+
// https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
|
|
257
|
+
{
|
|
258
|
+
begin: `\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${a})`
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
begin: `\\b0[bB](_?[01])+[lL]?(?=${a})`
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
begin: `\\b0[oO](_?[0-7])+[lL]?(?=${a})`
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
begin: `\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${a})`
|
|
268
|
+
},
|
|
269
|
+
// imagnumber (digitpart-based)
|
|
270
|
+
// https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
|
|
271
|
+
{
|
|
272
|
+
begin: `\\b(${t})[jJ](?=${a})`
|
|
273
|
+
}
|
|
274
|
+
]
|
|
275
|
+
}, m = {
|
|
276
|
+
className: "comment",
|
|
277
|
+
begin: u.lookahead(/# type:/),
|
|
278
|
+
end: /$/,
|
|
279
|
+
keywords: r,
|
|
280
|
+
contains: [
|
|
281
|
+
{
|
|
282
|
+
// prevent keywords from coloring `type`
|
|
283
|
+
begin: /# type:/
|
|
284
|
+
},
|
|
285
|
+
// comment within a datatype comment includes no keywords
|
|
286
|
+
{
|
|
287
|
+
begin: /#/,
|
|
288
|
+
end: /\b\B/,
|
|
289
|
+
endsWithParent: !0
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
}, p = {
|
|
293
|
+
className: "params",
|
|
294
|
+
variants: [
|
|
295
|
+
// Exclude params in functions without params
|
|
296
|
+
{
|
|
297
|
+
className: "",
|
|
298
|
+
begin: /\(\s*\)/,
|
|
299
|
+
skip: !0
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
begin: /\(/,
|
|
303
|
+
end: /\)/,
|
|
304
|
+
excludeBegin: !0,
|
|
305
|
+
excludeEnd: !0,
|
|
306
|
+
keywords: r,
|
|
307
|
+
contains: [
|
|
308
|
+
"self",
|
|
309
|
+
n,
|
|
310
|
+
l,
|
|
311
|
+
c,
|
|
312
|
+
e.HASH_COMMENT_MODE
|
|
313
|
+
]
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
};
|
|
317
|
+
return i.contains = [
|
|
318
|
+
c,
|
|
319
|
+
l,
|
|
320
|
+
n
|
|
321
|
+
], {
|
|
322
|
+
name: "Python",
|
|
323
|
+
aliases: [
|
|
324
|
+
"py",
|
|
325
|
+
"gyp",
|
|
326
|
+
"ipython"
|
|
327
|
+
],
|
|
328
|
+
unicodeRegex: !0,
|
|
329
|
+
keywords: r,
|
|
330
|
+
illegal: /(<\/|\?)|=>/,
|
|
331
|
+
contains: [
|
|
332
|
+
n,
|
|
333
|
+
l,
|
|
334
|
+
{
|
|
335
|
+
// very common convention
|
|
336
|
+
scope: "variable.language",
|
|
337
|
+
match: /\bself\b/
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
// eat "if" prior to string so that it won't accidentally be
|
|
341
|
+
// labeled as an f-string
|
|
342
|
+
beginKeywords: "if",
|
|
343
|
+
relevance: 0
|
|
344
|
+
},
|
|
345
|
+
{ match: /\bor\b/, scope: "keyword" },
|
|
346
|
+
c,
|
|
347
|
+
m,
|
|
348
|
+
e.HASH_COMMENT_MODE,
|
|
349
|
+
{
|
|
350
|
+
match: [
|
|
351
|
+
/\bdef/,
|
|
352
|
+
/\s+/,
|
|
353
|
+
s
|
|
354
|
+
],
|
|
355
|
+
scope: {
|
|
356
|
+
1: "keyword",
|
|
357
|
+
3: "title.function"
|
|
358
|
+
},
|
|
359
|
+
contains: [p]
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
variants: [
|
|
363
|
+
{
|
|
364
|
+
match: [
|
|
365
|
+
/\bclass/,
|
|
366
|
+
/\s+/,
|
|
367
|
+
s,
|
|
368
|
+
/\s*/,
|
|
369
|
+
/\(\s*/,
|
|
370
|
+
s,
|
|
371
|
+
/\s*\)/
|
|
372
|
+
]
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
match: [
|
|
376
|
+
/\bclass/,
|
|
377
|
+
/\s+/,
|
|
378
|
+
s
|
|
379
|
+
]
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
scope: {
|
|
383
|
+
1: "keyword",
|
|
384
|
+
3: "title.class",
|
|
385
|
+
6: "title.class.inherited"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
className: "meta",
|
|
390
|
+
begin: /^[\t ]*@/,
|
|
391
|
+
end: /(?=#)|$/,
|
|
392
|
+
contains: [
|
|
393
|
+
l,
|
|
394
|
+
p,
|
|
395
|
+
c
|
|
396
|
+
]
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
return b = S, b;
|
|
402
|
+
}
|
|
403
|
+
export {
|
|
404
|
+
A as __require
|
|
405
|
+
};
|
package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t,c;function m(){if(c)return t;c=1;function o(e){const a=e.regex,i=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,n=a.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,s=a.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:i,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:a.lookahead(a.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:i},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,n]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,n]},{scope:{1:"punctuation",2:"number"},match:[s,n]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,n]}]},{scope:{3:"operator"},match:[i,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:s},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return t=o,t}exports.__require=m;
|
package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/r.js
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
var s, c;
|
|
2
|
+
function m() {
|
|
3
|
+
if (c) return s;
|
|
4
|
+
c = 1;
|
|
5
|
+
function o(e) {
|
|
6
|
+
const a = e.regex, i = /(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/, n = a.either(
|
|
7
|
+
// Special case: only hexadecimal binary powers can contain fractions
|
|
8
|
+
/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,
|
|
9
|
+
// Hexadecimal numbers without fraction and optional binary power
|
|
10
|
+
/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,
|
|
11
|
+
// Decimal numbers
|
|
12
|
+
/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/
|
|
13
|
+
), t = /[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/, r = a.either(
|
|
14
|
+
/[()]/,
|
|
15
|
+
/[{}]/,
|
|
16
|
+
/\[\[/,
|
|
17
|
+
/[[\]]/,
|
|
18
|
+
/\\/,
|
|
19
|
+
/,/
|
|
20
|
+
);
|
|
21
|
+
return {
|
|
22
|
+
name: "R",
|
|
23
|
+
keywords: {
|
|
24
|
+
$pattern: i,
|
|
25
|
+
keyword: "function if in break next repeat else for while",
|
|
26
|
+
literal: "NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",
|
|
27
|
+
built_in: (
|
|
28
|
+
// Builtin constants
|
|
29
|
+
"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"
|
|
30
|
+
)
|
|
31
|
+
},
|
|
32
|
+
contains: [
|
|
33
|
+
// Roxygen comments
|
|
34
|
+
e.COMMENT(
|
|
35
|
+
/#'/,
|
|
36
|
+
/$/,
|
|
37
|
+
{ contains: [
|
|
38
|
+
{
|
|
39
|
+
// Handle `@examples` separately to cause all subsequent code
|
|
40
|
+
// until the next `@`-tag on its own line to be kept as-is,
|
|
41
|
+
// preventing highlighting. This code is example R code, so nested
|
|
42
|
+
// doctags shouldn’t be treated as such. See
|
|
43
|
+
// `test/markup/r/roxygen.txt` for an example.
|
|
44
|
+
scope: "doctag",
|
|
45
|
+
match: /@examples/,
|
|
46
|
+
starts: {
|
|
47
|
+
end: a.lookahead(a.either(
|
|
48
|
+
// end if another doc comment
|
|
49
|
+
/\n^#'\s*(?=@[a-zA-Z]+)/,
|
|
50
|
+
// or a line with no comment
|
|
51
|
+
/\n^(?!#')/
|
|
52
|
+
)),
|
|
53
|
+
endsParent: !0
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
// Handle `@param` to highlight the parameter name following
|
|
58
|
+
// after.
|
|
59
|
+
scope: "doctag",
|
|
60
|
+
begin: "@param",
|
|
61
|
+
end: /$/,
|
|
62
|
+
contains: [
|
|
63
|
+
{
|
|
64
|
+
scope: "variable",
|
|
65
|
+
variants: [
|
|
66
|
+
{ match: i },
|
|
67
|
+
{ match: /`(?:\\.|[^`\\])+`/ }
|
|
68
|
+
],
|
|
69
|
+
endsParent: !0
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
scope: "doctag",
|
|
75
|
+
match: /@[a-zA-Z]+/
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
scope: "keyword",
|
|
79
|
+
match: /\\[a-zA-Z]+/
|
|
80
|
+
}
|
|
81
|
+
] }
|
|
82
|
+
),
|
|
83
|
+
e.HASH_COMMENT_MODE,
|
|
84
|
+
{
|
|
85
|
+
scope: "string",
|
|
86
|
+
contains: [e.BACKSLASH_ESCAPE],
|
|
87
|
+
variants: [
|
|
88
|
+
e.END_SAME_AS_BEGIN({
|
|
89
|
+
begin: /[rR]"(-*)\(/,
|
|
90
|
+
end: /\)(-*)"/
|
|
91
|
+
}),
|
|
92
|
+
e.END_SAME_AS_BEGIN({
|
|
93
|
+
begin: /[rR]"(-*)\{/,
|
|
94
|
+
end: /\}(-*)"/
|
|
95
|
+
}),
|
|
96
|
+
e.END_SAME_AS_BEGIN({
|
|
97
|
+
begin: /[rR]"(-*)\[/,
|
|
98
|
+
end: /\](-*)"/
|
|
99
|
+
}),
|
|
100
|
+
e.END_SAME_AS_BEGIN({
|
|
101
|
+
begin: /[rR]'(-*)\(/,
|
|
102
|
+
end: /\)(-*)'/
|
|
103
|
+
}),
|
|
104
|
+
e.END_SAME_AS_BEGIN({
|
|
105
|
+
begin: /[rR]'(-*)\{/,
|
|
106
|
+
end: /\}(-*)'/
|
|
107
|
+
}),
|
|
108
|
+
e.END_SAME_AS_BEGIN({
|
|
109
|
+
begin: /[rR]'(-*)\[/,
|
|
110
|
+
end: /\](-*)'/
|
|
111
|
+
}),
|
|
112
|
+
{
|
|
113
|
+
begin: '"',
|
|
114
|
+
end: '"',
|
|
115
|
+
relevance: 0
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
begin: "'",
|
|
119
|
+
end: "'",
|
|
120
|
+
relevance: 0
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
// Matching numbers immediately following punctuation and operators is
|
|
125
|
+
// tricky since we need to look at the character ahead of a number to
|
|
126
|
+
// ensure the number is not part of an identifier, and we cannot use
|
|
127
|
+
// negative look-behind assertions. So instead we explicitly handle all
|
|
128
|
+
// possible combinations of (operator|punctuation), number.
|
|
129
|
+
// TODO: replace with negative look-behind when available
|
|
130
|
+
// { begin: /(?<![a-zA-Z0-9._])0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/ },
|
|
131
|
+
// { begin: /(?<![a-zA-Z0-9._])0[xX][0-9a-fA-F]+([pP][+-]?\d+)?[Li]?/ },
|
|
132
|
+
// { begin: /(?<![a-zA-Z0-9._])(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?[Li]?/ }
|
|
133
|
+
{
|
|
134
|
+
relevance: 0,
|
|
135
|
+
variants: [
|
|
136
|
+
{
|
|
137
|
+
scope: {
|
|
138
|
+
1: "operator",
|
|
139
|
+
2: "number"
|
|
140
|
+
},
|
|
141
|
+
match: [
|
|
142
|
+
t,
|
|
143
|
+
n
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
scope: {
|
|
148
|
+
1: "operator",
|
|
149
|
+
2: "number"
|
|
150
|
+
},
|
|
151
|
+
match: [
|
|
152
|
+
/%[^%]*%/,
|
|
153
|
+
n
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
scope: {
|
|
158
|
+
1: "punctuation",
|
|
159
|
+
2: "number"
|
|
160
|
+
},
|
|
161
|
+
match: [
|
|
162
|
+
r,
|
|
163
|
+
n
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
scope: { 2: "number" },
|
|
168
|
+
match: [
|
|
169
|
+
/[^a-zA-Z0-9._]|^/,
|
|
170
|
+
// not part of an identifier, or start of document
|
|
171
|
+
n
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
// Operators/punctuation when they're not directly followed by numbers
|
|
177
|
+
{
|
|
178
|
+
// Relevance boost for the most common assignment form.
|
|
179
|
+
scope: { 3: "operator" },
|
|
180
|
+
match: [
|
|
181
|
+
i,
|
|
182
|
+
/\s+/,
|
|
183
|
+
/<-/,
|
|
184
|
+
/\s+/
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
scope: "operator",
|
|
189
|
+
relevance: 0,
|
|
190
|
+
variants: [
|
|
191
|
+
{ match: t },
|
|
192
|
+
{ match: /%[^%]*%/ }
|
|
193
|
+
]
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
scope: "punctuation",
|
|
197
|
+
relevance: 0,
|
|
198
|
+
match: r
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
// Escaped identifier
|
|
202
|
+
begin: "`",
|
|
203
|
+
end: "`",
|
|
204
|
+
contains: [{ begin: /\\./ }]
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
return s = o, s;
|
|
210
|
+
}
|
|
211
|
+
export {
|
|
212
|
+
m as __require
|
|
213
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var o,N;function R(){if(N)return o;N=1;function A(e){const t=e.regex,b="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",_=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),a=t.concat(_,/(::\w+)*/),n={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},E={className:"doctag",begin:"@[A-Za-z]+"},r={begin:"#<",end:">"},i=[e.COMMENT("#","$",{contains:[E]}),e.COMMENT("^=begin","^=end",{contains:[E],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:n},d={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},u="[1-9](_?[0-9])*|0",l="[0-9](_?[0-9])*",S={className:"number",relevance:0,variants:[{begin:`\\b(${u})(\\.(${l}))?([eE][+-]?(${l})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},g={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:n}]},s=[d,{variants:[{match:[/class\s+/,a,/\s+<\s+/,a]},{match:[/\b(class|module)\s+/,a]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:n},{match:[/(include|extend)\s+/,a],scope:{2:"title.class"},keywords:n},{relevance:0,match:[a,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:_,scope:"title.class"},{match:[/def/,/\s+/,b],scope:{1:"keyword",3:"title.function"},contains:[g]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[d,{begin:b}],relevance:0},S,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:n},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(r,i),relevance:0}].concat(r,i);c.contains=s,g.contains=s;const T=[{begin:/^\s*=>/,starts:{end:"$",contains:s}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:n,contains:s}}];return i.unshift(r),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:n,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(T).concat(i).concat(s)}}return o=A,o}exports.__require=R;
|