@steedos/webapp 3.0.2-beta.8 → 3.0.2

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.
@@ -41588,7 +41588,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
41588
41588
  clusterId = "";
41589
41589
  token = "";
41590
41590
  csrf = "";
41591
- url = "http://localhost:5100";
41591
+ url = "";
41592
41592
  urlVersion = "";
41593
41593
  userAgent = null;
41594
41594
  enableLogging = false;
@@ -49231,7 +49231,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
49231
49231
  if (this.props.settings.tenant.enable_open_geetest != true) {
49232
49232
  return;
49233
49233
  }
49234
- const url2 = "http://localhost:5100";
49234
+ const url2 = "";
49235
49235
  fetch(url2 + "/accounts/geetest/geetest-init", {
49236
49236
  method: "POST"
49237
49237
  }).then((response) => {
@@ -49737,7 +49737,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
49737
49737
  if (this.props.settings.tenant.enable_open_geetest != true) {
49738
49738
  return;
49739
49739
  }
49740
- const url2 = "http://localhost:5100";
49740
+ const url2 = "";
49741
49741
  fetch(url2 + "/accounts/geetest/geetest-init", {
49742
49742
  method: "POST"
49743
49743
  }).then((response) => {
@@ -51358,7 +51358,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
51358
51358
  if (this.props.settings.tenant.enable_open_geetest != true) {
51359
51359
  return;
51360
51360
  }
51361
- const url2 = "http://localhost:5100";
51361
+ const url2 = "";
51362
51362
  fetch(url2 + "/accounts/geetest/geetest-init", {
51363
51363
  method: "POST"
51364
51364
  }).then((response) => {
@@ -54378,7 +54378,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
54378
54378
  const fetchData = async () => {
54379
54379
  try {
54380
54380
  const response = await axios.get(
54381
- `${"http://localhost:5100"}/service/api/apps/${appId}/menus`,
54381
+ `${""}/service/api/apps/${appId}/menus`,
54382
54382
  { withCredentials: true }
54383
54383
  // Include credentials if needed
54384
54384
  );
@@ -54583,7 +54583,7 @@ Try polyfilling it using "@formatjs/intl-displaynames"
54583
54583
  }
54584
54584
  if (appId) {
54585
54585
  try {
54586
- const response = await fetch(`${"http://localhost:5100"}/service/api/apps/${appId}/menus?mobile=${isMobile}`, {
54586
+ const response = await fetch(`${""}/service/api/apps/${appId}/menus?mobile=${isMobile}`, {
54587
54587
  method: "GET",
54588
54588
  credentials: "include",
54589
54589
  headers: {
@@ -75840,7 +75840,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
75840
75840
  const { chatbotId } = useParams();
75841
75841
  const { messages, sendMessage, status } = useChat({
75842
75842
  transport: new DefaultChatTransport({
75843
- api: `${"http://localhost:5100"}/api/v6/ai/chatbot/${chatbotId}/stream`
75843
+ api: `${""}/api/v6/ai/chatbot/${chatbotId}/stream`
75844
75844
  })
75845
75845
  });
75846
75846
  const [input, setInput] = reactExports.useState("");
@@ -75850,7 +75850,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
75850
75850
  const fetchChatbot = async () => {
75851
75851
  try {
75852
75852
  const res = await fetch(
75853
- `${"http://localhost:5100"}/api/v6/data/ai_chatbots/${chatbotId}`
75853
+ `${""}/api/v6/data/ai_chatbots/${chatbotId}`
75854
75854
  );
75855
75855
  const data2 = await res.json();
75856
75856
  setChatbot(data2 ?? null);
@@ -75963,7 +75963,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
75963
75963
  const navigate = useNavigate();
75964
75964
  const { messages, sendMessage, status } = useChat({
75965
75965
  transport: new DefaultChatTransport({
75966
- api: `${"http://localhost:5100"}/api/v6/ai/chat/${chatId}/stream`
75966
+ api: `${""}/api/v6/ai/chat/${chatId}/stream`
75967
75967
  })
75968
75968
  });
75969
75969
  const [input, setInput] = reactExports.useState("");
@@ -75979,7 +75979,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
75979
75979
  const fetchChat = async () => {
75980
75980
  try {
75981
75981
  const res = await fetch(
75982
- `${"http://localhost:5100"}/api/v6/data/ai_chats/${chatId}`
75982
+ `${""}/api/v6/data/ai_chats/${chatId}`
75983
75983
  );
75984
75984
  const data2 = await res.json();
75985
75985
  setChat(data2 ?? null);
@@ -80455,7 +80455,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
80455
80455
  }
80456
80456
  fetchSettings = async (retryCount = 0, maxRetries = 20) => {
80457
80457
  try {
80458
- const response = await axios.get(`${"http://localhost:5100"}/api/v6/amis/public_settings`);
80458
+ const response = await axios.get(`${""}/api/v6/amis/public_settings`);
80459
80459
  const settingsData = response.data;
80460
80460
  if (settingsData.serverStatus === "starting") {
80461
80461
  if (retryCount < maxRetries) {
@@ -80470,7 +80470,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
80470
80470
  const Builder2 = window.Builder;
80471
80471
  Builder2.settings.appId = "-";
80472
80472
  Builder2.settings.context = {
80473
- rootUrl: `${"http://localhost:5100"}`,
80473
+ rootUrl: `${""}`,
80474
80474
  userId: localStorage.getItem("steedos:userId"),
80475
80475
  tenantId: localStorage.getItem("steedos:spaceId"),
80476
80476
  authToken: localStorage.getItem("steedos:token"),
@@ -80496,7 +80496,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
80496
80496
  const self2 = this;
80497
80497
  _window2.lodash = _window2._;
80498
80498
  _window2.loadJs("/steedos-init.js", () => {
80499
- _window2.loadJs(`${"http://localhost:5100"}/client_scripts.js`, () => {
80499
+ _window2.loadJs(`${""}/client_scripts.js`, () => {
80500
80500
  self2.setState({ settings: settingsData, loading: false });
80501
80501
  });
80502
80502
  });
@@ -81853,7 +81853,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
81853
81853
  // not needed for react as it escapes by default
81854
81854
  },
81855
81855
  backend: {
81856
- loadPath: `${"http://localhost:5100"}/locales/{{lng}}/{{ns}}`
81856
+ loadPath: `${""}/locales/{{lng}}/{{ns}}`
81857
81857
  }
81858
81858
  });
81859
81859
  const container = document.getElementById("root");
package/dist/index.html CHANGED
@@ -8,6 +8,7 @@
8
8
 
9
9
  <script src="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/sdk/sdk.js"></script>
10
10
 
11
+ <link rel="preload" href="https://unpkg.com/@fortawesome/fontawesome-free@6.2.0/webfonts/fa-solid-900.woff2" as="font" type="font/woff2" crossorigin="anonymous">
11
12
  <link rel="stylesheet" href="https://unpkg.com/@fortawesome/fontawesome-free@6.2.0/css/all.min.css" />
12
13
  <link rel="stylesheet" href="https://unpkg.com/@salesforce-ux/design-system@2.22.2/assets/styles/salesforce-lightning-design-system.min.css">
13
14
 
@@ -64,7 +65,7 @@
64
65
  </script>
65
66
  <script src="https://unpkg.com/i18next@24.2.2/dist/umd/i18next.min.js"></script>
66
67
  <link rel="stylesheet" type="text/css" href="/tailwind/tailwind-steedos.css">
67
- <script type="module" crossorigin src="/assets/index-mdA23prM.js"></script>
68
+ <script type="module" crossorigin src="/assets/index-CJty8bMw.js"></script>
68
69
  </head>
69
70
  <body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
70
71
  <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.8",
3
+ "version": "3.0.2",
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": "47f794dfb3efb89c995dc446d67d3f6b78ea1445"
78
+ "gitHead": "c0246fe673fc4f885c8a10df6935ac047abd6322"
79
79
  }