@steedos/webapp 3.0.14-beta.15 → 3.0.14-beta.16
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-DK_dIajS.js";
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
for (var i = 0; i < m.length; i++) {
|
|
4
4
|
const e = m[i];
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -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));
|
|
@@ -1838,10 +1821,6 @@ video {
|
|
|
1838
1821
|
--tw-bg-opacity: 1;
|
|
1839
1822
|
background-color: rgb(115 115 115 / var(--tw-bg-opacity, 1));
|
|
1840
1823
|
}
|
|
1841
|
-
.bg-orange-100 {
|
|
1842
|
-
--tw-bg-opacity: 1;
|
|
1843
|
-
background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
|
|
1844
|
-
}
|
|
1845
1824
|
.bg-orange-500 {
|
|
1846
1825
|
--tw-bg-opacity: 1;
|
|
1847
1826
|
background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
|
|
@@ -1862,14 +1841,6 @@ video {
|
|
|
1862
1841
|
--tw-bg-opacity: 1;
|
|
1863
1842
|
background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
|
|
1864
1843
|
}
|
|
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
1844
|
.bg-red-500 {
|
|
1874
1845
|
--tw-bg-opacity: 1;
|
|
1875
1846
|
background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
|
|
@@ -2078,9 +2049,6 @@ video {
|
|
|
2078
2049
|
.pb-20 {
|
|
2079
2050
|
padding-bottom: 5rem;
|
|
2080
2051
|
}
|
|
2081
|
-
.pb-4 {
|
|
2082
|
-
padding-bottom: 1rem;
|
|
2083
|
-
}
|
|
2084
2052
|
.pb-5 {
|
|
2085
2053
|
padding-bottom: 1.25rem;
|
|
2086
2054
|
}
|
|
@@ -2162,9 +2130,6 @@ video {
|
|
|
2162
2130
|
.text-\[11px\] {
|
|
2163
2131
|
font-size: 11px;
|
|
2164
2132
|
}
|
|
2165
|
-
.text-\[15px\] {
|
|
2166
|
-
font-size: 15px;
|
|
2167
|
-
}
|
|
2168
2133
|
.text-base {
|
|
2169
2134
|
font-size: 1rem;
|
|
2170
2135
|
line-height: 1.5rem;
|
|
@@ -2298,10 +2263,6 @@ video {
|
|
|
2298
2263
|
--tw-text-opacity: 1;
|
|
2299
2264
|
color: rgb(22 163 74 / var(--tw-text-opacity, 1));
|
|
2300
2265
|
}
|
|
2301
|
-
.text-green-700 {
|
|
2302
|
-
--tw-text-opacity: 1;
|
|
2303
|
-
color: rgb(21 128 61 / var(--tw-text-opacity, 1));
|
|
2304
|
-
}
|
|
2305
2266
|
.text-neutral-300 {
|
|
2306
2267
|
--tw-text-opacity: 1;
|
|
2307
2268
|
color: rgb(212 212 212 / var(--tw-text-opacity, 1));
|
|
@@ -2318,10 +2279,6 @@ video {
|
|
|
2318
2279
|
--tw-text-opacity: 1;
|
|
2319
2280
|
color: rgb(38 38 38 / var(--tw-text-opacity, 1));
|
|
2320
2281
|
}
|
|
2321
|
-
.text-orange-600 {
|
|
2322
|
-
--tw-text-opacity: 1;
|
|
2323
|
-
color: rgb(234 88 12 / var(--tw-text-opacity, 1));
|
|
2324
|
-
}
|
|
2325
2282
|
.text-red-500 {
|
|
2326
2283
|
--tw-text-opacity: 1;
|
|
2327
2284
|
color: rgb(239 68 68 / var(--tw-text-opacity, 1));
|
|
@@ -2330,10 +2287,6 @@ video {
|
|
|
2330
2287
|
--tw-text-opacity: 1;
|
|
2331
2288
|
color: rgb(220 38 38 / var(--tw-text-opacity, 1));
|
|
2332
2289
|
}
|
|
2333
|
-
.text-red-700 {
|
|
2334
|
-
--tw-text-opacity: 1;
|
|
2335
|
-
color: rgb(185 28 28 / var(--tw-text-opacity, 1));
|
|
2336
|
-
}
|
|
2337
2290
|
.text-sky-500 {
|
|
2338
2291
|
--tw-text-opacity: 1;
|
|
2339
2292
|
color: rgb(14 165 233 / var(--tw-text-opacity, 1));
|
|
@@ -49555,7 +49555,8 @@ 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
|
-
|
|
49558
|
+
const noRedirect = new URLSearchParams(this.props.location.search).get("default");
|
|
49559
|
+
if (this.props.tenant.page_login && !noRedirect) {
|
|
49559
49560
|
return window.location.href = this.props.tenant.page_login;
|
|
49560
49561
|
}
|
|
49561
49562
|
let inApp = false;
|
|
@@ -51891,6 +51892,19 @@ const on_click_script = `
|
|
|
51891
51892
|
console.error(e.message + "\\r\\n" + e.stack);
|
|
51892
51893
|
}
|
|
51893
51894
|
`;
|
|
51895
|
+
const navigateTo = (path2) => {
|
|
51896
|
+
if (!path2) return;
|
|
51897
|
+
if (path2.startsWith("/") || path2.startsWith(window.location.origin)) {
|
|
51898
|
+
try {
|
|
51899
|
+
const url2 = new URL(path2, window.location.origin);
|
|
51900
|
+
window.navigate(url2.pathname + url2.search + url2.hash);
|
|
51901
|
+
} catch {
|
|
51902
|
+
window.navigate(path2);
|
|
51903
|
+
}
|
|
51904
|
+
} else {
|
|
51905
|
+
window.location.href = path2;
|
|
51906
|
+
}
|
|
51907
|
+
};
|
|
51894
51908
|
const pcInitJumtoFirstAppFirstTabScript = (payload, response, api2, context) => {
|
|
51895
51909
|
const resolvePathTemplate = (path2, data2) => {
|
|
51896
51910
|
if (!path2 || path2.indexOf("${") < 0) {
|
|
@@ -51915,16 +51929,16 @@ const pcInitJumtoFirstAppFirstTabScript = (payload, response, api2, context) =>
|
|
|
51915
51929
|
let firstApp = app_items[0];
|
|
51916
51930
|
if (firstApp && firstApp.default_tab) {
|
|
51917
51931
|
if (typeof firstApp.default_tab === "object" && firstApp.default_tab.path) {
|
|
51918
|
-
|
|
51932
|
+
navigateTo(resolvePathTemplate(firstApp.default_tab.path, firstApp.default_tab));
|
|
51919
51933
|
} else {
|
|
51920
|
-
|
|
51934
|
+
navigateTo(`/app/${firstApp.id}/${firstApp.default_tab}`);
|
|
51921
51935
|
}
|
|
51922
51936
|
return payload;
|
|
51923
51937
|
}
|
|
51924
51938
|
if (firstApp && firstApp.children && firstApp.children.length > 0) {
|
|
51925
51939
|
let firstTab = firstApp.children[0];
|
|
51926
51940
|
if (firstTab) {
|
|
51927
|
-
|
|
51941
|
+
navigateTo(resolvePathTemplate(firstTab.path, firstTab));
|
|
51928
51942
|
}
|
|
51929
51943
|
}
|
|
51930
51944
|
}
|
|
@@ -81587,7 +81601,7 @@ if (typeof ActiveXObject === "function") {
|
|
|
81587
81601
|
if (typeof fetchApi !== "function") fetchApi = void 0;
|
|
81588
81602
|
if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
|
|
81589
81603
|
try {
|
|
81590
|
-
__vitePreload(() => import("./browser-ponyfill-
|
|
81604
|
+
__vitePreload(() => import("./browser-ponyfill-CZdhPqEb.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
|
|
81591
81605
|
fetchApi = mod.default;
|
|
81592
81606
|
}).catch(function() {
|
|
81593
81607
|
});
|
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-DK_dIajS.js"></script>
|
|
70
|
+
<link rel="stylesheet" crossorigin href="/assets/index-B-61t_gw.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.16",
|
|
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": "15bc7fc1744259797fe767bbf93b0853069ee84a",
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@steedos-widgets/amis-object": "^6.10.53-beta.
|
|
80
|
+
"@steedos-widgets/amis-object": "^6.10.53-beta.11",
|
|
81
81
|
"autoprefixer": "^10.4.23"
|
|
82
82
|
}
|
|
83
83
|
}
|