@steedos/webapp 3.0.4-beta.8 → 3.0.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-DXe8lj55.js";
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
for (var i = 0; i < m.length; i++) {
|
|
4
4
|
const e = m[i];
|
|
@@ -2624,6 +2624,7 @@ video {
|
|
|
2624
2624
|
--body-size: 14px;
|
|
2625
2625
|
--link-color: var(--colors-brand-4);
|
|
2626
2626
|
--link-onHover-color: var(--colors-brand-6);
|
|
2627
|
+
--link-onClick-color: var(--colors-brand-5);
|
|
2627
2628
|
--Page-main-bg: transparent;
|
|
2628
2629
|
--Form-mode-default-labelGap: 2px;
|
|
2629
2630
|
--Form-item-fontSize: 12px;
|
|
@@ -2633,14 +2634,12 @@ video {
|
|
|
2633
2634
|
--Form-item-gap: 0.75rem;
|
|
2634
2635
|
--Form-select-outer-boxShadow: rgba(0, 0, 0, 0.12) 0px 0px 2px, rgba(0, 0, 0, 0.14) 0px 4px 8px;
|
|
2635
2636
|
--Form-select-outer-borderWidth: 0;
|
|
2636
|
-
/* --Table-color: #303030; */
|
|
2637
|
-
/* --Table-thead-color: #303030; */
|
|
2638
2637
|
--Table-borderColor: #e5e7eb;
|
|
2639
2638
|
--Table-borderWidth: 1px;
|
|
2640
2639
|
--Table-fontSize: 13px;
|
|
2641
2640
|
--Table-fixedRight-boxShadow: none;
|
|
2642
|
-
--Table-thead-
|
|
2643
|
-
--Table-thead-fontSize:
|
|
2641
|
+
--Table-thead-color: var(--color-gray-600);
|
|
2642
|
+
--Table-thead-fontSize: 12px;
|
|
2644
2643
|
--Table-thead-bg: white;
|
|
2645
2644
|
--Table-thead-borderColor: var(--Table-borderColor);
|
|
2646
2645
|
--Table-toolbar-marginY: 0;
|
|
@@ -2697,12 +2696,18 @@ video {
|
|
|
2697
2696
|
--common-popover-border: none;
|
|
2698
2697
|
|
|
2699
2698
|
/* --SearchBox-search-icon-color: var(--color-gray-400); */
|
|
2699
|
+
--Pick-base-value-bgColor: var(--colors-brand-10);
|
|
2700
|
+
--Form-selectValue-onHover-bg: var(--colors-brand-9);
|
|
2700
2701
|
}
|
|
2701
2702
|
|
|
2702
2703
|
a {
|
|
2703
2704
|
color: var(--link-color);
|
|
2704
2705
|
}
|
|
2705
2706
|
|
|
2707
|
+
.slds-page-header__icon {
|
|
2708
|
+
background-color: var(--colors-brand-5);
|
|
2709
|
+
color: var(--color-white);
|
|
2710
|
+
}
|
|
2706
2711
|
|
|
2707
2712
|
|
|
2708
2713
|
/* 修正手机端字体小的问题 */
|
|
@@ -34672,7 +34672,7 @@ const LoggedIn = ({ children }) => {
|
|
|
34672
34672
|
window.location.origin
|
|
34673
34673
|
);
|
|
34674
34674
|
if (!currentUser) {
|
|
34675
|
-
navigate("/login?
|
|
34675
|
+
navigate("/login?redirect_uri=" + encodeURIComponent(window.location.pathname));
|
|
34676
34676
|
return;
|
|
34677
34677
|
}
|
|
34678
34678
|
if (!currentSpaceId2) {
|
|
@@ -49222,7 +49222,7 @@ class Signup extends React$1.Component {
|
|
|
49222
49222
|
return this.props.navigate("/verify/mobile");
|
|
49223
49223
|
}
|
|
49224
49224
|
const query = new URLSearchParams(this.props.location.search);
|
|
49225
|
-
const redirectTo = query.get("
|
|
49225
|
+
const redirectTo = query.get("redirect_uri");
|
|
49226
49226
|
if (redirectTo && redirectTo.match(/^\/([^/]|$)/)) {
|
|
49227
49227
|
this.props.navigate(redirectTo);
|
|
49228
49228
|
} else {
|
|
@@ -54629,19 +54629,25 @@ const AppHeader = () => {
|
|
|
54629
54629
|
} else {
|
|
54630
54630
|
document.body.classList.remove("dark");
|
|
54631
54631
|
}
|
|
54632
|
-
|
|
54633
|
-
|
|
54634
|
-
|
|
54635
|
-
|
|
54636
|
-
|
|
54637
|
-
|
|
54638
|
-
|
|
54639
|
-
|
|
54640
|
-
|
|
54641
|
-
|
|
54642
|
-
|
|
54643
|
-
|
|
54644
|
-
}
|
|
54632
|
+
const themeColor = appData.color || "sky";
|
|
54633
|
+
document.documentElement.style.setProperty("--colors-brand-main", `var(--color-${themeColor}-600)`);
|
|
54634
|
+
document.documentElement.style.setProperty("--colors-brand-1", `var(--color-${themeColor}-900)`);
|
|
54635
|
+
document.documentElement.style.setProperty("--colors-brand-2", `var(--color-${themeColor}-900)`);
|
|
54636
|
+
document.documentElement.style.setProperty("--colors-brand-3", `var(--color-${themeColor}-800)`);
|
|
54637
|
+
document.documentElement.style.setProperty("--colors-brand-4", `var(--color-${themeColor}-700)`);
|
|
54638
|
+
document.documentElement.style.setProperty("--colors-brand-5", `var(--color-${themeColor}-600)`);
|
|
54639
|
+
document.documentElement.style.setProperty("--colors-brand-6", `var(--color-${themeColor}-500)`);
|
|
54640
|
+
document.documentElement.style.setProperty("--colors-brand-7", `var(--color-${themeColor}-400)`);
|
|
54641
|
+
document.documentElement.style.setProperty("--colors-brand-8", `var(--color-${themeColor}-300)`);
|
|
54642
|
+
document.documentElement.style.setProperty("--colors-brand-9", `var(--color-${themeColor}-100)`);
|
|
54643
|
+
document.documentElement.style.setProperty("--colors-brand-10", `var(--color-${themeColor}-50)`);
|
|
54644
|
+
document.documentElement.style.setProperty("--colors-other-5", `var(--color-${themeColor}-600)`);
|
|
54645
|
+
document.documentElement.style.setProperty("--colors-other-6", `var(--color-${themeColor}-500)`);
|
|
54646
|
+
document.documentElement.style.setProperty("--colors-other-7", `var(--color-${themeColor}-400)`);
|
|
54647
|
+
document.documentElement.style.setProperty("--colors-link-4", `var(--color-${themeColor}-700)`);
|
|
54648
|
+
document.documentElement.style.setProperty("--colors-link-5", `var(--color-${themeColor}-600)`);
|
|
54649
|
+
document.documentElement.style.setProperty("--colors-link-6", `var(--color-${themeColor}-500)`);
|
|
54650
|
+
document.documentElement.style.setProperty("--colors-link-7", `var(--color-${themeColor}-400)`);
|
|
54645
54651
|
}
|
|
54646
54652
|
} catch (err) {
|
|
54647
54653
|
console.error("Failed to fetch app data:", err);
|
|
@@ -81103,7 +81109,7 @@ if (typeof ActiveXObject === "function") {
|
|
|
81103
81109
|
if (typeof fetchApi !== "function") fetchApi = void 0;
|
|
81104
81110
|
if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
|
|
81105
81111
|
try {
|
|
81106
|
-
__vitePreload(() => import("./browser-ponyfill-
|
|
81112
|
+
__vitePreload(() => import("./browser-ponyfill-CG922cba.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
|
|
81107
81113
|
fetchApi = mod.default;
|
|
81108
81114
|
}).catch(function() {
|
|
81109
81115
|
});
|
package/dist/index.html
CHANGED
|
@@ -66,8 +66,8 @@
|
|
|
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-
|
|
70
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
69
|
+
<script type="module" crossorigin src="/assets/index-DXe8lj55.js"></script>
|
|
70
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BWGFzjMX.css">
|
|
71
71
|
</head>
|
|
72
72
|
<body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
|
|
73
73
|
<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.4
|
|
3
|
+
"version": "3.0.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": "1109077762ca63175d4bd3aa7ea40b854784acb5",
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@steedos-widgets/amis-object": "^6.10.33"
|
|
80
80
|
}
|