@fangzhongya/vue-archive 0.0.2-8 → 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 +27 -28
- 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 -79
- package/dist/es/packages/components/aside/index.vue2.js +2 -2
- package/dist/es/packages/components/boxurl/index.vue.js +55 -34
- package/dist/es/packages/components/boxurl/index.vue2.js +2 -2
- package/dist/es/packages/components/choice/choice.vue.js +43 -35
- package/dist/es/packages/components/choice/choice.vue2.js +2 -2
- package/dist/es/packages/components/choice/index.vue.js +69 -48
- package/dist/es/packages/components/choice/index.vue2.js +2 -2
- package/dist/es/packages/components/code/highlight.vue.js +11 -12
- package/dist/es/packages/components/code/highlight.vue2.js +4 -4
- package/dist/es/packages/components/code/index.vue.js +91 -74
- package/dist/es/packages/components/code/index.vue2.js +2 -2
- package/dist/es/packages/components/compo/ftable.vue.js +46 -32
- 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 -121
- package/dist/es/packages/components/compo/index.vue2.js +2 -2
- package/dist/es/packages/components/compo/info.vue.js +43 -32
- package/dist/es/packages/components/compo/info.vue2.js +2 -2
- package/dist/es/packages/components/compo/top.js +114 -85
- package/dist/es/packages/components/header/index.vue.js +7 -8
- package/dist/es/packages/components/main/index.vue.js +59 -45
- package/dist/es/packages/components/main/index.vue2.js +2 -2
- package/dist/es/packages/components/md/index.vue.js +53 -45
- 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 -71
- package/dist/es/packages/components/test/index.vue2.js +2 -2
- package/dist/es/packages/components/test/top.js +128 -99
- package/dist/es/packages/components/use/index.js +109 -84
- package/dist/es/packages/components/use/retrie/any/index.vue.js +82 -63
- 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 -39
- 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 -43
- 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 -96
- 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 -47
- 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 -96
- 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 -47
- package/dist/es/packages/components/use/retrie/function/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/index.vue.js +56 -47
- package/dist/es/packages/components/use/retrie/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/number/index.vue.js +41 -33
- 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 -39
- 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 -37
- 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 -79
- 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 -33
- 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 -27
- package/dist/es/packages/components/use/retrie/string/index.vue2.js +2 -2
- package/dist/es/packages/components/use/set-code.vue.js +148 -104
- package/dist/es/packages/components/use/set-code.vue2.js +2 -2
- package/dist/es/packages/components/use/set-emit.vue.js +46 -34
- package/dist/es/packages/components/use/set-emit.vue2.js +2 -2
- package/dist/es/packages/components/use/set-expose.vue.js +37 -30
- package/dist/es/packages/components/use/set-expose.vue2.js +2 -2
- package/dist/es/packages/components/use/set-props.vue.js +104 -66
- package/dist/es/packages/components/use/set-props.vue2.js +2 -2
- package/dist/es/packages/components/use/set-slot.vue.js +39 -34
- 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 -10
- 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 -17
- package/dist/es/packages/page/develop/index.vue.js +2 -2
- package/dist/es/packages/page/develop/index.vue2.js +19 -17
- package/dist/es/packages/page/index/index.vue.js +2 -2
- package/dist/es/packages/page/index/index.vue2.js +50 -38
- package/dist/es/packages/page/single/index.vue.js +2 -2
- package/dist/es/packages/page/single/index.vue2.js +75 -61
- package/dist/es/packages/page/tests/index.vue.js +2 -2
- package/dist/es/packages/page/tests/index.vue2.js +74 -49
- 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
- package/dist/es/node_modules/.pnpm/@vue_compiler-core@3.2.47/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js +0 -2881
- package/dist/es/node_modules/.pnpm/@vue_compiler-dom@3.2.47/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +0 -408
- package/dist/es/node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -700
- package/dist/es/node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +0 -3908
- package/dist/es/node_modules/.pnpm/@vue_runtime-dom@3.2.47/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +0 -1023
- package/dist/es/node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -280
- package/dist/es/node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js +0 -163
- package/dist/lib/node_modules/.pnpm/@vue_compiler-core@3.2.47/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js +0 -9
- package/dist/lib/node_modules/.pnpm/@vue_compiler-dom@3.2.47/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js +0 -1
- package/dist/lib/node_modules/.pnpm/@vue_reactivity@3.2.47/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -1
- package/dist/lib/node_modules/.pnpm/@vue_runtime-core@3.2.47/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +0 -14
- package/dist/lib/node_modules/.pnpm/@vue_runtime-dom@3.2.47/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +0 -1
- package/dist/lib/node_modules/.pnpm/@vue_shared@3.2.47/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -2
- package/dist/lib/node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.esm-bundler.js +0 -2
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
var typescript_1;
|
|
2
|
+
var hasRequiredTypescript;
|
|
3
|
+
function requireTypescript() {
|
|
4
|
+
if (hasRequiredTypescript)
|
|
5
|
+
return typescript_1;
|
|
6
|
+
hasRequiredTypescript = 1;
|
|
7
|
+
const IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*";
|
|
8
|
+
const KEYWORDS = [
|
|
7
9
|
"as",
|
|
8
10
|
// for exports
|
|
9
11
|
"in",
|
|
@@ -46,14 +48,16 @@ function V() {
|
|
|
46
48
|
"from",
|
|
47
49
|
"export",
|
|
48
50
|
"extends"
|
|
49
|
-
]
|
|
51
|
+
];
|
|
52
|
+
const LITERALS = [
|
|
50
53
|
"true",
|
|
51
54
|
"false",
|
|
52
55
|
"null",
|
|
53
56
|
"undefined",
|
|
54
57
|
"NaN",
|
|
55
58
|
"Infinity"
|
|
56
|
-
]
|
|
59
|
+
];
|
|
60
|
+
const TYPES = [
|
|
57
61
|
// Fundamental objects
|
|
58
62
|
"Object",
|
|
59
63
|
"Function",
|
|
@@ -103,7 +107,8 @@ function V() {
|
|
|
103
107
|
"Intl",
|
|
104
108
|
// WebAssembly
|
|
105
109
|
"WebAssembly"
|
|
106
|
-
]
|
|
110
|
+
];
|
|
111
|
+
const ERROR_TYPES = [
|
|
107
112
|
"Error",
|
|
108
113
|
"EvalError",
|
|
109
114
|
"InternalError",
|
|
@@ -112,7 +117,8 @@ function V() {
|
|
|
112
117
|
"SyntaxError",
|
|
113
118
|
"TypeError",
|
|
114
119
|
"URIError"
|
|
115
|
-
]
|
|
120
|
+
];
|
|
121
|
+
const BUILT_IN_GLOBALS = [
|
|
116
122
|
"setInterval",
|
|
117
123
|
"setTimeout",
|
|
118
124
|
"clearInterval",
|
|
@@ -130,7 +136,8 @@ function V() {
|
|
|
130
136
|
"encodeURIComponent",
|
|
131
137
|
"escape",
|
|
132
138
|
"unescape"
|
|
133
|
-
]
|
|
139
|
+
];
|
|
140
|
+
const BUILT_IN_VARIABLES = [
|
|
134
141
|
"arguments",
|
|
135
142
|
"this",
|
|
136
143
|
"super",
|
|
@@ -141,64 +148,83 @@ function V() {
|
|
|
141
148
|
"module",
|
|
142
149
|
"global"
|
|
143
150
|
// Node.js
|
|
144
|
-
]
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
151
|
+
];
|
|
152
|
+
const BUILT_INS = [].concat(
|
|
153
|
+
BUILT_IN_GLOBALS,
|
|
154
|
+
TYPES,
|
|
155
|
+
ERROR_TYPES
|
|
148
156
|
);
|
|
149
|
-
function
|
|
150
|
-
const
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
157
|
+
function javascript(hljs) {
|
|
158
|
+
const regex = hljs.regex;
|
|
159
|
+
const hasClosingTag = (match, { after }) => {
|
|
160
|
+
const tag = "</" + match[0].slice(1);
|
|
161
|
+
const pos = match.input.indexOf(tag, after);
|
|
162
|
+
return pos !== -1;
|
|
163
|
+
};
|
|
164
|
+
const IDENT_RE$1 = IDENT_RE;
|
|
165
|
+
const FRAGMENT = {
|
|
154
166
|
begin: "<>",
|
|
155
167
|
end: "</>"
|
|
156
|
-
}
|
|
168
|
+
};
|
|
169
|
+
const XML_SELF_CLOSING = /<[A-Za-z0-9\\._:-]+\s*\/>/;
|
|
170
|
+
const XML_TAG = {
|
|
157
171
|
begin: /<[A-Za-z0-9\\._:-]+/,
|
|
158
172
|
end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
|
|
159
173
|
/**
|
|
160
174
|
* @param {RegExpMatchArray} match
|
|
161
175
|
* @param {CallbackResponse} response
|
|
162
176
|
*/
|
|
163
|
-
isTrulyOpeningTag: (
|
|
164
|
-
const
|
|
177
|
+
isTrulyOpeningTag: (match, response) => {
|
|
178
|
+
const afterMatchIndex = match[0].length + match.index;
|
|
179
|
+
const nextChar = match.input[afterMatchIndex];
|
|
165
180
|
if (
|
|
166
181
|
// HTML should not include another raw `<` inside a tag
|
|
167
182
|
// nested type?
|
|
168
183
|
// `<Array<Array<number>>`, etc.
|
|
169
|
-
|
|
184
|
+
nextChar === "<" || // the , gives away that this is not HTML
|
|
170
185
|
// `<T, A extends keyof T, V>`
|
|
171
|
-
|
|
186
|
+
nextChar === ","
|
|
172
187
|
) {
|
|
173
|
-
|
|
188
|
+
response.ignoreMatch();
|
|
174
189
|
return;
|
|
175
190
|
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
i.ignoreMatch();
|
|
181
|
-
return;
|
|
191
|
+
if (nextChar === ">") {
|
|
192
|
+
if (!hasClosingTag(match, { after: afterMatchIndex })) {
|
|
193
|
+
response.ignoreMatch();
|
|
194
|
+
}
|
|
182
195
|
}
|
|
183
|
-
|
|
184
|
-
|
|
196
|
+
let m;
|
|
197
|
+
const afterMatch = match.input.substring(afterMatchIndex);
|
|
198
|
+
if (m = afterMatch.match(/^\s*=/)) {
|
|
199
|
+
response.ignoreMatch();
|
|
185
200
|
return;
|
|
186
201
|
}
|
|
202
|
+
if (m = afterMatch.match(/^\s+extends\s+/)) {
|
|
203
|
+
if (m.index === 0) {
|
|
204
|
+
response.ignoreMatch();
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
187
208
|
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
209
|
+
};
|
|
210
|
+
const KEYWORDS$1 = {
|
|
211
|
+
$pattern: IDENT_RE,
|
|
212
|
+
keyword: KEYWORDS,
|
|
213
|
+
literal: LITERALS,
|
|
214
|
+
built_in: BUILT_INS,
|
|
215
|
+
"variable.language": BUILT_IN_VARIABLES
|
|
216
|
+
};
|
|
217
|
+
const decimalDigits = "[0-9](_?[0-9])*";
|
|
218
|
+
const frac = `\\.(${decimalDigits})`;
|
|
219
|
+
const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;
|
|
220
|
+
const NUMBER = {
|
|
195
221
|
className: "number",
|
|
196
222
|
variants: [
|
|
197
223
|
// DecimalLiteral
|
|
198
|
-
{ begin: `(\\b(${
|
|
199
|
-
{ begin: `\\b(${
|
|
224
|
+
{ begin: `(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b` },
|
|
225
|
+
{ begin: `\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b` },
|
|
200
226
|
// DecimalBigIntegerLiteral
|
|
201
|
-
{ begin:
|
|
227
|
+
{ begin: `\\b(0|[1-9](_?[0-9])*)n\\b` },
|
|
202
228
|
// NonDecimalIntegerLiteral
|
|
203
229
|
{ begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
|
|
204
230
|
{ begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
|
|
@@ -208,141 +234,151 @@ function V() {
|
|
|
208
234
|
{ begin: "\\b0[0-7]+n?\\b" }
|
|
209
235
|
],
|
|
210
236
|
relevance: 0
|
|
211
|
-
}
|
|
237
|
+
};
|
|
238
|
+
const SUBST = {
|
|
212
239
|
className: "subst",
|
|
213
240
|
begin: "\\$\\{",
|
|
214
241
|
end: "\\}",
|
|
215
|
-
keywords:
|
|
242
|
+
keywords: KEYWORDS$1,
|
|
216
243
|
contains: []
|
|
217
244
|
// defined later
|
|
218
|
-
}
|
|
245
|
+
};
|
|
246
|
+
const HTML_TEMPLATE = {
|
|
219
247
|
begin: "html`",
|
|
220
248
|
end: "",
|
|
221
249
|
starts: {
|
|
222
250
|
end: "`",
|
|
223
|
-
returnEnd:
|
|
251
|
+
returnEnd: false,
|
|
224
252
|
contains: [
|
|
225
|
-
|
|
226
|
-
|
|
253
|
+
hljs.BACKSLASH_ESCAPE,
|
|
254
|
+
SUBST
|
|
227
255
|
],
|
|
228
256
|
subLanguage: "xml"
|
|
229
257
|
}
|
|
230
|
-
}
|
|
258
|
+
};
|
|
259
|
+
const CSS_TEMPLATE = {
|
|
231
260
|
begin: "css`",
|
|
232
261
|
end: "",
|
|
233
262
|
starts: {
|
|
234
263
|
end: "`",
|
|
235
|
-
returnEnd:
|
|
264
|
+
returnEnd: false,
|
|
236
265
|
contains: [
|
|
237
|
-
|
|
238
|
-
|
|
266
|
+
hljs.BACKSLASH_ESCAPE,
|
|
267
|
+
SUBST
|
|
239
268
|
],
|
|
240
269
|
subLanguage: "css"
|
|
241
270
|
}
|
|
242
|
-
}
|
|
271
|
+
};
|
|
272
|
+
const TEMPLATE_STRING = {
|
|
243
273
|
className: "string",
|
|
244
274
|
begin: "`",
|
|
245
275
|
end: "`",
|
|
246
276
|
contains: [
|
|
247
|
-
|
|
248
|
-
|
|
277
|
+
hljs.BACKSLASH_ESCAPE,
|
|
278
|
+
SUBST
|
|
249
279
|
]
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
280
|
+
};
|
|
281
|
+
const JSDOC_COMMENT = hljs.COMMENT(
|
|
282
|
+
/\/\*\*(?!\/)/,
|
|
283
|
+
"\\*/",
|
|
284
|
+
{
|
|
285
|
+
relevance: 0,
|
|
286
|
+
contains: [
|
|
256
287
|
{
|
|
288
|
+
begin: "(?=@[A-Za-z]+)",
|
|
257
289
|
relevance: 0,
|
|
258
290
|
contains: [
|
|
259
291
|
{
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
// types or variables
|
|
283
|
-
{
|
|
284
|
-
begin: /(?=[^\n])\s/,
|
|
285
|
-
relevance: 0
|
|
286
|
-
}
|
|
287
|
-
]
|
|
292
|
+
className: "doctag",
|
|
293
|
+
begin: "@[A-Za-z]+"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
className: "type",
|
|
297
|
+
begin: "\\{",
|
|
298
|
+
end: "\\}",
|
|
299
|
+
excludeEnd: true,
|
|
300
|
+
excludeBegin: true,
|
|
301
|
+
relevance: 0
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
className: "variable",
|
|
305
|
+
begin: IDENT_RE$1 + "(?=\\s*(-)|$)",
|
|
306
|
+
endsParent: true,
|
|
307
|
+
relevance: 0
|
|
308
|
+
},
|
|
309
|
+
// eat spaces (not newlines) so we can find
|
|
310
|
+
// types or variables
|
|
311
|
+
{
|
|
312
|
+
begin: /(?=[^\n])\s/,
|
|
313
|
+
relevance: 0
|
|
288
314
|
}
|
|
289
315
|
]
|
|
290
316
|
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
);
|
|
320
|
+
const COMMENT = {
|
|
321
|
+
className: "comment",
|
|
322
|
+
variants: [
|
|
323
|
+
JSDOC_COMMENT,
|
|
324
|
+
hljs.C_BLOCK_COMMENT_MODE,
|
|
325
|
+
hljs.C_LINE_COMMENT_MODE
|
|
294
326
|
]
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
327
|
+
};
|
|
328
|
+
const SUBST_INTERNALS = [
|
|
329
|
+
hljs.APOS_STRING_MODE,
|
|
330
|
+
hljs.QUOTE_STRING_MODE,
|
|
331
|
+
HTML_TEMPLATE,
|
|
332
|
+
CSS_TEMPLATE,
|
|
333
|
+
TEMPLATE_STRING,
|
|
301
334
|
// Skip numbers when they are part of a variable name
|
|
302
335
|
{ match: /\$\d+/ },
|
|
303
|
-
|
|
336
|
+
NUMBER
|
|
304
337
|
// This is intentional:
|
|
305
338
|
// See https://github.com/highlightjs/highlight.js/issues/3288
|
|
306
339
|
// hljs.REGEXP_MODE
|
|
307
340
|
];
|
|
308
|
-
|
|
341
|
+
SUBST.contains = SUBST_INTERNALS.concat({
|
|
309
342
|
// we need to pair up {} inside our subst to prevent
|
|
310
343
|
// it from ending too early by matching another }
|
|
311
344
|
begin: /\{/,
|
|
312
345
|
end: /\}/,
|
|
313
|
-
keywords:
|
|
346
|
+
keywords: KEYWORDS$1,
|
|
314
347
|
contains: [
|
|
315
348
|
"self"
|
|
316
|
-
].concat(
|
|
349
|
+
].concat(SUBST_INTERNALS)
|
|
317
350
|
});
|
|
318
|
-
const
|
|
351
|
+
const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);
|
|
352
|
+
const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([
|
|
319
353
|
// eat recursive parens in sub expressions
|
|
320
354
|
{
|
|
321
355
|
begin: /\(/,
|
|
322
356
|
end: /\)/,
|
|
323
|
-
keywords:
|
|
324
|
-
contains: ["self"].concat(
|
|
357
|
+
keywords: KEYWORDS$1,
|
|
358
|
+
contains: ["self"].concat(SUBST_AND_COMMENTS)
|
|
325
359
|
}
|
|
326
|
-
])
|
|
360
|
+
]);
|
|
361
|
+
const PARAMS = {
|
|
327
362
|
className: "params",
|
|
328
363
|
begin: /\(/,
|
|
329
364
|
end: /\)/,
|
|
330
|
-
excludeBegin:
|
|
331
|
-
excludeEnd:
|
|
332
|
-
keywords:
|
|
333
|
-
contains:
|
|
334
|
-
}
|
|
365
|
+
excludeBegin: true,
|
|
366
|
+
excludeEnd: true,
|
|
367
|
+
keywords: KEYWORDS$1,
|
|
368
|
+
contains: PARAMS_CONTAINS
|
|
369
|
+
};
|
|
370
|
+
const CLASS_OR_EXTENDS = {
|
|
335
371
|
variants: [
|
|
336
372
|
// class Car extends vehicle
|
|
337
373
|
{
|
|
338
374
|
match: [
|
|
339
375
|
/class/,
|
|
340
376
|
/\s+/,
|
|
341
|
-
|
|
377
|
+
IDENT_RE$1,
|
|
342
378
|
/\s+/,
|
|
343
379
|
/extends/,
|
|
344
380
|
/\s+/,
|
|
345
|
-
|
|
381
|
+
regex.concat(IDENT_RE$1, "(", regex.concat(/\./, IDENT_RE$1), ")*")
|
|
346
382
|
],
|
|
347
383
|
scope: {
|
|
348
384
|
1: "keyword",
|
|
@@ -356,7 +392,7 @@ function V() {
|
|
|
356
392
|
match: [
|
|
357
393
|
/class/,
|
|
358
394
|
/\s+/,
|
|
359
|
-
|
|
395
|
+
IDENT_RE$1
|
|
360
396
|
],
|
|
361
397
|
scope: {
|
|
362
398
|
1: "keyword",
|
|
@@ -364,9 +400,10 @@ function V() {
|
|
|
364
400
|
}
|
|
365
401
|
}
|
|
366
402
|
]
|
|
367
|
-
}
|
|
403
|
+
};
|
|
404
|
+
const CLASS_REFERENCE = {
|
|
368
405
|
relevance: 0,
|
|
369
|
-
match:
|
|
406
|
+
match: regex.either(
|
|
370
407
|
// Hard coded exceptions
|
|
371
408
|
/\bJSON/,
|
|
372
409
|
// Float32Array, OutT
|
|
@@ -384,22 +421,24 @@ function V() {
|
|
|
384
421
|
keywords: {
|
|
385
422
|
_: [
|
|
386
423
|
// se we still get relevance credit for JS library classes
|
|
387
|
-
...
|
|
388
|
-
...
|
|
424
|
+
...TYPES,
|
|
425
|
+
...ERROR_TYPES
|
|
389
426
|
]
|
|
390
427
|
}
|
|
391
|
-
}
|
|
428
|
+
};
|
|
429
|
+
const USE_STRICT = {
|
|
392
430
|
label: "use_strict",
|
|
393
431
|
className: "meta",
|
|
394
432
|
relevance: 10,
|
|
395
433
|
begin: /^\s*['"]use (strict|asm)['"]/
|
|
396
|
-
}
|
|
434
|
+
};
|
|
435
|
+
const FUNCTION_DEFINITION = {
|
|
397
436
|
variants: [
|
|
398
437
|
{
|
|
399
438
|
match: [
|
|
400
439
|
/function/,
|
|
401
440
|
/\s+/,
|
|
402
|
-
|
|
441
|
+
IDENT_RE$1,
|
|
403
442
|
/(?=\s*\()/
|
|
404
443
|
]
|
|
405
444
|
},
|
|
@@ -416,43 +455,46 @@ function V() {
|
|
|
416
455
|
3: "title.function"
|
|
417
456
|
},
|
|
418
457
|
label: "func.def",
|
|
419
|
-
contains: [
|
|
458
|
+
contains: [PARAMS],
|
|
420
459
|
illegal: /%/
|
|
421
|
-
}
|
|
460
|
+
};
|
|
461
|
+
const UPPER_CASE_CONSTANT = {
|
|
422
462
|
relevance: 0,
|
|
423
463
|
match: /\b[A-Z][A-Z_0-9]+\b/,
|
|
424
464
|
className: "variable.constant"
|
|
425
465
|
};
|
|
426
|
-
function
|
|
427
|
-
return
|
|
466
|
+
function noneOf(list) {
|
|
467
|
+
return regex.concat("(?!", list.join("|"), ")");
|
|
428
468
|
}
|
|
429
|
-
const
|
|
430
|
-
match:
|
|
469
|
+
const FUNCTION_CALL = {
|
|
470
|
+
match: regex.concat(
|
|
431
471
|
/\b/,
|
|
432
|
-
|
|
433
|
-
...
|
|
472
|
+
noneOf([
|
|
473
|
+
...BUILT_IN_GLOBALS,
|
|
434
474
|
"super",
|
|
435
475
|
"import"
|
|
436
476
|
]),
|
|
437
|
-
|
|
438
|
-
|
|
477
|
+
IDENT_RE$1,
|
|
478
|
+
regex.lookahead(/\(/)
|
|
439
479
|
),
|
|
440
480
|
className: "title.function",
|
|
441
481
|
relevance: 0
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
|
|
482
|
+
};
|
|
483
|
+
const PROPERTY_ACCESS = {
|
|
484
|
+
begin: regex.concat(/\./, regex.lookahead(
|
|
485
|
+
regex.concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)
|
|
445
486
|
)),
|
|
446
|
-
end:
|
|
447
|
-
excludeBegin:
|
|
487
|
+
end: IDENT_RE$1,
|
|
488
|
+
excludeBegin: true,
|
|
448
489
|
keywords: "prototype",
|
|
449
490
|
className: "property",
|
|
450
491
|
relevance: 0
|
|
451
|
-
}
|
|
492
|
+
};
|
|
493
|
+
const GETTER_OR_SETTER = {
|
|
452
494
|
match: [
|
|
453
495
|
/get|set/,
|
|
454
496
|
/\s+/,
|
|
455
|
-
|
|
497
|
+
IDENT_RE$1,
|
|
456
498
|
/(?=\()/
|
|
457
499
|
],
|
|
458
500
|
className: {
|
|
@@ -464,18 +506,20 @@ function V() {
|
|
|
464
506
|
// eat to avoid empty params
|
|
465
507
|
begin: /\(\)/
|
|
466
508
|
},
|
|
467
|
-
|
|
509
|
+
PARAMS
|
|
468
510
|
]
|
|
469
|
-
}
|
|
511
|
+
};
|
|
512
|
+
const FUNC_LEAD_IN_RE = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + hljs.UNDERSCORE_IDENT_RE + ")\\s*=>";
|
|
513
|
+
const FUNCTION_VARIABLE = {
|
|
470
514
|
match: [
|
|
471
515
|
/const|var|let/,
|
|
472
516
|
/\s+/,
|
|
473
|
-
|
|
517
|
+
IDENT_RE$1,
|
|
474
518
|
/\s*/,
|
|
475
519
|
/=\s*/,
|
|
476
520
|
/(async\s*)?/,
|
|
477
521
|
// async is optional
|
|
478
|
-
|
|
522
|
+
regex.lookahead(FUNC_LEAD_IN_RE)
|
|
479
523
|
],
|
|
480
524
|
keywords: "async",
|
|
481
525
|
className: {
|
|
@@ -483,75 +527,75 @@ function V() {
|
|
|
483
527
|
3: "title.function"
|
|
484
528
|
},
|
|
485
529
|
contains: [
|
|
486
|
-
|
|
530
|
+
PARAMS
|
|
487
531
|
]
|
|
488
532
|
};
|
|
489
533
|
return {
|
|
490
534
|
name: "Javascript",
|
|
491
535
|
aliases: ["js", "jsx", "mjs", "cjs"],
|
|
492
|
-
keywords:
|
|
536
|
+
keywords: KEYWORDS$1,
|
|
493
537
|
// this will be extended by TypeScript
|
|
494
|
-
exports: { PARAMS_CONTAINS
|
|
538
|
+
exports: { PARAMS_CONTAINS, CLASS_REFERENCE },
|
|
495
539
|
illegal: /#(?![$_A-z])/,
|
|
496
540
|
contains: [
|
|
497
|
-
|
|
541
|
+
hljs.SHEBANG({
|
|
498
542
|
label: "shebang",
|
|
499
543
|
binary: "node",
|
|
500
544
|
relevance: 5
|
|
501
545
|
}),
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
546
|
+
USE_STRICT,
|
|
547
|
+
hljs.APOS_STRING_MODE,
|
|
548
|
+
hljs.QUOTE_STRING_MODE,
|
|
549
|
+
HTML_TEMPLATE,
|
|
550
|
+
CSS_TEMPLATE,
|
|
551
|
+
TEMPLATE_STRING,
|
|
552
|
+
COMMENT,
|
|
509
553
|
// Skip numbers when they are part of a variable name
|
|
510
554
|
{ match: /\$\d+/ },
|
|
511
|
-
|
|
512
|
-
|
|
555
|
+
NUMBER,
|
|
556
|
+
CLASS_REFERENCE,
|
|
513
557
|
{
|
|
514
558
|
className: "attr",
|
|
515
|
-
begin:
|
|
559
|
+
begin: IDENT_RE$1 + regex.lookahead(":"),
|
|
516
560
|
relevance: 0
|
|
517
561
|
},
|
|
518
|
-
|
|
562
|
+
FUNCTION_VARIABLE,
|
|
519
563
|
{
|
|
520
564
|
// "value" container
|
|
521
|
-
begin: "(" +
|
|
565
|
+
begin: "(" + hljs.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
|
|
522
566
|
keywords: "return throw case",
|
|
523
567
|
relevance: 0,
|
|
524
568
|
contains: [
|
|
525
|
-
|
|
526
|
-
|
|
569
|
+
COMMENT,
|
|
570
|
+
hljs.REGEXP_MODE,
|
|
527
571
|
{
|
|
528
572
|
className: "function",
|
|
529
573
|
// we have to count the parens to make sure we actually have the
|
|
530
574
|
// correct bounding ( ) before the =>. There could be any number of
|
|
531
575
|
// sub-expressions inside also surrounded by parens.
|
|
532
|
-
begin:
|
|
533
|
-
returnBegin:
|
|
576
|
+
begin: FUNC_LEAD_IN_RE,
|
|
577
|
+
returnBegin: true,
|
|
534
578
|
end: "\\s*=>",
|
|
535
579
|
contains: [
|
|
536
580
|
{
|
|
537
581
|
className: "params",
|
|
538
582
|
variants: [
|
|
539
583
|
{
|
|
540
|
-
begin:
|
|
584
|
+
begin: hljs.UNDERSCORE_IDENT_RE,
|
|
541
585
|
relevance: 0
|
|
542
586
|
},
|
|
543
587
|
{
|
|
544
588
|
className: null,
|
|
545
589
|
begin: /\(\s*\)/,
|
|
546
|
-
skip:
|
|
590
|
+
skip: true
|
|
547
591
|
},
|
|
548
592
|
{
|
|
549
593
|
begin: /\(/,
|
|
550
594
|
end: /\)/,
|
|
551
|
-
excludeBegin:
|
|
552
|
-
excludeEnd:
|
|
553
|
-
keywords:
|
|
554
|
-
contains:
|
|
595
|
+
excludeBegin: true,
|
|
596
|
+
excludeEnd: true,
|
|
597
|
+
keywords: KEYWORDS$1,
|
|
598
|
+
contains: PARAMS_CONTAINS
|
|
555
599
|
}
|
|
556
600
|
]
|
|
557
601
|
}
|
|
@@ -569,29 +613,29 @@ function V() {
|
|
|
569
613
|
{
|
|
570
614
|
// JSX
|
|
571
615
|
variants: [
|
|
572
|
-
{ begin:
|
|
573
|
-
{ match:
|
|
616
|
+
{ begin: FRAGMENT.begin, end: FRAGMENT.end },
|
|
617
|
+
{ match: XML_SELF_CLOSING },
|
|
574
618
|
{
|
|
575
|
-
begin:
|
|
619
|
+
begin: XML_TAG.begin,
|
|
576
620
|
// we carefully check the opening tag to see if it truly
|
|
577
621
|
// is a tag and not a false positive
|
|
578
|
-
"on:begin":
|
|
579
|
-
end:
|
|
622
|
+
"on:begin": XML_TAG.isTrulyOpeningTag,
|
|
623
|
+
end: XML_TAG.end
|
|
580
624
|
}
|
|
581
625
|
],
|
|
582
626
|
subLanguage: "xml",
|
|
583
627
|
contains: [
|
|
584
628
|
{
|
|
585
|
-
begin:
|
|
586
|
-
end:
|
|
587
|
-
skip:
|
|
629
|
+
begin: XML_TAG.begin,
|
|
630
|
+
end: XML_TAG.end,
|
|
631
|
+
skip: true,
|
|
588
632
|
contains: ["self"]
|
|
589
633
|
}
|
|
590
634
|
]
|
|
591
635
|
}
|
|
592
636
|
]
|
|
593
637
|
},
|
|
594
|
-
|
|
638
|
+
FUNCTION_DEFINITION,
|
|
595
639
|
{
|
|
596
640
|
// prevent this from getting swallowed up by function
|
|
597
641
|
// since they appear "function like"
|
|
@@ -601,13 +645,13 @@ function V() {
|
|
|
601
645
|
// we have to count the parens to make sure we actually have the correct
|
|
602
646
|
// bounding ( ). There could be any number of sub-expressions inside
|
|
603
647
|
// also surrounded by parens.
|
|
604
|
-
begin: "\\b(?!function)" +
|
|
648
|
+
begin: "\\b(?!function)" + hljs.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
|
|
605
649
|
// end parens
|
|
606
|
-
returnBegin:
|
|
650
|
+
returnBegin: true,
|
|
607
651
|
label: "func.def",
|
|
608
652
|
contains: [
|
|
609
|
-
|
|
610
|
-
|
|
653
|
+
PARAMS,
|
|
654
|
+
hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1, className: "title.function" })
|
|
611
655
|
]
|
|
612
656
|
},
|
|
613
657
|
// catch ... so it won't trigger the property rule below
|
|
@@ -615,23 +659,23 @@ function V() {
|
|
|
615
659
|
match: /\.\.\./,
|
|
616
660
|
relevance: 0
|
|
617
661
|
},
|
|
618
|
-
|
|
662
|
+
PROPERTY_ACCESS,
|
|
619
663
|
// hack: prevents detection of keywords in some circumstances
|
|
620
664
|
// .keyword()
|
|
621
665
|
// $keyword = x
|
|
622
666
|
{
|
|
623
|
-
match: "\\$" +
|
|
667
|
+
match: "\\$" + IDENT_RE$1,
|
|
624
668
|
relevance: 0
|
|
625
669
|
},
|
|
626
670
|
{
|
|
627
671
|
match: [/\bconstructor(?=\s*\()/],
|
|
628
672
|
className: { 1: "title.function" },
|
|
629
|
-
contains: [
|
|
673
|
+
contains: [PARAMS]
|
|
630
674
|
},
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
675
|
+
FUNCTION_CALL,
|
|
676
|
+
UPPER_CASE_CONSTANT,
|
|
677
|
+
CLASS_OR_EXTENDS,
|
|
678
|
+
GETTER_OR_SETTER,
|
|
635
679
|
{
|
|
636
680
|
match: /\$[(.]/
|
|
637
681
|
// relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
|
|
@@ -639,8 +683,10 @@ function V() {
|
|
|
639
683
|
]
|
|
640
684
|
};
|
|
641
685
|
}
|
|
642
|
-
function
|
|
643
|
-
const
|
|
686
|
+
function typescript(hljs) {
|
|
687
|
+
const tsLanguage = javascript(hljs);
|
|
688
|
+
const IDENT_RE$1 = IDENT_RE;
|
|
689
|
+
const TYPES2 = [
|
|
644
690
|
"any",
|
|
645
691
|
"void",
|
|
646
692
|
"number",
|
|
@@ -651,25 +697,29 @@ function V() {
|
|
|
651
697
|
"symbol",
|
|
652
698
|
"bigint",
|
|
653
699
|
"unknown"
|
|
654
|
-
]
|
|
700
|
+
];
|
|
701
|
+
const NAMESPACE = {
|
|
655
702
|
beginKeywords: "namespace",
|
|
656
703
|
end: /\{/,
|
|
657
|
-
excludeEnd:
|
|
658
|
-
contains: [
|
|
659
|
-
}
|
|
704
|
+
excludeEnd: true,
|
|
705
|
+
contains: [tsLanguage.exports.CLASS_REFERENCE]
|
|
706
|
+
};
|
|
707
|
+
const INTERFACE = {
|
|
660
708
|
beginKeywords: "interface",
|
|
661
709
|
end: /\{/,
|
|
662
|
-
excludeEnd:
|
|
710
|
+
excludeEnd: true,
|
|
663
711
|
keywords: {
|
|
664
712
|
keyword: "interface extends",
|
|
665
|
-
built_in:
|
|
713
|
+
built_in: TYPES2
|
|
666
714
|
},
|
|
667
|
-
contains: [
|
|
668
|
-
}
|
|
715
|
+
contains: [tsLanguage.exports.CLASS_REFERENCE]
|
|
716
|
+
};
|
|
717
|
+
const USE_STRICT = {
|
|
669
718
|
className: "meta",
|
|
670
719
|
relevance: 10,
|
|
671
720
|
begin: /^\s*['"]use strict['"]/
|
|
672
|
-
}
|
|
721
|
+
};
|
|
722
|
+
const TS_SPECIFIC_KEYWORDS = [
|
|
673
723
|
"type",
|
|
674
724
|
"namespace",
|
|
675
725
|
"interface",
|
|
@@ -682,37 +732,48 @@ function V() {
|
|
|
682
732
|
"readonly",
|
|
683
733
|
"enum",
|
|
684
734
|
"override"
|
|
685
|
-
]
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
735
|
+
];
|
|
736
|
+
const KEYWORDS$1 = {
|
|
737
|
+
$pattern: IDENT_RE,
|
|
738
|
+
keyword: KEYWORDS.concat(TS_SPECIFIC_KEYWORDS),
|
|
739
|
+
literal: LITERALS,
|
|
740
|
+
built_in: BUILT_INS.concat(TYPES2),
|
|
741
|
+
"variable.language": BUILT_IN_VARIABLES
|
|
742
|
+
};
|
|
743
|
+
const DECORATOR = {
|
|
692
744
|
className: "meta",
|
|
693
|
-
begin: "@" +
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
|
|
745
|
+
begin: "@" + IDENT_RE$1
|
|
746
|
+
};
|
|
747
|
+
const swapMode = (mode, label, replacement) => {
|
|
748
|
+
const indx = mode.contains.findIndex((m) => m.label === label);
|
|
749
|
+
if (indx === -1) {
|
|
697
750
|
throw new Error("can not find mode to replace");
|
|
698
|
-
|
|
751
|
+
}
|
|
752
|
+
mode.contains.splice(indx, 1, replacement);
|
|
699
753
|
};
|
|
700
|
-
Object.assign(
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
754
|
+
Object.assign(tsLanguage.keywords, KEYWORDS$1);
|
|
755
|
+
tsLanguage.exports.PARAMS_CONTAINS.push(DECORATOR);
|
|
756
|
+
tsLanguage.contains = tsLanguage.contains.concat([
|
|
757
|
+
DECORATOR,
|
|
758
|
+
NAMESPACE,
|
|
759
|
+
INTERFACE
|
|
760
|
+
]);
|
|
761
|
+
swapMode(tsLanguage, "shebang", hljs.SHEBANG());
|
|
762
|
+
swapMode(tsLanguage, "use_strict", USE_STRICT);
|
|
763
|
+
const functionDeclaration = tsLanguage.contains.find((m) => m.label === "func.def");
|
|
764
|
+
functionDeclaration.relevance = 0;
|
|
765
|
+
Object.assign(tsLanguage, {
|
|
707
766
|
name: "TypeScript",
|
|
708
767
|
aliases: [
|
|
709
768
|
"ts",
|
|
710
769
|
"tsx"
|
|
711
770
|
]
|
|
712
|
-
})
|
|
771
|
+
});
|
|
772
|
+
return tsLanguage;
|
|
713
773
|
}
|
|
714
|
-
|
|
774
|
+
typescript_1 = typescript;
|
|
775
|
+
return typescript_1;
|
|
715
776
|
}
|
|
716
777
|
export {
|
|
717
|
-
|
|
778
|
+
requireTypescript as __require
|
|
718
779
|
};
|