@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 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),h=require("../boxurl/index.vue.cjs"),c=require("../../utils/glob.cjs"),_=require("../../utils/common.cjs"),N={class:"aside-search"},C={class:"aside-list"},E=["onClick"],B={class:"aside-li-name"},V={class:"aside-li-name-name"},x={class:"aside-li-name-aliass"},T=e.defineComponent({__name:"index",props:{value:Object},emits:["change"],setup(k,{emit:f}){const i=k,r=e.ref(),s=e.ref([]);s.value=c.getCompoNameObj();const a=e.ref(i.value);if(!a.value||!a.value.key){let t=_.getAsideKey();t?a.value=c.getCompoNameKey(t):a.value=s.value[0]}const n=e.ref("");e.watch(()=>i.value,()=>{a.value=i.value,u()}),e.watch(()=>n.value,()=>{g()});const d=f;function v(t){return t?t.replace(/[\.|\/|\s]/g,"-"):"a"}function y(t){a.value=t,u(),d("change",t)}let m;function g(){clearTimeout(m),m=setTimeout(()=>{let t=n.value;t?s.value=c.getCompoName(t,!0):s.value=c.getCompoNameObj()},400)}function u(){let t=a.value?.key||"";_.setAsideKey(t)}return u(),d("change",a.value),e.onMounted(()=>{e.nextTick(()=>{const t=r.value.querySelector(".aside-li."+v(a.value?.key));if(t){const o=t.offsetTop,l=r.value.parentNode;l.scrollTop=o}})}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:"aside",ref_key:"refAside",ref:r},[e.createElementVNode("div",N,[e.withDirectives(e.createElementVNode("input",{class:"aside-search-input","onUpdate:modelValue":o[0]||(o[0]=l=>n.value=l)},null,512),[[e.vModelText,n.value]])]),e.createElementVNode("div",C,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(l,q)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["aside-li",v(l.key)+" "+(l.key==a.value?.key?"on":"")]),onClick:p=>y(l)},[e.createVNode(h,{value:l},{default:e.withCtx(()=>[e.createElementVNode("div",B,[e.createElementVNode("div",V,e.toDisplayString(l.name),1),e.createElementVNode("span",x,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.aliasNames,p=>(e.openBlock(),e.createElementBlock("span",null,e.toDisplayString(p),1))),256))])])]),_:2},1032,["value"])],10,E))),256))])],512))}});module.exports=T;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { defineComponent as A, ref as c, watch as k, onMounted as w, nextTick as S, openBlock as o, createElementBlock as n, createElementVNode as s, withDirectives as V, vModelText as b, Fragment as y, renderList as h, normalizeClass as j, createVNode as z, withCtx as B, toDisplayString as g } from "vue";
|
|
2
|
+
import D from "../boxurl/index.vue.js";
|
|
3
|
+
import { getCompoNameObj as C, getCompoNameKey as E, getCompoName as M } from "../../utils/glob.js";
|
|
4
|
+
import { getAsideKey as O, setAsideKey as $ } from "../../utils/common.js";
|
|
5
|
+
const q = { class: "aside-search" }, F = { class: "aside-list" }, L = ["onClick"], U = { class: "aside-li-name" }, G = { class: "aside-li-name-name" }, H = { class: "aside-li-name-aliass" }, W = /* @__PURE__ */ A({
|
|
6
|
+
__name: "index",
|
|
7
|
+
props: {
|
|
8
|
+
value: Object
|
|
9
|
+
},
|
|
10
|
+
emits: ["change"],
|
|
11
|
+
setup(N, { emit: x }) {
|
|
12
|
+
const r = N, d = c(), l = c([]);
|
|
13
|
+
l.value = C();
|
|
14
|
+
const a = c(r.value);
|
|
15
|
+
if (!a.value || !a.value.key) {
|
|
16
|
+
let e = O();
|
|
17
|
+
e ? a.value = E(e) : a.value = l.value[0];
|
|
18
|
+
}
|
|
19
|
+
const i = c("");
|
|
20
|
+
k(
|
|
21
|
+
() => r.value,
|
|
22
|
+
() => {
|
|
23
|
+
a.value = r.value, v();
|
|
24
|
+
}
|
|
25
|
+
), k(
|
|
26
|
+
() => i.value,
|
|
27
|
+
() => {
|
|
28
|
+
K();
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
const m = x;
|
|
32
|
+
function p(e) {
|
|
33
|
+
return e ? e.replace(/[\.|\/|\s]/g, "-") : "a";
|
|
34
|
+
}
|
|
35
|
+
function T(e) {
|
|
36
|
+
a.value = e, v(), m("change", e);
|
|
37
|
+
}
|
|
38
|
+
let f;
|
|
39
|
+
function K() {
|
|
40
|
+
clearTimeout(f), f = setTimeout(() => {
|
|
41
|
+
let e = i.value;
|
|
42
|
+
e ? l.value = M(e, !0) : l.value = C();
|
|
43
|
+
}, 400);
|
|
44
|
+
}
|
|
45
|
+
function v() {
|
|
46
|
+
let e = a.value?.key || "";
|
|
47
|
+
$(e);
|
|
48
|
+
}
|
|
49
|
+
return v(), m("change", a.value), w(() => {
|
|
50
|
+
S(() => {
|
|
51
|
+
const e = d.value.querySelector(
|
|
52
|
+
".aside-li." + p(a.value?.key)
|
|
53
|
+
);
|
|
54
|
+
if (e) {
|
|
55
|
+
const u = e.offsetTop, t = d.value.parentNode;
|
|
56
|
+
t.scrollTop = u;
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}), (e, u) => (o(), n("div", {
|
|
60
|
+
class: "aside",
|
|
61
|
+
ref_key: "refAside",
|
|
62
|
+
ref: d
|
|
63
|
+
}, [
|
|
64
|
+
s("div", q, [
|
|
65
|
+
V(s("input", {
|
|
66
|
+
class: "aside-search-input",
|
|
67
|
+
"onUpdate:modelValue": u[0] || (u[0] = (t) => i.value = t)
|
|
68
|
+
}, null, 512), [
|
|
69
|
+
[b, i.value]
|
|
70
|
+
])
|
|
71
|
+
]),
|
|
72
|
+
s("div", F, [
|
|
73
|
+
(o(!0), n(y, null, h(l.value, (t, I) => (o(), n("div", {
|
|
74
|
+
class: j([
|
|
75
|
+
"aside-li",
|
|
76
|
+
p(t.key) + " " + (t.key == a.value?.key ? "on" : "")
|
|
77
|
+
]),
|
|
78
|
+
onClick: (_) => T(t)
|
|
79
|
+
}, [
|
|
80
|
+
z(D, { value: t }, {
|
|
81
|
+
default: B(() => [
|
|
82
|
+
s("div", U, [
|
|
83
|
+
s("div", G, g(t.name), 1),
|
|
84
|
+
s("span", H, [
|
|
85
|
+
(o(!0), n(y, null, h(t.aliasNames, (_) => (o(), n("span", null, g(_), 1))), 256))
|
|
86
|
+
])
|
|
87
|
+
])
|
|
88
|
+
]),
|
|
89
|
+
_: 2
|
|
90
|
+
}, 1032, ["value"])
|
|
91
|
+
], 10, L))), 256))
|
|
92
|
+
])
|
|
93
|
+
], 512));
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
export {
|
|
97
|
+
W as default
|
|
98
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),u=require("../../utils/util.cjs"),m=require("../../config.cjs"),x=require("@fangzhongya/utils/urls/getReplaceUrls"),p={class:"box-url-span"},b={class:"box-url-box-div"},y={class:"box-div-li"},E={class:"box-div-li-span"},N={class:"box-div-li-span"},g={key:0,class:"box-div-li"},f={class:"box-div-li-span"},k={class:"box-div-li"},V={class:"box-div-li-span"},B=e.defineComponent({__name:"index",props:{value:Object},setup(l){const a=l,i=e.ref(),c=e.ref(""),r=e.ref(""),d=m.getConfig("directory"),v=()=>{const s=a.value?.key,t=x.getReplaceUrls(s,a.value?.cwd||d);u.openInEditor(t)};return e.onMounted(()=>{i.value.onmouseenter=t=>{var t=t||window.event;let o,n;t.x||t.y?(o=t.x,n=t.y):(t.pageX||t.pageY)&&(o=t.pageX-1,n=t.pageY-1),c.value=o+"px",r.value=n+"px"}}),(s,t)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"boxurl",ref:i,class:"box-url"},[e.createElementVNode("span",p,[e.renderSlot(s.$slots,"default")]),e.createElementVNode("div",{class:"box-url-box",style:e.normalizeStyle({top:r.value,left:c.value})},[e.createElementVNode("div",b,[e.createElementVNode("div",y,[e.createElementVNode("div",E,e.toDisplayString(l.value?.name),1),e.createElementVNode("div",N,e.toDisplayString(l.value?.value),1)]),l.value?.aliasNames&&l.value?.aliasNames.length?(e.openBlock(),e.createElementBlock("div",g,[t[0]||(t[0]=e.createElementVNode("div",{class:"box-div-li-span"},"别名",-1)),e.createElementVNode("div",f,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value?.aliasNames,o=>(e.openBlock(),e.createElementBlock("span",null,e.toDisplayString(o),1))),256))])])):e.createCommentVNode("",!0),e.createElementVNode("div",k,[t[1]||(t[1]=e.createElementVNode("div",{class:"box-div-li-span"},"文件路径",-1)),e.createElementVNode("div",V,e.toDisplayString(l.value?.key),1)]),e.createElementVNode("div",{class:"box-div-but",onClick:v},"打开vscode")])],4)],512))}});module.exports=B;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { defineComponent as p, ref as v, onMounted as f, openBlock as l, createElementBlock as i, createElementVNode as s, renderSlot as y, normalizeStyle as g, toDisplayString as a, Fragment as k, renderList as _, createCommentVNode as h } from "vue";
|
|
2
|
+
import { openInEditor as N } from "../../utils/util.js";
|
|
3
|
+
import { getConfig as C } from "../../config.js";
|
|
4
|
+
import { getReplaceUrls as w } from "@fangzhongya/utils/urls/getReplaceUrls";
|
|
5
|
+
const E = { class: "box-url-span" }, S = { class: "box-url-box-div" }, B = { class: "box-div-li" }, V = { class: "box-div-li-span" }, X = { class: "box-div-li-span" }, Y = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "box-div-li"
|
|
8
|
+
}, j = { class: "box-div-li-span" }, z = { class: "box-div-li" }, D = { class: "box-div-li-span" }, O = /* @__PURE__ */ p({
|
|
9
|
+
__name: "index",
|
|
10
|
+
props: {
|
|
11
|
+
value: Object
|
|
12
|
+
},
|
|
13
|
+
setup(o) {
|
|
14
|
+
const r = o, c = v(), u = v(""), x = v(""), m = C("directory"), b = () => {
|
|
15
|
+
const n = r.value?.key, e = w(n, r.value?.cwd || m);
|
|
16
|
+
N(e);
|
|
17
|
+
};
|
|
18
|
+
return f(() => {
|
|
19
|
+
c.value.onmouseenter = (e) => {
|
|
20
|
+
var e = e || window.event;
|
|
21
|
+
let t, d;
|
|
22
|
+
e.x || e.y ? (t = e.x, d = e.y) : (e.pageX || e.pageY) && (t = e.pageX - 1, d = e.pageY - 1), u.value = t + "px", x.value = d + "px";
|
|
23
|
+
};
|
|
24
|
+
}), (n, e) => (l(), i("div", {
|
|
25
|
+
ref_key: "boxurl",
|
|
26
|
+
ref: c,
|
|
27
|
+
class: "box-url"
|
|
28
|
+
}, [
|
|
29
|
+
s("span", E, [
|
|
30
|
+
y(n.$slots, "default")
|
|
31
|
+
]),
|
|
32
|
+
s("div", {
|
|
33
|
+
class: "box-url-box",
|
|
34
|
+
style: g({ top: x.value, left: u.value })
|
|
35
|
+
}, [
|
|
36
|
+
s("div", S, [
|
|
37
|
+
s("div", B, [
|
|
38
|
+
s("div", V, a(o.value?.name), 1),
|
|
39
|
+
s("div", X, a(o.value?.value), 1)
|
|
40
|
+
]),
|
|
41
|
+
o.value?.aliasNames && o.value?.aliasNames.length ? (l(), i("div", Y, [
|
|
42
|
+
e[0] || (e[0] = s("div", { class: "box-div-li-span" }, "别名", -1)),
|
|
43
|
+
s("div", j, [
|
|
44
|
+
(l(!0), i(k, null, _(o.value?.aliasNames, (t) => (l(), i("span", null, a(t), 1))), 256))
|
|
45
|
+
])
|
|
46
|
+
])) : h("", !0),
|
|
47
|
+
s("div", z, [
|
|
48
|
+
e[1] || (e[1] = s("div", { class: "box-div-li-span" }, "文件路径", -1)),
|
|
49
|
+
s("div", D, a(o.value?.key), 1)
|
|
50
|
+
]),
|
|
51
|
+
s("div", {
|
|
52
|
+
class: "box-div-but",
|
|
53
|
+
onClick: b
|
|
54
|
+
}, "打开vscode")
|
|
55
|
+
])
|
|
56
|
+
], 4)
|
|
57
|
+
], 512));
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
O as default
|
|
62
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),r=require("../boxurl/index.vue.cjs"),d={class:"choice aside"},_=["onClick"],u={class:"aside-li-name"},p={class:"aside-li-name-name"},m={class:"aside-li-name-aliass"},k={class:"aside-li-name-aliass"},h=e.defineComponent({__name:"choice",props:{value:{type:Array},choice:{type:Object}},emits:["change"],setup(a,{emit:l}){const n=a,o=l;function i(s){o("change",s)}return(s,v)=>(e.openBlock(),e.createElementBlock("div",d,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(t,y)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["aside-li",{on:t.key==n.choice?.key}]),onClick:c=>i(t)},[e.createVNode(r,{value:t},{default:e.withCtx(()=>[e.createElementVNode("div",u,[e.createElementVNode("div",p,e.toDisplayString(t.name),1),e.createElementVNode("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.aliasNames,c=>(e.openBlock(),e.createElementBlock("span",null,e.toDisplayString(c),1))),256))]),e.createElementVNode("div",k,[e.createElementVNode("span",null,e.toDisplayString(t.key),1)])])]),_:2},1032,["value"])],10,_))),256))]))}});module.exports=h;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent as p, openBlock as s, createElementBlock as a, Fragment as l, renderList as r, normalizeClass as h, createVNode as v, withCtx as k, createElementVNode as n, toDisplayString as t } from "vue";
|
|
2
|
+
import f from "../boxurl/index.vue.js";
|
|
3
|
+
const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-name" }, x = { class: "aside-li-name-name" }, N = { class: "aside-li-name-aliass" }, B = { class: "aside-li-name-aliass" }, j = /* @__PURE__ */ p({
|
|
4
|
+
__name: "choice",
|
|
5
|
+
props: {
|
|
6
|
+
value: {
|
|
7
|
+
type: Array
|
|
8
|
+
},
|
|
9
|
+
choice: {
|
|
10
|
+
type: Object
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
emits: ["change"],
|
|
14
|
+
setup(d, { emit: _ }) {
|
|
15
|
+
const i = d, u = _;
|
|
16
|
+
function m(c) {
|
|
17
|
+
u("change", c);
|
|
18
|
+
}
|
|
19
|
+
return (c, E) => (s(), a("div", y, [
|
|
20
|
+
(s(!0), a(l, null, r(i.value, (e, V) => (s(), a("div", {
|
|
21
|
+
class: h(["aside-li", {
|
|
22
|
+
on: e.key == i.choice?.key
|
|
23
|
+
}]),
|
|
24
|
+
onClick: (o) => m(e)
|
|
25
|
+
}, [
|
|
26
|
+
v(f, { value: e }, {
|
|
27
|
+
default: k(() => [
|
|
28
|
+
n("div", g, [
|
|
29
|
+
n("div", x, t(e.name), 1),
|
|
30
|
+
n("div", N, [
|
|
31
|
+
(s(!0), a(l, null, r(e.aliasNames, (o) => (s(), a("span", null, t(o), 1))), 256))
|
|
32
|
+
]),
|
|
33
|
+
n("div", B, [
|
|
34
|
+
n("span", null, t(e.key), 1)
|
|
35
|
+
])
|
|
36
|
+
])
|
|
37
|
+
]),
|
|
38
|
+
_: 2
|
|
39
|
+
}, 1032, ["value"])
|
|
40
|
+
], 10, C))), 256))
|
|
41
|
+
]));
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
j as default
|
|
46
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./choice.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),d=require("@fangzhongya/utils/name/humpToLine"),g=require("./choice.vue.cjs"),k=require("../../utils/glob.cjs"),y=require("../../utils/common.cjs"),f=require("vue-router"),B=require("../../router/index.cjs"),q={class:"__document-compon"},C={key:0,class:"__document-compon-choice"},N={key:0},E={key:1},b={key:2},x=e.defineComponent({__name:"index",props:{getName:{type:Function,default(l){return l.id}},getKey:{type:Function,default(l){return l.key}}},emits:["change"],setup(l,{emit:p}){const i=l,u=f.useRoute(),h=B.getPageParams(u),t=e.ref(),n=e.ref([]),a=e.ref(!1),r=p;e.watch(()=>u.query.id,()=>{m()});function m(){let c=d.humpToLine(i.getName(u.query)),o=k.getCompoName(i.getName(u.query),!0,i.getKey(h))||[];if(n.value=[],o.length==1)t.value=o[0],r("change",t.value);else if(o.length==0)t.value=void 0,r("change",t.value);else{n.value=o;for(let s=0;s<o.length;s++){const v=o[s];if(c===d.humpToLine(v.name)){t.value=v,r("change",t.value);break}}}}function _(c){a.value=!1,t.value=c,r("change",t.value),y.setAsideKey(c.key)}return m(),(c,o)=>(e.openBlock(),e.createElementBlock("div",q,[n.value.length?(e.openBlock(),e.createElementBlock("div",C,[a.value?(e.openBlock(),e.createBlock(g,{key:0,onChange:_,value:n.value,choice:t.value},null,8,["value","choice"])):e.createCommentVNode("",!0),e.createElementVNode("div",{onClick:o[0]||(o[0]=s=>a.value=!a.value),class:"__document-compon-choice-but"},e.toDisplayString(a.value?"展开":"隐藏"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["__document-compon-body",{choice:n.value.length}])},[t.value?.key?(e.openBlock(),e.createElementBlock("div",N,[e.renderSlot(c.$slots,"default",{value:t.value})])):n.value.length?(e.openBlock(),e.createElementBlock("div",E,"请先选择要查看的组件")):(e.openBlock(),e.createElementBlock("div",b,"没有查询到"+e.toDisplayString(e.unref(u).query.id)+"组件",1))],2)]))}});module.exports=x;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { defineComponent as N, ref as v, watch as q, openBlock as a, createElementBlock as i, createBlock as b, createCommentVNode as p, createElementVNode as f, toDisplayString as _, normalizeClass as x, renderSlot as B, unref as K } from "vue";
|
|
2
|
+
import { humpToLine as g } from "@fangzhongya/utils/name/humpToLine";
|
|
3
|
+
import $ from "./choice.vue.js";
|
|
4
|
+
import { getCompoName as D } from "../../utils/glob.js";
|
|
5
|
+
import { setAsideKey as E } from "../../utils/common.js";
|
|
6
|
+
import { useRoute as F } from "vue-router";
|
|
7
|
+
import { getPageParams as P } from "../../router/index.js";
|
|
8
|
+
const S = { class: "__document-compon" }, V = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "__document-compon-choice"
|
|
11
|
+
}, w = { key: 0 }, z = { key: 1 }, A = { key: 2 }, J = /* @__PURE__ */ N({
|
|
12
|
+
__name: "index",
|
|
13
|
+
props: {
|
|
14
|
+
getName: {
|
|
15
|
+
type: Function,
|
|
16
|
+
default(l) {
|
|
17
|
+
return l.id;
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
getKey: {
|
|
21
|
+
type: Function,
|
|
22
|
+
default(l) {
|
|
23
|
+
return l.key;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
emits: ["change"],
|
|
28
|
+
setup(l, { emit: y }) {
|
|
29
|
+
const m = l, c = F(), k = P(c), e = v(), o = v([]), u = v(!1), r = y;
|
|
30
|
+
q(
|
|
31
|
+
() => c.query.id,
|
|
32
|
+
() => {
|
|
33
|
+
d();
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
function d() {
|
|
37
|
+
let n = g(m.getName(c.query)), t = D(
|
|
38
|
+
m.getName(c.query),
|
|
39
|
+
!0,
|
|
40
|
+
m.getKey(k)
|
|
41
|
+
) || [];
|
|
42
|
+
if (o.value = [], t.length == 1)
|
|
43
|
+
e.value = t[0], r("change", e.value);
|
|
44
|
+
else if (t.length == 0)
|
|
45
|
+
e.value = void 0, r("change", e.value);
|
|
46
|
+
else {
|
|
47
|
+
o.value = t;
|
|
48
|
+
for (let s = 0; s < t.length; s++) {
|
|
49
|
+
const h = t[s];
|
|
50
|
+
if (n === g(h.name)) {
|
|
51
|
+
e.value = h, r("change", e.value);
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function C(n) {
|
|
58
|
+
u.value = !1, e.value = n, r("change", e.value), E(n.key);
|
|
59
|
+
}
|
|
60
|
+
return d(), (n, t) => (a(), i("div", S, [
|
|
61
|
+
o.value.length ? (a(), i("div", V, [
|
|
62
|
+
u.value ? (a(), b($, {
|
|
63
|
+
key: 0,
|
|
64
|
+
onChange: C,
|
|
65
|
+
value: o.value,
|
|
66
|
+
choice: e.value
|
|
67
|
+
}, null, 8, ["value", "choice"])) : p("", !0),
|
|
68
|
+
f("div", {
|
|
69
|
+
onClick: t[0] || (t[0] = (s) => u.value = !u.value),
|
|
70
|
+
class: "__document-compon-choice-but"
|
|
71
|
+
}, _(u.value ? "展开" : "隐藏"), 1)
|
|
72
|
+
])) : p("", !0),
|
|
73
|
+
f("div", {
|
|
74
|
+
class: x(["__document-compon-body", {
|
|
75
|
+
choice: o.value.length
|
|
76
|
+
}])
|
|
77
|
+
}, [
|
|
78
|
+
e.value?.key ? (a(), i("div", w, [
|
|
79
|
+
B(n.$slots, "default", { value: e.value })
|
|
80
|
+
])) : o.value.length ? (a(), i("div", z, "请先选择要查看的组件")) : (a(), i("div", A, "没有查询到" + _(K(c).query.id) + "组件", 1))
|
|
81
|
+
], 2)
|
|
82
|
+
]));
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
export {
|
|
86
|
+
J as default
|
|
87
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("./highlight.vue2.cjs"),e=require("vue"),r=require("../../../_virtual/_plugin-vue_export-helper.cjs");function s(o,g,i,l,u,h){const t=e.resolveComponent("highlightjs");return o.code?(e.openBlock(),e.createBlock(t,{key:0,class:"highlightjs",language:o.language,code:o.code},null,8,["language","code"])):e.createCommentVNode("",!0)}const c=r(n,[["render",s]]);module.exports=c;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import t from "./highlight.vue2.js";
|
|
2
|
+
import { resolveComponent as n, openBlock as r, createBlock as c, createCommentVNode as a } from "vue";
|
|
3
|
+
import s from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
function g(e, i, l, h, p, m) {
|
|
5
|
+
const o = n("highlightjs");
|
|
6
|
+
return e.code ? (r(), c(o, {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "highlightjs",
|
|
9
|
+
language: e.language,
|
|
10
|
+
code: e.code
|
|
11
|
+
}, null, 8, ["language", "code"])) : a("", !0);
|
|
12
|
+
}
|
|
13
|
+
const _ = /* @__PURE__ */ s(t, [["render", g]]);
|
|
14
|
+
export {
|
|
15
|
+
_ as default
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";;/* empty css */require("../../../_virtual/common.cjs");const e=require("../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1_dace39d2ab17d71b087de9a32848566a/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.cjs"),n=require("vue"),t=n.defineComponent({props:{language:{type:String},code:{type:String}},components:{highlightjs:e.component}});module.exports=t;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import "../../../_virtual/common.js";
|
|
3
|
+
import o from "../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1_dace39d2ab17d71b087de9a32848566a/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js";
|
|
4
|
+
import { defineComponent as t } from "vue";
|
|
5
|
+
const m = t({
|
|
6
|
+
props: {
|
|
7
|
+
language: {
|
|
8
|
+
type: String
|
|
9
|
+
},
|
|
10
|
+
code: {
|
|
11
|
+
type: String
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
components: {
|
|
15
|
+
highlightjs: o.component
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
m as default
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),u=require("../boxurl/index.vue.cjs"),x=require("../../router/index.cjs"),w=require("./highlight.vue.cjs"),v=require("../../utils/index.cjs"),d=require("../../utils/glob.cjs"),f=require("../../utils/util.cjs"),_=require("@fangzhongya/utils/urls/getUrlCatalogueObj"),b=require("vue-router"),y={class:"code"},E={class:"code-top"},N={class:"code-top-but"},V={class:"top-but-files"},q=["onClick"],S={class:"code-highlightjs"},B=e.defineComponent({__name:"index",props:{text:String,value:Object},setup(p){const g=b.useRouter(),t=p;e.watch(()=>t.text,()=>{r()});const c=e.ref([]),o=e.ref(),a=e.ref(!1);function k(){o.value?.raw?v.copyCode(o.value.raw):v.copyCode(t.text)}function h(){if(o.value?.raw){const l=_.getUrlCatalogueObj(o.value?.key),n=t.value?.name+"_"+l.name+"."+l.suffix;f.exportStringToFile(o.value.raw,n)}else{const l=_.getUrlCatalogueObj(t.value?.key),n=t.value?.name+"_"+l.name+"."+l.suffix;f.exportStringToFile(t.text,n)}}function m(){a.value=!a.value}function C(){x.toSingle(g,t.value)}function s(l){a.value=!0,o.value=l}function r(){o.value=void 0,a.value=!1,t.text&&d.getTestImportUrl(t.value,t.text,"vue").then(l=>{d.getLocalTextArr(l).then(n=>{c.value=n.filter(i=>i.raw)})})}return r(),(l,n)=>(e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("div",E,[e.createElementVNode("div",N,[e.createElementVNode("div",{class:"but-div",onClick:C},"go"),e.createElementVNode("div",{class:"but-div",onClick:k},"复制"),e.createElementVNode("div",{class:"but-div",onClick:h},"下载"),e.createElementVNode("div",{class:"but-div",onClick:m},e.toDisplayString(a.value?"隐藏":"显示"),1),e.createElementVNode("div",V,[e.createVNode(u,{value:t.value},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["but-div",{on:!(o.value&&o.value.value)}]),onClick:n[0]||(n[0]=e.withModifiers(i=>s(),["stop"]))}," index.vue ",2)]),_:1},8,["value"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(i,j)=>(e.openBlock(),e.createBlock(u,{value:i},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["but-div",{on:i.key==o.value?.key}]),onClick:e.withModifiers(D=>s(i),["stop"])},e.toDisplayString(i.value),11,q)]),_:2},1032,["value"]))),256))])])]),e.withDirectives(e.createElementVNode("div",S,[e.createVNode(w,{language:"html",code:o.value?.raw||t.text},null,8,["code"])],512),[[e.vShow,a.value]])]))}});module.exports=B;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { defineComponent as j, watch as B, ref as s, openBlock as u, createElementBlock as d, createElementVNode as l, toDisplayString as f, createVNode as m, withCtx as p, withModifiers as _, normalizeClass as k, Fragment as $, renderList as E, createBlock as F, withDirectives as L, vShow as N } from "vue";
|
|
2
|
+
import h from "../boxurl/index.vue.js";
|
|
3
|
+
import { toSingle as O } from "../../router/index.js";
|
|
4
|
+
import U from "./highlight.vue.js";
|
|
5
|
+
import { copyCode as g } from "../../utils/index.js";
|
|
6
|
+
import { getTestImportUrl as V, getLocalTextArr as z } from "../../utils/glob.js";
|
|
7
|
+
import { exportStringToFile as C } from "../../utils/util.js";
|
|
8
|
+
import { getUrlCatalogueObj as x } from "@fangzhongya/utils/urls/getUrlCatalogueObj";
|
|
9
|
+
import { useRouter as A } from "vue-router";
|
|
10
|
+
const H = { class: "code" }, I = { class: "code-top" }, M = { class: "code-top-but" }, R = { class: "top-but-files" }, q = ["onClick"], G = { class: "code-highlightjs" }, le = /* @__PURE__ */ j({
|
|
11
|
+
__name: "index",
|
|
12
|
+
props: {
|
|
13
|
+
text: String,
|
|
14
|
+
value: Object
|
|
15
|
+
},
|
|
16
|
+
setup(w) {
|
|
17
|
+
const b = A(), e = w;
|
|
18
|
+
B(
|
|
19
|
+
() => e.text,
|
|
20
|
+
() => {
|
|
21
|
+
v();
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
const c = s([]), t = s(), n = s(!1);
|
|
25
|
+
function y() {
|
|
26
|
+
t.value?.raw ? g(t.value.raw) : g(e.text);
|
|
27
|
+
}
|
|
28
|
+
function S() {
|
|
29
|
+
if (t.value?.raw) {
|
|
30
|
+
const o = x(t.value?.key), i = e.value?.name + "_" + o.name + "." + o.suffix;
|
|
31
|
+
C(t.value.raw, i);
|
|
32
|
+
} else {
|
|
33
|
+
const o = x(e.value?.key), i = e.value?.name + "_" + o.name + "." + o.suffix;
|
|
34
|
+
C(e.text, i);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function D() {
|
|
38
|
+
n.value = !n.value;
|
|
39
|
+
}
|
|
40
|
+
function T() {
|
|
41
|
+
O(b, e.value);
|
|
42
|
+
}
|
|
43
|
+
function r(o) {
|
|
44
|
+
n.value = !0, t.value = o;
|
|
45
|
+
}
|
|
46
|
+
function v() {
|
|
47
|
+
t.value = void 0, n.value = !1, e.text && V(e.value, e.text, "vue").then(
|
|
48
|
+
(o) => {
|
|
49
|
+
z(o).then((i) => {
|
|
50
|
+
c.value = i.filter((a) => a.raw);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
return v(), (o, i) => (u(), d("div", H, [
|
|
56
|
+
l("div", I, [
|
|
57
|
+
l("div", M, [
|
|
58
|
+
l("div", {
|
|
59
|
+
class: "but-div",
|
|
60
|
+
onClick: T
|
|
61
|
+
}, "go"),
|
|
62
|
+
l("div", {
|
|
63
|
+
class: "but-div",
|
|
64
|
+
onClick: y
|
|
65
|
+
}, "复制"),
|
|
66
|
+
l("div", {
|
|
67
|
+
class: "but-div",
|
|
68
|
+
onClick: S
|
|
69
|
+
}, "下载"),
|
|
70
|
+
l("div", {
|
|
71
|
+
class: "but-div",
|
|
72
|
+
onClick: D
|
|
73
|
+
}, f(n.value ? "隐藏" : "显示"), 1),
|
|
74
|
+
l("div", R, [
|
|
75
|
+
m(h, {
|
|
76
|
+
value: e.value
|
|
77
|
+
}, {
|
|
78
|
+
default: p(() => [
|
|
79
|
+
l("div", {
|
|
80
|
+
class: k(["but-div", {
|
|
81
|
+
on: !(t.value && t.value.value)
|
|
82
|
+
}]),
|
|
83
|
+
onClick: i[0] || (i[0] = _((a) => r(), ["stop"]))
|
|
84
|
+
}, " index.vue ", 2)
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
}, 8, ["value"]),
|
|
88
|
+
(u(!0), d($, null, E(c.value, (a, J) => (u(), F(h, { value: a }, {
|
|
89
|
+
default: p(() => [
|
|
90
|
+
l("div", {
|
|
91
|
+
class: k(["but-div", {
|
|
92
|
+
on: a.key == t.value?.key
|
|
93
|
+
}]),
|
|
94
|
+
onClick: _((K) => r(a), ["stop"])
|
|
95
|
+
}, f(a.value), 11, q)
|
|
96
|
+
]),
|
|
97
|
+
_: 2
|
|
98
|
+
}, 1032, ["value"]))), 256))
|
|
99
|
+
])
|
|
100
|
+
])
|
|
101
|
+
]),
|
|
102
|
+
L(l("div", G, [
|
|
103
|
+
m(U, {
|
|
104
|
+
language: "html",
|
|
105
|
+
code: t.value?.raw || e.text
|
|
106
|
+
}, null, 8, ["code"])
|
|
107
|
+
], 512), [
|
|
108
|
+
[N, n.value]
|
|
109
|
+
])
|
|
110
|
+
]));
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
export {
|
|
114
|
+
le as default
|
|
115
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),o=require("../use/edit.cjs"),n={class:"compo-code"},s=e.defineComponent({__name:"code",props:{value:{type:Object}},setup(t){const c=t;return(r,u)=>(e.openBlock(),e.createElementBlock("div",n,[e.createVNode(e.unref(o),{value:c.value},null,8,["value"])]))}});module.exports=s;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent as t, openBlock as c, createElementBlock as n, createVNode as r, unref as a } from "vue";
|
|
2
|
+
import p from "../use/edit.js";
|
|
3
|
+
const l = { class: "compo-code" }, _ = /* @__PURE__ */ t({
|
|
4
|
+
__name: "code",
|
|
5
|
+
props: {
|
|
6
|
+
value: {
|
|
7
|
+
type: Object
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
setup(e) {
|
|
11
|
+
const o = e;
|
|
12
|
+
return (s, u) => (c(), n("div", l, [
|
|
13
|
+
r(a(p), {
|
|
14
|
+
value: o.value
|
|
15
|
+
}, null, 8, ["value"])
|
|
16
|
+
]));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
_ as default
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./code.vue.cjs");;/* empty css */module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),u={class:"compo-talbe"},d={class:"compo-talbe-body"},m={class:"compo-talbe-top"},i={class:"compo-talbe-li"},k={key:1,class:"compo-talbe-zw"},B=e.defineComponent({__name:"ftable",props:{list:{type:Array,default(){return[]}},value:{type:Array,default(){return[]}}},setup(c){const l=c;function a(n,t,o,r){if(t.formatter)return t.formatter(n,t,o,r);if(t.prop)return n[t.prop]}return(n,t)=>(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("table",d,[e.createElementVNode("thead",null,[e.createElementVNode("tr",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.list,(o,r)=>(e.openBlock(),e.createElementBlock("th",null,e.toDisplayString(o?.label),1))),256))])]),e.createElementVNode("tbody",null,[l.value&&l.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.value,(o,r)=>(e.openBlock(),e.createElementBlock("tr",i,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.list,(s,p)=>(e.openBlock(),e.createElementBlock("td",null,e.toDisplayString(a(o,s,r,p)),1))),256))]))),256)):(e.openBlock(),e.createElementBlock("tr",k,[...t[0]||(t[0]=[e.createElementVNode("td",{colspan:"7"},"暂无",-1)])]))])])]))}});module.exports=B;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defineComponent as m, openBlock as e, createElementBlock as l, createElementVNode as n, Fragment as u, renderList as c, toDisplayString as p } from "vue";
|
|
2
|
+
const b = { class: "compo-talbe" }, y = { class: "compo-talbe-body" }, h = { class: "compo-talbe-top" }, v = { class: "compo-talbe-li" }, k = {
|
|
3
|
+
key: 1,
|
|
4
|
+
class: "compo-talbe-zw"
|
|
5
|
+
}, x = /* @__PURE__ */ m({
|
|
6
|
+
__name: "ftable",
|
|
7
|
+
props: {
|
|
8
|
+
/**
|
|
9
|
+
* table列表
|
|
10
|
+
* {
|
|
11
|
+
* name:"列表名称"
|
|
12
|
+
* value:"列表取值"
|
|
13
|
+
* type:"列表类型"
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
16
|
+
list: {
|
|
17
|
+
type: Array,
|
|
18
|
+
default() {
|
|
19
|
+
return [];
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
value: {
|
|
23
|
+
type: Array,
|
|
24
|
+
default() {
|
|
25
|
+
return [];
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
setup(d) {
|
|
30
|
+
const r = d;
|
|
31
|
+
function i(a, t, o, s) {
|
|
32
|
+
if (t.formatter)
|
|
33
|
+
return t.formatter(a, t, o, s);
|
|
34
|
+
if (t.prop)
|
|
35
|
+
return a[t.prop];
|
|
36
|
+
}
|
|
37
|
+
return (a, t) => (e(), l("div", b, [
|
|
38
|
+
n("table", y, [
|
|
39
|
+
n("thead", null, [
|
|
40
|
+
n("tr", h, [
|
|
41
|
+
(e(!0), l(u, null, c(r.list, (o, s) => (e(), l("th", null, p(o?.label), 1))), 256))
|
|
42
|
+
])
|
|
43
|
+
]),
|
|
44
|
+
n("tbody", null, [
|
|
45
|
+
r.value && r.value.length > 0 ? (e(!0), l(u, { key: 0 }, c(r.value, (o, s) => (e(), l("tr", v, [
|
|
46
|
+
(e(!0), l(u, null, c(r.list, (_, f) => (e(), l("td", null, p(i(o, _, s, f)), 1))), 256))
|
|
47
|
+
]))), 256)) : (e(), l("tr", k, [...t[0] || (t[0] = [
|
|
48
|
+
n("td", { colspan: "7" }, "暂无", -1)
|
|
49
|
+
])]))
|
|
50
|
+
])
|
|
51
|
+
])
|
|
52
|
+
]));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
x as default
|
|
57
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./ftable.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@fangzhongya/utils/basic/object/mergeObject");require("@fangzhongya/utils/html/getVueText");require("@fangzhongya/utils/basic/array/toggleArray");require("@fangzhongya/utils/name/humpToLine");require("@fangzhongya/utils/name/lineToLargeHump");require("@fangzhongya/utils/basic/string/appearNum");require("@fangzhongya/utils/basic/string/firstLower");require("@fangzhongya/utils/basic/array/duplicateRemoval");require("@fangzhongya/utils/basic/array/asyncMergeArray");require("@fangzhongya/utils/basic/string/firstUpper");require("@fangzhongya/utils/urls/getSuffix");require("@fangzhongya/utils/basic/array/replaceAfter");require("@fangzhongya/utils/judge/matchsStart");require("@fangzhongya/utils/judge/matchsEnd");require("@fangzhongya/utils/basic/string/getImports");require("comment-parser");const e=require("../../utils/props.cjs"),t=[{label:"属性名",prop:"name",formatter:e.props.name},{label:"双向",prop:"model",formatter:e.props.model},{label:"说明",prop:"description",formatter:e.props.description},{label:"类型",prop:"type",formatter:e.props.type},{label:"可选值",prop:"selectable",formatter:e.props.selectable},{label:"默认值",prop:"default",formatter:e.props.default},{label:"必传",prop:"required",formatter:e.props.required},{label:"方法返回值",prop:"return",formatter:e.props.return}],o=[{label:"事件名",prop:"name",formatter:e.emits.name},{label:"说明",prop:"description",formatter:e.emits.description},{label:"回调参数",prop:"selectable",formatter:e.emits.selectable}],p=[{label:"方法名",prop:"name",formatter:e.expose.name},{label:"说明",prop:"description",formatter:e.expose.description},{label:"参数",prop:"selectable",formatter:e.expose.selectable},{label:"返回值",prop:"return",formatter(r){return e.expose.return(r)||r.expose.default||""}},{label:"类型",prop:"type",formatter(r){return e.expose.type(r)||"function"}}],l=[{label:"插槽名",prop:"name",formatter:e.slot.name},{label:"说明",prop:"description",formatter:e.slot.description},{label:"作用域参数",prop:"selectable",formatter:e.slot.selectable}];exports.temits=o;exports.texpose=p;exports.tprops=t;exports.tslot=l;
|