@steedos/webapp 3.0.14-beta.15 → 3.0.14-beta.18
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-C3FysfxH.js";
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
for (var i = 0; i < m.length; i++) {
|
|
4
4
|
const e = m[i];
|
|
@@ -49555,8 +49555,12 @@ const ReApplyCodeBtn$2 = ({ onClick, id: id2, loginId, disabled }) => {
|
|
|
49555
49555
|
class Login extends React$1.Component {
|
|
49556
49556
|
constructor(props, context) {
|
|
49557
49557
|
super(props, context);
|
|
49558
|
-
|
|
49559
|
-
|
|
49558
|
+
const noRedirect = new URLSearchParams(this.props.location.search).get("default");
|
|
49559
|
+
if (this.props.tenant.page_login && !noRedirect) {
|
|
49560
|
+
window.location.href = this.props.tenant.page_login;
|
|
49561
|
+
this._redirecting = true;
|
|
49562
|
+
this.state = {};
|
|
49563
|
+
return;
|
|
49560
49564
|
}
|
|
49561
49565
|
let inApp = false;
|
|
49562
49566
|
let email2 = "";
|
|
@@ -49873,6 +49877,9 @@ class Login extends React$1.Component {
|
|
|
49873
49877
|
}
|
|
49874
49878
|
}
|
|
49875
49879
|
render() {
|
|
49880
|
+
if (this._redirecting) {
|
|
49881
|
+
return null;
|
|
49882
|
+
}
|
|
49876
49883
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
49877
49884
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Background$1, {}),
|
|
49878
49885
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Card$1, { children: [
|
|
@@ -51891,6 +51898,19 @@ const on_click_script = `
|
|
|
51891
51898
|
console.error(e.message + "\\r\\n" + e.stack);
|
|
51892
51899
|
}
|
|
51893
51900
|
`;
|
|
51901
|
+
const navigateTo = (path2) => {
|
|
51902
|
+
if (!path2) return;
|
|
51903
|
+
if (path2.startsWith("/") || path2.startsWith(window.location.origin)) {
|
|
51904
|
+
try {
|
|
51905
|
+
const url2 = new URL(path2, window.location.origin);
|
|
51906
|
+
window.navigate(url2.pathname + url2.search + url2.hash);
|
|
51907
|
+
} catch {
|
|
51908
|
+
window.navigate(path2);
|
|
51909
|
+
}
|
|
51910
|
+
} else {
|
|
51911
|
+
window.location.href = path2;
|
|
51912
|
+
}
|
|
51913
|
+
};
|
|
51894
51914
|
const pcInitJumtoFirstAppFirstTabScript = (payload, response, api2, context) => {
|
|
51895
51915
|
const resolvePathTemplate = (path2, data2) => {
|
|
51896
51916
|
if (!path2 || path2.indexOf("${") < 0) {
|
|
@@ -51915,16 +51935,16 @@ const pcInitJumtoFirstAppFirstTabScript = (payload, response, api2, context) =>
|
|
|
51915
51935
|
let firstApp = app_items[0];
|
|
51916
51936
|
if (firstApp && firstApp.default_tab) {
|
|
51917
51937
|
if (typeof firstApp.default_tab === "object" && firstApp.default_tab.path) {
|
|
51918
|
-
|
|
51938
|
+
navigateTo(resolvePathTemplate(firstApp.default_tab.path, firstApp.default_tab));
|
|
51919
51939
|
} else {
|
|
51920
|
-
|
|
51940
|
+
navigateTo(`/app/${firstApp.id}/${firstApp.default_tab}`);
|
|
51921
51941
|
}
|
|
51922
51942
|
return payload;
|
|
51923
51943
|
}
|
|
51924
51944
|
if (firstApp && firstApp.children && firstApp.children.length > 0) {
|
|
51925
51945
|
let firstTab = firstApp.children[0];
|
|
51926
51946
|
if (firstTab) {
|
|
51927
|
-
|
|
51947
|
+
navigateTo(resolvePathTemplate(firstTab.path, firstTab));
|
|
51928
51948
|
}
|
|
51929
51949
|
}
|
|
51930
51950
|
}
|
|
@@ -81587,7 +81607,7 @@ if (typeof ActiveXObject === "function") {
|
|
|
81587
81607
|
if (typeof fetchApi !== "function") fetchApi = void 0;
|
|
81588
81608
|
if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
|
|
81589
81609
|
try {
|
|
81590
|
-
__vitePreload(() => import("./browser-ponyfill-
|
|
81610
|
+
__vitePreload(() => import("./browser-ponyfill-BGdIZtpJ.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
|
|
81591
81611
|
fetchApi = mod.default;
|
|
81592
81612
|
}).catch(function() {
|
|
81593
81613
|
});
|
|
@@ -1134,6 +1134,9 @@ video {
|
|
|
1134
1134
|
.mr-0 {
|
|
1135
1135
|
margin-right: 0px;
|
|
1136
1136
|
}
|
|
1137
|
+
.mr-0\.5 {
|
|
1138
|
+
margin-right: 0.125rem;
|
|
1139
|
+
}
|
|
1137
1140
|
.mr-1 {
|
|
1138
1141
|
margin-right: 0.25rem;
|
|
1139
1142
|
}
|
|
@@ -1152,9 +1155,6 @@ video {
|
|
|
1152
1155
|
.mt-1 {
|
|
1153
1156
|
margin-top: 0.25rem;
|
|
1154
1157
|
}
|
|
1155
|
-
.mt-1\.5 {
|
|
1156
|
-
margin-top: 0.375rem;
|
|
1157
|
-
}
|
|
1158
1158
|
.mt-2 {
|
|
1159
1159
|
margin-top: 0.5rem;
|
|
1160
1160
|
}
|
|
@@ -1233,9 +1233,6 @@ video {
|
|
|
1233
1233
|
.h-16 {
|
|
1234
1234
|
height: 4rem;
|
|
1235
1235
|
}
|
|
1236
|
-
.h-3 {
|
|
1237
|
-
height: 0.75rem;
|
|
1238
|
-
}
|
|
1239
1236
|
.h-3\.5 {
|
|
1240
1237
|
height: 0.875rem;
|
|
1241
1238
|
}
|
|
@@ -1314,9 +1311,6 @@ video {
|
|
|
1314
1311
|
.w-16 {
|
|
1315
1312
|
width: 4rem;
|
|
1316
1313
|
}
|
|
1317
|
-
.w-3 {
|
|
1318
|
-
width: 0.75rem;
|
|
1319
|
-
}
|
|
1320
1314
|
.w-3\.5 {
|
|
1321
1315
|
width: 0.875rem;
|
|
1322
1316
|
}
|
|
@@ -1386,8 +1380,8 @@ video {
|
|
|
1386
1380
|
.min-w-\[460px\] {
|
|
1387
1381
|
min-width: 460px;
|
|
1388
1382
|
}
|
|
1389
|
-
.max-w-
|
|
1390
|
-
max-width:
|
|
1383
|
+
.max-w-4xl {
|
|
1384
|
+
max-width: 56rem;
|
|
1391
1385
|
}
|
|
1392
1386
|
.max-w-7xl {
|
|
1393
1387
|
max-width: 80rem;
|
|
@@ -1431,6 +1425,9 @@ video {
|
|
|
1431
1425
|
.grow {
|
|
1432
1426
|
flex-grow: 1;
|
|
1433
1427
|
}
|
|
1428
|
+
.table-fixed {
|
|
1429
|
+
table-layout: fixed;
|
|
1430
|
+
}
|
|
1434
1431
|
.border-collapse {
|
|
1435
1432
|
border-collapse: collapse;
|
|
1436
1433
|
}
|
|
@@ -1453,6 +1450,9 @@ video {
|
|
|
1453
1450
|
.animate-spin {
|
|
1454
1451
|
animation: spin 1s linear infinite;
|
|
1455
1452
|
}
|
|
1453
|
+
.cursor-default {
|
|
1454
|
+
cursor: default;
|
|
1455
|
+
}
|
|
1456
1456
|
.cursor-not-allowed {
|
|
1457
1457
|
cursor: not-allowed;
|
|
1458
1458
|
}
|
|
@@ -1540,8 +1540,8 @@ video {
|
|
|
1540
1540
|
-moz-column-gap: 1.5rem;
|
|
1541
1541
|
column-gap: 1.5rem;
|
|
1542
1542
|
}
|
|
1543
|
-
.gap-y-
|
|
1544
|
-
row-gap:
|
|
1543
|
+
.gap-y-6 {
|
|
1544
|
+
row-gap: 1.5rem;
|
|
1545
1545
|
}
|
|
1546
1546
|
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
|
|
1547
1547
|
--tw-space-x-reverse: 0;
|
|
@@ -1603,6 +1603,9 @@ video {
|
|
|
1603
1603
|
.whitespace-nowrap {
|
|
1604
1604
|
white-space: nowrap;
|
|
1605
1605
|
}
|
|
1606
|
+
.whitespace-pre-wrap {
|
|
1607
|
+
white-space: pre-wrap;
|
|
1608
|
+
}
|
|
1606
1609
|
.break-words {
|
|
1607
1610
|
overflow-wrap: break-word;
|
|
1608
1611
|
}
|
|
@@ -1696,10 +1699,6 @@ video {
|
|
|
1696
1699
|
--tw-border-opacity: 1;
|
|
1697
1700
|
border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));
|
|
1698
1701
|
}
|
|
1699
|
-
.border-blue-200 {
|
|
1700
|
-
--tw-border-opacity: 1;
|
|
1701
|
-
border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
|
|
1702
|
-
}
|
|
1703
1702
|
.border-blue-400 {
|
|
1704
1703
|
--tw-border-opacity: 1;
|
|
1705
1704
|
border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
|
|
@@ -1732,22 +1731,10 @@ video {
|
|
|
1732
1731
|
--tw-border-opacity: 1;
|
|
1733
1732
|
border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
|
|
1734
1733
|
}
|
|
1735
|
-
.border-green-200 {
|
|
1736
|
-
--tw-border-opacity: 1;
|
|
1737
|
-
border-color: rgb(187 247 208 / var(--tw-border-opacity, 1));
|
|
1738
|
-
}
|
|
1739
1734
|
.border-neutral-300 {
|
|
1740
1735
|
--tw-border-opacity: 1;
|
|
1741
1736
|
border-color: rgb(212 212 212 / var(--tw-border-opacity, 1));
|
|
1742
1737
|
}
|
|
1743
|
-
.border-orange-200 {
|
|
1744
|
-
--tw-border-opacity: 1;
|
|
1745
|
-
border-color: rgb(254 215 170 / var(--tw-border-opacity, 1));
|
|
1746
|
-
}
|
|
1747
|
-
.border-red-200 {
|
|
1748
|
-
--tw-border-opacity: 1;
|
|
1749
|
-
border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
|
|
1750
|
-
}
|
|
1751
1738
|
.border-red-500 {
|
|
1752
1739
|
--tw-border-opacity: 1;
|
|
1753
1740
|
border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
|
|
@@ -1818,10 +1805,6 @@ video {
|
|
|
1818
1805
|
--tw-bg-opacity: 1;
|
|
1819
1806
|
background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
|
|
1820
1807
|
}
|
|
1821
|
-
.bg-green-100 {
|
|
1822
|
-
--tw-bg-opacity: 1;
|
|
1823
|
-
background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
|
|
1824
|
-
}
|
|
1825
1808
|
.bg-green-500 {
|
|
1826
1809
|
--tw-bg-opacity: 1;
|
|
1827
1810
|
background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
|
|
@@ -1830,18 +1813,10 @@ video {
|
|
|
1830
1813
|
--tw-bg-opacity: 1;
|
|
1831
1814
|
background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
|
|
1832
1815
|
}
|
|
1833
|
-
.bg-neutral-100 {
|
|
1834
|
-
--tw-bg-opacity: 1;
|
|
1835
|
-
background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));
|
|
1836
|
-
}
|
|
1837
1816
|
.bg-neutral-500 {
|
|
1838
1817
|
--tw-bg-opacity: 1;
|
|
1839
1818
|
background-color: rgb(115 115 115 / var(--tw-bg-opacity, 1));
|
|
1840
1819
|
}
|
|
1841
|
-
.bg-orange-100 {
|
|
1842
|
-
--tw-bg-opacity: 1;
|
|
1843
|
-
background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
|
|
1844
|
-
}
|
|
1845
1820
|
.bg-orange-500 {
|
|
1846
1821
|
--tw-bg-opacity: 1;
|
|
1847
1822
|
background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
|
|
@@ -1862,14 +1837,6 @@ video {
|
|
|
1862
1837
|
--tw-bg-opacity: 1;
|
|
1863
1838
|
background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
|
|
1864
1839
|
}
|
|
1865
|
-
.bg-red-100 {
|
|
1866
|
-
--tw-bg-opacity: 1;
|
|
1867
|
-
background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
|
|
1868
|
-
}
|
|
1869
|
-
.bg-red-50 {
|
|
1870
|
-
--tw-bg-opacity: 1;
|
|
1871
|
-
background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
|
|
1872
|
-
}
|
|
1873
1840
|
.bg-red-500 {
|
|
1874
1841
|
--tw-bg-opacity: 1;
|
|
1875
1842
|
background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
|
|
@@ -2019,6 +1986,10 @@ video {
|
|
|
2019
1986
|
padding-left: 1.5rem;
|
|
2020
1987
|
padding-right: 1.5rem;
|
|
2021
1988
|
}
|
|
1989
|
+
.px-8 {
|
|
1990
|
+
padding-left: 2rem;
|
|
1991
|
+
padding-right: 2rem;
|
|
1992
|
+
}
|
|
2022
1993
|
.py-0 {
|
|
2023
1994
|
padding-top: 0px;
|
|
2024
1995
|
padding-bottom: 0px;
|
|
@@ -2066,18 +2037,12 @@ video {
|
|
|
2066
2037
|
.pb-0 {
|
|
2067
2038
|
padding-bottom: 0px;
|
|
2068
2039
|
}
|
|
2069
|
-
.pb-10 {
|
|
2070
|
-
padding-bottom: 2.5rem;
|
|
2071
|
-
}
|
|
2072
2040
|
.pb-16 {
|
|
2073
2041
|
padding-bottom: 4rem;
|
|
2074
2042
|
}
|
|
2075
2043
|
.pb-2 {
|
|
2076
2044
|
padding-bottom: 0.5rem;
|
|
2077
2045
|
}
|
|
2078
|
-
.pb-20 {
|
|
2079
|
-
padding-bottom: 5rem;
|
|
2080
|
-
}
|
|
2081
2046
|
.pb-4 {
|
|
2082
2047
|
padding-bottom: 1rem;
|
|
2083
2048
|
}
|
|
@@ -2123,15 +2088,15 @@ video {
|
|
|
2123
2088
|
.pt-2 {
|
|
2124
2089
|
padding-top: 0.5rem;
|
|
2125
2090
|
}
|
|
2126
|
-
.pt-24 {
|
|
2127
|
-
padding-top: 6rem;
|
|
2128
|
-
}
|
|
2129
2091
|
.pt-3 {
|
|
2130
2092
|
padding-top: 0.75rem;
|
|
2131
2093
|
}
|
|
2132
2094
|
.pt-4 {
|
|
2133
2095
|
padding-top: 1rem;
|
|
2134
2096
|
}
|
|
2097
|
+
.pt-6 {
|
|
2098
|
+
padding-top: 1.5rem;
|
|
2099
|
+
}
|
|
2135
2100
|
.text-left {
|
|
2136
2101
|
text-align: left;
|
|
2137
2102
|
}
|
|
@@ -2162,9 +2127,6 @@ video {
|
|
|
2162
2127
|
.text-\[11px\] {
|
|
2163
2128
|
font-size: 11px;
|
|
2164
2129
|
}
|
|
2165
|
-
.text-\[15px\] {
|
|
2166
|
-
font-size: 15px;
|
|
2167
|
-
}
|
|
2168
2130
|
.text-base {
|
|
2169
2131
|
font-size: 1rem;
|
|
2170
2132
|
line-height: 1.5rem;
|
|
@@ -2298,10 +2260,6 @@ video {
|
|
|
2298
2260
|
--tw-text-opacity: 1;
|
|
2299
2261
|
color: rgb(22 163 74 / var(--tw-text-opacity, 1));
|
|
2300
2262
|
}
|
|
2301
|
-
.text-green-700 {
|
|
2302
|
-
--tw-text-opacity: 1;
|
|
2303
|
-
color: rgb(21 128 61 / var(--tw-text-opacity, 1));
|
|
2304
|
-
}
|
|
2305
2263
|
.text-neutral-300 {
|
|
2306
2264
|
--tw-text-opacity: 1;
|
|
2307
2265
|
color: rgb(212 212 212 / var(--tw-text-opacity, 1));
|
|
@@ -2318,10 +2276,6 @@ video {
|
|
|
2318
2276
|
--tw-text-opacity: 1;
|
|
2319
2277
|
color: rgb(38 38 38 / var(--tw-text-opacity, 1));
|
|
2320
2278
|
}
|
|
2321
|
-
.text-orange-600 {
|
|
2322
|
-
--tw-text-opacity: 1;
|
|
2323
|
-
color: rgb(234 88 12 / var(--tw-text-opacity, 1));
|
|
2324
|
-
}
|
|
2325
2279
|
.text-red-500 {
|
|
2326
2280
|
--tw-text-opacity: 1;
|
|
2327
2281
|
color: rgb(239 68 68 / var(--tw-text-opacity, 1));
|
|
@@ -2330,10 +2284,6 @@ video {
|
|
|
2330
2284
|
--tw-text-opacity: 1;
|
|
2331
2285
|
color: rgb(220 38 38 / var(--tw-text-opacity, 1));
|
|
2332
2286
|
}
|
|
2333
|
-
.text-red-700 {
|
|
2334
|
-
--tw-text-opacity: 1;
|
|
2335
|
-
color: rgb(185 28 28 / var(--tw-text-opacity, 1));
|
|
2336
|
-
}
|
|
2337
2287
|
.text-sky-500 {
|
|
2338
2288
|
--tw-text-opacity: 1;
|
|
2339
2289
|
color: rgb(14 165 233 / var(--tw-text-opacity, 1));
|
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-C3FysfxH.js"></script>
|
|
70
|
+
<link rel="stylesheet" crossorigin href="/assets/index-sx17H-hC.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.14-beta.
|
|
3
|
+
"version": "3.0.14-beta.18",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
77
|
"repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "a71b54c772c1aa373cc6c78ea0e84443674baa79",
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@steedos-widgets/amis-object": "^6.10.53-beta.
|
|
80
|
+
"@steedos-widgets/amis-object": "^6.10.53-beta.14",
|
|
81
81
|
"autoprefixer": "^10.4.23"
|
|
82
82
|
}
|
|
83
83
|
}
|