@glodon-aiot/agent-cli-ui 3.3.0-beta.19 → 3.3.1-beta.0
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/src/style11.css +1 -1
- package/dist/es/src/style12.css +1 -1
- package/dist/es/src/style13.css +1 -1
- package/dist/es/src/style14.css +1 -1
- package/dist/es/src/style15.css +1 -1
- package/dist/es/src/style16.css +1 -1
- package/dist/es/src/style17.css +1 -1
- package/dist/es/src/style19.css +1 -1
- package/dist/es/src/style20.css +1 -1
- package/dist/es/src/style21.css +1 -1
- package/dist/es/src/style22.css +1 -1
- package/dist/es/src/style23.css +1 -1
- package/dist/es/src/style24.css +1 -1
- package/dist/es/src/style26.css +1 -1
- package/dist/es/src/style27.css +1 -1
- package/dist/es/src/style28.css +1 -1
- package/dist/es/src/style3.css +1 -1
- package/dist/es/src/style4.css +1 -1
- package/dist/es/src/style5.css +1 -1
- package/dist/es/src/style6.css +1 -1
- package/dist/es/src/style8.css +1 -1
- package/dist/es/src/style9.css +1 -1
- package/package.json +3 -3
- package/dist/src/ConnectToNetwork/index.d.ts +0 -13
- package/dist/src/ConnectToNetwork_bac/index.d.ts +0 -13
- package/dist/src/Dialog/ChatEmptyView/index.d.ts +0 -6
- package/dist/src/Dialog/ConnectToNetwork/index.d.ts +0 -14
- package/dist/src/Dialog/FileCard/index.d.ts +0 -22
- package/dist/src/Dialog/FileItem/index.d.ts +0 -11
- package/dist/src/Dialog/FilePreview/index.d.ts +0 -20
- package/dist/src/Dialog/Greeting/index.d.ts +0 -7
- package/dist/src/Dialog/HistoryContent/index.d.ts +0 -5
- package/dist/src/Dialog/HistoryItem/FileItem/index.d.ts +0 -11
- package/dist/src/Dialog/HistoryItem/InputProgress/index.d.ts +0 -7
- package/dist/src/Dialog/HistoryItem/ReferCollapse/index.d.ts +0 -8
- package/dist/src/Dialog/HistoryItem/ReferCollapsea/index.d.ts +0 -8
- package/dist/src/Dialog/HistoryItem/SearchReference/index.d.ts +0 -10
- package/dist/src/Dialog/HistoryItem/SessionAction/index.d.ts +0 -13
- package/dist/src/Dialog/HistoryItem/SessionRefer/ReferItem/index.d.ts +0 -9
- package/dist/src/Dialog/HistoryItem/SessionRefer/index.d.ts +0 -8
- package/dist/src/Dialog/HistoryItem/SessionRelated/index.d.ts +0 -9
- package/dist/src/Dialog/HistoryItem/index.d.ts +0 -18
- package/dist/src/Dialog/InputProgress/index.d.ts +0 -7
- package/dist/src/Dialog/KnowledgeDoc/index.d.ts +0 -9
- package/dist/src/Dialog/KnowledgeList/KnowledgeSelect/index.d.ts +0 -12
- package/dist/src/Dialog/KnowledgeList/index.d.ts +0 -12
- package/dist/src/Dialog/PromptManager/PromptList/EditPromptModal/index.d.ts +0 -11
- package/dist/src/Dialog/PromptManager/PromptList/PrivatePromptList.d.ts +0 -12
- package/dist/src/Dialog/PromptManager/PromptList/PromptListItem.d.ts +0 -13
- package/dist/src/Dialog/PromptManager/PromptList/PublicPromptList.d.ts +0 -12
- package/dist/src/Dialog/PromptManager/index.d.ts +0 -13
- package/dist/src/Dialog/PromptSetting/index.d.ts +0 -15
- package/dist/src/Dialog/Recommend/RecommendItem.d.ts +0 -12
- package/dist/src/Dialog/Recommend/index.d.ts +0 -14
- package/dist/src/Dialog/ReferCollapse/index.d.ts +0 -8
- package/dist/src/Dialog/SearchReference/index.d.ts +0 -10
- package/dist/src/Dialog/SessionAction/index.d.ts +0 -13
- package/dist/src/Dialog/SessionListDrawer/HistorySessionList/NameEditPanel.d.ts +0 -9
- package/dist/src/Dialog/SessionListDrawer/HistorySessionList/SessionItem.d.ts +0 -16
- package/dist/src/Dialog/SessionListDrawer/HistorySessionList/index.d.ts +0 -9
- package/dist/src/Dialog/SessionListDrawer/index.d.ts +0 -9
- package/dist/src/Dialog/SessionRefer/ReferItem/index.d.ts +0 -9
- package/dist/src/Dialog/SessionRefer/index.d.ts +0 -8
- package/dist/src/Dialog/SessionRelated/index.d.ts +0 -9
- package/dist/src/Dialog/Tools/ConnectToNetwork/index.d.ts +0 -14
- package/dist/src/Dialog/Tools/PromptManager/PromptList/EditPromptModal/index.d.ts +0 -11
- package/dist/src/Dialog/Tools/PromptManager/PromptList/PrivatePromptList.d.ts +0 -12
- package/dist/src/Dialog/Tools/PromptManager/PromptList/PromptListItem.d.ts +0 -13
- package/dist/src/Dialog/Tools/PromptManager/PromptList/PublicPromptList.d.ts +0 -12
- package/dist/src/Dialog/Tools/PromptManager/index.d.ts +0 -13
- package/dist/src/Dialog/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.d.ts +0 -9
- package/dist/src/Dialog/Tools/SessionListDrawer/HistorySessionList/SessionItem.d.ts +0 -16
- package/dist/src/Dialog/Tools/SessionListDrawer/HistorySessionList/index.d.ts +0 -9
- package/dist/src/Dialog/Tools/SessionListDrawer/index.d.ts +0 -9
- package/dist/src/Dialog/Tools/UploadKnowledgeFiles/ClearModal/index.d.ts +0 -7
- package/dist/src/Dialog/Tools/UploadKnowledgeFiles/FileCard/index.d.ts +0 -22
- package/dist/src/Dialog/Tools/UploadKnowledgeFiles/index.d.ts +0 -22
- package/dist/src/Dialog/UploadFiles/ClearModal/index.d.ts +0 -7
- package/dist/src/Dialog/UploadFiles/index.d.ts +0 -21
- package/dist/src/Dialog/UploadFilesa/ClearModal/index.d.ts +0 -7
- package/dist/src/Dialog/UploadFilesa/index.d.ts +0 -21
- package/dist/src/Dialog/UploadKnowledgeFiles/ClearModal/index.d.ts +0 -7
- package/dist/src/Dialog/UploadKnowledgeFiles/index.d.ts +0 -22
- package/dist/src/FileCard/index.d.ts +0 -21
- package/dist/src/FileCard-bac/index.d.ts +0 -21
- package/dist/src/FileItem/index.d.ts +0 -11
- package/dist/src/Greeting/index.d.ts +0 -7
- package/dist/src/Greeting-bac/index.d.ts +0 -7
- package/dist/src/Iconfont/font_4108228_8te6zfkclqu.d.ts +0 -0
- package/dist/src/Iconfont/font_4108228_z72fskklg2.d.ts +0 -0
- package/dist/src/Iconfont/font_4439177_7rytwlvbmjj.d.ts +0 -0
- package/dist/src/Iconfont/index.d.ts +0 -2
- package/dist/src/InputProgress/index.d.ts +0 -7
- package/dist/src/components/Copy/index.d.ts +0 -5
- package/dist/src/components/Markdown/ATag/index.d.ts +0 -2
- package/dist/src/components/Markdown/Code/index.d.ts +0 -2
- package/dist/src/components/Markdown/Image/index.d.ts +0 -2
- package/dist/src/components/Markdown/Video/index.d.ts +0 -2
- package/dist/src/components/Markdown/index.d.ts +0 -7
- package/dist/src/utils/clipboard.d.ts +0 -11
package/dist/es/src/style11.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.prompt-setting-panel{display:flex;align-items:center;justify-content:center}.agent-prompt{margin:12px 12px 0;padding:12px;border-radius:4px;border:1px solid #e8e9eb;background:#fff;flex:1;max-width:824px}.agent-prompt .prompt-header{font-size:16px;line-height:24px;font-weight:600;color:#84868c}.agent-prompt .prompt-header .prompt-btn{color:#84868c}.agent-prompt .prompt-header .prompt-title{color:#5c5f66;font-style:normal;line-height:150%}.agent-prompt .prompt-form{max-height:160px;overflow-y:auto;margin-top:12px}.agent-prompt .prompt-form .ant-form-item{margin-left:15px}.agent-prompt .icon-prompt-question{cursor:pointer}
|
package/dist/es/src/style12.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.connect{position:relative}.connect .net-tip{position:absolute;top:-45px;left:50%;transform:translate(-88%);white-space:nowrap;background:#ffffff;padding:8px;border-radius:4px;box-shadow:0 2px 8px #00000026;z-index:10}
|
package/dist/es/src/style13.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.footer-upload{display:flex;justify-content:center;align-items:center}.footer-upload .upload-enter{padding:0;height:24px;width:24px;display:flex;justify-content:center;align-items:center;cursor:pointer}.footer-upload .upload-enter.disabled{color:#b8babf;cursor:not-allowed}.footer-upload .upload-enter:hover{background:#ebebeb;border-radius:4px}.file-upload{width:100%;display:flex;flex-direction:column}.file-upload .ant-upload-drag{background-color:#fff;border:unset}.file-upload .ant-upload-drag .ant-upload-btn{padding:0}.file-upload .file-upload-icon{font-size:35px;color:#d3d3d3}.file-upload .file-upload-action{display:flex;justify-content:center;align-items:center;margin-bottom:12px}.file-upload .file-upload-desc{text-align:left;display:flex;flex-direction:column;font-weight:400;font-size:12px;margin:0 auto;color:#84868c;width:232px;line-height:18px;padding-left:20px}.file-upload .file-upload-desc .item-upload-desc{line-height:150%}.file-upload .file-upload-desc .item-upload-desc__1{display:flex;align-items:center}.file-upload .upload-wrapper{height:300px;overflow-y:auto;overflow-x:hidden}.file-upload .upload-wrapper .upload-main{flex:1;width:100%;overflow-y:auto;margin-bottom:16px}.file-upload .upload-wrapper .upload-main .upload-pannel{width:100%}.file-upload .upload-wrapper .upload-main .upload-empty{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.file-upload .upload-wrapper .upload-main .upload-item{cursor:pointer}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-file-icon{display:inline-block;width:10px}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-name{margin-left:10px;display:inline-block;max-width:230px;word-break:break-all}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-upload-delete{display:inline-block;width:10px;color:#9c24f2;display:none}.file-upload .upload-wrapper .upload-main .upload-item:hover{background:rgba(0,0,0,.04)}.file-upload .upload-wrapper .upload-main .upload-item:hover .upload-item-upload-delete{display:inline-block}.card-title{display:flex;justify-content:space-between;align-items:center;color:#393939;font-size:14px}.card-title .name{font-weight:500}.card-title .actions{font-weight:400;display:flex;gap:12px}.card-title .actions .action{padding:4px 2px;cursor:pointer}.card-title .actions .action .detail{display:flex;gap:6px;align-items:center}.split-line{width:100%;height:1px;border:.5px solid #e8e9eb}.upload-popover{z-index:1}
|
package/dist/es/src/style14.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.session-list-component{position:relative;z-index:1}.session-list-component .session-list-overlay .ant-popover-inner-content{padding:8px 10px}.session-list-component .list-overlay-action:hover{color:#9c24f2}
|
package/dist/es/src/style15.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.home-footer{background:#f5f5f5;width:100%;max-width:824px;margin:0 auto}.home-footer .footer-textarea{position:relative;background:white}.home-footer .footer-textarea .input-textview{min-height:134px;max-height:344px;resize:none;font-size:14px;border:1px solid transparent}.home-footer .footer-textarea .input-textview:focus,.home-footer .footer-textarea .input-textview:active,.home-footer .footer-textarea .input-textview.ant-input-focused{border:1px solid #b452ff;outline:0;box-shadow:none}.home-footer .footer-textarea .input-textview:hover{border:1px solid #b452ff;outline:0;box-shadow:0 0 0 2px #9c24f233}.home-footer .footer-textarea .footer-send{position:absolute;right:0;bottom:0;width:40px;height:130px}.home-footer .footer-textarea .footer-send .send-wrapper{height:16px;width:16px;font-size:16px;border-radius:6px;display:flex;justify-content:center;align-items:center;position:absolute;bottom:8px;right:12px;cursor:pointer;color:#b452ff}.home-footer .footer-textarea .footer-send .send-wrapper__disabled{height:16px;width:16px;font-size:16px;color:#b8babf;background:transparent}.home-footer .footer-warning{display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:400;line-height:18px;text-align:left;color:#999}.inlay .home-footer .footer-textarea .input-textview{min-height:134px;max-height:344px}.float .home-footer .footer-textarea .input-textview{min-height:134px;max-height:200px}
|
package/dist/es/src/style16.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.history-item{margin-bottom:16px}.history-item .history-item-user{width:100%}.history-item .history-item-user .item-user-panel{display:flex;justify-content:flex-end}.history-item .history-item-user .item-user-panel .user-panel-main{max-width:100%}.history-item .history-item-user .item-user-panel .user-panel-main .item-user-content{background:#f9f2ff;padding:12px;border-radius:12px 2px 12px 12px;border:1px solid #9c24f2;display:inline-block;width:auto;max-width:100%;color:#070c14;word-wrap:break-word}.history-item .history-item-user .item-user-file{display:flex-end;margin-top:10px}.history-item .history-item-user ::selection{background-color:#b1d7ffb3;color:#fff}.history-item .history-item-bot{width:100%;border-radius:2px 12px 12px;background:white;padding:0 12px}.history-item .history-item-bot .item-bot-plugin{padding-top:12px}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-success{display:inline-block;width:14px;height:14px;color:#fff;background:#47d1cb;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-error{display:inline-block;width:14px;height:14px;color:#fff;background:#f95b81;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-loading{display:inline-block;width:14px;height:14px;color:#477bff;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-title{font-weight:700;color:#000000a6}.history-item .history-item-bot .item-bot-plugin .bot-plugin-action{border:1px solid #00000026;border-radius:4px;color:#000000e0;padding:1px 8px}.history-item .history-item-bot .item-bot-plugin .ant-collapse-header{padding:0;height:38px;display:flex;align-items:center}.history-item .history-item-bot .item-bot-plugin .ant-collapse-content-box{padding:0}.history-item .history-item-bot .item-bot-plugin .bot-plugin-content{height:32px;line-height:32px;font-weight:700}.history-item .history-item-bot .item-bot-plugin .bot-plugin-json{background:white}.history-item .history-item-bot .item-bot-net{padding-top:12px}.history-item .history-item-bot .item-bot-content{width:100%;border-radius:2px 12px 12px;background:white;padding:12px 0;word-wrap:break-word}.history-item .history-item-bot .item-bot-content .content-think{margin-bottom:12px}.history-item .history-item-bot .item-bot-content .content-think .think-top{font-size:14px;line-height:24px;color:#070c14;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.history-item .history-item-bot .item-bot-content .content-think .think-top img{width:24px;margin-right:4px}.history-item .history-item-bot .item-bot-content .content-think .think-top .think-action{margin-left:8px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom{font-size:14px;line-height:150%;color:#999;position:relative}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left{background:#d9d9d9;width:1px;position:absolute;left:10px;top:4px;bottom:4px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left .thinking{position:absolute;left:-5px;top:0;width:12px;height:12px;background:#b752ea;border-radius:50%}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left .thinked{position:absolute;z-index:100;left:-5px;top:0;width:12px;height:12px;background:#04d68d;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:8px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-right{padding-left:22px}.history-item .ant-collapse-item{border-radius:4px;background-color:#f5f5f5;margin-bottom:8px;padding:0 0 0 8px}.history-item .ant-collapse-item .ant-collapse-content{padding-bottom:8px}.history-item .ant-collapse-item:last-child{margin-bottom:0}.history-item .ant-collapse-header-text{width:100%}.inlay .history-item__user{display:flex;justify-content:flex-end}.inlay .history-item-user,.inlay .history-item-bot{max-width:calc(100% - 64px)}.session-item-overlay-popover .ant-popover-inner-content{padding:6px}.session-item-overlay-popover .ant-popover-arrow{display:none}
|
package/dist/es/src/style17.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.knowledge-select{width:204px;height:28px;border-radius:10px;border:1px solid}.knowledge-select .select-popover{cursor:pointer;width:100%;height:100%;padding:0 8px;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:400}.knowledge-select .select-popover .select-icon{color:#84868c}.knowledge-select .select-popover .title{line-height:22px;color:#84868c}.knowledge-select .select-popover .content{padding:2px 8px;border-radius:4px;background:#f7f7f9;line-height:18px;color:#84868c}.knowledge-select .ant-popover-placement-bottomRight{padding-top:5px!important}.knowledge-select .ant-popover-placement-bottomRight .ant-popover-arrow{display:none}.knowledge-select .ant-popover-placement-bottomRight .ant-popover-inner .ant-popover-inner-content{height:200px;overflow-y:auto;font-size:14px;font-weight:400;line-height:21px;color:#84868c}
|
package/dist/es/src/style19.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.file-card{height:38px;min-width:232px;max-width:600px;display:flex;padding:6px 12px 6px 6px;align-items:center;gap:4px;border-radius:6px;background:#ffffff;position:relative}.file-card .analysis{display:flex;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:400;line-height:22px;text-align:left;color:#84868c}.file-card .file-icon{height:100%;width:24px}.file-card.small{height:30px;width:150px;padding:3px 6px 3px 3px}.file-card.small .file-icon{width:24px}.file-card .file-desc{flex:1;overflow:hidden}.file-card .file-desc .file-desc-name{color:#5c5f66;font-size:12px;font-style:normal;font-weight:700;line-height:150%}.file-card .file-desc .file-desc-name:hover{cursor:pointer}.file-card .file-desc .file-desc-name:hover .ant-typography{color:#b452ff}.file-card .file-desc .file-desc-size{color:#84868c;font-size:10px;font-style:normal;font-weight:400;line-height:150%}.file-card .file-process{background-color:#f7f7f9;border-radius:8px;width:16px;height:16px;line-height:16px;text-align:center;display:inline-flex;align-items:center;justify-content:center}.file-card .file-remove{cursor:pointer;display:inline-block;width:16px;height:16px;line-height:16px;text-align:center;color:#151b26;display:inline-flex;align-items:center;justify-content:center}.file-card .file-remove:hover{background-color:#fff;color:#b452ff}.file-card .file-failed{display:inline-block;width:16px;height:16px;line-height:16px;text-align:center;color:#dc4446;display:inline-flex;align-items:center;justify-content:center}.file-remove-tooltip .ant-tooltip-content .ant-tooltip-inner{padding:12px}
|
package/dist/es/src/style20.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.clear-modal .title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;text-align:left;color:#161616}.clear-modal .content{font-size:14px;font-weight:400;line-height:22px;text-align:justified;color:#393939}
|
package/dist/es/src/style21.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.ant-drawer-content-wrapper{height:calc(100% - 54px)!important;border-radius:12px 12px 0 0}.ant-drawer-content-wrapper .ant-drawer-header{padding:12px 16px;border-bottom:none}.ant-drawer-content-wrapper .ant-drawer-header .ant-drawer-header-title{justify-content:space-between;flex-direction:row-reverse;font-size:16px;color:#393939}.ant-drawer-content-wrapper .ant-drawer-header .ant-drawer-header-title .ant-drawer-close{margin:0;padding:0}.ant-drawer-content-wrapper .ant-drawer-body{padding:0 16px 26px}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel{max-height:124px;width:100%;padding:2px 0;border-bottom:1px solid #e8e9eb}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .session-item-space{padding:10px 0;overflow:hidden}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel:hover{cursor:pointer}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .ant-space{width:100%}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question{font-size:14px;font-weight:700;line-height:21px;color:#070c14;width:100%;display:flex;align-items:center;justify-content:space-between}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .ant-tag{width:58px;height:24px;padding:1px 8px;border-radius:4px;font-size:14px;font-weight:400;background-color:#9c24f2;color:#fff}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .session-item-name{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .icons-bar{display:flex}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .icons-bar .ant-btn{margin:0 3px}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .ant-btn{width:20px;height:20px;padding:0;font-size:12px;color:#000}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .name-edit-panel{width:100%;position:relative}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .name-edit-panel .name-edit-input{width:100%}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .name-edit-panel .name-edit-input .ant-input-show-count-suffix{font-size:12px;font-weight:400;color:#e0e0e0;margin-right:60px}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .name-edit-panel .ant-btn{position:absolute;right:12px;top:7px;z-index:999}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-question .name-edit-panel .ant-btn .anticon{font-size:14px}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-answer{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#84868c}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file{font-size:12px;color:#84868c}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .file-icon{width:16px;height:16px}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .file-name{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .ant-tag{font-size:10px;border:1px solid #84868c;background-color:transparent;color:#84868c}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .file-status-icon{position:absolute;left:6px;top:-2px;border-radius:10px;border:1px solid #fff}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .success-file-icon{color:#45cc27}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .failed-file-icon{color:#dc4446}.ant-drawer-content-wrapper .ant-drawer-body .session-item-panel .item-file .loading-file-icon{height:12px;width:12px;font-size:10px;background-color:#fff}.ant-drawer-content-wrapper .ant-drawer-body .current-item{margin:2px 0}.ant-drawer-content-wrapper .ant-drawer-body .current-item .session-item-space{border-radius:8px;background-color:#f9f2ff;padding:8px}.loading-panel .ant-drawer-body{display:flex;justify-content:center;align-items:center}
|
package/dist/es/src/style22.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.session-refer{padding:12px 0;border-top:1px solid #e8e9eb}.session-refer .session-refer-header{color:#070c14;margin-bottom:12px;height:18px;display:flex;align-items:center}.session-refer .session-refer-header .refer-header-title{font-style:normal;font-weight:400;line-height:150%}.session-refer .session-refer-content .refer-markdown p{color:#84868c;line-height:150%}.session-refer .ant-collapse-header{padding:4px 0!important}.session-refer .ant-collapse-content-box{padding:4px 10px 4px 24px!important}
|
package/dist/es/src/style23.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.input-progress{display:flex}.input-progress .progress-point{display:flex;align-items:center;margin-right:8px}.input-progress .progress-point .point{width:6px;height:6px;border-radius:50%}.input-progress .progress-point .point1{background:#9c24f2;animation:animation1 1s ease-in infinite}.input-progress .progress-point .point2{background:#c47dff;margin:0 3px;animation:animation2 1s ease-in infinite}.input-progress .progress-point .point3{background:#ead4ff;animation:animation3 1s ease-in infinite}.input-progress .progress-waiting{color:#9c24f2}@keyframes animation1{0%{opacity:0}33%{opacity:1}to{opacity:1}}@keyframes animation2{0%,33%{opacity:0}67%{opacity:1}to{opacity:1}}@keyframes animation3{0%,67%{opacity:0}to{opacity:1}}
|
package/dist/es/src/style24.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.file-item{height:64px;border-radius:6px;overflow:hidden;padding:12px;display:flex;background:white;cursor:pointer}.file-item .item-left{flex:0 0 40px;margin-right:8px}.file-item .item-left .file-icon{width:100%}.file-item .item-main{flex:1;overflow:hidden}.file-item .item-main .file-name{width:100%;font-size:14px;color:#070c14;font-weight:700;line-height:18px;margin-bottom:4px}.file-item .item-main .file-desc{font-size:12px;height:15px;color:#84868c}
|
package/dist/es/src/style26.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.json-display{margin:0;padding:4px}
|
package/dist/es/src/style27.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.search-reference .bot-net-panel{user-select:none;margin-bottom:10px;width:180px;height:32px;background:white;line-height:32px;display:flex;justify-content:space-between;padding:0 12px;cursor:pointer}.search-reference .bot-net-main{background:white;padding:12px;line-height:22px}.search-reference .bot-net-main .text .link{cursor:pointer;color:#0f64ff}.search-reference .think-top{font-size:14px;line-height:24px;color:#070c14;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.search-reference .think-top img{width:24px;margin-right:4px}.search-reference .think-top .think-action{margin-left:8px}.search-reference .thinking{width:12px;height:12px;background:#b752ea;border-radius:50%;margin:6px}.search-reference .thinked{width:12px;height:12px;background:#04d68d;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:8px;margin:6px}.search-reference .thinked.error{background:#f33e3e}.search-reference .item-bot-plugin{line-height:24px}.search-reference .item-bot-plugin .bot-plugin-status .icon-search{font-size:24px}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-success{display:inline-block;width:14px;height:14px;color:#fff;background:#47d1cb;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-error{display:inline-block;width:14px;height:14px;color:#fff;background:#f95b81;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-loading{display:inline-block;width:14px;height:14px;color:#477bff;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-title{font-weight:700;color:#000000a6}.search-reference .item-bot-plugin .bot-plugin-action{border:1px solid #00000026;border-radius:4px;color:#000000e0;padding:1px 8px}.search-reference .item-bot-plugin .ant-collapse-header{padding:0;height:38px;display:flex;align-items:center}.search-reference .item-bot-plugin .ant-collapse-content-box{padding:0}.search-reference .item-bot-plugin .bot-plugin-content{height:32px;line-height:32px;font-weight:700}.search-reference .item-bot-plugin .bot-plugin-json{background:white}.search-reference .ant-collapse-item{padding:0 8px}.search-reference-list{margin-right:8px;border-radius:6px}.search-reference-list-item{display:flex;flex-direction:column;padding:12px 8px 8px;gap:0px 10px;flex-wrap:wrap;align-content:flex-start;border-radius:6px;background:#FFFFFF;box-sizing:border-box;border:1px solid #E5E7EB;margin-bottom:8px}.search-reference-list-item :last-child{margin-bottom:0}.search-reference-list-item :hover{cursor:pointer}.search-reference-list-item-footer{display:flex;justify-content:space-between;padding:0;row-gap:0px;flex-wrap:wrap;align-content:flex-start;z-index:0;line-height:24px;align-items:center}.search-reference-list-item-footer .logo{width:24px;height:24px}.search-reference-list-item-footer .name{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#4b5563}.search-reference-list-item-footer .time{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#9ca3af}.search-reference-list-item-title{font-family:Roboto;font-size:16px;font-weight:600;line-height:28px;letter-spacing:normal;color:#000}.search-reference-list-item-title .number{margin-right:4px}.search-reference-list-item-content{font-family:Roboto;font-size:14px;font-weight:400;line-height:24px;letter-spacing:normal;color:#4b5563;padding:0 8px;display:inline-block}
|
package/dist/es/src/style28.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.session-related{padding-bottom:12px}.session-related .session-related-header{height:18px;padding:0}.session-related .session-related-main .question-main-item{color:#0f64ff;display:flex;align-items:center;cursor:pointer}.session-related .session-related-main .question-main-item:before{content:"";display:block;background:#0f64ff;width:4px;height:4px;border-radius:50%;margin:0 8px;cursor:pointer}
|
package/dist/es/src/style3.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.bot-session-container{height:100%}.bot-session-container .agent-sessions{height:100%;width:310px;display:flex;flex-direction:column;overflow:hidden;background:white}.bot-session-container .agent-sessions .sessions-header{height:56px;padding:0 16px;border-right:1px solid #e8e9eb;border-bottom:1px solid #e8e9eb;display:flex;justify-content:space-between;align-items:center}.bot-session-container .agent-sessions .sessions-header .session-header-title{color:#151b26;font-size:16px;font-weight:700;line-height:24px}.bot-session-container .agent-sessions .sessions-main{flex:1;border-right:1px solid #e8e9eb;overflow-y:auto}.bot-session-container .agent-sessions .sessions-main .session-item{width:100%;padding:8px 0;cursor:pointer;margin-bottom:4px}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper{width:100%;height:100%;padding:0 16px;height:52px;border-left:3px solid #f9f2ff}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-top{color:#fff;font-size:14px;font-weight:700;line-height:22px;height:22px;width:100%;margin-bottom:4px;display:flex;justify-content:space-between}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-top .item-top-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:calc(100% - 55px);margin-right:4px;color:#5c5f66}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-top .item-top-action{font-size:12px;display:flex;align-items:center}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-top .item-top-action .icon-action{color:#9c24f2}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-top .item-top-action .icon-action:hover{color:#b452ff}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-bottom{font-size:12px;line-height:22px;display:flex}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-bottom .item-bottom-desc{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#5c5f66}.bot-session-container .agent-sessions .sessions-main .session-item .session-item-wrapper .session-item-bottom .item-bottom-time{flex:0 0 100px;color:#84868c;font-size:12px;line-height:22px;text-align:right}.bot-session-container .agent-sessions .sessions-main .session-item__active{border-radius:4px;background:#f9f2ff}.bot-session-container .agent-sessions .sessions-main .session-item__active .session-item-wrapper{border-left:3px solid #9c24f2}.bot-session-container .agent-sessions .sessions-main .session-item:hover{border-radius:4px;background:#f9f2ff}
|
package/dist/es/src/style4.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.agent-chat{width:100%;height:100%;display:flex;flex-direction:column;max-width:824px;margin:0 auto;overflow:hidden}.agent-chat .chat-main{flex:1;padding:16px;overflow:hidden;width:100%;transition:all 1s;position:relative}.agent-chat .chat-main .chat-main-wrapper{width:100%;height:100%;overflow-y:auto;overflow-x:hidden}.agent-chat .chat-main .session-stop{display:flex;align-items:center;justify-content:center;position:absolute;left:0;right:0;bottom:4px}.agent-chat .chat-main .back-bottom{transition:all 3.3s;position:absolute;background:white;box-shadow:0 0 5px #ddd;font-size:0;border-radius:50%;width:26px;height:26px;right:4px;bottom:0;display:flex;justify-content:center;align-content:center}.agent-chat .chat-main .main-pannel{width:100%;transition:all 1s}.agent-chat .chat-main .main-empty{width:100%;height:100%;overflow-y:auto}.agent-chat .chat-footer{position:relative;flex:0;padding:0 16px 8px;display:flex}.agent-chat .chat-footer .camera-out-btn:hover,.agent-chat .chat-footer .camera-out-btn:active,.agent-chat .chat-footer .camera-out-btn.active{color:#9c24f2}.agent-chat .chat-footer .chat-footer-input{flex:1;position:relative;width:100%}.agent-chat .chat-footer .chat-footer-input .ant-upload.ant-upload-select-picture-card{width:20px;height:20px;border:none;margin:0}.agent-chat .chat-footer .chat-footer-input .upload-wrapper{height:20px;width:20px;font-size:16px;border:1px solid #9c24f2;color:#9c24f2;border-radius:2px;display:flex;justify-content:center;align-items:center;cursor:pointer}.agent-chat .chat-footer .chat-footer-input .upload-wrapper.upload-wrapper__disabled{border:1px solid #b8babf;color:#b8babf;cursor:not-allowed}.agent-chat .chat-footer .chat-footer-input .input-files{margin-bottom:8px}.agent-chat .chat-footer .footer-upload-action{width:100%;height:28px;display:flex;justify-content:space-between;align-items:center}.agent-chat .chat-footer .footer-upload-action .footer-upload-picture{display:inline-block;width:20px}.agent-chat .chat-footer .footer-upload-action .add-btn{width:70px;height:24px;padding:0;font-size:12px;border-radius:10px 10px 10px 2px}.agent-chat .chat-footer .footer-upload-action .add-btn:disabled,.agent-chat .chat-footer .footer-upload-action .add-btn:disabled:hover{background:#b8babf;color:#fff}.agent-chat .chat-footer .chat-footer-send{position:absolute;right:34px;bottom:16px}
|
package/dist/es/src/style5.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.chat-header{height:56px;padding:0 24px;border-bottom:1px solid #e8e9eb;display:flex;align-items:center;justify-content:space-between;background:white}.chat-header .header-title{color:#151b26;font-size:16px;font-style:normal;font-weight:700;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
package/dist/es/src/style6.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.greeting{display:flex;flex-direction:column;align-items:center;flex:1;margin:0 auto;max-width:824px;width:100%;padding:16px 0}.greeting-icon{width:74px;height:74px;border-radius:50%;box-shadow:0 6px 16px 2px #070c1414;padding:5px;margin-bottom:24px}.greeting-icon .img{width:64px;height:64px}.greeting-word{font-weight:700;font-size:24px;line-height:30px;margin-bottom:24px}.greeting-questions{width:100%;padding:0 12px}.inlay .greeting{margin-top:40px}.float .greeting{overflow-y:auto;flex:none}
|
package/dist/es/src/style8.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.prompt-modal .title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;text-align:left;color:#161616}.prompt-modal .content{font-size:14px;font-weight:400;line-height:22px;text-align:justified;color:#393939}
|
package/dist/es/src/style9.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.quill-editor{position:relative}.quill-editor .ql-container{border-radius:4px}.quill-editor .ql-container:hover{border:1px solid none;outline:0}.quill-editor .quill-editor-send{position:absolute;left:8px;right:8px;bottom:34px;height:0;display:flex;justify-content:space-between}.quill-editor .ql-editor:before{font-style:normal;font-weight:400}.quill-editor .shortcut-direct{width:15px;height:15px;display:flex;align-items:center;justify-content:center}.quill-editor .shortcut-direct .ant-popover-inner-content{padding:0}.quill-editor .shortcut-direct .shortcut-direct-pannel{width:180px;padding:4px 0}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;cursor:pointer}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item .title{color:#393939}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item .text{color:#84868c}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item:hover{background:#f9f2ff}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;cursor:not-allowed}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled .title,.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled .text{color:#b8babf}.quill-editor__active .ql-container{transition:all .3s,height 0;border:1px solid #b452ff;outline:0;box-shadow:none}.inlay .quill-editor .quill-editor-wrapper{max-height:344px;position:relative}.inlay .quill-editor .quill-editor-wrapper .ql-editor{min-height:134px;padding-bottom:32px}.inlay .quill-editor .quill-editor-wrapper__scroll{overflow-y:auto;scrollbar-width:none}.float .quill-editor .quill-editor-wrapper{max-height:200px;position:relative}.float .quill-editor .quill-editor-wrapper .ql-editor{min-height:134px;padding-bottom:24px}.float .quill-editor .quill-editor-wrapper__scroll{overflow-y:auto;scrollbar-width:none}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glodon-aiot/agent-cli-ui",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1-beta.0",
|
|
4
4
|
"module": "./dist/es/index.mjs",
|
|
5
5
|
"main": "./dist/lib/index.js",
|
|
6
6
|
"typings": "./dist/src/index.d.ts",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@ant-design/icons": "^5.3.4",
|
|
37
|
-
"@glodon-aiot/apis": "^3.3.
|
|
38
|
-
"@glodon-aiot/bot-client-sdk": "^3.3.
|
|
37
|
+
"@glodon-aiot/apis": "^3.3.1-beta.0",
|
|
38
|
+
"@glodon-aiot/bot-client-sdk": "^3.3.1-beta.0",
|
|
39
39
|
"@matejmazur/react-mathjax": "^0.1.10",
|
|
40
40
|
"@react-pdf-viewer/core": "^3.12.0",
|
|
41
41
|
"@react-pdf-viewer/default-layout": "^3.12.0",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export declare enum ActionColors {
|
|
3
|
-
default = "#070C14",
|
|
4
|
-
highlight = "#B452FF"
|
|
5
|
-
}
|
|
6
|
-
interface ConnectToNetworkProps {
|
|
7
|
-
sessionId?: string;
|
|
8
|
-
netStatus: boolean;
|
|
9
|
-
enable: boolean;
|
|
10
|
-
onNetStatusChange: (status: boolean) => any;
|
|
11
|
-
}
|
|
12
|
-
declare const ConnectToNetwork: React.FC<ConnectToNetworkProps>;
|
|
13
|
-
export default ConnectToNetwork;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export declare enum ActionColors {
|
|
3
|
-
default = "#070C14",
|
|
4
|
-
highlight = "#B452FF"
|
|
5
|
-
}
|
|
6
|
-
interface ConnectToNetworkProps {
|
|
7
|
-
sessionId?: string;
|
|
8
|
-
netStatus: boolean;
|
|
9
|
-
enable: boolean;
|
|
10
|
-
onNetStatusChange: (status: boolean) => any;
|
|
11
|
-
}
|
|
12
|
-
declare const ConnectToNetwork: React.FC<ConnectToNetworkProps>;
|
|
13
|
-
export default ConnectToNetwork;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export declare enum ActionColors {
|
|
3
|
-
default = "#070C14",
|
|
4
|
-
highlight = "#B452FF"
|
|
5
|
-
}
|
|
6
|
-
interface ConnectToNetworkProps {
|
|
7
|
-
sessionId?: string;
|
|
8
|
-
netStatus: boolean;
|
|
9
|
-
enable: boolean;
|
|
10
|
-
disabledTip?: string;
|
|
11
|
-
onNetStatusChange: (status: boolean) => any;
|
|
12
|
-
}
|
|
13
|
-
declare const ConnectToNetwork: React.FC<ConnectToNetworkProps>;
|
|
14
|
-
export default ConnectToNetwork;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, FC } from 'react';
|
|
2
|
-
import { KnowledgeFileMetadata, KnowledgeFileStatus } from '@glodon-aiot/apis';
|
|
3
|
-
interface FileCardProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: CSSProperties;
|
|
6
|
-
id?: string;
|
|
7
|
-
url?: string;
|
|
8
|
-
uploading?: boolean;
|
|
9
|
-
file?: any;
|
|
10
|
-
actions?: {
|
|
11
|
-
upload?: (file: File) => Promise<string>;
|
|
12
|
-
remove?: (file?: File | KnowledgeFileMetadata, id?: string) => void;
|
|
13
|
-
download?: (file?: File | KnowledgeFileMetadata, id?: string) => void;
|
|
14
|
-
checkStatus?: (id: string) => Promise<KnowledgeFileStatus>;
|
|
15
|
-
preview?: (file: File) => void;
|
|
16
|
-
};
|
|
17
|
-
onUrlChange?: (url: string) => void;
|
|
18
|
-
onStatusChange?: (status: KnowledgeFileStatus) => void;
|
|
19
|
-
}
|
|
20
|
-
export type FileCardStatus = 'processing' | 'done' | 'error';
|
|
21
|
-
declare const FileCard: FC<FileCardProps>;
|
|
22
|
-
export default FileCard;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { KnowledgeFileMetadata } from '@glodon-aiot/apis';
|
|
3
|
-
import { Session } from '@glodon-aiot/agent-cli-sdk';
|
|
4
|
-
interface FileItemProp {
|
|
5
|
-
currentSession?: Session;
|
|
6
|
-
fileId?: string;
|
|
7
|
-
file?: KnowledgeFileMetadata;
|
|
8
|
-
docViewerUrl?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const FileItem: FC<FileItemProp>;
|
|
11
|
-
export default FileItem;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, FC } from 'react';
|
|
2
|
-
import { KnowledgeFileMetadata, AecKnowledgeFileStatus } from '@glodon-aiot/apis';
|
|
3
|
-
interface FileCardProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: CSSProperties;
|
|
6
|
-
id?: string;
|
|
7
|
-
url?: string;
|
|
8
|
-
uploading?: boolean;
|
|
9
|
-
file?: File | KnowledgeFileMetadata;
|
|
10
|
-
actions?: {
|
|
11
|
-
upload?: (file: File) => Promise<string>;
|
|
12
|
-
remove?: (file?: File | KnowledgeFileMetadata, id?: string) => void;
|
|
13
|
-
checkStatus?: (id: string) => Promise<AecKnowledgeFileStatus>;
|
|
14
|
-
};
|
|
15
|
-
onUrlChange?: (url: string) => void;
|
|
16
|
-
onStatusChange?: (status: AecKnowledgeFileStatus) => void;
|
|
17
|
-
}
|
|
18
|
-
export type FileCardStatus = 'processing' | 'done' | 'error';
|
|
19
|
-
declare const FileCard: FC<FileCardProps>;
|
|
20
|
-
export default FileCard;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { KnowledgeFileMetadata } from '@glodon-aiot/apis';
|
|
3
|
-
import { Session } from '@glodon-aiot/agent-cli-sdk';
|
|
4
|
-
interface FileItemProp {
|
|
5
|
-
currentSession?: Session;
|
|
6
|
-
fileId?: string;
|
|
7
|
-
file?: KnowledgeFileMetadata;
|
|
8
|
-
docViewerUrl?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const FileItem: FC<FileItemProp>;
|
|
11
|
-
export default FileItem;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IHistory, ISearchReference } from '@glodon-aiot/apis';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
interface SearchReferenceProps {
|
|
4
|
-
history: IHistory;
|
|
5
|
-
openTarget?: string;
|
|
6
|
-
container?: HTMLElement;
|
|
7
|
-
onShowList?: (list: ISearchReference[], messageId: string) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const SearchReference: React.FC<SearchReferenceProps>;
|
|
10
|
-
export default SearchReference;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IHistory } from '@glodon-aiot/apis';
|
|
3
|
-
import { Session } from '@glodon-aiot/agent-cli-sdk';
|
|
4
|
-
interface SessionActionProps {
|
|
5
|
-
appId: string;
|
|
6
|
-
sessionId?: string;
|
|
7
|
-
isLastHistory?: boolean;
|
|
8
|
-
history: IHistory;
|
|
9
|
-
currentSession?: Session;
|
|
10
|
-
onAgainClick?: VoidFunction;
|
|
11
|
-
}
|
|
12
|
-
declare const SessionAction: React.FC<SessionActionProps>;
|
|
13
|
-
export default SessionAction;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FC, Key } from 'react';
|
|
2
|
-
import { IAecReference as IReference } from '@glodon-aiot/apis';
|
|
3
|
-
interface ReferItemProps {
|
|
4
|
-
data: IReference;
|
|
5
|
-
loadPage?: (knowledgeId: string, fileId: string, textId: string) => Promise<Key>;
|
|
6
|
-
onClick: (data: IReference, page?: Key) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const ReferItem: FC<ReferItemProps>;
|
|
9
|
-
export default ReferItem;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IHistory } from '@glodon-aiot/apis';
|
|
3
|
-
interface SessionRelatedProps {
|
|
4
|
-
history?: IHistory;
|
|
5
|
-
onRelatedClick?: (val: any) => void;
|
|
6
|
-
relatedQuesion: string[];
|
|
7
|
-
}
|
|
8
|
-
declare const SessionRelated: React.FC<SessionRelatedProps>;
|
|
9
|
-
export default SessionRelated;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IHistory, IApplication } from '@glodon-aiot/apis';
|
|
3
|
-
import { Session } from '@glodon-aiot/agent-cli-sdk';
|
|
4
|
-
interface HistoryItemProps {
|
|
5
|
-
application: IApplication;
|
|
6
|
-
currentSession?: Session;
|
|
7
|
-
isLastHistory?: boolean;
|
|
8
|
-
history: IHistory;
|
|
9
|
-
onRelatedClick?: (val: any) => void;
|
|
10
|
-
onAgainClick?: VoidFunction;
|
|
11
|
-
onEditClick?: (val: string) => void;
|
|
12
|
-
isLoading?: boolean;
|
|
13
|
-
docViewerUrl?: string;
|
|
14
|
-
actions?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const isResultExec: (result?: string) => boolean;
|
|
17
|
-
declare const HistoryItem: React.FC<HistoryItemProps>;
|
|
18
|
-
export default HistoryItem;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IAecReference as IReference } from '@glodon-aiot/apis/src/aecpilot';
|
|
3
|
-
interface KnowledgeDocProps {
|
|
4
|
-
reference: IReference;
|
|
5
|
-
index: number;
|
|
6
|
-
type?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const KnowledgeDoc: React.FC<KnowledgeDocProps>;
|
|
9
|
-
export default KnowledgeDoc;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CheckboxValueType } from 'antd/es/checkbox/Group';
|
|
3
|
-
import { IKnowledge } from '@glodon-aiot/apis';
|
|
4
|
-
interface KnowledgeSelectProps {
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
checkedValues: CheckboxValueType[];
|
|
7
|
-
currKnowledgeList: IKnowledge[];
|
|
8
|
-
selectCount: number;
|
|
9
|
-
onSelectChange: (checkedValues: CheckboxValueType[]) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const KnowledgeSelect: React.FC<KnowledgeSelectProps>;
|
|
12
|
-
export default KnowledgeSelect;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React, Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import { IApplication, IKnowledge } from '@glodon-aiot/apis';
|
|
3
|
-
import { Session } from '@glodon-aiot/agent-cli-sdk';
|
|
4
|
-
interface AgentHeaderProps {
|
|
5
|
-
application?: IApplication;
|
|
6
|
-
currentSession?: Session;
|
|
7
|
-
setCurrentSession?: Dispatch<SetStateAction<Session | undefined>>;
|
|
8
|
-
reload?: VoidFunction;
|
|
9
|
-
setCheckKnowledges?: Dispatch<SetStateAction<IKnowledge[] | undefined>>;
|
|
10
|
-
}
|
|
11
|
-
declare const AgentHeader: React.FC<AgentHeaderProps>;
|
|
12
|
-
export default AgentHeader;
|