@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,127 @@
|
|
|
1
|
+
import "@fangzhongya/utils/basic/object/mergeObject";
|
|
2
|
+
import "@fangzhongya/utils/html/getVueText";
|
|
3
|
+
import "@fangzhongya/utils/basic/array/toggleArray";
|
|
4
|
+
import "@fangzhongya/utils/name/humpToLine";
|
|
5
|
+
import "@fangzhongya/utils/name/lineToLargeHump";
|
|
6
|
+
import "@fangzhongya/utils/basic/string/appearNum";
|
|
7
|
+
import "@fangzhongya/utils/basic/string/firstLower";
|
|
8
|
+
import "@fangzhongya/utils/basic/array/duplicateRemoval";
|
|
9
|
+
import "@fangzhongya/utils/basic/array/asyncMergeArray";
|
|
10
|
+
import "@fangzhongya/utils/basic/string/firstUpper";
|
|
11
|
+
import "@fangzhongya/utils/urls/getSuffix";
|
|
12
|
+
import "@fangzhongya/utils/basic/array/replaceAfter";
|
|
13
|
+
import "@fangzhongya/utils/judge/matchsStart";
|
|
14
|
+
import "@fangzhongya/utils/judge/matchsEnd";
|
|
15
|
+
import "@fangzhongya/utils/basic/string/getImports";
|
|
16
|
+
import "comment-parser";
|
|
17
|
+
import { props as e, emits as o, expose as r, slot as p } from "../../utils/props.js";
|
|
18
|
+
const v = [
|
|
19
|
+
{
|
|
20
|
+
label: "属性名",
|
|
21
|
+
prop: "name",
|
|
22
|
+
formatter: e.name
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
label: "双向",
|
|
26
|
+
prop: "model",
|
|
27
|
+
formatter: e.model
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
label: "说明",
|
|
31
|
+
prop: "description",
|
|
32
|
+
formatter: e.description
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
label: "类型",
|
|
36
|
+
prop: "type",
|
|
37
|
+
formatter: e.type
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: "可选值",
|
|
41
|
+
prop: "selectable",
|
|
42
|
+
formatter: e.selectable
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: "默认值",
|
|
46
|
+
prop: "default",
|
|
47
|
+
formatter: e.default
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
label: "必传",
|
|
51
|
+
prop: "required",
|
|
52
|
+
formatter: e.required
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
label: "方法返回值",
|
|
56
|
+
prop: "return",
|
|
57
|
+
formatter: e.return
|
|
58
|
+
}
|
|
59
|
+
], w = [
|
|
60
|
+
{
|
|
61
|
+
label: "事件名",
|
|
62
|
+
prop: "name",
|
|
63
|
+
formatter: o.name
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
label: "说明",
|
|
67
|
+
prop: "description",
|
|
68
|
+
formatter: o.description
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
label: "回调参数",
|
|
72
|
+
prop: "selectable",
|
|
73
|
+
formatter: o.selectable
|
|
74
|
+
}
|
|
75
|
+
], z = [
|
|
76
|
+
{
|
|
77
|
+
label: "方法名",
|
|
78
|
+
prop: "name",
|
|
79
|
+
formatter: r.name
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
label: "说明",
|
|
83
|
+
prop: "description",
|
|
84
|
+
formatter: r.description
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
label: "参数",
|
|
88
|
+
prop: "selectable",
|
|
89
|
+
formatter: r.selectable
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
label: "返回值",
|
|
93
|
+
prop: "return",
|
|
94
|
+
formatter(t) {
|
|
95
|
+
return r.return(t) || t.expose.default || "";
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
label: "类型",
|
|
100
|
+
prop: "type",
|
|
101
|
+
formatter(t) {
|
|
102
|
+
return r.type(t) || "function";
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
], A = [
|
|
106
|
+
{
|
|
107
|
+
label: "插槽名",
|
|
108
|
+
prop: "name",
|
|
109
|
+
formatter: p.name
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
label: "说明",
|
|
113
|
+
prop: "description",
|
|
114
|
+
formatter: p.description
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
label: "作用域参数",
|
|
118
|
+
prop: "selectable",
|
|
119
|
+
formatter: p.selectable
|
|
120
|
+
}
|
|
121
|
+
];
|
|
122
|
+
export {
|
|
123
|
+
w as temits,
|
|
124
|
+
z as texpose,
|
|
125
|
+
v as tprops,
|
|
126
|
+
A as tslot
|
|
127
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),d=require("../use/index.cjs");require("@fangzhongya/utils/basic/object/mergeObject");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");const _=require("../../config.cjs");require("@fangzhongya/utils/urls/getReplaceUrls");const k=require("./props.vue.cjs"),q=require("../md/index.vue.cjs");require("./index.cjs");const i=require("../../utils/glob.cjs"),B={class:"compo"},f={key:0,class:"compo-md"},g={key:0,class:"compo-md-list"},y={key:1,class:"compo-use"},C=e.defineComponent({__name:"index",props:{value:Object,istop:Boolean},setup(m){const t=m,p=_.getConfig("useparam"),u=e.ref(""),n=e.reactive({md:!0}),r=e.ref([]),c=e.ref();function v(o){c.value=o}e.watch(()=>t.value,()=>{a()});function a(){t.value?.key&&(i.getLocalTextComponents(t.value?.key).then(o=>{u.value=o}),r.value=i.getKeyMds(t.value?.key)||[])}return a(),(o,l)=>(e.openBlock(),e.createElementBlock("div",B,[r.value&&r.value.length?(e.openBlock(),e.createElementBlock("div",f,[e.createElementVNode("div",{onClick:l[0]||(l[0]=s=>n.md=!n.md),class:"compo-md-name"},"说明文档"),n.md?(e.openBlock(),e.createElementBlock("div",g,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,s=>(e.openBlock(),e.createBlock(q,{value:s},null,8,["value"]))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createVNode(k,{istop:t.istop,onChange:v,value:u.value},null,8,["istop","value"]),e.unref(p)?(e.openBlock(),e.createElementBlock("div",y,[e.createVNode(e.unref(d),{value:t.value,param:c.value},null,8,["value","param"])])):e.createCommentVNode("",!0)]))}});module.exports=C;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { defineComponent as g, ref as n, reactive as h, watch as y, openBlock as t, createElementBlock as o, createElementVNode as C, Fragment as x, renderList as B, createBlock as N, createCommentVNode as s, createVNode as v, unref as d } from "vue";
|
|
2
|
+
import V from "../use/index.js";
|
|
3
|
+
import "@fangzhongya/utils/basic/object/mergeObject";
|
|
4
|
+
import "@fangzhongya/utils/basic/array/toggleArray";
|
|
5
|
+
import "@fangzhongya/utils/name/humpToLine";
|
|
6
|
+
import "@fangzhongya/utils/name/lineToLargeHump";
|
|
7
|
+
import "@fangzhongya/utils/basic/string/appearNum";
|
|
8
|
+
import "@fangzhongya/utils/basic/string/firstLower";
|
|
9
|
+
import "@fangzhongya/utils/basic/array/duplicateRemoval";
|
|
10
|
+
import "@fangzhongya/utils/basic/array/asyncMergeArray";
|
|
11
|
+
import "@fangzhongya/utils/basic/string/firstUpper";
|
|
12
|
+
import "@fangzhongya/utils/urls/getSuffix";
|
|
13
|
+
import "@fangzhongya/utils/basic/array/replaceAfter";
|
|
14
|
+
import { getConfig as $ } from "../../config.js";
|
|
15
|
+
import "@fangzhongya/utils/urls/getReplaceUrls";
|
|
16
|
+
import E from "./props.vue.js";
|
|
17
|
+
import L from "../md/index.vue.js";
|
|
18
|
+
import "./index.js";
|
|
19
|
+
import { getLocalTextComponents as b, getKeyMds as j } from "../../utils/glob.js";
|
|
20
|
+
const w = { class: "compo" }, D = {
|
|
21
|
+
key: 0,
|
|
22
|
+
class: "compo-md"
|
|
23
|
+
}, F = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "compo-md-list"
|
|
26
|
+
}, K = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "compo-use"
|
|
29
|
+
}, ee = /* @__PURE__ */ g({
|
|
30
|
+
__name: "index",
|
|
31
|
+
props: {
|
|
32
|
+
value: Object,
|
|
33
|
+
istop: Boolean
|
|
34
|
+
},
|
|
35
|
+
setup(f) {
|
|
36
|
+
const e = f, _ = $("useparam"), i = n(""), a = h({
|
|
37
|
+
md: !0
|
|
38
|
+
}), m = n([]), l = n();
|
|
39
|
+
function k(r) {
|
|
40
|
+
l.value = r;
|
|
41
|
+
}
|
|
42
|
+
y(
|
|
43
|
+
() => e.value,
|
|
44
|
+
() => {
|
|
45
|
+
p();
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
function p() {
|
|
49
|
+
e.value?.key && (b(e.value?.key).then((r) => {
|
|
50
|
+
i.value = r;
|
|
51
|
+
}), m.value = j(e.value?.key) || []);
|
|
52
|
+
}
|
|
53
|
+
return p(), (r, u) => (t(), o("div", w, [
|
|
54
|
+
m.value && m.value.length ? (t(), o("div", D, [
|
|
55
|
+
C("div", {
|
|
56
|
+
onClick: u[0] || (u[0] = (c) => a.md = !a.md),
|
|
57
|
+
class: "compo-md-name"
|
|
58
|
+
}, "说明文档"),
|
|
59
|
+
a.md ? (t(), o("div", F, [
|
|
60
|
+
(t(!0), o(x, null, B(m.value, (c) => (t(), N(L, { value: c }, null, 8, ["value"]))), 256))
|
|
61
|
+
])) : s("", !0)
|
|
62
|
+
])) : s("", !0),
|
|
63
|
+
v(E, {
|
|
64
|
+
istop: e.istop,
|
|
65
|
+
onChange: k,
|
|
66
|
+
value: i.value
|
|
67
|
+
}, null, 8, ["istop", "value"]),
|
|
68
|
+
d(_) ? (t(), o("div", K, [
|
|
69
|
+
v(d(V), {
|
|
70
|
+
value: e.value,
|
|
71
|
+
param: l.value
|
|
72
|
+
}, null, 8, ["value", "param"])
|
|
73
|
+
])) : s("", !0)
|
|
74
|
+
]));
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
export {
|
|
78
|
+
ee as default
|
|
79
|
+
};
|
|
@@ -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("./top.cjs"),r=require("../../utils/annotat.cjs"),l=require("../../utils/glob.cjs"),i={class:"info-top"},p=e.defineComponent({__name:"info-top",props:{value:{type:Object}},setup(a){const t=a,o=e.ref([]);function n(){t.value?.key&&l.getLocalTextComponents(t.value?.key).then(c=>{const s=r.getNotesText(c);o.value=s.titles})}return e.watch(()=>t.value,()=>{n()}),n(),(c,s)=>(e.openBlock(),e.createElementBlock("div",i,[e.createVNode(e.unref(u.default),{value:o.value},null,8,["value"])]))}});module.exports=p;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent as c, ref as l, watch as p, openBlock as s, createElementBlock as u, createVNode as i, unref as f } from "vue";
|
|
2
|
+
import m from "./top.js";
|
|
3
|
+
import { getNotesText as v } from "../../utils/annotat.js";
|
|
4
|
+
import { getLocalTextComponents as _ } from "../../utils/glob.js";
|
|
5
|
+
const d = { class: "info-top" }, y = /* @__PURE__ */ c({
|
|
6
|
+
__name: "info-top",
|
|
7
|
+
props: {
|
|
8
|
+
value: {
|
|
9
|
+
type: Object
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
setup(r) {
|
|
13
|
+
const e = r, t = l([]);
|
|
14
|
+
function o() {
|
|
15
|
+
e.value?.key && _(e.value?.key).then((n) => {
|
|
16
|
+
const a = v(n);
|
|
17
|
+
t.value = a.titles;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return p(
|
|
21
|
+
() => e.value,
|
|
22
|
+
() => {
|
|
23
|
+
o();
|
|
24
|
+
}
|
|
25
|
+
), o(), (n, a) => (s(), u("div", d, [
|
|
26
|
+
i(f(m), { value: t.value }, null, 8, ["value"])
|
|
27
|
+
]));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
y as default
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./info-top.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),a=require("../boxurl/index.vue.cjs"),l={class:"compo-info"},c={class:"compo-info-name"},i={class:"compo-info-name-span"},m={key:0,class:"compo-info-name-li"},p={class:"compo-info-name-li-span"},r={class:"compo-info-name-li"},u={class:"compo-info-name-li-span"},d=e.defineComponent({__name:"info",props:{value:{type:Object}},setup(t){const o=t;return(_,n)=>(e.openBlock(),e.createElementBlock("div",l,[e.createVNode(a,{value:o.value},{default:e.withCtx(()=>[e.createElementVNode("div",c,[e.createElementVNode("div",i,e.toDisplayString(o.value?.name),1),o.value?.aliasNames&&o.value?.aliasNames.length?(e.openBlock(),e.createElementBlock("div",m,[n[0]||(n[0]=e.createElementVNode("span",{class:"compo-info-name-li-span"}," 别名 ",-1)),e.createElementVNode("span",p,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.aliasNames,s=>(e.openBlock(),e.createElementBlock("span",null,e.toDisplayString(s),1))),256))])])):e.createCommentVNode("",!0),e.createElementVNode("div",r,[n[1]||(n[1]=e.createElementVNode("span",{class:"compo-info-name-li-span"}," 文件路径 ",-1)),e.createElementVNode("span",u,e.toDisplayString(o.value?.key),1)])])]),_:1},8,["value"])]))}});module.exports=d;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent as m, openBlock as n, createElementBlock as a, createVNode as c, withCtx as p, createElementVNode as e, toDisplayString as t, Fragment as r, renderList as d, createCommentVNode as u } from "vue";
|
|
2
|
+
import _ from "../boxurl/index.vue.js";
|
|
3
|
+
const f = { class: "compo-info" }, v = { class: "compo-info-name" }, h = { class: "compo-info-name-span" }, N = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "compo-info-name-li"
|
|
6
|
+
}, k = { class: "compo-info-name-li-span" }, y = { class: "compo-info-name-li" }, g = { class: "compo-info-name-li-span" }, B = /* @__PURE__ */ m({
|
|
7
|
+
__name: "info",
|
|
8
|
+
props: {
|
|
9
|
+
value: {
|
|
10
|
+
type: Object
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
setup(i) {
|
|
14
|
+
const o = i;
|
|
15
|
+
return (x, s) => (n(), a("div", f, [
|
|
16
|
+
c(_, {
|
|
17
|
+
value: o.value
|
|
18
|
+
}, {
|
|
19
|
+
default: p(() => [
|
|
20
|
+
e("div", v, [
|
|
21
|
+
e("div", h, t(o.value?.name), 1),
|
|
22
|
+
o.value?.aliasNames && o.value?.aliasNames.length ? (n(), a("div", N, [
|
|
23
|
+
s[0] || (s[0] = e("span", { class: "compo-info-name-li-span" }, " 别名 ", -1)),
|
|
24
|
+
e("span", k, [
|
|
25
|
+
(n(!0), a(r, null, d(o.value.aliasNames, (l) => (n(), a("span", null, t(l), 1))), 256))
|
|
26
|
+
])
|
|
27
|
+
])) : u("", !0),
|
|
28
|
+
e("div", y, [
|
|
29
|
+
s[1] || (s[1] = e("span", { class: "compo-info-name-li-span" }, " 文件路径 ", -1)),
|
|
30
|
+
e("span", g, t(o.value?.key), 1)
|
|
31
|
+
])
|
|
32
|
+
])
|
|
33
|
+
]),
|
|
34
|
+
_: 1
|
|
35
|
+
}, 8, ["value"])
|
|
36
|
+
]));
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
B as default
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./info.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),B=require("./top.cjs"),l=require("./ftable.vue.cjs"),n=require("./index.cjs"),N=require("../../utils/annotat.cjs"),_={class:"compo"},V={key:0,class:"compo-top"},x={class:"compo-li compo-props"},C={class:"compo-li compo-emits"},E={class:"compo-li compo-expose"},y={class:"compo-li compo-slot"},g=e.defineComponent({__name:"props",props:{value:String,istop:Boolean},emits:["change"],setup(u,{emit:k}){const r=u,f=k,a=e.ref([]),t=e.reactive({props:!0,expose:!0,emits:!0,slot:!0,top:!0}),i=e.ref([]),p=e.ref([]),m=e.ref([]),v=e.ref([]);function d(){if(r.value){const s=N.getNotesText(r.value);a.value=s.titles,i.value=s.propss,v.value=s.slots,p.value=s.emitss,m.value=s.exposes,f("change",s)}}return e.watch(()=>r.value,()=>{d()}),d(),(s,o)=>(e.openBlock(),e.createElementBlock("div",_,[u.istop?(e.openBlock(),e.createElementBlock("div",V,[t.top?(e.openBlock(),e.createBlock(e.unref(B.default),{key:0,value:a.value},null,8,["value"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",x,[e.createElementVNode("h4",{onClick:o[0]||(o[0]=c=>t.props=!t.props)},"组件属性"),t.props?(e.openBlock(),e.createBlock(l,{key:0,list:e.unref(n.tprops),value:i.value},null,8,["list","value"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",C,[e.createElementVNode("h4",{onClick:o[1]||(o[1]=c=>t.emits=!t.emits)},"组件事件"),t.emits?(e.openBlock(),e.createBlock(l,{key:0,list:e.unref(n.temits),value:p.value},null,8,["list","value"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",E,[e.createElementVNode("h4",{onClick:o[2]||(o[2]=c=>t.expose=!t.expose)},"组件方法"),t.expose?(e.openBlock(),e.createBlock(l,{key:0,list:e.unref(n.texpose),value:m.value},null,8,["list","value"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",y,[e.createElementVNode("h4",{onClick:o[3]||(o[3]=c=>t.slot=!t.slot)},"组件插槽"),t.slot?(e.openBlock(),e.createBlock(l,{key:0,list:e.unref(n.tslot),value:v.value},null,8,["list","value"])):e.createCommentVNode("",!0)])]))}});module.exports=g;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { defineComponent as g, ref as p, reactive as $, watch as B, openBlock as l, createElementBlock as h, createBlock as n, unref as u, createCommentVNode as i, createElementVNode as o } from "vue";
|
|
2
|
+
import N from "./top.js";
|
|
3
|
+
import r from "./ftable.vue.js";
|
|
4
|
+
import { tprops as E, temits as T, texpose as V, tslot as b } from "./index.js";
|
|
5
|
+
import { getNotesText as j } from "../../utils/annotat.js";
|
|
6
|
+
const w = { class: "compo" }, D = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "compo-top"
|
|
9
|
+
}, S = { class: "compo-li compo-props" }, q = { class: "compo-li compo-emits" }, z = { class: "compo-li compo-expose" }, A = { class: "compo-li compo-slot" }, K = /* @__PURE__ */ g({
|
|
10
|
+
__name: "props",
|
|
11
|
+
props: {
|
|
12
|
+
value: String,
|
|
13
|
+
istop: Boolean
|
|
14
|
+
},
|
|
15
|
+
emits: ["change"],
|
|
16
|
+
setup(m, { emit: y }) {
|
|
17
|
+
const v = m, C = y, c = p([]), e = $({
|
|
18
|
+
props: !0,
|
|
19
|
+
expose: !0,
|
|
20
|
+
emits: !0,
|
|
21
|
+
slot: !0,
|
|
22
|
+
top: !0
|
|
23
|
+
}), d = p([]), f = p([]), k = p([]), x = p([]);
|
|
24
|
+
function _() {
|
|
25
|
+
if (v.value) {
|
|
26
|
+
const s = j(v.value);
|
|
27
|
+
c.value = s.titles, d.value = s.propss, x.value = s.slots, f.value = s.emitss, k.value = s.exposes, C("change", s);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return B(
|
|
31
|
+
() => v.value,
|
|
32
|
+
() => {
|
|
33
|
+
_();
|
|
34
|
+
}
|
|
35
|
+
), _(), (s, t) => (l(), h("div", w, [
|
|
36
|
+
m.istop ? (l(), h("div", D, [
|
|
37
|
+
e.top ? (l(), n(u(N), {
|
|
38
|
+
key: 0,
|
|
39
|
+
value: c.value
|
|
40
|
+
}, null, 8, ["value"])) : i("", !0)
|
|
41
|
+
])) : i("", !0),
|
|
42
|
+
o("div", S, [
|
|
43
|
+
o("h4", {
|
|
44
|
+
onClick: t[0] || (t[0] = (a) => e.props = !e.props)
|
|
45
|
+
}, "组件属性"),
|
|
46
|
+
e.props ? (l(), n(r, {
|
|
47
|
+
key: 0,
|
|
48
|
+
list: u(E),
|
|
49
|
+
value: d.value
|
|
50
|
+
}, null, 8, ["list", "value"])) : i("", !0)
|
|
51
|
+
]),
|
|
52
|
+
o("div", q, [
|
|
53
|
+
o("h4", {
|
|
54
|
+
onClick: t[1] || (t[1] = (a) => e.emits = !e.emits)
|
|
55
|
+
}, "组件事件"),
|
|
56
|
+
e.emits ? (l(), n(r, {
|
|
57
|
+
key: 0,
|
|
58
|
+
list: u(T),
|
|
59
|
+
value: f.value
|
|
60
|
+
}, null, 8, ["list", "value"])) : i("", !0)
|
|
61
|
+
]),
|
|
62
|
+
o("div", z, [
|
|
63
|
+
o("h4", {
|
|
64
|
+
onClick: t[2] || (t[2] = (a) => e.expose = !e.expose)
|
|
65
|
+
}, "组件方法"),
|
|
66
|
+
e.expose ? (l(), n(r, {
|
|
67
|
+
key: 0,
|
|
68
|
+
list: u(V),
|
|
69
|
+
value: k.value
|
|
70
|
+
}, null, 8, ["list", "value"])) : i("", !0)
|
|
71
|
+
]),
|
|
72
|
+
o("div", A, [
|
|
73
|
+
o("h4", {
|
|
74
|
+
onClick: t[3] || (t[3] = (a) => e.slot = !e.slot)
|
|
75
|
+
}, "组件插槽"),
|
|
76
|
+
e.slot ? (l(), n(r, {
|
|
77
|
+
key: 0,
|
|
78
|
+
list: u(b),
|
|
79
|
+
value: x.value
|
|
80
|
+
}, null, 8, ["list", "value"])) : i("", !0)
|
|
81
|
+
])
|
|
82
|
+
]));
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
export {
|
|
86
|
+
K as default
|
|
87
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./props.vue.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("vue");require("@fangzhongya/utils/html/htmlEscape");function v(m,e,u){let i=[],f=[],l=[];const n=t=>t,a=()=>{l.length>0&&(i.push(e("div",{class:"compo-top-list"},l)),l=[])},c=()=>{i.length>0&&(f.push(e("div",{class:"compo-top-division"},i)),i=[])};return m?.forEach(t=>{const r=[];let o=!1;if(t.date&&(o=!0,r.push(e("div",{class:"compo-top-date"},[e("span",{},"更新时间:"),e("span",{},[n(t.date.name+" "+t.date.description)])]))),t.author&&(o=!0,r.push(e("div",{class:"compo-top-author"},[e("span",{},"作者:"),e("span",{},[n(t.author.name+" "+t.author.description)])]))),t.title&&(t.title.type||t.title.name||t.title.description)){a(),o&&c();let s=(t.title.type||"div").split("."),p=s[1]||"";s[0]=="html"?i.push(e("div",{class:"compo-top-title "+p,innerHTML:t.title.name+" "+t.title.description})):i.push(e(s[0],{class:"compo-top-title "+p},[e("span",{},[n(t.title.name+" "+t.title.description)])]))}if(o&&(l.length>0&&(a(),c()),i.push(e("div",{class:"compo-top-info"},r))),t.html){let s=(t.html.type||"div").split("."),p=s[1]||"";l.push(e(s[0],{class:"compo-top-html "+p,innerHTML:t.html.name+" "+t.html.description}))}["text"].forEach(s=>{if(t[s]){let p=(t[s].type||"div").split("."),h=p[1]||"";p[0]=="html"?l.push(e("div",{class:"compo-top-"+s+" "+h,innerHTML:t[s].name+" "+t[s].description})):l.push(e(p[0],{class:"compo-top-"+s+" "+h},[e("span",{},[n(t[s].name+" "+t[s].description)])]))}})}),a(),c(),f}const y=d.defineComponent({props:{value:Array},render(m,e,u){const i=v(u.value,d.h);return d.h("div",{class:"compo-top"},i)}});exports.default=y;exports.getTopDom=v;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { defineComponent as y, h } from "vue";
|
|
2
|
+
import "@fangzhongya/utils/html/htmlEscape";
|
|
3
|
+
function v(m, e, d) {
|
|
4
|
+
let i = [], u = [], l = [];
|
|
5
|
+
const n = (t) => t, a = () => {
|
|
6
|
+
l.length > 0 && (i.push(
|
|
7
|
+
e(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
class: "compo-top-list"
|
|
11
|
+
},
|
|
12
|
+
l
|
|
13
|
+
)
|
|
14
|
+
), l = []);
|
|
15
|
+
}, c = () => {
|
|
16
|
+
i.length > 0 && (u.push(
|
|
17
|
+
e(
|
|
18
|
+
"div",
|
|
19
|
+
{
|
|
20
|
+
class: "compo-top-division"
|
|
21
|
+
},
|
|
22
|
+
i
|
|
23
|
+
)
|
|
24
|
+
), i = []);
|
|
25
|
+
};
|
|
26
|
+
return m?.forEach((t) => {
|
|
27
|
+
const r = [];
|
|
28
|
+
let o = !1;
|
|
29
|
+
if (t.date && (o = !0, r.push(
|
|
30
|
+
e(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
class: "compo-top-date"
|
|
34
|
+
},
|
|
35
|
+
[
|
|
36
|
+
e("span", {}, "更新时间:"),
|
|
37
|
+
e("span", {}, [
|
|
38
|
+
n(
|
|
39
|
+
t.date.name + " " + t.date.description
|
|
40
|
+
)
|
|
41
|
+
])
|
|
42
|
+
]
|
|
43
|
+
)
|
|
44
|
+
)), t.author && (o = !0, r.push(
|
|
45
|
+
e(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
class: "compo-top-author"
|
|
49
|
+
},
|
|
50
|
+
[
|
|
51
|
+
e("span", {}, "作者:"),
|
|
52
|
+
e("span", {}, [
|
|
53
|
+
n(
|
|
54
|
+
t.author.name + " " + t.author.description
|
|
55
|
+
)
|
|
56
|
+
])
|
|
57
|
+
]
|
|
58
|
+
)
|
|
59
|
+
)), t.title && (t.title.type || t.title.name || t.title.description)) {
|
|
60
|
+
a(), o && c();
|
|
61
|
+
let s = (t.title.type || "div").split("."), p = s[1] || "";
|
|
62
|
+
s[0] == "html" ? i.push(
|
|
63
|
+
e("div", {
|
|
64
|
+
class: "compo-top-title " + p,
|
|
65
|
+
innerHTML: t.title.name + " " + t.title.description
|
|
66
|
+
})
|
|
67
|
+
) : i.push(
|
|
68
|
+
e(
|
|
69
|
+
s[0],
|
|
70
|
+
{
|
|
71
|
+
class: "compo-top-title " + p
|
|
72
|
+
},
|
|
73
|
+
[
|
|
74
|
+
e("span", {}, [
|
|
75
|
+
n(
|
|
76
|
+
t.title.name + " " + t.title.description
|
|
77
|
+
)
|
|
78
|
+
])
|
|
79
|
+
]
|
|
80
|
+
)
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
if (o && (l.length > 0 && (a(), c()), i.push(
|
|
84
|
+
e(
|
|
85
|
+
"div",
|
|
86
|
+
{
|
|
87
|
+
class: "compo-top-info"
|
|
88
|
+
},
|
|
89
|
+
r
|
|
90
|
+
)
|
|
91
|
+
)), t.html) {
|
|
92
|
+
let s = (t.html.type || "div").split("."), p = s[1] || "";
|
|
93
|
+
l.push(
|
|
94
|
+
e(s[0], {
|
|
95
|
+
class: "compo-top-html " + p,
|
|
96
|
+
innerHTML: t.html.name + " " + t.html.description
|
|
97
|
+
})
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
["text"].forEach((s) => {
|
|
101
|
+
if (t[s]) {
|
|
102
|
+
let p = (t[s].type || "div").split("."), f = p[1] || "";
|
|
103
|
+
p[0] == "html" ? l.push(
|
|
104
|
+
e("div", {
|
|
105
|
+
class: "compo-top-" + s + " " + f,
|
|
106
|
+
innerHTML: t[s].name + " " + t[s].description
|
|
107
|
+
})
|
|
108
|
+
) : l.push(
|
|
109
|
+
e(
|
|
110
|
+
p[0],
|
|
111
|
+
{
|
|
112
|
+
class: "compo-top-" + s + " " + f
|
|
113
|
+
},
|
|
114
|
+
[
|
|
115
|
+
e("span", {}, [
|
|
116
|
+
n(
|
|
117
|
+
t[s].name + " " + t[s].description
|
|
118
|
+
)
|
|
119
|
+
])
|
|
120
|
+
]
|
|
121
|
+
)
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
}), a(), c(), u;
|
|
126
|
+
}
|
|
127
|
+
const H = y({
|
|
128
|
+
/**
|
|
129
|
+
* @props {Stinrg} value 插入数据
|
|
130
|
+
*/
|
|
131
|
+
props: {
|
|
132
|
+
value: Array
|
|
133
|
+
},
|
|
134
|
+
render(m, e, d) {
|
|
135
|
+
const i = v(d.value, h);
|
|
136
|
+
return h(
|
|
137
|
+
"div",
|
|
138
|
+
{
|
|
139
|
+
class: "compo-top"
|
|
140
|
+
},
|
|
141
|
+
i
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
export {
|
|
146
|
+
H as default,
|
|
147
|
+
v as getTopDom
|
|
148
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),r=require("../../../_virtual/_plugin-vue_export-helper.cjs"),c={};function n(o,s){return e.openBlock(),e.createElementBlock("div")}const t=r(c,[["render",n]]);module.exports=t;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as r } from "vue";
|
|
2
|
+
import c from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const o = {};
|
|
4
|
+
function t(n, _) {
|
|
5
|
+
return e(), r("div");
|
|
6
|
+
}
|
|
7
|
+
const m = /* @__PURE__ */ c(o, [["render", t]]);
|
|
8
|
+
export {
|
|
9
|
+
m as default
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),v=require("vue-router"),i=require("../../router/index.cjs"),d=require("../compo/index.vue.cjs"),_=require("../compo/info.vue.cjs"),p=require("../compo/info-top.vue.cjs"),m=require("../test/index.vue.cjs"),N=require("../../utils/glob.cjs"),f={class:"main"},E={class:"main-top"},V={class:"main-compo-top"},k={class:"main-but"},g={class:"main-test"},q={class:"main-compo"},b=e.defineComponent({__name:"index",props:{value:Object},setup(r){const l=v.useRouter(),n=r,a=e.ref([]);e.watch(()=>n.value,()=>{c()});function c(){a.value=N.getTestName(n.value?.key)}c();function u(o){o==1?i.toCompon(l,n.value):o==2?i.toTests(l,n.value):o==3?i.toDevelop(l,n.value):o==4&&i.toEdit(l,n.value)}return(o,t)=>(e.openBlock(),e.createElementBlock("div",f,[e.createElementVNode("div",E,[e.createVNode(_,{value:r.value},null,8,["value"])]),e.createElementVNode("div",V,[e.createVNode(p,{value:r.value},null,8,["value"])]),e.createElementVNode("div",k,[e.createElementVNode("div",{class:"but-div",onClick:t[0]||(t[0]=s=>u(1))},"当前"),e.createElementVNode("div",{class:"but-div",onClick:t[1]||(t[1]=s=>u(2))},"更多"),e.createElementVNode("div",{class:"but-div",onClick:t[2]||(t[2]=s=>u(3))},"开发"),e.createElementVNode("div",{class:"but-div",onClick:t[3]||(t[3]=s=>u(4))},"编辑")]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,s=>(e.openBlock(),e.createElementBlock("div",g,[e.createVNode(m,{value:s},null,8,["value"])]))),256)),e.createElementVNode("div",q,[e.createVNode(d,{istop:!1,value:n.value},null,8,["value"])])]))}});module.exports=b;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { defineComponent as d, ref as f, watch as p, openBlock as v, createElementBlock as m, createElementVNode as t, createVNode as a, Fragment as _, renderList as $ } from "vue";
|
|
2
|
+
import { useRouter as C } from "vue-router";
|
|
3
|
+
import { toCompon as b, toTests as k, toDevelop as g, toEdit as x } from "../../router/index.js";
|
|
4
|
+
import E from "../compo/index.vue.js";
|
|
5
|
+
import N from "../compo/info.vue.js";
|
|
6
|
+
import B from "../compo/info-top.vue.js";
|
|
7
|
+
import T from "../test/index.vue.js";
|
|
8
|
+
import { getTestName as V } from "../../utils/glob.js";
|
|
9
|
+
const j = { class: "main" }, w = { class: "main-top" }, D = { class: "main-compo-top" }, F = { class: "main-but" }, L = { class: "main-test" }, O = { class: "main-compo" }, J = /* @__PURE__ */ d({
|
|
10
|
+
__name: "index",
|
|
11
|
+
props: {
|
|
12
|
+
value: Object
|
|
13
|
+
},
|
|
14
|
+
setup(u) {
|
|
15
|
+
const l = C(), o = u, r = f([]);
|
|
16
|
+
p(
|
|
17
|
+
() => o.value,
|
|
18
|
+
() => {
|
|
19
|
+
c();
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
function c() {
|
|
23
|
+
r.value = V(o.value?.key);
|
|
24
|
+
}
|
|
25
|
+
c();
|
|
26
|
+
function n(s) {
|
|
27
|
+
s == 1 ? b(l, o.value) : s == 2 ? k(l, o.value) : s == 3 ? g(l, o.value) : s == 4 && x(l, o.value);
|
|
28
|
+
}
|
|
29
|
+
return (s, e) => (v(), m("div", j, [
|
|
30
|
+
t("div", w, [
|
|
31
|
+
a(N, { value: u.value }, null, 8, ["value"])
|
|
32
|
+
]),
|
|
33
|
+
t("div", D, [
|
|
34
|
+
a(B, { value: u.value }, null, 8, ["value"])
|
|
35
|
+
]),
|
|
36
|
+
t("div", F, [
|
|
37
|
+
t("div", {
|
|
38
|
+
class: "but-div",
|
|
39
|
+
onClick: e[0] || (e[0] = (i) => n(1))
|
|
40
|
+
}, "当前"),
|
|
41
|
+
t("div", {
|
|
42
|
+
class: "but-div",
|
|
43
|
+
onClick: e[1] || (e[1] = (i) => n(2))
|
|
44
|
+
}, "更多"),
|
|
45
|
+
t("div", {
|
|
46
|
+
class: "but-div",
|
|
47
|
+
onClick: e[2] || (e[2] = (i) => n(3))
|
|
48
|
+
}, "开发"),
|
|
49
|
+
t("div", {
|
|
50
|
+
class: "but-div",
|
|
51
|
+
onClick: e[3] || (e[3] = (i) => n(4))
|
|
52
|
+
}, "编辑")
|
|
53
|
+
]),
|
|
54
|
+
(v(!0), m(_, null, $(r.value, (i) => (v(), m("div", L, [
|
|
55
|
+
a(T, { value: i }, null, 8, ["value"])
|
|
56
|
+
]))), 256)),
|
|
57
|
+
t("div", O, [
|
|
58
|
+
a(E, {
|
|
59
|
+
istop: !1,
|
|
60
|
+
value: o.value
|
|
61
|
+
}, null, 8, ["value"])
|
|
62
|
+
])
|
|
63
|
+
]));
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
export {
|
|
67
|
+
J as default
|
|
68
|
+
};
|