@fangzhongya/vue-archive 0.0.2-7 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/_virtual/_commonjsHelpers.js +28 -26
- package/dist/es/_virtual/_plugin-vue_export-helper.js +7 -6
- package/dist/es/_virtual/emphasis.js +2 -2
- package/dist/es/_virtual/entities.js +7 -6
- package/dist/es/_virtual/html_re.js +2 -2
- package/dist/es/_virtual/index.js +7 -6
- package/dist/es/_virtual/index2.js +2 -2
- package/dist/es/_virtual/index3.js +2 -2
- package/dist/es/_virtual/index4.js +2 -2
- package/dist/es/_virtual/parser-html.js +7 -6
- package/dist/es/_virtual/parser-typescript.js +7 -6
- package/dist/es/_virtual/punycode.es6.js +4 -4
- package/dist/es/_virtual/standalone.js +7 -6
- package/dist/es/_virtual/strikethrough.js +2 -2
- package/dist/es/_virtual/utils.js +2 -2
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +3 -3
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +3 -3
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +16 -8
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +18 -12
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +40 -27
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +9 -6
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +8 -5
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XQB2HUHZ.js +14 -11
- package/dist/es/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +12 -7
- package/dist/es/node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +24 -24
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/index.js +6 -6
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/block-parser.js +21 -12
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/index.js +33 -29
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/source-parser.js +38 -17
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/spec-parser.js +11 -9
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/description.js +28 -17
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/name.js +69 -38
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/tag.js +19 -10
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/type.js +51 -26
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/primitives.js +8 -5
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/align.js +12 -1
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/crlf.js +12 -1
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/indent.js +12 -1
- package/dist/es/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/util.js +20 -20
- package/dist/es/node_modules/.pnpm/entities@3.0.1/node_modules/entities/lib/maps/entities.json.js +6373 -4251
- package/dist/es/node_modules/.pnpm/es-module-lexer@1.1.1/node_modules/es-module-lexer/dist/lexer.js +38 -40
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/common.js +3 -3
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/core.js +3 -3
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/common.js +79 -79
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/core.js +1157 -648
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/bash.js +75 -57
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/c.js +157 -137
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/cpp.js +118 -93
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/csharp.js +112 -92
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/css.js +92 -77
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/diff.js +13 -11
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/go.js +98 -92
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/graphql.js +20 -17
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ini.js +51 -39
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/java.js +132 -114
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/javascript.js +237 -192
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/json.js +26 -21
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/kotlin.js +98 -82
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/less.js +161 -134
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/lua.js +34 -29
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/makefile.js +33 -26
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/markdown.js +95 -77
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/objectivec.js +188 -179
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/perl.js +78 -61
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php-template.js +17 -15
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php.js +157 -121
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/plaintext.js +11 -9
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python-repl.js +10 -8
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python.js +191 -172
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/r.js +39 -33
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ruby.js +159 -131
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/rust.js +45 -37
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/scss.js +94 -79
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/shell.js +10 -8
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/sql.js +78 -49
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/swift.js +292 -219
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/typescript.js +284 -223
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/vbnet.js +51 -37
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/wasm.js +49 -39
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/xml.js +55 -45
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/yaml.js +66 -46
- package/dist/es/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/styles/stackoverflow-light.css.js +2 -2
- package/dist/es/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/index.js +304 -138
- package/dist/es/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/lib/re.js +49 -16
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/index.js +8 -8
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/entities.js +5 -5
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_blocks.js +2 -2
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_re.js +18 -5
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/utils.js +153 -77
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/index.js +8 -8
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_destination.js +61 -26
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_label.js +27 -13
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_title.js +37 -14
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/index.js +156 -83
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_block.js +69 -42
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_core.js +32 -28
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_inline.js +96 -66
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/commonmark.js +7 -7
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/default.js +7 -7
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/zero.js +7 -7
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/renderer.js +132 -64
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/ruler.js +122 -74
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/blockquote.js +147 -27
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/code.js +18 -12
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/fence.js +63 -11
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/heading.js +40 -9
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/hr.js +32 -11
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/html_block.js +56 -26
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/lheading.js +53 -18
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/list.js +196 -53
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/paragraph.js +32 -12
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/reference.js +142 -44
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/state_block.js +150 -60
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/table.js +174 -44
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/block.js +12 -4
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/inline.js +9 -5
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/linkify.js +90 -20
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/normalize.js +8 -5
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/replacements.js +53 -17
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/smartquotes.js +143 -50
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/state_core.js +11 -7
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/text_join.js +26 -10
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/autolink.js +57 -10
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/backticks.js +42 -16
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +59 -16
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/emphasis.js +64 -24
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/entity.js +45 -13
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/escape.js +51 -16
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/fragments_join.js +21 -6
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/html_inline.js +37 -13
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/image.js +107 -32
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/link.js +100 -26
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/linkify.js +44 -4
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/newline.js +32 -19
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/state_inline.js +91 -23
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/strikethrough.js +79 -25
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/text.js +18 -9
- package/dist/es/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/token.js +52 -21
- package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js +74 -32
- package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js +54 -29
- package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js +16 -4
- package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +10 -10
- package/dist/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js +158 -60
- package/dist/es/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-html.js +2375 -2274
- package/dist/es/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-typescript.js +23493 -23223
- package/dist/es/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/standalone.js +8281 -8174
- package/dist/es/node_modules/.pnpm/punycode@2.3.0/node_modules/punycode/punycode.es6.js +208 -107
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +9 -4
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +9 -4
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +2 -2
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +9 -4
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +18 -10
- package/dist/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +9 -4
- package/dist/es/packages/components/aside/index.vue.js +109 -75
- package/dist/es/packages/components/aside/index.vue2.js +2 -2
- package/dist/es/packages/components/boxurl/index.vue.js +55 -31
- package/dist/es/packages/components/boxurl/index.vue2.js +2 -2
- package/dist/es/packages/components/choice/choice.vue.js +43 -33
- package/dist/es/packages/components/choice/choice.vue2.js +2 -2
- package/dist/es/packages/components/choice/index.vue.js +69 -45
- package/dist/es/packages/components/choice/index.vue2.js +2 -2
- package/dist/es/packages/components/code/highlight.vue.js +11 -11
- package/dist/es/packages/components/code/highlight.vue2.js +4 -4
- package/dist/es/packages/components/code/index.vue.js +91 -70
- package/dist/es/packages/components/code/index.vue2.js +2 -2
- package/dist/es/packages/components/compo/ftable.vue.js +46 -30
- package/dist/es/packages/components/compo/ftable.vue2.js +2 -2
- package/dist/es/packages/components/compo/index.js +207 -135
- package/dist/es/packages/components/compo/index.vue.js +151 -119
- package/dist/es/packages/components/compo/index.vue2.js +2 -2
- package/dist/es/packages/components/compo/info.vue.js +43 -30
- package/dist/es/packages/components/compo/info.vue2.js +2 -2
- package/dist/es/packages/components/compo/top.js +114 -84
- package/dist/es/packages/components/header/index.vue.js +7 -7
- package/dist/es/packages/components/main/index.vue.js +59 -43
- package/dist/es/packages/components/main/index.vue2.js +2 -2
- package/dist/es/packages/components/md/index.vue.js +53 -42
- package/dist/es/packages/components/md/index.vue2.js +2 -2
- package/dist/es/packages/components/test/index.js +99 -70
- package/dist/es/packages/components/test/index.vue.js +91 -68
- package/dist/es/packages/components/test/index.vue2.js +2 -2
- package/dist/es/packages/components/test/top.js +128 -98
- package/dist/es/packages/components/use/index.js +109 -82
- package/dist/es/packages/components/use/retrie/any/index.vue.js +82 -61
- package/dist/es/packages/components/use/retrie/any/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/array/index.vue.js +54 -37
- package/dist/es/packages/components/use/retrie/array/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/boolean/index.vue.js +61 -40
- package/dist/es/packages/components/use/retrie/boolean/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/choice/index.vue.js +154 -92
- package/dist/es/packages/components/use/retrie/choice/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/choice/index.vue3.js +2 -2
- package/dist/es/packages/components/use/retrie/expose/index.vue.js +65 -44
- package/dist/es/packages/components/use/retrie/expose/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/form/index.vue.js +104 -93
- package/dist/es/packages/components/use/retrie/form/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/function/index.vue.js +60 -45
- package/dist/es/packages/components/use/retrie/function/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/index.vue.js +56 -43
- package/dist/es/packages/components/use/retrie/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/number/index.vue.js +41 -30
- package/dist/es/packages/components/use/retrie/number/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/object/index.vue.js +54 -37
- package/dist/es/packages/components/use/retrie/object/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/other/index.vue.js +54 -35
- package/dist/es/packages/components/use/retrie/other/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/select/index.vue.js +112 -75
- package/dist/es/packages/components/use/retrie/select/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/select/index.vue3.js +2 -2
- package/dist/es/packages/components/use/retrie/slot/index.vue.js +41 -30
- package/dist/es/packages/components/use/retrie/slot/index.vue2.js +2 -2
- package/dist/es/packages/components/use/retrie/string/index.vue.js +36 -24
- package/dist/es/packages/components/use/retrie/string/index.vue2.js +2 -2
- package/dist/es/packages/components/use/set-code.vue.js +148 -100
- package/dist/es/packages/components/use/set-code.vue2.js +2 -2
- package/dist/es/packages/components/use/set-emit.vue.js +46 -32
- package/dist/es/packages/components/use/set-emit.vue2.js +2 -2
- package/dist/es/packages/components/use/set-expose.vue.js +37 -28
- package/dist/es/packages/components/use/set-expose.vue2.js +2 -2
- package/dist/es/packages/components/use/set-props.vue.js +104 -64
- package/dist/es/packages/components/use/set-props.vue2.js +2 -2
- package/dist/es/packages/components/use/set-slot.vue.js +39 -31
- package/dist/es/packages/components/use/set-slot.vue2.js +2 -2
- package/dist/es/packages/components/use/util.js +156 -74
- package/dist/es/packages/config.d.ts +3 -3
- package/dist/es/packages/config.js +8 -8
- package/dist/es/packages/index/index.vue.js +10 -9
- package/dist/es/packages/index/index.vue2.js +2 -2
- package/dist/es/packages/index.js +9 -9
- package/dist/es/packages/page/compon/index.vue.js +2 -2
- package/dist/es/packages/page/compon/index.vue2.js +19 -16
- package/dist/es/packages/page/develop/index.vue.js +2 -2
- package/dist/es/packages/page/develop/index.vue2.js +19 -16
- package/dist/es/packages/page/index/index.vue.js +2 -2
- package/dist/es/packages/page/index/index.vue2.js +50 -36
- package/dist/es/packages/page/single/index.vue.js +2 -2
- package/dist/es/packages/page/single/index.vue2.js +75 -57
- package/dist/es/packages/page/tests/index.vue.js +2 -2
- package/dist/es/packages/page/tests/index.vue2.js +74 -46
- package/dist/es/packages/router/index.js +99 -62
- package/dist/es/packages/utils/common.js +138 -80
- package/dist/es/packages/utils/glob.js +480 -306
- package/dist/es/packages/utils/index.js +14 -13
- package/dist/es/packages/utils/props.js +171 -66
- package/dist/es/packages/utils/storage.js +27 -19
- package/dist/es/style.css +367 -2
- package/dist/lib/_virtual/_commonjsHelpers.js +38 -1
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -1
- package/dist/lib/_virtual/emphasis.js +4 -1
- package/dist/lib/_virtual/entities.js +12 -1
- package/dist/lib/_virtual/html_re.js +4 -1
- package/dist/lib/_virtual/index.js +12 -1
- package/dist/lib/_virtual/index2.js +4 -1
- package/dist/lib/_virtual/index3.js +4 -1
- package/dist/lib/_virtual/index4.js +4 -1
- package/dist/lib/_virtual/parser-html.js +12 -1
- package/dist/lib/_virtual/parser-typescript.js +12 -1
- package/dist/lib/_virtual/punycode.es6.js +5 -1
- package/dist/lib/_virtual/standalone.js +12 -1
- package/dist/lib/_virtual/strikethrough.js +4 -1
- package/dist/lib/_virtual/utils.js +4 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +6 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +6 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +20 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +23 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +44 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +12 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +11 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-XQB2HUHZ.js +21 -1
- package/dist/lib/node_modules/.pnpm/@fangzhongya_utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +16 -1
- package/dist/lib/node_modules/.pnpm/@highlightjs_vue-plugin@2.1.0_jsvakxz56e7tk77soxhxnrhzhm/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +34 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/index.js +15 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/block-parser.js +25 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/index.js +41 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/source-parser.js +44 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/spec-parser.js +15 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/description.js +35 -2
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/name.js +83 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/tag.js +22 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/parser/tokenizers/type.js +60 -2
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/primitives.js +9 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/align.js +14 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/crlf.js +13 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/transforms/indent.js +13 -1
- package/dist/lib/node_modules/.pnpm/comment-parser@1.3.1/node_modules/comment-parser/es6/util.js +28 -1
- package/dist/lib/node_modules/.pnpm/entities@3.0.1/node_modules/entities/lib/maps/entities.json.js +6376 -2
- package/dist/lib/node_modules/.pnpm/es-module-lexer@1.1.1/node_modules/es-module-lexer/dist/lexer.js +50 -3
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/common.js +5 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/es/core.js +5 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/common.js +80 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/core.js +1573 -2
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/bash.js +381 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/c.js +289 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/cpp.js +544 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/csharp.js +398 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/css.js +741 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/diff.js +63 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/go.js +144 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/graphql.js +80 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ini.js +126 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/java.js +263 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/javascript.js +691 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/json.js +49 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/kotlin.js +265 -2
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/less.js +822 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/lua.js +70 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/makefile.js +77 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/markdown.js +236 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/objectivec.js +253 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/perl.js +461 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php-template.js +56 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/php.js +586 -2
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/plaintext.js +22 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python-repl.js +35 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/python.js +423 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/r.js +220 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/ruby.js +423 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/rust.js +305 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/scss.js +726 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/shell.js +34 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/sql.js +648 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/swift.js +785 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/typescript.js +779 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/vbnet.js +143 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/wasm.js +131 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/xml.js +236 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/lib/languages/yaml.js +194 -1
- package/dist/lib/node_modules/.pnpm/highlight.js@11.7.0/node_modules/highlight.js/styles/stackoverflow-light.css.js +3 -1
- package/dist/lib/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/index.js +354 -1
- package/dist/lib/node_modules/.pnpm/linkify-it@4.0.1/node_modules/linkify-it/lib/re.js +54 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/index.js +9 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/entities.js +6 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_blocks.js +66 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/html_re.js +19 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/common/utils.js +226 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/index.js +9 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_destination.js +78 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_label.js +32 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/helpers/parse_link_title.js +45 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/index.js +181 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_block.js +79 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_core.js +38 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/parser_inline.js +112 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/commonmark.js +77 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/default.js +39 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/presets/zero.js +58 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/renderer.js +150 -13
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/ruler.js +143 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/blockquote.js +160 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/code.js +26 -2
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/fence.js +67 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/heading.js +43 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/hr.js +36 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/html_block.js +62 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/lheading.js +59 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/list.js +220 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/paragraph.js +36 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/reference.js +152 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/state_block.js +167 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_block/table.js +184 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/block.js +14 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/inline.js +11 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/linkify.js +100 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/normalize.js +10 -2
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/replacements.js +62 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/smartquotes.js +157 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/state_core.js +13 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_core/text_join.js +29 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/autolink.js +61 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/backticks.js +45 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +65 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/emphasis.js +82 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/entity.js +49 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/escape.js +56 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/fragments_join.js +23 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/html_inline.js +43 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/image.js +112 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/link.js +105 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/linkify.js +46 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/newline.js +35 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/state_inline.js +98 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/strikethrough.js +88 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/rules_inline/text.js +46 -1
- package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/token.js +61 -1
- package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js +84 -1
- package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js +64 -1
- package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js +18 -1
- package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +11 -1
- package/dist/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js +171 -2
- package/dist/lib/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-html.js +3149 -20
- package/dist/lib/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/parser-typescript.js +33275 -78
- package/dist/lib/node_modules/.pnpm/prettier@2.8.4/node_modules/prettier/standalone.js +11383 -88
- package/dist/lib/node_modules/.pnpm/punycode@2.3.0/node_modules/punycode/punycode.es6.js +240 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +12 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +12 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +3 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +12 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +21 -1
- package/dist/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +12 -1
- package/dist/lib/packages/components/aside/index.vue.js +133 -1
- package/dist/lib/packages/components/aside/index.vue2.js +3 -1
- package/dist/lib/packages/components/boxurl/index.vue.js +78 -1
- package/dist/lib/packages/components/boxurl/index.vue2.js +3 -1
- package/dist/lib/packages/components/choice/choice.vue.js +58 -1
- package/dist/lib/packages/components/choice/choice.vue2.js +3 -1
- package/dist/lib/packages/components/choice/index.vue.js +99 -1
- package/dist/lib/packages/components/choice/index.vue2.js +3 -1
- package/dist/lib/packages/components/code/highlight.vue.js +15 -1
- package/dist/lib/packages/components/code/highlight.vue2.js +17 -1
- package/dist/lib/packages/components/code/index.vue.js +131 -1
- package/dist/lib/packages/components/code/index.vue2.js +3 -1
- package/dist/lib/packages/components/compo/ftable.vue.js +77 -1
- package/dist/lib/packages/components/compo/ftable.vue2.js +3 -1
- package/dist/lib/packages/components/compo/index.js +290 -1
- package/dist/lib/packages/components/compo/index.vue.js +226 -1
- package/dist/lib/packages/components/compo/index.vue2.js +3 -1
- package/dist/lib/packages/components/compo/info.vue.js +56 -1
- package/dist/lib/packages/components/compo/info.vue2.js +3 -1
- package/dist/lib/packages/components/compo/top.js +151 -1
- package/dist/lib/packages/components/header/index.vue.js +9 -1
- package/dist/lib/packages/components/main/index.vue.js +71 -1
- package/dist/lib/packages/components/main/index.vue2.js +3 -1
- package/dist/lib/packages/components/md/index.vue.js +70 -1
- package/dist/lib/packages/components/md/index.vue2.js +3 -1
- package/dist/lib/packages/components/test/index.js +129 -1
- package/dist/lib/packages/components/test/index.vue.js +108 -1
- package/dist/lib/packages/components/test/index.vue2.js +3 -1
- package/dist/lib/packages/components/test/top.js +187 -1
- package/dist/lib/packages/components/use/index.js +202 -1
- package/dist/lib/packages/components/use/retrie/any/index.vue.js +153 -1
- package/dist/lib/packages/components/use/retrie/any/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/array/index.vue.js +79 -5
- package/dist/lib/packages/components/use/retrie/array/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/boolean/index.vue.js +90 -1
- package/dist/lib/packages/components/use/retrie/boolean/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/choice/index.vue.js +207 -3
- package/dist/lib/packages/components/use/retrie/choice/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/choice/index.vue3.js +4 -1
- package/dist/lib/packages/components/use/retrie/expose/index.vue.js +89 -1
- package/dist/lib/packages/components/use/retrie/expose/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/form/index.vue.js +159 -1
- package/dist/lib/packages/components/use/retrie/form/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/function/index.vue.js +94 -3
- package/dist/lib/packages/components/use/retrie/function/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/index.vue.js +112 -1
- package/dist/lib/packages/components/use/retrie/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/number/index.vue.js +58 -1
- package/dist/lib/packages/components/use/retrie/number/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/object/index.vue.js +79 -5
- package/dist/lib/packages/components/use/retrie/object/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/other/index.vue.js +93 -3
- package/dist/lib/packages/components/use/retrie/other/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/select/index.vue.js +160 -1
- package/dist/lib/packages/components/use/retrie/select/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/select/index.vue3.js +4 -1
- package/dist/lib/packages/components/use/retrie/slot/index.vue.js +57 -1
- package/dist/lib/packages/components/use/retrie/slot/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/retrie/string/index.vue.js +62 -1
- package/dist/lib/packages/components/use/retrie/string/index.vue2.js +3 -1
- package/dist/lib/packages/components/use/set-code.vue.js +182 -12
- package/dist/lib/packages/components/use/set-code.vue2.js +3 -1
- package/dist/lib/packages/components/use/set-emit.vue.js +63 -1
- package/dist/lib/packages/components/use/set-emit.vue2.js +3 -1
- package/dist/lib/packages/components/use/set-expose.vue.js +52 -1
- package/dist/lib/packages/components/use/set-expose.vue2.js +3 -1
- package/dist/lib/packages/components/use/set-props.vue.js +131 -1
- package/dist/lib/packages/components/use/set-props.vue2.js +3 -1
- package/dist/lib/packages/components/use/set-slot.vue.js +52 -1
- package/dist/lib/packages/components/use/set-slot.vue2.js +3 -1
- package/dist/lib/packages/components/use/util.js +181 -4
- package/dist/lib/packages/config.d.ts +3 -3
- package/dist/lib/packages/config.js +14 -1
- package/dist/lib/packages/index/index.vue.js +14 -1
- package/dist/lib/packages/index/index.vue2.js +3 -1
- package/dist/lib/packages/index.js +14 -1
- package/dist/lib/packages/page/compon/index.vue.js +3 -1
- package/dist/lib/packages/page/compon/index.vue2.js +23 -1
- package/dist/lib/packages/page/develop/index.vue.js +3 -1
- package/dist/lib/packages/page/develop/index.vue2.js +23 -1
- package/dist/lib/packages/page/index/index.vue.js +3 -1
- package/dist/lib/packages/page/index/index.vue2.js +62 -1
- package/dist/lib/packages/page/single/index.vue.js +3 -1
- package/dist/lib/packages/page/single/index.vue2.js +86 -1
- package/dist/lib/packages/page/tests/index.vue.js +3 -1
- package/dist/lib/packages/page/tests/index.vue2.js +94 -1
- package/dist/lib/packages/router/index.js +173 -1
- package/dist/lib/packages/utils/common.js +166 -1
- package/dist/lib/packages/utils/glob.js +561 -2
- package/dist/lib/packages/utils/index.js +19 -1
- package/dist/lib/packages/utils/props.js +197 -1
- package/dist/lib/packages/utils/storage.js +42 -1
- package/package.json +9 -10
package/dist/lib/node_modules/.pnpm/markdown-it@13.0.1/node_modules/markdown-it/lib/ruler.js
CHANGED
|
@@ -1 +1,143 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
function Ruler() {
|
|
3
|
+
this.__rules__ = [];
|
|
4
|
+
this.__cache__ = null;
|
|
5
|
+
}
|
|
6
|
+
Ruler.prototype.__find__ = function(name) {
|
|
7
|
+
for (var i = 0; i < this.__rules__.length; i++) {
|
|
8
|
+
if (this.__rules__[i].name === name) {
|
|
9
|
+
return i;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
return -1;
|
|
13
|
+
};
|
|
14
|
+
Ruler.prototype.__compile__ = function() {
|
|
15
|
+
var self = this;
|
|
16
|
+
var chains = [""];
|
|
17
|
+
self.__rules__.forEach(function(rule) {
|
|
18
|
+
if (!rule.enabled) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
rule.alt.forEach(function(altName) {
|
|
22
|
+
if (chains.indexOf(altName) < 0) {
|
|
23
|
+
chains.push(altName);
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
self.__cache__ = {};
|
|
28
|
+
chains.forEach(function(chain) {
|
|
29
|
+
self.__cache__[chain] = [];
|
|
30
|
+
self.__rules__.forEach(function(rule) {
|
|
31
|
+
if (!rule.enabled) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
if (chain && rule.alt.indexOf(chain) < 0) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
self.__cache__[chain].push(rule.fn);
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
Ruler.prototype.at = function(name, fn, options) {
|
|
42
|
+
var index = this.__find__(name);
|
|
43
|
+
var opt = options || {};
|
|
44
|
+
if (index === -1) {
|
|
45
|
+
throw new Error("Parser rule not found: " + name);
|
|
46
|
+
}
|
|
47
|
+
this.__rules__[index].fn = fn;
|
|
48
|
+
this.__rules__[index].alt = opt.alt || [];
|
|
49
|
+
this.__cache__ = null;
|
|
50
|
+
};
|
|
51
|
+
Ruler.prototype.before = function(beforeName, ruleName, fn, options) {
|
|
52
|
+
var index = this.__find__(beforeName);
|
|
53
|
+
var opt = options || {};
|
|
54
|
+
if (index === -1) {
|
|
55
|
+
throw new Error("Parser rule not found: " + beforeName);
|
|
56
|
+
}
|
|
57
|
+
this.__rules__.splice(index, 0, {
|
|
58
|
+
name: ruleName,
|
|
59
|
+
enabled: true,
|
|
60
|
+
fn,
|
|
61
|
+
alt: opt.alt || []
|
|
62
|
+
});
|
|
63
|
+
this.__cache__ = null;
|
|
64
|
+
};
|
|
65
|
+
Ruler.prototype.after = function(afterName, ruleName, fn, options) {
|
|
66
|
+
var index = this.__find__(afterName);
|
|
67
|
+
var opt = options || {};
|
|
68
|
+
if (index === -1) {
|
|
69
|
+
throw new Error("Parser rule not found: " + afterName);
|
|
70
|
+
}
|
|
71
|
+
this.__rules__.splice(index + 1, 0, {
|
|
72
|
+
name: ruleName,
|
|
73
|
+
enabled: true,
|
|
74
|
+
fn,
|
|
75
|
+
alt: opt.alt || []
|
|
76
|
+
});
|
|
77
|
+
this.__cache__ = null;
|
|
78
|
+
};
|
|
79
|
+
Ruler.prototype.push = function(ruleName, fn, options) {
|
|
80
|
+
var opt = options || {};
|
|
81
|
+
this.__rules__.push({
|
|
82
|
+
name: ruleName,
|
|
83
|
+
enabled: true,
|
|
84
|
+
fn,
|
|
85
|
+
alt: opt.alt || []
|
|
86
|
+
});
|
|
87
|
+
this.__cache__ = null;
|
|
88
|
+
};
|
|
89
|
+
Ruler.prototype.enable = function(list, ignoreInvalid) {
|
|
90
|
+
if (!Array.isArray(list)) {
|
|
91
|
+
list = [list];
|
|
92
|
+
}
|
|
93
|
+
var result = [];
|
|
94
|
+
list.forEach(function(name) {
|
|
95
|
+
var idx = this.__find__(name);
|
|
96
|
+
if (idx < 0) {
|
|
97
|
+
if (ignoreInvalid) {
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
throw new Error("Rules manager: invalid rule name " + name);
|
|
101
|
+
}
|
|
102
|
+
this.__rules__[idx].enabled = true;
|
|
103
|
+
result.push(name);
|
|
104
|
+
}, this);
|
|
105
|
+
this.__cache__ = null;
|
|
106
|
+
return result;
|
|
107
|
+
};
|
|
108
|
+
Ruler.prototype.enableOnly = function(list, ignoreInvalid) {
|
|
109
|
+
if (!Array.isArray(list)) {
|
|
110
|
+
list = [list];
|
|
111
|
+
}
|
|
112
|
+
this.__rules__.forEach(function(rule) {
|
|
113
|
+
rule.enabled = false;
|
|
114
|
+
});
|
|
115
|
+
this.enable(list, ignoreInvalid);
|
|
116
|
+
};
|
|
117
|
+
Ruler.prototype.disable = function(list, ignoreInvalid) {
|
|
118
|
+
if (!Array.isArray(list)) {
|
|
119
|
+
list = [list];
|
|
120
|
+
}
|
|
121
|
+
var result = [];
|
|
122
|
+
list.forEach(function(name) {
|
|
123
|
+
var idx = this.__find__(name);
|
|
124
|
+
if (idx < 0) {
|
|
125
|
+
if (ignoreInvalid) {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
throw new Error("Rules manager: invalid rule name " + name);
|
|
129
|
+
}
|
|
130
|
+
this.__rules__[idx].enabled = false;
|
|
131
|
+
result.push(name);
|
|
132
|
+
}, this);
|
|
133
|
+
this.__cache__ = null;
|
|
134
|
+
return result;
|
|
135
|
+
};
|
|
136
|
+
Ruler.prototype.getRules = function(chainName) {
|
|
137
|
+
if (this.__cache__ === null) {
|
|
138
|
+
this.__compile__();
|
|
139
|
+
}
|
|
140
|
+
return this.__cache__[chainName] || [];
|
|
141
|
+
};
|
|
142
|
+
var ruler = Ruler;
|
|
143
|
+
module.exports = ruler;
|
|
@@ -1 +1,160 @@
|
|
|
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 blockquote = function blockquote2(state, startLine, endLine, silent) {
|
|
6
|
+
var adjustTab, ch, i, initial, l, lastLineEmpty, lines, nextLine, offset, oldBMarks, oldBSCount, oldIndent, oldParentType, oldSCount, oldTShift, spaceAfterMarker, terminate, terminatorRules, token, isOutdented, oldLineMax = state.lineMax, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
|
|
7
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
if (state.src.charCodeAt(pos++) !== 62) {
|
|
11
|
+
return false;
|
|
12
|
+
}
|
|
13
|
+
if (silent) {
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
initial = offset = state.sCount[startLine] + 1;
|
|
17
|
+
if (state.src.charCodeAt(pos) === 32) {
|
|
18
|
+
pos++;
|
|
19
|
+
initial++;
|
|
20
|
+
offset++;
|
|
21
|
+
adjustTab = false;
|
|
22
|
+
spaceAfterMarker = true;
|
|
23
|
+
} else if (state.src.charCodeAt(pos) === 9) {
|
|
24
|
+
spaceAfterMarker = true;
|
|
25
|
+
if ((state.bsCount[startLine] + offset) % 4 === 3) {
|
|
26
|
+
pos++;
|
|
27
|
+
initial++;
|
|
28
|
+
offset++;
|
|
29
|
+
adjustTab = false;
|
|
30
|
+
} else {
|
|
31
|
+
adjustTab = true;
|
|
32
|
+
}
|
|
33
|
+
} else {
|
|
34
|
+
spaceAfterMarker = false;
|
|
35
|
+
}
|
|
36
|
+
oldBMarks = [state.bMarks[startLine]];
|
|
37
|
+
state.bMarks[startLine] = pos;
|
|
38
|
+
while (pos < max) {
|
|
39
|
+
ch = state.src.charCodeAt(pos);
|
|
40
|
+
if (isSpace(ch)) {
|
|
41
|
+
if (ch === 9) {
|
|
42
|
+
offset += 4 - (offset + state.bsCount[startLine] + (adjustTab ? 1 : 0)) % 4;
|
|
43
|
+
} else {
|
|
44
|
+
offset++;
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
pos++;
|
|
50
|
+
}
|
|
51
|
+
oldBSCount = [state.bsCount[startLine]];
|
|
52
|
+
state.bsCount[startLine] = state.sCount[startLine] + 1 + (spaceAfterMarker ? 1 : 0);
|
|
53
|
+
lastLineEmpty = pos >= max;
|
|
54
|
+
oldSCount = [state.sCount[startLine]];
|
|
55
|
+
state.sCount[startLine] = offset - initial;
|
|
56
|
+
oldTShift = [state.tShift[startLine]];
|
|
57
|
+
state.tShift[startLine] = pos - state.bMarks[startLine];
|
|
58
|
+
terminatorRules = state.md.block.ruler.getRules("blockquote");
|
|
59
|
+
oldParentType = state.parentType;
|
|
60
|
+
state.parentType = "blockquote";
|
|
61
|
+
for (nextLine = startLine + 1; nextLine < endLine; nextLine++) {
|
|
62
|
+
isOutdented = state.sCount[nextLine] < state.blkIndent;
|
|
63
|
+
pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
64
|
+
max = state.eMarks[nextLine];
|
|
65
|
+
if (pos >= max) {
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
if (state.src.charCodeAt(pos++) === 62 && !isOutdented) {
|
|
69
|
+
initial = offset = state.sCount[nextLine] + 1;
|
|
70
|
+
if (state.src.charCodeAt(pos) === 32) {
|
|
71
|
+
pos++;
|
|
72
|
+
initial++;
|
|
73
|
+
offset++;
|
|
74
|
+
adjustTab = false;
|
|
75
|
+
spaceAfterMarker = true;
|
|
76
|
+
} else if (state.src.charCodeAt(pos) === 9) {
|
|
77
|
+
spaceAfterMarker = true;
|
|
78
|
+
if ((state.bsCount[nextLine] + offset) % 4 === 3) {
|
|
79
|
+
pos++;
|
|
80
|
+
initial++;
|
|
81
|
+
offset++;
|
|
82
|
+
adjustTab = false;
|
|
83
|
+
} else {
|
|
84
|
+
adjustTab = true;
|
|
85
|
+
}
|
|
86
|
+
} else {
|
|
87
|
+
spaceAfterMarker = false;
|
|
88
|
+
}
|
|
89
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
90
|
+
state.bMarks[nextLine] = pos;
|
|
91
|
+
while (pos < max) {
|
|
92
|
+
ch = state.src.charCodeAt(pos);
|
|
93
|
+
if (isSpace(ch)) {
|
|
94
|
+
if (ch === 9) {
|
|
95
|
+
offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4;
|
|
96
|
+
} else {
|
|
97
|
+
offset++;
|
|
98
|
+
}
|
|
99
|
+
} else {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
pos++;
|
|
103
|
+
}
|
|
104
|
+
lastLineEmpty = pos >= max;
|
|
105
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
106
|
+
state.bsCount[nextLine] = state.sCount[nextLine] + 1 + (spaceAfterMarker ? 1 : 0);
|
|
107
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
108
|
+
state.sCount[nextLine] = offset - initial;
|
|
109
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
110
|
+
state.tShift[nextLine] = pos - state.bMarks[nextLine];
|
|
111
|
+
continue;
|
|
112
|
+
}
|
|
113
|
+
if (lastLineEmpty) {
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
terminate = false;
|
|
117
|
+
for (i = 0, l = terminatorRules.length; i < l; i++) {
|
|
118
|
+
if (terminatorRules[i](state, nextLine, endLine, true)) {
|
|
119
|
+
terminate = true;
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
if (terminate) {
|
|
124
|
+
state.lineMax = nextLine;
|
|
125
|
+
if (state.blkIndent !== 0) {
|
|
126
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
127
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
128
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
129
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
130
|
+
state.sCount[nextLine] -= state.blkIndent;
|
|
131
|
+
}
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
135
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
136
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
137
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
138
|
+
state.sCount[nextLine] = -1;
|
|
139
|
+
}
|
|
140
|
+
oldIndent = state.blkIndent;
|
|
141
|
+
state.blkIndent = 0;
|
|
142
|
+
token = state.push("blockquote_open", "blockquote", 1);
|
|
143
|
+
token.markup = ">";
|
|
144
|
+
token.map = lines = [startLine, 0];
|
|
145
|
+
state.md.block.tokenize(state, startLine, nextLine);
|
|
146
|
+
token = state.push("blockquote_close", "blockquote", -1);
|
|
147
|
+
token.markup = ">";
|
|
148
|
+
state.lineMax = oldLineMax;
|
|
149
|
+
state.parentType = oldParentType;
|
|
150
|
+
lines[1] = state.line;
|
|
151
|
+
for (i = 0; i < oldTShift.length; i++) {
|
|
152
|
+
state.bMarks[i + startLine] = oldBMarks[i];
|
|
153
|
+
state.tShift[i + startLine] = oldTShift[i];
|
|
154
|
+
state.sCount[i + startLine] = oldSCount[i];
|
|
155
|
+
state.bsCount[i + startLine] = oldBSCount[i];
|
|
156
|
+
}
|
|
157
|
+
state.blkIndent = oldIndent;
|
|
158
|
+
return true;
|
|
159
|
+
};
|
|
160
|
+
module.exports = blockquote;
|
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var code = function code2(state, startLine, endLine) {
|
|
3
|
+
var nextLine, last, token;
|
|
4
|
+
if (state.sCount[startLine] - state.blkIndent < 4) {
|
|
5
|
+
return false;
|
|
6
|
+
}
|
|
7
|
+
last = nextLine = startLine + 1;
|
|
8
|
+
while (nextLine < endLine) {
|
|
9
|
+
if (state.isEmpty(nextLine)) {
|
|
10
|
+
nextLine++;
|
|
11
|
+
continue;
|
|
12
|
+
}
|
|
13
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) {
|
|
14
|
+
nextLine++;
|
|
15
|
+
last = nextLine;
|
|
16
|
+
continue;
|
|
17
|
+
}
|
|
18
|
+
break;
|
|
19
|
+
}
|
|
20
|
+
state.line = last;
|
|
21
|
+
token = state.push("code_block", "code", 0);
|
|
22
|
+
token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + "\n";
|
|
23
|
+
token.map = [startLine, state.line];
|
|
24
|
+
return true;
|
|
25
|
+
};
|
|
26
|
+
module.exports = code;
|
|
@@ -1 +1,67 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var fence = function fence2(state, startLine, endLine, silent) {
|
|
3
|
+
var marker, len, params, nextLine, mem, token, markup, haveEndMarker = false, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
|
|
4
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
5
|
+
return false;
|
|
6
|
+
}
|
|
7
|
+
if (pos + 3 > max) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
marker = state.src.charCodeAt(pos);
|
|
11
|
+
if (marker !== 126 && marker !== 96) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
mem = pos;
|
|
15
|
+
pos = state.skipChars(pos, marker);
|
|
16
|
+
len = pos - mem;
|
|
17
|
+
if (len < 3) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
markup = state.src.slice(mem, pos);
|
|
21
|
+
params = state.src.slice(pos, max);
|
|
22
|
+
if (marker === 96) {
|
|
23
|
+
if (params.indexOf(String.fromCharCode(marker)) >= 0) {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
if (silent) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
nextLine = startLine;
|
|
31
|
+
for (; ; ) {
|
|
32
|
+
nextLine++;
|
|
33
|
+
if (nextLine >= endLine) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
pos = mem = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
37
|
+
max = state.eMarks[nextLine];
|
|
38
|
+
if (pos < max && state.sCount[nextLine] < state.blkIndent) {
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
if (state.src.charCodeAt(pos) !== marker) {
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) {
|
|
45
|
+
continue;
|
|
46
|
+
}
|
|
47
|
+
pos = state.skipChars(pos, marker);
|
|
48
|
+
if (pos - mem < len) {
|
|
49
|
+
continue;
|
|
50
|
+
}
|
|
51
|
+
pos = state.skipSpaces(pos);
|
|
52
|
+
if (pos < max) {
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
haveEndMarker = true;
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
len = state.sCount[startLine];
|
|
59
|
+
state.line = nextLine + (haveEndMarker ? 1 : 0);
|
|
60
|
+
token = state.push("fence", "code", 0);
|
|
61
|
+
token.info = params;
|
|
62
|
+
token.content = state.getLines(startLine + 1, nextLine, len, true);
|
|
63
|
+
token.markup = markup;
|
|
64
|
+
token.map = [startLine, state.line];
|
|
65
|
+
return true;
|
|
66
|
+
};
|
|
67
|
+
module.exports = fence;
|
|
@@ -1 +1,43 @@
|
|
|
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 heading = function heading2(state, startLine, endLine, silent) {
|
|
6
|
+
var ch, level, tmp, token, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
|
|
7
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
ch = state.src.charCodeAt(pos);
|
|
11
|
+
if (ch !== 35 || pos >= max) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
level = 1;
|
|
15
|
+
ch = state.src.charCodeAt(++pos);
|
|
16
|
+
while (ch === 35 && pos < max && level <= 6) {
|
|
17
|
+
level++;
|
|
18
|
+
ch = state.src.charCodeAt(++pos);
|
|
19
|
+
}
|
|
20
|
+
if (level > 6 || pos < max && !isSpace(ch)) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
if (silent) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
max = state.skipSpacesBack(max, pos);
|
|
27
|
+
tmp = state.skipCharsBack(max, 35, pos);
|
|
28
|
+
if (tmp > pos && isSpace(state.src.charCodeAt(tmp - 1))) {
|
|
29
|
+
max = tmp;
|
|
30
|
+
}
|
|
31
|
+
state.line = startLine + 1;
|
|
32
|
+
token = state.push("heading_open", "h" + String(level), 1);
|
|
33
|
+
token.markup = "########".slice(0, level);
|
|
34
|
+
token.map = [startLine, state.line];
|
|
35
|
+
token = state.push("inline", "", 0);
|
|
36
|
+
token.content = state.src.slice(pos, max).trim();
|
|
37
|
+
token.map = [startLine, state.line];
|
|
38
|
+
token.children = [];
|
|
39
|
+
token = state.push("heading_close", "h" + String(level), -1);
|
|
40
|
+
token.markup = "########".slice(0, level);
|
|
41
|
+
return true;
|
|
42
|
+
};
|
|
43
|
+
module.exports = heading;
|
|
@@ -1 +1,36 @@
|
|
|
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 hr = function hr2(state, startLine, endLine, silent) {
|
|
6
|
+
var marker, cnt, ch, token, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
|
|
7
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
marker = state.src.charCodeAt(pos++);
|
|
11
|
+
if (marker !== 42 && marker !== 45 && marker !== 95) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
cnt = 1;
|
|
15
|
+
while (pos < max) {
|
|
16
|
+
ch = state.src.charCodeAt(pos++);
|
|
17
|
+
if (ch !== marker && !isSpace(ch)) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
if (ch === marker) {
|
|
21
|
+
cnt++;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
if (cnt < 3) {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
if (silent) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
state.line = startLine + 1;
|
|
31
|
+
token = state.push("hr", "hr", 0);
|
|
32
|
+
token.map = [startLine, state.line];
|
|
33
|
+
token.markup = Array(cnt + 1).join(String.fromCharCode(marker));
|
|
34
|
+
return true;
|
|
35
|
+
};
|
|
36
|
+
module.exports = hr;
|
|
@@ -1 +1,62 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
const html_blocks = require("../common/html_blocks.js");
|
|
3
|
+
require("../common/html_re.js");
|
|
4
|
+
const html_re = require("../../../../../../../_virtual/html_re.js");
|
|
5
|
+
var block_names = html_blocks;
|
|
6
|
+
var HTML_OPEN_CLOSE_TAG_RE = html_re.__exports.HTML_OPEN_CLOSE_TAG_RE;
|
|
7
|
+
var HTML_SEQUENCES = [
|
|
8
|
+
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, true],
|
|
9
|
+
[/^<!--/, /-->/, true],
|
|
10
|
+
[/^<\?/, /\?>/, true],
|
|
11
|
+
[/^<![A-Z]/, />/, true],
|
|
12
|
+
[/^<!\[CDATA\[/, /\]\]>/, true],
|
|
13
|
+
[new RegExp("^</?(" + block_names.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, true],
|
|
14
|
+
[new RegExp(HTML_OPEN_CLOSE_TAG_RE.source + "\\s*$"), /^$/, false]
|
|
15
|
+
];
|
|
16
|
+
var html_block = function html_block2(state, startLine, endLine, silent) {
|
|
17
|
+
var i, nextLine, token, lineText, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
|
|
18
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
if (!state.md.options.html) {
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
if (state.src.charCodeAt(pos) !== 60) {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
lineText = state.src.slice(pos, max);
|
|
28
|
+
for (i = 0; i < HTML_SEQUENCES.length; i++) {
|
|
29
|
+
if (HTML_SEQUENCES[i][0].test(lineText)) {
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
if (i === HTML_SEQUENCES.length) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
if (silent) {
|
|
37
|
+
return HTML_SEQUENCES[i][2];
|
|
38
|
+
}
|
|
39
|
+
nextLine = startLine + 1;
|
|
40
|
+
if (!HTML_SEQUENCES[i][1].test(lineText)) {
|
|
41
|
+
for (; nextLine < endLine; nextLine++) {
|
|
42
|
+
if (state.sCount[nextLine] < state.blkIndent) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
46
|
+
max = state.eMarks[nextLine];
|
|
47
|
+
lineText = state.src.slice(pos, max);
|
|
48
|
+
if (HTML_SEQUENCES[i][1].test(lineText)) {
|
|
49
|
+
if (lineText.length !== 0) {
|
|
50
|
+
nextLine++;
|
|
51
|
+
}
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
state.line = nextLine;
|
|
57
|
+
token = state.push("html_block", "", 0);
|
|
58
|
+
token.map = [startLine, nextLine];
|
|
59
|
+
token.content = state.getLines(startLine, nextLine, state.blkIndent, true);
|
|
60
|
+
return true;
|
|
61
|
+
};
|
|
62
|
+
module.exports = html_block;
|
|
@@ -1 +1,59 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var lheading = function lheading2(state, startLine, endLine) {
|
|
3
|
+
var content, terminate, i, l, token, pos, max, level, marker, nextLine = startLine + 1, oldParentType, terminatorRules = state.md.block.ruler.getRules("paragraph");
|
|
4
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
5
|
+
return false;
|
|
6
|
+
}
|
|
7
|
+
oldParentType = state.parentType;
|
|
8
|
+
state.parentType = "paragraph";
|
|
9
|
+
for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {
|
|
10
|
+
if (state.sCount[nextLine] - state.blkIndent > 3) {
|
|
11
|
+
continue;
|
|
12
|
+
}
|
|
13
|
+
if (state.sCount[nextLine] >= state.blkIndent) {
|
|
14
|
+
pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
15
|
+
max = state.eMarks[nextLine];
|
|
16
|
+
if (pos < max) {
|
|
17
|
+
marker = state.src.charCodeAt(pos);
|
|
18
|
+
if (marker === 45 || marker === 61) {
|
|
19
|
+
pos = state.skipChars(pos, marker);
|
|
20
|
+
pos = state.skipSpaces(pos);
|
|
21
|
+
if (pos >= max) {
|
|
22
|
+
level = marker === 61 ? 1 : 2;
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
if (state.sCount[nextLine] < 0) {
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
31
|
+
terminate = false;
|
|
32
|
+
for (i = 0, l = terminatorRules.length; i < l; i++) {
|
|
33
|
+
if (terminatorRules[i](state, nextLine, endLine, true)) {
|
|
34
|
+
terminate = true;
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
if (terminate) {
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
if (!level) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
content = state.getLines(startLine, nextLine, state.blkIndent, false).trim();
|
|
46
|
+
state.line = nextLine + 1;
|
|
47
|
+
token = state.push("heading_open", "h" + String(level), 1);
|
|
48
|
+
token.markup = String.fromCharCode(marker);
|
|
49
|
+
token.map = [startLine, state.line];
|
|
50
|
+
token = state.push("inline", "", 0);
|
|
51
|
+
token.content = content;
|
|
52
|
+
token.map = [startLine, state.line - 1];
|
|
53
|
+
token.children = [];
|
|
54
|
+
token = state.push("heading_close", "h" + String(level), -1);
|
|
55
|
+
token.markup = String.fromCharCode(marker);
|
|
56
|
+
state.parentType = oldParentType;
|
|
57
|
+
return true;
|
|
58
|
+
};
|
|
59
|
+
module.exports = lheading;
|