@touchvue/chat 1.0.0-beta.1
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/README.md +70 -0
- package/es/_virtual/_commonjsHelpers.mjs +6 -0
- package/es/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs.map +1 -0
- package/es/_virtual/emphasis.mjs +4 -0
- package/es/_virtual/emphasis.mjs.map +1 -0
- package/es/_virtual/html_re.mjs +4 -0
- package/es/_virtual/html_re.mjs.map +1 -0
- package/es/_virtual/index.mjs +4 -0
- package/es/_virtual/index.mjs.map +1 -0
- package/es/_virtual/index2.mjs +4 -0
- package/es/_virtual/index2.mjs.map +1 -0
- package/es/_virtual/index3.mjs +4 -0
- package/es/_virtual/index3.mjs.map +1 -0
- package/es/_virtual/strikethrough.mjs +4 -0
- package/es/_virtual/strikethrough.mjs.map +1 -0
- package/es/_virtual/utils.mjs +4 -0
- package/es/_virtual/utils.mjs.map +1 -0
- package/es/assets/Avatar-AI-8c9ec26060b39bf7.png +0 -0
- package/es/assets/bgimage-ef345ea032b1fc13.png +0 -0
- package/es/assets/icon-ac4086674fbfd358.png +0 -0
- package/es/assets/link-45d328ddcc34e562.png +0 -0
- package/es/index.d.ts +9 -0
- package/es/index.mjs +30 -0
- package/es/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs +4253 -0
- package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.mjs +2524 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.mjs +120 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.mjs +201 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.mjs +176 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.mjs +508 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.mjs +316 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.mjs +471 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.mjs +448 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.mjs +615 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.mjs +278 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.mjs +206 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.mjs +133 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.mjs +93 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.mjs +206 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.mjs +166 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.mjs +93 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.mjs +81 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.mjs +181 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.mjs +331 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.mjs +180 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.mjs +359 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.mjs +180 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.mjs +188 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.mjs +70 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.mjs +57 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.mjs +423 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.mjs +291 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.mjs +118 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.mjs +89 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.mjs +113 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.mjs +128 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.mjs +522 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.mjs +211 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.mjs +338 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.mjs +109 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.mjs +453 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.mjs +238 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.mjs +394 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.mjs +153 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.mjs +140 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.mjs +147 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.mjs +214 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.mjs +37 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.mjs +706 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.mjs +880 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.mjs +704 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.mjs +31 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.mjs +116 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.mjs.map +1 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.mjs +638 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs +196 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +146 -0
- package/es/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +142 -0
- package/es/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +206 -0
- package/es/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.mjs +24 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.mjs +1909 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.mjs +45 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.mjs +18 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.mjs +61 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.mjs +6 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.mjs +88 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +355 -0
- package/es/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +126 -0
- package/es/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +126 -0
- package/es/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +63 -0
- package/es/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +63 -0
- package/es/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs +9 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs +7 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.mjs +67 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs +29 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs +324 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs +11 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +83 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +44 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +56 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.mjs +596 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs +138 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs +69 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs +197 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.mjs +78 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.mjs +39 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.mjs +59 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.mjs +346 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.mjs +354 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.mjs +286 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.mjs +32 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.mjs +96 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs +57 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs +47 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs +76 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.mjs +81 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.mjs +366 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs +50 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs +197 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.mjs +234 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs +223 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.mjs +16 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.mjs +14 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs +132 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.mjs +19 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.mjs +97 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +202 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.mjs +21 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs +74 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.mjs +61 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +128 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +130 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs +51 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.mjs +54 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +48 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.mjs +154 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.mjs +150 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.mjs +48 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +156 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +130 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs +56 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs +33 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.mjs +199 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.mjs +121 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.mjs +97 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.mjs +24 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs +13 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.mjs +292 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.mjs.map +1 -0
- package/es/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.mjs +136 -0
- package/es/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs +4 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs +23 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
- package/es/package.json.css +1 -0
- package/es/package.json.mjs +101 -0
- package/es/package.json.mjs.map +1 -0
- package/es/packages/components/index.mjs +3 -0
- package/es/packages/components/index.mjs.map +1 -0
- package/es/packages/components/package.json.mjs +36 -0
- package/es/packages/components/package.json.mjs.map +1 -0
- package/es/packages/components/resolver.mjs +31 -0
- package/es/packages/components/resolver.mjs.map +1 -0
- package/es/packages/components/touchchat/component/CardView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/CardView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/CardView.vue2.mjs +135 -0
- package/es/packages/components/touchchat/component/CardView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/FileView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/FileView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/FileView.vue2.mjs +62 -0
- package/es/packages/components/touchchat/component/FileView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/HelloChat.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/HelloChat.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/HelloChat.vue2.mjs +58 -0
- package/es/packages/components/touchchat/component/HelloChat.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ImageView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/ImageView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ImageView.vue2.mjs +31 -0
- package/es/packages/components/touchchat/component/ImageView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/LinkView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/LinkView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs +75 -0
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/img/AI.png.mjs +4 -0
- package/es/packages/components/touchchat/img/AI.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/asir.png.mjs +4 -0
- package/es/packages/components/touchchat/img/asir.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/bgimage.png.mjs +4 -0
- package/es/packages/components/touchchat/img/bgimage.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/link.png.mjs +4 -0
- package/es/packages/components/touchchat/img/link.png.mjs.map +1 -0
- package/es/packages/components/touchchat/index.mjs +9 -0
- package/es/packages/components/touchchat/index.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs +342 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs +182 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs +450 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs +105 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs +267 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs +843 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs +212 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs +133 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.mjs +632 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue2.mjs +263 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue2.mjs +197 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue2.mjs +67 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue2.mjs +48 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.mjs +267 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue2.mjs +89 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue2.mjs +64 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.mjs +36 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue2.mjs +36 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.mjs +4 -0
- package/es/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/img/icon.png.mjs +4 -0
- package/es/packages/components/touchchat/src/AiRobot/img/icon.png.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue2.mjs +81 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/index.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/index.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/index.vue2.mjs +147 -0
- package/es/packages/components/touchchat/src/index.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/chatRobot.mjs +111 -0
- package/es/packages/components/touchchat/utils/chatRobot.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/deepCloneDom.mjs +59 -0
- package/es/packages/components/touchchat/utils/deepCloneDom.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/fetchStream.mjs +103 -0
- package/es/packages/components/touchchat/utils/fetchStream.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/hight-it.mjs +114 -0
- package/es/packages/components/touchchat/utils/hight-it.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/markdown.mjs +42 -0
- package/es/packages/components/touchchat/utils/markdown.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/socket.mjs +196 -0
- package/es/packages/components/touchchat/utils/socket.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/tools.mjs +74 -0
- package/es/packages/components/touchchat/utils/tools.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/uuid.mjs +15 -0
- package/es/packages/components/touchchat/utils/uuid.mjs.map +1 -0
- package/es/packages/utils/config.mjs +18 -0
- package/es/packages/utils/config.mjs.map +1 -0
- package/es/packages/utils/index.mjs +3 -0
- package/es/packages/utils/index.mjs.map +1 -0
- package/es/packages/utils/package.json.mjs +36 -0
- package/es/packages/utils/package.json.mjs.map +1 -0
- package/es/packages/utils/types.mjs +23 -0
- package/es/packages/utils/types.mjs.map +1 -0
- package/global.d.ts +9 -0
- package/lib/_virtual/_commonjsHelpers.js +8 -0
- package/lib/_virtual/_commonjsHelpers.js.map +1 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +14 -0
- package/lib/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/lib/_virtual/emphasis.js +6 -0
- package/lib/_virtual/emphasis.js.map +1 -0
- package/lib/_virtual/html_re.js +6 -0
- package/lib/_virtual/html_re.js.map +1 -0
- package/lib/_virtual/index.js +6 -0
- package/lib/_virtual/index.js.map +1 -0
- package/lib/_virtual/index2.js +6 -0
- package/lib/_virtual/index2.js.map +1 -0
- package/lib/_virtual/index3.js +6 -0
- package/lib/_virtual/index3.js.map +1 -0
- package/lib/_virtual/strikethrough.js +6 -0
- package/lib/_virtual/strikethrough.js.map +1 -0
- package/lib/_virtual/utils.js +6 -0
- package/lib/_virtual/utils.js.map +1 -0
- package/lib/assets/Avatar-AI-8c9ec26060b39bf7.png +0 -0
- package/lib/assets/bgimage-ef345ea032b1fc13.png +0 -0
- package/lib/assets/icon-ac4086674fbfd358.png +0 -0
- package/lib/assets/link-45d328ddcc34e562.png +0 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +36 -0
- package/lib/index.js.map +1 -0
- package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js +6380 -0
- package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.js +2528 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.js +124 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.js +205 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.js +180 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.js +512 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.js +320 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.js +475 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.js +452 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.js +619 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.js +282 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.js +210 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.js +137 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.js +97 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.js +210 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.js +170 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.js +97 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.js +85 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.js +185 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.js +335 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.js +184 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.js +363 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.js +184 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.js +192 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.js +74 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.js +61 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.js +427 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.js +295 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.js +122 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.js +93 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.js +117 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.js +132 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.js +526 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.js +215 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.js +342 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.js +113 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.js +457 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.js +242 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.js +398 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.js +157 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.js +144 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.js +151 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.js +218 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.js +41 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.js +710 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.js +884 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.js +708 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.js +35 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.js +120 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.js.map +1 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.js +640 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.js.map +1 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js +198 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.js +150 -0
- package/lib/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.js +146 -0
- package/lib/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.js +210 -0
- package/lib/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.js +28 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.js +1913 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.js +49 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.js +22 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.js +65 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.js +10 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.js +92 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.js +359 -0
- package/lib/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.js +130 -0
- package/lib/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.js +130 -0
- package/lib/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.js +67 -0
- package/lib/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.js +67 -0
- package/lib/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js +13 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js +9 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js +69 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js +33 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js +326 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js +15 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js +85 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js +46 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js +58 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js +598 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js +140 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js +71 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js +199 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js +80 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js +41 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js +61 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js +348 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js +356 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js +288 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js +34 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js +98 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js +59 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js +49 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js +78 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js +83 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js +368 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js +52 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js +199 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js +236 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js +225 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js +18 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js +16 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js +134 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js +21 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js +99 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js +204 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js +23 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js +76 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js +63 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +130 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js +134 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js +53 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js +56 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js +50 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js +156 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js +152 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js +50 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js +158 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js +134 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js +58 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js +35 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js +201 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js +123 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js +99 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js +26 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +17 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js +294 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js.map +1 -0
- package/lib/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js +138 -0
- package/lib/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +6 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +25 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js.map +1 -0
- package/lib/package.json.css +1 -0
- package/lib/package.json.js +120 -0
- package/lib/package.json.js.map +1 -0
- package/lib/packages/components/index.js +11 -0
- package/lib/packages/components/index.js.map +1 -0
- package/lib/packages/components/package.json.js +47 -0
- package/lib/packages/components/package.json.js.map +1 -0
- package/lib/packages/components/resolver.js +36 -0
- package/lib/packages/components/resolver.js.map +1 -0
- package/lib/packages/components/touchchat/component/CardView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/CardView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/CardView.vue2.js +139 -0
- package/lib/packages/components/touchchat/component/CardView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/FileView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/FileView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/FileView.vue2.js +66 -0
- package/lib/packages/components/touchchat/component/FileView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue.js +11 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue2.js +62 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/ImageView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/ImageView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/ImageView.vue2.js +35 -0
- package/lib/packages/components/touchchat/component/ImageView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/LinkView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/LinkView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/LinkView.vue2.js +79 -0
- package/lib/packages/components/touchchat/component/LinkView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/img/AI.png.js +8 -0
- package/lib/packages/components/touchchat/img/AI.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/asir.png.js +8 -0
- package/lib/packages/components/touchchat/img/asir.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/bgimage.png.js +8 -0
- package/lib/packages/components/touchchat/img/bgimage.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file.png.js +8 -0
- package/lib/packages/components/touchchat/img/file.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/link.png.js +8 -0
- package/lib/packages/components/touchchat/img/link.png.js.map +1 -0
- package/lib/packages/components/touchchat/index.js +12 -0
- package/lib/packages/components/touchchat/index.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js +346 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js +186 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js +454 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js +109 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js +271 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js +847 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js +216 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js +137 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.js +636 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue2.js +267 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue2.js +201 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue2.js +71 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue2.js +52 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.js +271 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue2.js +93 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue2.js +68 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.js +40 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue2.js +40 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.js +8 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/icon.png.js +8 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/icon.png.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue2.js +85 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/index.vue.js +11 -0
- package/lib/packages/components/touchchat/src/index.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/index.vue2.js +151 -0
- package/lib/packages/components/touchchat/src/index.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/utils/chatRobot.js +113 -0
- package/lib/packages/components/touchchat/utils/chatRobot.js.map +1 -0
- package/lib/packages/components/touchchat/utils/deepCloneDom.js +61 -0
- package/lib/packages/components/touchchat/utils/deepCloneDom.js.map +1 -0
- package/lib/packages/components/touchchat/utils/fetchStream.js +105 -0
- package/lib/packages/components/touchchat/utils/fetchStream.js.map +1 -0
- package/lib/packages/components/touchchat/utils/hight-it.js +118 -0
- package/lib/packages/components/touchchat/utils/hight-it.js.map +1 -0
- package/lib/packages/components/touchchat/utils/markdown.js +46 -0
- package/lib/packages/components/touchchat/utils/markdown.js.map +1 -0
- package/lib/packages/components/touchchat/utils/socket.js +199 -0
- package/lib/packages/components/touchchat/utils/socket.js.map +1 -0
- package/lib/packages/components/touchchat/utils/tools.js +79 -0
- package/lib/packages/components/touchchat/utils/tools.js.map +1 -0
- package/lib/packages/components/touchchat/utils/uuid.js +19 -0
- package/lib/packages/components/touchchat/utils/uuid.js.map +1 -0
- package/lib/packages/utils/config.js +21 -0
- package/lib/packages/utils/config.js.map +1 -0
- package/lib/packages/utils/index.js +12 -0
- package/lib/packages/utils/index.js.map +1 -0
- package/lib/packages/utils/package.json.js +50 -0
- package/lib/packages/utils/package.json.js.map +1 -0
- package/lib/packages/utils/types.js +26 -0
- package/lib/packages/utils/types.js.map +1 -0
- package/package.json +83 -0
- package/theme/components/index.css +3 -0
- package/theme/img/default.png +0 -0
- package/theme/index.css +6 -0
- package/theme/skin/default.css +6 -0
- package/types/global.d.ts +9 -0
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* class Ruler
|
|
3
|
+
*
|
|
4
|
+
* Helper class, used by [[MarkdownIt#core]], [[MarkdownIt#block]] and
|
|
5
|
+
* [[MarkdownIt#inline]] to manage sequences of functions (rules):
|
|
6
|
+
*
|
|
7
|
+
* - keep rules in defined order
|
|
8
|
+
* - assign the name to each rule
|
|
9
|
+
* - enable/disable rules
|
|
10
|
+
* - add/replace rules
|
|
11
|
+
* - allow assign rules to additional named chains (in the same)
|
|
12
|
+
* - cacheing lists of active rules
|
|
13
|
+
*
|
|
14
|
+
* You will not need use this class directly until write plugins. For simple
|
|
15
|
+
* rules control use [[MarkdownIt.disable]], [[MarkdownIt.enable]] and
|
|
16
|
+
* [[MarkdownIt.use]].
|
|
17
|
+
**/
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* new Ruler()
|
|
22
|
+
**/
|
|
23
|
+
function Ruler() {
|
|
24
|
+
// List of added rules. Each element is:
|
|
25
|
+
//
|
|
26
|
+
// {
|
|
27
|
+
// name: XXX,
|
|
28
|
+
// enabled: Boolean,
|
|
29
|
+
// fn: Function(),
|
|
30
|
+
// alt: [ name2, name3 ]
|
|
31
|
+
// }
|
|
32
|
+
//
|
|
33
|
+
this.__rules__ = [];
|
|
34
|
+
|
|
35
|
+
// Cached rule chains.
|
|
36
|
+
//
|
|
37
|
+
// First level - chain name, '' for default.
|
|
38
|
+
// Second level - diginal anchor for fast filtering by charcodes.
|
|
39
|
+
//
|
|
40
|
+
this.__cache__ = null;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
44
|
+
// Helper methods, should not be used directly
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
// Find rule index by name
|
|
48
|
+
//
|
|
49
|
+
Ruler.prototype.__find__ = function (name) {
|
|
50
|
+
for (var i = 0; i < this.__rules__.length; i++) {
|
|
51
|
+
if (this.__rules__[i].name === name) {
|
|
52
|
+
return i;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return -1;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
// Build rules lookup cache
|
|
60
|
+
//
|
|
61
|
+
Ruler.prototype.__compile__ = function () {
|
|
62
|
+
var self = this;
|
|
63
|
+
var chains = [ '' ];
|
|
64
|
+
|
|
65
|
+
// collect unique names
|
|
66
|
+
self.__rules__.forEach(function (rule) {
|
|
67
|
+
if (!rule.enabled) { return; }
|
|
68
|
+
|
|
69
|
+
rule.alt.forEach(function (altName) {
|
|
70
|
+
if (chains.indexOf(altName) < 0) {
|
|
71
|
+
chains.push(altName);
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
self.__cache__ = {};
|
|
77
|
+
|
|
78
|
+
chains.forEach(function (chain) {
|
|
79
|
+
self.__cache__[chain] = [];
|
|
80
|
+
self.__rules__.forEach(function (rule) {
|
|
81
|
+
if (!rule.enabled) { return; }
|
|
82
|
+
|
|
83
|
+
if (chain && rule.alt.indexOf(chain) < 0) { return; }
|
|
84
|
+
|
|
85
|
+
self.__cache__[chain].push(rule.fn);
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Ruler.at(name, fn [, options])
|
|
93
|
+
* - name (String): rule name to replace.
|
|
94
|
+
* - fn (Function): new rule function.
|
|
95
|
+
* - options (Object): new rule options (not mandatory).
|
|
96
|
+
*
|
|
97
|
+
* Replace rule by name with new function & options. Throws error if name not
|
|
98
|
+
* found.
|
|
99
|
+
*
|
|
100
|
+
* ##### Options:
|
|
101
|
+
*
|
|
102
|
+
* - __alt__ - array with names of "alternate" chains.
|
|
103
|
+
*
|
|
104
|
+
* ##### Example
|
|
105
|
+
*
|
|
106
|
+
* Replace existing typographer replacement rule with new one:
|
|
107
|
+
*
|
|
108
|
+
* ```javascript
|
|
109
|
+
* var md = require('markdown-it')();
|
|
110
|
+
*
|
|
111
|
+
* md.core.ruler.at('replacements', function replace(state) {
|
|
112
|
+
* //...
|
|
113
|
+
* });
|
|
114
|
+
* ```
|
|
115
|
+
**/
|
|
116
|
+
Ruler.prototype.at = function (name, fn, options) {
|
|
117
|
+
var index = this.__find__(name);
|
|
118
|
+
var opt = options || {};
|
|
119
|
+
|
|
120
|
+
if (index === -1) { throw new Error('Parser rule not found: ' + name); }
|
|
121
|
+
|
|
122
|
+
this.__rules__[index].fn = fn;
|
|
123
|
+
this.__rules__[index].alt = opt.alt || [];
|
|
124
|
+
this.__cache__ = null;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Ruler.before(beforeName, ruleName, fn [, options])
|
|
130
|
+
* - beforeName (String): new rule will be added before this one.
|
|
131
|
+
* - ruleName (String): name of added rule.
|
|
132
|
+
* - fn (Function): rule function.
|
|
133
|
+
* - options (Object): rule options (not mandatory).
|
|
134
|
+
*
|
|
135
|
+
* Add new rule to chain before one with given name. See also
|
|
136
|
+
* [[Ruler.after]], [[Ruler.push]].
|
|
137
|
+
*
|
|
138
|
+
* ##### Options:
|
|
139
|
+
*
|
|
140
|
+
* - __alt__ - array with names of "alternate" chains.
|
|
141
|
+
*
|
|
142
|
+
* ##### Example
|
|
143
|
+
*
|
|
144
|
+
* ```javascript
|
|
145
|
+
* var md = require('markdown-it')();
|
|
146
|
+
*
|
|
147
|
+
* md.block.ruler.before('paragraph', 'my_rule', function replace(state) {
|
|
148
|
+
* //...
|
|
149
|
+
* });
|
|
150
|
+
* ```
|
|
151
|
+
**/
|
|
152
|
+
Ruler.prototype.before = function (beforeName, ruleName, fn, options) {
|
|
153
|
+
var index = this.__find__(beforeName);
|
|
154
|
+
var opt = options || {};
|
|
155
|
+
|
|
156
|
+
if (index === -1) { throw new Error('Parser rule not found: ' + beforeName); }
|
|
157
|
+
|
|
158
|
+
this.__rules__.splice(index, 0, {
|
|
159
|
+
name: ruleName,
|
|
160
|
+
enabled: true,
|
|
161
|
+
fn: fn,
|
|
162
|
+
alt: opt.alt || []
|
|
163
|
+
});
|
|
164
|
+
|
|
165
|
+
this.__cache__ = null;
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Ruler.after(afterName, ruleName, fn [, options])
|
|
171
|
+
* - afterName (String): new rule will be added after this one.
|
|
172
|
+
* - ruleName (String): name of added rule.
|
|
173
|
+
* - fn (Function): rule function.
|
|
174
|
+
* - options (Object): rule options (not mandatory).
|
|
175
|
+
*
|
|
176
|
+
* Add new rule to chain after one with given name. See also
|
|
177
|
+
* [[Ruler.before]], [[Ruler.push]].
|
|
178
|
+
*
|
|
179
|
+
* ##### Options:
|
|
180
|
+
*
|
|
181
|
+
* - __alt__ - array with names of "alternate" chains.
|
|
182
|
+
*
|
|
183
|
+
* ##### Example
|
|
184
|
+
*
|
|
185
|
+
* ```javascript
|
|
186
|
+
* var md = require('markdown-it')();
|
|
187
|
+
*
|
|
188
|
+
* md.inline.ruler.after('text', 'my_rule', function replace(state) {
|
|
189
|
+
* //...
|
|
190
|
+
* });
|
|
191
|
+
* ```
|
|
192
|
+
**/
|
|
193
|
+
Ruler.prototype.after = function (afterName, ruleName, fn, options) {
|
|
194
|
+
var index = this.__find__(afterName);
|
|
195
|
+
var opt = options || {};
|
|
196
|
+
|
|
197
|
+
if (index === -1) { throw new Error('Parser rule not found: ' + afterName); }
|
|
198
|
+
|
|
199
|
+
this.__rules__.splice(index + 1, 0, {
|
|
200
|
+
name: ruleName,
|
|
201
|
+
enabled: true,
|
|
202
|
+
fn: fn,
|
|
203
|
+
alt: opt.alt || []
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
this.__cache__ = null;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Ruler.push(ruleName, fn [, options])
|
|
211
|
+
* - ruleName (String): name of added rule.
|
|
212
|
+
* - fn (Function): rule function.
|
|
213
|
+
* - options (Object): rule options (not mandatory).
|
|
214
|
+
*
|
|
215
|
+
* Push new rule to the end of chain. See also
|
|
216
|
+
* [[Ruler.before]], [[Ruler.after]].
|
|
217
|
+
*
|
|
218
|
+
* ##### Options:
|
|
219
|
+
*
|
|
220
|
+
* - __alt__ - array with names of "alternate" chains.
|
|
221
|
+
*
|
|
222
|
+
* ##### Example
|
|
223
|
+
*
|
|
224
|
+
* ```javascript
|
|
225
|
+
* var md = require('markdown-it')();
|
|
226
|
+
*
|
|
227
|
+
* md.core.ruler.push('my_rule', function replace(state) {
|
|
228
|
+
* //...
|
|
229
|
+
* });
|
|
230
|
+
* ```
|
|
231
|
+
**/
|
|
232
|
+
Ruler.prototype.push = function (ruleName, fn, options) {
|
|
233
|
+
var opt = options || {};
|
|
234
|
+
|
|
235
|
+
this.__rules__.push({
|
|
236
|
+
name: ruleName,
|
|
237
|
+
enabled: true,
|
|
238
|
+
fn: fn,
|
|
239
|
+
alt: opt.alt || []
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
this.__cache__ = null;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Ruler.enable(list [, ignoreInvalid]) -> Array
|
|
248
|
+
* - list (String|Array): list of rule names to enable.
|
|
249
|
+
* - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.
|
|
250
|
+
*
|
|
251
|
+
* Enable rules with given names. If any rule name not found - throw Error.
|
|
252
|
+
* Errors can be disabled by second param.
|
|
253
|
+
*
|
|
254
|
+
* Returns list of found rule names (if no exception happened).
|
|
255
|
+
*
|
|
256
|
+
* See also [[Ruler.disable]], [[Ruler.enableOnly]].
|
|
257
|
+
**/
|
|
258
|
+
Ruler.prototype.enable = function (list, ignoreInvalid) {
|
|
259
|
+
if (!Array.isArray(list)) { list = [ list ]; }
|
|
260
|
+
|
|
261
|
+
var result = [];
|
|
262
|
+
|
|
263
|
+
// Search by name and enable
|
|
264
|
+
list.forEach(function (name) {
|
|
265
|
+
var idx = this.__find__(name);
|
|
266
|
+
|
|
267
|
+
if (idx < 0) {
|
|
268
|
+
if (ignoreInvalid) { return; }
|
|
269
|
+
throw new Error('Rules manager: invalid rule name ' + name);
|
|
270
|
+
}
|
|
271
|
+
this.__rules__[idx].enabled = true;
|
|
272
|
+
result.push(name);
|
|
273
|
+
}, this);
|
|
274
|
+
|
|
275
|
+
this.__cache__ = null;
|
|
276
|
+
return result;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Ruler.enableOnly(list [, ignoreInvalid])
|
|
282
|
+
* - list (String|Array): list of rule names to enable (whitelist).
|
|
283
|
+
* - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.
|
|
284
|
+
*
|
|
285
|
+
* Enable rules with given names, and disable everything else. If any rule name
|
|
286
|
+
* not found - throw Error. Errors can be disabled by second param.
|
|
287
|
+
*
|
|
288
|
+
* See also [[Ruler.disable]], [[Ruler.enable]].
|
|
289
|
+
**/
|
|
290
|
+
Ruler.prototype.enableOnly = function (list, ignoreInvalid) {
|
|
291
|
+
if (!Array.isArray(list)) { list = [ list ]; }
|
|
292
|
+
|
|
293
|
+
this.__rules__.forEach(function (rule) { rule.enabled = false; });
|
|
294
|
+
|
|
295
|
+
this.enable(list, ignoreInvalid);
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Ruler.disable(list [, ignoreInvalid]) -> Array
|
|
301
|
+
* - list (String|Array): list of rule names to disable.
|
|
302
|
+
* - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.
|
|
303
|
+
*
|
|
304
|
+
* Disable rules with given names. If any rule name not found - throw Error.
|
|
305
|
+
* Errors can be disabled by second param.
|
|
306
|
+
*
|
|
307
|
+
* Returns list of found rule names (if no exception happened).
|
|
308
|
+
*
|
|
309
|
+
* See also [[Ruler.enable]], [[Ruler.enableOnly]].
|
|
310
|
+
**/
|
|
311
|
+
Ruler.prototype.disable = function (list, ignoreInvalid) {
|
|
312
|
+
if (!Array.isArray(list)) { list = [ list ]; }
|
|
313
|
+
|
|
314
|
+
var result = [];
|
|
315
|
+
|
|
316
|
+
// Search by name and disable
|
|
317
|
+
list.forEach(function (name) {
|
|
318
|
+
var idx = this.__find__(name);
|
|
319
|
+
|
|
320
|
+
if (idx < 0) {
|
|
321
|
+
if (ignoreInvalid) { return; }
|
|
322
|
+
throw new Error('Rules manager: invalid rule name ' + name);
|
|
323
|
+
}
|
|
324
|
+
this.__rules__[idx].enabled = false;
|
|
325
|
+
result.push(name);
|
|
326
|
+
}, this);
|
|
327
|
+
|
|
328
|
+
this.__cache__ = null;
|
|
329
|
+
return result;
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Ruler.getRules(chainName) -> Array
|
|
335
|
+
*
|
|
336
|
+
* Return array of active functions (rules) for given chain name. It analyzes
|
|
337
|
+
* rules configuration, compiles caches if not exists and returns result.
|
|
338
|
+
*
|
|
339
|
+
* Default chain name is `''` (empty string). It can't be skipped. That's
|
|
340
|
+
* done intentionally, to keep signature monomorphic for high speed.
|
|
341
|
+
**/
|
|
342
|
+
Ruler.prototype.getRules = function (chainName) {
|
|
343
|
+
if (this.__cache__ === null) {
|
|
344
|
+
this.__compile__();
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
// Chain can be empty, if rules disabled. But we still have to return Array.
|
|
348
|
+
return this.__cache__[chainName] || [];
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
var ruler = Ruler;
|
|
352
|
+
|
|
353
|
+
export { ruler as r };
|
|
354
|
+
//# sourceMappingURL=ruler.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ruler.mjs","sources":["../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js"],"sourcesContent":["/**\n * class Ruler\n *\n * Helper class, used by [[MarkdownIt#core]], [[MarkdownIt#block]] and\n * [[MarkdownIt#inline]] to manage sequences of functions (rules):\n *\n * - keep rules in defined order\n * - assign the name to each rule\n * - enable/disable rules\n * - add/replace rules\n * - allow assign rules to additional named chains (in the same)\n * - cacheing lists of active rules\n *\n * You will not need use this class directly until write plugins. For simple\n * rules control use [[MarkdownIt.disable]], [[MarkdownIt.enable]] and\n * [[MarkdownIt.use]].\n **/\n'use strict';\n\n\n/**\n * new Ruler()\n **/\nfunction Ruler() {\n // List of added rules. Each element is:\n //\n // {\n // name: XXX,\n // enabled: Boolean,\n // fn: Function(),\n // alt: [ name2, name3 ]\n // }\n //\n this.__rules__ = [];\n\n // Cached rule chains.\n //\n // First level - chain name, '' for default.\n // Second level - diginal anchor for fast filtering by charcodes.\n //\n this.__cache__ = null;\n}\n\n////////////////////////////////////////////////////////////////////////////////\n// Helper methods, should not be used directly\n\n\n// Find rule index by name\n//\nRuler.prototype.__find__ = function (name) {\n for (var i = 0; i < this.__rules__.length; i++) {\n if (this.__rules__[i].name === name) {\n return i;\n }\n }\n return -1;\n};\n\n\n// Build rules lookup cache\n//\nRuler.prototype.__compile__ = function () {\n var self = this;\n var chains = [ '' ];\n\n // collect unique names\n self.__rules__.forEach(function (rule) {\n if (!rule.enabled) { return; }\n\n rule.alt.forEach(function (altName) {\n if (chains.indexOf(altName) < 0) {\n chains.push(altName);\n }\n });\n });\n\n self.__cache__ = {};\n\n chains.forEach(function (chain) {\n self.__cache__[chain] = [];\n self.__rules__.forEach(function (rule) {\n if (!rule.enabled) { return; }\n\n if (chain && rule.alt.indexOf(chain) < 0) { return; }\n\n self.__cache__[chain].push(rule.fn);\n });\n });\n};\n\n\n/**\n * Ruler.at(name, fn [, options])\n * - name (String): rule name to replace.\n * - fn (Function): new rule function.\n * - options (Object): new rule options (not mandatory).\n *\n * Replace rule by name with new function & options. Throws error if name not\n * found.\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * Replace existing typographer replacement rule with new one:\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.core.ruler.at('replacements', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.at = function (name, fn, options) {\n var index = this.__find__(name);\n var opt = options || {};\n\n if (index === -1) { throw new Error('Parser rule not found: ' + name); }\n\n this.__rules__[index].fn = fn;\n this.__rules__[index].alt = opt.alt || [];\n this.__cache__ = null;\n};\n\n\n/**\n * Ruler.before(beforeName, ruleName, fn [, options])\n * - beforeName (String): new rule will be added before this one.\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Add new rule to chain before one with given name. See also\n * [[Ruler.after]], [[Ruler.push]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.block.ruler.before('paragraph', 'my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.before = function (beforeName, ruleName, fn, options) {\n var index = this.__find__(beforeName);\n var opt = options || {};\n\n if (index === -1) { throw new Error('Parser rule not found: ' + beforeName); }\n\n this.__rules__.splice(index, 0, {\n name: ruleName,\n enabled: true,\n fn: fn,\n alt: opt.alt || []\n });\n\n this.__cache__ = null;\n};\n\n\n/**\n * Ruler.after(afterName, ruleName, fn [, options])\n * - afterName (String): new rule will be added after this one.\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Add new rule to chain after one with given name. See also\n * [[Ruler.before]], [[Ruler.push]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.inline.ruler.after('text', 'my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.after = function (afterName, ruleName, fn, options) {\n var index = this.__find__(afterName);\n var opt = options || {};\n\n if (index === -1) { throw new Error('Parser rule not found: ' + afterName); }\n\n this.__rules__.splice(index + 1, 0, {\n name: ruleName,\n enabled: true,\n fn: fn,\n alt: opt.alt || []\n });\n\n this.__cache__ = null;\n};\n\n/**\n * Ruler.push(ruleName, fn [, options])\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Push new rule to the end of chain. See also\n * [[Ruler.before]], [[Ruler.after]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.core.ruler.push('my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.push = function (ruleName, fn, options) {\n var opt = options || {};\n\n this.__rules__.push({\n name: ruleName,\n enabled: true,\n fn: fn,\n alt: opt.alt || []\n });\n\n this.__cache__ = null;\n};\n\n\n/**\n * Ruler.enable(list [, ignoreInvalid]) -> Array\n * - list (String|Array): list of rule names to enable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable rules with given names. If any rule name not found - throw Error.\n * Errors can be disabled by second param.\n *\n * Returns list of found rule names (if no exception happened).\n *\n * See also [[Ruler.disable]], [[Ruler.enableOnly]].\n **/\nRuler.prototype.enable = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [ list ]; }\n\n var result = [];\n\n // Search by name and enable\n list.forEach(function (name) {\n var idx = this.__find__(name);\n\n if (idx < 0) {\n if (ignoreInvalid) { return; }\n throw new Error('Rules manager: invalid rule name ' + name);\n }\n this.__rules__[idx].enabled = true;\n result.push(name);\n }, this);\n\n this.__cache__ = null;\n return result;\n};\n\n\n/**\n * Ruler.enableOnly(list [, ignoreInvalid])\n * - list (String|Array): list of rule names to enable (whitelist).\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable rules with given names, and disable everything else. If any rule name\n * not found - throw Error. Errors can be disabled by second param.\n *\n * See also [[Ruler.disable]], [[Ruler.enable]].\n **/\nRuler.prototype.enableOnly = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [ list ]; }\n\n this.__rules__.forEach(function (rule) { rule.enabled = false; });\n\n this.enable(list, ignoreInvalid);\n};\n\n\n/**\n * Ruler.disable(list [, ignoreInvalid]) -> Array\n * - list (String|Array): list of rule names to disable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Disable rules with given names. If any rule name not found - throw Error.\n * Errors can be disabled by second param.\n *\n * Returns list of found rule names (if no exception happened).\n *\n * See also [[Ruler.enable]], [[Ruler.enableOnly]].\n **/\nRuler.prototype.disable = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [ list ]; }\n\n var result = [];\n\n // Search by name and disable\n list.forEach(function (name) {\n var idx = this.__find__(name);\n\n if (idx < 0) {\n if (ignoreInvalid) { return; }\n throw new Error('Rules manager: invalid rule name ' + name);\n }\n this.__rules__[idx].enabled = false;\n result.push(name);\n }, this);\n\n this.__cache__ = null;\n return result;\n};\n\n\n/**\n * Ruler.getRules(chainName) -> Array\n *\n * Return array of active functions (rules) for given chain name. It analyzes\n * rules configuration, compiles caches if not exists and returns result.\n *\n * Default chain name is `''` (empty string). It can't be skipped. That's\n * done intentionally, to keep signature monomorphic for high speed.\n **/\nRuler.prototype.getRules = function (chainName) {\n if (this.__cache__ === null) {\n this.__compile__();\n }\n\n // Chain can be empty, if rules disabled. But we still have to return Array.\n return this.__cache__[chainName] || [];\n};\n\nmodule.exports = Ruler;\n"],"names":[],"mappings":"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","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import { __exports as utils } from '../../../../../../../_virtual/utils.mjs';
|
|
2
|
+
import '../common/utils.mjs';
|
|
3
|
+
|
|
4
|
+
var isSpace = utils.isSpace;
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var blockquote = function blockquote(state, startLine, endLine, silent) {
|
|
8
|
+
var adjustTab,
|
|
9
|
+
ch,
|
|
10
|
+
i,
|
|
11
|
+
initial,
|
|
12
|
+
l,
|
|
13
|
+
lastLineEmpty,
|
|
14
|
+
lines,
|
|
15
|
+
nextLine,
|
|
16
|
+
offset,
|
|
17
|
+
oldBMarks,
|
|
18
|
+
oldBSCount,
|
|
19
|
+
oldIndent,
|
|
20
|
+
oldParentType,
|
|
21
|
+
oldSCount,
|
|
22
|
+
oldTShift,
|
|
23
|
+
spaceAfterMarker,
|
|
24
|
+
terminate,
|
|
25
|
+
terminatorRules,
|
|
26
|
+
token,
|
|
27
|
+
isOutdented,
|
|
28
|
+
oldLineMax = state.lineMax,
|
|
29
|
+
pos = state.bMarks[startLine] + state.tShift[startLine],
|
|
30
|
+
max = state.eMarks[startLine];
|
|
31
|
+
|
|
32
|
+
// if it's indented more than 3 spaces, it should be a code block
|
|
33
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) { return false; }
|
|
34
|
+
|
|
35
|
+
// check the block quote marker
|
|
36
|
+
if (state.src.charCodeAt(pos++) !== 0x3E/* > */) { return false; }
|
|
37
|
+
|
|
38
|
+
// we know that it's going to be a valid blockquote,
|
|
39
|
+
// so no point trying to find the end of it in silent mode
|
|
40
|
+
if (silent) { return true; }
|
|
41
|
+
|
|
42
|
+
// set offset past spaces and ">"
|
|
43
|
+
initial = offset = state.sCount[startLine] + 1;
|
|
44
|
+
|
|
45
|
+
// skip one optional space after '>'
|
|
46
|
+
if (state.src.charCodeAt(pos) === 0x20 /* space */) {
|
|
47
|
+
// ' > test '
|
|
48
|
+
// ^ -- position start of line here:
|
|
49
|
+
pos++;
|
|
50
|
+
initial++;
|
|
51
|
+
offset++;
|
|
52
|
+
adjustTab = false;
|
|
53
|
+
spaceAfterMarker = true;
|
|
54
|
+
} else if (state.src.charCodeAt(pos) === 0x09 /* tab */) {
|
|
55
|
+
spaceAfterMarker = true;
|
|
56
|
+
|
|
57
|
+
if ((state.bsCount[startLine] + offset) % 4 === 3) {
|
|
58
|
+
// ' >\t test '
|
|
59
|
+
// ^ -- position start of line here (tab has width===1)
|
|
60
|
+
pos++;
|
|
61
|
+
initial++;
|
|
62
|
+
offset++;
|
|
63
|
+
adjustTab = false;
|
|
64
|
+
} else {
|
|
65
|
+
// ' >\t test '
|
|
66
|
+
// ^ -- position start of line here + shift bsCount slightly
|
|
67
|
+
// to make extra space appear
|
|
68
|
+
adjustTab = true;
|
|
69
|
+
}
|
|
70
|
+
} else {
|
|
71
|
+
spaceAfterMarker = false;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
oldBMarks = [ state.bMarks[startLine] ];
|
|
75
|
+
state.bMarks[startLine] = pos;
|
|
76
|
+
|
|
77
|
+
while (pos < max) {
|
|
78
|
+
ch = state.src.charCodeAt(pos);
|
|
79
|
+
|
|
80
|
+
if (isSpace(ch)) {
|
|
81
|
+
if (ch === 0x09) {
|
|
82
|
+
offset += 4 - (offset + state.bsCount[startLine] + (adjustTab ? 1 : 0)) % 4;
|
|
83
|
+
} else {
|
|
84
|
+
offset++;
|
|
85
|
+
}
|
|
86
|
+
} else {
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
pos++;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
oldBSCount = [ state.bsCount[startLine] ];
|
|
94
|
+
state.bsCount[startLine] = state.sCount[startLine] + 1 + (spaceAfterMarker ? 1 : 0);
|
|
95
|
+
|
|
96
|
+
lastLineEmpty = pos >= max;
|
|
97
|
+
|
|
98
|
+
oldSCount = [ state.sCount[startLine] ];
|
|
99
|
+
state.sCount[startLine] = offset - initial;
|
|
100
|
+
|
|
101
|
+
oldTShift = [ state.tShift[startLine] ];
|
|
102
|
+
state.tShift[startLine] = pos - state.bMarks[startLine];
|
|
103
|
+
|
|
104
|
+
terminatorRules = state.md.block.ruler.getRules('blockquote');
|
|
105
|
+
|
|
106
|
+
oldParentType = state.parentType;
|
|
107
|
+
state.parentType = 'blockquote';
|
|
108
|
+
|
|
109
|
+
// Search the end of the block
|
|
110
|
+
//
|
|
111
|
+
// Block ends with either:
|
|
112
|
+
// 1. an empty line outside:
|
|
113
|
+
// ```
|
|
114
|
+
// > test
|
|
115
|
+
//
|
|
116
|
+
// ```
|
|
117
|
+
// 2. an empty line inside:
|
|
118
|
+
// ```
|
|
119
|
+
// >
|
|
120
|
+
// test
|
|
121
|
+
// ```
|
|
122
|
+
// 3. another tag:
|
|
123
|
+
// ```
|
|
124
|
+
// > test
|
|
125
|
+
// - - -
|
|
126
|
+
// ```
|
|
127
|
+
for (nextLine = startLine + 1; nextLine < endLine; nextLine++) {
|
|
128
|
+
// check if it's outdented, i.e. it's inside list item and indented
|
|
129
|
+
// less than said list item:
|
|
130
|
+
//
|
|
131
|
+
// ```
|
|
132
|
+
// 1. anything
|
|
133
|
+
// > current blockquote
|
|
134
|
+
// 2. checking this line
|
|
135
|
+
// ```
|
|
136
|
+
isOutdented = state.sCount[nextLine] < state.blkIndent;
|
|
137
|
+
|
|
138
|
+
pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
139
|
+
max = state.eMarks[nextLine];
|
|
140
|
+
|
|
141
|
+
if (pos >= max) {
|
|
142
|
+
// Case 1: line is not inside the blockquote, and this line is empty.
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
if (state.src.charCodeAt(pos++) === 0x3E/* > */ && !isOutdented) {
|
|
147
|
+
// This line is inside the blockquote.
|
|
148
|
+
|
|
149
|
+
// set offset past spaces and ">"
|
|
150
|
+
initial = offset = state.sCount[nextLine] + 1;
|
|
151
|
+
|
|
152
|
+
// skip one optional space after '>'
|
|
153
|
+
if (state.src.charCodeAt(pos) === 0x20 /* space */) {
|
|
154
|
+
// ' > test '
|
|
155
|
+
// ^ -- position start of line here:
|
|
156
|
+
pos++;
|
|
157
|
+
initial++;
|
|
158
|
+
offset++;
|
|
159
|
+
adjustTab = false;
|
|
160
|
+
spaceAfterMarker = true;
|
|
161
|
+
} else if (state.src.charCodeAt(pos) === 0x09 /* tab */) {
|
|
162
|
+
spaceAfterMarker = true;
|
|
163
|
+
|
|
164
|
+
if ((state.bsCount[nextLine] + offset) % 4 === 3) {
|
|
165
|
+
// ' >\t test '
|
|
166
|
+
// ^ -- position start of line here (tab has width===1)
|
|
167
|
+
pos++;
|
|
168
|
+
initial++;
|
|
169
|
+
offset++;
|
|
170
|
+
adjustTab = false;
|
|
171
|
+
} else {
|
|
172
|
+
// ' >\t test '
|
|
173
|
+
// ^ -- position start of line here + shift bsCount slightly
|
|
174
|
+
// to make extra space appear
|
|
175
|
+
adjustTab = true;
|
|
176
|
+
}
|
|
177
|
+
} else {
|
|
178
|
+
spaceAfterMarker = false;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
182
|
+
state.bMarks[nextLine] = pos;
|
|
183
|
+
|
|
184
|
+
while (pos < max) {
|
|
185
|
+
ch = state.src.charCodeAt(pos);
|
|
186
|
+
|
|
187
|
+
if (isSpace(ch)) {
|
|
188
|
+
if (ch === 0x09) {
|
|
189
|
+
offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4;
|
|
190
|
+
} else {
|
|
191
|
+
offset++;
|
|
192
|
+
}
|
|
193
|
+
} else {
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
pos++;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
lastLineEmpty = pos >= max;
|
|
201
|
+
|
|
202
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
203
|
+
state.bsCount[nextLine] = state.sCount[nextLine] + 1 + (spaceAfterMarker ? 1 : 0);
|
|
204
|
+
|
|
205
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
206
|
+
state.sCount[nextLine] = offset - initial;
|
|
207
|
+
|
|
208
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
209
|
+
state.tShift[nextLine] = pos - state.bMarks[nextLine];
|
|
210
|
+
continue;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// Case 2: line is not inside the blockquote, and the last line was empty.
|
|
214
|
+
if (lastLineEmpty) { break; }
|
|
215
|
+
|
|
216
|
+
// Case 3: another tag found.
|
|
217
|
+
terminate = false;
|
|
218
|
+
for (i = 0, l = terminatorRules.length; i < l; i++) {
|
|
219
|
+
if (terminatorRules[i](state, nextLine, endLine, true)) {
|
|
220
|
+
terminate = true;
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if (terminate) {
|
|
226
|
+
// Quirk to enforce "hard termination mode" for paragraphs;
|
|
227
|
+
// normally if you call `tokenize(state, startLine, nextLine)`,
|
|
228
|
+
// paragraphs will look below nextLine for paragraph continuation,
|
|
229
|
+
// but if blockquote is terminated by another tag, they shouldn't
|
|
230
|
+
state.lineMax = nextLine;
|
|
231
|
+
|
|
232
|
+
if (state.blkIndent !== 0) {
|
|
233
|
+
// state.blkIndent was non-zero, we now set it to zero,
|
|
234
|
+
// so we need to re-calculate all offsets to appear as
|
|
235
|
+
// if indent wasn't changed
|
|
236
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
237
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
238
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
239
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
240
|
+
state.sCount[nextLine] -= state.blkIndent;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
break;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
247
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
248
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
249
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
250
|
+
|
|
251
|
+
// A negative indentation means that this is a paragraph continuation
|
|
252
|
+
//
|
|
253
|
+
state.sCount[nextLine] = -1;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
oldIndent = state.blkIndent;
|
|
257
|
+
state.blkIndent = 0;
|
|
258
|
+
|
|
259
|
+
token = state.push('blockquote_open', 'blockquote', 1);
|
|
260
|
+
token.markup = '>';
|
|
261
|
+
token.map = lines = [ startLine, 0 ];
|
|
262
|
+
|
|
263
|
+
state.md.block.tokenize(state, startLine, nextLine);
|
|
264
|
+
|
|
265
|
+
token = state.push('blockquote_close', 'blockquote', -1);
|
|
266
|
+
token.markup = '>';
|
|
267
|
+
|
|
268
|
+
state.lineMax = oldLineMax;
|
|
269
|
+
state.parentType = oldParentType;
|
|
270
|
+
lines[1] = state.line;
|
|
271
|
+
|
|
272
|
+
// Restore original tShift; this might not be necessary since the parser
|
|
273
|
+
// has already been here, but just to make sure we can do that.
|
|
274
|
+
for (i = 0; i < oldTShift.length; i++) {
|
|
275
|
+
state.bMarks[i + startLine] = oldBMarks[i];
|
|
276
|
+
state.tShift[i + startLine] = oldTShift[i];
|
|
277
|
+
state.sCount[i + startLine] = oldSCount[i];
|
|
278
|
+
state.bsCount[i + startLine] = oldBSCount[i];
|
|
279
|
+
}
|
|
280
|
+
state.blkIndent = oldIndent;
|
|
281
|
+
|
|
282
|
+
return true;
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
export { blockquote as b };
|
|
286
|
+
//# sourceMappingURL=blockquote.mjs.map
|