@ws-ui/store 0.0.10 → 0.0.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.
- package/README.md +3 -3
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +55 -55
package/dist/index.es.js
CHANGED
|
@@ -10242,6 +10242,7 @@ const Or = Q("modals/open", async (e, { dispatch: r }) => {
|
|
|
10242
10242
|
session: {
|
|
10243
10243
|
"studio.tips": !0,
|
|
10244
10244
|
"studio.notifications": !0,
|
|
10245
|
+
"studio.tipsBaseUrl": "https://raw.githubusercontent.com/4d/Web-studio-TIPS/gh-build",
|
|
10245
10246
|
"webforms.tooltip.behavior": hg.SHOW_AFTER_TIMEOUT,
|
|
10246
10247
|
"webforms.tooltip.timeout": 3e3,
|
|
10247
10248
|
"webforms.renderer.showPopOver": !0,
|
|
@@ -13033,14 +13034,14 @@ const dP = {
|
|
|
13033
13034
|
}, a = (s = ((i = r.root.tabs.find(kt("path", e))) == null ? void 0 : i.content).metadata) == null ? void 0 : s.datasources;
|
|
13034
13035
|
return a && (t[e] = a), qe.cloneDeep(t);
|
|
13035
13036
|
}), V$ = Q("webforms/fetchTemplates", async (e, { dispatch: r, getState: t }) => {
|
|
13036
|
-
const { data: a } = t().webforms.templates;
|
|
13037
|
+
const { data: a } = t().webforms.templates, i = t().settings.session["studio.tipsBaseUrl"] || "";
|
|
13037
13038
|
if (!qe.isEmpty(a))
|
|
13038
13039
|
return a;
|
|
13039
13040
|
try {
|
|
13040
|
-
const
|
|
13041
|
-
|
|
13041
|
+
const c = await (await fetch(
|
|
13042
|
+
`${i}/build/index.json?t=${Date.now()}`
|
|
13042
13043
|
)).json();
|
|
13043
|
-
return r(yP(
|
|
13044
|
+
return r(yP(c)), c;
|
|
13044
13045
|
} catch {
|
|
13045
13046
|
return [];
|
|
13046
13047
|
}
|