@steedos/webapp 3.0.7-beta.3 → 3.0.7-beta.4
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-
|
|
1
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-qMqGZKwR.js";
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
for (var i = 0; i < m.length; i++) {
|
|
4
4
|
const e = m[i];
|
|
@@ -54894,14 +54894,17 @@ const ObjectDetail = () => {
|
|
|
54894
54894
|
};
|
|
54895
54895
|
const isString = (val) => typeof val === "string";
|
|
54896
54896
|
function injectServerCss(cssString) {
|
|
54897
|
-
const
|
|
54898
|
-
styleTag.id = "app-page-styles";
|
|
54899
|
-
styleTag.innerHTML = cssString;
|
|
54900
|
-
const oldStyle = document.getElementById("app-page-styles");
|
|
54897
|
+
const oldStyle = document.getElementById("dynamic-page-styles");
|
|
54901
54898
|
if (oldStyle) {
|
|
54902
54899
|
oldStyle.remove();
|
|
54903
54900
|
}
|
|
54904
|
-
|
|
54901
|
+
if (cssString == null || cssString.trim() === "") {
|
|
54902
|
+
return;
|
|
54903
|
+
}
|
|
54904
|
+
const styleTag = document.createElement("style");
|
|
54905
|
+
styleTag.id = "dynamic-page-styles";
|
|
54906
|
+
styleTag.innerHTML = cssString;
|
|
54907
|
+
document.head.prepend(styleTag);
|
|
54905
54908
|
}
|
|
54906
54909
|
const PageView = () => {
|
|
54907
54910
|
const { appId, pageId } = useParams();
|
|
@@ -54926,7 +54929,7 @@ const PageView = () => {
|
|
|
54926
54929
|
throw new Error(`HTTP error! status: ${response.status}`);
|
|
54927
54930
|
}
|
|
54928
54931
|
const payload = await response.json();
|
|
54929
|
-
if (payload
|
|
54932
|
+
if (payload) {
|
|
54930
54933
|
injectServerCss(payload.css);
|
|
54931
54934
|
}
|
|
54932
54935
|
let finalSchema = payload.schema;
|
|
@@ -81175,7 +81178,7 @@ if (typeof ActiveXObject === "function") {
|
|
|
81175
81178
|
if (typeof fetchApi !== "function") fetchApi = void 0;
|
|
81176
81179
|
if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
|
|
81177
81180
|
try {
|
|
81178
|
-
__vitePreload(() => import("./browser-ponyfill-
|
|
81181
|
+
__vitePreload(() => import("./browser-ponyfill-BD9Wb4mz.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
|
|
81179
81182
|
fetchApi = mod.default;
|
|
81180
81183
|
}).catch(function() {
|
|
81181
81184
|
});
|
package/dist/index.html
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/themes/antd.css">
|
|
67
67
|
<link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/helper.css">
|
|
68
68
|
<link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/sdk/iconfont.css">
|
|
69
|
-
<script type="module" crossorigin src="/assets/index-
|
|
69
|
+
<script type="module" crossorigin src="/assets/index-qMqGZKwR.js"></script>
|
|
70
70
|
<link rel="stylesheet" crossorigin href="/assets/index-DucDe4Dz.css">
|
|
71
71
|
</head>
|
|
72
72
|
<body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/webapp",
|
|
3
|
-
"version": "3.0.7-beta.
|
|
3
|
+
"version": "3.0.7-beta.4",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
76
|
"repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "42df6d2bfc51025817ad6d5e04deb66fed592656",
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@steedos-widgets/amis-object": "^6.10.40",
|
|
80
80
|
"autoprefixer": "^10.4.23"
|