@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glodon-aiot/agent-cli-ui",
|
|
3
|
-
"version": "3.19.0-
|
|
3
|
+
"version": "3.19.0-beta.31",
|
|
4
4
|
"module": "./dist/es/index.mjs",
|
|
5
5
|
"main": "./dist/lib/index.js",
|
|
6
6
|
"typings": "./dist/src/index.d.ts",
|
|
@@ -29,28 +29,27 @@
|
|
|
29
29
|
"docs": "start-storybook -p 6006",
|
|
30
30
|
"commit": "cz"
|
|
31
31
|
},
|
|
32
|
-
"peerDependencies": {
|
|
33
|
-
"antd": ">=4.0.0",
|
|
34
|
-
"react": ">=16.9.0",
|
|
35
|
-
"react-dom": ">=16.9.0",
|
|
36
|
-
"webpack": "*"
|
|
37
|
-
},
|
|
38
32
|
"dependencies": {
|
|
39
33
|
"@ant-design/icons": "^5.3.4",
|
|
40
|
-
"@glodon-aiot/apis": "^3.19.0-
|
|
41
|
-
"@glodon-aiot/bot-client-sdk": "^3.19.0-
|
|
34
|
+
"@glodon-aiot/apis": "^3.19.0-beta.31",
|
|
35
|
+
"@glodon-aiot/bot-client-sdk": "^3.19.0-beta.31",
|
|
36
|
+
"@glodon-aiot/react-components": "^3.19.0-beta.31",
|
|
42
37
|
"@matejmazur/react-mathjax": "^0.1.10",
|
|
43
38
|
"@react-pdf-viewer/core": "^3.12.0",
|
|
44
39
|
"@react-pdf-viewer/default-layout": "^3.12.0",
|
|
45
40
|
"@react-pdf-viewer/locales": "^1.0.0",
|
|
46
41
|
"@react-pdf-viewer/toolbar": "^3.12.0",
|
|
47
42
|
"ahooks": "^3.8.5",
|
|
43
|
+
"antd": "^4.24.16",
|
|
48
44
|
"axios": "0.24.0",
|
|
49
45
|
"classnames": "^2.5.1",
|
|
50
46
|
"copy-to-clipboard": "^3.3.3",
|
|
51
47
|
"dayjs": "^1.11.13",
|
|
52
48
|
"lodash": "^4.17.21",
|
|
49
|
+
"pdfjs-dist": "^3.0.279",
|
|
53
50
|
"quill-delta": "^5.1.0",
|
|
51
|
+
"react": ">=17.0.0 <20.0.0",
|
|
52
|
+
"react-dom": ">=17.0.0 <20.0.0",
|
|
54
53
|
"react-infinite-scroll-component": "^6.1.0",
|
|
55
54
|
"react-quill-new": "^3.6.0",
|
|
56
55
|
"react-resizable": "^3.0.5",
|
|
@@ -73,8 +72,8 @@
|
|
|
73
72
|
"@storybook/react": "6.4.9",
|
|
74
73
|
"@storybook/testing-library": "^0.0.13",
|
|
75
74
|
"@types/lodash": "^4",
|
|
76
|
-
"@types/react": "^
|
|
77
|
-
"@types/react-dom": "^
|
|
75
|
+
"@types/react": "^18",
|
|
76
|
+
"@types/react-dom": "^18",
|
|
78
77
|
"@typescript-eslint/eslint-plugin": "^5.35.1",
|
|
79
78
|
"@typescript-eslint/parser": "^5.35.1",
|
|
80
79
|
"@vitejs/plugin-react": "^3.1.0",
|
|
@@ -99,8 +98,6 @@
|
|
|
99
98
|
"lint-staged": ">=10",
|
|
100
99
|
"postcss-loader": "^7.2.4",
|
|
101
100
|
"prettier": "2.7.1",
|
|
102
|
-
"react": "^17.0.2",
|
|
103
|
-
"react-dom": "^17.0.2",
|
|
104
101
|
"require-from-string": "^2.0.2",
|
|
105
102
|
"rollup-plugin-visualizer": "^6.0.1",
|
|
106
103
|
"storybook-less-loader": "^0.1.0",
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
var K = Object.defineProperty, Q = Object.defineProperties;
|
|
2
|
-
var X = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var x = Object.getOwnPropertySymbols;
|
|
4
|
-
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var y = (o, t, e) => t in o ? K(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, f = (o, t) => {
|
|
6
|
-
for (var e in t || (t = {}))
|
|
7
|
-
Y.call(t, e) && y(o, e, t[e]);
|
|
8
|
-
if (x)
|
|
9
|
-
for (var e of x(t))
|
|
10
|
-
Z.call(t, e) && y(o, e, t[e]);
|
|
11
|
-
return o;
|
|
12
|
-
}, g = (o, t) => Q(o, X(t));
|
|
13
|
-
import { jsx as s, jsxs as R } from "react/jsx-runtime";
|
|
14
|
-
import { forwardRef as _, useRef as S, useState as m, useEffect as U, useImperativeHandle as B } from "react";
|
|
15
|
-
/* empty css */import { AgentClientProvider as z } from "./context.mjs";
|
|
16
|
-
import { Resizable as ee } from "react-resizable";
|
|
17
|
-
import te from "./Dialog/index.mjs";
|
|
18
|
-
import { SessionProvider as ne } from "./context/SessionContext.mjs";
|
|
19
|
-
import { ConfigProvider as k, Spin as oe, Button as A } from "antd";
|
|
20
|
-
import ie from "antd/es/locale/zh_CN";
|
|
21
|
-
const xe = _((o, t) => {
|
|
22
|
-
const {
|
|
23
|
-
className: e,
|
|
24
|
-
triggerButton: r,
|
|
25
|
-
size: n,
|
|
26
|
-
theme: L,
|
|
27
|
-
icon: p,
|
|
28
|
-
docViewerUrl: $,
|
|
29
|
-
token: se,
|
|
30
|
-
debug: le,
|
|
31
|
-
env: re,
|
|
32
|
-
plugins: ae,
|
|
33
|
-
mcp: de,
|
|
34
|
-
footer: H,
|
|
35
|
-
defaultInput: P,
|
|
36
|
-
onComment: j,
|
|
37
|
-
onSessionLoad: M,
|
|
38
|
-
onSessionUnload: T,
|
|
39
|
-
onMessage: W,
|
|
40
|
-
beforeMessageSend: D,
|
|
41
|
-
bodyStyle: u,
|
|
42
|
-
apiUrl: me,
|
|
43
|
-
sessionId: E,
|
|
44
|
-
disabled: O,
|
|
45
|
-
transform: V,
|
|
46
|
-
features: q,
|
|
47
|
-
stream: ce,
|
|
48
|
-
agentClient: c,
|
|
49
|
-
application: a
|
|
50
|
-
} = o, b = S(null), [F, he] = m(!1), [C, G] = m(), [i, v] = m(n), [w, I] = m(o.open), d = S(null);
|
|
51
|
-
U(() => {
|
|
52
|
-
a && (console.log("[AgentClientUI] token", c, a), G(a.id));
|
|
53
|
-
}, [a]), k.config({
|
|
54
|
-
theme: L
|
|
55
|
-
}), U(() => {
|
|
56
|
-
n && v(n);
|
|
57
|
-
}, [n]);
|
|
58
|
-
const J = (l, {
|
|
59
|
-
element: h,
|
|
60
|
-
size: N
|
|
61
|
-
}) => {
|
|
62
|
-
v({
|
|
63
|
-
width: Number(N.width),
|
|
64
|
-
height: N.height
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
return B(t, () => ({
|
|
68
|
-
createSession: (l) => {
|
|
69
|
-
var h;
|
|
70
|
-
return (h = d.current) == null ? void 0 : h.createSession(l);
|
|
71
|
-
},
|
|
72
|
-
getSessionList: () => {
|
|
73
|
-
var l;
|
|
74
|
-
return (l = d.current) == null ? void 0 : l.getSessionList();
|
|
75
|
-
},
|
|
76
|
-
// 新增:获取当前输入框内容
|
|
77
|
-
getCurrentInputText: () => {
|
|
78
|
-
var l;
|
|
79
|
-
return (l = d.current) == null ? void 0 : l.getCurrentInputText();
|
|
80
|
-
}
|
|
81
|
-
})), /* @__PURE__ */ s(k, {
|
|
82
|
-
locale: ie,
|
|
83
|
-
children: /* @__PURE__ */ R(z, {
|
|
84
|
-
value: g(f({}, o), {
|
|
85
|
-
popupContainer: b,
|
|
86
|
-
agentClient: c,
|
|
87
|
-
footer: H,
|
|
88
|
-
defaultInput: P,
|
|
89
|
-
onComment: j,
|
|
90
|
-
onSessionLoad: M,
|
|
91
|
-
onSessionUnload: T,
|
|
92
|
-
onMessage: W,
|
|
93
|
-
beforeMessageSend: D,
|
|
94
|
-
bodyStyle: u,
|
|
95
|
-
disabled: O,
|
|
96
|
-
transform: V,
|
|
97
|
-
features: q
|
|
98
|
-
}),
|
|
99
|
-
children: [/* @__PURE__ */ s(ee, {
|
|
100
|
-
height: (i == null ? void 0 : i.height) || "100%",
|
|
101
|
-
width: (i == null ? void 0 : i.width) || "100%",
|
|
102
|
-
maxConstraints: [document.body.clientWidth - 45],
|
|
103
|
-
minConstraints: [Number(n == null ? void 0 : n.minWidth)],
|
|
104
|
-
onResize: J,
|
|
105
|
-
handle: /* @__PURE__ */ s("span", {
|
|
106
|
-
className: "resize-handle-ew"
|
|
107
|
-
}),
|
|
108
|
-
resizeHandles: e == "float" ? ["w"] : [],
|
|
109
|
-
children: /* @__PURE__ */ R("div", {
|
|
110
|
-
id: "dialog-modal",
|
|
111
|
-
className: `gbot-dialog-modal ${e} ${w ? "opened" : "closed"}`,
|
|
112
|
-
style: g(f({}, n), {
|
|
113
|
-
width: e == "float" ? i == null ? void 0 : i.width : n == null ? void 0 : n.width,
|
|
114
|
-
height: e === "float" ? i == null ? void 0 : i.height : n == null ? void 0 : n.height,
|
|
115
|
-
maxHeight: "100vh"
|
|
116
|
-
}),
|
|
117
|
-
ref: b,
|
|
118
|
-
children: [F ? /* @__PURE__ */ s("div", {
|
|
119
|
-
className: "loading",
|
|
120
|
-
children: /* @__PURE__ */ s(oe, {})
|
|
121
|
-
}) : C && c ? /* @__PURE__ */ s(ne, {
|
|
122
|
-
children: /* @__PURE__ */ s(te, {
|
|
123
|
-
ref: d,
|
|
124
|
-
appId: C,
|
|
125
|
-
docViewerUrl: $,
|
|
126
|
-
bodyStyle: u,
|
|
127
|
-
sessionId: E
|
|
128
|
-
})
|
|
129
|
-
}) : null, (r == null ? void 0 : r.visible) && /* @__PURE__ */ s(A, {
|
|
130
|
-
className: "trigger-btn close-btn",
|
|
131
|
-
icon: /* @__PURE__ */ s("img", {
|
|
132
|
-
src: p
|
|
133
|
-
}),
|
|
134
|
-
onClick: () => I(!1)
|
|
135
|
-
})]
|
|
136
|
-
})
|
|
137
|
-
}), (r == null ? void 0 : r.visible) && !w && /* @__PURE__ */ s(A, {
|
|
138
|
-
className: `${e}-trigger-btn open-btn`,
|
|
139
|
-
style: r.style,
|
|
140
|
-
icon: /* @__PURE__ */ s("img", {
|
|
141
|
-
src: p
|
|
142
|
-
}),
|
|
143
|
-
onClick: () => I(!0)
|
|
144
|
-
})]
|
|
145
|
-
})
|
|
146
|
-
});
|
|
147
|
-
});
|
|
148
|
-
export {
|
|
149
|
-
xe as default
|
|
150
|
-
};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { jsxs as l, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as v, useState as u, useEffect as y } from "react";
|
|
3
|
-
/* empty css */import { Typography as E, message as d } from "antd";
|
|
4
|
-
import { getFileExtension as C, formatFileSize as U, isValidImageUrlWithAnyExtension as S } from "../../../../utils/index.mjs";
|
|
5
|
-
import f from "../../../../context.mjs";
|
|
6
|
-
import { withAgentCliMessage as x } from "../../../../utils/scopedMessage.mjs";
|
|
7
|
-
import { FILE_ICONS as j } from "../../../../constant.mjs";
|
|
8
|
-
const P = (F) => {
|
|
9
|
-
const {
|
|
10
|
-
currentSession: s,
|
|
11
|
-
fileId: p,
|
|
12
|
-
file: r,
|
|
13
|
-
docViewerUrl: w
|
|
14
|
-
} = F, {
|
|
15
|
-
service: c,
|
|
16
|
-
popupContainer: t
|
|
17
|
-
} = v(f), [n, h] = u(), [m, g] = u("");
|
|
18
|
-
y(() => {
|
|
19
|
-
var e;
|
|
20
|
-
if (r != null && r.id) {
|
|
21
|
-
h(r);
|
|
22
|
-
const o = C(r == null ? void 0 : r.name) || "";
|
|
23
|
-
g(o);
|
|
24
|
-
} else {
|
|
25
|
-
if (!p || !((e = s == null ? void 0 : s.data) != null && e.id))
|
|
26
|
-
return;
|
|
27
|
-
c == null || c.getSessionKnowledgeFile(s.data.id, p).then((o) => {
|
|
28
|
-
h(o);
|
|
29
|
-
const I = C(o == null ? void 0 : o.name) || "";
|
|
30
|
-
g(I);
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
}, []);
|
|
34
|
-
const N = (e) => {
|
|
35
|
-
if (!(e != null && e.url)) {
|
|
36
|
-
x(t, () => {
|
|
37
|
-
d.error("链接不存在");
|
|
38
|
-
});
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
if (!S(e.url)) {
|
|
42
|
-
x(t, () => {
|
|
43
|
-
d.error("链接格式不正确");
|
|
44
|
-
});
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
window.open(`${w}?url=${encodeURIComponent(e == null ? void 0 : e.url)}`);
|
|
48
|
-
};
|
|
49
|
-
return /* @__PURE__ */ l("div", {
|
|
50
|
-
className: "file-item",
|
|
51
|
-
onClick: () => N(n),
|
|
52
|
-
children: [/* @__PURE__ */ i("div", {
|
|
53
|
-
className: "item-left",
|
|
54
|
-
children: /* @__PURE__ */ i("img", {
|
|
55
|
-
className: "file-icon",
|
|
56
|
-
src: j[m]
|
|
57
|
-
})
|
|
58
|
-
}), /* @__PURE__ */ l("div", {
|
|
59
|
-
className: "item-main",
|
|
60
|
-
children: [/* @__PURE__ */ i("div", {
|
|
61
|
-
className: "file-name",
|
|
62
|
-
children: /* @__PURE__ */ i(E.Paragraph, {
|
|
63
|
-
style: {
|
|
64
|
-
margin: 0,
|
|
65
|
-
width: "100%"
|
|
66
|
-
},
|
|
67
|
-
ellipsis: {
|
|
68
|
-
rows: 1,
|
|
69
|
-
tooltip: n == null ? void 0 : n.name
|
|
70
|
-
},
|
|
71
|
-
children: n == null ? void 0 : n.name
|
|
72
|
-
})
|
|
73
|
-
}), /* @__PURE__ */ l("div", {
|
|
74
|
-
className: "file-desc",
|
|
75
|
-
children: [/* @__PURE__ */ i("span", {
|
|
76
|
-
children: m == null ? void 0 : m.toUpperCase()
|
|
77
|
-
}), /* @__PURE__ */ i("span", {
|
|
78
|
-
children: ","
|
|
79
|
-
}), /* @__PURE__ */ i("span", {
|
|
80
|
-
children: U((n == null ? void 0 : n.size) || 0)
|
|
81
|
-
})]
|
|
82
|
-
})]
|
|
83
|
-
})]
|
|
84
|
-
});
|
|
85
|
-
};
|
|
86
|
-
export {
|
|
87
|
-
P as default
|
|
88
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
/* empty css */const o = (n) => {
|
|
3
|
-
const {
|
|
4
|
-
text: i,
|
|
5
|
-
size: s = 12
|
|
6
|
-
} = n;
|
|
7
|
-
return /* @__PURE__ */ e("span", {
|
|
8
|
-
className: "input-progress",
|
|
9
|
-
children: [/* @__PURE__ */ e("span", {
|
|
10
|
-
className: "progress-point",
|
|
11
|
-
children: [/* @__PURE__ */ t("div", {
|
|
12
|
-
className: "point point1",
|
|
13
|
-
style: {
|
|
14
|
-
width: s,
|
|
15
|
-
height: s
|
|
16
|
-
}
|
|
17
|
-
}), /* @__PURE__ */ t("div", {
|
|
18
|
-
className: "point point2",
|
|
19
|
-
style: {
|
|
20
|
-
width: s,
|
|
21
|
-
height: s
|
|
22
|
-
}
|
|
23
|
-
}), /* @__PURE__ */ t("div", {
|
|
24
|
-
className: "point point3",
|
|
25
|
-
style: {
|
|
26
|
-
width: s,
|
|
27
|
-
height: s
|
|
28
|
-
}
|
|
29
|
-
})]
|
|
30
|
-
}), i ? /* @__PURE__ */ t("span", {
|
|
31
|
-
className: "progress-waiting",
|
|
32
|
-
children: i
|
|
33
|
-
}) : null]
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
export {
|
|
37
|
-
o as default
|
|
38
|
-
};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as n, Fragment as k } from "react/jsx-runtime";
|
|
2
|
-
import { useState as S } from "react";
|
|
3
|
-
/* empty css */import { CheckOutlined as w, CloseOutlined as x } from "@ant-design/icons";
|
|
4
|
-
import { Collapse as g, Space as i } from "antd";
|
|
5
|
-
import C from "dayjs";
|
|
6
|
-
import I from "../../../../assets/think.svg.mjs";
|
|
7
|
-
const {
|
|
8
|
-
Panel: v
|
|
9
|
-
} = g, M = (u) => {
|
|
10
|
-
var r, h, o, d, m, p;
|
|
11
|
-
const {
|
|
12
|
-
history: a,
|
|
13
|
-
openTarget: N = "_blank",
|
|
14
|
-
container: l,
|
|
15
|
-
onShowList: c
|
|
16
|
-
} = u, [f, R] = S(!1), t = a.searchingStatus ? a.searchingStatus : (r = a.searchReference) != null && r.length ? "end" : "";
|
|
17
|
-
return t ? /* @__PURE__ */ e("div", {
|
|
18
|
-
className: "search-reference",
|
|
19
|
-
children: /* @__PURE__ */ n("div", {
|
|
20
|
-
className: "item-bot-plugin",
|
|
21
|
-
onClick: () => {
|
|
22
|
-
R(!f);
|
|
23
|
-
},
|
|
24
|
-
children: [t === "start" && /* @__PURE__ */ n(k, {
|
|
25
|
-
children: [/* @__PURE__ */ e("img", {
|
|
26
|
-
src: I,
|
|
27
|
-
alt: ""
|
|
28
|
-
}), /* @__PURE__ */ e("span", {
|
|
29
|
-
children: "正在搜索…"
|
|
30
|
-
})]
|
|
31
|
-
}), t === "end" && /* @__PURE__ */ e(g, {
|
|
32
|
-
ghost: !0,
|
|
33
|
-
expandIconPosition: "right",
|
|
34
|
-
onChange: c && (() => {
|
|
35
|
-
t === "end" && c(a.searchReference, a.messageId);
|
|
36
|
-
}),
|
|
37
|
-
children: /* @__PURE__ */ e(v, {
|
|
38
|
-
collapsible: l ? "disabled" : "icon",
|
|
39
|
-
showArrow: !!(t === "end" && ((h = a.searchReference) != null && h.length)),
|
|
40
|
-
header: /* @__PURE__ */ n(i, {
|
|
41
|
-
size: 8,
|
|
42
|
-
style: {
|
|
43
|
-
width: "100%"
|
|
44
|
-
},
|
|
45
|
-
children: [/* @__PURE__ */ n("span", {
|
|
46
|
-
className: "bot-plugin-status",
|
|
47
|
-
children: [t === "end" && ((o = a.searchReference) == null ? void 0 : o.length) > 0 && /* @__PURE__ */ e("span", {
|
|
48
|
-
className: "plugin-status-success",
|
|
49
|
-
children: /* @__PURE__ */ e(w, {})
|
|
50
|
-
}), t === "end" && !((d = a.searchReference) != null && d.length) && /* @__PURE__ */ e("span", {
|
|
51
|
-
className: "plugin-status-error",
|
|
52
|
-
children: /* @__PURE__ */ e(x, {})
|
|
53
|
-
})]
|
|
54
|
-
}), t === "end" && /* @__PURE__ */ e("span", {
|
|
55
|
-
className: "bot-plugin-title",
|
|
56
|
-
children: (m = a.searchReference) != null && m.length ? `已搜索到${a.searchReference.length}个网页` : "未找到搜索内容,请检查搜索服务"
|
|
57
|
-
})]
|
|
58
|
-
}),
|
|
59
|
-
children: !l && /* @__PURE__ */ e("div", {
|
|
60
|
-
className: "search-reference-list",
|
|
61
|
-
children: (p = a.searchReference) == null ? void 0 : p.map((s, b) => /* @__PURE__ */ n(i, {
|
|
62
|
-
direction: "vertical",
|
|
63
|
-
className: "search-reference-list-item",
|
|
64
|
-
onClick: () => {
|
|
65
|
-
window.open(s.link, N);
|
|
66
|
-
},
|
|
67
|
-
size: 12,
|
|
68
|
-
children: [/* @__PURE__ */ n("span", {
|
|
69
|
-
className: "search-reference-list-item-title",
|
|
70
|
-
children: [/* @__PURE__ */ n("span", {
|
|
71
|
-
className: "number",
|
|
72
|
-
children: [b + 1, "."]
|
|
73
|
-
}), s.title]
|
|
74
|
-
}), s.snippet && /* @__PURE__ */ e("span", {
|
|
75
|
-
className: "search-reference-list-item-content",
|
|
76
|
-
children: s.snippet
|
|
77
|
-
}), /* @__PURE__ */ n("div", {
|
|
78
|
-
className: "search-reference-list-item-footer",
|
|
79
|
-
children: [/* @__PURE__ */ n(i, {
|
|
80
|
-
children: [(s == null ? void 0 : s.siteIcon) && /* @__PURE__ */ e("img", {
|
|
81
|
-
className: "logo",
|
|
82
|
-
src: s == null ? void 0 : s.siteIcon
|
|
83
|
-
}), /* @__PURE__ */ e("span", {
|
|
84
|
-
className: "name",
|
|
85
|
-
children: s.siteName
|
|
86
|
-
})]
|
|
87
|
-
}), /* @__PURE__ */ e("span", {
|
|
88
|
-
className: "time",
|
|
89
|
-
children: C(s.ts || s.datePublished).format("YYYY-MM-DD")
|
|
90
|
-
})]
|
|
91
|
-
})]
|
|
92
|
-
}, s.link))
|
|
93
|
-
})
|
|
94
|
-
}, "")
|
|
95
|
-
})]
|
|
96
|
-
})
|
|
97
|
-
}) : null;
|
|
98
|
-
};
|
|
99
|
-
export {
|
|
100
|
-
M as default
|
|
101
|
-
};
|
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useState as o, useContext as D, useEffect as w } from "react";
|
|
3
|
-
import { Space as z, Popover as F, Popconfirm as L, Input as $, message as q, notification as u, Button as Q } from "antd";
|
|
4
|
-
import m from "../../../../components/Iconfont/index.mjs";
|
|
5
|
-
import G from "copy-to-clipboard";
|
|
6
|
-
import J from "classnames";
|
|
7
|
-
/* empty css */import K from "../../../../context.mjs";
|
|
8
|
-
import { withAgentCliMessage as U } from "../../../../utils/scopedMessage.mjs";
|
|
9
|
-
const V = [{
|
|
10
|
-
id: 1,
|
|
11
|
-
name: "展示信息不正确"
|
|
12
|
-
}, {
|
|
13
|
-
id: 2,
|
|
14
|
-
name: "答非所问"
|
|
15
|
-
}, {
|
|
16
|
-
id: 3,
|
|
17
|
-
name: "答案包含有害信息"
|
|
18
|
-
}, {
|
|
19
|
-
id: 4,
|
|
20
|
-
name: "其他原因"
|
|
21
|
-
}], ce = (P) => {
|
|
22
|
-
var b;
|
|
23
|
-
const {
|
|
24
|
-
appId: x,
|
|
25
|
-
history: n,
|
|
26
|
-
isLastHistory: H = !1,
|
|
27
|
-
sessionId: l,
|
|
28
|
-
currentSession: c,
|
|
29
|
-
onAgainClick: g
|
|
30
|
-
} = P, [i, h] = o([]), [C, v] = o(), [y, I] = o(!1), [M, A] = o(!1), {
|
|
31
|
-
service: W,
|
|
32
|
-
popupContainer: d,
|
|
33
|
-
transform: N,
|
|
34
|
-
onComment: p
|
|
35
|
-
} = D(K), [f, k] = o(() => {
|
|
36
|
-
var e;
|
|
37
|
-
return (e = n == null ? void 0 : n.comment) == null ? void 0 : e.isAgree;
|
|
38
|
-
}), [T, S] = o(400);
|
|
39
|
-
w(() => {
|
|
40
|
-
var e;
|
|
41
|
-
k((e = n == null ? void 0 : n.comment) == null ? void 0 : e.isAgree);
|
|
42
|
-
}, [(b = n == null ? void 0 : n.comment) == null ? void 0 : b.isAgree]);
|
|
43
|
-
const _ = () => {
|
|
44
|
-
U(d, () => {
|
|
45
|
-
G(n.content), q.success("复制成功");
|
|
46
|
-
});
|
|
47
|
-
}, E = (e) => {
|
|
48
|
-
if (!l || !(n != null && n.messageId))
|
|
49
|
-
return;
|
|
50
|
-
const a = {
|
|
51
|
-
messageId: n.messageId,
|
|
52
|
-
isAgree: e
|
|
53
|
-
};
|
|
54
|
-
c == null || c.postMessageComment(a).then(() => {
|
|
55
|
-
k(e), n != null && n.comment && (n.comment.isAgree = e), !(e <= 0) && (A(!0), setTimeout(() => {
|
|
56
|
-
A(!1);
|
|
57
|
-
}, 2e3));
|
|
58
|
-
}), p && p({
|
|
59
|
-
applicationId: x,
|
|
60
|
-
sessionId: l,
|
|
61
|
-
comment: a
|
|
62
|
-
});
|
|
63
|
-
}, R = (e) => {
|
|
64
|
-
if (i.some((a) => a.id === e.id)) {
|
|
65
|
-
const a = i.filter((s) => s.id !== e.id);
|
|
66
|
-
h([...a]);
|
|
67
|
-
} else
|
|
68
|
-
h([...i, e]);
|
|
69
|
-
}, B = (e) => {
|
|
70
|
-
v(e.target.value);
|
|
71
|
-
}, j = () => {
|
|
72
|
-
if (!l)
|
|
73
|
-
return;
|
|
74
|
-
if (!(i != null && i.length))
|
|
75
|
-
return I(!0), Promise.reject();
|
|
76
|
-
let e = [];
|
|
77
|
-
i != null && i.length && (e = [...e, ...i.map((s) => s.name)]), C && (e = [...e, C]);
|
|
78
|
-
const a = {
|
|
79
|
-
messageId: n.messageId,
|
|
80
|
-
isAgree: -1,
|
|
81
|
-
againstReason: e
|
|
82
|
-
};
|
|
83
|
-
u.config({
|
|
84
|
-
getContainer: () => (d == null ? void 0 : d.current) || document.body,
|
|
85
|
-
prefixCls: "gbot-notification"
|
|
86
|
-
}), c == null || c.postMessageComment(a).then(() => {
|
|
87
|
-
k(-1), n != null && n.comment && (n.comment.isAgree = -1);
|
|
88
|
-
const s = `open${Date.now()}`;
|
|
89
|
-
u.success({
|
|
90
|
-
message: "提交反馈成功",
|
|
91
|
-
description: "感谢您的参与,我们会认真评估每一条建议!",
|
|
92
|
-
duration: 2,
|
|
93
|
-
btn: /* @__PURE__ */ t(Q, {
|
|
94
|
-
type: "primary",
|
|
95
|
-
onClick: () => u.close(s),
|
|
96
|
-
children: "我知道了"
|
|
97
|
-
}),
|
|
98
|
-
key: s,
|
|
99
|
-
onClose: () => u.close(s)
|
|
100
|
-
});
|
|
101
|
-
}), p && p({
|
|
102
|
-
applicationId: x,
|
|
103
|
-
sessionId: l,
|
|
104
|
-
comment: a
|
|
105
|
-
});
|
|
106
|
-
};
|
|
107
|
-
return w(() => {
|
|
108
|
-
let e = null;
|
|
109
|
-
return e = requestAnimationFrame(() => {
|
|
110
|
-
const s = document.getElementById("chat-main");
|
|
111
|
-
if (s) {
|
|
112
|
-
const O = s.offsetHeight;
|
|
113
|
-
S(O * 0.8);
|
|
114
|
-
}
|
|
115
|
-
}), () => {
|
|
116
|
-
e && cancelAnimationFrame(e);
|
|
117
|
-
};
|
|
118
|
-
}, [n]), /* @__PURE__ */ r("div", {
|
|
119
|
-
className: "session-action",
|
|
120
|
-
children: [N != null && N.again && H ? /* @__PURE__ */ r(z, {
|
|
121
|
-
className: "session-action-again",
|
|
122
|
-
onClick: () => g == null ? void 0 : g(),
|
|
123
|
-
children: [/* @__PURE__ */ t(m, {
|
|
124
|
-
type: "icon-zaicihuida"
|
|
125
|
-
}), /* @__PURE__ */ t("span", {
|
|
126
|
-
style: {
|
|
127
|
-
fontSize: 12
|
|
128
|
-
},
|
|
129
|
-
children: "重新生成"
|
|
130
|
-
})]
|
|
131
|
-
}) : /* @__PURE__ */ t("span", {}), /* @__PURE__ */ t("div", {
|
|
132
|
-
className: "session-action-comment",
|
|
133
|
-
children: /* @__PURE__ */ r(z, {
|
|
134
|
-
size: 8,
|
|
135
|
-
className: "action-comment-feedback",
|
|
136
|
-
children: [!n.isSuspend && /* @__PURE__ */ t("span", {
|
|
137
|
-
className: "comment-feedback-item comment-feedback-copy",
|
|
138
|
-
onClick: _,
|
|
139
|
-
children: /* @__PURE__ */ t(m, {
|
|
140
|
-
type: "icon-fuzhi"
|
|
141
|
-
})
|
|
142
|
-
}), f === 0 && !n.isSuspend && /* @__PURE__ */ t("span", {
|
|
143
|
-
className: "comment-feedback-item",
|
|
144
|
-
children: /* @__PURE__ */ t(m, {
|
|
145
|
-
type: "icon-zan",
|
|
146
|
-
onClick: () => E(1)
|
|
147
|
-
})
|
|
148
|
-
}), f === 1 && /* @__PURE__ */ t(F, {
|
|
149
|
-
open: M,
|
|
150
|
-
getPopupContainer: (e) => e.parentNode,
|
|
151
|
-
content: /* @__PURE__ */ t("div", {
|
|
152
|
-
className: "zan-text",
|
|
153
|
-
children: "感谢您的认可"
|
|
154
|
-
}),
|
|
155
|
-
trigger: "click",
|
|
156
|
-
children: /* @__PURE__ */ t("span", {
|
|
157
|
-
className: "comment-feedback-item comment-feedback-item__active",
|
|
158
|
-
children: /* @__PURE__ */ t(m, {
|
|
159
|
-
type: "icon-zan"
|
|
160
|
-
})
|
|
161
|
-
})
|
|
162
|
-
}), f === 0 && !n.isSuspend && /* @__PURE__ */ t(L, {
|
|
163
|
-
showArrow: !1,
|
|
164
|
-
arrowPointAtCenter: !0,
|
|
165
|
-
okText: "确定",
|
|
166
|
-
cancelText: "取消",
|
|
167
|
-
getPopupContainer: (e) => e.parentNode,
|
|
168
|
-
onOpenChange: (e) => {
|
|
169
|
-
e && (h([]), v(""), I(!1));
|
|
170
|
-
},
|
|
171
|
-
icon: !1,
|
|
172
|
-
title: /* @__PURE__ */ r("div", {
|
|
173
|
-
className: "cai-pannel",
|
|
174
|
-
children: [/* @__PURE__ */ r("div", {
|
|
175
|
-
className: "cai-title",
|
|
176
|
-
children: [/* @__PURE__ */ t("span", {
|
|
177
|
-
className: "cai-require",
|
|
178
|
-
children: "*"
|
|
179
|
-
}), /* @__PURE__ */ t("span", {
|
|
180
|
-
className: "cai-question",
|
|
181
|
-
children: "你认为此答案存在哪方面的问题?"
|
|
182
|
-
})]
|
|
183
|
-
}), /* @__PURE__ */ t("div", {
|
|
184
|
-
className: "cai-list",
|
|
185
|
-
children: V.map((e) => /* @__PURE__ */ t("span", {
|
|
186
|
-
className: J({
|
|
187
|
-
"cai-item": !0,
|
|
188
|
-
"cai-item__active": i.some((a) => a.id === e.id)
|
|
189
|
-
}),
|
|
190
|
-
onClick: () => R(e),
|
|
191
|
-
children: e.name
|
|
192
|
-
}, e.id))
|
|
193
|
-
}), y && /* @__PURE__ */ t("div", {
|
|
194
|
-
className: "cai-error",
|
|
195
|
-
children: /* @__PURE__ */ t("span", {
|
|
196
|
-
className: "cai-error-text",
|
|
197
|
-
children: "请选择您不满意的原因"
|
|
198
|
-
})
|
|
199
|
-
}), /* @__PURE__ */ t("div", {
|
|
200
|
-
className: "cai-title",
|
|
201
|
-
children: /* @__PURE__ */ t("span", {
|
|
202
|
-
className: "cai-question",
|
|
203
|
-
children: "您还有哪些建议?"
|
|
204
|
-
})
|
|
205
|
-
}), /* @__PURE__ */ t($.TextArea, {
|
|
206
|
-
onChange: B,
|
|
207
|
-
value: C,
|
|
208
|
-
autoSize: {
|
|
209
|
-
minRows: 3,
|
|
210
|
-
maxRows: 6
|
|
211
|
-
},
|
|
212
|
-
placeholder: `[需求场景]:\r
|
|
213
|
-
[改进建议]:`,
|
|
214
|
-
autoComplete: "off",
|
|
215
|
-
showCount: !0,
|
|
216
|
-
maxLength: 300
|
|
217
|
-
})]
|
|
218
|
-
}),
|
|
219
|
-
onConfirm: () => j(),
|
|
220
|
-
cancelButtonProps: {
|
|
221
|
-
size: "middle"
|
|
222
|
-
},
|
|
223
|
-
okButtonProps: {
|
|
224
|
-
size: "middle"
|
|
225
|
-
},
|
|
226
|
-
overlayStyle: {
|
|
227
|
-
maxHeight: `${T}px`,
|
|
228
|
-
overflow: "auto"
|
|
229
|
-
},
|
|
230
|
-
children: /* @__PURE__ */ t("span", {
|
|
231
|
-
className: "comment-feedback-item",
|
|
232
|
-
children: /* @__PURE__ */ t(m, {
|
|
233
|
-
type: "icon-cai"
|
|
234
|
-
})
|
|
235
|
-
})
|
|
236
|
-
}), f === -1 && /* @__PURE__ */ t("span", {
|
|
237
|
-
className: "comment-feedback-item comment-feedback-item__active",
|
|
238
|
-
children: /* @__PURE__ */ t(m, {
|
|
239
|
-
type: "icon-cai"
|
|
240
|
-
})
|
|
241
|
-
})]
|
|
242
|
-
})
|
|
243
|
-
})]
|
|
244
|
-
});
|
|
245
|
-
};
|
|
246
|
-
export {
|
|
247
|
-
ce as default
|
|
248
|
-
};
|