@glodon-aiot/agent-cli-ui 2.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.git.md +73 -0
- package/README.lib.md +135 -0
- package/dist/es/AgentClientUI.mjs +155 -0
- package/dist/es/Dialog/AgentChat/index.mjs +757 -0
- package/dist/es/Dialog/AgentChat/style.less.mjs +4 -0
- package/dist/es/Dialog/ConnectToNetwork/index.mjs +92 -0
- package/dist/es/Dialog/ConnectToNetwork/style.less.mjs +4 -0
- package/dist/es/Dialog/FileCard/doc-icons/doc.svg.mjs +4 -0
- package/dist/es/Dialog/FileCard/doc-icons/docx.svg.mjs +4 -0
- package/dist/es/Dialog/FileCard/doc-icons/pdf.svg.mjs +4 -0
- package/dist/es/Dialog/FileCard/index.mjs +142 -0
- package/dist/es/Dialog/FileCard/style.less.mjs +4 -0
- package/dist/es/Dialog/FilePreview/index.mjs +90 -0
- package/dist/es/Dialog/FilePreview/style.less.mjs +4 -0
- package/dist/es/Dialog/Greeting/index.mjs +31 -0
- package/dist/es/Dialog/Greeting/style.less.mjs +4 -0
- package/dist/es/Dialog/HistoryContent/index.mjs +14 -0
- package/dist/es/Dialog/HistoryContent/style.less.mjs +4 -0
- package/dist/es/Dialog/HistoryItem/index.mjs +355 -0
- package/dist/es/Dialog/HistoryItem/style.less.mjs +4 -0
- package/dist/es/Dialog/HistoryItem/think.svg.mjs +4 -0
- package/dist/es/Dialog/KnowledgeDoc/index.mjs +46 -0
- package/dist/es/Dialog/KnowledgeDoc/style.less.mjs +4 -0
- package/dist/es/Dialog/KnowledgeList/KnowledgeSelect/index.mjs +68 -0
- package/dist/es/Dialog/KnowledgeList/KnowledgeSelect/style.less.mjs +4 -0
- package/dist/es/Dialog/KnowledgeList/index.mjs +69 -0
- package/dist/es/Dialog/KnowledgeList/style.less.mjs +4 -0
- package/dist/es/Dialog/PromptManager/PromptList/PromptListItem.mjs +89 -0
- package/dist/es/Dialog/PromptManager/PromptList/PublicPromptList.mjs +48 -0
- package/dist/es/Dialog/PromptManager/PromptList/access/empty.svg.mjs +4 -0
- package/dist/es/Dialog/PromptManager/PromptList/style.less.mjs +4 -0
- package/dist/es/Dialog/PromptManager/index.mjs +128 -0
- package/dist/es/Dialog/PromptManager/style.less.mjs +4 -0
- package/dist/es/Dialog/PromptSetting/index.mjs +130 -0
- package/dist/es/Dialog/PromptSetting/style.less.mjs +4 -0
- package/dist/es/Dialog/Recommend/RecommendItem.mjs +96 -0
- package/dist/es/Dialog/Recommend/index.mjs +60 -0
- package/dist/es/Dialog/Recommend/style.less.mjs +4 -0
- package/dist/es/Dialog/Recommend/tip.svg.mjs +4 -0
- package/dist/es/Dialog/ReferCollapse/index.mjs +65 -0
- package/dist/es/Dialog/ReferCollapse/style.less.mjs +4 -0
- package/dist/es/Dialog/SearchReference/index.mjs +64 -0
- package/dist/es/Dialog/SearchReference/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionAction/index.mjs +232 -0
- package/dist/es/Dialog/SessionAction/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionList/index.mjs +197 -0
- package/dist/es/Dialog/SessionList/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/NameEditPanel.mjs +48 -0
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/SessionItem.mjs +142 -0
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/doc-icons/doc.svg.mjs +4 -0
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/doc-icons/docx.svg.mjs +4 -0
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/doc-icons/pdf.svg.mjs +4 -0
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/index.mjs +120 -0
- package/dist/es/Dialog/SessionListDrawer/HistorySessionList/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionListDrawer/index.mjs +44 -0
- package/dist/es/Dialog/SessionListDrawer/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionRefer/ReferItem/index.mjs +94 -0
- package/dist/es/Dialog/SessionRefer/ReferItem/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionRefer/index.mjs +86 -0
- package/dist/es/Dialog/SessionRefer/style.less.mjs +4 -0
- package/dist/es/Dialog/SessionRelated/index.mjs +43 -0
- package/dist/es/Dialog/SessionRelated/style.less.mjs +4 -0
- package/dist/es/Dialog/UploadKnowledgeFiles/ClearModal/index.mjs +51 -0
- package/dist/es/Dialog/UploadKnowledgeFiles/ClearModal/style.less.mjs +4 -0
- package/dist/es/Dialog/UploadKnowledgeFiles/index.mjs +368 -0
- package/dist/es/Dialog/UploadKnowledgeFiles/style.less.mjs +4 -0
- package/dist/es/Dialog/UploadingPrompt/index.mjs +67 -0
- package/dist/es/Dialog/UploadingPrompt/style.less.mjs +4 -0
- package/dist/es/Dialog/index.mjs +128 -0
- package/dist/es/Dialog/style.less.mjs +4 -0
- package/dist/es/FileCard/doc-icons/doc.svg.mjs +4 -0
- package/dist/es/FileCard/doc-icons/docx.svg.mjs +4 -0
- package/dist/es/FileCard/doc-icons/pdf.svg.mjs +4 -0
- package/dist/es/FileItem/index.mjs +85 -0
- package/dist/es/FileItem/style.less.mjs +4 -0
- package/dist/es/Footer/FooterWarning.mjs +25 -0
- package/dist/es/Footer/index.mjs +18 -0
- package/dist/es/Footer/style.less.mjs +4 -0
- package/dist/es/Iconfont/index.mjs +12 -0
- package/dist/es/InputProgress/index.mjs +39 -0
- package/dist/es/InputProgress/style.less.mjs +4 -0
- package/dist/es/QuillEditor/index.mjs +219 -0
- package/dist/es/QuillEditor/style.less.mjs +4 -0
- package/dist/es/_virtual/_cloneBuffer.mjs +4 -0
- package/dist/es/_virtual/_commonjsHelpers.mjs +8 -0
- package/dist/es/_virtual/_nodeUtil.mjs +4 -0
- package/dist/es/_virtual/index.mjs +4 -0
- package/dist/es/_virtual/index2.mjs +4 -0
- package/dist/es/_virtual/index3.mjs +4 -0
- package/dist/es/_virtual/index4.mjs +4 -0
- package/dist/es/_virtual/isBuffer.mjs +4 -0
- package/dist/es/_virtual/jsx-runtime.mjs +7 -0
- package/dist/es/_virtual/jsx-runtime2.mjs +4 -0
- package/dist/es/_virtual/minio-zj.mjs +4 -0
- package/dist/es/_virtual/react-jsx-runtime.production.min.mjs +4 -0
- package/dist/es/assets/brand.svg.mjs +4 -0
- package/dist/es/assets/icon.svg.mjs +4 -0
- package/dist/es/components/Copy/index.mjs +44 -0
- package/dist/es/components/Copy/style.less.mjs +4 -0
- package/dist/es/components/JsonDisplay/index.mjs +16 -0
- package/dist/es/components/JsonDisplay/style.less.mjs +4 -0
- package/dist/es/components/Markdown/Code/index.mjs +69 -0
- package/dist/es/components/Markdown/Image/index.mjs +26 -0
- package/dist/es/components/Markdown/index.mjs +48 -0
- package/dist/es/components/Markdown/style.less.mjs +4 -0
- package/dist/es/components/WebLink/index.mjs +26 -0
- package/dist/es/constant.mjs +96 -0
- package/dist/es/context.mjs +7 -0
- package/dist/es/favicon.ico +0 -0
- package/dist/es/favicon2.ico +0 -0
- package/dist/es/font/font_4108228_4w5nlhafpte.js +1 -0
- package/dist/es/font/font_4439177_0sppkcnqiqgs.js +1 -0
- package/dist/es/font/gos-font.js +64 -0
- package/dist/es/images/empty.svg +40 -0
- package/dist/es/images/loading.gif +0 -0
- package/dist/es/images/logo.png +0 -0
- package/dist/es/images/map-example.png +0 -0
- package/dist/es/images/sketch.png +0 -0
- package/dist/es/index.html +43 -0
- package/dist/es/index.mjs +325 -0
- package/dist/es/logo192.png +0 -0
- package/dist/es/logo512.png +0 -0
- package/dist/es/manifest.json +25 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
- package/dist/es/node_modules/@glodon-aiot/minio/dist/minio-zj.mjs +26485 -0
- package/dist/es/node_modules/@socket.io/component-emitter/lib/esm/index.mjs +54 -0
- package/dist/es/node_modules/ahooks/es/useKeyPress/index.mjs +221 -0
- package/dist/es/node_modules/ahooks/es/useLatest/index.mjs +8 -0
- package/dist/es/node_modules/ahooks/es/useMemoizedFn/index.mjs +19 -0
- package/dist/es/node_modules/ahooks/es/useUnmount/index.mjs +17 -0
- package/dist/es/node_modules/ahooks/es/utils/createEffectWithTarget.mjs +27 -0
- package/dist/es/node_modules/ahooks/es/utils/depsAreSame.mjs +11 -0
- package/dist/es/node_modules/ahooks/es/utils/depsEqual.mjs +7 -0
- package/dist/es/node_modules/ahooks/es/utils/domTarget.mjs +13 -0
- package/dist/es/node_modules/ahooks/es/utils/index.mjs +12 -0
- package/dist/es/node_modules/ahooks/es/utils/isAppleDevice.mjs +5 -0
- package/dist/es/node_modules/ahooks/es/utils/isBrowser.mjs +5 -0
- package/dist/es/node_modules/ahooks/es/utils/isDev.mjs +5 -0
- package/dist/es/node_modules/ahooks/es/utils/useDeepCompareWithTarget.mjs +11 -0
- package/dist/es/node_modules/ahooks/es/utils/useEffectWithTarget.mjs +7 -0
- package/dist/es/node_modules/antd/es/calendar/locale/zh_CN.mjs +4 -0
- package/dist/es/node_modules/antd/es/date-picker/locale/zh_CN.mjs +23 -0
- package/dist/es/node_modules/antd/es/locale/zh_CN.mjs +132 -0
- package/dist/es/node_modules/antd/es/time-picker/locale/zh_CN.mjs +8 -0
- package/dist/es/node_modules/base64-js/index.mjs +47 -0
- package/dist/es/node_modules/buffer/index.mjs +927 -0
- package/dist/es/node_modules/classnames/index.mjs +42 -0
- package/dist/es/node_modules/copy-to-clipboard/index.mjs +46 -0
- package/dist/es/node_modules/engine.io-client/build/esm/contrib/has-cors.mjs +9 -0
- package/dist/es/node_modules/engine.io-client/build/esm/contrib/parseqs.mjs +18 -0
- package/dist/es/node_modules/engine.io-client/build/esm/contrib/parseuri.mjs +24 -0
- package/dist/es/node_modules/engine.io-client/build/esm/contrib/yeast.mjs +19 -0
- package/dist/es/node_modules/engine.io-client/build/esm/globalThis.browser.mjs +4 -0
- package/dist/es/node_modules/engine.io-client/build/esm/socket.mjs +317 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transport.mjs +113 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/index.mjs +11 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/polling.mjs +273 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.mjs +8 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/websocket.mjs +87 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/webtransport.mjs +52 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/xmlhttprequest.browser.mjs +21 -0
- package/dist/es/node_modules/engine.io-client/build/esm/util.mjs +23 -0
- package/dist/es/node_modules/engine.io-parser/build/esm/commons.mjs +21 -0
- package/dist/es/node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.mjs +14 -0
- package/dist/es/node_modules/engine.io-parser/build/esm/decodePacket.browser.mjs +39 -0
- package/dist/es/node_modules/engine.io-parser/build/esm/encodePacket.browser.mjs +28 -0
- package/dist/es/node_modules/engine.io-parser/build/esm/index.mjs +105 -0
- package/dist/es/node_modules/ieee754/index.mjs +28 -0
- package/dist/es/node_modules/js-base64/base64.mjs +31 -0
- package/dist/es/node_modules/lodash/_Hash.mjs +22 -0
- package/dist/es/node_modules/lodash/_ListCache.mjs +22 -0
- package/dist/es/node_modules/lodash/_Map.mjs +6 -0
- package/dist/es/node_modules/lodash/_MapCache.mjs +22 -0
- package/dist/es/node_modules/lodash/_Stack.mjs +20 -0
- package/dist/es/node_modules/lodash/_Symbol.mjs +5 -0
- package/dist/es/node_modules/lodash/_Uint8Array.mjs +5 -0
- package/dist/es/node_modules/lodash/_apply.mjs +17 -0
- package/dist/es/node_modules/lodash/_arrayLikeKeys.mjs +21 -0
- package/dist/es/node_modules/lodash/_assignMergeValue.mjs +10 -0
- package/dist/es/node_modules/lodash/_assignValue.mjs +11 -0
- package/dist/es/node_modules/lodash/_assocIndexOf.mjs +12 -0
- package/dist/es/node_modules/lodash/_baseAssignValue.mjs +14 -0
- package/dist/es/node_modules/lodash/_baseCreate.mjs +17 -0
- package/dist/es/node_modules/lodash/_baseFor.mjs +5 -0
- package/dist/es/node_modules/lodash/_baseGetTag.mjs +11 -0
- package/dist/es/node_modules/lodash/_baseIsArguments.mjs +10 -0
- package/dist/es/node_modules/lodash/_baseIsNative.mjs +15 -0
- package/dist/es/node_modules/lodash/_baseIsTypedArray.mjs +13 -0
- package/dist/es/node_modules/lodash/_baseKeysIn.mjs +16 -0
- package/dist/es/node_modules/lodash/_baseMerge.mjs +22 -0
- package/dist/es/node_modules/lodash/_baseMergeDeep.mjs +33 -0
- package/dist/es/node_modules/lodash/_baseRest.mjs +11 -0
- package/dist/es/node_modules/lodash/_baseSetToString.mjs +14 -0
- package/dist/es/node_modules/lodash/_baseTimes.mjs +9 -0
- package/dist/es/node_modules/lodash/_baseTrim.mjs +9 -0
- package/dist/es/node_modules/lodash/_baseUnary.mjs +9 -0
- package/dist/es/node_modules/lodash/_cloneArrayBuffer.mjs +10 -0
- package/dist/es/node_modules/lodash/_cloneBuffer.mjs +17 -0
- package/dist/es/node_modules/lodash/_cloneTypedArray.mjs +10 -0
- package/dist/es/node_modules/lodash/_copyArray.mjs +10 -0
- package/dist/es/node_modules/lodash/_copyObject.mjs +16 -0
- package/dist/es/node_modules/lodash/_coreJsData.mjs +5 -0
- package/dist/es/node_modules/lodash/_createAssigner.mjs +17 -0
- package/dist/es/node_modules/lodash/_createBaseFor.mjs +14 -0
- package/dist/es/node_modules/lodash/_defineProperty.mjs +11 -0
- package/dist/es/node_modules/lodash/_freeGlobal.mjs +5 -0
- package/dist/es/node_modules/lodash/_getMapData.mjs +10 -0
- package/dist/es/node_modules/lodash/_getNative.mjs +11 -0
- package/dist/es/node_modules/lodash/_getPrototype.mjs +5 -0
- package/dist/es/node_modules/lodash/_getRawTag.mjs +16 -0
- package/dist/es/node_modules/lodash/_getValue.mjs +7 -0
- package/dist/es/node_modules/lodash/_hashClear.mjs +9 -0
- package/dist/es/node_modules/lodash/_hashDelete.mjs +8 -0
- package/dist/es/node_modules/lodash/_hashGet.mjs +14 -0
- package/dist/es/node_modules/lodash/_hashHas.mjs +10 -0
- package/dist/es/node_modules/lodash/_hashSet.mjs +10 -0
- package/dist/es/node_modules/lodash/_initCloneObject.mjs +11 -0
- package/dist/es/node_modules/lodash/_isIndex.mjs +9 -0
- package/dist/es/node_modules/lodash/_isIterateeCall.mjs +15 -0
- package/dist/es/node_modules/lodash/_isKeyable.mjs +8 -0
- package/dist/es/node_modules/lodash/_isMasked.mjs +12 -0
- package/dist/es/node_modules/lodash/_isPrototype.mjs +9 -0
- package/dist/es/node_modules/lodash/_listCacheClear.mjs +7 -0
- package/dist/es/node_modules/lodash/_listCacheDelete.mjs +13 -0
- package/dist/es/node_modules/lodash/_listCacheGet.mjs +10 -0
- package/dist/es/node_modules/lodash/_listCacheHas.mjs +9 -0
- package/dist/es/node_modules/lodash/_listCacheSet.mjs +10 -0
- package/dist/es/node_modules/lodash/_mapCacheClear.mjs +15 -0
- package/dist/es/node_modules/lodash/_mapCacheDelete.mjs +10 -0
- package/dist/es/node_modules/lodash/_mapCacheGet.mjs +9 -0
- package/dist/es/node_modules/lodash/_mapCacheHas.mjs +9 -0
- package/dist/es/node_modules/lodash/_mapCacheSet.mjs +10 -0
- package/dist/es/node_modules/lodash/_nativeCreate.mjs +5 -0
- package/dist/es/node_modules/lodash/_nativeKeysIn.mjs +11 -0
- package/dist/es/node_modules/lodash/_nodeUtil.mjs +17 -0
- package/dist/es/node_modules/lodash/_objectToString.mjs +8 -0
- package/dist/es/node_modules/lodash/_overArg.mjs +9 -0
- package/dist/es/node_modules/lodash/_overRest.mjs +16 -0
- package/dist/es/node_modules/lodash/_root.mjs +5 -0
- package/dist/es/node_modules/lodash/_safeGet.mjs +8 -0
- package/dist/es/node_modules/lodash/_setToString.mjs +6 -0
- package/dist/es/node_modules/lodash/_shortOut.mjs +17 -0
- package/dist/es/node_modules/lodash/_stackClear.mjs +9 -0
- package/dist/es/node_modules/lodash/_stackDelete.mjs +8 -0
- package/dist/es/node_modules/lodash/_stackGet.mjs +7 -0
- package/dist/es/node_modules/lodash/_stackHas.mjs +7 -0
- package/dist/es/node_modules/lodash/_stackSet.mjs +18 -0
- package/dist/es/node_modules/lodash/_toSource.mjs +18 -0
- package/dist/es/node_modules/lodash/_trimmedEndIndex.mjs +10 -0
- package/dist/es/node_modules/lodash/constant.mjs +9 -0
- package/dist/es/node_modules/lodash/debounce.mjs +57 -0
- package/dist/es/node_modules/lodash/eq.mjs +7 -0
- package/dist/es/node_modules/lodash/identity.mjs +7 -0
- package/dist/es/node_modules/lodash/isArguments.mjs +10 -0
- package/dist/es/node_modules/lodash/isArray.mjs +4 -0
- package/dist/es/node_modules/lodash/isArrayLike.mjs +10 -0
- package/dist/es/node_modules/lodash/isArrayLikeObject.mjs +10 -0
- package/dist/es/node_modules/lodash/isBuffer.mjs +12 -0
- package/dist/es/node_modules/lodash/isFunction.mjs +13 -0
- package/dist/es/node_modules/lodash/isLength.mjs +8 -0
- package/dist/es/node_modules/lodash/isObject.mjs +8 -0
- package/dist/es/node_modules/lodash/isObjectLike.mjs +7 -0
- package/dist/es/node_modules/lodash/isPlainObject.mjs +17 -0
- package/dist/es/node_modules/lodash/isSymbol.mjs +10 -0
- package/dist/es/node_modules/lodash/isTypedArray.mjs +7 -0
- package/dist/es/node_modules/lodash/keysIn.mjs +11 -0
- package/dist/es/node_modules/lodash/merge.mjs +10 -0
- package/dist/es/node_modules/lodash/now.mjs +7 -0
- package/dist/es/node_modules/lodash/stubFalse.mjs +7 -0
- package/dist/es/node_modules/lodash/toNumber.mjs +23 -0
- package/dist/es/node_modules/lodash/toPlainObject.mjs +10 -0
- package/dist/es/node_modules/object-assign/index.mjs +34 -0
- package/dist/es/node_modules/rc-pagination/es/locale/zh_CN.mjs +18 -0
- package/dist/es/node_modules/rc-picker/es/locale/zh_CN.mjs +31 -0
- package/dist/es/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +45 -0
- package/dist/es/node_modules/react/jsx-runtime.mjs +8 -0
- package/dist/es/node_modules/react-fast-compare/index.mjs +78 -0
- package/dist/es/node_modules/react-infinite-scroll-component/dist/index.es.mjs +188 -0
- package/dist/es/node_modules/react-quill/dist/quill.snow.css.mjs +4 -0
- package/dist/es/node_modules/socket.io-client/build/esm/contrib/backo2.mjs +26 -0
- package/dist/es/node_modules/socket.io-client/build/esm/index.mjs +25 -0
- package/dist/es/node_modules/socket.io-client/build/esm/manager.mjs +242 -0
- package/dist/es/node_modules/socket.io-client/build/esm/on.mjs +8 -0
- package/dist/es/node_modules/socket.io-client/build/esm/socket.mjs +608 -0
- package/dist/es/node_modules/socket.io-client/build/esm/url.mjs +19 -0
- package/dist/es/node_modules/socket.io-parser/build/esm/binary.mjs +52 -0
- package/dist/es/node_modules/socket.io-parser/build/esm/index.mjs +203 -0
- package/dist/es/node_modules/socket.io-parser/build/esm/is-binary.mjs +26 -0
- package/dist/es/node_modules/toggle-selection/index.mjs +25 -0
- package/dist/es/node_modules/tslib/tslib.es6.mjs +15 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/native.mjs +6 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/rng.mjs +10 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/stringify.mjs +9 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/v4.mjs +19 -0
- package/dist/es/packages/agent-cli-sdk/src/AgentSession.mjs +243 -0
- package/dist/es/packages/agent-cli-sdk/src/BotClient.mjs +242 -0
- package/dist/es/packages/agent-cli-sdk/src/Config.mjs +34 -0
- package/dist/es/packages/agent-cli-sdk/src/DialogSession.mjs +281 -0
- package/dist/es/packages/agent-cli-sdk/src/EventBus.mjs +64 -0
- package/dist/es/packages/agent-cli-sdk/src/Logger.mjs +31 -0
- package/dist/es/packages/agent-cli-sdk/src/PayloadTypes.mjs +4 -0
- package/dist/es/packages/agent-cli-sdk/src/Session.mjs +527 -0
- package/dist/es/packages/agent-cli-sdk/src/api/fetchEventSource/fetch.mjs +112 -0
- package/dist/es/packages/agent-cli-sdk/src/api/fetchEventSource/parse.mjs +97 -0
- package/dist/es/packages/agent-cli-sdk/src/api/index.mjs +48 -0
- package/dist/es/packages/agent-cli-sdk/src/utils.mjs +11 -0
- package/dist/es/packages/apis/dist/es/aecpilot/cosntant.mjs +5 -0
- package/dist/es/packages/apis/dist/es/aecpilot/model.mjs +9 -0
- package/dist/es/packages/apis/dist/es/aecpilotui/index.mjs +8 -0
- package/dist/es/packages/apis/dist/es/agentcliui/index.mjs +414 -0
- package/dist/es/packages/apis/dist/es/base/index.mjs +154 -0
- package/dist/es/packages/apis/dist/es/cvforce/index.mjs +431 -0
- package/dist/es/packages/apis/dist/es/cvforce/model.mjs +6 -0
- package/dist/es/packages/apis/dist/es/node_modules/uuid/dist/esm-browser/native.mjs +6 -0
- package/dist/es/packages/apis/dist/es/node_modules/uuid/dist/esm-browser/rng.mjs +10 -0
- package/dist/es/packages/apis/dist/es/node_modules/uuid/dist/esm-browser/stringify.mjs +9 -0
- package/dist/es/packages/apis/dist/es/node_modules/uuid/dist/esm-browser/v4.mjs +19 -0
- package/dist/es/packages/apis/dist/es/utils/fetchEventSource/fetch.mjs +106 -0
- package/dist/es/packages/apis/dist/es/utils/fetchEventSource/parse.mjs +97 -0
- package/dist/es/robots.txt +3 -0
- package/dist/es/style.less.mjs +4 -0
- package/dist/es/types.mjs +4 -0
- package/dist/es/utils/clipboard.mjs +38 -0
- package/dist/es/utils/index.mjs +33 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/favicon2.ico +0 -0
- package/dist/lib/font/font_4108228_4w5nlhafpte.js +1 -0
- package/dist/lib/font/font_4439177_0sppkcnqiqgs.js +1 -0
- package/dist/lib/font/gos-font.js +64 -0
- package/dist/lib/images/empty.svg +40 -0
- package/dist/lib/images/loading.gif +0 -0
- package/dist/lib/images/logo.png +0 -0
- package/dist/lib/images/map-example.png +0 -0
- package/dist/lib/images/sketch.png +0 -0
- package/dist/lib/index.html +43 -0
- package/dist/lib/index.js +169 -0
- package/dist/lib/logo192.png +0 -0
- package/dist/lib/logo512.png +0 -0
- package/dist/lib/manifest.json +25 -0
- package/dist/lib/robots.txt +3 -0
- package/dist/src/AgentClientUI.d.ts +4 -0
- package/dist/src/ConnectToNetwork/index.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/index.d.ts +17 -0
- package/dist/src/Dialog/ChatEmptyView/index.d.ts +6 -0
- package/dist/src/Dialog/ConnectToNetwork/index.d.ts +13 -0
- package/dist/src/Dialog/FileCard/index.d.ts +22 -0
- package/dist/src/Dialog/FilePreview/index.d.ts +20 -0
- package/dist/src/Dialog/Greeting/index.d.ts +7 -0
- package/dist/src/Dialog/HistoryContent/index.d.ts +5 -0
- package/dist/src/Dialog/HistoryItem/index.d.ts +17 -0
- package/dist/src/Dialog/KnowledgeDoc/index.d.ts +9 -0
- package/dist/src/Dialog/KnowledgeList/KnowledgeSelect/index.d.ts +12 -0
- package/dist/src/Dialog/KnowledgeList/index.d.ts +13 -0
- package/dist/src/Dialog/PromptManager/PromptList/EditPromptModal/index.d.ts +11 -0
- package/dist/src/Dialog/PromptManager/PromptList/PrivatePromptList.d.ts +12 -0
- package/dist/src/Dialog/PromptManager/PromptList/PromptListItem.d.ts +13 -0
- package/dist/src/Dialog/PromptManager/PromptList/PublicPromptList.d.ts +12 -0
- package/dist/src/Dialog/PromptManager/index.d.ts +13 -0
- package/dist/src/Dialog/PromptSetting/index.d.ts +14 -0
- package/dist/src/Dialog/Recommend/RecommendItem.d.ts +12 -0
- package/dist/src/Dialog/Recommend/index.d.ts +14 -0
- package/dist/src/Dialog/ReferCollapse/index.d.ts +8 -0
- package/dist/src/Dialog/SearchReference/index.d.ts +7 -0
- package/dist/src/Dialog/SessionAction/index.d.ts +11 -0
- package/dist/src/Dialog/SessionList/index.d.ts +20 -0
- package/dist/src/Dialog/SessionListDrawer/HistorySessionList/NameEditPanel.d.ts +9 -0
- package/dist/src/Dialog/SessionListDrawer/HistorySessionList/SessionItem.d.ts +16 -0
- package/dist/src/Dialog/SessionListDrawer/HistorySessionList/index.d.ts +9 -0
- package/dist/src/Dialog/SessionListDrawer/index.d.ts +9 -0
- package/dist/src/Dialog/SessionRefer/ReferItem/index.d.ts +9 -0
- package/dist/src/Dialog/SessionRefer/index.d.ts +8 -0
- package/dist/src/Dialog/SessionRelated/index.d.ts +9 -0
- package/dist/src/Dialog/UploadFiles/ClearModal/index.d.ts +7 -0
- package/dist/src/Dialog/UploadFiles/index.d.ts +21 -0
- package/dist/src/Dialog/UploadKnowledgeFiles/ClearModal/index.d.ts +7 -0
- package/dist/src/Dialog/UploadKnowledgeFiles/index.d.ts +22 -0
- package/dist/src/Dialog/UploadingPrompt/index.d.ts +9 -0
- package/dist/src/Dialog/index.d.ts +9 -0
- package/dist/src/FileCard/index.d.ts +21 -0
- package/dist/src/FileItem/index.d.ts +11 -0
- package/dist/src/Footer/FooterWarning.d.ts +8 -0
- package/dist/src/Footer/index.d.ts +7 -0
- package/dist/src/Greeting/index.d.ts +7 -0
- package/dist/src/Iconfont/font_4108228_8te6zfkclqu.d.ts +0 -0
- package/dist/src/Iconfont/font_4439177_7rytwlvbmjj.d.ts +0 -0
- package/dist/src/Iconfont/index.d.ts +3 -0
- package/dist/src/InputProgress/index.d.ts +7 -0
- package/dist/src/QuillEditor/index.d.ts +19 -0
- package/dist/src/components/Copy/index.d.ts +5 -0
- package/dist/src/components/Header/index.d.ts +6 -0
- package/dist/src/components/JsonDisplay/index.d.ts +6 -0
- package/dist/src/components/Markdown/Code/index.d.ts +3 -0
- package/dist/src/components/Markdown/Image/index.d.ts +3 -0
- package/dist/src/components/Markdown/index.d.ts +6 -0
- package/dist/src/components/PDFViewer/index.d.ts +7 -0
- package/dist/src/components/WebLink/index.d.ts +7 -0
- package/dist/src/constant.d.ts +11 -0
- package/dist/src/context.d.ts +5 -0
- package/dist/src/index.d.ts +33 -0
- package/dist/src/types.d.ts +183 -0
- package/dist/src/utils/clipboard.d.ts +11 -0
- package/dist/src/utils/fetchEventSource/fetch.d.ts +44 -0
- package/dist/src/utils/fetchEventSource/index.d.ts +1 -0
- package/dist/src/utils/fetchEventSource/parse.d.ts +36 -0
- package/dist/src/utils/index.d.ts +17 -0
- package/package.json +138 -0
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { jsxs as l, jsx as n } from "../../_virtual/jsx-runtime.mjs";
|
|
2
|
+
import { useState as d, useContext as D, useEffect as L } from "react";
|
|
3
|
+
import { Space as z, Popover as H, Popconfirm as Q, Input as $, message as S, notification as g, Button as F } from "antd";
|
|
4
|
+
import r from "../../Iconfont/index.mjs";
|
|
5
|
+
import G from "../../node_modules/copy-to-clipboard/index.mjs";
|
|
6
|
+
import J from "../../node_modules/classnames/index.mjs";
|
|
7
|
+
import "./style.less.mjs";
|
|
8
|
+
import K from "../../context.mjs";
|
|
9
|
+
const M = [{
|
|
10
|
+
id: 1,
|
|
11
|
+
name: "展示信息不正确"
|
|
12
|
+
}, {
|
|
13
|
+
id: 2,
|
|
14
|
+
name: "答非所问"
|
|
15
|
+
}, {
|
|
16
|
+
id: 3,
|
|
17
|
+
name: "答案包含有害信息"
|
|
18
|
+
}, {
|
|
19
|
+
id: 4,
|
|
20
|
+
name: "其他原因"
|
|
21
|
+
}], ne = (w) => {
|
|
22
|
+
var b;
|
|
23
|
+
const {
|
|
24
|
+
appId: p,
|
|
25
|
+
history: t,
|
|
26
|
+
isLastHistory: P = !1,
|
|
27
|
+
sessionId: i,
|
|
28
|
+
onAgainClick: h
|
|
29
|
+
} = w, [s, C] = d([]), [N, I] = d(), [T, v] = d(!1), [_, A] = d(!1), {
|
|
30
|
+
service: o,
|
|
31
|
+
popupContainer: m,
|
|
32
|
+
transform: k,
|
|
33
|
+
features: y,
|
|
34
|
+
onComment: f
|
|
35
|
+
} = D(K), [u, x] = d(() => {
|
|
36
|
+
var e;
|
|
37
|
+
return (e = t == null ? void 0 : t.comment) == null ? void 0 : e.isAgree;
|
|
38
|
+
});
|
|
39
|
+
L(() => {
|
|
40
|
+
var e;
|
|
41
|
+
x((e = t == null ? void 0 : t.comment) == null ? void 0 : e.isAgree);
|
|
42
|
+
}, [(b = t == null ? void 0 : t.comment) == null ? void 0 : b.isAgree]);
|
|
43
|
+
const R = () => {
|
|
44
|
+
S.config({
|
|
45
|
+
getContainer: () => (m == null ? void 0 : m.current) || document.body
|
|
46
|
+
}), G(t.content), S.success("复制成功");
|
|
47
|
+
}, j = (e) => {
|
|
48
|
+
if (!i || !(t != null && t.messageId))
|
|
49
|
+
return;
|
|
50
|
+
const a = {
|
|
51
|
+
messageId: t.messageId,
|
|
52
|
+
isAgree: e
|
|
53
|
+
};
|
|
54
|
+
o == null || o.postComments(p, i, a).then(() => {
|
|
55
|
+
x(e), t != null && t.comment && (t.comment.isAgree = e), !(e <= 0) && (A(!0), setTimeout(() => {
|
|
56
|
+
A(!1);
|
|
57
|
+
}, 2e3));
|
|
58
|
+
}), f && f({
|
|
59
|
+
applicationId: p,
|
|
60
|
+
sessionId: i,
|
|
61
|
+
comment: a
|
|
62
|
+
});
|
|
63
|
+
}, B = (e) => {
|
|
64
|
+
if (s.some((a) => a.id === e.id)) {
|
|
65
|
+
const a = s.filter((c) => c.id !== e.id);
|
|
66
|
+
C([...a]);
|
|
67
|
+
} else
|
|
68
|
+
C([...s, e]);
|
|
69
|
+
}, E = (e) => {
|
|
70
|
+
I(e.target.value);
|
|
71
|
+
}, O = () => {
|
|
72
|
+
if (!i)
|
|
73
|
+
return;
|
|
74
|
+
if (!(s != null && s.length))
|
|
75
|
+
return v(!0), Promise.reject();
|
|
76
|
+
let e = [];
|
|
77
|
+
s != null && s.length && (e = [...e, ...s.map((c) => c.name)]), N && (e = [...e, N]);
|
|
78
|
+
const a = {
|
|
79
|
+
messageId: t.messageId,
|
|
80
|
+
isAgree: -1,
|
|
81
|
+
againstReason: e
|
|
82
|
+
};
|
|
83
|
+
g.config({
|
|
84
|
+
getContainer: () => (m == null ? void 0 : m.current) || document.body
|
|
85
|
+
}), o == null || o.postComments(p, i, a).then(() => {
|
|
86
|
+
x(-1), t != null && t.comment && (t.comment.isAgree = -1);
|
|
87
|
+
const c = `open${Date.now()}`;
|
|
88
|
+
g.success({
|
|
89
|
+
message: "提交反馈成功",
|
|
90
|
+
description: "感谢您的参与,我们会认真评估每一条建议!",
|
|
91
|
+
duration: 2,
|
|
92
|
+
btn: /* @__PURE__ */ n(F, {
|
|
93
|
+
type: "primary",
|
|
94
|
+
onClick: () => g.close(c),
|
|
95
|
+
children: "我知道了"
|
|
96
|
+
}),
|
|
97
|
+
key: c,
|
|
98
|
+
onClose: () => g.close(c)
|
|
99
|
+
});
|
|
100
|
+
}), f && f({
|
|
101
|
+
applicationId: p,
|
|
102
|
+
sessionId: i,
|
|
103
|
+
comment: a
|
|
104
|
+
});
|
|
105
|
+
};
|
|
106
|
+
return console.log("features in SessionAction", y), /* @__PURE__ */ l("div", {
|
|
107
|
+
className: "session-action",
|
|
108
|
+
children: [k != null && k.again && P ? /* @__PURE__ */ l(z, {
|
|
109
|
+
className: "session-action-again",
|
|
110
|
+
onClick: () => h == null ? void 0 : h(),
|
|
111
|
+
children: [/* @__PURE__ */ n(r, {
|
|
112
|
+
type: "icon-zaicihuida"
|
|
113
|
+
}), /* @__PURE__ */ n("span", {
|
|
114
|
+
style: {
|
|
115
|
+
fontSize: 12
|
|
116
|
+
},
|
|
117
|
+
children: "重新生成"
|
|
118
|
+
})]
|
|
119
|
+
}) : /* @__PURE__ */ n("span", {}), /* @__PURE__ */ n("div", {
|
|
120
|
+
className: "session-action-comment",
|
|
121
|
+
children: /* @__PURE__ */ l(z, {
|
|
122
|
+
size: 8,
|
|
123
|
+
className: "action-comment-feedback",
|
|
124
|
+
children: [!t.isSuspend && /* @__PURE__ */ n("span", {
|
|
125
|
+
className: "comment-feedback-item comment-feedback-copy",
|
|
126
|
+
onClick: R,
|
|
127
|
+
children: /* @__PURE__ */ n(r, {
|
|
128
|
+
type: "icon-fuzhi"
|
|
129
|
+
})
|
|
130
|
+
}), u === 0 && !t.isSuspend && /* @__PURE__ */ n("span", {
|
|
131
|
+
className: "comment-feedback-item",
|
|
132
|
+
children: /* @__PURE__ */ n(r, {
|
|
133
|
+
type: "icon-zan",
|
|
134
|
+
onClick: () => j(1)
|
|
135
|
+
})
|
|
136
|
+
}), u === 1 && /* @__PURE__ */ n(H, {
|
|
137
|
+
open: _,
|
|
138
|
+
getPopupContainer: (e) => e.parentNode,
|
|
139
|
+
content: /* @__PURE__ */ n("div", {
|
|
140
|
+
className: "zan-text",
|
|
141
|
+
children: "感谢您的认可"
|
|
142
|
+
}),
|
|
143
|
+
trigger: "click",
|
|
144
|
+
children: /* @__PURE__ */ n("span", {
|
|
145
|
+
className: "comment-feedback-item comment-feedback-item__active",
|
|
146
|
+
children: /* @__PURE__ */ n(r, {
|
|
147
|
+
type: "icon-zan"
|
|
148
|
+
})
|
|
149
|
+
})
|
|
150
|
+
}), u === 0 && !t.isSuspend && /* @__PURE__ */ n(Q, {
|
|
151
|
+
showArrow: !1,
|
|
152
|
+
arrowPointAtCenter: !0,
|
|
153
|
+
okText: "确定",
|
|
154
|
+
cancelText: "取消",
|
|
155
|
+
getPopupContainer: (e) => e.parentNode,
|
|
156
|
+
onOpenChange: (e) => {
|
|
157
|
+
e && (C([]), I(""), v(!1));
|
|
158
|
+
},
|
|
159
|
+
icon: !1,
|
|
160
|
+
title: /* @__PURE__ */ l("div", {
|
|
161
|
+
className: "cai-pannel",
|
|
162
|
+
children: [/* @__PURE__ */ l("div", {
|
|
163
|
+
className: "cai-title",
|
|
164
|
+
children: [/* @__PURE__ */ n("span", {
|
|
165
|
+
className: "cai-require",
|
|
166
|
+
children: "*"
|
|
167
|
+
}), /* @__PURE__ */ n("span", {
|
|
168
|
+
className: "cai-question",
|
|
169
|
+
children: "你认为此答案存在哪方面的问题?"
|
|
170
|
+
})]
|
|
171
|
+
}), /* @__PURE__ */ n("div", {
|
|
172
|
+
className: "cai-list",
|
|
173
|
+
children: M.map((e) => /* @__PURE__ */ n("span", {
|
|
174
|
+
className: J({
|
|
175
|
+
"cai-item": !0,
|
|
176
|
+
"cai-item__active": s.some((a) => a.id === e.id)
|
|
177
|
+
}),
|
|
178
|
+
onClick: () => B(e),
|
|
179
|
+
children: e.name
|
|
180
|
+
}, e.id))
|
|
181
|
+
}), T && /* @__PURE__ */ n("div", {
|
|
182
|
+
className: "cai-error",
|
|
183
|
+
children: /* @__PURE__ */ n("span", {
|
|
184
|
+
className: "cai-error-text",
|
|
185
|
+
children: "请选择您不满意的原因"
|
|
186
|
+
})
|
|
187
|
+
}), /* @__PURE__ */ n("div", {
|
|
188
|
+
className: "cai-title",
|
|
189
|
+
children: /* @__PURE__ */ n("span", {
|
|
190
|
+
className: "cai-question",
|
|
191
|
+
children: "您还有哪些建议?"
|
|
192
|
+
})
|
|
193
|
+
}), /* @__PURE__ */ n($.TextArea, {
|
|
194
|
+
onChange: E,
|
|
195
|
+
value: N,
|
|
196
|
+
autoSize: {
|
|
197
|
+
minRows: 3,
|
|
198
|
+
maxRows: 6
|
|
199
|
+
},
|
|
200
|
+
placeholder: `[需求场景]:\r
|
|
201
|
+
[改进建议]:`,
|
|
202
|
+
autoComplete: "off",
|
|
203
|
+
showCount: !0,
|
|
204
|
+
maxLength: 300
|
|
205
|
+
})]
|
|
206
|
+
}),
|
|
207
|
+
onConfirm: () => O(),
|
|
208
|
+
cancelButtonProps: {
|
|
209
|
+
size: "middle"
|
|
210
|
+
},
|
|
211
|
+
okButtonProps: {
|
|
212
|
+
size: "middle"
|
|
213
|
+
},
|
|
214
|
+
children: /* @__PURE__ */ n("span", {
|
|
215
|
+
className: "comment-feedback-item",
|
|
216
|
+
children: /* @__PURE__ */ n(r, {
|
|
217
|
+
type: "icon-cai"
|
|
218
|
+
})
|
|
219
|
+
})
|
|
220
|
+
}), u === -1 && /* @__PURE__ */ n("span", {
|
|
221
|
+
className: "comment-feedback-item comment-feedback-item__active",
|
|
222
|
+
children: /* @__PURE__ */ n(r, {
|
|
223
|
+
type: "icon-cai"
|
|
224
|
+
})
|
|
225
|
+
})]
|
|
226
|
+
})
|
|
227
|
+
})]
|
|
228
|
+
});
|
|
229
|
+
};
|
|
230
|
+
export {
|
|
231
|
+
ne as default
|
|
232
|
+
};
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
var v = (x, w, p) => new Promise((d, e) => {
|
|
2
|
+
var b = (o) => {
|
|
3
|
+
try {
|
|
4
|
+
s(p.next(o));
|
|
5
|
+
} catch (f) {
|
|
6
|
+
e(f);
|
|
7
|
+
}
|
|
8
|
+
}, N = (o) => {
|
|
9
|
+
try {
|
|
10
|
+
s(p.throw(o));
|
|
11
|
+
} catch (f) {
|
|
12
|
+
e(f);
|
|
13
|
+
}
|
|
14
|
+
}, s = (o) => o.done ? d(o.value) : Promise.resolve(o.value).then(b, N);
|
|
15
|
+
s((p = p.apply(x, w)).next());
|
|
16
|
+
});
|
|
17
|
+
import { jsx as c, jsxs as h } from "../../_virtual/jsx-runtime.mjs";
|
|
18
|
+
import { forwardRef as B, useState as C, useContext as K, useEffect as E, useImperativeHandle as U } from "react";
|
|
19
|
+
import { Button as q, Popconfirm as D, Input as G, Space as J } from "antd";
|
|
20
|
+
import Q from "dayjs";
|
|
21
|
+
import T from "../../node_modules/classnames/index.mjs";
|
|
22
|
+
import H from "../../Iconfont/index.mjs";
|
|
23
|
+
import V from "../../context.mjs";
|
|
24
|
+
import "./style.less.mjs";
|
|
25
|
+
import W from "../../node_modules/ahooks/es/useMemoizedFn/index.mjs";
|
|
26
|
+
const X = B((x, w) => {
|
|
27
|
+
var M;
|
|
28
|
+
const {
|
|
29
|
+
sider: p,
|
|
30
|
+
currentSession: d,
|
|
31
|
+
setCurrentSession: e,
|
|
32
|
+
checkKnowledges: b,
|
|
33
|
+
application: N,
|
|
34
|
+
networkStatus: s
|
|
35
|
+
} = x, [o, f] = C(), {
|
|
36
|
+
agentClient: l,
|
|
37
|
+
mode: L
|
|
38
|
+
} = K(V), [m, u] = C([]), P = W(() => {
|
|
39
|
+
var t;
|
|
40
|
+
if (!((t = d == null ? void 0 : d.data) != null && t.id))
|
|
41
|
+
return;
|
|
42
|
+
const a = m.map((i) => {
|
|
43
|
+
var n, r;
|
|
44
|
+
return ((n = i.data) == null ? void 0 : n.id) === ((r = d.data) == null ? void 0 : r.id) ? d : i;
|
|
45
|
+
});
|
|
46
|
+
u([...a]);
|
|
47
|
+
});
|
|
48
|
+
E(() => {
|
|
49
|
+
l == null || l.getSessions().then((a) => v(void 0, null, function* () {
|
|
50
|
+
var t;
|
|
51
|
+
if (u([...a]), !((t = d == null ? void 0 : d.data) != null && t.id) && (a != null && a.length) && L === "inlay") {
|
|
52
|
+
const i = a[0];
|
|
53
|
+
e == null || e(i);
|
|
54
|
+
}
|
|
55
|
+
}));
|
|
56
|
+
}, []), E(() => {
|
|
57
|
+
d == null || d.addEventListener("data:updated", P);
|
|
58
|
+
}, [(M = d == null ? void 0 : d.data) == null ? void 0 : M.id]), U(w, () => ({
|
|
59
|
+
create(a) {
|
|
60
|
+
return j(a);
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
63
|
+
const j = (a) => new Promise((t) => v(void 0, null, function* () {
|
|
64
|
+
var n;
|
|
65
|
+
const i = yield l == null ? void 0 : l.loadSession("", {
|
|
66
|
+
name: a == null ? void 0 : a.name,
|
|
67
|
+
// @ts-ignore netOpen入参是number 响应是boolen
|
|
68
|
+
// 只有对话有联网 其它没有
|
|
69
|
+
netOpen: (N == null ? void 0 : N.type) === 0 ? a == null ? void 0 : a.netOpen : void 0,
|
|
70
|
+
knowledges: (n = d == null ? void 0 : d.data) != null && n.id ? void 0 : b
|
|
71
|
+
});
|
|
72
|
+
i == null || i.addEventListener("data:created", () => v(void 0, null, function* () {
|
|
73
|
+
u([i, ...m]), t(i);
|
|
74
|
+
}));
|
|
75
|
+
})), O = () => {
|
|
76
|
+
j({
|
|
77
|
+
netOpen: (m == null ? void 0 : m.length) > 0 ? 2 : s ? 1 : 2
|
|
78
|
+
}).then((a) => {
|
|
79
|
+
e == null || e(a);
|
|
80
|
+
});
|
|
81
|
+
}, z = (a) => {
|
|
82
|
+
l == null || l.removeSession(a, !0).then(() => v(void 0, null, function* () {
|
|
83
|
+
var i, n;
|
|
84
|
+
const t = m.filter((r) => {
|
|
85
|
+
var y, k;
|
|
86
|
+
return ((y = r.data) == null ? void 0 : y.id) !== ((k = a.data) == null ? void 0 : k.id);
|
|
87
|
+
});
|
|
88
|
+
((i = a.data) == null ? void 0 : i.id) === ((n = d == null ? void 0 : d.data) == null ? void 0 : n.id) && (t != null && t.length ? e == null || e(t[0]) : e == null || e(void 0)), u([...t]);
|
|
89
|
+
}));
|
|
90
|
+
}, A = (a) => {
|
|
91
|
+
var t;
|
|
92
|
+
f((t = a.data) == null ? void 0 : t.name);
|
|
93
|
+
}, F = (a) => {
|
|
94
|
+
o && (a.rename(o), a == null || a.addEventListener("data:updated", P));
|
|
95
|
+
}, R = (a) => v(void 0, null, function* () {
|
|
96
|
+
e == null || e(a);
|
|
97
|
+
}), _ = (a) => {
|
|
98
|
+
f(a.target.value);
|
|
99
|
+
};
|
|
100
|
+
return E(() => {
|
|
101
|
+
d != null && d.id && (l == null || l.loadSession(d.id));
|
|
102
|
+
}, [d]), /* @__PURE__ */ c("div", {
|
|
103
|
+
className: "bot-session-container",
|
|
104
|
+
children: p && L === "inlay" && /* @__PURE__ */ h("div", {
|
|
105
|
+
className: "agent-sessions",
|
|
106
|
+
children: [/* @__PURE__ */ h("div", {
|
|
107
|
+
className: "sessions-header",
|
|
108
|
+
children: [/* @__PURE__ */ c("span", {
|
|
109
|
+
className: "session-header-title",
|
|
110
|
+
children: "会话列表"
|
|
111
|
+
}), /* @__PURE__ */ c(q, {
|
|
112
|
+
className: "session-header-btn",
|
|
113
|
+
onClick: O,
|
|
114
|
+
children: "+ 新建会话"
|
|
115
|
+
})]
|
|
116
|
+
}), /* @__PURE__ */ c("div", {
|
|
117
|
+
className: "sessions-main",
|
|
118
|
+
children: m == null ? void 0 : m.map((a) => {
|
|
119
|
+
var t, i, n, r, y, k;
|
|
120
|
+
return /* @__PURE__ */ c("div", {
|
|
121
|
+
className: T({
|
|
122
|
+
"session-item": !0,
|
|
123
|
+
"session-item__active": ((t = a.data) == null ? void 0 : t.id) === ((i = d == null ? void 0 : d.data) == null ? void 0 : i.id)
|
|
124
|
+
}),
|
|
125
|
+
onClick: () => R(a),
|
|
126
|
+
children: /* @__PURE__ */ h("div", {
|
|
127
|
+
className: "session-item-wrapper",
|
|
128
|
+
children: [/* @__PURE__ */ h("div", {
|
|
129
|
+
className: "session-item-top",
|
|
130
|
+
children: [/* @__PURE__ */ c("span", {
|
|
131
|
+
className: "item-top-title",
|
|
132
|
+
children: ((n = a.data) == null ? void 0 : n.name) || "-"
|
|
133
|
+
}), /* @__PURE__ */ h("div", {
|
|
134
|
+
className: "item-top-action",
|
|
135
|
+
onClick: (g) => g.stopPropagation(),
|
|
136
|
+
children: [/* @__PURE__ */ c(D, {
|
|
137
|
+
getPopupContainer: (g) => g.parentNode,
|
|
138
|
+
icon: !1,
|
|
139
|
+
title: /* @__PURE__ */ c(G, {
|
|
140
|
+
placeholder: "请输入内容",
|
|
141
|
+
autoComplete: "off",
|
|
142
|
+
showCount: !0,
|
|
143
|
+
value: o,
|
|
144
|
+
onChange: _,
|
|
145
|
+
maxLength: 15
|
|
146
|
+
}),
|
|
147
|
+
onConfirm: () => F(a),
|
|
148
|
+
children: /* @__PURE__ */ c(H, {
|
|
149
|
+
type: "icon-bianji2",
|
|
150
|
+
onClick: () => A(a),
|
|
151
|
+
className: "icon-action",
|
|
152
|
+
style: {
|
|
153
|
+
marginRight: "8px"
|
|
154
|
+
}
|
|
155
|
+
})
|
|
156
|
+
}), /* @__PURE__ */ c(D, {
|
|
157
|
+
getPopupContainer: (g) => g.parentNode,
|
|
158
|
+
icon: !1,
|
|
159
|
+
title: /* @__PURE__ */ h(J, {
|
|
160
|
+
direction: "vertical",
|
|
161
|
+
children: [/* @__PURE__ */ c("div", {
|
|
162
|
+
children: "删除确认?"
|
|
163
|
+
}), /* @__PURE__ */ c("div", {
|
|
164
|
+
children: "会话删除后不可恢复,请确认是否删除!"
|
|
165
|
+
})]
|
|
166
|
+
}),
|
|
167
|
+
onConfirm: () => z(a),
|
|
168
|
+
children: /* @__PURE__ */ c(H, {
|
|
169
|
+
style: {
|
|
170
|
+
fontSize: "18px"
|
|
171
|
+
},
|
|
172
|
+
className: "icon-action",
|
|
173
|
+
type: "icon-del"
|
|
174
|
+
})
|
|
175
|
+
})]
|
|
176
|
+
})]
|
|
177
|
+
}), /* @__PURE__ */ h("div", {
|
|
178
|
+
className: "session-item-bottom",
|
|
179
|
+
children: [/* @__PURE__ */ c("span", {
|
|
180
|
+
className: "item-bottom-desc",
|
|
181
|
+
children: ((r = a.data) == null ? void 0 : r.finialMessage) || "-"
|
|
182
|
+
}), /* @__PURE__ */ c("span", {
|
|
183
|
+
className: "item-bottom-time",
|
|
184
|
+
children: Q((y = a.data) == null ? void 0 : y.createdAt).format("MM/DD HH:mm:ss")
|
|
185
|
+
})]
|
|
186
|
+
})]
|
|
187
|
+
})
|
|
188
|
+
}, (k = a.data) == null ? void 0 : k.id);
|
|
189
|
+
})
|
|
190
|
+
})]
|
|
191
|
+
})
|
|
192
|
+
});
|
|
193
|
+
});
|
|
194
|
+
X.displayName = "SessionList";
|
|
195
|
+
export {
|
|
196
|
+
X as default
|
|
197
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsxs as u, jsx as e } from "../../../_virtual/jsx-runtime.mjs";
|
|
2
|
+
import { useState as C, useEffect as f } from "react";
|
|
3
|
+
import { Input as p, Button as c } from "antd";
|
|
4
|
+
import "./style.less.mjs";
|
|
5
|
+
import { CheckOutlined as d, CloseOutlined as k } from "@ant-design/icons";
|
|
6
|
+
const V = (m) => {
|
|
7
|
+
const {
|
|
8
|
+
session: t,
|
|
9
|
+
onChangeEditStatus: o,
|
|
10
|
+
onEditNameConfirm: r
|
|
11
|
+
} = m, [a, i] = C("");
|
|
12
|
+
return f(() => {
|
|
13
|
+
var l, s;
|
|
14
|
+
const n = ((s = (l = t.data) == null ? void 0 : l.name) == null ? void 0 : s.slice(0, 20)) || "";
|
|
15
|
+
i(n);
|
|
16
|
+
}, [t]), /* @__PURE__ */ u("div", {
|
|
17
|
+
className: "name-edit-panel",
|
|
18
|
+
children: [/* @__PURE__ */ e(p, {
|
|
19
|
+
value: a,
|
|
20
|
+
showCount: !0,
|
|
21
|
+
className: "name-edit-input",
|
|
22
|
+
maxLength: 20,
|
|
23
|
+
onChange: (n) => i(n.target.value)
|
|
24
|
+
}), /* @__PURE__ */ e(c, {
|
|
25
|
+
type: "link",
|
|
26
|
+
icon: /* @__PURE__ */ e(d, {}),
|
|
27
|
+
style: {
|
|
28
|
+
color: "#30BF13",
|
|
29
|
+
right: 40
|
|
30
|
+
},
|
|
31
|
+
onClick: () => {
|
|
32
|
+
r(t, a), o("", !1);
|
|
33
|
+
}
|
|
34
|
+
}), /* @__PURE__ */ e(c, {
|
|
35
|
+
type: "link",
|
|
36
|
+
icon: /* @__PURE__ */ e(k, {}),
|
|
37
|
+
style: {
|
|
38
|
+
color: "#84868C"
|
|
39
|
+
},
|
|
40
|
+
onClick: () => {
|
|
41
|
+
o("", !1);
|
|
42
|
+
}
|
|
43
|
+
})]
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
V as default
|
|
48
|
+
};
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t, Fragment as q } from "../../../_virtual/jsx-runtime.mjs";
|
|
2
|
+
import { useState as M, useEffect as D } from "react";
|
|
3
|
+
import { Space as P, Tag as j, Button as o, Spin as $ } from "antd";
|
|
4
|
+
import A from "./doc-icons/pdf.svg.mjs";
|
|
5
|
+
import G from "./doc-icons/doc.svg.mjs";
|
|
6
|
+
import H from "./doc-icons/docx.svg.mjs";
|
|
7
|
+
import "./style.less.mjs";
|
|
8
|
+
import { CheckCircleFilled as J, CloseCircleFilled as K, LoadingOutlined as Q } from "@ant-design/icons";
|
|
9
|
+
import U from "./NameEditPanel.mjs";
|
|
10
|
+
import n from "../../../Iconfont/index.mjs";
|
|
11
|
+
const V = {
|
|
12
|
+
doc: G,
|
|
13
|
+
docx: H,
|
|
14
|
+
pdf: A
|
|
15
|
+
}, ni = (b) => {
|
|
16
|
+
var h, N, C, S, g, y, k, x, v, F, E, I;
|
|
17
|
+
const {
|
|
18
|
+
session: i,
|
|
19
|
+
index: l,
|
|
20
|
+
currentSessionId: c,
|
|
21
|
+
onChangeSession: z,
|
|
22
|
+
onDelSession: L,
|
|
23
|
+
onTopSession: d,
|
|
24
|
+
onEditNameConfirm: O,
|
|
25
|
+
editSessionId: R,
|
|
26
|
+
isEdit: r,
|
|
27
|
+
onChangeEditStatus: m
|
|
28
|
+
} = b, [p, f] = M(-1), [u, T] = M("");
|
|
29
|
+
return D(() => {
|
|
30
|
+
var a, s, w;
|
|
31
|
+
if ((a = i.data) != null && a.lastFileName) {
|
|
32
|
+
const B = i.data.lastFileName.lastIndexOf(".");
|
|
33
|
+
T((w = (s = i.data) == null ? void 0 : s.lastFileName) == null ? void 0 : w.slice(B + 1));
|
|
34
|
+
}
|
|
35
|
+
}, [i]), /* @__PURE__ */ e("div", {
|
|
36
|
+
id: (h = i.data) == null ? void 0 : h.id,
|
|
37
|
+
className: `session-item-panel ${((N = i.data) == null ? void 0 : N.id) === c ? "current-item" : ""}`,
|
|
38
|
+
onMouseEnter: () => f(l),
|
|
39
|
+
onMouseLeave: () => f(-1),
|
|
40
|
+
onClick: () => !r && z(i),
|
|
41
|
+
children: /* @__PURE__ */ t(P, {
|
|
42
|
+
direction: "vertical",
|
|
43
|
+
size: 12,
|
|
44
|
+
className: "session-item-space",
|
|
45
|
+
children: [/* @__PURE__ */ t("div", {
|
|
46
|
+
className: "item-question",
|
|
47
|
+
children: [((C = i.data) == null ? void 0 : C.id) === c && /* @__PURE__ */ e(j, {
|
|
48
|
+
children: "当前的"
|
|
49
|
+
}), r && R === ((S = i.data) == null ? void 0 : S.id) ? /* @__PURE__ */ e(U, {
|
|
50
|
+
session: i,
|
|
51
|
+
onChangeEditStatus: m,
|
|
52
|
+
onEditNameConfirm: O
|
|
53
|
+
}) : /* @__PURE__ */ t(q, {
|
|
54
|
+
children: [/* @__PURE__ */ e("div", {
|
|
55
|
+
className: "session-item-name",
|
|
56
|
+
children: (g = i.data) == null ? void 0 : g.name
|
|
57
|
+
}), p !== l && ((y = i.data) == null ? void 0 : y.top) && /* @__PURE__ */ e(n, {
|
|
58
|
+
type: "icon-sheweihuihuaqian",
|
|
59
|
+
style: {
|
|
60
|
+
color: "#9C24F2",
|
|
61
|
+
fontSize: 16
|
|
62
|
+
}
|
|
63
|
+
}), p === l && /* @__PURE__ */ t("div", {
|
|
64
|
+
className: "icons-bar",
|
|
65
|
+
children: [(k = i.data) != null && k.top ? /* @__PURE__ */ e(o, {
|
|
66
|
+
type: "link",
|
|
67
|
+
icon: /* @__PURE__ */ e(n, {
|
|
68
|
+
type: "icon-sheweihuihuaqian"
|
|
69
|
+
}),
|
|
70
|
+
onClick: (a) => {
|
|
71
|
+
d(i, !1), a.stopPropagation();
|
|
72
|
+
},
|
|
73
|
+
style: {
|
|
74
|
+
color: "#9C24F2"
|
|
75
|
+
}
|
|
76
|
+
}) : /* @__PURE__ */ e(o, {
|
|
77
|
+
type: "link",
|
|
78
|
+
icon: /* @__PURE__ */ e(n, {
|
|
79
|
+
type: "icon-weisheweihuihuaqian"
|
|
80
|
+
}),
|
|
81
|
+
onClick: (a) => {
|
|
82
|
+
d(i, !0), a.stopPropagation();
|
|
83
|
+
}
|
|
84
|
+
}), /* @__PURE__ */ e(o, {
|
|
85
|
+
type: "link",
|
|
86
|
+
icon: /* @__PURE__ */ e(n, {
|
|
87
|
+
type: "icon-bianji2"
|
|
88
|
+
}),
|
|
89
|
+
onClick: (a) => {
|
|
90
|
+
var s;
|
|
91
|
+
m((s = i.data) == null ? void 0 : s.id, !0), a.stopPropagation();
|
|
92
|
+
}
|
|
93
|
+
}), /* @__PURE__ */ e(o, {
|
|
94
|
+
type: "link",
|
|
95
|
+
icon: /* @__PURE__ */ e(n, {
|
|
96
|
+
type: "icon-shanchu1"
|
|
97
|
+
}),
|
|
98
|
+
onClick: (a) => L(i, a)
|
|
99
|
+
})]
|
|
100
|
+
})]
|
|
101
|
+
})]
|
|
102
|
+
}), (x = i.data) != null && x.finialMessage ? /* @__PURE__ */ e("div", {
|
|
103
|
+
className: "item-answer",
|
|
104
|
+
children: i.data.finialMessage
|
|
105
|
+
}) : /* @__PURE__ */ e("div", {
|
|
106
|
+
style: {
|
|
107
|
+
height: "22px"
|
|
108
|
+
}
|
|
109
|
+
}), !!((v = i.data) != null && v.fileCount) && /* @__PURE__ */ e("div", {
|
|
110
|
+
className: "item-file",
|
|
111
|
+
children: /* @__PURE__ */ t(P, {
|
|
112
|
+
children: [u && /* @__PURE__ */ t("div", {
|
|
113
|
+
style: {
|
|
114
|
+
position: "relative"
|
|
115
|
+
},
|
|
116
|
+
children: [/* @__PURE__ */ e("img", {
|
|
117
|
+
className: "file-icon",
|
|
118
|
+
src: V[u]
|
|
119
|
+
}), i.data.fileStatus === 10 ? /* @__PURE__ */ e(J, {
|
|
120
|
+
className: "file-status-icon success-file-icon"
|
|
121
|
+
}) : i.data.fileStatus === 20 ? /* @__PURE__ */ e(K, {
|
|
122
|
+
className: "file-status-icon failed-file-icon"
|
|
123
|
+
}) : i.data.fileStatus === 30 ? /* @__PURE__ */ e($, {
|
|
124
|
+
indicator: /* @__PURE__ */ e(Q, {
|
|
125
|
+
className: "file-status-icon loading-file-icon",
|
|
126
|
+
spin: !0
|
|
127
|
+
})
|
|
128
|
+
}) : /* @__PURE__ */ e(q, {})]
|
|
129
|
+
}), /* @__PURE__ */ e("span", {
|
|
130
|
+
className: "file-name",
|
|
131
|
+
children: (F = i.data) == null ? void 0 : F.lastFileName
|
|
132
|
+
}), /* @__PURE__ */ t(j, {
|
|
133
|
+
children: ["共 ", (E = i.data) == null ? void 0 : E.fileCount, " 个"]
|
|
134
|
+
})]
|
|
135
|
+
})
|
|
136
|
+
})]
|
|
137
|
+
})
|
|
138
|
+
}, (I = i.data) == null ? void 0 : I.id);
|
|
139
|
+
};
|
|
140
|
+
export {
|
|
141
|
+
ni as default
|
|
142
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const M = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDhDMTAgNi44OTU0MyAxMC44OTU0IDYgMTIgNkgyNy4xNzE2QzI3LjcwMiA2IDI4LjIxMDcgNi4yMTA3MSAyOC41ODU4IDYuNTg1NzlMMzcuNDE0MiAxNS40MTQyQzM3Ljc4OTMgMTUuNzg5MyAzOCAxNi4yOTggMzggMTYuODI4NFY0MEMzOCA0MS4xMDQ2IDM3LjEwNDYgNDIgMzYgNDJIMTJDMTAuODk1NCA0MiAxMCA0MS4xMDQ2IDEwIDQwVjhaIiBmaWxsPSIjNDVDQzI3IiBzdHJva2U9IiM0NUNDMjciIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0zMy4zMzMzIDMxLjMzNEgyOVYzNi42NjczSDMzLjMzMzMiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0xNSAzMS4zMzRIMTcuNUMxOC4zMjg0IDMxLjMzNCAxOSAzMi4wMDU2IDE5IDMyLjgzNFYzNS4xNjczQzE5IDM1Ljk5NTcgMTguMzI4NCAzNi42NjczIDE3LjUgMzYuNjY3M0gxNVYzMS4zMzRaIiBzdHJva2U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