@steedos/webapp 3.0.2-beta.5 → 3.0.2-beta.8
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.
|
@@ -23862,7 +23862,7 @@
|
|
|
23862
23862
|
"accounts.copyright": "© 2025 Steedos.com, Inc.",
|
|
23863
23863
|
"accounts.privacy": "Privacy",
|
|
23864
23864
|
"accounts.privacyURL": "https://docs.steedos.com/company/privacy/",
|
|
23865
|
-
"accounts.logoURL": "/images/
|
|
23865
|
+
"accounts.logoURL": "/images/logo.svg",
|
|
23866
23866
|
"accounts.invalidVerifyParam": "Invalid validation parameter",
|
|
23867
23867
|
"accounts.passwordLogin": "Login with password",
|
|
23868
23868
|
"accounts.codeLogin": "Login with Verify code",
|
|
@@ -24002,7 +24002,7 @@
|
|
|
24002
24002
|
"accounts.copyright": "© 2025 华炎软件",
|
|
24003
24003
|
"accounts.privacy": "隐私",
|
|
24004
24004
|
"accounts.privacyURL": "https://docs.steedos.cn/company/privacy/",
|
|
24005
|
-
"accounts.logoURL": "/images/
|
|
24005
|
+
"accounts.logoURL": "/images/logo.svg",
|
|
24006
24006
|
"accounts.passwordLogin": "密码登录",
|
|
24007
24007
|
"accounts.codeLogin": "验证码登录",
|
|
24008
24008
|
"accounts.accept_invitation": "接受邀请",
|
|
@@ -41588,7 +41588,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
41588
41588
|
clusterId = "";
|
|
41589
41589
|
token = "";
|
|
41590
41590
|
csrf = "";
|
|
41591
|
-
url = "";
|
|
41591
|
+
url = "http://localhost:5100";
|
|
41592
41592
|
urlVersion = "";
|
|
41593
41593
|
userAgent = null;
|
|
41594
41594
|
enableLogging = false;
|
|
@@ -48807,7 +48807,12 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
48807
48807
|
navigate("/verify/email");
|
|
48808
48808
|
return;
|
|
48809
48809
|
}
|
|
48810
|
-
|
|
48810
|
+
let redirect_uri = new URLSearchParams(location2 ? location2.search : "").get("redirect_uri");
|
|
48811
|
+
if (redirect_uri) {
|
|
48812
|
+
navigate("/home?redirect_uri=" + redirect_uri);
|
|
48813
|
+
} else {
|
|
48814
|
+
navigate("/home");
|
|
48815
|
+
}
|
|
48811
48816
|
}
|
|
48812
48817
|
const useCountDown = (timerKey, options) => {
|
|
48813
48818
|
const [addData, getData2] = reactExports.useMemo(() => {
|
|
@@ -49226,7 +49231,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
49226
49231
|
if (this.props.settings.tenant.enable_open_geetest != true) {
|
|
49227
49232
|
return;
|
|
49228
49233
|
}
|
|
49229
|
-
const url2 = "";
|
|
49234
|
+
const url2 = "http://localhost:5100";
|
|
49230
49235
|
fetch(url2 + "/accounts/geetest/geetest-init", {
|
|
49231
49236
|
method: "POST"
|
|
49232
49237
|
}).then((response) => {
|
|
@@ -49732,7 +49737,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
49732
49737
|
if (this.props.settings.tenant.enable_open_geetest != true) {
|
|
49733
49738
|
return;
|
|
49734
49739
|
}
|
|
49735
|
-
const url2 = "";
|
|
49740
|
+
const url2 = "http://localhost:5100";
|
|
49736
49741
|
fetch(url2 + "/accounts/geetest/geetest-init", {
|
|
49737
49742
|
method: "POST"
|
|
49738
49743
|
}).then((response) => {
|
|
@@ -51353,7 +51358,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
51353
51358
|
if (this.props.settings.tenant.enable_open_geetest != true) {
|
|
51354
51359
|
return;
|
|
51355
51360
|
}
|
|
51356
|
-
const url2 = "";
|
|
51361
|
+
const url2 = "http://localhost:5100";
|
|
51357
51362
|
fetch(url2 + "/accounts/geetest/geetest-init", {
|
|
51358
51363
|
method: "POST"
|
|
51359
51364
|
}).then((response) => {
|
|
@@ -54373,7 +54378,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
54373
54378
|
const fetchData = async () => {
|
|
54374
54379
|
try {
|
|
54375
54380
|
const response = await axios.get(
|
|
54376
|
-
`${""}/service/api/apps/${appId}/menus`,
|
|
54381
|
+
`${"http://localhost:5100"}/service/api/apps/${appId}/menus`,
|
|
54377
54382
|
{ withCredentials: true }
|
|
54378
54383
|
// Include credentials if needed
|
|
54379
54384
|
);
|
|
@@ -54578,7 +54583,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
54578
54583
|
}
|
|
54579
54584
|
if (appId) {
|
|
54580
54585
|
try {
|
|
54581
|
-
const response = await fetch(`${""}/service/api/apps/${appId}/menus?mobile=${isMobile}`, {
|
|
54586
|
+
const response = await fetch(`${"http://localhost:5100"}/service/api/apps/${appId}/menus?mobile=${isMobile}`, {
|
|
54582
54587
|
method: "GET",
|
|
54583
54588
|
credentials: "include",
|
|
54584
54589
|
headers: {
|
|
@@ -54607,12 +54612,12 @@ Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
54607
54612
|
document.body.classList.remove("sidebar-open");
|
|
54608
54613
|
}
|
|
54609
54614
|
const isMobile = window.innerWidth < 1024;
|
|
54610
|
-
let logoSrc = `/images/logo.
|
|
54615
|
+
let logoSrc = `/images/logo.svg`;
|
|
54611
54616
|
if (Builder$1.settings?.context?.user?.space?.avatar) {
|
|
54612
54617
|
logoSrc = "/api/v6/files/cfs.avatars.filerecord/" + Builder$1.settings.context.user.space.avatar;
|
|
54613
54618
|
}
|
|
54614
54619
|
const faviconLink = document.querySelector('link[rel*="icon"], link[rel*="shortcut"]');
|
|
54615
|
-
let favicon = "/
|
|
54620
|
+
let favicon = "/images/logo.svg";
|
|
54616
54621
|
if (Builder$1.settings?.context?.user?.space?.favicon) {
|
|
54617
54622
|
favicon = "/api/v6/files/cfs.avatars.filerecord/" + Builder$1.settings.context.user.space.favicon;
|
|
54618
54623
|
}
|
|
@@ -75835,7 +75840,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
75835
75840
|
const { chatbotId } = useParams();
|
|
75836
75841
|
const { messages, sendMessage, status } = useChat({
|
|
75837
75842
|
transport: new DefaultChatTransport({
|
|
75838
|
-
api: `${""}/api/v6/ai/chatbot/${chatbotId}/stream`
|
|
75843
|
+
api: `${"http://localhost:5100"}/api/v6/ai/chatbot/${chatbotId}/stream`
|
|
75839
75844
|
})
|
|
75840
75845
|
});
|
|
75841
75846
|
const [input, setInput] = reactExports.useState("");
|
|
@@ -75845,7 +75850,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
75845
75850
|
const fetchChatbot = async () => {
|
|
75846
75851
|
try {
|
|
75847
75852
|
const res = await fetch(
|
|
75848
|
-
`${""}/api/v6/data/ai_chatbots/${chatbotId}`
|
|
75853
|
+
`${"http://localhost:5100"}/api/v6/data/ai_chatbots/${chatbotId}`
|
|
75849
75854
|
);
|
|
75850
75855
|
const data2 = await res.json();
|
|
75851
75856
|
setChatbot(data2 ?? null);
|
|
@@ -75958,7 +75963,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
75958
75963
|
const navigate = useNavigate();
|
|
75959
75964
|
const { messages, sendMessage, status } = useChat({
|
|
75960
75965
|
transport: new DefaultChatTransport({
|
|
75961
|
-
api: `${""}/api/v6/ai/chat/${chatId}/stream`
|
|
75966
|
+
api: `${"http://localhost:5100"}/api/v6/ai/chat/${chatId}/stream`
|
|
75962
75967
|
})
|
|
75963
75968
|
});
|
|
75964
75969
|
const [input, setInput] = reactExports.useState("");
|
|
@@ -75974,7 +75979,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
75974
75979
|
const fetchChat = async () => {
|
|
75975
75980
|
try {
|
|
75976
75981
|
const res = await fetch(
|
|
75977
|
-
`${""}/api/v6/data/ai_chats/${chatId}`
|
|
75982
|
+
`${"http://localhost:5100"}/api/v6/data/ai_chats/${chatId}`
|
|
75978
75983
|
);
|
|
75979
75984
|
const data2 = await res.json();
|
|
75980
75985
|
setChat(data2 ?? null);
|
|
@@ -80450,7 +80455,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
80450
80455
|
}
|
|
80451
80456
|
fetchSettings = async (retryCount = 0, maxRetries = 20) => {
|
|
80452
80457
|
try {
|
|
80453
|
-
const response = await axios.get(`${""}/api/v6/amis/public_settings`);
|
|
80458
|
+
const response = await axios.get(`${"http://localhost:5100"}/api/v6/amis/public_settings`);
|
|
80454
80459
|
const settingsData = response.data;
|
|
80455
80460
|
if (settingsData.serverStatus === "starting") {
|
|
80456
80461
|
if (retryCount < maxRetries) {
|
|
@@ -80465,7 +80470,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
80465
80470
|
const Builder2 = window.Builder;
|
|
80466
80471
|
Builder2.settings.appId = "-";
|
|
80467
80472
|
Builder2.settings.context = {
|
|
80468
|
-
rootUrl: `${""}`,
|
|
80473
|
+
rootUrl: `${"http://localhost:5100"}`,
|
|
80469
80474
|
userId: localStorage.getItem("steedos:userId"),
|
|
80470
80475
|
tenantId: localStorage.getItem("steedos:spaceId"),
|
|
80471
80476
|
authToken: localStorage.getItem("steedos:token"),
|
|
@@ -80491,7 +80496,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
80491
80496
|
const self2 = this;
|
|
80492
80497
|
_window2.lodash = _window2._;
|
|
80493
80498
|
_window2.loadJs("/steedos-init.js", () => {
|
|
80494
|
-
_window2.loadJs(`${""}/client_scripts.js`, () => {
|
|
80499
|
+
_window2.loadJs(`${"http://localhost:5100"}/client_scripts.js`, () => {
|
|
80495
80500
|
self2.setState({ settings: settingsData, loading: false });
|
|
80496
80501
|
});
|
|
80497
80502
|
});
|
|
@@ -81848,7 +81853,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
81848
81853
|
// not needed for react as it escapes by default
|
|
81849
81854
|
},
|
|
81850
81855
|
backend: {
|
|
81851
|
-
loadPath: `${""}/locales/{{lng}}/{{ns}}`
|
|
81856
|
+
loadPath: `${"http://localhost:5100"}/locales/{{lng}}/{{ns}}`
|
|
81852
81857
|
}
|
|
81853
81858
|
});
|
|
81854
81859
|
const container = document.getElementById("root");
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<svg width="340" height="340" viewBox="0 0 340 340" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g fill="#8bc34a">
|
|
3
|
+
<rect x="10" y="10" width="100" height="100" rx="10"/>
|
|
4
|
+
<rect x="120" y="10" width="100" height="100" rx="10"/>
|
|
5
|
+
</g>
|
|
6
|
+
|
|
7
|
+
<g fill="#ffc107">
|
|
8
|
+
<rect x="230" y="10" width="100" height="100" rx="10"/>
|
|
9
|
+
<rect x="230" y="120" width="100" height="100" rx="10"/>
|
|
10
|
+
</g>
|
|
11
|
+
|
|
12
|
+
<g fill="#ff5722">
|
|
13
|
+
<rect x="10" y="120" width="100" height="100" rx="10"/>
|
|
14
|
+
<rect x="10" y="230" width="100" height="100" rx="10"/>
|
|
15
|
+
</g>
|
|
16
|
+
|
|
17
|
+
<rect x="120" y="120" width="100" height="100" rx="10" fill="#EFEFEF"/>
|
|
18
|
+
|
|
19
|
+
<g fill="#03a9f4">
|
|
20
|
+
<rect x="120" y="230" width="100" height="100" rx="10"/>
|
|
21
|
+
<rect x="230" y="230" width="100" height="100" rx="10"/>
|
|
22
|
+
</g>
|
|
23
|
+
|
|
24
|
+
</svg>
|
package/dist/index.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="shortcut icon" href="/
|
|
5
|
+
<link rel="shortcut icon" href="/images/logo.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Steedos</title>
|
|
8
8
|
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
</script>
|
|
65
65
|
<script src="https://unpkg.com/i18next@24.2.2/dist/umd/i18next.min.js"></script>
|
|
66
66
|
<link rel="stylesheet" type="text/css" href="/tailwind/tailwind-steedos.css">
|
|
67
|
-
<script type="module" crossorigin src="/assets/index-
|
|
67
|
+
<script type="module" crossorigin src="/assets/index-mdA23prM.js"></script>
|
|
68
68
|
</head>
|
|
69
69
|
<body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
|
|
70
70
|
<div id="root" class="steedos skin-blue-light creator h-full flex flex-col relative overflow-hidden bg-slate-50"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/webapp",
|
|
3
|
-
"version": "3.0.2-beta.
|
|
3
|
+
"version": "3.0.2-beta.8",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
77
|
"repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "47f794dfb3efb89c995dc446d67d3f6b78ea1445"
|
|
79
79
|
}
|