@fangzhongya/vue-archive 0.0.2-7 → 0.0.2
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/es/_virtual/_commonjsHelpers.js +28 -26
- package/dist/es/_virtual/_plugin-vue_export-helper.js +7 -6
- package/dist/es/_virtual/emphasis.js +2 -2
- package/dist/es/_virtual/entities.js +7 -6
- package/dist/es/_virtual/html_re.js +2 -2
- package/dist/es/_virtual/index.js +7 -6
- package/dist/es/_virtual/index2.js +2 -2
- package/dist/es/_virtual/index3.js +2 -2
- package/dist/es/_virtual/index4.js +2 -2
- package/dist/es/_virtual/parser-html.js +7 -6
- package/dist/es/_virtual/parser-typescript.js +7 -6
- package/dist/es/_virtual/punycode.es6.js +4 -4
- package/dist/es/_virtual/standalone.js +7 -6
- package/dist/es/_virtual/strikethrough.js +2 -2
- package/dist/es/_virtual/utils.js +2 -2
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +3 -3
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +3 -3
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +16 -8
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +18 -12
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +40 -27
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +9 -6
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +8 -5
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XQB2HUHZ.js +14 -11
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +12 -7
- package/dist/es/node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +24 -24
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/index.js +6 -6
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/block-parser.js +21 -12
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/index.js +33 -29
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/source-parser.js +38 -17
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/spec-parser.js +11 -9
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/description.js +28 -17
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/name.js +69 -38
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/tag.js +19 -10
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/type.js +51 -26
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/primitives.js +8 -5
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/align.js +12 -1
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/crlf.js +12 -1
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/indent.js +12 -1
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/util.js +20 -20
- package/dist/es/node_modules/.pnpm/entities@3.0.1/node_modules/entities/lib/maps/entities.json.js +6373 -4251
- package/dist/es/node_modules/.pnpm/es-module-lexer@1.1.1/node_modules/es-module-lexer/dist/lexer.js +38 -40
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/common.js +3 -3
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/core.js +3 -3
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/common.js +79 -79
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/core.js +1157 -648
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/bash.js +75 -57
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/c.js +157 -137
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/cpp.js +118 -93
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/csharp.js +112 -92
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/css.js +92 -77
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/diff.js +13 -11
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/go.js +98 -92
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/graphql.js +20 -17
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ini.js +51 -39
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/java.js +132 -114
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/javascript.js +237 -192
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/json.js +26 -21
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/kotlin.js +98 -82
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/less.js +161 -134
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/lua.js +34 -29
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/makefile.js +33 -26
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/markdown.js +95 -77
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/objectivec.js +188 -179
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/perl.js +78 -61
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php-template.js +17 -15
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php.js +157 -121
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/plaintext.js +11 -9
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python-repl.js +10 -8
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python.js +191 -172
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/r.js +39 -33
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ruby.js +159 -131
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/rust.js +45 -37
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/scss.js +94 -79
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/shell.js +10 -8
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/sql.js +78 -49
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/swift.js +292 -219
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/typescript.js +284 -223
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/vbnet.js +51 -37
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/wasm.js +49 -39
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/xml.js +55 -45
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/yaml.js +66 -46
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/styles/stackoverflow-light.css.js +2 -2
- package/dist/es/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/index.js +304 -138
- package/dist/es/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/lib/re.js +49 -16
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/index.js +8 -8
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/entities.js +5 -5
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_blocks.js +2 -2
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_re.js +18 -5
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/utils.js +153 -77
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/index.js +8 -8
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_destination.js +61 -26
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_label.js +27 -13
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_title.js +37 -14
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/index.js +156 -83
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_block.js +69 -42
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_core.js +32 -28
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_inline.js +96 -66
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/commonmark.js +7 -7
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/default.js +7 -7
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/zero.js +7 -7
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/renderer.js +132 -64
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/ruler.js +122 -74
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/blockquote.js +147 -27
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/code.js +18 -12
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/fence.js +63 -11
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/heading.js +40 -9
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/hr.js +32 -11
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/html_block.js +56 -26
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/lheading.js +53 -18
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/list.js +196 -53
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/paragraph.js +32 -12
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/reference.js +142 -44
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/state_block.js +150 -60
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/table.js +174 -44
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/block.js +12 -4
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/inline.js +9 -5
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/linkify.js +90 -20
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/normalize.js +8 -5
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/replacements.js +53 -17
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/smartquotes.js +143 -50
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/state_core.js +11 -7
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/text_join.js +26 -10
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/autolink.js +57 -10
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/backticks.js +42 -16
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +59 -16
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/emphasis.js +64 -24
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/entity.js +45 -13
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/escape.js +51 -16
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/fragments_join.js +21 -6
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/html_inline.js +37 -13
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/image.js +107 -32
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/link.js +100 -26
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/linkify.js +44 -4
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/newline.js +32 -19
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/state_inline.js +91 -23
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/strikethrough.js +79 -25
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/text.js +18 -9
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/token.js +52 -21
- package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js +74 -32
- package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js +54 -29
- package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js +16 -4
- package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +10 -10
- package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js +158 -60
- package/dist/es/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-html.js +2375 -2274
- package/dist/es/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-typescript.js +23493 -23223
- package/dist/es/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/standalone.js +8281 -8174
- package/dist/es/node_modules/.pnpm/punycode@2.3.0/node_modules/punycode/punycode.es6.js +208 -107
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +9 -4
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +9 -4
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +2 -2
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +9 -4
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +18 -10
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +9 -4
- package/dist/es/packages/components/aside/index.vue.js +109 -75
- package/dist/es/packages/components/aside/index.vue2.js +2 -2
- package/dist/es/packages/components/boxurl/index.vue.js +55 -31
- package/dist/es/packages/components/boxurl/index.vue2.js +2 -2
- package/dist/es/packages/components/choice/choice.vue.js +43 -33
- package/dist/es/packages/components/choice/choice.vue2.js +2 -2
- package/dist/es/packages/components/choice/index.vue.js +69 -45
- package/dist/es/packages/components/choice/index.vue2.js +2 -2
- package/dist/es/packages/components/code/highlight.vue.js +11 -11
- package/dist/es/packages/components/code/highlight.vue2.js +4 -4
- package/dist/es/packages/components/code/index.vue.js +91 -70
- package/dist/es/packages/components/code/index.vue2.js +2 -2
- package/dist/es/packages/components/compo/ftable.vue.js +46 -30
- package/dist/es/packages/components/compo/ftable.vue2.js +2 -2
- package/dist/es/packages/components/compo/index.js +207 -135
- package/dist/es/packages/components/compo/index.vue.js +151 -119
- package/dist/es/packages/components/compo/index.vue2.js +2 -2
- package/dist/es/packages/components/compo/info.vue.js +43 -30
- package/dist/es/packages/components/compo/info.vue2.js +2 -2
- package/dist/es/packages/components/compo/top.js +114 -84
- package/dist/es/packages/components/header/index.vue.js +7 -7
- package/dist/es/packages/components/main/index.vue.js +59 -43
- package/dist/es/packages/components/main/index.vue2.js +2 -2
- package/dist/es/packages/components/md/index.vue.js +53 -42
- package/dist/es/packages/components/md/index.vue2.js +2 -2
- package/dist/es/packages/components/test/index.js +99 -70
- package/dist/es/packages/components/test/index.vue.js +91 -68
- package/dist/es/packages/components/test/index.vue2.js +2 -2
- package/dist/es/packages/components/test/top.js +128 -98
- package/dist/es/packages/components/use/index.js +109 -82
- package/dist/es/packages/components/use/retrie/any/index.vue.js +82 -61
- package/dist/es/packages/components/use/retrie/any/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/array/index.vue.js +54 -37
- package/dist/es/packages/components/use/retrie/array/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/boolean/index.vue.js +61 -40
- package/dist/es/packages/components/use/retrie/boolean/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/choice/index.vue.js +154 -92
- package/dist/es/packages/components/use/retrie/choice/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/choice/index.vue3.js +2 -2
- package/dist/es/packages/components/use/retrie/expose/index.vue.js +65 -44
- package/dist/es/packages/components/use/retrie/expose/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/form/index.vue.js +104 -93
- package/dist/es/packages/components/use/retrie/form/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/function/index.vue.js +60 -45
- package/dist/es/packages/components/use/retrie/function/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/index.vue.js +56 -43
- package/dist/es/packages/components/use/retrie/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/number/index.vue.js +41 -30
- package/dist/es/packages/components/use/retrie/number/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/object/index.vue.js +54 -37
- package/dist/es/packages/components/use/retrie/object/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/other/index.vue.js +54 -35
- package/dist/es/packages/components/use/retrie/other/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/select/index.vue.js +112 -75
- package/dist/es/packages/components/use/retrie/select/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/select/index.vue3.js +2 -2
- package/dist/es/packages/components/use/retrie/slot/index.vue.js +41 -30
- package/dist/es/packages/components/use/retrie/slot/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/string/index.vue.js +36 -24
- package/dist/es/packages/components/use/retrie/string/index.vue2.js +2 -2
- package/dist/es/packages/components/use/set-code.vue.js +148 -100
- package/dist/es/packages/components/use/set-code.vue2.js +2 -2
- package/dist/es/packages/components/use/set-emit.vue.js +46 -32
- package/dist/es/packages/components/use/set-emit.vue2.js +2 -2
- package/dist/es/packages/components/use/set-expose.vue.js +37 -28
- package/dist/es/packages/components/use/set-expose.vue2.js +2 -2
- package/dist/es/packages/components/use/set-props.vue.js +104 -64
- package/dist/es/packages/components/use/set-props.vue2.js +2 -2
- package/dist/es/packages/components/use/set-slot.vue.js +39 -31
- package/dist/es/packages/components/use/set-slot.vue2.js +2 -2
- package/dist/es/packages/components/use/util.js +156 -74
- package/dist/es/packages/config.d.ts +3 -3
- package/dist/es/packages/config.js +8 -8
- package/dist/es/packages/index/index.vue.js +10 -9
- package/dist/es/packages/index/index.vue2.js +2 -2
- package/dist/es/packages/index.js +9 -9
- package/dist/es/packages/page/compon/index.vue.js +2 -2
- package/dist/es/packages/page/compon/index.vue2.js +19 -16
- package/dist/es/packages/page/develop/index.vue.js +2 -2
- package/dist/es/packages/page/develop/index.vue2.js +19 -16
- package/dist/es/packages/page/index/index.vue.js +2 -2
- package/dist/es/packages/page/index/index.vue2.js +50 -36
- package/dist/es/packages/page/single/index.vue.js +2 -2
- package/dist/es/packages/page/single/index.vue2.js +75 -57
- package/dist/es/packages/page/tests/index.vue.js +2 -2
- package/dist/es/packages/page/tests/index.vue2.js +74 -46
- package/dist/es/packages/router/index.js +99 -62
- package/dist/es/packages/utils/common.js +138 -80
- package/dist/es/packages/utils/glob.js +480 -306
- package/dist/es/packages/utils/index.js +14 -13
- package/dist/es/packages/utils/props.js +171 -66
- package/dist/es/packages/utils/storage.js +27 -19
- package/dist/es/style.css +367 -2
- package/dist/lib/_virtual/_commonjsHelpers.js +38 -1
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -1
- package/dist/lib/_virtual/emphasis.js +4 -1
- package/dist/lib/_virtual/entities.js +12 -1
- package/dist/lib/_virtual/html_re.js +4 -1
- package/dist/lib/_virtual/index.js +12 -1
- package/dist/lib/_virtual/index2.js +4 -1
- package/dist/lib/_virtual/index3.js +4 -1
- package/dist/lib/_virtual/index4.js +4 -1
- package/dist/lib/_virtual/parser-html.js +12 -1
- package/dist/lib/_virtual/parser-typescript.js +12 -1
- package/dist/lib/_virtual/punycode.es6.js +5 -1
- package/dist/lib/_virtual/standalone.js +12 -1
- package/dist/lib/_virtual/strikethrough.js +4 -1
- package/dist/lib/_virtual/utils.js +4 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +6 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +6 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +20 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +23 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +44 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +12 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +11 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XQB2HUHZ.js +21 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +16 -1
- package/dist/lib/node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +34 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/index.js +15 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/block-parser.js +25 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/index.js +41 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/source-parser.js +44 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/spec-parser.js +15 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/description.js +35 -2
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/name.js +83 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/tag.js +22 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/type.js +60 -2
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/primitives.js +9 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/align.js +14 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/crlf.js +13 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/indent.js +13 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/util.js +28 -1
- package/dist/lib/node_modules/.pnpm/entities@3.0.1/node_modules/entities/lib/maps/entities.json.js +6376 -2
- package/dist/lib/node_modules/.pnpm/es-module-lexer@1.1.1/node_modules/es-module-lexer/dist/lexer.js +50 -3
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/common.js +5 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/core.js +5 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/common.js +80 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/core.js +1573 -2
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/bash.js +381 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/c.js +289 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/cpp.js +544 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/csharp.js +398 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/css.js +741 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/diff.js +63 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/go.js +144 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/graphql.js +80 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ini.js +126 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/java.js +263 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/javascript.js +691 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/json.js +49 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/kotlin.js +265 -2
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/less.js +822 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/lua.js +70 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/makefile.js +77 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/markdown.js +236 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/objectivec.js +253 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/perl.js +461 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php-template.js +56 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php.js +586 -2
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/plaintext.js +22 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python-repl.js +35 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python.js +423 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/r.js +220 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ruby.js +423 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/rust.js +305 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/scss.js +726 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/shell.js +34 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/sql.js +648 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/swift.js +785 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/typescript.js +779 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/vbnet.js +143 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/wasm.js +131 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/xml.js +236 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/yaml.js +194 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/styles/stackoverflow-light.css.js +3 -1
- package/dist/lib/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/index.js +354 -1
- package/dist/lib/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/lib/re.js +54 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/index.js +9 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/entities.js +6 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_blocks.js +66 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_re.js +19 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/utils.js +226 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/index.js +9 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_destination.js +78 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_label.js +32 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_title.js +45 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/index.js +181 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_block.js +79 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_core.js +38 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_inline.js +112 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/commonmark.js +77 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/default.js +39 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/zero.js +58 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/renderer.js +150 -13
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/ruler.js +143 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/blockquote.js +160 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/code.js +26 -2
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/fence.js +67 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/heading.js +43 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/hr.js +36 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/html_block.js +62 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/lheading.js +59 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/list.js +220 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/paragraph.js +36 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/reference.js +152 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/state_block.js +167 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/table.js +184 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/block.js +14 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/inline.js +11 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/linkify.js +100 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/normalize.js +10 -2
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/replacements.js +62 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/smartquotes.js +157 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/state_core.js +13 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/text_join.js +29 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/autolink.js +61 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/backticks.js +45 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +65 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/emphasis.js +82 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/entity.js +49 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/escape.js +56 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/fragments_join.js +23 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/html_inline.js +43 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/image.js +112 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/link.js +105 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/linkify.js +46 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/newline.js +35 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/state_inline.js +98 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/strikethrough.js +88 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/text.js +46 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/token.js +61 -1
- package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js +84 -1
- package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js +64 -1
- package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js +18 -1
- package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +11 -1
- package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js +171 -2
- package/dist/lib/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-html.js +3149 -20
- package/dist/lib/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-typescript.js +33275 -78
- package/dist/lib/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/standalone.js +11383 -88
- package/dist/lib/node_modules/.pnpm/punycode@2.3.0/node_modules/punycode/punycode.es6.js +240 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +12 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +12 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +3 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +12 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +21 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +12 -1
- package/dist/lib/packages/components/aside/index.vue.js +133 -1
- package/dist/lib/packages/components/aside/index.vue2.js +3 -1
- package/dist/lib/packages/components/boxurl/index.vue.js +78 -1
- package/dist/lib/packages/components/boxurl/index.vue2.js +3 -1
- package/dist/lib/packages/components/choice/choice.vue.js +58 -1
- package/dist/lib/packages/components/choice/choice.vue2.js +3 -1
- package/dist/lib/packages/components/choice/index.vue.js +99 -1
- package/dist/lib/packages/components/choice/index.vue2.js +3 -1
- package/dist/lib/packages/components/code/highlight.vue.js +15 -1
- package/dist/lib/packages/components/code/highlight.vue2.js +17 -1
- package/dist/lib/packages/components/code/index.vue.js +131 -1
- package/dist/lib/packages/components/code/index.vue2.js +3 -1
- package/dist/lib/packages/components/compo/ftable.vue.js +77 -1
- package/dist/lib/packages/components/compo/ftable.vue2.js +3 -1
- package/dist/lib/packages/components/compo/index.js +290 -1
- package/dist/lib/packages/components/compo/index.vue.js +226 -1
- package/dist/lib/packages/components/compo/index.vue2.js +3 -1
- package/dist/lib/packages/components/compo/info.vue.js +56 -1
- package/dist/lib/packages/components/compo/info.vue2.js +3 -1
- package/dist/lib/packages/components/compo/top.js +151 -1
- package/dist/lib/packages/components/header/index.vue.js +9 -1
- package/dist/lib/packages/components/main/index.vue.js +71 -1
- package/dist/lib/packages/components/main/index.vue2.js +3 -1
- package/dist/lib/packages/components/md/index.vue.js +70 -1
- package/dist/lib/packages/components/md/index.vue2.js +3 -1
- package/dist/lib/packages/components/test/index.js +129 -1
- package/dist/lib/packages/components/test/index.vue.js +108 -1
- package/dist/lib/packages/components/test/index.vue2.js +3 -1
- package/dist/lib/packages/components/test/top.js +187 -1
- package/dist/lib/packages/components/use/index.js +202 -1
- package/dist/lib/packages/components/use/retrie/any/index.vue.js +153 -1
- package/dist/lib/packages/components/use/retrie/any/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/array/index.vue.js +79 -5
- package/dist/lib/packages/components/use/retrie/array/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/boolean/index.vue.js +90 -1
- package/dist/lib/packages/components/use/retrie/boolean/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/choice/index.vue.js +207 -3
- package/dist/lib/packages/components/use/retrie/choice/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/choice/index.vue3.js +4 -1
- package/dist/lib/packages/components/use/retrie/expose/index.vue.js +89 -1
- package/dist/lib/packages/components/use/retrie/expose/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/form/index.vue.js +159 -1
- package/dist/lib/packages/components/use/retrie/form/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/function/index.vue.js +94 -3
- package/dist/lib/packages/components/use/retrie/function/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/index.vue.js +112 -1
- package/dist/lib/packages/components/use/retrie/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/number/index.vue.js +58 -1
- package/dist/lib/packages/components/use/retrie/number/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/object/index.vue.js +79 -5
- package/dist/lib/packages/components/use/retrie/object/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/other/index.vue.js +93 -3
- package/dist/lib/packages/components/use/retrie/other/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/select/index.vue.js +160 -1
- package/dist/lib/packages/components/use/retrie/select/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/select/index.vue3.js +4 -1
- package/dist/lib/packages/components/use/retrie/slot/index.vue.js +57 -1
- package/dist/lib/packages/components/use/retrie/slot/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/string/index.vue.js +62 -1
- package/dist/lib/packages/components/use/retrie/string/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/set-code.vue.js +182 -12
- package/dist/lib/packages/components/use/set-code.vue2.js +3 -1
- package/dist/lib/packages/components/use/set-emit.vue.js +63 -1
- package/dist/lib/packages/components/use/set-emit.vue2.js +3 -1
- package/dist/lib/packages/components/use/set-expose.vue.js +52 -1
- package/dist/lib/packages/components/use/set-expose.vue2.js +3 -1
- package/dist/lib/packages/components/use/set-props.vue.js +131 -1
- package/dist/lib/packages/components/use/set-props.vue2.js +3 -1
- package/dist/lib/packages/components/use/set-slot.vue.js +52 -1
- package/dist/lib/packages/components/use/set-slot.vue2.js +3 -1
- package/dist/lib/packages/components/use/util.js +181 -4
- package/dist/lib/packages/config.d.ts +3 -3
- package/dist/lib/packages/config.js +14 -1
- package/dist/lib/packages/index/index.vue.js +14 -1
- package/dist/lib/packages/index/index.vue2.js +3 -1
- package/dist/lib/packages/index.js +14 -1
- package/dist/lib/packages/page/compon/index.vue.js +3 -1
- package/dist/lib/packages/page/compon/index.vue2.js +23 -1
- package/dist/lib/packages/page/develop/index.vue.js +3 -1
- package/dist/lib/packages/page/develop/index.vue2.js +23 -1
- package/dist/lib/packages/page/index/index.vue.js +3 -1
- package/dist/lib/packages/page/index/index.vue2.js +62 -1
- package/dist/lib/packages/page/single/index.vue.js +3 -1
- package/dist/lib/packages/page/single/index.vue2.js +86 -1
- package/dist/lib/packages/page/tests/index.vue.js +3 -1
- package/dist/lib/packages/page/tests/index.vue2.js +94 -1
- package/dist/lib/packages/router/index.js +173 -1
- package/dist/lib/packages/utils/common.js +166 -1
- package/dist/lib/packages/utils/glob.js +561 -2
- package/dist/lib/packages/utils/index.js +19 -1
- package/dist/lib/packages/utils/props.js +197 -1
- package/dist/lib/packages/utils/storage.js +42 -1
- package/package.json +9 -10
|
@@ -1 +1,44 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
function mergeObject(a, b, j = 0, i) {
|
|
4
|
+
if (a instanceof Array) {
|
|
5
|
+
if (j > 0 && i) {
|
|
6
|
+
if (b instanceof Array) {
|
|
7
|
+
for (const v of b) {
|
|
8
|
+
if (!a.includes(v)) {
|
|
9
|
+
a.push(v);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
} else {
|
|
13
|
+
if (!a.includes(b)) {
|
|
14
|
+
a.push(b);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
} else {
|
|
18
|
+
a = b;
|
|
19
|
+
}
|
|
20
|
+
} else if (typeof a == "object") {
|
|
21
|
+
const cv = Object.prototype.toString.call(a);
|
|
22
|
+
const ct = Object.prototype.toString.call(b);
|
|
23
|
+
if (a && typeof b == "object" && cv == ct && j > 0) {
|
|
24
|
+
const n = j - 1;
|
|
25
|
+
if (n > 0) {
|
|
26
|
+
for (const key in b) {
|
|
27
|
+
const v = a[key];
|
|
28
|
+
const t = b[key];
|
|
29
|
+
a[key] = mergeObject(v, t, n, i);
|
|
30
|
+
}
|
|
31
|
+
} else {
|
|
32
|
+
for (const key in b) {
|
|
33
|
+
a[key] = b[key];
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
} else {
|
|
37
|
+
a = b;
|
|
38
|
+
}
|
|
39
|
+
} else {
|
|
40
|
+
a = b;
|
|
41
|
+
}
|
|
42
|
+
return a;
|
|
43
|
+
}
|
|
44
|
+
exports.mergeObject = mergeObject;
|
|
@@ -1 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
function appearNum(str, t) {
|
|
4
|
+
let reg = t;
|
|
5
|
+
if (typeof t == "string") {
|
|
6
|
+
reg = new RegExp(t, "g");
|
|
7
|
+
}
|
|
8
|
+
let arr = str.match(reg);
|
|
9
|
+
let c = arr ? arr.length : 0;
|
|
10
|
+
return c;
|
|
11
|
+
}
|
|
12
|
+
exports.appearNum = appearNum;
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const chunkEWJJKQIO = require("./chunk-EWJJKQIO.js");
|
|
4
|
+
function lineToLargeHump(name) {
|
|
5
|
+
let arr = name.split("-");
|
|
6
|
+
arr = arr.map((vs) => {
|
|
7
|
+
return chunkEWJJKQIO.firstUpper(vs);
|
|
8
|
+
});
|
|
9
|
+
return arr.join("");
|
|
10
|
+
}
|
|
11
|
+
exports.lineToLargeHump = lineToLargeHump;
|
|
@@ -1 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
function asyncMergeArray(arr, callback) {
|
|
4
|
+
return new Promise((resolve, reject) => {
|
|
5
|
+
let index = 0;
|
|
6
|
+
const k = arr.length;
|
|
7
|
+
arr.forEach((...a) => {
|
|
8
|
+
callback(
|
|
9
|
+
(...arr2) => {
|
|
10
|
+
index++;
|
|
11
|
+
if (k == index) {
|
|
12
|
+
resolve(arr2);
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
reject,
|
|
16
|
+
...a
|
|
17
|
+
);
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
exports.asyncMergeArray = asyncMergeArray;
|
|
@@ -1 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
function duplicateRemoval(arr, key) {
|
|
4
|
+
const ks = [];
|
|
5
|
+
const arrs = [];
|
|
6
|
+
for (let index = 0; index < arr.length; index++) {
|
|
7
|
+
const element = arr[index];
|
|
8
|
+
const v = element[key];
|
|
9
|
+
if (!ks.includes(v)) {
|
|
10
|
+
ks.push(v);
|
|
11
|
+
arrs.push(arr[index]);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return arrs;
|
|
15
|
+
}
|
|
16
|
+
exports.duplicateRemoval = duplicateRemoval;
|
|
@@ -1 +1,34 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const core = require("../../../../../highlight.js@11.7.0/node_modules/highlight.js/lib/core.js");
|
|
4
|
+
var r = vue.defineComponent({ props: { code: { type: String, required: true }, language: { type: String, default: "" }, autodetect: { type: Boolean, default: true }, ignoreIllegals: { type: Boolean, default: true } }, setup: function(e) {
|
|
5
|
+
var n = vue.ref(e.language);
|
|
6
|
+
vue.watch(function() {
|
|
7
|
+
return e.language;
|
|
8
|
+
}, function(e2) {
|
|
9
|
+
n.value = e2;
|
|
10
|
+
});
|
|
11
|
+
var r2 = vue.computed(function() {
|
|
12
|
+
return e.autodetect || !n.value;
|
|
13
|
+
}), o2 = vue.computed(function() {
|
|
14
|
+
return !r2.value && !core.default.getLanguage(n.value);
|
|
15
|
+
});
|
|
16
|
+
return { className: vue.computed(function() {
|
|
17
|
+
return o2.value ? "" : "hljs " + n.value;
|
|
18
|
+
}), highlightedCode: vue.computed(function() {
|
|
19
|
+
var l;
|
|
20
|
+
if (o2.value)
|
|
21
|
+
return console.warn('The language "' + n.value + '" you specified could not be found.'), e.code.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
22
|
+
if (r2.value) {
|
|
23
|
+
var a = core.default.highlightAuto(e.code);
|
|
24
|
+
return n.value = null !== (l = a.language) && void 0 !== l ? l : "", a.value;
|
|
25
|
+
}
|
|
26
|
+
return (a = core.default.highlight(e.code, { language: n.value, ignoreIllegals: e.ignoreIllegals })).value;
|
|
27
|
+
}) };
|
|
28
|
+
}, render: function() {
|
|
29
|
+
return vue.h("pre", {}, [vue.h("code", { class: this.className, innerHTML: this.highlightedCode })]);
|
|
30
|
+
} }), o = { install: function(e) {
|
|
31
|
+
e.component("highlightjs", r);
|
|
32
|
+
}, component: r };
|
|
33
|
+
const hljsVuePlugin = o;
|
|
34
|
+
module.exports = hljsVuePlugin;
|
package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/index.js
CHANGED
|
@@ -1 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const index = require("./parser/index.js");
|
|
4
|
+
const primitives = require("./primitives.js");
|
|
5
|
+
require("./transforms/align.js");
|
|
6
|
+
require("./transforms/indent.js");
|
|
7
|
+
require("./transforms/crlf.js");
|
|
8
|
+
function parse(source, options = {}) {
|
|
9
|
+
return index(options)(source);
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(exports, "Markers", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: () => primitives.Markers
|
|
14
|
+
});
|
|
15
|
+
exports.parse = parse;
|
|
@@ -1 +1,25 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
const reTag = /^@\S+/;
|
|
3
|
+
function getParser({ fence = "```" } = {}) {
|
|
4
|
+
const fencer = getFencer(fence);
|
|
5
|
+
const toggleFence = (source, isFenced) => fencer(source) ? !isFenced : isFenced;
|
|
6
|
+
return function parseBlock(source) {
|
|
7
|
+
const sections = [[]];
|
|
8
|
+
let isFenced = false;
|
|
9
|
+
for (const line of source) {
|
|
10
|
+
if (reTag.test(line.tokens.description) && !isFenced) {
|
|
11
|
+
sections.push([line]);
|
|
12
|
+
} else {
|
|
13
|
+
sections[sections.length - 1].push(line);
|
|
14
|
+
}
|
|
15
|
+
isFenced = toggleFence(line.tokens.description, isFenced);
|
|
16
|
+
}
|
|
17
|
+
return sections;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function getFencer(fence) {
|
|
21
|
+
if (typeof fence === "string")
|
|
22
|
+
return (source) => source.split(fence).length % 2 === 0;
|
|
23
|
+
return fence;
|
|
24
|
+
}
|
|
25
|
+
module.exports = getParser;
|
|
@@ -1 +1,41 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
const primitives = require("../primitives.js");
|
|
3
|
+
const util = require("../util.js");
|
|
4
|
+
const blockParser = require("./block-parser.js");
|
|
5
|
+
const sourceParser = require("./source-parser.js");
|
|
6
|
+
const specParser = require("./spec-parser.js");
|
|
7
|
+
const tag = require("./tokenizers/tag.js");
|
|
8
|
+
const type = require("./tokenizers/type.js");
|
|
9
|
+
const name = require("./tokenizers/name.js");
|
|
10
|
+
const description = require("./tokenizers/description.js");
|
|
11
|
+
function getParser({ startLine = 0, fence = "```", spacing = "compact", markers = primitives.Markers, tokenizers = [
|
|
12
|
+
tag(),
|
|
13
|
+
type(spacing),
|
|
14
|
+
name(),
|
|
15
|
+
description.default(spacing)
|
|
16
|
+
] } = {}) {
|
|
17
|
+
if (startLine < 0 || startLine % 1 > 0)
|
|
18
|
+
throw new Error("Invalid startLine");
|
|
19
|
+
const parseSource = sourceParser({ startLine, markers });
|
|
20
|
+
const parseBlock = blockParser({ fence });
|
|
21
|
+
const parseSpec = specParser({ tokenizers });
|
|
22
|
+
const joinDescription = description.getJoiner(spacing);
|
|
23
|
+
return function(source) {
|
|
24
|
+
const blocks = [];
|
|
25
|
+
for (const line of util.splitLines(source)) {
|
|
26
|
+
const lines = parseSource(line);
|
|
27
|
+
if (lines === null)
|
|
28
|
+
continue;
|
|
29
|
+
const sections = parseBlock(lines);
|
|
30
|
+
const specs = sections.slice(1).map(parseSpec);
|
|
31
|
+
blocks.push({
|
|
32
|
+
description: joinDescription(sections[0], markers),
|
|
33
|
+
tags: specs,
|
|
34
|
+
source: lines,
|
|
35
|
+
problems: specs.reduce((acc, spec) => acc.concat(spec.problems), [])
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return blocks;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
module.exports = getParser;
|
|
@@ -1 +1,44 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
const primitives = require("../primitives.js");
|
|
3
|
+
const util = require("../util.js");
|
|
4
|
+
function getParser({ startLine = 0, markers = primitives.Markers } = {}) {
|
|
5
|
+
let block = null;
|
|
6
|
+
let num = startLine;
|
|
7
|
+
return function parseSource(source) {
|
|
8
|
+
let rest = source;
|
|
9
|
+
const tokens = util.seedTokens();
|
|
10
|
+
[tokens.lineEnd, rest] = util.splitCR(rest);
|
|
11
|
+
[tokens.start, rest] = util.splitSpace(rest);
|
|
12
|
+
if (block === null && rest.startsWith(markers.start) && !rest.startsWith(markers.nostart)) {
|
|
13
|
+
block = [];
|
|
14
|
+
tokens.delimiter = rest.slice(0, markers.start.length);
|
|
15
|
+
rest = rest.slice(markers.start.length);
|
|
16
|
+
[tokens.postDelimiter, rest] = util.splitSpace(rest);
|
|
17
|
+
}
|
|
18
|
+
if (block === null) {
|
|
19
|
+
num++;
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
const isClosed = rest.trimRight().endsWith(markers.end);
|
|
23
|
+
if (tokens.delimiter === "" && rest.startsWith(markers.delim) && !rest.startsWith(markers.end)) {
|
|
24
|
+
tokens.delimiter = markers.delim;
|
|
25
|
+
rest = rest.slice(markers.delim.length);
|
|
26
|
+
[tokens.postDelimiter, rest] = util.splitSpace(rest);
|
|
27
|
+
}
|
|
28
|
+
if (isClosed) {
|
|
29
|
+
const trimmed = rest.trimRight();
|
|
30
|
+
tokens.end = rest.slice(trimmed.length - markers.end.length);
|
|
31
|
+
rest = trimmed.slice(0, -markers.end.length);
|
|
32
|
+
}
|
|
33
|
+
tokens.description = rest;
|
|
34
|
+
block.push({ number: num, source, tokens });
|
|
35
|
+
num++;
|
|
36
|
+
if (isClosed) {
|
|
37
|
+
const result = block.slice();
|
|
38
|
+
block = null;
|
|
39
|
+
return result;
|
|
40
|
+
}
|
|
41
|
+
return null;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
module.exports = getParser;
|
|
@@ -1 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
const util = require("../util.js");
|
|
3
|
+
function getParser({ tokenizers }) {
|
|
4
|
+
return function parseSpec(source) {
|
|
5
|
+
var _a;
|
|
6
|
+
let spec = util.seedSpec({ source });
|
|
7
|
+
for (const tokenize of tokenizers) {
|
|
8
|
+
spec = tokenize(spec);
|
|
9
|
+
if ((_a = spec.problems[spec.problems.length - 1]) === null || _a === void 0 ? void 0 : _a.critical)
|
|
10
|
+
break;
|
|
11
|
+
}
|
|
12
|
+
return spec;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
module.exports = getParser;
|
|
@@ -1,2 +1,35 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const primitives = require("../../primitives.js");
|
|
4
|
+
function descriptionTokenizer(spacing = "compact", markers = primitives.Markers) {
|
|
5
|
+
const join = getJoiner(spacing);
|
|
6
|
+
return (spec) => {
|
|
7
|
+
spec.description = join(spec.source, markers);
|
|
8
|
+
return spec;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function getJoiner(spacing) {
|
|
12
|
+
if (spacing === "compact")
|
|
13
|
+
return compactJoiner;
|
|
14
|
+
if (spacing === "preserve")
|
|
15
|
+
return preserveJoiner;
|
|
16
|
+
return spacing;
|
|
17
|
+
}
|
|
18
|
+
function compactJoiner(lines, markers = primitives.Markers) {
|
|
19
|
+
return lines.map(({ tokens: { description } }) => description.trim()).filter((description) => description !== "").join(" ");
|
|
20
|
+
}
|
|
21
|
+
const lineNo = (num, { tokens }, i) => tokens.type === "" ? num : i;
|
|
22
|
+
const getDescription = ({ tokens }) => (tokens.delimiter === "" ? tokens.start : tokens.postDelimiter.slice(1)) + tokens.description;
|
|
23
|
+
function preserveJoiner(lines, markers = primitives.Markers) {
|
|
24
|
+
if (lines.length === 0)
|
|
25
|
+
return "";
|
|
26
|
+
if (lines[0].tokens.description === "" && lines[0].tokens.delimiter === markers.start)
|
|
27
|
+
lines = lines.slice(1);
|
|
28
|
+
const lastLine = lines[lines.length - 1];
|
|
29
|
+
if (lastLine !== void 0 && lastLine.tokens.description === "" && lastLine.tokens.end.endsWith(markers.end))
|
|
30
|
+
lines = lines.slice(0, -1);
|
|
31
|
+
lines = lines.slice(lines.reduce(lineNo, 0));
|
|
32
|
+
return lines.map(getDescription).join("\n");
|
|
33
|
+
}
|
|
34
|
+
exports.default = descriptionTokenizer;
|
|
35
|
+
exports.getJoiner = getJoiner;
|
|
@@ -1 +1,83 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
const util = require("../../util.js");
|
|
3
|
+
const isQuoted = (s) => s && s.startsWith('"') && s.endsWith('"');
|
|
4
|
+
function nameTokenizer() {
|
|
5
|
+
const typeEnd = (num, { tokens }, i) => tokens.type === "" ? num : i;
|
|
6
|
+
return (spec) => {
|
|
7
|
+
const { tokens } = spec.source[spec.source.reduce(typeEnd, 0)];
|
|
8
|
+
const source = tokens.description.trimLeft();
|
|
9
|
+
const quotedGroups = source.split('"');
|
|
10
|
+
if (quotedGroups.length > 1 && quotedGroups[0] === "" && quotedGroups.length % 2 === 1) {
|
|
11
|
+
spec.name = quotedGroups[1];
|
|
12
|
+
tokens.name = `"${quotedGroups[1]}"`;
|
|
13
|
+
[tokens.postName, tokens.description] = util.splitSpace(source.slice(tokens.name.length));
|
|
14
|
+
return spec;
|
|
15
|
+
}
|
|
16
|
+
let brackets = 0;
|
|
17
|
+
let name = "";
|
|
18
|
+
let optional = false;
|
|
19
|
+
let defaultValue;
|
|
20
|
+
for (const ch of source) {
|
|
21
|
+
if (brackets === 0 && util.isSpace(ch))
|
|
22
|
+
break;
|
|
23
|
+
if (ch === "[")
|
|
24
|
+
brackets++;
|
|
25
|
+
if (ch === "]")
|
|
26
|
+
brackets--;
|
|
27
|
+
name += ch;
|
|
28
|
+
}
|
|
29
|
+
if (brackets !== 0) {
|
|
30
|
+
spec.problems.push({
|
|
31
|
+
code: "spec:name:unpaired-brackets",
|
|
32
|
+
message: "unpaired brackets",
|
|
33
|
+
line: spec.source[0].number,
|
|
34
|
+
critical: true
|
|
35
|
+
});
|
|
36
|
+
return spec;
|
|
37
|
+
}
|
|
38
|
+
const nameToken = name;
|
|
39
|
+
if (name[0] === "[" && name[name.length - 1] === "]") {
|
|
40
|
+
optional = true;
|
|
41
|
+
name = name.slice(1, -1);
|
|
42
|
+
const parts = name.split("=");
|
|
43
|
+
name = parts[0].trim();
|
|
44
|
+
if (parts[1] !== void 0)
|
|
45
|
+
defaultValue = parts.slice(1).join("=").trim();
|
|
46
|
+
if (name === "") {
|
|
47
|
+
spec.problems.push({
|
|
48
|
+
code: "spec:name:empty-name",
|
|
49
|
+
message: "empty name",
|
|
50
|
+
line: spec.source[0].number,
|
|
51
|
+
critical: true
|
|
52
|
+
});
|
|
53
|
+
return spec;
|
|
54
|
+
}
|
|
55
|
+
if (defaultValue === "") {
|
|
56
|
+
spec.problems.push({
|
|
57
|
+
code: "spec:name:empty-default",
|
|
58
|
+
message: "empty default value",
|
|
59
|
+
line: spec.source[0].number,
|
|
60
|
+
critical: true
|
|
61
|
+
});
|
|
62
|
+
return spec;
|
|
63
|
+
}
|
|
64
|
+
if (!isQuoted(defaultValue) && /=(?!>)/.test(defaultValue)) {
|
|
65
|
+
spec.problems.push({
|
|
66
|
+
code: "spec:name:invalid-default",
|
|
67
|
+
message: "invalid default value syntax",
|
|
68
|
+
line: spec.source[0].number,
|
|
69
|
+
critical: true
|
|
70
|
+
});
|
|
71
|
+
return spec;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
spec.optional = optional;
|
|
75
|
+
spec.name = name;
|
|
76
|
+
tokens.name = nameToken;
|
|
77
|
+
if (defaultValue !== void 0)
|
|
78
|
+
spec.default = defaultValue;
|
|
79
|
+
[tokens.postName, tokens.description] = util.splitSpace(source.slice(tokens.name.length));
|
|
80
|
+
return spec;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
module.exports = nameTokenizer;
|
|
@@ -1 +1,22 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
function tagTokenizer() {
|
|
3
|
+
return (spec) => {
|
|
4
|
+
const { tokens } = spec.source[0];
|
|
5
|
+
const match = tokens.description.match(/\s*(@(\S+))(\s*)/);
|
|
6
|
+
if (match === null) {
|
|
7
|
+
spec.problems.push({
|
|
8
|
+
code: "spec:tag:prefix",
|
|
9
|
+
message: 'tag should start with "@" symbol',
|
|
10
|
+
line: spec.source[0].number,
|
|
11
|
+
critical: true
|
|
12
|
+
});
|
|
13
|
+
return spec;
|
|
14
|
+
}
|
|
15
|
+
tokens.tag = match[1];
|
|
16
|
+
tokens.postTag = match[3];
|
|
17
|
+
tokens.description = tokens.description.slice(match[0].length);
|
|
18
|
+
spec.tag = match[2];
|
|
19
|
+
return spec;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
module.exports = tagTokenizer;
|
|
@@ -1,2 +1,60 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
const util = require("../../util.js");
|
|
3
|
+
function typeTokenizer(spacing = "compact") {
|
|
4
|
+
const join = getJoiner(spacing);
|
|
5
|
+
return (spec) => {
|
|
6
|
+
let curlies = 0;
|
|
7
|
+
let lines = [];
|
|
8
|
+
for (const [i, { tokens }] of spec.source.entries()) {
|
|
9
|
+
let type = "";
|
|
10
|
+
if (i === 0 && tokens.description[0] !== "{")
|
|
11
|
+
return spec;
|
|
12
|
+
for (const ch of tokens.description) {
|
|
13
|
+
if (ch === "{")
|
|
14
|
+
curlies++;
|
|
15
|
+
if (ch === "}")
|
|
16
|
+
curlies--;
|
|
17
|
+
type += ch;
|
|
18
|
+
if (curlies === 0)
|
|
19
|
+
break;
|
|
20
|
+
}
|
|
21
|
+
lines.push([tokens, type]);
|
|
22
|
+
if (curlies === 0)
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
if (curlies !== 0) {
|
|
26
|
+
spec.problems.push({
|
|
27
|
+
code: "spec:type:unpaired-curlies",
|
|
28
|
+
message: "unpaired curlies",
|
|
29
|
+
line: spec.source[0].number,
|
|
30
|
+
critical: true
|
|
31
|
+
});
|
|
32
|
+
return spec;
|
|
33
|
+
}
|
|
34
|
+
const parts = [];
|
|
35
|
+
const offset = lines[0][0].postDelimiter.length;
|
|
36
|
+
for (const [i, [tokens, type]] of lines.entries()) {
|
|
37
|
+
tokens.type = type;
|
|
38
|
+
if (i > 0) {
|
|
39
|
+
tokens.type = tokens.postDelimiter.slice(offset) + type;
|
|
40
|
+
tokens.postDelimiter = tokens.postDelimiter.slice(0, offset);
|
|
41
|
+
}
|
|
42
|
+
[tokens.postType, tokens.description] = util.splitSpace(tokens.description.slice(type.length));
|
|
43
|
+
parts.push(tokens.type);
|
|
44
|
+
}
|
|
45
|
+
parts[0] = parts[0].slice(1);
|
|
46
|
+
parts[parts.length - 1] = parts[parts.length - 1].slice(0, -1);
|
|
47
|
+
spec.type = join(parts);
|
|
48
|
+
return spec;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
const trim = (x) => x.trim();
|
|
52
|
+
function getJoiner(spacing) {
|
|
53
|
+
if (spacing === "compact")
|
|
54
|
+
return (t) => t.map(trim).join("");
|
|
55
|
+
else if (spacing === "preserve")
|
|
56
|
+
return (t) => t.join("\n");
|
|
57
|
+
else
|
|
58
|
+
return spacing;
|
|
59
|
+
}
|
|
60
|
+
module.exports = typeTokenizer;
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
exports.Markers = void 0;
|
|
4
|
+
(function(Markers) {
|
|
5
|
+
Markers["start"] = "/**";
|
|
6
|
+
Markers["nostart"] = "/***";
|
|
7
|
+
Markers["delim"] = "*";
|
|
8
|
+
Markers["end"] = "*/";
|
|
9
|
+
})(exports.Markers || (exports.Markers = {}));
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
require("../primitives.js");
|
|
3
|
+
globalThis && globalThis.__rest || function(s, e) {
|
|
4
|
+
var t = {};
|
|
5
|
+
for (var p in s)
|
|
6
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
9
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
10
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
11
|
+
t[p[i]] = s[p[i]];
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
};
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
globalThis && globalThis.__rest || function(s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s)
|
|
5
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
8
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
9
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
10
|
+
t[p[i]] = s[p[i]];
|
|
11
|
+
}
|
|
12
|
+
return t;
|
|
13
|
+
};
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
globalThis && globalThis.__rest || function(s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s)
|
|
5
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
8
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
9
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
10
|
+
t[p[i]] = s[p[i]];
|
|
11
|
+
}
|
|
12
|
+
return t;
|
|
13
|
+
};
|
package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/util.js
CHANGED
|
@@ -1 +1,28 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
function isSpace(source) {
|
|
4
|
+
return /^\s+$/.test(source);
|
|
5
|
+
}
|
|
6
|
+
function splitCR(source) {
|
|
7
|
+
const matches = source.match(/\r+$/);
|
|
8
|
+
return matches == null ? ["", source] : [source.slice(-matches[0].length), source.slice(0, -matches[0].length)];
|
|
9
|
+
}
|
|
10
|
+
function splitSpace(source) {
|
|
11
|
+
const matches = source.match(/^\s+/);
|
|
12
|
+
return matches == null ? ["", source] : [source.slice(0, matches[0].length), source.slice(matches[0].length)];
|
|
13
|
+
}
|
|
14
|
+
function splitLines(source) {
|
|
15
|
+
return source.split(/\n/);
|
|
16
|
+
}
|
|
17
|
+
function seedSpec(spec = {}) {
|
|
18
|
+
return Object.assign({ tag: "", name: "", type: "", optional: false, description: "", problems: [], source: [] }, spec);
|
|
19
|
+
}
|
|
20
|
+
function seedTokens(tokens = {}) {
|
|
21
|
+
return Object.assign({ start: "", delimiter: "", postDelimiter: "", tag: "", postTag: "", name: "", postName: "", type: "", postType: "", description: "", end: "", lineEnd: "" }, tokens);
|
|
22
|
+
}
|
|
23
|
+
exports.isSpace = isSpace;
|
|
24
|
+
exports.seedSpec = seedSpec;
|
|
25
|
+
exports.seedTokens = seedTokens;
|
|
26
|
+
exports.splitCR = splitCR;
|
|
27
|
+
exports.splitLines = splitLines;
|
|
28
|
+
exports.splitSpace = splitSpace;
|