@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/cpp.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var _,m;function w(){if(m)return _;m=1;function f(e){const n=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),u="decltype\\(auto\\)",c="[a-zA-Z_]\\w*::",E="(?!struct)("+u+"|"+n.optional(c)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",r={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},i={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(i,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(c)+e.IDENT_RE,relevance:0},d=n.optional(c)+e.IDENT_RE+"\\s*\\(",b=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],N=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],T=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],y=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],t={type:N,keyword:b,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:T},p={className:"function.dispatch",relevance:0,keywords:{_hint:y},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},l=[p,o,r,a,e.C_BLOCK_COMMENT_MODE,s,i],C={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:t,contains:l.concat([{begin:/\(/,end:/\)/,keywords:t,contains:l.concat(["self"]),relevance:0}]),relevance:0},v={className:"function",begin:"("+E+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:t,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:u,keywords:t,relevance:0},{begin:d,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[i,s]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,i,s,r,{begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,i,s,r]}]},r,a,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:t,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(C,v,p,l,[o,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:t,contains:["self",r]},{begin:e.IDENT_RE+"::",keywords:t},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return _=f,_}exports.__require=w;
|
package/dist/node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/lib/languages/cpp.js
ADDED
|
@@ -0,0 +1,527 @@
|
|
|
1
|
+
var _, m;
|
|
2
|
+
function R() {
|
|
3
|
+
if (m) return _;
|
|
4
|
+
m = 1;
|
|
5
|
+
function E(e) {
|
|
6
|
+
const n = e.regex, a = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), u = "decltype\\(auto\\)", c = "[a-zA-Z_]\\w*::", f = "(?!struct)(" + u + "|" + n.optional(c) + "[a-zA-Z_]\\w*" + n.optional("<[^<>]+>") + ")", r = {
|
|
7
|
+
className: "type",
|
|
8
|
+
begin: "\\b[a-z\\d_]*_t\\b"
|
|
9
|
+
}, s = {
|
|
10
|
+
className: "string",
|
|
11
|
+
variants: [
|
|
12
|
+
{
|
|
13
|
+
begin: '(u8?|U|L)?"',
|
|
14
|
+
end: '"',
|
|
15
|
+
illegal: "\\n",
|
|
16
|
+
contains: [e.BACKSLASH_ESCAPE]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
begin: "(u8?|U|L)?'(" + "\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)" + "|.)",
|
|
20
|
+
end: "'",
|
|
21
|
+
illegal: "."
|
|
22
|
+
},
|
|
23
|
+
e.END_SAME_AS_BEGIN({
|
|
24
|
+
begin: /(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,
|
|
25
|
+
end: /\)([^()\\ ]{0,16})"/
|
|
26
|
+
})
|
|
27
|
+
]
|
|
28
|
+
}, i = {
|
|
29
|
+
className: "number",
|
|
30
|
+
variants: [
|
|
31
|
+
// Floating-point literal.
|
|
32
|
+
{
|
|
33
|
+
begin: "[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"
|
|
34
|
+
},
|
|
35
|
+
// Integer literal.
|
|
36
|
+
{
|
|
37
|
+
begin: "[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"
|
|
38
|
+
// Note: there are user-defined literal suffixes too, but perhaps having the custom suffix not part of the
|
|
39
|
+
// literal highlight actually makes it stand out more.
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
relevance: 0
|
|
43
|
+
}, o = {
|
|
44
|
+
className: "meta",
|
|
45
|
+
begin: /#\s*[a-z]+\b/,
|
|
46
|
+
end: /$/,
|
|
47
|
+
keywords: { keyword: "if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include" },
|
|
48
|
+
contains: [
|
|
49
|
+
{
|
|
50
|
+
begin: /\\\n/,
|
|
51
|
+
relevance: 0
|
|
52
|
+
},
|
|
53
|
+
e.inherit(s, { className: "string" }),
|
|
54
|
+
{
|
|
55
|
+
className: "string",
|
|
56
|
+
begin: /<.*?>/
|
|
57
|
+
},
|
|
58
|
+
a,
|
|
59
|
+
e.C_BLOCK_COMMENT_MODE
|
|
60
|
+
]
|
|
61
|
+
}, g = {
|
|
62
|
+
className: "title",
|
|
63
|
+
begin: n.optional(c) + e.IDENT_RE,
|
|
64
|
+
relevance: 0
|
|
65
|
+
}, d = n.optional(c) + e.IDENT_RE + "\\s*\\(", b = [
|
|
66
|
+
"alignas",
|
|
67
|
+
"alignof",
|
|
68
|
+
"and",
|
|
69
|
+
"and_eq",
|
|
70
|
+
"asm",
|
|
71
|
+
"atomic_cancel",
|
|
72
|
+
"atomic_commit",
|
|
73
|
+
"atomic_noexcept",
|
|
74
|
+
"auto",
|
|
75
|
+
"bitand",
|
|
76
|
+
"bitor",
|
|
77
|
+
"break",
|
|
78
|
+
"case",
|
|
79
|
+
"catch",
|
|
80
|
+
"class",
|
|
81
|
+
"co_await",
|
|
82
|
+
"co_return",
|
|
83
|
+
"co_yield",
|
|
84
|
+
"compl",
|
|
85
|
+
"concept",
|
|
86
|
+
"const_cast|10",
|
|
87
|
+
"consteval",
|
|
88
|
+
"constexpr",
|
|
89
|
+
"constinit",
|
|
90
|
+
"continue",
|
|
91
|
+
"decltype",
|
|
92
|
+
"default",
|
|
93
|
+
"delete",
|
|
94
|
+
"do",
|
|
95
|
+
"dynamic_cast|10",
|
|
96
|
+
"else",
|
|
97
|
+
"enum",
|
|
98
|
+
"explicit",
|
|
99
|
+
"export",
|
|
100
|
+
"extern",
|
|
101
|
+
"false",
|
|
102
|
+
"final",
|
|
103
|
+
"for",
|
|
104
|
+
"friend",
|
|
105
|
+
"goto",
|
|
106
|
+
"if",
|
|
107
|
+
"import",
|
|
108
|
+
"inline",
|
|
109
|
+
"module",
|
|
110
|
+
"mutable",
|
|
111
|
+
"namespace",
|
|
112
|
+
"new",
|
|
113
|
+
"noexcept",
|
|
114
|
+
"not",
|
|
115
|
+
"not_eq",
|
|
116
|
+
"nullptr",
|
|
117
|
+
"operator",
|
|
118
|
+
"or",
|
|
119
|
+
"or_eq",
|
|
120
|
+
"override",
|
|
121
|
+
"private",
|
|
122
|
+
"protected",
|
|
123
|
+
"public",
|
|
124
|
+
"reflexpr",
|
|
125
|
+
"register",
|
|
126
|
+
"reinterpret_cast|10",
|
|
127
|
+
"requires",
|
|
128
|
+
"return",
|
|
129
|
+
"sizeof",
|
|
130
|
+
"static_assert",
|
|
131
|
+
"static_cast|10",
|
|
132
|
+
"struct",
|
|
133
|
+
"switch",
|
|
134
|
+
"synchronized",
|
|
135
|
+
"template",
|
|
136
|
+
"this",
|
|
137
|
+
"thread_local",
|
|
138
|
+
"throw",
|
|
139
|
+
"transaction_safe",
|
|
140
|
+
"transaction_safe_dynamic",
|
|
141
|
+
"true",
|
|
142
|
+
"try",
|
|
143
|
+
"typedef",
|
|
144
|
+
"typeid",
|
|
145
|
+
"typename",
|
|
146
|
+
"union",
|
|
147
|
+
"using",
|
|
148
|
+
"virtual",
|
|
149
|
+
"volatile",
|
|
150
|
+
"while",
|
|
151
|
+
"xor",
|
|
152
|
+
"xor_eq"
|
|
153
|
+
], N = [
|
|
154
|
+
"bool",
|
|
155
|
+
"char",
|
|
156
|
+
"char16_t",
|
|
157
|
+
"char32_t",
|
|
158
|
+
"char8_t",
|
|
159
|
+
"double",
|
|
160
|
+
"float",
|
|
161
|
+
"int",
|
|
162
|
+
"long",
|
|
163
|
+
"short",
|
|
164
|
+
"void",
|
|
165
|
+
"wchar_t",
|
|
166
|
+
"unsigned",
|
|
167
|
+
"signed",
|
|
168
|
+
"const",
|
|
169
|
+
"static"
|
|
170
|
+
], T = [
|
|
171
|
+
"any",
|
|
172
|
+
"auto_ptr",
|
|
173
|
+
"barrier",
|
|
174
|
+
"binary_semaphore",
|
|
175
|
+
"bitset",
|
|
176
|
+
"complex",
|
|
177
|
+
"condition_variable",
|
|
178
|
+
"condition_variable_any",
|
|
179
|
+
"counting_semaphore",
|
|
180
|
+
"deque",
|
|
181
|
+
"false_type",
|
|
182
|
+
"flat_map",
|
|
183
|
+
"flat_set",
|
|
184
|
+
"future",
|
|
185
|
+
"imaginary",
|
|
186
|
+
"initializer_list",
|
|
187
|
+
"istringstream",
|
|
188
|
+
"jthread",
|
|
189
|
+
"latch",
|
|
190
|
+
"lock_guard",
|
|
191
|
+
"multimap",
|
|
192
|
+
"multiset",
|
|
193
|
+
"mutex",
|
|
194
|
+
"optional",
|
|
195
|
+
"ostringstream",
|
|
196
|
+
"packaged_task",
|
|
197
|
+
"pair",
|
|
198
|
+
"promise",
|
|
199
|
+
"priority_queue",
|
|
200
|
+
"queue",
|
|
201
|
+
"recursive_mutex",
|
|
202
|
+
"recursive_timed_mutex",
|
|
203
|
+
"scoped_lock",
|
|
204
|
+
"set",
|
|
205
|
+
"shared_future",
|
|
206
|
+
"shared_lock",
|
|
207
|
+
"shared_mutex",
|
|
208
|
+
"shared_timed_mutex",
|
|
209
|
+
"shared_ptr",
|
|
210
|
+
"stack",
|
|
211
|
+
"string_view",
|
|
212
|
+
"stringstream",
|
|
213
|
+
"timed_mutex",
|
|
214
|
+
"thread",
|
|
215
|
+
"true_type",
|
|
216
|
+
"tuple",
|
|
217
|
+
"unique_lock",
|
|
218
|
+
"unique_ptr",
|
|
219
|
+
"unordered_map",
|
|
220
|
+
"unordered_multimap",
|
|
221
|
+
"unordered_multiset",
|
|
222
|
+
"unordered_set",
|
|
223
|
+
"variant",
|
|
224
|
+
"vector",
|
|
225
|
+
"weak_ptr",
|
|
226
|
+
"wstring",
|
|
227
|
+
"wstring_view"
|
|
228
|
+
], y = [
|
|
229
|
+
"abort",
|
|
230
|
+
"abs",
|
|
231
|
+
"acos",
|
|
232
|
+
"apply",
|
|
233
|
+
"as_const",
|
|
234
|
+
"asin",
|
|
235
|
+
"atan",
|
|
236
|
+
"atan2",
|
|
237
|
+
"calloc",
|
|
238
|
+
"ceil",
|
|
239
|
+
"cerr",
|
|
240
|
+
"cin",
|
|
241
|
+
"clog",
|
|
242
|
+
"cos",
|
|
243
|
+
"cosh",
|
|
244
|
+
"cout",
|
|
245
|
+
"declval",
|
|
246
|
+
"endl",
|
|
247
|
+
"exchange",
|
|
248
|
+
"exit",
|
|
249
|
+
"exp",
|
|
250
|
+
"fabs",
|
|
251
|
+
"floor",
|
|
252
|
+
"fmod",
|
|
253
|
+
"forward",
|
|
254
|
+
"fprintf",
|
|
255
|
+
"fputs",
|
|
256
|
+
"free",
|
|
257
|
+
"frexp",
|
|
258
|
+
"fscanf",
|
|
259
|
+
"future",
|
|
260
|
+
"invoke",
|
|
261
|
+
"isalnum",
|
|
262
|
+
"isalpha",
|
|
263
|
+
"iscntrl",
|
|
264
|
+
"isdigit",
|
|
265
|
+
"isgraph",
|
|
266
|
+
"islower",
|
|
267
|
+
"isprint",
|
|
268
|
+
"ispunct",
|
|
269
|
+
"isspace",
|
|
270
|
+
"isupper",
|
|
271
|
+
"isxdigit",
|
|
272
|
+
"labs",
|
|
273
|
+
"launder",
|
|
274
|
+
"ldexp",
|
|
275
|
+
"log",
|
|
276
|
+
"log10",
|
|
277
|
+
"make_pair",
|
|
278
|
+
"make_shared",
|
|
279
|
+
"make_shared_for_overwrite",
|
|
280
|
+
"make_tuple",
|
|
281
|
+
"make_unique",
|
|
282
|
+
"malloc",
|
|
283
|
+
"memchr",
|
|
284
|
+
"memcmp",
|
|
285
|
+
"memcpy",
|
|
286
|
+
"memset",
|
|
287
|
+
"modf",
|
|
288
|
+
"move",
|
|
289
|
+
"pow",
|
|
290
|
+
"printf",
|
|
291
|
+
"putchar",
|
|
292
|
+
"puts",
|
|
293
|
+
"realloc",
|
|
294
|
+
"scanf",
|
|
295
|
+
"sin",
|
|
296
|
+
"sinh",
|
|
297
|
+
"snprintf",
|
|
298
|
+
"sprintf",
|
|
299
|
+
"sqrt",
|
|
300
|
+
"sscanf",
|
|
301
|
+
"std",
|
|
302
|
+
"stderr",
|
|
303
|
+
"stdin",
|
|
304
|
+
"stdout",
|
|
305
|
+
"strcat",
|
|
306
|
+
"strchr",
|
|
307
|
+
"strcmp",
|
|
308
|
+
"strcpy",
|
|
309
|
+
"strcspn",
|
|
310
|
+
"strlen",
|
|
311
|
+
"strncat",
|
|
312
|
+
"strncmp",
|
|
313
|
+
"strncpy",
|
|
314
|
+
"strpbrk",
|
|
315
|
+
"strrchr",
|
|
316
|
+
"strspn",
|
|
317
|
+
"strstr",
|
|
318
|
+
"swap",
|
|
319
|
+
"tan",
|
|
320
|
+
"tanh",
|
|
321
|
+
"terminate",
|
|
322
|
+
"to_underlying",
|
|
323
|
+
"tolower",
|
|
324
|
+
"toupper",
|
|
325
|
+
"vfprintf",
|
|
326
|
+
"visit",
|
|
327
|
+
"vprintf",
|
|
328
|
+
"vsprintf"
|
|
329
|
+
], t = {
|
|
330
|
+
type: N,
|
|
331
|
+
keyword: b,
|
|
332
|
+
literal: [
|
|
333
|
+
"NULL",
|
|
334
|
+
"false",
|
|
335
|
+
"nullopt",
|
|
336
|
+
"nullptr",
|
|
337
|
+
"true"
|
|
338
|
+
],
|
|
339
|
+
built_in: ["_Pragma"],
|
|
340
|
+
_type_hints: T
|
|
341
|
+
}, p = {
|
|
342
|
+
className: "function.dispatch",
|
|
343
|
+
relevance: 0,
|
|
344
|
+
keywords: {
|
|
345
|
+
// Only for relevance, not highlighting.
|
|
346
|
+
_hint: y
|
|
347
|
+
},
|
|
348
|
+
begin: n.concat(
|
|
349
|
+
/\b/,
|
|
350
|
+
/(?!decltype)/,
|
|
351
|
+
/(?!if)/,
|
|
352
|
+
/(?!for)/,
|
|
353
|
+
/(?!switch)/,
|
|
354
|
+
/(?!while)/,
|
|
355
|
+
e.IDENT_RE,
|
|
356
|
+
n.lookahead(/(<[^<>]+>|)\s*\(/)
|
|
357
|
+
)
|
|
358
|
+
}, l = [
|
|
359
|
+
p,
|
|
360
|
+
o,
|
|
361
|
+
r,
|
|
362
|
+
a,
|
|
363
|
+
e.C_BLOCK_COMMENT_MODE,
|
|
364
|
+
i,
|
|
365
|
+
s
|
|
366
|
+
], C = {
|
|
367
|
+
// This mode covers expression context where we can't expect a function
|
|
368
|
+
// definition and shouldn't highlight anything that looks like one:
|
|
369
|
+
// `return some()`, `else if()`, `(x*sum(1, 2))`
|
|
370
|
+
variants: [
|
|
371
|
+
{
|
|
372
|
+
begin: /=/,
|
|
373
|
+
end: /;/
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
begin: /\(/,
|
|
377
|
+
end: /\)/
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
beginKeywords: "new throw return else",
|
|
381
|
+
end: /;/
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
keywords: t,
|
|
385
|
+
contains: l.concat([
|
|
386
|
+
{
|
|
387
|
+
begin: /\(/,
|
|
388
|
+
end: /\)/,
|
|
389
|
+
keywords: t,
|
|
390
|
+
contains: l.concat(["self"]),
|
|
391
|
+
relevance: 0
|
|
392
|
+
}
|
|
393
|
+
]),
|
|
394
|
+
relevance: 0
|
|
395
|
+
}, v = {
|
|
396
|
+
className: "function",
|
|
397
|
+
begin: "(" + f + "[\\*&\\s]+)+" + d,
|
|
398
|
+
returnBegin: !0,
|
|
399
|
+
end: /[{;=]/,
|
|
400
|
+
excludeEnd: !0,
|
|
401
|
+
keywords: t,
|
|
402
|
+
illegal: /[^\w\s\*&:<>.]/,
|
|
403
|
+
contains: [
|
|
404
|
+
{
|
|
405
|
+
// to prevent it from being confused as the function title
|
|
406
|
+
begin: u,
|
|
407
|
+
keywords: t,
|
|
408
|
+
relevance: 0
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
begin: d,
|
|
412
|
+
returnBegin: !0,
|
|
413
|
+
contains: [g],
|
|
414
|
+
relevance: 0
|
|
415
|
+
},
|
|
416
|
+
// needed because we do not have look-behind on the below rule
|
|
417
|
+
// to prevent it from grabbing the final : in a :: pair
|
|
418
|
+
{
|
|
419
|
+
begin: /::/,
|
|
420
|
+
relevance: 0
|
|
421
|
+
},
|
|
422
|
+
// initializers
|
|
423
|
+
{
|
|
424
|
+
begin: /:/,
|
|
425
|
+
endsWithParent: !0,
|
|
426
|
+
contains: [
|
|
427
|
+
s,
|
|
428
|
+
i
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
// allow for multiple declarations, e.g.:
|
|
432
|
+
// extern void f(int), g(char);
|
|
433
|
+
{
|
|
434
|
+
relevance: 0,
|
|
435
|
+
match: /,/
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
className: "params",
|
|
439
|
+
begin: /\(/,
|
|
440
|
+
end: /\)/,
|
|
441
|
+
keywords: t,
|
|
442
|
+
relevance: 0,
|
|
443
|
+
contains: [
|
|
444
|
+
a,
|
|
445
|
+
e.C_BLOCK_COMMENT_MODE,
|
|
446
|
+
s,
|
|
447
|
+
i,
|
|
448
|
+
r,
|
|
449
|
+
// Count matching parentheses.
|
|
450
|
+
{
|
|
451
|
+
begin: /\(/,
|
|
452
|
+
end: /\)/,
|
|
453
|
+
keywords: t,
|
|
454
|
+
relevance: 0,
|
|
455
|
+
contains: [
|
|
456
|
+
"self",
|
|
457
|
+
a,
|
|
458
|
+
e.C_BLOCK_COMMENT_MODE,
|
|
459
|
+
s,
|
|
460
|
+
i,
|
|
461
|
+
r
|
|
462
|
+
]
|
|
463
|
+
}
|
|
464
|
+
]
|
|
465
|
+
},
|
|
466
|
+
r,
|
|
467
|
+
a,
|
|
468
|
+
e.C_BLOCK_COMMENT_MODE,
|
|
469
|
+
o
|
|
470
|
+
]
|
|
471
|
+
};
|
|
472
|
+
return {
|
|
473
|
+
name: "C++",
|
|
474
|
+
aliases: [
|
|
475
|
+
"cc",
|
|
476
|
+
"c++",
|
|
477
|
+
"h++",
|
|
478
|
+
"hpp",
|
|
479
|
+
"hh",
|
|
480
|
+
"hxx",
|
|
481
|
+
"cxx"
|
|
482
|
+
],
|
|
483
|
+
keywords: t,
|
|
484
|
+
illegal: "</",
|
|
485
|
+
classNameAliases: { "function.dispatch": "built_in" },
|
|
486
|
+
contains: [].concat(
|
|
487
|
+
C,
|
|
488
|
+
v,
|
|
489
|
+
p,
|
|
490
|
+
l,
|
|
491
|
+
[
|
|
492
|
+
o,
|
|
493
|
+
{
|
|
494
|
+
// containers: ie, `vector <int> rooms (9);`
|
|
495
|
+
begin: "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",
|
|
496
|
+
end: ">",
|
|
497
|
+
keywords: t,
|
|
498
|
+
contains: [
|
|
499
|
+
"self",
|
|
500
|
+
r
|
|
501
|
+
]
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
begin: e.IDENT_RE + "::",
|
|
505
|
+
keywords: t
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
match: [
|
|
509
|
+
// extra complexity to deal with `enum class` and `enum struct`
|
|
510
|
+
/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,
|
|
511
|
+
/\s+/,
|
|
512
|
+
/\w+/
|
|
513
|
+
],
|
|
514
|
+
className: {
|
|
515
|
+
1: "keyword",
|
|
516
|
+
3: "title.class"
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
|
+
)
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
return _ = E, _;
|
|
524
|
+
}
|
|
525
|
+
export {
|
|
526
|
+
R as __require
|
|
527
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var _,l;function m(){if(l)return _;l=1;function g(e){const O=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],N=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],u=["default","false","null","true"],T=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],b=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],n={keyword:T.concat(b),built_in:O,literal:u},i=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),a={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},M={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},t={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},I=e.inherit(t,{illegal:/\n/}),r={className:"subst",begin:/\{/,end:/\}/,keywords:n},c=e.inherit(r,{illegal:/\n/}),s={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,c]},o={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},r]},C=e.inherit(o,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},c]});r.contains=[o,s,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],c.contains=[C,s,I,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const d={variants:[M,o,s,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},E={begin:"<",end:">",contains:[{beginKeywords:"in out"},i]},R=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",D={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:n,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,a,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},i,E,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,E,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+R+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:n,contains:[{beginKeywords:N.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,E],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,relevance:0,contains:[d,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},D]}}return _=g,_}exports.__require=m;
|