@glodon-aiot/agent-cli-ui 3.3.2-beta.10 → 3.3.2-beta.11

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.
Files changed (50) hide show
  1. package/dist/es/ReactTextGenerationUI/components/TextSiders/index.mjs +354 -0
  2. package/dist/es/ReactTextGenerationUI/components/fetchEventSource/fetch.mjs +112 -0
  3. package/dist/es/ReactTextGenerationUI/components/fetchEventSource/parse.mjs +97 -0
  4. package/dist/es/ReactTextGenerationUI/index.mjs +90 -0
  5. package/dist/es/index.mjs +521 -256
  6. package/dist/es/node_modules/moment/dist/moment.mjs +2301 -0
  7. package/dist/es/packages/agent-cli-ui/package.json.mjs +162 -0
  8. package/dist/es/packages/react-components/dist/es/index.mjs +1 -1
  9. package/dist/es/src/style10.css +1 -1
  10. package/dist/es/src/style11.css +1 -1
  11. package/dist/es/src/style12.css +1 -1
  12. package/dist/es/src/style13.css +1 -1
  13. package/dist/es/src/style14.css +1 -1
  14. package/dist/es/src/style15.css +1 -1
  15. package/dist/es/src/style16.css +1 -1
  16. package/dist/es/src/style17.css +1 -1
  17. package/dist/es/src/style19.css +1 -1
  18. package/dist/es/src/style2.css +1 -1
  19. package/dist/es/src/style20.css +1 -1
  20. package/dist/es/src/style21.css +1 -1
  21. package/dist/es/src/style22.css +1 -1
  22. package/dist/es/src/style23.css +1 -1
  23. package/dist/es/src/style24.css +1 -1
  24. package/dist/es/src/style25.css +1 -1
  25. package/dist/es/src/style26.css +1 -1
  26. package/dist/es/src/style27.css +1 -1
  27. package/dist/es/src/style28.css +1 -1
  28. package/dist/es/src/style29.css +1 -1
  29. package/dist/es/src/style3.css +1 -1
  30. package/dist/es/src/style30.css +1 -0
  31. package/dist/es/src/style31.css +1 -0
  32. package/dist/es/src/style4.css +1 -1
  33. package/dist/es/src/style5.css +1 -1
  34. package/dist/es/src/style6.css +1 -1
  35. package/dist/es/src/style7.css +1 -1
  36. package/dist/es/src/style8.css +1 -1
  37. package/dist/es/src/style9.css +1 -1
  38. package/dist/lib/index.css +1 -1
  39. package/dist/lib/index.js +67 -56
  40. package/dist/src/ReactTextGenerationUI/components/TextSiders/index.d.ts +21 -0
  41. package/dist/src/ReactTextGenerationUI/components/fetchEventSource/fetch.d.ts +44 -0
  42. package/dist/src/ReactTextGenerationUI/components/fetchEventSource/index.d.ts +1 -0
  43. package/dist/src/ReactTextGenerationUI/components/fetchEventSource/parse.d.ts +36 -0
  44. package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/fetch.d.ts +44 -0
  45. package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/index.d.ts +1 -0
  46. package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/parse.d.ts +36 -0
  47. package/dist/src/ReactTextGenerationUI/index.d.ts +4 -0
  48. package/dist/src/index.d.ts +4 -1
  49. package/dist/src/types.d.ts +3 -2
  50. package/package.json +3 -3
@@ -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}
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}
@@ -1 +1 @@
1
- .file-preview{width:auto;border-radius:6px;border:1px solid #e8e9eb;background:#ffffff;position:relative;display:inline-block;max-height:80px}.file-preview .file-icon{height:100%;width:48px}.file-preview.small{height:30px;width:150px;padding:3px 6px 3px 3px}.file-preview.small .file-icon{width:24px}.file-preview .file-desc{flex:1;overflow:hidden}.file-preview .file-desc .file-desc-name{color:#5c5f66;font-size:12px;font-style:normal;font-weight:700;line-height:150%;margin-bottom:4px}.file-preview .file-desc .file-desc-size{color:#84868c;font-size:10px;font-style:normal;font-weight:400;line-height:150%}.file-preview .file-action{position:absolute;right:-8px;top:-8px}.file-preview .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-preview .file-remove{display:inline-block;border-radius:10px;width:20px;height:20px;line-height:20px;text-align:center;color:#84868c;border:1px solid #e8e9eb;display:inline-flex;align-items:center;justify-content:center;background-color:#f7f7f9}.file-preview .file-remove:hover{background-color:#fff;color:#b452ff}.file-remove-tooltip .ant-tooltip-content .ant-tooltip-inner{padding:12px}
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}
@@ -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}
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}
@@ -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}
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}