4.7.1-alpha (#1120)

Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
This commit is contained in:
Archer
2024-04-03 18:14:09 +08:00
committed by GitHub
parent 9ae581e09b
commit 8a46372418
76 changed files with 3129 additions and 2104 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -23,7 +23,7 @@ function embedChatbot() {
const ChatBtn = document.createElement('div');
ChatBtn.id = chatBtnId;
ChatBtn.style.cssText =
'position: fixed; bottom: 1rem; right: 1rem; width: 40px; height: 40px; cursor: pointer; z-index: 2147483647; transition: 0;';
'position: fixed; bottom: 30px; right: 60px; width: 40px; height: 40px; cursor: pointer; z-index: 2147483647; transition: 0;';
// btn icon
const ChatBtnDiv = document.createElement('img');
@@ -39,7 +39,7 @@ function embedChatbot() {
iframe.id = chatWindowId;
iframe.src = botSrc;
iframe.style.cssText =
'border: none; position: fixed; flex-direction: column; justify-content: space-between; box-shadow: rgba(150, 150, 150, 0.2) 0px 10px 30px 0px, rgba(150, 150, 150, 0.2) 0px 0px 0px 1px; bottom: 4rem; right: 1rem; width: 24rem; height: 40rem; max-width: 90vw; max-height: 85vh; border-radius: 0.75rem; display: flex; z-index: 2147483647; overflow: hidden; left: unset; background-color: #F3F4F6;';
'border: none; position: fixed; flex-direction: column; justify-content: space-between; box-shadow: rgba(150, 150, 150, 0.2) 0px 10px 30px 0px, rgba(150, 150, 150, 0.2) 0px 0px 0px 1px; bottom: 80px; right: 60px; width: 375px; height: 667px; max-width: 90vw; max-height: 85vh; border-radius: 0.75rem; display: flex; z-index: 2147483647; overflow: hidden; left: unset; background-color: #F3F4F6;';
iframe.style.visibility = defaultOpen ? 'unset' : 'hidden';
document.body.appendChild(iframe);

View File

@@ -148,6 +148,7 @@
"Status": "Status",
"Submit failed": "Submit failed",
"Submit success": "Update Success",
"Sync success": "",
"System version": "System version",
"Team": "Team",
"Team Tags Set": "Team Tags",
@@ -819,6 +820,7 @@
"Http request props": "Request props",
"Http request settings": "Request settings",
"Input Type": "Input Type",
"Laf sync params": "Sync params",
"Plugin output must connect": "Custom outputs must all be connected",
"QueryExtension": {
"placeholder": "Questions about python introduction and usage, etc. The current conversation is related to the game GTA5.",
@@ -912,6 +914,9 @@
"target": "Target Data",
"textarea": "Textarea"
},
"laf": {
"Select laf function": ""
},
"output": {
"Add Output": "Add Output",
"Output Number": "Output: {{length}}",
@@ -1226,19 +1231,26 @@
"Set Public": "Set to public"
},
"plugin": {
"App": "Choose App",
"Auth Header Prefix": "Auth header prefix",
"Auth Method": "Auth method",
"Auth Type": "Auth Type",
"Confirm Delete": "Confirm to delete the plugin?",
"Create Your Plugin": "Create Plugin",
"Currentapp": "CurrentApp",
"Custom Plugin": "Custom plugin",
"Description": "Description",
"Edit Http Plugin": "Edit HTTP plugin",
"Enter Env": "Enter laf environment",
"Enter PAT": "Please enter personal access token (PAT)",
"Func": "Choose Function",
"Get Plugin Module Detail Failed": "Get plugin detail failed",
"HTTP Plugin": "HTTP plugin",
"Import Plugin": "Import HTTP plugin",
"Import from URL": "Import from URL. https://xxxx",
"Intro": "Plugin Intro",
"Invalid Appid": "Invalid appid",
"Invalid Env": "Invalid Env",
"Invalid Schema": "Invalid Schema",
"Invalid URL": "Invalid URL",
"Key": "Key",
@@ -1248,16 +1260,20 @@
"No Intro": "This plugin is not introduced",
"None": "None",
"Path": "Path",
"Please bind laf accout first": "Please bind laf accout first",
"Plugin List": "Plugin list",
"Plugin Module": "Plugin",
"Privacy Agreement": "privacy agreement",
"Search plugin": "Search plugins",
"Set Name": "Plugin Name",
"Synchronous app": "Sync App",
"Synchronous version": "Sync Version",
"To Edit Plugin": "To Edit",
"Update Your Plugin": "Update Plugin",
"Value": "Value",
"path": ""
"go to laf": "go to laf",
"path": "",
"update params": "update params"
},
"support": {
"account": {
@@ -1303,6 +1319,9 @@
"user": {
"AI point standard": "AI points price",
"Avatar": "Avatar",
"Go laf env": "Click to go to laf to get PAT certificate.",
"Laf account course": "Check out the laf account binding tutorial.",
"Laf account intro": "After binding your laf account, you will be able to use the laf module in your workflow to write code online.",
"Need to login": "Please log in first",
"Price": "Price",
"User self info": "My info",
@@ -1495,10 +1514,13 @@
"Bill Detail": "Bill Detail",
"Change": "Change",
"Copy invite url": "Copy invitation link",
"Current laf Env": "Current laf Env",
"Edit name": "Click to modify nickname",
"Invite Url": "Invite Url",
"Invite url tip": "Friends who register through this link will be permanently bound to you, and you will get a certain balance reward when they recharge. In addition, when friends register with their mobile phone number, you will get 5 yuan reward immediately.",
"Laf Account Setting": "laf account setting",
"Language": "Language",
"Learn More": "Learn More",
"Member Name": "Name",
"Notice": "Notice",
"Old password is error": "Old password is error",
@@ -1513,6 +1535,7 @@
"Promotion rate tip": "You will be rewarded with a percentage of the balance when your friends top up",
"Recharge Record": "Recharge",
"Replace": "Replace",
"Set Laf Account Failed": "set laf accout failed",
"Set OpenAI Account Failed": "Set OpenAI account failed",
"Sign Out": "Sign Out",
"Source": "Source",

View File

@@ -148,6 +148,7 @@
"Status": "状态",
"Submit failed": "提交失败",
"Submit success": "提交成功",
"Sync success": "同步成功",
"System version": "系统版本",
"Team": "团队",
"Team Tags Set": "标签",
@@ -821,6 +822,7 @@
"Http request props": "请求参数",
"Http request settings": "请求配置",
"Input Type": "输入类型",
"Laf sync params": "同步参数",
"Plugin output must connect": "自定义输出必须全部连接",
"QueryExtension": {
"placeholder": "例如:\n关于 python 的介绍和使用等问题。\n当前对话与游戏《GTA5》有关。",
@@ -914,6 +916,9 @@
"target": "外部数据",
"textarea": "段落输入"
},
"laf": {
"Select laf function": "选择laf函数"
},
"output": {
"Add Output": "添加出参",
"Output Number": "出参: {{length}}",
@@ -1228,19 +1233,26 @@
"Set Public": "设为团队可用"
},
"plugin": {
"App": "选择应用",
"Auth Header Prefix": "鉴权头部前缀",
"Auth Method": "鉴权方法",
"Auth Type": "鉴权类型",
"Confirm Delete": "确认删除该插件?",
"Create Your Plugin": "创建你的插件",
"Currentapp": "当前应用",
"Custom Plugin": "自定义插件",
"Description": "描述",
"Edit Http Plugin": "编辑 HTTP 插件",
"Enter Env": "输入 laf 环境",
"Enter PAT": "请输入访问凭证PAT",
"Func": "选择函数",
"Get Plugin Module Detail Failed": "获取插件信息异常",
"HTTP Plugin": "HTTP 插件",
"Import Plugin": "导入 HTTP 插件",
"Import from URL": "从URL导入。https://xxxx",
"Intro": "插件介绍",
"Invalid Appid": "appid 无效",
"Invalid Env": "laf 环境错误",
"Invalid Schema": "Schema 无效",
"Invalid URL": "URL 无效",
"Key": "键",
@@ -1250,16 +1262,20 @@
"No Intro": "这个插件没有介绍~",
"None": "无",
"Path": "路径",
"Please bind laf accout first": "请先绑定 laf 账号",
"Plugin List": "插件列表",
"Plugin Module": "插件模块",
"Privacy Agreement": "隐私协议",
"Search plugin": "搜索插件",
"Set Name": "给插件取个名字",
"Synchronous app": "同步应用",
"Synchronous version": "同步版本",
"To Edit Plugin": "去编辑",
"Update Your Plugin": "更新插件",
"Value": "值",
"path": ""
"go to laf": "去编写",
"path": "",
"update params": "更新参数"
},
"support": {
"account": {
@@ -1305,6 +1321,9 @@
"user": {
"AI point standard": "AI积分标准",
"Avatar": "头像",
"Go laf env": "点击前往 laf 获取 PAT 凭证。",
"Laf account course": "查看绑定 laf 账号教程。",
"Laf account intro": "绑定你的laf账号后你将可以在工作流中使用 laf 模块,实现在线编写代码。",
"Need to login": "请先登录",
"Price": "计费标准",
"User self info": "个人信息",
@@ -1497,10 +1516,13 @@
"Bill Detail": "账单详情",
"Change": "变更",
"Copy invite url": "复制邀请链接",
"Current laf Env": "当前 laf 环境",
"Edit name": "点击修改昵称",
"Invite Url": "邀请链接",
"Invite url tip": "通过该链接注册的好友将永久与你绑定,其充值时你会获得一定余额奖励。\n此外好友使用手机号注册时你将立即获得 5 元奖励。\n奖励会发送到您的默认团队中。",
"Laf Account Setting": "laf 账号配置",
"Language": "语言",
"Learn More": "查看文档",
"Member Name": "昵称",
"Notice": "通知",
"Old password is error": "旧密码错误",
@@ -1515,6 +1537,7 @@
"Promotion rate tip": "好友充值时你将获得一定比例的余额奖励",
"Recharge Record": "支付记录",
"Replace": "更换",
"Set Laf Account Failed": "设置 laf 账号异常",
"Set OpenAI Account Failed": "设置 OpenAI 账号异常",
"Sign Out": "登出",
"Source": "来源",