@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 +1,45 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var backticks = function backtick(state, silent) {
|
|
3
|
+
var start, max, marker, token, matchStart, matchEnd, openerLength, closerLength, pos = state.pos, ch = state.src.charCodeAt(pos);
|
|
4
|
+
if (ch !== 96) {
|
|
5
|
+
return false;
|
|
6
|
+
}
|
|
7
|
+
start = pos;
|
|
8
|
+
pos++;
|
|
9
|
+
max = state.posMax;
|
|
10
|
+
while (pos < max && state.src.charCodeAt(pos) === 96) {
|
|
11
|
+
pos++;
|
|
12
|
+
}
|
|
13
|
+
marker = state.src.slice(start, pos);
|
|
14
|
+
openerLength = marker.length;
|
|
15
|
+
if (state.backticksScanned && (state.backticks[openerLength] || 0) <= start) {
|
|
16
|
+
if (!silent)
|
|
17
|
+
state.pending += marker;
|
|
18
|
+
state.pos += openerLength;
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
matchStart = matchEnd = pos;
|
|
22
|
+
while ((matchStart = state.src.indexOf("`", matchEnd)) !== -1) {
|
|
23
|
+
matchEnd = matchStart + 1;
|
|
24
|
+
while (matchEnd < max && state.src.charCodeAt(matchEnd) === 96) {
|
|
25
|
+
matchEnd++;
|
|
26
|
+
}
|
|
27
|
+
closerLength = matchEnd - matchStart;
|
|
28
|
+
if (closerLength === openerLength) {
|
|
29
|
+
if (!silent) {
|
|
30
|
+
token = state.push("code_inline", "code", 0);
|
|
31
|
+
token.markup = marker;
|
|
32
|
+
token.content = state.src.slice(pos, matchStart).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
|
|
33
|
+
}
|
|
34
|
+
state.pos = matchEnd;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
state.backticks[closerLength] = matchStart;
|
|
38
|
+
}
|
|
39
|
+
state.backticksScanned = true;
|
|
40
|
+
if (!silent)
|
|
41
|
+
state.pending += marker;
|
|
42
|
+
state.pos += openerLength;
|
|
43
|
+
return true;
|
|
44
|
+
};
|
|
45
|
+
module.exports = backticks;
|
|
@@ -1 +1,65 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
function processDelimiters(state, delimiters) {
|
|
3
|
+
var closerIdx, openerIdx, closer, opener, minOpenerIdx, newMinOpenerIdx, isOddMatch, lastJump, openersBottom = {}, max = delimiters.length;
|
|
4
|
+
if (!max)
|
|
5
|
+
return;
|
|
6
|
+
var headerIdx = 0;
|
|
7
|
+
var lastTokenIdx = -2;
|
|
8
|
+
var jumps = [];
|
|
9
|
+
for (closerIdx = 0; closerIdx < max; closerIdx++) {
|
|
10
|
+
closer = delimiters[closerIdx];
|
|
11
|
+
jumps.push(0);
|
|
12
|
+
if (delimiters[headerIdx].marker !== closer.marker || lastTokenIdx !== closer.token - 1) {
|
|
13
|
+
headerIdx = closerIdx;
|
|
14
|
+
}
|
|
15
|
+
lastTokenIdx = closer.token;
|
|
16
|
+
closer.length = closer.length || 0;
|
|
17
|
+
if (!closer.close)
|
|
18
|
+
continue;
|
|
19
|
+
if (!openersBottom.hasOwnProperty(closer.marker)) {
|
|
20
|
+
openersBottom[closer.marker] = [-1, -1, -1, -1, -1, -1];
|
|
21
|
+
}
|
|
22
|
+
minOpenerIdx = openersBottom[closer.marker][(closer.open ? 3 : 0) + closer.length % 3];
|
|
23
|
+
openerIdx = headerIdx - jumps[headerIdx] - 1;
|
|
24
|
+
newMinOpenerIdx = openerIdx;
|
|
25
|
+
for (; openerIdx > minOpenerIdx; openerIdx -= jumps[openerIdx] + 1) {
|
|
26
|
+
opener = delimiters[openerIdx];
|
|
27
|
+
if (opener.marker !== closer.marker)
|
|
28
|
+
continue;
|
|
29
|
+
if (opener.open && opener.end < 0) {
|
|
30
|
+
isOddMatch = false;
|
|
31
|
+
if (opener.close || closer.open) {
|
|
32
|
+
if ((opener.length + closer.length) % 3 === 0) {
|
|
33
|
+
if (opener.length % 3 !== 0 || closer.length % 3 !== 0) {
|
|
34
|
+
isOddMatch = true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
if (!isOddMatch) {
|
|
39
|
+
lastJump = openerIdx > 0 && !delimiters[openerIdx - 1].open ? jumps[openerIdx - 1] + 1 : 0;
|
|
40
|
+
jumps[closerIdx] = closerIdx - openerIdx + lastJump;
|
|
41
|
+
jumps[openerIdx] = lastJump;
|
|
42
|
+
closer.open = false;
|
|
43
|
+
opener.end = closerIdx;
|
|
44
|
+
opener.close = false;
|
|
45
|
+
newMinOpenerIdx = -1;
|
|
46
|
+
lastTokenIdx = -2;
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
if (newMinOpenerIdx !== -1) {
|
|
52
|
+
openersBottom[closer.marker][(closer.open ? 3 : 0) + (closer.length || 0) % 3] = newMinOpenerIdx;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
var balance_pairs = function link_pairs(state) {
|
|
57
|
+
var curr, tokens_meta = state.tokens_meta, max = state.tokens_meta.length;
|
|
58
|
+
processDelimiters(state, state.delimiters);
|
|
59
|
+
for (curr = 0; curr < max; curr++) {
|
|
60
|
+
if (tokens_meta[curr] && tokens_meta[curr].delimiters) {
|
|
61
|
+
processDelimiters(state, tokens_meta[curr].delimiters);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
module.exports = balance_pairs;
|
|
@@ -1 +1,82 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
const emphasis = require("../../../../../../../_virtual/emphasis.js");
|
|
3
|
+
emphasis.__exports.tokenize = function emphasis2(state, silent) {
|
|
4
|
+
var i, scanned, token, start = state.pos, marker = state.src.charCodeAt(start);
|
|
5
|
+
if (silent) {
|
|
6
|
+
return false;
|
|
7
|
+
}
|
|
8
|
+
if (marker !== 95 && marker !== 42) {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
scanned = state.scanDelims(state.pos, marker === 42);
|
|
12
|
+
for (i = 0; i < scanned.length; i++) {
|
|
13
|
+
token = state.push("text", "", 0);
|
|
14
|
+
token.content = String.fromCharCode(marker);
|
|
15
|
+
state.delimiters.push({
|
|
16
|
+
// Char code of the starting marker (number).
|
|
17
|
+
//
|
|
18
|
+
marker,
|
|
19
|
+
// Total length of these series of delimiters.
|
|
20
|
+
//
|
|
21
|
+
length: scanned.length,
|
|
22
|
+
// A position of the token this delimiter corresponds to.
|
|
23
|
+
//
|
|
24
|
+
token: state.tokens.length - 1,
|
|
25
|
+
// If this delimiter is matched as a valid opener, `end` will be
|
|
26
|
+
// equal to its position, otherwise it's `-1`.
|
|
27
|
+
//
|
|
28
|
+
end: -1,
|
|
29
|
+
// Boolean flags that determine if this delimiter could open or close
|
|
30
|
+
// an emphasis.
|
|
31
|
+
//
|
|
32
|
+
open: scanned.can_open,
|
|
33
|
+
close: scanned.can_close
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
state.pos += scanned.length;
|
|
37
|
+
return true;
|
|
38
|
+
};
|
|
39
|
+
function postProcess(state, delimiters) {
|
|
40
|
+
var i, startDelim, endDelim, token, ch, isStrong, max = delimiters.length;
|
|
41
|
+
for (i = max - 1; i >= 0; i--) {
|
|
42
|
+
startDelim = delimiters[i];
|
|
43
|
+
if (startDelim.marker !== 95 && startDelim.marker !== 42) {
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
if (startDelim.end === -1) {
|
|
47
|
+
continue;
|
|
48
|
+
}
|
|
49
|
+
endDelim = delimiters[startDelim.end];
|
|
50
|
+
isStrong = i > 0 && delimiters[i - 1].end === startDelim.end + 1 && // check that first two markers match and adjacent
|
|
51
|
+
delimiters[i - 1].marker === startDelim.marker && delimiters[i - 1].token === startDelim.token - 1 && // check that last two markers are adjacent (we can safely assume they match)
|
|
52
|
+
delimiters[startDelim.end + 1].token === endDelim.token + 1;
|
|
53
|
+
ch = String.fromCharCode(startDelim.marker);
|
|
54
|
+
token = state.tokens[startDelim.token];
|
|
55
|
+
token.type = isStrong ? "strong_open" : "em_open";
|
|
56
|
+
token.tag = isStrong ? "strong" : "em";
|
|
57
|
+
token.nesting = 1;
|
|
58
|
+
token.markup = isStrong ? ch + ch : ch;
|
|
59
|
+
token.content = "";
|
|
60
|
+
token = state.tokens[endDelim.token];
|
|
61
|
+
token.type = isStrong ? "strong_close" : "em_close";
|
|
62
|
+
token.tag = isStrong ? "strong" : "em";
|
|
63
|
+
token.nesting = -1;
|
|
64
|
+
token.markup = isStrong ? ch + ch : ch;
|
|
65
|
+
token.content = "";
|
|
66
|
+
if (isStrong) {
|
|
67
|
+
state.tokens[delimiters[i - 1].token].content = "";
|
|
68
|
+
state.tokens[delimiters[startDelim.end + 1].token].content = "";
|
|
69
|
+
i--;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
emphasis.__exports.postProcess = function emphasis3(state) {
|
|
74
|
+
var curr, tokens_meta = state.tokens_meta, max = state.tokens_meta.length;
|
|
75
|
+
postProcess(state, state.delimiters);
|
|
76
|
+
for (curr = 0; curr < max; curr++) {
|
|
77
|
+
if (tokens_meta[curr] && tokens_meta[curr].delimiters) {
|
|
78
|
+
postProcess(state, tokens_meta[curr].delimiters);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
module.exports = emphasis.__exports;
|
|
@@ -1 +1,49 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
require("../common/entities.js");
|
|
3
|
+
require("../common/utils.js");
|
|
4
|
+
const utils = require("../../../../../../../_virtual/utils.js");
|
|
5
|
+
const entities$1 = require("../../../../../../../_virtual/entities.js");
|
|
6
|
+
var entities = entities$1.exports;
|
|
7
|
+
var has = utils.__exports.has;
|
|
8
|
+
var isValidEntityCode = utils.__exports.isValidEntityCode;
|
|
9
|
+
var fromCodePoint = utils.__exports.fromCodePoint;
|
|
10
|
+
var DIGITAL_RE = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i;
|
|
11
|
+
var NAMED_RE = /^&([a-z][a-z0-9]{1,31});/i;
|
|
12
|
+
var entity = function entity2(state, silent) {
|
|
13
|
+
var ch, code, match, token, pos = state.pos, max = state.posMax;
|
|
14
|
+
if (state.src.charCodeAt(pos) !== 38)
|
|
15
|
+
return false;
|
|
16
|
+
if (pos + 1 >= max)
|
|
17
|
+
return false;
|
|
18
|
+
ch = state.src.charCodeAt(pos + 1);
|
|
19
|
+
if (ch === 35) {
|
|
20
|
+
match = state.src.slice(pos).match(DIGITAL_RE);
|
|
21
|
+
if (match) {
|
|
22
|
+
if (!silent) {
|
|
23
|
+
code = match[1][0].toLowerCase() === "x" ? parseInt(match[1].slice(1), 16) : parseInt(match[1], 10);
|
|
24
|
+
token = state.push("text_special", "", 0);
|
|
25
|
+
token.content = isValidEntityCode(code) ? fromCodePoint(code) : fromCodePoint(65533);
|
|
26
|
+
token.markup = match[0];
|
|
27
|
+
token.info = "entity";
|
|
28
|
+
}
|
|
29
|
+
state.pos += match[0].length;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
} else {
|
|
33
|
+
match = state.src.slice(pos).match(NAMED_RE);
|
|
34
|
+
if (match) {
|
|
35
|
+
if (has(entities, match[1])) {
|
|
36
|
+
if (!silent) {
|
|
37
|
+
token = state.push("text_special", "", 0);
|
|
38
|
+
token.content = entities[match[1]];
|
|
39
|
+
token.markup = match[0];
|
|
40
|
+
token.info = "entity";
|
|
41
|
+
}
|
|
42
|
+
state.pos += match[0].length;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return false;
|
|
48
|
+
};
|
|
49
|
+
module.exports = entity;
|
|
@@ -1 +1,56 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
require("../common/utils.js");
|
|
3
|
+
const utils = require("../../../../../../../_virtual/utils.js");
|
|
4
|
+
var isSpace = utils.__exports.isSpace;
|
|
5
|
+
var ESCAPED = [];
|
|
6
|
+
for (var i = 0; i < 256; i++) {
|
|
7
|
+
ESCAPED.push(0);
|
|
8
|
+
}
|
|
9
|
+
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(ch) {
|
|
10
|
+
ESCAPED[ch.charCodeAt(0)] = 1;
|
|
11
|
+
});
|
|
12
|
+
var _escape = function escape(state, silent) {
|
|
13
|
+
var ch1, ch2, origStr, escapedStr, token, pos = state.pos, max = state.posMax;
|
|
14
|
+
if (state.src.charCodeAt(pos) !== 92)
|
|
15
|
+
return false;
|
|
16
|
+
pos++;
|
|
17
|
+
if (pos >= max)
|
|
18
|
+
return false;
|
|
19
|
+
ch1 = state.src.charCodeAt(pos);
|
|
20
|
+
if (ch1 === 10) {
|
|
21
|
+
if (!silent) {
|
|
22
|
+
state.push("hardbreak", "br", 0);
|
|
23
|
+
}
|
|
24
|
+
pos++;
|
|
25
|
+
while (pos < max) {
|
|
26
|
+
ch1 = state.src.charCodeAt(pos);
|
|
27
|
+
if (!isSpace(ch1))
|
|
28
|
+
break;
|
|
29
|
+
pos++;
|
|
30
|
+
}
|
|
31
|
+
state.pos = pos;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
escapedStr = state.src[pos];
|
|
35
|
+
if (ch1 >= 55296 && ch1 <= 56319 && pos + 1 < max) {
|
|
36
|
+
ch2 = state.src.charCodeAt(pos + 1);
|
|
37
|
+
if (ch2 >= 56320 && ch2 <= 57343) {
|
|
38
|
+
escapedStr += state.src[pos + 1];
|
|
39
|
+
pos++;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
origStr = "\\" + escapedStr;
|
|
43
|
+
if (!silent) {
|
|
44
|
+
token = state.push("text_special", "", 0);
|
|
45
|
+
if (ch1 < 256 && ESCAPED[ch1] !== 0) {
|
|
46
|
+
token.content = escapedStr;
|
|
47
|
+
} else {
|
|
48
|
+
token.content = origStr;
|
|
49
|
+
}
|
|
50
|
+
token.markup = origStr;
|
|
51
|
+
token.info = "escape";
|
|
52
|
+
}
|
|
53
|
+
state.pos = pos + 1;
|
|
54
|
+
return true;
|
|
55
|
+
};
|
|
56
|
+
module.exports = _escape;
|
|
@@ -1 +1,23 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var fragments_join = function fragments_join2(state) {
|
|
3
|
+
var curr, last, level = 0, tokens = state.tokens, max = state.tokens.length;
|
|
4
|
+
for (curr = last = 0; curr < max; curr++) {
|
|
5
|
+
if (tokens[curr].nesting < 0)
|
|
6
|
+
level--;
|
|
7
|
+
tokens[curr].level = level;
|
|
8
|
+
if (tokens[curr].nesting > 0)
|
|
9
|
+
level++;
|
|
10
|
+
if (tokens[curr].type === "text" && curr + 1 < max && tokens[curr + 1].type === "text") {
|
|
11
|
+
tokens[curr + 1].content = tokens[curr].content + tokens[curr + 1].content;
|
|
12
|
+
} else {
|
|
13
|
+
if (curr !== last) {
|
|
14
|
+
tokens[last] = tokens[curr];
|
|
15
|
+
}
|
|
16
|
+
last++;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
if (curr !== last) {
|
|
20
|
+
tokens.length = last;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
module.exports = fragments_join;
|
|
@@ -1 +1,43 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
require("../common/html_re.js");
|
|
3
|
+
const html_re = require("../../../../../../../_virtual/html_re.js");
|
|
4
|
+
var HTML_TAG_RE = html_re.__exports.HTML_TAG_RE;
|
|
5
|
+
function isLinkOpen(str) {
|
|
6
|
+
return /^<a[>\s]/i.test(str);
|
|
7
|
+
}
|
|
8
|
+
function isLinkClose(str) {
|
|
9
|
+
return /^<\/a\s*>/i.test(str);
|
|
10
|
+
}
|
|
11
|
+
function isLetter(ch) {
|
|
12
|
+
var lc = ch | 32;
|
|
13
|
+
return lc >= 97 && lc <= 122;
|
|
14
|
+
}
|
|
15
|
+
var html_inline = function html_inline2(state, silent) {
|
|
16
|
+
var ch, match, max, token, pos = state.pos;
|
|
17
|
+
if (!state.md.options.html) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
max = state.posMax;
|
|
21
|
+
if (state.src.charCodeAt(pos) !== 60 || pos + 2 >= max) {
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
ch = state.src.charCodeAt(pos + 1);
|
|
25
|
+
if (ch !== 33 && ch !== 63 && ch !== 47 && !isLetter(ch)) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
match = state.src.slice(pos).match(HTML_TAG_RE);
|
|
29
|
+
if (!match) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
if (!silent) {
|
|
33
|
+
token = state.push("html_inline", "", 0);
|
|
34
|
+
token.content = state.src.slice(pos, pos + match[0].length);
|
|
35
|
+
if (isLinkOpen(token.content))
|
|
36
|
+
state.linkLevel++;
|
|
37
|
+
if (isLinkClose(token.content))
|
|
38
|
+
state.linkLevel--;
|
|
39
|
+
}
|
|
40
|
+
state.pos += match[0].length;
|
|
41
|
+
return true;
|
|
42
|
+
};
|
|
43
|
+
module.exports = html_inline;
|
|
@@ -1 +1,112 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
require("../common/utils.js");
|
|
3
|
+
const utils = require("../../../../../../../_virtual/utils.js");
|
|
4
|
+
var normalizeReference = utils.__exports.normalizeReference;
|
|
5
|
+
var isSpace = utils.__exports.isSpace;
|
|
6
|
+
var image = function image2(state, silent) {
|
|
7
|
+
var attrs, code, content, label, labelEnd, labelStart, pos, ref, res, title, token, tokens, start, href = "", oldPos = state.pos, max = state.posMax;
|
|
8
|
+
if (state.src.charCodeAt(state.pos) !== 33) {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
if (state.src.charCodeAt(state.pos + 1) !== 91) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
labelStart = state.pos + 2;
|
|
15
|
+
labelEnd = state.md.helpers.parseLinkLabel(state, state.pos + 1, false);
|
|
16
|
+
if (labelEnd < 0) {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
pos = labelEnd + 1;
|
|
20
|
+
if (pos < max && state.src.charCodeAt(pos) === 40) {
|
|
21
|
+
pos++;
|
|
22
|
+
for (; pos < max; pos++) {
|
|
23
|
+
code = state.src.charCodeAt(pos);
|
|
24
|
+
if (!isSpace(code) && code !== 10) {
|
|
25
|
+
break;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
if (pos >= max) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
start = pos;
|
|
32
|
+
res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax);
|
|
33
|
+
if (res.ok) {
|
|
34
|
+
href = state.md.normalizeLink(res.str);
|
|
35
|
+
if (state.md.validateLink(href)) {
|
|
36
|
+
pos = res.pos;
|
|
37
|
+
} else {
|
|
38
|
+
href = "";
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
start = pos;
|
|
42
|
+
for (; pos < max; pos++) {
|
|
43
|
+
code = state.src.charCodeAt(pos);
|
|
44
|
+
if (!isSpace(code) && code !== 10) {
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax);
|
|
49
|
+
if (pos < max && start !== pos && res.ok) {
|
|
50
|
+
title = res.str;
|
|
51
|
+
pos = res.pos;
|
|
52
|
+
for (; pos < max; pos++) {
|
|
53
|
+
code = state.src.charCodeAt(pos);
|
|
54
|
+
if (!isSpace(code) && code !== 10) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
} else {
|
|
59
|
+
title = "";
|
|
60
|
+
}
|
|
61
|
+
if (pos >= max || state.src.charCodeAt(pos) !== 41) {
|
|
62
|
+
state.pos = oldPos;
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
pos++;
|
|
66
|
+
} else {
|
|
67
|
+
if (typeof state.env.references === "undefined") {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
if (pos < max && state.src.charCodeAt(pos) === 91) {
|
|
71
|
+
start = pos + 1;
|
|
72
|
+
pos = state.md.helpers.parseLinkLabel(state, pos);
|
|
73
|
+
if (pos >= 0) {
|
|
74
|
+
label = state.src.slice(start, pos++);
|
|
75
|
+
} else {
|
|
76
|
+
pos = labelEnd + 1;
|
|
77
|
+
}
|
|
78
|
+
} else {
|
|
79
|
+
pos = labelEnd + 1;
|
|
80
|
+
}
|
|
81
|
+
if (!label) {
|
|
82
|
+
label = state.src.slice(labelStart, labelEnd);
|
|
83
|
+
}
|
|
84
|
+
ref = state.env.references[normalizeReference(label)];
|
|
85
|
+
if (!ref) {
|
|
86
|
+
state.pos = oldPos;
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
href = ref.href;
|
|
90
|
+
title = ref.title;
|
|
91
|
+
}
|
|
92
|
+
if (!silent) {
|
|
93
|
+
content = state.src.slice(labelStart, labelEnd);
|
|
94
|
+
state.md.inline.parse(
|
|
95
|
+
content,
|
|
96
|
+
state.md,
|
|
97
|
+
state.env,
|
|
98
|
+
tokens = []
|
|
99
|
+
);
|
|
100
|
+
token = state.push("image", "img", 0);
|
|
101
|
+
token.attrs = attrs = [["src", href], ["alt", ""]];
|
|
102
|
+
token.children = tokens;
|
|
103
|
+
token.content = content;
|
|
104
|
+
if (title) {
|
|
105
|
+
attrs.push(["title", title]);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
state.pos = pos;
|
|
109
|
+
state.posMax = max;
|
|
110
|
+
return true;
|
|
111
|
+
};
|
|
112
|
+
module.exports = image;
|
|
@@ -1 +1,105 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
require("../common/utils.js");
|
|
3
|
+
const utils = require("../../../../../../../_virtual/utils.js");
|
|
4
|
+
var normalizeReference = utils.__exports.normalizeReference;
|
|
5
|
+
var isSpace = utils.__exports.isSpace;
|
|
6
|
+
var link = function link2(state, silent) {
|
|
7
|
+
var attrs, code, label, labelEnd, labelStart, pos, res, ref, token, href = "", title = "", oldPos = state.pos, max = state.posMax, start = state.pos, parseReference = true;
|
|
8
|
+
if (state.src.charCodeAt(state.pos) !== 91) {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
labelStart = state.pos + 1;
|
|
12
|
+
labelEnd = state.md.helpers.parseLinkLabel(state, state.pos, true);
|
|
13
|
+
if (labelEnd < 0) {
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
pos = labelEnd + 1;
|
|
17
|
+
if (pos < max && state.src.charCodeAt(pos) === 40) {
|
|
18
|
+
parseReference = false;
|
|
19
|
+
pos++;
|
|
20
|
+
for (; pos < max; pos++) {
|
|
21
|
+
code = state.src.charCodeAt(pos);
|
|
22
|
+
if (!isSpace(code) && code !== 10) {
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
if (pos >= max) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
start = pos;
|
|
30
|
+
res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax);
|
|
31
|
+
if (res.ok) {
|
|
32
|
+
href = state.md.normalizeLink(res.str);
|
|
33
|
+
if (state.md.validateLink(href)) {
|
|
34
|
+
pos = res.pos;
|
|
35
|
+
} else {
|
|
36
|
+
href = "";
|
|
37
|
+
}
|
|
38
|
+
start = pos;
|
|
39
|
+
for (; pos < max; pos++) {
|
|
40
|
+
code = state.src.charCodeAt(pos);
|
|
41
|
+
if (!isSpace(code) && code !== 10) {
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax);
|
|
46
|
+
if (pos < max && start !== pos && res.ok) {
|
|
47
|
+
title = res.str;
|
|
48
|
+
pos = res.pos;
|
|
49
|
+
for (; pos < max; pos++) {
|
|
50
|
+
code = state.src.charCodeAt(pos);
|
|
51
|
+
if (!isSpace(code) && code !== 10) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
if (pos >= max || state.src.charCodeAt(pos) !== 41) {
|
|
58
|
+
parseReference = true;
|
|
59
|
+
}
|
|
60
|
+
pos++;
|
|
61
|
+
}
|
|
62
|
+
if (parseReference) {
|
|
63
|
+
if (typeof state.env.references === "undefined") {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
if (pos < max && state.src.charCodeAt(pos) === 91) {
|
|
67
|
+
start = pos + 1;
|
|
68
|
+
pos = state.md.helpers.parseLinkLabel(state, pos);
|
|
69
|
+
if (pos >= 0) {
|
|
70
|
+
label = state.src.slice(start, pos++);
|
|
71
|
+
} else {
|
|
72
|
+
pos = labelEnd + 1;
|
|
73
|
+
}
|
|
74
|
+
} else {
|
|
75
|
+
pos = labelEnd + 1;
|
|
76
|
+
}
|
|
77
|
+
if (!label) {
|
|
78
|
+
label = state.src.slice(labelStart, labelEnd);
|
|
79
|
+
}
|
|
80
|
+
ref = state.env.references[normalizeReference(label)];
|
|
81
|
+
if (!ref) {
|
|
82
|
+
state.pos = oldPos;
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
href = ref.href;
|
|
86
|
+
title = ref.title;
|
|
87
|
+
}
|
|
88
|
+
if (!silent) {
|
|
89
|
+
state.pos = labelStart;
|
|
90
|
+
state.posMax = labelEnd;
|
|
91
|
+
token = state.push("link_open", "a", 1);
|
|
92
|
+
token.attrs = attrs = [["href", href]];
|
|
93
|
+
if (title) {
|
|
94
|
+
attrs.push(["title", title]);
|
|
95
|
+
}
|
|
96
|
+
state.linkLevel++;
|
|
97
|
+
state.md.inline.tokenize(state);
|
|
98
|
+
state.linkLevel--;
|
|
99
|
+
token = state.push("link_close", "a", -1);
|
|
100
|
+
}
|
|
101
|
+
state.pos = pos;
|
|
102
|
+
state.posMax = max;
|
|
103
|
+
return true;
|
|
104
|
+
};
|
|
105
|
+
module.exports = link;
|
|
@@ -1 +1,46 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var SCHEME_RE = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
|
|
3
|
+
var linkify = function linkify2(state, silent) {
|
|
4
|
+
var pos, max, match, proto, link, url, fullUrl, token;
|
|
5
|
+
if (!state.md.options.linkify)
|
|
6
|
+
return false;
|
|
7
|
+
if (state.linkLevel > 0)
|
|
8
|
+
return false;
|
|
9
|
+
pos = state.pos;
|
|
10
|
+
max = state.posMax;
|
|
11
|
+
if (pos + 3 > max)
|
|
12
|
+
return false;
|
|
13
|
+
if (state.src.charCodeAt(pos) !== 58)
|
|
14
|
+
return false;
|
|
15
|
+
if (state.src.charCodeAt(pos + 1) !== 47)
|
|
16
|
+
return false;
|
|
17
|
+
if (state.src.charCodeAt(pos + 2) !== 47)
|
|
18
|
+
return false;
|
|
19
|
+
match = state.pending.match(SCHEME_RE);
|
|
20
|
+
if (!match)
|
|
21
|
+
return false;
|
|
22
|
+
proto = match[1];
|
|
23
|
+
link = state.md.linkify.matchAtStart(state.src.slice(pos - proto.length));
|
|
24
|
+
if (!link)
|
|
25
|
+
return false;
|
|
26
|
+
url = link.url;
|
|
27
|
+
url = url.replace(/\*+$/, "");
|
|
28
|
+
fullUrl = state.md.normalizeLink(url);
|
|
29
|
+
if (!state.md.validateLink(fullUrl))
|
|
30
|
+
return false;
|
|
31
|
+
if (!silent) {
|
|
32
|
+
state.pending = state.pending.slice(0, -proto.length);
|
|
33
|
+
token = state.push("link_open", "a", 1);
|
|
34
|
+
token.attrs = [["href", fullUrl]];
|
|
35
|
+
token.markup = "linkify";
|
|
36
|
+
token.info = "auto";
|
|
37
|
+
token = state.push("text", "", 0);
|
|
38
|
+
token.content = state.md.normalizeLinkText(url);
|
|
39
|
+
token = state.push("link_close", "a", -1);
|
|
40
|
+
token.markup = "linkify";
|
|
41
|
+
token.info = "auto";
|
|
42
|
+
}
|
|
43
|
+
state.pos += url.length - proto.length;
|
|
44
|
+
return true;
|
|
45
|
+
};
|
|
46
|
+
module.exports = linkify;
|