@glodon-aiot/agent-cli-ui 3.19.0-alpha.27 → 3.19.0-beta.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/index.mjs +8211 -302
- package/dist/lib/index.js +16 -326
- package/dist/src/utils/reactDomCompat.d.ts +3 -0
- package/package.json +10 -13
- package/dist/es/AgentClientUI.mjs +0 -150
- package/dist/es/Dialog/AgentChat/HistoryItem/FileItem/index.mjs +0 -88
- package/dist/es/Dialog/AgentChat/HistoryItem/InputProgress/index.mjs +0 -38
- package/dist/es/Dialog/AgentChat/HistoryItem/SearchReference/index.mjs +0 -101
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionAction/index.mjs +0 -248
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/ReferItem/index.mjs +0 -86
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/index.mjs +0 -92
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRelated/index.mjs +0 -46
- package/dist/es/Dialog/AgentChat/HistoryItem/index.mjs +0 -384
- package/dist/es/Dialog/AgentChat/PromptSetting/index.mjs +0 -105
- package/dist/es/Dialog/AgentChat/Tools/ConnectToNetwork/index.mjs +0 -92
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PromptListItem.mjs +0 -89
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PublicPromptList.mjs +0 -47
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/access/empty.svg.mjs +0 -4
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/index.mjs +0 -120
- package/dist/es/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.mjs +0 -48
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.mjs +0 -47
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/SessionItem.mjs +0 -135
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.mjs +0 -119
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/index.mjs +0 -44
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/ClearModal/index.mjs +0 -50
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.mjs +0 -128
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.mjs +0 -374
- package/dist/es/Dialog/AgentChat/index.mjs +0 -1147
- package/dist/es/Dialog/SessionList/index.mjs +0 -401
- package/dist/es/Dialog/UploadingPrompt/index.mjs +0 -64
- package/dist/es/Dialog/index.mjs +0 -180
- package/dist/es/Footer/FooterWarning.mjs +0 -24
- package/dist/es/Footer/index.mjs +0 -17
- package/dist/es/QuillEditor/index.mjs +0 -278
- package/dist/es/ReactTextGenerationUI/components/TextSiders/index.mjs +0 -406
- package/dist/es/ReactTextGenerationUI/components/fetchEventSource/fetch.mjs +0 -112
- package/dist/es/ReactTextGenerationUI/components/fetchEventSource/parse.mjs +0 -97
- package/dist/es/ReactTextGenerationUI/index.mjs +0 -81
- package/dist/es/_virtual/_commonjsHelpers.mjs +0 -8
- package/dist/es/_virtual/index.mjs +0 -4
- package/dist/es/_virtual/index2.mjs +0 -4
- package/dist/es/_virtual/index3.mjs +0 -4
- package/dist/es/_virtual/lib.mjs +0 -4
- package/dist/es/_virtual/prism-core.mjs +0 -4
- package/dist/es/_virtual/types.mjs +0 -4
- package/dist/es/_virtual/ua-parser.min.mjs +0 -4
- package/dist/es/_virtual/utilities.mjs +0 -4
- package/dist/es/assets/brand.svg.mjs +0 -4
- package/dist/es/assets/doc-icons/doc.svg.mjs +0 -4
- package/dist/es/assets/doc-icons/docx.svg.mjs +0 -4
- package/dist/es/assets/doc-icons/pdf.svg.mjs +0 -4
- package/dist/es/assets/icon.svg.mjs +0 -4
- package/dist/es/assets/think.svg.mjs +0 -4
- package/dist/es/components/FilePreview/index.mjs +0 -83
- package/dist/es/components/Greeting/index.mjs +0 -30
- package/dist/es/components/Iconfont/index.mjs +0 -12
- package/dist/es/components/JsonDisplay/index.mjs +0 -15
- package/dist/es/components/KnowledgeList/KnowledgeSelect/index.mjs +0 -67
- package/dist/es/components/KnowledgeList/index.mjs +0 -79
- package/dist/es/components/Recommend/RecommendItem.mjs +0 -97
- package/dist/es/components/Recommend/index.mjs +0 -76
- package/dist/es/components/Recommend/tip.svg.mjs +0 -4
- package/dist/es/components/Sider/index.mjs +0 -24
- package/dist/es/components/WebLink/index.mjs +0 -26
- package/dist/es/constant.mjs +0 -124
- package/dist/es/context/SessionContext.mjs +0 -26
- package/dist/es/context.mjs +0 -7
- package/dist/es/hooks/useSessionState.mjs +0 -6
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +0 -9
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +0 -8
- package/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +0 -12
- package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +0 -13
- package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +0 -7
- package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +0 -7
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +0 -15
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +0 -15
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +0 -10
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +0 -16
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +0 -9
- package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +0 -11
- package/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +0 -12
- package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +0 -201
- package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +0 -1087
- package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +0 -104
- package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +0 -568
- package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +0 -158
- package/dist/es/node_modules/@ungap/structured-clone/esm/deserialize.mjs +0 -70
- package/dist/es/node_modules/@ungap/structured-clone/esm/index.mjs +0 -11
- package/dist/es/node_modules/@ungap/structured-clone/esm/serialize.mjs +0 -124
- package/dist/es/node_modules/@ungap/structured-clone/esm/types.mjs +0 -13
- package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +0 -847
- package/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +0 -35
- package/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +0 -226
- package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +0 -33
- package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +0 -20
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +0 -76
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +0 -13
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +0 -34
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +0 -178
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +0 -83
- package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +0 -4
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +0 -84
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +0 -4
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +0 -9
- package/dist/es/node_modules/antd-mobile/es/global/index.mjs +0 -3
- package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +0 -141
- package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +0 -9
- package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +0 -7
- package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +0 -4
- package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +0 -9
- package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +0 -6
- package/dist/es/node_modules/antd-mobile/es/utils/get-scroll-parent.mjs +0 -22
- package/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +0 -11
- package/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +0 -12
- package/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +0 -47
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +0 -12
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +0 -13
- package/dist/es/node_modules/antd-mobile/es/utils/render.mjs +0 -52
- package/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +0 -11
- package/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +0 -10
- package/dist/es/node_modules/antd-mobile/es/utils/supports-passive.mjs +0 -15
- package/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +0 -6
- package/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +0 -8
- package/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +0 -54
- package/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +0 -32
- package/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +0 -11
- package/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +0 -19
- package/dist/es/node_modules/ccount/index.mjs +0 -12
- package/dist/es/node_modules/character-reference-invalid/index.json.mjs +0 -33
- package/dist/es/node_modules/comma-separated-tokens/index.mjs +0 -18
- package/dist/es/node_modules/decode-named-character-reference/index.dom.mjs +0 -14
- package/dist/es/node_modules/devlop/lib/default.mjs +0 -8
- package/dist/es/node_modules/estree-util-is-identifier-name/lib/index.mjs +0 -7
- package/dist/es/node_modules/extend/index.mjs +0 -46
- package/dist/es/node_modules/hast-util-from-dom/lib/index.mjs +0 -93
- package/dist/es/node_modules/hast-util-from-dom/node_modules/web-namespaces/index.mjs +0 -11
- package/dist/es/node_modules/hast-util-from-html-isomorphic/lib/browser.mjs +0 -16
- package/dist/es/node_modules/hast-util-is-element/lib/index.mjs +0 -61
- package/dist/es/node_modules/hast-util-parse-selector/index.mjs +0 -14
- package/dist/es/node_modules/hast-util-to-jsx-runtime/lib/index.mjs +0 -298
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/index.mjs +0 -12
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/aria.mjs +0 -61
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/find.mjs +0 -33
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/hast-to-react.mjs +0 -22
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/html.mjs +0 -368
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/normalize.mjs +0 -6
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/svg.mjs +0 -566
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -7
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -6
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/create.mjs +0 -14
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/defined-info.mjs +0 -36
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/info.mjs +0 -28
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/merge.mjs +0 -10
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/schema.mjs +0 -21
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/types.mjs +0 -15
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xlink.mjs +0 -19
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xml.mjs +0 -15
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xmlns.mjs +0 -16
- package/dist/es/node_modules/hast-util-to-text/lib/index.mjs +0 -223
- package/dist/es/node_modules/hast-util-whitespace/lib/index.mjs +0 -10
- package/dist/es/node_modules/hastscript/lib/create-h.mjs +0 -126
- package/dist/es/node_modules/hastscript/lib/index.mjs +0 -8
- package/dist/es/node_modules/hastscript/lib/svg-case-sensitive-tag-names.mjs +0 -4
- package/dist/es/node_modules/hastscript/node_modules/hast-util-parse-selector/lib/index.mjs +0 -20
- package/dist/es/node_modules/hastscript/node_modules/property-information/index.mjs +0 -12
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/aria.mjs +0 -61
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/find.mjs +0 -33
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/html.mjs +0 -368
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/normalize.mjs +0 -6
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/svg.mjs +0 -566
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -7
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -6
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/create.mjs +0 -14
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/defined-info.mjs +0 -36
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/info.mjs +0 -28
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/merge.mjs +0 -10
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/schema.mjs +0 -21
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/types.mjs +0 -15
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xlink.mjs +0 -19
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xml.mjs +0 -15
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xmlns.mjs +0 -16
- package/dist/es/node_modules/html-url-attributes/lib/index.mjs +0 -16
- package/dist/es/node_modules/is-alphabetical/index.mjs +0 -8
- package/dist/es/node_modules/is-alphanumerical/index.mjs +0 -9
- package/dist/es/node_modules/is-decimal/index.mjs +0 -8
- package/dist/es/node_modules/is-hexadecimal/index.mjs +0 -8
- package/dist/es/node_modules/katex/dist/katex.mjs +0 -11700
- package/dist/es/node_modules/longest-streak/index.mjs +0 -12
- package/dist/es/node_modules/markdown-table/index.mjs +0 -70
- package/dist/es/node_modules/mdast-util-find-and-replace/lib/index.mjs +0 -72
- package/dist/es/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.mjs +0 -8
- package/dist/es/node_modules/mdast-util-from-markdown/lib/index.mjs +0 -584
- package/dist/es/node_modules/mdast-util-gfm/lib/index.mjs +0 -17
- package/dist/es/node_modules/mdast-util-gfm-autolink-literal/lib/index.mjs +0 -136
- package/dist/es/node_modules/mdast-util-gfm-footnote/lib/index.mjs +0 -100
- package/dist/es/node_modules/mdast-util-gfm-strikethrough/lib/index.mjs +0 -61
- package/dist/es/node_modules/mdast-util-gfm-table/lib/index.mjs +0 -170
- package/dist/es/node_modules/mdast-util-gfm-task-list-item/lib/index.mjs +0 -72
- package/dist/es/node_modules/mdast-util-math/lib/index.mjs +0 -170
- package/dist/es/node_modules/mdast-util-phrasing/lib/index.mjs +0 -30
- package/dist/es/node_modules/mdast-util-to-hast/lib/footer.mjs +0 -123
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/blockquote.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/break.mjs +0 -16
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/code.mjs +0 -25
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/delete.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/emphasis.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.mjs +0 -31
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/heading.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/html.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image-reference.mjs +0 -22
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image.mjs +0 -17
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/index.mjs +0 -58
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/inline-code.mjs +0 -17
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link-reference.mjs +0 -21
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link.mjs +0 -17
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list-item.mjs +0 -65
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list.mjs +0 -21
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/paragraph.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/root.mjs +0 -10
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/strong.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-cell.mjs +0 -13
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-row.mjs +0 -26
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table.mjs +0 -35
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/text.mjs +0 -11
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-hast/lib/index.mjs +0 -19
- package/dist/es/node_modules/mdast-util-to-hast/lib/revert.mjs +0 -22
- package/dist/es/node_modules/mdast-util-to-hast/lib/state.mjs +0 -145
- package/dist/es/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.mjs +0 -16
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/blockquote.mjs +0 -12
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/break.mjs +0 -13
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/code.mjs +0 -49
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/definition.mjs +0 -37
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/emphasis.mjs +0 -37
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/heading.mjs +0 -44
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/html.mjs +0 -10
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image-reference.mjs +0 -36
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image.mjs +0 -40
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/index.mjs +0 -44
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/inline-code.mjs +0 -22
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link-reference.mjs +0 -36
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link.mjs +0 -50
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list-item.mjs +0 -19
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list.mjs +0 -35
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/paragraph.mjs +0 -7
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/root.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/strong.mjs +0 -37
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/text.mjs +0 -6
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.mjs +0 -14
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-fence.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-quote.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-strong.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.mjs +0 -6
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-info.mjs +0 -67
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.mjs +0 -9
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.mjs +0 -13
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.mjs +0 -15
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.mjs +0 -15
- package/dist/es/node_modules/mdast-util-to-markdown/node_modules/unist-util-visit/lib/index.mjs +0 -16
- package/dist/es/node_modules/mdast-util-to-string/lib/index.mjs +0 -29
- package/dist/es/node_modules/micromark/lib/constructs.mjs +0 -85
- package/dist/es/node_modules/micromark/lib/create-tokenizer.mjs +0 -225
- package/dist/es/node_modules/micromark/lib/initialize/content.mjs +0 -37
- package/dist/es/node_modules/micromark/lib/initialize/document.mjs +0 -133
- package/dist/es/node_modules/micromark/lib/initialize/flow.mjs +0 -33
- package/dist/es/node_modules/micromark/lib/initialize/text.mjs +0 -103
- package/dist/es/node_modules/micromark/lib/parse.mjs +0 -32
- package/dist/es/node_modules/micromark/lib/postprocess.mjs +0 -9
- package/dist/es/node_modules/micromark/lib/preprocess.mjs +0 -40
- package/dist/es/node_modules/micromark-core-commonmark/lib/attention.mjs +0 -74
- package/dist/es/node_modules/micromark-core-commonmark/lib/autolink.mjs +0 -43
- package/dist/es/node_modules/micromark-core-commonmark/lib/blank-line.mjs +0 -18
- package/dist/es/node_modules/micromark-core-commonmark/lib/block-quote.mjs +0 -42
- package/dist/es/node_modules/micromark-core-commonmark/lib/character-escape.mjs +0 -17
- package/dist/es/node_modules/micromark-core-commonmark/lib/character-reference.mjs +0 -30
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-fenced.mjs +0 -94
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-indented.mjs +0 -43
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-text.mjs +0 -45
- package/dist/es/node_modules/micromark-core-commonmark/lib/content.mjs +0 -50
- package/dist/es/node_modules/micromark-core-commonmark/lib/definition.mjs +0 -80
- package/dist/es/node_modules/micromark-core-commonmark/lib/hard-break-escape.mjs +0 -17
- package/dist/es/node_modules/micromark-core-commonmark/lib/heading-atx.mjs +0 -46
- package/dist/es/node_modules/micromark-core-commonmark/lib/html-flow.mjs +0 -144
- package/dist/es/node_modules/micromark-core-commonmark/lib/html-text.mjs +0 -102
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-end.mjs +0 -152
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-image.mjs +0 -22
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-link.mjs +0 -19
- package/dist/es/node_modules/micromark-core-commonmark/lib/line-ending.mjs +0 -14
- package/dist/es/node_modules/micromark-core-commonmark/lib/list.mjs +0 -90
- package/dist/es/node_modules/micromark-core-commonmark/lib/setext-underline.mjs +0 -62
- package/dist/es/node_modules/micromark-core-commonmark/lib/thematic-break.mjs +0 -25
- package/dist/es/node_modules/micromark-extension-gfm/index.mjs +0 -12
- package/dist/es/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.mjs +0 -193
- package/dist/es/node_modules/micromark-extension-gfm-footnote/lib/syntax.mjs +0 -192
- package/dist/es/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.mjs +0 -68
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/edit-map.mjs +0 -71
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/infer.mjs +0 -24
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/syntax.mjs +0 -147
- package/dist/es/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.mjs +0 -45
- package/dist/es/node_modules/micromark-extension-math/lib/math-flow.mjs +0 -76
- package/dist/es/node_modules/micromark-extension-math/lib/math-text.mjs +0 -48
- package/dist/es/node_modules/micromark-extension-math/lib/syntax.mjs +0 -15
- package/dist/es/node_modules/micromark-factory-destination/index.mjs +0 -31
- package/dist/es/node_modules/micromark-factory-label/index.mjs +0 -28
- package/dist/es/node_modules/micromark-factory-space/index.mjs +0 -15
- package/dist/es/node_modules/micromark-factory-title/index.mjs +0 -26
- package/dist/es/node_modules/micromark-factory-whitespace/index.mjs +0 -12
- package/dist/es/node_modules/micromark-util-character/index.mjs +0 -39
- package/dist/es/node_modules/micromark-util-chunked/index.mjs +0 -16
- package/dist/es/node_modules/micromark-util-classify-character/index.mjs +0 -10
- package/dist/es/node_modules/micromark-util-combine-extensions/index.mjs +0 -36
- package/dist/es/node_modules/micromark-util-decode-numeric-character-reference/index.mjs +0 -16
- package/dist/es/node_modules/micromark-util-decode-string/index.mjs +0 -18
- package/dist/es/node_modules/micromark-util-html-tag-name/index.mjs +0 -5
- package/dist/es/node_modules/micromark-util-normalize-identifier/index.mjs +0 -6
- package/dist/es/node_modules/micromark-util-resolve-all/index.mjs +0 -12
- package/dist/es/node_modules/micromark-util-sanitize-uri/index.mjs +0 -23
- package/dist/es/node_modules/micromark-util-subtokenize/index.mjs +0 -65
- package/dist/es/node_modules/micromark-util-subtokenize/lib/splice-buffer.mjs +0 -175
- package/dist/es/node_modules/moment/dist/moment.mjs +0 -2301
- package/dist/es/node_modules/parse-entities/decode-entity.browser.mjs +0 -8
- package/dist/es/node_modules/parse-entities/index.mjs +0 -83
- package/dist/es/node_modules/parse-entities/node_modules/character-entities-legacy/index.json.mjs +0 -217
- package/dist/es/node_modules/property-information/find.mjs +0 -25
- package/dist/es/node_modules/property-information/html.mjs +0 -10
- package/dist/es/node_modules/property-information/lib/aria.mjs +0 -63
- package/dist/es/node_modules/property-information/lib/html.mjs +0 -354
- package/dist/es/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -8
- package/dist/es/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -7
- package/dist/es/node_modules/property-information/lib/util/create.mjs +0 -13
- package/dist/es/node_modules/property-information/lib/util/defined-info.mjs +0 -18
- package/dist/es/node_modules/property-information/lib/util/info.mjs +0 -19
- package/dist/es/node_modules/property-information/lib/util/merge.mjs +0 -11
- package/dist/es/node_modules/property-information/lib/util/schema.mjs +0 -10
- package/dist/es/node_modules/property-information/lib/util/types.mjs +0 -15
- package/dist/es/node_modules/property-information/lib/xlink.mjs +0 -20
- package/dist/es/node_modules/property-information/lib/xml.mjs +0 -16
- package/dist/es/node_modules/property-information/lib/xmlns.mjs +0 -16
- package/dist/es/node_modules/property-information/normalize.mjs +0 -7
- package/dist/es/node_modules/react-device-detect/dist/lib.mjs +0 -723
- package/dist/es/node_modules/react-markdown/lib/index.mjs +0 -153
- package/dist/es/node_modules/react-markdown/node_modules/remark-parse/lib/index.mjs +0 -29
- package/dist/es/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.mjs +0 -16
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.mjs +0 -7
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +0 -101
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +0 -283
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.mjs +0 -4
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/prism.mjs +0 -10
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.mjs +0 -195
- package/dist/es/node_modules/refractor/core.mjs +0 -111
- package/dist/es/node_modules/refractor/index.mjs +0 -553
- package/dist/es/node_modules/refractor/lang/abap.mjs +0 -60
- package/dist/es/node_modules/refractor/lang/abnf.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/actionscript.mjs +0 -22
- package/dist/es/node_modules/refractor/lang/ada.mjs +0 -28
- package/dist/es/node_modules/refractor/lang/agda.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/al.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/antlr4.mjs +0 -72
- package/dist/es/node_modules/refractor/lang/apacheconf.mjs +0 -59
- package/dist/es/node_modules/refractor/lang/apex.mjs +0 -69
- package/dist/es/node_modules/refractor/lang/apl.mjs +0 -44
- package/dist/es/node_modules/refractor/lang/applescript.mjs +0 -26
- package/dist/es/node_modules/refractor/lang/aql.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/arduino.mjs +0 -20
- package/dist/es/node_modules/refractor/lang/arff.mjs +0 -22
- package/dist/es/node_modules/refractor/lang/asciidoc.mjs +0 -208
- package/dist/es/node_modules/refractor/lang/asm6502.mjs +0 -41
- package/dist/es/node_modules/refractor/lang/asmatmel.mjs +0 -53
- package/dist/es/node_modules/refractor/lang/aspnet.mjs +0 -53
- package/dist/es/node_modules/refractor/lang/autohotkey.mjs +0 -40
- package/dist/es/node_modules/refractor/lang/autoit.mjs +0 -43
- package/dist/es/node_modules/refractor/lang/avisynth.mjs +0 -167
- package/dist/es/node_modules/refractor/lang/avro-idl.mjs +0 -50
- package/dist/es/node_modules/refractor/lang/bash.mjs +0 -206
- package/dist/es/node_modules/refractor/lang/basic.mjs +0 -29
- package/dist/es/node_modules/refractor/lang/batch.mjs +0 -95
- package/dist/es/node_modules/refractor/lang/bbcode.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/bicep.mjs +0 -72
- package/dist/es/node_modules/refractor/lang/birb.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/bison.mjs +0 -52
- package/dist/es/node_modules/refractor/lang/bnf.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/brainfuck.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/brightscript.mjs +0 -55
- package/dist/es/node_modules/refractor/lang/bro.mjs +0 -39
- package/dist/es/node_modules/refractor/lang/bsl.mjs +0 -77
- package/dist/es/node_modules/refractor/lang/c.mjs +0 -78
- package/dist/es/node_modules/refractor/lang/cfscript.mjs +0 -44
- package/dist/es/node_modules/refractor/lang/chaiscript.mjs +0 -65
- package/dist/es/node_modules/refractor/lang/cil.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/clike.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/clojure.mjs +0 -42
- package/dist/es/node_modules/refractor/lang/cmake.mjs +0 -41
- package/dist/es/node_modules/refractor/lang/cobol.mjs +0 -58
- package/dist/es/node_modules/refractor/lang/coffeescript.mjs +0 -86
- package/dist/es/node_modules/refractor/lang/concurnas.mjs +0 -69
- package/dist/es/node_modules/refractor/lang/coq.mjs +0 -52
- package/dist/es/node_modules/refractor/lang/cpp.mjs +0 -98
- package/dist/es/node_modules/refractor/lang/crystal.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/csharp.mjs +0 -277
- package/dist/es/node_modules/refractor/lang/cshtml.mjs +0 -104
- package/dist/es/node_modules/refractor/lang/csp.mjs +0 -61
- package/dist/es/node_modules/refractor/lang/css-extras.mjs +0 -109
- package/dist/es/node_modules/refractor/lang/css.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/csv.mjs +0 -16
- package/dist/es/node_modules/refractor/lang/cypher.mjs +0 -44
- package/dist/es/node_modules/refractor/lang/d.mjs +0 -77
- package/dist/es/node_modules/refractor/lang/dart.mjs +0 -72
- package/dist/es/node_modules/refractor/lang/dataweave.mjs +0 -49
- package/dist/es/node_modules/refractor/lang/dax.mjs +0 -39
- package/dist/es/node_modules/refractor/lang/dhall.mjs +0 -74
- package/dist/es/node_modules/refractor/lang/diff.mjs +0 -54
- package/dist/es/node_modules/refractor/lang/django.mjs +0 -60
- package/dist/es/node_modules/refractor/lang/dns-zone-file.mjs +0 -40
- package/dist/es/node_modules/refractor/lang/docker.mjs +0 -83
- package/dist/es/node_modules/refractor/lang/dot.mjs +0 -75
- package/dist/es/node_modules/refractor/lang/ebnf.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/editorconfig.mjs +0 -39
- package/dist/es/node_modules/refractor/lang/eiffel.mjs +0 -46
- package/dist/es/node_modules/refractor/lang/ejs.mjs +0 -33
- package/dist/es/node_modules/refractor/lang/elixir.mjs +0 -100
- package/dist/es/node_modules/refractor/lang/elm.mjs +0 -54
- package/dist/es/node_modules/refractor/lang/erb.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/erlang.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/etlua.mjs +0 -33
- package/dist/es/node_modules/refractor/lang/excel-formula.mjs +0 -74
- package/dist/es/node_modules/refractor/lang/factor.mjs +0 -569
- package/dist/es/node_modules/refractor/lang/false.mjs +0 -39
- package/dist/es/node_modules/refractor/lang/firestore-security-rules.mjs +0 -43
- package/dist/es/node_modules/refractor/lang/flow.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/fortran.mjs +0 -49
- package/dist/es/node_modules/refractor/lang/fsharp.mjs +0 -76
- package/dist/es/node_modules/refractor/lang/ftl.mjs +0 -102
- package/dist/es/node_modules/refractor/lang/gap.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/gcode.mjs +0 -28
- package/dist/es/node_modules/refractor/lang/gdscript.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/gedcom.mjs +0 -40
- package/dist/es/node_modules/refractor/lang/gherkin.mjs +0 -94
- package/dist/es/node_modules/refractor/lang/git.mjs +0 -75
- package/dist/es/node_modules/refractor/lang/glsl.mjs +0 -18
- package/dist/es/node_modules/refractor/lang/gml.mjs +0 -19
- package/dist/es/node_modules/refractor/lang/gn.mjs +0 -55
- package/dist/es/node_modules/refractor/lang/go-module.mjs +0 -34
- package/dist/es/node_modules/refractor/lang/go.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/graphql.mjs +0 -133
- package/dist/es/node_modules/refractor/lang/groovy.mjs +0 -58
- package/dist/es/node_modules/refractor/lang/haml.mjs +0 -132
- package/dist/es/node_modules/refractor/lang/handlebars.mjs +0 -46
- package/dist/es/node_modules/refractor/lang/haskell.mjs +0 -76
- package/dist/es/node_modules/refractor/lang/haxe.mjs +0 -84
- package/dist/es/node_modules/refractor/lang/hcl.mjs +0 -68
- package/dist/es/node_modules/refractor/lang/hlsl.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/hoon.mjs +0 -26
- package/dist/es/node_modules/refractor/lang/hpkp.mjs +0 -20
- package/dist/es/node_modules/refractor/lang/hsts.mjs +0 -20
- package/dist/es/node_modules/refractor/lang/http.mjs +0 -126
- package/dist/es/node_modules/refractor/lang/ichigojam.mjs +0 -25
- package/dist/es/node_modules/refractor/lang/icon.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/icu-message-format.mjs +0 -136
- package/dist/es/node_modules/refractor/lang/idris.mjs +0 -30
- package/dist/es/node_modules/refractor/lang/iecst.mjs +0 -38
- package/dist/es/node_modules/refractor/lang/ignore.mjs +0 -30
- package/dist/es/node_modules/refractor/lang/inform7.mjs +0 -69
- package/dist/es/node_modules/refractor/lang/ini.mjs +0 -52
- package/dist/es/node_modules/refractor/lang/io.mjs +0 -34
- package/dist/es/node_modules/refractor/lang/j.mjs +0 -40
- package/dist/es/node_modules/refractor/lang/java.mjs +0 -86
- package/dist/es/node_modules/refractor/lang/javadoc.mjs +0 -89
- package/dist/es/node_modules/refractor/lang/javadoclike.mjs +0 -60
- package/dist/es/node_modules/refractor/lang/javascript.mjs +0 -114
- package/dist/es/node_modules/refractor/lang/javastacktrace.mjs +0 -146
- package/dist/es/node_modules/refractor/lang/jexl.mjs +0 -26
- package/dist/es/node_modules/refractor/lang/jolie.mjs +0 -51
- package/dist/es/node_modules/refractor/lang/jq.mjs +0 -71
- package/dist/es/node_modules/refractor/lang/js-extras.mjs +0 -104
- package/dist/es/node_modules/refractor/lang/js-templates.mjs +0 -153
- package/dist/es/node_modules/refractor/lang/jsdoc.mjs +0 -83
- package/dist/es/node_modules/refractor/lang/json.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/json5.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/jsonp.mjs +0 -20
- package/dist/es/node_modules/refractor/lang/jsstacktrace.mjs +0 -53
- package/dist/es/node_modules/refractor/lang/jsx.mjs +0 -61
- package/dist/es/node_modules/refractor/lang/julia.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/keepalived.mjs +0 -54
- package/dist/es/node_modules/refractor/lang/keyman.mjs +0 -55
- package/dist/es/node_modules/refractor/lang/kotlin.mjs +0 -81
- package/dist/es/node_modules/refractor/lang/kumir.mjs +0 -85
- package/dist/es/node_modules/refractor/lang/kusto.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/latex.mjs +0 -68
- package/dist/es/node_modules/refractor/lang/latte.mjs +0 -68
- package/dist/es/node_modules/refractor/lang/less.mjs +0 -51
- package/dist/es/node_modules/refractor/lang/lilypond.mjs +0 -77
- package/dist/es/node_modules/refractor/lang/liquid.mjs +0 -68
- package/dist/es/node_modules/refractor/lang/lisp.mjs +0 -158
- package/dist/es/node_modules/refractor/lang/livescript.mjs +0 -119
- package/dist/es/node_modules/refractor/lang/llvm.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/log.mjs +0 -103
- package/dist/es/node_modules/refractor/lang/lolcode.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/lua.mjs +0 -29
- package/dist/es/node_modules/refractor/lang/magma.mjs +0 -42
- package/dist/es/node_modules/refractor/lang/makefile.mjs +0 -42
- package/dist/es/node_modules/refractor/lang/markdown.mjs +0 -306
- package/dist/es/node_modules/refractor/lang/markup-templating.mjs +0 -74
- package/dist/es/node_modules/refractor/lang/markup.mjs +0 -154
- package/dist/es/node_modules/refractor/lang/matlab.mjs +0 -25
- package/dist/es/node_modules/refractor/lang/maxscript.mjs +0 -70
- package/dist/es/node_modules/refractor/lang/mel.mjs +0 -49
- package/dist/es/node_modules/refractor/lang/mermaid.mjs +0 -116
- package/dist/es/node_modules/refractor/lang/mizar.mjs +0 -24
- package/dist/es/node_modules/refractor/lang/mongodb.mjs +0 -287
- package/dist/es/node_modules/refractor/lang/monkey.mjs +0 -40
- package/dist/es/node_modules/refractor/lang/moonscript.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/n1ql.mjs +0 -34
- package/dist/es/node_modules/refractor/lang/n4js.mjs +0 -22
- package/dist/es/node_modules/refractor/lang/nand2tetris-hdl.mjs +0 -21
- package/dist/es/node_modules/refractor/lang/naniscript.mjs +0 -140
- package/dist/es/node_modules/refractor/lang/nasm.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/neon.mjs +0 -52
- package/dist/es/node_modules/refractor/lang/nevod.mjs +0 -125
- package/dist/es/node_modules/refractor/lang/nginx.mjs +0 -61
- package/dist/es/node_modules/refractor/lang/nim.mjs +0 -54
- package/dist/es/node_modules/refractor/lang/nix.mjs +0 -45
- package/dist/es/node_modules/refractor/lang/nsis.mjs +0 -37
- package/dist/es/node_modules/refractor/lang/objectivec.mjs +0 -23
- package/dist/es/node_modules/refractor/lang/ocaml.mjs +0 -64
- package/dist/es/node_modules/refractor/lang/opencl.mjs +0 -62
- package/dist/es/node_modules/refractor/lang/openqasm.mjs +0 -29
- package/dist/es/node_modules/refractor/lang/oz.mjs +0 -37
- package/dist/es/node_modules/refractor/lang/parigp.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/parser.mjs +0 -80
- package/dist/es/node_modules/refractor/lang/pascal.mjs +0 -66
- package/dist/es/node_modules/refractor/lang/pascaligo.mjs +0 -70
- package/dist/es/node_modules/refractor/lang/pcaxis.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/peoplecode.mjs +0 -51
- package/dist/es/node_modules/refractor/lang/perl.mjs +0 -134
- package/dist/es/node_modules/refractor/lang/php-extras.mjs +0 -29
- package/dist/es/node_modules/refractor/lang/php.mjs +0 -301
- package/dist/es/node_modules/refractor/lang/phpdoc.mjs +0 -34
- package/dist/es/node_modules/refractor/lang/plsql.mjs +0 -30
- package/dist/es/node_modules/refractor/lang/powerquery.mjs +0 -44
- package/dist/es/node_modules/refractor/lang/powershell.mjs +0 -58
- package/dist/es/node_modules/refractor/lang/processing.mjs +0 -25
- package/dist/es/node_modules/refractor/lang/prolog.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/promql.mjs +0 -74
- package/dist/es/node_modules/refractor/lang/properties.mjs +0 -21
- package/dist/es/node_modules/refractor/lang/protobuf.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/psl.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/pug.mjs +0 -173
- package/dist/es/node_modules/refractor/lang/puppet.mjs +0 -140
- package/dist/es/node_modules/refractor/lang/pure.mjs +0 -72
- package/dist/es/node_modules/refractor/lang/purebasic.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/purescript.mjs +0 -41
- package/dist/es/node_modules/refractor/lang/python.mjs +0 -73
- package/dist/es/node_modules/refractor/lang/q.mjs +0 -62
- package/dist/es/node_modules/refractor/lang/qml.mjs +0 -67
- package/dist/es/node_modules/refractor/lang/qore.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/qsharp.mjs +0 -93
- package/dist/es/node_modules/refractor/lang/r.mjs +0 -31
- package/dist/es/node_modules/refractor/lang/racket.mjs +0 -29
- package/dist/es/node_modules/refractor/lang/reason.mjs +0 -33
- package/dist/es/node_modules/refractor/lang/regex.mjs +0 -97
- package/dist/es/node_modules/refractor/lang/rego.mjs +0 -37
- package/dist/es/node_modules/refractor/lang/renpy.mjs +0 -30
- package/dist/es/node_modules/refractor/lang/rest.mjs +0 -199
- package/dist/es/node_modules/refractor/lang/rip.mjs +0 -41
- package/dist/es/node_modules/refractor/lang/roboconf.mjs +0 -39
- package/dist/es/node_modules/refractor/lang/robotframework.mjs +0 -95
- package/dist/es/node_modules/refractor/lang/ruby.mjs +0 -159
- package/dist/es/node_modules/refractor/lang/rust.mjs +0 -122
- package/dist/es/node_modules/refractor/lang/sas.mjs +0 -305
- package/dist/es/node_modules/refractor/lang/sass.mjs +0 -69
- package/dist/es/node_modules/refractor/lang/scala.mjs +0 -59
- package/dist/es/node_modules/refractor/lang/scheme.mjs +0 -120
- package/dist/es/node_modules/refractor/lang/scss.mjs +0 -82
- package/dist/es/node_modules/refractor/lang/shell-session.mjs +0 -69
- package/dist/es/node_modules/refractor/lang/smali.mjs +0 -84
- package/dist/es/node_modules/refractor/lang/smalltalk.mjs +0 -47
- package/dist/es/node_modules/refractor/lang/smarty.mjs +0 -106
- package/dist/es/node_modules/refractor/lang/sml.mjs +0 -64
- package/dist/es/node_modules/refractor/lang/solidity.mjs +0 -28
- package/dist/es/node_modules/refractor/lang/solution-file.mjs +0 -58
- package/dist/es/node_modules/refractor/lang/soy.mjs +0 -77
- package/dist/es/node_modules/refractor/lang/sparql.mjs +0 -24
- package/dist/es/node_modules/refractor/lang/splunk-spl.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/sqf.mjs +0 -42
- package/dist/es/node_modules/refractor/lang/sql.mjs +0 -42
- package/dist/es/node_modules/refractor/lang/squirrel.mjs +0 -50
- package/dist/es/node_modules/refractor/lang/stan.mjs +0 -63
- package/dist/es/node_modules/refractor/lang/stylus.mjs +0 -141
- package/dist/es/node_modules/refractor/lang/swift.mjs +0 -125
- package/dist/es/node_modules/refractor/lang/systemd.mjs +0 -65
- package/dist/es/node_modules/refractor/lang/t4-cs.mjs +0 -17
- package/dist/es/node_modules/refractor/lang/t4-templating.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/t4-vb.mjs +0 -17
- package/dist/es/node_modules/refractor/lang/tap.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/tcl.mjs +0 -51
- package/dist/es/node_modules/refractor/lang/textile.mjs +0 -248
- package/dist/es/node_modules/refractor/lang/toml.mjs +0 -54
- package/dist/es/node_modules/refractor/lang/tremor.mjs +0 -67
- package/dist/es/node_modules/refractor/lang/tsx.mjs +0 -22
- package/dist/es/node_modules/refractor/lang/tt2.mjs +0 -53
- package/dist/es/node_modules/refractor/lang/turtle.mjs +0 -62
- package/dist/es/node_modules/refractor/lang/twig.mjs +0 -48
- package/dist/es/node_modules/refractor/lang/typescript.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/typoscript.mjs +0 -81
- package/dist/es/node_modules/refractor/lang/unrealscript.mjs +0 -50
- package/dist/es/node_modules/refractor/lang/uorazor.mjs +0 -57
- package/dist/es/node_modules/refractor/lang/uri.mjs +0 -92
- package/dist/es/node_modules/refractor/lang/v.mjs +0 -85
- package/dist/es/node_modules/refractor/lang/vala.mjs +0 -87
- package/dist/es/node_modules/refractor/lang/vbnet.mjs +0 -34
- package/dist/es/node_modules/refractor/lang/velocity.mjs +0 -75
- package/dist/es/node_modules/refractor/lang/verilog.mjs +0 -38
- package/dist/es/node_modules/refractor/lang/vhdl.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/vim.mjs +0 -22
- package/dist/es/node_modules/refractor/lang/visual-basic.mjs +0 -38
- package/dist/es/node_modules/refractor/lang/warpscript.mjs +0 -33
- package/dist/es/node_modules/refractor/lang/wasm.mjs +0 -36
- package/dist/es/node_modules/refractor/lang/web-idl.mjs +0 -89
- package/dist/es/node_modules/refractor/lang/wiki.mjs +0 -86
- package/dist/es/node_modules/refractor/lang/wolfram.mjs +0 -37
- package/dist/es/node_modules/refractor/lang/wren.mjs +0 -97
- package/dist/es/node_modules/refractor/lang/xeora.mjs +0 -121
- package/dist/es/node_modules/refractor/lang/xml-doc.mjs +0 -35
- package/dist/es/node_modules/refractor/lang/xojo.mjs +0 -30
- package/dist/es/node_modules/refractor/lang/xquery.mjs +0 -89
- package/dist/es/node_modules/refractor/lang/yaml.mjs +0 -78
- package/dist/es/node_modules/refractor/lang/yang.mjs +0 -32
- package/dist/es/node_modules/refractor/lang/zig.mjs +0 -80
- package/dist/es/node_modules/refractor/node_modules/comma-separated-tokens/index.mjs +0 -16
- package/dist/es/node_modules/refractor/node_modules/hastscript/factory.mjs +0 -77
- package/dist/es/node_modules/refractor/node_modules/hastscript/html.mjs +0 -8
- package/dist/es/node_modules/refractor/node_modules/hastscript/index.mjs +0 -5
- package/dist/es/node_modules/refractor/node_modules/prismjs/components/prism-core.mjs +0 -720
- package/dist/es/node_modules/refractor/node_modules/space-separated-tokens/index.mjs +0 -14
- package/dist/es/node_modules/rehype-external-links/lib/index.mjs +0 -34
- package/dist/es/node_modules/rehype-external-links/node_modules/is-absolute-url/index.mjs +0 -9
- package/dist/es/node_modules/rehype-external-links/node_modules/unist-util-visit/lib/index.mjs +0 -16
- package/dist/es/node_modules/rehype-katex/lib/index.mjs +0 -83
- package/dist/es/node_modules/remark-gfm/lib/index.mjs +0 -13
- package/dist/es/node_modules/remark-math/lib/index.mjs +0 -13
- package/dist/es/node_modules/remark-rehype/lib/index.mjs +0 -51
- package/dist/es/node_modules/space-separated-tokens/index.mjs +0 -11
- package/dist/es/node_modules/style-to-js/cjs/index.mjs +0 -22
- package/dist/es/node_modules/style-to-js/cjs/utilities.mjs +0 -18
- package/dist/es/node_modules/style-to-js/node_modules/inline-style-parser/index.mjs +0 -93
- package/dist/es/node_modules/style-to-js/node_modules/style-to-object/cjs/index.mjs +0 -25
- package/dist/es/node_modules/trim-lines/index.mjs +0 -25
- package/dist/es/node_modules/tslib/tslib.es6.mjs +0 -30
- package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +0 -123
- package/dist/es/node_modules/unified/lib/callable-instance.mjs +0 -25
- package/dist/es/node_modules/unified/lib/index.mjs +0 -525
- package/dist/es/node_modules/unified/node_modules/bail/index.mjs +0 -7
- package/dist/es/node_modules/unified/node_modules/is-plain-obj/index.mjs +0 -9
- package/dist/es/node_modules/unified/node_modules/trough/lib/index.mjs +0 -61
- package/dist/es/node_modules/unist-util-find-after/lib/index.mjs +0 -32
- package/dist/es/node_modules/unist-util-is/lib/index.mjs +0 -81
- package/dist/es/node_modules/unist-util-position/lib/index.mjs +0 -26
- package/dist/es/node_modules/unist-util-stringify-position/lib/index.mjs +0 -15
- package/dist/es/node_modules/unist-util-visit-parents/lib/color.mjs +0 -6
- package/dist/es/node_modules/unist-util-visit-parents/lib/index.mjs +0 -56
- package/dist/es/node_modules/vfile/lib/index.mjs +0 -401
- package/dist/es/node_modules/vfile/lib/minpath.browser.mjs +0 -120
- package/dist/es/node_modules/vfile/lib/minproc.browser.mjs +0 -9
- package/dist/es/node_modules/vfile/lib/minurl.browser.mjs +0 -35
- package/dist/es/node_modules/vfile/lib/minurl.shared.mjs +0 -7
- package/dist/es/node_modules/vfile-message/lib/index.mjs +0 -106
- package/dist/es/node_modules/xtend/immutable.mjs +0 -12
- package/dist/es/packages/agent-cli-ui/package.json.mjs +0 -164
- package/dist/es/packages/react-components/dist/es/Iconfont/index.mjs +0 -8
- package/dist/es/packages/react-components/dist/es/components/Copy/index.mjs +0 -43
- package/dist/es/packages/react-components/dist/es/components/Markdown/ATag/index.mjs +0 -44
- package/dist/es/packages/react-components/dist/es/components/Markdown/Code/index.mjs +0 -64
- package/dist/es/packages/react-components/dist/es/components/Markdown/Image/index.mjs +0 -62
- package/dist/es/packages/react-components/dist/es/components/Markdown/Video/index.mjs +0 -19
- package/dist/es/packages/react-components/dist/es/components/Markdown/index.mjs +0 -80
- package/dist/es/packages/react-components/dist/es/index.mjs +0 -10
- package/dist/es/packages/react-components/dist/es/utils/clipboard.mjs +0 -38
- package/dist/es/packages/react-components/dist/es/utils/markdown/index.mjs +0 -29
- package/dist/es/src/global.css +0 -1
- package/dist/es/src/image-viewer.css +0 -1
- package/dist/es/src/katex.min.css +0 -1
- package/dist/es/src/mask.css +0 -1
- package/dist/es/src/safe-area.css +0 -1
- package/dist/es/src/style.css +0 -1
- package/dist/es/src/style10.css +0 -1
- package/dist/es/src/style11.css +0 -1
- package/dist/es/src/style12.css +0 -1
- package/dist/es/src/style13.css +0 -1
- package/dist/es/src/style14.css +0 -1
- package/dist/es/src/style15.css +0 -1
- package/dist/es/src/style16.css +0 -1
- package/dist/es/src/style17.css +0 -1
- package/dist/es/src/style18.css +0 -1
- package/dist/es/src/style19.css +0 -1
- package/dist/es/src/style2.css +0 -1
- package/dist/es/src/style20.css +0 -1
- package/dist/es/src/style21.css +0 -1
- package/dist/es/src/style22.css +0 -1
- package/dist/es/src/style23.css +0 -1
- package/dist/es/src/style24.css +0 -1
- package/dist/es/src/style25.css +0 -1
- package/dist/es/src/style26.css +0 -1
- package/dist/es/src/style27.css +0 -1
- package/dist/es/src/style28.css +0 -1
- package/dist/es/src/style29.css +0 -1
- package/dist/es/src/style3.css +0 -1
- package/dist/es/src/style30.css +0 -1
- package/dist/es/src/style31.css +0 -1
- package/dist/es/src/style32.css +0 -1
- package/dist/es/src/style33.css +0 -1
- package/dist/es/src/style4.css +0 -1
- package/dist/es/src/style5.css +0 -1
- package/dist/es/src/style6.css +0 -1
- package/dist/es/src/style7.css +0 -1
- package/dist/es/src/style8.css +0 -1
- package/dist/es/src/style9.css +0 -1
- package/dist/es/types.mjs +0 -4
- package/dist/es/utils/antdConfig.mjs +0 -15
- package/dist/es/utils/index.mjs +0 -41
- package/dist/es/utils/scopedMessage.mjs +0 -29
- package/dist/lib/index.css +0 -1
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/fetch.d.ts +0 -44
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/index.d.ts +0 -1
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/parse.d.ts +0 -36
- package/dist/src/utils/reactCompatibility.d.ts +0 -27
- package/dist/src/utils/testAntdPrefix.d.ts +0 -3
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
var a = (p, e, i) => new Promise((l, n) => {
|
|
2
|
-
var m = (o) => {
|
|
3
|
-
try {
|
|
4
|
-
s(i.next(o));
|
|
5
|
-
} catch (r) {
|
|
6
|
-
n(r);
|
|
7
|
-
}
|
|
8
|
-
}, k = (o) => {
|
|
9
|
-
try {
|
|
10
|
-
s(i.throw(o));
|
|
11
|
-
} catch (r) {
|
|
12
|
-
n(r);
|
|
13
|
-
}
|
|
14
|
-
}, s = (o) => o.done ? l(o.value) : Promise.resolve(o.value).then(m, k);
|
|
15
|
-
s((i = i.apply(p, e)).next());
|
|
16
|
-
});
|
|
17
|
-
import { jsxs as w, jsx as c } from "react/jsx-runtime";
|
|
18
|
-
import { useContext as g } from "react";
|
|
19
|
-
import { Space as h, Tooltip as I, Button as y } from "antd";
|
|
20
|
-
import { ISourceType as f, IversionInfo as b } from "@glodon-aiot/apis";
|
|
21
|
-
import x from "../../../../../context.mjs";
|
|
22
|
-
import C from "../../../../../components/WebLink/index.mjs";
|
|
23
|
-
import d from "../../../../../components/Iconfont/index.mjs";
|
|
24
|
-
const j = (p) => {
|
|
25
|
-
var o, r;
|
|
26
|
-
const {
|
|
27
|
-
data: e,
|
|
28
|
-
onClick: i,
|
|
29
|
-
loadPage: l
|
|
30
|
-
} = p, {
|
|
31
|
-
transform: n
|
|
32
|
-
} = g(x), m = () => a(void 0, null, function* () {
|
|
33
|
-
return l ? yield l(e.knowledgeId, e.docId, e.textId).catch((t) => (console.warn("查询参考文件页码失败,即将打开首页", t), 0)) : 0;
|
|
34
|
-
}), k = e.sourceType === f.WebLink && !!e.webLink, s = (
|
|
35
|
-
// data?.origin === IFileOrigin.AECPILOT ||
|
|
36
|
-
e.sourceType === f.SourceFile && !!e.sourceFileName && // data.sourceFileName 标识参考文件存在与否,不能使用其他字段判断
|
|
37
|
-
(e == null ? void 0 : e.versionInfo) !== b.ProtectUnauthorize
|
|
38
|
-
);
|
|
39
|
-
return /* @__PURE__ */ w(h, {
|
|
40
|
-
className: "session-refer-panel",
|
|
41
|
-
children: [/* @__PURE__ */ c("span", {
|
|
42
|
-
className: "refer-panel-item",
|
|
43
|
-
children: (e.knowledgeSourceName || "") + (e.knowledgeTitleName || "") || "-"
|
|
44
|
-
}), k && ((o = n == null ? void 0 : n.reference) == null ? void 0 : o.iconVisible) && /* @__PURE__ */ c(I, {
|
|
45
|
-
overlayStyle: {
|
|
46
|
-
maxWidth: "90vw"
|
|
47
|
-
},
|
|
48
|
-
title: /* @__PURE__ */ c(C, {
|
|
49
|
-
href: e.webLink,
|
|
50
|
-
onClick: (t) => {
|
|
51
|
-
t.stopPropagation();
|
|
52
|
-
}
|
|
53
|
-
}),
|
|
54
|
-
children: /* @__PURE__ */ c(y, {
|
|
55
|
-
icon: /* @__PURE__ */ c(d, {
|
|
56
|
-
type: e.sourceType === f.WebLink ? "icon-lianjie" : "icon-doc-link",
|
|
57
|
-
style: {
|
|
58
|
-
fontSize: 16
|
|
59
|
-
}
|
|
60
|
-
}),
|
|
61
|
-
type: "link",
|
|
62
|
-
size: "small",
|
|
63
|
-
onClick: (t) => a(void 0, null, function* () {
|
|
64
|
-
t.stopPropagation(), i(e);
|
|
65
|
-
})
|
|
66
|
-
})
|
|
67
|
-
}), s && ((r = n == null ? void 0 : n.reference) == null ? void 0 : r.iconVisible) && /* @__PURE__ */ c(y, {
|
|
68
|
-
icon: /* @__PURE__ */ c(d, {
|
|
69
|
-
type: "icon-doc-link",
|
|
70
|
-
style: {
|
|
71
|
-
fontSize: 16
|
|
72
|
-
}
|
|
73
|
-
}),
|
|
74
|
-
type: "link",
|
|
75
|
-
size: "small",
|
|
76
|
-
onClick: (t) => a(void 0, null, function* () {
|
|
77
|
-
t.stopPropagation();
|
|
78
|
-
const u = (yield m()) || 0;
|
|
79
|
-
i(e, u);
|
|
80
|
-
})
|
|
81
|
-
})]
|
|
82
|
-
});
|
|
83
|
-
};
|
|
84
|
-
export {
|
|
85
|
-
j as default
|
|
86
|
-
};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
var F = Object.defineProperty, R = Object.defineProperties;
|
|
2
|
-
var T = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var f = Object.getOwnPropertySymbols;
|
|
4
|
-
var U = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var h = (a, e, n) => e in a ? F(a, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : a[e] = n, w = (a, e) => {
|
|
6
|
-
for (var n in e || (e = {}))
|
|
7
|
-
U.call(e, n) && h(a, n, e[n]);
|
|
8
|
-
if (f)
|
|
9
|
-
for (var n of f(e))
|
|
10
|
-
b.call(e, n) && h(a, n, e[n]);
|
|
11
|
-
return a;
|
|
12
|
-
}, k = (a, e) => R(a, T(e));
|
|
13
|
-
import { jsxs as t, jsx as s } from "react/jsx-runtime";
|
|
14
|
-
import { useContext as j } from "react";
|
|
15
|
-
import { Space as I, Collapse as C } from "antd";
|
|
16
|
-
import z from "../../../../components/Iconfont/index.mjs";
|
|
17
|
-
/* empty css */import { ISourceType as g } from "@glodon-aiot/apis";
|
|
18
|
-
import "../../../../packages/react-components/dist/es/index.mjs";
|
|
19
|
-
import A from "./ReferItem/index.mjs";
|
|
20
|
-
import K from "../../../../context.mjs";
|
|
21
|
-
import { Markdown as L } from "../../../../packages/react-components/dist/es/components/Markdown/index.mjs";
|
|
22
|
-
const {
|
|
23
|
-
Panel: P
|
|
24
|
-
} = C, X = (a) => {
|
|
25
|
-
var c, m, p, u;
|
|
26
|
-
const {
|
|
27
|
-
history: e,
|
|
28
|
-
docViewerUrl: n,
|
|
29
|
-
markdown: N
|
|
30
|
-
} = a, {
|
|
31
|
-
transform: r,
|
|
32
|
-
service: d
|
|
33
|
-
} = j(K), v = (o, i) => {
|
|
34
|
-
if (!(!(o != null && o.knowledgeId) || !(o != null && o.docId))) {
|
|
35
|
-
if (o.sourceType === g.WebLink) {
|
|
36
|
-
window.open(o.webLink);
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
o.sourceType === g.SourceFile && window.open(`${n}?page=${i || 0}&url=${encodeURIComponent(o.sourceFileUrl)}`);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
return /* @__PURE__ */ t("div", {
|
|
43
|
-
className: "session-refer",
|
|
44
|
-
children: [/* @__PURE__ */ t(I, {
|
|
45
|
-
className: "session-refer-header",
|
|
46
|
-
size: 8,
|
|
47
|
-
children: [/* @__PURE__ */ s(z, {
|
|
48
|
-
type: "icon-cankaolaiyuan",
|
|
49
|
-
style: {
|
|
50
|
-
color: "#0A51D1",
|
|
51
|
-
fontSize: 16
|
|
52
|
-
}
|
|
53
|
-
}), /* @__PURE__ */ s("span", {
|
|
54
|
-
className: "refer-header-title",
|
|
55
|
-
children: "参考来源"
|
|
56
|
-
}), /* @__PURE__ */ t("span", {
|
|
57
|
-
children: ["(共 ", ((c = e == null ? void 0 : e.reference) == null ? void 0 : c.length) || 0, " 项)"]
|
|
58
|
-
})]
|
|
59
|
-
}), /* @__PURE__ */ s("div", {
|
|
60
|
-
className: "session-refer-content",
|
|
61
|
-
children: /* @__PURE__ */ s(C, {
|
|
62
|
-
ghost: !0,
|
|
63
|
-
defaultActiveKey: (m = r == null ? void 0 : r.reference) != null && m.isExpand ? (p = e == null ? void 0 : e.reference) == null ? void 0 : p.map((o, i) => o.docId + i) : [],
|
|
64
|
-
children: (u = e == null ? void 0 : e.reference) == null ? void 0 : u.map((o, i) => /* @__PURE__ */ s(P, {
|
|
65
|
-
header: /* @__PURE__ */ t(I, {
|
|
66
|
-
className: "session-refer-panel",
|
|
67
|
-
children: [/* @__PURE__ */ t("span", {
|
|
68
|
-
className: "refer-panel-item",
|
|
69
|
-
children: [i + 1, "."]
|
|
70
|
-
}), d && /* @__PURE__ */ s(A, {
|
|
71
|
-
data: o,
|
|
72
|
-
loadPage: (x, S, D) => d.getKnowledgeIdFileIdData(x, S, D).then(($) => {
|
|
73
|
-
const l = ($ || []).find((y) => y.key === "pages_from");
|
|
74
|
-
return (l == null ? void 0 : l.value) || 0;
|
|
75
|
-
}),
|
|
76
|
-
onClick: v
|
|
77
|
-
})]
|
|
78
|
-
}),
|
|
79
|
-
children: /* @__PURE__ */ s("div", {
|
|
80
|
-
className: "refer-markdown",
|
|
81
|
-
children: /* @__PURE__ */ s(L, k(w({}, N), {
|
|
82
|
-
children: o.text || "-"
|
|
83
|
-
}))
|
|
84
|
-
})
|
|
85
|
-
}, o.docId + i))
|
|
86
|
-
})
|
|
87
|
-
})]
|
|
88
|
-
});
|
|
89
|
-
};
|
|
90
|
-
export {
|
|
91
|
-
X as default
|
|
92
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { Space as r } from "antd";
|
|
3
|
-
/* empty css */import { removeNewlines as m } from "../../../../utils/index.mjs";
|
|
4
|
-
import c from "../../../../components/Iconfont/index.mjs";
|
|
5
|
-
import "../../../../packages/react-components/dist/es/index.mjs";
|
|
6
|
-
import { Markdown as l } from "../../../../packages/react-components/dist/es/components/Markdown/index.mjs";
|
|
7
|
-
const z = (n) => {
|
|
8
|
-
const {
|
|
9
|
-
history: d,
|
|
10
|
-
onRelatedClick: i,
|
|
11
|
-
relatedQuesion: t
|
|
12
|
-
} = n;
|
|
13
|
-
return /* @__PURE__ */ o(r, {
|
|
14
|
-
className: "session-related",
|
|
15
|
-
direction: "vertical",
|
|
16
|
-
size: 12,
|
|
17
|
-
children: [/* @__PURE__ */ o(r, {
|
|
18
|
-
className: "session-related-header",
|
|
19
|
-
size: 8,
|
|
20
|
-
children: [/* @__PURE__ */ e(c, {
|
|
21
|
-
type: "icon-xiangguanwenti",
|
|
22
|
-
style: {
|
|
23
|
-
color: "#0A51D1",
|
|
24
|
-
fontSize: 16
|
|
25
|
-
}
|
|
26
|
-
}), /* @__PURE__ */ e("span", {
|
|
27
|
-
className: "question-header-title",
|
|
28
|
-
children: "相关问题"
|
|
29
|
-
})]
|
|
30
|
-
}), /* @__PURE__ */ e(r, {
|
|
31
|
-
className: "session-related-main",
|
|
32
|
-
direction: "vertical",
|
|
33
|
-
size: 12,
|
|
34
|
-
children: t.map((s, a) => /* @__PURE__ */ e("div", {
|
|
35
|
-
className: "question-main-item",
|
|
36
|
-
onClick: () => i == null ? void 0 : i(m(s)),
|
|
37
|
-
children: /* @__PURE__ */ e(l, {
|
|
38
|
-
children: s
|
|
39
|
-
})
|
|
40
|
-
}, a))
|
|
41
|
-
})]
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
export {
|
|
45
|
-
z as default
|
|
46
|
-
};
|
|
@@ -1,384 +0,0 @@
|
|
|
1
|
-
var Ce = Object.defineProperty, ye = Object.defineProperties;
|
|
2
|
-
var Le = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var K = Object.getOwnPropertySymbols;
|
|
4
|
-
var ve = Object.prototype.hasOwnProperty, Re = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var X = (s, i, l) => i in s ? Ce(s, i, { enumerable: !0, configurable: !0, writable: !0, value: l }) : s[i] = l, L = (s, i) => {
|
|
6
|
-
for (var l in i || (i = {}))
|
|
7
|
-
ve.call(i, l) && X(s, l, i[l]);
|
|
8
|
-
if (K)
|
|
9
|
-
for (var l of K(i))
|
|
10
|
-
Re.call(i, l) && X(s, l, i[l]);
|
|
11
|
-
return s;
|
|
12
|
-
}, v = (s, i) => ye(s, Le(i));
|
|
13
|
-
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
14
|
-
import { memo as N, useContext as Se, useState as Ee } from "react";
|
|
15
|
-
import c from "./InputProgress/index.mjs";
|
|
16
|
-
import be from "./SessionRefer/index.mjs";
|
|
17
|
-
import ke from "./SessionAction/index.mjs";
|
|
18
|
-
import { IHistoryRole as Y, ApplicationTypes as Z, IThinkingStatus as ee } from "@glodon-aiot/apis";
|
|
19
|
-
import Ae from "./FileItem/index.mjs";
|
|
20
|
-
import { Row as ne, Col as te, Popover as Te, Space as ie, Button as le, Collapse as se, Divider as xe, message as Oe } from "antd";
|
|
21
|
-
import Fe from "./SearchReference/index.mjs";
|
|
22
|
-
/* empty css */import "../../../packages/react-components/dist/es/index.mjs";
|
|
23
|
-
import _e from "classnames";
|
|
24
|
-
import m from "../../../components/Iconfont/index.mjs";
|
|
25
|
-
import { CheckOutlined as re, CloseOutlined as ae, LoadingOutlined as Ie } from "@ant-design/icons";
|
|
26
|
-
import u from "../../../components/JsonDisplay/index.mjs";
|
|
27
|
-
import Ue from "../../../context.mjs";
|
|
28
|
-
import je from "./SessionRelated/index.mjs";
|
|
29
|
-
import ze from "copy-to-clipboard";
|
|
30
|
-
import { escapeSlash as we } from "../../../utils/index.mjs";
|
|
31
|
-
import { withAgentCliMessage as Be } from "../../../utils/scopedMessage.mjs";
|
|
32
|
-
import Me from "../../../assets/think.svg.mjs";
|
|
33
|
-
import { Markdown as Je } from "../../../packages/react-components/dist/es/components/Markdown/index.mjs";
|
|
34
|
-
const Pe = (s) => {
|
|
35
|
-
if (!s)
|
|
36
|
-
return s;
|
|
37
|
-
try {
|
|
38
|
-
return JSON.parse(s);
|
|
39
|
-
} catch (i) {
|
|
40
|
-
return s;
|
|
41
|
-
}
|
|
42
|
-
}, Qe = N(Fe), oe = N(be), h = N(Je), de = N(Ae), g = (s) => {
|
|
43
|
-
if (!s)
|
|
44
|
-
return !1;
|
|
45
|
-
try {
|
|
46
|
-
const i = JSON.parse(s);
|
|
47
|
-
return !(i != null && i.code && (i.code < 200 || i.code > 300));
|
|
48
|
-
} catch (i) {
|
|
49
|
-
return !0;
|
|
50
|
-
}
|
|
51
|
-
}, pe = (s) => {
|
|
52
|
-
var n;
|
|
53
|
-
const i = JSON.parse(JSON.stringify(s)) || [], l = (n = i == null ? void 0 : i.pop()) == null ? void 0 : n.pop();
|
|
54
|
-
return l ? (l == null ? void 0 : l.type) === "BEFORE_CALL" || (l == null ? void 0 : l.type) === "FUNCTION_CALL" : !1;
|
|
55
|
-
}, hn = (s) => {
|
|
56
|
-
var b, k, A, T, x, O, F, _, I, U, j, z;
|
|
57
|
-
const {
|
|
58
|
-
application: i,
|
|
59
|
-
currentSession: l,
|
|
60
|
-
history: n,
|
|
61
|
-
isLastHistory: f,
|
|
62
|
-
onRelatedClick: ce,
|
|
63
|
-
onAgainClick: me,
|
|
64
|
-
isLoading: qe,
|
|
65
|
-
docViewerUrl: d,
|
|
66
|
-
onEditClick: C,
|
|
67
|
-
actions: ue = !0,
|
|
68
|
-
markdown: p
|
|
69
|
-
} = s, {
|
|
70
|
-
debug: R,
|
|
71
|
-
transform: r,
|
|
72
|
-
popupContainer: he
|
|
73
|
-
} = Se(Ue), S = n.role === Y.User, E = n.role === Y.Robot, {
|
|
74
|
-
Panel: ge
|
|
75
|
-
} = se, [y, Ne] = Ee(!0), fe = () => {
|
|
76
|
-
Be(he, () => {
|
|
77
|
-
ze(n.content), Oe.success("复制成功");
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
return /* @__PURE__ */ o("div", {
|
|
81
|
-
className: _e({
|
|
82
|
-
"history-item": !0,
|
|
83
|
-
"history-item__user": S,
|
|
84
|
-
"history-item__bot": E
|
|
85
|
-
}),
|
|
86
|
-
children: [S && /* @__PURE__ */ o("div", {
|
|
87
|
-
className: "history-item-user",
|
|
88
|
-
children: [i.type === 0 && ((b = n == null ? void 0 : n.imageContent) == null ? void 0 : b.length) && /* @__PURE__ */ e("div", {
|
|
89
|
-
className: "item-user-images",
|
|
90
|
-
children: /* @__PURE__ */ e(h, {
|
|
91
|
-
children: n.imageContent.map((t, w) => ``).join(`
|
|
92
|
-
|
|
93
|
-
`)
|
|
94
|
-
})
|
|
95
|
-
}), i.type === Z.Dialog && /* @__PURE__ */ e("div", {
|
|
96
|
-
className: "item-user-file-dialog",
|
|
97
|
-
children: /* @__PURE__ */ e(ne, {
|
|
98
|
-
gutter: [12, 12],
|
|
99
|
-
justify: "end",
|
|
100
|
-
wrap: !0,
|
|
101
|
-
children: (k = n.files) == null ? void 0 : k.map((t) => /* @__PURE__ */ e(te, {
|
|
102
|
-
className: "user-file-col",
|
|
103
|
-
children: /* @__PURE__ */ e(de, {
|
|
104
|
-
docViewerUrl: d,
|
|
105
|
-
currentSession: l,
|
|
106
|
-
file: t
|
|
107
|
-
})
|
|
108
|
-
}, t.id))
|
|
109
|
-
})
|
|
110
|
-
}), /* @__PURE__ */ e("div", {
|
|
111
|
-
className: "item-user-panel",
|
|
112
|
-
children: /* @__PURE__ */ e(Te, {
|
|
113
|
-
placement: "topLeft",
|
|
114
|
-
overlayStyle: {
|
|
115
|
-
padding: 4
|
|
116
|
-
},
|
|
117
|
-
overlayClassName: "session-item-overlay-popover",
|
|
118
|
-
getPopupContainer: (t) => t.parentNode,
|
|
119
|
-
content: r != null && r.userEdit || r != null && r.userCopy ? /* @__PURE__ */ o(ie, {
|
|
120
|
-
className: "item-user-popover",
|
|
121
|
-
size: 4,
|
|
122
|
-
children: [(r == null ? void 0 : r.userEdit) && /* @__PURE__ */ e("div", {
|
|
123
|
-
className: "user-pannel-item",
|
|
124
|
-
onClick: () => C == null ? void 0 : C(n.content),
|
|
125
|
-
children: /* @__PURE__ */ e(le, {
|
|
126
|
-
type: "link",
|
|
127
|
-
size: "small",
|
|
128
|
-
icon: /* @__PURE__ */ e(m, {
|
|
129
|
-
type: "icon-bianji2"
|
|
130
|
-
})
|
|
131
|
-
})
|
|
132
|
-
}), (r == null ? void 0 : r.userCopy) && /* @__PURE__ */ e("div", {
|
|
133
|
-
className: "user-pannel-item",
|
|
134
|
-
onClick: fe,
|
|
135
|
-
children: /* @__PURE__ */ e(le, {
|
|
136
|
-
type: "link",
|
|
137
|
-
size: "small",
|
|
138
|
-
icon: /* @__PURE__ */ e(m, {
|
|
139
|
-
type: "icon-fuzhi",
|
|
140
|
-
style: {
|
|
141
|
-
fontSize: "16px"
|
|
142
|
-
}
|
|
143
|
-
})
|
|
144
|
-
})
|
|
145
|
-
})]
|
|
146
|
-
}) : null,
|
|
147
|
-
children: /* @__PURE__ */ e("div", {
|
|
148
|
-
className: "user-panel-main",
|
|
149
|
-
children: /* @__PURE__ */ e("span", {
|
|
150
|
-
className: "item-user-content",
|
|
151
|
-
children: /* @__PURE__ */ e(h, {
|
|
152
|
-
showLatex: !1,
|
|
153
|
-
children: we(n.content)
|
|
154
|
-
})
|
|
155
|
-
})
|
|
156
|
-
})
|
|
157
|
-
})
|
|
158
|
-
}), i.type === Z.Agent && /* @__PURE__ */ e("div", {
|
|
159
|
-
className: "item-user-file",
|
|
160
|
-
children: /* @__PURE__ */ e(ne, {
|
|
161
|
-
gutter: [12, 12],
|
|
162
|
-
justify: "end",
|
|
163
|
-
wrap: !0,
|
|
164
|
-
children: (A = n.files) == null ? void 0 : A.map((t) => /* @__PURE__ */ e(te, {
|
|
165
|
-
className: "user-file-col",
|
|
166
|
-
children: /* @__PURE__ */ e(de, {
|
|
167
|
-
docViewerUrl: d,
|
|
168
|
-
currentSession: l,
|
|
169
|
-
file: t
|
|
170
|
-
})
|
|
171
|
-
}, t.id))
|
|
172
|
-
})
|
|
173
|
-
})]
|
|
174
|
-
}), E && /* @__PURE__ */ e("div", {
|
|
175
|
-
className: "history-item-bot",
|
|
176
|
-
children: /* @__PURE__ */ o("div", {
|
|
177
|
-
className: "bot-content-wrapper",
|
|
178
|
-
children: [i.type === 2 && /* @__PURE__ */ o("div", {
|
|
179
|
-
className: "item-bot-plugin",
|
|
180
|
-
children: [/* @__PURE__ */ e(se, {
|
|
181
|
-
ghost: !0,
|
|
182
|
-
expandIconPosition: "right",
|
|
183
|
-
children: (T = n.actions) == null ? void 0 : T.map((t, w) => {
|
|
184
|
-
var B, M, J, P, Q, q, D, H, $, V, W, G;
|
|
185
|
-
return /* @__PURE__ */ o(ge, {
|
|
186
|
-
collapsible: R ? "header" : "icon",
|
|
187
|
-
showArrow: R,
|
|
188
|
-
header: /* @__PURE__ */ o(ie, {
|
|
189
|
-
size: 8,
|
|
190
|
-
style: {
|
|
191
|
-
width: "100%"
|
|
192
|
-
},
|
|
193
|
-
children: [/* @__PURE__ */ o("span", {
|
|
194
|
-
className: "bot-plugin-status",
|
|
195
|
-
children: [(t[t.length - 1].type === "RESULT" || t[t.length - 1].type === "AFTER_CALL") && g((B = t.find((a) => a.type === "RESULT")) == null ? void 0 : B.data.result) && /* @__PURE__ */ e("span", {
|
|
196
|
-
className: "plugin-status-success",
|
|
197
|
-
children: /* @__PURE__ */ e(re, {})
|
|
198
|
-
}), t[t.length - 1].type === "ABORT" && /* @__PURE__ */ e("span", {
|
|
199
|
-
className: "plugin-status-error",
|
|
200
|
-
children: /* @__PURE__ */ e(ae, {})
|
|
201
|
-
}), (t[t.length - 1].type === "RESULT" || t[t.length - 1].type === "AFTER_CALL") && !g((M = t.find((a) => a.type === "RESULT")) == null ? void 0 : M.data.result) && /* @__PURE__ */ e("span", {
|
|
202
|
-
className: "plugin-status-error",
|
|
203
|
-
children: /* @__PURE__ */ e(ae, {})
|
|
204
|
-
}), (t[t.length - 1].type === "BEFORE_CALL" || t[t.length - 1].type === "FUNCTION_CALL") && /* @__PURE__ */ e("span", {
|
|
205
|
-
className: "plugin-status-loading",
|
|
206
|
-
children: /* @__PURE__ */ e(Ie, {})
|
|
207
|
-
})]
|
|
208
|
-
}), /* @__PURE__ */ e("span", {
|
|
209
|
-
className: "bot-plugin-title",
|
|
210
|
-
children: ((J = t[t.length - 1].data) == null ? void 0 : J.pluginName) || ((P = t[t.length - 1].data) == null ? void 0 : P.pluginCode)
|
|
211
|
-
}), /* @__PURE__ */ e("span", {
|
|
212
|
-
className: "bot-plugin-action",
|
|
213
|
-
children: ((Q = t[t.length - 1].data) == null ? void 0 : Q.funcName) || ((q = t[t.length - 1].data) == null ? void 0 : q.funcCode)
|
|
214
|
-
}), (t[t.length - 1].type === "BEFORE_CALL" || t[t.length - 1].type === "FUNCTION_CALL") && /* @__PURE__ */ e("span", {
|
|
215
|
-
className: "bot-plugin-result",
|
|
216
|
-
children: "执行中"
|
|
217
|
-
}), (t[t.length - 1].type === "RESULT" || t[t.length - 1].type === "AFTER_CALL") && g((D = t.find((a) => a.type === "RESULT")) == null ? void 0 : D.data.result) && /* @__PURE__ */ e("span", {
|
|
218
|
-
className: "bot-plugin-result",
|
|
219
|
-
children: "执行成功"
|
|
220
|
-
}), (t[t.length - 1].type === "RESULT" || t[t.length - 1].type === "AFTER_CALL") && !g((H = t.find((a) => a.type === "RESULT")) == null ? void 0 : H.data.result) && /* @__PURE__ */ e("span", {
|
|
221
|
-
className: "bot-plugin-result",
|
|
222
|
-
children: "执行失败"
|
|
223
|
-
}), t[t.length - 1].type === "ABORT" && /* @__PURE__ */ e("span", {
|
|
224
|
-
className: "bot-plugin-result",
|
|
225
|
-
children: "执行中止"
|
|
226
|
-
})]
|
|
227
|
-
}),
|
|
228
|
-
children: [/* @__PURE__ */ e("div", {
|
|
229
|
-
className: "bot-plugin-content",
|
|
230
|
-
children: "thought"
|
|
231
|
-
}), /* @__PURE__ */ e("div", {
|
|
232
|
-
className: "bot-plugin-json",
|
|
233
|
-
children: /* @__PURE__ */ e(u, {
|
|
234
|
-
josn: ($ = t.find((a) => a.type === "BEFORE_CALL")) == null ? void 0 : $.data.thought
|
|
235
|
-
})
|
|
236
|
-
}), /* @__PURE__ */ e("div", {
|
|
237
|
-
className: "bot-plugin-content",
|
|
238
|
-
children: "parameters"
|
|
239
|
-
}), /* @__PURE__ */ e("div", {
|
|
240
|
-
className: "bot-plugin-json",
|
|
241
|
-
children: /* @__PURE__ */ e(u, {
|
|
242
|
-
josn: (V = t.find((a) => a.type === "BEFORE_CALL")) == null ? void 0 : V.data.parameters
|
|
243
|
-
})
|
|
244
|
-
}), /* @__PURE__ */ e("div", {
|
|
245
|
-
className: "bot-plugin-content",
|
|
246
|
-
children: "requestBody"
|
|
247
|
-
}), /* @__PURE__ */ e("div", {
|
|
248
|
-
className: "bot-plugin-json",
|
|
249
|
-
children: /* @__PURE__ */ e(u, {
|
|
250
|
-
josn: (W = t.find((a) => a.type === "BEFORE_CALL")) == null ? void 0 : W.data.requestBody
|
|
251
|
-
})
|
|
252
|
-
}), /* @__PURE__ */ e("div", {
|
|
253
|
-
className: "bot-plugin-content",
|
|
254
|
-
children: "Response"
|
|
255
|
-
}), /* @__PURE__ */ e("div", {
|
|
256
|
-
className: "bot-plugin-json",
|
|
257
|
-
children: /* @__PURE__ */ e(u, {
|
|
258
|
-
josn: Pe((G = t.find((a) => a.type === "RESULT")) == null ? void 0 : G.data.result)
|
|
259
|
-
})
|
|
260
|
-
})]
|
|
261
|
-
}, w);
|
|
262
|
-
})
|
|
263
|
-
}), n.isLoading && /* @__PURE__ */ e("div", {
|
|
264
|
-
className: "history-input-progress",
|
|
265
|
-
style: {
|
|
266
|
-
padding: "4px 0"
|
|
267
|
-
},
|
|
268
|
-
children: n.content || pe(n.actions) ? null : /* @__PURE__ */ e(c, {
|
|
269
|
-
size: 4,
|
|
270
|
-
text: "思考中"
|
|
271
|
-
})
|
|
272
|
-
})]
|
|
273
|
-
}), !!((x = n.searchReference) != null && x.length) && /* @__PURE__ */ e("div", {
|
|
274
|
-
className: "item-bot-net",
|
|
275
|
-
children: /* @__PURE__ */ e(Qe, {
|
|
276
|
-
history: n
|
|
277
|
-
})
|
|
278
|
-
}), (O = n == null ? void 0 : n.reference) != null && O.length && ((F = r == null ? void 0 : r.reference) != null && F.referenceFirst) ? /* @__PURE__ */ e(oe, {
|
|
279
|
-
history: n,
|
|
280
|
-
docViewerUrl: d,
|
|
281
|
-
markdown: p
|
|
282
|
-
}) : null, /* @__PURE__ */ o("div", {
|
|
283
|
-
className: "item-bot-content",
|
|
284
|
-
children: [(n == null ? void 0 : n.reasoningContent) && /* @__PURE__ */ o("div", {
|
|
285
|
-
className: "content-think",
|
|
286
|
-
children: [(n == null ? void 0 : n.reasoningContent) && /* @__PURE__ */ o("div", {
|
|
287
|
-
className: "think-top",
|
|
288
|
-
onClick: () => {
|
|
289
|
-
Ne(!y);
|
|
290
|
-
},
|
|
291
|
-
children: [/* @__PURE__ */ e("img", {
|
|
292
|
-
src: Me,
|
|
293
|
-
alt: ""
|
|
294
|
-
}), (n == null ? void 0 : n.reasoningContent) && !(n != null && n.content) && /* @__PURE__ */ e("span", {
|
|
295
|
-
children: "我正在推理思考…"
|
|
296
|
-
}), (n == null ? void 0 : n.reasoningContent) && n.content && /* @__PURE__ */ o("span", {
|
|
297
|
-
children: ["已完成推理(用时 ", (n == null ? void 0 : n.thinkingSecs) || 0, " 秒)"]
|
|
298
|
-
}), /* @__PURE__ */ e("span", {
|
|
299
|
-
className: "think-action",
|
|
300
|
-
children: y ? /* @__PURE__ */ e(m, {
|
|
301
|
-
type: "icon-zhankai",
|
|
302
|
-
style: {
|
|
303
|
-
fontSize: 16
|
|
304
|
-
}
|
|
305
|
-
}) : /* @__PURE__ */ e(m, {
|
|
306
|
-
type: "icon-shouqi",
|
|
307
|
-
style: {
|
|
308
|
-
fontSize: 16
|
|
309
|
-
}
|
|
310
|
-
})
|
|
311
|
-
})]
|
|
312
|
-
}), !!((_ = n == null ? void 0 : n.reasoningContent) != null && _.trim()) && y && /* @__PURE__ */ o("div", {
|
|
313
|
-
className: "think-bottom",
|
|
314
|
-
children: [/* @__PURE__ */ o("div", {
|
|
315
|
-
className: "bottom-left",
|
|
316
|
-
children: [(n == null ? void 0 : n.thinkingStatus) === ee.Start && /* @__PURE__ */ e("div", {
|
|
317
|
-
className: "thinking"
|
|
318
|
-
}), (n == null ? void 0 : n.thinkingStatus) === ee.End && /* @__PURE__ */ e("div", {
|
|
319
|
-
className: "thinked",
|
|
320
|
-
children: /* @__PURE__ */ e(re, {})
|
|
321
|
-
})]
|
|
322
|
-
}), /* @__PURE__ */ e("div", {
|
|
323
|
-
className: "bottom-right",
|
|
324
|
-
children: /* @__PURE__ */ e(h, v(L({}, p), {
|
|
325
|
-
children: (n == null ? void 0 : n.reasoningContent) || ""
|
|
326
|
-
}))
|
|
327
|
-
})]
|
|
328
|
-
})]
|
|
329
|
-
}), /* @__PURE__ */ e(h, v(L({}, p), {
|
|
330
|
-
children: n.content
|
|
331
|
-
}))]
|
|
332
|
-
}), (I = n == null ? void 0 : n.reference) != null && I.length && !((U = r == null ? void 0 : r.reference) != null && U.referenceFirst) ? /* @__PURE__ */ e(oe, {
|
|
333
|
-
history: n,
|
|
334
|
-
docViewerUrl: d,
|
|
335
|
-
markdown: p
|
|
336
|
-
}) : null, n.isRelatedQuestion && f ? /* @__PURE__ */ e("div", {
|
|
337
|
-
style: {
|
|
338
|
-
paddingBottom: 12
|
|
339
|
-
},
|
|
340
|
-
children: /* @__PURE__ */ e(c, {
|
|
341
|
-
size: 4
|
|
342
|
-
})
|
|
343
|
-
}) : null, n.isRelateLoading && /* @__PURE__ */ e("div", {
|
|
344
|
-
className: "history-input-progress",
|
|
345
|
-
style: {
|
|
346
|
-
padding: "4px 0"
|
|
347
|
-
},
|
|
348
|
-
children: pe(n.actions) ? null : /* @__PURE__ */ e(c, {
|
|
349
|
-
size: 4,
|
|
350
|
-
text: "思考中"
|
|
351
|
-
})
|
|
352
|
-
}), i.arrange[0].recommendQuestionOpen && (r == null ? void 0 : r.relate) && f && !!((j = n.relatedQuesion) != null && j.length) && /* @__PURE__ */ e(je, {
|
|
353
|
-
relatedQuesion: n.relatedQuesion,
|
|
354
|
-
onRelatedClick: ce
|
|
355
|
-
}), ue && !n.isSensitive && !!n.messageId && /* @__PURE__ */ e(ke, {
|
|
356
|
-
appId: i.id,
|
|
357
|
-
history: n,
|
|
358
|
-
sessionId: (z = l == null ? void 0 : l.data) == null ? void 0 : z.id,
|
|
359
|
-
onAgainClick: me,
|
|
360
|
-
isLastHistory: f,
|
|
361
|
-
currentSession: l
|
|
362
|
-
})]
|
|
363
|
-
})
|
|
364
|
-
}), n.isContext && /* @__PURE__ */ o(xe, {
|
|
365
|
-
children: [/* @__PURE__ */ e("div", {
|
|
366
|
-
style: {
|
|
367
|
-
color: "#84868C",
|
|
368
|
-
fontSize: "12px"
|
|
369
|
-
},
|
|
370
|
-
children: "已开启新话题"
|
|
371
|
-
}), " "]
|
|
372
|
-
}), n.isWaiting && /* @__PURE__ */ e("div", {
|
|
373
|
-
className: "history-input-progress",
|
|
374
|
-
children: /* @__PURE__ */ e(c, {
|
|
375
|
-
size: 4,
|
|
376
|
-
text: "思考中"
|
|
377
|
-
})
|
|
378
|
-
})]
|
|
379
|
-
});
|
|
380
|
-
};
|
|
381
|
-
export {
|
|
382
|
-
hn as default,
|
|
383
|
-
g as isResultExec
|
|
384
|
-
};
|