@glodon-aiot/agent-cli-ui 3.7.0-alpha.1 → 3.7.0-alpha.3

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.
@@ -1 +1 @@
1
- .gbot-dialog-modal .json-display{margin:0;padding:4px}
1
+ .gbot-dialog-modal .file-item{height:64px;border-radius:6px;overflow:hidden;padding:12px;display:flex;background:white;cursor:pointer}.gbot-dialog-modal .file-item .item-left{flex:0 0 40px;margin-right:8px}.gbot-dialog-modal .file-item .item-left .file-icon{width:100%}.gbot-dialog-modal .file-item .item-main{flex:1;overflow:hidden}.gbot-dialog-modal .file-item .item-main .file-name{width:100%;font-size:14px;color:#070c14;font-weight:700;line-height:18px;margin-bottom:4px}.gbot-dialog-modal .file-item .item-main .file-desc{font-size:12px;height:15px;color:#84868c}
@@ -1 +1 @@
1
- .gbot-dialog-modal .file-item{height:64px;border-radius:6px;overflow:hidden;padding:12px;display:flex;background:white;cursor:pointer}.gbot-dialog-modal .file-item .item-left{flex:0 0 40px;margin-right:8px}.gbot-dialog-modal .file-item .item-left .file-icon{width:100%}.gbot-dialog-modal .file-item .item-main{flex:1;overflow:hidden}.gbot-dialog-modal .file-item .item-main .file-name{width:100%;font-size:14px;color:#070c14;font-weight:700;line-height:18px;margin-bottom:4px}.gbot-dialog-modal .file-item .item-main .file-desc{font-size:12px;height:15px;color:#84868c}
1
+ .gbot-dialog-modal .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}.gbot-dialog-modal .search-reference .bot-net-main{background:white;padding:12px;line-height:22px}.gbot-dialog-modal .search-reference .bot-net-main .text .link{cursor:pointer;color:#0f64ff}.gbot-dialog-modal .search-reference .think-top{font-size:14px;line-height:24px;color:#070c14;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.gbot-dialog-modal .search-reference .think-top img{width:24px;margin-right:4px}.gbot-dialog-modal .search-reference .think-top .think-action{margin-left:8px}.gbot-dialog-modal .search-reference .thinking{width:12px;height:12px;background:#b752ea;border-radius:50%;margin:6px}.gbot-dialog-modal .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}.gbot-dialog-modal .search-reference .thinked.error{background:#f33e3e}.gbot-dialog-modal .search-reference .item-bot-plugin{line-height:24px}.gbot-dialog-modal .search-reference .item-bot-plugin .bot-plugin-status .icon-search{font-size:24px}.gbot-dialog-modal .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}.gbot-dialog-modal .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}.gbot-dialog-modal .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}.gbot-dialog-modal .search-reference .item-bot-plugin .bot-plugin-title{font-weight:700;color:#000000a6}.gbot-dialog-modal .search-reference .item-bot-plugin .bot-plugin-action{border:1px solid #00000026;border-radius:4px;color:#000000e0;padding:1px 8px}.gbot-dialog-modal .search-reference .item-bot-plugin .gbot-collapse-header{padding:0;height:38px;display:flex;align-items:center}.gbot-dialog-modal .search-reference .item-bot-plugin .gbot-collapse-content-box{padding:0}.gbot-dialog-modal .search-reference .item-bot-plugin .bot-plugin-content{height:32px;line-height:32px;font-weight:700}.gbot-dialog-modal .search-reference .item-bot-plugin .bot-plugin-json{background:white}.gbot-dialog-modal .search-reference .gbot-collapse-item{padding:0 8px}.gbot-dialog-modal .search-reference-list{margin-right:8px;border-radius:6px}.gbot-dialog-modal .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}.gbot-dialog-modal .search-reference-list-item :last-child{margin-bottom:0}.gbot-dialog-modal .search-reference-list-item :hover{cursor:pointer}.gbot-dialog-modal .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}.gbot-dialog-modal .search-reference-list-item-footer .logo{width:24px;height:24px}.gbot-dialog-modal .search-reference-list-item-footer .name{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#4b5563}.gbot-dialog-modal .search-reference-list-item-footer .time{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#9ca3af}.gbot-dialog-modal .search-reference-list-item-title{font-family:Roboto;font-size:16px;font-weight:600;line-height:28px;letter-spacing:normal;color:#000}.gbot-dialog-modal .search-reference-list-item-title .number{margin-right:4px}.gbot-dialog-modal .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}
@@ -1 +1 @@
1
- .gbot-dialog-modal .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}.gbot-dialog-modal .search-reference .bot-net-main{background:white;padding:12px;line-height:22px}.gbot-dialog-modal .search-reference .bot-net-main .text .link{cursor:pointer;color:#0f64ff}.gbot-dialog-modal .search-reference .think-top{font-size:14px;line-height:24px;color:#070c14;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.gbot-dialog-modal .search-reference .think-top img{width:24px;margin-right:4px}.gbot-dialog-modal .search-reference .think-top .think-action{margin-left:8px}.gbot-dialog-modal .search-reference .thinking{width:12px;height:12px;background:#b752ea;border-radius:50%;margin:6px}.gbot-dialog-modal .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}.gbot-dialog-modal .search-reference .thinked.error{background:#f33e3e}.gbot-dialog-modal .search-reference .item-bot-plugin{line-height:24px}.gbot-dialog-modal .search-reference .item-bot-plugin .bot-plugin-status .icon-search{font-size:24px}.gbot-dialog-modal .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}.gbot-dialog-modal .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}.gbot-dialog-modal .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}.gbot-dialog-modal .search-reference .item-bot-plugin .bot-plugin-title{font-weight:700;color:#000000a6}.gbot-dialog-modal .search-reference .item-bot-plugin .bot-plugin-action{border:1px solid #00000026;border-radius:4px;color:#000000e0;padding:1px 8px}.gbot-dialog-modal .search-reference .item-bot-plugin .gbot-collapse-header{padding:0;height:38px;display:flex;align-items:center}.gbot-dialog-modal .search-reference .item-bot-plugin .gbot-collapse-content-box{padding:0}.gbot-dialog-modal .search-reference .item-bot-plugin .bot-plugin-content{height:32px;line-height:32px;font-weight:700}.gbot-dialog-modal .search-reference .item-bot-plugin .bot-plugin-json{background:white}.gbot-dialog-modal .search-reference .gbot-collapse-item{padding:0 8px}.gbot-dialog-modal .search-reference-list{margin-right:8px;border-radius:6px}.gbot-dialog-modal .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}.gbot-dialog-modal .search-reference-list-item :last-child{margin-bottom:0}.gbot-dialog-modal .search-reference-list-item :hover{cursor:pointer}.gbot-dialog-modal .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}.gbot-dialog-modal .search-reference-list-item-footer .logo{width:24px;height:24px}.gbot-dialog-modal .search-reference-list-item-footer .name{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#4b5563}.gbot-dialog-modal .search-reference-list-item-footer .time{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#9ca3af}.gbot-dialog-modal .search-reference-list-item-title{font-family:Roboto;font-size:16px;font-weight:600;line-height:28px;letter-spacing:normal;color:#000}.gbot-dialog-modal .search-reference-list-item-title .number{margin-right:4px}.gbot-dialog-modal .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}
1
+ .gbot-dialog-modal .session-action{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e8e9eb;color:#84868c}.gbot-dialog-modal .session-action .session-action-again{cursor:pointer;user-select:none}.gbot-dialog-modal .session-action .session-action-again:hover{color:#b452ff}.gbot-dialog-modal .session-action .session-action-comment{border-radius:4px;padding:4px}.gbot-dialog-modal .session-action .session-action-comment .action-comment-feedback{font-size:16px}.gbot-dialog-modal .session-action .session-action-comment .action-comment-feedback .comment-feedback-item{display:inline-block;width:100%;height:100%;cursor:pointer}.gbot-dialog-modal .session-action .session-action-comment .action-comment-feedback .comment-feedback-item:hover{color:#b452ff}.gbot-dialog-modal .session-action .session-action-comment .action-comment-feedback .comment-feedback-item__active{color:#9c24f2}.gbot-dialog-modal .cai-pannel{width:260px;overflow:hidden}.gbot-dialog-modal .cai-pannel .cai-error{color:#f33e3e;margin-bottom:12px}.gbot-dialog-modal .cai-pannel .cai-title{margin-bottom:12px}.gbot-dialog-modal .cai-pannel .cai-title .cai-require{color:#f33e3e}.gbot-dialog-modal .cai-pannel .cai-title .cai-question{color:#070c14;text-align:center;font-size:14px}.gbot-dialog-modal .cai-pannel .cai-list{display:flex;flex-wrap:wrap}.gbot-dialog-modal .cai-pannel .cai-list .cai-item{padding:6px 8px;border-radius:4px;border:1px solid #e8e9eb;margin-bottom:12px;margin-right:12px;cursor:pointer}.gbot-dialog-modal .cai-pannel .cai-list .cai-item:hover{color:#b452ff;border:1px solid #b452ff}.gbot-dialog-modal .cai-pannel .cai-list .cai-item__active{color:#8614cc;border:1px solid #8614cc}.gbot-dialog-modal .chat-item:last-child{margin-bottom:0}
@@ -1 +1 @@
1
- .gbot-dialog-modal .prompt-list-wrap{width:100%;height:250px}.gbot-dialog-modal .prompt-list-wrap .prompt-list{height:204px;overflow:auto;width:100%}.gbot-dialog-modal .prompt-list-wrap .prompt-list-footer{height:46px;display:flex;align-items:center;border-top:1px solid #f0f0f0;padding:0 16px;margin:0 -16px}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item{height:51px;padding:4px;display:flex;justify-content:space-between;overflow:hidden}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-body{flex-grow:1;overflow:hidden}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-title{font-size:14px}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-title .hightlight{color:#9c24f2}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-context{line-height:21px;font-size:12px;width:100%}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-actions{display:none;align-items:center}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-actions .gbot-btn{color:#9c24f2}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item:hover{background-color:#f9f2ff;cursor:pointer}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item:hover .prompt-list-item-actions{display:flex}.gbot-dialog-modal .prompt-list-wrap .prompt-list-empty{max-width:500px;margin:0 auto;overflow:hidden}.gbot-dialog-modal .prompt-list-wrap .prompt-list-empty-tips{height:124px;overflow:hidden;width:100%;display:flex;flex-direction:row;justify-content:space-around;align-items:flex-end}.gbot-dialog-modal .prompt-list-wrap .prompt-list-empty-tips-item{width:200px;font-size:12px;display:flex;flex-direction:column}.gbot-dialog-modal .prompt-list-wrap .prompt-list-empty-tips-item img{max-width:100%;margin-bottom:16px}.gbot-dialog-modal .prompt-list-wrap .add-prompt-btn{padding-left:0}
1
+ .gbot-dialog-modal .clear-modal .title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;text-align:left;color:#161616}.gbot-dialog-modal .clear-modal .content{font-size:14px;font-weight:400;line-height:22px;text-align:justified;color:#393939}
@@ -1 +1 @@
1
- .gbot-dialog-modal .clear-modal .title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;text-align:left;color:#161616}.gbot-dialog-modal .clear-modal .content{font-size:14px;font-weight:400;line-height:22px;text-align:justified;color:#393939}
1
+ .gbot-dialog-modal .prompt-list-wrap{width:100%;height:250px}.gbot-dialog-modal .prompt-list-wrap .prompt-list{height:204px;overflow:auto;width:100%}.gbot-dialog-modal .prompt-list-wrap .prompt-list-footer{height:46px;display:flex;align-items:center;border-top:1px solid #f0f0f0;padding:0 16px;margin:0 -16px}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item{height:51px;padding:4px;display:flex;justify-content:space-between;overflow:hidden}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-body{flex-grow:1;overflow:hidden}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-title{font-size:14px}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-title .hightlight{color:#9c24f2}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-context{line-height:21px;font-size:12px;width:100%}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-actions{display:none;align-items:center}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item-actions .gbot-btn{color:#9c24f2}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item:hover{background-color:#f9f2ff;cursor:pointer}.gbot-dialog-modal .prompt-list-wrap .prompt-list-item:hover .prompt-list-item-actions{display:flex}.gbot-dialog-modal .prompt-list-wrap .prompt-list-empty{max-width:500px;margin:0 auto;overflow:hidden}.gbot-dialog-modal .prompt-list-wrap .prompt-list-empty-tips{height:124px;overflow:hidden;width:100%;display:flex;flex-direction:row;justify-content:space-around;align-items:flex-end}.gbot-dialog-modal .prompt-list-wrap .prompt-list-empty-tips-item{width:200px;font-size:12px;display:flex;flex-direction:column}.gbot-dialog-modal .prompt-list-wrap .prompt-list-empty-tips-item img{max-width:100%;margin-bottom:16px}.gbot-dialog-modal .prompt-list-wrap .add-prompt-btn{padding-left:0}
@@ -1 +1 @@
1
- .gbot-dialog-modal .chat-header{height:56px;padding:0 24px;border-bottom:1px solid #e8e9eb;display:flex;align-items:center;justify-content:space-between;background:white}.gbot-dialog-modal .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}
1
+ .gbot-dialog-modal .sider-container{height:100%;width:100%;display:flex;flex-direction:column}
@@ -1 +1 @@
1
- .gbot-dialog-modal .sider-container{height:100%;width:100%;display:flex;flex-direction:column}
1
+ .gbot-dialog-modal .chat-header{height:56px;padding:0 24px;border-bottom:1px solid #e8e9eb;display:flex;align-items:center;justify-content:space-between;background:white}.gbot-dialog-modal .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}
@@ -1 +1 @@
1
- .gbot-dialog-modal .knowledge-select{width:204px;height:28px;border-radius:10px;border:1px solid}.gbot-dialog-modal .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}.gbot-dialog-modal .knowledge-select .select-popover .select-icon{color:#84868c}.gbot-dialog-modal .knowledge-select .select-popover .title{line-height:22px;color:#84868c}.gbot-dialog-modal .knowledge-select .select-popover .content{padding:2px 8px;border-radius:4px;background:#f7f7f9;line-height:18px;color:#84868c}.gbot-dialog-modal .knowledge-select .gbot-popover-placement-bottomRight{padding-top:5px!important}.gbot-dialog-modal .knowledge-select .gbot-popover-placement-bottomRight .gbot-popover-arrow{display:none}.gbot-dialog-modal .knowledge-select .gbot-popover-placement-bottomRight .gbot-popover-inner .gbot-popover-inner-content{height:200px;overflow-y:auto;font-size:14px;font-weight:400;line-height:21px;color:#84868c}
1
+ .gbot-dialog-modal .session-refer{padding:12px 0;border-top:1px solid #e8e9eb}.gbot-dialog-modal .session-refer .session-refer-header{color:#070c14;margin-bottom:12px;height:18px;display:flex;align-items:center}.gbot-dialog-modal .session-refer .session-refer-header .refer-header-title{font-style:normal;font-weight:400;line-height:150%}.gbot-dialog-modal .session-refer .session-refer-content .refer-markdown p{color:#84868c;line-height:150%}.gbot-dialog-modal .session-refer .gbot-collapse-header{padding:4px 0!important}.gbot-dialog-modal .session-refer .gbot-collapse-content-box{padding:4px 10px 4px 24px!important}
@@ -1 +1 @@
1
- .gbot-dialog-modal .agent-chat{width:100%;height:100%;display:flex;flex-direction:column;max-width:824px;margin:0 auto;overflow:hidden}.gbot-dialog-modal .agent-chat .chat-main{flex:1;padding:16px;overflow:hidden;width:100%;transition:all 1s;position:relative}.gbot-dialog-modal .agent-chat .chat-main .chat-main-wrapper{width:100%;height:100%;overflow-y:auto;overflow-x:hidden}.gbot-dialog-modal .agent-chat .chat-main .session-stop{display:flex;align-items:center;justify-content:center;position:absolute;left:0;right:0;bottom:4px}.gbot-dialog-modal .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}.gbot-dialog-modal .agent-chat .chat-main .main-empty{width:100%;height:100%;overflow-y:auto}.gbot-dialog-modal .agent-chat .chat-footer{position:relative;flex:0;padding:0 16px 8px;display:flex}.gbot-dialog-modal .agent-chat .chat-footer .camera-out-btn:hover,.gbot-dialog-modal .agent-chat .chat-footer .camera-out-btn:active,.gbot-dialog-modal .agent-chat .chat-footer .camera-out-btn.active{color:#9c24f2}.gbot-dialog-modal .agent-chat .chat-footer .chat-footer-input{flex:1;position:relative;width:100%}.gbot-dialog-modal .agent-chat .chat-footer .chat-footer-input .gbot-upload.gbot-upload-select-picture-card{width:20px;height:20px;border:none;margin:0}.gbot-dialog-modal .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}.gbot-dialog-modal .agent-chat .chat-footer .chat-footer-input .upload-wrapper.upload-wrapper__disabled{border:1px solid #b8babf;color:#b8babf;cursor:not-allowed}.gbot-dialog-modal .agent-chat .chat-footer .chat-footer-input .input-files{margin-bottom:8px}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action{width:100%;height:28px;display:flex;justify-content:space-between;align-items:center}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .footer-upload-picture{display:inline-block;width:20px}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .add-btn{width:70px;height:24px;padding:0;font-size:12px;border-radius:10px 10px 10px 2px}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .add-btn:disabled,.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .add-btn:disabled:hover{background:#b8babf;color:#fff}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .session-history-drawer-component .history-overlay-action:hover{color:#9c24f2}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .session-history-overlay .gbot-popover-inner-content{padding:8px 10px}.gbot-dialog-modal .agent-chat .session-loading{width:100%;height:100%;display:flex;justify-content:center;align-items:center}
1
+ .gbot-dialog-modal .knowledge-select{width:204px;height:28px;border-radius:10px;border:1px solid}.gbot-dialog-modal .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}.gbot-dialog-modal .knowledge-select .select-popover .select-icon{color:#84868c}.gbot-dialog-modal .knowledge-select .select-popover .title{line-height:22px;color:#84868c}.gbot-dialog-modal .knowledge-select .select-popover .content{padding:2px 8px;border-radius:4px;background:#f7f7f9;line-height:18px;color:#84868c}.gbot-dialog-modal .knowledge-select .gbot-popover-placement-bottomRight{padding-top:5px!important}.gbot-dialog-modal .knowledge-select .gbot-popover-placement-bottomRight .gbot-popover-arrow{display:none}.gbot-dialog-modal .knowledge-select .gbot-popover-placement-bottomRight .gbot-popover-inner .gbot-popover-inner-content{height:200px;overflow-y:auto;font-size:14px;font-weight:400;line-height:21px;color:#84868c}
@@ -1 +1 @@
1
- .gbot-dialog-modal .session-refer{padding:12px 0;border-top:1px solid #e8e9eb}.gbot-dialog-modal .session-refer .session-refer-header{color:#070c14;margin-bottom:12px;height:18px;display:flex;align-items:center}.gbot-dialog-modal .session-refer .session-refer-header .refer-header-title{font-style:normal;font-weight:400;line-height:150%}.gbot-dialog-modal .session-refer .session-refer-content .refer-markdown p{color:#84868c;line-height:150%}.gbot-dialog-modal .session-refer .gbot-collapse-header{padding:4px 0!important}.gbot-dialog-modal .session-refer .gbot-collapse-content-box{padding:4px 10px 4px 24px!important}
1
+ .gbot-dialog-modal .agent-chat{width:100%;height:100%;display:flex;flex-direction:column;max-width:824px;margin:0 auto;overflow:hidden}.gbot-dialog-modal .agent-chat .chat-main{flex:1;padding:16px;overflow:hidden;width:100%;transition:all 1s;position:relative}.gbot-dialog-modal .agent-chat .chat-main .chat-main-wrapper{width:100%;height:100%;overflow-y:auto;overflow-x:hidden}.gbot-dialog-modal .agent-chat .chat-main .session-stop{display:flex;align-items:center;justify-content:center;position:absolute;left:0;right:0;bottom:4px}.gbot-dialog-modal .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}.gbot-dialog-modal .agent-chat .chat-main .main-empty{width:100%;height:100%;overflow-y:auto}.gbot-dialog-modal .agent-chat .chat-footer{position:relative;flex:0;padding:0 16px 8px;display:flex}.gbot-dialog-modal .agent-chat .chat-footer .camera-out-btn:hover,.gbot-dialog-modal .agent-chat .chat-footer .camera-out-btn:active,.gbot-dialog-modal .agent-chat .chat-footer .camera-out-btn.active{color:#9c24f2}.gbot-dialog-modal .agent-chat .chat-footer .chat-footer-input{flex:1;position:relative;width:100%}.gbot-dialog-modal .agent-chat .chat-footer .chat-footer-input .gbot-upload.gbot-upload-select-picture-card{width:20px;height:20px;border:none;margin:0}.gbot-dialog-modal .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}.gbot-dialog-modal .agent-chat .chat-footer .chat-footer-input .upload-wrapper.upload-wrapper__disabled{border:1px solid #b8babf;color:#b8babf;cursor:not-allowed}.gbot-dialog-modal .agent-chat .chat-footer .chat-footer-input .input-files{margin-bottom:8px}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action{width:100%;height:28px;display:flex;justify-content:space-between;align-items:center}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .footer-upload-picture{display:inline-block;width:20px}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .add-btn{width:70px;height:24px;padding:0;font-size:12px;border-radius:10px 10px 10px 2px}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .add-btn:disabled,.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .add-btn:disabled:hover{background:#b8babf;color:#fff}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .session-history-drawer-component .history-overlay-action:hover{color:#9c24f2}.gbot-dialog-modal .agent-chat .chat-footer .footer-upload-action .session-history-overlay .gbot-popover-inner-content{padding:8px 10px}.gbot-dialog-modal .agent-chat .session-loading{width:100%;height:100%;display:flex;justify-content:center;align-items:center}
@@ -1,37 +1,33 @@
1
1
  import { KB as o, MB as c, GB as s } from "../constant.mjs";
2
- const d = (t) => {
3
- if (t)
4
- return t.split(".").pop();
5
- }, m = (t) => {
6
- var e = t.match(/^.*\.(jpg|jpeg|png|bmp|JPG|JPEG|PNG|BMP)$/);
7
- return e ? e[1] : null;
8
- }, x = (t) => t < o ? t + " B" : t < c ? (t / o).toFixed(1) + " KB" : t < s ? (t / c).toFixed(1) + " MB" : (t / s).toFixed(1) + " GB", g = (t) => t == null ? void 0 : t.replace(/[\r\n]+/gm, ""), l = (t) => {
9
- const e = /(.+)(?=\.\w+$)/, n = t == null ? void 0 : t.match(e);
10
- return n && n[1] ? n[1] : "";
11
- }, w = (t) => new Promise((e, n) => {
12
- const r = new FileReader();
13
- r.readAsDataURL(t), r.onload = () => e(r.result), r.onerror = (a) => n(a);
14
- }), p = (t) => JSON.parse(window.atob(t.split(".")[1])), B = (t) => {
15
- const e = p(t).exp;
16
- return (/* @__PURE__ */ new Date()).valueOf() / 1e3 >= e;
2
+ const m = (e) => {
3
+ if (e)
4
+ return e.split(".").pop();
5
+ }, d = (e) => {
6
+ var t = e.match(/^.*\.(jpg|jpeg|png|bmp|JPG|JPEG|PNG|BMP)$/);
7
+ return t ? t[1] : null;
8
+ }, l = (e) => e < o ? e + " B" : e < c ? (e / o).toFixed(1) + " KB" : e < s ? (e / c).toFixed(1) + " MB" : (e / s).toFixed(1) + " GB", x = (e) => e == null ? void 0 : e.replace(/[\r\n]+/gm, ""), g = (e) => new Promise((t, r) => {
9
+ const n = new FileReader();
10
+ n.readAsDataURL(e), n.onload = () => t(n.result), n.onerror = (a) => r(a);
11
+ }), p = (e) => JSON.parse(window.atob(e.split(".")[1])), w = (e) => {
12
+ const t = p(e).exp;
13
+ return (/* @__PURE__ */ new Date()).valueOf() / 1e3 >= t;
17
14
  };
18
- var i = /* @__PURE__ */ ((t) => (t.NETWORK = "请你优先从网络中搜索", t.DOCUMENT = "请你优先从以上文件中搜索", t))(i || {});
19
- const E = 40, F = (t) => /^https?:\/\/.*?\..+$/.test(t), T = ["application/pdf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/msword", "application/wps-office.docx"];
20
- function h(t) {
21
- return t.replace(/([\\])/g, "\\$1");
15
+ var i = /* @__PURE__ */ ((e) => (e.NETWORK = "请你优先从网络中搜索", e.DOCUMENT = "请你优先从以上文件中搜索", e))(i || {});
16
+ const B = 100, E = (e) => /^https?:\/\/.*?\..+$/.test(e), f = ["application/pdf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/msword", "application/wps-office.docx"];
17
+ function T(e) {
18
+ return e.replace(/([\\])/g, "\\$1");
22
19
  }
23
20
  export {
24
- E as FILE_NAME_MAX_LENGTH,
21
+ B as FILE_NAME_MAX_LENGTH,
25
22
  p as JWT,
26
- h as escapeSlash,
27
- l as extractFileName,
28
- T as fileTypes,
29
- x as formatFileSize,
30
- w as getBase64,
31
- d as getFileExtension,
32
- m as getImageExtension,
33
- B as isExpired,
34
- F as isValidImageUrlWithAnyExtension,
35
- g as removeNewlines,
23
+ T as escapeSlash,
24
+ f as fileTypes,
25
+ l as formatFileSize,
26
+ g as getBase64,
27
+ m as getFileExtension,
28
+ d as getImageExtension,
29
+ w as isExpired,
30
+ E as isValidImageUrlWithAnyExtension,
31
+ x as removeNewlines,
36
32
  i as shortCutEnum
37
33
  };