@steedos/webapp 3.0.14-beta.2 → 3.0.14-beta.20

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-BwvMWDgU.js";
1
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-D-MR1qT9.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -949,9 +949,6 @@ video {
949
949
  .prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
950
950
  margin-bottom: 0;
951
951
  }
952
- .pointer-events-none {
953
- pointer-events: none;
954
- }
955
952
  .visible {
956
953
  visibility: visible;
957
954
  }
@@ -986,9 +983,6 @@ video {
986
983
  left: 0px;
987
984
  right: 0px;
988
985
  }
989
- .-bottom-32 {
990
- bottom: -8rem;
991
- }
992
986
  .bottom-0 {
993
987
  bottom: 0px;
994
988
  }
@@ -998,9 +992,6 @@ video {
998
992
  .left-0 {
999
993
  left: 0px;
1000
994
  }
1001
- .left-20 {
1002
- left: 5rem;
1003
- }
1004
995
  .right-0 {
1005
996
  right: 0px;
1006
997
  }
@@ -1143,6 +1134,9 @@ video {
1143
1134
  .mr-0 {
1144
1135
  margin-right: 0px;
1145
1136
  }
1137
+ .mr-0\.5 {
1138
+ margin-right: 0.125rem;
1139
+ }
1146
1140
  .mr-1 {
1147
1141
  margin-right: 0.25rem;
1148
1142
  }
@@ -1161,9 +1155,6 @@ video {
1161
1155
  .mt-1 {
1162
1156
  margin-top: 0.25rem;
1163
1157
  }
1164
- .mt-1\.5 {
1165
- margin-top: 0.375rem;
1166
- }
1167
1158
  .mt-2 {
1168
1159
  margin-top: 0.5rem;
1169
1160
  }
@@ -1185,11 +1176,11 @@ video {
1185
1176
  .mt-auto {
1186
1177
  margin-top: auto;
1187
1178
  }
1188
- .line-clamp-1 {
1179
+ .line-clamp-2 {
1189
1180
  overflow: hidden;
1190
1181
  display: -webkit-box;
1191
1182
  -webkit-box-orient: vertical;
1192
- -webkit-line-clamp: 1;
1183
+ -webkit-line-clamp: 2;
1193
1184
  }
1194
1185
  .line-clamp-3 {
1195
1186
  overflow: hidden;
@@ -1230,15 +1221,9 @@ video {
1230
1221
  .\!h-10 {
1231
1222
  height: 2.5rem !important;
1232
1223
  }
1233
- .h-1\/2 {
1234
- height: 50%;
1235
- }
1236
1224
  .h-10 {
1237
1225
  height: 2.5rem;
1238
1226
  }
1239
- .h-11 {
1240
- height: 2.75rem;
1241
- }
1242
1227
  .h-12 {
1243
1228
  height: 3rem;
1244
1229
  }
@@ -1248,12 +1233,6 @@ video {
1248
1233
  .h-16 {
1249
1234
  height: 4rem;
1250
1235
  }
1251
- .h-20 {
1252
- height: 5rem;
1253
- }
1254
- .h-3 {
1255
- height: 0.75rem;
1256
- }
1257
1236
  .h-3\.5 {
1258
1237
  height: 0.875rem;
1259
1238
  }
@@ -1284,9 +1263,6 @@ video {
1284
1263
  .h-\[260px\] {
1285
1264
  height: 260px;
1286
1265
  }
1287
- .h-\[500px\] {
1288
- height: 500px;
1289
- }
1290
1266
  .h-\[64px\] {
1291
1267
  height: 64px;
1292
1268
  }
@@ -1305,6 +1281,9 @@ video {
1305
1281
  .max-h-full {
1306
1282
  max-height: 100%;
1307
1283
  }
1284
+ .min-h-0 {
1285
+ min-height: 0px;
1286
+ }
1308
1287
  .min-h-8 {
1309
1288
  min-height: 2rem;
1310
1289
  }
@@ -1323,9 +1302,6 @@ video {
1323
1302
  .w-10 {
1324
1303
  width: 2.5rem;
1325
1304
  }
1326
- .w-11 {
1327
- width: 2.75rem;
1328
- }
1329
1305
  .w-12 {
1330
1306
  width: 3rem;
1331
1307
  }
@@ -1335,12 +1311,6 @@ video {
1335
1311
  .w-16 {
1336
1312
  width: 4rem;
1337
1313
  }
1338
- .w-20 {
1339
- width: 5rem;
1340
- }
1341
- .w-3 {
1342
- width: 0.75rem;
1343
- }
1344
1314
  .w-3\.5 {
1345
1315
  width: 0.875rem;
1346
1316
  }
@@ -1380,9 +1350,6 @@ video {
1380
1350
  .w-\[24rem\] {
1381
1351
  width: 24rem;
1382
1352
  }
1383
- .w-\[500px\] {
1384
- width: 500px;
1385
- }
1386
1353
  .w-auto {
1387
1354
  width: auto;
1388
1355
  }
@@ -1413,8 +1380,8 @@ video {
1413
1380
  .min-w-\[460px\] {
1414
1381
  min-width: 460px;
1415
1382
  }
1416
- .max-w-6xl {
1417
- max-width: 72rem;
1383
+ .max-w-4xl {
1384
+ max-width: 56rem;
1418
1385
  }
1419
1386
  .max-w-7xl {
1420
1387
  max-width: 80rem;
@@ -1458,6 +1425,9 @@ video {
1458
1425
  .grow {
1459
1426
  flex-grow: 1;
1460
1427
  }
1428
+ .table-fixed {
1429
+ table-layout: fixed;
1430
+ }
1461
1431
  .border-collapse {
1462
1432
  border-collapse: collapse;
1463
1433
  }
@@ -1480,6 +1450,9 @@ video {
1480
1450
  .animate-spin {
1481
1451
  animation: spin 1s linear infinite;
1482
1452
  }
1453
+ .cursor-default {
1454
+ cursor: default;
1455
+ }
1483
1456
  .cursor-not-allowed {
1484
1457
  cursor: not-allowed;
1485
1458
  }
@@ -1559,12 +1532,16 @@ video {
1559
1532
  .gap-6 {
1560
1533
  gap: 1.5rem;
1561
1534
  }
1535
+ .gap-x-5 {
1536
+ -moz-column-gap: 1.25rem;
1537
+ column-gap: 1.25rem;
1538
+ }
1562
1539
  .gap-x-6 {
1563
1540
  -moz-column-gap: 1.5rem;
1564
1541
  column-gap: 1.5rem;
1565
1542
  }
1566
- .gap-y-10 {
1567
- row-gap: 2.5rem;
1543
+ .gap-y-6 {
1544
+ row-gap: 1.5rem;
1568
1545
  }
1569
1546
  .space-x-1 > :not([hidden]) ~ :not([hidden]) {
1570
1547
  --tw-space-x-reverse: 0;
@@ -1626,6 +1603,9 @@ video {
1626
1603
  .whitespace-nowrap {
1627
1604
  white-space: nowrap;
1628
1605
  }
1606
+ .whitespace-pre-wrap {
1607
+ white-space: pre-wrap;
1608
+ }
1629
1609
  .break-words {
1630
1610
  overflow-wrap: break-word;
1631
1611
  }
@@ -1638,9 +1618,6 @@ video {
1638
1618
  .rounded-2xl {
1639
1619
  border-radius: 1rem;
1640
1620
  }
1641
- .rounded-\[1\.6rem\] {
1642
- border-radius: 1.6rem;
1643
- }
1644
1621
  .rounded-full {
1645
1622
  border-radius: 9999px;
1646
1623
  }
@@ -1663,10 +1640,6 @@ video {
1663
1640
  border-bottom-right-radius: 0.375rem;
1664
1641
  border-bottom-left-radius: 0.375rem;
1665
1642
  }
1666
- .rounded-t-\[1\.6rem\] {
1667
- border-top-left-radius: 1.6rem;
1668
- border-top-right-radius: 1.6rem;
1669
- }
1670
1643
  .rounded-t-md {
1671
1644
  border-top-left-radius: 0.375rem;
1672
1645
  border-top-right-radius: 0.375rem;
@@ -1726,10 +1699,6 @@ video {
1726
1699
  --tw-border-opacity: 1;
1727
1700
  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));
1728
1701
  }
1729
- .border-blue-200 {
1730
- --tw-border-opacity: 1;
1731
- border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
1732
- }
1733
1702
  .border-blue-400 {
1734
1703
  --tw-border-opacity: 1;
1735
1704
  border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
@@ -1762,17 +1731,9 @@ video {
1762
1731
  --tw-border-opacity: 1;
1763
1732
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
1764
1733
  }
1765
- .border-green-200 {
1766
- --tw-border-opacity: 1;
1767
- border-color: rgb(187 247 208 / var(--tw-border-opacity, 1));
1768
- }
1769
- .border-orange-200 {
1770
- --tw-border-opacity: 1;
1771
- border-color: rgb(254 215 170 / var(--tw-border-opacity, 1));
1772
- }
1773
- .border-red-200 {
1734
+ .border-neutral-300 {
1774
1735
  --tw-border-opacity: 1;
1775
- border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
1736
+ border-color: rgb(212 212 212 / var(--tw-border-opacity, 1));
1776
1737
  }
1777
1738
  .border-red-500 {
1778
1739
  --tw-border-opacity: 1;
@@ -1782,10 +1743,6 @@ video {
1782
1743
  --tw-border-opacity: 1;
1783
1744
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
1784
1745
  }
1785
- .border-slate-300 {
1786
- --tw-border-opacity: 1;
1787
- border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
1788
- }
1789
1746
  .border-slate-50 {
1790
1747
  --tw-border-opacity: 1;
1791
1748
  border-color: rgb(248 250 252 / var(--tw-border-opacity, 1));
@@ -1796,17 +1753,14 @@ video {
1796
1753
  .\!bg-transparent {
1797
1754
  background-color: transparent !important;
1798
1755
  }
1799
- .bg-\[\#F5F7FA\] {
1756
+ .bg-amber-500 {
1800
1757
  --tw-bg-opacity: 1;
1801
- background-color: rgb(245 247 250 / var(--tw-bg-opacity, 1));
1758
+ background-color: rgb(245 158 11 / var(--tw-bg-opacity, 1));
1802
1759
  }
1803
1760
  .bg-blue-100 {
1804
1761
  --tw-bg-opacity: 1;
1805
1762
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
1806
1763
  }
1807
- .bg-blue-300\/30 {
1808
- background-color: rgb(147 197 253 / 0.3);
1809
- }
1810
1764
  .bg-blue-50 {
1811
1765
  --tw-bg-opacity: 1;
1812
1766
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
@@ -1819,10 +1773,18 @@ video {
1819
1773
  --tw-bg-opacity: 1;
1820
1774
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
1821
1775
  }
1776
+ .bg-cyan-500 {
1777
+ --tw-bg-opacity: 1;
1778
+ background-color: rgb(6 182 212 / var(--tw-bg-opacity, 1));
1779
+ }
1822
1780
  .bg-cyan-600 {
1823
1781
  --tw-bg-opacity: 1;
1824
1782
  background-color: rgb(8 145 178 / var(--tw-bg-opacity, 1));
1825
1783
  }
1784
+ .bg-emerald-500 {
1785
+ --tw-bg-opacity: 1;
1786
+ background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
1787
+ }
1826
1788
  .bg-gray-100 {
1827
1789
  --tw-bg-opacity: 1;
1828
1790
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
@@ -1843,10 +1805,6 @@ video {
1843
1805
  --tw-bg-opacity: 1;
1844
1806
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
1845
1807
  }
1846
- .bg-green-100 {
1847
- --tw-bg-opacity: 1;
1848
- background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
1849
- }
1850
1808
  .bg-green-500 {
1851
1809
  --tw-bg-opacity: 1;
1852
1810
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
@@ -1855,40 +1813,42 @@ video {
1855
1813
  --tw-bg-opacity: 1;
1856
1814
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
1857
1815
  }
1858
- .bg-orange-100 {
1816
+ .bg-neutral-500 {
1817
+ --tw-bg-opacity: 1;
1818
+ background-color: rgb(115 115 115 / var(--tw-bg-opacity, 1));
1819
+ }
1820
+ .bg-orange-500 {
1859
1821
  --tw-bg-opacity: 1;
1860
- background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
1822
+ background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
1861
1823
  }
1862
1824
  .bg-orange-600 {
1863
1825
  --tw-bg-opacity: 1;
1864
1826
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
1865
1827
  }
1866
- .bg-pink-300\/30 {
1867
- background-color: rgb(249 168 212 / 0.3);
1828
+ .bg-pink-500 {
1829
+ --tw-bg-opacity: 1;
1830
+ background-color: rgb(236 72 153 / var(--tw-bg-opacity, 1));
1868
1831
  }
1869
1832
  .bg-pink-600 {
1870
1833
  --tw-bg-opacity: 1;
1871
1834
  background-color: rgb(219 39 119 / var(--tw-bg-opacity, 1));
1872
1835
  }
1873
- .bg-purple-300\/30 {
1874
- background-color: rgb(216 180 254 / 0.3);
1875
- }
1876
1836
  .bg-purple-600 {
1877
1837
  --tw-bg-opacity: 1;
1878
1838
  background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
1879
1839
  }
1880
- .bg-red-100 {
1840
+ .bg-red-500 {
1881
1841
  --tw-bg-opacity: 1;
1882
- background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
1883
- }
1884
- .bg-red-50 {
1885
- --tw-bg-opacity: 1;
1886
- background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
1842
+ background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
1887
1843
  }
1888
1844
  .bg-red-600 {
1889
1845
  --tw-bg-opacity: 1;
1890
1846
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
1891
1847
  }
1848
+ .bg-sky-500 {
1849
+ --tw-bg-opacity: 1;
1850
+ background-color: rgb(14 165 233 / var(--tw-bg-opacity, 1));
1851
+ }
1892
1852
  .bg-sky-600 {
1893
1853
  --tw-bg-opacity: 1;
1894
1854
  background-color: rgb(2 132 199 / var(--tw-bg-opacity, 1));
@@ -1905,27 +1865,26 @@ video {
1905
1865
  --tw-bg-opacity: 1;
1906
1866
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
1907
1867
  }
1868
+ .bg-teal-500 {
1869
+ --tw-bg-opacity: 1;
1870
+ background-color: rgb(20 184 166 / var(--tw-bg-opacity, 1));
1871
+ }
1908
1872
  .bg-teal-600 {
1909
1873
  --tw-bg-opacity: 1;
1910
1874
  background-color: rgb(13 148 136 / var(--tw-bg-opacity, 1));
1911
1875
  }
1876
+ .bg-violet-500 {
1877
+ --tw-bg-opacity: 1;
1878
+ background-color: rgb(139 92 246 / var(--tw-bg-opacity, 1));
1879
+ }
1912
1880
  .bg-white {
1913
1881
  --tw-bg-opacity: 1;
1914
1882
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
1915
1883
  }
1916
- .bg-white\/50 {
1917
- background-color: rgb(255 255 255 / 0.5);
1918
- }
1919
1884
  .bg-yellow-600 {
1920
1885
  --tw-bg-opacity: 1;
1921
1886
  background-color: rgb(202 138 4 / var(--tw-bg-opacity, 1));
1922
1887
  }
1923
- .bg-gradient-to-b {
1924
- background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
1925
- }
1926
- .bg-gradient-to-br {
1927
- background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
1928
- }
1929
1888
  .bg-gradient-to-r {
1930
1889
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
1931
1890
  }
@@ -1935,107 +1894,23 @@ video {
1935
1894
  .bg-none {
1936
1895
  background-image: none;
1937
1896
  }
1938
- .from-amber-400 {
1939
- --tw-gradient-from: #fbbf24 var(--tw-gradient-from-position);
1940
- --tw-gradient-to: rgb(251 191 36 / 0) var(--tw-gradient-to-position);
1941
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1942
- }
1943
- .from-blue-400 {
1944
- --tw-gradient-from: #60a5fa var(--tw-gradient-from-position);
1945
- --tw-gradient-to: rgb(96 165 250 / 0) var(--tw-gradient-to-position);
1946
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1947
- }
1948
1897
  .from-blue-600 {
1949
1898
  --tw-gradient-from: #2563eb var(--tw-gradient-from-position);
1950
1899
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
1951
1900
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1952
1901
  }
1953
- .from-cyan-400 {
1954
- --tw-gradient-from: #22d3ee var(--tw-gradient-from-position);
1955
- --tw-gradient-to: rgb(34 211 238 / 0) var(--tw-gradient-to-position);
1956
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1957
- }
1958
- .from-green-400 {
1959
- --tw-gradient-from: #4ade80 var(--tw-gradient-from-position);
1960
- --tw-gradient-to: rgb(74 222 128 / 0) var(--tw-gradient-to-position);
1961
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1962
- }
1963
- .from-orange-400 {
1964
- --tw-gradient-from: #fb923c var(--tw-gradient-from-position);
1965
- --tw-gradient-to: rgb(251 146 60 / 0) var(--tw-gradient-to-position);
1966
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1967
- }
1968
- .from-pink-400 {
1969
- --tw-gradient-from: #f472b6 var(--tw-gradient-from-position);
1970
- --tw-gradient-to: rgb(244 114 182 / 0) var(--tw-gradient-to-position);
1971
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1972
- }
1973
- .from-red-400 {
1974
- --tw-gradient-from: #f87171 var(--tw-gradient-from-position);
1975
- --tw-gradient-to: rgb(248 113 113 / 0) var(--tw-gradient-to-position);
1976
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1977
- }
1978
- .from-sky-400 {
1979
- --tw-gradient-from: #38bdf8 var(--tw-gradient-from-position);
1980
- --tw-gradient-to: rgb(56 189 248 / 0) var(--tw-gradient-to-position);
1981
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1982
- }
1983
- .from-slate-500 {
1984
- --tw-gradient-from: #64748b var(--tw-gradient-from-position);
1985
- --tw-gradient-to: rgb(100 116 139 / 0) var(--tw-gradient-to-position);
1986
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1987
- }
1988
- .from-teal-400 {
1989
- --tw-gradient-from: #2dd4bf var(--tw-gradient-from-position);
1990
- --tw-gradient-to: rgb(45 212 191 / 0) var(--tw-gradient-to-position);
1991
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1992
- }
1993
- .from-violet-400 {
1994
- --tw-gradient-from: #a78bfa var(--tw-gradient-from-position);
1995
- --tw-gradient-to: rgb(167 139 250 / 0) var(--tw-gradient-to-position);
1996
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
1997
- }
1998
1902
  .from-white {
1999
1903
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
2000
1904
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
2001
1905
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2002
1906
  }
2003
- .from-white\/20 {
2004
- --tw-gradient-from: rgb(255 255 255 / 0.2) var(--tw-gradient-from-position);
2005
- --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
2006
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
2007
- }
2008
1907
  .via-white\/95 {
2009
1908
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
2010
1909
  --tw-gradient-stops: var(--tw-gradient-from), rgb(255 255 255 / 0.95) var(--tw-gradient-via-position), var(--tw-gradient-to);
2011
1910
  }
2012
- .to-blue-500 {
2013
- --tw-gradient-to: #3b82f6 var(--tw-gradient-to-position);
2014
- }
2015
- .to-emerald-600 {
2016
- --tw-gradient-to: #059669 var(--tw-gradient-to-position);
2017
- }
2018
1911
  .to-indigo-600 {
2019
1912
  --tw-gradient-to: #4f46e5 var(--tw-gradient-to-position);
2020
1913
  }
2021
- .to-orange-500 {
2022
- --tw-gradient-to: #f97316 var(--tw-gradient-to-position);
2023
- }
2024
- .to-purple-600 {
2025
- --tw-gradient-to: #9333ea var(--tw-gradient-to-position);
2026
- }
2027
- .to-red-500 {
2028
- --tw-gradient-to: #ef4444 var(--tw-gradient-to-position);
2029
- }
2030
- .to-rose-600 {
2031
- --tw-gradient-to: #e11d48 var(--tw-gradient-to-position);
2032
- }
2033
- .to-slate-700 {
2034
- --tw-gradient-to: #334155 var(--tw-gradient-to-position);
2035
- }
2036
- .to-teal-600 {
2037
- --tw-gradient-to: #0d9488 var(--tw-gradient-to-position);
2038
- }
2039
1914
  .to-transparent {
2040
1915
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
2041
1916
  }
@@ -2111,6 +1986,10 @@ video {
2111
1986
  padding-left: 1.5rem;
2112
1987
  padding-right: 1.5rem;
2113
1988
  }
1989
+ .px-8 {
1990
+ padding-left: 2rem;
1991
+ padding-right: 2rem;
1992
+ }
2114
1993
  .py-0 {
2115
1994
  padding-top: 0px;
2116
1995
  padding-bottom: 0px;
@@ -2158,18 +2037,12 @@ video {
2158
2037
  .pb-0 {
2159
2038
  padding-bottom: 0px;
2160
2039
  }
2161
- .pb-10 {
2162
- padding-bottom: 2.5rem;
2163
- }
2164
2040
  .pb-16 {
2165
2041
  padding-bottom: 4rem;
2166
2042
  }
2167
2043
  .pb-2 {
2168
2044
  padding-bottom: 0.5rem;
2169
2045
  }
2170
- .pb-20 {
2171
- padding-bottom: 5rem;
2172
- }
2173
2046
  .pb-4 {
2174
2047
  padding-bottom: 1rem;
2175
2048
  }
@@ -2218,12 +2091,12 @@ video {
2218
2091
  .pt-3 {
2219
2092
  padding-top: 0.75rem;
2220
2093
  }
2221
- .pt-32 {
2222
- padding-top: 8rem;
2223
- }
2224
2094
  .pt-4 {
2225
2095
  padding-top: 1rem;
2226
2096
  }
2097
+ .pt-6 {
2098
+ padding-top: 1.5rem;
2099
+ }
2227
2100
  .text-left {
2228
2101
  text-align: left;
2229
2102
  }
@@ -2233,9 +2106,6 @@ video {
2233
2106
  .align-middle {
2234
2107
  vertical-align: middle;
2235
2108
  }
2236
- .font-\[SimSun\] {
2237
- font-family: SimSun;
2238
- }
2239
2109
  .font-mono {
2240
2110
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
2241
2111
  }
@@ -2257,9 +2127,6 @@ video {
2257
2127
  .text-\[11px\] {
2258
2128
  font-size: 11px;
2259
2129
  }
2260
- .text-\[15px\] {
2261
- font-size: 15px;
2262
- }
2263
2130
  .text-base {
2264
2131
  font-size: 1rem;
2265
2132
  line-height: 1.5rem;
@@ -2393,13 +2260,21 @@ video {
2393
2260
  --tw-text-opacity: 1;
2394
2261
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
2395
2262
  }
2396
- .text-green-700 {
2263
+ .text-neutral-300 {
2264
+ --tw-text-opacity: 1;
2265
+ color: rgb(212 212 212 / var(--tw-text-opacity, 1));
2266
+ }
2267
+ .text-neutral-400 {
2397
2268
  --tw-text-opacity: 1;
2398
- color: rgb(21 128 61 / var(--tw-text-opacity, 1));
2269
+ color: rgb(163 163 163 / var(--tw-text-opacity, 1));
2399
2270
  }
2400
- .text-orange-600 {
2271
+ .text-neutral-500 {
2401
2272
  --tw-text-opacity: 1;
2402
- color: rgb(234 88 12 / var(--tw-text-opacity, 1));
2273
+ color: rgb(115 115 115 / var(--tw-text-opacity, 1));
2274
+ }
2275
+ .text-neutral-800 {
2276
+ --tw-text-opacity: 1;
2277
+ color: rgb(38 38 38 / var(--tw-text-opacity, 1));
2403
2278
  }
2404
2279
  .text-red-500 {
2405
2280
  --tw-text-opacity: 1;
@@ -2409,10 +2284,6 @@ video {
2409
2284
  --tw-text-opacity: 1;
2410
2285
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
2411
2286
  }
2412
- .text-red-700 {
2413
- --tw-text-opacity: 1;
2414
- color: rgb(185 28 28 / var(--tw-text-opacity, 1));
2415
- }
2416
2287
  .text-sky-500 {
2417
2288
  --tw-text-opacity: 1;
2418
2289
  color: rgb(14 165 233 / var(--tw-text-opacity, 1));
@@ -2480,8 +2351,8 @@ video {
2480
2351
  .opacity-50 {
2481
2352
  opacity: 0.5;
2482
2353
  }
2483
- .opacity-70 {
2484
- opacity: 0.7;
2354
+ .opacity-60 {
2355
+ opacity: 0.6;
2485
2356
  }
2486
2357
  .opacity-75 {
2487
2358
  opacity: 0.75;
@@ -2489,9 +2360,6 @@ video {
2489
2360
  .opacity-90 {
2490
2361
  opacity: 0.9;
2491
2362
  }
2492
- .mix-blend-multiply {
2493
- mix-blend-mode: multiply;
2494
- }
2495
2363
  .shadow {
2496
2364
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
2497
2365
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -2522,14 +2390,6 @@ video {
2522
2390
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
2523
2391
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2524
2392
  }
2525
- .shadow-amber-500\/20 {
2526
- --tw-shadow-color: rgb(245 158 11 / 0.2);
2527
- --tw-shadow: var(--tw-shadow-colored);
2528
- }
2529
- .shadow-blue-500\/20 {
2530
- --tw-shadow-color: rgb(59 130 246 / 0.2);
2531
- --tw-shadow: var(--tw-shadow-colored);
2532
- }
2533
2393
  .shadow-blue-500\/30 {
2534
2394
  --tw-shadow-color: rgb(59 130 246 / 0.3);
2535
2395
  --tw-shadow: var(--tw-shadow-colored);
@@ -2538,42 +2398,6 @@ video {
2538
2398
  --tw-shadow-color: rgb(30 58 138 / 0.1);
2539
2399
  --tw-shadow: var(--tw-shadow-colored);
2540
2400
  }
2541
- .shadow-cyan-500\/20 {
2542
- --tw-shadow-color: rgb(6 182 212 / 0.2);
2543
- --tw-shadow: var(--tw-shadow-colored);
2544
- }
2545
- .shadow-green-500\/20 {
2546
- --tw-shadow-color: rgb(34 197 94 / 0.2);
2547
- --tw-shadow: var(--tw-shadow-colored);
2548
- }
2549
- .shadow-orange-500\/20 {
2550
- --tw-shadow-color: rgb(249 115 22 / 0.2);
2551
- --tw-shadow: var(--tw-shadow-colored);
2552
- }
2553
- .shadow-pink-500\/20 {
2554
- --tw-shadow-color: rgb(236 72 153 / 0.2);
2555
- --tw-shadow: var(--tw-shadow-colored);
2556
- }
2557
- .shadow-red-500\/20 {
2558
- --tw-shadow-color: rgb(239 68 68 / 0.2);
2559
- --tw-shadow: var(--tw-shadow-colored);
2560
- }
2561
- .shadow-sky-500\/20 {
2562
- --tw-shadow-color: rgb(14 165 233 / 0.2);
2563
- --tw-shadow: var(--tw-shadow-colored);
2564
- }
2565
- .shadow-slate-500\/20 {
2566
- --tw-shadow-color: rgb(100 116 139 / 0.2);
2567
- --tw-shadow: var(--tw-shadow-colored);
2568
- }
2569
- .shadow-teal-500\/20 {
2570
- --tw-shadow-color: rgb(20 184 166 / 0.2);
2571
- --tw-shadow: var(--tw-shadow-colored);
2572
- }
2573
- .shadow-violet-500\/20 {
2574
- --tw-shadow-color: rgb(139 92 246 / 0.2);
2575
- --tw-shadow: var(--tw-shadow-colored);
2576
- }
2577
2401
  .blur {
2578
2402
  --tw-blur: blur(8px);
2579
2403
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
@@ -2582,14 +2406,6 @@ video {
2582
2406
  --tw-blur: blur(64px);
2583
2407
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2584
2408
  }
2585
- .blur-\[80px\] {
2586
- --tw-blur: blur(80px);
2587
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2588
- }
2589
- .drop-shadow-sm {
2590
- --tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
2591
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2592
- }
2593
2409
  .grayscale {
2594
2410
  --tw-grayscale: grayscale(100%);
2595
2411
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
@@ -2597,10 +2413,6 @@ video {
2597
2413
  .filter {
2598
2414
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
2599
2415
  }
2600
- .backdrop-blur-sm {
2601
- --tw-backdrop-blur: blur(4px);
2602
- backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
2603
- }
2604
2416
  .transition {
2605
2417
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
2606
2418
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -3065,9 +2877,9 @@ video {
3065
2877
  --tw-translate-y: 0px;
3066
2878
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
3067
2879
  }
3068
- .group:hover .group-hover\:text-slate-900 {
2880
+ .group:hover .group-hover\:text-neutral-800 {
3069
2881
  --tw-text-opacity: 1;
3070
- color: rgb(15 23 42 / var(--tw-text-opacity, 1));
2882
+ color: rgb(38 38 38 / var(--tw-text-opacity, 1));
3071
2883
  }
3072
2884
  @media (min-width: 640px) {
3073
2885
 
@@ -3238,20 +3050,28 @@ video {
3238
3050
  display: block;
3239
3051
  }
3240
3052
 
3241
- .md\:h-14 {
3242
- height: 3.5rem;
3053
+ .md\:h-10 {
3054
+ height: 2.5rem;
3055
+ }
3056
+
3057
+ .md\:h-9 {
3058
+ height: 2.25rem;
3243
3059
  }
3244
3060
 
3245
- .md\:h-24 {
3246
- height: 6rem;
3061
+ .md\:h-\[72px\] {
3062
+ height: 72px;
3247
3063
  }
3248
3064
 
3249
- .md\:w-14 {
3250
- width: 3.5rem;
3065
+ .md\:w-10 {
3066
+ width: 2.5rem;
3251
3067
  }
3252
3068
 
3253
- .md\:w-24 {
3254
- width: 6rem;
3069
+ .md\:w-9 {
3070
+ width: 2.25rem;
3071
+ }
3072
+
3073
+ .md\:w-\[72px\] {
3074
+ width: 72px;
3255
3075
  }
3256
3076
 
3257
3077
  .md\:grid-cols-5 {
@@ -3262,6 +3082,10 @@ video {
3262
3082
  flex-direction: row;
3263
3083
  }
3264
3084
 
3085
+ .md\:p-0 {
3086
+ padding: 0px;
3087
+ }
3088
+
3265
3089
  .md\:p-10 {
3266
3090
  padding: 2.5rem;
3267
3091
  }
@@ -3271,9 +3095,9 @@ video {
3271
3095
  line-height: 2rem;
3272
3096
  }
3273
3097
 
3274
- .md\:text-sm {
3275
- font-size: 0.875rem;
3276
- line-height: 1.25rem;
3098
+ .md\:text-xs {
3099
+ font-size: 0.75rem;
3100
+ line-height: 1rem;
3277
3101
  }
3278
3102
  }
3279
3103
  @media (min-width: 1024px) {
@@ -3345,6 +3169,10 @@ video {
3345
3169
  .xl\:grid-cols-5 {
3346
3170
  grid-template-columns: repeat(5, minmax(0, 1fr));
3347
3171
  }
3172
+
3173
+ .xl\:grid-cols-8 {
3174
+ grid-template-columns: repeat(8, minmax(0, 1fr));
3175
+ }
3348
3176
  }
3349
3177
  @media (min-width: 1536px) {
3350
3178
 
@@ -40473,9 +40473,10 @@ class Card extends reactExports.Component {
40473
40473
  }
40474
40474
  render() {
40475
40475
  const { platform: platform2 = {} } = this.props.settings;
40476
+ const isOem = platform2.is_oem === true || platform2.is_oem === "true";
40476
40477
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex sm:items-center justify-center mx-auto overflow-auto md:p-10 h-full", children: [
40477
40478
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "relative rounded p-10 sm:shadow-md bg-white w-screen max-w-md steedos-auth-card", children: this.props.children }),
40478
- platform2.is_oem != true && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "absolute bottom-0 left-0 right-0 text-center pb-6 text-gray-400 text-xs tracking-wide", children: [
40479
+ !isOem && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "absolute bottom-0 left-0 right-0 text-center pb-6 text-gray-400 text-xs tracking-wide", children: [
40479
40480
  /* @__PURE__ */ jsxRuntimeExports.jsx(
40480
40481
  FormattedMessage,
40481
40482
  {
@@ -40488,6 +40489,7 @@ class Card extends reactExports.Component {
40488
40489
  "a",
40489
40490
  {
40490
40491
  className: "text-xs text-gray-400 hover:text-gray-600 hover:underline transition-colors duration-200",
40492
+ title: "privacy",
40491
40493
  href: "javascript:void(0)",
40492
40494
  onClick: this.openPrivacyPage,
40493
40495
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -40514,16 +40516,22 @@ function mapStateToProps$d(state) {
40514
40516
  };
40515
40517
  }
40516
40518
  const Card$1 = connect(mapStateToProps$d)(Card);
40517
- const Logo = ({ tenant, location: location2 }) => {
40519
+ const Logo = ({ tenant, settings: settings2 }) => {
40520
+ const platform2 = settings2?.platform || {};
40521
+ const isOem = platform2?.is_oem === true || platform2?.is_oem === "true";
40522
+ const tenantConfig = settings2?.tenant || {};
40518
40523
  let logoUrl = `${localizeMessage("accounts.logoURL")}`;
40519
- if (tenant.logo_url) {
40524
+ if (isOem && (tenant?.logo_url || tenantConfig?.logo_url)) {
40525
+ logoUrl = tenant?.logo_url || tenantConfig?.logo_url;
40526
+ } else if (tenant?.logo_url) {
40520
40527
  logoUrl = tenant.logo_url;
40521
40528
  }
40522
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: logoUrl, className: "h-10" }) });
40529
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: logoUrl, className: "h-10", alt: "logo" }) });
40523
40530
  };
40524
40531
  function mapStateToProps$c(state) {
40525
40532
  return {
40526
- tenant: getTenant(state)
40533
+ tenant: getTenant(state),
40534
+ settings: getSettings(state)
40527
40535
  };
40528
40536
  }
40529
40537
  const Logo$1 = connect(mapStateToProps$c)(Logo);
@@ -42401,6 +42409,17 @@ typeof window !== "undefined" ? createHashHistory() : null;
42401
42409
  function selectSpace(spaceId) {
42402
42410
  return async (dispatch2, getState) => {
42403
42411
  let selectedSpaceId = spaceId || LocalStorageStore.getItem("spaceId");
42412
+ if (!selectedSpaceId) {
42413
+ selectedSpaceId = getSettingsTenantId(getState());
42414
+ console.log(`selectedSpaceId`, selectedSpaceId);
42415
+ }
42416
+ if (!selectedSpaceId) {
42417
+ const spaces2 = getSpaces(getState());
42418
+ const spaceIds = Object.keys(spaces2);
42419
+ if (spaceIds.length === 1) {
42420
+ selectedSpaceId = spaceIds[0];
42421
+ }
42422
+ }
42404
42423
  if (!selectedSpaceId) {
42405
42424
  return { data: false };
42406
42425
  }
@@ -49072,7 +49091,9 @@ class Signup extends React$1.Component {
49072
49091
  this.mobileInput = React$1.createRef();
49073
49092
  this.passwordInput = React$1.createRef();
49074
49093
  window.browserHistory = this.props.history;
49075
- document.title = localizeMessage("accounts.signup") + ` | ${this.props.tenant.name}`;
49094
+ const isOem = this.props.settings?.platform?.is_oem === true || this.props.settings?.platform?.is_oem === "true";
49095
+ const brandName = isOem && this.props.settings?.platform?.licensed_to ? this.props.settings.platform.licensed_to : this.props.tenant.name;
49096
+ document.title = localizeMessage("accounts.signup") + ` | ${brandName}`;
49076
49097
  }
49077
49098
  createLoginPlaceholder = () => {
49078
49099
  let inputLabel = "";
@@ -49534,8 +49555,12 @@ const ReApplyCodeBtn$2 = ({ onClick, id: id2, loginId, disabled }) => {
49534
49555
  class Login extends React$1.Component {
49535
49556
  constructor(props, context) {
49536
49557
  super(props, context);
49537
- if (this.props.tenant.page_login) {
49538
- return window.location.href = this.props.tenant.page_login;
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;
49539
49564
  }
49540
49565
  let inApp = false;
49541
49566
  let email2 = "";
@@ -49584,7 +49609,9 @@ class Login extends React$1.Component {
49584
49609
  this.mobileInput = React$1.createRef();
49585
49610
  this.passwordInput = React$1.createRef();
49586
49611
  window.browserHistory = this.props.history;
49587
- document.title = localizeMessage("accounts.signin") + ` | ${this.props.tenant.name}`;
49612
+ const isOem = this.props.settings?.platform?.is_oem === true || this.props.settings?.platform?.is_oem === "true";
49613
+ const brandName = isOem && this.props.settings?.platform?.licensed_to ? this.props.settings.platform.licensed_to : this.props.tenant.name;
49614
+ document.title = localizeMessage("accounts.signin") + ` | ${brandName}`;
49588
49615
  }
49589
49616
  createLoginPlaceholder = () => {
49590
49617
  let inputLabel = "";
@@ -49831,8 +49858,28 @@ class Login extends React$1.Component {
49831
49858
  };
49832
49859
  componentDidMount() {
49833
49860
  this.initGeetest();
49861
+ const platform2 = this.props.settings?.platform || {};
49862
+ const tenant = this.props.tenant || {};
49863
+ const isOem = platform2.is_oem === true || platform2.is_oem === "true";
49864
+ const faviconUrl = tenant.favicon_url || this.props.settings?.tenant?.favicon_url;
49865
+ if (isOem && faviconUrl) {
49866
+ const faviconLink = document.querySelector('link[rel*="icon"], link[rel*="shortcut"]');
49867
+ if (faviconLink) {
49868
+ if (faviconLink.href !== faviconUrl) {
49869
+ faviconLink.href = faviconUrl;
49870
+ }
49871
+ } else {
49872
+ const newFaviconLink = document.createElement("link");
49873
+ newFaviconLink.rel = "icon";
49874
+ newFaviconLink.href = faviconUrl;
49875
+ document.head.appendChild(newFaviconLink);
49876
+ }
49877
+ }
49834
49878
  }
49835
49879
  render() {
49880
+ if (this._redirecting) {
49881
+ return null;
49882
+ }
49836
49883
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
49837
49884
  /* @__PURE__ */ jsxRuntimeExports.jsx(Background$1, {}),
49838
49885
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Card$1, { children: [
@@ -50022,10 +50069,18 @@ const Logout = (props) => {
50022
50069
  redirect_uri = tenant.page_logout;
50023
50070
  }
50024
50071
  logout2().then(() => {
50025
- navigate(redirect_uri);
50072
+ if (redirect_uri.startsWith("http://") || redirect_uri.startsWith("https://")) {
50073
+ window.location.href = redirect_uri;
50074
+ } else {
50075
+ navigate(redirect_uri);
50076
+ }
50026
50077
  }).catch((e) => {
50027
50078
  console.error(e);
50028
- navigate(redirect_uri);
50079
+ if (redirect_uri.startsWith("http://") || redirect_uri.startsWith("https://")) {
50080
+ window.location.href = redirect_uri;
50081
+ } else {
50082
+ navigate(redirect_uri);
50083
+ }
50029
50084
  });
50030
50085
  }, [logout2, navigate, location2.search, tenant.page_logout]);
50031
50086
  return null;
@@ -50057,7 +50112,9 @@ const Home = () => {
50057
50112
  const dispatch2 = useDispatch();
50058
50113
  const currentUser = useSelector(getCurrentUser);
50059
50114
  const currentSpace = useSelector(getCurrentSpace);
50060
- document.title = `Steedos`;
50115
+ const isOem = Builder.settings?.platform?.is_oem === true || Builder.settings?.platform?.is_oem === "true";
50116
+ const licensedTo = Builder.settings?.platform?.licensed_to;
50117
+ document.title = isOem && licensedTo ? licensedTo : `Steedos`;
50061
50118
  reactExports.useEffect(() => {
50062
50119
  if (!currentUser) {
50063
50120
  navigate("/login");
@@ -50095,7 +50152,9 @@ class UpdatePassword extends React$1.Component {
50095
50152
  loading: false
50096
50153
  };
50097
50154
  window.browserHistory = this.props.history;
50098
- document.title = localizeMessage("accounts.title.updatePassword") + ` | ${this.props.tenant.name}`;
50155
+ const isOem = this.props.settings?.platform?.is_oem === true || this.props.settings?.platform?.is_oem === "true";
50156
+ const brandName = isOem && this.props.settings?.platform?.licensed_to ? this.props.settings.platform.licensed_to : this.props.tenant.name;
50157
+ document.title = localizeMessage("accounts.title.updatePassword") + ` | ${brandName}`;
50099
50158
  }
50100
50159
  handleOldPasswordChange = (e) => {
50101
50160
  this.setState({
@@ -50970,7 +51029,9 @@ class VerifyEmail extends React$1.Component {
50970
51029
  loading: false
50971
51030
  };
50972
51031
  window.browserHistory = this.props.history;
50973
- document.title = localizeMessage(`accounts.verify_${verifyBy}`) + ` | ${this.props.tenant.name}`;
51032
+ const isOem = this.props.settings?.platform?.is_oem === true || this.props.settings?.platform?.is_oem === "true";
51033
+ const brandName = isOem && this.props.settings?.platform?.licensed_to ? this.props.settings.platform.licensed_to : this.props.tenant.name;
51034
+ document.title = localizeMessage(`accounts.verify_${verifyBy}`) + ` | ${brandName}`;
50974
51035
  }
50975
51036
  handleEmailChange = (e) => {
50976
51037
  this.setState({
@@ -51257,7 +51318,9 @@ class VerifyMobile extends React$1.Component {
51257
51318
  disabledSendVerificationstate: this.props.settings.tenant.enable_open_geetest || false
51258
51319
  };
51259
51320
  window.browserHistory = this.props.history;
51260
- document.title = localizeMessage(`accounts.verify_${verifyBy}`) + ` | ${this.props.tenant.name}`;
51321
+ const isOem = this.props.settings?.platform?.is_oem === true || this.props.settings?.platform?.is_oem === "true";
51322
+ const brandName = isOem && this.props.settings?.platform?.licensed_to ? this.props.settings.platform.licensed_to : this.props.tenant.name;
51323
+ document.title = localizeMessage(`accounts.verify_${verifyBy}`) + ` | ${brandName}`;
51261
51324
  }
51262
51325
  handleEmailChange = (e) => {
51263
51326
  this.setState({
@@ -51542,6 +51605,39 @@ const withRouter = (props) => {
51542
51605
  return /* @__PURE__ */ jsxRuntimeExports.jsx(VerifyMobile, { ...props, location: location2, navigate });
51543
51606
  };
51544
51607
  const VerifyMobile$1 = connect(mapStateToProps$2, mapDispatchToProps$2)(withRouter);
51608
+ function recordIfGridListUrl() {
51609
+ try {
51610
+ const pathname = window.location.pathname;
51611
+ if (/^\/app\/[^/]+\/[^/]+\/grid\/[^/]+/.test(pathname)) {
51612
+ sessionStorage.setItem("steedos_last_list_url", pathname + window.location.search);
51613
+ return;
51614
+ }
51615
+ const objMatch = pathname.match(/^\/app\/[^/]+\/[^/]+(\/(view|grid)\/([^/?#]+))?/);
51616
+ const isThreePaneList = objMatch && objMatch[2] === "view" && objMatch[3] === "none";
51617
+ const isOutsideObjectPage = !objMatch || !objMatch[1];
51618
+ if (isThreePaneList || isOutsideObjectPage) {
51619
+ sessionStorage.removeItem("steedos_last_list_url");
51620
+ }
51621
+ } catch (e) {
51622
+ }
51623
+ }
51624
+ if (typeof window !== "undefined" && !window.__steedosLastListUrlPatched) {
51625
+ window.__steedosLastListUrlPatched = true;
51626
+ const _push = history.pushState;
51627
+ const _replace = history.replaceState;
51628
+ history.pushState = function() {
51629
+ const r2 = _push.apply(this, arguments);
51630
+ recordIfGridListUrl();
51631
+ return r2;
51632
+ };
51633
+ history.replaceState = function() {
51634
+ const r2 = _replace.apply(this, arguments);
51635
+ recordIfGridListUrl();
51636
+ return r2;
51637
+ };
51638
+ window.addEventListener("popstate", recordIfGridListUrl);
51639
+ recordIfGridListUrl();
51640
+ }
51545
51641
  const normalizeLink = (to, location2 = window.location) => {
51546
51642
  to = to || "";
51547
51643
  if (to && to[0] === "#") {
@@ -51582,14 +51678,37 @@ const AmisRender = function({ schema = {}, data: data2 = {}, env: env2 = {} }) {
51582
51678
  if (window._appNavCount > 0) {
51583
51679
  window._appNavCount--;
51584
51680
  navigate(-1);
51585
- } else {
51586
- const pathname = window.location.pathname;
51587
- const match2 = pathname.match(/^(\/app\/[^/]+\/[^/]+)(\/view\/.*)?$/);
51588
- if (match2 && match2[2]) {
51589
- navigate(match2[1]);
51590
- } else {
51591
- navigate(-1);
51681
+ return;
51682
+ }
51683
+ const pathname = window.location.pathname;
51684
+ const objMatch = pathname.match(/^(\/app\/[^/]+\/[^/]+)(\/(view|grid)\/.*)?$/);
51685
+ try {
51686
+ const lastListUrl = sessionStorage.getItem("steedos_last_list_url");
51687
+ if (lastListUrl && objMatch && lastListUrl.startsWith(objMatch[1] + "/grid/")) {
51688
+ sessionStorage.removeItem("steedos_last_list_url");
51689
+ navigate(lastListUrl);
51690
+ return;
51592
51691
  }
51692
+ } catch (e) {
51693
+ }
51694
+ try {
51695
+ const appMatch = pathname.match(/^\/app\/([^/]+)\//);
51696
+ if (appMatch) {
51697
+ const raw = sessionStorage.getItem(`steedos_last_active_tab:${appMatch[1]}`);
51698
+ if (raw) {
51699
+ const rec = JSON.parse(raw);
51700
+ if (rec && rec.path && rec.path !== pathname) {
51701
+ navigate(rec.path);
51702
+ return;
51703
+ }
51704
+ }
51705
+ }
51706
+ } catch (e) {
51707
+ }
51708
+ if (objMatch && objMatch[2]) {
51709
+ navigate(objMatch[1]);
51710
+ } else {
51711
+ navigate(-1);
51593
51712
  }
51594
51713
  };
51595
51714
  }
@@ -51627,6 +51746,33 @@ const AmisRender = function({ schema = {}, data: data2 = {}, env: env2 = {} }) {
51627
51746
  linkPathname = link2.substring(0, idx);
51628
51747
  linkSearch = link2.substring(idx);
51629
51748
  }
51749
+ const decodedPathname = decodeURI(pathname);
51750
+ const decodedLink = decodeURI(linkPathname);
51751
+ const _navPaths = window._steedosNavPaths || [];
51752
+ const hasExactNavLinkForCurrentPath = _navPaths.some((p) => {
51753
+ try {
51754
+ return decodeURI(p) === decodedPathname;
51755
+ } catch (e) {
51756
+ return p === pathname;
51757
+ }
51758
+ });
51759
+ const detailMatch = pathname.match(/^\/app\/([^/]+)\/[^/]+\/view\/([^/?#]+)/);
51760
+ if (!hasExactNavLinkForCurrentPath && detailMatch && detailMatch[2] !== "none") {
51761
+ try {
51762
+ const raw = sessionStorage.getItem(`steedos_last_active_tab:${detailMatch[1]}`);
51763
+ if (raw) {
51764
+ const rec = JSON.parse(raw);
51765
+ if (rec && rec.path && rec.tabId) {
51766
+ const recPathOnly = String(rec.path).split("?")[0].split("#")[0];
51767
+ if (decodedLink === decodeURI(recPathOnly)) {
51768
+ return true;
51769
+ }
51770
+ return false;
51771
+ }
51772
+ }
51773
+ } catch (e) {
51774
+ }
51775
+ }
51630
51776
  if (linkSearch) {
51631
51777
  if (linkPathname !== pathname) {
51632
51778
  return false;
@@ -51645,8 +51791,6 @@ const AmisRender = function({ schema = {}, data: data2 = {}, env: env2 = {} }) {
51645
51791
  });
51646
51792
  return allMatch;
51647
51793
  }
51648
- const decodedPathname = decodeURI(pathname);
51649
- const decodedLink = decodeURI(linkPathname);
51650
51794
  if (decodedPathname === decodedLink) {
51651
51795
  return true;
51652
51796
  }
@@ -51754,6 +51898,19 @@ const on_click_script = `
51754
51898
  console.error(e.message + "\\r\\n" + e.stack);
51755
51899
  }
51756
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
+ };
51757
51914
  const pcInitJumtoFirstAppFirstTabScript = (payload, response, api2, context) => {
51758
51915
  const resolvePathTemplate = (path2, data2) => {
51759
51916
  if (!path2 || path2.indexOf("${") < 0) {
@@ -51778,16 +51935,16 @@ const pcInitJumtoFirstAppFirstTabScript = (payload, response, api2, context) =>
51778
51935
  let firstApp = app_items[0];
51779
51936
  if (firstApp && firstApp.default_tab) {
51780
51937
  if (typeof firstApp.default_tab === "object" && firstApp.default_tab.path) {
51781
- window.location.href = resolvePathTemplate(firstApp.default_tab.path, firstApp.default_tab);
51938
+ navigateTo(resolvePathTemplate(firstApp.default_tab.path, firstApp.default_tab));
51782
51939
  } else {
51783
- window.location.href = `/app/${firstApp.id}/${firstApp.default_tab}`;
51940
+ navigateTo(`/app/${firstApp.id}/${firstApp.default_tab}`);
51784
51941
  }
51785
51942
  return payload;
51786
51943
  }
51787
51944
  if (firstApp && firstApp.children && firstApp.children.length > 0) {
51788
51945
  let firstTab = firstApp.children[0];
51789
51946
  if (firstTab) {
51790
- window.location.href = resolvePathTemplate(firstTab.path, firstTab);
51947
+ navigateTo(resolvePathTemplate(firstTab.path, firstTab));
51791
51948
  }
51792
51949
  }
51793
51950
  }
@@ -54622,6 +54779,23 @@ const AppView = () => {
54622
54779
  }, [appId, navigate]);
54623
54780
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", {});
54624
54781
  };
54782
+ const isTrueValue = (value2) => value2 === true || value2 === "true";
54783
+ const setBrowserFavicon = (faviconUrl) => {
54784
+ if (!faviconUrl) {
54785
+ return;
54786
+ }
54787
+ const faviconLink = document.querySelector('link[rel*="icon"], link[rel*="shortcut"]');
54788
+ if (faviconLink) {
54789
+ if (faviconLink.href !== faviconUrl) {
54790
+ faviconLink.href = faviconUrl;
54791
+ }
54792
+ return;
54793
+ }
54794
+ const newFaviconLink = document.createElement("link");
54795
+ newFaviconLink.rel = "icon";
54796
+ newFaviconLink.href = faviconUrl;
54797
+ document.head.appendChild(newFaviconLink);
54798
+ };
54625
54799
  const getHeaderSchema = (props) => {
54626
54800
  const { logoSrc, customButtons, className } = props;
54627
54801
  const isMobile = window.innerWidth <= 768;
@@ -54787,9 +54961,24 @@ const AppHeader = () => {
54787
54961
  const location2 = useLocation();
54788
54962
  const searchParams = new URLSearchParams(location2.search);
54789
54963
  const params = useParams();
54790
- let { appId = null, objectName } = params;
54964
+ let { appId = null } = params;
54791
54965
  const isMobile = window.innerWidth < 1024;
54792
54966
  let [app, setApp] = reactExports.useState(null);
54967
+ const isOem = isTrueValue(Builder$1.settings?.platform?.is_oem);
54968
+ const oemSpaceAvatar = Builder$1.settings?.context?.user?.space?.avatar;
54969
+ const oemSpaceFavicon = Builder$1.settings?.context?.user?.space?.favicon;
54970
+ reactExports.useEffect(() => {
54971
+ if (isOem) {
54972
+ document.body.classList.add("is-oem");
54973
+ } else {
54974
+ document.body.classList.remove("is-oem");
54975
+ }
54976
+ }, [isOem]);
54977
+ reactExports.useEffect(() => {
54978
+ if (isOem && oemSpaceFavicon) {
54979
+ setBrowserFavicon(`/api/v6/files/cfs.avatars.filerecord/${oemSpaceFavicon}`);
54980
+ }
54981
+ }, [isOem, oemSpaceFavicon]);
54793
54982
  reactExports.useEffect(() => {
54794
54983
  const fetchApp = async () => {
54795
54984
  if (appId === "-" || appId == null) {
@@ -54862,21 +55051,8 @@ const AppHeader = () => {
54862
55051
  return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
54863
55052
  }
54864
55053
  let logoSrc = "/images/logo.svg";
54865
- if (Builder$1.settings?.platform?.is_oem && Builder$1.settings?.context?.user?.space?.avatar) {
54866
- logoSrc = "/api/v6/files/cfs.avatars.filerecord/" + Builder$1.settings.context.user.space.avatar;
54867
- }
54868
- const faviconLink = document.querySelector('link[rel*="icon"], link[rel*="shortcut"]');
54869
- let favicon = "/images/logo.svg";
54870
- if (Builder$1.settings?.platform?.is_oem && Builder$1.settings?.context?.user?.space?.favicon) {
54871
- favicon = "/api/v6/files/cfs.avatars.filerecord/" + Builder$1.settings.context.user.space.favicon;
54872
- }
54873
- if (faviconLink) {
54874
- faviconLink.href = favicon;
54875
- } else {
54876
- const newFaviconLink = document.createElement("link");
54877
- newFaviconLink.rel = "icon";
54878
- newFaviconLink.href = favicon;
54879
- document.head.appendChild(newFaviconLink);
55054
+ if (isOem && oemSpaceAvatar) {
55055
+ logoSrc = "/api/v6/files/cfs.avatars.filerecord/" + oemSpaceAvatar;
54880
55056
  }
54881
55057
  const headerSchema = getHeaderSchema({ logoSrc });
54882
55058
  const schema = {
@@ -55118,6 +55294,26 @@ const ObjectDetail = () => {
55118
55294
  }, env: {} });
55119
55295
  };
55120
55296
  const isString = (val) => typeof val === "string";
55297
+ const RUNTIME_CONTEXT_KEYS = [
55298
+ "appId",
55299
+ "app",
55300
+ "app_id",
55301
+ "recordId",
55302
+ "record_id",
55303
+ "objectName",
55304
+ "object_name",
55305
+ "context"
55306
+ ];
55307
+ const stripRuntimeContext = (schema) => {
55308
+ if (schema && typeof schema === "object" && schema.data && typeof schema.data === "object") {
55309
+ for (const key2 of RUNTIME_CONTEXT_KEYS) {
55310
+ if (key2 in schema.data) {
55311
+ delete schema.data[key2];
55312
+ }
55313
+ }
55314
+ }
55315
+ return schema;
55316
+ };
55121
55317
  function injectServerCss(cssString) {
55122
55318
  const oldStyle = document.getElementById("dynamic-page-styles");
55123
55319
  if (oldStyle) {
@@ -55165,6 +55361,7 @@ const PageView = () => {
55165
55361
  console.error("Schema parse failed", e);
55166
55362
  }
55167
55363
  }
55364
+ finalSchema = stripRuntimeContext(finalSchema);
55168
55365
  setSchema(finalSchema);
55169
55366
  } catch (err) {
55170
55367
  console.error("Fetch schema failed", err);
@@ -80670,6 +80867,22 @@ if (_window["Steedos"]) {
80670
80867
  }
80671
80868
  const Root = (props) => {
80672
80869
  const [configLoaded, setConfigLoaded] = reactExports.useState(false);
80870
+ const setBrowserFavicon2 = (faviconUrl) => {
80871
+ if (!faviconUrl) {
80872
+ return;
80873
+ }
80874
+ const faviconLink = document.querySelector('link[rel*="icon"], link[rel*="shortcut"]');
80875
+ if (faviconLink) {
80876
+ if (faviconLink.href !== faviconUrl) {
80877
+ faviconLink.href = faviconUrl;
80878
+ }
80879
+ return;
80880
+ }
80881
+ const newFaviconLink = document.createElement("link");
80882
+ newFaviconLink.rel = "icon";
80883
+ newFaviconLink.href = faviconUrl;
80884
+ document.head.appendChild(newFaviconLink);
80885
+ };
80673
80886
  reactExports.useEffect(() => {
80674
80887
  const uid2 = new URLSearchParams(window.location.search).get("uid");
80675
80888
  if (uid2) {
@@ -80688,12 +80901,23 @@ const Root = (props) => {
80688
80901
  }, []);
80689
80902
  reactExports.useEffect(() => {
80690
80903
  if (props.tenant && props.tenant.favicon_url) {
80691
- const faviconLink = document.querySelector('link[rel="shortcut icon"]');
80692
- if (faviconLink) {
80693
- faviconLink.href = props.tenant.favicon_url;
80904
+ setBrowserFavicon2(props.tenant.favicon_url);
80905
+ try {
80906
+ localStorage.setItem("steedos_favicon_url", props.tenant.favicon_url);
80907
+ } catch (e) {
80694
80908
  }
80695
80909
  }
80696
- }, [props.tenant]);
80910
+ const isOem = props.settings?.platform?.is_oem === true || props.settings?.platform?.is_oem === "true";
80911
+ if (isOem) {
80912
+ document.body.classList.add("is-oem");
80913
+ const licensedTo = Builder$1.settings?.platform?.licensed_to;
80914
+ if (licensedTo) {
80915
+ document.title = licensedTo;
80916
+ }
80917
+ } else {
80918
+ document.body.classList.remove("is-oem");
80919
+ }
80920
+ }, [props.tenant, props.settings]);
80697
80921
  if (!configLoaded) {
80698
80922
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", {});
80699
80923
  }
@@ -81383,7 +81607,7 @@ if (typeof ActiveXObject === "function") {
81383
81607
  if (typeof fetchApi !== "function") fetchApi = void 0;
81384
81608
  if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
81385
81609
  try {
81386
- __vitePreload(() => import("./browser-ponyfill-CoPk88In.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
81610
+ __vitePreload(() => import("./browser-ponyfill-BacVYQnm.js").then((n) => n.b), true ? [] : void 0).then(function(mod) {
81387
81611
  fetchApi = mod.default;
81388
81612
  }).catch(function() {
81389
81613
  });
@@ -29,6 +29,18 @@ html {
29
29
  display: none;
30
30
  }
31
31
 
32
+ /* OEM 模式下隐藏右上角“关于/帮助”入口 */
33
+ body.is-oem [data-item-id="about"],
34
+ body.is-oem [data-item-id="help"],
35
+ body.is-oem [data-key="about"],
36
+ body.is-oem [data-key="help"],
37
+ body.is-oem [title="关于"],
38
+ body.is-oem [title="帮助"],
39
+ body.is-oem [title="About"],
40
+ body.is-oem [title="Help"] {
41
+ display: none !important;
42
+ }
43
+
32
44
  /* :root {
33
45
  --body-bg: rgb(225, 239, 254);
34
46
  } */
package/dist/index.html CHANGED
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <link rel="shortcut icon" href="/images/logo.svg" />
6
+ <script>try{var f=localStorage.getItem('steedos_favicon_url');if(f){document.querySelector('link[rel*="icon"]').href=f;}}catch(e){}</script>
6
7
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
8
  <title>Steedos</title>
8
9
 
@@ -65,8 +66,8 @@
65
66
  <link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/themes/antd.css">
66
67
  <link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/lib/helper.css">
67
68
  <link rel="stylesheet" href="https://unpkg.com/@steedos-widgets/amis@6.3.0-patch.8/sdk/iconfont.css">
68
- <script type="module" crossorigin src="/assets/index-BwvMWDgU.js"></script>
69
- <link rel="stylesheet" crossorigin href="/assets/index-Np5NzHbA.css">
69
+ <script type="module" crossorigin src="/assets/index-D-MR1qT9.js"></script>
70
+ <link rel="stylesheet" crossorigin href="/assets/index-BW5Fq9Tj.css">
70
71
  </head>
71
72
  <body class="skin-blue-light fixed steedos sidebar-mini three-columns" >
72
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.2",
3
+ "version": "3.0.14-beta.20",
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": "840ce631d505348bbfdbd5c0b728b3661c4dd36d",
78
+ "gitHead": "96e541f24fe9f1ed58ca04c7e631a0d795a0147f",
79
79
  "dependencies": {
80
- "@steedos-widgets/amis-object": "^6.10.53-beta.2",
80
+ "@steedos-widgets/amis-object": "^6.10.53-beta.18",
81
81
  "autoprefixer": "^10.4.23"
82
82
  }
83
83
  }